/*! For license information please see index.js.LICENSE.txt */
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/client.ts")}({"./node_modules/@angular/animations/fesm5/animations.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AnimationBuilder",(function(){return r})),n.d(t,"AnimationFactory",(function(){return o})),n.d(t,"AUTO_STYLE",(function(){return i})),n.d(t,"animate",(function(){return s})),n.d(t,"animateChild",(function(){return m})),n.d(t,"animation",(function(){return h})),n.d(t,"group",(function(){return l})),n.d(t,"keyframes",(function(){return p})),n.d(t,"query",(function(){return y})),n.d(t,"sequence",(function(){return c})),n.d(t,"stagger",(function(){return v})),n.d(t,"state",(function(){return d})),n.d(t,"style",(function(){return u})),n.d(t,"transition",(function(){return f})),n.d(t,"trigger",(function(){return a})),n.d(t,"useAnimation",(function(){return g})),n.d(t,"NoopAnimationPlayer",(function(){return _})),n.d(t,"ɵPRE_STYLE",(function(){return C})),n.d(t,"ɵAnimationGroupPlayer",(function(){return w}));var r=function(){},o=function(){},i="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function l(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}}function c(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function p(e){return{type:5,steps:e}}function f(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}function h(e,t){return void 0===t&&(t=null),{type:8,animation:e,options:t}}function m(e){return void 0===e&&(e=null),{type:9,options:e}}function g(e,t){return void 0===t&&(t=null),{type:10,animation:e,options:t}}function y(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}}function v(e,t){return{type:12,timings:e,animation:t}}function b(e){Promise.resolve(null).then(e)}var _=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;b((function(){return e._onFinish()}))},e.prototype._onStart=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),w=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,o=0,i=this.players.length;0==i?b((function(){return t._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++n==i&&t._onFinish()})),e.onDestroy((function(){++r==i&&t._onDestroy()})),e.onStart((function(){++o==i&&t._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach((function(e){return e.init()}))},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))},e.prototype.pause=function(){this.players.forEach((function(e){return e.pause()}))},e.prototype.restart=function(){this.players.forEach((function(e){return e.restart()}))},e.prototype.finish=function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))},e.prototype.getPosition=function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e},e.prototype.beforeDestroy=function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),C="!"},"./node_modules/@angular/animations/fesm5/browser.js":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"AnimationDriver",(function(){return T})),n.d(t,"ɵAnimation",(function(){return _e})),n.d(t,"ɵAnimationStyleNormalizer",(function(){return we})),n.d(t,"ɵNoopAnimationStyleNormalizer",(function(){return Ce})),n.d(t,"ɵWebAnimationsStyleNormalizer",(function(){return Se})),n.d(t,"ɵAnimationDriver",(function(){return T})),n.d(t,"ɵNoopAnimationDriver",(function(){return O})),n.d(t,"ɵAnimationEngine",(function(){return Ke})),n.d(t,"ɵCssKeyframesDriver",(function(){return it})),n.d(t,"ɵCssKeyframesPlayer",(function(){return rt})),n.d(t,"ɵcontainsElement",(function(){return E})),n.d(t,"ɵinvokeQuery",(function(){return x})),n.d(t,"ɵmatchesElement",(function(){return S})),n.d(t,"ɵvalidateStyleProperty",(function(){return C})),n.d(t,"ɵWebAnimationsDriver",(function(){return st})),n.d(t,"ɵsupportsWebAnimations",(function(){return lt})),n.d(t,"ɵWebAnimationsPlayer",(function(){return at})),n.d(t,"ɵallowPreviousPlayerStylesMerge",(function(){return W}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/animations/fesm5/animations.js"),i=n("./node_modules/@angular/core/fesm5/core.js");function a(){return void 0!==e}function s(e){switch(e.length){case 0:return new o.NoopAnimationPlayer;case 1:return e[0];default:return new o["ɵAnimationGroupPlayer"](e)}}function l(e,t,n,r,i,a){void 0===i&&(i={}),void 0===a&&(a={});var s=[],l=[],c=-1,u=null;if(r.forEach((function(e){var n=e.offset,r=n==c,d=r&&u||{};Object.keys(e).forEach((function(n){var r=n,l=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),l){case o["ɵPRE_STYLE"]:l=i[n];break;case o.AUTO_STYLE:l=a[n];break;default:l=t.normalizeStyleValue(n,r,l,s)}d[r]=l})),r||l.push(d),u=d,c=n})),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function c(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&u(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&u(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&u(n,"destroy",e))}))}}function u(e,t,n){var r=n.totalTime,o=!!n.disabled,i=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,o),a=e._data;return null!=a&&(i._data=a),i}function d(e,t,n,r,o,i,a){return void 0===o&&(o=""),void 0===i&&(i=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!a}}function p(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function f(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var h=function(e,t){return!1},m=function(e,t){return!1},g=function(e,t,n){return[]},y=a();if(y||"undefined"!=typeof Element){if(h=function(e,t){return e.contains(t)},y||Element.prototype.matches)m=function(e,t){return e.matches(t)};else{var v=Element.prototype,b=v.matchesSelector||v.mozMatchesSelector||v.msMatchesSelector||v.oMatchesSelector||v.webkitMatchesSelector;b&&(m=function(e,t){return b.apply(e,[t])})}g=function(e,t,n){var o=[];if(n)o.push.apply(o,Object(r.__spread)(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&o.push(i)}return o}}var _=null,w=!1;function C(e){_||(_=function(){if("undefined"!=typeof document)return document.body;return null}()||{},w=!!_.style&&"WebkitAppearance"in _.style);var t=!0;_.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in _.style)&&w&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in _.style));return t}var S=m,E=h,x=g;function k(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var O=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return C(e)},e.prototype.matchesElement=function(e,t){return S(e,t)},e.prototype.containsElement=function(e,t){return E(e,t)},e.prototype.query=function(e,t,n){return x(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,a,s){return void 0===a&&(a=[]),new o.NoopAnimationPlayer(n,r)},e.decorators=[{type:i.Injectable}],e}(),T=function(){function e(){}return e.NOOP=new O,e}();function A(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:P(parseFloat(t[1]),t[2])}function P(e,t){switch(t){case"s":return 1e3*e;default:return e}}function R(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,o=0,i="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=P(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(o=P(Math.floor(parseFloat(s)),a[4]));var l=a[5];l&&(i=l)}else r=e;if(!n){var c=!1,u=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),o<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(u,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:o,easing:i}}(e,t,n)}function I(e,t){return void 0===t&&(t={}),Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function M(e){var t={};return Array.isArray(e)?e.forEach((function(e){return N(e,!1,t)})):N(e,!1,t),t}function N(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else I(e,n);return n}function D(e,t,n){return n?t+":"+n+";":""}function j(e){for(var t="",n=0;n<e.style.length;n++){t+=D(0,r=e.style.item(n),e.style.getPropertyValue(r))}for(var r in e.style){if(e.style.hasOwnProperty(r)&&!r.startsWith("_"))t+=D(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r])}e.setAttribute("style",t)}function L(e,t){e.style&&(Object.keys(t).forEach((function(n){var r=G(n);e.style[r]=t[n]})),a()&&j(e))}function B(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=G(t);e.style[n]=""})),a()&&j(e))}function F(e){return Array.isArray(e)?1==e.length?e[0]:Object(o.sequence)(e):e}var U=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(e){var t=[];if("string"==typeof e){for(var n=e.toString(),r=void 0;r=U.exec(n);)t.push(r[1]);U.lastIndex=0}return t}function V(e,t,n){var r=e.toString(),o=r.replace(U,(function(e,r){var o=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),o=""),o.toString()}));return o==r?e:o}function z(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var q=/-+([a-z0-9])/g;function G(e){return e.replace(q,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()}))}function W(e,t){return 0===e||0===t}function Y(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var o=t[0],i=[];if(r.forEach((function(e){o.hasOwnProperty(e)||i.push(e),o[e]=n[e]})),i.length)for(var a=function(){var n=t[s];i.forEach((function(t){n[t]=K(e,t)}))},s=1;s<t.length;s++)a()}return t}function Z(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function K(e,t){return window.getComputedStyle(e)[t]}function $(e,t){var n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'+e+'" is not supported'),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var o=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var i=o[1],a=o[2],s=o[3];t.push(J(i,s));var l="*"==i&&"*"==s;"<"!=a[0]||l||t.push(J(s,i))}(e,n,t)})):n.push(e),n}var Q=new Set(["true","1"]),X=new Set(["false","0"]);function J(e,t){var n=Q.has(e)||X.has(e),r=Q.has(t)||X.has(t);return function(o,i){var a="*"==e||e==o,s="*"==t||t==i;return!a&&n&&"boolean"==typeof o&&(a=o?Q.has(e):X.has(e)),!s&&r&&"boolean"==typeof i&&(s=i?Q.has(t):X.has(t)),a&&s}}var ee=new RegExp("s*:selfs*,?","g");function te(e,t,n){return new ne(e).build(t,n)}var ne=function(){function e(e){this._driver=e}return e.prototype.build=function(e,t){var n=new re(t);return this._resetContextStyleTimingState(n),Z(this,F(e),n)},e.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},e.prototype.visitTrigger=function(e,t){var n=this,r=t.queryCount=0,o=t.depCount=0,i=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,i.push(n.visitState(s,t))})),s.name=l}else if(1==e.type){var c=n.visitTransition(e,t);r+=c.queryCount,o+=c.depCount,a.push(c)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:i,transitions:a,queryCount:r,depCount:o,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var o=new Set,i=r||{};if(n.styles.forEach((function(e){if(oe(e)){var t=e;Object.keys(t).forEach((function(e){H(t[e]).forEach((function(e){i.hasOwnProperty(e)||o.add(e)}))}))}})),o.size){var a=z(o.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n=Z(this,F(e.animation),t);return{type:1,matchers:$(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ie(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return Z(n,e,t)})),options:ie(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,o=0,i=e.steps.map((function(e){t.currentTime=r;var i=Z(n,e,t);return o=Math.max(o,t.currentTime),i}));return t.currentTime=o,{type:3,steps:i,options:ie(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e){return ae(R(e,t).duration,0,"")}var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var o=ae(0,0,"");return o.dynamic=!0,o.strValue=r,o}return ae((n=n||R(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Object(o.style)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var a=e.styles,s=!1;if(!a){s=!0;var l={};r.easing&&(l.easing=r.easing),a=Object(o.style)(l)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(a,t);c.isEmptyStep=s,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==o.AUTO_STYLE?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)})):n.push(e.styles);var r=!1,i=null;return n.forEach((function(e){if(oe(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t){if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,o=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,c,u,d=t.collectedStyles[t.currentQuerySelector],p=d[r],f=!0;p&&(i!=o&&i>=p.startTime&&o<=p.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+p.startTime+'ms" and "'+p.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),f=!1),i=p.startTime),f&&(d[r]={startTime:i,endTime:o}),t.options&&(a=e[r],s=t.options,l=t.errors,c=s.params||{},(u=H(a)).length&&u.forEach((function(e){c.hasOwnProperty(e)||l.push("Unable to resolve the local animation param "+e+" in the given list of values")})))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],a=!1,s=!1,l=0,c=e.steps.map((function(e){var r=n._makeStyleAst(e,t),c=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(oe(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(oe(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),u=0;return null!=c&&(o++,u=r.offset=c),s=s||u<0||u>1,a=a||u<l,l=u,i.push(u),r}));s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var u=e.steps.length,d=0;o>0&&o<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(d=1/(u-1));var p=u-1,f=t.currentTime,h=t.currentAnimateTimings,m=h.duration;return c.forEach((function(e,o){var a=d>0?o==p?1:d*o:i[o],s=a*m;t.currentTime=f+h.delay+s,h.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)})),r},e.prototype.visitReference=function(e,t){return{type:8,animation:Z(this,F(e.animation),t),options:ie(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:ie(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ie(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,o=e.options||{};t.queryCount++,t.currentQuery=e;var i=Object(r.__read)(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));t&&(e=e.replace(ee,""));return[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),a=i[0],s=i[1];t.currentQuerySelector=n.length?n+" "+a:a,p(t.collectedStyles,t.currentQuerySelector,{});var l=Z(this,F(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:l,originalSelector:e.selector,options:ie(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:R(e.timings,t.errors,!0);return{type:12,animation:Z(this,F(e.animation),t),timings:n,options:null}},e}();var re=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function oe(e){return!Array.isArray(e)&&"object"==typeof e}function ie(e){var t;return e?(e=I(e)).params&&(e.params=(t=e.params)?I(t):null):e={},e}function ae(e,t,n){return{duration:e,delay:t,easing:n}}function se(e,t,n,r,o,i,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:a,subTimeline:s}}var le=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(r.__spread)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),ce=new RegExp(":enter","g"),ue=new RegExp(":leave","g");function de(e,t,n,r,o,i,a,s,l,c){return void 0===i&&(i={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new pe).buildKeyframes(e,t,n,r,o,i,a,s,l,c)}var pe=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,o,i,a,s,l,c){void 0===c&&(c=[]),l=l||new le;var u=new he(e,t,l,r,o,c,[]);u.options=s,u.currentTimeline.setStyles([i],null,u.errors,s),Z(this,n,u);var d=u.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(a).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,u.errors,s)}return d.length?d.map((function(e){return e.buildKeyframes()})):[se(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,o=null!=n.duration?A(n.duration):null,i=null!=n.delay?A(n.delay):null;return 0!==o&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,o,i);r=Math.max(r,n.duration+n.delay)})),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),Z(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,o=t,i=e.options;if(i&&(i.params||i.delay)&&((o=t.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=fe);var a=A(i.delay);o.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return Z(n,e,o)})),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],o=t.currentTimeline.currentTime,i=e.options&&e.options.delay?A(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);i&&s.delayNextStep(i),Z(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(o),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return R(t.params?V(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(n.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,o=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach((function(e){var n=e.offset||0;i.forwardTime(n*o),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+o),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,o=e.options||{},i=o.delay?A(o.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fe);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach((function(r,o){t.currentQueryIndex=o;var s=t.createSubContext(e.options,r);i&&s.delayNextStep(i),r===t.element&&(l=s.currentTimeline),Z(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe();var c=s.currentTimeline.currentTime;a=Math.max(a,c)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,o=e.timings,i=Math.abs(o.duration),a=i*(t.currentQueryTotal-1),s=i*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var c=l.currentTime;Z(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},e}(),fe={},he=function(){function e(e,t,n,r,o,i,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fe,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new me(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,o=this.options;null!=r.duration&&(o.duration=A(r.duration)),null!=r.delay&&(o.delay=A(r.delay));var i=r.params;if(i){var a=o.params;a||(a=this.options.params={}),Object.keys(i).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=V(i[e],a,n.errors))}))}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var o=n||this.element,i=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=fe,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},o=new ge(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,o,i,a){var s=[];if(o&&s.push(this.element),e.length>0){e=(e=e.replace(ce,"."+this._enterClassName)).replace(ue,"."+this._leaveClassName);var l=1!=n,c=this._driver.query(this.element,e,l);0!==n&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),s.push.apply(s,Object(r.__spread)(c))}return i||0!=s.length||a.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),me=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||o.AUTO_STYLE,t._currentKeyframe[e]=o.AUTO_STYLE})),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var a=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=o.AUTO_STYLE})):N(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=V(s[e],a,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:o.AUTO_STYLE),i._updateStyle(e,t)}))},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){var r=t[n];e._currentKeyframe[n]=r})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],o=e._styleSummary[n];(!r||o.time>r.time)&&t._updateStyle(n,o.value)}))},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(a,s){var l=N(a,!0);Object.keys(l).forEach((function(e){var r=l[e];r==o["ɵPRE_STYLE"]?t.add(e):r==o.AUTO_STYLE&&n.add(e)})),r||(l.offset=s/e.duration),i.push(l)}));var a=t.size?z(t.values()):[],s=n.size?z(n.values()):[];if(r){var l=i[0],c=I(l);l.offset=0,c.offset=1,i=[l,c]}return se(this.element,i,a,s,this.duration,this.startTime,this.easing,!1)},e}(),ge=function(e){function t(t,n,r,o,i,a,s){void 0===s&&(s=!1);var l=e.call(this,t,n,a.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=o,l.postStyleProps=i,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return Object(r.__extends)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,o=t.easing;if(this._stretchStartingKeyframe&&n){var i=[],a=r+n,s=n/a,l=N(e[0],!1);l.offset=0,i.push(l);var c=N(e[0],!1);c.offset=ye(s),i.push(c);for(var u=e.length-1,d=1;d<=u;d++){var p=N(e[d],!1),f=n+p.offset*r;p.offset=ye(f/a),i.push(p)}r=a,n=0,o="",e=i}return se(this.element,e,this.preStyleProps,this.postStyleProps,r,n,o,!0)},t}(me);function ye(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var ve,be,_e=function(){function e(e,t){this._driver=e;var n=[],r=te(e,t,n);if(n.length){var o="animation validation failed:\n"+n.join("\n");throw new Error(o)}this._animationAst=r}return e.prototype.buildTimelines=function(e,t,n,r,o){var i=Array.isArray(t)?M(t):t,a=Array.isArray(n)?M(n):n,s=[];o=o||new le;var l=de(this._driver,e,this._animationAst,"ng-enter","ng-leave",i,a,r,o,s);if(s.length){var c="animation building failed:\n"+s.join("\n");throw new Error(c)}return l},e}(),we=function(){},Ce=function(){function e(){}return e.prototype.normalizePropertyName=function(e,t){return e},e.prototype.normalizeStyleValue=function(e,t,n,r){return n},e}(),Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.normalizePropertyName=function(e,t){return G(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var o="",i=n.toString().trim();if(Ee[t]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return i+o},t}(we),Ee=(ve="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),be={},ve.forEach((function(e){return be[e]=!0})),be);function xe(e,t,n,r,o,i,a,s,l,c,u,d,p){return{type:0,element:e,triggerName:t,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:p}}var ke={},Oe=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,o){return e.some((function(e){return e(t,n,r,o)}))}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],o=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return o?o.buildStyles(t,n):i},e.prototype.build=function(e,t,n,o,i,a,s,l,c,u){var d=[],f=this.ast.options&&this.ast.options.params||ke,h=s&&s.params||ke,m=this.buildStyles(n,h,d),g=l&&l.params||ke,y=this.buildStyles(o,g,d),v=new Set,b=new Map,_=new Map,w="void"===o,C={params:Object(r.__assign)({},f,g)},S=u?[]:de(e,t,this.ast.animation,i,a,m,y,C,c,d),E=0;if(S.forEach((function(e){E=Math.max(e.duration+e.delay,E)})),d.length)return xe(t,this._triggerName,n,o,w,m,y,[],[],b,_,E,d);S.forEach((function(e){var n=e.element,r=p(b,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var o=p(_,n,{});e.postStyleProps.forEach((function(e){return o[e]=!0})),n!==t&&v.add(n)}));var x=z(v.values());return xe(t,this._triggerName,n,o,w,m,y,S,x,b,_,E)},e}();var Te=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=I(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach((function(e){var i=o[e];i.length>1&&(i=V(i,r,t)),n[e]=i}))}})),n},e}();var Ae=function(){function e(e,t){var n,r,o=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach((function(e){var t=e.options&&e.options.params||{};o.states[e.name]=new Te(e.style,t)})),Pe(this.states,"true","1"),Pe(this.states,"false","0"),t.transitions.forEach((function(t){o.transitionFactories.push(new Oe(e,t,o.states))})),this.fallbackTransition=(n=e,r=this.states,new Oe(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},r))}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find((function(o){return o.match(e,t,n,r)}))||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Pe(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Re=new le,Ie=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=te(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,o=l(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,a=[],l=this._animations[e],c=new Map;if(l?(i=de(this._driver,t,l,"ng-enter","ng-leave",{},{},n,Re,a)).forEach((function(e){var t=p(c,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(a.push("The requested animation doesn't exist or has already been destroyed"),i=[]),a.length)throw new Error("Unable to create the animation due to the following errors: "+a.join("\n"));c.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,o.AUTO_STYLE)}))}));var u=s(i.map((function(e){var t=c.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=u,u.onDestroy((function(){return r.destroy(e)})),this.players.push(u),u},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var o=d(t,"","","");return c(this._getPlayer(e),n,o,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else{var i=r[0]||{};this.create(e,t,i)}else this.register(e,r[0])},e}(),Me=[],Ne={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},De={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},je=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){var o=I(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}},e}(),Le=new je("void"),Be=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ge(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var o,i=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=p(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var l=p(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),l[t]=Le),function(){i._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),i._triggers[t]||delete l[t]}))}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(t),a=new Ue(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],c=new je(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s[t]=c,l||(l=Le),"void"===c.value||l.value!==c.value){var u=p(this._engine.playersByElement,e,[]);u.forEach((function(e){e.namespaceId==o.id&&e.triggerName==t&&e.queued&&e.destroy()}));var d=i.matchTransition(l.value,c.value,e,c.params),f=!1;if(!d){if(!r)return;d=i.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:c,player:a,isFallbackTransition:f}),f||(Ge(e,"ng-animate-queued"),a.onStart((function(){We(e,"ng-animate-queued")}))),a.onDone((function(){var t=o.players.indexOf(a);t>=0&&o.players.splice(t,1);var n=o._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}})),this.players.push(a),u.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(l.params,c.params)){var h=[],m=i.matchStyles(l.value,l.params,h),g=i.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush((function(){B(e,m),L(e,g)}))}},e.prototype.deregister=function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,r){t._elementListeners.set(r,n.filter((function(t){return t.name!=e})))}))},e.prototype.clearElementCache=function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))},e.prototype._signalRemovalForInnerTriggers=function(e,t,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(e,".ng-trigger",!0).forEach((function(e){if(!e.__ng_removed){var n=r._engine.fetchNamespacesByElement(e);n.size?n.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):r.clearElementCache(e)}}))},e.prototype.triggerLeaveAnimation=function(e,t,n,r){var o=this,i=this._engine.statesByElement.get(e);if(i){var a=[];if(Object.keys(i).forEach((function(t){if(o._triggers[t]){var n=o.trigger(e,t,"void",r);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&s(a).onDone((function(){return o._engine.processLeaveNode(e)})),!0}return!1},e.prototype.prepareLeaveAnimationListeners=function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach((function(n){var o=n.name;if(!r.has(o)){r.add(o);var i=t._triggers[o].fallbackTransition,a=t._engine.statesByElement.get(e)[o]||Le,s=new je("void"),l=new Ue(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:i,fromState:a,toState:s,player:l,isFallbackTransition:!0})}}))}},e.prototype.removeNode=function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),!this.triggerLeaveAnimation(e,t,!0)){var o=!1;if(r.totalAnimations){var i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)o=!0;else for(var a=e;a=a.parentNode;){if(r.statesByElement.get(a)){o=!0;break}}}this.prepareLeaveAnimationListeners(e),o?r.markElementAsRemoved(this.id,e,!1,t):(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}},e.prototype.insertNode=function(e,t){Ge(e,this._hostClassName)},e.prototype.drainQueuedTransitions=function(e){var t=this,n=[];return this._queue.forEach((function(r){var o=r.player;if(!o.destroyed){var i=r.element,a=t._elementListeners.get(i);a&&a.forEach((function(t){if(t.name==r.triggerName){var n=d(i,r.triggerName,r.fromState.value,r.toState.value);n._data=e,c(r.player,t.phase,n,t.callback)}})),o.markedForDestroy?t._engine.afterFlush((function(){o.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(e,n){var r=e.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:t._engine.driver.containsElement(e.element,n.element)?1:-1}))},e.prototype.destroy=function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)},e.prototype.elementContainsData=function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((function(t){return t.element===e}))||t},e}(),Fe=function(){function e(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return e.prototype._onRemovalComplete=function(e,t){this.onRemovalComplete(e,t)},Object.defineProperty(e.prototype,"queuedPlayers",{get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e},enumerable:!0,configurable:!0}),e.prototype.createNamespace=function(e,t){var n=new Be(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n},e.prototype._balanceNamespaceList=function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--){var i=this._namespaceList[o];if(this.driver.containsElement(i.hostElement,t)){this._namespaceList.splice(o+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=n[r[o]].namespaceId;if(i){var a=this._fetchNamespace(i);a&&t.add(a)}}return t},e.prototype.trigger=function(e,t,n,r){if(He(t)){var o=this._fetchNamespace(e);if(o)return o.trigger(t,n,r),!0}return!1},e.prototype.insertNode=function(e,t,n,r){if(He(t)){var o=t.__ng_removed;if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ge(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),We(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n){if(He(t)){var r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n)}else this._onRemovalComplete(t,n)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,o){return He(t)?this._fetchNamespace(e).listen(t,n,r,o):function(){}},e.prototype._buildInstruction=function(e,t,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,o)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))},e.prototype.whenRenderingDone=function(){var e=this;return new Promise((function(t){if(e.players.length)return s(e.players).onDone((function(){return t()}));t()}))},e.prototype.processLeaveNode=function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Ne,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(n){t.markElementAsDisabled(e,!1)}))},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++){Ge(this.collectedEnterElements[r],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,e)}finally{for(r=0;r<o.length;r++)o[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++){var i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var a=this._whenQuietFns;this._whenQuietFns=[],n.length?s(n).onDone((function(){a.forEach((function(e){return e()}))})):a.forEach((function(e){return e()}))}},e.prototype.reportError=function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))},e.prototype._flushAnimations=function(e,t){var n=this,i=new le,a=[],l=new Map,c=[],u=new Map,d=new Map,f=new Map,h=new Set;this.disabledNodes.forEach((function(e){h.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)h.add(t[r])}));var m=this.bodyNode,g=Array.from(this.statesByElement.keys()),y=qe(g,this.collectedEnterElements),v=new Map,b=0;y.forEach((function(e,t){var n="ng-enter"+b++;v.set(t,n),e.forEach((function(e){return Ge(e,n)}))}));for(var _=[],w=new Set,C=new Set,S=0;S<this.collectedLeaveElements.length;S++){(V=(H=this.collectedLeaveElements[S]).__ng_removed)&&V.setForRemoval&&(_.push(H),w.add(H),V.hasAnimation?this.driver.query(H,".ng-star-inserted",!0).forEach((function(e){return w.add(e)})):C.add(H))}var E=new Map,x=qe(g,Array.from(w));x.forEach((function(e,t){var n="ng-leave"+b++;E.set(t,n),e.forEach((function(e){return Ge(e,n)}))})),e.push((function(){y.forEach((function(e,t){var n=v.get(t);e.forEach((function(e){return We(e,n)}))})),x.forEach((function(e,t){var n=E.get(t);e.forEach((function(e){return We(e,n)}))})),_.forEach((function(e){n.processLeaveNode(e)}))}));for(var k=[],O=[],T=this._namespaceList.length-1;T>=0;T--){this._namespaceList[T].drainQueuedTransitions(t).forEach((function(e){var t=e.player,r=e.element;if(k.push(t),n.collectedEnterElements.length){var o=r.__ng_removed;if(o&&o.setForMove)return void t.destroy()}var s=!m||!n.driver.containsElement(m,r),l=E.get(r),h=v.get(r),g=n._buildInstruction(e,i,h,l,s);if(g.errors&&g.errors.length)O.push(g);else{if(s)return t.onStart((function(){return B(r,g.fromStyles)})),t.onDestroy((function(){return L(r,g.toStyles)})),void a.push(t);if(e.isFallbackTransition)return t.onStart((function(){return B(r,g.fromStyles)})),t.onDestroy((function(){return L(r,g.toStyles)})),void a.push(t);g.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),i.append(r,g.timelines);var y={instruction:g,player:t,element:r};c.push(y),g.queriedElements.forEach((function(e){return p(u,e,[]).push(t)})),g.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=d.get(t);r||d.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),g.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=f.get(t);r||f.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}))}if(O.length){var A=[];O.forEach((function(e){A.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((function(e){return A.push("- "+e+"\n")}))})),k.forEach((function(e){return e.destroy()})),this.reportError(A)}var P=new Map,R=new Map;c.forEach((function(e){var t=e.element;i.has(t)&&(R.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,P))})),a.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){p(P,t,[]).push(e),e.destroy()}))}));var I=_.filter((function(e){return Ze(e,d,f)})),M=new Map;ze(M,this.driver,C,f,o.AUTO_STYLE).forEach((function(e){Ze(e,d,f)&&I.push(e)}));var N=new Map;y.forEach((function(e,t){ze(N,n.driver,new Set(e),d,o["ɵPRE_STYLE"])})),I.forEach((function(e){var t=M.get(e),n=N.get(e);M.set(e,Object(r.__assign)({},t,n))}));var D=[],j=[],F={};c.forEach((function(e){var t=e.element,r=e.player,o=e.instruction;if(i.has(t)){if(h.has(t))return r.onDestroy((function(){return L(t,o.toStyles)})),r.disabled=!0,r.overrideTotalTime(o.totalTime),void a.push(r);var c=F;if(R.size>1){for(var u=t,d=[];u=u.parentNode;){var p=R.get(u);if(p){c=p;break}d.push(u)}d.forEach((function(e){return R.set(e,c)}))}var f=n._buildAnimation(r.namespaceId,o,P,l,N,M);if(r.setRealPlayer(f),c===F)D.push(r);else{var m=n.playersByElement.get(c);m&&m.length&&(r.parentPlayer=s(m)),a.push(r)}}else B(t,o.fromStyles),r.onDestroy((function(){return L(t,o.toStyles)})),j.push(r),h.has(t)&&a.push(r)})),j.forEach((function(e){var t=l.get(e.element);if(t&&t.length){var n=s(t);e.setRealPlayer(n)}})),a.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var U=0;U<_.length;U++){var H,V=(H=_[U]).__ng_removed;if(We(H,"ng-leave"),!V||!V.hasAnimation){var z=[];if(u.size){var q=u.get(H);q&&q.length&&z.push.apply(z,Object(r.__spread)(q));for(var G=this.driver.query(H,".ng-animating",!0),W=0;W<G.length;W++){var Y=u.get(G[W]);Y&&Y.length&&z.push.apply(z,Object(r.__spread)(Y))}}var Z=z.filter((function(e){return!e.destroyed}));Z.length?Ye(this,H,Z):this.processLeaveNode(H)}}return _.length=0,D.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),D},e.prototype.elementContainsData=function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n},e.prototype.afterFlush=function(e){this._flushFns.push(e)},e.prototype.afterFlushAnimationsDone=function(e){this._whenQuietFns.push(e)},e.prototype._getPreviousPlayers=function(e,t,n,r,o){var i=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(i=a)}else{var s=this.playersByElement.get(e);if(s){var l=!o||"void"==o;s.forEach((function(e){e.queued||(l||e.triggerName==r)&&i.push(e)}))}}return(n||r)&&(i=i.filter((function(e){return(!n||n==e.namespaceId)&&(!r||r==e.triggerName)}))),i},e.prototype._beforeAnimationBuild=function(e,t,n){var o,i,a=t.triggerName,s=t.element,l=t.isRemovalTransition?void 0:e,c=t.isRemovalTransition?void 0:a,u=function(e){var r=e.element,o=r!==s,i=p(n,r,[]);d._getPreviousPlayers(r,o,l,c,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),i.push(e)}))},d=this;try{for(var f=Object(r.__values)(t.timelines),h=f.next();!h.done;h=f.next()){u(h.value)}}catch(e){o={error:e}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}B(s,t.fromStyles)},e.prototype._buildAnimation=function(e,t,n,r,i,a){var c=this,u=t.triggerName,d=t.element,f=[],h=new Set,m=new Set,g=t.timelines.map((function(t){var s=t.element;h.add(s);var p=s.__ng_removed;if(p&&p.removedBeforeQueried)return new o.NoopAnimationPlayer(t.duration,t.delay);var g,y,v=s!==d,b=(g=(n.get(s)||Me).map((function(e){return e.getRealPlayer()})),y=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof o["ɵAnimationGroupPlayer"]?e(i.players,n):n.push(i)}}(g,y),y).filter((function(e){var t=e;return!!t.element&&t.element===s})),_=i.get(s),w=a.get(s),C=l(c.driver,c._normalizer,0,t.keyframes,_,w),S=c._buildPlayer(t,C,b);if(t.subTimeline&&r&&m.add(s),v){var E=new Ue(e,u,s);E.setRealPlayer(S),f.push(E)}return S}));f.forEach((function(e){p(c.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(c.playersByQueriedElement,e.element,e)}))})),h.forEach((function(e){return Ge(e,"ng-animating")}));var y=s(g);return y.onDestroy((function(){h.forEach((function(e){return We(e,"ng-animating")})),L(d,t.toStyles)})),m.forEach((function(e){p(r,e,[]).push(y)})),y},e.prototype._buildPlayer=function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.NoopAnimationPlayer(e.duration,e.delay)},e}(),Ue=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new o.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return c(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))},e.prototype._queueEvent=function(e,t){p(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function He(e){return e&&1===e.nodeType}function Ve(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function ze(e,t,n,r,o){var i=[];n.forEach((function(e){return i.push(Ve(e))}));var a=[];r.forEach((function(n,r){var i={};n.forEach((function(e){var n=i[e]=t.computeStyle(r,e,o);n&&0!=n.length||(r.__ng_removed=De,a.push(r))})),e.set(r,i)}));var s=0;return n.forEach((function(e){return Ve(e,i[s++])})),a}function qe(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),o=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var i=o.get(t);if(i)return i;var a=t.parentNode;return i=n.has(a)?a:r.has(a)?1:e(a),o.set(t,i),i}(e);1!==t&&n.get(t).push(e)})),n}function Ge(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function We(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ye(e,t,n){s(n).onDone((function(){return e.processLeaveNode(t)}))}function Ze(e,t,n){var r=n.get(e);if(!r)return!1;var o=t.get(e);return o?r.forEach((function(e){return o.add(e)})):t.set(e,r),n.delete(e),!0}var Ke=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Fe(e,t,n),this._timelineEngine=new Ie(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,o){var i=e+"-"+r,a=this._triggerCache[i];if(!a){var s=[],l=te(this._driver,o,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new Ae(e,t)}(r,l),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(t,r,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,o){if("@"==n.charAt(0)){var i=Object(r.__read)(f(n),2),a=i[0],s=i[1],l=o;this._timelineEngine.command(a,t,s,l)}else this._transitionEngine.trigger(e,t,n,o)},e.prototype.listen=function(e,t,n,o,i){if("@"==n.charAt(0)){var a=Object(r.__read)(f(n),2),s=a[0],l=a[1];return this._timelineEngine.listen(s,t,l,i)}return this._transitionEngine.listen(e,t,n,o,i)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),$e=function(){function e(e,t,n,r,o,i,a){var s=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=o,this._fillMode=i,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return s._handleCallback(e)}}return e.prototype.apply=function(){!function(e,t){var n=nt(e,"").trim(),r=0;n.length&&(r=function(e,t){for(var n=0,r=0;r<e.length;r++){e.charAt(r)===t&&n++}return n}(n,",")+1,t=n+", "+t);tt(e,"",t)}(this._element,this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name),et(this._element,this._eventFn,!1),this._startTime=Date.now()},e.prototype.pause=function(){Qe(this._element,this._name,"paused")},e.prototype.resume=function(){Qe(this._element,this._name,"running")},e.prototype.setPosition=function(e){var t=Xe(this._element,this._name);this._position=e*this._duration,tt(this._element,"Delay","-"+this._position+"ms",t)},e.prototype.getPosition=function(){return this._position},e.prototype._handleCallback=function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),et(this._element,this._eventFn,!0))},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=nt(e,"").split(","),r=Je(n,t);if(r>=0){n.splice(r,1);var o=n.join(",");tt(e,"",o)}}(this._element,this._name))},e}();function Qe(e,t,n){tt(e,"PlayState",n,Xe(e,t))}function Xe(e,t){var n=nt(e,"");return n.indexOf(",")>0?Je(n.split(","),t):Je([n],t)}function Je(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function et(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function tt(e,t,n,r){var o="animation"+t;if(null!=r){var i=e.style[o];if(i.length){var a=i.split(",");a[r]=n,n=a.join(",")}}e.style[o]=n}function nt(e,t){return e.style["animation"+t]}var rt=function(){function e(e,t,n,r,o,i,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+o,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){if(!(this._state>=1)){this._state=1;this.element;this._styler.apply(),this._delay&&this._styler.pause()}},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new $e(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:K(e.element,r))}))}this.currentSnapshot=t},e}(),ot=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=k(n),r}return Object(r.__extends)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,e.prototype.destroy.call(this))},t}(o.NoopAnimationPlayer),it=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return C(e)},e.prototype.matchesElement=function(e,t){return S(e,t)},e.prototype.containsElement=function(e,t){return E(e,t)},e.prototype.query=function(e,t,n){return x(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map((function(e){return k(e)}));var r="@keyframes "+t+" {\n",o="";n.forEach((function(e){o=" ";var t=parseFloat(e.offset);r+=""+o+100*t+"% {\n",o+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=o+"animation-timing-function: "+n+";\n"));default:return void(r+=""+o+t+": "+n+";\n")}})),r+=o+"}\n"})),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},e.prototype.animate=function(e,t,n,r,o,i,a){void 0===i&&(i=[]),a&&this._notifyFaultyScrubber();var s=i.filter((function(e){return e instanceof rt})),l={};W(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var c=function(e){var t={};if(e){(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))}))}return t}(t=Y(e,t,l));if(0==n)return new ot(e,c);var u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);var p=new rt(e,t,u,n,r,o,c);return p.onDestroy((function(){var e;(e=d).parentNode.removeChild(e)})),p},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}();var at=function(){function e(e,t,n){this.element=e,this.keyframes=t,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:K(e.element,n))})),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),st=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ct().toString()),this._cssKeyframesDriver=new it}return e.prototype.validateStyleProperty=function(e){return C(e)},e.prototype.matchesElement=function(e,t){return S(e,t)},e.prototype.containsElement=function(e,t){return E(e,t)},e.prototype.query=function(e,t,n){return x(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,o,i,a){if(void 0===i&&(i=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,o,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(s.easing=o);var l={},c=i.filter((function(e){return e instanceof at}));return W(n,r)&&c.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))})),t=Y(e,t=t.map((function(e){return N(e,!1)})),l),new at(e,t,s)},e}();function lt(){return"function"==typeof ct()}function ct(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}.call(this,n("./node_modules/process/browser.js"))},"./node_modules/@angular/cdk/esm5/a11y.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MESSAGES_CONTAINER_ID",(function(){return f})),n.d(t,"CDK_DESCRIBEDBY_ID_PREFIX",(function(){return h})),n.d(t,"CDK_DESCRIBEDBY_HOST_ATTRIBUTE",(function(){return m})),n.d(t,"AriaDescriber",(function(){return b})),n.d(t,"ARIA_DESCRIBER_PROVIDER_FACTORY",(function(){return _})),n.d(t,"ARIA_DESCRIBER_PROVIDER",(function(){return w})),n.d(t,"ActiveDescendantKeyManager",(function(){return S})),n.d(t,"FocusKeyManager",(function(){return E})),n.d(t,"ListKeyManager",(function(){return C})),n.d(t,"FocusTrap",(function(){return T})),n.d(t,"FocusTrapFactory",(function(){return A})),n.d(t,"CdkTrapFocus",(function(){return P})),n.d(t,"InteractivityChecker",(function(){return x})),n.d(t,"LiveAnnouncer",(function(){return M})),n.d(t,"CdkAriaLive",(function(){return N})),n.d(t,"LIVE_ANNOUNCER_PROVIDER_FACTORY",(function(){return D})),n.d(t,"LIVE_ANNOUNCER_PROVIDER",(function(){return j})),n.d(t,"LIVE_ANNOUNCER_ELEMENT_TOKEN",(function(){return R})),n.d(t,"LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY",(function(){return I})),n.d(t,"TOUCH_BUFFER_MS",(function(){return L})),n.d(t,"FocusMonitor",(function(){return B})),n.d(t,"CdkMonitorFocus",(function(){return F})),n.d(t,"FOCUS_MONITOR_PROVIDER_FACTORY",(function(){return U})),n.d(t,"FOCUS_MONITOR_PROVIDER",(function(){return H})),n.d(t,"isFakeMousedownFromScreenReader",(function(){return V})),n.d(t,"A11yModule",(function(){return z}));var r=n("./node_modules/@angular/common/fesm5/common.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/@angular/cdk/esm5/keycodes.es5.js"),s=n("./node_modules/rxjs/_esm5/operators/index.js"),l=n("./node_modules/tslib/tslib.es6.js"),c=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),u=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),d=n("./node_modules/@angular/cdk/esm5/observers.es5.js");function p(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var f="cdk-describedby-message-container",h="cdk-describedby-message",m="cdk-describedby-host",g=0,y=new Map,v=null,b=function(){function e(e){this._document=e}return e.prototype.describe=function(e,t){this._canBeDescribed(e,t)&&(y.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))},e.prototype.removeDescription=function(e,t){if(this._canBeDescribed(e,t)){this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t);var n=y.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t),v&&0===v.childNodes.length&&this._deleteMessagesContainer()}},e.prototype.ngOnDestroy=function(){for(var e=this._document.querySelectorAll("["+m+"]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(m);v&&this._deleteMessagesContainer(),y.clear()},e.prototype._createMessageElement=function(e){var t=this._document.createElement("div");t.setAttribute("id",h+"-"+g++),t.appendChild(this._document.createTextNode(e)),this._createMessagesContainer(),v.appendChild(t),y.set(e,{messageElement:t,referenceCount:0})},e.prototype._deleteMessageElement=function(e){var t=y.get(e),n=t&&t.messageElement;v&&n&&v.removeChild(n),y.delete(e)},e.prototype._createMessagesContainer=function(){if(!v){var e=this._document.getElementById(f);e&&e.parentNode.removeChild(e),(v=this._document.createElement("div")).id=f,v.setAttribute("aria-hidden","true"),v.style.display="none",this._document.body.appendChild(v)}},e.prototype._deleteMessagesContainer=function(){v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)},e.prototype._removeCdkDescribedByReferenceIds=function(e){var t=p(e,"aria-describedby").filter((function(e){return 0!=e.indexOf(h)}));e.setAttribute("aria-describedby",t.join(" "))},e.prototype._addMessageReference=function(e,t){var n,r,o,i,a=y.get(t);n=e,r="aria-describedby",o=a.messageElement.id,(i=p(n,r)).some((function(e){return e.trim()==o.trim()}))||(i.push(o.trim()),n.setAttribute(r,i.join(" "))),e.setAttribute(m,""),a.referenceCount++},e.prototype._removeMessageReference=function(e,t){var n,r,o,i,a=y.get(t);a.referenceCount--,n=e,r="aria-describedby",o=a.messageElement.id,i=p(n,r).filter((function(e){return e!=o.trim()})),n.setAttribute(r,i.join(" ")),e.removeAttribute(m)},e.prototype._isElementDescribedByMessage=function(e,t){var n=p(e,"aria-describedby"),r=y.get(t),o=r&&r.messageElement.id;return!!o&&-1!=n.indexOf(o)},e.prototype._canBeDescribed=function(e,t){return e.nodeType===this._document.ELEMENT_NODE&&null!=t&&!!(""+t).trim()},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[r.DOCUMENT]}]}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(r.DOCUMENT))},token:e,providedIn:"root"}),e}();function _(e,t){return e||new b(t)}var w={provide:b,deps:[[new o.Optional,new o.SkipSelf,b],r.DOCUMENT],useFactory:_},C=function(){function e(e){var t=this;this._items=e,this._activeItemIndex=-1,this._wrap=!1,this._letterKeyStream=new i.Subject,this._typeaheadSubscription=i.Subscription.EMPTY,this._vertical=!0,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new i.Subject,this.change=new i.Subject,e instanceof o.QueryList&&e.changes.subscribe((function(e){if(t._activeItem){var n=e.toArray().indexOf(t._activeItem);n>-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}}))}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(s.tap)((function(e){return t._pressedLetters.push(e)})),Object(s.debounceTime)(e),Object(s.filter)((function(){return t._pressedLetters.length>0})),Object(s.map)((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._getItemsArray(),r=1;r<n.length+1;r++){var o=(t._activeItemIndex+r)%n.length,i=n[o];if(!t._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(o);break}}t._pressedLetters=[]})),this},e.prototype.setActiveItem=function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)},e.prototype.onKeydown=function(e){var t=e.keyCode;switch(t){case a.TAB:return void this.tabOut.next();case a.DOWN_ARROW:if(this._vertical){this.setNextItemActive();break}return;case a.UP_ARROW:if(this._vertical){this.setPreviousItemActive();break}return;case a.RIGHT_ARROW:if("ltr"===this._horizontal){this.setNextItemActive();break}if("rtl"===this._horizontal){this.setPreviousItemActive();break}return;case a.LEFT_ARROW:if("ltr"===this._horizontal){this.setPreviousItemActive();break}if("rtl"===this._horizontal){this.setNextItemActive();break}return;default:return void(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=a.A&&t<=a.Z||t>=a.ZERO&&t<=a.NINE)&&this._letterKeyStream.next(String.fromCharCode(t)))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e);this._activeItemIndex=n,this._activeItem=t[n]},e.prototype.updateActiveItemIndex=function(e){this.updateActiveItem(e)},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length,o=t[r];if(!this._skipPredicateFn(o))return void this.setActiveItem(r)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof o.QueryList?this._items.toArray():this._items},e}(),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(l.__extends)(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(C),E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return Object(l.__extends)(t,e),t.prototype.setFocusOrigin=function(e){return this._origin=e,this},t.prototype.setActiveItem=function(t){e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.focus(this._origin)},t}(C),x=function(){function e(e){this._platform=e}return e.prototype.isDisabled=function(e){return e.hasAttribute("disabled")},e.prototype.isVisible=function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility},e.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var t=function(e){try{return e.frameElement}catch(e){return null}}(e.ownerDocument.defaultView||window);if(t){var n=t&&t.nodeName.toLowerCase();if(-1===O(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}var r=e.nodeName.toLowerCase(),o=O(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&(!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0)},e.prototype.isFocusable=function(e){return function(e){if(function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e))return!1;return function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||k(e)}(e)&&!this.isDisabled(e)&&this.isVisible(e)},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:c.Platform}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(c.Platform))},token:e,providedIn:"root"}),e}();function k(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function O(e){if(!k(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var T=function(){function e(e,t,n,r,o){void 0===o&&(o=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._hasAttached=!1,this._enabled=!0,o||this.attachAnchors()}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},e.prototype.attachAnchors=function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",(function(){return e.focusLastTabbableElement()}))),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",(function(){return e.focusFirstTabbableElement()})))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},e.prototype.focusInitialElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))},e.prototype.focusFirstTabbableElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))},e.prototype.focusLastTabbableElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))},e.prototype._getRegionBoundary=function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-"+e+"], [cdkFocusRegion"+e+"], [cdk-focus-"+e+"]"),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 7.0.0.",t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 7.0.0.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)},e.prototype.focusInitialElement=function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 7.0.0",e),e.focus(),!0):this.focusFirstTabbableElement()},e.prototype.focusFirstTabbableElement=function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e},e.prototype.focusLastTabbableElement=function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e},e.prototype.hasAttached=function(){return this._hasAttached},e.prototype._getFirstTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._getLastTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._createAnchor=function(){var e=this._document.createElement("div");return e.tabIndex=this._enabled?0:-1,e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e},e.prototype._executeOnStable=function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Object(s.take)(1)).subscribe(e)},e}(),A=function(){function e(e,t,n){this._checker=e,this._ngZone=t,this._document=n}return e.prototype.create=function(e,t){return void 0===t&&(t=!1),new T(e,this._checker,this._ngZone,this._document,t)},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:x},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[r.DOCUMENT]}]}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(x),Object(o.inject)(o.NgZone),Object(o.inject)(r.DOCUMENT))},token:e,providedIn:"root"}),e}(),P=function(){function e(e,t,n){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=Object(u.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(e){this._autoCapture=Object(u.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},e.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},e.prototype.ngDoCheck=function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()},e.decorators=[{type:o.Directive,args:[{selector:"[cdkTrapFocus]",exportAs:"cdkTrapFocus"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:A},{type:void 0,decorators:[{type:o.Inject,args:[r.DOCUMENT]}]}]},e.propDecorators={enabled:[{type:o.Input,args:["cdkTrapFocus"]}],autoCapture:[{type:o.Input,args:["cdkTrapFocusAutoCapture"]}]},e}(),R=new o.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:I});function I(){return null}var M=function(){function e(e,t){this._document=t,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e,t){var n=this;return void 0===t&&(t="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",t),new Promise((function(t){setTimeout((function(){n._liveElement.textContent=e,t()}),100)}))},e.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},e.prototype._createLiveElement=function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);var n=this._document.createElement("div");return n.classList.add("cdk-live-announcer-element"),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[R]}]},{type:void 0,decorators:[{type:o.Inject,args:[r.DOCUMENT]}]}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(R,8),Object(o.inject)(r.DOCUMENT))},token:e,providedIn:"root"}),e}(),N=function(){function e(e,t,n,r){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=n,this._ngZone=r,this._politeness="off"}return Object.defineProperty(e.prototype,"politeness",{get:function(){return this._politeness},set:function(e){var t=this;this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((function(){return t._contentObserver.observe(t._elementRef).subscribe((function(){var e=t._elementRef.nativeElement;t._liveAnnouncer.announce(e.textContent,t._politeness)}))})))},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},e.decorators=[{type:o.Directive,args:[{selector:"[cdkAriaLive]",exportAs:"cdkAriaLive"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:M},{type:d.ContentObserver},{type:o.NgZone}]},e.propDecorators={politeness:[{type:o.Input,args:["cdkAriaLive"]}]},e}();function D(e,t,n){return e||new M(t,n)}var j={provide:M,deps:[[new o.Optional,new o.SkipSelf,M],[new o.Optional,new o.Inject(R)],r.DOCUMENT],useFactory:D},L=650,B=function(){function e(e,t){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return e.prototype.monitor=function(e,t){var n=this;if(void 0===t&&(t=!1),!this._platform.isBrowser)return Object(i.of)(null);if(this._elementInfo.has(e)){var r=this._elementInfo.get(e);return r.checkChildren=t,r.subject.asObservable()}var o={unlisten:function(){},checkChildren:t,subject:new i.Subject};this._elementInfo.set(e,o),this._incrementMonitoredElementCount();var a=function(t){return n._onFocus(t,e)},s=function(t){return n._onBlur(t,e)};return this._ngZone.runOutsideAngular((function(){e.addEventListener("focus",a,!0),e.addEventListener("blur",s,!0)})),o.unlisten=function(){e.removeEventListener("focus",a,!0),e.removeEventListener("blur",s,!0)},o.subject.asObservable()},e.prototype.stopMonitoring=function(e){var t=this._elementInfo.get(e);t&&(t.unlisten(),t.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},e.prototype.focusVia=function(e,t,n){this._setOriginForCurrentEventQueue(t),"function"==typeof e.focus&&e.focus(n)},e.prototype.ngOnDestroy=function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))},e.prototype._registerGlobalListeners=function(){var e=this;if(this._platform.isBrowser){var t=function(){e._lastTouchTarget=null,e._setOriginForCurrentEventQueue("keyboard")},n=function(){e._lastTouchTarget||e._setOriginForCurrentEventQueue("mouse")},r=function(t){null!=e._touchTimeoutId&&clearTimeout(e._touchTimeoutId),e._lastTouchTarget=t.target,e._touchTimeoutId=setTimeout((function(){return e._lastTouchTarget=null}),L)},o=function(){e._windowFocused=!0,e._windowFocusTimeoutId=setTimeout((function(){return e._windowFocused=!1}))};this._ngZone.runOutsideAngular((function(){document.addEventListener("keydown",t,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("touchstart",r,!Object(c.supportsPassiveEventListeners)()||{passive:!0,capture:!0}),window.addEventListener("focus",o)})),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",t,!0),document.removeEventListener("mousedown",n,!0),document.removeEventListener("touchstart",r,!Object(c.supportsPassiveEventListeners)()||{passive:!0,capture:!0}),window.removeEventListener("focus",o),clearTimeout(e._windowFocusTimeoutId),clearTimeout(e._touchTimeoutId),clearTimeout(e._originTimeoutId)}}},e.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},e.prototype._setClasses=function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))},e.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,t._originTimeoutId=setTimeout((function(){return t._origin=null}),1)}))},e.prototype._wasCausedByTouch=function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},e.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},e.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))},e.prototype._emitOrigin=function(e,t){this._ngZone.run((function(){return e.next(t)}))},e.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},e.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:o.NgZone},{type:c.Platform}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(o.NgZone),Object(o.inject)(c.Platform))},token:e,providedIn:"root"}),e}(),F=function(){function e(e,t){var n=this;this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new o.EventEmitter,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef.nativeElement,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return n.cdkFocusChange.emit(e)}))}return e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement),this._monitorSubscription.unsubscribe()},e.decorators=[{type:o.Directive,args:[{selector:"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:B}]},e.propDecorators={cdkFocusChange:[{type:o.Output}]},e}();function U(e,t,n){return e||new B(t,n)}var H={provide:B,deps:[[new o.Optional,new o.SkipSelf,B],o.NgZone,c.Platform],useFactory:U};function V(e){return 0===e.buttons}var z=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[r.CommonModule,c.PlatformModule,d.ObserversModule],declarations:[N,P,F],exports:[N,P,F]}]}],e}()},"./node_modules/@angular/cdk/esm5/bidi.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Directionality",(function(){return s})),n.d(t,"DIR_DOCUMENT",(function(){return i})),n.d(t,"Dir",(function(){return l})),n.d(t,"BidiModule",(function(){return c})),n.d(t,"ɵa",(function(){return a}));var r=n("./node_modules/@angular/common/fesm5/common.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=new o.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:a});function a(){return Object(o.inject)(r.DOCUMENT)}var s=function(){function e(e){if(this.value="ltr",this.change=new o.EventEmitter,e){var t=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null,r=t||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[i]}]}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(i,8))},token:e,providedIn:"root"}),e}(),l=function(){function e(){this._dir="ltr",this._isInitialized=!1,this.change=new o.EventEmitter}return Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir},set:function(e){var t=this._dir;this._dir="ltr"===e||"rtl"===e?e:"ltr",t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.dir},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){this.change.complete()},e.decorators=[{type:o.Directive,args:[{selector:"[dir]",providers:[{provide:s,useExisting:e}],host:{"[dir]":"dir"},exportAs:"dir"}]}],e.propDecorators={change:[{type:o.Output,args:["dirChange"]}],dir:[{type:o.Input}]},e}(),c=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{exports:[l],declarations:[l]}]}],e}()},"./node_modules/@angular/cdk/esm5/coercion.es5.js":function(e,t,n){"use strict";function r(e){return null!=e&&""+e!="false"}function o(e,t){return void 0===t&&(t=0),i(e)?Number(e):t}function i(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function a(e){return Array.isArray(e)?e:[e]}function s(e){return null==e?"":"string"==typeof e?e:e+"px"}n.r(t),n.d(t,"coerceBooleanProperty",(function(){return r})),n.d(t,"coerceNumberProperty",(function(){return o})),n.d(t,"_isNumberValue",(function(){return i})),n.d(t,"coerceArray",(function(){return a})),n.d(t,"coerceCssPixelValue",(function(){return s}))},"./node_modules/@angular/cdk/esm5/keycodes.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MAC_ENTER",(function(){return r})),n.d(t,"BACKSPACE",(function(){return o})),n.d(t,"TAB",(function(){return i})),n.d(t,"NUM_CENTER",(function(){return a})),n.d(t,"ENTER",(function(){return s})),n.d(t,"SHIFT",(function(){return l})),n.d(t,"CONTROL",(function(){return c})),n.d(t,"ALT",(function(){return u})),n.d(t,"PAUSE",(function(){return d})),n.d(t,"CAPS_LOCK",(function(){return p})),n.d(t,"ESCAPE",(function(){return f})),n.d(t,"SPACE",(function(){return h})),n.d(t,"PAGE_UP",(function(){return m})),n.d(t,"PAGE_DOWN",(function(){return g})),n.d(t,"END",(function(){return y})),n.d(t,"HOME",(function(){return v})),n.d(t,"LEFT_ARROW",(function(){return b})),n.d(t,"UP_ARROW",(function(){return _})),n.d(t,"RIGHT_ARROW",(function(){return w})),n.d(t,"DOWN_ARROW",(function(){return C})),n.d(t,"PLUS_SIGN",(function(){return S})),n.d(t,"PRINT_SCREEN",(function(){return E})),n.d(t,"INSERT",(function(){return x})),n.d(t,"DELETE",(function(){return k})),n.d(t,"ZERO",(function(){return O})),n.d(t,"ONE",(function(){return T})),n.d(t,"TWO",(function(){return A})),n.d(t,"THREE",(function(){return P})),n.d(t,"FOUR",(function(){return R})),n.d(t,"FIVE",(function(){return I})),n.d(t,"SIX",(function(){return M})),n.d(t,"SEVEN",(function(){return N})),n.d(t,"EIGHT",(function(){return D})),n.d(t,"NINE",(function(){return j})),n.d(t,"FF_SEMICOLON",(function(){return L})),n.d(t,"FF_EQUALS",(function(){return B})),n.d(t,"QUESTION_MARK",(function(){return F})),n.d(t,"AT_SIGN",(function(){return U})),n.d(t,"A",(function(){return H})),n.d(t,"B",(function(){return V})),n.d(t,"C",(function(){return z})),n.d(t,"D",(function(){return q})),n.d(t,"E",(function(){return G})),n.d(t,"F",(function(){return W})),n.d(t,"G",(function(){return Y})),n.d(t,"H",(function(){return Z})),n.d(t,"I",(function(){return K})),n.d(t,"J",(function(){return $})),n.d(t,"K",(function(){return Q})),n.d(t,"L",(function(){return X})),n.d(t,"M",(function(){return J})),n.d(t,"N",(function(){return ee})),n.d(t,"O",(function(){return te})),n.d(t,"P",(function(){return ne})),n.d(t,"Q",(function(){return re})),n.d(t,"R",(function(){return oe})),n.d(t,"S",(function(){return ie})),n.d(t,"T",(function(){return ae})),n.d(t,"U",(function(){return se})),n.d(t,"V",(function(){return le})),n.d(t,"W",(function(){return ce})),n.d(t,"X",(function(){return ue})),n.d(t,"Y",(function(){return de})),n.d(t,"Z",(function(){return pe})),n.d(t,"META",(function(){return fe})),n.d(t,"MAC_WK_CMD_LEFT",(function(){return he})),n.d(t,"MAC_WK_CMD_RIGHT",(function(){return me})),n.d(t,"CONTEXT_MENU",(function(){return ge})),n.d(t,"NUMPAD_ZERO",(function(){return ye})),n.d(t,"NUMPAD_ONE",(function(){return ve})),n.d(t,"NUMPAD_TWO",(function(){return be})),n.d(t,"NUMPAD_THREE",(function(){return _e})),n.d(t,"NUMPAD_FOUR",(function(){return we})),n.d(t,"NUMPAD_FIVE",(function(){return Ce})),n.d(t,"NUMPAD_SIX",(function(){return Se})),n.d(t,"NUMPAD_SEVEN",(function(){return Ee})),n.d(t,"NUMPAD_EIGHT",(function(){return xe})),n.d(t,"NUMPAD_NINE",(function(){return ke})),n.d(t,"NUMPAD_MULTIPLY",(function(){return Oe})),n.d(t,"NUMPAD_PLUS",(function(){return Te})),n.d(t,"NUMPAD_MINUS",(function(){return Ae})),n.d(t,"NUMPAD_PERIOD",(function(){return Pe})),n.d(t,"NUMPAD_DIVIDE",(function(){return Re})),n.d(t,"F1",(function(){return Ie})),n.d(t,"F2",(function(){return Me})),n.d(t,"F3",(function(){return Ne})),n.d(t,"F4",(function(){return De})),n.d(t,"F5",(function(){return je})),n.d(t,"F6",(function(){return Le})),n.d(t,"F7",(function(){return Be})),n.d(t,"F8",(function(){return Fe})),n.d(t,"F9",(function(){return Ue})),n.d(t,"F10",(function(){return He})),n.d(t,"F11",(function(){return Ve})),n.d(t,"F12",(function(){return ze})),n.d(t,"NUM_LOCK",(function(){return qe})),n.d(t,"SCROLL_LOCK",(function(){return Ge})),n.d(t,"FIRST_MEDIA",(function(){return We})),n.d(t,"FF_MINUS",(function(){return Ye})),n.d(t,"MUTE",(function(){return Ze})),n.d(t,"VOLUME_DOWN",(function(){return Ke})),n.d(t,"VOLUME_UP",(function(){return $e})),n.d(t,"FF_MUTE",(function(){return Qe})),n.d(t,"FF_VOLUME_DOWN",(function(){return Xe})),n.d(t,"LAST_MEDIA",(function(){return Je})),n.d(t,"FF_VOLUME_UP",(function(){return et})),n.d(t,"SEMICOLON",(function(){return tt})),n.d(t,"EQUALS",(function(){return nt})),n.d(t,"COMMA",(function(){return rt})),n.d(t,"DASH",(function(){return ot})),n.d(t,"SLASH",(function(){return it})),n.d(t,"APOSTROPHE",(function(){return at})),n.d(t,"TILDE",(function(){return st})),n.d(t,"OPEN_SQUARE_BRACKET",(function(){return lt})),n.d(t,"BACKSLASH",(function(){return ct})),n.d(t,"CLOSE_SQUARE_BRACKET",(function(){return ut})),n.d(t,"SINGLE_QUOTE",(function(){return dt})),n.d(t,"MAC_META",(function(){return pt}));var r=3,o=8,i=9,a=12,s=13,l=16,c=17,u=18,d=19,p=20,f=27,h=32,m=33,g=34,y=35,v=36,b=37,_=38,w=39,C=40,S=43,E=44,x=45,k=46,O=48,T=49,A=50,P=51,R=52,I=53,M=54,N=55,D=56,j=57,L=59,B=61,F=63,U=64,H=65,V=66,z=67,q=68,G=69,W=70,Y=71,Z=72,K=73,$=74,Q=75,X=76,J=77,ee=78,te=79,ne=80,re=81,oe=82,ie=83,ae=84,se=85,le=86,ce=87,ue=88,de=89,pe=90,fe=91,he=91,me=93,ge=93,ye=96,ve=97,be=98,_e=99,we=100,Ce=101,Se=102,Ee=103,xe=104,ke=105,Oe=106,Te=107,Ae=109,Pe=110,Re=111,Ie=112,Me=113,Ne=114,De=115,je=116,Le=117,Be=118,Fe=119,Ue=120,He=121,Ve=122,ze=123,qe=144,Ge=145,We=166,Ye=173,Ze=173,Ke=174,$e=175,Qe=181,Xe=182,Je=183,et=183,tt=186,nt=187,rt=188,ot=189,it=191,at=192,st=192,lt=219,ct=220,ut=221,dt=222,pt=224},"./node_modules/@angular/cdk/esm5/observers.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MutationObserverFactory",(function(){return s})),n.d(t,"ContentObserver",(function(){return l})),n.d(t,"CdkObserveContent",(function(){return c})),n.d(t,"ObserversModule",(function(){return u}));var r=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),l=function(){function e(e){this._mutationObserverFactory=e,this._observedElements=new Map}return e.prototype.ngOnDestroy=function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))},e.prototype.observe=function(e){var t=this,n=e instanceof o.ElementRef?e.nativeElement:e;return i.Observable.create((function(e){var r=t._observeElement(n).subscribe(e);return function(){r.unsubscribe(),t._unobserveElement(n)}}))},e.prototype._observeElement=function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new i.Subject,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream},e.prototype._unobserveElement=function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))},e.prototype._cleanupObserver=function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:s}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(s))},token:e,providedIn:"root"}),e}(),c=function(){function e(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new o.EventEmitter,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Object(r.coerceBooleanProperty)(e),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debounce},set:function(e){this._debounce=Object(r.coerceNumberProperty)(e),this._subscribe()},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},e.prototype.ngOnDestroy=function(){this._unsubscribe()},e.prototype._subscribe=function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(Object(a.debounceTime)(e.debounce)):t).subscribe(e.event)}))},e.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},e.decorators=[{type:o.Directive,args:[{selector:"[cdkObserveContent]",exportAs:"cdkObserveContent"}]}],e.ctorParameters=function(){return[{type:l},{type:o.ElementRef},{type:o.NgZone}]},e.propDecorators={event:[{type:o.Output,args:["cdkObserveContent"]}],disabled:[{type:o.Input,args:["cdkObserveContentDisabled"]}],debounce:[{type:o.Input}]},e}(),u=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{exports:[c],declarations:[c],providers:[s]}]}],e}()},"./node_modules/@angular/cdk/esm5/overlay.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Overlay",(function(){return H})),n.d(t,"OverlayContainer",(function(){return R})),n.d(t,"CdkOverlayOrigin",(function(){return q})),n.d(t,"CdkConnectedOverlay",(function(){return G})),n.d(t,"FullscreenOverlayContainer",(function(){return $})),n.d(t,"OverlayRef",(function(){return N})),n.d(t,"OverlayKeyboardDispatcher",(function(){return T})),n.d(t,"OverlayPositionBuilder",(function(){return F})),n.d(t,"GlobalPositionStrategy",(function(){return B})),n.d(t,"ConnectedPositionStrategy",(function(){return L})),n.d(t,"FlexibleConnectedPositionStrategy",(function(){return D})),n.d(t,"OverlayConfig",(function(){return m})),n.d(t,"ConnectionPositionPair",(function(){return g})),n.d(t,"ScrollingVisibility",(function(){return y})),n.d(t,"ConnectedOverlayPositionChange",(function(){return v})),n.d(t,"validateVerticalPosition",(function(){return b})),n.d(t,"validateHorizontalPosition",(function(){return _})),n.d(t,"ScrollStrategyOptions",(function(){return O})),n.d(t,"RepositionScrollStrategy",(function(){return k})),n.d(t,"CloseScrollStrategy",(function(){return S})),n.d(t,"NoopScrollStrategy",(function(){return h})),n.d(t,"BlockScrollStrategy",(function(){return w})),n.d(t,"OverlayModule",(function(){return Z})),n.d(t,"OVERLAY_PROVIDERS",(function(){return K})),n.d(t,"ɵg",(function(){return P})),n.d(t,"ɵf",(function(){return A})),n.d(t,"ɵb",(function(){return M})),n.d(t,"ɵa",(function(){return I})),n.d(t,"ɵc",(function(){return z})),n.d(t,"ɵe",(function(){return Y})),n.d(t,"ɵd",(function(){return W}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),i=n("./node_modules/@angular/cdk/esm5/scrolling.es5.js");n.d(t,"ViewportRuler",(function(){return i.ViewportRuler})),n.d(t,"VIEWPORT_RULER_PROVIDER",(function(){return i.VIEWPORT_RULER_PROVIDER})),n.d(t,"CdkScrollable",(function(){return i.CdkScrollable})),n.d(t,"ScrollDispatcher",(function(){return i.ScrollDispatcher}));var a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./node_modules/tslib/tslib.es6.js"),l=n("./node_modules/rxjs/_esm5/index.js"),c=n("./node_modules/rxjs/_esm5/operators/index.js"),u=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),d=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),p=n("./node_modules/@angular/cdk/esm5/portal.es5.js"),f=n("./node_modules/@angular/cdk/esm5/keycodes.es5.js"),h=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}(),m=function(e){var t=this;this.scrollStrategy=new h,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",e&&Object.keys(e).filter((function(t){return void 0!==e[t]})).forEach((function(n){return t[n]=e[n]}))},g=function(e,t,n,r){this.offsetX=n,this.offsetY=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY},y=function(){},v=function(){function e(e,t){this.connectionPair=e,this.scrollableViewProperties=t}return e.ctorParameters=function(){return[{type:g},{type:y,decorators:[{type:r.Optional}]}]},e}();function b(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function _(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var w=function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(o.coerceCssPixelValue)(-this._previousScrollPosition.left),e.style.top=Object(o.coerceCssPixelValue)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=this._document.body,n=e.style.scrollBehavior||"",r=t.style.scrollBehavior||"";this._isEnabled=!1,e.style.left=this._previousHTMLStyles.left,e.style.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),e.style.scrollBehavior=t.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.style.scrollBehavior=n,t.style.scrollBehavior=r}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}();function C(){return Error("Scroll strategy has already been attached.")}var S=function(){function e(e,t,n,r){var o=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run((function(){return o._overlayRef.detach()}))}}return e.prototype.attach=function(e){if(this._overlayRef)throw C();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}();function E(e,t){return t.some((function(t){var n=e.bottom<t.top,r=e.top>t.bottom,o=e.right<t.left,i=e.left>t.right;return n||r||o||i}))}function x(e,t){return t.some((function(t){var n=e.top<t.top,r=e.bottom>t.bottom,o=e.left<t.left,i=e.right>t.right;return n||r||o||i}))}var k=function(){function e(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw C();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,o=n.height;E(t,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}}))}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),O=function(){function e(e,t,n,r){var o=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new h},this.close=function(e){return new S(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new w(o._viewportRuler,o._document)},this.reposition=function(e){return new k(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r}return e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.ScrollDispatcher},{type:i.ViewportRuler},{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}]},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(i.ScrollDispatcher),Object(r.inject)(i.ViewportRuler),Object(r.inject)(r.NgZone),Object(r.inject)(a.DOCUMENT))},token:e,providedIn:"root"}),e}(),T=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(e);break}},this._document=e}return e.prototype.ngOnDestroy=function(){this._detach()},e.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},e.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}]},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(a.DOCUMENT))},token:e,providedIn:"root"}),e}();function A(e,t){return e||new T(t)}var P={provide:T,deps:[[new r.Optional,new r.SkipSelf,T],a.DOCUMENT],useFactory:A},R=function(){function e(e){this._document=e}return e.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e},e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}]},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(a.DOCUMENT))},token:e,providedIn:"root"}),e}();function I(e,t){return e||new R(t)}var M={provide:R,deps:[[new r.Optional,new r.SkipSelf,R],a.DOCUMENT],useFactory:I},N=function(){function e(e,t,n,r,o,i,a){var s=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=i,this._document=a,this._backdropElement=null,this._backdropClick=new l.Subject,this._attachments=new l.Subject,this._detachments=new l.Subject,this._keydownEventsObservable=l.Observable.create((function(e){var t=s._keydownEvents.subscribe(e);return s._keydownEventSubscriptions++,function(){t.unsubscribe(),s._keydownEventSubscriptions--}})),this._keydownEvents=new l.Subject,this._keydownEventSubscriptions=0,r.scrollStrategy&&r.scrollStrategy.attach(this)}return Object.defineProperty(e.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(c.take)(1)).subscribe((function(){t.hasAttached()&&t.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),n},e.prototype.detach=function(){var e=this;if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1);var t=this._portalOutlet.detach();this._detachments.next(),this._keyboardDispatcher.remove(this);var n=this._ngZone.onStable.asObservable().pipe(Object(c.takeUntil)(Object(l.merge)(this._attachments,this._detachments))).subscribe((function(){e._pane&&e._host&&0!==e._pane.children.length||(e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),n.unsubscribe())}));return t}},e.prototype.dispose=function(){var e=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()},e.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},e.prototype.backdropClick=function(){return this._backdropClick.asObservable()},e.prototype.attachments=function(){return this._attachments.asObservable()},e.prototype.detachments=function(){return this._detachments.asObservable()},e.prototype.keydownEvents=function(){return this._keydownEventsObservable},e.prototype.getConfig=function(){return this._config},e.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},e.prototype.updateSize=function(e){this._config=Object(s.__assign)({},this._config,e),this._updateElementSize()},e.prototype.setDirection=function(e){this._config=Object(s.__assign)({},this._config,{direction:e}),this._updateElementDirection()},e.prototype.getDirection=function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"},e.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},e.prototype._updateElementSize=function(){var e=this._pane.style;e.width=Object(o.coerceCssPixelValue)(this._config.width),e.height=Object(o.coerceCssPixelValue)(this._config.height),e.minWidth=Object(o.coerceCssPixelValue)(this._config.minWidth),e.minHeight=Object(o.coerceCssPixelValue)(this._config.minHeight),e.maxWidth=Object(o.coerceCssPixelValue)(this._config.maxWidth),e.maxHeight=Object(o.coerceCssPixelValue)(this._config.maxHeight)},e.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},e.prototype._attachBackdrop=function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",(function(t){return e._backdropClick.next(t)})),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},e.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},e.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n,r=function(){t&&t.parentNode&&t.parentNode.removeChild(t),e._backdropElement==t&&(e._backdropElement=null),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),this._ngZone.runOutsideAngular((function(){t.addEventListener("transitionend",r)})),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular((function(){return setTimeout(r,500)}))}},e.prototype._toggleClasses=function(e,t,n){var r=e.classList;Object(o.coerceArray)(t).forEach((function(e){n?r.add(e):r.remove(e)}))},e}(),D=function(){function e(e,t,n,r,o){var i=this;this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=o,this._isInitialRender=!0,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this.scrollables=[],this._preferredPositions=[],this._positionChanges=new l.Subject,this._resizeSubscription=l.Subscription.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this.positionChanges=l.Observable.create((function(e){var t=i._positionChanges.subscribe(e);return i._positionChangeSubscriptions++,function(){t.unsubscribe(),i._positionChangeSubscriptions--}})),this.setOrigin(e)}return Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){return t.apply()}))},e.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var e,t=this._originRect,n=this._overlayRect,r=this._viewportRect,o=[],i=0,a=this._preferredPositions;i<a.length;i++){var s=a[i],l=this._getOriginPoint(t,s),c=this._getOverlayPoint(l,n,s),u=this._getOverlayFit(c,n,r,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<u.visibleArea)&&(e={overlayFit:u,overlayPoint:c,originPoint:l,position:s,overlayRect:n})}if(o.length){for(var d=null,p=-1,f=0,h=o;f<h.length;f++){var m=h[f],g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>p&&(p=g,d=m)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}},e.prototype.detach=function(){this._resizeSubscription.unsubscribe()},e.prototype.dispose=function(){this._isDisposed||(this.detach(),this._boundingBox=null,this._positionChanges.complete(),this._isDisposed=!0)},e.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},e.prototype.withScrollableContainers=function(e){this.scrollables=e},e.prototype.withPositions=function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},e.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},e.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},e.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},e.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},e.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},e.prototype.setOrigin=function(e){return this._origin=e instanceof r.ElementRef?e.nativeElement:e,this},e.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},e.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},e.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},e.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n="start"==t.originX?r:o}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n){var r,o;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+o}},e.prototype._getOverlayFit=function(e,t,n,r){var o=e.x,i=e.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(o+=a),s&&(i+=s);var l=0-o,c=o+t.width-n.width,u=0-i,d=i+t.height-n.height,p=this._subtractOverflows(t.width,l,c),f=this._subtractOverflows(t.height,u,d),h=p*f;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:f===t.height,fitsInViewportHorizontally:p==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,o=n.right-t.x,i=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth,s=e.fitsInViewportVertically||null!=i&&i<=r,l=e.fitsInViewportHorizontally||null!=a&&a<=o;return s&&l}},e.prototype._pushOverlayOnScreen=function(e,t){var n,r=this._viewportRect,o=Math.max(e.x+t.width-r.right,0),i=Math.max(e.y+t.height-r.bottom,0),a=Math.max(r.top-e.y,0),s=Math.max(r.left-e.x,0),l=0;return n=t.width<=r.width?s||-o:r.left-e.x,l=t.height<=r.height?a||-i:r.top-e.y,{x:e.x+n,y:e.y+l}},e.prototype._applyPosition=function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),this._lastPosition=e,this._positionChangeSubscriptions>0){var n=this._getScrollVisibility(),r=new v(e,n);this._positionChanges.next(r)}this._isInitialRender=!1},e.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var o=0;o<n.length;o++)n[o].style.transformOrigin=t+" "+r}},e.prototype._calculateBoundingBoxRect=function(e,t){var n,r,o,i=this._viewportRect,a=this._isRtl();if("top"===t.overlayY)r=e.y,n=i.bottom-e.y;else if("bottom"===t.overlayY)o=i.height-e.y+2*this._viewportMargin,n=i.height-o+this._viewportMargin;else{var s=Math.min(i.bottom-e.y,e.y-i.left),l=this._lastBoundingBoxSize.height;n=2*s,r=e.y-s,n>l&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-l/2)}var c,u,d,p="start"===t.overlayX&&!a||"end"===t.overlayX&&a;if("end"===t.overlayX&&!a||"start"===t.overlayX&&a)d=i.right-e.x+this._viewportMargin,c=e.x-i.left;else if(p)u=e.x,c=i.right-e.x;else{s=Math.min(i.right-e.x,e.x-i.top);var f=this._lastBoundingBoxSize.width;c=2*s,u=e.x-s,c>f&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-f/2)}return{top:r,left:u,bottom:o,right:d,width:c,height:n}},e.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Object(o.coerceCssPixelValue)(n.height),r.top=Object(o.coerceCssPixelValue)(n.top),r.bottom=Object(o.coerceCssPixelValue)(n.bottom),r.width=Object(o.coerceCssPixelValue)(n.width),r.left=Object(o.coerceCssPixelValue)(n.left),r.right=Object(o.coerceCssPixelValue)(n.right),"center"===t.overlayX?r.alignItems="center":r.alignItems="end"===t.overlayX?"flex-end":"flex-start","center"===t.overlayY?r.justifyContent="center":r.justifyContent="bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=Object(o.coerceCssPixelValue)(i)),a&&(r.maxWidth=Object(o.coerceCssPixelValue)(a))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,r)},e.prototype._resetBoundingBoxStyles=function(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={};this._hasExactPosition()?(j(n,this._getExactOverlayY(t,e)),j(n,this._getExactOverlayX(t,e))):n.position="static";var r="",o=this._getOffset(t,"x"),i=this._getOffset(t,"y");o&&(r+="translateX("+o+"px) "),i&&(r+="translateY("+i+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),j(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t){var n={top:null,bottom:null},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect));var i=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;if(r.y-=i,"bottom"===e.overlayY){var a=this._document.documentElement.clientHeight;n.bottom=a-(r.y+this._overlayRect.height)+"px"}else n.top=Object(o.coerceCssPixelValue)(r.y);return n},e.prototype._getExactOverlayX=function(e,t){var n={left:null,right:null},r=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")){var i=this._document.documentElement.clientWidth;n.right=i-(r.x+this._overlayRect.width)+"px"}else n.left=Object(o.coerceCssPixelValue)(r.x);return n},e.prototype._getScrollVisibility=function(){var e=this._origin.getBoundingClientRect(),t=this._pane.getBoundingClientRect(),n=this.scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:x(e,n),isOriginOutsideView:E(e,n),isOverlayClipped:x(t,n),isOverlayOutsideView:E(t,n)}},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(e,t){return e-Math.max(t,0)}),e)},e.prototype._getNarrowedViewportRect=function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}},e.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},e.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},e.prototype._getOffset=function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY},e.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(e){_("originX",e.originX),b("originY",e.originY),_("overlayX",e.overlayX),b("overlayY",e.overlayY)}))},e}();function j(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var L=function(){function e(e,t,n,r,o,i){this._preferredPositions=[],this._positionStrategy=new D(n,r,o,i).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}return Object.defineProperty(e.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)},e.prototype.dispose=function(){this._positionStrategy.dispose()},e.prototype.detach=function(){this._positionStrategy.detach()},e.prototype.apply=function(){this._positionStrategy.apply()},e.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},e.prototype.withScrollableContainers=function(e){this._positionStrategy.withScrollableContainers(e)},e.prototype.withFallbackPosition=function(e,t,n,r){var o=new g(e,t,n,r);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.withDirection=function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this},e.prototype.withOffsetX=function(e){return this._positionStrategy.withDefaultOffsetX(e),this},e.prototype.withOffsetY=function(e){return this._positionStrategy.withDefaultOffsetY(e),this},e.prototype.withLockedPosition=function(e){return this._positionStrategy.withLockedPosition(e),this},e.prototype.withPositions=function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.setOrigin=function(e){return this._positionStrategy.setOrigin(e),this},e}(),B=function(){function e(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return e.prototype.attach=function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper")},e.prototype.top=function(e){return void 0===e&&(e=""),this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this},e.prototype.left=function(e){return void 0===e&&(e=""),this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this},e.prototype.bottom=function(e){return void 0===e&&(e=""),this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this},e.prototype.right=function(e){return void 0===e&&(e=""),this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this},e.prototype.width=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this},e.prototype.height=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this},e.prototype.centerHorizontally=function(e){return void 0===e&&(e=""),this.left(e),this._justifyContent="center",this},e.prototype.centerVertically=function(e){return void 0===e&&(e=""),this.top(e),this._alignItems="center",this},e.prototype.apply=function(){if(this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();e.position=this._cssPosition,e.marginLeft="100%"===n.width?"0":this._leftOffset,e.marginTop="100%"===n.height?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,"100%"===n.width?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems="100%"===n.height?"flex-start":this._alignItems}},e.prototype.dispose=function(){},e}(),F=function(){function e(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}return e.prototype.global=function(){return new B},e.prototype.connectedTo=function(e,t,n){return new L(t,n,e,this._viewportRuler,this._document)},e.prototype.flexibleConnectedTo=function(e){return new D(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:i.ViewportRuler},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:u.Platform,decorators:[{type:r.Optional}]},{type:R,decorators:[{type:r.Optional}]}]},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(i.ViewportRuler),Object(r.inject)(a.DOCUMENT),Object(r.inject)(u.Platform,8),Object(r.inject)(R,8))},token:e,providedIn:"root"}),e}(),U=0,H=function(){function e(e,t,n,r,o,i,a,s,l){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=i,this._ngZone=a,this._document=s,this._directionality=l}return e.prototype.create=function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),o=new m(e);return o.direction=o.direction||this._directionality.value,new N(r,t,n,o,this._ngZone,this._keyboardDispatcher,this._document)},e.prototype.position=function(){return this._positionBuilder},e.prototype._createPaneElement=function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+U++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t},e.prototype._createHostElement=function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e},e.prototype._createPortalOutlet=function(e){return this._appRef||(this._appRef=this._injector.get(r.ApplicationRef)),new p.DomPortalOutlet(e,this._componentFactoryResolver,this._appRef,this._injector)},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:O},{type:R},{type:r.ComponentFactoryResolver},{type:F},{type:T},{type:r.Injector},{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:d.Directionality}]},e}(),V=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],z=new r.InjectionToken("cdk-connected-overlay-scroll-strategy"),q=function(){function e(e){this.elementRef=e}return e.decorators=[{type:r.Directive,args:[{selector:"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",exportAs:"cdkOverlayOrigin"}]}],e.ctorParameters=function(){return[{type:r.ElementRef}]},e}(),G=function(){function e(e,t,n,o,i){this._overlay=e,this._scrollStrategy=o,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=l.Subscription.EMPTY,this.viewportMargin=0,this.scrollStrategy=this._scrollStrategy(),this.open=!1,this.backdropClick=new r.EventEmitter,this.positionChange=new r.EventEmitter,this.attach=new r.EventEmitter,this.detach=new r.EventEmitter,this.overlayKeydown=new r.EventEmitter,this._templatePortal=new p.TemplatePortal(t,n)}return Object.defineProperty(e.prototype,"offsetX",{get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._setPositions(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._setPositions(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(o.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(e){this._lockPosition=Object(o.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flexibleDiemsions",{get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Object(o.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Object(o.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"push",{get:function(){return this._push},set:function(e){this._push=Object(o.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._destroyOverlay()},e.prototype.ngOnChanges=function(e){this._position&&(e.positions&&this._position.withPositions(this.positions),e.lockPosition&&this._position.withLockedPosition(this.lockPosition),e.origin&&(this._position.setOrigin(this.origin.elementRef),this.open&&this._position.apply())),e.open&&(this.open?this._attachOverlay():this._detachOverlay())},e.prototype._createOverlay=function(){this.positions&&this.positions.length||(this.positions=V),this._overlayRef=this._overlay.create(this._buildConfig())},e.prototype._buildConfig=function(){var e=this._position=this._createPositionStrategy(),t=new m({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),t},e.prototype._createPositionStrategy=function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef).withFlexibleDimensions(this.flexibleDiemsions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition);return this._setPositions(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t},e.prototype._setPositions=function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY}}));e.withPositions(n)},e.prototype._attachOverlay=function(){var e=this;this._overlayRef?this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}):(this._createOverlay(),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),t.keyCode===f.ESCAPE&&e._detachOverlay()}))),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop&&(this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})))},e.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},e.prototype._destroyOverlay=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},e.decorators=[{type:r.Directive,args:[{selector:"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]",exportAs:"cdkConnectedOverlay"}]}],e.ctorParameters=function(){return[{type:H},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Inject,args:[z]}]},{type:d.Directionality,decorators:[{type:r.Optional}]}]},e.propDecorators={origin:[{type:r.Input,args:["cdkConnectedOverlayOrigin"]}],positions:[{type:r.Input,args:["cdkConnectedOverlayPositions"]}],offsetX:[{type:r.Input,args:["cdkConnectedOverlayOffsetX"]}],offsetY:[{type:r.Input,args:["cdkConnectedOverlayOffsetY"]}],width:[{type:r.Input,args:["cdkConnectedOverlayWidth"]}],height:[{type:r.Input,args:["cdkConnectedOverlayHeight"]}],minWidth:[{type:r.Input,args:["cdkConnectedOverlayMinWidth"]}],minHeight:[{type:r.Input,args:["cdkConnectedOverlayMinHeight"]}],backdropClass:[{type:r.Input,args:["cdkConnectedOverlayBackdropClass"]}],viewportMargin:[{type:r.Input,args:["cdkConnectedOverlayViewportMargin"]}],scrollStrategy:[{type:r.Input,args:["cdkConnectedOverlayScrollStrategy"]}],open:[{type:r.Input,args:["cdkConnectedOverlayOpen"]}],hasBackdrop:[{type:r.Input,args:["cdkConnectedOverlayHasBackdrop"]}],lockPosition:[{type:r.Input,args:["cdkConnectedOverlayLockPosition"]}],flexibleDiemsions:[{type:r.Input,args:["cdkConnectedOverlayFlexibleDimensions"]}],growAfterOpen:[{type:r.Input,args:["cdkConnectedOverlayGrowAfterOpen"]}],push:[{type:r.Input,args:["cdkConnectedOverlayPush"]}],backdropClick:[{type:r.Output}],positionChange:[{type:r.Output}],attach:[{type:r.Output}],detach:[{type:r.Output}],overlayKeydown:[{type:r.Output}]},e}();function W(e){return function(){return e.scrollStrategies.reposition()}}var Y={provide:z,deps:[H],useFactory:W},Z=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[d.BidiModule,p.PortalModule,i.ScrollDispatchModule],exports:[G,q,i.ScrollDispatchModule],declarations:[G,q],providers:[H,Y]}]}],e}(),K=[H,F,P,i.VIEWPORT_RULER_PROVIDER,M,Y],$=function(e){function t(t){return e.call(this,t)||this}return Object(s.__extends)(t,e),t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)},t.prototype._createContainer=function(){var t=this;e.prototype._createContainer.call(this),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener((function(){return t._adjustParentForFullscreenChange()}))},t.prototype._adjustParentForFullscreenChange=function(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)},t.prototype._addFullscreenChangeListener=function(e){var t=this._getEventName();t&&(this._fullScreenListener&&this._document.removeEventListener(t,this._fullScreenListener),this._document.addEventListener(t,e),this._fullScreenListener=e)},t.prototype._getEventName=function(){return this._fullScreenEventName||(this._document.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":this._document.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":this._document.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":this._document.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")),this._fullScreenEventName},t.prototype.getFullscreenElement=function(){return this._document.fullscreenElement||this._document.webkitFullscreenElement||this._document.mozFullScreenElement||this._document.msFullscreenElement||null},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}]},t}(R)},"./node_modules/@angular/cdk/esm5/platform.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Platform",(function(){return l})),n.d(t,"supportsPassiveEventListeners",(function(){return c})),n.d(t,"supportsScrollBehavior",(function(){return u})),n.d(t,"getSupportedInputTypes",(function(){return p})),n.d(t,"PlatformModule",(function(){return f}));var r,o,i=n("./node_modules/@angular/core/fesm5/core.js"),a=n("./node_modules/@angular/common/fesm5/common.js"),s="undefined"!=typeof Intl&&Intl.v8BreakIterator,l=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?Object(a.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:Object,decorators:[{type:i.Optional},{type:i.Inject,args:[i.PLATFORM_ID]}]}]},e.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new e(Object(i.inject)(i.PLATFORM_ID,8))},token:e,providedIn:"root"}),e}();function c(){if(null==r&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return r=!0}}))}finally{r=r||!1}return r}function u(){return!!(document&&document.documentElement&&document.documentElement.style&&"scrollBehavior"in document.documentElement.style)}var d=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(d);var e=document.createElement("input");return o=new Set(d.filter((function(t){return e.setAttribute("type",t),e.type===t})))}var f=function(){function e(){}return e.decorators=[{type:i.NgModule}],e}()},"./node_modules/@angular/cdk/esm5/portal.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DomPortalHost",(function(){return u})),n.d(t,"PortalHostDirective",(function(){return p})),n.d(t,"TemplatePortalDirective",(function(){return d})),n.d(t,"BasePortalHost",(function(){return c})),n.d(t,"Portal",(function(){return a})),n.d(t,"ComponentPortal",(function(){return s})),n.d(t,"TemplatePortal",(function(){return l})),n.d(t,"BasePortalOutlet",(function(){return c})),n.d(t,"DomPortalOutlet",(function(){return u})),n.d(t,"CdkPortal",(function(){return d})),n.d(t,"CdkPortalOutlet",(function(){return p})),n.d(t,"PortalModule",(function(){return f})),n.d(t,"PortalInjector",(function(){return h}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/core/fesm5/core.js");function i(){throw Error("Host already has a portal attached")}var a=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&i(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),s=function(e){function t(t,n,r){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=r,o}return Object(r.__extends)(t,e),t}(a),l=function(e){function t(t,n,r){var o=e.call(this)||this;return o.templateRef=t,o.viewContainerRef=n,o.context=r,o}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(a),c=function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof l?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}(),u=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.outletElement=t,i._componentFactoryResolver=n,i._appRef=r,i._defaultInjector=o,i}return Object(r.__extends)(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,r=this._componentFactoryResolver.resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.parentInjector),this.setDisposeFn((function(){return t.destroy()}))):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(r);-1!==e&&n.remove(e)})),r},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(c),d=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(r.__extends)(t,e),t.decorators=[{type:o.Directive,args:[{selector:"[cdk-portal], [cdkPortal], [portal]",exportAs:"cdkPortal"}]}],t.ctorParameters=function(){return[{type:o.TemplateRef},{type:o.ViewContainerRef}]},t}(l),p=function(e){function t(t,n){var r=e.call(this)||this;return r._componentFactoryResolver=t,r._viewContainerRef=n,r._isInitialized=!1,r.attached=new o.EventEmitter,r}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=this._componentFactoryResolver.resolveComponentFactory(t.component),o=n.createComponent(r,n.length,t.injector||n.parentInjector);return e.prototype.setDisposeFn.call(this,(function(){return o.destroy()})),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.decorators=[{type:o.Directive,args:[{selector:"[cdkPortalOutlet], [cdkPortalHost], [portalHost]",exportAs:"cdkPortalOutlet, cdkPortalHost",inputs:["portal: cdkPortalOutlet"]}]}],t.ctorParameters=function(){return[{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef}]},t.propDecorators={attached:[{type:o.Output}]},t}(c),f=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{exports:[d,p],declarations:[d,p]}]}],e}(),h=function(){function e(e,t){this._parentInjector=e,this._customTokens=t}return e.prototype.get=function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)},e}()},"./node_modules/@angular/cdk/esm5/scrolling.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_SCROLL_TIME",(function(){return s})),n.d(t,"ScrollDispatcher",(function(){return l})),n.d(t,"SCROLL_DISPATCHER_PROVIDER_FACTORY",(function(){return c})),n.d(t,"SCROLL_DISPATCHER_PROVIDER",(function(){return u})),n.d(t,"CdkScrollable",(function(){return d})),n.d(t,"DEFAULT_RESIZE_TIME",(function(){return p})),n.d(t,"ViewportRuler",(function(){return f})),n.d(t,"VIEWPORT_RULER_PROVIDER_FACTORY",(function(){return h})),n.d(t,"VIEWPORT_RULER_PROVIDER",(function(){return m})),n.d(t,"ScrollDispatchModule",(function(){return g}));var r=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=20,l=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new i.Subject,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this,n=e.elementScrolled().subscribe((function(){return t._scrolled.next(e)}));this.scrollContainers.set(e,n)},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=s),this._platform.isBrowser?i.Observable.create((function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(Object(a.auditTime)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Object(i.of)()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(a.filter)((function(e){return!e||n.indexOf(e)>-1})))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,o){t._scrollableContainsElement(o,e)&&n.push(o)})),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(i.fromEvent)(window.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:o.NgZone},{type:r.Platform}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(o.NgZone),Object(o.inject)(r.Platform))},token:e,providedIn:"root"}),e}();function c(e,t,n){return e||new l(t,n)}var u={provide:l,deps:[[new o.Optional,new o.SkipSelf,l],o.NgZone,r.Platform],useFactory:c},d=function(){function e(e,t,n){var r=this;this._elementRef=e,this._scroll=t,this._ngZone=n,this._elementScrolled=new i.Subject,this._scrollListener=function(e){return r._elementScrolled.next(e)}}return e.prototype.ngOnInit=function(){var e=this;this._ngZone.runOutsideAngular((function(){e.getElementRef().nativeElement.addEventListener("scroll",e._scrollListener)})),this._scroll.register(this)},e.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&this.getElementRef().nativeElement.removeEventListener("scroll",this._scrollListener),this._elementScrolled.complete()},e.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},e.prototype.getElementRef=function(){return this._elementRef},e.decorators=[{type:o.Directive,args:[{selector:"[cdk-scrollable], [cdkScrollable]"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:l},{type:o.NgZone}]},e}(),p=20,f=function(){function e(e,t){var n=this;this._platform=e,this._change=e.isBrowser?t.runOutsideAngular((function(){return Object(i.merge)(Object(i.fromEvent)(window,"resize"),Object(i.fromEvent)(window,"orientationchange"))})):Object(i.of)(),this._invalidateCache=this.change().subscribe((function(){return n._updateViewportSize()}))}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=p),e>0?this._change.pipe(Object(a.auditTime)(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:r.Platform},{type:o.NgZone}]},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(r.Platform),Object(o.inject)(o.NgZone))},token:e,providedIn:"root"}),e}();function h(e,t,n){return e||new f(t,n)}var m={provide:f,deps:[[new o.Optional,new o.SkipSelf,f],r.Platform,o.NgZone],useFactory:h},g=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[r.PlatformModule],exports:[d],declarations:[d]}]}],e}()},"./node_modules/@angular/common/fesm5/common.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_common_common_e",(function(){return Ue})),n.d(t,"ɵangular_packages_common_common_d",(function(){return G})),n.d(t,"ɵangular_packages_common_common_a",(function(){return ve})),n.d(t,"ɵangular_packages_common_common_b",(function(){return Ce})),n.d(t,"ɵangular_packages_common_common_g",(function(){return ut})),n.d(t,"ɵangular_packages_common_common_f",(function(){return It})),n.d(t,"ɵregisterLocaleData",(function(){return g})),n.d(t,"formatDate",(function(){return ee})),n.d(t,"formatCurrency",(function(){return fe})),n.d(t,"formatNumber",(function(){return me})),n.d(t,"formatPercent",(function(){return he})),n.d(t,"NgLocaleLocalization",(function(){return we})),n.d(t,"NgLocalization",(function(){return be})),n.d(t,"registerLocaleData",(function(){return g})),n.d(t,"Plural",(function(){return v})),n.d(t,"NumberFormatStyle",(function(){return y})),n.d(t,"FormStyle",(function(){return b})),n.d(t,"TranslationWidth",(function(){return _})),n.d(t,"FormatWidth",(function(){return w})),n.d(t,"NumberSymbol",(function(){return C})),n.d(t,"WeekDay",(function(){return S})),n.d(t,"getNumberOfCurrencyDigits",(function(){return Y})),n.d(t,"getCurrencySymbol",(function(){return W})),n.d(t,"getLocaleDayPeriods",(function(){return k})),n.d(t,"getLocaleDayNames",(function(){return O})),n.d(t,"getLocaleMonthNames",(function(){return T})),n.d(t,"getLocaleId",(function(){return x})),n.d(t,"getLocaleEraNames",(function(){return A})),n.d(t,"getLocaleWeekEndRange",(function(){return R})),n.d(t,"getLocaleFirstDayOfWeek",(function(){return P})),n.d(t,"getLocaleDateFormat",(function(){return I})),n.d(t,"getLocaleDateTimeFormat",(function(){return N})),n.d(t,"getLocaleExtraDayPeriodRules",(function(){return H})),n.d(t,"getLocaleExtraDayPeriods",(function(){return V})),n.d(t,"getLocalePluralCase",(function(){return F})),n.d(t,"getLocaleTimeFormat",(function(){return M})),n.d(t,"getLocaleNumberSymbol",(function(){return D})),n.d(t,"getLocaleNumberFormat",(function(){return j})),n.d(t,"getLocaleCurrencyName",(function(){return B})),n.d(t,"getLocaleCurrencySymbol",(function(){return L})),n.d(t,"ɵparseCookieValue",(function(){return Se})),n.d(t,"CommonModule",(function(){return Mt})),n.d(t,"DeprecatedI18NPipesModule",(function(){return Dt})),n.d(t,"NgClass",(function(){return Ee})),n.d(t,"NgForOf",(function(){return Oe})),n.d(t,"NgForOfContext",(function(){return ke})),n.d(t,"NgIf",(function(){return Ae})),n.d(t,"NgIfContext",(function(){return Pe})),n.d(t,"NgPlural",(function(){return je})),n.d(t,"NgPluralCase",(function(){return Le})),n.d(t,"NgStyle",(function(){return Be})),n.d(t,"NgSwitch",(function(){return Me})),n.d(t,"NgSwitchCase",(function(){return Ne})),n.d(t,"NgSwitchDefault",(function(){return De})),n.d(t,"NgTemplateOutlet",(function(){return Fe})),n.d(t,"NgComponentOutlet",(function(){return xe})),n.d(t,"DOCUMENT",(function(){return jt})),n.d(t,"AsyncPipe",(function(){return ht})),n.d(t,"DatePipe",(function(){return bt})),n.d(t,"I18nPluralPipe",(function(){return wt})),n.d(t,"I18nSelectPipe",(function(){return Ct})),n.d(t,"JsonPipe",(function(){return St})),n.d(t,"LowerCasePipe",(function(){return mt})),n.d(t,"CurrencyPipe",(function(){return Tt})),n.d(t,"DecimalPipe",(function(){return kt})),n.d(t,"PercentPipe",(function(){return Ot})),n.d(t,"SlicePipe",(function(){return Rt})),n.d(t,"UpperCasePipe",(function(){return vt})),n.d(t,"TitleCasePipe",(function(){return yt})),n.d(t,"KeyValuePipe",(function(){return Et})),n.d(t,"DeprecatedDatePipe",(function(){return ot})),n.d(t,"DeprecatedCurrencyPipe",(function(){return ct})),n.d(t,"DeprecatedDecimalPipe",(function(){return st})),n.d(t,"DeprecatedPercentPipe",(function(){return lt})),n.d(t,"ɵPLATFORM_BROWSER_ID",(function(){return Lt})),n.d(t,"ɵPLATFORM_SERVER_ID",(function(){return Bt})),n.d(t,"ɵPLATFORM_WORKER_APP_ID",(function(){return Ft})),n.d(t,"ɵPLATFORM_WORKER_UI_ID",(function(){return Ut})),n.d(t,"isPlatformBrowser",(function(){return Ht})),n.d(t,"isPlatformServer",(function(){return Vt})),n.d(t,"isPlatformWorkerApp",(function(){return zt})),n.d(t,"isPlatformWorkerUi",(function(){return qt})),n.d(t,"VERSION",(function(){return Gt})),n.d(t,"ViewportScroller",(function(){return Wt})),n.d(t,"ɵNullViewportScroller",(function(){return Zt})),n.d(t,"PlatformLocation",(function(){return i})),n.d(t,"LOCATION_INITIALIZED",(function(){return a})),n.d(t,"LocationStrategy",(function(){return s})),n.d(t,"APP_BASE_HREF",(function(){return l})),n.d(t,"HashLocationStrategy",(function(){return d})),n.d(t,"PathLocationStrategy",(function(){return p})),n.d(t,"Location",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/tslib/tslib.es6.js"),i=function(){},a=new r.InjectionToken("Location Initialized"),s=function(){},l=new r.InjectionToken("appBaseHref"),c=function(){function e(t){var n=this;this._subject=new r.EventEmitter,this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(u(o)),this._platformStrategy.onPopState((function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})}))}return e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},e.prototype.normalize=function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,u(t)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[{type:s}]},e}();function u(e){return e.replace(/\/index.html$/,"")}var d=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(o.__extends)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=c.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:i},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[l]}]}]},t}(s),p=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(o.__extends)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return c.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:i},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[l]}]}]},t}(s),f=void 0;var h=["en",[["a","p"],["AM","PM"],f],[["AM","PM"],f,f],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],f,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],f,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",f,"{1} 'at' {0}",f],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],m={};function g(e,t,n){"string"!=typeof t&&(n=t,t=e[0]),t=t.toLowerCase().replace(/_/g,"-"),m[t]=e,n&&(m[t][19]=n)}var y,v,b,_,w,C,S,E={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",0],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",0],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};function x(e){return G(e)[0]}function k(e,t,n){var r=G(e),o=z([r[1],r[2]],t);return z(o,n)}function O(e,t,n){var r=G(e),o=z([r[3],r[4]],t);return z(o,n)}function T(e,t,n){var r=G(e),o=z([r[5],r[6]],t);return z(o,n)}function A(e,t){return z(G(e)[7],t)}function P(e){return G(e)[8]}function R(e){return G(e)[9]}function I(e,t){return z(G(e)[10],t)}function M(e,t){return z(G(e)[11],t)}function N(e,t){return z(G(e)[12],t)}function D(e,t){var n=G(e),r=n[13][t];if(void 0===r){if(t===C.CurrencyDecimal)return n[13][C.Decimal];if(t===C.CurrencyGroup)return n[13][C.Group]}return r}function j(e,t){return G(e)[14][t]}function L(e){return G(e)[15]||null}function B(e){return G(e)[16]||null}function F(e){return G(e)[18]}function U(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function H(e){var t=G(e);return U(t),(t[19][2]||[]).map((function(e){return"string"==typeof e?q(e):[q(e[0]),q(e[1])]}))}function V(e,t,n){var r=G(e);U(r);var o=z([r[19][0],r[19][1]],t)||[];return z(o,n)||[]}function z(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function q(e){var t=Object(o.__read)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function G(e){var t=e.toLowerCase().replace(/_/g,"-"),n=m[t];if(n)return n;var r=t.split("-")[0];if(n=m[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+e+'".')}function W(e,t,n){void 0===n&&(n="en");var r=function(e){return G(e)[17]}(n)[e]||E[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(y||(y={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(v||(v={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(b||(b={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(_||(_={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(w||(w={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(C||(C={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(S||(S={}));function Y(e){var t,n=E[e];return n&&(t=n[2]),"number"==typeof t?t:2}var Z,K,$,Q=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,X={},J=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ee(e,t,n,r){var i=function(e){if(ue(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var n=Object(o.__read)(e.split("-").map((function(e){return+e})),3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}var s;if(s=e.match(Q))return ce(s)}var l=new Date(e);if(!ue(l))throw new Error('Unable to convert "'+e+'" into a date');return l}(e);t=function e(t,n){var r=x(t);if(X[r]=X[r]||{},X[r][n])return X[r][n];var o="";switch(n){case"shortDate":o=I(t,w.Short);break;case"mediumDate":o=I(t,w.Medium);break;case"longDate":o=I(t,w.Long);break;case"fullDate":o=I(t,w.Full);break;case"shortTime":o=M(t,w.Short);break;case"mediumTime":o=M(t,w.Medium);break;case"longTime":o=M(t,w.Long);break;case"fullTime":o=M(t,w.Full);break;case"short":var i=e(t,"shortTime"),a=e(t,"shortDate");o=te(N(t,w.Short),[i,a]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");o=te(N(t,w.Medium),[s,l]);break;case"long":var c=e(t,"longTime"),u=e(t,"longDate");o=te(N(t,w.Long),[c,u]);break;case"full":var d=e(t,"fullTime"),p=e(t,"fullDate");o=te(N(t,w.Full),[d,p])}o&&(X[r][n]=o);return o}(n,t)||t;for(var a,s=[];t;){if(!(a=J.exec(t))){s.push(t);break}var l=(s=s.concat(a.slice(1))).pop();if(!l)break;t=l}var c=i.getTimezoneOffset();r&&(c=le(r,c),i=function(e,t,n){var r=n?-1:1,o=e.getTimezoneOffset(),i=le(t,o);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(i-o))}(i,r,!0));var u="";return s.forEach((function(e){var t=function(e){if(se[e])return se[e];var t;switch(e){case"G":case"GG":case"GGG":t=oe($.Eras,_.Abbreviated);break;case"GGGG":t=oe($.Eras,_.Wide);break;case"GGGGG":t=oe($.Eras,_.Narrow);break;case"y":t=re(K.FullYear,1,0,!1,!0);break;case"yy":t=re(K.FullYear,2,0,!0,!0);break;case"yyy":t=re(K.FullYear,3,0,!1,!0);break;case"yyyy":t=re(K.FullYear,4,0,!1,!0);break;case"M":case"L":t=re(K.Month,1,1);break;case"MM":case"LL":t=re(K.Month,2,1);break;case"MMM":t=oe($.Months,_.Abbreviated);break;case"MMMM":t=oe($.Months,_.Wide);break;case"MMMMM":t=oe($.Months,_.Narrow);break;case"LLL":t=oe($.Months,_.Abbreviated,b.Standalone);break;case"LLLL":t=oe($.Months,_.Wide,b.Standalone);break;case"LLLLL":t=oe($.Months,_.Narrow,b.Standalone);break;case"w":t=ae(1);break;case"ww":t=ae(2);break;case"W":t=ae(1,!0);break;case"d":t=re(K.Date,1);break;case"dd":t=re(K.Date,2);break;case"E":case"EE":case"EEE":t=oe($.Days,_.Abbreviated);break;case"EEEE":t=oe($.Days,_.Wide);break;case"EEEEE":t=oe($.Days,_.Narrow);break;case"EEEEEE":t=oe($.Days,_.Short);break;case"a":case"aa":case"aaa":t=oe($.DayPeriods,_.Abbreviated);break;case"aaaa":t=oe($.DayPeriods,_.Wide);break;case"aaaaa":t=oe($.DayPeriods,_.Narrow);break;case"b":case"bb":case"bbb":t=oe($.DayPeriods,_.Abbreviated,b.Standalone,!0);break;case"bbbb":t=oe($.DayPeriods,_.Wide,b.Standalone,!0);break;case"bbbbb":t=oe($.DayPeriods,_.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":t=oe($.DayPeriods,_.Abbreviated,b.Format,!0);break;case"BBBB":t=oe($.DayPeriods,_.Wide,b.Format,!0);break;case"BBBBB":t=oe($.DayPeriods,_.Narrow,b.Format,!0);break;case"h":t=re(K.Hours,1,-12);break;case"hh":t=re(K.Hours,2,-12);break;case"H":t=re(K.Hours,1);break;case"HH":t=re(K.Hours,2);break;case"m":t=re(K.Minutes,1);break;case"mm":t=re(K.Minutes,2);break;case"s":t=re(K.Seconds,1);break;case"ss":t=re(K.Seconds,2);break;case"S":t=re(K.FractionalSeconds,1);break;case"SS":t=re(K.FractionalSeconds,2);break;case"SSS":t=re(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ie(Z.Short);break;case"ZZZZZ":t=ie(Z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ie(Z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ie(Z.Long);break;default:return null}return se[e]=t,t}(e);u+=t?t(i,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}function te(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function ne(e,t,n,r,o){void 0===n&&(n="-");var i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));for(var a=String(e);a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),i+a}function re(e,t,n,r,o){return void 0===n&&(n=0),void 0===r&&(r=!1),void 0===o&&(o=!1),function(i,a){var s,l=function(e,t){switch(e){case K.FullYear:return t.getFullYear();case K.Month:return t.getMonth();case K.Date:return t.getDate();case K.Hours:return t.getHours();case K.Minutes:return t.getMinutes();case K.Seconds:return t.getSeconds();case K.FractionalSeconds:return t.getMilliseconds();case K.Day:return t.getDay();default:throw new Error('Unknown DateType value "'+e+'".')}}(e,i);if((n>0||l>-n)&&(l+=n),e===K.Hours)0===l&&-12===n&&(l=12);else if(e===K.FractionalSeconds)return s=t,ne(l,3).substr(0,s);var c=D(a,C.MinusSign);return ne(l,t,c,r,o)}}function oe(e,t,n,r){return void 0===n&&(n=b.Format),void 0===r&&(r=!1),function(o,i){return function(e,t,n,r,o,i){switch(n){case $.Months:return T(t,o,r)[e.getMonth()];case $.Days:return O(t,o,r)[e.getDay()];case $.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(i){var l,c=H(t),u=V(t,o,r);if(c.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],r=n.hours,o=n.minutes,i=e[1],c=i.hours,d=i.minutes;a>=r&&s>=o&&(a<c||a===c&&s<d)&&(l=u[t])}else{var p=e.hours,f=e.minutes;p===a&&f===s&&(l=u[t])}})),l)return l}return k(t,o,r)[a<12?0:1];case $.Eras:return A(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,i,e,t,n,r)}}function ie(e){return function(t,n,r){var o=-1*r,i=D(n,C.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Z.Short:return(o>=0?"+":"")+ne(a,2,i)+ne(Math.abs(o%60),2,i);case Z.ShortGMT:return"GMT"+(o>=0?"+":"")+ne(a,1,i);case Z.Long:return"GMT"+(o>=0?"+":"")+ne(a,2,i)+":"+ne(Math.abs(o%60),2,i);case Z.Extended:return 0===r?"Z":(o>=0?"+":"")+ne(a,2,i)+":"+ne(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(Z||(Z={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(K||(K={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}($||($={}));function ae(e,t){return void 0===t&&(t=!1),function(n,r){var o,i,a,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();o=1+Math.floor((c+l)/7)}else{var u=(a=n.getFullYear(),s=new Date(a,0,1).getDay(),new Date(a,0,1+(s<=4?4:11)-s)),d=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(4-i.getDay()))).getTime()-u.getTime();o=1+Math.round(d/6048e5)}return ne(o,e,D(r,C.MinusSign))}}var se={};function le(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ce(e){var t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,a,s,l,c),t}function ue(e){return e instanceof Date&&!isNaN(e.valueOf())}var de=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function pe(e,t,n,r,o,i,a){void 0===a&&(a=!1);var s="",l=!1;if(isFinite(e)){var c=function(e){var t,n,r,o,i,a=Math.abs(e)+"",s=0;(n=a.indexOf("."))>-1&&(a=a.replace(".",""));(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length);for(r=0;"0"===a.charAt(r);r++);if(r===(i=a.length))t=[0],n=1;else{for(i--;"0"===a.charAt(i);)i--;for(n-=r,t=[],o=0;r<=i;r++,o++)t[o]=Number(a.charAt(r))}n>22&&(t=t.splice(0,21),s=n-1,n=1);return{digits:t,exponent:s,integerLen:n}}(e);a&&(c=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));var u=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){var f=i.match(de);if(null===f)throw new Error(i+" is not a valid digit info");var h=f[1],m=f[3],g=f[5];null!=h&&(u=ye(h)),null!=m&&(d=ye(m)),null!=g?p=ye(g):null!=m&&d>p&&(p=d)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),a=i+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var l=a;l<r.length;l++)r[l]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,a=i+1),r[0]=0;for(var c=1;c<a;c++)r[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;o<Math.max(0,i);o++)r.push(0);var d=0!==i,p=t+e.integerLen,f=r.reduceRight((function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,d&&(0===r[n]&&n>=p?r.pop():d=!1),t>=10?1:0}),0);f&&(r.unshift(f),e.integerLen++)}(c,d,p);var y=c.digits,v=c.integerLen,b=c.exponent,_=[];for(l=y.every((function(e){return!e}));v<u;v++)y.unshift(0);for(;v<0;v++)y.unshift(0);v>0?_=y.splice(v,y.length):(_=y,y=[0]);var w=[];for(y.length>=t.lgSize&&w.unshift(y.splice(-t.lgSize,y.length).join(""));y.length>t.gSize;)w.unshift(y.splice(-t.gSize,y.length).join(""));y.length&&w.unshift(y.join("")),s=w.join(D(n,r)),_.length&&(s+=D(n,o)+_.join("")),b&&(s+=D(n,C.Exponential)+"+"+b)}else s=D(n,C.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function fe(e,t,n,r,o){var i=ge(j(t,y.Currency),D(t,C.MinusSign));return i.minFrac=Y(r),i.maxFrac=i.minFrac,pe(e,i,t,C.CurrencyGroup,C.CurrencyDecimal,o).replace("¤",n).replace("¤","")}function he(e,t,n){return pe(e,ge(j(t,y.Percent),D(t,C.MinusSign)),t,C.Group,C.Decimal,n,!0).replace(new RegExp("%","g"),D(t,C.PercentSign))}function me(e,t,n){return pe(e,ge(j(t,y.Decimal),D(t,C.MinusSign)),t,C.Group,C.Decimal,n)}function ge(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),o=r[0],i=r[1],a=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var c=0;c<l.length;c++){var u=l.charAt(c);"0"===u?n.minFrac=n.maxFrac=c+1:"#"===u?n.maxFrac=c+1:n.posSuf+=u}var d=s.split(",");if(n.gSize=d[1]?d[1].length:0,n.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,i){var p=o.length-n.posPre.length-n.posSuf.length,f=i.indexOf("#");n.negPre=i.substr(0,f).replace(/'/g,""),n.negSuf=i.substr(f+p).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function ye(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var ve=new r.InjectionToken("UseV4Plurals"),be=function(){};function _e(e,t,n,r){var o="="+e;if(t.indexOf(o)>-1)return o;if(o=n.getPluralCategory(e,r),t.indexOf(o)>-1)return o;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var we=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(o.__extends)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):F(t||this.locale)(e)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[ve]}]}]},t}(be);function Ce(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?v.One:v.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?v.One:v.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?v.One:v.Other;case"ar":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?v.Many:v.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?v.One:v.Other;case"be":return n%10==1&&n%100!=11?v.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?v.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?v.Many:v.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?v.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?v.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?v.Few:0!==n&&n%1e6==0?v.Many:v.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?v.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?v.Few:v.Other;case"cs":case"sk":return 1===o&&0===i?v.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?v.Few:0!==i?v.Many:v.Other;case"cy":return 0===n?v.Zero:1===n?v.One:2===n?v.Two:3===n?v.Few:6===n?v.Many:v.Other;case"da":return 1===n||0!==s&&(0===o||1===o)?v.One:v.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?v.One:0===i&&o%100==2||a%100==2?v.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?v.Few:v.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?v.One:v.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?v.One:v.Other;case"ga":return 1===n?v.One:2===n?v.Two:n===Math.floor(n)&&n>=3&&n<=6?v.Few:n===Math.floor(n)&&n>=7&&n<=10?v.Many:v.Other;case"gd":return 1===n||11===n?v.One:2===n||12===n?v.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?v.Few:v.Other;case"gv":return 0===i&&o%10==1?v.One:0===i&&o%10==2?v.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?v.Many:v.Other:v.Few;case"he":return 1===o&&0===i?v.One:2===o&&0===i?v.Two:0!==i||n>=0&&n<=10||n%10!=0?v.Other:v.Many;case"is":return 0===s&&o%10==1&&o%100!=11||0!==s?v.One:v.Other;case"ksh":return 0===n?v.Zero:1===n?v.One:v.Other;case"kw":case"naq":case"se":case"smn":return 1===n?v.One:2===n?v.Two:v.Other;case"lag":return 0===n?v.Zero:0!==o&&1!==o||0===n?v.Other:v.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?v.Few:0!==a?v.Many:v.Other:v.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?v.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?v.One:v.Other;case"mk":return 0===i&&o%10==1||a%10==1?v.One:v.Other;case"mt":return 1===n?v.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?v.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?v.Many:v.Other;case"pl":return 1===o&&0===i?v.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?v.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?v.Many:v.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?v.One:v.Other;case"ro":return 1===o&&0===i?v.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?v.Few:v.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?v.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?v.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?v.Many:v.Other;case"shi":return 0===o||1===n?v.One:n===Math.floor(n)&&n>=2&&n<=10?v.Few:v.Other;case"si":return 0===n||1===n||0===o&&1===a?v.One:v.Other;case"sl":return 0===i&&o%100==1?v.One:0===i&&o%100==2?v.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?v.Few:v.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?v.One:v.Other;default:return v.Other}}function Se(e,t){var n,r;t=encodeURIComponent(t);try{for(var i=Object(o.__values)(e.split(";")),a=i.next();!a.done;a=i.next()){var s=a.value,l=s.indexOf("="),c=Object(o.__read)(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),u=c[0],d=c[1];if(u.trim()===t)return decodeURIComponent(d)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var Ee=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["ɵstringify"])(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))},e.decorators=[{type:r.Directive,args:[{selector:"[ngClass]"}]}],e.ctorParameters=function(){return[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}]},e.propDecorators={klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input}]},e}(),xe=function(){function e(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return e.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(r.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var o=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,t,this.ngComponentOutletContent)}},e.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},e.decorators=[{type:r.Directive,args:[{selector:"[ngComponentOutlet]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef}]},e.propDecorators={ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]},e}(),ke=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Oe=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(r.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+(((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation((function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new ke(null,t._ngForOf,-1,-1),o),a=new Te(e,i);n.push(a)}else if(null==o)t._viewContainer.remove(r);else{i=t._viewContainer.get(r);t._viewContainer.move(i,o);a=new Te(e,i);n.push(a)}}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.decorators=[{type:r.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}]},e.propDecorators={ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]},e}(),Te=function(e,t){this.record=e,this.view=t};var Ae=function(){function e(e,t){this._viewContainer=e,this._context=new Pe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){Re("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){Re("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e.decorators=[{type:r.Directive,args:[{selector:"[ngIf]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef}]},e.propDecorators={ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]},e}(),Pe=function(){this.$implicit=null,this.ngIf=null};function Re(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(e+" must be a TemplateRef, but received '"+Object(r["ɵstringify"])(t)+"'.")}var Ie=function(){function e(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}return e.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},e.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},e.prototype.enforceState=function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()},e}(),Me=function(){function e(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(e.prototype,"ngSwitch",{set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),e.prototype._addCase=function(){return this._caseCount++},e.prototype._addDefault=function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)},e.prototype._matchCase=function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t},e.prototype._updateDefaultCases=function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++){this._defaultViews[t].enforceState(e)}}},e.decorators=[{type:r.Directive,args:[{selector:"[ngSwitch]"}]}],e.propDecorators={ngSwitch:[{type:r.Input}]},e}(),Ne=function(){function e(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Ie(e,t)}return e.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},e.decorators=[{type:r.Directive,args:[{selector:"[ngSwitchCase]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:Me,decorators:[{type:r.Host}]}]},e.propDecorators={ngSwitchCase:[{type:r.Input}]},e}(),De=function(){function e(e,t,n){n._addDefault(new Ie(e,t))}return e.decorators=[{type:r.Directive,args:[{selector:"[ngSwitchDefault]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:Me,decorators:[{type:r.Host}]}]},e}(),je=function(){function e(e){this._localization=e,this._caseViews={}}return Object.defineProperty(e.prototype,"ngPlural",{set:function(e){this._switchValue=e,this._updateView()},enumerable:!0,configurable:!0}),e.prototype.addCase=function(e,t){this._caseViews[e]=t},e.prototype._updateView=function(){this._clearViews();var e=Object.keys(this._caseViews),t=_e(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])},e.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},e.prototype._activateView=function(e){e&&(this._activeView=e,this._activeView.create())},e.decorators=[{type:r.Directive,args:[{selector:"[ngPlural]"}]}],e.ctorParameters=function(){return[{type:be}]},e.propDecorators={ngPlural:[{type:r.Input}]},e}(),Le=function(){function e(e,t,n,r){this.value=e;var o=!isNaN(Number(e));r.addCase(o?"="+e:e,new Ie(n,t))}return e.decorators=[{type:r.Directive,args:[{selector:"[ngPluralCase]"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:je,decorators:[{type:r.Host}]}]},e}(),Be=function(){function e(e,t,n){this._differs=e,this._ngEl=t,this._renderer=n}return Object.defineProperty(e.prototype,"ngStyle",{set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))},e.prototype._setStyle=function(e,t){var n=Object(o.__read)(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?""+t+i:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)},e.decorators=[{type:r.Directive,args:[{selector:"[ngStyle]"}]}],e.ctorParameters=function(){return[{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}]},e.propDecorators={ngStyle:[{type:r.Input}]},e}(),Fe=function(){function e(e){this._viewContainerRef=e}return e.prototype.ngOnChanges=function(e){this._shouldRecreateView(e)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},e.prototype._shouldRecreateView=function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)},e.prototype._hasContextShapeChanged=function(e){var t,n,r=Object.keys(e.previousValue||{}),i=Object.keys(e.currentValue||{});if(r.length===i.length){try{for(var a=Object(o.__values)(i),s=a.next();!s.done;s=a.next()){var l=s.value;if(-1===r.indexOf(l))return!0}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return!1}return!0},e.prototype._updateExistingContext=function(e){var t,n;try{for(var r=Object(o.__values)(Object.keys(e)),i=r.next();!i.done;i=r.next()){var a=i.value;this._viewRef.context[a]=this.ngTemplateOutletContext[a]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.decorators=[{type:r.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef}]},e.propDecorators={ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}]},e}(),Ue=[Ee,xe,Oe,Ae,Fe,Be,Me,Ne,De,je,Le];function He(e,t){return Error("InvalidPipeArgument: '"+t+"' for pipe '"+Object(r["ɵstringify"])(e)+"'")}var Ve,ze=function(){function e(){}return e.format=function(e,t,n,r){void 0===r&&(r={});var o=r.minimumIntegerDigits,i=r.minimumFractionDigits,a=r.maximumFractionDigits,s=r.currency,l=r.currencyAsSymbol,c=void 0!==l&&l,u={minimumIntegerDigits:o,minimumFractionDigits:i,maximumFractionDigits:a,style:y[n].toLowerCase()};return n==y.Currency&&(u.currency="string"==typeof s?s:void 0,u.currencyDisplay=c?"symbol":"code"),new Intl.NumberFormat(t,u).format(e)},e}(),qe=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,Ge={yMMMdjms:tt(et([Xe("year",1),Je("month",3),Xe("day",1),Xe("hour",1),Xe("minute",1),Xe("second",1)])),yMdjm:tt(et([Xe("year",1),Xe("month",1),Xe("day",1),Xe("hour",1),Xe("minute",1)])),yMMMMEEEEd:tt(et([Xe("year",1),Je("month",4),Je("weekday",4),Xe("day",1)])),yMMMMd:tt(et([Xe("year",1),Je("month",4),Xe("day",1)])),yMMMd:tt(et([Xe("year",1),Je("month",3),Xe("day",1)])),yMd:tt(et([Xe("year",1),Xe("month",1),Xe("day",1)])),jms:tt(et([Xe("hour",1),Xe("second",1),Xe("minute",1)])),jm:tt(et([Xe("hour",1),Xe("minute",1)]))},We={yyyy:tt(Xe("year",4)),yy:tt(Xe("year",2)),y:tt(Xe("year",1)),MMMM:tt(Je("month",4)),MMM:tt(Je("month",3)),MM:tt(Xe("month",2)),M:tt(Xe("month",1)),LLLL:tt(Je("month",4)),L:tt(Je("month",1)),dd:tt(Xe("day",2)),d:tt(Xe("day",1)),HH:Ye(Ze(tt(Qe(Xe("hour",2),!1)))),H:Ze(tt(Qe(Xe("hour",1),!1))),hh:Ye(Ze(tt(Qe(Xe("hour",2),!0)))),h:Ze(tt(Qe(Xe("hour",1),!0))),jj:tt(Xe("hour",2)),j:tt(Xe("hour",1)),mm:Ye(tt(Xe("minute",2))),m:tt(Xe("minute",1)),ss:Ye(tt(Xe("second",2))),s:tt(Xe("second",1)),sss:tt(Xe("second",3)),EEEE:tt(Je("weekday",4)),EEE:tt(Je("weekday",3)),EE:tt(Je("weekday",2)),E:tt(Je("weekday",1)),a:(Ve=tt(Qe(Xe("hour",1),!0)),function(e,t){return Ve(e,t).split(" ")[1]}),Z:$e("short"),z:$e("long"),ww:tt({}),w:tt({}),G:tt(Je("era",1)),GG:tt(Je("era",2)),GGG:tt(Je("era",3)),GGGG:tt(Je("era",4))};function Ye(e){return function(t,n){var r=e(t,n);return 1==r.length?"0"+r:r}}function Ze(e){return function(t,n){return e(t,n).split(" ")[0]}}function Ke(e,t,n){return new Intl.DateTimeFormat(t,n).format(e).replace(/[\u200e\u200f]/g,"")}function $e(e){var t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,n){var r=Ke(e,n,t);return r?r.substring(3):""}}function Qe(e,t){return e.hour12=t,e}function Xe(e,t){var n={};return n[e]=2===t?"2-digit":"numeric",n}function Je(e,t){var n={};return n[e]=t<4?t>1?"short":"narrow":"long",n}function et(e){return e.reduce((function(e,t){return Object(o.__assign)({},e,t)}),{})}function tt(e){return function(t,n){return Ke(t,n,e)}}var nt=new Map;var rt=function(){function e(){}return e.format=function(e,t,n){return function(e,t,n){var r=Ge[e];if(r)return r(t,n);var o=e,i=nt.get(o);if(!i){i=[];var a=void 0;qe.exec(e);for(var s=e;s;)(a=qe.exec(s))?s=(i=i.concat(a.slice(1))).pop():(i.push(s),s=null);nt.set(o,i)}return i.reduce((function(e,r){var o=We[r];return e+(o?o(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(r))}),"")}(n,e,t)},e}(),ot=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;var r;if("string"==typeof t&&(t=t.trim()),it(t))r=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=Object(o.__read)(t.split("-").map((function(e){return parseInt(e,10)})),3),a=i[0],s=i[1],l=i[2];r=new Date(a,s-1,l)}else r=new Date(t);else r=new Date(parseFloat(t));if(!it(r)){var c=void 0;if("string"!=typeof t||!(c=t.match(Q)))throw He(e,t);r=ce(c)}return rt.format(r,this._locale,e._ALIASES[n]||n)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}();function it(e){return e instanceof Date&&!isNaN(e.valueOf())}function at(e,t,n,r,o,i,a){if(void 0===i&&(i=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw He(e,n);var s,l,c;if(r!==y.Currency&&(s=1,l=0,c=3),o){var u=o.match(de);if(null===u)throw new Error(o+" is not a valid digit info for number pipes");null!=u[1]&&(s=ye(u[1])),null!=u[3]&&(l=ye(u[3])),null!=u[5]&&(c=ye(u[5]))}return ze.format(n,t,r,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:c,currency:i,currencyAsSymbol:a})}var st=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return at(e,this._locale,t,y.Decimal,n)},e.decorators=[{type:r.Pipe,args:[{name:"number"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),lt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n){return at(e,this._locale,t,y.Percent,n)},e.decorators=[{type:r.Pipe,args:[{name:"percent"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),ct=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,o){return void 0===n&&(n="USD"),void 0===r&&(r=!1),at(e,this._locale,t,y.Currency,o,n,r)},e.decorators=[{type:r.Pipe,args:[{name:"currency"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),ut=[st,lt,ct,ot],dt=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),pt=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,(function(e){throw e}))},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),ft=new dt,ht=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))},e.prototype._selectStrategy=function(t){if(Object(r["ɵisPromise"])(t))return pt;if(Object(r["ɵisObservable"])(t))return ft;throw He(e,t)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e.decorators=[{type:r.Pipe,args:[{name:"async",pure:!1}]}],e.ctorParameters=function(){return[{type:r.ChangeDetectorRef}]},e}(),mt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw He(e,t);return t.toLowerCase()},e.decorators=[{type:r.Pipe,args:[{name:"lowercase"}]}],e}(),gt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,yt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw He(e,t);return t.replace(gt,(function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()}))},e.decorators=[{type:r.Pipe,args:[{name:"titlecase"}]}],e}(),vt=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw He(e,t);return t.toUpperCase()},e.decorators=[{type:r.Pipe,args:[{name:"uppercase"}]}],e}(),bt=function(){function e(e){this.locale=e}return e.prototype.transform=function(t,n,r,o){if(void 0===n&&(n="mediumDate"),null==t||""===t||t!=t)return null;try{return ee(t,n,o||this.locale,r)}catch(t){throw He(e,t.message)}},e.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),_t=/#/g,wt=function(){function e(e){this._localization=e}return e.prototype.transform=function(t,n,r){if(null==t)return"";if("object"!=typeof n||null===n)throw He(e,n);return n[_e(t,Object.keys(n),this._localization,r)].replace(_t,t.toString())},e.decorators=[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0}]}],e.ctorParameters=function(){return[{type:be}]},e}(),Ct=function(){function e(){}return e.prototype.transform=function(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw He(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""},e.decorators=[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0}]}],e}(),St=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},e.decorators=[{type:r.Pipe,args:[{name:"json",pure:!1}]}],e}();var Et=function(){function e(e){this.differs=e}return e.prototype.transform=function(e,t){var n=this;if(void 0===t&&(t=xt),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem((function(e){var t,r;n.keyValues.push((t=e.key,r=e.currentValue,{key:t,value:r}))})),this.keyValues.sort(t)),this.keyValues},e.decorators=[{type:r.Pipe,args:[{name:"keyvalue",pure:!1}]}],e.ctorParameters=function(){return[{type:r.KeyValueDiffers}]},e}();function xt(e,t){var n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;var o=String(n),i=String(r);return o==i?0:o<i?-1:1}var kt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r){if(At(t))return null;r=r||this._locale;try{return me(Pt(t),r,n)}catch(t){throw He(e,t.message)}},e.decorators=[{type:r.Pipe,args:[{name:"number"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),Ot=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r){if(At(t))return null;r=r||this._locale;try{return he(Pt(t),r,n)}catch(t){throw He(e,t.message)}},e.decorators=[{type:r.Pipe,args:[{name:"percent"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}(),Tt=function(){function e(e){this._locale=e}return e.prototype.transform=function(t,n,r,o,i){if(void 0===r&&(r="symbol"),At(t))return null;i=i||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var a=n||"USD";"code"!==r&&(a="symbol"===r||"symbol-narrow"===r?W(a,"symbol"===r?"wide":"narrow",i):r);try{return fe(Pt(t),i,a,n,o)}catch(t){throw He(e,t.message)}},e.decorators=[{type:r.Pipe,args:[{name:"currency"}]}],e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]},e}();function At(e){return null==e||""===e||e!=e}function Pt(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}var Rt=function(){function e(){}return e.prototype.transform=function(t,n,r){if(null==t)return t;if(!this.supports(t))throw He(e,t);return t.slice(n,r)},e.prototype.supports=function(e){return"string"==typeof e||Array.isArray(e)},e.decorators=[{type:r.Pipe,args:[{name:"slice",pure:!1}]}],e}(),It=[ht,vt,mt,St,Rt,kt,Ot,yt,Tt,bt,wt,Ct,Et],Mt=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[Ue,It],exports:[Ue,It],providers:[{provide:be,useClass:we}]}]}],e}(),Nt=Ce,Dt=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[ut],exports:[ut],providers:[{provide:ve,useValue:Nt}]}]}],e}(),jt=new r.InjectionToken("DocumentToken"),Lt="browser",Bt="server",Ft="browserWorkerApp",Ut="browserWorkerUi";function Ht(e){return e===Lt}function Vt(e){return e===Bt}function zt(e){return e===Ft}function qt(e){return e===Ut}var Gt=new r.Version("6.1.7"),Wt=function(){function e(){}return e.ngInjectableDef=Object(r.defineInjectable)({providedIn:"root",factory:function(){return new Yt(Object(r.inject)(jt),window)}}),e}(),Yt=function(){function e(e,t){this.document=e,this.window=t,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){Array.isArray(e)?this.offset=function(){return e}:this.offset=e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),Zt=function(){function e(){}return e.prototype.setOffset=function(e){},e.prototype.getScrollPosition=function(){return[0,0]},e.prototype.scrollToPosition=function(e){},e.prototype.scrollToAnchor=function(e){},e.prototype.setHistoryScrollRestoration=function(e){},e}()},"./node_modules/@angular/common/fesm5/http.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_common_http_http_a",(function(){return O})),n.d(t,"ɵangular_packages_common_http_http_b",(function(){return A})),n.d(t,"ɵangular_packages_common_http_http_c",(function(){return V})),n.d(t,"ɵangular_packages_common_http_http_d",(function(){return N})),n.d(t,"ɵangular_packages_common_http_http_g",(function(){return F})),n.d(t,"ɵangular_packages_common_http_http_h",(function(){return U})),n.d(t,"ɵangular_packages_common_http_http_e",(function(){return j})),n.d(t,"ɵangular_packages_common_http_http_f",(function(){return L})),n.d(t,"HttpBackend",(function(){return c})),n.d(t,"HttpHandler",(function(){return l})),n.d(t,"HttpClient",(function(){return E})),n.d(t,"HttpHeaders",(function(){return u})),n.d(t,"HTTP_INTERCEPTORS",(function(){return k})),n.d(t,"JsonpClientBackend",(function(){return P})),n.d(t,"JsonpInterceptor",(function(){return R})),n.d(t,"HttpClientJsonpModule",(function(){return G})),n.d(t,"HttpClientModule",(function(){return q})),n.d(t,"HttpClientXsrfModule",(function(){return z})),n.d(t,"ɵHttpInterceptingHandler",(function(){return H})),n.d(t,"HttpParams",(function(){return f})),n.d(t,"HttpUrlEncodingCodec",(function(){return d})),n.d(t,"HttpRequest",(function(){return v})),n.d(t,"HttpErrorResponse",(function(){return C})),n.d(t,"HttpEventType",(function(){return y})),n.d(t,"HttpHeaderResponse",(function(){return _})),n.d(t,"HttpResponse",(function(){return w})),n.d(t,"HttpResponseBase",(function(){return b})),n.d(t,"HttpXhrBackend",(function(){return D})),n.d(t,"XhrFactory",(function(){return M})),n.d(t,"HttpXsrfTokenExtractor",(function(){return B}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=function(){},c=function(){},u=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}}))}:function(){t.headers=new Map,Object.keys(e).forEach((function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))}))}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var o=("a"===e.op?this.headers.get(t):void 0)||[];o.push.apply(o,Object(r.__spread)(n)),this.headers.set(t,o);break;case"d":var i=e.value;if(i){var a=this.headers.get(t);if(!a)return;0===(a=a.filter((function(e){return-1===i.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))},e}(),d=function(){function e(){}return e.prototype.encodeKey=function(e){return p(e)},e.prototype.encodeValue=function(e){return p(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var f=function(){function e(e){void 0===e&&(e={});var t,n,o,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new d,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,o=new Map,t.length>0&&t.split("&").forEach((function(e){var t=e.indexOf("="),i=Object(r.__read)(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),a=i[0],s=i[1],l=o.get(a)||[];l.push(s),o.set(a,l)})),o)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((function(t){var n=e.fromObject[t];i.map.set(t,Array.isArray(n)?n:[n])}))):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=null)},e}();function h(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function m(e){return"undefined"!=typeof Blob&&e instanceof Blob}function g(e){return"undefined"!=typeof FormData&&e instanceof FormData}var y,v=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new u),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var a=t.indexOf("?"),s=-1===a?"?":a<t.length-1?"&":"";this.urlWithParams=t+s+i}}else this.params=new f,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:h(this.body)||m(this.body)||g(this.body)||"string"==typeof this.body?this.body:this.body instanceof f?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body||g(this.body)?null:m(this.body)?this.body.type||null:h(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof f?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,l=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),c)),new e(n,r,i,{params:c,headers:l,reportProgress:s,responseType:o,withCredentials:a})},e}();!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(y||(y={}));var b=function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new u,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},_=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=y.ResponseHeader,n}return Object(r.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(b),w=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=y.Response,n.body=void 0!==t.body?t.body:null,n}return Object(r.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(b),C=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.status>=200&&n.status<300?n.message="Http failure during parsing for "+(t.url||"(unknown url)"):n.message="Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(r.__extends)(t,e),t}(b);function S(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var E=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof v)r=e;else{var s=void 0;s=n.headers instanceof u?n.headers:new u(n.headers);var l=void 0;n.params&&(l=n.params instanceof f?n.params:new f({fromObject:n.params})),r=new v(e,t,void 0!==n.body?n.body:null,{headers:s,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var c=Object(i.of)(r).pipe(Object(a.concatMap)((function(e){return o.handler.handle(e)})));if(e instanceof v||"events"===n.observe)return c;var d=c.pipe(Object(a.filter)((function(e){return e instanceof w})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(Object(a.map)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return d.pipe(Object(a.map)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return d.pipe(Object(a.map)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return d.pipe(Object(a.map)((function(e){return e.body})))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new f).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,S(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,S(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,S(n,t))},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:l}]},e}(),x=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),k=new o.InjectionToken("HTTP_INTERCEPTORS"),O=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e.decorators=[{type:o.Injectable}],e}(),T=0,A=function(){},P=function(){function e(e,t){this.callbackMap=e,this.document=t}return e.prototype.nextCallback=function(){return"ng_jsonp_callback_"+T++},e.prototype.handle=function(e){var t=this;if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");return new i.Observable((function(n){var r=t.nextCallback(),o=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+r+"$1"),i=t.document.createElement("script");i.src=o;var a=null,s=!1,l=!1;t.callbackMap[r]=function(e){delete t.callbackMap[r],l||(a=e,s=!0)};var c=function(){i.parentNode&&i.parentNode.removeChild(i),delete t.callbackMap[r]},u=function(e){l||(c(),s?(n.next(new w({body:a,status:200,statusText:"OK",url:o})),n.complete()):n.error(new C({url:o,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},d=function(e){l||(c(),n.error(new C({error:e,status:0,statusText:"JSONP Error",url:o})))};return i.addEventListener("load",u),i.addEventListener("error",d),t.document.body.appendChild(i),n.next({type:y.Sent}),function(){l=!0,i.removeEventListener("load",u),i.removeEventListener("error",d),c()}}))},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:A},{type:void 0,decorators:[{type:o.Inject,args:[s.DOCUMENT]}]}]},e}(),R=function(){function e(e){this.jsonp=e}return e.prototype.intercept=function(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:P}]},e}(),I=/^\)\]\}',?\n/;var M=function(){},N=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[]},e}(),D=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.Observable((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new u(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new _({headers:o,status:t,statusText:n,url:i})},c=function(){var t=l(),o=t.headers,i=t.status,a=t.statusText,s=t.url,c=null;204!==i&&(c=void 0===r.response?r.responseText:r.response),0===i&&(i=c?200:0);var u=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof c){var d=c;c=c.replace(I,"");try{c=""!==c?JSON.parse(c):null}catch(e){c=d,u&&(u=!1,c={error:e,text:c})}}u?(n.next(new w({body:c,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new C({error:c,headers:o,status:i,statusText:a,url:s||void 0}))},d=function(e){var t=new C({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},p=!1,f=function(t){p||(n.next(l()),p=!0);var o={type:y.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(e){var t={type:y.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",c),r.addEventListener("error",d),e.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",h)),r.send(a),n.next({type:y.Sent}),function(){r.removeEventListener("error",d),r.removeEventListener("load",c),e.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}}))},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:M}]},e}(),j=new o.InjectionToken("XSRF_COOKIE_NAME"),L=new o.InjectionToken("XSRF_HEADER_NAME"),B=function(){},F=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(s["ɵparseCookieValue"])(e,this.cookieName),this.lastCookieString=e),this.lastToken},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[s.DOCUMENT]}]},{type:String,decorators:[{type:o.Inject,args:[o.PLATFORM_ID]}]},{type:String,decorators:[{type:o.Inject,args:[j]}]}]},e}(),U=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:B},{type:String,decorators:[{type:o.Inject,args:[L]}]}]},e}(),H=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(k,[]);this.chain=t.reduceRight((function(e,t){return new x(e,t)}),this.backend)}return this.chain.handle(e)},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:c},{type:o.Injector}]},e}();function V(){return"object"==typeof window?window:{}}var z=function(){function e(){}return e.disable=function(){return{ngModule:e,providers:[{provide:U,useClass:O}]}},e.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:j,useValue:t.cookieName}:[],t.headerName?{provide:L,useValue:t.headerName}:[]]}},e.decorators=[{type:o.NgModule,args:[{providers:[U,{provide:k,useExisting:U,multi:!0},{provide:B,useClass:F},{provide:j,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}]}],e}(),q=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[E,{provide:l,useClass:H},D,{provide:c,useExisting:D},N,{provide:M,useExisting:N}]}]}],e}(),G=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{providers:[P,{provide:A,useFactory:V},{provide:k,useClass:R,multi:!0}]}]}],e}()},"./node_modules/@angular/core/fesm5/core.js":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ɵangular_packages_core_core_l",(function(){return Hr})),n.d(t,"ɵangular_packages_core_core_i",(function(){return Br})),n.d(t,"ɵangular_packages_core_core_j",(function(){return Fr})),n.d(t,"ɵangular_packages_core_core_k",(function(){return Ur})),n.d(t,"ɵangular_packages_core_core_f",(function(){return Et})),n.d(t,"ɵangular_packages_core_core_g",(function(){return yr})),n.d(t,"ɵangular_packages_core_core_h",(function(){return Er})),n.d(t,"ɵangular_packages_core_core_c",(function(){return at})),n.d(t,"ɵangular_packages_core_core_d",(function(){return Ze})),n.d(t,"ɵangular_packages_core_core_e",(function(){return et})),n.d(t,"ɵangular_packages_core_core_m",(function(){return en})),n.d(t,"ɵangular_packages_core_core_o",(function(){return $t})),n.d(t,"ɵangular_packages_core_core_n",(function(){return Kt})),n.d(t,"ɵangular_packages_core_core_r",(function(){return Jt})),n.d(t,"ɵangular_packages_core_core_p",(function(){return Qt})),n.d(t,"ɵangular_packages_core_core_q",(function(){return Xt})),n.d(t,"ɵangular_packages_core_core_v",(function(){return wp})),n.d(t,"ɵangular_packages_core_core_y",(function(){return Ap})),n.d(t,"ɵangular_packages_core_core_x",(function(){return Op})),n.d(t,"ɵangular_packages_core_core_w",(function(){return Cp})),n.d(t,"ɵangular_packages_core_core_u",(function(){return dp})),n.d(t,"ɵangular_packages_core_core_z",(function(){return Rp})),n.d(t,"ɵangular_packages_core_core_ba",(function(){return Td})),n.d(t,"ɵangular_packages_core_core_bb",(function(){return El})),n.d(t,"ɵangular_packages_core_core_a",(function(){return h})),n.d(t,"ɵangular_packages_core_core_b",(function(){return m})),n.d(t,"ɵangular_packages_core_core_s",(function(){return fa})),n.d(t,"ɵangular_packages_core_core_t",(function(){return Ao})),n.d(t,"createPlatform",(function(){return kn})),n.d(t,"assertPlatform",(function(){return Tn})),n.d(t,"destroyPlatform",(function(){return An})),n.d(t,"getPlatform",(function(){return Pn})),n.d(t,"PlatformRef",(function(){return Rn})),n.d(t,"ApplicationRef",(function(){return Mn})),n.d(t,"enableProdMode",(function(){return Sn})),n.d(t,"isDevMode",(function(){return En})),n.d(t,"createPlatformFactory",(function(){return On})),n.d(t,"NgProbeToken",(function(){return xn})),n.d(t,"APP_ID",(function(){return St})),n.d(t,"PACKAGE_ROOT_URL",(function(){return Pt})),n.d(t,"PLATFORM_INITIALIZER",(function(){return Ot})),n.d(t,"PLATFORM_ID",(function(){return Tt})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return At})),n.d(t,"APP_INITIALIZER",(function(){return wt})),n.d(t,"ApplicationInitStatus",(function(){return Ct})),n.d(t,"DebugElement",(function(){return ir})),n.d(t,"DebugNode",(function(){return or})),n.d(t,"asNativeElements",(function(){return ar})),n.d(t,"getDebugNode",(function(){return ur})),n.d(t,"Testability",(function(){return mn})),n.d(t,"TestabilityRegistry",(function(){return gn})),n.d(t,"setTestabilityGetter",(function(){return yn})),n.d(t,"TRANSLATIONS",(function(){return jr})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return Lr})),n.d(t,"LOCALE_ID",(function(){return Dr})),n.d(t,"MissingTranslationStrategy",(function(){return Tr})),n.d(t,"ApplicationModule",(function(){return Vr})),n.d(t,"wtfCreateScope",(function(){return nn})),n.d(t,"wtfLeave",(function(){return rn})),n.d(t,"wtfStartTimeRange",(function(){return on})),n.d(t,"wtfEndTimeRange",(function(){return an})),n.d(t,"Type",(function(){return N})),n.d(t,"EventEmitter",(function(){return sn})),n.d(t,"ErrorHandler",(function(){return Ue})),n.d(t,"Sanitizer",(function(){return wo})),n.d(t,"SecurityContext",(function(){return yo})),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return v})),n.d(t,"Attribute",(function(){return b})),n.d(t,"ContentChild",(function(){return C})),n.d(t,"ContentChildren",(function(){return w})),n.d(t,"Query",(function(){return _})),n.d(t,"ViewChild",(function(){return E})),n.d(t,"ViewChildren",(function(){return S})),n.d(t,"Component",(function(){return T})),n.d(t,"Directive",(function(){return O})),n.d(t,"HostBinding",(function(){return I})),n.d(t,"HostListener",(function(){return M})),n.d(t,"Input",(function(){return P})),n.d(t,"Output",(function(){return R})),n.d(t,"Pipe",(function(){return A})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return Re})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return Ie})),n.d(t,"NgModule",(function(){return Ne})),n.d(t,"ViewEncapsulation",(function(){return Me})),n.d(t,"Version",(function(){return De})),n.d(t,"VERSION",(function(){return je})),n.d(t,"defineInjectable",(function(){return a})),n.d(t,"defineInjector",(function(){return s})),n.d(t,"forwardRef",(function(){return Q})),n.d(t,"resolveForwardRef",(function(){return X})),n.d(t,"Injectable",(function(){return Pe})),n.d(t,"inject",(function(){return Ee})),n.d(t,"INJECTOR",(function(){return ae})),n.d(t,"Injector",(function(){return le})),n.d(t,"ReflectiveInjector",(function(){return it})),n.d(t,"createInjector",(function(){return ft})),n.d(t,"ResolvedReflectiveFactory",(function(){return Qe})),n.d(t,"ReflectiveKey",(function(){return Ge})),n.d(t,"InjectionToken",(function(){return l})),n.d(t,"Inject",(function(){return J})),n.d(t,"Optional",(function(){return ee})),n.d(t,"Self",(function(){return te})),n.d(t,"SkipSelf",(function(){return ne})),n.d(t,"Host",(function(){return re})),n.d(t,"NgZone",(function(){return ln})),n.d(t,"ɵNoopNgZone",(function(){return hn})),n.d(t,"RenderComponentType",(function(){return jn})),n.d(t,"Renderer",(function(){return Bn})),n.d(t,"Renderer2",(function(){return Hn})),n.d(t,"RendererFactory2",(function(){return Un})),n.d(t,"RendererStyleFlags2",(function(){return Dn})),n.d(t,"RootRenderer",(function(){return Fn})),n.d(t,"COMPILER_OPTIONS",(function(){return Dt})),n.d(t,"Compiler",(function(){return Nt})),n.d(t,"CompilerFactory",(function(){return jt})),n.d(t,"ModuleWithComponentFactories",(function(){return It})),n.d(t,"ComponentFactory",(function(){return Bt})),n.d(t,"ComponentRef",(function(){return Lt})),n.d(t,"ComponentFactoryResolver",(function(){return qt})),n.d(t,"ElementRef",(function(){return Vn})),n.d(t,"NgModuleFactory",(function(){return Zt})),n.d(t,"NgModuleRef",(function(){return Yt})),n.d(t,"NgModuleFactoryLoader",(function(){return zn})),n.d(t,"getModuleFactory",(function(){return Wn})),n.d(t,"QueryList",(function(){return Yn})),n.d(t,"SystemJsNgModuleLoader",(function(){return $n})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return Zn})),n.d(t,"TemplateRef",(function(){return Xn})),n.d(t,"ViewContainerRef",(function(){return Jn})),n.d(t,"EmbeddedViewRef",(function(){return nr})),n.d(t,"ViewRef",(function(){return tr})),n.d(t,"ChangeDetectionStrategy",(function(){return g})),n.d(t,"ChangeDetectorRef",(function(){return er})),n.d(t,"DefaultIterableDiffer",(function(){return br})),n.d(t,"IterableDiffers",(function(){return Or})),n.d(t,"KeyValueDiffers",(function(){return Ar})),n.d(t,"SimpleChange",(function(){return hr})),n.d(t,"WrappedValue",(function(){return fr})),n.d(t,"platformCore",(function(){return Nr})),n.d(t,"ɵALLOW_MULTIPLE_PLATFORMS",(function(){return Cn})),n.d(t,"ɵAPP_ID_RANDOM_PROVIDER",(function(){return xt})),n.d(t,"ɵdefaultIterableDiffers",(function(){return Ir})),n.d(t,"ɵdefaultKeyValueDiffers",(function(){return Mr})),n.d(t,"ɵdevModeEqual",(function(){return pr})),n.d(t,"ɵisListLikeIterable",(function(){return mr})),n.d(t,"ɵChangeDetectorStatus",(function(){return y})),n.d(t,"ɵisDefaultChangeDetectionStrategy",(function(){return x})),n.d(t,"ɵConsole",(function(){return Rt})),n.d(t,"ɵinject",(function(){return Ee})),n.d(t,"ɵsetCurrentInjector",(function(){return Se})),n.d(t,"ɵAPP_ROOT",(function(){return st})),n.d(t,"ɵivyEnabled",(function(){return k})),n.d(t,"ɵComponentFactory",(function(){return Bt})),n.d(t,"ɵCodegenComponentFactoryResolver",(function(){return Gt})),n.d(t,"ɵresolveComponentResources",(function(){return zr})),n.d(t,"ɵReflectionCapabilities",(function(){return Z})),n.d(t,"ɵRenderDebugInfo",(function(){return Ln})),n.d(t,"ɵ_sanitizeHtml",(function(){return mo})),n.d(t,"ɵ_sanitizeStyle",(function(){return _o})),n.d(t,"ɵ_sanitizeUrl",(function(){return Kr})),n.d(t,"ɵglobal",(function(){return B})),n.d(t,"ɵlooseIdentical",(function(){return z})),n.d(t,"ɵstringify",(function(){return q})),n.d(t,"ɵmakeDecorator",(function(){return p})),n.d(t,"ɵisObservable",(function(){return _t})),n.d(t,"ɵisPromise",(function(){return bt})),n.d(t,"ɵclearOverrides",(function(){return Js})),n.d(t,"ɵinitServicesIfNeeded",(function(){return us})),n.d(t,"ɵoverrideComponentView",(function(){return Xs})),n.d(t,"ɵoverrideProvider",(function(){return Qs})),n.d(t,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return wa})),n.d(t,"ɵdefineComponent",(function(){return Gd})),n.d(t,"ɵdefineDirective",(function(){return Qd})),n.d(t,"ɵdefinePipe",(function(){return Xd})),n.d(t,"ɵdefineNgModule",(function(){return Zd})),n.d(t,"ɵdetectChanges",(function(){return od})),n.d(t,"ɵrenderComponent",(function(){return Vd})),n.d(t,"ɵdirectiveInject",(function(){return mp})),n.d(t,"ɵinjectElementRef",(function(){return gp})),n.d(t,"ɵinjectTemplateRef",(function(){return yp})),n.d(t,"ɵinjectViewContainerRef",(function(){return vp})),n.d(t,"ɵinjectChangeDetectorRef",(function(){return bp})),n.d(t,"ɵinjectAttribute",(function(){return _p})),n.d(t,"ɵPublicFeature",(function(){return Mp})),n.d(t,"ɵInheritDefinitionFeature",(function(){return ep})),n.d(t,"ɵNgOnChangesFeature",(function(){return tp})),n.d(t,"ɵmarkDirty",(function(){return ad})),n.d(t,"ɵNgModuleFactory",(function(){return $p})),n.d(t,"ɵNC",(function(){return sd})),n.d(t,"ɵC",(function(){return qu})),n.d(t,"ɵE",(function(){return du})),n.d(t,"ɵNH",(function(){return cu})),n.d(t,"ɵNM",(function(){return lu})),n.d(t,"ɵNS",(function(){return su})),n.d(t,"ɵEe",(function(){return uu})),n.d(t,"ɵL",(function(){return xu})),n.d(t,"ɵT",(function(){return Fu})),n.d(t,"ɵV",(function(){return Yu})),n.d(t,"ɵQ",(function(){return Ef})),n.d(t,"ɵQr",(function(){return Md})),n.d(t,"ɵd",(function(){return Sd})),n.d(t,"ɵP",(function(){return Ju})),n.d(t,"ɵb",(function(){return cd})),n.d(t,"ɵi1",(function(){return hd})),n.d(t,"ɵi2",(function(){return md})),n.d(t,"ɵi3",(function(){return gd})),n.d(t,"ɵi4",(function(){return yd})),n.d(t,"ɵi5",(function(){return vd})),n.d(t,"ɵi6",(function(){return bd})),n.d(t,"ɵi7",(function(){return _d})),n.d(t,"ɵi8",(function(){return wd})),n.d(t,"ɵiV",(function(){return fd})),n.d(t,"ɵpb1",(function(){return cf})),n.d(t,"ɵpb2",(function(){return uf})),n.d(t,"ɵpb3",(function(){return df})),n.d(t,"ɵpb4",(function(){return pf})),n.d(t,"ɵpbV",(function(){return ff})),n.d(t,"ɵf0",(function(){return Qp})),n.d(t,"ɵf1",(function(){return Xp})),n.d(t,"ɵf2",(function(){return Jp})),n.d(t,"ɵf3",(function(){return ef})),n.d(t,"ɵf4",(function(){return tf})),n.d(t,"ɵf5",(function(){return nf})),n.d(t,"ɵf6",(function(){return rf})),n.d(t,"ɵf7",(function(){return of})),n.d(t,"ɵf8",(function(){return af})),n.d(t,"ɵfV",(function(){return sf})),n.d(t,"ɵcR",(function(){return Gu})),n.d(t,"ɵcr",(function(){return Wu})),n.d(t,"ɵqR",(function(){return xf})),n.d(t,"ɵql",(function(){return Ed})),n.d(t,"ɵe",(function(){return Tu})),n.d(t,"ɵp",(function(){return Pu})),n.d(t,"ɵpD",(function(){return Qu})),n.d(t,"ɵrS",(function(){return ud})),n.d(t,"ɵa",(function(){return Au})),n.d(t,"ɵs",(function(){return Nu})),n.d(t,"ɵsm",(function(){return Bu})),n.d(t,"ɵsp",(function(){return Lu})),n.d(t,"ɵsa",(function(){return ju})),n.d(t,"ɵcp",(function(){return Mu})),n.d(t,"ɵt",(function(){return Uu})),n.d(t,"ɵv",(function(){return Zu})),n.d(t,"ɵst",(function(){return Cd})),n.d(t,"ɵld",(function(){return xd})),n.d(t,"ɵPp",(function(){return lf})),n.d(t,"ɵwhenRendered",(function(){return qd})),n.d(t,"ɵiA",(function(){return Lp})),n.d(t,"ɵiEM",(function(){return Bp})),n.d(t,"ɵiI1",(function(){return Fp})),n.d(t,"ɵiI2",(function(){return Up})),n.d(t,"ɵiI3",(function(){return Hp})),n.d(t,"ɵiI4",(function(){return Vp})),n.d(t,"ɵiI5",(function(){return zp})),n.d(t,"ɵiI6",(function(){return qp})),n.d(t,"ɵiI7",(function(){return Gp})),n.d(t,"ɵiI8",(function(){return Wp})),n.d(t,"ɵIV",(function(){return Yp})),n.d(t,"ɵiM",(function(){return Dp})),n.d(t,"ɵsanitizeHtml",(function(){return Nf})),n.d(t,"ɵsanitizeStyle",(function(){return Df})),n.d(t,"ɵsanitizeUrl",(function(){return jf})),n.d(t,"ɵsanitizeResourceUrl",(function(){return Lf})),n.d(t,"ɵbypassSanitizationTrustHtml",(function(){return Tf})),n.d(t,"ɵbypassSanitizationTrustStyle",(function(){return Af})),n.d(t,"ɵbypassSanitizationTrustScript",(function(){return Pf})),n.d(t,"ɵbypassSanitizationTrustUrl",(function(){return Rf})),n.d(t,"ɵbypassSanitizationTrustResourceUrl",(function(){return If})),n.d(t,"ɵregisterModuleFactory",(function(){return Gn})),n.d(t,"ɵEMPTY_ARRAY",(function(){return gi})),n.d(t,"ɵEMPTY_MAP",(function(){return yi})),n.d(t,"ɵand",(function(){return vi})),n.d(t,"ɵccf",(function(){return Fi})),n.d(t,"ɵcmf",(function(){return el})),n.d(t,"ɵcrt",(function(){return Bo})),n.d(t,"ɵdid",(function(){return ua})),n.d(t,"ɵeld",(function(){return bi})),n.d(t,"ɵelementEventFullName",(function(){return $o})),n.d(t,"ɵgetComponentViewDefinitionFactory",(function(){return Ui})),n.d(t,"ɵinlineInterpolate",(function(){return hi})),n.d(t,"ɵinterpolate",(function(){return fi})),n.d(t,"ɵmod",(function(){return Ai})),n.d(t,"ɵmpd",(function(){return Ti})),n.d(t,"ɵncd",(function(){return Ma})),n.d(t,"ɵnov",(function(){return Qi})),n.d(t,"ɵpid",(function(){return da})),n.d(t,"ɵprd",(function(){return pa})),n.d(t,"ɵpad",(function(){return ja})),n.d(t,"ɵpod",(function(){return La})),n.d(t,"ɵppd",(function(){return Da})),n.d(t,"ɵqud",(function(){return Ta})),n.d(t,"ɵted",(function(){return Fa})),n.d(t,"ɵunv",(function(){return Lo})),n.d(t,"ɵvid",(function(){return Va}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js");function a(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function s(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}var l=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?a({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),c="__annotations__",u="__parameters__",d="__prop__metadata__";function p(e,t,n,o,i){var a=f(t);function s(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof s)return a.call.apply(a,Object(r.__spread)([this],t)),this;var l=new((e=s).bind.apply(e,Object(r.__spread)([void 0],t))),u=function(e){return i&&i.apply(void 0,Object(r.__spread)([e],t)),(e.hasOwnProperty(c)?e[c]:Object.defineProperty(e,c,{value:[]})[c]).push(l),e};return o&&o(u),u}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}function f(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var o=e.apply(void 0,Object(r.__spread)(t));for(var i in o)this[i]=o[i]}}}function h(e,t,n){var o=f(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return o.apply(this,t),this;var a=new((e=i).bind.apply(e,Object(r.__spread)([void 0],t)));return s.annotation=a,s;function s(e,t,n){for(var r=e.hasOwnProperty(u)?e[u]:Object.defineProperty(e,u,{value:[]})[u];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(a),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}function m(e,t,n){var o=f(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return o.apply(this,t),this;var a=new((e=i).bind.apply(e,Object(r.__spread)([void 0],t)));return function(e,t){var n=e.constructor,r=n.hasOwnProperty(d)?n[d]:Object.defineProperty(n,d,{value:{}})[d];r[t]=r.hasOwnProperty(t)&&r[t]||[],r[t].unshift(a)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}var g,y,v=new l("AnalyzeForEntryComponents"),b=h("Attribute",(function(e){return{attributeName:e}})),_=function(){},w=m("ContentChildren",(function(e,t){return void 0===t&&(t={}),Object(r.__assign)({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)}),_),C=m("ContentChild",(function(e,t){return void 0===t&&(t={}),Object(r.__assign)({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)}),_),S=m("ViewChildren",(function(e,t){return void 0===t&&(t={}),Object(r.__assign)({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)}),_),E=m("ViewChild",(function(e,t){return Object(r.__assign)({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)}),_);function x(e){return null==e||e===g.Default}!function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(g||(g={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(y||(y={}));var k=!1,O=p("Directive",(function(e){return void 0===e&&(e={}),e}),void 0,void 0,(function(e,t){})),T=p("Component",(function(e){return void 0===e&&(e={}),Object(r.__assign)({changeDetection:g.Default},e)}),O,void 0,(function(e,t){})),A=p("Pipe",(function(e){return Object(r.__assign)({pure:!0},e)}),void 0,void 0,(function(e,t){})),P=m("Input",(function(e){return{bindingPropertyName:e}})),R=m("Output",(function(e){return{bindingPropertyName:e}})),I=m("HostBinding",(function(e){return{hostPropertyName:e}})),M=m("HostListener",(function(e,t){return{eventName:e,args:t}})),N=Function;function D(e){return"function"==typeof e}var j="undefined"!=typeof window&&window,L="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B=void 0!==e&&e||j||L,F=Promise.resolve(0),U=null;function H(){if(!U){var e=B.Symbol;if(e&&e.iterator)U=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(U=r)}}return U}function V(e){"undefined"==typeof Zone?F.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function z(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function q(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(q).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var G=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,W=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,Y=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/,Z=function(){function e(e){this._reflect=e||B.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,Object(r.__spread)([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=new Array(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},e.prototype._ownParameters=function(e,t){var n=e.toString();if(G.exec(n)||W.exec(n)&&!Y.exec(n))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map((function(e){return e&&e.type})),a=o.map((function(e){return e&&K(e.decorators)}));return this._zipTypesAndAnnotations(i,a)}var s=e.hasOwnProperty(u)&&e[u],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return l||s?this._zipTypesAndAnnotations(l,s):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!D(e))return[];var t=$(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?K(e.decorators):e.hasOwnProperty(c)?e[c]:null},e.prototype.annotations=function(e){if(!D(e))return[];var t=$(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach((function(e){o[e]=K(r[e])})),o}return e.hasOwnProperty(d)?e[d]:null},e.prototype.propMetadata=function(e){if(!D(e))return{};var t=$(e),n={};if(t!==Object){var o=this.propMetadata(t);Object.keys(o).forEach((function(e){n[e]=o[e]}))}var i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach((function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,Object(r.__spread)(n[e])),t.push.apply(t,Object(r.__spread)(i[e])),n[e]=t})),n},e.prototype.hasLifecycleHook=function(e,t){return e instanceof N&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n        return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+q(e)},e.prototype.resourceUri=function(e){return"./"+q(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function K(e){return e?e.map((function(e){var t=e.type.annotationCls,n=e.args?e.args:[];return new(t.bind.apply(t,Object(r.__spread)([void 0],n)))})):[]}function $(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function Q(e){return e.__forward_ref__=Q,e.toString=function(){return q(this())},e}function X(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===Q?e():e}var J=h("Inject",(function(e){return{token:e}})),ee=h("Optional"),te=h("Self"),ne=h("SkipSelf"),re=h("Host"),oe=new Object,ie=oe,ae=new l("INJECTOR"),se=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=oe),t===oe)throw new Error("NullInjectorError: No provider for "+q(e)+"!");return t},e}(),le=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new ye(e,t):new ye(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=oe,e.NULL=new se,e.ngInjectableDef=a({providedIn:"any",factory:function(){return Ee(ae)}}),e}(),ce=function(e){return e},ue=[],de=ce,pe=function(){return Array.prototype.slice.call(arguments)},fe={},he=function(e){for(var t in e)if(e[t]===fe)return t;throw Error("!prop")}({provide:String,useValue:fe}),me=le.NULL,ge=/\n/gm,ye=function(){function e(e,t,n){void 0===t&&(t=me),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(le,{token:le,fn:ce,deps:ue,value:this,useNew:!1}),r.set(ae,{token:ae,fn:ce,deps:ue,value:this,useNew:!1}),function e(t,n){if(n)if((n=X(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw we("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw we("Unexpected provider",n);var o=X(n.provide),i=function(e){var t=function(e){var t=ue,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((l=X(n[r]))instanceof Array)for(var i=0,a=l;i<a.length;i++){var s=a[i];s instanceof ee||s==ee?o|=1:s instanceof ne||s==ne?o&=-3:s instanceof te||s==te?o&=-5:l=s instanceof J?s.token:X(s)}t.push({token:l,options:o})}}else if(e.useExisting){var l=X(e.useExisting);t=[{token:l,options:6}]}else if(!n&&!(he in e))throw we("'deps' required",e);return t}(e),n=ce,r=ue,o=!1,i=X(e.provide);if(he in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=X(e.useClass);else{if("function"!=typeof i)throw we("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=t.get(o);if(a){if(a.fn!==pe)throw ve(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:pe,value:ue});o=n,a.deps.push({token:o,options:6})}var s=t.get(o);if(s&&s.fn==pe)throw ve(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return be(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e.__source&&o.unshift(e.__source),t.message=_e("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach((function(t,n){return e.push(q(n))})),"StaticInjector["+e.join(", ")+"]"},e}();function ve(e){return we("Cannot mix multi providers and regular providers",e)}function be(e,t,n,o,i,a){try{return function(e,t,n,o,i,a){var s,l;if(!t||4&a)2&a||(l=o.get(e,i,0));else{if((l=t.value)==de)throw Error("ɵCircular dependency");if(l===ue){t.value=de;var c=t.useNew,u=t.fn,d=t.deps,p=ue;if(d.length){p=[];for(var f=0;f<d.length;f++){var h=d[f],m=h.options,g=2&m?n.get(h.token):void 0;p.push(be(h.token,g,n,g||4&m?o:me,1&m?null:le.THROW_IF_NOT_FOUND,0))}}t.value=l=c?new((s=u).bind.apply(s,Object(r.__spread)([void 0],p))):u.apply(void 0,p)}}return l}(e,t,n,o,i,a)}catch(n){throw n instanceof Error||(n=new Error(n)),(n.ngTempTokenPath=n.ngTempTokenPath||[]).unshift(e),t&&t.value==de&&(t.value=ue),n}}function _e(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;var r=q(t);if(t instanceof Array)r=t.map(q).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):q(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(ge,"\n  ")}function we(e,t){return new Error(_e(e,t))}var Ce=void 0;function Se(e){var t=Ce;return Ce=e,t}function Ee(e,t){if(void 0===t&&(t=0),void 0===Ce)throw new Error("inject() must be called from an injection context");if(null===Ce){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+q(e)+"]")}return Ce.get(e,8&t?null:void 0,t)}function xe(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var s=r[a];s instanceof ee||"Optional"===s.ngMetadataName?i|=8:s instanceof ne||"SkipSelf"===s.ngMetadataName?i|=4:s instanceof te||"Self"===s.ngMetadataName?i|=2:o=s instanceof J?s.token:s}t.push(Ee(o,i))}else t.push(Ee(r))}return t}var ke={},Oe=function(e,t){for(var n in e)if(e[n]===t)return n;throw Error("Could not find renamed property on target object.")}({provide:String,useValue:ke},ke),Te=[];function Ae(e,t){if(!t){var n=(c=new Z).parameters(e);return function(){return new(e.bind.apply(e,Object(r.__spread)([void 0],xe(n))))}}if(Oe in t){var o=t;return function(){return o.useValue}}if(t.useExisting){var i=t;return function(){return Ee(i.useExisting)}}if(t.useFactory){var a=t;return function(){return a.useFactory.apply(a,Object(r.__spread)(xe(a.deps||Te)))}}if(t.useClass){var s=t,l=t.deps;if(!l){var c=new Z;l=c.parameters(e)}return function(){var e;return new((e=s.useClass).bind.apply(e,Object(r.__spread)([void 0],xe(l))))}}var u=t.deps;if(!u){c=new Z;u=c.parameters(e)}return function(){return new(e.bind.apply(e,Object(r.__spread)([void 0],xe(u))))}}var Pe=p("Injectable",void 0,void 0,void 0,(function(e,t){return n=e,void((r=t)&&void 0!==r.providedIn&&void 0===n.ngInjectableDef&&(n.ngInjectableDef=a({providedIn:r.providedIn,factory:Ae(n,r)})));var n,r})),Re={name:"custom-elements"},Ie={name:"no-errors-schema"};var Me,Ne=p("NgModule",(function(e){return e}),void 0,void 0,(function(e,t){return n=e,i=(o=t)&&o.imports||[],o&&o.exports&&(i=Object(r.__spread)(i,[o.exports])),void(n.ngInjectorDef=s({factory:Ae(n,{useClass:n}),providers:o&&o.providers,imports:i}));var n,o,i}));!function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Me||(Me={}));var De=function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},je=new De("6.1.7");function Le(e){return e.ngDebugContext}function Be(e){return e.ngOriginalError}function Fe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,Object(r.__spread)(t))}var Ue=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Fe}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?Le(e)?Le(e):this._findContext(Be(e)):null},e.prototype._findOriginalError=function(e){for(var t=Be(e);t&&Be(t);)t=Be(t);return t},e}();function He(e){return e.length>1?" ("+function(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((function(e){return q(e.token)})).join(" -> ")+")":""}function Ve(e,t,n,r){var o=[t],i=n(o),a=r?function(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r.ngOriginalError=t,r}(i,r):Error(i);return a.addKey=ze,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a.ngOriginalError=r,a}function ze(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function qe(e,t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];i&&0!=i.length?n.push(i.map(q).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+q(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+q(e)+"' is decorated with Injectable.")}var Ge=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=q(this.token)}return e.get=function(e){return We.get(X(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return We.numberOfKeys},enumerable:!0,configurable:!0}),e}(),We=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof Ge)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Ge(e,Ge.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),Ye=new(function(){function e(e){this.reflectionCapabilities=e}return e.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},e.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},e.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},e.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this.reflectionCapabilities.method(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)},e.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},e}())(new Z),Ze=function(){function e(e,t,n){this.key=e,this.optional=t,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),Ke=[],$e=function(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},Qe=function(e,t){this.factory=e,this.dependencies=t};function Xe(e){var t,n;if(e.useClass){var r=X(e.useClass);t=Ye.factory(r),n=tt(r)}else e.useExisting?(t=function(e){return e},n=[Ze.fromKey(Ge.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){var n=t.map((function(e){return[e]}));return t.map((function(t){return nt(e,t,n)}))}return tt(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=Ke);return new Qe(t,n)}function Je(e){return new $e(Ge.get(e.provide),[Xe(e)],e.multi||!1)}function et(e){var t=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else t.set(r.key.id,r)}else{var a=void 0;a=r.multiProvider?new $e(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function e(t,n){return t.forEach((function(t){if(t instanceof N)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}})),n}(e,[]).map(Je),new Map);return Array.from(t.values())}function tt(e){var t=Ye.parameters(e);if(!t)return[];if(t.some((function(e){return null==e})))throw qe(e,t);return t.map((function(n){return nt(e,n,t)}))}function nt(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return rt(t instanceof J?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var s=t[a];s instanceof N?r=s:s instanceof J?r=s.token:s instanceof ee?o=!0:s instanceof te||s instanceof ne?i=s:s instanceof l&&(r=s)}if(null!=(r=X(r)))return rt(r,o,i);throw qe(e,n)}function rt(e,t,n){return new Ze(Ge.get(e),t,n)}var ot=new Object,it=function(){function e(){}return e.resolve=function(e){return et(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new at(e,t)},e}(),at=function(){function e(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=ot}return e.prototype.get=function(e,t){return void 0===t&&(t=ie),this._getByKey(Ge.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=it.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new e(t);return n.parent=this,n},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(it.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw t=this,n=e.key,Ve(t,n,(function(e){return"Cannot instantiate cyclic dependency!"+He(e)}));var t,n;return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},e.prototype._instantiate=function(e,t){var n,o,i,a,s,l=this,c=t.factory;try{n=t.dependencies.map((function(e){return l._getByReflectiveDependency(e)}))}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{o=c.apply(void 0,Object(r.__spread)(n))}catch(t){throw i=this,a=t,t.stack,s=e.key,Ve(i,s,(function(e){var t=q(e[0].token);return a.message+": Error during instantiation of "+t+"!"+He(e)+"."}),a)}return o},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ie)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof te?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)},e.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===ot&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return ot},e.prototype._throwOrNull=function(e,t){if(t!==ie)return t;throw function(e,t){return Ve(e,t,(function(e){return"No provider for "+q(e[0].token)+"!"+He(e)}))}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==ot?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof ne?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==ot)return a;o=i.parent}return null!==o?o.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(e,t){for(var n=new Array(e._providers.length),r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,(function(e){return' "'+e.key.displayName+'" '})).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=Ge.get(le),e}();var st=new l("The presence of this token marks an injector as being the root injector."),lt={},ct={},ut=[],dt=void 0;function pt(){return void 0===dt&&(dt=new se),dt}function ft(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||pt(),new ht(e,n,t)}var ht=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,yt([e],(function(e){return r.processInjectorType(e,new Set)})),t&&yt(t,(function(e){return r.processProvider(e)})),this.records.set(ae,gt(void 0,this)),this.isRootInjector=this.records.has(st),this.injectorDefTypes.forEach((function(e){return r.get(e)}))}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=ie),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=Se(this);try{if(!(4&n)){var i=this.records.get(e);if(void 0===i){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof l)&&e.ngInjectableDef||void 0;void 0!==a&&this.injectableDefInScope(a)&&(i=mt(e),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}2&n?pt():this.parent;return this.parent.get(e,t)}finally{Se(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=(e=X(e)).ngInjectorDef,o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=void 0!==o&&e.providers||ut;if(void 0!==o&&(r=o.ngInjectorDef),null!=r){if(t.has(i))throw new Error("Circular dependency: type "+q(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,gt(r.factory)),null!=r.imports){t.add(i);try{yt(r.imports,(function(e){return n.processInjectorType(e,t)}))}finally{t.delete(i)}}null!=r.providers&&yt(r.providers,(function(e){return n.processProvider(e)})),yt(a,(function(e){return n.processProvider(e)}))}},e.prototype.processProvider=function(e){var t=vt(e=X(e))?e:X(e.provide),n=function(e){var t=X(e),n=lt,o=void 0;if(vt(e))return mt(e);if(t=X(e.provide),function(e){return he in e}(e))n=e.useValue;else if(function(e){return!!e.useExisting}(e))o=function(){return Ee(e.useExisting)};else if(function(e){return!!e.useFactory}(e))o=function(){return e.useFactory.apply(e,Object(r.__spread)(xe(e.deps||[])))};else{var i=e.useClass||t;if(!function(e){return!!e.deps}(e))return mt(i);o=function(){return new(i.bind.apply(i,Object(r.__spread)([void 0],xe(e.deps))))}}return gt(o,n)}(e);if(vt(e)||!0!==e.multi){var o=this.records.get(t);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+q(t))}else{var i=this.records.get(t);if(i){if(void 0===i.multi)throw new Error("Mixed multi-provider for "+t+".")}else(i=gt(void 0,lt,!0)).factory=function(){return xe(i.multi)},this.records.set(t,i);t=e,i.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===ct)throw new Error("Circular dep for "+q(e));var n;return t.value===lt&&(t.value=ct,t.value=t.factory()),"object"==typeof t.value&&t.value&&("object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function mt(e){var t=e.ngInjectableDef;if(void 0===t){if(e instanceof l)throw new Error("Token "+q(e)+" is missing an ngInjectableDef definition.");return gt((function(){return new e}))}return gt(t.factory)}function gt(e,t,n){return void 0===t&&(t=lt),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function yt(e,t){e.forEach((function(e){return Array.isArray(e)?yt(e,t):t(e)}))}function vt(e){return"function"==typeof e}function bt(e){return!!e&&"function"==typeof e.then}function _t(e){return!!e&&"function"==typeof e.subscribe}var wt=new l("Application Initializer"),Ct=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,n){t.resolve=e,t.reject=n}))}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();bt(o)&&t.push(o)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:J,args:[wt]},{type:ee}]}]},e}(),St=new l("AppId");function Et(){return""+kt()+kt()+kt()}var xt={provide:St,useFactory:Et,deps:[]};function kt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ot=new l("Platform Initializer"),Tt=new l("Platform ID"),At=new l("appBootstrapListener"),Pt=new l("Application Packages Root URL"),Rt=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e.decorators=[{type:Pe}],e}(),It=function(e,t){this.ngModuleFactory=e,this.componentFactories=t};function Mt(){throw new Error("Runtime compiler is not loaded")}var Nt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Mt()},e.prototype.compileModuleAsync=function(e){throw Mt()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Mt()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Mt()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e.decorators=[{type:Pe}],e}(),Dt=new l("compilerOptions"),jt=function(){},Lt=function(){},Bt=function(){};function Ft(e){var t=Error("No component factory found for "+q(e)+". Did you add it to @NgModule.entryComponents?");return t[Vt]=e,t}var Ut,Ht,Vt="ngComponent",zt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Ft(e)},e}(),qt=function(){function e(){}return e.NULL=new zt,e}(),Gt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ft(e);return new Wt(t,this._ngModule)},e}(),Wt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return Object(r.__extends)(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Bt),Yt=function(){},Zt=function(){};function Kt(){var e=B.wtf;return!(!e||!(Ut=e.trace))&&(Ht=Ut.events,!0)}function $t(e,t){return void 0===t&&(t=null),Ht.createScope(e,t)}function Qt(e,t){return Ut.leaveScope(e,t),t}function Xt(e,t){return Ut.beginTimeRange(e,t)}function Jt(e){Ut.endTimeRange(e)}var en=Kt();function tn(e,t){return null}var nn=en?$t:function(e,t){return tn},rn=en?Qt:function(e,t){return t},on=en?Xt:function(e,t){return null},an=en?Jt:function(e){return null},sn=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(r.__extends)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var i,a=function(e){return null},s=function(){return null};t&&"object"==typeof t?(i=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(a=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(i=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},n&&(a=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var l=e.prototype.subscribe.call(this,i,a,s);return t instanceof o.Subscription&&t.add(l),l},t}(o.Subject),ln=function(){function e(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new sn(!1),this.onMicrotaskEmpty=new sn(!1),this.onStable=new sn(!1),this.onError=new sn(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var r;this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(r=this)._inner=r._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,n,o,i,a){try{return pn(r),e.invokeTask(n,o,i,a)}finally{fn(r)}},onInvoke:function(e,t,n,o,i,a,s){try{return pn(r),e.invoke(n,o,i,a,s)}finally{fn(r)}},onHasTask:function(e,t,n,o){e.hasTask(n,o),t===n&&("microTask"==o.change?(r.hasPendingMicrotasks=o.microTask,dn(r)):"macroTask"==o.change&&(r.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,t,n,o){return e.handleError(n,o),r.runOutsideAngular((function(){return r.onError.emit(o)})),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,un,cn,cn);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function cn(){}var un={};function dn(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function pn(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fn(e){e._nesting--,dn(e)}var hn=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new sn,this.onMicrotaskEmpty=new sn,this.onStable=new sn,this.onError=new sn}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),mn=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run((function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")}))}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){ln.assertNotInAngularZone(),V((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())V((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}})):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==o})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:ln}]},e}(),gn=function(){function e(){this._applications=new Map,bn.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),bn.findTestabilityInTree(this,e,t)},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[]},e}();function yn(e){bn=e}var vn,bn=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),_n=!0,wn=!1,Cn=new l("AllowMultipleToken");function Sn(){if(wn)throw new Error("Cannot enable prod mode after platform setup.");_n=!1}function En(){return wn=!0,_n}var xn=function(e,t){this.name=e,this.token=t};function kn(e){if(vn&&!vn.destroyed&&!vn.injector.get(Cn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vn=e.get(Rn);var t=e.get(Ot,null);return t&&t.forEach((function(e){return e()})),vn}function On(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new l(r);return function(t){void 0===t&&(t=[]);var i=Pn();if(!i||i.injector.get(Cn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});kn(le.create({providers:a,name:r}))}return Tn(o)}}function Tn(e){var t=Pn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function An(){vn&&!vn.destroyed&&vn.destroy()}function Pn(){return vn&&!vn.destroyed?vn:null}var Rn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function(e){var t;t="noop"===e?new hn:("zone.js"===e?void 0:e)||new ln({enableLongStackTrace:En()});return t}(t?t.ngZone:void 0),o=[{provide:ln,useValue:r}];return r.run((function(){var t=le.create({providers:o,parent:n.injector,name:e.moduleType.name}),i=e.create(t),a=i.injector.get(Ue,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy((function(){return Nn(n._modules,i)})),r.runOutsideAngular((function(){return r.onError.subscribe({next:function(e){a.handleError(e)}})})),function(e,t,n){try{var r=n();return bt(r)?r.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):r}catch(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n}}(a,r,(function(){var e=i.injector.get(Ct);return e.runInitializers(),e.donePromise.then((function(){return n._moduleDoBootstrap(i),i}))}))}))},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(jt),o=In({},t);return r.createCompiler([o]).compileModuleAsync(e).then((function(e){return n.bootstrapModuleFactory(e,o)}))},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Mn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+q(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:le}]},e}();function In(e,t){return e=Array.isArray(t)?t.reduce(In,e):Object(r.__assign)({},e,t)}var Mn=function(){function e(e,t,n,r,a,s){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=En(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run((function(){l.tick()}))}});var c=new o.Observable((function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular((function(){e.next(l._stable),e.complete()}))})),u=new o.Observable((function(e){var t;l._zone.runOutsideAngular((function(){t=l._zone.onStable.subscribe((function(){ln.assertNotInAngularZone(),V((function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))}))}))}));var n=l._zone.onUnstable.subscribe((function(){ln.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(o.merge)(c,u.pipe(Object(i.share)()))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Bt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Wt?null:this._injector.get(Yt),i=t||n.selector,a=n.create(le.NULL,[],i,o);a.onDestroy((function(){r._unloadComponent(a)}));var s=a.injector.get(mn,null);return s&&a.injector.get(gn).registerApplication(a.location.nativeElement,s),this._loadComponent(a),En()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach((function(e){return e.detectChanges()})),this._enforceNoNewChanges&&this._views.forEach((function(e){return e.checkNoChanges()}))}catch(e){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(e)}))}finally{this._runningTick=!1,rn(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Nn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(At,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Nn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(e){return e.destroy()}))},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=nn("ApplicationRef#tick()"),e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:ln},{type:Rt},{type:le},{type:Ue},{type:qt},{type:Ct}]},e}();function Nn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Dn,jn=function(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},Ln=function(){},Bn=function(){},Fn=(new l("Renderer2Interceptor"),function(){}),Un=function(){};!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Dn||(Dn={}));var Hn=function(){},Vn=function(e){this.nativeElement=e},zn=function(){},qn=new Map;function Gn(e,t){var n=qn.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);qn.set(e,t)}function Wn(e){var t=qn.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var Yn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new sn,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[H()]=function(){return this._results[H()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce((function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)}),[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();var Zn=function(){},Kn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},$n=function(){function e(e,t){this._compiler=e,this._config=t||Kn}return e.prototype.load=function(e){return this._compiler instanceof Nt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,o=Object(r.__read)(e.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("./src/$$_lazy_route_resource lazy recursive")(i).then((function(e){return e[a]})).then((function(e){return Qn(e,i,a)})).then((function(e){return t._compiler.compileModuleAsync(e)}))},e.prototype.loadFactory=function(e){var t=Object(r.__read)(e.split("#"),2),o=t[0],i=t[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("./src/$$_lazy_route_resource lazy recursive")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then((function(e){return e[i+a]})).then((function(e){return Qn(e,o,i)}))},e.decorators=[{type:Pe}],e.ctorParameters=function(){return[{type:Nt},{type:Zn,decorators:[{type:ee}]}]},e}();function Qn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var Xn=function(){},Jn=function(){},er=function(){},tr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(er),nr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(tr),rr=function(e,t){this.name=e,this.callback=t},or=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof ir?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),ir=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(r.__extends)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,o=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,Object(r.__spread)([i+1,0],t)),t.forEach((function(e){e.parent&&e.parent.removeChild(e),e.parent=o})))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return sr(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return lr(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter((function(e){return e instanceof t}))},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))},t}(or);function ar(e){return e.map((function(e){return e.nativeElement}))}function sr(e,t,n){e.childNodes.forEach((function(e){e instanceof ir&&(t(e)&&n.push(e),sr(e,t,n))}))}function lr(e,t,n){e instanceof ir&&e.childNodes.forEach((function(e){t(e)&&n.push(e),e instanceof ir&&lr(e,t,n)}))}var cr=new Map;function ur(e){return cr.get(e)||null}function dr(e){cr.set(e.nativeNode,e)}function pr(e,t){var n=mr(e),r=mr(t);return n&&r?function(e,t,n){var r=e[H()](),o=t[H()]();for(;;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,pr):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||z(e,t)}var fr=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),hr=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function mr(e){return!!gr(e)&&(Array.isArray(e)||!(e instanceof Map)&&H()in e)}function gr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var yr=function(){function e(){}return e.prototype.supports=function(e){return mr(e)},e.prototype.create=function(e){return new br(e)},e}(),vr=function(e,t){return t},br=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||vr}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Sr(n,r,o)?t:n,a=Sr(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var l=a-r,c=s-r;if(l!=c){for(var u=0;u<l;u++){var d=u<o.length?o[u]:o[u]=0,p=d+u;c<=p&&p<l&&(o[u]=d+1)}o[i.previousIndex]=c-l}}a!==s&&e(i,a,s)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!mr(e))throw new Error("Error trying to diff '"+q(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],o=this._trackByFn(s,r),null!==i&&z(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,s)),z(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[H()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,(function(e){o=t._trackByFn(n,e),null!==i&&z(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),z(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++})),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(z(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(z(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new _r(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Cr),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Cr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e},e}(),_r=function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},wr=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&z(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),Cr=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new wr,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=e,r=this.map.get(n);return r?r.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Sr(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Er=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||gr(e)},e.prototype.create=function(){return new xr},e}(),xr=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||gr(e)))throw new Error("Error trying to diff '"+q(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new kr(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){z(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))},e}(),kr=function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Or=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ne,new ee]]}},e.prototype.find=function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+(((t=e).name||typeof t)+"'"))},e.ngInjectableDef=a({providedIn:"root",factory:function(){return new e([new yr])}}),e}();var Tr,Ar=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ne,new ee]]}},e.prototype.find=function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),Pr=[new Er],Rr=[new yr],Ir=new Or(Rr),Mr=new Ar(Pr),Nr=On(null,"core",[{provide:Tt,useValue:"unknown"},{provide:Rn,deps:[le]},{provide:gn,deps:[]},{provide:Rt,deps:[]}]),Dr=new l("LocaleId"),jr=new l("Translations"),Lr=new l("TranslationsFormat");function Br(){return Ir}function Fr(){return Mr}function Ur(e){return e||"en-US"}!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Tr||(Tr={}));var Hr=[{provide:Mn,useClass:Mn,deps:[ln,Rt,le,Ue,qt,Ct]},{provide:Ct,useClass:Ct,deps:[[new ee,wt]]},{provide:Nt,useClass:Nt,deps:[]},xt,{provide:Or,useFactory:Br,deps:[]},{provide:Ar,useFactory:Fr,deps:[]},{provide:Dr,useFactory:Ur,deps:[[new J(Dr),new ee,new ne]]}],Vr=function(){function e(e){}return e.decorators=[{type:Ne,args:[{providers:Hr}]}],e.ctorParameters=function(){return[{type:Mn}]},e}();function zr(e){var t=[],n=new Map;function r(r){var o=n.get(r);if(!o){var i=e(r);n.set(r,o=i.then(Gr)),t.push(o)}return o}return qr.forEach((function(e){e.templateUrl&&r(e.templateUrl).then((function(t){e.template=t,e.templateUrl=void 0}));var t=e.styleUrls,n=e.styles||(e.styles=[]),o=e.styles.length;t&&t.forEach((function(i,a){n.push(""),r(i).then((function(r){n[o+a]=r,t.splice(t.indexOf(i),1),0==t.length&&(e.styleUrls=void 0)}))}))})),qr.clear(),Promise.all(t).then((function(){return null}))}var qr=new Set;function Gr(e){return"string"==typeof e?e:e.text()}var Wr=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement=this.getInertBodyElement_DOMParser:this.getInertBodyElement=this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}();var Yr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Zr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Kr(e){return(e=String(e)).match(Yr)||e.match(Zr)?e:(En()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function $r(e){var t,n,o={};try{for(var i=Object(r.__values)(e.split(",")),a=i.next();!a.done;a=i.next()){o[a.value]=!0}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function Qr(){for(var e,t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i={};try{for(var a=Object(r.__values)(n),s=a.next();!s.done;s=a.next()){var l=s.value;for(var c in l)l.hasOwnProperty(c)&&(i[c]=!0)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return i}var Xr,Jr=$r("area,br,col,hr,img,wbr"),eo=$r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),to=$r("rp,rt"),no=Qr(to,eo),ro=Qr(eo,$r("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),oo=Qr(to,$r("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),io=Qr(Jr,ro,oo,no),ao=$r("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),so=$r("srcset"),lo=$r("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),co=Qr(ao,so,lo),uo=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(io.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,s=a.toLowerCase();if(co.hasOwnProperty(s)){var l=i.value;ao[s]&&(l=Kr(l)),so[s]&&(n=l,l=(n=String(n)).split(",").map((function(e){return Kr(e.trim())})).join(", ")),this.buf.push(" ",a,'="',ho(l),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();io.hasOwnProperty(t)&&!Jr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(ho(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),po=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fo=/([^\#-~ |!])/g;function ho(e){return e.replace(/&/g,"&amp;").replace(po,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(fo,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function mo(e,t){var n=null;try{Xr=Xr||new Wr(e);var r=t?String(t):"";n=Xr.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Xr.getInertBodyElement(r)}while(r!==i);var a=new uo,s=a.sanitizeChildren(go(n)||n);return En()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var l=go(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function go(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yo,vo=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),bo=/^url\(([^)]+)\)$/;function _o(e){if(!(e=String(e).trim()))return"";var t=e.match(bo);return t&&Kr(t[1])===t[1]||e.match(vo)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(En()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(yo||(yo={}));var wo=function(){};function Co(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function So(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Eo(e,t){return e.nodes[t]}function xo(e,t){return e.nodes[t]}function ko(e,t){return e.nodes[t]}function Oo(e,t){return e.nodes[t]}function To(e,t){return e.nodes[t]}var Ao=function(){},Po={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Ro(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Io(n,t),n}(o,e)}function Io(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Mo(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var No=function(){},Do=new Map;function jo(e){var t=Do.get(e);return t||(t=q(e)+"_"+Do.size,Do.set(e,t)),t}function Lo(e,t,n,r){if(fr.isWrapped(r)){r=fr.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=fr.unwrap(e.oldValues[o]);e.oldValues[o]=new fr(i)}return r}function Bo(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Fo=0;function Uo(e){if(e&&"$$undefined"===e.id){var t=null!=e.encapsulation&&e.encapsulation!==Me.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Fo++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}function Ho(e,t,n,r){var o=e.oldValues;return!(!(2&e.state)&&z(o[t.bindingIndex+n],r))}function Vo(e,t,n,r){return!!Ho(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function zo(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!pr(o,r)){var i=t.bindings[n].name;throw Ro(Po.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function qo(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Go(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Wo(e,t,n,r){try{return qo(33554432&e.def.nodes[t].flags?xo(e,t).componentView:e),Po.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Yo(e){return e.parent?xo(e.parent,e.parentNodeDef.nodeIndex):null}function Zo(e){return e.parent?e.parentNodeDef.parent:null}function Ko(e,t){switch(201347067&t.flags){case 1:return xo(e,t.nodeIndex).renderElement;case 2:return Eo(e,t.nodeIndex).renderText}}function $o(e,t){return e?e+":"+t:t}function Qo(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Xo(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Jo(e){return 1<<e%32}function ei(e){var t={},n=0,o={};return e&&e.forEach((function(e){var i=Object(r.__read)(e,2),a=i[0],s=i[1];"number"==typeof a?(t[a]=s,n|=Jo(a)):o[a]=s})),{matchedQueries:t,references:o,matchedQueryIds:n}}function ti(e,t){return e.map((function(e){var n,o,i;return Array.isArray(e)?(i=(n=Object(r.__read)(e,2))[0],o=n[1]):(i=0,o=e),o&&("function"==typeof o||"object"==typeof o)&&t&&Object.defineProperty(o,"__source",{value:t,configurable:!0}),{flags:i,token:o,tokenKey:jo(o)}}))}function ni(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Me.Native?xo(e,n.renderParent.nodeIndex).renderElement:void 0:t}var ri=new WeakMap;function oi(e){var t=ri.get(e);return t||((t=e((function(){return No}))).factory=e,ri.set(e,t)),t}function ii(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Ko(e,e.def.lastRenderRootNode))),ai(e,t,0,e.def.nodes.length-1,n,r,o)}function ai(e,t,n,r,o,i,a){for(var s=n;s<=r;s++){var l=e.def.nodes[s];11&l.flags&&li(e,l,t,o,i,a),s+=l.childCount}}function si(e,t,n,r,o,i){for(var a=e;a&&!Qo(a);)a=a.parent;for(var s=a.parent,l=Zo(a),c=l.nodeIndex+1,u=l.nodeIndex+l.childCount,d=c;d<=u;d++){var p=s.def.nodes[d];p.ngContentIndex===t&&li(s,p,n,r,o,i),d+=p.childCount}if(!s.parent){var f=e.root.projectableNodes[t];if(f)for(d=0;d<f.length;d++)ci(e,f[d],n,r,o,i)}}function li(e,t,n,r,o,i){if(8&t.flags)si(e,t.ngContent.index,n,r,o,i);else{var a=Ko(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&ci(e,a,n,r,o,i),32&t.bindingFlags)ci(xo(e,t.nodeIndex).componentView,a,n,r,o,i)}else ci(e,a,n,r,o,i);if(16777216&t.flags)for(var s=xo(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)ii(s[l],n,r,o,i);1&t.flags&&!t.element.name&&ai(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function ci(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var ui=/^:([^:]+):(.+)$/;function di(e){if(":"===e[0]){var t=e.match(ui);return[t[1],t[2]]}return["",e]}function pi(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function fi(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+mi(t[r+1]);return n+t[2*e]}function hi(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b){switch(e){case 1:return t+mi(n)+r;case 2:return t+mi(n)+r+mi(o)+i;case 3:return t+mi(n)+r+mi(o)+i+mi(a)+s;case 4:return t+mi(n)+r+mi(o)+i+mi(a)+s+mi(l)+c;case 5:return t+mi(n)+r+mi(o)+i+mi(a)+s+mi(l)+c+mi(u)+d;case 6:return t+mi(n)+r+mi(o)+i+mi(a)+s+mi(l)+c+mi(u)+d+mi(p)+f;case 7:return t+mi(n)+r+mi(o)+i+mi(a)+s+mi(l)+c+mi(u)+d+mi(p)+f+mi(h)+m;case 8:return t+mi(n)+r+mi(o)+i+mi(a)+s+mi(l)+c+mi(u)+d+mi(p)+f+mi(h)+m+mi(g)+y;case 9:return t+mi(n)+r+mi(o)+i+mi(a)+s+mi(l)+c+mi(u)+d+mi(p)+f+mi(h)+m+mi(g)+y+mi(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function mi(e){return null!=e?e.toString():""}var gi=[],yi={};function vi(e,t,n,r,o,i){e|=1;var a=ei(t),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?oi(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||No},provider:null,text:null,query:null,ngContent:null}}function bi(e,t,n,o,i,a,s,l,c,u,d,p){var f;void 0===s&&(s=[]),u||(u=No);var h=ei(n),m=h.matchedQueries,g=h.references,y=h.matchedQueryIds,v=null,b=null;a&&(v=(f=Object(r.__read)(di(a),2))[0],b=f[1]),l=l||[];for(var _=new Array(l.length),w=0;w<l.length;w++){var C=Object(r.__read)(l[w],3),S=C[0],E=C[1],x=C[2],k=Object(r.__read)(di(E),2),O=k[0],T=k[1],A=void 0,P=void 0;switch(15&S){case 4:P=x;break;case 1:case 8:A=x}_[w]={flags:S,ns:O,name:T,nonMinifiedName:T,securityContext:A,suffix:P}}c=c||[];var R=new Array(c.length);for(w=0;w<c.length;w++){var I=Object(r.__read)(c[w],2),M=I[0],N=I[1];R[w]={type:0,target:M,eventName:N,propName:null}}var D=(s=s||[]).map((function(e){var t=Object(r.__read)(e,2),n=t[0],o=t[1],i=Object(r.__read)(di(n),2);return[i[0],i[1],o]}));return p=Uo(p),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:y,references:g,ngContentIndex:o,childCount:i,bindings:_,bindingFlags:pi(_),outputs:R,element:{ns:v,name:b,attrs:D,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:u||No},provider:null,text:null,query:null,ngContent:null}}function _i(e,t,n){var o,i=n.element,a=e.root.selectorOrNode,s=e.renderer;if(e.parent||!a){o=i.name?s.createElement(i.name,i.ns):s.createComment("");var l=ni(e,t,n);l&&s.appendChild(l,o)}else o=s.selectRootElement(a);if(i.attrs)for(var c=0;c<i.attrs.length;c++){var u=Object(r.__read)(i.attrs[c],3),d=u[0],p=u[1],f=u[2];s.setAttribute(o,p,f,d)}return o}function wi(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Ci(e,n.nodeIndex,$o(i.target,i.eventName)),s=i.target,l=e;"component"===i.target&&(s=null,l=t);var c=l.renderer.listen(s||r,i.eventName,a);e.disposables[n.outputIndex+o]=c}}function Ci(e,t,n){return function(r){return Wo(e,t,n,r)}}function Si(e,t,n,r){if(!Vo(e,t,n,r))return!1;var o=t.bindings[n],i=xo(e,t.nodeIndex),a=i.renderElement,s=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;var l=e.renderer;null!=i?l.setAttribute(n,o,s,r):l.removeAttribute(n,o,r)}(e,o,a,o.ns,s,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(yo.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var s=e.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(e,o,a,s,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,s,r)}return!0}var Ei=new Object,xi=jo(le),ki=jo(ae),Oi=jo(Yt);function Ti(e,t,n,r){return n=X(n),{index:-1,deps:ti(r,q(t)),flags:e,token:t,value:n}}function Ai(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===st&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[jo(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}function Pi(e,t,n){void 0===n&&(n=le.THROW_IF_NOT_FOUND);var r,o,i=Se(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var a=t.tokenKey;switch(a){case xi:case ki:case Oi:return e}var s=e._def.providersByKey[a];if(s){var l=e._providers[s.index];return void 0===l&&(l=e._providers[s.index]=Ri(e,s)),l===Ei?void 0:l}if(t.token.ngInjectableDef&&(r=e,null!=(o=t.token.ngInjectableDef).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(r,o.providedIn)||"root"===o.providedIn&&r._def.isRoot))){var c=t.token.ngInjectableDef,u=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:c.factory,deps:[],index:u,token:t.token},e._providers[u]=Ei,e._providers[u]=Ri(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Se(i)}}function Ri(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var o=n.length;switch(o){case 0:return new t;case 1:return new t(Pi(e,n[0]));case 2:return new t(Pi(e,n[0]),Pi(e,n[1]));case 3:return new t(Pi(e,n[0]),Pi(e,n[1]),Pi(e,n[2]));default:for(var i=new Array(o),a=0;a<o;a++)i[a]=Pi(e,n[a]);return new(t.bind.apply(t,Object(r.__spread)([void 0],i)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var o=n.length;switch(o){case 0:return t();case 1:return t(Pi(e,n[0]));case 2:return t(Pi(e,n[0]),Pi(e,n[1]));case 3:return t(Pi(e,n[0]),Pi(e,n[1]),Pi(e,n[2]));default:for(var i=Array(o),a=0;a<o;a++)i[a]=Pi(e,n[a]);return t.apply(void 0,Object(r.__spread)(i))}}(e,t.value,t.deps);break;case 2048:n=Pi(e,t.deps[0]);break;case 256:n=t.value}return n===Ei||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Ei:n}function Ii(e,t,n,r){var o=t.viewContainer._embeddedViews;null==n&&(n=o.length),r.viewContainerParent=e,ji(o,n,r),function(e,t){var n=Yo(t);if(!n||n===e||16&t.state)return;t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;var n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Po.dirtyParentQueries(r),Ni(t,n>0?o[n-1]:null,r)}function Mi(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Li(n,t),Po.dirtyParentQueries(r),Di(r),r}function Ni(e,t,n){var r=t?Ko(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);ii(n,2,o,i,void 0)}function Di(e){ii(e,3,null,null,void 0)}function ji(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Li(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Bi=new Object;function Fi(e,t,n,r,o,i){return new Hi(e,t,n,r,o,i)}function Ui(e){return e.viewDefFactory}var Hi=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t){var r=t[n];e.push({propName:n,templateName:r})}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs){var n=this._outputs[t];e.push({propName:t,templateName:n})}return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=oi(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Po.createRootView(e,t||[],n,o,r,Bi),s=ko(a,i).instance;return n&&a.renderer.setAttribute(xo(a,0).renderElement,"ng-version",je.full),new Vi(a,new Wi(a),s)},t}(Bt),Vi=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Vn(xo(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new $i(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Lt);function zi(e,t,n){return new qi(e,t,n)}var qi=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Vn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new $i(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Zo(e),e=e.parent;return e?new $i(e,t):new $i(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Mi(this._data,e);Po.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Wi(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Wt||(o=i.get(Yt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e,r=n._view;return Ii(this._view,this._data,t,r),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(e._view);return n=this._data,r=s,o=t,i=n.viewContainer._embeddedViews,a=i[r],Li(i,r),null==o&&(o=i.length),ji(i,o,a),Po.dirtyParentQueries(a),Di(a),Ni(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Mi(this._data,e);t&&Po.destroyView(t)},e.prototype.detach=function(e){var t=Mi(this._data,e);return t?new Wi(t):null},e}();function Gi(e){return new Wi(e)}var Wi=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return ii(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){qo(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Po.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Po.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Po.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Di(this._view),Po.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Yi(e,t){return new Zi(e,t)}var Zi=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new Wi(Po.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Vn(xo(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Xn);function Ki(e,t){return new $i(e,t)}var $i=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){void 0===t&&(t=le.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Po.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:jo(e)},t)},e}();function Qi(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=xo(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Eo(e,n.nodeIndex).renderText;if(20240&n.flags)return ko(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Xi(e){return new Ji(e.renderer)}var Ji=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(r.__read)(di(t),2),o=n[0],i=n[1],a=this.delegate.createElement(i,o);return e&&this.delegate.appendChild(e,a),a},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var o=Object(r.__read)(di(t),2),i=o[0],a=o[1];null!=n?this.delegate.setAttribute(e,a,n,i):this.delegate.removeAttribute(e,a,i)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function ea(e,t,n,r){return new ta(e,t,n,r)}var ta=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Ri(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=le.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),Pi(this,{token:e,tokenKey:jo(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(qt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+q(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++){if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==Ei){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}}(this),this._destroyListeners.forEach((function(e){return e()}))},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),na=jo(Bn),ra=jo(Hn),oa=jo(Vn),ia=jo(Jn),aa=jo(Xn),sa=jo(er),la=jo(le),ca=jo(ae);function ua(e,t,n,o,i,a,s,l){var c=[];if(s)for(var u in s){var d=Object(r.__read)(s[u],2),p=d[0],f=d[1];c[p]={flags:8,name:u,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var h=[];if(l)for(var m in l)h.push({type:1,propName:m,target:null,eventName:l[m]});return fa(e,t|=16384,n,o,i,i,a,c,h)}function da(e,t,n){return fa(-1,e|=16,null,0,t,t,n)}function pa(e,t,n,r,o){return fa(-1,e,t,0,n,r,o)}function fa(e,t,n,r,o,i,a,s,l){var c=ei(n),u=c.matchedQueries,d=c.references,p=c.matchedQueryIds;l||(l=[]),s||(s=[]),i=X(i);var f=ti(a,q(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:p,references:d,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:pi(s),outputs:l,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}function ha(e,t){return va(e,t)}function ma(e,t){for(var n=e;n.parent&&!Qo(n);)n=n.parent;return ba(n.parent,Zo(n),!0,t.provider.value,t.provider.deps)}function ga(e,t){var n=(32768&t.flags)>0,r=ba(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(var o=0;o<t.outputs.length;o++){var i=t.outputs[o],a=r[i.propName].subscribe(ya(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+o]=a.unsubscribe.bind(a)}return r}function ya(e,t,n){return function(r){return Wo(e,t,n,r)}}function va(e,t){var n=(8192&t.flags)>0,o=t.provider;switch(201347067&t.flags){case 512:return ba(e,t.parent,n,o.value,o.deps);case 1024:return function(e,t,n,o,i){var a=i.length;switch(a){case 0:return o();case 1:return o(Ca(e,t,n,i[0]));case 2:return o(Ca(e,t,n,i[0]),Ca(e,t,n,i[1]));case 3:return o(Ca(e,t,n,i[0]),Ca(e,t,n,i[1]),Ca(e,t,n,i[2]));default:for(var s=Array(a),l=0;l<a;l++)s[l]=Ca(e,t,n,i[l]);return o.apply(void 0,Object(r.__spread)(s))}}(e,t.parent,n,o.value,o.deps);case 2048:return Ca(e,t.parent,n,o.deps[0]);case 256:return o.value}}function ba(e,t,n,o,i){var a=i.length;switch(a){case 0:return new o;case 1:return new o(Ca(e,t,n,i[0]));case 2:return new o(Ca(e,t,n,i[0]),Ca(e,t,n,i[1]));case 3:return new o(Ca(e,t,n,i[0]),Ca(e,t,n,i[1]),Ca(e,t,n,i[2]));default:for(var s=new Array(a),l=0;l<a;l++)s[l]=Ca(e,t,n,i[l]);return new(o.bind.apply(o,Object(r.__spread)([void 0],s)))}}var _a,wa={};function Ca(e,t,n,r,o){if(void 0===o&&(o=le.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===sa&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case na:return Xi(Sa(s,t,n));case ra:return Sa(s,t,n).renderer;case oa:return new Vn(xo(s,t.nodeIndex).renderElement);case ia:return xo(s,t.nodeIndex).viewContainer;case aa:if(t.element.template)return xo(s,t.nodeIndex).template;break;case sa:return Gi(Sa(s,t,n));case la:case ca:return Ki(s,t);default:var l=(n?t.element.allProviders:t.element.publicProviders)[a];if(l){var c=ko(s,l.nodeIndex);return c||(c={instance:va(s,l)},s.nodes[l.nodeIndex]=c),c.instance}}n=Qo(s),t=Zo(s),s=s.parent,4&r.flags&&(s=null)}var u=i.root.injector.get(r.token,wa);return u!==wa||o===wa?u:i.root.ngModule.injector.get(r.token,o)}function Sa(e,t,n){var r;if(n)r=xo(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Qo(r);)r=r.parent;return r}function Ea(e,t,n,r,o,i){if(32768&n.flags){var a=xo(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}var s=n.bindings[r].name;if(t.instance[s]=o,524288&n.flags){i=i||{};var l=fr.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new hr(l,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function xa(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&Oa(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=ka(e,a,t,r)),a=a.parent}}function ka(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&Oa(e,o,i.flags&n,r++),o+=i.childCount}return r}function Oa(e,t,n,r){var o=ko(e,t);if(o){var i=o.instance;i&&(Po.setCurrentNode(e,t),1048576&n&&So(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&So(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Ta(e,t,n){var r=[];for(var o in n){var i=n[o];r.push({propName:o,bindingType:i})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Jo(t),bindings:r},ngContent:null}}function Aa(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Xo(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++){67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&To(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&To(e,o).setDirty(),o+=i.childCount}}function Pa(e,t){var n=To(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=Ra(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=ko(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Ra(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,s=!1,l=0;l<a.length;l++){var c=a[l],u=void 0;switch(c.bindingType){case 0:u=n.first;break;case 1:u=n,s=!0}r[c.propName]=u}s&&n.notifyOnChanges()}}function Ra(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],s=a.matchedQueries[r.id];if(null!=s&&o.push(Ia(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=xo(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Ra(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var c=l.viewContainer._embeddedViews,u=0;u<c.length;u++){var d=c[u],p=Yo(d);p&&p===l&&Ra(d,0,d.def.nodes.length-1,r,o)}var f=l.template._projectedViews;if(f)for(u=0;u<f.length;u++){var h=f[u];Ra(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Ia(e,t,n){if(null!=n)switch(n){case 1:return xo(e,t.nodeIndex).renderElement;case 0:return new Vn(xo(e,t.nodeIndex).renderElement);case 2:return xo(e,t.nodeIndex).template;case 3:return xo(e,t.nodeIndex).viewContainer;case 4:return ko(e,t.nodeIndex).instance}}function Ma(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Na(e,t,n){var r=ni(e,t,n);r&&si(e,n.ngContent.index,1,r,null,void 0)}function Da(e,t){return Ba(128,e,new Array(t+1))}function ja(e,t){return Ba(32,e,new Array(t))}function La(e,t){for(var n=Object.keys(t),r=n.length,o=new Array(r),i=0;i<r;i++){var a=n[i];o[t[a]]=a}return Ba(64,e,o)}function Ba(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:pi(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Fa(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ua(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=ni(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ha(e,t){return(null!=e?e.toString():"")+t.suffix}function Va(e,t,n,r){for(var o=0,i=0,a=0,s=0,l=0,c=null,u=null,d=!1,p=!1,f=null,h=0;h<t.length;h++){var m=t[h];if(m.nodeIndex=h,m.parent=c,m.bindingIndex=o,m.outputIndex=i,m.renderParent=u,a|=m.flags,l|=m.matchedQueryIds,m.element){var g=m.element;g.publicProviders=c?c.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(qa(c,m,t.length),o+=m.bindings.length,i+=m.outputs.length,!u&&3&m.flags&&(f=m),20224&m.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var y=0!=(8192&m.flags),v=0!=(32768&m.flags);!y||v?c.element.publicProviders[jo(m.provider.token)]=m:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[jo(m.provider.token)]=m),v&&(c.element.componentProvider=m)}if(c?(c.childFlags|=m.flags,c.directChildFlags|=m.flags,c.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(c.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,m.childCount>0)c=m,za(m)||(u=m);else for(;c&&h===c.nodeIndex+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),u=(c=b)&&za(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||No,updateRenderer:r||No,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function za(e){return 0!=(1&e.flags)&&null===e.element.name}function qa(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Ga(e,t,n,r){var o=Za(e.root,e.renderer,e,t,n);return Ka(o,e.component,r),$a(o),o}function Wa(e,t,n){var r=Za(e,e.renderer,null,null,t);return Ka(r,n,n),$a(r),r}function Ya(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Za(e.root,o,e,t.element.componentProvider,n)}function Za(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Ka(e,t,n){e.component=t,e.context=n}function $a(e){var t;if(Qo(e)){var n=e.parentNodeDef;t=xo(e.parent,n.parent.nodeIndex).renderElement}for(var r=e.def,o=e.nodes,i=0;i<r.nodes.length;i++){var a=r.nodes[i];Po.setCurrentNode(e,i);var s=void 0;switch(201347067&a.flags){case 1:var l=_i(e,t,a),c=void 0;if(33554432&a.flags){var u=oi(a.element.componentView);c=Po.createComponentView(e,a,u,l)}wi(e,c,a,l),s={renderElement:l,componentView:c,viewContainer:null,template:a.element.template?Yi(e,a):void 0},16777216&a.flags&&(s.viewContainer=zi(e,a,s));break;case 2:s=Ua(e,t,a);break;case 512:case 1024:case 2048:case 256:if(!((s=o[i])||4096&a.flags))s={instance:ha(e,a)};break;case 16:s={instance:ma(e,a)};break;case 16384:if(!(s=o[i]))s={instance:ga(e,a)};if(32768&a.flags)Ka(xo(e,a.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new Yn;break;case 8:Na(e,t,a),s=void 0}o[i]=s}os(e,_a.CreateViewNodes),ls(e,201326592,268435456,0)}function Qa(e){es(e),Po.updateDirectives(e,1),is(e,_a.CheckNoChanges),Po.updateRenderer(e,1),os(e,_a.CheckNoChanges),e.state&=-97}function Xa(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Co(e,0,256),es(e),Po.updateDirectives(e,0),is(e,_a.CheckAndUpdate),ls(e,67108864,536870912,0);var t=Co(e,256,512);xa(e,2097152|(t?1048576:0)),Po.updateRenderer(e,0),os(e,_a.CheckAndUpdate),ls(e,134217728,536870912,0),xa(e,8388608|((t=Co(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Co(e,768,1024)}function Ja(e,t,n,o,i,a,s,l,c,u,d,p,f){return 0===n?function(e,t,n,r,o,i,a,s,l,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,s,l,c,u,d){var p=t.bindings.length,f=!1;return p>0&&Si(e,t,0,n)&&(f=!0),p>1&&Si(e,t,1,r)&&(f=!0),p>2&&Si(e,t,2,o)&&(f=!0),p>3&&Si(e,t,3,i)&&(f=!0),p>4&&Si(e,t,4,a)&&(f=!0),p>5&&Si(e,t,5,s)&&(f=!0),p>6&&Si(e,t,6,l)&&(f=!0),p>7&&Si(e,t,7,c)&&(f=!0),p>8&&Si(e,t,8,u)&&(f=!0),p>9&&Si(e,t,9,d)&&(f=!0),f}(e,t,n,r,o,i,a,s,l,c,u,d);case 2:return function(e,t,n,r,o,i,a,s,l,c,u,d){var p=!1,f=t.bindings,h=f.length;if(h>0&&Vo(e,t,0,n)&&(p=!0),h>1&&Vo(e,t,1,r)&&(p=!0),h>2&&Vo(e,t,2,o)&&(p=!0),h>3&&Vo(e,t,3,i)&&(p=!0),h>4&&Vo(e,t,4,a)&&(p=!0),h>5&&Vo(e,t,5,s)&&(p=!0),h>6&&Vo(e,t,6,l)&&(p=!0),h>7&&Vo(e,t,7,c)&&(p=!0),h>8&&Vo(e,t,8,u)&&(p=!0),h>9&&Vo(e,t,9,d)&&(p=!0),p){var m=t.text.prefix;h>0&&(m+=Ha(n,f[0])),h>1&&(m+=Ha(r,f[1])),h>2&&(m+=Ha(o,f[2])),h>3&&(m+=Ha(i,f[3])),h>4&&(m+=Ha(a,f[4])),h>5&&(m+=Ha(s,f[5])),h>6&&(m+=Ha(l,f[6])),h>7&&(m+=Ha(c,f[7])),h>8&&(m+=Ha(u,f[8])),h>9&&(m+=Ha(d,f[9]));var g=Eo(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return p}(e,t,n,r,o,i,a,s,l,c,u,d);case 16384:return function(e,t,n,r,o,i,a,s,l,c,u,d){var p=ko(e,t.nodeIndex),f=p.instance,h=!1,m=void 0,g=t.bindings.length;return g>0&&Ho(e,t,0,n)&&(h=!0,m=Ea(e,p,t,0,n,m)),g>1&&Ho(e,t,1,r)&&(h=!0,m=Ea(e,p,t,1,r,m)),g>2&&Ho(e,t,2,o)&&(h=!0,m=Ea(e,p,t,2,o,m)),g>3&&Ho(e,t,3,i)&&(h=!0,m=Ea(e,p,t,3,i,m)),g>4&&Ho(e,t,4,a)&&(h=!0,m=Ea(e,p,t,4,a,m)),g>5&&Ho(e,t,5,s)&&(h=!0,m=Ea(e,p,t,5,s,m)),g>6&&Ho(e,t,6,l)&&(h=!0,m=Ea(e,p,t,6,l,m)),g>7&&Ho(e,t,7,c)&&(h=!0,m=Ea(e,p,t,7,c,m)),g>8&&Ho(e,t,8,u)&&(h=!0,m=Ea(e,p,t,8,u,m)),g>9&&Ho(e,t,9,d)&&(h=!0,m=Ea(e,p,t,9,d,m)),m&&f.ngOnChanges(m),65536&t.flags&&So(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,o,i,a,s,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,l,c,u,d){var p=t.bindings,f=!1,h=p.length;if(h>0&&Vo(e,t,0,n)&&(f=!0),h>1&&Vo(e,t,1,r)&&(f=!0),h>2&&Vo(e,t,2,o)&&(f=!0),h>3&&Vo(e,t,3,i)&&(f=!0),h>4&&Vo(e,t,4,a)&&(f=!0),h>5&&Vo(e,t,5,s)&&(f=!0),h>6&&Vo(e,t,6,l)&&(f=!0),h>7&&Vo(e,t,7,c)&&(f=!0),h>8&&Vo(e,t,8,u)&&(f=!0),h>9&&Vo(e,t,9,d)&&(f=!0),f){var m=Oo(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(p.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=a),h>5&&(g[5]=s),h>6&&(g[6]=l),h>7&&(g[7]=c),h>8&&(g[8]=u),h>9&&(g[9]=d);break;case 64:g={},h>0&&(g[p[0].name]=n),h>1&&(g[p[1].name]=r),h>2&&(g[p[2].name]=o),h>3&&(g[p[3].name]=i),h>4&&(g[p[4].name]=a),h>5&&(g[p[5].name]=s),h>6&&(g[p[6].name]=l),h>7&&(g[p[7].name]=c),h>8&&(g[p[8].name]=u),h>9&&(g[p[9].name]=d);break;case 128:var y=n;switch(h){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,s);break;case 7:g=y.transform(r,o,i,a,s,l);break;case 8:g=y.transform(r,o,i,a,s,l,c);break;case 9:g=y.transform(r,o,i,a,s,l,c,u);break;case 10:g=y.transform(r,o,i,a,s,l,c,u,d)}}m.value=g}return f}(e,t,n,r,o,i,a,s,l,c,u,d);default:throw"unreachable"}}(e,t,o,i,a,s,l,c,u,d,p,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)Si(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Vo(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Ha(n[i],r[i]);a=t.text.prefix+a;var s=Eo(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=ko(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s<n.length;s++)Ho(e,t,s,n[s])&&(i=!0,a=Ea(e,r,t,s,n[s],a));return a&&o.ngOnChanges(a),65536&t.flags&&So(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var o=t.bindings,i=!1,a=0;a<n.length;a++)Vo(e,t,a,n[a])&&(i=!0);if(i){var s=Oo(e,t.nodeIndex),l=void 0;switch(201347067&t.flags){case 32:l=n;break;case 64:l={};for(a=0;a<n.length;a++)l[o[a].name]=n[a];break;case 128:var c=n[0],u=n.slice(1);l=c.transform.apply(c,Object(r.__spread)(u))}s.value=l}return i}(e,t,n);default:throw"unreachable"}}(e,t,o)}function es(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=xo(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Go(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ts(e,t,n,r,o,i,a,s,l,c,u,d,p){return 0===n?function(e,t,n,r,o,i,a,s,l,c,u,d){var p=t.bindings.length;p>0&&zo(e,t,0,n);p>1&&zo(e,t,1,r);p>2&&zo(e,t,2,o);p>3&&zo(e,t,3,i);p>4&&zo(e,t,4,a);p>5&&zo(e,t,5,s);p>6&&zo(e,t,6,l);p>7&&zo(e,t,7,c);p>8&&zo(e,t,8,u);p>9&&zo(e,t,9,d)}(e,t,r,o,i,a,s,l,c,u,d,p):function(e,t,n){for(var r=0;r<n.length;r++)zo(e,t,r,n[r])}(e,t,r),!1}function ns(e,t){if(To(e,t.nodeIndex).dirty)throw Ro(Po.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function rs(e){if(!(128&e.state)){if(is(e,_a.Destroy),os(e,_a.Destroy),xa(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Yo(e);if(t){var n=t.template._projectedViews;n&&(Li(n,n.indexOf(e)),Po.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(xo(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Eo(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&To(e,n).destroy()}}(e),Qo(e)&&e.renderer.destroy(),e.state|=128}}function os(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?as(xo(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function is(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=xo(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)as(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function as(e,t){var n=e.state;switch(t){case _a.CheckNoChanges:0==(128&n)&&(12==(12&n)?Qa(e):64&n&&ss(e,_a.CheckNoChangesProjectedViews));break;case _a.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Qa(e):64&n&&ss(e,t));break;case _a.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Xa(e):64&n&&ss(e,_a.CheckAndUpdateProjectedViews));break;case _a.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Xa(e):64&n&&ss(e,t));break;case _a.Destroy:rs(e);break;case _a.CreateViewNodes:$a(e)}}function ss(e,t){is(e,t),os(e,t)}function ls(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Po.setCurrentNode(e,a.nodeIndex),r){case 0:Pa(e,a);break;case 1:ns(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}!function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(_a||(_a={}));var cs=!1;function us(){if(!cs){cs=!0;var e=En()?{setCurrentNode:Ms,createRootView:ps,createEmbeddedView:hs,createComponentView:ms,createNgModuleRef:gs,overrideProvider:Es,overrideComponentView:xs,clearOverrides:ks,checkAndUpdateView:Ps,checkNoChangesView:Rs,destroyView:Is,createDebugContext:function(e,t){return new qs(e,t)},handleEvent:Ns,updateDirectives:Ds,updateRenderer:js}:{setCurrentNode:function(){},createRootView:ds,createEmbeddedView:Ga,createComponentView:Ya,createNgModuleRef:ea,overrideProvider:No,overrideComponentView:No,clearOverrides:No,checkAndUpdateView:Xa,checkNoChangesView:Qa,destroyView:rs,createDebugContext:function(e,t){return new qs(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Ts:As,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Ts:As,e)}};Po.setCurrentNode=e.setCurrentNode,Po.createRootView=e.createRootView,Po.createEmbeddedView=e.createEmbeddedView,Po.createComponentView=e.createComponentView,Po.createNgModuleRef=e.createNgModuleRef,Po.overrideProvider=e.overrideProvider,Po.overrideComponentView=e.overrideComponentView,Po.clearOverrides=e.clearOverrides,Po.checkAndUpdateView=e.checkAndUpdateView,Po.checkNoChangesView=e.checkNoChangesView,Po.destroyView=e.destroyView,Po.resolveDep=Ca,Po.createDebugContext=e.createDebugContext,Po.handleEvent=e.handleEvent,Po.updateDirectives=e.updateDirectives,Po.updateRenderer=e.updateRenderer,Po.dirtyParentQueries=Aa}}function ds(e,t,n,r,o,i){var a=o.injector.get(Un);return Wa(fs(e,o,a,t,n),r,i)}function ps(e,t,n,r,o,i){var a=o.injector.get(Un),s=fs(e,o,new Ks(a),t,n),l=Os(r);return Ys(ys.create,Wa,null,[s,l,i])}function fs(e,t,n,r,o){var i=t.injector.get(wo),a=t.injector.get(Ue),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:a}}function hs(e,t,n,r){var o=Os(n);return Ys(ys.create,Ga,null,[e,t,o,r])}function ms(e,t,n,r){var o=Ss.get(t.element.componentProvider.provider.token);return n=o||Os(n),Ys(ys.create,Ya,null,[e,t,n,r])}function gs(e,t,n,r){return ea(e,t,n,function(e){var t=function(e){var t=!1,n=!1;if(0===ws.size)return{hasOverrides:t,hasDeprecatedOverrides:n};return e.providers.forEach((function(e){var r=ws.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((function(e){Cs.forEach((function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)}))})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasOverrides,r=t.hasDeprecatedOverrides;if(!n)return e;return function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=ws.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=ti(o.deps),n.value=o.value)}if(Cs.size>0){var i=new Set(e.modules);Cs.forEach((function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:ti(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[jo(n)]=o}}))}}(e=e.factory((function(){return No}))),e}(r))}var ys,vs,bs,_s,ws=new Map,Cs=new Map,Ss=new Map;function Es(e){ws.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&Cs.set(e.token,e)}function xs(e,t){var n=oi(Ui(t)),r=oi(n.nodes[0].element.componentView);Ss.set(e,r)}function ks(){ws.clear(),Cs.clear(),Ss.clear()}function Os(e){if(0===ws.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&ws.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((function(){return No}));for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=ws.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=ti(i.deps),o.value=i.value)}}}}function Ts(e,t,n,r,o,i,a,s,l,c,u,d,p){var f=e.def.nodes[t];return Ja(e,f,n,r,o,i,a,s,l,c,u,d,p),224&f.flags?Oo(e,t).value:void 0}function As(e,t,n,r,o,i,a,s,l,c,u,d,p){var f=e.def.nodes[t];return ts(e,f,n,r,o,i,a,s,l,c,u,d,p),224&f.flags?Oo(e,t).value:void 0}function Ps(e){return Ys(ys.detectChanges,Xa,null,[e])}function Rs(e){return Ys(ys.checkNoChanges,Qa,null,[e])}function Is(e){return Ys(ys.destroy,rs,null,[e])}function Ms(e,t){bs=e,_s=t}function Ns(e,t,n,r){return Ms(e,t),Ys(ys.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ds(e,t){if(128&e.state)throw Mo(ys[vs]);return Ms(e,Vs(e,0)),e.def.updateDirectives((function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];0===t?Ls(e,a,r,o):Bs(e,a,r,o);16384&a.flags&&Ms(e,Vs(e,n));return 224&a.flags?Oo(e,a.nodeIndex).value:void 0}),e)}function js(e,t){if(128&e.state)throw Mo(ys[vs]);return Ms(e,zs(e,0)),e.def.updateRenderer((function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];0===t?Ls(e,a,r,o):Bs(e,a,r,o);3&a.flags&&Ms(e,zs(e,n));return 224&a.flags?Oo(e,a.nodeIndex).value:void 0}),e)}function Ls(e,t,n,o){if(Ja.apply(void 0,Object(r.__spread)([e,t,n],o))){var i=1===n?o[0]:o;if(16384&t.flags){for(var a={},s=0;s<t.bindings.length;s++){var l=t.bindings[s],c=i[s];8&l.flags&&(a[Fs(l.nonMinifiedName)]=Hs(c))}var u=t.parent,d=xo(e,u.nodeIndex).renderElement;if(u.element.name)for(var p in a){null!=(c=a[p])?e.renderer.setAttribute(d,p,c):e.renderer.removeAttribute(d,p)}else e.renderer.setValue(d,"bindings="+JSON.stringify(a,null,2))}}}function Bs(e,t,n,o){ts.apply(void 0,Object(r.__spread)([e,t,n],o))}function Fs(e){var t;return t=e.replace(/[$@]/g,"_"),"ng-reflect-"+(e=t.replace(Us,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(ys||(ys={}));var Us=/([A-Z])/g;function Hs(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Vs(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function zs(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var qs=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Zo(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return xo(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Ki(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Ws(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Ws(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!Qo(e);)e=e.parent;if(e.parent)return xo(e.parent,Zo(e).nodeIndex);return null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Ko(this.view,this.nodeDef):Ko(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var a=Gs(t,n),s=-1,l=function(){var t;return++s===a?(t=e.error).bind.apply(t,Object(r.__spread)([e],o)):No};t.factory(l),s<a&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,Object(r.__spread)(o)))},e}();function Gs(e,t){for(var n=-1,r=0;r<=t;r++){3&e.nodes[r].flags&&n++}return n}function Ws(e,t,n){for(var r in t.references)n[r]=Ia(e,t,t.references[r])}function Ys(e,t,n,r){var o=vs,i=bs,a=_s;try{vs=e;var s=t.apply(n,r);return bs=i,_s=a,vs=o,s}catch(e){if(function(e){return!!Le(e)}(e)||!bs)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Io(e,t),e}(e,Zs())}}function Zs(){return bs?new qs(bs,_s):null}var Ks=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new $s(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),$s=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){cr.delete(e.nativeNode)}(ur(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=Zs();if(r){var o=new ir(n,null,r);o.name=e,dr(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=Zs();return n&&dr(new or(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=Zs();return n&&dr(new or(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=ur(e),r=ur(t);n&&r&&n instanceof ir&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=ur(e),o=ur(t),i=ur(n);r&&o&&r instanceof ir&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=ur(e),r=ur(t);n&&r&&n instanceof ir&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=Zs();return n&&dr(new ir(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=ur(e);if(o&&o instanceof ir){var i=r?r+":"+t:t;o.attributes[i]=n}this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=ur(e);if(r&&r instanceof ir){var o=n?n+":"+t:t;r.attributes[o]=null}this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=ur(e);n&&n instanceof ir&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=ur(e);n&&n instanceof ir&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=ur(e);o&&o instanceof ir&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=ur(e);r&&r instanceof ir&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=ur(e);r&&r instanceof ir&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=ur(e);r&&r.listeners.push(new rr(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function Qs(e){return us(),Po.overrideProvider(e)}function Xs(e,t){return us(),Po.overrideComponentView(e,t)}function Js(){return us(),Po.clearOverrides()}function el(e,t,n){return new tl(e,t,n)}var tl=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return Object(r.__extends)(t,e),t.prototype.create=function(e){us();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(oi(this._ngModuleDefFactory));return Po.createNgModuleRef(this.moduleType,e||le.NULL,this._bootstrapComponents,t)},t}(Zt);function nl(e,t,n){e!=t&&sl(n)}function rl(e,t,n){e==t&&sl(n)}function ol(e,t,n){e>=t&&sl(n)}function il(e,t){null==e&&sl(t)}function al(e,t){void 0===t&&(t="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),e.ngComponentDef||sl(t)}function sl(e){throw new Error("ASSERTION ERROR: "+e)}function ll(e,t,n,r){ngDevMode&&nl(r.firstTemplatePass,!0,"Should only be called on first template pass"),t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHooks||(r.initHooks=[])).push(e,n),(r.checkHooks||(r.checkHooks=[])).push(e,n))}function cl(e,t){if(t.firstTemplatePass)for(var n=e>>14,r=n+(4095&e),o=n;o<r;o++){var i=t.directives[o];ul(i,t,o),dl(i,t,o),pl(i,t,o)}}function ul(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function dl(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function pl(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function fl(e,t,n){16&e[4]&&(hl(e[7],t.initHooks,t.checkHooks,n),e[4]&=-17)}function hl(e,t,n,r){var o=r?t:n;o&&ml(e,o)}function ml(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}"undefined"==typeof ngDevMode&&function(e){function t(){e.ngDevMode={firstTemplatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0}}t()}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||void 0!==e&&e);function gl(e){throw new Error("Multiple components match node with tagname "+e.tagName)}var yl;function vl(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(yl||(yl={}));var bl={createRenderer:function(e,t){return document}};function _l(e,t){il(e,"should be called with a node"),nl(e.tNode.type,t,"should be a "+Cl(t))}function wl(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];il(e,"should be called with a node");var r=t.some((function(t){return e.tNode.type===t}));nl(r,!0,"Should be one of "+t.map(Cl).join(", "))}function Cl(e){return 1==e?"Projection":0==e?"Container":2==e?"View":3==e?"Element":"<unknown>"}function Sl(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function El(e,t){return ngDevMode&&xl(e+16,t),t[e+16]}function xl(e,t){ol(e,t?t.length:0,"index expected to be a valid data index")}function kl(e){return Array.isArray(e)?e[0]:e}function Ol(e){if(2===e.tNode.type){var t=e.data;return t[2]?t[2][5]:null}return e.tNode.next?e.view[e.tNode.next.index]:null}function Tl(e){return e.tNode.child?kl((2===e.tNode.type?e.data:e.view)[e.tNode.child.index]):null}function Al(e){if(-1===e.tNode.index&&2===e.tNode.type){var t=e.data[14];return-1===t?null:e.view[t].dynamicLContainerNode}var n=e.tNode.parent;return kl(n?e.view[n.index]:e.view[5])}var Pl=[];function Rl(e,t,n,r,o,i){for(var a=e,s=-1;a;){var l=null,c=o?o.native:null,u=a.tNode.type;if(3===u)Ml(n,r,c,a.native,i),a.dynamicLContainerNode&&Ml(n,r,c,a.dynamicLContainerNode.native,i);else if(0===u){Ml(n,r,c,a.native,i);var d=a,p=d.dynamicLContainerNode?d.dynamicLContainerNode.data:d.data;o&&(p[5]=o),(l=p[4].length?Tl(p[4][0]):null)&&(i=d.dynamicLContainerNode?d.dynamicLContainerNode.native:d.native)}else if(1===u){var f=Il(a.view),h=f.tNode.projection[a.tNode.projection];Pl[++s]=a,l=h?f.data[1][h.index]:null}else l=Tl(a);if(null===l)for(null===(l=Ol(a))&&8192&a.tNode.flags&&(l=Ol(Pl[s--]));a&&!l;){if(null===(a=Al(a))||a===t)return null;a.tNode.next||0!==u||(i=a.native),l=Ol(a)}a=l}}function Il(e){for(var t=e[5];2===t.tNode.type;)ngDevMode&&il(e[1],"lViewData.parent"),t=(e=e[1])[5];return ngDevMode&&_l(t,3),ngDevMode&&il(t.data,"node.data"),t}function Ml(e,t,n,r,o){0===e?vl(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?vl(t)?t.removeChild(n,r):n.removeChild(r):2===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(r))}function Nl(e,t){return vl(t)?t.createText(Sl(e)):t.createTextNode(Sl(e))}function Dl(e,t,n,r){ngDevMode&&_l(e,0),ngDevMode&&_l(t,2);var o=e.data[5];(o?o.native:null)&&Rl(Tl(t),t,n?0:1,e.view[11],o,r)}function jl(e,t,n){var r=e.data[4],o=t.data;return n>0&&(r[n-1].data[2]=o),n<r.length?(o[2]=r[n].data,r.splice(n,0,t)):(r.push(t),o[2]=null),-1===t.tNode.index&&(o[14]=e.tNode.parent.index,t.view=e.view),o[3]&&o[3].insertView(n),o[4]|=8,t}function Ll(e,t){var n=e.data[4],r=n[t];t>0&&(n[t-1].data[2]=r.data[2]),n.splice(t,1),e.tNode.detached||Dl(e,r,!1);var o=r.data;return o[3]&&o[3].removeView(),o[14]=-1,r.view=null,r.data[4]&=-9,r}function Bl(e,t){var n=e.data[4][t];return Ll(e,t),Ul(n.data),n}function Fl(e){if(-1===e[0].childIndex)return null;var t=e[e[0].childIndex];return t.data?t.data:t.dynamicLContainerNode.data}function Ul(e){var t=e[11];vl(t)&&t.destroyNode&&Rl(e[5],e[5],2,t),function(e){if(-1===e[0].childIndex)return Vl(e);for(var t=Fl(e);t;){var n=null;if(t.length>=16){var r=t;r[0].childIndex>-1&&(n=Fl(r))}else{var o=t;o[4].length&&(n=o[4][0].data)}if(null==n){for(;t&&!t[2]&&t!==e;)Vl(t),t=Hl(t,e);Vl(t||e),n=t&&t[2]}t=n}}(e),e[4]|=32}function Hl(e,t){var n;return(n=e[5])&&2===n.tNode.type?Al(n).data:e[1]===t?null:e[1]}function Vl(e){if(e[0]){var t=e;!function(e){var t=e[0].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)if("string"==typeof t[n]){var r=kl(e[t[n+1]]).native,o=e[8][t[n+2]];r.removeEventListener(t[n],o,t[n+3]),n+=2}else if("number"==typeof t[n]){(0,e[8][t[n]])()}else{var i=e[8][t[n+1]];t[n].call(i)}e[8]=null}}(t),function(e){var t,n=e[0];null!=n&&null!=(t=n.destroyHooks)&&ml(e[7],t)}(t),function(e){var t=e[0]&&e[0].pipeDestroyHooks;t&&ml(e,t)}(t),-1===t[0].id&&vl(t[11])&&(ngDevMode&&ngDevMode.rendererDestroy++,t[11].destroy())}}function zl(e,t){if(ngDevMode&&wl(e,3,2),3===e.tNode.type)return e.view!==t||null===e.data;ngDevMode&&_l(e,2);var n=Al(e);return null!=n&&(ngDevMode&&_l(n,0),null!=n.data[5])}function ql(e,t,n){if(null!==t&&zl(e,n)){var r=n[11];if(2===e.tNode.type){var o=Al(e),i=o.data[5],a=o.data[4],s=a.indexOf(e),l=s+1<a.length?Tl(a[s+1]).native:o.native;vl(r)?r.insertBefore(i.native,t,l):i.native.insertBefore(t,l,!0)}else vl(r)?r.appendChild(e.native,t):e.native.appendChild(t);return!0}return!1}function Gl(e,t,n){if(null!==t&&zl(e,n)){var r=n[11];return vl(r)?r.removeChild(e.native,t):e.native.removeChild(t),!0}return!1}function Wl(e,t,n,r){if(ql(t,e.native,n),0===e.tNode.type){var o=e.data;o[5]=r;for(var i=o[4],a=0;a<i.length;a++)Dl(e,i[a],!0,e.native)}e.dynamicLContainerNode&&(e.dynamicLContainerNode.data[5]=r,ql(t,e.dynamicLContainerNode.native,n))}function Yl(e,t){ngDevMode&&il(t[0],"Selector should have a tag name");for(var n,r,o,i,a,s=4,l=e.attrs,c=l?l.indexOf(1):-1,u=!1,d=0;d<t.length;d++){var p=t[d];if("number"!=typeof p){if(!u)if(4&s){if(s=2|1&s,""!==p&&p!==e.tagName){if(Zl(s))return!1;u=!0}}else{var f=Kl(8&s?"class":p,l);if(-1===f){if(Zl(s))return!1;u=!0;continue}var h=8&s?p:t[++d];if(""!==h){var m=void 0,g=l[f];if(c>-1&&f>c?m="":(ngDevMode&&rl(g,0,"We do not match directives on namespaced attributes"),m=l[f+1]),8&s&&(r=h,o=void 0,i=void 0,a=void 0,o=(n=m).length,i=n.indexOf(r),a=i+r.length,-1===i||i>0&&" "!==n[i-1]||a<o&&" "!==n[a])||2&s&&h!==m){if(Zl(s))return!1;u=!0}}}}else{if(!u&&!Zl(s)&&!Zl(p))return!1;if(u&&Zl(p))continue;u=!1,s=p|1&s}}return Zl(s)||u}function Zl(e){return 0==(1&e)}function Kl(e,t){if(null===t)return-1;for(var n=!1,r=0;r<t.length;){var o=t[r];if(o===e)return r;0===o?r+=4:(1===o&&(n=!0),r+=n?1:2)}return-1}function $l(e,t){for(var n=0;n<t.length;n++)if(Yl(e,t[n]))return!0;return!1}function Ql(e,t,n){for(var r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf("ngProjectAs");if(0==(1&n))return t[n+1]}return null}(e),o=0;o<t.length;o++)if(r===n[o]||null===r&&$l(e,t[o]))return o+1;return 0}var Xl=[],Jl={};function ec(e,t,n){var r=6+3*t,o=vc(e,r),i=yc(e,r);if(kc(i,o,n)){mc(e,r,n);var a=dc(i),s=vc(e,a);if(!s||s!==n){var l=!1,c=!0,u=2==(2&i);!Ec(n,u)&&Ec(s,u)&&(l=!0,c=!1),oc(e,a,l),oc(e,r,c),_c(e,!0)}}}function tc(e,t,n,r){if(function(e){return ic(e,3)}(e)){for(var o=e[0].native,i=pc(e),a=fc(e),s=6;s<e.length;s+=3)if(ic(e,s)){var l=bc(e,s),c=vc(e,s),u=yc(e,s),d=!!(2&u),p=c;if(s<i&&!Ec(p,d))p=vc(e,dc(u));if(Ec(p,d)||(p=cc(e,u)),d)rc(o,l,!!p,t,r);else nc(o,l,p,t,4&u?a:null,n);oc(e,s,!1)}_c(e,!1)}}function nc(e,t,n,r,o,i){n=o&&n?o(t,n):n,i?i[t]=n:n?(ngDevMode&&ngDevMode.rendererSetStyle++,vl(r)?r.setStyle(e,t,n,yl.DashCase):e.style.setProperty(t,n)):(ngDevMode&&ngDevMode.rendererRemoveStyle++,vl(r)?r.removeStyle(e,t,yl.DashCase):e.style.removeProperty(t))}function rc(e,t,n,r,o){o?o[t]=n:n?(ngDevMode&&ngDevMode.rendererAddClass++,vl(r)?r.addClass(e,t):e.classList.add(t)):(ngDevMode&&ngDevMode.rendererRemoveClass++,vl(r)?r.removeClass(e,t):e.classList.remove(t))}function oc(e,t,n){var r=t>=6?t+0:t;n?e[r]|=1:e[r]&=-2}function ic(e,t){return 1==(1&e[t>=6?t+0:t])}function ac(e,t){return 2==(2&e[t>=6?t+0:t])}function sc(e,t){return 4==(4&e[t>=6?t+0:t])}function lc(e,t,n){return 7&e|t<<3|n<<17}function cc(e,t){var n=uc(t);return e[2][n]}function uc(e){return e>>3&16383}function dc(e){var t=e>>17&16383;return t>=6?t:-1}function pc(e){return dc(e[3])}function fc(e){return e[1]}function hc(e,t,n){e[t+1]=n}function mc(e,t,n){e[t+2]=n}function gc(e,t,n){e[3===t?t:t+0]=n}function yc(e,t){return e[3===t?t:t+0]}function vc(e,t){return e[t+2]}function bc(e,t){return e[t+1]}function _c(e,t){oc(e,3,t)}function wc(e,t,n){for(var r=(n||0)+1;r<e.length;r+=3){if(e[r]==t)return r-1}return-1}function Cc(e,t,n){var r=vc(e,t),o=bc(e,t),i=yc(e,t),a=i,s=yc(e,n),l=dc(a);l>=0&&gc(e,l,lc(c=yc(e,l),uc(c),n));var c,u=dc(s);u>=0&&gc(e,u,lc(c=yc(e,u),uc(c),t));mc(e,t,vc(e,n)),hc(e,t,bc(e,n)),gc(e,t,yc(e,n)),mc(e,n,r),hc(e,n,o),gc(e,n,i)}function Sc(e,t,n,r,o,i){var a=t<e.length;e.splice(t,0,1|o|(n?2:0),r,i),a&&function(e,t){for(var n=t;n<e.length;n+=3){var r=dc(yc(e,n));if(r>0){var o=uc(yc(e,r));gc(e,r,lc((ic(e,r)?1:0)|(ac(e,r)?2:0)|(sc(e,r)?4:0),o,n))}}}(e,t+3)}function Ec(e,t){return t?!!e:null!==e}function xc(e,t,n){return t?2:n&&n(e)?4:0}function kc(e,t,n){return!(2&e)&&(t&&n)&&4&e?t.toString()!==n.toString():t!==n}var Oc,Tc,Ac,Pc,Rc,Ic,Mc,Nc,Dc,jc=Promise.resolve(null),Lc=[0,0],Bc=new Array(16).fill(null),Fc=null;function Uc(){return Oc}function Hc(){return Nc&&Nc[12]}function Vc(){return Nc}function zc(){return Ac}function qc(e){return e[8]||(e[8]=[])}function Gc(e){return e[0].cleanup||(e[0].cleanup=[])}var Wc=!1,Yc=!0;function Zc(e,t){var n=Nc;return Dc=e&&e[7],Rc=e&&e[0],Mc=e&&1==(1&e[4]),Yc=e&&Rc.firstTemplatePass,Oc=e&&e[11],null!=t&&(Ac=t,Pc=!0),Nc=e,Ic=e&&e[3],n}function Kc(e,t){t||(Wc||hl(Dc,Rc.viewHooks,Rc.viewCheckHooks,Mc),Nc[4]&=-6),Nc[4]|=16,Nc[6]=-1,Zc(e,null)}function $c(){Wc||fl(Nc,Rc,Mc),function(e){for(var t=Fl(e);null!==t;t=t[2])if(t.length<16&&null===t[0])for(var n=t,r=0;r<n[4].length;r++){var o=n[4][r],i=o.data;ngDevMode&&il(i[0],"TView must be allocated"),ru(o,i[0],i[9],2)}}(Nc),Wc||hl(Dc,Rc.contentHooks,Rc.contentCheckHooks,Mc),Rc.firstTemplatePass=Yc=!1,Qc(Rc.hostBindings),function(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.directives[n].contentQueriesRefresh(n,e.contentQueries[t+1])}}(Rc),function(e){if(null!=e)for(var t=0;t<e.length;t+=2)Ku(e[t],e[t+1])}(Rc.components)}function Qc(e){if(null!=e)for(var t=Rc.directives,n=0;n<e.length;n+=2){var r=e[n],o=t[r];o.hostBindings&&o.hostBindings(r,e[n+1])}}function Xc(){Wc||(fl(Nc,Rc,Mc),hl(Dc,Rc.contentHooks,Rc.contentCheckHooks,Mc))}function Jc(e,t,n,r,o){return[t,Nc,null,null,25|r,null,-1,null,null,n,Nc&&Nc[10],e,o||null,null,-1,null]}function eu(e,t,n,r,o,i){return{native:r,view:t,nodeInjector:n?n.nodeInjector:null,data:o,queries:i,tNode:null,dynamicLContainerNode:null}}function tu(e,t,n,r,o,i){var a,s,l=Pc?Ac:Ac&&Al(Ac),c=l&&l.view===Nc?l.tNode:null,u=(Pc?Ic:Ac&&Ac.queries)||l&&l.queries&&l.queries.child(),d=null!=i,p=eu(0,Nc,l,n,d?i:null,u);if(-1===e||2===t)p.tNode=(i?i[0].node:null)||Ru(t,e,null,null,c,null);else{var f=e+16;ngDevMode&&Ld(f);var h=Rc.data;if(Nc[f]=p,f>=h.length){var m=h[f]=Ru(t,f,r,o,c,null);if(!Pc&&Ac){var g=Ac.tNode;g.next=m,g.dynamicContainerNode&&(g.dynamicContainerNode.next=m)}}p.tNode=h[f],Pc&&(Ic=null,(null==Ac.tNode.child&&Ac.view===Nc||2===Ac.tNode.type)&&(Ac.tNode.child=p.tNode))}if(2==(2&t)&&d){var y=i;ngDevMode&&(a=y[5],s="lViewData[HOST_NODE] should not have been initialized",null!=a&&sl(s)),y[5]=p,Yc&&(y[0].node=p.tNode)}return Ac=p,Pc=!0,p}function nu(){Pc=!1,Ac=null}function ru(e,t,n,r){var o,i=Pc,a=Ac;if(null==e.data[1]&&e.data[9]&&!t.template)nd(e.data[9]);else try{Pc=!0,Ac=null,o=Zc(e.data,e),cu(),t.template(r,n),2&r?$c():e.data[0].firstTemplatePass=Yc=!1}finally{Kc(o,1==(1&r)),Pc=i,Ac=a}return e}function ou(e,t,n,r){var o=Zc(t,e);try{Tc.begin&&Tc.begin(),r?(cu(),r(iu(t),n),$c()):(Xc(),Qc(Lc),Ku(0,16))}finally{Tc.end&&Tc.end(),Kc(o)}}function iu(e){return 1&e[4]?3:2}var au=null;function su(){au="http://www.w3.org/2000/svg/"}function lu(){au="http://www.w3.org/1998/MathML/"}function cu(){au=null}function uu(e,t,n,r){du(e,t,n,r),Tu()}function du(e,t,n,r){ngDevMode&&nl(Nc[6],-1,"elements should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateElement++;var o=pu(t);ngDevMode&&jd(e-1);var i=tu(e,3,o,t,n||null,null);return Fc=i,n&&wu(o,n),ql(Al(i),o,Nc),fu(r),o}function pu(e,t){var n=t||Oc;return vl(n)?n.createElement(e,au):null===au?n.createElement(e):n.createElementNS(au,e)}function fu(e){var t=Ac;Yc?(ngDevMode&&ngDevMode.firstTemplatePass++,function(e,t,n){var r=n?{"":-1}:null,o=t.currentMatches=hu(e);if(o)for(var i=0;i<o.length;i+=2){var a=o[i],s=i+1;mu(a,s,o,t),vu(o[s],a,r)}r&&function(e,t,n){if(t)for(var r=e.localNames=[],o=0;o<t.length;o+=2){var i=n[t[o+1]];if(null==i)throw new Error("Export of name '"+t[o+1]+"' not found!");r.push(t[o],i)}}(e,n,r)}(t.tNode,Rc,e||null)):function(){var e=Ac.tNode,t=4095&e.flags;if(t>0)for(var n=e.flags>>14,r=n+t,o=Rc.directives,i=n;i<r;i++){var a=o[i];Hu(i,a.factory(),a)}}(),function(){var e=Ac.tNode.localNames;if(e)for(var t=0;t<e.length;t+=2){var n=e[t+1],r=-1===n?Ac.native:Dc[n];Nc.push(r)}}()}function hu(e){var t=Rc.directiveRegistry,n=null;if(t)for(var r=0;r<t.length;r++){var o=t[r];$l(e,o.selectors)&&(o.template&&(4096&e.flags&&gl(e),e.flags=4096),o.diPublic&&o.diPublic(o),(n||(n=[])).push(o,null))}return n}function mu(e,t,n,r){if(null===n[t]){n[t]="__CIRCULAR__";var o=e.factory();return(r.directives||(r.directives=[])).push(e),Hu(n[t]=r.directives.length-1,o,e)}return"__CIRCULAR__"===n[t]&&function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(e.type),null}function gu(e){Yc&&(Rc.components||(Rc.components=[])).push(e,Nc.length-1)}function yu(e,t,n){e&&null!=e.changeDetectorRef&&e.changeDetectorRef._setComponentContext(n,t)}function vu(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function bu(e,t,n,r){return e.ngPrivateData||(e.ngPrivateData=_u(-1,e,t,n,r))}function _u(e,t,n,r,o){return ngDevMode&&ngDevMode.tView++,{id:e,template:t,viewQuery:o,node:null,data:Bc.slice(),childIndex:-1,bindingStartIndex:-1,directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,hostBindings:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof n?n():n,pipeRegistry:"function"==typeof r?r():r,currentMatches:null}}function wu(e,t){for(var n=vl(Oc),r=0;r<t.length;){var o=t[r];if(1===o)break;if("ngProjectAs"===o)r+=2;else if(ngDevMode&&ngDevMode.rendererSetAttribute++,0===o){var i=t[r+1],a=t[r+2],s=t[r+3];n?Oc.setAttribute(e,a,s,i):e.setAttributeNS(i,a,s),r+=4}else{s=t[r+1];n?Oc.setAttribute(e,o,s):e.setAttribute(o,s),r+=2}}}function Cu(e,t){return new Error("Renderer: "+e+" ["+Sl(t)+"]")}function Su(e,t){ngDevMode&&jd(-1),Tc=e;var n=e.createRenderer(null,null),r="string"==typeof t?vl(n)?n.selectRootElement(t):n.querySelector(t):t;if(ngDevMode&&!r)throw Cu("string"==typeof t?"Host node with selector not found:":"Host node is required:",t);return r}function Eu(e,t,n,r){nu();var o=tu(0,3,t,null,null,Jc(Oc,bu(n.template,n.directiveDefs,n.pipeDefs,n.viewQuery),null,n.onPush?4:2,r));return Yc&&(o.tNode.flags=4096,n.diPublic&&n.diPublic(n),Rc.directives=[n]),o}function xu(e,t,n){void 0===n&&(n=!1),ngDevMode&&Nd();var r=Ac,o=r.native;if(ngDevMode&&ngDevMode.rendererAddEventListener++,vl(Oc)){var i=function(e,t){return function(n){return td(e),t(n)}}(Nc,t),a=Oc.listen(o,e,i);Ou(Nc,a)}else{i=function(e,t){return function(n){td(e),!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}(Nc,t);o.addEventListener(e,i,n);var s=qc(Nc);s.push(i),Yc&&Gc(Nc).push(e,r.tNode.index,s.length-1,n)}var l=r.tNode;void 0===l.outputs&&(l.outputs=Iu(r.tNode.flags,1));var c,u=l.outputs;u&&(c=u[e])&&function(e,t){for(var n=0;n<e.length;n+=2){ngDevMode&&jd(e[n],Dc);var r=Dc[e[n]][e[n+1]].subscribe(t);ku(Nc,r,r.unsubscribe)}}(c,t)}function ku(e,t,n){e||(e=Nc),qc(e).push(t),e[0].firstTemplatePass&&Gc(e).push(n,e[8].length-1)}function Ou(e,t){qc(e).push(t),e[0].firstTemplatePass&&Gc(e).push(e[8].length-1,null)}function Tu(){Pc?Pc=!1:(ngDevMode&&Dd(),Ac=Al(Ac)),ngDevMode&&_l(Ac,3);var e=Ac.queries;e&&e.addNode(Ac),cl(Ac.tNode.flags,Rc),Fc=null}function Au(e,t,n,r){if(n!==sd){var o=kd(e);if(null==n)ngDevMode&&ngDevMode.rendererRemoveAttribute++,vl(Oc)?Oc.removeAttribute(o.native,t):o.native.removeAttribute(t);else{ngDevMode&&ngDevMode.rendererSetAttribute++;var i=null==r?Sl(n):r(n);vl(Oc)?Oc.setAttribute(o.native,t,i):o.native.setAttribute(t,i)}}}function Pu(e,t,n,r){if(n!==sd){var o=kd(e),i=o.tNode;i&&void 0===i.inputs&&(i.inputs=Iu(o.tNode.flags,0));var a,s=i&&i.inputs;if(s&&(a=s[t]))!function(e,t){for(var n=0;n<e.length;n+=2)ngDevMode&&jd(e[n],Dc),Dc[e[n]][e[n+1]]=t}(a,n),function(e){!e.data||2&e.data[4]||(e.data[4]|=4)}(o);else{n=null!=r?r(n):n;var l=o.native;ngDevMode&&ngDevMode.rendererSetProperty++,vl(Oc)?Oc.setProperty(l,t,n):l.setProperty?l.setProperty(t,n):l[t]=n}}}function Ru(e,t,n,r,o,i){return ngDevMode&&ngDevMode.tNode++,{type:e,index:t,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:o,dynamicContainerNode:null,detached:null,stylingTemplate:null,projection:null}}function Iu(e,t){var n=4095&e,r=null;if(n>0)for(var o=e>>14,i=o+n,a=0===t,s=Rc.directives,l=o;l<i;l++){var c=s[l],u=a?c.inputs:c.outputs;for(var d in u)if(u.hasOwnProperty(d)){r=r||{};var p=u[d];r.hasOwnProperty(d)?r[d].push(l,p):r[d]=[l,p]}}return r}function Mu(e,t,n){!function(e,t,n){ec(e,t+e[4],n)}(Du(e),t,!!n)}function Nu(e,t,n){var r=Fc.tNode;r.stylingTemplate||(r.stylingTemplate=function(e,t,n){var r=[null],o=[null,n||null,r,0,0,null],i={},a={},s=0;if(t)for(var l=!1,c=0;c<t.length;c++){if(1===(p=t[c]))l=!0;else{var u=p;if(l){var d=t[++c];r.push(d),i[u]=r.length-1}else s++,i[u]=0}}if(o[4]=s,e)for(l=!1,c=0;c<e.length;c++){var p;if(1===(p=e[c]))l=!0;else{var f=p;if(l){d=e[++c];r.push(d),a[f]=r.length-1}else a[f]=0}}var h=Object.keys(i),m=Object.keys(a),g=h.length,y=h.length+m.length,v=3*y*2+6;for(c=6;c<v;c++)o.push(null);var b=3*y+6;for(c=0;c<y;c++){var _=c>=g,w=(u=_?m[c-g]:h[c],_?a[u]:i[u]),C=r[w],S=3*c+b,E=3*c+6,x=xc(u,_,n||null);gc(o,E,lc(x,w,S)),hc(o,E,u),mc(o,E,null),gc(o,S,lc(x|(null!==C?1:0),w,E)),hc(o,S,u),mc(o,S,null)}return gc(o,3,lc(0,0,b)),_c(o,r.length>1),o}(e,t,n)),(t&&t.length||e&&e.length)&&ju(r.index-16)}function Du(e){var t=xd(e);if(!Array.isArray(t)){var n=t,r=n.tNode;ngDevMode&&il(r.stylingTemplate,"getStylingContext() called before elementStyling()"),t=Nc[e+16]=function(e,t){var n=t.slice();return n[0]=e,n}(n,r.stylingTemplate)}return t}function ju(e){tc(Du(e),Oc)}function Lu(e,t,n,r){var o=null;n&&(o=r?Sl(n)+r:n),ec(Du(e),t,o)}function Bu(e,t,n){!function(e,t,n){var r=Xl,o=!1,i=!1;if("string"==typeof t){var a=e[5];a&&a===t?i=!0:(e[5]=t,r=t.split(/\s+/),o=!0)}else r=t?Object.keys(t):Xl,e[5]=null;t=t||Jl;var s=n?Object.keys(n):Xl;n=n||Jl;for(var l=s.length,c=!1,u=pc(e),d=0,p=s.length+r.length;u<e.length&&d<p;){var f=d>=l;if(!i||!f){var h=f?d-l:d,m=f?r[h]:s[h],g=f?!!o||t[m]:n[m];if((x=bc(e,u))===m){var y=vc(e,u);if(kc(k=yc(e,u),y,g))mc(e,u,g),(w=cc(e,k))!==g&&(oc(e,u,!0),c=!0)}else{var v=wc(e,m,u);if(v>0){var b=vc(e,v),_=yc(e,v);if(Cc(e,u,v),b!==g){var w=cc(e,_);mc(e,u,g),w!==g&&(oc(e,u,!0),c=!0)}}else{Sc(e,u,f,m,xc(m,f,fc(e)),g),c=!0}}}u+=3,d++}for(;u<e.length;){var C=2==(2&(k=yc(e,u)));if(i&&C)break;Ec(y=vc(e,u),C)&&(oc(e,u,!0),mc(e,u,null),c=!0),u+=3}for(var S=fc(e);d<p;){var E=d>=l;if(i&&E)break;h=E?d-l:d;var x=E?r[h]:s[h],k=(y=E?!!o||t[x]:n[x],1|xc(x,E,S));e.push(k,x,y),d++,c=!0}c&&_c(e,!0)}(Du(e),t,n)}function Fu(e,t){ngDevMode&&nl(Nc[6],-1,"text nodes should be created before bindings"),ngDevMode&&ngDevMode.rendererCreateTextNode++;var n=Nl(t,Oc),r=tu(e,3,n,null,null);Pc=!1,ql(Al(r),n,Nc)}function Uu(e,t){if(t!==sd){ngDevMode&&jd(e+16);var n=kd(e);ngDevMode&&il(n,"LNode should exist"),ngDevMode&&il(n.native,"native element should exist"),ngDevMode&&ngDevMode.rendererSetText++,vl(Oc)?Oc.setValue(n.native,Sl(t)):n.native.textContent=Sl(t)}}function Hu(e,t,n){var r=Vu(e,t,n);ngDevMode&&il(Ac.tNode,"previousOrParentNode.tNode");var o,i=Ac.tNode;return n.template&&function(e,t,n){var r=bu(n.template,n.directiveDefs,n.pipeDefs,n.viewQuery),o=ed(Nc,Ac.tNode.index,Jc(Tc.createRenderer(Ac.native,n.rendererType),r,null,n.onPush?4:2,Hc()));Ac.data=o,o[5]=Ac,yu(Ac.nodeInjector,t,o),Yc&&gu(e)}(e,t,n),Yc&&(ll(e,n.onInit,n.doCheck,Rc),n.hostBindings&&(o=e,ngDevMode&&nl(Yc,!0,"Should only be called in first template pass."),(Rc.hostBindings||(Rc.hostBindings=[])).push(o,Nc.length-1-16))),i&&i.attrs&&function(e,t,n,r){var o=r.initialInputs;(void 0===o||e>=o.length)&&(o=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;var o=n.attrs,i=0;for(;i<o.length;){var a=o[i];if(1===a)break;if(0!==a){var s=t[a],l=o[i+1];if(void 0!==s)(r[e]||(r[e]=[])).push(s,l);i+=2}else i+=4}return r}(e,n,r));var i=o[e];if(i)for(var a=0;a<i.length;a+=2)t[i[a]]=i[a+1]}(e,r,n.inputs,i),n.contentQueries&&n.contentQueries(),r}function Vu(e,t,n){if(ngDevMode&&nl(Nc[6],-1,"directives should be created before any bindings"),ngDevMode&&Nd(),Object.defineProperty(t,"__ngHostLNode__",{enumerable:!1,value:Ac}),null==Dc&&(Nc[7]=Dc=[]),ngDevMode&&Ld(e,Dc),Dc[e]=t,Yc){var r=Ac.tNode.flags;0==(4095&r)?Ac.tNode.flags=e<<14|4096&r|1:(ngDevMode&&rl(4095&r,4095,"Reached the max number of directives"),Ac.tNode.flags++)}else{var o=n.diPublic;o&&o(n)}return null!=n.attributes&&3==Ac.tNode.type&&wu(Ac.native,n.attributes),t}function zu(e,t,n){ngDevMode&&il(e,"containers should have a parent");var r=zl(e,t)?e:null;return r&&2===r.tNode.type&&(r=Al(r).data[5]),[n?null:0,t,null,null,[],r]}function qu(e,t,n,r,o){ngDevMode&&nl(Nc[6],-1,"container nodes should be created before any bindings");var i=zu(Pc?Ac:Al(Ac),Nc),a=Oc.createComment(ngDevMode?"container":""),s=tu(e,0,a,n||null,r||null,i);ql(Al(s),a,Nc),Yc&&(s.tNode.tViews=t?_u(-1,t,Rc.directiveRegistry,Rc.pipeRegistry,null):[]),ed(Nc,e+16,s.data);var l=s.queries;l&&(i[3]=l.container()),fu(o),Pc=!1,ngDevMode&&_l(Ac,0),l&&l.addNode(s),cl(s.tNode.flags,Rc)}function Gu(e){Ac=kd(e),ngDevMode&&_l(Ac,0),Pc=!0,Ac.data[0]=0,Wc||fl(Nc,Rc,Mc)}function Wu(){Pc?Pc=!1:(ngDevMode&&_l(Ac,2),ngDevMode&&Dd(),Ac=Al(Ac)),ngDevMode&&_l(Ac,0);var e=Ac;ngDevMode&&_l(e,0);for(var t=e.data[0];t<e.data[4].length;)Bl(e,t)}function Yu(e){var t=Pc?Ac:Al(Ac);ngDevMode&&_l(t,0);var n=t.data,r=function(e,t,n){for(var r=e.data[4],o=t;o<r.length;o++){var i=r[o].data[0].id;if(i===n)return r[o];if(!(i<n))break;Bl(e,o)}return null}(t,n[0],e);if(r)Ac=r,ngDevMode&&_l(Ac,2),Pc=!0,Zc(r.data,r);else{var o=Jc(Oc,function(e,t){ngDevMode&&_l(t,0);var n=t.tNode.tViews;ngDevMode&&il(n,"TView expected"),ngDevMode&&nl(Array.isArray(n),!0,"TViews should be in an array"),(e>=n.length||null==n[e])&&(n[e]=_u(e,null,Rc.directiveRegistry,Rc.pipeRegistry,null));return n[e]}(e,t),null,2,Hc());n[3]&&(o[3]=n[3].createView()),Zc(o,r=tu(e,2,null,null,null,o))}return t&&(Mc&&jl(t,r,n[0]),n[0]++),iu(r.data)}function Zu(){$c(),Pc=!1,Ac=Nc[5],Kc(Nc[1]),ngDevMode&&nl(Pc,!1,"isParent"),ngDevMode&&_l(Ac,2)}function Ku(e,t){ngDevMode&&jd(t);var n=Nc[t];ngDevMode&&_l(n,3),ngDevMode&&il(n.data,"Component's host node should have an LViewData attached.");var r=n.data;$u(r)&&6&r[4]&&(ngDevMode&&jd(e,Dc),id(r,n,Dc[e]))}function $u(e){return 8==(8&e[4])}function Qu(e,t){var n=Il(Nc);if(!n.tNode.projection)for(var r=e?e.length+1:1,o=n.tNode.projection=new Array(r).fill(null),i=o.slice(),a=n.tNode.child;null!==a;){var s=e?Ql(a,e,t):0,l=a.next;i[s]?i[s].next=a:(o[s]=a,a.next=null),i[s]=a,a=l}}var Xu=[];function Ju(e,t,n){void 0===t&&(t=0);var r=tu(e,1,null,null,n||null,null);null===r.tNode.projection&&(r.tNode.projection=t),Pc=!1;var o=Al(r);if(zl(o,Nc))for(var i=Il(Nc),a=i.tNode.projection[t],s=i.view,l=-1,c=void 0,u=2===o.tNode.type?(c=Al(o))&&c.data[5]:o;a;){if(1===a.type){var d=Il(s),p=d.tNode.projection[a.projection];if(p){Xu[++l]=s[a.index],a=p,s=d.view;continue}}else{(f=s[a.index]).tNode.flags|=8192,Wl(f,o,Nc,u)}var f;if(null===a.next&&s!==i.view)a=(f=Xu[l--]).tNode,s=f.view;a=a.next}}function ed(e,t,n){return e[13]?e[13][2]=n:Yc&&(Rc.childIndex=t),e[13]=n,n}function td(e){for(var t=e;null!=t[1];)t[4]|=4,t=t[1];t[4]|=4,ngDevMode&&il(t[9],"rootContext"),function(e){if(e.clean==jc){var t;e.clean=new Promise((function(e){return t=e})),e.scheduler((function(){nd(e),t(null),e.clean=jc}))}}(t[9])}function nd(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=Fd(n);ngDevMode&&il(r.data,"Component host node should be attached to an LView"),ou(r,rd(n),n)}}function rd(e){ngDevMode&&il(e,"component");for(var t=Fd(e).view;t[1];)t=t[1];return t}function od(e){var t=Fd(e);ngDevMode&&il(t.data,"Component host node should be attached to an LViewData instance."),id(t.data,t,e)}function id(e,t,n){var r=Zc(e,t),o=e[0],i=o.template,a=o.viewQuery;try{cu(),function(e,t,n){e&&1&t&&e(1,n)}(a,e[4],n),i(iu(e),n),$c(),function(e,t){e&&e(2,t)}(a,n)}finally{Kc(r)}}function ad(e){ngDevMode&&il(e,"component"),td(Fd(e).view)}var sd={};function ld(){ngDevMode&&nl(Nc[6],-1,"Binding index should not yet be set "+Nc[6]),-1===Rc.bindingStartIndex&&(Rc.bindingStartIndex=Nc.length),Nc[6]=Rc.bindingStartIndex}function cd(e){return Td(e)?e:sd}function ud(e){Nc.length+=e,Nc.fill(sd,-e),ld()}function dd(e){var t=Nc[6];return Nc[6]=Rc.bindingStartIndex-e,t}function pd(e){Nc[6]=e}function fd(e){ngDevMode&&ol(2,e.length,"should have at least 3 values"),ngDevMode&&nl(e.length%2,1,"should have an odd number of values");for(var t=!1,n=1;n<e.length;n+=2)Td(e[n])&&(t=!0);if(!t)return sd;var r=e[0];for(n=1;n<e.length;n+=2)r+=Sl(e[n])+e[n+1];return r}function hd(e,t,n){return Td(t)?e+Sl(t)+n:sd}function md(e,t,n,r,o){return Pd(t,r)?e+Sl(t)+n+Sl(r)+o:sd}function gd(e,t,n,r,o,i,a){var s=Pd(t,r);return(s=Td(i)||s)?e+Sl(t)+n+Sl(r)+o+Sl(i)+a:sd}function yd(e,t,n,r,o,i,a,s,l){return Rd(t,r,i,s)?e+Sl(t)+n+Sl(r)+o+Sl(i)+a+Sl(s)+l:sd}function vd(e,t,n,r,o,i,a,s,l,c,u){var d=Rd(t,r,i,s);return(d=Td(c)||d)?e+Sl(t)+n+Sl(r)+o+Sl(i)+a+Sl(s)+l+Sl(c)+u:sd}function bd(e,t,n,r,o,i,a,s,l,c,u,d,p){var f=Rd(t,r,i,s);return(f=Pd(c,d)||f)?e+Sl(t)+n+Sl(r)+o+Sl(i)+a+Sl(s)+l+Sl(c)+u+Sl(d)+p:sd}function _d(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h){var m=Rd(t,r,i,s);return m=Pd(c,d)||m,(m=Td(f)||m)?e+Sl(t)+n+Sl(r)+o+Sl(i)+a+Sl(s)+l+Sl(c)+u+Sl(d)+p+Sl(f)+h:sd}function wd(e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g){var y=Rd(t,r,i,s);return(y=Rd(c,d,f,m)||y)?e+Sl(t)+n+Sl(r)+o+Sl(i)+a+Sl(s)+l+Sl(c)+u+Sl(d)+p+Sl(f)+h+Sl(m)+g:sd}function Cd(e,t){var n=e+16;n>=Rc.data.length&&(Rc.data[n]=null),Nc[n]=t}function Sd(e){return ngDevMode&&il(Dc,"Directives array should be defined if reading a dir."),ngDevMode&&jd(e,Dc),Dc[e]}function Ed(e){return ngDevMode&&il(Nc[15],"Content QueryList array should be defined if reading a query."),ngDevMode&&jd(e,Nc[15]),Nc[15][e]}function xd(e){return El(e,Nc)}function kd(e){return function(e,t){return kl(El(e,t))}(e,Nc)}function Od(){return ngDevMode&&jd(Nc[6]),ngDevMode&&rl(Nc[Nc[6]],sd,"Stored value should never be NO_CHANGE."),Nc[Nc[6]++]}function Td(e){ngDevMode&&rl(e,sd,"Incoming value should never be NO_CHANGE."),-1===Nc[6]&&ld();var t=Nc[6];if(t>=Nc.length)Nc[Nc[6]++]=e;else{if(!function(e,t){return!(e!=e&&t!=t)&&e!==t}(Nc[t],e))return Nc[6]++,!1;!function(e,t,n,r){if(t){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+r+"'.";throw e&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(o)}}(Mc,Wc,Nc[t],e),Nc[Nc[6]++]=e}return!0}function Ad(e){return Td(e),e}function Pd(e,t){var n=Td(e);return Td(t)||n}function Rd(e,t,n,r){var o=Pd(e,t);return Pd(n,r)||o}function Id(){return Rc}function Md(e){var t=(Nc[15]||(Nc[15]=[])).push(e);if(Yc){var n=Dc.length-1,r=Rc.contentQueries||(Rc.contentQueries=[]);n!==(Rc.contentQueries.length?Rc.contentQueries[Rc.contentQueries.length-2]:-1)&&r.push(n,t-1)}}function Nd(){nl(Pc,!0,"previousOrParentNode should be a parent")}function Dd(){il(Al(Ac),"previousOrParentNode should have a parent")}function jd(e,t){null==t&&(t=Nc),xl(e,t||Nc)}function Ld(e,t){null==t&&(t=Nc),nl(t.length,e,"index "+e+" expected to be at the end of arr (length "+t.length+")")}function Bd(e,t){if(Yc)for(var n=Rc.bindingStartIndex-e,r=0;r<t;r++)nl(Nc[n+r],sd,"The reserved slots should be set to `NO_CHANGE` on first template pass")}function Fd(e){ngDevMode&&il(e,"expecting component got null");var t=e.__ngHostLNode__;return ngDevMode&&il(e,"object is not a component"),t}var Ud=jc,Hd=Lc;function Vd(e,t){void 0===t&&(t={}),ngDevMode&&al(e);var n,r=t.rendererFactory||bl,o=t.sanitizer||null,i=e.ngComponentDef;i.type!=e&&(i.type=e);var a=i.selectors[0][0],s=Su(r,t.host||a),l=zd(t.scheduler||requestAnimationFrame.bind(window)),c=Jc(r.createRenderer(s,i.rendererType),_u(-1,null,null,null,null),l,i.onPush?4:2);c[10]=t.injector||null;var u,d=Zc(c,null);try{r.begin&&r.begin(),u=Eu(0,s,i,o),l.components.push(n=Vu(0,i.factory(),i)),yu(u.nodeInjector,n,u.data),t.hostFeatures&&t.hostFeatures.forEach((function(e){return e(n,i)})),Xc(),Qc(Hd),id(u.data,u,n)}finally{Kc(d),r.end&&r.end()}return n}function zd(e){return{components:[],scheduler:e,clean:Ud}}function qd(e){return function(e){var t=rd(e)[9];return ngDevMode&&il(t,"rootContext"),t}(e).clean}function Gd(e){var t=e.type,n=e.pipes,r=e.directives,o={},i={type:t,diPublic:null,factory:e.factory,template:e.template||null,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,contentQueriesRefresh:e.contentQueriesRefresh||null,attributes:e.attributes||null,inputs:$d(e.inputs,o),declaredInputs:o,outputs:$d(e.outputs),rendererType:Uo(e.rendererType)||null,exportAs:e.exportAs||null,onInit:t.prototype.ngOnInit||null,doCheck:t.prototype.ngDoCheck||null,afterContentInit:t.prototype.ngAfterContentInit||null,afterContentChecked:t.prototype.ngAfterContentChecked||null,afterViewInit:t.prototype.ngAfterViewInit||null,afterViewChecked:t.prototype.ngAfterViewChecked||null,onDestroy:t.prototype.ngOnDestroy||null,onPush:e.changeDetection===g.OnPush,directiveDefs:r?function(){return("function"==typeof r?r():r).map(Wd)}:null,pipeDefs:n?function(){return("function"==typeof n?n():n).map(Yd)}:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null},a=e.features;return a&&a.forEach((function(e){return e(i)})),i}function Wd(e){var t=e.ngComponentDef||e.ngDirectiveDef;if(ngDevMode&&!t)throw new Error("'"+e.name+"' is neither 'ComponentType' or 'DirectiveType'.");return t}function Yd(e){var t=e.ngPipeDef;if(ngDevMode&&!t)throw new Error("'"+e.name+"' is not a 'PipeType'.");return t}function Zd(e){return{type:e.type,bootstrap:e.bootstrap||[],declarations:e.declarations||[],imports:e.imports||[],exports:e.exports||[],transitiveCompileScopes:null}}var Kd={};function $d(e,t){if(null==e)return Kd;var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[i]=r)}return n}var Qd=Gd;function Xd(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Jd(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ep(e){for(var t,n=(t=e.type,Object.getPrototypeOf(t.prototype).constructor),o=void 0,i=function(){var t,i;if(function(e){return"function"==typeof e.template}(e))o=n.ngComponentDef||n.ngDirectiveDef;else{if(n.ngComponentDef)throw new Error("Directives cannot inherit Components");o=n.ngDirectiveDef}if(o){Jd(e.inputs,o.inputs),Jd(e.declaredInputs,o.declaredInputs),Jd(e.outputs,o.outputs);var a=e.hostBindings,s=o.hostBindings;s&&(e.hostBindings=a?function(e,t){s(e,t),a(e,t)}:s),e.afterContentChecked=e.afterContentChecked||o.afterContentChecked,e.afterContentInit=e.afterContentInit||o.afterContentInit,e.afterViewChecked=e.afterViewChecked||o.afterViewChecked,e.afterViewInit=e.afterViewInit||o.afterViewInit,e.doCheck=e.doCheck||o.doCheck,e.onDestroy=e.onDestroy||o.onDestroy,e.onInit=e.onInit||o.onInit;var l=o.features;if(l)try{for(var c=Object(r.__values)(l),u=c.next();!u.done;u=c.next()){var d=u.value;d&&d!==ep&&d(e)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(t)throw t.error}}}else{var p=n.prototype;p&&(e.afterContentChecked=e.afterContentChecked||p.afterContentChecked,e.afterContentInit=e.afterContentInit||p.afterContentInit,e.afterViewChecked=e.afterViewChecked||p.afterViewChecked,e.afterViewInit=e.afterViewInit||p.afterViewInit,e.doCheck=e.doCheck||p.doCheck,e.onDestroy=e.onDestroy||p.onDestroy,e.onInit=e.onInit||p.onInit)}n=Object.getPrototypeOf(n)};n&&!o;)i()}function tp(e){var t=e.declaredInputs,n=e.type.prototype,r=function(e){if(t.hasOwnProperty(e)){for(var r=t[e],o="__ngOnChanges_"+r,i=void 0,a=n;!i&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)i=Object.getOwnPropertyDescriptor(a,r),a=Object.getPrototypeOf(a);var s=i&&i.get,l=i&&i.set;Object.defineProperty(n,r,{get:s||(l?void 0:function(){return this[o]}),set:function(t){var n=this.__ngOnChanges_;n||(n={},Object.defineProperty(this,"__ngOnChanges_",{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[e];i?i.currentValue=t:n[e]=new hr(this[o],t,r),r?Object.defineProperty(this,o,{value:t,writable:!0}):this[o]=t,l&&l.call(this,t)}})}};for(var o in t)r(o);null!=e.onInit&&(e.onInit=np(e.onInit)),e.doCheck=np(e.doCheck)}function np(e){return function(){var t=this.__ngOnChanges_;null!=t&&(this.ngOnChanges(t),this.__ngOnChanges_=null),e&&e.apply(this)}}var rp=function(){function e(e,t){this._view=e,this._appRef=null,this._viewContainerRef=null,this._lViewNode=null,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[4])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewContainerRef&&$u(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Ul(this._view)},e.prototype.onDestroy=function(e){Ou(this._view,e)},e.prototype.markForCheck=function(){td(this._view)},e.prototype.detach=function(){this._view[4]&=-9},e.prototype.reattach=function(){this._view[4]|=8},e.prototype.detectChanges=function(){od(this.context)},e.prototype.checkNoChanges=function(){!function(e){Wc=!0;try{od(e)}finally{Wc=!1}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e}(),op=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.resolveComponentFactory=function(e){ngDevMode&&al(e);var t=e.ngComponentDef;return new lp(t)},t}(qt);function ip(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t.push({propName:r,templateName:n})}return t}var ap=new l("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return zd(Ee(sp))}}),sp=new l("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return requestAnimationFrame.bind(window)}}),lp=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ip(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ip(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var o=void 0===n,i=r?r.injector.get(Un):bl,a=o?pu(this.selector,i.createRenderer(null,this.componentDef.rendererType)):Su(i,n),s=(this.componentDef.selectors[0][0],r&&!o?r.injector.get(ap):zd(requestAnimationFrame.bind(window))),l=Jc(i.createRenderer(a,this.componentDef.rendererType),_u(-1,null,null,null,null),s,this.componentDef.onPush?4:2);l[10]=r&&r.injector||null;var c,u,d=Zc(l,null);try{if(i.begin&&i.begin(),u=Eu(0,a,this.componentDef),s.components.push(c=Vu(0,this.componentDef.factory(),this.componentDef)),yu(u.nodeInjector,c,u.data),function(e,t){var n=Fd(e),r=n.view[0];ll(0,t.onInit,t.doCheck,r),cl(n.tNode.flags,r)}(c,this.componentDef),t)for(var p=0,f=u.tNode.projection=[],h=0;h<t.length;h++){for(var m=t[h],g=null,y=null,v=0;v<m.length;v++){var b=tu(++p,3,m[v],null,null);y?y.next=b.tNode:g=b.tNode,y=b.tNode}f.push(g)}ru(u,u.data[0],c,1),u.data[4]&=-2}finally{Zc(d,null),i.end&&i.end()}var _=new cp(this.componentType,c,l,e,a);return o&&(_.hostView._lViewNode.tNode.child=u.tNode),_},t}(Bt),cp=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new rp(r,n),a.hostView._lViewNode=tu(-1,2,null,null,null,r),a.injector=o,a.location=new Vn(i),a.componentType=t,a}return Object(r.__extends)(t,e),t.prototype.destroy=function(){ngDevMode&&il(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null},t.prototype.onDestroy=function(e){ngDevMode&&il(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)},t}(Lt),up=0;function dp(){return ngDevMode&&Nd(),pp(zc())}function pp(e){var t=e.nodeInjector,n=Al(e),r=n&&n.nodeInjector;return t!=r?t:e.nodeInjector={parent:r,node:e,bf0:0,bf1:0,bf2:0,bf3:0,bf4:0,bf5:0,bf6:0,bf7:0,cbf0:null==r?0:r.cbf0|r.bf0,cbf1:null==r?0:r.cbf1|r.bf1,cbf2:null==r?0:r.cbf2|r.bf2,cbf3:null==r?0:r.cbf3|r.bf3,cbf4:null==r?0:r.cbf4|r.bf4,cbf5:null==r?0:r.cbf5|r.bf5,cbf6:null==r?0:r.cbf6|r.bf6,cbf7:null==r?0:r.cbf7|r.bf7,templateRef:null,viewContainerRef:null,elementRef:null,changeDetectorRef:null}}function fp(e,t){!function(e,t){var n=t.__NG_ELEMENT_ID__;null==n&&(n=t.__NG_ELEMENT_ID__=up++);var r=n%256,o=1<<r;r<128?r<64?r<32?e.bf0|=o:e.bf1|=o:r<96?e.bf2|=o:e.bf3|=o:r<192?r<160?e.bf4|=o:e.bf5|=o:r<224?e.bf6|=o:e.bf7|=o}(e,t.type)}function hp(e){fp(dp(),e)}function mp(e,t){return void 0===t&&(t=0),Cp(dp(),e,t)}function gp(){return Op(dp())}function yp(){return Rp(dp())}function vp(){return Ap(dp())}function bp(){return wp(dp(),null)}new op;function _p(e){ngDevMode&&Nd();var t=zc();ngDevMode&&_l(t,3);var n=t.tNode;ngDevMode&&il(n,"expecting tNode");var r=n.attrs;if(r)for(var o=0;o<r.length;o+=2){var i=r[o];if(1===i)break;if(i==e)return r[o+1]}}function wp(e,t){if(e.changeDetectorRef)return e.changeDetectorRef;var n=e.node;return 4096==(4096&n.tNode.flags)?e.changeDetectorRef=new rp(n.data,t):3===n.tNode.type?e.changeDetectorRef=function(e){var t=function(e){for(;2===e.tNode.type;)e=e.view[5];return e}(e),n=t.nodeInjector,r=n&&n.changeDetectorRef;return r||new rp(t.data,t.view[7][t.tNode.flags>>14])}(n.view[5]):null}function Cp(e,t,n){void 0===n&&(n=0);var r,o="number"==typeof(r=t.__NG_ELEMENT_ID__)?r%256:null;if(null===o){var i=Se(zc().view[10]);try{return Ee(t,n)}finally{Se(i)}}else for(var a=e;a&&(a=Ep(a,o,n));){var s=a.node,l=s.tNode.flags,c=4095&l;if(0!==c)for(var u=l>>14,d=u+c,p=s.view[0].directives,f=u;f<d;f++){var h=p[f];if(h.type===t&&h.diPublic)return s.view[7][f]}var m=void 0;if(a===e&&(m=Sp(s,t)))return m;a=2&n||1&n&&!xp(a)?null:a.parent}if(8&n)return null;throw new Error("Injector: NOT_FOUND ["+Sl(t)+"]")}function Sp(e,t){var n=e.view[0].currentMatches;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(o.type===t)return mu(o,r+1,n,e.view[0])}return null}function Ep(e,t,n){for(var r=1<<t,o=4&n?e.parent:e;o;){if(((t<128?t<64?t<32?o.bf0:o.bf1:t<96?o.bf2:o.bf3:t<192?t<160?o.bf4:o.bf5:t<224?o.bf6:o.bf7)&r)===r)return o;if(2&n||1&n&&!xp(o))return null;o=(t<128?t<64?t<32?o.cbf0:o.cbf1:t<96?o.cbf2:o.cbf3:t<192?t<160?o.cbf4:o.cbf5:t<224?o.cbf6:o.cbf7)&r?o.parent:null}return null}function xp(e){return!!e.parent&&e.parent.node.view===e.node.view}var kp=function(e){this.read=e};function Op(e){return e.elementRef||(e.elementRef=new Tp(e.node.native))}var Tp=function(e){this.nativeElement=e};function Ap(e){if(!e.viewContainerRef){var t=e.node;ngDevMode&&wl(t,0,3);var n=Al(t),r=zu(n,t.view,!0),o=t.view[11].createComment(ngDevMode?"container":""),i=eu(0,t.view,n,o,r,null);ql(n,o,t.view),t.queries&&(i.queries=t.queries.container());var a=t.tNode;a.dynamicContainerNode||(a.dynamicContainerNode=Ru(0,-1,null,null,a,null)),i.tNode=a.dynamicContainerNode,t.dynamicLContainerNode=i,ed(t.view,a.index,r),e.viewContainerRef=new Pp(i)}return e.viewContainerRef}var Pp=function(){function e(e){this._lContainerNode=e,this._viewRefs=[]}return e.prototype.clear=function(){for(var e=this._lContainerNode.data;e[4].length;)this.remove(0)},e.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(e.prototype,"length",{get:function(){return this._lContainerNode.data[4].length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=this._adjustIndex(n),o=e.createEmbeddedView(t||{},this._lContainerNode,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;!o&&i&&(o=i.get(Yt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lViewNode,r=this._adjustIndex(t);jl(this._lContainerNode,n,r);var o=this._lContainerNode.data[4],i=r+1<o.length?Tl(o[r+1]).native:this._lContainerNode.native;return Dl(this._lContainerNode,n,!0,i),e.attachToViewContainerRef(this),this._viewRefs.splice(r,0,e),e},e.prototype.move=function(e,t){var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},e.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},e.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Bl(this._lContainerNode,t),this._viewRefs.splice(t,1)},e.prototype.detach=function(e){var t=this._adjustIndex(e,-1);Ll(this._lContainerNode,t);return this._viewRefs.splice(t,1)[0]||null},e.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainerNode.data[4].length+t:(ngDevMode&&(n="index must be positive",e<=-1&&sl(n),ol(e,this._lContainerNode.data[4].length+1+t,"index")),e);var n},e}();function Rp(e){if(!e.templateRef){ngDevMode&&_l(e.node,0);var t=e.node,n=t.tNode;ngDevMode&&il(n.tViews,"TView must be allocated"),e.templateRef=new Ip(Op(e),n.tViews,Uc(),t.data[3])}return e.templateRef}var Ip=function(){function e(e,t,n,r){this._tView=t,this._renderer=n,this._queries=r,this.elementRef=e}return e.prototype.createEmbeddedView=function(e,t,n){var r=function(e,t,n,r){var o=Pc,i=Ac;Pc=!0,Ac=null;var a=Jc(n,e,t,2,Hc());r&&(a[3]=r.createView());var s=tu(-1,2,null,null,null,a);return Pc=o,Ac=i,s}(this._tView,e,this._renderer,this._queries);t&&jl(t,r,n),ru(r,this._tView,e,1);var o=new rp(r.data,e);return o._lViewNode=r,o},e}();function Mp(e){e.diPublic=hp}var Np=/{\$([^}]+)}/g;function Dp(e,t,n,r,o){var i=e.split(Np),a=r?r.length+1:1,s=new Array(a).fill(void 0);return function e(t,n,r,o,i,a,s,l){var c=[],u=[],d=0,p=0,f=i&&i[t]?i[t]:null,h=a&&a[t]?a[t]:null;for(o[t]=c;n<r.length;n++){var m=r[n];if(1&n){var g=void 0;if(f&&void 0!==f[m]){g=f[m];var y=s?s.indexOf(m):-1;-1!==y&&y+1!==t?c.push(-2147483648|g):(c.push(1073741824|g),d++),u.push(m)}else if(h&&void 0!==h[m])g=h[m],c.push(1610612736|g),u.push(m);else if(c.push(-1073741824),t>0&&0===--d)break;if(void 0!==g&&g>p&&(p=g),s){var v=s.indexOf(m)+1;0!==v&&v!==t&&(n=e(v,n,r,o,i,a,s,l))}}else m&&c.push(536870912,m)}if(i){var b=i[t];if(b)for(var _=Object.keys(b),w=0;w<_.length;w++){var C=_[w];if(-1===u.indexOf(C)){var S=b[C];c.push(-536870912|S),S>p&&(p=S)}}}if(a){var E=a[t];if(E)for(_=Object.keys(E),w=0;w<_.length;w++){C=_[w];if(-1===u.indexOf(C)){S=E[C];ngDevMode&&ol(S.toString(2).length,28,"Index "+S+" is too big and will overflow"),c.push(-536870912|S),S>p&&(p=S)}}}if(0===t&&"number"==typeof l)for(w=p+1;w<=l;w++)ngDevMode&&ol(w.toString(2).length,28,"Index "+w+" is too big and will overflow"),c.push(-1610612736|w);return n}(0,0,i,s,t,n,r,o),s}function jp(e,t,n){ngDevMode&&ngDevMode.rendererMoveNode++;var r=Vc();ql(t,e.native||null,r);var o=e.view[0].firstTemplatePass;return o&&(n===t&&e.tNode!==t.tNode.child?(e.tNode.next=t.tNode.child,t.tNode.child=e.tNode):n!==t&&e.tNode!==n.tNode.next?(e.tNode.next=n.tNode.next,n.tNode.next=e.tNode):e.tNode.next=null,t.view===e.view&&(e.tNode.parent=t.tNode)),0===e.tNode.type&&e.dynamicLContainerNode?(ql(t,e.dynamicLContainerNode.native||null,r),o&&(e.tNode.dynamicContainerNode=e.dynamicLContainerNode.tNode,e.dynamicLContainerNode.tNode.parent=e.tNode),e.dynamicLContainerNode):e}function Lp(e,t){var n=Vc();if(ngDevMode&&nl(n[6],-1,"i18nApply should be called before any binding"),t){var r=Uc(),o=Al(xd(e))||zc(),i=o;nu();for(var a=0;a<t.length;a++){var s=t[a];switch(-536870912&s){case 1073741824:var l=xd(536870911&s);i=jp(l,o,i),o=l;break;case 1610612736:case-2147483648:case-1610612736:i=jp(xd(536870911&s),o,i);break;case 536870912:ngDevMode&&ngDevMode.rendererCreateTextNode++;var c=Nl(t[++a],r);i=jp(tu(n.length-16,3,c,null,null),o,i),nu();break;case-1073741824:i=o,o=Al(o);break;case-536870912:ngDevMode&&ngDevMode.rendererRemoveNode++;var u=xd(536870911&s),d=Al(u);Gl(d,u.native||null,n),0===u.tNode.type&&u.dynamicLContainerNode&&(Gl(d,u.dynamicLContainerNode.native||null,n),u.dynamicLContainerNode.tNode.detached=!0,u.dynamicLContainerNode.data[5]=null)}}}}function Bp(e,t){for(var n=e.split(Np),r=1;r<n.length;r+=2)n[r]=t[n[r]];return n}function Fp(e,t){if(!Td(t))return sd;for(var n="",r=0;r<e.length;r++)n+=1&r?Sl(t):e[r];return n}function Up(e,t,n){if(!Pd(t,n))return sd;for(var r="",o=0;o<e.length;o++){if(1&o)r+=Sl(1&e[o]?n:t);else r+=e[o]}return r}function Hp(e,t,n,r){var o=Pd(t,n);if(!(o=Td(r)||o))return sd;for(var i="",a=0;a<e.length;a++)if(1&a){var s=e[a];i+=Sl(2&s?r:1&s?n:t)}else i+=e[a];return i}function Vp(e,t,n,r,o){if(!Rd(t,n,r,o))return sd;for(var i="",a=0;a<e.length;a++)if(1&a){var s=e[a],l=1&s;i+=Sl(2&s?l?o:r:l?n:t)}else i+=e[a];return i}function zp(e,t,n,r,o,i){var a=Rd(t,n,r,o);if(!(a=Td(i)||a))return sd;for(var s="",l=0;l<e.length;l++)if(1&l){var c=e[l],u=1&c;s+=Sl(4&c?i:2&c?u?o:r:u?n:t)}else s+=e[l];return s}function qp(e,t,n,r,o,i,a){var s=Rd(t,n,r,o);if(!(s=Pd(i,a)||s))return sd;for(var l="",c=0;c<e.length;c++)if(1&c){var u=e[c],d=1&u;l+=Sl(4&u?d?a:i:2&u?d?o:r:d?n:t)}else l+=e[c];return l}function Gp(e,t,n,r,o,i,a,s){var l=Rd(t,n,r,o);if(l=Pd(i,a)||l,!(l=Td(s)||l))return sd;for(var c="",u=0;u<e.length;u++)if(1&u){var d=e[u],p=2&d,f=1&d;c+=Sl(4&d?p?s:f?a:i:p?f?o:r:f?n:t)}else c+=e[u];return c}function Wp(e,t,n,r,o,i,a,s,l){var c=Rd(t,n,r,o);if(!(c=Rd(i,a,s,l)||c))return sd;for(var u="",d=0;d<e.length;d++)if(1&d){var p=e[d],f=2&p,h=1&p;u+=Sl(4&p?f?h?l:s:h?a:i:f?h?o:r:h?n:t)}else u+=e[d];return u}function Yp(e,t){for(var n=!1,r=0;r<t.length;r++)Td(t[r])&&(n=!0);if(!n)return sd;var o="";for(r=0;r<e.length;r++)o+=1&r?Sl(t[e[r]]):e[r];return o}var Zp={provide:qt,useFactory:function(){return new op},deps:[]},Kp=function(e){function t(t,n){var r=e.call(this)||this;r._bootstrapComponents=[],r.destroyCbs=[];var o=t.ngModuleDef;ngDevMode&&il(o,"NgModule '"+q(t)+"' is not a subtype of 'NgModuleType'."),r._bootstrapComponents=o.bootstrap;var i=[Zp,{provide:Yt,useValue:r}];return r.injector=ft(t,n,i),r.instance=r.injector.get(t),r.componentFactoryResolver=new op,r}return Object(r.__extends)(t,e),t.prototype.destroy=function(){ngDevMode&&il(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null},t.prototype.onDestroy=function(e){ngDevMode&&il(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)},t}(Yt),$p=function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}return Object(r.__extends)(t,e),t.prototype.create=function(e){return new Kp(this.moduleType,e)},t}(Zt);function Qp(e,t,n){ngDevMode&&Bd(e,1);var r=dd(e),o=Mc?Ad(n?t.call(n):t()):Od();return pd(r),o}function Xp(e,t,n,r){ngDevMode&&Bd(e,2);var o=dd(e),i=Td(n)?Ad(r?t.call(r,n):t(n)):Od();return pd(o),i}function Jp(e,t,n,r,o){ngDevMode&&Bd(e,3);var i=dd(e),a=Pd(n,r)?Ad(o?t.call(o,n,r):t(n,r)):Od();return pd(i),a}function ef(e,t,n,r,o,i){ngDevMode&&Bd(e,4);var a=dd(e),s=Pd(n,r),l=Td(o)||s?Ad(i?t.call(i,n,r,o):t(n,r,o)):Od();return pd(a),l}function tf(e,t,n,r,o,i,a){ngDevMode&&Bd(e,5);var s=dd(e),l=Rd(n,r,o,i)?Ad(a?t.call(a,n,r,o,i):t(n,r,o,i)):Od();return pd(s),l}function nf(e,t,n,r,o,i,a,s){ngDevMode&&Bd(e,6);var l=dd(e),c=Rd(n,r,o,i),u=Td(a)||c?Ad(s?t.call(s,n,r,o,i,a):t(n,r,o,i,a)):Od();return pd(l),u}function rf(e,t,n,r,o,i,a,s,l){ngDevMode&&Bd(e,7);var c=dd(e),u=Rd(n,r,o,i),d=Pd(a,s)||u?Ad(l?t.call(l,n,r,o,i,a,s):t(n,r,o,i,a,s)):Od();return pd(c),d}function of(e,t,n,r,o,i,a,s,l,c){ngDevMode&&Bd(e,8);var u=dd(e),d=Rd(n,r,o,i);d=Pd(a,s)||d;var p=Td(l)||d?Ad(c?t.call(c,n,r,o,i,a,s,l):t(n,r,o,i,a,s,l)):Od();return pd(u),p}function af(e,t,n,r,o,i,a,s,l,c,u){ngDevMode&&Bd(e,9);var d=dd(e),p=Rd(n,r,o,i),f=Rd(a,s,l,c)||p?Ad(u?t.call(u,n,r,o,i,a,s,l,c):t(n,r,o,i,a,s,l,c)):Od();return pd(d),f}function sf(e,t,n,r){ngDevMode&&Bd(e,n.length+1);for(var o=dd(e),i=!1,a=0;a<n.length;a++)Td(n[a])&&(i=!0);var s=i?Ad(t.apply(r,n)):Od();return pd(o),s}function lf(e,t){var n,r=Id(),o=e+16;r.firstTemplatePass?(n=function(e,t){if(t)for(var n=0;n<t.length;n++){var r=t[n];if(e===r.name)return r}throw new Error("Pipe with name '"+e+"' not found!")}(t,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.pipeDestroyHooks||(r.pipeDestroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var i=n.factory();return Cd(e,i),i}function cf(e,t,n){var r=xd(e);return hf(e)?Xp(t,r.transform,n,r):r.transform(n)}function uf(e,t,n,r){var o=xd(e);return hf(e)?Jp(t,o.transform,n,r,o):o.transform(n,r)}function df(e,t,n,r,o){var i=xd(e);return hf(e)?ef(t,i.transform,n,r,o,i):i.transform(n,r,o)}function pf(e,t,n,r,o,i){var a=xd(e);return hf(e)?tf(t,a.transform,n,r,o,i,a):a.transform(n,r,o,i)}function ff(e,t,n){var r=xd(e);return hf(e)?sf(t,r.transform,n,r):r.transform.apply(r,n)}function hf(e){return Id().data[e+16].pure}var mf=function(){function e(e){this.shallow=null,this.deep=null,this.deep=null==e?null:e}return e.prototype.track=function(e,t,n,r){n?this.deep=Cf(this.deep,e,t,null!=r?r:null):this.shallow=Cf(this.shallow,e,t,null!=r?r:null)},e.prototype.clone=function(){return this.deep?new e(this.deep):null},e.prototype.child=function(){return null===this.deep?null:null===this.shallow?this:new e(this.deep)},e.prototype.container=function(){for(var t=null,n=this.deep;n;){var r=[];n.values.push(r);var o={next:null,list:n.list,predicate:n.predicate,values:r,containerValues:null};o.next=t,t=o,n=n.next}return t?new e(t):null},e.prototype.createView=function(){for(var t=null,n=this.deep;n;){var r={next:null,list:n.list,predicate:n.predicate,values:[],containerValues:n.values};r.next=t,t=r,n=n.next}return t?new e(t):null},e.prototype.insertView=function(e){for(var t=this.deep;t;)ngDevMode&&il(t.containerValues,"View queries need to have a pointer to container values."),t.containerValues.splice(e,0,t.values),t=t.next},e.prototype.addNode=function(e){bf(this.shallow,e),bf(this.deep,e)},e.prototype.removeView=function(){for(var e=this.deep;e;){ngDevMode&&il(e.containerValues,"View queries need to have a pointer to container values.");var t=e.containerValues,n=t.indexOf(e.values),r=t.splice(n,1);ngDevMode&&nl(r.length,1,"removed.length"),r[0].length&&e.list.setDirty(),e=e.next}},e}();function gf(e,t){var n=e.localNames;if(n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function yf(e,t){for(var n=e.view[0].directives,r=e.tNode.flags,o=r>>14,i=o+(4095&r),a=o;a<i;a++){var s=n[a];if(s.type===t&&s.diPublic)return a}return null}function vf(e,t,n,r){if(n instanceof kp)return n.read(e,t,r);var o=yf(t,n);return null!==o?t.view[7][o]:null}function bf(e,t){for(var n=pp(t);e;){var r=e.predicate,o=r.type;if(o){if(null!==(s=yf(t,o)))null!==(l=vf(n,t,r.read||o,s))&&_f(e,l)}else for(var i=r.selector,a=0;a<i.length;a++){var s,l;if(null!==(s=gf(t.tNode,i[a])))ngDevMode&&il(r.read,"the node should have a predicate"),null!==(l=vf(n,t,r.read,s))&&_f(e,l)}e=e.next}}function _f(e,t){e.values.push(t),e.list.setDirty()}function wf(e,t){var n=Array.isArray(e);return{type:n?null:e,selector:n?e:null,read:t}}function Cf(e,t,n,r){return{next:e,list:t,predicate:wf(n,r),values:t._valuesTree,containerValues:null}}var Sf=function(){function e(){this.dirty=!0,this.changes=new sn,this._values=[],this._valuesTree=[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=this._values;return e.length?e[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this._values;return e.length?e[e.length-1]:null},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._values.map(e)},e.prototype.filter=function(e){return this._values.filter(e)},e.prototype.find=function(e){return this._values.find(e)},e.prototype.reduce=function(e,t){return this._values.reduce(e,t)},e.prototype.forEach=function(e){this._values.forEach(e)},e.prototype.some=function(e){return this._values.some(e)},e.prototype.toArray=function(){return this._values.slice(0)},e.prototype[H()]=function(){return this._values[H()]()},e.prototype.toString=function(){return this._values.toString()},e.prototype.reset=function(e){this._values=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];Array.isArray(r)?r.length>0?(e=r.concat(e.slice(n+1)),n=0):n++:(t.push(r),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Ef(e,t,n,r){ngDevMode&&Nd();var o,i=new Sf;return(o=mf,Ic||(Ic=Ac.queries&&Ac.queries.clone()||new o)).track(i,t,n,r),ku(null,i,i.destroy),null!=e&&Cd(e,i),i}function xf(e){var t=e;return!!e.dirty&&(e.reset(t._valuesTree),e.notifyOnChanges(),!0)}var kf="__SANITIZER_TRUSTED_BRAND__";function Of(e,t){return e instanceof String&&e[kf]===t}function Tf(e){return Mf(e,"Html")}function Af(e){return Mf(e,"Style")}function Pf(e){return Mf(e,"Script")}function Rf(e){return Mf(e,"Url")}function If(e){return Mf(e,"ResourceUrl")}function Mf(e,t){var n=new String(e);return n[kf]=t,n}function Nf(e){var t=Hc();return t?t.sanitize(yo.HTML,e)||"":Of(e,"Html")?e.toString():mo(document,Sl(e))}function Df(e){var t=Hc();return t?t.sanitize(yo.STYLE,e)||"":Of(e,"Style")?e.toString():_o(Sl(e))}function jf(e){var t=Hc();return t?t.sanitize(yo.URL,e)||"":Of(e,"Url")?e.toString():Kr(Sl(e))}function Lf(e){var t=Hc();if(t)return t.sanitize(yo.RESOURCE_URL,e)||"";if(Of(e,"ResourceUrl"))return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/@angular/forms/fesm5/forms.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_forms_forms_bb",(function(){return at})),n.d(t,"ɵangular_packages_forms_forms_ba",(function(){return it})),n.d(t,"ɵangular_packages_forms_forms_y",(function(){return rt})),n.d(t,"ɵangular_packages_forms_forms_z",(function(){return ot})),n.d(t,"ɵangular_packages_forms_forms_a",(function(){return b})),n.d(t,"ɵangular_packages_forms_forms_b",(function(){return w})),n.d(t,"ɵangular_packages_forms_forms_c",(function(){return ue})),n.d(t,"ɵangular_packages_forms_forms_d",(function(){return de})),n.d(t,"ɵangular_packages_forms_forms_e",(function(){return we})),n.d(t,"ɵangular_packages_forms_forms_f",(function(){return Oe})),n.d(t,"ɵangular_packages_forms_forms_g",(function(){return xe})),n.d(t,"ɵangular_packages_forms_forms_bg",(function(){return nt})),n.d(t,"ɵangular_packages_forms_forms_bc",(function(){return k})),n.d(t,"ɵangular_packages_forms_forms_bd",(function(){return O})),n.d(t,"ɵangular_packages_forms_forms_h",(function(){return P})),n.d(t,"ɵangular_packages_forms_forms_i",(function(){return R})),n.d(t,"ɵangular_packages_forms_forms_be",(function(){return M})),n.d(t,"ɵangular_packages_forms_forms_bf",(function(){return N})),n.d(t,"ɵangular_packages_forms_forms_j",(function(){return Pe})),n.d(t,"ɵangular_packages_forms_forms_k",(function(){return Re})),n.d(t,"ɵangular_packages_forms_forms_l",(function(){return Ue})),n.d(t,"ɵangular_packages_forms_forms_m",(function(){return Me})),n.d(t,"ɵangular_packages_forms_forms_o",(function(){return Le})),n.d(t,"ɵangular_packages_forms_forms_n",(function(){return De})),n.d(t,"ɵangular_packages_forms_forms_p",(function(){return H})),n.d(t,"ɵangular_packages_forms_forms_r",(function(){return Z})),n.d(t,"ɵangular_packages_forms_forms_q",(function(){return G})),n.d(t,"ɵangular_packages_forms_forms_t",(function(){return ze})),n.d(t,"ɵangular_packages_forms_forms_u",(function(){return We})),n.d(t,"ɵangular_packages_forms_forms_w",(function(){return $e})),n.d(t,"ɵangular_packages_forms_forms_v",(function(){return Ze})),n.d(t,"ɵangular_packages_forms_forms_x",(function(){return Xe})),n.d(t,"ɵangular_packages_forms_forms_s",(function(){return Ve})),n.d(t,"AbstractControlDirective",(function(){return l})),n.d(t,"AbstractFormGroupDirective",(function(){return ce})),n.d(t,"CheckboxControlValueAccessor",(function(){return _})),n.d(t,"ControlContainer",(function(){return c})),n.d(t,"NG_VALUE_ACCESSOR",(function(){return v})),n.d(t,"COMPOSITION_BUFFER_MODE",(function(){return C})),n.d(t,"DefaultValueAccessor",(function(){return S})),n.d(t,"NgControl",(function(){return A})),n.d(t,"NgControlStatus",(function(){return pe})),n.d(t,"NgControlStatusGroup",(function(){return fe})),n.d(t,"NgForm",(function(){return Se})),n.d(t,"NgModel",(function(){return Ae})),n.d(t,"NgModelGroup",(function(){return ke})),n.d(t,"RadioControlValueAccessor",(function(){return I})),n.d(t,"FormControlDirective",(function(){return Ie})),n.d(t,"FormControlName",(function(){return He})),n.d(t,"FormGroupDirective",(function(){return Ne})),n.d(t,"FormArrayName",(function(){return Be})),n.d(t,"FormGroupName",(function(){return je})),n.d(t,"NgSelectOption",(function(){return q})),n.d(t,"SelectControlValueAccessor",(function(){return z})),n.d(t,"SelectMultipleControlValueAccessor",(function(){return Y})),n.d(t,"CheckboxRequiredValidator",(function(){return Ge})),n.d(t,"EmailValidator",(function(){return Ye})),n.d(t,"MaxLengthValidator",(function(){return Qe})),n.d(t,"MinLengthValidator",(function(){return Ke})),n.d(t,"PatternValidator",(function(){return Je})),n.d(t,"RequiredValidator",(function(){return qe})),n.d(t,"FormBuilder",(function(){return et})),n.d(t,"AbstractControl",(function(){return ye})),n.d(t,"FormArray",(function(){return _e})),n.d(t,"FormControl",(function(){return ve})),n.d(t,"FormGroup",(function(){return be})),n.d(t,"NG_ASYNC_VALIDATORS",(function(){return p})),n.d(t,"NG_VALIDATORS",(function(){return d})),n.d(t,"Validators",(function(){return h})),n.d(t,"VERSION",(function(){return tt})),n.d(t,"FormsModule",(function(){return st})),n.d(t,"ReactiveFormsModule",(function(){return lt}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),l=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(l);function u(e){return null==e||0===e.length}var d=new o.InjectionToken("NgValidators"),p=new o.InjectionToken("NgAsyncValidators"),f=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/,h=function(){function e(){}return e.min=function(e){return function(t){if(u(t.value)||u(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(u(t.value)||u(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return u(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return u(e.value)||f.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(u(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(u(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(m);return 0==t.length?null:function(e){return y(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(m);return 0==t.length?null:function(e){var n=function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(g);return Object(i.forkJoin)(n).pipe(Object(a.map)(y))}},e}();function m(e){return null!=e}function g(e){var t=Object(o["ɵisPromise"])(e)?Object(i.from)(e):e;if(!Object(o["ɵisObservable"])(t))throw new Error("Expected validator to return Promise or Observable.");return t}function y(e){var t=e.reduce((function(e,t){return null!=t?Object(r.__assign)({},e,t):e}),{});return 0===Object.keys(t).length?null:t}var v=new o.InjectionToken("NgValueAccessor"),b={provide:v,useExisting:Object(o.forwardRef)((function(){return _})),multi:!0},_=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.decorators=[{type:o.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[b]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]},e}(),w={provide:v,useExisting:Object(o.forwardRef)((function(){return S})),multi:!0};var C=new o.InjectionToken("CompositionEventMode"),S=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Object(s["ɵgetDOM"])()?Object(s["ɵgetDOM"])().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){var t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e.decorators=[{type:o.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[w]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef},{type:Boolean,decorators:[{type:o.Optional},{type:o.Inject,args:[C]}]}]},e}();function E(e){return e.validate?function(t){return e.validate(t)}:e}function x(e){return e.validate?function(t){return e.validate(t)}:e}var k={provide:v,useExisting:Object(o.forwardRef)((function(){return O})),multi:!0},O=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){var t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.decorators=[{type:o.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[k]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]},e}();function T(){throw new Error("unimplemented")}var A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return T()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return T()},enumerable:!0,configurable:!0}),t}(l),P={provide:v,useExisting:Object(o.forwardRef)((function(){return I})),multi:!0},R=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)},e.decorators=[{type:o.Injectable}],e}(),I=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(A),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},e.decorators=[{type:o.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[P]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef},{type:R},{type:o.Injector}]},e.propDecorators={name:[{type:o.Input}],formControlName:[{type:o.Input}],value:[{type:o.Input}]},e}(),M={provide:v,useExisting:Object(o.forwardRef)((function(){return N})),multi:!0},N=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.decorators=[{type:o.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[M]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]},e}(),D='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',j='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',L='\n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });',B='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',F='\n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ',U=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+D)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '+j+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+B)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+D)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+j)},e.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        "+L)},e.disabledAttrWarning=function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")},e.ngModelWarning=function(e){console.warn("\n    It looks like you're using ngModel on the same form field as "+e+". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n    ")},e}(),H={provide:v,useExisting:Object(o.forwardRef)((function(){return z})),multi:!0};function V(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var z=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=o["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=V(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var o=Object(r.__values)(Array.from(this._optionMap.keys())),i=o.next();!i.done;i=o.next()){var a=i.value;if(this._compareWith(this._optionMap.get(a),e))return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e.decorators=[{type:o.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[H]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]},e.propDecorators={compareWith:[{type:o.Input}]},e}(),q=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(V(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e.decorators=[{type:o.Directive,args:[{selector:"option"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Renderer2},{type:z,decorators:[{type:o.Optional},{type:o.Host}]}]},e.propDecorators={ngValue:[{type:o.Input,args:["ngValue"]}],value:[{type:o.Input,args:["value"]}]},e}(),G={provide:v,useExisting:Object(o.forwardRef)((function(){return Y})),multi:!0};function W(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var Y=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=o["ɵlooseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var a=o.item(i),s=t._getOptionValue(a.value);r.push(s)}else for(o=n.options,i=0;i<o.length;i++){if((a=o.item(i)).selected){s=t._getOptionValue(a.value);r.push(s)}}t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var o=Object(r.__values)(Array.from(this._optionMap.keys())),i=o.next();!i.done;i=o.next()){var a=i.value;if(this._compareWith(this._optionMap.get(a)._value,e))return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e.decorators=[{type:o.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[G]}]}],e.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]},e.propDecorators={compareWith:[{type:o.Input}]},e}(),Z=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._value=e,this._setElementValue(W(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._select?(this._value=e,this._setElementValue(W(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype._setSelected=function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e.decorators=[{type:o.Directive,args:[{selector:"option"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Renderer2},{type:Y,decorators:[{type:o.Optional},{type:o.Host}]}]},e.propDecorators={ngValue:[{type:o.Input,args:["ngValue"]}],value:[{type:o.Input,args:["value"]}]},e}();function K(e,t){return Object(r.__spread)(t.path,[e])}function $(e,t){e||ee(t,"Cannot find control with"),t.valueAccessor||ee(t,"No value accessor for form control with"),e.validator=h.compose([e.validator,t.validator]),e.asyncValidator=h.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Q(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Q(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function Q(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function X(e,t){null==e&&ee(t,"Cannot find control with"),e.validator=h.compose([e.validator,t.validator]),e.asyncValidator=h.composeAsync([e.asyncValidator,t.asyncValidator])}function J(e){return ee(e,"There is no FormControl instance attached to form control element with")}function ee(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function te(e){return null!=e?h.compose(e.map(E)):null}function ne(e){return null!=e?h.composeAsync(e.map(x)):null}function re(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(o["ɵlooseIdentical"])(t,n.currentValue)}var oe=[_,N,O,z,Y,I];function ie(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function ae(e,t){if(!t)return null;Array.isArray(t)||ee(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach((function(t){var i;t.constructor===S?n=t:(i=t,oe.some((function(e){return i.constructor===e}))?(r&&ee(e,"More than one built-in value accessor matches form control with"),r=t):(o&&ee(e,"More than one custom value accessor matches form control with"),o=t))})),o||(r||(n||(ee(e,"No valid value accessor for form control with"),null)))}function se(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function le(e,t,n,r){Object(o.isDevMode)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(U.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}var ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return K(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return te(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ne(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(c),ue=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),de={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},pe=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.decorators=[{type:o.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:de}]}],t.ctorParameters=function(){return[{type:A,decorators:[{type:o.Self}]}]},t}(ue),fe=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.decorators=[{type:o.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:de}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:o.Self}]}]},t}(ue);function he(e){var t=ge(e)?e.validators:e;return Array.isArray(t)?te(t):t||null}function me(e,t){var n=ge(t)?t.asyncValidators:e;return Array.isArray(n)?ne(n):n||null}function ge(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ye=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=he(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=me(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object(r.__assign)({},e,{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach((function(e){return e(!0)}))},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild((function(t){t.enable(Object(r.__assign)({},e,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach((function(e){return e(!1)}))},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=g(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(n)),t instanceof Array&&0===t.length?null:t.reduce((function(e,t){return e instanceof be?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof _e&&e.at(t)||null}),e))}(this,e,".")},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new o.EventEmitter,this.statusChanges=new o.EventEmitter},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls((function(t){return t.status===e}))},e.prototype._anyControlsDirty=function(){return this._anyControls((function(e){return e.dirty}))},e.prototype._anyControlsTouched=function(){return this._anyControls((function(e){return e.touched}))},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){ge(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),ve=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,he(n),me(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(r.__extends)(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((function(e){return e(n.value,!1!==t.emitViewToModelChange)})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(ye),be=function(e){function t(t,n,r){var o=e.call(this,he(n),me(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(r.__extends)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof ve?t.value:t.getRawValue(),e}))},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild((function(r,o){n=n||t.contains(o)&&e(r)})),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.__values)(Object.keys(this.controls)),o=n.next();!o.done;o=n.next()){var i=o.value;if(this.controls[i].enabled)return!1}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},t}(ye),_e=function(e){function t(t,n,r){var o=e.call(this,he(n),me(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(r.__extends)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach((function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach((function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map((function(e){return e instanceof ve?e.value:e.getRawValue()}))},t.prototype._syncPendingControls=function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach((function(t,n){e(t,n)}))},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))},t.prototype._anyControls=function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(r.__values)(this.controls),o=n.next();!o.done;o=n.next()){if(o.value.enabled)return!1}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(ye),we={provide:c,useExisting:Object(o.forwardRef)((function(){return Se}))},Ce=Promise.resolve(null),Se=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new o.EventEmitter,r.form=new be({},te(t),ne(n)),r}return Object(r.__extends)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Ce.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),$(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Ce.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),se(t._directives,e)}))},t.prototype.addFormGroup=function(e){var t=this;Ce.then((function(){var n=t._findContainer(e.path),r=new be({});X(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))},t.prototype.removeFormGroup=function(e){var t=this;Ce.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Ce.then((function(){n.form.get(e.path).setValue(t)}))},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,ie(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t.decorators=[{type:o.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[we],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]}]},t.propDecorators={options:[{type:o.Input,args:["ngFormOptions"]}]},t}(c),Ee=function(){function e(){}return e.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      '+D+"\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      "+F)},e.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+j+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+B)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+j+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+B)},e}(),xe={provide:c,useExisting:Object(o.forwardRef)((function(){return ke}))},ke=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return Object(r.__extends)(t,e),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof Se||Ee.modelGroupParentException()},t.decorators=[{type:o.Directive,args:[{selector:"[ngModelGroup]",providers:[xe],exportAs:"ngModelGroup"}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:o.Host},{type:o.SkipSelf}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]}]},t.propDecorators={name:[{type:o.Input,args:["ngModelGroup"]}]},t}(ce),Oe={provide:A,useExisting:Object(o.forwardRef)((function(){return Ae}))},Te=Promise.resolve(null),Ae=function(e){function t(t,n,r,i){var a=e.call(this)||this;return a.control=new ve,a._registered=!1,a.update=new o.EventEmitter,a._parent=t,a._rawValidators=n||[],a._rawAsyncValidators=r||[],a.valueAccessor=ae(a,i),a}return Object(r.__extends)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),re(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?K(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return te(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ne(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){$(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof ke)&&this._parent instanceof ce?Ee.formGroupNameException():this._parent instanceof ke||this._parent instanceof Se||Ee.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ee.missingNameException()},t.prototype._updateValue=function(e){var t=this;Te.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Te.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))},t.decorators=[{type:o.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Oe],exportAs:"ngModel"}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:o.Optional},{type:o.Host}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[v]}]}]},t.propDecorators={name:[{type:o.Input}],isDisabled:[{type:o.Input,args:["disabled"]}],model:[{type:o.Input,args:["ngModel"]}],options:[{type:o.Input,args:["ngModelOptions"]}],update:[{type:o.Output,args:["ngModelChange"]}]},t}(A),Pe=new o.InjectionToken("NgModelWithFormControlWarning"),Re={provide:A,useExisting:Object(o.forwardRef)((function(){return Ie}))},Ie=function(e){function t(t,n,r,i){var a=e.call(this)||this;return a._ngModelWarningConfig=i,a.update=new o.EventEmitter,a._ngModelWarningSent=!1,a._rawValidators=t||[],a._rawAsyncValidators=n||[],a.valueAccessor=ae(a,r),a}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"isDisabled",{set:function(e){U.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&($(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),re(e,this.viewModel)&&(le("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return te(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ne(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,t.decorators=[{type:o.Directive,args:[{selector:"[formControl]",providers:[Re],exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[v]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[Pe]}]}]},t.propDecorators={form:[{type:o.Input,args:["formControl"]}],isDisabled:[{type:o.Input,args:["disabled"]}],model:[{type:o.Input,args:["ngModel"]}],update:[{type:o.Output,args:["ngModelChange"]}]},t}(A),Me={provide:c,useExisting:Object(o.forwardRef)((function(){return Ne}))},Ne=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new o.EventEmitter,r}return Object(r.__extends)(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return $(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){se(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);X(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);X(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,ie(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(!function(e,t){t.valueAccessor.registerOnChange((function(){return J(t)})),t.valueAccessor.registerOnTouched((function(){return J(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&$(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=te(this._validators);this.form.validator=h.compose([this.form.validator,e]);var t=ne(this._asyncValidators);this.form.asyncValidator=h.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||U.missingFormException()},t.decorators=[{type:o.Directive,args:[{selector:"[formGroup]",providers:[Me],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]}]},t.propDecorators={form:[{type:o.Input,args:["formGroup"]}],ngSubmit:[{type:o.Output}]},t}(c),De={provide:c,useExisting:Object(o.forwardRef)((function(){return je}))},je=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return Object(r.__extends)(t,e),t.prototype._checkParentType=function(){Fe(this._parent)&&U.groupParentException()},t.decorators=[{type:o.Directive,args:[{selector:"[formGroupName]",providers:[De]}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:o.Optional},{type:o.Host},{type:o.SkipSelf}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]}]},t.propDecorators={name:[{type:o.Input,args:["formGroupName"]}]},t}(ce),Le={provide:c,useExisting:Object(o.forwardRef)((function(){return Be}))},Be=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return Object(r.__extends)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return K(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return te(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ne(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){Fe(this._parent)&&U.arrayParentException()},t.decorators=[{type:o.Directive,args:[{selector:"[formArrayName]",providers:[Le]}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:o.Optional},{type:o.Host},{type:o.SkipSelf}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]}]},t.propDecorators={name:[{type:o.Input,args:["formArrayName"]}]},t}(c);function Fe(e){return!(e instanceof je||e instanceof Ne||e instanceof Be)}var Ue={provide:A,useExisting:Object(o.forwardRef)((function(){return He}))},He=function(e){function t(t,n,r,i,a){var s=e.call(this)||this;return s._ngModelWarningConfig=a,s._added=!1,s.update=new o.EventEmitter,s._ngModelWarningSent=!1,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=r||[],s.valueAccessor=ae(s,i),s}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"isDisabled",{set:function(e){U.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),re(e,this.viewModel)&&(le("formControlName",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(t.prototype,"path",{get:function(){return K(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return te(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ne(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof je)&&this._parent instanceof ce?U.ngModelGroupException():this._parent instanceof je||this._parent instanceof Ne||this._parent instanceof Be||U.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t._ngModelWarningSentOnce=!1,t.decorators=[{type:o.Directive,args:[{selector:"[formControlName]",providers:[Ue]}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:o.Optional},{type:o.Host},{type:o.SkipSelf}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[d]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[p]}]},{type:Array,decorators:[{type:o.Optional},{type:o.Self},{type:o.Inject,args:[v]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[Pe]}]}]},t.propDecorators={name:[{type:o.Input,args:["formControlName"]}],isDisabled:[{type:o.Input,args:["disabled"]}],model:[{type:o.Input,args:["ngModel"]}],update:[{type:o.Output,args:["ngModelChange"]}]},t}(A),Ve={provide:d,useExisting:Object(o.forwardRef)((function(){return qe})),multi:!0},ze={provide:d,useExisting:Object(o.forwardRef)((function(){return Ge})),multi:!0},qe=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?h.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.decorators=[{type:o.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Ve],host:{"[attr.required]":'required ? "" : null'}}]}],e.propDecorators={required:[{type:o.Input}]},e}(),Ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.validate=function(e){return this.required?h.requiredTrue(e):null},t.decorators=[{type:o.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[ze],host:{"[attr.required]":'required ? "" : null'}}]}],t}(qe),We={provide:d,useExisting:Object(o.forwardRef)((function(){return Ye})),multi:!0},Ye=function(){function e(){}return Object.defineProperty(e.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this._enabled?h.email(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.decorators=[{type:o.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[We]}]}],e.propDecorators={email:[{type:o.Input}]},e}(),Ze={provide:d,useExisting:Object(o.forwardRef)((function(){return Ke})),multi:!0},Ke=function(){function e(){}return e.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=h.minLength(parseInt(this.minlength,10))},e.decorators=[{type:o.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Ze],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],e.propDecorators={minlength:[{type:o.Input}]},e}(),$e={provide:d,useExisting:Object(o.forwardRef)((function(){return Qe})),multi:!0},Qe=function(){function e(){}return e.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=h.maxLength(parseInt(this.maxlength,10))},e.decorators=[{type:o.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[$e],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],e.propDecorators={maxlength:[{type:o.Input}]},e}(),Xe={provide:d,useExisting:Object(o.forwardRef)((function(){return Je})),multi:!0},Je=function(){function e(){}return e.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=h.pattern(this.pattern)},e.decorators=[{type:o.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[Xe],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],e.propDecorators={pattern:[{type:o.Input}]},e}(),et=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null!=t?t.validator:null,o=null!=t?t.asyncValidator:null;return new be(n,r,o)},e.prototype.control=function(e,t,n){return new ve(e,t,n)},e.prototype.array=function(e,t,n){var r=this,o=e.map((function(e){return r._createControl(e)}));return new _e(o,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n},e.prototype._createControl=function(e){if(e instanceof ve||e instanceof be||e instanceof _e)return e;if(Array.isArray(e)){var t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)},e.decorators=[{type:o.Injectable}],e}(),tt=new o.Version("6.1.7"),nt=function(){function e(){}return e.decorators=[{type:o.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],e}(),rt=[nt,q,Z,S,O,N,_,z,Y,I,pe,fe,qe,Ke,Qe,Je,Ge,Ye],ot=[Ae,ke,Se],it=[Ie,Ne,He,je,Be],at=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{declarations:rt,exports:rt}]}],e}(),st=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{declarations:ot,providers:[R],exports:[at,ot]}]}],e}(),lt=function(){function e(){}return e.withConfig=function(t){return{ngModule:e,providers:[{provide:Pe,useValue:t.warnOnNgModelWithFormControl}]}},e.decorators=[{type:o.NgModule,args:[{declarations:[it],providers:[et,R],exports:[at,it]}]}],e}()},"./node_modules/@angular/http/fesm5/http.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_http_http_e",(function(){return T})),n.d(t,"ɵangular_packages_http_http_f",(function(){return S})),n.d(t,"ɵangular_packages_http_http_a",(function(){return Y})),n.d(t,"ɵangular_packages_http_http_b",(function(){return Z})),n.d(t,"ɵangular_packages_http_http_c",(function(){return K})),n.d(t,"BrowserXhr",(function(){return p})),n.d(t,"JSONPBackend",(function(){return P})),n.d(t,"JSONPConnection",(function(){return A})),n.d(t,"CookieXSRFStrategy",(function(){return M})),n.d(t,"XHRBackend",(function(){return N})),n.d(t,"XHRConnection",(function(){return I})),n.d(t,"BaseRequestOptions",(function(){return j})),n.d(t,"RequestOptions",(function(){return D})),n.d(t,"BaseResponseOptions",(function(){return m})),n.d(t,"ResponseOptions",(function(){return h})),n.d(t,"ReadyState",(function(){return o})),n.d(t,"RequestMethod",(function(){return r})),n.d(t,"ResponseContentType",(function(){return s})),n.d(t,"ResponseType",(function(){return i})),n.d(t,"Headers",(function(){return f})),n.d(t,"Http",(function(){return G})),n.d(t,"Jsonp",(function(){return W})),n.d(t,"HttpModule",(function(){return $})),n.d(t,"JsonpModule",(function(){return Q})),n.d(t,"Connection",(function(){return y})),n.d(t,"ConnectionBackend",(function(){return g})),n.d(t,"XSRFStrategy",(function(){return v})),n.d(t,"Request",(function(){return L})),n.d(t,"Response",(function(){return E})),n.d(t,"QueryEncoder",(function(){return _})),n.d(t,"URLSearchParams",(function(){return C})),n.d(t,"VERSION",(function(){return X}));var r,o,i,a,s,l=n("./node_modules/@angular/core/fesm5/core.js"),c=n("./node_modules/tslib/tslib.es6.js"),u=n("./node_modules/rxjs/_esm5/index.js"),d=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),p=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e.decorators=[{type:l.Injectable}],e.ctorParameters=function(){return[]},e}();!function(e){e[e.Get=0]="Get",e[e.Post=1]="Post",e[e.Put=2]="Put",e[e.Delete=3]="Delete",e[e.Options=4]="Options",e[e.Head=5]="Head",e[e.Patch=6]="Patch"}(r||(r={})),function(e){e[e.Unsent=0]="Unsent",e[e.Open=1]="Open",e[e.HeadersReceived=2]="HeadersReceived",e[e.Loading=3]="Loading",e[e.Done=4]="Done",e[e.Cancelled=5]="Cancelled"}(o||(o={})),function(e){e[e.Basic=0]="Basic",e[e.Cors=1]="Cors",e[e.Default=2]="Default",e[e.Error=3]="Error",e[e.Opaque=4]="Opaque"}(i||(i={})),function(e){e[e.NONE=0]="NONE",e[e.JSON=1]="JSON",e[e.FORM=2]="FORM",e[e.FORM_DATA=3]="FORM_DATA",e[e.TEXT=4]="TEXT",e[e.BLOB=5]="BLOB",e[e.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(a||(a={})),function(e){e[e.Text=0]="Text",e[e.Json=1]="Json",e[e.ArrayBuffer=2]="ArrayBuffer",e[e.Blob=3]="Blob"}(s||(s={}));var f=function(){function e(t){var n=this;this._headers=new Map,this._normalizedNames=new Map,t&&(t instanceof e?t.forEach((function(e,t){e.forEach((function(e){return n.append(t,e)}))})):Object.keys(t).forEach((function(e){var r=Array.isArray(t[e])?t[e]:[t[e]];n.delete(e),r.forEach((function(t){return n.append(e,t)}))})))}return e.fromResponseHeaderString=function(t){var n=new e;return t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),o=e.slice(t+1).trim();n.set(r,o)}})),n},e.prototype.append=function(e,t){var n=this.getAll(e);null===n?this.set(e,t):n.push(t)},e.prototype.delete=function(e){var t=e.toLowerCase();this._normalizedNames.delete(t),this._headers.delete(t)},e.prototype.forEach=function(e){var t=this;this._headers.forEach((function(n,r){return e(n,t._normalizedNames.get(r),t._headers)}))},e.prototype.get=function(e){var t=this.getAll(e);return null===t?null:t.length>0?t[0]:null},e.prototype.has=function(e){return this._headers.has(e.toLowerCase())},e.prototype.keys=function(){return Array.from(this._normalizedNames.values())},e.prototype.set=function(e,t){Array.isArray(t)?t.length&&this._headers.set(e.toLowerCase(),[t.join(",")]):this._headers.set(e.toLowerCase(),[t]),this.mayBeSetNormalizedName(e)},e.prototype.values=function(){return Array.from(this._headers.values())},e.prototype.toJSON=function(){var e=this,t={};return this._headers.forEach((function(n,r){var o=[];n.forEach((function(e){return o.push.apply(o,Object(c.__spread)(e.split(",")))})),t[e._normalizedNames.get(r)]=o})),t},e.prototype.getAll=function(e){return this.has(e)&&this._headers.get(e.toLowerCase())||null},e.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},e.prototype.mayBeSetNormalizedName=function(e){var t=e.toLowerCase();this._normalizedNames.has(t)||this._normalizedNames.set(t,e)},e}(),h=function(){function e(e){void 0===e&&(e={});var t=e.body,n=e.status,r=e.headers,o=e.statusText,i=e.type,a=e.url;this.body=null!=t?t:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=i?i:null,this.url=null!=a?a:null}return e.prototype.merge=function(t){return new e({body:t&&null!=t.body?t.body:this.body,status:t&&null!=t.status?t.status:this.status,headers:t&&null!=t.headers?t.headers:this.headers,statusText:t&&null!=t.statusText?t.statusText:this.statusText,type:t&&null!=t.type?t.type:this.type,url:t&&null!=t.url?t.url:this.url})},e}(),m=function(e){function t(){return e.call(this,{status:200,statusText:"Ok",type:i.Default,headers:new f})||this}return Object(c.__extends)(t,e),t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[]},t}(h),g=function(){},y=function(){},v=function(){};function b(e){if("string"!=typeof e)return e;switch(e.toUpperCase()){case"GET":return r.Get;case"POST":return r.Post;case"PUT":return r.Put;case"DELETE":return r.Delete;case"OPTIONS":return r.Options;case"HEAD":return r.Head;case"PATCH":return r.Patch}throw new Error('Invalid request method. The method "'+e+'" is not supported.')}var _=function(){function e(){}return e.prototype.encodeKey=function(e){return w(e)},e.prototype.encodeValue=function(e){return w(e)},e}();function w(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var C=function(){function e(e,t){void 0===e&&(e=""),void 0===t&&(t=new _),this.rawParams=e,this.queryEncoder=t,this.paramsMap=function(e){void 0===e&&(e="");var t=new Map;return e.length>0&&e.split("&").forEach((function(e){var n=e.indexOf("="),r=Object(c.__read)(-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)],2),o=r[0],i=r[1],a=t.get(o)||[];a.push(i),t.set(o,a)})),t}(e)}return e.prototype.clone=function(){var t=new e("",this.queryEncoder);return t.appendAll(this),t},e.prototype.has=function(e){return this.paramsMap.has(e)},e.prototype.get=function(e){var t=this.paramsMap.get(e);return Array.isArray(t)?t[0]:null},e.prototype.getAll=function(e){return this.paramsMap.get(e)||[]},e.prototype.set=function(e,t){if(null!=t){var n=this.paramsMap.get(e)||[];n.length=0,n.push(t),this.paramsMap.set(e,n)}else this.delete(e)},e.prototype.setAll=function(e){var t=this;e.paramsMap.forEach((function(e,n){var r=t.paramsMap.get(n)||[];r.length=0,r.push(e[0]),t.paramsMap.set(n,r)}))},e.prototype.append=function(e,t){if(null!=t){var n=this.paramsMap.get(e)||[];n.push(t),this.paramsMap.set(e,n)}},e.prototype.appendAll=function(e){var t=this;e.paramsMap.forEach((function(e,n){for(var r=t.paramsMap.get(n)||[],o=0;o<e.length;++o)r.push(e[o]);t.paramsMap.set(n,r)}))},e.prototype.replaceAll=function(e){var t=this;e.paramsMap.forEach((function(e,n){var r=t.paramsMap.get(n)||[];r.length=0;for(var o=0;o<e.length;++o)r.push(e[o]);t.paramsMap.set(n,r)}))},e.prototype.toString=function(){var e=this,t=[];return this.paramsMap.forEach((function(n,r){n.forEach((function(n){return t.push(e.queryEncoder.encodeKey(r)+"="+e.queryEncoder.encodeValue(n))}))})),t.join("&")},e.prototype.delete=function(e){this.paramsMap.delete(e)},e}(),S=function(){function e(){}return e.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},e.prototype.text=function(e){if(void 0===e&&(e="legacy"),this._body instanceof C)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(e){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+e)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},e.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:function(e){for(var t=new Uint16Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t.buffer}(this.text())},e.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},e}(),E=function(e){function t(t){var n=e.call(this)||this;return n._body=t.body,n.status=t.status,n.ok=n.status>=200&&n.status<=299,n.statusText=t.statusText,n.headers=t.headers,n.type=t.type,n.url=t.url,n}return Object(c.__extends)(t,e),t.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},t}(S),x=0,k=null;function O(){var e="object"==typeof window?window:{};return null===k&&(k=e.__ng_jsonp__={}),k}var T=function(){function e(){}return e.prototype.build=function(e){var t=document.createElement("script");return t.src=e,t},e.prototype.nextRequestID=function(){return"__req"+x++},e.prototype.requestCallback=function(e){return"__ng_jsonp__."+e+".finished"},e.prototype.exposeConnection=function(e,t){O()[e]=t},e.prototype.removeConnection=function(e){O()[e]=null},e.prototype.send=function(e){document.body.appendChild(e)},e.prototype.cleanup=function(e){e.parentNode&&e.parentNode.removeChild(e)},e.decorators=[{type:l.Injectable}],e}(),A=function(){function e(e,t,n){var a=this;if(this._dom=t,this.baseResponseOptions=n,this._finished=!1,e.method!==r.Get)throw new TypeError("JSONP requests must use GET request method.");this.request=e,this.response=new u.Observable((function(r){a.readyState=o.Loading;var s=a._id=t.nextRequestID();t.exposeConnection(s,a);var l=t.requestCallback(a._id),c=e.url;c.indexOf("=JSONP_CALLBACK&")>-1?c=c.replace("=JSONP_CALLBACK&","="+l+"&"):c.lastIndexOf("=JSONP_CALLBACK")===c.length-"=JSONP_CALLBACK".length&&(c=c.substring(0,c.length-"=JSONP_CALLBACK".length)+"="+l);var u=a._script=t.build(c),d=function(e){if(a.readyState!==o.Cancelled){if(a.readyState=o.Done,t.cleanup(u),!a._finished){var s=new h({body:"JSONP injected script did not invoke callback.",type:i.Error,url:c});return n&&(s=n.merge(s)),void r.error(new E(s))}var l=new h({body:a._responseData,url:c});a.baseResponseOptions&&(l=a.baseResponseOptions.merge(l)),r.next(new E(l)),r.complete()}},p=function(e){if(a.readyState!==o.Cancelled){a.readyState=o.Done,t.cleanup(u);var s=new h({body:e.message,type:i.Error});n&&(s=n.merge(s)),r.error(new E(s))}};return u.addEventListener("load",d),u.addEventListener("error",p),t.send(u),function(){a.readyState=o.Cancelled,u.removeEventListener("load",d),u.removeEventListener("error",p),a._dom.cleanup(u)}}))}return e.prototype.finished=function(e){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==o.Cancelled&&(this._responseData=e)},e}(),P=function(e){function t(t,n){var r=e.call(this)||this;return r._browserJSONP=t,r._baseResponseOptions=n,r}return Object(c.__extends)(t,e),t.prototype.createConnection=function(e){return new A(e,this._browserJSONP,this._baseResponseOptions)},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:T},{type:h}]},t}(g),R=/^\)\]\}',?\n/,I=function(){function e(e,t,n){var o=this;this.request=e,this.response=new u.Observable((function(a){var l=t.build();l.open(r[e.method].toUpperCase(),e.url),null!=e.withCredentials&&(l.withCredentials=e.withCredentials);var c=function(){var t=1223===l.status?204:l.status,r=null;204!==t&&"string"==typeof(r=void 0===l.response?l.responseText:l.response)&&(r=r.replace(R,"")),0===t&&(t=r?200:0);var o,i=f.fromResponseHeaderString(l.getAllResponseHeaders()),s=("responseURL"in(o=l)?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):null)||e.url,c=l.statusText||"OK",u=new h({body:r,status:t,headers:i,statusText:c,url:s});null!=n&&(u=n.merge(u));var d=new E(u);if(d.ok=function(e){return e>=200&&e<300}(t),d.ok)return a.next(d),void a.complete();a.error(d)},u=function(e){var t=new h({body:e,type:i.Error,status:l.status,statusText:l.statusText});null!=n&&(t=n.merge(t)),a.error(new E(t))};if(o.setDetectedContentType(e,l),null==e.headers&&(e.headers=new f),e.headers.has("Accept")||e.headers.append("Accept","application/json, text/plain, */*"),e.headers.forEach((function(e,t){return l.setRequestHeader(t,e.join(","))})),null!=e.responseType&&null!=l.responseType)switch(e.responseType){case s.ArrayBuffer:l.responseType="arraybuffer";break;case s.Json:l.responseType="json";break;case s.Text:l.responseType="text";break;case s.Blob:l.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return l.addEventListener("load",c),l.addEventListener("error",u),l.send(o.request.getBody()),function(){l.removeEventListener("load",c),l.removeEventListener("error",u),l.abort()}}))}return e.prototype.setDetectedContentType=function(e,t){if(null==e.headers||null==e.headers.get("Content-Type"))switch(e.contentType){case a.NONE:break;case a.JSON:t.setRequestHeader("content-type","application/json");break;case a.FORM:t.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case a.TEXT:t.setRequestHeader("content-type","text/plain");break;case a.BLOB:var n=e.blob();n.type&&t.setRequestHeader("content-type",n.type)}},e}(),M=function(){function e(e,t){void 0===e&&(e="XSRF-TOKEN"),void 0===t&&(t="X-XSRF-TOKEN"),this._cookieName=e,this._headerName=t}return e.prototype.configureRequest=function(e){var t=Object(d["ɵgetDOM"])().getCookie(this._cookieName);t&&e.headers.set(this._headerName,t)},e}(),N=function(){function e(e,t,n){this._browserXHR=e,this._baseResponseOptions=t,this._xsrfStrategy=n}return e.prototype.createConnection=function(e){return this._xsrfStrategy.configureRequest(e),new I(e,this._browserXHR,this._baseResponseOptions)},e.decorators=[{type:l.Injectable}],e.ctorParameters=function(){return[{type:p},{type:h},{type:v}]},e}(),D=function(){function e(e){void 0===e&&(e={});var t=e.method,n=e.headers,r=e.body,o=e.url,i=e.search,a=e.params,s=e.withCredentials,l=e.responseType;this.method=null!=t?b(t):null,this.headers=null!=n?n:null,this.body=null!=r?r:null,this.url=null!=o?o:null,this.params=this._mergeSearchParams(a||i),this.withCredentials=null!=s?s:null,this.responseType=null!=l?l:null}return Object.defineProperty(e.prototype,"search",{get:function(){return this.params},set:function(e){this.params=e},enumerable:!0,configurable:!0}),e.prototype.merge=function(t){return new e({method:t&&null!=t.method?t.method:this.method,headers:t&&null!=t.headers?t.headers:new f(this.headers),body:t&&null!=t.body?t.body:this.body,url:t&&null!=t.url?t.url:this.url,params:t&&this._mergeSearchParams(t.params||t.search),withCredentials:t&&null!=t.withCredentials?t.withCredentials:this.withCredentials,responseType:t&&null!=t.responseType?t.responseType:this.responseType})},e.prototype._mergeSearchParams=function(e){return e?e instanceof C?e.clone():"string"==typeof e?new C(e):this._parseParams(e):this.params},e.prototype._parseParams=function(e){var t=this;void 0===e&&(e={});var n=new C;return Object.keys(e).forEach((function(r){var o=e[r];Array.isArray(o)?o.forEach((function(e){return t._appendParam(r,e,n)})):t._appendParam(r,o,n)})),n},e.prototype._appendParam=function(e,t,n){"string"!=typeof t&&(t=JSON.stringify(t)),n.append(e,t)},e}(),j=function(e){function t(){return e.call(this,{method:r.Get,headers:new f})||this}return Object(c.__extends)(t,e),t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[]},t}(D),L=function(e){function t(t){var n=e.call(this)||this,r=t.url;n.url=t.url;var o=t.params||t.search;if(o){var i=void 0;if((i="object"!=typeof o||o instanceof C?o.toString():function(e){var t=new C;return Object.keys(e).forEach((function(n){var r=e[n];r&&Array.isArray(r)?r.forEach((function(e){return t.append(n,e.toString())})):t.append(n,r.toString())})),t}(o).toString()).length>0){var a="?";-1!=n.url.indexOf("?")&&(a="&"==n.url[n.url.length-1]?"":"&"),n.url=r+a+i}}return n._body=t.body,n.method=b(t.method),n.headers=new f(t.headers),n.contentType=n.detectContentType(),n.withCredentials=t.withCredentials,n.responseType=t.responseType,n}return Object(c.__extends)(t,e),t.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return a.JSON;case"application/x-www-form-urlencoded":return a.FORM;case"multipart/form-data":return a.FORM_DATA;case"text/plain":case"text/html":return a.TEXT;case"application/octet-stream":return this._body instanceof V?a.ARRAY_BUFFER:a.BLOB;default:return this.detectContentTypeFromBody()}},t.prototype.detectContentTypeFromBody=function(){return null==this._body?a.NONE:this._body instanceof C?a.FORM:this._body instanceof U?a.FORM_DATA:this._body instanceof H?a.BLOB:this._body instanceof V?a.ARRAY_BUFFER:this._body&&"object"==typeof this._body?a.JSON:a.TEXT},t.prototype.getBody=function(){switch(this.contentType){case a.JSON:case a.FORM:return this.text();case a.FORM_DATA:return this._body;case a.TEXT:return this.text();case a.BLOB:return this.blob();case a.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},t}(S);var B=function(){},F="object"==typeof window?window:B,U=F.FormData||B,H=F.Blob||B,V=F.ArrayBuffer||B;function z(e,t){return e.createConnection(t).response}function q(e,t,n,r){var o=e;return t?o.merge(new D({method:t.method||n,url:t.url||r,search:t.search,params:t.params,headers:t.headers,body:t.body,withCredentials:t.withCredentials,responseType:t.responseType})):o.merge(new D({method:n,url:r}))}var G=function(){function e(e,t){this._backend=e,this._defaultOptions=t}return e.prototype.request=function(e,t){var n;if("string"==typeof e)n=z(this._backend,new L(q(this._defaultOptions,t,r.Get,e)));else{if(!(e instanceof L))throw new Error("First argument must be a url string or Request instance.");n=z(this._backend,e)}return n},e.prototype.get=function(e,t){return this.request(new L(q(this._defaultOptions,t,r.Get,e)))},e.prototype.post=function(e,t,n){return this.request(new L(q(this._defaultOptions.merge(new D({body:t})),n,r.Post,e)))},e.prototype.put=function(e,t,n){return this.request(new L(q(this._defaultOptions.merge(new D({body:t})),n,r.Put,e)))},e.prototype.delete=function(e,t){return this.request(new L(q(this._defaultOptions,t,r.Delete,e)))},e.prototype.patch=function(e,t,n){return this.request(new L(q(this._defaultOptions.merge(new D({body:t})),n,r.Patch,e)))},e.prototype.head=function(e,t){return this.request(new L(q(this._defaultOptions,t,r.Head,e)))},e.prototype.options=function(e,t){return this.request(new L(q(this._defaultOptions,t,r.Options,e)))},e.decorators=[{type:l.Injectable}],e.ctorParameters=function(){return[{type:g},{type:D}]},e}(),W=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(c.__extends)(t,e),t.prototype.request=function(e,t){if("string"==typeof e&&(e=new L(q(this._defaultOptions,t,r.Get,e))),!(e instanceof L))throw new Error("First argument must be a url string or Request instance.");if(e.method!==r.Get)throw new Error("JSONP requests must use GET request method.");return z(this._backend,e)},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:g},{type:D}]},t}(G);function Y(){return new M}function Z(e,t){return new G(e,t)}function K(e,t){return new W(e,t)}var $=function(){function e(){}return e.decorators=[{type:l.NgModule,args:[{providers:[{provide:G,useFactory:Z,deps:[N,D]},p,{provide:D,useClass:j},{provide:h,useClass:m},N,{provide:v,useFactory:Y}]}]}],e}(),Q=function(){function e(){}return e.decorators=[{type:l.NgModule,args:[{providers:[{provide:W,useFactory:K,deps:[P,D]},T,{provide:D,useClass:j},{provide:h,useClass:m},P]}]}],e}(),X=new l.Version("6.1.7")},"./node_modules/@angular/material/esm5/core.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AnimationCurves",(function(){return h})),n.d(t,"AnimationDurations",(function(){return m})),n.d(t,"MatCommonModule",(function(){return v})),n.d(t,"MATERIAL_SANITY_CHECKS",(function(){return g})),n.d(t,"mixinDisabled",(function(){return b})),n.d(t,"mixinColor",(function(){return _})),n.d(t,"mixinDisableRipple",(function(){return w})),n.d(t,"mixinTabIndex",(function(){return C})),n.d(t,"mixinErrorState",(function(){return S})),n.d(t,"mixinInitialized",(function(){return E})),n.d(t,"NativeDateModule",(function(){return B})),n.d(t,"MatNativeDateModule",(function(){return U})),n.d(t,"MAT_DATE_LOCALE",(function(){return x})),n.d(t,"MAT_DATE_LOCALE_FACTORY",(function(){return k})),n.d(t,"MAT_DATE_LOCALE_PROVIDER",(function(){return O})),n.d(t,"DateAdapter",(function(){return T})),n.d(t,"MAT_DATE_FORMATS",(function(){return A})),n.d(t,"NativeDateAdapter",(function(){return j})),n.d(t,"MAT_NATIVE_DATE_FORMATS",(function(){return L})),n.d(t,"ShowOnDirtyErrorStateMatcher",(function(){return H})),n.d(t,"ErrorStateMatcher",(function(){return V})),n.d(t,"MAT_HAMMER_OPTIONS",(function(){return z})),n.d(t,"GestureConfig",(function(){return W})),n.d(t,"MatLine",(function(){return Y})),n.d(t,"MatLineSetter",(function(){return Z})),n.d(t,"MatLineModule",(function(){return K})),n.d(t,"MatOptionModule",(function(){return me})),n.d(t,"MatOptionSelectionChange",(function(){return ue})),n.d(t,"MAT_OPTION_PARENT_COMPONENT",(function(){return de})),n.d(t,"MatOption",(function(){return pe})),n.d(t,"_countGroupLabelsBeforeOption",(function(){return fe})),n.d(t,"_getOptionScrollPosition",(function(){return he})),n.d(t,"MatOptgroupBase",(function(){return ie})),n.d(t,"_MatOptgroupMixinBase",(function(){return ae})),n.d(t,"MatOptgroup",(function(){return le})),n.d(t,"MAT_LABEL_GLOBAL_OPTIONS",(function(){return ge})),n.d(t,"MatRippleModule",(function(){return ne})),n.d(t,"MAT_RIPPLE_GLOBAL_OPTIONS",(function(){return ee})),n.d(t,"MatRipple",(function(){return te})),n.d(t,"RippleState",(function(){return $})),n.d(t,"RippleRef",(function(){return Q})),n.d(t,"defaultRippleAnimationConfig",(function(){return X})),n.d(t,"RippleRenderer",(function(){return J})),n.d(t,"MatPseudoCheckboxModule",(function(){return oe})),n.d(t,"MatPseudoCheckbox",(function(){return re})),n.d(t,"JAN",(function(){return ye})),n.d(t,"FEB",(function(){return ve})),n.d(t,"MAR",(function(){return be})),n.d(t,"APR",(function(){return _e})),n.d(t,"MAY",(function(){return we})),n.d(t,"JUN",(function(){return Ce})),n.d(t,"JUL",(function(){return Se})),n.d(t,"AUG",(function(){return Ee})),n.d(t,"SEP",(function(){return xe})),n.d(t,"OCT",(function(){return ke})),n.d(t,"NOV",(function(){return Oe})),n.d(t,"DEC",(function(){return Te})),n.d(t,"ɵa1",(function(){return y}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),i=n("./node_modules/tslib/tslib.es6.js"),a=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),s=n("./node_modules/rxjs/_esm5/index.js"),l=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),c=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),u=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),d=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),p=n("./node_modules/@angular/cdk/esm5/keycodes.es5.js"),f=n("./node_modules/@angular/common/fesm5/common.js"),h=function(){function e(){}return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),m=function(){function e(){}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),g=new r.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:y});function y(){return!0}var v=function(){function e(e){this._sanityChecksEnabled=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return e.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()},e.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},e.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},e.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}},e.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},e.decorators=[{type:r.NgModule,args:[{imports:[o.BidiModule],exports:[o.BidiModule]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[g]}]}]},e}();function b(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r._disabled=!1,r}return Object(i.__extends)(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Object(a.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),t}(e)}function _(e,t){return function(e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return o.color=t,o}return Object(i.__extends)(n,e),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(e){var n=e||t;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(e)}function w(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r._disableRipple=!1,r}return Object(i.__extends)(t,e),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(a.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),t}(e)}function C(e,t){return void 0===t&&(t=0),function(e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return o._tabIndex=t,o}return Object(i.__extends)(n,e),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:t},enumerable:!0,configurable:!0}),n}(e)}function S(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r.errorState=!1,r.stateChanges=new s.Subject,r}return Object(i.__extends)(t,e),t.prototype.updateErrorState=function(){var e=this.errorState,t=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,r=this.ngControl?this.ngControl.control:null,o=n.isErrorState(r,t);o!==e&&(this.errorState=o,this.stateChanges.next())},t}(e)}function E(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r._isInitialized=!1,r._pendingSubscribers=[],r.initialized=new s.Observable((function(e){r._isInitialized?r._notifySubscriber(e):r._pendingSubscribers.push(e)})),r}return Object(i.__extends)(t,e),t.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},t.prototype._notifySubscriber=function(e){e.next(),e.complete()},t}(e)}var x=new r.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:k});function k(){return Object(r.inject)(r.LOCALE_ID)}var O={provide:x,useExisting:r.LOCALE_ID},T=function(){function e(){this._localeChanges=new s.Subject}return Object.defineProperty(e.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),e.prototype.deserialize=function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()},e.prototype.setLocale=function(e){this.locale=e,this._localeChanges.next()},e.prototype.compareDate=function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)},e.prototype.sameDate=function(e,t){if(e&&t){var n=this.isValid(e),r=this.isValid(t);return n&&r?!this.compareDate(e,t):n==r}return e==t},e.prototype.clampDate=function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e},e}(),A=new r.InjectionToken("mat-date-formats"),P="undefined"!=typeof Intl,R={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},I=D(31,(function(e){return String(e+1)})),M={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},N=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function D(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=t(r);return n}var j=function(e){function t(t,n){var r=e.call(this)||this;return r.useUtcForDisplay=!0,e.prototype.setLocale.call(r,t),r.useUtcForDisplay=!n.TRIDENT,r._clampDate=n.TRIDENT||n.EDGE,r}return Object(i.__extends)(t,e),t.prototype.getYear=function(e){return e.getFullYear()},t.prototype.getMonth=function(e){return e.getMonth()},t.prototype.getDate=function(e){return e.getDate()},t.prototype.getDayOfWeek=function(e){return e.getDay()},t.prototype.getMonthNames=function(e){var t=this;if(P){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return D(12,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))}))}return R[e]},t.prototype.getDateNames=function(){var e=this;if(P){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return D(31,(function(n){return e._stripDirectionalityCharacters(e._format(t,new Date(2017,0,n+1)))}))}return I},t.prototype.getDayOfWeekNames=function(e){var t=this;if(P){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return D(7,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))}))}return M[e]},t.prototype.getYearName=function(e){if(P){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))},t.prototype.getFirstDayOfWeek=function(){return 0},t.prototype.getNumDaysInMonth=function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))},t.prototype.clone=function(e){return this.createDate(this.getYear(e),this.getMonth(e),this.getDate(e))},t.prototype.createDate=function(e,t,n){if(t<0||t>11)throw Error('Invalid month index "'+t+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var r=this._createDateWithOverflow(e,t,n);if(r.getMonth()!=t)throw Error('Invalid date "'+n+'" for month with index "'+t+'".');return r},t.prototype.today=function(){return new Date},t.prototype.parse=function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null},t.prototype.format=function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(P){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object(i.__assign)({},t,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())},t.prototype.addCalendarYears=function(e,t){return this.addCalendarMonths(e,12*t)},t.prototype.addCalendarMonths=function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},t.prototype.addCalendarDays=function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)},t.prototype.toIso8601=function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")},t.prototype.deserialize=function(t){if("string"==typeof t){if(!t)return null;if(N.test(t)){var n=new Date(t);if(this.isValid(n))return n}}return e.prototype.deserialize.call(this,t)},t.prototype.isDateInstance=function(e){return e instanceof Date},t.prototype.isValid=function(e){return!isNaN(e.getTime())},t.prototype.invalid=function(){return new Date(NaN)},t.prototype._createDateWithOverflow=function(e,t,n){var r=new Date(e,t,n);return e>=0&&e<100&&r.setFullYear(this.getYear(r)-1900),r},t.prototype._2digit=function(e){return("00"+e).slice(-2)},t.prototype._stripDirectionalityCharacters=function(e){return e.replace(/[\u200e\u200f]/g,"")},t.prototype._format=function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[x]}]},{type:l.Platform}]},t}(T),L={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},B=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[l.PlatformModule],providers:[{provide:T,useClass:j}]}]}],e}(),F=L,U=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[B],providers:[{provide:A,useValue:F}]}]}],e}(),H=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.dirty||t&&t.submitted))},e.decorators=[{type:r.Injectable}],e}(),V=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))},e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),z=new r.InjectionToken("MAT_HAMMER_OPTIONS"),q=["longpress","slide","slidestart","slideend","slideright","slideleft"],G={on:function(){},off:function(){}},W=function(e){function t(t,n){var r=e.call(this)||this;return r._hammerOptions=t,r.events=q,n&&n._checkHammerIsAvailable(),r}return Object(i.__extends)(t,e),t.prototype.buildHammer=function(e){var t="undefined"!=typeof window?window.Hammer:null;if(!t)return G;var n=new t(e,this._hammerOptions||void 0),r=new t.Pan,o=new t.Swipe,i=new t.Press,a=this._createRecognizer(r,{event:"slide",threshold:0},o),s=this._createRecognizer(i,{event:"longpress",time:500});return r.recognizeWith(o),n.add([o,i,r,a,s]),n},t.prototype._createRecognizer=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=new e.constructor(t);return n.push(e),n.forEach((function(e){return o.recognizeWith(e)})),o},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[z]}]},{type:v,decorators:[{type:r.Optional}]}]},t}(c.HammerGestureConfig),Y=function(){function e(){}return e.decorators=[{type:r.Directive,args:[{selector:"[mat-line], [matLine]",host:{class:"mat-line"}}]}],e}(),Z=function(){function e(e,t){var n=this;this._lines=e,this._element=t,this._setLineClass(this._lines.length),this._lines.changes.subscribe((function(){n._setLineClass(n._lines.length)}))}return e.prototype._setLineClass=function(e){this._resetClasses(),2===e||3===e?this._setClass("mat-"+e+"-line",!0):e>3&&this._setClass("mat-multi-line",!0)},e.prototype._resetClasses=function(){this._setClass("mat-2-line",!1),this._setClass("mat-3-line",!1),this._setClass("mat-multi-line",!1)},e.prototype._setClass=function(e,t){t?this._element.nativeElement.classList.add(e):this._element.nativeElement.classList.remove(e)},e}(),K=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[v],exports:[Y,v],declarations:[Y]}]}],e}(),$={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};$[$.FADING_IN]="FADING_IN",$[$.VISIBLE]="VISIBLE",$[$.FADING_OUT]="FADING_OUT",$[$.HIDDEN]="HIDDEN";var Q=function(){function e(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=$.HIDDEN}return e.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},e}(),X={enterDuration:450,exitDuration:400},J=function(){function e(e,t,n,r){var o=this;this._target=e,this._ngZone=t,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._eventOptions=!!Object(l.supportsPassiveEventListeners)()&&{passive:!0},this.onMousedown=function(e){var t=Object(u.isFakeMousedownFromScreenReader)(e),n=o._lastTouchStartEvent&&Date.now()<o._lastTouchStartEvent+800;o._target.rippleDisabled||t||n||(o._isPointerDown=!0,o.fadeInRipple(e.clientX,e.clientY,o._target.rippleConfig))},this.onTouchStart=function(e){o._target.rippleDisabled||(o._lastTouchStartEvent=Date.now(),o._isPointerDown=!0,o.fadeInRipple(e.touches[0].clientX,e.touches[0].clientY,o._target.rippleConfig))},this.onPointerUp=function(){o._isPointerDown&&(o._isPointerDown=!1,o._activeRipples.forEach((function(e){var t=e.state===$.VISIBLE||e.config.terminateOnPointerUp&&e.state===$.FADING_IN;!e.config.persistent&&t&&e.fadeOut()})))},r.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown),this._triggerEvents.set("mouseup",this.onPointerUp),this._triggerEvents.set("mouseleave",this.onPointerUp),this._triggerEvents.set("touchstart",this.onTouchStart),this._triggerEvents.set("touchend",this.onPointerUp))}return e.prototype.fadeInRipple=function(e,t,n){var r=this;void 0===n&&(n={});var o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object(i.__assign)({},X,n.animation);n.centered&&(e=o.left+o.width/2,t=o.top+o.height/2);var s,l=n.radius||function(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),o=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+o*o)}(e,t,o),c=e-o.left,u=t-o.top,d=a.enterDuration/(n.speedFactor||1),p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=c-l+"px",p.style.top=u-l+"px",p.style.height=2*l+"px",p.style.width=2*l+"px",p.style.backgroundColor=n.color||null,p.style.transitionDuration=d+"ms",this._containerElement.appendChild(p),s=p,window.getComputedStyle(s).getPropertyValue("opacity"),p.style.transform="scale(1)";var f=new Q(this,p,n);return f.state=$.FADING_IN,this._activeRipples.add(f),n.persistent||(this._mostRecentTransientRipple=f),this.runTimeoutOutsideZone((function(){var e=f===r._mostRecentTransientRipple;f.state=$.VISIBLE,n.persistent||e&&r._isPointerDown||f.fadeOut()}),d),f},e.prototype.fadeOutRipple=function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=Object(i.__assign)({},X,e.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",e.state=$.FADING_OUT,this.runTimeoutOutsideZone((function(){e.state=$.HIDDEN,n.parentNode.removeChild(n)}),r.exitDuration)}},e.prototype.fadeOutAll=function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))},e.prototype.setupTriggerEvents=function(e){var t=this;e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular((function(){t._triggerEvents.forEach((function(n,r){return e.addEventListener(r,n,t._eventOptions)}))})),this._triggerElement=e)},e.prototype.runTimeoutOutsideZone=function(e,t){void 0===t&&(t=0),this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))},e.prototype._removeTriggerEvents=function(){var e=this;this._triggerElement&&this._triggerEvents.forEach((function(t,n){e._triggerElement.removeEventListener(n,t,e._eventOptions)}))},e}();var ee=new r.InjectionToken("mat-ripple-global-options"),te=function(){function e(e,t,n,r,o){this._elementRef=e,this.radius=0,this.speedFactor=1,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new J(this,t,e,n),"NoopAnimations"===o&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},e.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},e.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(e.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object(i.__assign)({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp,speedFactor:this.speedFactor*(this._globalOptions.baseSpeedFactor||1)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),e.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},e.prototype.launch=function(e,t,n){return void 0===t&&(t=0),"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object(i.__assign)({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object(i.__assign)({},this.rippleConfig,e))},e.decorators=[{type:r.Directive,args:[{selector:"[mat-ripple], [matRipple]",exportAs:"matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],e.ctorParameters=function(){return[{type:r.ElementRef},{type:r.NgZone},{type:l.Platform},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[ee]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[d.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={color:[{type:r.Input,args:["matRippleColor"]}],unbounded:[{type:r.Input,args:["matRippleUnbounded"]}],centered:[{type:r.Input,args:["matRippleCentered"]}],radius:[{type:r.Input,args:["matRippleRadius"]}],speedFactor:[{type:r.Input,args:["matRippleSpeedFactor"]}],animation:[{type:r.Input,args:["matRippleAnimation"]}],disabled:[{type:r.Input,args:["matRippleDisabled"]}],trigger:[{type:r.Input,args:["matRippleTrigger"]}]},e}(),ne=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[v,l.PlatformModule],exports:[te,v],declarations:[te]}]}],e}(),re=function(){function e(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}return e.decorators=[{type:r.Component,args:[{encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"mat-pseudo-checkbox",styles:[".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:7px;left:0;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:3px;left:1px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],template:"",host:{class:"mat-pseudo-checkbox","[class.mat-pseudo-checkbox-indeterminate]":'state === "indeterminate"',"[class.mat-pseudo-checkbox-checked]":'state === "checked"',"[class.mat-pseudo-checkbox-disabled]":"disabled","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'}}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[d.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={state:[{type:r.Input}],disabled:[{type:r.Input}]},e}(),oe=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{exports:[re],declarations:[re]}]}],e}(),ie=function(){},ae=b(ie),se=0,le=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._labelId="mat-optgroup-label-"+se++,t}return Object(i.__extends)(t,e),t.decorators=[{type:r.Component,args:[{selector:"mat-optgroup",exportAs:"matOptgroup",template:'<label class="mat-optgroup-label" [id]="_labelId">{{ label }}</label><ng-content select="mat-option, ng-container"></ng-content>',encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush,inputs:["disabled"],styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],t.propDecorators={label:[{type:r.Input}]},t}(ae),ce=0,ue=function(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t},de=new r.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),pe=function(){function e(e,t,n,o){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ce++,this.onSelectionChange=new r.EventEmitter,this._stateChanges=new s.Subject}return Object.defineProperty(e.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Object(a.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),e.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},e.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},e.prototype.focus=function(){var e=this._getHostElement();"function"==typeof e.focus&&e.focus()},e.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},e.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},e.prototype.getLabel=function(){return this.viewValue},e.prototype._handleKeydown=function(e){e.keyCode!==p.ENTER&&e.keyCode!==p.SPACE||(this._selectViaInteraction(),e.preventDefault())},e.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._element.nativeElement},e.prototype.ngAfterViewChecked=function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype._emitSelectionChangeEvent=function(e){void 0===e&&(e=!1),this.onSelectionChange.emit(new ue(this,e))},e.decorators=[{type:r.Component,args:[{selector:"mat-option",exportAs:"matOption",host:{role:"option","[attr.tabindex]":"_getTabIndex()","[class.mat-selected]":"selected","[class.mat-option-multiple]":"multiple","[class.mat-active]":"active","[id]":"id","[attr.aria-selected]":"selected.toString()","[attr.aria-disabled]":"disabled.toString()","[class.mat-option-disabled]":"disabled","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-option"},styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media screen and (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],template:'<mat-pseudo-checkbox *ngIf="multiple" class="mat-option-pseudo-checkbox" [state]="selected ? \'checked\' : \'\'" [disabled]="disabled"></mat-pseudo-checkbox><span class="mat-option-text"><ng-content></ng-content></span><div class="mat-option-ripple" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple"></div>',encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[de]}]},{type:le,decorators:[{type:r.Optional}]}]},e.propDecorators={value:[{type:r.Input}],id:[{type:r.Input}],disabled:[{type:r.Input}],onSelectionChange:[{type:r.Output}]},e}();function fe(e,t,n){if(n.length){for(var r=t.toArray(),o=n.toArray(),i=0,a=0;a<e+1;a++)r[a].group&&r[a].group===o[i]&&i++;return i}return 0}function he(e,t,n,r){var o=e*t;return o<n?o:o+t>n+r?Math.max(0,o-r+t):n}var me=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[ne,f.CommonModule,oe],exports:[pe,le],declarations:[pe,le]}]}],e}(),ge=new r.InjectionToken("mat-label-global-options"),ye=0,ve=1,be=2,_e=3,we=4,Ce=5,Se=6,Ee=7,xe=8,ke=9,Oe=10,Te=11},"./node_modules/@angular/material/esm5/menu.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MAT_MENU_SCROLL_STRATEGY",(function(){return O})),n.d(t,"MatMenuModule",(function(){return R})),n.d(t,"MatMenu",(function(){return k})),n.d(t,"MAT_MENU_DEFAULT_OPTIONS",(function(){return E})),n.d(t,"MatMenuItem",(function(){return S})),n.d(t,"MatMenuTrigger",(function(){return P})),n.d(t,"matMenuAnimations",(function(){return y})),n.d(t,"fadeInItems",(function(){return v})),n.d(t,"transformMenu",(function(){return b})),n.d(t,"MatMenuContent",(function(){return g})),n.d(t,"ɵa23",(function(){return x})),n.d(t,"ɵb23",(function(){return w})),n.d(t,"ɵc23",(function(){return C})),n.d(t,"ɵf23",(function(){return _})),n.d(t,"ɵd23",(function(){return T})),n.d(t,"ɵe23",(function(){return A}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/cdk/esm5/portal.es5.js"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./node_modules/rxjs/_esm5/index.js"),s=n("./node_modules/@angular/animations/fesm5/animations.js"),l=n("./node_modules/tslib/tslib.es6.js"),c=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),u=n("./node_modules/@angular/material/esm5/core.es5.js"),d=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),p=n("./node_modules/@angular/cdk/esm5/keycodes.es5.js"),f=n("./node_modules/rxjs/_esm5/operators/index.js"),h=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),m=n("./node_modules/@angular/cdk/esm5/overlay.es5.js"),g=function(){function e(e,t,n,r,o,i){this._template=e,this._componentFactoryResolver=t,this._appRef=n,this._injector=r,this._viewContainerRef=o,this._document=i,this._attached=new a.Subject}return e.prototype.attach=function(e){void 0===e&&(e={}),this._portal||(this._portal=new o.TemplatePortal(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new o.DomPortalOutlet(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._portal.attach(this._outlet,e),this._attached.next()},e.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()},e.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()},e.decorators=[{type:r.Directive,args:[{selector:"ng-template[matMenuContent]"}]}],e.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.ComponentFactoryResolver},{type:r.ApplicationRef},{type:r.Injector},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Inject,args:[i.DOCUMENT]}]}]},e}(),y={transformMenu:Object(s.trigger)("transformMenu",[Object(s.state)("void",Object(s.style)({opacity:0,transform:"scale(0.01, 0.01)"})),Object(s.transition)("void => enter",Object(s.sequence)([Object(s.query)(".mat-menu-content",Object(s.style)({opacity:0})),Object(s.animate)("100ms linear",Object(s.style)({opacity:1,transform:"scale(1, 0.5)"})),Object(s.group)([Object(s.query)(".mat-menu-content",Object(s.animate)("400ms cubic-bezier(0.55, 0, 0.55, 0.2)",Object(s.style)({opacity:1}))),Object(s.animate)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",Object(s.style)({transform:"scale(1, 1)"}))])])),Object(s.transition)("* => void",Object(s.animate)("150ms 50ms linear",Object(s.style)({opacity:0})))]),fadeInItems:Object(s.trigger)("fadeInItems",[Object(s.state)("showing",Object(s.style)({opacity:1})),Object(s.transition)("void => *",[Object(s.style)({opacity:0}),Object(s.animate)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},v=y.fadeInItems,b=y.transformMenu;var _=new r.InjectionToken("MAT_MENU_PANEL"),w=function(){},C=Object(u.mixinDisableRipple)(Object(u.mixinDisabled)(w)),S=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i._elementRef=t,i._focusMonitor=r,i._parentMenu=o,i._hovered=new a.Subject,i._highlighted=!1,i._triggersSubmenu=!1,r&&r.monitor(i._getHostElement(),!1),o&&o.addItem&&o.addItem(i),i._document=n,i}return Object(l.__extends)(t,e),t.prototype.focus=function(e){void 0===e&&(e="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e):this._getHostElement().focus()},t.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._getHostElement()),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._elementRef.nativeElement},t.prototype._checkDisabled=function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())},t.prototype._handleMouseEnter=function(){this._hovered.next(this)},t.prototype.getLabel=function(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,n="";if(e.childNodes)for(var r=e.childNodes.length,o=0;o<r;o++)e.childNodes[o].nodeType===t&&(n+=e.childNodes[o].textContent);return n.trim()},t.decorators=[{type:r.Component,args:[{selector:"[mat-menu-item]",exportAs:"matMenuItem",inputs:["disabled","disableRipple"],host:{role:"menuitem",class:"mat-menu-item","[class.mat-menu-item-highlighted]":"_highlighted","[class.mat-menu-item-submenu-trigger]":"_triggersSubmenu","[attr.tabindex]":"_getTabIndex()","[attr.aria-disabled]":"disabled.toString()","[attr.disabled]":"disabled || null","(click)":"_checkDisabled($event)","(mouseenter)":"_handleMouseEnter()"},changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None,template:'<ng-content></ng-content><div class="mat-menu-ripple" matRipple [matRippleDisabled]="disableRipple || disabled" [matRippleTrigger]="_getHostElement()"></div>'}]}],t.ctorParameters=function(){return[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[i.DOCUMENT]}]},{type:c.FocusMonitor},{type:void 0,decorators:[{type:r.Inject,args:[_]},{type:r.Optional}]}]},t}(C),E=new r.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:x});function x(){return{overlapTrigger:!0,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var k=function(){function e(e,t,n){this._elementRef=e,this._ngZone=t,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._items=[],this._itemChanges=new a.Subject,this._tabSubscription=a.Subscription.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.Subject,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new r.EventEmitter,this.close=this.closed}return Object.defineProperty(e.prototype,"xPosition",{get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n      Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=e,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yPosition",{get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n      Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=e,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=Object(d.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(d.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panelClass",{set:function(e){e&&e.length&&(this._classList=e.split(" ").reduce((function(e,t){return e[t]=!0,e}),{}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classList",{get:function(){return this.panelClass},set:function(e){this.panelClass=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.setPositionClasses()},e.prototype.ngAfterContentInit=function(){var e=this;this._keyManager=new c.FocusKeyManager(this._items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return e.closed.emit("tab")}))},e.prototype.ngOnDestroy=function(){this._tabSubscription.unsubscribe(),this.closed.complete()},e.prototype._hovered=function(){return this._itemChanges.pipe(Object(f.startWith)(this._items),Object(f.switchMap)((function(e){return a.merge.apply(void 0,e.map((function(e){return e._hovered})))})))},e.prototype._handleKeydown=function(e){var t=e.keyCode;switch(t){case p.ESCAPE:this.closed.emit("keydown"),e.stopPropagation();break;case p.LEFT_ARROW:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.RIGHT_ARROW:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==p.UP_ARROW&&t!==p.DOWN_ARROW||this._keyManager.setFocusOrigin("keyboard"),this._keyManager.onKeydown(e)}},e.prototype.focusFirstItem=function(e){var t=this;void 0===e&&(e="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(f.take)(1)).subscribe((function(){return t._keyManager.setFocusOrigin(e).setFirstItemActive()})):this._keyManager.setFocusOrigin(e).setFirstItemActive()},e.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},e.prototype.setElevation=function(e){var t="mat-elevation-z"+(2+e),n=Object.keys(this._classList).find((function(e){return e.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)},e.prototype.addItem=function(e){-1===this._items.indexOf(e)&&(this._items.push(e),this._itemChanges.next(this._items))},e.prototype.removeItem=function(e){var t=this._items.indexOf(e);this._items.indexOf(e)>-1&&(this._items.splice(t,1),this._itemChanges.next(this._items))},e.prototype.setPositionClasses=function(e,t){void 0===e&&(e=this.xPosition),void 0===t&&(t=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t},e.prototype._startAnimation=function(){this._panelAnimationState="enter"},e.prototype._resetAnimation=function(){this._panelAnimationState="void"},e.prototype._onAnimationDone=function(e){this._animationDone.next(e),this._isAnimating=!1,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)},e.decorators=[{type:r.Component,args:[{selector:"mat-menu",template:'<ng-template><div class="mat-menu-panel" [ngClass]="_classList" (keydown)="_handleKeydown($event)" (click)="closed.emit(\'click\')" [@transformMenu]="_panelAnimationState" (@transformMenu.start)="_isAnimating = true" (@transformMenu.done)="_onAnimationDone($event)" tabindex="-1" role="menu"><div class="mat-menu-content"><ng-content></ng-content></div></div></ng-template>',styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:2px;outline:0}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media screen and (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}.mat-menu-panel.ng-animating .mat-menu-item-submenu-trigger{pointer-events:none}button.mat-menu-item{width:100%}.mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None,exportAs:"matMenu",animations:[y.transformMenu,y.fadeInItems],providers:[{provide:_,useExisting:e}]}]}],e.ctorParameters=function(){return[{type:r.ElementRef},{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[E]}]}]},e.propDecorators={backdropClass:[{type:r.Input}],xPosition:[{type:r.Input}],yPosition:[{type:r.Input}],templateRef:[{type:r.ViewChild,args:[r.TemplateRef]}],items:[{type:r.ContentChildren,args:[S]}],lazyContent:[{type:r.ContentChild,args:[g]}],overlapTrigger:[{type:r.Input}],hasBackdrop:[{type:r.Input}],panelClass:[{type:r.Input,args:["class"]}],classList:[{type:r.Input}],closed:[{type:r.Output}],close:[{type:r.Output}]},e}(),O=new r.InjectionToken("mat-menu-scroll-strategy");function T(e){return function(){return e.scrollStrategies.reposition()}}var A={provide:O,deps:[m.Overlay],useFactory:T},P=function(){function e(e,t,n,o,i,s,l,c){this._overlay=e,this._element=t,this._viewContainerRef=n,this._scrollStrategy=o,this._parentMenu=i,this._menuItemInstance=s,this._dir=l,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closeSubscription=a.Subscription.EMPTY,this._hoverSubscription=a.Subscription.EMPTY,this._openedByMouse=!1,this.menuOpened=new r.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.EventEmitter,this.onMenuClose=this.menuClosed,s&&(s._triggersSubmenu=this.triggersSubmenu())}return Object.defineProperty(e.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(e){this.menu=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e=this;this._checkMenu(),this.menu.close.subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)})),this._handleHover()},e.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._cleanUpSubscriptions()},Object.defineProperty(e.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),e.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},e.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},e.prototype.openMenu=function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay();this._setPosition(t.getConfig().positionStrategy),t.attach(this._portal),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closeSubscription=this._menuClosingActions().subscribe((function(){return e.closeMenu()})),this._initMenu(),this.menu instanceof k&&this.menu._startAnimation()}},e.prototype.closeMenu=function(){this.menu.close.emit()},e.prototype.focus=function(e){void 0===e&&(e="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element.nativeElement,e):this._element.nativeElement.focus()},e.prototype._destroyMenu=function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closeSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof k?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(f.filter)((function(e){return"void"===e.toState})),Object(f.take)(1),Object(f.takeUntil)(t.lazyContent._attached)).subscribe((function(){return t.lazyContent.detach()}),void 0,(function(){e._resetMenu()})):this._resetMenu()):(this._resetMenu(),t.lazyContent&&t.lazyContent.detach())}},e.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedByMouse?"mouse":"program")},e.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}},e.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this._openedByMouse?this.triggersSubmenu()||this.focus("mouse"):this.focus(),this._openedByMouse=!1},e.prototype._setIsMenuOpen=function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)},e.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n    Example:\n      <mat-menu #menu="matMenu"></mat-menu>\n      <button [matMenuTriggerFor]="menu"></button>')}()},e.prototype._createOverlay=function(){if(!this._overlayRef){this._portal=new o.TemplatePortal(this.menu.templateRef,this._viewContainerRef);var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e)}return this._overlayRef},e.prototype._getOverlayConfig=function(){return new m.OverlayConfig({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withTransformOriginOn(".mat-menu-panel"),hasBackdrop:null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},e.prototype._subscribeToPositions=function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe((function(e){var n="start"===e.connectionPair.overlayX?"after":"before",r="top"===e.connectionPair.overlayY?"below":"above";t.menu.setPositionClasses(n,r)}))},e.prototype._setPosition=function(e){var t="before"===this.menu.xPosition?["end","start"]:["start","end"],n=t[0],r=t[1],o="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],i=o[0],a=o[1],s=[i,a],l=s[0],c=s[1],u=[n,r],d=u[0],p=u[1],f=0;this.triggersSubmenu()?(p=n="before"===this.menu.xPosition?"start":"end",r=d="end"===n?"start":"end",f="bottom"===i?8:-8):this.menu.overlapTrigger||(l="top"===i?"bottom":"top",c="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:l,overlayX:d,overlayY:i,offsetY:f},{originX:r,originY:l,overlayX:p,overlayY:i,offsetY:f},{originX:n,originY:c,overlayX:d,overlayY:a,offsetY:-f},{originX:r,originY:c,overlayX:p,overlayY:a,offsetY:-f}])},e.prototype._cleanUpSubscriptions=function(){this._closeSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},e.prototype._menuClosingActions=function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:Object(a.of)(),o=this._parentMenu?this._parentMenu._hovered().pipe(Object(f.filter)((function(t){return t!==e._menuItemInstance})),Object(f.filter)((function(){return e._menuOpen}))):Object(a.of)();return Object(a.merge)(t,r,o,n)},e.prototype._handleMousedown=function(e){Object(c.isFakeMousedownFromScreenReader)(e)||(this._openedByMouse=!0,this.triggersSubmenu()&&e.preventDefault())},e.prototype._handleKeydown=function(e){var t=e.keyCode;this.triggersSubmenu()&&(t===p.RIGHT_ARROW&&"ltr"===this.dir||t===p.LEFT_ARROW&&"rtl"===this.dir)&&this.openMenu()},e.prototype._handleClick=function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()},e.prototype._handleHover=function(){var e=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(f.filter)((function(t){return t===e._menuItemInstance&&!t.disabled})),Object(f.delay)(0,a.asapScheduler)).subscribe((function(){e._openedByMouse=!0,e.menu instanceof k&&e.menu._isAnimating?e.menu._animationDone.pipe(Object(f.take)(1),Object(f.takeUntil)(e._parentMenu._hovered())).subscribe((function(){return e.openMenu()})):e.openMenu()})))},e.decorators=[{type:r.Directive,args:[{selector:"[mat-menu-trigger-for], [matMenuTriggerFor]",host:{"aria-haspopup":"true","[attr.aria-expanded]":"menuOpen || null","(mousedown)":"_handleMousedown($event)","(keydown)":"_handleKeydown($event)","(click)":"_handleClick($event)"},exportAs:"matMenuTrigger"}]}],e.ctorParameters=function(){return[{type:m.Overlay},{type:r.ElementRef},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Inject,args:[O]}]},{type:k,decorators:[{type:r.Optional}]},{type:S,decorators:[{type:r.Optional},{type:r.Self}]},{type:h.Directionality,decorators:[{type:r.Optional}]},{type:c.FocusMonitor}]},e.propDecorators={_deprecatedMatMenuTriggerFor:[{type:r.Input,args:["mat-menu-trigger-for"]}],menu:[{type:r.Input,args:["matMenuTriggerFor"]}],menuData:[{type:r.Input,args:["matMenuTriggerData"]}],menuOpened:[{type:r.Output}],onMenuOpen:[{type:r.Output}],menuClosed:[{type:r.Output}],onMenuClose:[{type:r.Output}]},e}(),R=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[i.CommonModule,u.MatCommonModule,u.MatRippleModule,m.OverlayModule],exports:[k,S,P,g,u.MatCommonModule],declarations:[k,S,P,g],providers:[A]}]}],e}()},"./node_modules/@angular/material/esm5/progress-spinner.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MatProgressSpinnerModule",(function(){return g})),n.d(t,"MatProgressSpinnerBase",(function(){return u})),n.d(t,"_MatProgressSpinnerMixinBase",(function(){return d})),n.d(t,"MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS",(function(){return p})),n.d(t,"MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY",(function(){return f})),n.d(t,"MatProgressSpinner",(function(){return h})),n.d(t,"MatSpinner",(function(){return m}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),a=n("./node_modules/@angular/material/esm5/core.es5.js"),s=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),l=n("./node_modules/@angular/common/fesm5/common.js"),c=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),u=function(e){this._elementRef=e},d=Object(a.mixinColor)(u,"primary"),p=new o.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:f});function f(){return{diameter:100}}var h=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;a._elementRef=t,a._document=r,a.animationMode=o,a.defaults=i,a._value=0,a._fallbackAnimation=!1,a._noopAnimations="NoopAnimations"===a.animationMode&&!!a.defaults&&!a.defaults._forceAnimations,a._diameter=100,a.mode="determinate",a._fallbackAnimation=n.EDGE||n.TRIDENT,i&&(i.diameter&&(a.diameter=i.diameter),i.strokeWidth&&(a.strokeWidth=i.strokeWidth));var s="mat-progress-spinner-indeterminate"+(a._fallbackAnimation?"-fallback":"")+"-animation";return t.nativeElement.classList.add(s),a}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"diameter",{get:function(){return this._diameter},set:function(e){this._diameter=Object(c.coerceNumberProperty)(e),this._fallbackAnimation||t.diameters.has(this._diameter)||this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=Object(c.coerceNumberProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,Object(c.coerceNumberProperty)(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_viewBox",{get:function(){var e=2*this._circleRadius+this.strokeWidth;return"0 0 "+e+" "+e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),t.prototype._attachStyleNode=function(){var e=t.styleTag;e||(e=this._document.createElement("style"),this._document.head.appendChild(e),t.styleTag=e),e&&e.sheet&&e.sheet.insertRule(this._getAnimationText(),0),t.diameters.add(this.diameter)},t.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},t.diameters=new Set([100]),t.styleTag=null,t.decorators=[{type:o.Component,args:[{selector:"mat-progress-spinner",exportAs:"matProgressSpinner",host:{role:"progressbar",class:"mat-progress-spinner","[class._mat-animation-noopable]":"_noopAnimations","[style.width.px]":"diameter","[style.height.px]":"diameter","[attr.aria-valuemin]":'mode === "determinate" ? 0 : null',"[attr.aria-valuemax]":'mode === "determinate" ? 100 : null',"[attr.aria-valuenow]":"value","[attr.mode]":"mode"},inputs:["color"],template:'<svg [style.width.px]="diameter" [style.height.px]="diameter" [attr.viewBox]="_viewBox" preserveAspectRatio="xMidYMid meet" focusable="false" [ngSwitch]="mode === \'indeterminate\'"><circle *ngSwitchCase="true" cx="50%" cy="50%" [attr.r]="_circleRadius" [style.animation-name]="\'mat-progress-spinner-stroke-rotate-\' + diameter" [style.stroke-dashoffset.px]="_strokeDashOffset" [style.stroke-dasharray.px]="_strokeCircumference" [style.stroke-width.%]="_circleStrokeWidth"></circle><circle *ngSwitchCase="false" cx="50%" cy="50%" [attr.r]="_circleRadius" [style.stroke-dashoffset.px]="_strokeDashOffset" [style.stroke-dasharray.px]="_strokeCircumference" [style.stroke-width.%]="_circleStrokeWidth"></circle></svg>',styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None}]}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:s.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[l.DOCUMENT]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[i.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:o.Inject,args:[p]}]}]},t.propDecorators={diameter:[{type:o.Input}],strokeWidth:[{type:o.Input}],mode:[{type:o.Input}],value:[{type:o.Input}]},t}(d),m=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r,o,i)||this;return a.mode="indeterminate",a}return Object(r.__extends)(t,e),t.decorators=[{type:o.Component,args:[{selector:"mat-spinner",host:{role:"progressbar",mode:"indeterminate",class:"mat-spinner mat-progress-spinner","[class._mat-animation-noopable]":"_noopAnimations","[style.width.px]":"diameter","[style.height.px]":"diameter"},inputs:["color"],template:'<svg [style.width.px]="diameter" [style.height.px]="diameter" [attr.viewBox]="_viewBox" preserveAspectRatio="xMidYMid meet" focusable="false" [ngSwitch]="mode === \'indeterminate\'"><circle *ngSwitchCase="true" cx="50%" cy="50%" [attr.r]="_circleRadius" [style.animation-name]="\'mat-progress-spinner-stroke-rotate-\' + diameter" [style.stroke-dashoffset.px]="_strokeDashOffset" [style.stroke-dasharray.px]="_strokeCircumference" [style.stroke-width.%]="_circleStrokeWidth"></circle><circle *ngSwitchCase="false" cx="50%" cy="50%" [attr.r]="_circleRadius" [style.stroke-dashoffset.px]="_strokeDashOffset" [style.stroke-dasharray.px]="_strokeCircumference" [style.stroke-width.%]="_circleStrokeWidth"></circle></svg>',styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None}]}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:s.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[l.DOCUMENT]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[i.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:o.Inject,args:[p]}]}]},t}(h),g=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[a.MatCommonModule,l.CommonModule],exports:[h,m,a.MatCommonModule],declarations:[h,m]}]}],e}()},"./node_modules/@angular/material/esm5/slide-toggle.es5.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MatSlideToggleModule",(function(){return w})),n.d(t,"MAT_SLIDE_TOGGLE_VALUE_ACCESSOR",(function(){return g})),n.d(t,"MatSlideToggleChange",(function(){return y})),n.d(t,"MatSlideToggleBase",(function(){return v})),n.d(t,"_MatSlideToggleMixinBase",(function(){return b})),n.d(t,"MatSlideToggle",(function(){return _})),n.d(t,"MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS",(function(){return h}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/tslib/tslib.es6.js"),i=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),a=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),s=n("./node_modules/@angular/cdk/esm5/coercion.es5.js"),l=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),c=n("./node_modules/@angular/forms/fesm5/forms.js"),u=n("./node_modules/@angular/material/esm5/core.es5.js"),d=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),p=n("./node_modules/@angular/cdk/esm5/observers.es5.js"),f=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),h=new r.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,disableDragValue:!1}}}),m=0,g={provide:c.NG_VALUE_ACCESSOR,useExisting:Object(r.forwardRef)((function(){return _})),multi:!0},y=function(e,t){this.source=e,this.checked=t},v=function(e){this._elementRef=e},b=Object(u.mixinTabIndex)(Object(u.mixinColor)(Object(u.mixinDisableRipple)(Object(u.mixinDisabled)(v)),"accent")),_=function(e){function t(t,n,o,i,a,s,l,c,u){var d=e.call(this,t)||this;return d._focusMonitor=o,d._changeDetectorRef=i,d._ngZone=s,d.defaults=l,d._animationMode=c,d._dir=u,d.onChange=function(e){},d.onTouched=function(){},d._uniqueId="mat-slide-toggle-"+ ++m,d._required=!1,d._checked=!1,d._dragging=!1,d.name=null,d.id=d._uniqueId,d.labelPosition="after",d.ariaLabel=null,d.ariaLabelledby=null,d.change=new r.EventEmitter,d.toggleChange=new r.EventEmitter,d.dragChange=new r.EventEmitter,d.tabIndex=parseInt(a)||0,d}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=Object(s.coerceBooleanProperty)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked=Object(s.coerceBooleanProperty)(e),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe((function(t){return e._onInputFocusChange(t)}))},t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement)},t.prototype._onChangeEvent=function(e){e.stopPropagation(),this._dragging||this.toggleChange.emit(),this._dragging||this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},t.prototype._onInputClick=function(e){e.stopPropagation()},t.prototype.writeValue=function(e){this.checked=!!e},t.prototype.registerOnChange=function(e){this.onChange=e},t.prototype.registerOnTouched=function(e){this.onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck()},t.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},t.prototype.toggle=function(){this.checked=!this.checked,this.onChange(this.checked)},t.prototype._onInputFocusChange=function(e){var t=this;this._focusRipple||"keyboard"!==e?e||(Promise.resolve().then((function(){return t.onTouched()})),this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)):this._focusRipple=this._ripple.launch(0,0,{persistent:!0})},t.prototype._emitChangeEvent=function(){this.onChange(this.checked),this.change.emit(new y(this,this.checked))},t.prototype._getDragPercentage=function(e){var t=e/this._thumbBarWidth*100;return this._previousChecked&&(t+=100),Math.max(0,Math.min(t,100))},t.prototype._onDragStart=function(){if(!this.disabled&&!this._dragging){var e=this._thumbEl.nativeElement;this._thumbBarWidth=this._thumbBarEl.nativeElement.clientWidth-e.clientWidth,e.classList.add("mat-dragging"),this._previousChecked=this.checked,this._dragging=!0}},t.prototype._onDrag=function(e){if(this._dragging){var t=this._dir&&"rtl"===this._dir.value?-1:1;this._dragPercentage=this._getDragPercentage(e.deltaX*t);var n=this._dragPercentage/100*this._thumbBarWidth*t;this._thumbEl.nativeElement.style.transform="translate3d("+n+"px, 0, 0)"}},t.prototype._onDragEnd=function(){var e=this;if(this._dragging){var t=this._dragPercentage>50;t!==this.checked&&(this.dragChange.emit(),this.defaults.disableDragValue||(this.checked=t,this._emitChangeEvent())),this._ngZone.runOutsideAngular((function(){return setTimeout((function(){e._dragging&&(e._dragging=!1,e._thumbEl.nativeElement.classList.remove("mat-dragging"),e._thumbEl.nativeElement.style.transform="")}))}))}},t.prototype._onLabelTextChange=function(){this._changeDetectorRef.markForCheck()},t.decorators=[{type:r.Component,args:[{selector:"mat-slide-toggle",exportAs:"matSlideToggle",host:{class:"mat-slide-toggle","[id]":"id","[class.mat-checked]":"checked","[class.mat-disabled]":"disabled","[class.mat-slide-toggle-label-before]":'labelPosition == "before"',"[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},template:'<label class="mat-slide-toggle-label" #label><div #toggleBar class="mat-slide-toggle-bar" [class.mat-slide-toggle-bar-no-side-margin]="!labelContent.textContent || !labelContent.textContent.trim()"><input #input class="mat-slide-toggle-input cdk-visually-hidden" type="checkbox" [id]="inputId" [required]="required" [tabIndex]="tabIndex" [checked]="checked" [disabled]="disabled" [attr.name]="name" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby" (change)="_onChangeEvent($event)" (click)="_onInputClick($event)"><div class="mat-slide-toggle-thumb-container" #thumbContainer (slidestart)="_onDragStart()" (slide)="_onDrag($event)" (slideend)="_onDragEnd()"><div class="mat-slide-toggle-thumb"></div><div class="mat-slide-toggle-ripple" mat-ripple [matRippleTrigger]="label" [matRippleDisabled]="disableRipple || disabled" [matRippleCentered]="true" [matRippleRadius]="23" [matRippleAnimation]="{enterDuration: 150}"></div></div></div><span class="mat-slide-toggle-content" #labelContent (cdkObserveContent)="_onLabelTextChange()"><ng-content></ng-content></span></label>',styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging,.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing;transition-duration:0s}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle-ripple{position:absolute;top:calc(50% - 23px);left:calc(50% - 23px);height:46px;width:46px;z-index:1;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}}@media screen and (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],providers:[g],inputs:["disabled","disableRipple","color","tabIndex"],encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:r.ElementRef},{type:l.Platform},{type:i.FocusMonitor},{type:r.ChangeDetectorRef},{type:void 0,decorators:[{type:r.Attribute,args:["tabindex"]}]},{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[h]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[d.ANIMATION_MODULE_TYPE]}]},{type:a.Directionality,decorators:[{type:r.Optional}]}]},t.propDecorators={_thumbEl:[{type:r.ViewChild,args:["thumbContainer"]}],_thumbBarEl:[{type:r.ViewChild,args:["toggleBar"]}],name:[{type:r.Input}],id:[{type:r.Input}],labelPosition:[{type:r.Input}],ariaLabel:[{type:r.Input,args:["aria-label"]}],ariaLabelledby:[{type:r.Input,args:["aria-labelledby"]}],required:[{type:r.Input}],checked:[{type:r.Input}],change:[{type:r.Output}],toggleChange:[{type:r.Output}],dragChange:[{type:r.Output}],_inputElement:[{type:r.ViewChild,args:["input"]}],_ripple:[{type:r.ViewChild,args:[u.MatRipple]}]},t}(b),w=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[u.MatRippleModule,u.MatCommonModule,p.ObserversModule],exports:[_,u.MatCommonModule],declarations:[_],providers:[{provide:f.HAMMER_GESTURE_CONFIG,useClass:u.GestureConfig}]}]}],e}()},"./node_modules/@angular/material/menu/typings/index.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MatMenuModuleNgFactory",(function(){return h})),n.d(t,"RenderType_MatMenu",(function(){return m})),n.d(t,"View_MatMenu_0",(function(){return y})),n.d(t,"View_MatMenu_Host_0",(function(){return v})),n.d(t,"MatMenuNgFactory",(function(){return b})),n.d(t,"RenderType_MatMenuItem",(function(){return _})),n.d(t,"View_MatMenuItem_0",(function(){return w})),n.d(t,"View_MatMenuItem_Host_0",(function(){return C})),n.d(t,"MatMenuItemNgFactory",(function(){return S}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/material/esm5/menu.es5.js"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./node_modules/@angular/cdk/esm5/overlay.es5.js"),s=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),l=n("./node_modules/@angular/material/esm5/core.es5.js"),c=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),u=n("./node_modules/@angular/cdk/esm5/portal.es5.js"),d=n("./node_modules/@angular/cdk/esm5/scrolling.es5.js"),p=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),f=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),h=r["ɵcmf"](o.MatMenuModule,[],(function(e){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](4608,i.NgLocalization,i.NgLocaleLocalization,[r.LOCALE_ID,[2,i["ɵangular_packages_common_common_a"]]]),r["ɵmpd"](4608,a.Overlay,a.Overlay,[a.ScrollStrategyOptions,a.OverlayContainer,r.ComponentFactoryResolver,a.OverlayPositionBuilder,a.OverlayKeyboardDispatcher,r.Injector,r.NgZone,i.DOCUMENT,s.Directionality]),r["ɵmpd"](5120,a["ɵc"],a["ɵd"],[a.Overlay]),r["ɵmpd"](5120,o.MAT_MENU_SCROLL_STRATEGY,o["ɵd23"],[a.Overlay]),r["ɵmpd"](1073742336,i.CommonModule,i.CommonModule,[]),r["ɵmpd"](1073742336,s.BidiModule,s.BidiModule,[]),r["ɵmpd"](1073742336,l.MatCommonModule,l.MatCommonModule,[[2,l.MATERIAL_SANITY_CHECKS]]),r["ɵmpd"](1073742336,c.PlatformModule,c.PlatformModule,[]),r["ɵmpd"](1073742336,l.MatRippleModule,l.MatRippleModule,[]),r["ɵmpd"](1073742336,u.PortalModule,u.PortalModule,[]),r["ɵmpd"](1073742336,d.ScrollDispatchModule,d.ScrollDispatchModule,[]),r["ɵmpd"](1073742336,a.OverlayModule,a.OverlayModule,[]),r["ɵmpd"](1073742336,o.MatMenuModule,o.MatMenuModule,[])])})),m=r["ɵcrt"]({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:2px;outline:0}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media screen and (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}.mat-menu-panel.ng-animating .mat-menu-item-submenu-trigger{pointer-events:none}button.mat-menu-item{width:100%}.mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.01, 0.01)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:2,steps:[{type:11,selector:".mat-menu-content",animation:{type:6,styles:{opacity:0},offset:null},options:null},{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 0.5)"},offset:null},timings:"100ms linear"},{type:3,steps:[{type:11,selector:".mat-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"400ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1, 1)"},offset:null},timings:"300ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],options:null}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"150ms 50ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(e,t,n){var r=!0,o=e.component;"keydown"===t&&(r=!1!==o._handleKeydown(n)&&r);"click"===t&&(r=!1!==o.closed.emit("click")&&r);"@transformMenu.start"===t&&(r=!1!=(o._isAnimating=!0)&&r);"@transformMenu.done"===t&&(r=!1!==o._onAnimationDone(n)&&r);return r}),null,null)),r["ɵdid"](1,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),r["ɵeld"](2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),r["ɵncd"](null,0)],(function(e,t){e(t,1,0,"mat-menu-panel",t.component._classList)}),(function(e,t){e(t,0,0,t.component._panelAnimationState)}))}function y(e){return r["ɵvid"](2,[r["ɵqud"](402653184,1,{templateRef:0}),(e()(),r["ɵand"](0,[[1,2]],null,0,null,g))],null,null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"mat-menu",[],null,null,null,y,m)),r["ɵprd"](6144,null,o["ɵf23"],null,[o.MatMenu]),r["ɵdid"](2,1294336,null,2,o.MatMenu,[r.ElementRef,r.NgZone,o.MAT_MENU_DEFAULT_OPTIONS],null,null),r["ɵqud"](603979776,1,{items:1}),r["ɵqud"](335544320,2,{lazyContent:0})],(function(e,t){e(t,2,0)}),null)}var b=r["ɵccf"]("mat-menu",o.MatMenu,v,{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:"class",classList:"classList"},{closed:"closed",close:"close"},["*"]),_=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function w(e){return r["ɵvid"](2,[r["ɵncd"](null,0),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r["ɵdid"](2,212992,null,0,l.MatRipple,[r.ElementRef,r.NgZone,c.Platform,[2,l.MAT_RIPPLE_GLOBAL_OPTIONS],[2,p.ANIMATION_MODULE_TYPE]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(e,t){e(t,1,0,r["ɵnov"](t,2).unbounded)}))}function C(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","mat-menu-item"],["mat-menu-item",""],["role","menuitem"]],[[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1)._checkDisabled(n)&&o);"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1)._handleMouseEnter()&&o);return o}),w,_)),r["ɵdid"](1,180224,null,0,o.MatMenuItem,[r.ElementRef,i.DOCUMENT,f.FocusMonitor,[2,o["ɵf23"]]],null,null)],null,(function(e,t){e(t,0,0,r["ɵnov"](t,1)._highlighted,r["ɵnov"](t,1)._triggersSubmenu,r["ɵnov"](t,1)._getTabIndex(),r["ɵnov"](t,1).disabled.toString(),r["ɵnov"](t,1).disabled||null)}))}var S=r["ɵccf"]("[mat-menu-item]",o.MatMenuItem,C,{disabled:"disabled",disableRipple:"disableRipple"},{},["*"])},"./node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css":function(e,t){},"./node_modules/@angular/material/progress-spinner/typings/index.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MatProgressSpinnerModuleNgFactory",(function(){return u})),n.d(t,"RenderType_MatProgressSpinner",(function(){return d})),n.d(t,"View_MatProgressSpinner_0",(function(){return h})),n.d(t,"View_MatProgressSpinner_Host_0",(function(){return m})),n.d(t,"MatProgressSpinnerNgFactory",(function(){return g})),n.d(t,"RenderType_MatSpinner",(function(){return y})),n.d(t,"View_MatSpinner_0",(function(){return _})),n.d(t,"View_MatSpinner_Host_0",(function(){return w})),n.d(t,"MatSpinnerNgFactory",(function(){return C}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/material/esm5/progress-spinner.es5.js"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),s=n("./node_modules/@angular/material/esm5/core.es5.js"),l=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),c=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),u=r["ɵcmf"](o.MatProgressSpinnerModule,[],(function(e){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](4608,i.NgLocalization,i.NgLocaleLocalization,[r.LOCALE_ID,[2,i["ɵangular_packages_common_common_a"]]]),r["ɵmpd"](1073742336,a.BidiModule,a.BidiModule,[]),r["ɵmpd"](1073742336,s.MatCommonModule,s.MatCommonModule,[[2,s.MATERIAL_SANITY_CHECKS]]),r["ɵmpd"](1073742336,i.CommonModule,i.CommonModule,[]),r["ɵmpd"](1073742336,o.MatProgressSpinnerModule,o.MatProgressSpinnerModule,[])])})),d=r["ɵcrt"]({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function h(e){return r["ɵvid"](2,[(e()(),r["ɵeld"](0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),r["ɵdid"](1,16384,null,0,i.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](3,278528,null,0,i.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,i.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](5,278528,null,0,i.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,i.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(e,t){e(t,1,0,"indeterminate"===t.component.mode);e(t,3,0,!0);e(t,5,0,!1)}),(function(e,t){var n=t.component;e(t,0,0,n.diameter,n.diameter,n._viewBox)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,h,d)),r["ɵdid"](1,49152,null,0,o.MatProgressSpinner,[r.ElementRef,l.Platform,[2,i.DOCUMENT],[2,c.ANIMATION_MODULE_TYPE],o.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],null,null)],null,(function(e,t){e(t,0,0,r["ɵnov"](t,1)._noopAnimations,r["ɵnov"](t,1).diameter,r["ɵnov"](t,1).diameter,"determinate"===r["ɵnov"](t,1).mode?0:null,"determinate"===r["ɵnov"](t,1).mode?100:null,r["ɵnov"](t,1).value,r["ɵnov"](t,1).mode)}))}var g=r["ɵccf"]("mat-progress-spinner",o.MatProgressSpinner,m,{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},{},[]),y=r["ɵcrt"]({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)}))}function _(e){return r["ɵvid"](2,[(e()(),r["ɵeld"](0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),r["ɵdid"](1,16384,null,0,i.NgSwitch,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](3,278528,null,0,i.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,i.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](5,278528,null,0,i.NgSwitchCase,[r.ViewContainerRef,r.TemplateRef,i.NgSwitch],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(e,t){e(t,1,0,"indeterminate"===t.component.mode);e(t,3,0,!0);e(t,5,0,!1)}),(function(e,t){var n=t.component;e(t,0,0,n.diameter,n.diameter,n._viewBox)}))}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,_,y)),r["ɵdid"](1,49152,null,0,o.MatSpinner,[r.ElementRef,l.Platform,[2,i.DOCUMENT],[2,c.ANIMATION_MODULE_TYPE],o.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],null,null)],null,(function(e,t){e(t,0,0,r["ɵnov"](t,1)._noopAnimations,r["ɵnov"](t,1).diameter,r["ɵnov"](t,1).diameter)}))}var C=r["ɵccf"]("mat-spinner",o.MatSpinner,w,{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},{},[])},"./node_modules/@angular/material/slide-toggle/typings/index.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MatSlideToggleModuleNgFactory",(function(){return f})),n.d(t,"RenderType_MatSlideToggle",(function(){return h})),n.d(t,"View_MatSlideToggle_0",(function(){return m})),n.d(t,"View_MatSlideToggle_Host_0",(function(){return g})),n.d(t,"MatSlideToggleNgFactory",(function(){return y}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/material/esm5/slide-toggle.es5.js"),i=n("./node_modules/@angular/cdk/esm5/observers.es5.js"),a=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),s=n("./node_modules/@angular/material/esm5/core.es5.js"),l=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),c=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),u=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),d=n("./node_modules/@angular/forms/fesm5/forms.js"),p=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),f=r["ɵcmf"](o.MatSlideToggleModule,[],(function(e){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](4608,i.MutationObserverFactory,i.MutationObserverFactory,[]),r["ɵmpd"](4608,a.HAMMER_GESTURE_CONFIG,s.GestureConfig,[[2,s.MAT_HAMMER_OPTIONS],[2,s.MatCommonModule]]),r["ɵmpd"](1073742336,l.BidiModule,l.BidiModule,[]),r["ɵmpd"](1073742336,s.MatCommonModule,s.MatCommonModule,[[2,s.MATERIAL_SANITY_CHECKS]]),r["ɵmpd"](1073742336,c.PlatformModule,c.PlatformModule,[]),r["ɵmpd"](1073742336,s.MatRippleModule,s.MatRippleModule,[]),r["ɵmpd"](1073742336,i.ObserversModule,i.ObserversModule,[]),r["ɵmpd"](1073742336,o.MatSlideToggleModule,o.MatSlideToggleModule,[])])})),h=r["ɵcrt"]({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging,.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing;transition-duration:0s}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle-ripple{position:absolute;top:calc(50% - 23px);left:calc(50% - 23px);height:46px;width:46px;z-index:1;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}}@media screen and (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}});function m(e){return r["ɵvid"](2,[r["ɵqud"](402653184,1,{_thumbEl:0}),r["ɵqud"](402653184,2,{_thumbBarEl:0}),r["ɵqud"](402653184,3,{_inputElement:0}),r["ɵqud"](402653184,4,{_ripple:0}),(e()(),r["ɵeld"](4,0,[["label",1]],null,10,"label",[["class","mat-slide-toggle-label"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,[[2,0],["toggleBar",1]],null,6,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(e()(),r["ɵeld"](6,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"change"===t&&(r=!1!==o._onChangeEvent(n)&&r);"click"===t&&(r=!1!==o._onInputClick(n)&&r);return r}),null,null)),(e()(),r["ɵeld"](7,0,[[1,0],["thumbContainer",1]],null,4,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(e,t,n){var r=!0,o=e.component;"slidestart"===t&&(r=!1!==o._onDragStart()&&r);"slide"===t&&(r=!1!==o._onDrag(n)&&r);"slideend"===t&&(r=!1!==o._onDragEnd()&&r);return r}),null,null)),(e()(),r["ɵeld"](8,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,2,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r["ɵdid"](10,212992,[[4,4]],0,s.MatRipple,[r.ElementRef,r.NgZone,c.Platform,[2,s.MAT_RIPPLE_GLOBAL_OPTIONS],[2,u.ANIMATION_MODULE_TYPE]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),r["ɵpod"](11,{enterDuration:0}),(e()(),r["ɵeld"](12,0,[["labelContent",1]],null,2,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(e,t,n){var r=!0,o=e.component;"cdkObserveContent"===t&&(r=!1!==o._onLabelTextChange()&&r);return r}),null,null)),r["ɵdid"](13,1196032,null,0,i.CdkObserveContent,[i.ContentObserver,r.ElementRef,r.NgZone],null,{event:"cdkObserveContent"}),r["ɵncd"](null,0)],(function(e,t){var n=t.component,o=e(t,11,0,150);e(t,10,0,!0,23,o,n.disableRipple||n.disabled,r["ɵnov"](t,4))}),(function(e,t){var n=t.component;e(t,5,0,!r["ɵnov"](t,12).textContent||!r["ɵnov"](t,12).textContent.trim()),e(t,6,0,n.inputId,n.required,n.tabIndex,n.checked,n.disabled,n.name,n.ariaLabel,n.ariaLabelledby),e(t,9,0,r["ɵnov"](t,10).unbounded)}))}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],null,null,m,h)),r["ɵprd"](5120,null,d.NG_VALUE_ACCESSOR,(function(e){return[e]}),[o.MatSlideToggle]),r["ɵdid"](2,1228800,null,0,o.MatSlideToggle,[r.ElementRef,c.Platform,p.FocusMonitor,r.ChangeDetectorRef,[8,null],r.NgZone,o.MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS,[2,u.ANIMATION_MODULE_TYPE],[2,l.Directionality]],null,null)],null,(function(e,t){e(t,0,0,r["ɵnov"](t,2).id,r["ɵnov"](t,2).checked,r["ɵnov"](t,2).disabled,"before"==r["ɵnov"](t,2).labelPosition,"NoopAnimations"===r["ɵnov"](t,2)._animationMode)}))}var y=r["ɵccf"]("mat-slide-toggle",o.MatSlideToggle,g,{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:"aria-label",ariaLabelledby:"aria-labelledby",required:"required",checked:"checked"},{change:"change",toggleChange:"toggleChange",dragChange:"dragChange"},["*"])},"./node_modules/@angular/platform-browser/fesm5/animations.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_platform_browser_animations_animations_g",(function(){return h})),n.d(t,"ɵangular_packages_platform_browser_animations_animations_e",(function(){return C})),n.d(t,"ɵangular_packages_platform_browser_animations_animations_f",(function(){return S})),n.d(t,"ɵangular_packages_platform_browser_animations_animations_a",(function(){return g})),n.d(t,"ɵangular_packages_platform_browser_animations_animations_c",(function(){return v})),n.d(t,"ɵangular_packages_platform_browser_animations_animations_d",(function(){return b})),n.d(t,"ɵangular_packages_platform_browser_animations_animations_b",(function(){return y})),n.d(t,"BrowserAnimationsModule",(function(){return E})),n.d(t,"NoopAnimationsModule",(function(){return x})),n.d(t,"ANIMATION_MODULE_TYPE",(function(){return _})),n.d(t,"ɵBrowserAnimationBuilder",(function(){return c})),n.d(t,"ɵBrowserAnimationFactory",(function(){return u})),n.d(t,"ɵAnimationRenderer",(function(){return m})),n.d(t,"ɵAnimationRendererFactory",(function(){return f}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/animations/fesm5/animations.js"),i=n("./node_modules/@angular/core/fesm5/core.js"),a=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),s=n("./node_modules/@angular/animations/fesm5/browser.js"),l=n("./node_modules/@angular/common/fesm5/common.js"),c=function(e){function t(t,n){var r=e.call(this)||this;r._nextAnimationId=0;var o={id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}};return r._renderer=t.createRenderer(n.body,o),r}return Object(r.__extends)(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(o.sequence)(e):e;return p(this._renderer,null,t,"register",[n]),new u(t,this._renderer)},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:i.RendererFactory2},{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]}]},t}(o.AnimationBuilder),u=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return Object(r.__extends)(t,e),t.prototype.create=function(e,t){return new d(this._id,e,t||{},this._renderer)},t}(o.AnimationFactory),d=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return p(this._renderer,this.element,this.id,e,t)},e.prototype.onDone=function(e){this._listen("done",e)},e.prototype.onStart=function(e){this._listen("start",e)},e.prototype.onDestroy=function(e){this._listen("destroy",e)},e.prototype.init=function(){this._command("init")},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this._command("play"),this._started=!0},e.prototype.pause=function(){this._command("pause")},e.prototype.restart=function(){this._command("restart")},e.prototype.finish=function(){this._command("finish")},e.prototype.destroy=function(){this._command("destroy")},e.prototype.reset=function(){this._command("reset")},e.prototype.setPosition=function(e){this._command("setPosition",e)},e.prototype.getPosition=function(){return 0},e}();function p(e,t,n,r,o){return e.setProperty(t,"@@"+n+":"+r,o)}var f=function(){function e(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return e.prototype.createRenderer=function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var o=this._rendererCache.get(r);return o||(o=new h("",r,this.engine),this._rendererCache.set(r,o)),o}var i=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach((function(t){return n.engine.registerTrigger(i,a,e,t.name,t)})),new m(this,a,r,this.engine)},e.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},e.prototype._scheduleCountTask=function(){var e=this;this.promise.then((function(){e._microtaskId++}))},e.prototype.scheduleListenerCallback=function(e,t,n){var o=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){o._zone.run((function(){o._animationCallbacksBuffer.forEach((function(e){var t=Object(r.__read)(e,2);(0,t[0])(t[1])})),o._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))},e.prototype.end=function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:i.RendererFactory2},{type:s["ɵAnimationEngine"]},{type:i.NgZone}]},e}(),h=function(){function e(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(e){return t.destroyNode(e)}:null}return Object.defineProperty(e.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},e.prototype.createElement=function(e,t){return this.delegate.createElement(e,t)},e.prototype.createComment=function(e){return this.delegate.createComment(e)},e.prototype.createText=function(e){return this.delegate.createText(e)},e.prototype.appendChild=function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)},e.prototype.insertBefore=function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)},e.prototype.removeChild=function(e,t){this.engine.onRemove(this.namespaceId,t,this.delegate)},e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setAttribute=function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)},e.prototype.setValue=function(e,t){this.delegate.setValue(e,t)},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.disableAnimations=function(e,t){this.engine.disableAnimations(e,t)},e}(),m=function(e){function t(t,n,r,o){var i=e.call(this,n,r,o)||this;return i.factory=t,i.namespaceId=n,i}return Object(r.__extends)(t,e),t.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?(n=void 0===n||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)},t.prototype.listen=function(e,t,n){var o,i=this;if("@"==t.charAt(0)){var a=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),s=t.substr(1),l="";return"@"!=s.charAt(0)&&(s=(o=Object(r.__read)(function(e){var t=e.indexOf("."),n=e.substring(0,t),r=e.substr(t+1);return[n,r]}(s),2))[0],l=o[1]),this.engine.listen(this.namespaceId,a,s,l,(function(e){var t=e._data||-1;i.factory.scheduleListenerCallback(t,n,e)}))}return this.delegate.listen(e,t,n)},t}(h);var g=function(e){function t(t,n,r){return e.call(this,t.body,n,r)||this}return Object(r.__extends)(t,e),t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[l.DOCUMENT]}]},{type:s.AnimationDriver},{type:s["ɵAnimationStyleNormalizer"]}]},t}(s["ɵAnimationEngine"]);function y(){return Object(s["ɵsupportsWebAnimations"])()?new s["ɵWebAnimationsDriver"]:new s["ɵCssKeyframesDriver"]}function v(){return new s["ɵWebAnimationsStyleNormalizer"]}function b(e,t,n){return new f(e,t,n)}var _=new i.InjectionToken("AnimationModuleType"),w=[{provide:o.AnimationBuilder,useClass:c},{provide:s["ɵAnimationStyleNormalizer"],useFactory:v},{provide:s["ɵAnimationEngine"],useClass:g},{provide:i.RendererFactory2,useFactory:b,deps:[a["ɵDomRendererFactory2"],s["ɵAnimationEngine"],i.NgZone]}],C=Object(r.__spread)([{provide:s.AnimationDriver,useFactory:y},{provide:_,useValue:"BrowserAnimations"}],w),S=Object(r.__spread)([{provide:s.AnimationDriver,useClass:s["ɵNoopAnimationDriver"]},{provide:_,useValue:"NoopAnimations"}],w),E=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{exports:[a.BrowserModule],providers:C}]}],e}(),x=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{exports:[a.BrowserModule],providers:S}]}],e}()},"./node_modules/@angular/platform-browser/fesm5/platform-browser.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_platform_browser_platform_browser_c",(function(){return Oe})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_b",(function(){return ke})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_a",(function(){return xe})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_k",(function(){return d})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_d",(function(){return Ae})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_i",(function(){return S})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_h",(function(){return C})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_e",(function(){return Re})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_f",(function(){return He})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_j",(function(){return T})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_g",(function(){return I})),n.d(t,"BrowserModule",(function(){return Te})),n.d(t,"platformBrowser",(function(){return Se})),n.d(t,"Meta",(function(){return Pe})),n.d(t,"Title",(function(){return Ie})),n.d(t,"disableDebugTools",(function(){return Le})),n.d(t,"enableDebugTools",(function(){return je})),n.d(t,"BrowserTransferStateModule",(function(){return Ve})),n.d(t,"TransferState",(function(){return Ue})),n.d(t,"makeStateKey",(function(){return Fe})),n.d(t,"By",(function(){return ze})),n.d(t,"DOCUMENT",(function(){return v})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return P})),n.d(t,"EventManager",(function(){return R})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return ae})),n.d(t,"HAMMER_LOADER",(function(){return se})),n.d(t,"HammerGestureConfig",(function(){return le})),n.d(t,"DomSanitizer",(function(){return fe})),n.d(t,"VERSION",(function(){return qe})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS",(function(){return Ce})),n.d(t,"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return we})),n.d(t,"ɵinitDomAdapter",(function(){return Ee})),n.d(t,"ɵBrowserDomAdapter",(function(){return g})),n.d(t,"ɵBrowserPlatformLocation",(function(){return _})),n.d(t,"ɵTRANSITION_ID",(function(){return w})),n.d(t,"ɵBrowserGetTestability",(function(){return E})),n.d(t,"ɵescapeHtml",(function(){return Be})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS",(function(){return A})),n.d(t,"ɵDomAdapter",(function(){return u})),n.d(t,"ɵgetDOM",(function(){return s})),n.d(t,"ɵsetRootDomAdapter",(function(){return l})),n.d(t,"ɵDomRendererFactory2",(function(){return z})),n.d(t,"ɵNAMESPACE_URIS",(function(){return D})),n.d(t,"ɵflattenStyles",(function(){return H})),n.d(t,"ɵshimContentAttribute",(function(){return F})),n.d(t,"ɵshimHostAttribute",(function(){return U})),n.d(t,"ɵDomEventsPlugin",(function(){return oe})),n.d(t,"ɵHammerGesturesPlugin",(function(){return ce})),n.d(t,"ɵKeyEventsPlugin",(function(){return pe})),n.d(t,"ɵDomSharedStylesHost",(function(){return N})),n.d(t,"ɵSharedStylesHost",(function(){return M})),n.d(t,"ɵDomSanitizerImpl",(function(){return he}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./node_modules/@angular/core/fesm5/core.js"),a=null;function s(){return a}function l(e){a||(a=e)}var c,u=function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}(),d=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach((function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])}))}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return Object(r.__extends)(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(u),p={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},f={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},h={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};i["ɵglobal"].Node&&(c=i["ɵglobal"].Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var m,g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){l(new t)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var o;(o=e)[t].apply(o,Object(r.__spread)(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return p},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return c.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach((function(n){return e.insertBefore(n,t)}))},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&h.hasOwnProperty(t)&&(t=h[t]))}return f[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t=function(){if(!y&&!(y=document.querySelector("base")))return null;return y.getAttribute("href")}();return null==t?null:function(e){m||(m=document.createElement("a"));return m.setAttribute("href",e),"/"===m.pathname.charAt(0)?m.pathname:"/"+m.pathname}(t)},t.prototype.resetBaseElement=function(){y=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return Object(o["ɵparseCookieValue"])(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(d),y=null;var v=o.DOCUMENT;function b(){return!!window.history.pushState}var _=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return Object(r.__extends)(t,e),t.prototype._init=function(){this.location=s().getLocation(),this._history=s().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return s().getBaseHref(this._doc)},t.prototype.onPopState=function(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){b()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){b()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]}]},t}(o.PlatformLocation),w=new i.InjectionToken("TRANSITION_ID");function C(e,t,n){return function(){n.get(i.ApplicationInitStatus).donePromise.then((function(){var n=s();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter((function(t){return n.getAttribute(t,"ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}}var S=[{provide:i.APP_INITIALIZER,useFactory:C,deps:[w,v,i.Injector],multi:!0}],E=function(){function e(){}return e.init=function(){Object(i.setTestabilityGetter)(new e)},e.prototype.addToWindow=function(e){i["ɵglobal"].getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i["ɵglobal"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},i["ɵglobal"].getAllAngularRootElements=function(){return e.getAllRootElements()};i["ɵglobal"].frameworkStabilizers||(i["ɵglobal"].frameworkStabilizers=[]),i["ɵglobal"].frameworkStabilizers.push((function(e){var t=i["ɵglobal"].getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(o)}))}))},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?s().isShadowRoot(t)?this.findTestabilityInTree(e,s().getHost(t),!0):this.findTestabilityInTree(e,s().parentElement(t),!0):null},e}();function x(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i["ɵglobal"].ng=i["ɵglobal"].ng||{})[e]=t)}var k={ApplicationRef:i.ApplicationRef,NgZone:i.NgZone};function O(e){return Object(i.getDebugNode)(e)}function T(e){return x("probe",O),x("coreTokens",Object(r.__assign)({},k,(e||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return O}}var A=[{provide:i.APP_INITIALIZER,useFactory:T,deps:[[i.NgProbeToken,new i.Optional]],multi:!0}],P=new i.InjectionToken("EventManagerPlugins"),R=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach((function(e){return e.manager=n})),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:i.Inject,args:[P]}]},{type:i.NgZone}]},e}(),I=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=s().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),M=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e.decorators=[{type:i.Injectable}],e}(),N=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return Object(r.__extends)(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(e){return s().remove(e)}))},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]}]},t}(M),D={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},j=/%COMP%/g,L="_nghost-%COMP%",B="_ngcontent-%COMP%";function F(e){return B.replace(j,e)}function U(e){return L.replace(j,e)}function H(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?H(e,o,n):(o=o.replace(j,e),n.push(o))}return n}function V(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var z=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new q(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Z(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case i.ViewEncapsulation.Native:case i.ViewEncapsulation.ShadowDom:return new K(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=H(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e.decorators=[{type:i.Injectable}],e.ctorParameters=function(){return[{type:R},{type:N}]},e}(),q=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(D[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=D[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=D[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&i.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&i.RendererStyleFlags2.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&i.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){W(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return W(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,V(n)):this.eventManager.addEventListener(e,t,V(n))},e}(),G="@".charCodeAt(0);function W(e,t){if(e.charCodeAt(0)===G)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Y,Z=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=H(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=F(r.id),o.hostAttr=U(r.id),o}return Object(r.__extends)(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(q),K=function(e){function t(t,n,r,o){var a=e.call(this,t)||this;a.sharedStylesHost=n,a.hostEl=r,a.component=o,o.encapsulation===i.ViewEncapsulation.ShadowDom?a.shadowRoot=r.attachShadow({mode:"open"}):a.shadowRoot=r.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=H(o.id,o.styles,[]),l=0;l<s.length;l++){var c=document.createElement("style");c.textContent=s[l],a.shadowRoot.appendChild(c)}return a}return Object(r.__extends)(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(q),$="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Q=$("addEventListener"),X=$("removeEventListener"),J={},ee="__zone_symbol__propagationStopped",te="undefined"!=typeof Zone&&Zone[$("BLACK_LISTED_EVENTS")];te&&(Y={},te.forEach((function(e){Y[e]=e})));var ne=function(e){return!!Y&&Y.hasOwnProperty(e)},re=function(e){var t=J[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[ee];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},oe=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.ngZone=n,r&&Object(o.isPlatformServer)(r)||i.patchEvent(),i}return Object(r.__extends)(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[ee]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=e[Q],a=n;if(!o||i.NgZone.isInAngularZone()&&!ne(t))e.addEventListener(t,a,!1);else{var s=J[t];s||(s=J[t]=$("ANGULAR"+t+"FALSE"));var l=e[s],c=l&&l.length>0;l||(l=e[s]=[]);var u=ne(t)?Zone.root:Zone.current;if(0===l.length)l.push({zone:u,handler:a});else{for(var d=!1,p=0;p<l.length;p++)if(l[p].handler===a){d=!0;break}d||l.push({zone:u,handler:a})}c||e[Q](t,re,!1)}return function(){return r.removeEventListener(e,t,a)}},t.prototype.removeEventListener=function(e,t,n){var r=e[X];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=J[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,s=0;s<i.length;s++)if(i[s].handler===n){a=!0,i.splice(s,1);break}a?0===i.length&&r.apply(e,[t,re,!1]):e.removeEventListener.apply(e,[t,n,!1])},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]},{type:i.NgZone},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[i.PLATFORM_ID]}]}]},t}(I),ie={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},ae=new i.InjectionToken("HammerGestureConfig"),se=new i.InjectionToken("HammerLoader"),le=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e.decorators=[{type:i.Injectable}],e}(),ce=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return Object(r.__extends)(t,e),t.prototype.supports=function(e){return!(!ie.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!(!window.Hammer&&!this.loader)||(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),!1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then((function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))})).catch((function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}})),function(){a()}}return o.runOutsideAngular((function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded((function(){n(e)}))};return i.on(t,a),function(){return i.off(t,a)}}))},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]},{type:le,decorators:[{type:i.Inject,args:[ae]}]},{type:i["ɵConsole"]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[se]}]}]},t}(I),ue=["alt","control","meta","shift"],de={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},pe=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return s().onAndCancel(e,o.domEventName,i)}))},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(ue.forEach((function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")})),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ue.forEach((function(r){r!=n&&((0,de[r])(e)&&(t+=r+"."))})),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded((function(){return n(o)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]}]},t}(I),fe=function(){},he=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(r.__extends)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return t instanceof ge?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(i["ɵ_sanitizeHtml"])(this._doc,String(t)));case i.SecurityContext.STYLE:return t instanceof ye?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(i["ɵ_sanitizeStyle"])(t));case i.SecurityContext.SCRIPT:if(t instanceof ve)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case i.SecurityContext.URL:return t instanceof _e||t instanceof be?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(i["ɵ_sanitizeUrl"])(String(t)));case i.SecurityContext.RESOURCE_URL:if(t instanceof _e)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof me)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new ge(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new ye(e)},t.prototype.bypassSecurityTrustScript=function(e){return new ve(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new be(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new _e(e)},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]}]},t}(fe),me=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(me),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(me),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(me),be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(me),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(me),we=[{provide:i.PLATFORM_ID,useValue:o["ɵPLATFORM_BROWSER_ID"]},{provide:i.PLATFORM_INITIALIZER,useValue:Ee,multi:!0},{provide:o.PlatformLocation,useClass:_,deps:[v]},{provide:v,useFactory:ke,deps:[]}],Ce=[{provide:i.Sanitizer,useExisting:fe},{provide:fe,useClass:he,deps:[v]}],Se=Object(i.createPlatformFactory)(i.platformCore,"browser",we);function Ee(){g.makeCurrent(),E.init()}function xe(){return new i.ErrorHandler}function ke(){return document}var Oe=[Ce,{provide:i["ɵAPP_ROOT"],useValue:!0},{provide:i.ErrorHandler,useFactory:xe,deps:[]},{provide:P,useClass:oe,multi:!0,deps:[v,i.NgZone,i.PLATFORM_ID]},{provide:P,useClass:pe,multi:!0,deps:[v]},{provide:P,useClass:ce,multi:!0,deps:[v,ae,i["ɵConsole"],[new i.Optional,se]]},{provide:ae,useClass:le,deps:[]},{provide:z,useClass:z,deps:[R,N]},{provide:i.RendererFactory2,useExisting:z},{provide:M,useExisting:N},{provide:N,useClass:N,deps:[v]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:R,useClass:R,deps:[P,i.NgZone]},A],Te=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:w,useExisting:i.APP_ID},S]}},e.decorators=[{type:i.NgModule,args:[{providers:Oe,exports:[o.CommonModule,i.ApplicationModule]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.SkipSelf},{type:i.Inject,args:[e]}]}]},e}();function Ae(){return new Pe(Object(i.inject)(v))}var Pe=function(){function e(e){this._doc=e,this._dom=s()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce((function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e}),[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(e,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},e.prototype._setMetaElementAttributes=function(e,t){var n=this;return Object.keys(e).forEach((function(r){return n._dom.setAttribute(t,r,e[r])})),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var n=this;return Object.keys(e).every((function(r){return n._dom.getAttribute(t,r)===e[r]}))},e.decorators=[{type:i.Injectable,args:[{providedIn:"root",useFactory:Ae,deps:[]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]}]},e.ngInjectableDef=Object(i.defineInjectable)({factory:Ae,token:e,providedIn:"root"}),e}();function Re(){return new Ie(Object(i.inject)(v))}var Ie=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return s().getTitle(this._doc)},e.prototype.setTitle=function(e){s().setTitle(this._doc,e)},e.decorators=[{type:i.Injectable,args:[{providedIn:"root",useFactory:Re,deps:[]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[v]}]}]},e.ngInjectableDef=Object(i.defineInjectable)({factory:Re,token:e,providedIn:"root"}),e}(),Me="undefined"!=typeof window&&window||{},Ne=function(e,t){this.msPerTick=e,this.numTicks=t},De=function(){function e(e){this.appRef=e.injector.get(i.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var t=e&&e.record,n=null!=Me.console.profile;t&&n&&Me.console.profile("Change Detection");for(var r=s().performanceNow(),o=0;o<5||s().performanceNow()-r<500;)this.appRef.tick(),o++;var i=s().performanceNow();t&&n&&Me.console.profileEnd("Change Detection");var a=(i-r)/o;return Me.console.log("ran "+o+" change detection cycles"),Me.console.log(a.toFixed(2)+" ms per check"),new Ne(a,o)},e}();function je(e){return x("profiler",new De(e)),e}function Le(){x("profiler",null)}function Be(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(function(e){return t[e]}))}function Fe(e){return e}var Ue=function(){function e(){this.store={},this.onSerializeCallbacks={}}return e.init=function(t){var n=new e;return n.store=t,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)},e.decorators=[{type:i.Injectable}],e}();function He(e,t){var n,r,o=e.getElementById(t+"-state"),i={};if(o&&o.textContent)try{i=JSON.parse((n=o.textContent,r={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},n.replace(/&[^;]+;/g,(function(e){return r[e]}))))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return Ue.init(i)}var Ve=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{providers:[{provide:Ue,useFactory:He,deps:[v,i.APP_ID]}]}]}],e}(),ze=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&s().elementMatches(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(),qe=new i.Version("6.1.7")},"./node_modules/@angular/router/fesm5/router.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵangular_packages_router_router_a",(function(){return Nt})),n.d(t,"ɵangular_packages_router_router_h",(function(){return qt})),n.d(t,"ɵangular_packages_router_router_c",(function(){return Bt})),n.d(t,"ɵangular_packages_router_router_i",(function(){return Gt})),n.d(t,"ɵangular_packages_router_router_j",(function(){return Wt})),n.d(t,"ɵangular_packages_router_router_e",(function(){return Ut})),n.d(t,"ɵangular_packages_router_router_d",(function(){return Ft})),n.d(t,"ɵangular_packages_router_router_k",(function(){return Zt})),n.d(t,"ɵangular_packages_router_router_g",(function(){return zt})),n.d(t,"ɵangular_packages_router_router_b",(function(){return jt})),n.d(t,"ɵangular_packages_router_router_f",(function(){return Vt})),n.d(t,"ɵangular_packages_router_router_n",(function(){return Rt})),n.d(t,"ɵangular_packages_router_router_l",(function(){return we})),n.d(t,"ɵangular_packages_router_router_m",(function(){return Ee})),n.d(t,"RouterLink",(function(){return bt})),n.d(t,"RouterLinkWithHref",(function(){return _t})),n.d(t,"RouterLinkActive",(function(){return Ct})),n.d(t,"RouterOutlet",(function(){return xt})),n.d(t,"ActivationEnd",(function(){return E})),n.d(t,"ActivationStart",(function(){return S})),n.d(t,"ChildActivationEnd",(function(){return C})),n.d(t,"ChildActivationStart",(function(){return w})),n.d(t,"GuardsCheckEnd",(function(){return g})),n.d(t,"GuardsCheckStart",(function(){return m})),n.d(t,"NavigationCancel",(function(){return p})),n.d(t,"NavigationEnd",(function(){return d})),n.d(t,"NavigationError",(function(){return f})),n.d(t,"NavigationStart",(function(){return u})),n.d(t,"ResolveEnd",(function(){return v})),n.d(t,"ResolveStart",(function(){return y})),n.d(t,"RouteConfigLoadEnd",(function(){return _})),n.d(t,"RouteConfigLoadStart",(function(){return b})),n.d(t,"RouterEvent",(function(){return c})),n.d(t,"RoutesRecognized",(function(){return h})),n.d(t,"Scroll",(function(){return x})),n.d(t,"RouteReuseStrategy",(function(){return st})),n.d(t,"Router",(function(){return gt})),n.d(t,"ROUTES",(function(){return ct})),n.d(t,"ROUTER_CONFIGURATION",(function(){return Mt})),n.d(t,"ROUTER_INITIALIZER",(function(){return Yt})),n.d(t,"RouterModule",(function(){return Lt})),n.d(t,"provideRoutes",(function(){return Ht})),n.d(t,"ChildrenOutletContexts",(function(){return Et})),n.d(t,"OutletContext",(function(){return St})),n.d(t,"NoPreloading",(function(){return At})),n.d(t,"PreloadAllModules",(function(){return Tt})),n.d(t,"PreloadingStrategy",(function(){return Ot})),n.d(t,"RouterPreloader",(function(){return Pt})),n.d(t,"ActivatedRoute",(function(){return Te})),n.d(t,"ActivatedRouteSnapshot",(function(){return Pe})),n.d(t,"RouterState",(function(){return ke})),n.d(t,"RouterStateSnapshot",(function(){return Re})),n.d(t,"PRIMARY_OUTLET",(function(){return O})),n.d(t,"convertToParamMap",(function(){return A})),n.d(t,"UrlHandlingStrategy",(function(){return dt})),n.d(t,"DefaultUrlSerializer",(function(){return $})),n.d(t,"UrlSegment",(function(){return W})),n.d(t,"UrlSegmentGroup",(function(){return G})),n.d(t,"UrlSerializer",(function(){return K})),n.d(t,"UrlTree",(function(){return q})),n.d(t,"VERSION",(function(){return Kt})),n.d(t,"ɵEmptyOutletComponent",(function(){return k})),n.d(t,"ɵROUTER_PROVIDERS",(function(){return Dt})),n.d(t,"ɵflatten",(function(){return L}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),c=function(e,t){this.id=e,this.url=t},u=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(c),d=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(c),p=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(c),f=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(c),h=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(c),m=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(c),g=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(c),y=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(c),v=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(c),b=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),_=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),w=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),C=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),S=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),E=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),x=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){var e=this.position?this.position[0]+", "+this.position[1]:null;return"Scroll(anchor: '"+this.anchor+"', position: '"+e+"')"},e}(),k=function(){function e(){}return e.decorators=[{type:o.Component,args:[{template:"<router-outlet></router-outlet>"}]}],e}(),O="primary",T=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function A(e){return new T(e)}function P(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],s=e[i];if(a.startsWith(":"))o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var R=function(e,t){this.routes=e,this.module=t};function I(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];M(r,N(t,r))}}function M(e,t){if(!e)throw new Error("\n      Invalid configuration of route '"+t+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==O)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch){throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.")}if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&I(e.children,t)}function N(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function D(e){var t=e.children&&e.children.map(D),n=t?Object(r.__assign)({},e,{children:t}):Object(r.__assign)({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==O&&(n.component=k),n}function j(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(e[n=r[i]]!==t[n])return!1;return!0}function L(e){return Array.prototype.concat.apply([],e)}function B(e){return e.length>0?e[e.length-1]:null}function F(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function U(e){return e.pipe(Object(a.mergeAll)(),Object(a.every)((function(e){return!0===e})))}function H(e){return Object(o["ɵisObservable"])(e)?e:Object(o["ɵisPromise"])(e)?Object(i.from)(Promise.resolve(e)):Object(i.of)(e)}function V(e,t,n){return n?function(e,t){return j(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Y(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return t[n]===e[n]}))}(e.queryParams,t.queryParams)&&z(e.root,t.root)}function z(e,t){return function e(t,n,r){if(t.segments.length>r.length)return!!Y(i=t.segments.slice(0,r.length),r)&&!n.hasChildren();if(t.segments.length===r.length){if(!Y(t.segments,r))return!1;for(var o in n.children){if(!t.children[o])return!1;if(!z(t.children[o],n.children[o]))return!1}return!0}var i=r.slice(0,t.segments.length),a=r.slice(t.segments.length);return!!Y(t.segments,i)&&(!!t.children[O]&&e(t.children[O],n,a))}(e,t,t.segments)}var q=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=A(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Q.serialize(this)},e}(),G=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,F(t,(function(e,t){return e.parent=n}))}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return X(this)},e}(),W=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=A(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return oe(this)},e}();function Y(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Z(e,t){var n=[];return F(e.children,(function(e,r){r===O&&(n=n.concat(t(e,r)))})),F(e.children,(function(e,r){r!==O&&(n=n.concat(t(e,r)))})),n}var K=function(){},$=function(){function e(){}return e.prototype.parse=function(e){var t=new ce(e);return new q(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n,r;return""+("/"+function e(t,n){if(!t.hasChildren())return X(t);if(n){var r=t.children[O]?e(t.children[O],!1):"",o=[];return F(t.children,(function(t,n){n!==O&&o.push(n+":"+e(t,!1))})),o.length>0?r+"("+o.join("//")+")":r}var i=Z(t,(function(n,r){return r===O?[e(t.children[O],!1)]:[r+":"+e(n,!1)]}));return X(t)+"/("+i.join("//")+")"}(e.root,!0))+(t=e.queryParams,(n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return ee(e)+"="+ee(t)})).join("&"):ee(e)+"="+ee(n)}))).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+(r=e.fragment,encodeURI(r)):"")},e}(),Q=new $;function X(e){return e.segments.map((function(e){return oe(e)})).join("/")}function J(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ee(e){return J(e).replace(/%3B/gi,";")}function te(e){return J(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ne(e){return decodeURIComponent(e)}function re(e){return ne(e.replace(/\+/g,"%20"))}function oe(e){return""+te(e.path)+(t=e.parameters,Object.keys(t).map((function(e){return";"+te(e)+"="+te(t[e])})).join(""));var t}var ie=/^[^\/()?;=#]+/;function ae(e){var t=e.match(ie);return t?t[0]:""}var se=/^[^=?&#]+/;var le=/^[^?&#]+/;var ce=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new G([],{}):new G([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[O]=new G(e,t)),n},e.prototype.parseSegment=function(){var e=ae(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new W(ne(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=ae(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=ae(this.remaining);r&&(n=r,this.capture(n))}e[ne(t)]=ne(n)}},e.prototype.parseQueryParam=function(e){var t=function(e){var t=e.match(se);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(le);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var o=re(t),i=re(n);if(e.hasOwnProperty(o)){var a=e[o];Array.isArray(a)||(a=[a],e[o]=a),a.push(i)}else e[o]=i}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ae(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=O);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[O]:new G([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),ue=function(e){this.segmentGroup=e||null},de=function(e){this.urlTree=e};function pe(e){return new i.Observable((function(t){return t.error(new ue(e))}))}function fe(e){return new i.Observable((function(t){return t.error(new de(e))}))}function he(e){return new i.Observable((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))}))}function me(e){return new i.Observable((function(t){return t.error((n="Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false",(r=Error("NavigationCancelingError: "+n)).ngNavigationCancelingError=!0,r));var n,r}))}var ge=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(o.NgModuleRef)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,O).pipe(Object(a.map)((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(Object(a.catchError)((function(t){if(t instanceof de)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof ue)throw e.noMatchError(t);throw t})))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,O).pipe(Object(a.map)((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(Object(a.catchError)((function(e){if(e instanceof ue)throw t.noMatchError(e);throw e})))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new G([],((r={})[O]=e,r)):e;return new q(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(a.map)((function(e){return new G([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(e,t){if(0===Object.keys(e).length)return Object(i.of)({});var n=[],r=[],o={};return F(e,(function(e,i){var s=t(i,e).pipe(Object(a.map)((function(e){return o[i]=e})));i===O?n.push(s):r.push(s)})),i.of.apply(null,n.concat(r)).pipe(Object(a.concatAll)(),Object(a.last)(),Object(a.map)((function(){return o})))}(n.children,(function(n,o){return r.expandSegmentGroup(e,t,o,n)}))},e.prototype.expandSegment=function(e,t,n,o,s,l){var c=this;return i.of.apply(void 0,Object(r.__spread)(n)).pipe(Object(a.map)((function(r){return c.expandSegmentAgainstRoute(e,t,n,r,o,s,l).pipe(Object(a.catchError)((function(e){if(e instanceof ue)return Object(i.of)(null);throw e})))})),Object(a.concatAll)(),Object(a.first)((function(e){return!!e})),Object(a.catchError)((function(e,n){if(e instanceof i.EmptyError||"EmptyError"===e.name){if(c.noLeftoversInUrl(t,o,s))return Object(i.of)(new G([],{}));throw new ue(t)}throw e})))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return _e(r)!==i?pe(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):pe(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?fe(i):this.lineralizeSegments(n,i).pipe(Object(a.mergeMap)((function(n){var i=new G(n,{});return o.expandSegment(e,i,t,n,r,!1)})))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var s=this,l=ye(t,r,o),c=l.matched,u=l.consumedSegments,d=l.lastChild,p=l.positionalParamSegments;if(!c)return pe(t);var f=this.applyRedirectCommands(u,r.redirectTo,p);return r.redirectTo.startsWith("/")?fe(f):this.lineralizeSegments(r,f).pipe(Object(a.mergeMap)((function(r){return s.expandSegment(e,t,n,r.concat(o.slice(d)),i,!1)})))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,o){var s=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(a.map)((function(e){return n._loadedConfig=e,new G(o,{})}))):Object(i.of)(new G(o,{}));var l=ye(t,n,o),c=l.matched,u=l.consumedSegments,d=l.lastChild;if(!c)return pe(t);var p=o.slice(d);return this.getChildConfig(e,n).pipe(Object(a.mergeMap)((function(e){var n=e.module,o=e.routes,l=function(e,t,n,o){if(n.length>0&&function(e,t,n){return n.some((function(n){return be(e,t,n)&&_e(n)!==O}))}(e,n,o)){return{segmentGroup:ve(new G(t,function(e,t){var n,o,i={};i[O]=t;try{for(var a=Object(r.__values)(e),s=a.next();!s.done;s=a.next()){var l=s.value;""===l.path&&_e(l)!==O&&(i[_e(l)]=new G([],{}))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}(o,new G(n,e.children)))),slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return be(e,t,n)}))}(e,n,o)){return{segmentGroup:ve(new G(e.segments,function(e,t,n,o){var i,a,s={};try{for(var l=Object(r.__values)(n),c=l.next();!c.done;c=l.next()){var u=c.value;be(e,t,u)&&!o[_e(u)]&&(s[_e(u)]=new G([],{}))}}catch(e){i={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}return Object(r.__assign)({},o,s)}(e,n,o,e.children))),slicedSegments:n}}return{segmentGroup:e,slicedSegments:n}}(t,u,p,o),c=l.segmentGroup,d=l.slicedSegments;return 0===d.length&&c.hasChildren()?s.expandChildren(n,o,c).pipe(Object(a.map)((function(e){return new G(u,e)}))):0===o.length&&0===d.length?Object(i.of)(new G(u,{})):s.expandSegment(n,c,o,d,O,!0).pipe(Object(a.map)((function(e){return new G(u.concat(e.segments),e.children)})))})))},e.prototype.getChildConfig=function(e,t){var n=this;return t.children?Object(i.of)(new R(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(i.of)(t._loadedConfig):function(e,t){var n=t.canLoad;return n&&0!==n.length?U(Object(i.from)(n).pipe(Object(a.map)((function(n){var r=e.get(n);return H(r.canLoad?r.canLoad(t):r(t))})))):Object(i.of)(!0)}(e.injector,t).pipe(Object(a.mergeMap)((function(r){return r?n.configLoader.load(e.injector,t).pipe(Object(a.map)((function(e){return t._loadedConfig=e,e}))):me(t)}))):Object(i.of)(new R([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.of)(n);if(r.numberOfChildren>1||!r.children[O])return he(e.redirectTo);r=r.children[O]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new q(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return F(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e})),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return F(t.children,(function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)})),new G(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map((function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)}))},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,o,i=0;try{for(var a=Object(r.__values)(t),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.path===e.path)return t.splice(i),l;i++}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return e},e}();function ye(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||P)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ve(e){if(1===e.numberOfChildren&&e.children[O]){var t=e.children[O];return new G(e.segments.concat(t.segments),t.children)}return e}function be(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function _e(e){return e.outlet||O}var we=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Ce(e,this._root);return t?t.children.map((function(e){return e.value})):[]},e.prototype.firstChild=function(e){var t=Ce(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Se(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))},e.prototype.pathFromRoot=function(e){return Se(e,this._root).map((function(e){return e.value}))},e}();function Ce(e,t){var n,o;if(e===t.value)return t;try{for(var i=Object(r.__values)(t.children),a=i.next();!a.done;a=i.next()){var s=Ce(e,a.value);if(s)return s}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}function Se(e,t){var n,o;if(e===t.value)return[t];try{for(var i=Object(r.__values)(t.children),a=i.next();!a.done;a=i.next()){var s=Se(e,a.value);if(s.length)return s.unshift(t),s}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return[]}var Ee=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function xe(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var ke=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,Ie(r,t),r}return Object(r.__extends)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(we);function Oe(e,t){var n=function(e,t){var n=new Pe([],{},{},"",{},O,t,null,e.root,-1,{});return new Re("",new Ee(n,[]))}(e,t),r=new i.BehaviorSubject([new W("",{})]),o=new i.BehaviorSubject({}),a=new i.BehaviorSubject({}),s=new i.BehaviorSubject({}),l=new i.BehaviorSubject(""),c=new Te(r,o,s,l,a,O,t,n.root);return c.snapshot=n.root,new ke(new Ee(c,[]),n)}var Te=function(){function e(e,t,n,r,o,i,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(a.map)((function(e){return A(e)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(a.map)((function(e){return A(e)})))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function Ae(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,o=0;if("always"!==t)for(o=n.length-1;o>=1;){var i=n[o],a=n[o-1];if(i.routeConfig&&""===i.routeConfig.path)o--;else{if(a.component)break;o--}}return function(e){return e.reduce((function(e,t){return{params:Object(r.__assign)({},e.params,t.params),data:Object(r.__assign)({},e.data,t.data),resolve:Object(r.__assign)({},e.resolve,t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(o))}var Pe=function(){function e(e,t,n,r,o,i,a,s,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=A(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=A(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map((function(e){return e.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Re=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,Ie(r,n),r}return Object(r.__extends)(t,e),t.prototype.toString=function(){return Me(this._root)},t}(we);function Ie(e,t){t.value._routerState=e,t.children.forEach((function(t){return Ie(e,t)}))}function Me(e){var t=e.children.length>0?" { "+e.children.map(Me).join(", ")+" } ":"";return""+e.value+t}function Ne(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,j(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),j(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!j(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),j(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function De(e,t){var n,r,o=j(e.params,t.params)&&(n=e.url,r=t.url,Y(n,r)&&n.every((function(e,t){return j(e.parameters,r[t].parameters)}))),i=!e.parent!=!t.parent;return o&&!i&&(!e.parent||De(e.parent,t.parent))}function je(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){(c=n.value)._futureSnapshot=t.value;var o=function(e,t,n){return t.children.map((function(t){var o,i;try{for(var a=Object(r.__values)(n.children),s=a.next();!s.done;s=a.next()){var l=s.value;if(e.shouldReuseRoute(l.value.snapshot,t.value))return je(e,t,l)}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return je(e,t)}))}(e,t,n);return new Ee(c,o)}var a=e.retrieve(t.value);if(a){var s=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(t,s),s}var l,c=(l=t.value,new Te(new i.BehaviorSubject(l.url),new i.BehaviorSubject(l.params),new i.BehaviorSubject(l.queryParams),new i.BehaviorSubject(l.fragment),new i.BehaviorSubject(l.data),l.outlet,l.component,l));o=t.children.map((function(t){return je(e,t)}));return new Ee(c,o)}function Le(e,t,n,o,i){if(0===n.length)return Fe(t.root,t.root,t,o,i);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Ue(!0,0,e);var t=0,n=!1,o=e.reduce((function(e,o,i){if("object"==typeof o&&null!=o){if(o.outlets){var a={};return F(o.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),Object(r.__spread)(e,[{outlets:a}])}if(o.segmentPath)return Object(r.__spread)(e,[o.segmentPath])}return"string"!=typeof o?Object(r.__spread)(e,[o]):0===i?(o.split("/").forEach((function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):Object(r.__spread)(e,[o])}),[]);return new Ue(n,t,o)}(n);if(a.toRoot())return Fe(t.root,new G([],{}),t,o,i);var s=function(e,t,n){if(e.isAbsolute)return new He(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new He(n.snapshot._urlSegment,!0,0);var r=Be(e.commands[0])?0:1,o=n.snapshot._lastPathIndex+r;return function(e,t,n){var r=e,o=t,i=n;for(;i>o;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new He(r,!1,o-i)}(n.snapshot._urlSegment,o,e.numberOfDoubleDots)}(a,t,e),l=s.processChildren?qe(s.segmentGroup,s.index,a.commands):ze(s.segmentGroup,s.index,a.commands);return Fe(s.segmentGroup,l,t,o,i)}function Be(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Fe(e,t,n,r,o){var i={};return r&&F(r,(function(e,t){i[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),n.root===e?new q(t,i,o):new q(function e(t,n,r){var o={};return F(t.children,(function(t,i){o[i]=t===n?r:e(t,n,r)})),new G(t.segments,o)}(n.root,e,t),i,o)}var Ue=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Be(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==B(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}();var He=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function Ve(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[O]:""+e}function ze(e,t,n){if(e||(e=new G([],{})),0===e.segments.length&&e.hasChildren())return qe(e,t,n);var r=function(e,t,n){var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;var a=e.segments[o],s=Ve(n[r]),l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Ze(s,l,a))return i;r+=2}else{if(!Ze(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new G(e.segments.slice(0,r.pathIndex),{});return i.children[O]=new G(e.segments.slice(r.pathIndex),e.children),qe(i,0,o)}return r.match&&0===o.length?new G(e.segments,{}):r.match&&!e.hasChildren()?Ge(e,t,n):r.match?qe(e,0,o):Ge(e,t,n)}function qe(e,t,n){if(0===n.length)return new G(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={})[O]=e,t):void 0===e[0].outlets?((n={})[O]=e,n):e[0].outlets}(n),o={};return F(r,(function(n,r){null!==n&&(o[r]=ze(e.children[r],t,n))})),F(e.children,(function(e,t){void 0===r[t]&&(o[t]=e)})),new G(e.segments,o)}function Ge(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=We(n[o].outlets);return new G(r,i)}if(0===o&&Be(n[0])){var a=e.segments[t];r.push(new W(a.path,n[0])),o++}else{var s=Ve(n[o]),l=o<n.length-1?n[o+1]:null;s&&l&&Be(l)?(r.push(new W(s,Ye(l))),o+=2):(r.push(new W(s,{})),o++)}}return new G(r,{})}function We(e){var t={};return F(e,(function(e,n){null!==e&&(t[n]=Ge(new G([],{}),0,e))})),t}function Ye(e){var t={};return F(e,(function(e,n){return t[n]=""+e})),t}function Ze(e,t,n){return e==n.path&&j(t,n.parameters)}var Ke=function(e){this.path=e,this.route=this.path[this.path.length-1]},$e=function(e,t){this.component=e,this.route=t},Qe=function(){function e(e,t,n,r){this.future=e,this.curr=t,this.moduleInjector=n,this.forwardEvent=r,this.canActivateChecks=[],this.canDeactivateChecks=[]}return e.prototype.initialize=function(e){var t=this.future._root,n=this.curr?this.curr._root:null;this.setupChildRouteGuards(t,n,e,[t.value])},e.prototype.checkGuards=function(){var e=this;return this.isDeactivating()||this.isActivating()?this.runCanDeactivateChecks().pipe(Object(a.mergeMap)((function(t){return t?e.runCanActivateChecks():Object(i.of)(!1)}))):Object(i.of)(!0)},e.prototype.resolveData=function(e){var t=this;return this.isActivating()?Object(i.from)(this.canActivateChecks).pipe(Object(a.concatMap)((function(n){return t.runResolve(n.route,e)})),Object(a.reduce)((function(e,t){return e}))):Object(i.of)(null)},e.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},e.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},e.prototype.setupChildRouteGuards=function(e,t,n,r){var o=this,i=xe(t);e.children.forEach((function(e){o.setupRouteGuards(e,i[e.value.outlet],n,r.concat([e.value])),delete i[e.value.outlet]})),F(i,(function(e,t){return o.deactivateRouteAndItsChildren(e,n.getContext(t))}))},e.prototype.setupRouteGuards=function(e,t,n,r){var o=e.value,i=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(i&&o.routeConfig===i.routeConfig){var s=this.shouldRunGuardsAndResolvers(i,o,o.routeConfig.runGuardsAndResolvers);if(s?this.canActivateChecks.push(new Ke(r)):(o.data=i.data,o._resolvedData=i._resolvedData),o.component?this.setupChildRouteGuards(e,t,a?a.children:null,r):this.setupChildRouteGuards(e,t,n,r),s){var l=a.outlet;this.canDeactivateChecks.push(new $e(l.component,i))}}else i&&this.deactivateRouteAndItsChildren(t,a),this.canActivateChecks.push(new Ke(r)),o.component?this.setupChildRouteGuards(e,null,a?a.children:null,r):this.setupChildRouteGuards(e,null,n,r)},e.prototype.shouldRunGuardsAndResolvers=function(e,t,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!De(e,t)||!j(e.queryParams,t.queryParams);case"paramsChange":default:return!De(e,t)}},e.prototype.deactivateRouteAndItsChildren=function(e,t){var n=this,r=xe(e),o=e.value;F(r,(function(e,r){o.component?t?n.deactivateRouteAndItsChildren(e,t.children.getContext(r)):n.deactivateRouteAndItsChildren(e,null):n.deactivateRouteAndItsChildren(e,t)})),o.component&&t&&t.outlet&&t.outlet.isActivated?this.canDeactivateChecks.push(new $e(t.outlet.component,o)):this.canDeactivateChecks.push(new $e(null,o))},e.prototype.runCanDeactivateChecks=function(){var e=this;return Object(i.from)(this.canDeactivateChecks).pipe(Object(a.mergeMap)((function(t){return e.runCanDeactivate(t.component,t.route)})),Object(a.every)((function(e){return!0===e})))},e.prototype.runCanActivateChecks=function(){var e=this;return Object(i.from)(this.canActivateChecks).pipe(Object(a.concatMap)((function(t){return U(Object(i.from)([e.fireChildActivationStart(t.route.parent),e.fireActivationStart(t.route),e.runCanActivateChild(t.path),e.runCanActivate(t.route)]))})),Object(a.every)((function(e){return!0===e})))},e.prototype.fireActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new S(e)),Object(i.of)(!0)},e.prototype.fireChildActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new w(e)),Object(i.of)(!0)},e.prototype.runCanActivate=function(e){var t=this,n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?U(Object(i.from)(n).pipe(Object(a.map)((function(n){var r=t.getToken(n,e);return(r.canActivate?H(r.canActivate(e,t.future)):H(r(e,t.future))).pipe(Object(a.first)())})))):Object(i.of)(!0)},e.prototype.runCanActivateChild=function(e){var t=this,n=e[e.length-1],r=e.slice(0,e.length-1).reverse().map((function(e){return t.extractCanActivateChild(e)})).filter((function(e){return null!==e}));return U(Object(i.from)(r).pipe(Object(a.map)((function(e){return U(Object(i.from)(e.guards).pipe(Object(a.map)((function(r){var o=t.getToken(r,e.node);return(o.canActivateChild?H(o.canActivateChild(n,t.future)):H(o(n,t.future))).pipe(Object(a.first)())}))))}))))},e.prototype.extractCanActivateChild=function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null},e.prototype.runCanDeactivate=function(e,t){var n=this,r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?Object(i.from)(r).pipe(Object(a.mergeMap)((function(r){var o=n.getToken(r,t);return(o.canDeactivate?H(o.canDeactivate(e,t,n.curr,n.future)):H(o(e,t,n.curr,n.future))).pipe(Object(a.first)())}))).pipe(Object(a.every)((function(e){return!0===e}))):Object(i.of)(!0)},e.prototype.runResolve=function(e,t){var n=e._resolve;return this.resolveNode(n,e).pipe(Object(a.map)((function(n){return e._resolvedData=n,e.data=Object(r.__assign)({},e.data,Ae(e,t).resolve),null})))},e.prototype.resolveNode=function(e,t){var n=this,r=Object.keys(e);if(0===r.length)return Object(i.of)({});if(1===r.length){var o=r[0];return this.getResolver(e[o],t).pipe(Object(a.map)((function(e){var t;return(t={})[o]=e,t})))}var s={};return Object(i.from)(r).pipe(Object(a.mergeMap)((function(r){return n.getResolver(e[r],t).pipe(Object(a.map)((function(e){return s[r]=e,e})))}))).pipe(Object(a.last)(),Object(a.map)((function(){return s})))},e.prototype.getResolver=function(e,t){var n=this.getToken(e,t);return n.resolve?H(n.resolve(t,this.future)):H(n(t,this.future))},e.prototype.getToken=function(e,t){var n=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(n?n.module.injector:this.moduleInjector).get(e)},e}();var Xe=function(){};var Je=function(){function e(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=nt(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,O),n=new Pe([],Object.freeze({}),Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},O,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Ee(n,t),a=new Re(this.url,o);return this.inheritParamsAndData(a._root),Object(i.of)(a)}catch(e){return new i.Observable((function(t){return t.error(e)}))}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=Ae(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,o=Z(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},o.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),o=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[e.value.outlet]=e.value})),function(e){e.sort((function(e,t){return e.value.outlet===O?-1:t.value.outlet===O?1:e.value.outlet.localeCompare(t.value.outlet)}))}(o),o},e.prototype.processSegment=function(e,t,n,o){var i,a;try{for(var s=Object(r.__values)(e),l=s.next();!l.done;l=s.next()){var c=l.value;try{return this.processSegmentAgainstRoute(c,t,n,o)}catch(e){if(!(e instanceof Xe))throw e}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(t,n,o))return[];throw new Xe},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,o){if(e.redirectTo)throw new Xe;if((e.outlet||O)!==o)throw new Xe;var i,a=[],s=[];if("**"===e.path){var l=n.length>0?B(n).parameters:{};i=new Pe(n,l,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,it(e),o,e.component,e,et(t),tt(t)+n.length,at(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Xe;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(t.matcher||P)(n,e,t);if(!o)throw new Xe;var i={};F(o.posParams,(function(e,t){i[t]=e.path}));var a=o.consumed.length>0?Object(r.__assign)({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,s=n.slice(c.lastChild),i=new Pe(a,c.parameters,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,it(e),o,e.component,e,et(t),tt(t)+a.length,at(e))}var u=function(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),d=nt(t,a,s,u,this.relativeLinkResolution),p=d.segmentGroup,f=d.slicedSegments;if(0===f.length&&p.hasChildren()){var h=this.processChildren(u,p);return[new Ee(i,h)]}if(0===u.length&&0===f.length)return[new Ee(i,[])];var m=this.processSegment(u,p,f,O);return[new Ee(i,m)]},e}();function et(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function tt(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function nt(e,t,n,o,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return rt(e,t,n)&&ot(n)!==O}))}(e,n,o)){var a=new G(t,function(e,t,n,o){var i,a,s={};s[O]=o,o._sourceSegment=e,o._segmentIndexShift=t.length;try{for(var l=Object(r.__values)(n),c=l.next();!c.done;c=l.next()){var u=c.value;if(""===u.path&&ot(u)!==O){var d=new G([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,s[ot(u)]=d}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}return s}(e,t,o,new G(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return rt(e,t,n)}))}(e,n,o)){var s=new G(e.segments,function(e,t,n,o,i,a){var s,l,c={};try{for(var u=Object(r.__values)(o),d=u.next();!d.done;d=u.next()){var p=d.value;if(rt(e,n,p)&&!i[ot(p)]){var f=new G([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[ot(p)]=f}}}catch(e){s={error:e}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(s)throw s.error}}return Object(r.__assign)({},i,c)}(e,t,n,o,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var l=new G(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}function rt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function ot(e){return e.outlet||O}function it(e){return e.data||{}}function at(e){return e.resolve||{}}var st=function(){},lt=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),ct=new o.InjectionToken("ROUTES"),ut=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(a.map)((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new R(L(o.injector.get(ct)).map(D),o)})))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(i.from)(this.loader.load(e)):H(e()).pipe(Object(a.mergeMap)((function(e){return e instanceof o.NgModuleFactory?Object(i.of)(e):Object(i.from)(t.compiler.compileModuleAsync(e))})))},e}(),dt=function(){},pt=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function ft(e){throw e}function ht(e,t,n){return t.parse("/")}function mt(e,t){return Object(i.of)(null)}var gt=function(){function e(e,t,n,r,a,s,l,c){var u=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.navigations=new i.BehaviorSubject(null),this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new i.Subject,this.errorHandler=ft,this.malformedUriErrorHandler=ht,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mt,afterPreactivation:mt},this.urlHandlingStrategy=new pt,this.routeReuseStrategy=new lt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy";this.ngModule=a.get(o.NgModuleRef),this.console=a.get(o["ɵConsole"]);var d=a.get(o.NgZone);this.isNgZoneEnabled=d instanceof o.NgZone,this.resetConfig(c),this.currentUrlTree=new q(new G([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new ut(s,l,(function(e){return u.triggerEvent(new b(e))}),(function(e){return u.triggerEvent(new _(e))})),this.routerState=Oe(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout((function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})}),0)})))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){I(e),this.config=e.map(D),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,i=t.queryParams,a=t.fragment,s=t.preserveQueryParams,l=t.queryParamsHandling,c=t.preserveFragment;Object(o.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,d=c?this.currentUrlTree.fragment:a,p=null;if(l)switch(l){case"merge":p=Object(r.__assign)({},this.currentUrlTree.queryParams,i);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=i||null}else p=s?this.currentUrlTree.queryParams:i||null;return null!==p&&(p=this.removeEmptyProps(p)),Le(u,this.currentUrlTree,e,p,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=e instanceof q?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(e instanceof q)return V(this.currentUrlTree,e,t);var n=this.parseUrl(e);return V(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})},e.prototype.processNavigations=function(){var e=this;this.navigations.pipe(Object(a.concatMap)((function(t){return t?(e.executeScheduledNavigation(t),t.promise.catch((function(){}))):Object(i.of)(null)}))).subscribe((function(){}))},e.prototype.scheduleNavigation=function(e,t,n,r){var o=this.navigations.value;if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,a=null,s=new Promise((function(e,t){i=e,a=t})),l=++this.navigationId;return this.navigations.next({id:l,source:t,state:n,rawUrl:e,extras:r,resolve:i,reject:a,promise:s}),s.catch((function(e){return Promise.reject(e)}))},e.prototype.executeScheduledNavigation=function(e){var t=this,n=e.id,r=e.rawUrl,o=e.extras,i=e.resolve,a=e.reject,s=e.source,l=e.state,c=this.urlHandlingStrategy.extract(r),d=!this.navigated||c.toString()!==this.currentUrlTree.toString();("reload"===this.onSameUrlNavigation||d)&&this.urlHandlingStrategy.shouldProcessUrl(r)?("eager"!==this.urlUpdateStrategy||o.skipLocationChange||this.setBrowserUrl(r,!!o.replaceUrl,n),this.events.next(new u(n,this.serializeUrl(c),s,l)),Promise.resolve().then((function(e){return t.runNavigate(c,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)})).then(i,a)):d&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.events.next(new u(n,this.serializeUrl(c),s,l)),Promise.resolve().then((function(e){return t.runNavigate(c,r,!1,!1,n,Oe(c,t.rootComponentType).snapshot)})).then(i,a)):(this.rawUrlTree=r,i(null))},e.prototype.runNavigate=function(e,t,n,r,o,s){var l=this;return o!==this.navigationId?(this.events.next(new p(o,this.serializeUrl(e),"Navigation ID "+o+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise((function(c,u){var d;s?d=Object(i.of)({appliedUrl:e,snapshot:s}):d=function(e,t,n,r,o){return new ge(e,t,n,r,o).apply()}(l.ngModule.injector,l.configLoader,l.urlSerializer,e,l.config).pipe(Object(a.mergeMap)((function(t){return function(e,t,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Je(e,t,n,r,o,i).recognize()}(l.rootComponentType,l.config,t,l.serializeUrl(t),l.paramsInheritanceStrategy,l.relativeLinkResolution).pipe(Object(a.map)((function(n){return l.events.next(new h(o,l.serializeUrl(e),l.serializeUrl(t),n)),{appliedUrl:t,snapshot:n}})))})));var p,f=d.pipe(Object(a.mergeMap)((function(s){return"boolean"==typeof s?Object(i.of)(s):l.hooks.beforePreactivation(s.snapshot,{navigationId:o,appliedUrlTree:e,rawUrlTree:t,skipLocationChange:n,replaceUrl:r}).pipe(Object(a.map)((function(){return s})))}))).pipe(Object(a.map)((function(e){if("boolean"==typeof e)return e;var t=e.appliedUrl,n=e.snapshot,r=l.ngModule.injector;return(p=new Qe(n,l.routerState.snapshot,r,(function(e){return l.triggerEvent(e)}))).initialize(l.rootContexts),{appliedUrl:t,snapshot:n}}))).pipe(Object(a.mergeMap)((function(t){if("boolean"==typeof t||l.navigationId!==o)return Object(i.of)(!1);var n=t.appliedUrl,r=t.snapshot;return l.triggerEvent(new m(o,l.serializeUrl(e),l.serializeUrl(n),r)),p.checkGuards().pipe(Object(a.map)((function(t){return l.triggerEvent(new g(o,l.serializeUrl(e),l.serializeUrl(n),r,t)),{appliedUrl:n,snapshot:r,shouldActivate:t}})))}))).pipe(Object(a.mergeMap)((function(t){return"boolean"==typeof t||l.navigationId!==o?Object(i.of)(!1):t.shouldActivate&&p.isActivating()?(l.triggerEvent(new y(o,l.serializeUrl(e),l.serializeUrl(t.appliedUrl),t.snapshot)),p.resolveData(l.paramsInheritanceStrategy).pipe(Object(a.map)((function(){return l.triggerEvent(new v(o,l.serializeUrl(e),l.serializeUrl(t.appliedUrl),t.snapshot)),t})))):Object(i.of)(t)}))).pipe(Object(a.mergeMap)((function(s){return"boolean"==typeof s||l.navigationId!==o?Object(i.of)(!1):l.hooks.afterPreactivation(s.snapshot,{navigationId:o,appliedUrlTree:e,rawUrlTree:t,skipLocationChange:n,replaceUrl:r}).pipe(Object(a.map)((function(){return s})))}))).pipe(Object(a.map)((function(e){if("boolean"==typeof e||l.navigationId!==o)return!1;var t,n,r,i,a=e.appliedUrl,s=e.snapshot,c=e.shouldActivate;return c?{appliedUrl:a,state:(t=l.routeReuseStrategy,n=s,r=l.routerState,i=je(t,n._root,r?r._root:void 0),new ke(i,n)),shouldActivate:c}:{appliedUrl:a,state:null,shouldActivate:c}})));l.activateRoutes(f,l.routerState,l.currentUrlTree,o,e,t,n,r,c,u)}))},e.prototype.activateRoutes=function(e,t,n,r,o,i,a,s,l,c){var u,h=this;e.forEach((function(e){if("boolean"!=typeof e&&e.shouldActivate&&r===h.navigationId&&e.state){var n=e.appliedUrl,o=e.state;h.currentUrlTree=n,h.rawUrlTree=h.urlHandlingStrategy.merge(h.currentUrlTree,i),h.routerState=o,"deferred"!==h.urlUpdateStrategy||a||h.setBrowserUrl(h.rawUrlTree,s,r),new yt(h.routeReuseStrategy,o,t,(function(e){return h.triggerEvent(e)})).activate(h.rootContexts),u=!0}else u=!1})).then((function(){u?(h.navigated=!0,h.lastSuccessfulId=r,h.events.next(new d(r,h.serializeUrl(o),h.serializeUrl(h.currentUrlTree))),l(!0)):(h.resetUrlToCurrentUrlTree(),h.events.next(new p(r,h.serializeUrl(o),"")),l(!1))}),(function(e){if((a=e)&&a.ngNavigationCancelingError)h.navigated=!0,h.resetStateAndUrl(t,n,i),h.events.next(new p(r,h.serializeUrl(o),e.message)),l(!1);else{h.resetStateAndUrl(t,n,i),h.events.next(new f(r,h.serializeUrl(o),e));try{l(h.errorHandler(e))}catch(e){c(e)}}var a}))},e.prototype.setBrowserUrl=function(e,t,n){var r=this.urlSerializer.serialize(e);this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),yt=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Ne(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,o=xe(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]})),F(o,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=xe(e),i=e.value.component?r.children:t;F(o,(function(e,t){return n.deactivateRouteAndItsChildren(e,i)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,o=xe(t);e.children.forEach((function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new E(e.value.snapshot))})),e.children.length&&this.forwardEvent(new C(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(Ne(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){i=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),vt(a.route)}else{var s=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),l=s?s.module.componentFactoryResolver:null;i.route=r,i.resolver=l,i.outlet&&i.outlet.activateWith(r,l),this.activateChildRoutes(e,null,i.children)}}else this.activateChildRoutes(e,null,n)},e}();function vt(e){Ne(e.value),e.children.forEach(vt)}var bt=function(){function e(e,t,n,r,o){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.onClick=function(){var e={skipLocationChange:wt(this.skipLocationChange),replaceUrl:wt(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:wt(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:wt(this.preserveFragment)})},enumerable:!0,configurable:!0}),e.decorators=[{type:o.Directive,args:[{selector:":not(a)[routerLink]"}]}],e.ctorParameters=function(){return[{type:gt},{type:Te},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:o.Renderer2},{type:o.ElementRef}]},e.propDecorators={queryParams:[{type:o.Input}],fragment:[{type:o.Input}],queryParamsHandling:[{type:o.Input}],preserveFragment:[{type:o.Input}],skipLocationChange:[{type:o.Input}],replaceUrl:[{type:o.Input}],routerLink:[{type:o.Input}],preserveQueryParams:[{type:o.Input}],onClick:[{type:o.HostListener,args:["click"]}]},e}(),_t=function(){function e(e,t,n){var r=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe((function(e){e instanceof d&&r.updateTargetUrlAndHref()}))}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.updateTargetUrlAndHref()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onClick=function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:wt(this.skipLocationChange),replaceUrl:wt(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},e.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:wt(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:wt(this.preserveFragment)})},enumerable:!0,configurable:!0}),e.decorators=[{type:o.Directive,args:[{selector:"a[routerLink]"}]}],e.ctorParameters=function(){return[{type:gt},{type:Te},{type:s.LocationStrategy}]},e.propDecorators={target:[{type:o.HostBinding,args:["attr.target"]},{type:o.Input}],queryParams:[{type:o.Input}],fragment:[{type:o.Input}],queryParamsHandling:[{type:o.Input}],preserveFragment:[{type:o.Input}],skipLocationChange:[{type:o.Input}],replaceUrl:[{type:o.Input}],href:[{type:o.HostBinding}],routerLink:[{type:o.Input}],preserveQueryParams:[{type:o.Input}],onClick:[{type:o.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]]}]},e}();function wt(e){return""===e||!!e}var Ct=function(){function e(e,t,n,r){var o=this;this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe((function(e){e instanceof d&&o.update()}))}return e.prototype.ngAfterContentInit=function(){var e=this;this.links.changes.subscribe((function(t){return e.update()})),this.linksWithHrefs.changes.subscribe((function(t){return e.update()})),this.update()},Object.defineProperty(e.prototype,"routerLinkActive",{set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((function(e){return!!e}))},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.update()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.update=function(){var e=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((function(){var t=e.hasActiveLinks();e.isActive!==t&&(e.isActive=t,e.classes.forEach((function(n){t?e.renderer.addClass(e.element.nativeElement,n):e.renderer.removeClass(e.element.nativeElement,n)})))}))},e.prototype.isLinkActive=function(e){var t=this;return function(n){return e.isActive(n.urlTree,t.routerLinkActiveOptions.exact)}},e.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},e.decorators=[{type:o.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],e.ctorParameters=function(){return[{type:gt},{type:o.ElementRef},{type:o.Renderer2},{type:o.ChangeDetectorRef}]},e.propDecorators={links:[{type:o.ContentChildren,args:[bt,{descendants:!0}]}],linksWithHrefs:[{type:o.ContentChildren,args:[_t,{descendants:!0}]}],routerLinkActiveOptions:[{type:o.Input}],routerLinkActive:[{type:o.Input}]},e}(),St=function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Et,this.attachRef=null},Et=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new St,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),xt=function(){function e(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.name=r||O,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=e._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),o=this.parentContexts.getOrCreateContext(this.name).children,i=new kt(e,o,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e.decorators=[{type:o.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],e.ctorParameters=function(){return[{type:Et},{type:o.ViewContainerRef},{type:o.ComponentFactoryResolver},{type:String,decorators:[{type:o.Attribute,args:["name"]}]},{type:o.ChangeDetectorRef}]},e.propDecorators={activateEvents:[{type:o.Output,args:["activate"]}],deactivateEvents:[{type:o.Output,args:["deactivate"]}]},e}(),kt=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===Te?this.route:e===Et?this.childContexts:this.parent.get(e,t)},e}(),Ot=function(){},Tt=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Object(a.catchError)((function(){return Object(i.of)(null)})))},e}(),At=function(){function e(){}return e.prototype.preload=function(e,t){return Object(i.of)(null)},e}(),Pt=function(){function e(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o;this.loader=new ut(t,n,(function(t){return e.triggerEvent(new b(t))}),(function(t){return e.triggerEvent(new _(t))}))}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(Object(a.filter)((function(e){return e instanceof d})),Object(a.concatMap)((function(){return e.preload()}))).subscribe((function(){}))},e.prototype.preload=function(){var e=this.injector.get(o.NgModuleRef);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,o,s=[];try{for(var l=Object(r.__values)(t),c=l.next();!c.done;c=l.next()){var u=c.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var d=u._loadedConfig;s.push(this.processRoutes(d.module,d.routes))}else u.loadChildren&&!u.canLoad?s.push(this.preloadConfig(e,u)):u.children&&s.push(this.processRoutes(e,u.children))}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return Object(i.from)(s).pipe(Object(a.mergeAll)(),Object(a.map)((function(e){})))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(Object(a.mergeMap)((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:gt},{type:o.NgModuleFactoryLoader},{type:o.Compiler},{type:o.Injector},{type:Ot}]},e}(),Rt=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe((function(t){t instanceof u?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof d&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe((function(t){t instanceof x&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new x(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),It=[xt,bt,_t,Ct,k],Mt=new o.InjectionToken("ROUTER_CONFIGURATION"),Nt=new o.InjectionToken("ROUTER_FORROOT_GUARD"),Dt=[s.Location,{provide:K,useClass:$},{provide:gt,useFactory:Vt,deps:[o.ApplicationRef,K,Et,s.Location,o.Injector,o.NgModuleFactoryLoader,o.Compiler,ct,Mt,[dt,new o.Optional],[st,new o.Optional]]},Et,{provide:Te,useFactory:zt,deps:[gt]},{provide:o.NgModuleFactoryLoader,useClass:o.SystemJsNgModuleLoader},Pt,At,Tt,{provide:Mt,useValue:{enableTracing:!1}}];function jt(){return new o.NgProbeToken("Router",gt)}var Lt=function(){function e(e,t){}return e.forRoot=function(t,n){return{ngModule:e,providers:[Dt,Ht(t),{provide:Nt,useFactory:Ut,deps:[[gt,new o.Optional,new o.SkipSelf]]},{provide:Mt,useValue:n||{}},{provide:s.LocationStrategy,useFactory:Ft,deps:[s.PlatformLocation,[new o.Inject(s.APP_BASE_HREF),new o.Optional],Mt]},{provide:Rt,useFactory:Bt,deps:[gt,s.ViewportScroller,Mt]},{provide:Ot,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:At},{provide:o.NgProbeToken,multi:!0,useFactory:jt},Zt()]}},e.forChild=function(t){return{ngModule:e,providers:[Ht(t)]}},e.decorators=[{type:o.NgModule,args:[{declarations:It,exports:It,entryComponents:[k]}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[Nt]}]},{type:gt,decorators:[{type:o.Optional}]}]},e}();function Bt(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Rt(e,t,n)}function Ft(e,t,n){return void 0===n&&(n={}),n.useHash?new s.HashLocationStrategy(e,t):new s.PathLocationStrategy(e,t)}function Ut(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ht(e){return[{provide:o.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:ct,multi:!0,useValue:e}]}function Vt(e,t,n,r,o,i,a,s,c,u,d){void 0===c&&(c={});var p=new gt(null,t,n,r,o,i,a,L(s));if(u&&(p.urlHandlingStrategy=u),d&&(p.routeReuseStrategy=d),c.errorHandler&&(p.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(p.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var f=Object(l["ɵgetDOM"])();p.events.subscribe((function(e){f.logGroup("Router Event: "+e.constructor.name),f.log(e.toString()),f.log(e),f.logGroupEnd()}))}return c.onSameUrlNavigation&&(p.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(p.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(p.relativeLinkResolution=c.relativeLinkResolution),p}function zt(e){return e.routerState.root}var qt=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new i.Subject}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(s.LOCATION_INITIALIZED,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(gt),o=e.injector.get(Mt);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?Object(i.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))},e.prototype.bootstrapListener=function(e){var t=this.injector.get(Mt),n=this.injector.get(Pt),r=this.injector.get(Rt),i=this.injector.get(gt),a=this.injector.get(o.ApplicationRef);e===a.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e.decorators=[{type:o.Injectable}],e.ctorParameters=function(){return[{type:o.Injector}]},e}();function Gt(e){return e.appInitializer.bind(e)}function Wt(e){return e.bootstrapListener.bind(e)}var Yt=new o.InjectionToken("Router Initializer");function Zt(){return[qt,{provide:o.APP_INITIALIZER,multi:!0,useFactory:Gt,deps:[qt]},{provide:Yt,useFactory:Wt,deps:[qt]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Yt}]}var Kt=new o.Version("6.1.7")},"./node_modules/@angular/router/router.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RouterModuleNgFactory",(function(){return i})),n.d(t,"RenderType_ɵEmptyOutletComponent",(function(){return a})),n.d(t,"View_ɵEmptyOutletComponent_0",(function(){return s})),n.d(t,"View_ɵEmptyOutletComponent_Host_0",(function(){return l})),n.d(t,"ɵEmptyOutletComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/router/fesm5/router.js"),i=r["ɵcmf"](o.RouterModule,[],(function(e){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[c]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](1073742336,o.RouterModule,o.RouterModule,[[2,o["ɵangular_packages_router_router_a"]],[2,o.Router]])])})),a=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["ɵdid"](1,212992,null,0,o.RouterOutlet,[o.ChildrenOutletContexts,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null)],(function(e,t){e(t,1,0)}),null)}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"ng-component",[],null,null,null,s,a)),r["ɵdid"](1,49152,null,0,o["ɵEmptyOutletComponent"],[],null,null)],null,null)}var c=r["ɵccf"]("ng-component",o["ɵEmptyOutletComponent"],l,{},{},[])},"./node_modules/@codebakery/origami/fesm5/origami-forms.js":function(e,t,n){"use strict";n.r(t),n.d(t,"OrigamiFormsModule",(function(){return l})),n.d(t,"ORIGAMI_CONTROL_VALUE_ACCESSOR",(function(){return a})),n.d(t,"OrigamiControlValueAccessor",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/@angular/forms/fesm5/forms.js"),a={provide:i.NG_VALUE_ACCESSOR,useExisting:Object(o.forwardRef)((function(){return s})),multi:!0},s=function(e){function t(t,n,r,o){var i=e.call(this,r,t,o)||this;return i.elementRef=t,i.injector=n,i.renderer=r,i.validationErrorsKey="validate",i.isWritingValue=!1,i.ignoreInvalidChanges=!1,i}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"control",{get:function(){return this._control||(this._control=this.injector.get(i.NgControl).control),this._control},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var e=this,t=this.elementRef.nativeElement;if(this.isValidatable(t)){var n=this.control;this.statusSub=n.statusChanges.subscribe((function(){"function"==typeof e.isInvalid?t.invalid=e.isInvalid(n):t.invalid=!!n.invalid&&!!n.dirty})),this.shouldUseValidate(t)&&n.setValidators(i.Validators.compose([n.validator,function(){return t.validate()?null:((n={})[e.validationErrorsKey]=!0,n);var n}]))}},t.prototype.ngOnDestroy=function(){this.statusSub&&this.statusSub.unsubscribe()},t.prototype.writeValue=function(t){this.isWritingValue=!0;var n=this.elementRef.nativeElement;if(this.isMultiSelectable(n)||this.isSelectable(n)){var r=this.getSelectableProperty(n,t);r&&(n[r]=t)}else this.isCheckedElement(n)?n.checked=Boolean(t):e.prototype.writeValue.call(this,t);this.isWritingValue=!1},t.prototype.onChangedEvent=function(e){if(!this.isWritingValue){var t=this.elementRef.nativeElement,n=!1;switch(e.type){case"selected-items-changed":case"selected-item-changed":n="selectedItems"===(r=this.getSelectableProperty(t))||"selectedItem"===r;break;case"selected-values-changed":case"selected-changed":n="selectedValues"===(r=this.getSelectableProperty(t))||"selected"===r;break;default:n=!0}if(n){var r=void 0;r=this.isMultiSelectable(t)||this.isSelectable(t)?this.getSelectableProperty(t):this.isCheckedElement(t)?"checked":"value",this.onChange(t[r])}}},t.prototype.onInvalidChanged=function(){if(!this.ignoreInvalidChanges){var e=this.elementRef.nativeElement;this.isValidatable(e)&&this.control&&this.control.invalid!==e.invalid&&(this.ignoreInvalidChanges=!0,this.control.updateValueAndValidity(),this.ignoreInvalidChanges=!1)}},t.prototype.isCheckedElement=function(e){return this.isPropertyDefined(e,"checked")},t.prototype.isSelectable=function(e){return this.isPropertyDefined(e,"selected")||this.isPropertyDefined(e,"selectedItem")},t.prototype.isMultiSelectable=function(e){return!(!e||!this.isPropertyDefined(e,"selectedValues")&&!this.isPropertyDefined(e,"selectedItems"))&&(!this.isSelectable(e)||!0===e.multi)},t.prototype.isValidatable=function(e){return this.isPropertyDefined(e,"invalid")},t.prototype.shouldUseValidate=function(e){if("function"==typeof e.validate){this.ignoreInvalidChanges=!0;var t=e.invalid;e.validate();var n=e.invalid;e.invalid=!e.invalid,e.validate();var r=e.invalid===n;return e.invalid=t,this.ignoreInvalidChanges=!1,r}return!1},t.prototype.isPropertyDefined=function(e,t){return!!e&&t in e},t.prototype.getSelectableProperty=function(e,t){var n=this.isMultiSelectable(e),r=n?"selectedItems":"selectedItem",o=n?"selectedValues":"selected";if("boolean"!=typeof this.useSelectableValueProp){var i=r in e,a=o in e;if(i&&!a)this.useSelectableValueProp=!0;else if(!i&&a)this.useSelectableValueProp=!1;else{if(null==t)return;var s=e[r];try{e[r]=t}catch(e){}this.useSelectableValueProp=e[r]===t,e[r]=s}}return e.itemValuePath?"value":this.useSelectableValueProp?r:o},t.decorators=[{type:o.Directive,args:[{selector:"[ngModel][origami],[formControlName][origami],[formControl][origami]",providers:[a]}]}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:o.Injector},{type:o.Renderer2},{type:Boolean,decorators:[{type:o.Optional},{type:o.Inject,args:[i.COMPOSITION_BUFFER_MODE]}]}]},t.propDecorators={isInvalid:[{type:o.Input}],validationErrorsKey:[{type:o.Input}],onChangedEvent:[{type:o.HostListener,args:["selected-items-changed",["$event"]]},{type:o.HostListener,args:["selected-item-changed",["$event"]]},{type:o.HostListener,args:["selected-values-changed",["$event"]]},{type:o.HostListener,args:["selected-changed",["$event"]]},{type:o.HostListener,args:["checked-changed",["$event"]]},{type:o.HostListener,args:["value-changed",["$event"]]}],onInvalidChanged:[{type:o.HostListener,args:["invalid-changed"]}]},t}(i.DefaultValueAccessor),l=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{declarations:[s],exports:[s]}]}],e}()},"./node_modules/@codebakery/origami/fesm5/origami-polyfills.js":function(e,t,n){"use strict";n.r(t),n.d(t,"shimCustomElements",(function(){return c})),n.d(t,"WEBCOMPONENTS_READY_PROVIDER",(function(){return u})),n.d(t,"WebComponentsReadyModule",(function(){return d})),n.d(t,"webcomponentsReady",(function(){return s})),n.d(t,"resetWebcomponentsReady",(function(){return l}));var r,o=n("./node_modules/@codebakery/origami/fesm5/origami-util.js"),i=n("./node_modules/tslib/tslib.es6.js"),a=n("./node_modules/@angular/core/fesm5/core.js");function s(){return r||(r=new Promise((function(e){Object(o.whenSet)(window,"WebComponents",void 0,(function(t){t&&!t.ready?document.addEventListener("WebComponentsReady",(function t(){document.removeEventListener("WebComponentsReady",t),e()})):e()}))}))),r}function l(){r=void 0}function c(){if(!window.customElements){var e={},t={},n=function(){function n(){this.forcePolyfill=!0}return n.prototype.get=function(t){return e[t]&&e[t][0]},n.prototype.define=function(t,n,r){e[t]=[n,r]},n.prototype.whenDefined=function(e){return Array.isArray(t[e])||(t[e]=[],t[e][0]=new Promise((function(n){t[e][1]=n}))),t[e][0]},n}();window.customElements=new n,window.CustomElementRegistry=n,s().then((function(){Object.keys(t).forEach((function(e){window.customElements.whenDefined(e).then((function(){t[e][1]()}))})),Object.keys(e).forEach((function(t){var n=Object(i.__read)(e[t],2),r=n[0],o=n[1];window.customElements.define(t,r,o)}))}))}}c(),function(){if("object"==typeof HTMLElement){var e=function(){};e.prototype=HTMLElement.prototype,window.HTMLElement=e}}();var u={provide:a.APP_INITIALIZER,multi:!0,useValue:s},d=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{providers:[u]}]}],e}()},"./node_modules/@codebakery/origami/fesm5/origami-styles.js":function(e,t,n){"use strict";n.r(t),n.d(t,"importStyleModule",(function(){return d})),n.d(t,"clearStyleModuleCache",(function(){return p})),n.d(t,"IncludeStylesModule",(function(){return I})),n.d(t,"IncludeStyles",(function(){return h})),n.d(t,"getRegisteredTypes",(function(){return m})),n.d(t,"getStyleModulesFor",(function(){return g})),n.d(t,"resetIncludeStyles",(function(){return y})),n.d(t,"INJECT_STYLES_PROVIDER",(function(){return T})),n.d(t,"injectIncludeStyles",(function(){return A})),n.d(t,"patchRendererFactory",(function(){return R})),n.d(t,"HOST_CONTEXT_REGEX",(function(){return v})),n.d(t,"HOST_REGEX",(function(){return b})),n.d(t,"styleToEmulatedEncapsulation",(function(){return _})),n.d(t,"parseStyleStatements",(function(){return w})),n.d(t,"statementsToString",(function(){return C})),n.d(t,"scanComponentFactoryResolver",(function(){return x})),n.d(t,"getTypeFor",(function(){return k})),n.d(t,"resetTypeSelectors",(function(){return O})),n.d(t,"USING_APPLY",(function(){return M})),n.d(t,"processStylesheets",(function(){return N})),n.d(t,"isStyleNode",(function(){return D})),n.d(t,"ShadyCSSModule",(function(){return F})),n.d(t,"ShadyCSSSharedStylesHost",(function(){return L})),n.d(t,"SHADYCSS_SHARED_STYLES_HOST_PROVIDER",(function(){return B}));var r=n("./node_modules/@polymer/polymer/lib/elements/dom-module.js"),o=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),i=n("./node_modules/tslib/tslib.es6.js"),a=n("./node_modules/@angular/core/fesm5/core.js"),s=n("./node_modules/@angular/router/fesm5/router.js"),l=n("./node_modules/@codebakery/origami/fesm5/origami-util.js"),c=n("./node_modules/@codebakery/origami/fesm5/origami-polyfills.js"),u=new Map;function d(e){if(!u.has(e)){var t=r.DomModule.import(e,"template");if(t){var n=t.content.querySelectorAll("style");u.set(e,Array.from(n).map((function(e){return e.innerText})).join("\n"))}else u.set(e,"")}return u.get(e)}function p(){u=new Map}var f=new Map;function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return f.set(t,e),t}}function m(){return Array.from(f.keys())}function g(e){return e&&f.get(e)||[]}function y(){f=new Map}var v=/:host-context\((.*)\)/g,b=/:host(?:\((.*)\))?/g;function _(e,t){var n=Object(o["ɵshimContentAttribute"])(t),r=Object(o["ɵshimHostAttribute"])(t),i=w(e);return i.forEach((function(e){!function e(t){if(Array.isArray(t.statements))t.statements.forEach((function(t){return e(t)}));else{var o=t.selector;o=(o=(o=(o=o.trim()).split(",").map((function(e){return e.trim().split(" ").map((function(e){return(e=e.trim()).includes(":host")?e:e+"["+n+"]"})).join(" ")})).join(",")).replace(v,"*$1 ["+r+"]")).replace(b,"["+r+"]$1"),t.selector=o}}(e)})),C(i)}function w(e){for(var t=!1,n=!1,r=!1,o=0,i=!1,a=[],s={selector:"",block:""},l=0;l<e.length;l++){var c=e[l];switch(c){case"@":t=!0;break;case"'":n=!n;break;case'"':r=!r;break;case"{":case"}":n||r||("{"==c?o++:i=0===--o)}o?s.block+=c:i?(s.block+=c,t&&(s.statements=w(s.block.substring(s.block.indexOf("{")+1,s.block.lastIndexOf("}")))),s.selector=s.selector.trim(),s.block=s.block.trim(),a.push(s),s={selector:"",block:""},i=!1):s.selector+=c}return a}function C(e){return e.map((function(e){var t=Array.isArray(e.statements)?"{"+C(e.statements)+"}":e.block;return e.selector+" "+t})).join("\n")}var S=new Map,E=new Map;function x(e){Array.from(m()).forEach((function(t){if(!E.has(t))try{var n=e.resolveComponentFactory(t);E.set(t,n.selector),S.set(n.selector,t)}catch(e){}}))}function k(e){return S.get(e)}function O(){S=new Map,E=new Map}var T={provide:a.APP_INITIALIZER,multi:!0,useFactory:A,deps:[a.NgModuleRef]};function A(e){return function(){R(e.injector.get(a.RendererFactory2)),x(e.injector.get(a.ComponentFactoryResolver)),e.injector.get(s.Router).events.subscribe((function(e){"route"in e&&!e.route._loadedConfig&&Object(l.whenSet)(e.route,"_loadedConfig",void 0,(function(e){x(e.module.injector.get(a.ComponentFactoryResolver))}))}))}}var P=[];function R(e){var t=e.createRenderer;e.createRenderer=function(e,n){var r,o=e&&e.localName;if(o&&n&&-1===P.indexOf(o)){var s=g(k(o)),l=s.map((function(e){return d(e)}));switch(n.encapsulation){case a.ViewEncapsulation.Emulated:default:l=l.map((function(e){return _(e,n.id)}));break;case a.ViewEncapsulation.None:case a.ViewEncapsulation.Native:case a.ViewEncapsulation.ShadowDom:}(r=n.styles).push.apply(r,Object(i.__spread)(l)),P.push(o)}return t.apply(this,arguments)}}var I=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{providers:[T]}]}],e}(),M=new a.InjectionToken("usingApply");function N(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var t;return Object(i.__generator)(this,(function(n){switch(n.label){case 0:return!(t=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface)||window.ShadyCSS.nativeCss&&!e?[3,2]:[4,Promise.all(Array.from(document.styleSheets).map((function(e){var n=e.ownerNode;if(D(n)&&!n.hasAttribute("scope"))return t.addCustomStyle(n),Promise.resolve();if(e.href){if(!e._fetching){var r=e.href;e._fetching=new Promise((function(e){var o=new XMLHttpRequest;o.addEventListener("load",(function(){var r=document.createElement("style");r.innerHTML=o.responseText,n.parentNode.insertBefore(r,n),n.parentNode.removeChild(n),t.addCustomStyle(r),e()})),o.open("GET",r),o.send()}))}return e._fetching}})))];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))}function D(e){return"style"===e.localName}var j=/(?:\\)(--\w[\w-_]*:\s*{[^}]*})(;)?/g,L=function(e){function t(t,n){var r=e.call(this,t)||this;return r.usingApply=n,r}return Object(i.__extends)(t,e),t.prototype.addStyles=function(t){e.prototype.addStyles.call(this,t.map((function(e){return e.replace(j,"$1")})))},t.prototype.onStylesAdded=function(t){e.prototype.onStylesAdded.call(this,t),N(this.usingApply)},t.ctorParameters=function(){return[{type:Document,decorators:[{type:a.Inject,args:[o.DOCUMENT]}]},{type:Boolean,decorators:[{type:a.Optional},{type:a.Inject,args:[M]}]}]},t}(o["ɵDomSharedStylesHost"]),B={provide:o["ɵDomSharedStylesHost"],useClass:L},F=function(){function e(){}return e.usingApply=function(){return{ngModule:e,providers:[{provide:M,useValue:!0}]}},e.decorators=[{type:a.NgModule,args:[{imports:[c.WebComponentsReadyModule],providers:[B]}]}],e}()},"./node_modules/@codebakery/origami/fesm5/origami-templates.js":function(e,t,n){"use strict";n.r(t),n.d(t,"POLYMER_HOST",(function(){return c})),n.d(t,"polymerHost",(function(){return u})),n.d(t,"patchPolymerHost",(function(){return d})),n.d(t,"shimHTMLTemplateAppend",(function(){return p})),n.d(t,"resetShimHTMLTemplateAppend",(function(){return f})),n.d(t,"TemplateDirective",(function(){return h})),n.d(t,"TEMPLATES_READY_PROVIDER",(function(){return m})),n.d(t,"TemplateModule",(function(){return g}));var r,o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/tslib/tslib.es6.js"),a=n("./node_modules/@codebakery/origami/fesm5/origami-util.js"),s=n("./node_modules/@polymer/polymer/lib/utils/case-map.js"),l=n("./node_modules/@codebakery/origami/fesm5/origami-polyfills.js"),c=new o.InjectionToken("polymerHost");function u(e){return{provide:c,useFactory:d,deps:[e]}}function d(e){return e._addEventListenerToNode||(e._addEventListenerToNode=function(e,t,n){e.addEventListener(t,n)}),e}function p(){var e=this;if(!r){r=new Promise((function(t){return Object(i.__awaiter)(e,void 0,void 0,(function(){return Object(i.__generator)(this,(function(e){switch(e.label){case 0:return[4,Object(a.whenSet)(window,"HTMLTemplateElement")];case 1:return e.sent(),n=HTMLTemplateElement.prototype.appendChild,HTMLTemplateElement.prototype.appendChild=function(e){return this.content?this.content.appendChild(e):n.apply(this,[e])},t(),[2]}var n}))}))}))}return r}function f(){r=void 0}var h=function(){function e(e,t,n){var r=this;this.elementRef=e,this.polymerHost=t,this.zone=n,this.ready=Object(i.__awaiter)(r,void 0,void 0,(function(){return Object(i.__generator)(this,(function(t){switch(t.label){case 0:return this.polymerHost?(this.enableEventBindings(e.nativeElement),[4,this.enablePropertyBindings(e.nativeElement)]):[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))}return e.prototype.enableEventBindings=function(e){e.__dataHost=this.polymerHost},e.prototype.enablePropertyBindings=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,l=this;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:return[4,this.getTemplateInfo(e)];case 1:if(t=i.sent().hostProps)for(o in n=function(t){var n=r.polymerHost[t];Object(a.wrapAndDefineDescriptor)(r.polymerHost,t,{afterSet:function(n,r){n&&(e["_host_"+t]=r)}}),r.polymerHost[t]=n;var o="_host_"+Object(s.camelToDashCase)(t)+"-changed";e.addEventListener(o,(function(e){l.isSplicesChange(e)||l.isPathChange(e)||l.zone.run((function(){l.polymerHost[t]=e.detail.value}))}))},r=this,t)n(o);return[2]}}))}))},e.prototype.getTemplateInfo=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){return Object(i.__generator)(this,(function(t){switch(t.label){case 0:return e._templateInfo?[2,e._templateInfo]:[3,1];case 1:return[4,Object(a.whenSet)(e,"_templateInfo")];case 2:return[2,t.sent()]}}))}))},e.prototype.isSplicesChange=function(e){var t=e.detail.value;return t&&Array.isArray(t.indexSplices)},e.prototype.isPathChange=function(e){return"string"==typeof e.detail.path},e.decorators=[{type:o.Directive,args:[{selector:"template"}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:void 0,decorators:[{type:o.Inject,args:[c]},{type:o.Optional}]},{type:o.NgZone}]},e}();p();var m={provide:o.APP_INITIALIZER,multi:!0,useValue:p},g=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[l.WebComponentsReadyModule],declarations:[h],providers:[m],exports:[h]}]}],e}()},"./node_modules/@codebakery/origami/fesm5/origami-util.js":function(e,t,n){"use strict";function r(e,t,n){var r=o(e,t,n);Object.defineProperty(e,t,r)}function o(e,t,n){var r=i(e,t),o=new WeakMap;return{enumerable:!r||r.enumerable,get:function(){if(r&&r.get)return r.get.apply(this);var e=o.get(this);return e&&e[t]},set:function(e){var i=e;if(!n.shouldSet||n.shouldSet.apply(this,[i])){n.beforeSet&&(i=n.beforeSet.apply(this,[i]));var a=o.get(this);a||(a={},o.set(this,a));var s=i!==a[t];a[t]=i,r&&r.set&&r.set.apply(this,[i]),n.afterSet&&n.afterSet.apply(this,[s,i,e])}}}}function i(e,t){for(;e;){var n=Object.getOwnPropertyDescriptor(e,t);if(n)return n;e=Object.getPrototypeOf(e)}}var a,s;function l(e,t,n,r){void 0===n&&(n=function(e){return void 0!==e});var o=e[t];if(n(o))return"function"==typeof r&&r(e[t]),Promise.resolve(e[t]);a||(a=new WeakMap),s||(s=new WeakMap);var i=void 0;if(a.has(e)?i=a.get(e):(i=new Map,a.set(e,i)),i.has(t)){var l=i.get(t);if("function"==typeof r)(u=s.get(l)).push(r);return l}var c=new Promise((function(r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return o},set:function(l){(o=l,n(l))&&(Object.defineProperty(e,t,{value:l,configurable:!0,enumerable:!0,writable:!0}),i.delete(t),i.size||a.delete(e),s.get(c).forEach((function(e){e(l)})),r(l))}})}));i.set(t,c);var u=[];return"function"==typeof r&&u.push(r),s.set(c,u),c}n.r(t),n.d(t,"wrapAndDefineDescriptor",(function(){return r})),n.d(t,"wrapDescriptor",(function(){return o})),n.d(t,"getPropertyDescriptor",(function(){return i})),n.d(t,"whenSet",(function(){return l}))},"./node_modules/@codebakery/origami/fesm5/origami.js":function(e,t,n){"use strict";n.r(t),n.d(t,"OrigamiModule",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@codebakery/origami/fesm5/origami-forms.js"),i=n("./node_modules/@codebakery/origami/fesm5/origami-styles.js"),a=n("./node_modules/@codebakery/origami/fesm5/origami-templates.js"),s=n("./node_modules/@codebakery/origami/fesm5/origami-polyfills.js"),l=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[o.OrigamiFormsModule,i.IncludeStylesModule,i.ShadyCSSModule,a.TemplateModule,s.WebComponentsReadyModule],exports:[o.OrigamiFormsModule,i.IncludeStylesModule,i.ShadyCSSModule,a.TemplateModule,s.WebComponentsReadyModule]}]}],e}()},"./node_modules/@ngrx/effects/fesm5/effects.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵngrx_modules_effects_effects_c",(function(){return I})),n.d(t,"ɵngrx_modules_effects_effects_a",(function(){return N})),n.d(t,"ɵngrx_modules_effects_effects_b",(function(){return R})),n.d(t,"ɵngrx_modules_effects_effects_f",(function(){return A})),n.d(t,"ɵngrx_modules_effects_effects_e",(function(){return T})),n.d(t,"ɵngrx_modules_effects_effects_d",(function(){return O})),n.d(t,"Effect",(function(){return u})),n.d(t,"getEffectsMetadata",(function(){return f})),n.d(t,"mergeEffects",(function(){return g})),n.d(t,"Actions",(function(){return C})),n.d(t,"ofType",(function(){return S})),n.d(t,"EffectsModule",(function(){return M})),n.d(t,"EffectSources",(function(){return k})),n.d(t,"ROOT_EFFECTS_INIT",(function(){return P}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js"),a=n("./node_modules/@angular/core/fesm5/core.js"),s=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}},l="__@ngrx/effects__";function c(e){return e.constructor.hasOwnProperty(l)?e.constructor[l]:[]}function u(e){var t=(void 0===e?{}:e).dispatch,n=void 0===t||t;return function(e,t){var r,o,i;r=[{propertyName:t,dispatch:n}],o=e.constructor,i=o.hasOwnProperty(l)?o[l]:Object.defineProperty(o,l,{value:[]})[l],Array.prototype.push.apply(i,r)}}function d(e){return Object.getPrototypeOf(e)}function p(e){return Object(r.compose)(c,d)(e)}function f(e){var t,n,r={};try{for(var o=s(p(e)),i=o.next();!i.done;i=o.next()){var a=i.value,l=a.propertyName,c=a.dispatch;r[l]={dispatch:c}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}var h=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},m=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e};function g(e){var t=d(e).constructor.name,n=p(e).map((function(n){var r=n.propertyName,o=n.dispatch,a="function"==typeof e[r]?e[r]():e[r];return!1===o?a.pipe(Object(i.ignoreElements)()):a.pipe(Object(i.materialize)()).pipe(Object(i.map)((function(n){return{effect:e[r],notification:n,propertyName:r,sourceName:t,sourceInstance:e}})))}));return o.merge.apply(void 0,m(n))}function y(e){var t=g(e);return function(e){var t=d(e);return"ngrxOnRunEffects"in t&&"function"==typeof t.ngrxOnRunEffects}(e)?e.ngrxOnRunEffects(t):t}var v,b=(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},w=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e},C=function(e){function t(t){var n=e.call(this)||this;return t&&(n.source=t),n}return b(t,e),t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.ofType=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return S.apply(void 0,w(e))(this)},t.decorators=[{type:a.Injectable}],t.ctorParameters=function(){return[{type:o.Observable,decorators:[{type:a.Inject,args:[r.ScannedActionsSubject]}]}]},t}(o.Observable);function S(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(i.filter)((function(t){return e.some((function(e){return e===t.type}))}))}function E(e,t){!function(e,t){"E"===e.notification.kind&&t.handleError(e.notification.error)}(e,t),function(e,t){if("N"===e.notification.kind){var n=e.notification.value;!function(e){return e&&e.type&&"string"==typeof e.type}(n)&&t.handleError(new Error("Effect "+(o=(r=e).propertyName,i=r.sourceInstance,a=r.sourceName,s="function"==typeof i[o],'"'+a+"."+o+(s?"()":"")+'" dispatched an invalid action: ')+function(e){try{return JSON.stringify(e)}catch(t){return e}}(n)))}var r,o,i,a,s}(e,t)}var x=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=function(e){function t(t){var n=e.call(this)||this;return n.errorHandler=t,n}return x(t,e),t.prototype.addEffects=function(e){this.next(e)},t.prototype.toActions=function(){var e=this;return this.pipe(Object(i.groupBy)(d),Object(i.mergeMap)((function(t){return t.pipe(Object(i.exhaustMap)(y),Object(i.map)((function(t){return E(t,e.errorHandler),t.notification})),Object(i.filter)((function(e){return"N"===e.kind})),Object(i.dematerialize)())})))},t.decorators=[{type:a.Injectable}],t.ctorParameters=function(){return[{type:a.ErrorHandler}]},t}(o.Subject),O=(new a.InjectionToken("ngrx/effects: Immediate Effects"),new a.InjectionToken("ngrx/effects: Root Effects")),T=new a.InjectionToken("ngrx/effects: Feature Effects"),A=function(){function e(e,t){this.effectSources=e,this.store=t,this.effectsSubscription=null}return e.prototype.start=function(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))},e.prototype.ngOnDestroy=function(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)},e.decorators=[{type:a.Injectable}],e.ctorParameters=function(){return[{type:k},{type:r.Store}]},e}(),P="@ngrx/effects/init",R=function(){function e(e,t,n,r,o,i){this.sources=e,t.start(),r.forEach((function(t){return e.addEffects(t)})),n.dispatch({type:P})}return e.prototype.addEffects=function(e){this.sources.addEffects(e)},e.decorators=[{type:a.NgModule,args:[{}]}],e.ctorParameters=function(){return[{type:k},{type:A},{type:r.Store},{type:Array,decorators:[{type:a.Inject,args:[O]}]},{type:r.StoreRootModule,decorators:[{type:a.Optional}]},{type:r.StoreFeatureModule,decorators:[{type:a.Optional}]}]},e}(),I=function(){function e(e,t,n,r){this.root=e,t.forEach((function(t){return t.forEach((function(t){return e.addEffects(t)}))}))}return e.decorators=[{type:a.NgModule,args:[{}]}],e.ctorParameters=function(){return[{type:R},{type:Array,decorators:[{type:a.Inject,args:[T]}]},{type:r.StoreRootModule,decorators:[{type:a.Optional}]},{type:r.StoreFeatureModule,decorators:[{type:a.Optional}]}]},e}(),M=function(){function e(){}return e.forFeature=function(e){return{ngModule:I,providers:[e,{provide:T,multi:!0,deps:e,useFactory:N}]}},e.forRoot=function(e){return{ngModule:R,providers:[A,k,C,e,{provide:O,deps:e,useFactory:N}]}},e.decorators=[{type:a.NgModule,args:[{}]}],e}();function N(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e}},"./node_modules/@ngrx/store-devtools/fesm5/store-devtools.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_i",(function(){return INITIAL_OPTIONS})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_h",(function(){return STORE_DEVTOOLS_CONFIG})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_g",(function(){return DevtoolsDispatcher})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_k",(function(){return DevtoolsExtension})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_j",(function(){return REDUX_DEVTOOLS_EXTENSION})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_a",(function(){return IS_EXTENSION_OR_MONITOR_PRESENT})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_f",(function(){return createConfig})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_b",(function(){return createIsExtensionOrMonitorPresent})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_c",(function(){return createReduxDevtoolsExtension})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_d",(function(){return createStateObservable})),__webpack_require__.d(__webpack_exports__,"ɵngrx_modules_store_devtools_store_devtools_e",(function(){return noMonitor})),__webpack_require__.d(__webpack_exports__,"StoreDevtoolsModule",(function(){return StoreDevtoolsModule})),__webpack_require__.d(__webpack_exports__,"StoreDevtools",(function(){return StoreDevtools})),__webpack_require__.d(__webpack_exports__,"StoreDevtoolsConfig",(function(){return StoreDevtoolsConfig}));var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/core/fesm5/core.js"),rxjs__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/_esm5/index.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rxjs/_esm5/operators/index.js"),_ngrx_store__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngrx/store/fesm5/store.js"),StoreDevtoolsConfig=function(){},STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("@ngrx/devtools Initial Config"),PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",PerformAction=function(e,t){if(this.action=e,this.timestamp=t,this.type=PERFORM_ACTION,void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')},Refresh=function(){this.type=REFRESH},Reset=function(e){this.timestamp=e,this.type=RESET},Rollback=function(e){this.timestamp=e,this.type=ROLLBACK},Commit=function(e){this.timestamp=e,this.type=COMMIT},Sweep=function(){this.type=SWEEP},ToggleAction=function(e){this.id=e,this.type=TOGGLE_ACTION},JumpToState=function(e){this.index=e,this.type=JUMP_TO_STATE},JumpToAction=function(e){this.actionId=e,this.type=JUMP_TO_ACTION},ImportState=function(e){this.nextLiftedState=e,this.type=IMPORT_STATE},__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};function difference(e,t){return e.filter((function(e){return t.indexOf(e)<0}))}function unliftState(e){return e.computedStates[e.currentStateIndex].state}function liftAction(e){return new PerformAction(e,+Date.now())}function sanitizeActions(e,t){return Object.keys(t).reduce((function(n,r){var o=Number(r);return n[o]=sanitizeAction(e,t[o],o),n}),{})}function sanitizeAction(e,t,n){return __assign({},t,{action:e(t.action,n)})}function sanitizeStates(e,t){return t.map((function(t,n){return{state:sanitizeState(e,t.state,n),error:t.error}}))}function sanitizeState(e,t,n){return e(t,n)}var __assign$1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("Redux Devtools Extension"),DevtoolsExtension=function(){function DevtoolsExtension(e,t){this.config=t,this.instanceId="ngrx-store-"+Date.now(),this.devtoolsExtension=e,this.createActionStreams()}return DevtoolsExtension.prototype.notify=function(e,t){if(this.devtoolsExtension)if(e.type===PERFORM_ACTION){var n=unliftState(t),r=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,n,t.currentStateIndex):n,o=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,e,t.nextActionId):e;this.extensionConnection.send(o,r)}else{var i=__assign$1({},t,{actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,t.computedStates):t.computedStates});this.devtoolsExtension.send(null,i,this.getExtensionConfig(this.instanceId,this.config),this.instanceId)}},DevtoolsExtension.prototype.createChangesObservable=function(){var e=this;return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_1__.Observable((function(t){var n=e.devtoolsExtension.connect(e.getExtensionConfig(e.instanceId,e.config));return e.extensionConnection=n,n.init(),n.subscribe((function(e){return t.next(e)})),n.unsubscribe})):Object(rxjs__WEBPACK_IMPORTED_MODULE_1__.empty)()},DevtoolsExtension.prototype.createActionStreams=function(){var e=this,t=this.createChangesObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.share)()),n=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)((function(e){return e.type===ExtensionActionTypes.START}))),r=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)((function(e){return e.type===ExtensionActionTypes.STOP}))),o=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)((function(e){return e.type===ExtensionActionTypes.DISPATCH})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)((function(t){return e.unwrapAction(t.payload)}))),i=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)((function(e){return e.type===ExtensionActionTypes.ACTION})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)((function(t){return e.unwrapAction(t.payload)}))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.takeUntil)(r)),a=o.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.takeUntil)(r));this.start$=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.takeUntil)(r)),this.actions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.switchMap)((function(){return i}))),this.liftedActions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.switchMap)((function(){return a})))},DevtoolsExtension.prototype.unwrapAction=function(action){return"string"==typeof action?eval("("+action+")"):action},DevtoolsExtension.prototype.getExtensionConfig=function(e,t){var n={instanceId:e,name:t.name,features:t.features,serialize:t.serialize};return!1!==t.maxAge&&(n.maxAge=t.maxAge),n},DevtoolsExtension.decorators=[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable}],DevtoolsExtension.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,args:[REDUX_DEVTOOLS_EXTENSION]}]},{type:StoreDevtoolsConfig,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,args:[STORE_DEVTOOLS_CONFIG]}]}]},DevtoolsExtension}(),__assign$2=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__read=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},__spread=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e},INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.INIT};function computeNextEntry(e,t,n,r,o){if(r)return{state:n,error:"Interrupted by an error up the chain"};var i,a=n;try{a=e(n,t)}catch(e){i=e.toString(),o.handleError(e.stack||e)}return{state:a,error:i}}function recomputeStates(e,t,n,r,o,i,a,s){if(t>=e.length&&e.length===i.length)return e;for(var l=e.slice(0,t),c=t;c<i.length;c++){var u=i[c],d=o[u].action,p=l[c-1],f=p?p.state:r,h=p?p.error:void 0,m=a.indexOf(u)>-1?p:computeNextEntry(n,d,f,h,s);l.push(m)}return l}function liftInitialState(e,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:e,currentStateIndex:0,computedStates:[]}}function liftReducerWith(e,t,n,r,o){return void 0===o&&(o={}),function(i){return function(a,s){var l=a||t,c=l.monitorState,u=l.actionsById,d=l.nextActionId,p=l.stagedActionIds,f=l.skippedActionIds,h=l.committedState,m=l.currentStateIndex,g=l.computedStates;function y(e){for(var t=e,n=p.slice(1,t+1),r=0;r<n.length;r++){if(g[r+1].error){t=r,n=p.slice(1,t+1);break}delete u[n[r]]}f=f.filter((function(e){return-1===n.indexOf(e)})),p=__spread([0],p.slice(t+1)),h=g[t].state,g=g.slice(t),m=m>t?m-t:0}a||(u=Object.create(u));var v,b=0;switch(s.type){case RESET:u={0:liftAction(INIT_ACTION)},d=1,p=[0],f=[],h=e,m=0,g=[];break;case COMMIT:u={0:liftAction(INIT_ACTION)},d=1,p=[0],f=[],h=g[m].state,m=0,g=[];break;case ROLLBACK:u={0:liftAction(INIT_ACTION)},d=1,p=[0],f=[],m=0,g=[];break;case TOGGLE_ACTION:var _=s.id,w=f.indexOf(_);f=-1===w?__spread([_],f):f.filter((function(e){return e!==_})),b=p.indexOf(_);break;case SET_ACTIONS_ACTIVE:for(var C=s.start,S=s.end,E=s.active,x=[],k=C;k<S;k++)x.push(k);f=E?difference(f,x):__spread(f,x),b=p.indexOf(C);break;case JUMP_TO_STATE:m=s.index,b=1/0;break;case JUMP_TO_ACTION:-1!==(w=p.indexOf(s.actionId))&&(m=w),b=1/0;break;case SWEEP:p=difference(p,f),f=[],m=Math.min(m,p.length-1);break;case PERFORM_ACTION:o.maxAge&&p.length===o.maxAge&&y(1),m===p.length-1&&m++;var O=d++;u[O]=s,b=(p=__spread(p,[O])).length-1;break;case IMPORT_STATE:c=(v=s.nextLiftedState).monitorState,u=v.actionsById,d=v.nextActionId,p=v.stagedActionIds,f=v.skippedActionIds,h=v.committedState,m=v.currentStateIndex,g=v.computedStates;break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_3__.INIT:b=0,o.maxAge&&p.length>o.maxAge&&(g=recomputeStates(g,b,i,h,u,p,f,n),y(p.length-o.maxAge),b=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_3__.UPDATE:if(g.filter((function(e){return e.error})).length>0)b=0,o.maxAge&&p.length>o.maxAge&&(g=recomputeStates(g,b,i,h,u,p,f,n),y(p.length-o.maxAge),b=1/0);else{m===p.length-1&&m++;O=d++;u[O]=new PerformAction(s,+Date.now()),b=(p=__spread(p,[O])).length-1,g=(g=recomputeStates(g,b,i,h,u,p,f,n)).map((function(e){return __assign$2({},e,{state:i(e.state,s)})})),m=b,o.maxAge&&p.length>o.maxAge&&y(p.length-o.maxAge),b=1/0}break;default:b=1/0}return g=recomputeStates(g,b,i,h,u,p,f,n),{monitorState:c=r(c,s),actionsById:u,nextActionId:d,stagedActionIds:p,skippedActionIds:f,committedState:h,currentStateIndex:m,computedStates:g}}}}var __extends=(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),extendStatics,__read$1=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},DevtoolsDispatcher=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.decorators=[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable}],t}(_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.ActionsSubject),StoreDevtools=function(){function e(e,t,n,r,o,i,a,s){var l=this,c=liftInitialState(a,s.monitor),u=liftReducerWith(a,c,i,s.monitor,s),d=Object(rxjs__WEBPACK_IMPORTED_MODULE_1__.merge)(Object(rxjs__WEBPACK_IMPORTED_MODULE_1__.merge)(t.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.skip)(1)),r.actions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)(liftAction)),e,r.liftedActions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.observeOn)(rxjs__WEBPACK_IMPORTED_MODULE_1__.queueScheduler)),p=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)(u)),f=new rxjs__WEBPACK_IMPORTED_MODULE_1__.ReplaySubject(1),h=d.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom)(p),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.scan)((function(e,t){var n=e.state,o=__read$1(t,2),i=o[0],a=(0,o[1])(n,i);return r.notify(i,a),{state:a,action:i}}),{state:c,action:null})).subscribe((function(e){var t=e.state,n=e.action;if(f.next(t),n.type===PERFORM_ACTION){var r=n.action;o.next(r)}})),m=r.start$.subscribe((function(){l.refresh()})),g=f.asObservable(),y=g.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)(unliftState));this.extensionStartSubscription=m,this.stateSubscription=h,this.dispatcher=e,this.liftedState=g,this.state=y}return e.prototype.dispatch=function(e){this.dispatcher.next(e)},e.prototype.next=function(e){this.dispatcher.next(e)},e.prototype.error=function(e){},e.prototype.complete=function(){},e.prototype.performAction=function(e){this.dispatch(new PerformAction(e,+Date.now()))},e.prototype.refresh=function(){this.dispatch(new Refresh)},e.prototype.reset=function(){this.dispatch(new Reset(+Date.now()))},e.prototype.rollback=function(){this.dispatch(new Rollback(+Date.now()))},e.prototype.commit=function(){this.dispatch(new Commit(+Date.now()))},e.prototype.sweep=function(){this.dispatch(new Sweep)},e.prototype.toggleAction=function(e){this.dispatch(new ToggleAction(e))},e.prototype.jumpToAction=function(e){this.dispatch(new JumpToAction(e))},e.prototype.jumpToState=function(e){this.dispatch(new JumpToState(e))},e.prototype.importState=function(e){this.dispatch(new ImportState(e))},e.decorators=[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable}],e.ctorParameters=function(){return[{type:DevtoolsDispatcher},{type:_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.ActionsSubject},{type:_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.ReducerObservable},{type:DevtoolsExtension},{type:_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.ScannedActionsSubject},{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.ErrorHandler},{type:void 0,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,args:[_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.INITIAL_STATE]}]},{type:StoreDevtoolsConfig,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,args:[STORE_DEVTOOLS_CONFIG]}]}]},e}(),IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken("Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(e,t){return Boolean(e)||t.monitor!==noMonitor}function createReduxDevtoolsExtension(){return"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:null}function createStateObservable(e){return e.state}function noMonitor(){return null}var DEFAULT_NAME="NgRx Store DevTools";function createConfig(e){var t={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:!1},n="function"==typeof e?e():e,r=!!n.logOnly&&{pause:!0,export:!0,test:!0},o=n.features||r,i=Object.assign({},t,{features:o},n);if(i.maxAge&&i.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+i.maxAge);return i}var StoreDevtoolsModule=function(){function e(){}return e.instrument=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:t},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.StateObservable,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_3__.ReducerManagerDispatcher,useExisting:DevtoolsDispatcher}]}},e.decorators=[{type:_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,args:[{}]}],e}()},"./node_modules/@ngrx/store/fesm5/store.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ɵngrx_modules_store_store_c",(function(){return u})),n.d(t,"ɵngrx_modules_store_store_d",(function(){return N})),n.d(t,"ɵngrx_modules_store_store_e",(function(){return L})),n.d(t,"ɵngrx_modules_store_store_f",(function(){return X})),n.d(t,"ɵngrx_modules_store_store_g",(function(){return z})),n.d(t,"ɵngrx_modules_store_store_b",(function(){return Z})),n.d(t,"Store",(function(){return Y})),n.d(t,"select",(function(){return K})),n.d(t,"combineReducers",(function(){return x})),n.d(t,"compose",(function(){return k})),n.d(t,"createReducerFactory",(function(){return O})),n.d(t,"ActionsSubject",(function(){return c})),n.d(t,"INIT",(function(){return l})),n.d(t,"ReducerManager",(function(){return M})),n.d(t,"ReducerObservable",(function(){return P})),n.d(t,"ReducerManagerDispatcher",(function(){return R})),n.d(t,"UPDATE",(function(){return I})),n.d(t,"ScannedActionsSubject",(function(){return j})),n.d(t,"createSelector",(function(){return ne})),n.d(t,"createSelectorFactory",(function(){return oe})),n.d(t,"createFeatureSelector",(function(){return ie})),n.d(t,"defaultMemoize",(function(){return te})),n.d(t,"defaultStateFn",(function(){return re})),n.d(t,"resultMemoize",(function(){return ee})),n.d(t,"State",(function(){return H})),n.d(t,"StateObservable",(function(){return U})),n.d(t,"reduceState",(function(){return V})),n.d(t,"INITIAL_STATE",(function(){return p})),n.d(t,"_REDUCER_FACTORY",(function(){return h})),n.d(t,"REDUCER_FACTORY",(function(){return f})),n.d(t,"_INITIAL_REDUCERS",(function(){return g})),n.d(t,"INITIAL_REDUCERS",(function(){return m})),n.d(t,"STORE_FEATURES",(function(){return v})),n.d(t,"_INITIAL_STATE",(function(){return d})),n.d(t,"META_REDUCERS",(function(){return y})),n.d(t,"_STORE_REDUCERS",(function(){return b})),n.d(t,"_FEATURE_REDUCERS",(function(){return _})),n.d(t,"FEATURE_REDUCERS",(function(){return C})),n.d(t,"_FEATURE_REDUCERS_TOKEN",(function(){return w})),n.d(t,"StoreModule",(function(){return ce})),n.d(t,"StoreRootModule",(function(){return se})),n.d(t,"StoreFeatureModule",(function(){return le})),n.d(t,"_initialStateFactory",(function(){return pe})),n.d(t,"_createStoreReducers",(function(){return ue})),n.d(t,"_createFeatureReducers",(function(){return de}));var r,o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l="@ngrx/store/init",c=function(e){function t(){return e.call(this,{type:l})||this}return s(t,e),t.prototype.next=function(t){if(void 0===t)throw new TypeError("Actions must be objects");if(void 0===t.type)throw new TypeError("Actions must have a type property");e.prototype.next.call(this,t)},t.prototype.complete=function(){},t.prototype.ngOnDestroy=function(){e.prototype.complete.call(this)},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[]},t}(i.BehaviorSubject),u=[c],d=new o.InjectionToken("@ngrx/store Internal Initial State"),p=new o.InjectionToken("@ngrx/store Initial State"),f=new o.InjectionToken("@ngrx/store Reducer Factory"),h=new o.InjectionToken("@ngrx/store Reducer Factory Provider"),m=new o.InjectionToken("@ngrx/store Initial Reducers"),g=new o.InjectionToken("@ngrx/store Internal Initial Reducers"),y=new o.InjectionToken("@ngrx/store Meta Reducers"),v=new o.InjectionToken("@ngrx/store Store Features"),b=new o.InjectionToken("@ngrx/store Internal Store Reducers"),_=new o.InjectionToken("@ngrx/store Internal Feature Reducers"),w=new o.InjectionToken("@ngrx/store Internal Feature Reducers Token"),C=new o.InjectionToken("@ngrx/store Feature Reducers"),S=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},E=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(S(arguments[t]));return e};function x(e,t){void 0===t&&(t={});for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var i=n[o];"function"==typeof e[i]&&(r[i]=e[i])}var a=Object.keys(r);return function(e,n){e=void 0===e?t:e;for(var o=!1,i={},s=0;s<a.length;s++){var l=a[s],c=r[l],u=e[l],d=c(u,n);i[l]=d,o=o||d!==u}return o?i:e}}function k(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){if(0===e.length)return t;var n=e[e.length-1];return e.slice(0,-1).reduceRight((function(e,t){return t(e)}),n(t))}}function O(e,t){return Array.isArray(t)&&t.length>0?k.apply(null,E(t,[e])):e}var T=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t}(i.Observable),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t}(c),I="@ngrx/store/update-reducers",M=function(e){function t(t,n,r,o){var i=e.call(this,o(r,n))||this;return i.dispatcher=t,i.initialState=n,i.reducers=r,i.reducerFactory=o,i}return T(t,e),t.prototype.addFeature=function(e){this.addFeatures([e])},t.prototype.addFeatures=function(e){var t=e.reduce((function(e,t){var n=t.reducers,r=t.reducerFactory,o=t.metaReducers,i=t.initialState,a=t.key,s="function"==typeof n?function(e){var t=Array.isArray(e)&&e.length>0?k.apply(void 0,E(e)):function(e){return e};return function(e,n){return e=t(e),function(t,r){return e(t=void 0===t?n:t,r)}}}(o)(n,i):O(r,o)(n,i);return e[a]=s,e}),{});this.addReducers(t)},t.prototype.removeFeature=function(e){this.removeFeatures([e])},t.prototype.removeFeatures=function(e){this.removeReducers(e.map((function(e){return e.key})))},t.prototype.addReducer=function(e,t){var n;this.addReducers(((n={})[e]=t,n))},t.prototype.addReducers=function(e){this.reducers=A({},this.reducers,e),this.updateReducers(Object.keys(e))},t.prototype.removeReducer=function(e){this.removeReducers([e])},t.prototype.removeReducers=function(e){var t=this;e.forEach((function(e){t.reducers=function(e,t){return Object.keys(e).filter((function(e){return e!==t})).reduce((function(t,n){return Object.assign(t,((r={})[n]=e[n],r));var r}),{})}(t.reducers,e)})),this.updateReducers(e)},t.prototype.updateReducers=function(e){var t=this;this.next(this.reducerFactory(this.reducers,this.initialState)),e.forEach((function(e){t.dispatcher.next({type:I,feature:e})}))},t.prototype.ngOnDestroy=function(){this.complete()},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:R},{type:void 0,decorators:[{type:o.Inject,args:[p]}]},{type:void 0,decorators:[{type:o.Inject,args:[m]}]},{type:void 0,decorators:[{type:o.Inject,args:[f]}]}]},t}(i.BehaviorSubject),N=[M,{provide:P,useExisting:M},{provide:R,useExisting:c}],D=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.ngOnDestroy=function(){this.complete()},t.decorators=[{type:o.Injectable}],t}(i.Subject),L=[j],B=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),F=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return B(t,e),t}(i.Observable),H=function(e){function t(t,n,r,o){var s=e.call(this,o)||this,l={state:o},c=t.pipe(Object(a.observeOn)(i.queueScheduler)).pipe(Object(a.withLatestFrom)(n)).pipe(Object(a.scan)(V,l));return s.stateSubscription=c.subscribe((function(e){var t=e.state,n=e.action;s.next(t),r.next(n)})),s}return B(t,e),t.prototype.ngOnDestroy=function(){this.stateSubscription.unsubscribe(),this.complete()},t.INIT=l,t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:c},{type:P},{type:j},{type:void 0,decorators:[{type:o.Inject,args:[p]}]}]},t}(i.BehaviorSubject);function V(e,t){void 0===e&&(e={state:void 0});var n=F(t,2),r=n[0];return{state:(0,n[1])(e.state,r),action:r}}var z=[H,{provide:U,useExisting:H}],q=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},W=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(G(arguments[t]));return e},Y=function(e){function t(t,n,r){var o=e.call(this)||this;return o.actionsObserver=n,o.reducerManager=r,o.source=t,o}return q(t,e),t.prototype.select=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return K.call.apply(K,W([null,e],t))(this)},t.prototype.lift=function(e){var n=new t(this,this.actionsObserver,this.reducerManager);return n.operator=e,n},t.prototype.dispatch=function(e){this.actionsObserver.next(e)},t.prototype.next=function(e){this.actionsObserver.next(e)},t.prototype.error=function(e){this.actionsObserver.error(e)},t.prototype.complete=function(){this.actionsObserver.complete()},t.prototype.addReducer=function(e,t){this.reducerManager.addReducer(e,t)},t.prototype.removeReducer=function(e){this.reducerManager.removeReducer(e)},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:U},{type:c},{type:M}]},t}(i.Observable),Z=[Y];function K(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(r){var o;if("string"==typeof e){var i=W([t],n).filter(Boolean);o=r.pipe(a.pluck.apply(void 0,W([e],i)))}else{if("function"!=typeof e)throw new TypeError("Unexpected type '"+typeof e+"' in select operator, expected 'string' or 'function'");o=r.pipe(Object(a.map)((function(n){return e(n,t)})))}return o.pipe(Object(a.distinctUntilChanged)())}}var $=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Q=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($(arguments[t]));return e};function X(e,t){return e===t}function J(e,t,n){for(var r=0;r<e.length;r++)if(!n(e[r],t[r]))return!0;return!1}function ee(e,t){return te(e,X,t)}function te(e,t,n){void 0===t&&(t=X),void 0===n&&(n=X);var r=null,o=null;return{memoized:function(){if(!r)return o=e.apply(null,arguments),r=arguments,o;if(!J(arguments,r,t))return o;var i=e.apply(null,arguments);return n(o,i)?o:(o=i,r=arguments,i)},reset:function(){r=null,o=null}}}function ne(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return oe(te).apply(void 0,Q(e))}function re(e,t,n,r){if(void 0===n){var o=t.map((function(t){return t(e)}));return r.memoized.apply(null,o)}var i=t.map((function(t){return t(e,n)}));return r.memoized.apply(null,Q(i,[n]))}function oe(e,t){return void 0===t&&(t={stateFn:re}),function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=n;if(Array.isArray(o[0])){var i=$(o),a=i[0],s=i.slice(1);o=Q(a,s)}var l=o.slice(0,o.length-1),c=o[o.length-1],u=l.filter((function(e){return e.release&&"function"==typeof e.release})),d=e((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.apply(null,e)})),p=te((function(e,n){return 0===l.length?c.apply(null,[e,n]):t.stateFn.apply(null,[e,l,n,d])}));function f(){p.reset(),d.reset(),u.forEach((function(e){return e.release()}))}return Object.assign(p.memoized,{release:f,projector:d.memoized})}}function ie(e){return ne((function(t){return t[e]}),(function(e){return e}))}var ae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},se=function(){function e(e,t,n,r){}return e.decorators=[{type:o.NgModule,args:[{}]}],e.ctorParameters=function(){return[{type:c},{type:P},{type:j},{type:Y}]},e}(),le=function(){function e(e,t,n,r){this.features=e,this.featureReducers=t,this.reducerManager=n;var o=e.map((function(e,n){var r=t.shift()[n];return ae({},e,{reducers:r,initialState:pe(e.initialState)})}));n.addFeatures(o)}return e.prototype.ngOnDestroy=function(){this.reducerManager.removeFeatures(this.features)},e.decorators=[{type:o.NgModule,args:[{}]}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:o.Inject,args:[v]}]},{type:Array,decorators:[{type:o.Inject,args:[C]}]},{type:M},{type:se}]},e}(),ce=function(){function e(){}return e.forRoot=function(e,t){return void 0===t&&(t={}),{ngModule:se,providers:[{provide:d,useValue:t.initialState},{provide:p,useFactory:pe,deps:[d]},{provide:g,useValue:e},{provide:b,useExisting:e instanceof o.InjectionToken?e:g},{provide:m,deps:[o.Injector,g,[new o.Inject(b)]],useFactory:ue},{provide:y,useValue:t.metaReducers?t.metaReducers:[]},{provide:h,useValue:t.reducerFactory?t.reducerFactory:x},{provide:f,deps:[h,y],useFactory:O},u,N,L,z,Z]}},e.forFeature=function(e,t,n){return void 0===n&&(n={}),{ngModule:le,providers:[{provide:v,multi:!0,useValue:{key:e,reducerFactory:n.reducerFactory?n.reducerFactory:x,metaReducers:n.metaReducers?n.metaReducers:[],initialState:n.initialState}},{provide:_,multi:!0,useValue:t},{provide:w,multi:!0,useExisting:t instanceof o.InjectionToken?t:_},{provide:C,multi:!0,deps:[o.Injector,_,[new o.Inject(w)]],useFactory:de}]}},e.decorators=[{type:o.NgModule,args:[{}]}],e}();function ue(e,t,n){return t instanceof o.InjectionToken?e.get(t):t}function de(e,t,n){return t.map((function(t,n){return t instanceof o.InjectionToken?e.get(t):t}))}function pe(e){return"function"==typeof e?e():e}},"./node_modules/@nguniversal/express-engine/fesm5/tokens.js":function(e,t,n){"use strict";n.r(t),n.d(t,"REQUEST",(function(){return o})),n.d(t,"RESPONSE",(function(){return i}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=new r.InjectionToken("REQUEST"),i=new r.InjectionToken("RESPONSE")},"./node_modules/@ngxd/core/esm5/ngxd-core.js":function(e,t,n){"use strict";n.r(t),n.d(t,"NgxdModule",(function(){return x})),n.d(t,"NgxdResolver",(function(){return k})),n.d(t,"Dynamic",(function(){return T})),n.d(t,"NgxdProvider",(function(){return O})),n.d(t,"DynamicComponentFactoryResolver",(function(){return A})),n.d(t,"DynamicComponentFactory",(function(){return P})),n.d(t,"DynamicComponentRef",(function(){return R})),n.d(t,"DynamicComponentAdapterBuilder",(function(){return I})),n.d(t,"ɵb",(function(){return C})),n.d(t,"ɵe",(function(){return m})),n.d(t,"ɵf",(function(){return g})),n.d(t,"ɵd",(function(){return h})),n.d(t,"ɵa",(function(){return S})),n.d(t,"ɵc",(function(){return E}));var r,o=n("./node_modules/tslib/tslib.es6.js"),i=n("./node_modules/rxjs/_esm5/index.js"),a=n("./node_modules/@angular/core/fesm5/core.js");function s(e){return function(){var t=this.__ngxOnChanges_;null!=t&&(this.ngOnChanges&&this.ngOnChanges(t),this.__ngxOnChanges_=null),e&&e.apply(this)}}function l(e,t){return function(){e&&e.apply(this),t&&t.markForCheck()}}function c(e,t){if(t in e)return!0;var n=Object.getPrototypeOf(e);return!!n&&c(n,t)}function u(e){return{insidePropName:e.propName,outsidePropName:e.templateName}}var d=function(){function e(e,t){var n=this;if(this.host=e,this.name=t,this.disposed=!1,"__ngxContext__HOST_INPUT_ADAPTER"+t in e)return e["__ngxContext__HOST_INPUT_ADAPTER"+t];e["__ngxContext__HOST_INPUT_ADAPTER"+t]=this,this.changes=new i.Subject,this.defaultDescriptor=function e(t,n){if(Object.getOwnPropertyDescriptor(t,n))return Object.getOwnPropertyDescriptor(t,n);var r=Object.getPrototypeOf(t);return r?e(r,n):void 0}(e,t),this.refCount=0;var r=e[t];Object.defineProperty(e,t,{get:function(){return n.defaultDescriptor&&n.defaultDescriptor.get?n.defaultDescriptor.get.call(e):n.value},set:function(t){n.defaultDescriptor&&n.defaultDescriptor.set&&n.defaultDescriptor.set.call(e,t),n.value=t,n.changes.next(t)}}),void 0!==r&&(e[t]=r)}return e.prototype.attach=function(){this.refCount++},e.prototype.detach=function(){this.refCount--,this.refCount<=0&&this.dispose()},e.prototype.dispose=function(){var e=this.host[this.name];this.disposed=!0,this.changes.complete(),delete this.host["__ngxContext__HOST_INPUT_ADAPTER"+this.name],this.defaultDescriptor?(this.defaultDescriptor.writable&&(this.defaultDescriptor.value=e),Object.defineProperty(this.host,this.name,this.defaultDescriptor),this.defaultDescriptor.set&&(this.host[this.name]=e)):(delete this.host[this.name],this.host[this.name]=e)},e}(),p=function(){function e(e){if(this.host=e,"__ngxContext__HOST_ADAPTER"in e)return e.__ngxContext__HOST_ADAPTER;this.inputs=new Map,this.state={},this.refCount=0,e.__ngxContext__HOST_ADAPTER=this}return e.prototype.attach=function(){this.refCount++},e.prototype.attachInput=function(e){var t=new d(this.host,e.outsidePropName);return t.attach(),this.inputs.set(e.outsidePropName,t),Object.assign({},e,{defaultDescriptor:t.defaultDescriptor})},e.prototype.getInputAdapter=function(e){return this.inputs.get(e.outsidePropName)},e.prototype.detachInput=function(e){var t=this.inputs.get(e.outsidePropName);t.detach(),t.disposed&&this.inputs.delete(e.outsidePropName)},e.prototype.detach=function(){this.refCount--,this.refCount<=0&&this.dispose()},e.prototype.dispose=function(){delete this.host.__ngxContext__HOST_ADAPTER},e}(),f=function(){function e(e){this.context={},this.attachedInputs=[],this.attachedOutputs=[],this.propertyDefs=[],this.bindingDefs=[],this.componentFactory=e.componentFactory,this.componentRef=e.componentRef,this.host=e.host,this.onInitComponentRef=e.onInitComponentRef||this.componentRef,this.doCheckComponentRef=e.doCheckComponentRef||this.componentRef,this.changeDetectorRef=this.componentRef.injector.get(a.ChangeDetectorRef,this.componentRef.changeDetectorRef),this.propertyDefs=this.componentFactory.inputs.map(u),this.attachHost(),this.attachInputs(),this.attachLifecycle(),this.attachOutputs()}return e.prototype.dispose=function(){this.disposeOutputs(),this.disposeInputs(),this.detachHost(),this.componentRef&&(this.componentRef.destroy(),this.componentRef=null),this.onInitComponentRef&&(this.onInitComponentRef.destroy(),this.onInitComponentRef=null),this.doCheckComponentRef&&(this.doCheckComponentRef.destroy(),this.doCheckComponentRef=null)},e.prototype.updateContext=function(e){var t,n,r,i,a=this,s=e?Object.keys(e):[];try{for(var l=Object(o.__values)(s),c=l.next();!c.done;c=l.next()){var u=c.value;(m=this.getBindingDef(u))&&this.detachHostInput(m),(h=this.getPropertyDef(u))&&this.context[h.outsidePropName]!==e[u]&&(this.context[h.outsidePropName]=e[u])}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}var d=this.propertyDefs.filter((function(e){return!(s.indexOf(e.outsidePropName)>-1||a.getBindingDef(e.outsidePropName))}));try{for(var p=Object(o.__values)(d),f=p.next();!f.done;f=p.next()){var h=f.value,m=this.attachHostInput(h);this.attachInput(m)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}},e.prototype.getPropertyDef=function(e){return this.propertyDefs.find((function(t){return t.outsidePropName===e}))},e.prototype.getBindingDef=function(e){return this.bindingDefs.find((function(t){return t.outsidePropName===e}))},e.prototype.attachHost=function(){this.hostAdapter=new p(this.host),this.hostAdapter.attach()},e.prototype.detachHost=function(){this.hostAdapter.detach(),this.hostAdapter=null},e.prototype.attachHostInput=function(e){var t=this.hostAdapter.attachInput(e);return this.bindingDefs.push(t),t},e.prototype.detachHostInput=function(e){this.hostAdapter.detachInput(e),this.bindingDefs=this.bindingDefs.filter((function(t){return t!==e}))},e.prototype.attachInputs=function(){var e,t;this.bindingDefs=[];try{for(var n=Object(o.__values)(this.propertyDefs),r=n.next();!r.done;r=n.next()){var i=r.value,a=this.attachHostInput(i);this.attachContextPropertyToComponentInput(a),this.attachInput(a)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.attachInput=function(e){var t=this.host,n=this.hostAdapter,r=this.context,o=t[e.outsidePropName];void 0!==o&&(r[e.outsidePropName]=o);var i=n.getInputAdapter(e).changes.subscribe((function(t){r[e.outsidePropName]=t}));this.attachedInputs.push(i)},e.prototype.attachContextPropertyToComponentInput=function(e){var t=e.insidePropName,n=e.outsidePropName,r=e.defaultDescriptor,o=this.context,i=this.componentRef.instance;Object.defineProperty(o,n,{get:function(){return r&&r.get?r.get.call(o):i[t]},set:function(e){if(i[t]!==e){var s=i.__ngxOnChanges_;null==s&&(s=i.__ngxOnChanges_={});var l=!i["__ngxOnChanges__"+n];i["__ngxOnChanges__"+n]=!0,s[n]=new a.SimpleChange(i[t],e,l),r&&r.set&&r.set.call(o,e),i[t]=e}}})},e.prototype.attachLifecycle=function(){var e=this.componentRef.instance;if(c(this.componentRef.componentType.prototype,"ngOnChanges")){var t=l(e.ngDoCheck,this.changeDetectorRef).bind(e);this.onInitComponentRef.instance.ngOnInit=s(e.ngOnInit).bind(e),this.doCheckComponentRef.instance.ngDoCheck=s(t).bind(e)}else this.doCheckComponentRef.instance.ngDoCheck=l(e.ngDoCheck,this.changeDetectorRef).bind(e)},e.prototype.disposeInputs=function(){var e,t,n,r;try{for(var i=Object(o.__values)(this.bindingDefs),a=i.next();!a.done;a=i.next()){var s=a.value;this.detachHostInput(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var l=Object(o.__values)(this.attachedInputs),c=l.next();!c.done;c=l.next()){c.value.unsubscribe()}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}this.attachedInputs.splice(0)},e.prototype.attachOutputs=function(){var e,t,n=this.componentFactory.outputs.map(u);try{for(var r=Object(o.__values)(n),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.outsidePropName in this.host){var s=this.componentRef.instance[a.insidePropName].subscribe(this.host[a.outsidePropName]);this.attachedOutputs.push(s)}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.disposeOutputs=function(){var e,t;try{for(var n=Object(o.__values)(this.attachedOutputs),r=n.next();!r.done;r=n.next()){r.value.unsubscribe()}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.attachedOutputs.splice(0)},e}(),h=function(){function e(){}return e.prototype.ngOnInit=function(){},e}();h.decorators=[{type:a.Component,args:[{selector:"ngx-component-outlet-on-init-only",template:"",changeDetection:a.ChangeDetectionStrategy.OnPush}]}];var m=function(){function e(){}return e.prototype.ngDoCheck=function(){},e}();m.decorators=[{type:a.Component,args:[{selector:"ngx-component-outlet-do-check-only",template:"",changeDetection:a.ChangeDetectionStrategy.OnPush}]}];var g=function(){function e(){}return e.prototype.ngOnInit=function(){},e.prototype.ngDoCheck=function(){},e}();g.decorators=[{type:a.Component,args:[{selector:"ngx-component-outlet-on-init-do-check",template:"",changeDetection:a.ChangeDetectionStrategy.OnPush}]}];var y={Default:0,OnInitOnly:1,DoCheckOnly:2,OnInitAndDoCheck:3};y[y.Default]="Default",y[y.OnInitOnly]="OnInitOnly",y[y.DoCheckOnly]="DoCheckOnly",y[y.OnInitAndDoCheck]="OnInitAndDoCheck";var v=((r={})[y.Default]={},r[y.OnInitOnly]={componentType:h,useOnInitComponent:!0},r[y.DoCheckOnly]={componentType:m,useDoCheckComponent:!0},r[y.OnInitAndDoCheck]={componentType:g,useOnInitComponent:!0,useDoCheckComponent:!0},r),b={onInitComponentRef:null,doCheckComponentRef:null};function _(e){var t=function(e){var t=c(e.prototype,"ngOnInit"),n=c(e.prototype,"ngDoCheck"),r=c(e.prototype,"ngOnChanges");if(r&&!t&&!n)return y.OnInitAndDoCheck;if(r&&!t)return y.OnInitOnly;if(!n)return y.DoCheckOnly;return y.Default}(e);return v[t]}function w(e,t,n){return function(e,t,n){if(!t.componentType)return b;var r=n.resolveComponentFactory(t.componentType),o=e.createComponent(r,e.length);return{onInitComponentRef:t.useOnInitComponent?o:null,doCheckComponentRef:t.useDoCheckComponent?o:null}}(t,_(e),n)}var C=function(){function e(){}return e.prototype.create=function(e,t,n,r,o,i){var a=i.resolveComponentFactory(e),s=t.createComponent(a,t.length,n,r),l=w(a.componentType,t,i),c=l.onInitComponentRef,u=l.doCheckComponentRef;return new f({componentFactory:a,componentRef:s,host:o,onInitComponentRef:c,doCheckComponentRef:u})},e}();C.decorators=[{type:a.Injectable}];var S=function(){function e(e,t,n,r){this._componentFactoryResolver=e,this.viewContainerRef=t,this.changeDetectorRef=n,this.builder=r,this.ngxComponentOutletActivate=new a.EventEmitter,this.ngxComponentOutletDeactivate=new a.EventEmitter}return Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this._ngModuleRef?this._ngModuleRef.componentFactoryResolver:this._componentFactoryResolver},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"host",{get:function(){if(this.cached)return this.cached;var e=this.changeDetectorRef.context;return this.cached=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this.ngxComponentOutletInjector||this.viewContainerRef.injector},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.ngxComponentOutlet&&(e.ngxComponentOutletNgModuleFactory&&(this.destroyNgModuleRef(),this.createNgModuleRef()),this.destroyAdapterRef(),this.createAdapterRef()),e.ngxComponentOutletContext&&this.applyContext()},e.prototype.applyContext=function(){this._adapterRef&&this._adapterRef.updateContext(this.ngxComponentOutletContext)},e.prototype.ngOnDestroy=function(){this.destroyAdapterRef(),this.destroyNgModuleRef()},e.prototype.createAdapterRef=function(){this.ngxComponentOutlet&&(this._adapterRef=this.builder.create(this.ngxComponentOutlet,this.viewContainerRef,this.injector,this.ngxComponentOutletContent,this.host,this.componentFactoryResolver),this.ngxComponentOutletContext&&this.applyContext(),this.ngxComponentOutletActivate.emit(this._adapterRef.componentRef.instance))},e.prototype.destroyAdapterRef=function(){this._adapterRef&&(this.ngxComponentOutletDeactivate.emit(this._adapterRef.componentRef.instance),this._adapterRef.dispose(),this._adapterRef=null)},e.prototype.createNgModuleRef=function(){this.ngxComponentOutletNgModuleFactory&&(this._ngModuleRef=this.ngxComponentOutletNgModuleFactory.create(this.injector))},e.prototype.destroyNgModuleRef=function(){this._ngModuleRef&&(this._ngModuleRef.destroy(),this._ngModuleRef=null)},e}();S.decorators=[{type:a.Directive,args:[{selector:"[ngxComponentOutlet]"}]}],S.ctorParameters=function(){return[{type:a.ComponentFactoryResolver},{type:a.ViewContainerRef},{type:a.ChangeDetectorRef},{type:C}]},S.propDecorators={ngxComponentOutlet:[{type:a.Input}],ngxComponentOutletInjector:[{type:a.Input}],ngxComponentOutletContent:[{type:a.Input}],ngxComponentOutletContext:[{type:a.Input}],ngxComponentOutletNgModuleFactory:[{type:a.Input}],ngxComponentOutletActivate:[{type:a.Output}],ngxComponentOutletDeactivate:[{type:a.Output}]};var E=function(){function e(){}return e.prototype.transform=function(e,t){return e&&e.resolve(t)},e}();E.decorators=[{type:a.Pipe,args:[{name:"resolve",pure:!0}]}];var x=function(){function e(){}return e.forRoot=function(){throw new Error("Deprecation import through NgxdModule.forRoot(), use import as NgxdModule.")},e.forChild=function(){throw new Error("Deprecation import through NgxdModule.forChild(), use import as NgxdModule.")},e}();x.decorators=[{type:a.NgModule,args:[{declarations:[S,E,h,m,g],entryComponents:[h,m,g],exports:[S,E],providers:[C]}]}];var k=function(){function e(e){void 0===e&&(e=[]),this.config=e.reduce((function(e,t){return e.set(t.type,t.component)}),new Map)}return e.prototype.resolve=function(e){return e&&e.constructor?this.config.get(e.constructor)||this.config.get(e)||null:this.config.get(e)||null},e}(),O=function(){};function T(e){var t=(void 0===e?{}:e).token;return function(e){return{provide:t,useValue:e,multi:!0}}}var A=function(){function e(e,t,n){this.viewContainerRef=e,this.componentFactoryResolver=t,this.host=n}return e.prototype.resolveComponentFactory=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(e);return new P(this.viewContainerRef,this.componentFactoryResolver,t,this.host)},e}(),P=function(){function e(e,t,n,r){this.viewContainerRef=e,this.componentFactoryResolver=t,this.componentFactory=n,this.host=r}return Object.defineProperty(e.prototype,"componentType",{get:function(){return this.componentFactory.componentType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputs",{get:function(){return this.componentFactory.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngContentSelectors",{get:function(){return this.componentFactory.ngContentSelectors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return this.componentFactory.outputs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selector",{get:function(){return this.componentFactory.selector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewDefFactory",{get:function(){return this.componentFactory.viewDefFactory},enumerable:!0,configurable:!0}),e.prototype.create=function(e,t,n,r){var o=this.componentFactory.create(e,t,n,r);return new R(this.viewContainerRef,this.componentFactoryResolver,o,this.host)},e}(),R=function(){function e(e,t,n,r){this.viewContainerRef=e,this.componentFactoryResolver=t,this.componentRef=n;var o=t.resolveComponentFactory(this.componentType),i=w(o.componentType,e,t),a=i.onInitComponentRef,s=i.doCheckComponentRef;this.componentAdapterRef=new f({componentFactory:o,componentRef:n,host:r,onInitComponentRef:a,doCheckComponentRef:s})}return Object.defineProperty(e.prototype,"changeDetectorRef",{get:function(){return this.componentRef.changeDetectorRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this.componentRef.componentType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostView",{get:function(){return this.componentRef.hostView},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return this.componentRef.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"instance",{get:function(){return this.componentRef.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"location",{get:function(){return this.componentRef.location},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_elDef",{get:function(){return this.componentRef._elDef},enumerable:!0,configurable:!0}),e.prototype.updateContext=function(e){this.componentAdapterRef.updateContext(e)},e.prototype.destroy=function(){this._onDestroy&&this._onDestroy(),this.componentAdapterRef.dispose()},e.prototype.onDestroy=function(e){this._onDestroy=e},e}(),I=function(){function e(){}return e.prototype.create=function(e,t,n,r,o,i){var a=new A(t,i,o).resolveComponentFactory(e);return t.createComponent(a,t.length,n,r)},e}();I.decorators=[{type:a.Injectable}]},"./node_modules/@ngxd/core/ngxd-core.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"NgxdModuleNgFactory",(function(){return i})),n.d(t,"RenderType_ɵd",(function(){return a})),n.d(t,"View_ɵd_0",(function(){return s})),n.d(t,"View_ɵd_Host_0",(function(){return l})),n.d(t,"ɵdNgFactory",(function(){return c})),n.d(t,"RenderType_ɵe",(function(){return u})),n.d(t,"View_ɵe_0",(function(){return d})),n.d(t,"View_ɵe_Host_0",(function(){return p})),n.d(t,"ɵeNgFactory",(function(){return f})),n.d(t,"RenderType_ɵf",(function(){return h})),n.d(t,"View_ɵf_0",(function(){return m})),n.d(t,"View_ɵf_Host_0",(function(){return g})),n.d(t,"ɵfNgFactory",(function(){return y}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@ngxd/core/esm5/ngxd-core.js"),i=r["ɵcmf"](o.NgxdModule,[],(function(e){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[c,f,y]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](4608,o["ɵb"],o["ɵb"],[]),r["ɵmpd"](1073742336,o.NgxdModule,o.NgxdModule,[])])})),a=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function s(e){return r["ɵvid"](2,[],null,null)}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"ngx-component-outlet-on-init-only",[],null,null,null,s,a)),r["ɵdid"](1,114688,null,0,o["ɵd"],[],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("ngx-component-outlet-on-init-only",o["ɵd"],l,{},{},[]),u=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function d(e){return r["ɵvid"](2,[],null,null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"ngx-component-outlet-do-check-only",[],null,null,null,d,u)),r["ɵdid"](1,311296,null,0,o["ɵe"],[],null,null)],(function(e,t){e(t,1,0)}),null)}var f=r["ɵccf"]("ngx-component-outlet-do-check-only",o["ɵe"],p,{},{},[]),h=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function m(e){return r["ɵvid"](2,[],null,null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"ngx-component-outlet-on-init-do-check",[],null,null,null,m,h)),r["ɵdid"](1,376832,null,0,o["ɵf"],[],null,null)],(function(e,t){e(t,1,0)}),null)}var y=r["ɵccf"]("ngx-component-outlet-on-init-do-check",o["ɵf"],g,{},{},[])},"./node_modules/@polymer/iron-ajax/iron-ajax.js":function(e,t,n){"use strict";n.r(t);n("./node_modules/@polymer/iron-ajax/iron-request.js");var r=n("./node_modules/@polymer/polymer/lib/legacy/polymer-fn.js"),o=n("./node_modules/@polymer/polymer/polymer-legacy.js");Object(r.Polymer)({is:"iron-ajax",hostAttributes:{hidden:!0},properties:{url:{type:String},params:{type:Object,value:function(){return{}}},method:{type:String,value:"GET"},headers:{type:Object,value:function(){return{}}},contentType:{type:String,value:null},body:{type:Object,value:null},sync:{type:Boolean,value:!1},handleAs:{type:String,value:"json"},withCredentials:{type:Boolean,value:!1},timeout:{type:Number,value:0},auto:{type:Boolean,value:!1},verbose:{type:Boolean,value:!1},lastRequest:{type:Object,notify:!0,readOnly:!0},lastProgress:{type:Object,notify:!0,readOnly:!0},loading:{type:Boolean,notify:!0,readOnly:!0},lastResponse:{type:Object,notify:!0,readOnly:!0},lastError:{type:Object,notify:!0,readOnly:!0},activeRequests:{type:Array,notify:!0,readOnly:!0,value:function(){return[]}},debounceDuration:{type:Number,value:0,notify:!0},jsonPrefix:{type:String,value:""},bubbles:{type:Boolean,value:!1},rejectWithRequest:{type:Boolean,value:!1},_boundHandleResponse:{type:Function,value:function(){return this._handleResponse.bind(this)}}},observers:["_requestOptionsChanged(url, method, params.*, headers, contentType, body, sync, handleAs, jsonPrefix, withCredentials, timeout, auto)"],created:function(){this._boundOnProgressChanged=this._onProgressChanged.bind(this)},get queryString(){var e,t,n=[];for(e in this.params)if(t=this.params[e],e=window.encodeURIComponent(e),Array.isArray(t))for(var r=0;r<t.length;r++)n.push(e+"="+window.encodeURIComponent(t[r]));else null!==t?n.push(e+"="+window.encodeURIComponent(t)):n.push(e);return n.join("&")},get requestUrl(){var e=this.queryString,t=this.url||"";if(e){var n=t.indexOf("?")>=0?"&":"?";return t+n+e}return t},get requestHeaders(){var e,t={},n=this.contentType;if(null==n&&"string"==typeof this.body&&(n="application/x-www-form-urlencoded"),n&&(t["content-type"]=n),"object"==typeof this.headers)for(e in this.headers)t[e]=this.headers[e].toString();return t},_onProgressChanged:function(e){this._setLastProgress(e.detail.value)},toRequestOptions:function(){return{url:this.requestUrl||"",method:this.method,headers:this.requestHeaders,body:this.body,async:!this.sync,handleAs:this.handleAs,jsonPrefix:this.jsonPrefix,withCredentials:this.withCredentials,timeout:this.timeout,rejectWithRequest:this.rejectWithRequest}},generateRequest:function(){var e=document.createElement("iron-request"),t=this.toRequestOptions();return this.push("activeRequests",e),e.completes.then(this._boundHandleResponse).catch(this._handleError.bind(this,e)).then(this._discardRequest.bind(this,e)),this.fire("iron-ajax-presend",{request:e,options:t},{bubbles:this.bubbles,cancelable:!0}).defaultPrevented?(e.abort(),e.rejectCompletes(e),e):(this.lastRequest&&this.lastRequest.removeEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.addEventListener("iron-request-progress-changed",this._boundOnProgressChanged),e.send(t),this._setLastProgress(null),this._setLastRequest(e),this._setLoading(!0),this.fire("request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-request",{request:e,options:t},{bubbles:this.bubbles,composed:!0}),e)},_handleResponse:function(e){e===this.lastRequest&&(this._setLastResponse(e.response),this._setLastError(null),this._setLoading(!1)),this.fire("response",e,{bubbles:this.bubbles,composed:!0}),this.fire("iron-ajax-response",e,{bubbles:this.bubbles,composed:!0})},_handleError:function(e,t){this.verbose&&o.Base._error(t),e===this.lastRequest&&(this._setLastError({request:e,error:t,status:e.xhr.status,statusText:e.xhr.statusText,response:e.xhr.response}),this._setLastResponse(null),this._setLoading(!1)),this.fire("iron-ajax-error",{request:e,error:t},{bubbles:this.bubbles,composed:!0}),this.fire("error",{request:e,error:t},{bubbles:this.bubbles,composed:!0})},_discardRequest:function(e){var t=this.activeRequests.indexOf(e);t>-1&&this.splice("activeRequests",t,1)},_requestOptionsChanged:function(){this.debounce("generate-request",(function(){null!=this.url&&this.auto&&this.generateRequest()}),this.debounceDuration)}})},"./node_modules/@polymer/iron-ajax/iron-request.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/lib/legacy/polymer-fn.js"),o=n("./node_modules/@polymer/polymer/polymer-legacy.js");Object(r.Polymer)({is:"iron-request",hostAttributes:{hidden:!0},properties:{xhr:{type:Object,notify:!0,readOnly:!0,value:function(){return new XMLHttpRequest}},response:{type:Object,notify:!0,readOnly:!0,value:function(){return null}},status:{type:Number,notify:!0,readOnly:!0,value:0},statusText:{type:String,notify:!0,readOnly:!0,value:""},completes:{type:Object,readOnly:!0,notify:!0,value:function(){return new Promise(function(e,t){this.resolveCompletes=e,this.rejectCompletes=t}.bind(this))}},progress:{type:Object,notify:!0,readOnly:!0,value:function(){return{}}},aborted:{type:Boolean,notify:!0,readOnly:!0,value:!1},errored:{type:Boolean,notify:!0,readOnly:!0,value:!1},timedOut:{type:Boolean,notify:!0,readOnly:!0,value:!1}},get succeeded(){if(this.errored||this.aborted||this.timedOut)return!1;var e=this.xhr.status||0;return 0===e||e>=200&&e<300},send:function(e){var t=this.xhr;if(t.readyState>0)return null;t.addEventListener("progress",function(e){this._setProgress({lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total}),this.fire("iron-request-progress-changed",{value:this.progress})}.bind(this)),t.addEventListener("error",function(t){this._setErrored(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("timeout",function(t){this._setTimedOut(!0),this._updateStatus();var n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("abort",function(){this._setAborted(!0),this._updateStatus();var t=new Error("Request aborted."),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}.bind(this)),t.addEventListener("loadend",function(){if(this._updateStatus(),this._setResponse(this.parseResponse()),this.succeeded)this.resolveCompletes(this);else{var t=new Error("The request failed with status code: "+this.xhr.status),n=e.rejectWithRequest?{error:t,request:this}:t;this.rejectCompletes(n)}}.bind(this)),this.url=e.url;var n=!1!==e.async;t.open(e.method||"GET",e.url,n);var r={json:"application/json",text:"text/plain",html:"text/html",xml:"application/xml",arraybuffer:"application/octet-stream"}[e.handleAs],i=e.headers||Object.create(null),a=Object.create(null);for(var s in i)a[s.toLowerCase()]=i[s];if(i=a,r&&!i.accept&&(i.accept=r),Object.keys(i).forEach((function(e){/[A-Z]/.test(e)&&o.Base._error("Headers must be lower case, got",e),t.setRequestHeader(e,i[e])}),this),n){t.timeout=e.timeout;var l=e.handleAs;!e.jsonPrefix&&l||(l="text"),t.responseType=t._responseType=l,e.jsonPrefix&&(t._jsonPrefix=e.jsonPrefix)}t.withCredentials=!!e.withCredentials;var c=this._encodeBodyObject(e.body,i["content-type"]);return t.send(c),this.completes},parseResponse:function(){var e=this.xhr,t=e.responseType||e._responseType,n=!this.xhr.responseType,r=e._jsonPrefix&&e._jsonPrefix.length||0;try{switch(t){case"json":if(n||void 0===e.response)try{return JSON.parse(e.responseText)}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.response;case"xml":return e.responseXML;case"blob":case"document":case"arraybuffer":return e.response;case"text":default:if(r)try{return JSON.parse(e.responseText.substring(r))}catch(t){return console.warn("Failed to parse JSON sent from "+e.responseURL),null}return e.responseText}}catch(e){this.rejectCompletes(new Error("Could not parse response. "+e.message))}},abort:function(){this._setAborted(!0),this.xhr.abort()},_encodeBodyObject:function(e,t){if("string"==typeof e)return e;var n=e;switch(t){case"application/json":return JSON.stringify(n);case"application/x-www-form-urlencoded":return this._wwwFormUrlEncode(n)}return e},_wwwFormUrlEncode:function(e){if(!e)return"";var t=[];return Object.keys(e).forEach((function(n){t.push(this._wwwFormUrlEncodePiece(n)+"="+this._wwwFormUrlEncodePiece(e[n]))}),this),t.join("&")},_wwwFormUrlEncodePiece:function(e){return null!=e&&e.toString?encodeURIComponent(e.toString().replace(/\r?\n/g,"\r\n")).replace(/%20/g,"+"):""},_updateStatus:function(){this._setStatus(this.xhr.status),this._setStatusText(void 0===this.xhr.statusText?"":this.xhr.statusText)}})},"./node_modules/@polymer/polymer/lib/elements/array-selector.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ArraySelectorMixin",(function(){return s})),n.d(t,"ArraySelector",(function(){return c}));var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),i=n("./node_modules/@polymer/polymer/lib/utils/array-splice.js"),a=n("./node_modules/@polymer/polymer/lib/mixins/element-mixin.js");let s=Object(o.dedupingMixin)(e=>{let t=Object(a.ElementMixin)(e);return class extends t{static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(e,t){let n=t.path;if("items"==n){let n=t.base||[],r=this.__lastItems;if(e!==this.__lastMulti&&this.clearSelection(),r){let e=Object(i.calculateSplices)(n,r);this.__applySplices(e)}this.__lastItems=n,this.__lastMulti=e}else if("items.splices"==t.path)this.__applySplices(t.value.indexSplices);else{let e=n.slice("items.".length),t=parseInt(e,10);e.indexOf(".")<0&&e==t&&this.__deselectChangedIdx(t)}}__applySplices(e){let t=this.__selectedMap;for(let n=0;n<e.length;n++){let r=e[n];t.forEach((e,n)=>{e<r.index||(e>=r.index+r.removed.length?t.set(n,e+r.addedCount-r.removed.length):t.set(n,-1))});for(let e=0;e<r.addedCount;e++){let n=r.index+e;t.has(this.items[n])&&t.set(this.items[n],n)}}this.__updateLinks();let n=0;t.forEach((e,r)=>{e<0?(this.multi?this.splice("selected",n,1):this.selected=this.selectedItem=null,t.delete(r)):n++})}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let e=0;this.__selectedMap.forEach(t=>{t>=0&&this.linkPaths("items."+t,"selected."+e++)})}else this.__selectedMap.forEach(e=>{this.linkPaths("selected","items."+e),this.linkPaths("selectedItem","items."+e)})}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(e){return this.__selectedMap.has(e)}isIndexSelected(e){return this.isSelected(this.items[e])}__deselectChangedIdx(e){let t=this.__selectedIndexForItemIndex(e);if(t>=0){let e=0;this.__selectedMap.forEach((n,r)=>{t==e++&&this.deselect(r)})}}__selectedIndexForItemIndex(e){let t=this.__dataLinkedPaths["items."+e];if(t)return parseInt(t.slice("selected.".length),10)}deselect(e){let t=this.__selectedMap.get(e);if(t>=0){let n;this.__selectedMap.delete(e),this.multi&&(n=this.__selectedIndexForItemIndex(t)),this.__updateLinks(),this.multi?this.splice("selected",n,1):this.selected=this.selectedItem=null}}deselectIndex(e){this.deselect(this.items[e])}select(e){this.selectIndex(this.items.indexOf(e))}selectIndex(e){let t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push("selected",t):this.selected=this.selectedItem=t)}}}),l=s(r.PolymerElement);class c extends l{static get is(){return"array-selector"}}customElements.define(c.is,c)},"./node_modules/@polymer/polymer/lib/elements/custom-style.js":function(e,t,n){"use strict";n.r(t),n.d(t,"CustomStyle",(function(){return i}));n("./node_modules/@webcomponents/shadycss/entrypoints/custom-style-interface.js");var r=n("./node_modules/@polymer/polymer/lib/utils/style-gather.js");const o=window.ShadyCSS.CustomStyleInterface;class i extends HTMLElement{constructor(){super(),this._style=null,o.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;const t=e.getAttribute("include");return t&&(e.removeAttribute("include"),e.textContent=Object(r.cssFromModules)(t)+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}window.customElements.define("custom-style",i)},"./node_modules/@polymer/polymer/lib/elements/dom-bind.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DomBind",(function(){return s}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/mixins/property-effects.js"),o=n("./node_modules/@polymer/polymer/lib/mixins/mutable-data.js"),i=n("./node_modules/@polymer/polymer/lib/mixins/gesture-event-listeners.js");const a=Object(i.GestureEventListeners)(Object(o.OptionalMutableData)(Object(r.PropertyEffects)(HTMLElement)));class s extends a{static get observedAttributes(){return["mutable-data"]}constructor(){super(),this.root=null,this.$=null,this.__children=null}attributeChangedCallback(){this.mutableData=!0}connectedCallback(){this.style.display="none",this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){this.parentNode.insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let e=0;e<this.__children.length;e++)this.root.appendChild(this.__children[e])}render(){let e;if(!this.__children){if(e=e||this.querySelector("template"),!e){let t=new MutationObserver(()=>{if(e=this.querySelector("template"),!e)throw new Error("dom-bind requires a <template> child");t.disconnect(),this.render()});return void t.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)this.__children[this.__children.length]=e;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}customElements.define("dom-bind",s)},"./node_modules/@polymer/polymer/lib/elements/dom-if.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DomIf",(function(){return c}));var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=n("./node_modules/@polymer/polymer/lib/utils/templatize.js"),i=n("./node_modules/@polymer/polymer/lib/utils/debounce.js"),a=n("./node_modules/@polymer/polymer/lib/utils/flush.js"),s=n("./node_modules/@polymer/polymer/lib/utils/async.js"),l=n("./node_modules/@polymer/polymer/lib/utils/path.js");class c extends r.PolymerElement{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"}}}constructor(){super(),this.__renderDebouncer=null,this.__invalidProps=null,this.__instance=null,this._lastIf=!1,this.__ctor=null}__debounceRender(){this.__renderDebouncer=i.Debouncer.debounce(this.__renderDebouncer,s.microTask,()=>this.__render()),Object(a.enqueueDebouncer)(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback(),this.parentNode&&(this.parentNode.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||this.parentNode.host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),this.style.display="none",this.if&&this.__debounceRender()}render(){Object(a.flush)()}__render(){if(this.if){if(!this.__ensureInstance())return;this._showHideChildren()}else this.restamp&&this.__teardownInstance();!this.restamp&&this.__instance&&this._showHideChildren(),this.if!=this._lastIf&&(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__ensureInstance(){let e=this.parentNode;if(e){if(!this.__ctor){let e=this.querySelector("template");if(!e){let e=new MutationObserver(()=>{if(!this.querySelector("template"))throw new Error("dom-if requires a <template> child");e.disconnect(),this.__render()});return e.observe(this,{childList:!0}),!1}this.__ctor=Object(o.templatize)(e,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Object(l.root)(e)]=!0))}})}if(this.__instance){this.__syncHostProperties();let t=this.__instance.children;if(t&&t.length){if(this.previousSibling!==t[t.length-1])for(let n,r=0;r<t.length&&(n=t[r]);r++)e.insertBefore(n,this)}}else this.__instance=new this.__ctor,e.insertBefore(this.__instance.root,this)}return!0}__syncHostProperties(){let e=this.__invalidProps;if(e){for(let t in e)this.__instance._setPendingProperty(t,this.__dataHost[t]);this.__invalidProps=null,this.__instance._flushProperties()}}__teardownInstance(){if(this.__instance){let e=this.__instance.children;if(e&&e.length){let t=e[0].parentNode;for(let n,r=0;r<e.length&&(n=e[r]);r++)t.removeChild(n)}this.__instance=null,this.__invalidProps=null}}_showHideChildren(){let e=this.__hideTemplateChildren__||!this.if;this.__instance&&this.__instance._showHideChildren(e)}}customElements.define(c.is,c)},"./node_modules/@polymer/polymer/lib/elements/dom-module.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DomModule",(function(){return a}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/resolve-url.js");let o={},i={};class a extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){let n=function(e){return o[e]||i[e.toLowerCase()]}(e);return n&&t?n.querySelector(t):n}return null}attributeChangedCallback(e,t,n,r){t!==n&&this.register()}get assetpath(){if(!this.__assetpath){const e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=Object(r.resolveUrl)(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=Object(r.pathFromUrl)(t)}return this.__assetpath}register(e){var t;(e=e||this.id)&&(this.id=e,o[e]=this,i[e.toLowerCase()]=this,(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id))}}a.prototype.modules=o,customElements.define("dom-module",a)},"./node_modules/@polymer/polymer/lib/elements/dom-repeat.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DomRepeat",(function(){return d}));var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=n("./node_modules/@polymer/polymer/lib/utils/templatize.js"),i=n("./node_modules/@polymer/polymer/lib/utils/debounce.js"),a=n("./node_modules/@polymer/polymer/lib/utils/flush.js"),s=n("./node_modules/@polymer/polymer/lib/mixins/mutable-data.js"),l=n("./node_modules/@polymer/polymer/lib/utils/path.js"),c=n("./node_modules/@polymer/polymer/lib/utils/async.js");const u=Object(s.OptionalMutableData)(r.PolymerElement);class d extends u{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!0,readOnly:!0},initialCount:{type:Number,observer:"__initializeChunking"},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__limit=1/0,this.__pool=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__lastChunkTime=null,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let e=0;e<this.__instances.length;e++)this.__detachInstance(e)}connectedCallback(){if(super.connectedCallback(),this.style.display="none",this.__isDetached){this.__isDetached=!1;let e=this.parentNode;for(let t=0;t<this.__instances.length;t++)this.__attachInstance(t,e)}}__ensureTemplatized(){if(!this.__ctor){let e=this.template=this.querySelector("template");if(!e){let e=new MutationObserver(()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");e.disconnect(),this.__render()});return e.observe(this,{childList:!0}),!1}let t={};t[this.as]=!0,t[this.indexAs]=!0,t[this.itemsIndexAs]=!0,this.__ctor=Object(o.templatize)(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:t,forwardHostProp:function(e,t){let n=this.__instances;for(let r,o=0;o<n.length&&(r=n[o]);o++)r.forwardHostProp(e,t)},notifyInstanceProp:function(e,t,n){if(Object(l.matches)(this.as,t)){let r=e[this.itemsIndexAs];t==this.as&&(this.items[r]=n);let o=Object(l.translate)(this.as,"items."+r,t);this.notifyPath(o,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(e){if("string"==typeof e){let t=e,n=this.__getMethodHost();return function(){return n[t].apply(n,arguments)}}return e}__sortChanged(e){this.__sortFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__filterChanged(e){this.__filterFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(e){return Math.ceil(1e3/e)}__initializeChunking(){this.initialCount&&(this.__limit=this.initialCount,this.__chunkCount=this.initialCount,this.__lastChunkTime=performance.now())}__tryRenderChunk(){this.items&&this.__limit<this.items.length&&this.__debounceRender(this.__requestRenderChunk)}__requestRenderChunk(){requestAnimationFrame(()=>this.__renderChunk())}__renderChunk(){let e=performance.now(),t=this._targetFrameTime/(e-this.__lastChunkTime);this.__chunkCount=Math.round(this.__chunkCount*t)||1,this.__limit+=this.__chunkCount,this.__lastChunkTime=e,this.__debounceRender(this.__render)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__itemsChanged(e){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(e.path,e.value)||(this.__initializeChunking(),this.__debounceRender(this.__render))}__handleObservedPaths(e){if(this.__sortFn||this.__filterFn)if(e){if(this.__observePaths){let t=this.__observePaths;for(let n=0;n<t.length;n++)0===e.indexOf(t[n])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__debounceRender(e,t=0){this.__renderDebouncer=i.Debouncer.debounce(this.__renderDebouncer,t>0?c.timeOut.after(t):c.microTask,e.bind(this)),Object(a.enqueueDebouncer)(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),Object(a.flush)()}__render(){this.__ensureTemplatized()&&(this.__applyFullRefresh(),this.__pool.length=0,this._setRenderedItemCount(this.__instances.length),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this.__tryRenderChunk())}__applyFullRefresh(){let e=this.items||[],t=new Array(e.length);for(let n=0;n<e.length;n++)t[n]=n;this.__filterFn&&(t=t.filter((t,n,r)=>this.__filterFn(e[t],n,r))),this.__sortFn&&t.sort((t,n)=>this.__sortFn(e[t],e[n]));const n=this.__itemsIdxToInstIdx={};let r=0;const o=Math.min(t.length,this.__limit);for(;r<o;r++){let o=this.__instances[r],i=t[r],a=e[i];n[i]=r,o?(o._setPendingProperty(this.as,a),o._setPendingProperty(this.indexAs,r),o._setPendingProperty(this.itemsIndexAs,i),o._flushProperties()):this.__insertInstance(a,r,i)}for(let e=this.__instances.length-1;e>=r;e--)this.__detachAndRemoveInstance(e)}__detachInstance(e){let t=this.__instances[e];for(let e=0;e<t.children.length;e++){let n=t.children[e];t.root.appendChild(n)}return t}__attachInstance(e,t){let n=this.__instances[e];t.insertBefore(n.root,this)}__detachAndRemoveInstance(e){let t=this.__detachInstance(e);t&&this.__pool.push(t),this.__instances.splice(e,1)}__stampInstance(e,t,n){let r={};return r[this.as]=e,r[this.indexAs]=t,r[this.itemsIndexAs]=n,new this.__ctor(r)}__insertInstance(e,t,n){let r=this.__pool.pop();r?(r._setPendingProperty(this.as,e),r._setPendingProperty(this.indexAs,t),r._setPendingProperty(this.itemsIndexAs,n),r._flushProperties()):r=this.__stampInstance(e,t,n);let o=this.__instances[t+1],i=o?o.children[0]:this;return this.parentNode.insertBefore(r.root,i),this.__instances[t]=r,r}_showHideChildren(e){for(let t=0;t<this.__instances.length;t++)this.__instances[t]._showHideChildren(e)}__handleItemPath(e,t){let n=e.slice(6),r=n.indexOf("."),o=r<0?n:n.substring(0,r);if(o==parseInt(o,10)){let e=r<0?"":n.substring(r+1);this.__handleObservedPaths(e);let i=this.__itemsIdxToInstIdx[o],a=this.__instances[i];if(a){let n=this.as+(e?"."+e:"");a._setPendingPropertyOrPath(n,t,!1,!0),a._flushProperties()}return!0}}itemForElement(e){let t=this.modelForElement(e);return t&&t[this.as]}indexForElement(e){let t=this.modelForElement(e);return t&&t[this.indexAs]}modelForElement(e){return Object(o.modelForElement)(this.template,e)}}customElements.define(d.is,d)},"./node_modules/@polymer/polymer/lib/legacy/class.js":function(e,t,n){"use strict";n.r(t),n.d(t,"mixinBehaviors",(function(){return a})),n.d(t,"Class",(function(){return l}));var r=n("./node_modules/@polymer/polymer/lib/legacy/legacy-element-mixin.js"),o=n("./node_modules/@polymer/polymer/lib/elements/dom-module.js");let i={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0};function a(e,t){if(!e)return t=t;t=Object(r.LegacyElementMixin)(t),Array.isArray(e)||(e=[e]);let n=t.prototype.behaviors;return t=function e(t,n){for(let r=0;r<t.length;r++){let o=t[r];o&&(n=Array.isArray(o)?e(o,n):s(o,n))}return n}(e=function e(t,n,r){n=n||[];for(let o=t.length-1;o>=0;o--){let i=t[o];i?Array.isArray(i)?e(i,n):n.indexOf(i)<0&&(!r||r.indexOf(i)<0)&&n.unshift(i):console.warn("behavior is null, check for missing or 404 import")}return n}(e,null,n),t),n&&(e=n.concat(e)),t.prototype.behaviors=e,t}function s(e,t){class n extends t{static get properties(){return e.properties}static get observers(){return e.observers}static get template(){return e._template||o.DomModule&&o.DomModule.import(this.is,"template")||t.template||this.prototype._template||null}created(){super.created(),e.created&&e.created.call(this)}_registered(){super._registered(),e.beforeRegister&&e.beforeRegister.call(Object.getPrototypeOf(this)),e.registered&&e.registered.call(Object.getPrototypeOf(this))}_applyListeners(){if(super._applyListeners(),e.listeners)for(let t in e.listeners)this._addMethodEventListenerToNode(this,t,e.listeners[t])}_ensureAttributes(){if(e.hostAttributes)for(let t in e.hostAttributes)this._ensureAttribute(t,e.hostAttributes[t]);super._ensureAttributes()}ready(){super.ready(),e.ready&&e.ready.call(this)}attached(){super.attached(),e.attached&&e.attached.call(this)}detached(){super.detached(),e.detached&&e.detached.call(this)}attributeChanged(t,n,r){super.attributeChanged(t,n,r),e.attributeChanged&&e.attributeChanged.call(this,t,n,r)}}n.generatedFrom=e;for(let t in e)if(!(t in i)){let r=Object.getOwnPropertyDescriptor(e,t);r&&Object.defineProperty(n.prototype,t,r)}return n}const l=function(e){e||console.warn("Polymer's Class function requires `info` argument");let t=s(e,e.behaviors?a(e.behaviors,HTMLElement):Object(r.LegacyElementMixin)(HTMLElement));return t.is=e.is,t}},"./node_modules/@polymer/polymer/lib/legacy/legacy-element-mixin.js":function(e,t,n){"use strict";n.r(t),n.d(t,"LegacyElementMixin",(function(){return f}));n("./node_modules/@webcomponents/shadycss/entrypoints/apply-shim.js");var r=n("./node_modules/@polymer/polymer/lib/mixins/element-mixin.js"),o=n("./node_modules/@polymer/polymer/lib/mixins/gesture-event-listeners.js"),i=n("./node_modules/@polymer/polymer/lib/mixins/dir-mixin.js"),a=n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),s=(n("./node_modules/@polymer/polymer/lib/utils/render-status.js"),n("./node_modules/@polymer/polymer/lib/utils/unresolved.js"),n("./node_modules/@polymer/polymer/lib/legacy/polymer.dom.js")),l=n("./node_modules/@polymer/polymer/lib/utils/gestures.js"),c=n("./node_modules/@polymer/polymer/lib/utils/debounce.js"),u=n("./node_modules/@polymer/polymer/lib/utils/async.js"),d=n("./node_modules/@polymer/polymer/lib/utils/path.js");let p=window.ShadyCSS;const f=Object(a.dedupingMixin)(e=>{const t=Object(i.DirMixin)(Object(o.GestureEventListeners)(Object(r.ElementMixin)(e))),n={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class a extends t{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this._applyListeners()}static get importMeta(){return this.prototype.importMeta}created(){}connectedCallback(){super.connectedCallback(),this.isAttached=!0,this.attached()}attached(){}disconnectedCallback(){super.disconnectedCallback(),this.isAttached=!1,this.detached()}detached(){}attributeChangedCallback(e,t,n,r){t!==n&&(super.attributeChangedCallback(e,t,n,r),this.attributeChanged(e,t,n))}attributeChanged(e,t,n){}_initializeProperties(){let e=Object.getPrototypeOf(this);e.hasOwnProperty("__hasRegisterFinished")||(e.__hasRegisterFinished=!0,this._registered()),super._initializeProperties(),this.root=this,this.created()}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(e){return this._serializeValue(e)}deserialize(e,t){return this._deserializeValue(e,t)}reflectPropertyToAttribute(e,t,n){this._propertyToAttribute(e,t,n)}serializeValueToAttribute(e,t,n){this._valueToNodeAttribute(n||this,e,t)}extend(e,t){if(!e||!t)return e||t;let n=Object.getOwnPropertyNames(t);for(let r,o=0;o<n.length&&(r=n[o]);o++){let n=Object.getOwnPropertyDescriptor(t,r);n&&Object.defineProperty(e,r,n)}return e}mixin(e,t){for(let n in t)e[n]=t[n];return e}chainObject(e,t){return e&&t&&e!==t&&(e.__proto__=t),e}instanceTemplate(e){let t=this.constructor._contentForTemplate(e);return document.importNode(t,!0)}fire(e,t,n){n=n||{},t=null==t?{}:t;let r=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});return r.detail=t,(n.node||this).dispatchEvent(r),r}listen(e,t,n){e=e||this;let r=this.__boundListeners||(this.__boundListeners=new WeakMap),o=r.get(e);o||(o={},r.set(e,o));let i=t+n;o[i]||(o[i]=this._addMethodEventListenerToNode(e,t,n,this))}unlisten(e,t,n){e=e||this;let r=this.__boundListeners&&this.__boundListeners.get(e),o=t+n,i=r&&r[o];i&&(this._removeEventListenerFromNode(e,t,i),r[o]=null)}setScrollDirection(e,t){Object(l.setTouchAction)(t||this,n[e]||"auto")}$$(e){return this.root.querySelector(e)}get domHost(){let e=this.getRootNode();return e instanceof DocumentFragment?e.host:e}distributeContent(){window.ShadyDOM&&this.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return Object(s.dom)(this).getEffectiveChildNodes()}queryDistributedElements(e){return Object(s.dom)(this).queryDistributedElements(e)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}getEffectiveTextContent(){let e=this.getEffectiveChildNodes(),t=[];for(let n,r=0;n=e[r];r++)n.nodeType!==Node.COMMENT_NODE&&t.push(n.textContent);return t.join("")}queryEffectiveChildren(e){let t=this.queryDistributedElements(e);return t&&t[0]}queryAllEffectiveChildren(e){return this.queryDistributedElements(e)}getContentChildNodes(e){let t=this.root.querySelector(e||"slot");return t?Object(s.dom)(t).getDistributedNodes():[]}getContentChildren(e){return this.getContentChildNodes(e).filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}isLightDescendant(e){return this!==e&&this.contains(e)&&this.getRootNode()===e.getRootNode()}isLocalDescendant(e){return this.root===e.getRootNode()}scopeSubtree(e,t){}getComputedStyleValue(e){return p.getComputedStyleValue(this,e)}debounce(e,t,n){return this._debouncers=this._debouncers||{},this._debouncers[e]=c.Debouncer.debounce(this._debouncers[e],n>0?u.timeOut.after(n):u.microTask,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];return!(!t||!t.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.cancel()}async(e,t){return t>0?u.timeOut.run(e.bind(this),t):~u.microTask.run(e.bind(this))}cancelAsync(e){e<0?u.microTask.cancel(~e):u.timeOut.cancel(e)}create(e,t){let n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(let e in t)n[e]=t[e];return n}elementMatches(e,t){return Object(s.matchesSelector)(t||this,e)}toggleAttribute(e,t,n){n=n||this,1==arguments.length&&(t=!n.hasAttribute(e)),t?n.setAttribute(e,""):n.removeAttribute(e)}toggleClass(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?n.classList.add(e):n.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,n,r){r=r||this,this.transform("translate3d("+e+","+t+","+n+")",r)}arrayDelete(e,t){let n;if(Array.isArray(e)){if(n=e.indexOf(t),n>=0)return e.splice(n,1)}else{if(n=Object(d.get)(this,e).indexOf(t),n>=0)return this.splice(e,n,1)}return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return a.prototype.is="",a})},"./node_modules/@polymer/polymer/lib/legacy/mutable-data-behavior.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MutableDataBehavior",(function(){return i})),n.d(t,"OptionalMutableDataBehavior",(function(){return a}));var r=n("./node_modules/@polymer/polymer/lib/mixins/mutable-data.js");let o;o=r.MutableData._mutablePropertyChange;const i={_shouldPropertyChange(e,t,n){return o(this,e,t,n,!0)}},a={properties:{mutableData:Boolean},_shouldPropertyChange(e,t,n){return o(this,e,t,n,this.mutableData)}}},"./node_modules/@polymer/polymer/lib/legacy/polymer-fn.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Polymer",(function(){return o}));var r=n("./node_modules/@polymer/polymer/lib/legacy/class.js");n("./node_modules/@polymer/polymer/lib/utils/boot.js");const o=function(e){let t;return t="function"==typeof e?e:o.Class(e),customElements.define(t.is,t),t};o.Class=r.Class},"./node_modules/@polymer/polymer/lib/legacy/polymer.dom.js":function(e,t,n){"use strict";n.r(t),n.d(t,"matchesSelector",(function(){return s})),n.d(t,"DomApi",(function(){return l})),n.d(t,"dom",(function(){return u}));n("./node_modules/@polymer/polymer/lib/utils/boot.js"),n("./node_modules/@polymer/polymer/lib/utils/settings.js");var r=n("./node_modules/@polymer/polymer/lib/utils/flattened-nodes-observer.js"),o=n("./node_modules/@polymer/polymer/lib/utils/flush.js");n.d(t,"flush",(function(){return o.flush})),n.d(t,"addDebouncer",(function(){return o.enqueueDebouncer}));const i=Element.prototype,a=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector,s=function(e,t){return a.call(e,t)};class l{constructor(e){this.node=e}observeNodes(e){return new r.FlattenedNodesObserver(this.node,e)}unobserveNodes(e){e.disconnect()}notifyObserver(){}deepContains(e){if(this.node.contains(e))return!0;let t=e,n=e.ownerDocument;for(;t&&t!==n&&t!==this.node;)t=t.parentNode||t.host;return t===this.node}getOwnerRoot(){return this.node.getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?this.node.assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let e=[],t=this.node.assignedSlot;for(;t;)e.push(t),t=t.assignedSlot;return e}importNode(e,t){return(this.node instanceof Document?this.node:this.node.ownerDocument).importNode(e,t)}getEffectiveChildNodes(){return r.FlattenedNodesObserver.getFlattenedNodes(this.node)}queryDistributedElements(e){let t=this.getEffectiveChildNodes(),n=[];for(let r,o=0,i=t.length;o<i&&(r=t[o]);o++)r.nodeType===Node.ELEMENT_NODE&&s(r,e)&&n.push(r);return n}get activeElement(){let e=this.node;return void 0!==e._activeElement?e._activeElement:e.activeElement}}class c{constructor(e){this.event=e}get rootTarget(){return this.event.composedPath()[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}l.prototype.cloneNode,l.prototype.appendChild,l.prototype.insertBefore,l.prototype.removeChild,l.prototype.replaceChild,l.prototype.setAttribute,l.prototype.removeAttribute,l.prototype.querySelector,l.prototype.querySelectorAll,l.prototype.parentNode,l.prototype.firstChild,l.prototype.lastChild,l.prototype.nextSibling,l.prototype.previousSibling,l.prototype.firstElementChild,l.prototype.lastElementChild,l.prototype.nextElementSibling,l.prototype.previousElementSibling,l.prototype.childNodes,l.prototype.children,l.prototype.classList,l.prototype.textContent,l.prototype.innerHTML,function(e,t){for(let n=0;n<t.length;n++){let r=t[n];e[r]=function(){return this.node[r].apply(this.node,arguments)}}}(l.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll"]),function(e,t){for(let n=0;n<t.length;n++){let r=t[n];Object.defineProperty(e,r,{get:function(){return this.node[r]},configurable:!0})}}(l.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList"]),function(e,t){for(let n=0;n<t.length;n++){let r=t[n];Object.defineProperty(e,r,{get:function(){return this.node[r]},set:function(e){this.node[r]=e},configurable:!0})}}(l.prototype,["textContent","innerHTML"]);const u=function(e){if(!(e=e||document).__domApi){let t;t=e instanceof Event?new c(e):new l(e),e.__domApi=t}return e.__domApi}},"./node_modules/@polymer/polymer/lib/legacy/templatizer-behavior.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Templatizer",(function(){return o}));var r=n("./node_modules/@polymer/polymer/lib/utils/templatize.js");const o={templatize(e,t){this._templatizerTemplate=e,this.ctor=Object(r.templatize)(e,this,{mutableData:Boolean(t),parentModel:this._parentModel,instanceProps:this._instanceProps,forwardHostProp:this._forwardHostPropV2,notifyInstanceProp:this._notifyInstancePropV2})},stamp(e){return new this.ctor(e)},modelForElement(e){return Object(r.modelForElement)(this._templatizerTemplate,e)}}},"./node_modules/@polymer/polymer/lib/mixins/dir-mixin.js":function(e,t,n){"use strict";n.r(t),n.d(t,"DirMixin",(function(){return f}));var r=n("./node_modules/@polymer/polymer/lib/mixins/property-accessors.js"),o=n("./node_modules/@polymer/polymer/lib/utils/mixin.js");const i=/:host\(:dir\((ltr|rtl)\)\)/g,a=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,s=[];let l=null,c="";function u(){c=document.documentElement.getAttribute("dir")}function d(e){if(!e.__autoDirOptOut){e.setAttribute("dir",c)}}function p(){u(),c=document.documentElement.getAttribute("dir");for(let e=0;e<s.length;e++)d(s[e])}const f=Object(o.dedupingMixin)(e=>{l||(u(),l=new MutationObserver(p),l.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const t=Object(r.PropertyAccessors)(e);class n extends t{static _processStyleText(e,t){return e=super._processStyleText(e,t),e=this._replaceDirInCssText(e)}static _replaceDirInCssText(e){let t=e;return t=t.replace(i,':host([dir="$1"])'),t=t.replace(a,':host([dir="$2"]) $1'),e!==t&&(this.__activateDir=!0),t}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){t.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(l&&l.takeRecords().length&&p(),s.push(this),d(this))}disconnectedCallback(){if(t.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const e=s.indexOf(this);e>-1&&s.splice(e,1)}}}return n.__activateDir=!1,n})},"./node_modules/@polymer/polymer/lib/mixins/element-mixin.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ElementMixin",(function(){return u})),n.d(t,"instanceCount",(function(){return d})),n.d(t,"registrations",(function(){return p})),n.d(t,"register",(function(){return h})),n.d(t,"dumpRegistrations",(function(){return m})),n.d(t,"updateStyles",(function(){return g}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/settings.js"),o=n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),i=n("./node_modules/@polymer/polymer/lib/utils/style-gather.js"),a=n("./node_modules/@polymer/polymer/lib/utils/resolve-url.js"),s=n("./node_modules/@polymer/polymer/lib/elements/dom-module.js"),l=n("./node_modules/@polymer/polymer/lib/mixins/property-effects.js"),c=n("./node_modules/@polymer/polymer/lib/mixins/properties-mixin.js");const u=Object(o.dedupingMixin)(e=>{const t=Object(c.PropertiesMixin)(Object(l.PropertyEffects)(e));return class extends t{static _finalizeClass(){super._finalizeClass(),this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&this.is&&h(this.prototype);const e=((t=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",t))||(t.__ownObservers=t.hasOwnProperty(JSCompiler_renameProperty("observers",t))?t.observers:null),t.__ownObservers);var t;e&&this.createObservers(e,this._properties);let n=this.template;n&&("string"==typeof n?(console.error("template getter must return HTMLTemplateElement"),n=null):n=n.cloneNode(!0)),this.prototype._template=n}static createProperties(e){for(let i in e)t=this.prototype,n=i,r=e[i],o=e,r.computed&&(r.readOnly=!0),r.computed&&!t._hasReadOnlyEffect(n)&&t._createComputedProperty(n,r.computed,o),r.readOnly&&!t._hasReadOnlyEffect(n)&&t._createReadOnlyProperty(n,!r.computed),r.reflectToAttribute&&!t._hasReflectEffect(n)&&t._createReflectedProperty(n),r.notify&&!t._hasNotifyEffect(n)&&t._createNotifyingProperty(n),r.observer&&t._createPropertyObserver(n,r.observer,o[r.observer]),t._addPropertyToAttributeMap(n);var t,n,r,o}static createObservers(e,t){const n=this.prototype;for(let r=0;r<e.length;r++)n._createMethodObserver(e[r],t)}static get template(){return this.hasOwnProperty(JSCompiler_renameProperty("_template",this))||(this._template=s.DomModule&&s.DomModule.import(this.is,"template")||Object.getPrototypeOf(this.prototype).constructor.template),this._template}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const e=this.importMeta;if(e)this._importPath=Object(a.pathFromUrl)(e.url);else{const e=s.DomModule&&s.DomModule.import(this.is);this._importPath=e&&e.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){d++,this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=r.rootPath,this.importPath=this.constructor.importPath;let e=function(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",e))){e.__propertyDefaults=null;let t=e._properties;for(let n in t){let r=t[n];"value"in r&&(e.__propertyDefaults=e.__propertyDefaults||{},e.__propertyDefaults[n]=r)}}return e.__propertyDefaults}(this.constructor);if(e)for(let t in e){let n=e[t];if(!this.hasOwnProperty(t)){let e="function"==typeof n.value?n.value.call(this):n.value;this._hasAccessor(t)?this._setPendingProperty(t,e,!0):this[t]=e}}}static _processStyleText(e,t){return Object(a.resolveCss)(e,t)}static _finalizeTemplate(e){const t=this.prototype._template;if(t&&!t.__polymerFinalized){t.__polymerFinalized=!0;const n=this.importPath;!function(e,t,n,r){const o=t.content.querySelectorAll("style"),a=Object(i.stylesFromTemplate)(t),s=Object(i.stylesFromModuleImports)(n),l=t.content.firstElementChild;for(let n=0;n<s.length;n++){let o=s[n];o.textContent=e._processStyleText(o.textContent,r),t.content.insertBefore(o,l)}let c=0;for(let t=0;t<a.length;t++){let n=a[t],i=o[c];i!==n?(n=n.cloneNode(!0),i.parentNode.insertBefore(n,i)):c++,n.textContent=e._processStyleText(n.textContent,r)}window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,n)}(this,t,e,n?Object(a.resolveUrl)(n):""),this.prototype._bindTemplate(t)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(e){if(this.attachShadow)return e?(this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(e),this.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(e){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,e)}resolveUrl(e,t){return!t&&this.importPath&&(t=Object(a.resolveUrl)(this.importPath)),Object(a.resolveUrl)(e,t)}static _parseTemplateContent(e,t,n){return t.dynamicFns=t.dynamicFns||this._properties,super._parseTemplateContent(e,t,n)}}});let d=0;const p=[];function f(e){console.log("["+e.is+"]: registered")}function h(e){p.push(e)}function m(){p.forEach(f)}const g=function(e){window.ShadyCSS&&window.ShadyCSS.styleDocument(e)}},"./node_modules/@polymer/polymer/lib/mixins/gesture-event-listeners.js":function(e,t,n){"use strict";n.r(t),n.d(t,"GestureEventListeners",(function(){return i}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js");const o=n("./node_modules/@polymer/polymer/lib/utils/gestures.js"),i=Object(r.dedupingMixin)(e=>class extends e{_addEventListenerToNode(e,t,n){o.addListener(e,t,n)||super._addEventListenerToNode(e,t,n)}_removeEventListenerFromNode(e,t,n){o.removeListener(e,t,n)||super._removeEventListenerFromNode(e,t,n)}})},"./node_modules/@polymer/polymer/lib/mixins/mutable-data.js":function(e,t,n){"use strict";n.r(t),n.d(t,"MutableData",(function(){return i})),n.d(t,"OptionalMutableData",(function(){return a}));var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js");function o(e,t,n,r,o){let i;o&&(i="object"==typeof n&&null!==n,i&&(r=e.__dataTemp[t]));let a=r!==n&&(r==r||n==n);return i&&a&&(e.__dataTemp[t]=n),a}const i=Object(r.dedupingMixin)(e=>class extends e{_shouldPropertyChange(e,t,n){return o(this,e,t,n,!0)}}),a=Object(r.dedupingMixin)(e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,n){return o(this,e,t,n,this.mutableData)}});i._mutablePropertyChange=o},"./node_modules/@polymer/polymer/lib/mixins/properties-changed.js":function(e,t,n){"use strict";n.r(t),n.d(t,"PropertiesChanged",(function(){return i}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js");const o=n("./node_modules/@polymer/polymer/lib/utils/async.js").microTask,i=Object(r.dedupingMixin)(e=>class extends e{static createProperties(e){const t=this.prototype;for(let n in e)n in t||t._createPropertyAccessor(n)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty("__dataHasAccessor")||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){if(this.hasOwnProperty("__dataAttributes")||(this.__dataAttributes=Object.assign({},this.__dataAttributes)),!this.__dataAttributes[e]){const t=this.constructor.attributeNameForProperty(e);this.__dataAttributes[t]=e}}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this._getProperty(e)},set:t?function(){}:function(t){this._setProperty(e,t)}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,n){let r=this.__data[e],o=this._shouldPropertyChange(e,t,r);return o&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),o}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,o.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){const e=this.__data,t=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(e,t,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,n))}_shouldPropertiesChange(e,t,n){return Boolean(t)}_propertiesChanged(e,t,n){}_shouldPropertyChange(e,t,n){return n!==t&&(n==n||t==t)}attributeChangedCallback(e,t,n,r){t!==n&&this._attributeToProperty(e,n),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,n,r)}_attributeToProperty(e,t,n){if(!this.__serializing){const r=this.__dataAttributes,o=r&&r[e]||e;this[o]=this._deserializeValue(t,n||this.constructor.typeForProperty(o))}}_propertyToAttribute(e,t,n){this.__serializing=!0,n=arguments.length<3?this[e]:n,this._valueToNodeAttribute(this,n,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,n){const r=this._serializeValue(t);void 0===r?e.removeAttribute(n):e.setAttribute(n,r)}_serializeValue(e){switch(typeof e){case"boolean":return e?"":void 0;default:return null!=e?e.toString():void 0}}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}})},"./node_modules/@polymer/polymer/lib/mixins/properties-mixin.js":function(e,t,n){"use strict";n.r(t),n.d(t,"PropertiesMixin",(function(){return i}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),o=n("./node_modules/@polymer/polymer/lib/mixins/properties-changed.js");const i=Object(r.dedupingMixin)(e=>{const t=Object(o.PropertiesChanged)(e);function n(e){const t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function r(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){let t=null;e.hasOwnProperty(JSCompiler_renameProperty("properties",e))&&e.properties&&(t=function(e){const t={};for(let n in e){const r=e[n];t[n]="function"==typeof r?{type:r}:r}return t}(e.properties)),e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){const e=this._properties;return e?Object.keys(e).map(e=>this.attributeNameForProperty(e)):[]}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const e=n(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const e=r(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const e=n(this);this.__properties=Object.assign({},e&&e._properties,r(this))}return this.__properties}static typeForProperty(e){const t=this._properties[e];return t&&t.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i})},"./node_modules/@polymer/polymer/lib/mixins/property-accessors.js":function(e,t,n){"use strict";n.r(t),n.d(t,"PropertyAccessors",(function(){return c}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),o=n("./node_modules/@polymer/polymer/lib/utils/case-map.js"),i=n("./node_modules/@polymer/polymer/lib/mixins/properties-changed.js");let a=o;const s={};let l=HTMLElement.prototype;for(;l;){let e=Object.getOwnPropertyNames(l);for(let t=0;t<e.length;t++)s[e[t]]=!0;l=Object.getPrototypeOf(l)}const c=Object(r.dedupingMixin)(e=>{const t=Object(i.PropertiesChanged)(e);return class extends t{static createPropertiesForAttributes(){let e=this.observedAttributes;for(let t=0;t<e.length;t++)this.prototype._createPropertyAccessor(a.dashToCamelCase(e[t]))}static attributeNameForProperty(e){return a.camelToDashCase(e)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(e){for(let t in e)this._setProperty(t,e[t])}_ensureAttribute(e,t){const n=this;n.hasAttribute(e)||this._valueToNodeAttribute(n,t,e)}_serializeValue(e){switch(typeof e){case"object":if(e instanceof Date)return e.toString();if(e)try{return JSON.stringify(e)}catch(e){return""}default:return super._serializeValue(e)}}_deserializeValue(e,t){let n;switch(t){case Object:try{n=JSON.parse(e)}catch(t){n=e}break;case Array:try{n=JSON.parse(e)}catch(t){n=null,console.warn("Polymer::Attributes: couldn't decode Array as JSON: "+e)}break;case Date:n=isNaN(e)?String(e):Number(e),n=new Date(n);break;default:n=super._deserializeValue(e,t)}return n}_definePropertyAccessor(e,t){!function(e,t){if(!s[t]){let n=e[t];void 0!==n&&(e.__data?e._setPendingProperty(t,n):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=n))}}(this,e),super._definePropertyAccessor(e,t)}_hasAccessor(e){return this.__dataHasAccessor&&this.__dataHasAccessor[e]}_isPropertyPending(e){return Boolean(this.__dataPending&&e in this.__dataPending)}}})},"./node_modules/@polymer/polymer/lib/mixins/property-effects.js":function(e,t,n){"use strict";n.r(t),n.d(t,"PropertyEffects",(function(){return B}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),o=n("./node_modules/@polymer/polymer/lib/utils/path.js"),i=n("./node_modules/@polymer/polymer/lib/utils/case-map.js"),a=n("./node_modules/@polymer/polymer/lib/mixins/property-accessors.js"),s=n("./node_modules/@polymer/polymer/lib/mixins/template-stamp.js"),l=n("./node_modules/@polymer/polymer/lib/utils/settings.js");const c=i;let u=0;const d={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},p=/[A-Z]/;let f;function h(e,t){let n=e[t];if(n){if(!e.hasOwnProperty(t)){n=e[t]=Object.create(e[t]);for(let e in n){let t=n[e],r=n[e]=Array(t.length);for(let e=0;e<t.length;e++)r[e]=t[e]}}}else n=e[t]={};return n}function m(e,t,n,r,o,i){if(t){let a=!1,s=u++;for(let l in n)g(e,t,s,l,n,r,o,i)&&(a=!0);return a}return!1}function g(e,t,n,r,i,a,s,l){let c=!1,u=t[s?Object(o.root)(r):r];if(u)for(let t,o=0,d=u.length;o<d&&(t=u[o]);o++)t.info&&t.info.lastRun===n||s&&!y(r,t.trigger)||(t.info&&(t.info.lastRun=n),t.fn(e,r,i,a,t.info,s,l),c=!0);return c}function y(e,t){if(t){let n=t.name;return n==e||t.structured&&Object(o.isAncestor)(n,e)||t.wildcard&&Object(o.isDescendant)(n,e)}return!0}function v(e,t,n,r,o){let i="string"==typeof o.method?e[o.method]:o.method,a=o.property;i?i.call(e,e.__data[a],r[a]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function b(e,t,n){let r=Object(o.root)(t);if(r!==t){return _(e,Object(i.camelToDashCase)(r)+"-changed",n[t],t),!0}return!1}function _(e,t,n,r){let o={value:n,queueProperty:!0};r&&(o.path=r),e.dispatchEvent(new CustomEvent(t,{detail:o}))}function w(e,t,n,r,i,a){let s=(a?Object(o.root)(t):t)!=t?t:null,l=s?Object(o.get)(e,s):e.__data[t];s&&void 0===l&&(l=n[t]),_(e,i.eventName,l,s)}function C(e,t,n,r,o){let i=e.__data[t];l.sanitizeDOMValue&&(i=Object(l.sanitizeDOMValue)(i,o.attrName,"attribute",e)),e._propertyToAttribute(t,o.attrName,i)}function S(e,t,n,r,o){let i=P(e,t,n,r,o),a=o.methodInfo;e.__dataHasAccessor&&e.__dataHasAccessor[a]?e._setPendingProperty(a,i,!0):e[a]=i}function E(e,t,n,r,o,i,a){n.bindings=n.bindings||[];let s={kind:r,target:o,parts:i,literal:a,isCompound:1!==i.length};if(n.bindings.push(s),function(e){return Boolean(e.target)&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode}(s)){let{event:e,negate:t}=s.parts[0];s.listenerEvent=e||c.camelToDashCase(o)+"-changed",s.listenerNegate=t}let l=t.nodeInfoList.length;for(let n=0;n<s.parts.length;n++){let r=s.parts[n];r.compoundIndex=n,x(e,t,s,r,l)}}function x(e,t,n,r,o){if(!r.literal)if("attribute"===n.kind&&"-"===n.target[0])console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let i=r.dependencies,a={index:o,binding:n,part:r,evaluator:e};for(let n=0;n<i.length;n++){let r=i[n];"string"==typeof r&&(r=D(r),r.wildcard=!0),e._addTemplatePropertyEffect(t,r.rootProperty,{fn:k,info:a,trigger:r})}}}function k(e,t,n,r,i,a,s){let c=s[i.index],u=i.binding,p=i.part;if(a&&p.source&&t.length>p.source.length&&"property"==u.kind&&!u.isCompound&&c.__isPropertyEffectsClient&&c.__dataHasAccessor&&c.__dataHasAccessor[u.target]){let r=n[t];t=Object(o.translate)(p.source,u.target,t),c._setPendingPropertyOrPath(t,r,!1,!0)&&e._enqueueClient(c)}else{!function(e,t,n,r,o){o=function(e,t,n,r){if(n.isCompound){let o=e.__dataCompoundStorage[n.target];o[r.compoundIndex]=t,t=o.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t));return t}(t,o,n,r),l.sanitizeDOMValue&&(o=Object(l.sanitizeDOMValue)(o,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,o,n.target);else{let r=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?t[d.READ_ONLY]&&t[d.READ_ONLY][r]||t._setPendingProperty(r,o)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,r,o)}}(e,c,u,p,i.evaluator._evaluateBinding(e,p,t,n,r,a))}}function O(e,t){if(t.isCompound){let n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,o=new Array(r.length);for(let e=0;e<r.length;e++)o[e]=r[e].literal;let i=t.target;n[i]=o,t.literal&&"property"==t.kind&&(e[i]=t.literal)}}function T(e,t,n){if(n.listenerEvent){let r=n.parts[0];e.addEventListener(n.listenerEvent,(function(e){!function(e,t,n,r,i){let a,s=e.detail,l=s&&s.path;l?(r=Object(o.translate)(n,r,l),a=s&&s.value):a=e.target[n],a=i?!a:a,t[d.READ_ONLY]&&t[d.READ_ONLY][r]||!t._setPendingPropertyOrPath(r,a,!0,Boolean(l))||s&&s.queueProperty||t._invalidateProperties()}(e,t,n.target,r.source,r.negate)}))}}function A(e,t,n,r,o,i){i=t.static||i&&("object"!=typeof i||i[t.methodName]);let a={methodName:t.methodName,args:t.args,methodInfo:o,dynamicFn:i};for(let o,i=0;i<t.args.length&&(o=t.args[i]);i++)o.literal||e._addPropertyEffect(o.rootProperty,n,{fn:r,info:a,trigger:o});i&&e._addPropertyEffect(t.methodName,n,{fn:r,info:a})}function P(e,t,n,r,i){let a=e._methodHost||e,s=a[i.methodName];if(s){let r=function(e,t,n,r){let i=[];for(let a=0,s=t.length;a<s;a++){let s,l=t[a],c=l.name;if(l.literal?s=l.value:l.structured?(s=Object(o.get)(e,c),void 0===s&&(s=r[c])):s=e[c],l.wildcard){let e=0===c.indexOf(n+"."),t=0===n.indexOf(c)&&!e;i[a]={path:t?n:c,value:t?r[n]:s,base:s}}else i[a]=s}return i}(e.__data,i.args,t,n);return s.apply(a,r)}i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const R=[],I=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?((?:[a-zA-Z_$][\\w.:$\\-*]*)\\s*(?:\\(\\s*(?:(?:(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)(?:,\\s*(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*))*)?)\\)\\s*)?)(?:]]|}})","g");function M(e){let t="";for(let n=0;n<e.length;n++){t+=e[n].literal||""}return t}function N(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let e={methodName:t[1],static:!0,args:R};if(t[2].trim()){return function(e,t){return t.args=e.map((function(e){let n=D(e);return n.literal||(t.static=!1),n}),this),t}(t[2].replace(/\\,/g,"&comma;").split(","),e)}return e}return null}function D(e){let t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name:t,value:"",literal:!1},r=t[0];switch("-"===r&&(r=t[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=Object(o.root)(t),n.structured=Object(o.isPath)(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function j(e,t,n,r){let o=n+".splices";e.notifyPath(o,{indexSplices:r}),e.notifyPath(n+".length",t.length),e.__data[o]={indexSplices:null}}function L(e,t,n,r,o,i){j(e,t,n,[{index:r,addedCount:o,removed:i,object:t,type:"splice"}])}const B=Object(r.dedupingMixin)(e=>{const t=Object(s.TemplateStamp)(Object(a.PropertyAccessors)(e));class n extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataCounter=0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo}get PROPERTY_EFFECT_TYPES(){return d}_initializeProperties(){super._initializeProperties(),F.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){let t=this[d.READ_ONLY];for(let n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}_addPropertyEffect(e,t,n){this._createPropertyAccessor(e,t==d.READ_ONLY);let r=h(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}_removePropertyEffect(e,t,n){let r=h(this,t)[e],o=r.indexOf(n);o>=0&&r.splice(o,1)}_hasPropertyEffect(e,t){let n=this[t];return Boolean(n&&n[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,d.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,d.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,d.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,d.COMPUTE)}_setPendingPropertyOrPath(e,t,n,r){if(r||Object(o.root)(Array.isArray(e)?e[0]:e)!==e){if(!r){let n=Object(o.get)(this,e);if(!(e=Object(o.set)(this,e,t))||!super._shouldPropertyChange(e,t,n))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,n))return function(e,t,n){let r=e.__dataLinkedPaths;if(r){let i;for(let a in r){let s=r[a];Object(o.isDescendant)(a,t)?(i=Object(o.translate)(a,s,t),e._setPendingPropertyOrPath(i,n,!0,!0)):Object(o.isDescendant)(s,t)&&(i=Object(o.translate)(s,a,t),e._setPendingPropertyOrPath(i,n,!0,!0))}}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,n);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,n){n===e[t]&&"object"!=typeof n||(e[t]=n)}_setPendingProperty(e,t,n){let r=this.__dataHasPaths&&Object(o.isPath)(e),i=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[d.NOTIFY]&&this[d.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushProperties(){this.__dataCounter++,super._flushProperties(),this.__dataCounter--}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(let t=0;t<e.length;t++){let n=e[t];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(e,t){for(let n in e)!t&&this[d.READ_ONLY]&&this[d.READ_ONLY][n]||this._setPendingPropertyOrPath(n,e[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(e,t,n){let r=this.__dataHasPaths;this.__dataHasPaths=!1,function(e,t,n,r){let o=e[d.COMPUTE];if(o){let i=t;for(;m(e,o,i,n,r);)Object.assign(n,e.__dataOld),Object.assign(t,e.__dataPending),i=e.__dataPending,e.__dataPending=null}}(this,t,n,r);let o=this.__dataToNotify;this.__dataToNotify=null,this._propagatePropertyChanges(t,n,r),this._flushClients(),m(this,this[d.REFLECT],t,n,r),m(this,this[d.OBSERVE],t,n,r),o&&function(e,t,n,r,o){let i,a,s=e[d.NOTIFY],l=u++;for(let a in t)t[a]&&(s&&g(e,s,l,a,n,r,o)||o&&b(e,a,n))&&(i=!0);i&&(a=e.__dataHost)&&a._invalidateProperties&&a._invalidateProperties()}(this,o,t,n,r),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(e,t,n){this[d.PROPAGATE]&&m(this,this[d.PROPAGATE],e,t,n);let r=this.__templateInfo;for(;r;)m(this,r.propertyEffects,e,t,n,r.nodeList),r=r.nextTemplateInfo}linkPaths(e,t){e=Object(o.normalize)(e),t=Object(o.normalize)(t),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[e]=t}unlinkPaths(e){e=Object(o.normalize)(e),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[e]}notifySplices(e,t){let n={path:""};j(this,Object(o.get)(this,e,n),n.path,t)}get(e,t){return Object(o.get)(t||this,e)}set(e,t,n){n?Object(o.set)(n,e,t):this[d.READ_ONLY]&&this[d.READ_ONLY][e]||this._setPendingPropertyOrPath(e,t,!0)&&this._invalidateProperties()}push(e,...t){let n={path:""},r=Object(o.get)(this,e,n),i=r.length,a=r.push(...t);return t.length&&L(this,r,n.path,i,t.length,[]),a}pop(e){let t={path:""},n=Object(o.get)(this,e,t),r=Boolean(n.length),i=n.pop();return r&&L(this,n,t.path,n.length,0,[i]),i}splice(e,t,n,...r){let i,a={path:""},s=Object(o.get)(this,e,a);return t<0?t=s.length-Math.floor(-t):t&&(t=Math.floor(t)),i=2===arguments.length?s.splice(t):s.splice(t,n,...r),(r.length||i.length)&&L(this,s,a.path,t,r.length,i),i}shift(e){let t={path:""},n=Object(o.get)(this,e,t),r=Boolean(n.length),i=n.shift();return r&&L(this,n,t.path,0,0,[i]),i}unshift(e,...t){let n={path:""},r=Object(o.get)(this,e,n),i=r.unshift(...t);return t.length&&L(this,r,n.path,0,t.length,[]),i}notifyPath(e,t){let n;if(1==arguments.length){let r={path:""};t=Object(o.get)(this,e,r),n=r.path}else n=Array.isArray(e)?Object(o.normalize)(e):e;this._setPendingPropertyOrPath(n,t,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(e,t){var n;this._addPropertyEffect(e,d.READ_ONLY),t&&(this["_set"+(n=e,n[0].toUpperCase()+n.substring(1))]=function(t){this._setProperty(e,t)})}_createPropertyObserver(e,t,n){let r={property:e,method:t,dynamicFn:Boolean(n)};this._addPropertyEffect(e,d.OBSERVE,{fn:v,info:r,trigger:{name:e}}),n&&this._addPropertyEffect(t,d.OBSERVE,{fn:v,info:r,trigger:{name:t}})}_createMethodObserver(e,t){let n=N(e);if(!n)throw new Error("Malformed observer expression '"+e+"'");A(this,n,d.OBSERVE,P,null,t)}_createNotifyingProperty(e){this._addPropertyEffect(e,d.NOTIFY,{fn:w,info:{eventName:c.camelToDashCase(e)+"-changed",property:e}})}_createReflectedProperty(e){let t=this.constructor.attributeNameForProperty(e);"-"===t[0]?console.warn("Property "+e+" cannot be reflected to attribute "+t+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(e,d.REFLECT,{fn:C,info:{attrName:t}})}_createComputedProperty(e,t,n){let r=N(t);if(!r)throw new Error("Malformed computed expression '"+t+"'");A(this,r,d.COMPUTE,S,e,n)}static addPropertyEffect(e,t,n){this.prototype._addPropertyEffect(e,t,n)}static createPropertyObserver(e,t,n){this.prototype._createPropertyObserver(e,t,n)}static createMethodObserver(e,t){this.prototype._createMethodObserver(e,t)}static createNotifyingProperty(e){this.prototype._createNotifyingProperty(e)}static createReadOnlyProperty(e,t){this.prototype._createReadOnlyProperty(e,t)}static createReflectedProperty(e){this.prototype._createReflectedProperty(e)}static createComputedProperty(e,t,n){this.prototype._createComputedProperty(e,t,n)}static bindTemplate(e){return this.prototype._bindTemplate(e)}_bindTemplate(e,t){let n=this.constructor._parseTemplate(e),r=this.__templateInfo==n;if(!r)for(let e in n.propertyEffects)this._createPropertyAccessor(e);if(t&&(n=Object.create(n),n.wasPreBound=r,!r&&this.__templateInfo)){let e=this.__templateInfoLast||this.__templateInfo;return this.__templateInfoLast=e.nextTemplateInfo=n,n.previousTemplateInfo=e,n}return this.__templateInfo=n}static _addTemplatePropertyEffect(e,t,n){(e.hostProps=e.hostProps||{})[t]=!0;let r=e.propertyEffects=e.propertyEffects||{};(r[t]=r[t]||[]).push(n)}_stampTemplate(e){F.beginHosting(this);let t=super._stampTemplate(e);F.endHosting(this);let n=this._bindTemplate(e,!0);if(n.nodeList=t.nodeList,!n.wasPreBound){let e=n.childNodes=[];for(let n=t.firstChild;n;n=n.nextSibling)e.push(n)}return t.templateInfo=n,function(e,t){let{nodeList:n,nodeInfoList:r}=t;if(r.length)for(let t=0;t<r.length;t++){let o=r[t],i=n[t],a=o.bindings;if(a)for(let t=0;t<a.length;t++){let n=a[t];O(i,n),T(i,e,n)}i.__dataHost=e}}(this,n),this.__dataReady&&m(this,n.propertyEffects,this.__data,null,!1,n.nodeList),t}_removeBoundDom(e){let t=e.templateInfo;t.previousTemplateInfo&&(t.previousTemplateInfo.nextTemplateInfo=t.nextTemplateInfo),t.nextTemplateInfo&&(t.nextTemplateInfo.previousTemplateInfo=t.previousTemplateInfo),this.__templateInfoLast==t&&(this.__templateInfoLast=t.previousTemplateInfo),t.previousTemplateInfo=t.nextTemplateInfo=null;let n=t.childNodes;for(let e=0;e<n.length;e++){let t=n[e];t.parentNode.removeChild(t)}}static _parseTemplateNode(e,t,n){let r=super._parseTemplateNode(e,t,n);if(e.nodeType===Node.TEXT_NODE){let o=this._parseBindings(e.textContent,t);o&&(e.textContent=M(o)||" ",E(this,t,n,"text","textContent",o),r=!0)}return r}static _parseTemplateNodeAttribute(e,t,n,r,o){let a=this._parseBindings(o,t);if(a){let o=r,s="property";p.test(r)?s="attribute":"$"==r[r.length-1]&&(r=r.slice(0,-1),s="attribute");let l=M(a);return l&&"attribute"==s&&e.setAttribute(r,l),"input"===e.localName&&"value"===o&&e.setAttribute(o,""),e.removeAttribute(o),"property"===s&&(r=Object(i.dashToCamelCase)(r)),E(this,t,n,s,r,a,l),!0}return super._parseTemplateNodeAttribute(e,t,n,r,o)}static _parseTemplateNestedTemplate(e,t,n){let r=super._parseTemplateNestedTemplate(e,t,n),o=n.templateInfo.hostProps;for(let e in o){E(this,t,n,"property","_host_"+e,[{mode:"{",source:e,dependencies:[e]}])}return r}static _parseBindings(e,t){let n,r=[],o=0;for(;null!==(n=I.exec(e));){n.index>o&&r.push({literal:e.slice(o,n.index)});let i=n[1][0],a=Boolean(n[2]),s=n[3].trim(),l=!1,c="",u=-1;"{"==i&&(u=s.indexOf("::"))>0&&(c=s.substring(u+2),s=s.substring(0,u),l=!0);let d=N(s),p=[];if(d){let{args:e,methodName:n}=d;for(let t=0;t<e.length;t++){let n=e[t];n.literal||p.push(n)}let r=t.dynamicFns;(r&&r[n]||d.static)&&(p.push(n),d.dynamicFn=!0)}else p.push(s);r.push({source:s,mode:i,negate:a,customEvent:l,signature:d,dependencies:p,event:c}),o=I.lastIndex}if(o&&o<e.length){let t=e.substring(o);t&&r.push({literal:t})}return r.length?r:null}static _evaluateBinding(e,t,n,r,i,a){let s;return s=t.signature?P(e,n,r,0,t.signature):n!=t.source?Object(o.get)(e,t.source):a&&Object(o.isPath)(n)?Object(o.get)(e,n):e.__data[n],t.negate&&(s=!s),s}}return f=n,n});const F=new class{constructor(){this.stack=[]}registerHost(e){if(this.stack.length){this.stack[this.stack.length-1]._enqueueClient(e)}}beginHosting(e){this.stack.push(e)}endHosting(e){let t=this.stack.length;t&&this.stack[t-1]==e&&this.stack.pop()}}},"./node_modules/@polymer/polymer/lib/mixins/template-stamp.js":function(e,t,n){"use strict";n.r(t),n.d(t,"TemplateStamp",(function(){return u}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/mixin.js");const o={"dom-if":!0,"dom-repeat":!0};function i(e){let t=e.getAttribute("is");if(t&&o[t]){let n=e;for(n.removeAttribute("is"),e=n.ownerDocument.createElement(t),n.parentNode.replaceChild(e,n),e.appendChild(n);n.attributes.length;)e.setAttribute(n.attributes[0].name,n.attributes[0].value),n.removeAttribute(n.attributes[0].name)}return e}function a(e,t){let n=t.parentInfo&&a(e,t.parentInfo);if(!n)return e;for(let e=n.firstChild,r=0;e;e=e.nextSibling)if(t.parentIndex===r++)return e}function s(e,t,n,r){r.id&&(t[r.id]=n)}function l(e,t,n){if(n.events&&n.events.length)for(let r,o=0,i=n.events;o<i.length&&(r=i[o]);o++)e._addMethodEventListenerToNode(t,r.name,r.value,e)}function c(e,t,n){n.templateInfo&&(t._templateInfo=n.templateInfo)}const u=Object(r.dedupingMixin)(e=>class extends e{static _parseTemplate(e,t){if(!e._templateInfo){let n=e._templateInfo={};n.nodeInfoList=[],n.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,n,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,n){return this._parseTemplateNode(e.content,t,n)}static _parseTemplateNode(e,t,n){let r,o=e;return"template"!=o.localName||o.hasAttribute("preserve-content")?"slot"===o.localName&&(t.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(o,t,n)||r,o.firstChild&&(r=this._parseTemplateChildNodes(o,t,n)||r),o.hasAttributes&&o.hasAttributes()&&(r=this._parseTemplateNodeAttributes(o,t,n)||r),r}static _parseTemplateChildNodes(e,t,n){if("script"!==e.localName&&"style"!==e.localName)for(let r,o=e.firstChild,a=0;o;o=r){if("template"==o.localName&&(o=i(o)),r=o.nextSibling,o.nodeType===Node.TEXT_NODE){let n=r;for(;n&&n.nodeType===Node.TEXT_NODE;)o.textContent+=n.textContent,r=n.nextSibling,e.removeChild(n),n=r;if(t.stripWhiteSpace&&!o.textContent.trim()){e.removeChild(o);continue}}let s={parentIndex:a,parentInfo:n};this._parseTemplateNode(o,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),o.parentNode&&a++}}static _parseTemplateNestedTemplate(e,t,n){let r=this._parseTemplate(e,t);return(r.content=e.content.ownerDocument.createDocumentFragment()).appendChild(e.content),n.templateInfo=r,!0}static _parseTemplateNodeAttributes(e,t,n){let r=!1,o=Array.from(e.attributes);for(let i,a=o.length-1;i=o[a];a--)r=this._parseTemplateNodeAttribute(e,t,n,i.name,i.value)||r;return r}static _parseTemplateNodeAttribute(e,t,n,r,o){return"on-"===r.slice(0,3)?(e.removeAttribute(r),n.events=n.events||[],n.events.push({name:r.slice(3),value:o}),!0):"id"===r&&(n.id=o,!0)}static _contentForTemplate(e){let t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);let t=this.constructor._parseTemplate(e),n=t.nodeInfoList,r=t.content||e.content,o=document.importNode(r,!0);o.__noInsertionPoint=!t.hasInsertionPoint;let i=o.nodeList=new Array(n.length);o.$={};for(let e,t=0,r=n.length;t<r&&(e=n[t]);t++){let n=i[t]=a(o,e);s(0,o.$,n,e),c(0,n,e),l(this,n,e)}return o=o,o}_addMethodEventListenerToNode(e,t,n,r){let o=function(e,t,n){return e=e._methodHost||e,function(t){e[n]?e[n](t,t.detail):console.warn("listener method `"+n+"` not defined")}}(r=r||e,0,n);return this._addEventListenerToNode(e,t,o),o}_addEventListenerToNode(e,t,n){e.addEventListener(t,n)}_removeEventListenerFromNode(e,t,n){e.removeEventListener(t,n)}})},"./node_modules/@polymer/polymer/lib/utils/array-splice.js":function(e,t,n){"use strict";n.r(t),n.d(t,"calculateSplices",(function(){return i}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");function r(e,t,n){return{index:e,removed:t,addedCount:n}}function o(e,t,n,o,i,s){let l,c=0,u=0,d=Math.min(n-t,s-i);if(0==t&&0==i&&(c=function(e,t,n){for(let r=0;r<n;r++)if(!a(e[r],t[r]))return r;return n}(e,o,d)),n==e.length&&s==o.length&&(u=function(e,t,n){let r=e.length,o=t.length,i=0;for(;i<n&&a(e[--r],t[--o]);)i++;return i}(e,o,d-c)),i+=c,s-=u,(n-=u)-(t+=c)==0&&s-i==0)return[];if(t==n){for(l=r(t,[],0);i<s;)l.removed.push(o[i++]);return[l]}if(i==s)return[r(t,[],n-t)];let p=function(e){let t=e.length-1,n=e[0].length-1,r=e[t][n],o=[];for(;t>0||n>0;){if(0==t){o.push(2),n--;continue}if(0==n){o.push(3),t--;continue}let i,a=e[t-1][n-1],s=e[t-1][n],l=e[t][n-1];i=s<l?s<a?s:a:l<a?l:a,i==a?(a==r?o.push(0):(o.push(1),r=a),t--,n--):i==s?(o.push(3),t--,r=s):(o.push(2),n--,r=l)}return o.reverse(),o}(function(e,t,n,r,o,i){let s=i-o+1,l=n-t+1,c=new Array(s);for(let e=0;e<s;e++)c[e]=new Array(l),c[e][0]=e;for(let e=0;e<l;e++)c[0][e]=e;for(let n=1;n<s;n++)for(let i=1;i<l;i++)if(a(e[t+i-1],r[o+n-1]))c[n][i]=c[n-1][i-1];else{let e=c[n-1][i]+1,t=c[n][i-1]+1;c[n][i]=e<t?e:t}return c}(e,t,n,o,i,s));l=void 0;let f=[],h=t,m=i;for(let e=0;e<p.length;e++)switch(p[e]){case 0:l&&(f.push(l),l=void 0),h++,m++;break;case 1:l||(l=r(h,[],0)),l.addedCount++,h++,l.removed.push(o[m]),m++;break;case 2:l||(l=r(h,[],0)),l.addedCount++,h++;break;case 3:l||(l=r(h,[],0)),l.removed.push(o[m]),m++}return l&&f.push(l),f}function i(e,t){return o(e,0,e.length,t,0,t.length)}function a(e,t){return e===t}},"./node_modules/@polymer/polymer/lib/utils/async.js":function(e,t,n){"use strict";n.r(t),n.d(t,"timeOut",(function(){return l})),n.d(t,"animationFrame",(function(){return c})),n.d(t,"idlePeriod",(function(){return u})),n.d(t,"microTask",(function(){return d}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");let r=0,o=0,i=[],a=0,s=document.createTextNode("");new window.MutationObserver((function(){const e=i.length;for(let t=0;t<e;t++){let e=i[t];if(e)try{e()}catch(e){setTimeout(()=>{throw e})}}i.splice(0,e),o+=e})).observe(s,{characterData:!0});const l={after:e=>({run:t=>window.setTimeout(t,e),cancel(e){window.clearTimeout(e)}}),run:(e,t)=>window.setTimeout(e,t),cancel(e){window.clearTimeout(e)}},c={run:e=>window.requestAnimationFrame(e),cancel(e){window.cancelAnimationFrame(e)}},u={run:e=>window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16),cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},d={run:e=>(s.textContent=a++,i.push(e),r++),cancel(e){const t=e-o;if(t>=0){if(!i[t])throw new Error("invalid async handle: "+e);i[t]=null}}}},"./node_modules/@polymer/polymer/lib/utils/boot.js":function(e,t){window.JSCompiler_renameProperty=function(e){return e}},"./node_modules/@polymer/polymer/lib/utils/case-map.js":function(e,t,n){"use strict";n.r(t),n.d(t,"dashToCamelCase",(function(){return a})),n.d(t,"camelToDashCase",(function(){return s}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");const r={},o=/-[a-z]/g,i=/([A-Z])/g;function a(e){return r[e]||(r[e]=e.indexOf("-")<0?e:e.replace(o,e=>e[1].toUpperCase()))}function s(e){return r[e]||(r[e]=e.replace(i,"-$1").toLowerCase())}},"./node_modules/@polymer/polymer/lib/utils/debounce.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Debouncer",(function(){return r}));n("./node_modules/@polymer/polymer/lib/utils/boot.js"),n("./node_modules/@polymer/polymer/lib/utils/mixin.js"),n("./node_modules/@polymer/polymer/lib/utils/async.js");const r=class e{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(()=>{this._timer=null,this._callback()})}cancel(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(t,n,r){return t instanceof e?t.cancel():t=new e,t.setConfig(n,r),t}}},"./node_modules/@polymer/polymer/lib/utils/flattened-nodes-observer.js":function(e,t,n){"use strict";n.r(t),n.d(t,"FlattenedNodesObserver",(function(){return a}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/array-splice.js"),o=n("./node_modules/@polymer/polymer/lib/utils/async.js");function i(e){return"slot"===e.localName}class a{static getFlattenedNodes(e){return i(e)?(e=e).assignedNodes({flatten:!0}):Array.from(e.childNodes).map(e=>i(e)?(e=e).assignedNodes({flatten:!0}):[e]).reduce((e,t)=>e.concat(t),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){i(this._target)?this._listenSlots([this._target]):this._target.children&&(this._listenSlots(this._target.children),window.ShadyDOM?this._shadyChildrenObserver=ShadyDOM.observeChildren(this._target,e=>{this._processMutations(e)}):(this._nativeChildrenObserver=new MutationObserver(e=>{this._processMutations(e)}),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){i(this._target)?this._unlistenSlots([this._target]):this._target.children&&(this._unlistenSlots(this._target.children),window.ShadyDOM&&this._shadyChildrenObserver?(ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,o.microTask.run(()=>this.flush()))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(let t=0;t<e.length;t++){let n=e[t];n.addedNodes&&this._listenSlots(n.addedNodes),n.removedNodes&&this._unlistenSlots(n.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let e={target:this._target,addedNodes:[],removedNodes:[]},t=this.constructor.getFlattenedNodes(this._target),n=Object(r.calculateSplices)(t,this._effectiveNodes);for(let t,r=0;r<n.length&&(t=n[r]);r++)for(let n,r=0;r<t.removed.length&&(n=t.removed[r]);r++)e.removedNodes.push(n);for(let r,o=0;o<n.length&&(r=n[o]);o++)for(let n=r.index;n<r.index+r.addedCount;n++)e.addedNodes.push(t[n]);this._effectiveNodes=t;let o=!1;return(e.addedNodes.length||e.removedNodes.length)&&(o=!0,this.callback.call(this._target,e)),o}_listenSlots(e){for(let t=0;t<e.length;t++){let n=e[t];i(n)&&n.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(e){for(let t=0;t<e.length;t++){let n=e[t];i(n)&&n.removeEventListener("slotchange",this._boundSchedule)}}}},"./node_modules/@polymer/polymer/lib/utils/flush.js":function(e,t,n){"use strict";n.r(t),n.d(t,"enqueueDebouncer",(function(){return o})),n.d(t,"flush",(function(){return a}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");let r=[];const o=function(e){r.push(e)};function i(){const e=Boolean(r.length);for(;r.length;)try{r.shift().flush()}catch(e){setTimeout(()=>{throw e})}return e}const a=function(){let e,t;do{e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=i()}while(e||t)}},"./node_modules/@polymer/polymer/lib/utils/gestures.js":function(e,t,n){"use strict";n.r(t),n.d(t,"gestures",(function(){return T})),n.d(t,"recognizers",(function(){return A})),n.d(t,"deepTargetFind",(function(){return P})),n.d(t,"addListener",(function(){return M})),n.d(t,"removeListener",(function(){return N})),n.d(t,"register",(function(){return D})),n.d(t,"setTouchAction",(function(){return j})),n.d(t,"prevent",(function(){return B})),n.d(t,"resetMouseCanceller",(function(){return F})),n.d(t,"findOriginalTarget",(function(){return q})),n.d(t,"add",(function(){return G})),n.d(t,"remove",(function(){return W}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/async.js"),o=n("./node_modules/@polymer/polymer/lib/utils/debounce.js"),i=n("./node_modules/@polymer/polymer/lib/utils/settings.js");let a="string"==typeof document.head.style.touchAction,s="__polymerGesturesHandled",l="__polymerGesturesTouchAction",c=["mousedown","mousemove","mouseup","click"],u=[0,1,4,2],d=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}();function p(e){return c.indexOf(e)>-1}let f=!1;function h(e){if(!p(e)&&"touchend"!==e)return a&&f&&i.passiveTouchGestures?{passive:!0}:void 0}!function(){try{let e=Object.defineProperty({},"passive",{get(){f=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();let m=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const g=function(){};g.prototype.state,g.prototype.started,g.prototype.moves,g.prototype.x,g.prototype.y,g.prototype.prevent,g.prototype.addMove,g.prototype.movefn,g.prototype.upFn;const y=function(){};y.prototype.reset,y.prototype.mousedown,y.prototype.mousemove,y.prototype.mouseup,y.prototype.touchstart,y.prototype.touchmove,y.prototype.touchend,y.prototype.click,y.prototype.info,y.prototype.emits;const v=[],b={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},_={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function w(e){let t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];let n=e.getRootNode();if(e.id){let r=n.querySelectorAll(`label[for = ${e.id}]`);for(let e=0;e<r.length;e++)t.push(r[e])}}return t}let C=function(e){let t=e.sourceCapabilities;var n;if((!t||t.firesTouchEvents)&&(e[s]={skip:!0},"click"===e.type)){let t=!1,r=e.composedPath&&e.composedPath();if(r)for(let e=0;e<r.length;e++){if(r[e].nodeType===Node.ELEMENT_NODE)if("label"===r[e].localName)v.push(r[e]);else if(n=r[e],b[n.localName]){let n=w(r[e]);for(let e=0;e<n.length;e++)t=t||v.indexOf(n[e])>-1}if(r[e]===x.mouse.target)return}if(t)return;e.preventDefault(),e.stopPropagation()}};function S(e){let t=m?["click"]:c;for(let n,r=0;r<t.length;r++)n=t[r],e?(v.length=0,document.addEventListener(n,C,!0)):document.removeEventListener(n,C,!0)}function E(e){let t=e.type;if(!p(t))return!1;if("mousemove"===t){let t=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!d&&(t=u[e.which]||0),Boolean(1&t)}return 0===(void 0===e.button?0:e.button)}let x={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function k(e,t,n){e.movefn=t,e.upfn=n,document.addEventListener("mousemove",t),document.addEventListener("mouseup",n)}function O(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}document.addEventListener("touchend",(function(e){x.mouse.mouseIgnoreJob||S(!0),x.mouse.target=e.composedPath()[0],x.mouse.mouseIgnoreJob=o.Debouncer.debounce(x.mouse.mouseIgnoreJob,r.timeOut.after(2500),(function(){S(),x.mouse.target=null,x.mouse.mouseIgnoreJob=null}))}),!!f&&{passive:!0});const T={},A=[];function P(e,t){let n=document.elementFromPoint(e,t),r=n;for(;r&&r.shadowRoot&&!window.ShadyDOM;){let o=r;if(r=r.shadowRoot.elementFromPoint(e,t),o===r)break;r&&(n=r)}return n}function R(e){if(e.composedPath){const t=e.composedPath();return t.length>0?t[0]:e.target}return e.target}function I(e){let t,n=e.type,r=e.currentTarget.__polymerGestures;if(!r)return;let o=r[n];if(o){if(!e[s]&&(e[s]={},"touch"===n.slice(0,5))){let t=(e=e).changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(x.touch.id=t.identifier),x.touch.id!==t.identifier)return;a||"touchstart"!==n&&"touchmove"!==n||function(e){let t=e.changedTouches[0],n=e.type;if("touchstart"===n)x.touch.x=t.clientX,x.touch.y=t.clientY,x.touch.scrollDecided=!1;else if("touchmove"===n){if(x.touch.scrollDecided)return;x.touch.scrollDecided=!0;let n=function(e){let t="auto",n=e.composedPath&&e.composedPath();if(n)for(let e,r=0;r<n.length;r++)if(e=n[r],e[l]){t=e[l];break}return t}(e),r=!1,o=Math.abs(x.touch.x-t.clientX),i=Math.abs(x.touch.y-t.clientY);e.cancelable&&("none"===n?r=!0:"pan-x"===n?r=i>o:"pan-y"===n&&(r=o>i)),r?e.preventDefault():B("track")}}(e)}if(t=e[s],!t.skip){for(let n,r=0;r<A.length;r++)n=A[r],o[n.name]&&!t[n.name]&&n.flow&&n.flow.start.indexOf(e.type)>-1&&n.reset&&n.reset();for(let r,i=0;i<A.length;i++)r=A[i],o[r.name]&&!t[r.name]&&(t[r.name]=!0,r[n](e))}}}function M(e,t,n){return!!T[t]&&(function(e,t,n){let r=T[t],o=r.deps,i=r.name,a=e.__polymerGestures;a||(e.__polymerGestures=a={});for(let t,n,r=0;r<o.length;r++)t=o[r],m&&p(t)&&"click"!==t||(n=a[t],n||(a[t]=n={_count:0}),0===n._count&&e.addEventListener(t,I,h(t)),n[i]=(n[i]||0)+1,n._count=(n._count||0)+1);e.addEventListener(t,n),r.touchAction&&j(e,r.touchAction)}(e,t,n),!0)}function N(e,t,n){return!!T[t]&&(function(e,t,n){let r=T[t],o=r.deps,i=r.name,a=e.__polymerGestures;if(a)for(let t,n,r=0;r<o.length;r++)t=o[r],n=a[t],n&&n[i]&&(n[i]=(n[i]||1)-1,n._count=(n._count||1)-1,0===n._count&&e.removeEventListener(t,I,h(t)));e.removeEventListener(t,n)}(e,t,n),!0)}function D(e){A.push(e);for(let t=0;t<e.emits.length;t++)T[e.emits[t]]=e}function j(e,t){a&&r.microTask.run(()=>{e.style.touchAction=t}),e[l]=t}function L(e,t,n){let r=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=n,e.dispatchEvent(r),r.defaultPrevented){let e=n.preventer||n.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}function B(e){let t=function(e){for(let t,n=0;n<A.length;n++){t=A[n];for(let n,r=0;r<t.emits.length;r++)if(n=t.emits[r],n===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}function F(){x.mouse.mouseIgnoreJob&&x.mouse.mouseIgnoreJob.flush()}function U(e,t,n,r){t&&L(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:function(e){return B(e)}})}function H(e,t,n){if(e.prevent)return!1;if(e.started)return!0;let r=Math.abs(e.x-t),o=Math.abs(e.y-n);return r>=5||o>=5}function V(e,t,n){if(!t)return;let r,o=e.moves[e.moves.length-2],i=e.moves[e.moves.length-1],a=i.x-e.x,s=i.y-e.y,l=0;o&&(r=i.x-o.x,l=i.y-o.y),L(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:l,sourceEvent:n,hover:function(){return P(n.clientX,n.clientY)}})}function z(e,t,n){let r=Math.abs(t.clientX-e.x),o=Math.abs(t.clientY-e.y),i=R(n||t);!i||_[i.localName]&&i.hasAttribute("disabled")||(isNaN(r)||isNaN(o)||r<=25&&o<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;let t=R(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;let n=t.getBoundingClientRect(),r=e.pageX,o=e.pageY;return!(r>=n.left&&r<=n.right&&o>=n.top&&o<=n.bottom)}return!1}(t))&&(e.prevent||L(i,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}D({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){O(this.info)},mousedown:function(e){if(!E(e))return;let t=R(e),n=this;k(this.info,(function(e){E(e)||(U("up",t,e),O(n.info))}),(function(e){E(e)&&U("up",t,e),O(n.info)})),U("down",t,e)},touchstart:function(e){U("down",R(e),e.changedTouches[0],e)},touchend:function(e){U("up",R(e),e.changedTouches[0],e)}}),D({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,O(this.info)},mousedown:function(e){if(!E(e))return;let t=R(e),n=this,r=function(e){let r=e.clientX,o=e.clientY;H(n.info,r,o)&&(n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&B("tap"),n.info.addMove({x:r,y:o}),E(e)||(n.info.state="end",O(n.info)),t&&V(n.info,t,e),n.info.started=!0)};k(this.info,r,(function(e){n.info.started&&r(e),O(n.info)})),this.info.x=e.clientX,this.info.y=e.clientY},touchstart:function(e){let t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){let t=R(e),n=e.changedTouches[0],r=n.clientX,o=n.clientY;H(this.info,r,o)&&("start"===this.info.state&&B("tap"),this.info.addMove({x:r,y:o}),V(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){let t=R(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),V(this.info,t,n))}}),D({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){E(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){E(e)&&z(this.info,e)},touchstart:function(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){z(this.info,e.changedTouches[0],e)}});const q=R,G=M,W=N},"./node_modules/@polymer/polymer/lib/utils/html-tag.js":function(e,t,n){"use strict";n.r(t),n.d(t,"html",(function(){return i})),n.d(t,"htmlLiteral",(function(){return a}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");class r{constructor(e){this.value=e.toString()}toString(){return this.value}}function o(e){if(e instanceof r)return e.value;throw new Error("non-literal value passed to Polymer's htmlLiteral function: "+e)}const i=function(e,...t){const n=document.createElement("template");return n.innerHTML=t.reduce((t,n,i)=>t+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof r)return o(e);throw new Error("non-template value passed to Polymer's html function: "+e)}(n)+e[i+1],e[0]),n},a=function(e,...t){return new r(t.reduce((t,n,r)=>t+o(n)+e[r+1],e[0]))}},"./node_modules/@polymer/polymer/lib/utils/mixin.js":function(e,t,n){"use strict";n.r(t),n.d(t,"dedupingMixin",(function(){return i}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");let r=0;function o(){}o.prototype.__mixinApplications,o.prototype.__mixinSet;const i=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let n=r++;return function(r){let o=r.__mixinSet;if(o&&o[n])return r;let i=t,a=i.get(r);a||(a=e(r),i.set(r,a));let s=Object.create(a.__mixinSet||o||null);return s[n]=!0,a.__mixinSet=s,a}}},"./node_modules/@polymer/polymer/lib/utils/path.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isPath",(function(){return r})),n.d(t,"root",(function(){return o})),n.d(t,"isAncestor",(function(){return i})),n.d(t,"isDescendant",(function(){return a})),n.d(t,"translate",(function(){return s})),n.d(t,"matches",(function(){return l})),n.d(t,"normalize",(function(){return c})),n.d(t,"split",(function(){return u})),n.d(t,"get",(function(){return d})),n.d(t,"set",(function(){return p})),n.d(t,"isDeep",(function(){return f}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");function r(e){return e.indexOf(".")>=0}function o(e){let t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function i(e,t){return 0===e.indexOf(t+".")}function a(e,t){return 0===t.indexOf(e+".")}function s(e,t,n){return t+n.slice(e.length)}function l(e,t){return e===t||i(e,t)||a(e,t)}function c(e){if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=e[n].toString().split(".");for(let e=0;e<r.length;e++)t.push(r[e])}return t.join(".")}return e}function u(e){return Array.isArray(e)?c(e).split("."):e.toString().split(".")}function d(e,t,n){let r=e,o=u(t);for(let e=0;e<o.length;e++){if(!r)return;r=r[o[e]]}return n&&(n.path=o.join(".")),r}function p(e,t,n){let r=e,o=u(t),i=o[o.length-1];if(o.length>1){for(let e=0;e<o.length-1;e++){if(r=r[o[e]],!r)return}r[i]=n}else r[t]=n;return o.join(".")}const f=r},"./node_modules/@polymer/polymer/lib/utils/render-status.js":function(e,t,n){"use strict";n.r(t),n.d(t,"beforeNextRender",(function(){return u})),n.d(t,"afterNextRender",(function(){return d})),n.d(t,"flush",(function(){return c}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");let r=!1,o=[],i=[];function a(){r=!0,requestAnimationFrame((function(){r=!1,s(o),setTimeout((function(){!function(e){for(let t=0,n=e.length;t<n;t++)l(e.shift())}(i)}))}))}function s(e){for(;e.length;)l(e.shift())}function l(e){const t=e[0],n=e[1],r=e[2];try{n.apply(t,r)}catch(e){setTimeout(()=>{throw e})}}function c(){for(;o.length||i.length;)s(o),s(i);r=!1}function u(e,t,n){r||a(),o.push([e,t,n])}function d(e,t,n){r||a(),i.push([e,t,n])}},"./node_modules/@polymer/polymer/lib/utils/resolve-url.js":function(e,t,n){"use strict";n.r(t),n.d(t,"resolveUrl",(function(){return s})),n.d(t,"resolveCss",(function(){return l})),n.d(t,"pathFromUrl",(function(){return c}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");let r,o,i=/(url\()([^)]*)(\))/g,a=/(^\/)|(^#)|(^[\w-\d]*:)/;function s(e,t){if(e&&a.test(e))return e;if(void 0===r){r=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",r="http://a/c%20d"===e.href}catch(e){}}return t||(t=document.baseURI||window.location.href),r?new URL(e,t).href:(o||(o=document.implementation.createHTMLDocument("temp"),o.base=o.createElement("base"),o.head.appendChild(o.base),o.anchor=o.createElement("a"),o.body.appendChild(o.anchor)),o.base.href=t,o.anchor.href=e,o.anchor.href||e)}function l(e,t){return e.replace(i,(function(e,n,r,o){return n+"'"+s(r.replace(/["']/g,""),t)+"'"+o}))}function c(e){return e.substring(0,e.lastIndexOf("/")+1)}},"./node_modules/@polymer/polymer/lib/utils/settings.js":function(e,t,n){"use strict";n.r(t),n.d(t,"useShadow",(function(){return o})),n.d(t,"useNativeCSSProperties",(function(){return i})),n.d(t,"useNativeCustomElements",(function(){return a})),n.d(t,"rootPath",(function(){return s})),n.d(t,"setRootPath",(function(){return l})),n.d(t,"sanitizeDOMValue",(function(){return c})),n.d(t,"setSanitizeDOMValue",(function(){return u})),n.d(t,"passiveTouchGestures",(function(){return d})),n.d(t,"setPassiveTouchGestures",(function(){return p}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/utils/resolve-url.js");const o=!window.ShadyDOM,i=Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),a=!window.customElements.polyfillWrapFlushCallback;let s=Object(r.pathFromUrl)(document.baseURI||window.location.href);const l=function(e){s=e};let c=void 0;const u=function(e){c=e};let d=!1;const p=function(e){d=e}},"./node_modules/@polymer/polymer/lib/utils/style-gather.js":function(e,t,n){"use strict";n.r(t),n.d(t,"stylesFromModules",(function(){return a})),n.d(t,"stylesFromModule",(function(){return s})),n.d(t,"stylesFromTemplate",(function(){return l})),n.d(t,"stylesFromModuleImports",(function(){return c})),n.d(t,"cssFromModules",(function(){return d})),n.d(t,"cssFromModule",(function(){return p})),n.d(t,"cssFromTemplate",(function(){return f})),n.d(t,"cssFromModuleImports",(function(){return h}));var r=n("./node_modules/@polymer/polymer/lib/utils/resolve-url.js");function o(e){const t=customElements.get("dom-module");return t?t.import(e):null}function i(e){let t=e.body?e.body:e;const n=Object(r.resolveCss)(t.textContent,e.baseURI),o=document.createElement("style");return o.textContent=n,o}function a(e){const t=e.trim().split(/\s+/),n=[];for(let e=0;e<t.length;e++)n.push(...s(t[e]));return n}function s(e){const t=o(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(...u(t));const n=t.querySelector("template");n&&e.push(...l(n,t.assetpath)),t._styles=e}return t._styles}function l(e,t){if(!e._styles){const n=[],o=e.content.querySelectorAll("style");for(let e=0;e<o.length;e++){let i=o[e],s=i.getAttribute("include");s&&n.push(...a(s).filter((function(e,t,n){return n.indexOf(e)===t}))),t&&(i.textContent=Object(r.resolveCss)(i.textContent,t)),n.push(i)}e._styles=n}return e._styles}function c(e){let t=o(e);return t?u(t):[]}function u(e){const t=[],n=e.querySelectorAll("link[rel=import][type~=css]");for(let e=0;e<n.length;e++){let r=n[e];if(r.import){const e=r.import,n=r.hasAttribute("shady-unscoped");if(n&&!e._unscopedStyle){const t=i(e);t.setAttribute("shady-unscoped",""),e._unscopedStyle=t}else e._style||(e._style=i(e));t.push(n?e._unscopedStyle:e._style)}}return t}function d(e){let t=e.trim().split(/\s+/),n="";for(let e=0;e<t.length;e++)n+=p(t[e]);return n}function p(e){let t=o(e);if(t&&void 0===t._cssText){let e=m(t),n=t.querySelector("template");n&&(e+=f(n,t.assetpath)),t._cssText=e||null}return t||console.warn("Could not find style data in module named",e),t&&t._cssText||""}function f(e,t){let n="";const r=l(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.parentNode&&t.parentNode.removeChild(t),n+=t.textContent}return n}function h(e){let t=o(e);return t?m(t):""}function m(e){let t="",n=u(e);for(let e=0;e<n.length;e++)t+=n[e].textContent;return t}},"./node_modules/@polymer/polymer/lib/utils/templatize.js":function(e,t,n){"use strict";n.r(t),n.d(t,"templatize",(function(){return g})),n.d(t,"modelForElement",(function(){return y})),n.d(t,"TemplateInstanceBase",(function(){return u}));n("./node_modules/@polymer/polymer/lib/utils/boot.js");var r=n("./node_modules/@polymer/polymer/lib/mixins/property-effects.js"),o=n("./node_modules/@polymer/polymer/lib/mixins/mutable-data.js");let i=null;function a(){return i}a.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:a,writable:!0}});const s=Object(r.PropertyEffects)(a),l=Object(o.MutableData)(s);const c=Object(r.PropertyEffects)(class{});class u extends c{constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);let t=this.children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)t.push(e),e.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let n=this.__templatizeOptions;(e&&n.instanceProps||!n.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(let e in this.__hostProps)this._setPendingProperty(e,this.__dataHost["_host_"+e]);for(let t in e)this._setPendingProperty(t,e[t])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,n){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,e=>{e.model=this,n(e)});else{let r=this.__dataHost.__dataHost;r&&r._addEventListenerToNode(e,t,n)}}_showHideChildren(e){let t=this.children;for(let n=0;n<t.length;n++){let r=t[n];if(Boolean(e)!=Boolean(r.__hideTemplateChildren__))if(r.nodeType===Node.TEXT_NODE)e?(r.__polymerTextContent__=r.textContent,r.textContent=""):r.textContent=r.__polymerTextContent__;else if("slot"===r.localName)if(e)r.__polymerReplaced__=document.createComment("hidden-slot"),r.parentNode.replaceChild(r.__polymerReplaced__,r);else{const e=r.__polymerReplaced__;e&&e.parentNode.replaceChild(r,e)}else r.style&&(e?(r.__polymerDisplay__=r.style.display,r.style.display="none"):r.style.display=r.__polymerDisplay__);r.__hideTemplateChildren__=e,r._showHideChildren&&r._showHideChildren(e)}}_setUnmanagedPropertyToNode(e,t,n){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=n:super._setUnmanagedPropertyToNode(e,t,n)}get parentModel(){let e=this.__parentModel;if(!e){let t;e=this;do{e=e.__dataHost.__dataHost}while((t=e.__templatizeOptions)&&!t.parentModel);this.__parentModel=e}return e}dispatchEvent(e){return!0}}u.prototype.__dataHost,u.prototype.__templatizeOptions,u.prototype._methodHost,u.prototype.__templatizeOwner,u.prototype.__hostProps;const d=Object(o.MutableData)(u);function p(e,t,n){let r=n.mutableData?d:u,o=class extends r{};return o.prototype.__templatizeOptions=n,o.prototype._bindTemplate(e),function(e,t,n,r){let o=n.hostProps||{};for(let t in r.instanceProps){delete o[t];let n=r.notifyInstanceProp;n&&e.prototype._addPropertyEffect(t,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:m(t,n)})}if(r.forwardHostProp&&t.__dataHost)for(let t in o)e.prototype._addPropertyEffect(t,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(e,t,n){e.__dataHost._setPendingPropertyOrPath("_host_"+t,n[t],!0,!0)}})}(o,e,t,n),o}function f(e,t,n){let r=n.forwardHostProp;if(r){let o=t.templatizeTemplateClass;if(!o){let e=n.mutableData?l:s;o=t.templatizeTemplateClass=class extends e{};let i=t.hostProps;for(let e in i)o.prototype._addPropertyEffect("_host_"+e,o.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:h(e,r)}),o.prototype._createNotifyingProperty("_host_"+e)}!function(e,t){i=e,Object.setPrototypeOf(e,t.prototype),new t,i=null}(e,o),e.__dataProto&&Object.assign(e.__data,e.__dataProto),e.__dataTemp={},e.__dataPending=null,e.__dataOld=null,e._enableProperties()}}function h(e,t){return function(e,n,r){t.call(e.__templatizeOwner,n.substring("_host_".length),r[n])}}function m(e,t){return function(e,n,r){t.call(e.__templatizeOwner,e,n,r[n])}}function g(e,t,n){if(n=n||{},e.__templatizeOwner)throw new Error("A <template> can only be templatized once");e.__templatizeOwner=t;let r=(t?t.constructor:u)._parseTemplate(e),o=r.templatizeInstanceClass;o||(o=p(e,r,n),r.templatizeInstanceClass=o),f(e,r,n);let i=class extends o{};return i.prototype._methodHost=function(e){let t=e.__dataHost;return t&&t._methodHost||t}(e),i.prototype.__dataHost=e,i.prototype.__templatizeOwner=t,i.prototype.__hostProps=r.hostProps,i=i,i}function y(e,t){let n;for(;t;)if(n=t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=t.parentNode;return null}},"./node_modules/@polymer/polymer/lib/utils/unresolved.js":function(e,t){function n(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?n():window.addEventListener("DOMContentLoaded",n)},"./node_modules/@polymer/polymer/polymer-element.js":function(e,t,n){"use strict";n.r(t),n.d(t,"PolymerElement",(function(){return i}));var r=n("./node_modules/@polymer/polymer/lib/mixins/element-mixin.js"),o=n("./node_modules/@polymer/polymer/lib/utils/html-tag.js");n.d(t,"html",(function(){return o.html}));const i=Object(r.ElementMixin)(HTMLElement)},"./node_modules/@polymer/polymer/polymer-legacy.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Base",(function(){return a}));var r=n("./node_modules/@polymer/polymer/lib/legacy/legacy-element-mixin.js"),o=n("./node_modules/@polymer/polymer/lib/legacy/polymer-fn.js");n.d(t,"Polymer",(function(){return o.Polymer}));n("./node_modules/@polymer/polymer/lib/legacy/templatizer-behavior.js"),n("./node_modules/@polymer/polymer/lib/elements/dom-bind.js"),n("./node_modules/@polymer/polymer/lib/elements/dom-repeat.js"),n("./node_modules/@polymer/polymer/lib/elements/dom-if.js"),n("./node_modules/@polymer/polymer/lib/elements/array-selector.js"),n("./node_modules/@polymer/polymer/lib/elements/custom-style.js"),n("./node_modules/@polymer/polymer/lib/legacy/mutable-data-behavior.js");var i=n("./node_modules/@polymer/polymer/lib/utils/html-tag.js");n.d(t,"html",(function(){return i.html}));const a=Object(r.LegacyElementMixin)(HTMLElement).prototype},"./node_modules/@webcomponents/shadycss/entrypoints/apply-shim.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@webcomponents/shadycss/src/apply-shim.js"),o=n("./node_modules/@webcomponents/shadycss/src/template-map.js"),i=n("./node_modules/@webcomponents/shadycss/src/style-util.js"),a=n("./node_modules/@webcomponents/shadycss/src/apply-shim-utils.js"),s=n("./node_modules/@webcomponents/shadycss/src/common-utils.js"),l=(n("./node_modules/@webcomponents/shadycss/src/custom-style-interface.js"),n("./node_modules/@webcomponents/shadycss/src/style-settings.js"));const c=new r.default;class u{constructor(){this.customStyleInterface=null,c.invalidCallback=a.invalidate}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{c.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame(()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()})})}prepareTemplate(e,t){if(this.ensure(),Object(i.elementHasBuiltCss)(e))return;o.default[t]=e;let n=c.transformTemplate(e,t);e._styleAst=n}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let t=0;t<e.length;t++){let n=e[t],r=this.customStyleInterface.getStyleForCustomStyle(n);r&&c.transformCustomStyle(r)}this.customStyleInterface.enqueued=!1}}styleSubtree(e,t){if(this.ensure(),t&&Object(s.updateNativeProperties)(e,t),e.shadowRoot){this.styleElement(e);let t=e.shadowRoot.children||e.shadowRoot.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}else{let t=e.children||e.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}}styleElement(e){this.ensure();let{is:t}=Object(i.getIsExtends)(e),n=o.default[t];if((!n||!Object(i.elementHasBuiltCss)(n))&&n&&!a.templateIsValid(n)){a.templateIsValidating(n)||(this.prepareTemplate(n,t),a.startValidatingTemplate(n));let r=e.shadowRoot;if(r){let e=r.querySelector("style");e&&(e.__cssRules=n._styleAst,e.textContent=Object(i.toCssText)(n._styleAst))}}}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const e=new u;let t=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(t,n,r){e.flushCustomStyles(),e.prepareTemplate(t,n)},prepareTemplateStyles(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){},styleSubtree(t,n){e.flushCustomStyles(),e.styleSubtree(t,n)},styleElement(t){e.flushCustomStyles(),e.styleElement(t)},styleDocument(t){e.flushCustomStyles(),e.styleDocument(t)},getComputedStyleValue:(e,t)=>Object(s.getComputedStyleValue)(e,t),flushCustomStyles(){e.flushCustomStyles()},nativeCss:l.nativeCssVariables,nativeShadow:l.nativeShadow,cssBuild:l.cssBuild,disableRuntime:l.disableRuntime},t&&(window.ShadyCSS.CustomStyleInterface=t)}window.ShadyCSS.ApplyShim=c},"./node_modules/@webcomponents/shadycss/entrypoints/custom-style-interface.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@webcomponents/shadycss/src/custom-style-interface.js"),o=n("./node_modules/@webcomponents/shadycss/src/common-utils.js"),i=n("./node_modules/@webcomponents/shadycss/src/style-settings.js");const a=new r.default;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){a.processStyles(),Object(o.updateNativeProperties)(e,t)},styleElement(e){a.processStyles()},styleDocument(e){a.processStyles(),Object(o.updateNativeProperties)(document.body,e)},getComputedStyleValue:(e,t)=>Object(o.getComputedStyleValue)(e,t),flushCustomStyles(){},nativeCss:i.nativeCssVariables,nativeShadow:i.nativeShadow,cssBuild:i.cssBuild,disableRuntime:i.disableRuntime}),window.ShadyCSS.CustomStyleInterface=a},"./node_modules/@webcomponents/shadycss/src/apply-shim-utils.js":function(e,t,n){"use strict";n.r(t),n.d(t,"invalidate",(function(){return s})),n.d(t,"invalidateTemplate",(function(){return l})),n.d(t,"isValid",(function(){return c})),n.d(t,"templateIsValid",(function(){return u})),n.d(t,"isValidating",(function(){return d})),n.d(t,"templateIsValidating",(function(){return p})),n.d(t,"startValidating",(function(){return f})),n.d(t,"startValidatingTemplate",(function(){return h})),n.d(t,"elementsAreInvalid",(function(){return m}));var r=n("./node_modules/@webcomponents/shadycss/src/template-map.js");n("./node_modules/@webcomponents/shadycss/src/css-parse.js");const o="_applyShimCurrentVersion",i="_applyShimNextVersion",a=Promise.resolve();function s(e){let t=r.default[e];t&&l(t)}function l(e){e[o]=e[o]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[i]=(e[i]||0)+1}function c(e){let t=r.default[e];return!t||u(t)}function u(e){return e[o]===e[i]}function d(e){let t=r.default[e];return!!t&&p(t)}function p(e){return!u(e)&&e._applyShimValidatingVersion===e[i]}function f(e){h(r.default[e])}function h(e){e._applyShimValidatingVersion=e[i],e._validating||(e._validating=!0,a.then((function(){e[o]=e[i],e._validating=!1})))}function m(){for(let e in r.default){if(!u(r.default[e]))return!0}return!1}},"./node_modules/@webcomponents/shadycss/src/apply-shim.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@webcomponents/shadycss/src/style-util.js"),o=n("./node_modules/@webcomponents/shadycss/src/common-regex.js"),i=n("./node_modules/@webcomponents/shadycss/src/common-utils.js");n("./node_modules/@webcomponents/shadycss/src/css-parse.js");const a=/;\s*/m,s=/^\s*(initial)|(inherit)\s*$/,l=/\s*!important/;class c{constructor(){this._map={}}set(e,t){e=e.trim(),this._map[e]={properties:t,dependants:{}}}get(e){return e=e.trim(),this._map[e]||null}}let u=null;class d{constructor(){this._currentElement=null,this._measureElement=null,this._map=new c}detectMixin(e){return Object(i.detectMixin)(e)}gatherStyles(e){const t=Object(r.gatherStyleText)(e.content);if(t){const n=document.createElement("style");return n.textContent=t,e.content.insertBefore(n,e.content.firstChild),n}return null}transformTemplate(e,t){void 0===e._gatheredStyle&&(e._gatheredStyle=this.gatherStyles(e));const n=e._gatheredStyle;return n?this.transformStyle(n,t):null}transformStyle(e,t=""){let n=Object(r.rulesForStyle)(e);return this.transformRules(n,t),e.textContent=Object(r.toCssText)(n),n}transformCustomStyle(e){let t=Object(r.rulesForStyle)(e);return Object(r.forEachRule)(t,e=>{":root"===e.selector&&(e.selector="html"),this.transformRule(e)}),e.textContent=Object(r.toCssText)(t),t}transformRules(e,t){this._currentElement=t,Object(r.forEachRule)(e,e=>{this.transformRule(e)}),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,t){return e=e.replace(o.VAR_ASSIGN,(e,n,r,o)=>this._produceCssProperties(e,n,r,o,t)),this._consumeCssProperties(e,t)}_getInitialValueForProperty(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}_fallbacksFromPreviousRules(e){let t=e;for(;t.parent;)t=t.parent;const n={};let o=!1;return Object(r.forEachRule)(t,t=>{o=o||t===e,o||t.selector===e.selector&&Object.assign(n,this._cssTextToMap(t.parsedCssText))}),n}_consumeCssProperties(e,t){let n=null;for(;n=o.MIXIN_MATCH.exec(e);){let r=n[0],i=n[1],a=n.index,s=a+r.indexOf("@apply"),l=a+r.length,c=e.slice(0,s),u=e.slice(l),d=t?this._fallbacksFromPreviousRules(t):{};Object.assign(d,this._cssTextToMap(c));let p=this._atApplyToCssProperties(i,d);e=`${c}${p}${u}`,o.MIXIN_MATCH.lastIndex=a+p.length}return e}_atApplyToCssProperties(e,t){e=e.replace(a,"");let n=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){let o,i,a;this._currentElement&&(r.dependants[this._currentElement]=!0);const s=r.properties;for(o in s)a=t&&t[o],i=[o,": var(",e,"_-_",o],a&&i.push(",",a.replace(l,"")),i.push(")"),l.test(s[o])&&i.push(" !important"),n.push(i.join(""))}return n.join("; ")}_replaceInitialOrInherit(e,t){let n=s.exec(t);return n&&(t=n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}_cssTextToMap(e,t=!1){let n,r,o=e.split(";"),i={};for(let e,a,s=0;s<o.length;s++)e=o[s],e&&(a=e.split(":"),a.length>1&&(n=a[0].trim(),r=a.slice(1).join(":"),t&&(r=this._replaceInitialOrInherit(n,r)),i[n]=r));return i}_invalidateMixinEntry(e){if(u)for(let t in e.dependants)t!==this._currentElement&&u(t)}_produceCssProperties(e,t,n,o,i){if(n&&Object(r.processVariableAndFallback)(n,(e,t)=>{t&&this._map.get(t)&&(o=`@apply ${t};`)}),!o)return e;let a=this._consumeCssProperties(""+o,i),s=e.slice(0,e.indexOf("--")),l=this._cssTextToMap(a,!0),c=l,u=this._map.get(t),d=u&&u.properties;d?c=Object.assign(Object.create(d),l):this._map.set(t,c);let p,f,h=[],m=!1;for(p in c)f=l[p],void 0===f&&(f="initial"),d&&!(p in d)&&(m=!0),h.push(`${t}_-_${p}: ${f}`);return m&&this._invalidateMixinEntry(u),u&&(u.properties=c),n&&(s=`${e};${s}`),`${s}${h.join("; ")};`}}d.prototype.detectMixin=d.prototype.detectMixin,d.prototype.transformStyle=d.prototype.transformStyle,d.prototype.transformCustomStyle=d.prototype.transformCustomStyle,d.prototype.transformRules=d.prototype.transformRules,d.prototype.transformRule=d.prototype.transformRule,d.prototype.transformTemplate=d.prototype.transformTemplate,d.prototype._separator="_-_",Object.defineProperty(d.prototype,"invalidCallback",{get:()=>u,set(e){u=e}}),t.default=d},"./node_modules/@webcomponents/shadycss/src/common-regex.js":function(e,t,n){"use strict";n.r(t),n.d(t,"VAR_ASSIGN",(function(){return r})),n.d(t,"MIXIN_MATCH",(function(){return o})),n.d(t,"VAR_CONSUMED",(function(){return i})),n.d(t,"ANIMATION_MATCH",(function(){return a})),n.d(t,"MEDIA_MATCH",(function(){return s})),n.d(t,"IS_VAR",(function(){return l})),n.d(t,"BRACKETED",(function(){return c})),n.d(t,"HOST_PREFIX",(function(){return u})),n.d(t,"HOST_SUFFIX",(function(){return d}));const r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=/(--[\w-]+)\s*([:,;)]|$)/gi,a=/(animation\s*:)|(animation-name\s*:)/,s=/@media\s(.*)/,l=/^--/,c=/\{[^}]*\}/g,u="(?:^|[^.#[:])",d="($|[.:[\\s>+~])"},"./node_modules/@webcomponents/shadycss/src/common-utils.js":function(e,t,n){"use strict";n.r(t),n.d(t,"updateNativeProperties",(function(){return o})),n.d(t,"getComputedStyleValue",(function(){return i})),n.d(t,"detectMixin",(function(){return a}));var r=n("./node_modules/@webcomponents/shadycss/src/common-regex.js");function o(e,t){for(let n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function i(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}function a(e){const t=r.MIXIN_MATCH.test(e)||r.VAR_ASSIGN.test(e);return r.MIXIN_MATCH.lastIndex=0,r.VAR_ASSIGN.lastIndex=0,t}},"./node_modules/@webcomponents/shadycss/src/css-parse.js":function(e,t,n){"use strict";n.r(t),n.d(t,"StyleNode",(function(){return r})),n.d(t,"parse",(function(){return o})),n.d(t,"stringify",(function(){return i})),n.d(t,"removeCustomPropAssignment",(function(){return a})),n.d(t,"types",(function(){return s}));class r{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function o(e){return function e(t,n){let r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){let e=t.previous?t.previous.end:t.parent.start;r=n.substring(e,t.start-1),r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){let e=arguments[1],t=6-e.length;for(;t--;)e="0"+e;return"\\"+e}))}(r),r=r.replace(u.multipleSpaces," "),r=r.substring(r.lastIndexOf(";")+1);let o=t.parsedSelector=t.selector=r.trim();t.atRule=0===o.indexOf(f),t.atRule?0===o.indexOf(p)?t.type=s.MEDIA_RULE:o.match(u.keyframesRule)&&(t.type=s.KEYFRAMES_RULE,t.keyframesName=t.selector.split(u.multipleSpaces).pop()):0===o.indexOf(d)?t.type=s.MIXIN_RULE:t.type=s.STYLE_RULE}let o=t.rules;if(o)for(let t,r=0,i=o.length;r<i&&(t=o[r]);r++)e(t,n);return t}(function(e){let t=new r;t.start=0,t.end=e.length;let n=t;for(let o=0,i=e.length;o<i;o++)if(e[o]===l){n.rules||(n.rules=[]);let e=n,t=e.rules[e.rules.length-1]||null;n=new r,n.start=o+1,n.parent=e,n.previous=t,e.rules.push(n)}else e[o]===c&&(n.end=o+1,n=n.parent||t);return t}(e=e.replace(u.comments,"").replace(u.port,"")),e)}function i(e,t,n=""){let r="";if(e.cssText||e.rules){let n=e.rules;if(n&&!function(e){let t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(d)}(n))for(let e,o=0,a=n.length;o<a&&(e=n[o]);o++)r=i(e,t,r);else r=t?e.cssText:function(e){return function(e){return e.replace(u.mixinApply,"").replace(u.varApply,"")}(e=a(e))}(e.cssText),r=r.trim(),r&&(r="  "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" "+l+"\n"),n+=r,e.selector&&(n+=c+"\n\n")),n}function a(e){return e.replace(u.customProp,"").replace(u.mixinProp,"")}const s={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},l="{",c="}",u={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},d="--",p="@media",f="@"},"./node_modules/@webcomponents/shadycss/src/custom-style-interface.js":function(e,t,n){"use strict";n.r(t),n.d(t,"CustomStyleProvider",(function(){})),n.d(t,"default",(function(){return s})),n.d(t,"CustomStyleInterfaceInterface",(function(){return l}));var r=n("./node_modules/@webcomponents/shadycss/src/document-wait.js");const o="__shadyCSSCachedStyle";let i=null,a=null;class s{constructor(){this.customStyles=[],this.enqueued=!1,Object(r.default)(()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}enqueueDocumentValidation(){!this.enqueued&&a&&(this.enqueued=!0,Object(r.default)(a))}addCustomStyle(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){if(e[o])return e[o];let t;return t=e.getStyle?e.getStyle():e,t}processStyles(){const e=this.customStyles;for(let t=0;t<e.length;t++){const n=e[t];if(n[o])continue;const r=this.getStyleForCustomStyle(n);if(r){const e=r.__appliedElement||r;i&&i(e),n[o]=e}}return e}}s.prototype.addCustomStyle=s.prototype.addCustomStyle,s.prototype.getStyleForCustomStyle=s.prototype.getStyleForCustomStyle,s.prototype.processStyles=s.prototype.processStyles,Object.defineProperties(s.prototype,{transformCallback:{get:()=>i,set(e){i=e}},validateCallback:{get:()=>a,set(e){let t=!1;a||(t=!0),a=e,t&&this.enqueueDocumentValidation()}}});const l={}},"./node_modules/@webcomponents/shadycss/src/document-wait.js":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));let r,o=null,i=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(e){requestAnimationFrame((function(){i?i(e):(o||(o=new Promise(e=>{r=e}),"complete"===document.readyState?r():document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&r()})),o.then((function(){e&&e()})))}))}},"./node_modules/@webcomponents/shadycss/src/style-settings.js":function(e,t,n){"use strict";n.r(t),n.d(t,"nativeShadow",(function(){return r})),n.d(t,"cssBuild",(function(){return i})),n.d(t,"disableRuntime",(function(){return s})),n.d(t,"nativeCssVariables",(function(){return l}));const r=!(window.ShadyDOM&&window.ShadyDOM.inUse);let o,i;function a(e){o=(!e||!e.shimcssproperties)&&(r||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);const s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?o=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);const l=o},"./node_modules/@webcomponents/shadycss/src/style-util.js":function(e,t,n){"use strict";n.r(t),n.d(t,"toCssText",(function(){return s})),n.d(t,"rulesForStyle",(function(){return l})),n.d(t,"isKeyframesSelector",(function(){return c})),n.d(t,"forEachRule",(function(){return u})),n.d(t,"applyCss",(function(){return d})),n.d(t,"createScopeStyle",(function(){return p})),n.d(t,"applyStylePlaceHolder",(function(){return h})),n.d(t,"applyStyle",(function(){return m})),n.d(t,"isTargetedBuild",(function(){return g})),n.d(t,"findMatchingParen",(function(){return y})),n.d(t,"processVariableAndFallback",(function(){return v})),n.d(t,"setElementClassRaw",(function(){return b})),n.d(t,"wrap",(function(){return _})),n.d(t,"getIsExtends",(function(){return w})),n.d(t,"gatherStyleText",(function(){return C})),n.d(t,"splitSelectorList",(function(){return S})),n.d(t,"getCssBuild",(function(){return E})),n.d(t,"elementHasBuiltCss",(function(){return x})),n.d(t,"getBuildComment",(function(){return k})),n.d(t,"isOptimalCssBuild",(function(){return O}));var r=n("./node_modules/@webcomponents/shadycss/src/style-settings.js"),o=n("./node_modules/@webcomponents/shadycss/src/css-parse.js"),i=n("./node_modules/@webcomponents/shadycss/src/common-regex.js"),a=n("./node_modules/@webcomponents/shadycss/src/unscoped-style-handler.js");function s(e,t){return e?("string"==typeof e&&(e=Object(o.parse)(e)),t&&u(e,t),Object(o.stringify)(e,r.nativeCssVariables)):""}function l(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=Object(o.parse)(e.textContent)),e.__cssRules||null}function c(e){return Boolean(e.parent)&&e.parent.type===o.types.KEYFRAMES_RULE}function u(e,t,n,r){if(!e)return;let a=!1,s=e.type;if(r&&s===o.types.MEDIA_RULE){let t=e.selector.match(i.MEDIA_MATCH);t&&(window.matchMedia(t[1]).matches||(a=!0))}s===o.types.STYLE_RULE?t(e):n&&s===o.types.KEYFRAMES_RULE?n(e):s===o.types.MIXIN_RULE&&(a=!0);let l=e.rules;if(l&&!a)for(let e,o=0,i=l.length;o<i&&(e=l[o]);o++)u(e,t,n,r)}function d(e,t,n,r){let o=p(e,t);return m(o,n,r),o}function p(e,t){let n=document.createElement("style");return t&&n.setAttribute("scope",t),n.textContent=e,n}let f=null;function h(e){let t=document.createComment(" Shady DOM styles for "+e+" "),n=f?f.nextSibling:null,r=document.head;return r.insertBefore(t,n||r.firstChild),f=t,t}function m(e,t,n){t=t||document.head;let r=n&&n.nextSibling||t.firstChild;if(t.insertBefore(e,r),f){e.compareDocumentPosition(f)===Node.DOCUMENT_POSITION_PRECEDING&&(f=e)}else f=e}function g(e){return r.nativeShadow?"shadow"===e:"shady"===e}function y(e,t){let n=0;for(let r=t,o=e.length;r<o;r++)if("("===e[r])n++;else if(")"===e[r]&&0==--n)return r;return-1}function v(e,t){let n=e.indexOf("var(");if(-1===n)return t(e,"","","");let r=y(e,n+3),o=e.substring(n+4,r),i=e.substring(0,n),a=v(e.substring(r+1),t),s=o.indexOf(",");return-1===s?t(i,o.trim(),"",a):t(i,o.substring(0,s).trim(),o.substring(s+1).trim(),a)}function b(e,t){r.nativeShadow?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}const _=window.ShadyDOM&&window.ShadyDOM.wrap||(e=>e);function w(e){let t=e.localName,n="",r="";return t?t.indexOf("-")>-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}function C(e){const t=[],n=e.querySelectorAll("style");for(let e=0;e<n.length;e++){const o=n[e];Object(a.isUnscopedStyle)(o)?r.nativeShadow||(Object(a.processUnscopedStyle)(o),o.parentNode.removeChild(o)):(t.push(o.textContent),o.parentNode.removeChild(o))}return t.join("").trim()}function S(e){const t=[];let n="";for(let r=0;r>=0&&r<e.length;r++)if("("===e[r]){const t=y(e,r);n+=e.slice(r,t+1),r=t}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function E(e){if(void 0!==r.cssBuild)return r.cssBuild;if(void 0===e.__cssBuild){const t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{const t=k(e);""!==t&&function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}(e),e.__cssBuild=t}}return e.__cssBuild||""}function x(e){return""!==E(e)}function k(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){const e=t.textContent.trim().split(":");if("css-build"===e[0])return e[1]}return""}function O(e=""){return!(""===e||!r.nativeCssVariables)&&(r.nativeShadow?"shadow"===e:"shady"===e)}},"./node_modules/@webcomponents/shadycss/src/template-map.js":function(e,t,n){"use strict";n.r(t);t.default={}},"./node_modules/@webcomponents/shadycss/src/unscoped-style-handler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"scopingAttribute",(function(){return o})),n.d(t,"processUnscopedStyle",(function(){return i})),n.d(t,"isUnscopedStyle",(function(){return a}));const r=new Set,o="shady-unscoped";function i(e){const t=e.textContent;if(!r.has(t)){r.add(t);const n=e.cloneNode(!0);document.head.appendChild(n)}}function a(e){return e.hasAttribute(o)}},"./node_modules/@webnotes/web-editor-build/image_viewer.js.css":function(e,t){},"./node_modules/@webnotes/web-editor-build/pdf_viewer.js":function(e,t,n){(function(t){(()=>{var t,n,r,o={35130:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(19601),e.exports=function(e,t){var n=t.content,o=t.attributes;return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var i,a,s;return i=t,(a=[{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){var t=this.props;return e("svg",Object.assign({dangerouslySetInnerHTML:{__html:n}},o,t),t&&t.children)}}])&&r(i.prototype,a),s&&r(i,s),t}()}},5813:(e,t,n)=>{var r=n(35130),o=n(79758).h;e.exports=r.bind(null,o)},49096:(e,t,n)=>{"use strict";n(92222),n(30489),n(12419),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=n(49190);function i(e){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}r.wA},19617:(e,t,n)=>{"use strict";n(19601),n(79758)},25251:(e,t,n)=>{"use strict";n(21249),n(47941),n(79758)},83483:(e,t,n)=>{"use strict";n(79758)},10856:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});n(19601);var r=n(79758),o=n(81578),i=n(92143),a=n(28480),s=n(21791),l=n.n(s),c=n(28199);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=parseInt(o.menuItemHeight),f=parseInt(o.menuPadding),h=(0,c.ZP)("enter"),m=(0,c.ZP)("esc"),g=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"onRef",(function(e){n.domNode=e,n.props.domRef&&n.props.domRef(e),n.popper=null})),d(this,"disableRecycling",(function(){n.nextBase=null})),d(this,"onResize",(function(){n.popper.destroy(),n.createPopper()})),d(this,"onResizeDebounce",l()(this.onResize,200,{trailing:!0})),d(this,"onBodyMouseDown",(function(e){var t=e.target;t===n.domNode||n.domNode.contains(t)||n.props.wantsToClose(e)})),d(this,"onBodyKeyDown",(function(e){var t=n.props,r=t.closeOnEsc,o=t.onEnterAction,i=t.wantsToClose;if(m(e)&&r&&i){e.stopPropagation();var a=n.domNode&&n.domNode.getElementsByClassName("popup-menu");a&&0===a.length&&i(e)}else if(h(e)&&o){e.stopPropagation();var s=[e];if(n.keyNavigator){var l=n.keyNavigator.getSelected();s.push(l)}o.apply(void 0,s),i&&i()}else n.keyNavigator&&n.keyNavigator.handleEvent(e)}));var r=t.keyNavigation,o=t.keyNavigationParams,i=void 0===o?{}:o,s=Object.assign({},{popup:this,selector:".menu-item",selectedClass:"menu-item-selected"},i);this.keyNavigator=!!r&&new a.Z(s),this.resizeObserver=null}var t,n,o;return t=e,(n=[{key:"createPopper",value:function(){var e=this.props,t=e.anchorNode,n=e.anchorOptions,r=e.removeOnPopperDestroy;this.popper=(0,i.f)(t,this.domNode,Object.assign({},{removeOnDestroy:r||!1},n))}},{key:"shouldComponentUpdate",value:function(e){return!this.props.freeze&&!e.freeze}},{key:"componentDidUpdate",value:function(e){var t=this.props.anchorNode;t&&e.anchorNode!==t?(this.popper.destroy(),this.createPopper()):this.popper&&this.popper.update&&this.popper.update()}},{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.wantsToClose,r=t.anchorNode;n&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("mousedown",e.onBodyMouseDown)}),0)),document.body.addEventListener("keydown",this.onBodyKeyDown),r&&this.createPopper(),this.props.listenSizeChange&&(this.resizeObserver=new ResizeObserver(this.onResize),this.resizeObserver.observe(this.domNode),window.addEventListener("resize",this.onResizeDebounce))}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),document.body.removeEventListener("mousedown",this.onBodyMouseDown),document.body.removeEventListener("keydown",this.onBodyKeyDown),this.popper&&this.popper.destroy(),this.props.listenSizeChange&&(this.resizeObserver.disconnect(),window.removeEventListener("resize",this.onResizeDebounce)),setTimeout(this.disableRecycling)}},{key:"render",value:function(){var e=this.props,t=e.maxHeight,n=e.addClassName,o=e.customStyles,i=Object.assign({},o&&o||{});if(t){var a=Math.floor((t-f)/p)*p;i.maxHeight=a+f+("visible"===i.overflowY?f:0)+"px"}return(0,r.h)("div",{style:i,className:"popup-menu "+(n||""),ref:this.onRef,onMouseDown:this.props.onMouseDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},this.props.children)}}])&&u(t.prototype,n),o&&u(t,o),e}()},28411:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});n(69600),n(30489),n(12419),n(19601),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=n(20199),i=n(49190),a=n(49839);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=(0,n(28199).ZP)("esc"),y=function(e){!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}}),t&&u(e,t)}(h,e);var t,n,s,p=d(h);function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),m(f(t=p.call(this,e)),"disableRecycling",(function(){t.nextBase=null})),m(f(t),"onMouseEnter",(function(e){t.props.submenu&&t.setState((function(){return{submenuVisible:!0}})),t.props.onMenuItemEnter&&t.props.onMenuItemEnter(e)})),m(f(t),"onMouseLeave",(function(){t.props.submenu&&t.setState((function(){return{submenuVisible:!1}})),t.props.onMenuItemLeave&&t.props.onMenuItemLeave()})),m(f(t),"onMouseMove",(function(e){t.props.onMenuItemMouseMove&&t.props.onMenuItemMouseMove(e)})),m(f(t),"onRef",(function(e){t.domNode=e})),m(f(t),"onMouseDown",(function(e){e.preventDefault(),e.stopPropagation(),t.props.onMouseDown&&t.props.onMouseDown()})),m(f(t),"onContextMenu",(function(e){e.preventDefault()})),m(f(t),"onBodyKeyDown",(function(e){g(e)&&t.props.submenu&&(e.stopPropagation(),t.setState((function(e){if(e.submenuVisible){var n=t.props.submenu&&t.props.submenu.props&&t.props.submenu.props.anchorNode;if(n){var r=n.lastChild&&n.lastChild.firstChild&&n.lastChild.firstChild.className,o=n.getElementsByClassName("popup-menu");if(1===o.length||o.length>1&&"popup-menu"===r)return{submenuVisible:!1}}}return null})))})),t.state={submenuVisible:!1},t.domNode=null,t}return t=h,(n=[{key:"componentDidMount",value:function(){var e=this;this.props.submenu&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("keydown",e.onBodyKeyDown)}),0))}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),this.props.submenu&&document.body.removeEventListener("keydown",this.onBodyKeyDown),setTimeout(this.disableRecycling)}},{key:"render",value:function(){var e=this.state.submenuVisible,t=this.props,n=t.id,s=t.idAttr,c=t.menuStyle,u=t.disabled,d=t.submenu,p=t.text,f=t.className,h=t.isNew,m=this.props.hint,g=this.props.icon,y={};s&&(y[s]=n);var v=["menu-item"];if(f&&v.push(f),c)if("link"===c)v.shift(),v.push("link-menu-item");else{var b=c;for(var _ in"string"==typeof b&&(b=[b]),b)v.push("menu-item-"+b[_])}u&&v.push("disabled"),d&&!m&&(m=(0,r.h)(i.Ec8,null));var w=null;if(d){d.props.anchorNode=this.domNode;var C=e?d:null;w=(0,r.h)(a.Z,{transitionName:"popup-menu",transitionEnterTimeout:o.popupAppearDuration,transitionLeaveTimeout:o.popupAppearDuration},C)}var S=null;return h&&(S=(0,r.h)("span",{className:"is-new"},"New")),(0,r.h)("div",l({},y,{ref:this.onRef,"data-menu-id":n,onClick:this.props.onClick,onMouseDown:this.onMouseDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseMove:this.onMouseMove,onContextMenu:this.onContextMenu,className:v.join(" ")}),g?(0,r.h)("div",{className:"icon"},(0,r.h)(g,null)):null,(0,r.h)("div",{className:"text"},p,S),m?(0,r.h)("div",{className:"hint"},m):null,w)}}])&&c(t.prototype,n),s&&c(t,s),h}(r.wA)},407:(e,t,n)=>{"use strict";n.d(t,{Pj:()=>U,xv:()=>T});n(30489),n(12419),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=(n(74916),n(23123),n(69600),n(73210),n(4723),n(15306),n(40561),n(21249),n(19601),n(8065)),i=n(50172),a=n.n(i);n(68309),n(57327),n(47941);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l,c={};function u(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==u.options.trim){var o=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==u.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===u.options.trim||o?"":" "))||" "===r)&&n.length>1&&o)return null}return r}if(1!==e.nodeType)return null;var i=String(e.nodeName).toLowerCase();if("script"===i&&!u.options.allowScripts)return null;var a,s,l=u.h(i,function(e){var t=e&&e.length;if(!t)return null;for(var n={},r=0;r<t;r++){var o=e[r],i=o.name,a=o.value;"on"===i.substring(0,2)&&u.options.allowEvents&&(a=new Function(a)),n[i]=a}return n}(e.attributes),(s=(a=e.childNodes)&&Array.prototype.map.call(a,u).filter(p))&&s.length?s:null);return u.visitor&&u.visitor(l),l}var d,p=function(e){return e},f={};function h(e){var t=(e.type||"").toLowerCase(),n=h.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}const m=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){d=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,o=e.type,i=e.markup,a=e.components,p=e.reviver,m=e.onError,g=e["allow-scripts"],y=e["allow-events"],v=e.trim,b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),_=p||this.reviver||this.constructor.prototype.reviver||d||r.h;this.setComponents(a);var w={allowScripts:g,allowEvents:y,trim:v};try{n=function(e,t,n,r,o){var i=function(e,t){var n,r,o,i,a="html"===t?"text/html":"application/xml";"html"===t?(i="body",o="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(i="xml",o='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(o,a)}catch(e){r=e}if(n||"html"!==t||((n=l||(l=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(o),n.close()),n){var s=n.getElementsByTagName(i)[0],c=s.firstChild;return e&&!c&&(s.error="Document parse failed."),c&&"parsererror"===String(c.nodeName).toLowerCase()&&(c.removeChild(c.firstChild),c.removeChild(c.lastChild),s.error=c.textContent||c.nodeValue||r||"Unknown error",s.removeChild(c)),s}}(e,t);if(i&&i.error)throw new Error(i.error);var a=i&&i.body||i;h.map=r||f;var s=a&&function(e,t,n,r){return u.visitor=t,u.h=n,u.options=r||c,u(e)}(a,h,n,o);return h.map=null,s&&s.props&&s.props.children||null}(i,o,_,this.map,w)}catch(e){m?m({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var C=b.hasOwnProperty("className")?"className":"class",S=b[C];return S?S.splice?S.splice(0,0,"markup"):"string"==typeof S?b[C]+=" markup":"object"==s(S)&&(S.markup=!0):b[C]="markup",_("div",b,n||null)},t}(r.wA);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=(0,r.kr)({intl:{}});function v(e){return null!=e}function b(e,t){for(var n in t)e[n]=t[n];return e}var _=/[?&#]intl=show/;function w(e){var t=e.scope,n=e.mark,i=e.definition,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["scope","mark","definition"]),s=b({},(0,o.qp)(y).intl||{});return t&&(s.scope=t),i&&(s.dictionary=function e(t,n){var r=b({},t);for(var o in n)n.hasOwnProperty(o)&&(t[o]&&n[o]&&"object"===g(t[o])&&"object"===g(n[o])?r[o]=e(t[o],n[o]):r[o]=t[o]||n[o]);return r}(s.dictionary||{},i)),(n||"undefined"!=typeof location&&String(location).match(_))&&(s.mark=!0),(0,r.h)(y.Provider,{value:{intl:s}},a.children)}function C(e,t){if(arguments.length<2)return t=e,function(e){return C(e,t)};function n(n){return(0,r.h)(w,t||{},(0,r.h)(e,n))}return n.getWrappedComponent=e&&e.getWrappedComponent||function(){return e},n}var S={};function E(e,t,n,r){return e&&e.replace(/\{\{([\w.-]+)\}\}/g,x.bind(null,t||S,n,r))}function x(e,t,n,r,o){for(var i=o.split("."),a=e,s=0;s<i.length;s++){if(null==(a=a[i[s]]))return"";if(a&&a.type===T)return k(a.props.id,t,n,a.props.fields,a.props.plural,a.props.fallback)}return"string"==typeof a&&a.match(/\{\{/)&&(a=E(a,e)),a}function k(e,t,n,r,o,i){t&&(e=t+"."+e);var s=n&&a()(n,e);return(o||0===o)&&s&&"object"===g(s)&&(s=s.splice?s[o]||s[0]:0===o&&v(s.none||s.zero)?s.none||s.zero:1===o&&v(s.one||s.singular)?s.one||s.singular:s.some||s.many||s.plural||s.other||s),s&&E(s,r,t,n)||i||null}function O(e){var t=e.value,n=e.id,i=(0,o.qp)(y).intl;if(i&&i.mark){var s="dictionary"+(i&&i.scope?"."+i.scope:"")+"."+n;return(0,r.h)("mark",{style:{background:t?a()(i,s)?"rgba(119,231,117,.5)":"rgba(229,226,41,.5)":"rgba(228,147,51,.5)"},title:n},t)}return t}function T(e){var t=e.id,n=e.children,i=e.plural,a=e.fields,s=(0,o.qp)(y).intl,l=k(t,s&&s.scope,s&&s.dictionary,a,i,n);return(0,r.h)(O,{id:t,value:l})}function A(e,t,n){var r={};for(var o in t=t||{},e=function(e){if("string"==typeof(e=e||{})&&(e=e.split(",")),"join"in e){for(var t={},n=0;n<e.length;n++){var r=e[n].trim();r&&(t[r.split(".").pop()]=r)}return t}return e}(e))if(e.hasOwnProperty(o)&&e[o]){var i=e[o];n||"string"!=typeof i?i.type===T&&(i=b({fallback:i.props.children},i.props),r[o]=k(i.id,t.scope,t.dictionary,i.fields,i.plural,i.fallback)):r[o]=k(i,t.scope,t.dictionary)}return r}function P(e){var t=e.children,n=(0,o.qp)(y).intl;return t&&t.length?t.map((function(e){return(0,r.Tm)(e,A(e.props,n,!0))})):t&&(0,r.Tm)(t,A(t.props,n,!0))}function R(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}function I(e){var t=e.html,n=e.id,o=R(e,["html","id"]);return(0,r.h)(O,{id:n,value:t?"string"==typeof t?(0,r.h)(m,Object.assign({},{type:"html",trim:!1},o,{markup:t})):(0,r.h)("span",null,t):t})}C.intl=C,C.IntlContext=y,C.IntlProvider=w,C.Text=T,C.MarkupText=function(e){var t=e.id,n=e.fields,o=e.plural,i=e.children,a=R(e,["id","fields","plural","children"]);return(0,r.h)(P,null,(0,r.h)(I,Object.assign({},{html:(0,r.h)(T,{id:t,fields:n,plural:o,children:i}),id:t},a)))},C.Localizer=P,C.withText=function(e){return function(t){function n(n,i){var a=(0,o.qp)(y).intl,s=A("function"==typeof e?e(n,{intl:a}):e,a);return(0,r.h)(t,b(b({},n),s))}return n.getWrappedComponent=t&&t.getWrappedComponent||function(){return t},n}},C.useText=function(e){var t=(0,o.qp)(y).intl;return A("function"==typeof e?e({intl:t}):e,t)},C.translate=k;(0,r.kr)({intl:{}}),n(92222);JSON.parse('{"table":{"common":{"column":"Column"},"move_column_cant_split_merged_cells":{"title":"Unable to move column","text":"Cannot move a column into a merged cell. Unmerge then try again."},"move_column_cant_move_part_of_merged_cells":{"title":"Unable to move column","text":"The column you\'re trying to move contains part of a merged cell. If you want to move the column, unmerge the cells first."},"move_column_failed":{"title":"Unable to move column","text":"An unexpected error has occured while moving a column, plese try again."},"move_row_cant_split_merged_cells":{"title":"Unable to move row","text":"Cannot move a row into a merged cell. Unmerge then try again."},"move_row_cant_move_part_of_merged_cells":{"title":"Unable to move row","text":"The row you\'re trying to move contains part of a merged cell. If you want to move the row, unmerge the cells first."},"move_row_cant_move_in_sortable_table":{"title":"Unable to move row","text":"Cannot move a row in a sortable table. Cancel sorting then try again."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Unable to move row","text":"An unexpected error has occured while moving a row, plese try again."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Delete","help":"Help","delete_column":{"one":"Delete column","many":"Delete {{count}} columns"},"delete_row":{"one":"Delete row","many":"Delete {{count}} rows"},"add":"Add","add_row_before":{"one":"Row above","many":"{{count}} rows above"},"add_row_after":{"one":"Row below","many":"{{count}} rows below"},"add_col_before":{"one":"Column left","many":"{{count}} columns left"},"add_col_after":{"one":"Column right","many":"{{count}} columns right"},"copy_cell":{"one":"Copy cell","many":"Copy cells"},"copy_table":"Copy table","table_layout":{"name":"Table layout","column_headings":"Column headings","row_headings":"Row headings"},"import_csv":"Import from CSV","merge_cells":"Merge cells","insert_checkbox":"Insert checkbox","background_color":"Background color","formatting":"Formatting","clear":"Clear","reset":"Reset","divide_cells":"Unmerge cells","type":{"name_cell":"Cell type","name_cells":"Cells type","name_column":"Column type","name_columns":"Columns type","type_cell":{"one":"Cell type","many":"Cells type"},"type_col":{"one":"Column type","many":"Columns type"},"same_as_column":"Same as column","reset_cells":"Reset cells to default","none":"Multi type","text":"Text","textline":"Text","number":"Number","attachment":"Files","checkbox":"Checkbox","multiselect":"Multiple select","singleselect":"Single select","collaborator":"Collaborator","currency":"Currency","date":"Date","link":"Link","rating":"Rating","progress":"Progress","mention":"Mention"},"number_format":{"name":"Number format","number":"Number","commas":"Number with commas","percent":"Percent"},"currency_format":{"name":"Currency type","dollar":"Dollar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rouble","pound":"Pound","rupee":"Rupee","hryvnia":"Hryvnia","won":"Won","frank":"Frank","real":"Real","other":"Other","stick":"Show symbol","before":"Before","after":"After"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Progress options","simple":"Simple","colored":"Colored","start_from":"Start from (0-100)","default_amount":"Default amount (0-100)"},"rating_format":{"name":"Rating options","star":"Star","flag":"Flag","heart":"Heart","amount":"Amount (1-10)"},"date_format":{"name":"Date/Time format"},"mention_panel":{"open":"Open","edit":"Edit","clear":"Clear"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Comment"},"formatting_menu":{"align_left":"Left","align_center":"Center","align_right":"Right","valign_top":"Top","valign_center":"Middle","valign_bottom":"Bottom","text":"Text","text_align":"Text align","text_color":"Text color","bold":"Bold","italic":"Italic","strikethrough":"Strikethrough","underline":"Underline"},"col_menu":{"add_column_after":{"one":"Add column right","many":"Add {{count}} columns right"},"add_column_before":{"one":"Add column left","many":"Add {{count}} columns left"},"duplicate_column":{"one":"Duplicate column","many":"Duplicate columns"},"rename":"Rename"},"row_menu":{"add_row_after":{"one":"Add row below","many":"Add {{count}} rows below"},"add_row_before":{"one":"Add row above","many":"Add {{count}} rows above"}},"warning":{"merge_different":"Can\'t merge different types of objects","convert_merged":"Can\'t convert merged cells"},"select":{"create_list":"Type to create a list","create_item":"Type to create an item","create_option":"Type to create option","create_label":"Type to create label","create":"Create","delete":"Delete"},"attachment":{"upload_more":"Upload file(s)","downloading":"Downloading"},"collaborator":{"placeholder":"Type to add people","no_result":"No results","loading":"Loading...","unknown":"Unknown Person"},"checkbox":{"checked":"Yes","not_checked":"No"},"sorting":{"name":"Sorting","sort":"Sort","disable":"Remove sort","change":"Click for change","asc":{"common":"Ascending","text":"Sort A-Z","number":"Sort 1-9","checkbox":"Unselected first"},"desc":{"common":"Descending","text":"Sort Z-A","number":"Sort 9-1","checkbox":"Selected first"},"warning":{"column_merged":{"title":"Unable to sort column","text":"Can\'t sort column with merged cells"},"table_rowspan":{"title":"Unable to sort column","text":"Can\'t sort table with merged rows"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Sort warning","text":"You\'re using different currencies in one column. Sorting may be incorrect."}},"exit_dialog":{"title":"Remove sort","toggle":"Keep sorted","text_keep":"Keep sorted","text_no_keep":"Column order will be restored to its initial order before sorting was applied","apply":"Apply"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Wrap cells","warnings":{"merge":{"title":"Unable to merge cells","text":"Unable to merge cells in nowrap mode"},"toggle":{"title":"Unable to switch option","text":"The table contains merged cells"}}},"duplicate_column":{"title":"Duplicate column","text_1":"Duplicate column content","text_2":"You can duplicate the whole column containing data or leave duplicated column empty","accept":"Duplicate","copy":"copy"},"convert_column":{"title":"Change column type","text_before":"This column contains values. Changing the column type will erase some of the values. Use","text_cmd":"undo","text_after":"command to reverse changes if needed.","accept":"Change type"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Show calculation bar","name":{"none":"None","all":"All","empty":"Empty","fill":"Filled","unique":"Unique","empty_percent":"Percent empty","fill_percent":"Percent filled","unique_percent":"Percent unique","sum":"Sum","average":"Average","min":"Min","max":"Max","median":"Median","min_date":"Earliest date","max_date":"Latest date","range_days":"Date range (days)","range_month":"Date range (month)","checked":"Checked","unchecked":"Unchecked","checked_percent":"Percent checked","unchecked_percent":"Percent unchecked","filter_rating":"With rating:","filter_progress":"With progress:","filesize_min":"Min size","filesize_max":"Max size"},"item":{"none":"Calculate","min_date":"Earliest","max_date":"Latest","range_days":"Range (days)","range_month":"Range (month)","checked_percent":"Checked","unchecked_percent":"Unchecked","filter_rating":"With rating","filter_progress":"With progress"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Couldn\'t load the image"},"download_file":"Download {{name}}","listen_file":"Play {{name}}","stop_file":"Stop {{name}}","uploading":"Uploading","wrtc":{"how_to_fix":"How to fix it?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Recording error. No microphone access.","rec_err_vi":"Recording error. No access to microphone/webcam. ","allow_micro":"Allow Access to microphone","allow_media":"Select the window you want to record","select_opt":"What will be recorded","screenonly":"Screen only","camonly":"Cam only","screencam":"Screen + Cam","enable_micro":"Enable microphone","startRecording":"Start recording","stopRecording":"Stop recording","pauseRecording":"Pause recording","resumeRecording":"Resume recording","cancelRecording":"Сancel recording","confirmCancel":"Are you sure you want to cancel the video recording?","cancel":"Сancel","prepareUpload":"Please wait, preparing to upload record","hasTmpRecord":"The recording was interrupted but not lost","restore":"Restore","delete":"Delete","recordOnAnotherDevice":"Recording is in progress on another device ..."},"menu":{"enabled":"Enabled","disabled":"Disabled","open_in_new_tab":"Open in new tab","copy_link":"Copy link to file","expand_in_full_window":"Expand in Full Window","autoplay":"Autoplay","sound_default":"Sound by default","sound_loop":"Loop","sound_hideControls":"Hide controls","sound_showPanel":"Show top panel","shadow_video":"Shadow for video","video_params":"Video settings","disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Print","convert_to_image":"Convert to image","convert_to_file":"Convert to file","style":"Style","shadow_image":"Shadow for image","rename":"Rename","replace":"Replace","delete":"Delete","download":"Download","get_text_from_image":"Get text from image","view_as":"View as","single_page":"Single page","all_pages":"All pages","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Downloading","attachment_not_found_error":"Error while uploading","pdf_viewer":{"initializing_full_window_view":"Initializing Full Window view","preparing_document_for_printing":"Preparing document for printing...","printing_initialization":"Printing initialization...","abort":"abort","set_page_as_default":"Set page as default","unset_page_as_default":"Default page. Click to make the page normal."},"video_just_uploaded_codec_error":"You are trying to upload a video that has been encoded with the {codec} codec. We do not guarantee the correct playback of this video on all browsers. We recommend converting the video to another format and uploading it again.","video_codec_error":"This video is encoded with {codec} codec, which is not supported in your browser.","safari_webm_not_support":"Currently, Safari browsers do not support WEBM format. Try to open the page in another browser, such as Google Chrome or Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Text from image","no_text":"There is no text","copy":"Copy all text"},"unknown_error":"The link is wrong","add_image":"Paste link or ","add_image_or":"or","add_image_small":"Paste or ","browse":"browse","browse_image":"Browse image","too_large_error":"The image size is too large","image_info_dialog":{"title":"Image info","type":"Type","size":"Size","location":"Location","copy_link":"Copy link"},"rotate_wait":{"full":"Please wait","medium":"Wait"},"attachment_not_found_error":"An unexpected error has occured with the image","readonly_placeholder":"Empty image","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Something went wrong, try choosing another file","attachment_is_being_uploaded":"A file is being uploaded on another device...","attachment_will_be_downloaded_online":"The file will be downloaded when you are online.","attachment_preview_is_not_available":"Preview is not available.","choose_a_file":"Choose files","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Play","pause":"Pause","volume":"Volume","fullscreen_on":"Fullscreen","fullscreen_off":"Exit Fullscreen","watch_again":"Watch again"}},"search":{"placeholder":"Find in page","matches":"Matches:"},"copy":{"copied":"Copied!","copy_to_clipboard":"Copy to clipboard"},"apply":"Apply","done":"Done","block_menu":{"align":{"left":"Left align","center":"Center align","right":"Right align","justify":"Justify"},"indent":{"indent":"Increase indent","outdent":"Decrease indent"},"tooltip":"Drag to move\\n<span>Click to open menu</span>","copy_tooltip":"Copy link","color":{"background_color":"Background color","color":"Color","line_color":"Line color","line_type":"Line type","player_color":"Player\'s color"},"line_type":{"default":"Standart line","dotted":"Dots"},"add":{"name":"Add block","above":"Above","below":"Below","left":"Left","right":"Right","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Convert to","to_do_list":"Checklist","number_list":"Number List","bullet_list":"Bullet List","paragraph":"Paragraph","large_heading":"Large Heading","medium_heading":"Medium Heading","small_heading":"Small Heading","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Code","quote":"Quote","hint":"Hint","image":"Image","file":"File","remote_frame":"Embed","link":"Link","bookmark":"Bookmark","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Comment","edit":"Edit","duplicate":"Duplicate","copy_block":"Copy block","copy_blocks":"Copy blocks","copy_link":"Copy Link","delete":"Delete","replace":"Replace","blot_lock":"Lock block","blot_unlock":"Unlock block","set_as_preview":"Set as preview","get_text_from_image":"Get text from image","edit_image":"Edit image","download":"Download","view_full_size":"View full size","open_in_new_tab":"Open in new tab","image_info":"Image info","rotate_image":"Rotate","add_sub_task":"Add subtask","add_sub_text":"Add subtext","layout":"Layout","embed_align":{"left":"Left align","center":"Center align","right":"Right align","default":"Default size","full_width":"Full width"},"expand_all":"Expand all","collapse_all":"Collapse all","add_caption":"Add caption","blot_locked_admin":"Editing of the block is denied. Click to unlock it.","blot_locked_admins":"Editing of the blocks is denied. Click to unlock it.","blot_locked_user":"You don’t have permission to edit this bock. Contact your organization admin.","show_header":"Show top bar","show_borders":"Show borders","rename":"Rename"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Integrations","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"More items...","add_an_element":"Add an element","paragraph":"Paragraph","todo":"Checkbox list","numbered_list":"Numbered list","bullet_list":"Bullet list","table":"Table","image":"Image","file":"File","audioRec":"Audio Record","videoRec":"Video Record","recordExist":"You cannot start a new recording until the previous one is completed. End or delete the previous record to start a new one.","large_heading":"Heading 1","medium_heading":"Heading 2","small_heading":"Heading 3","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Line","link":"Link","code":"Code","quote":"Quote","hint":"Hint","hint_placeholder":"Type something","mention":"Mention member","outline":"Outline","remote_frame":"Embed: Link, iFrame, JS Code","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Toggle block","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Marketing Strategy","marketing_brief":"Marketing Quarterly Planning ","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"This ID can be used in the future when editing the CSS file.","address":"URL or Email","open_in_new_tab":"Open in new tab","shape":"Button shape","background":"Background","size":"Button size","small":"Small","medium":"Medium","big":"Big","cancel":"Cancel","done":"Done","length_error":"The text is too large for the button. Try selecting less text (no more than 50 characters).","type":"Button type","default":"Default","withShadow":"Button with shadow","3d":"3d button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Open","send":"Send","copy":"Copy","edit":"Edit","remove":"Remove","text_label":"Text","url_label":"Link","email_label":"Address","copied":"Link copied to clipboard","cancel":"Cancel","done":"Done"},"syntax":{"menu":{"language":"Language","theme":"Theme","wrap":"Enable wrap","unwrap":"Disable wrap","lineNumbersOn":"Show line numbers","lineNumbersOff":"Hide line numbers"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"List style","type_default":"Default","type_rectangle":"Rectangle","type_star":"Star","type_dart":"Dart","type_rounded":"Rounded","type_arrow":"Arrow","type_diamond":"Diamond"},"caption":{"placeholder":"Add caption"},"mention":{"show_all":"Show all","show_all_users":"Show all","placeholder":"Showing recent or type to search","user":"People","workspace":"Workspaces","folder":"Folders","note":"Pages","no_results":"No results","offline_message":"Mention only works with active connection. Turn on the Internet and try again.","info":{"note":{"one":"page","some":"pages","many":"pages"},"subfolder":{"one":"subfolder","some":"subfolders","many":"subfolders"},"member":{"one":"member","some":"members","many":"members"},"owner":"owner","loading":"Loading preview...","loading_failed":"Loading failed","not_loaded":"Page has not been loaded yet"},"back_button":"Back","create_note_for":"Create Page:","create_folder_for":"Create Folder:"},"calendar":{"ui":{"date":"Date","am":"AM","pm":"PM","date_format":"Date format","show_time":"Show time","time_format":"Time format","time_12":"12H","time_24":"24H","first_week_day":"First day of the week","time_zone":"Time zone","use_gmt":"Use GMT for all members","use_gmt_hint":"Use the same time zone (GMT) for all collaborators","table":{"clear":"Clear"},"inline":{"clear":"Delete"},"reminder":{"name":"Alert","panel_name":"Alert","push_name":"Reminder of the event","remove_confirm_message":"You have set reminders that are tied to the time. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Do not delete","before_period":"","after_period":"before","period":{"m":{"one":"minute","many":"minutes"},"h":{"one":"hour","many":"hours"},"d":{"one":"day","many":"days"},"w":{"one":"week","many":"weeks"}},"value":{"none":"None","0m":"On start","1m":"1 minute before","5m":"5 min before","10m":"10 minutes before","15m":"15 minutes before","30m":"30 minutes before","1h":"Hour before","2h":"2 hours before","1d":"Day before","2d":"2 days before","7d":"Week before","10d":"10 days before","14d":"2 weeks before","custom":"Custom"},"until":{"in":"In","d":"d","h":"h","m":"min","already_been":"Already been","less_minute":"Less than a minute","now":"Now"}},"postfix":{"day":"d","month":"m"}},"insert":{"category_name":"Date","custom":"Custom","now":"Now","today":"Today","tomorrow":"Tomorrow"},"date_format":{"ddmmyyyy":"dd/mm/yyyy","mmddyyyy":"mm/dd/yyyy","yyyyddmm":"yyyy/mm/dd","monthddyyyy":"Month dd, yyyy","default":"Match browser format"},"months":{"0":"January","1":"February","2":"March","3":"April","4":"May","5":"June","6":"July","7":"August","8":"September","9":"October","10":"November","11":"December"},"days":{"short":{"0":"Su","1":"Mo","2":"Tu","3":"We","4":"Th","5":"Fr","6":"Sa"},"full":{"0":"Sunday","1":"Monday","2":"Tuesday","3":"Wednesday","4":"Thursday","5":"Friday","6":"Saturday"}}},"content_not_supported":"This page is not supported on your version of the FuseBase app. Try updating it or use another client with the latest version.","profession_ask":{"title":"Save time by using templates to create new pages","text":"Type in your occupation and our team will create templates for you. It’s free, with no hidden charges","i_am_a":"I am a","placeholder":"e.g. designer, teacher, sales agent, etc.","request_template":"Request template","sucess_message":"Thank you! Your occupation will be added into our queue."},"bookmark":{"name":"Bookmark","edit":"Edit bookmark","title":"Title","address":"Address","description":"Description","placeholder":"Paste or write link with https://...","placeholder_mobile":"Paste or write link","loading_preview":"Loading preview…","block_menu":{"change_mode":{"menu_name":"View as","mode_tile":"Tile","mode_card":"Card","mode_cover":"Cover"},"change_preview":"Change preview","delete_preview":"Delete preview","reset_preview":"Reset preview","change_preview_background":"Preview background","options":{"menu_name":"Options","open_in_same_tab":"Open in same tab"}},"error":{"unknown_error":"Something went wrong, try enter another URL","preview_notfound":"Previews not found"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Name","ORGANIZATION":"Company","TITLE":"Title","ADDRESS":"Position","URL":"Site","PHONE":"Phone","EMAIL":"Email","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Cancel"}},"outline":{"default_name":"Outline","menu":{"expand":"Expand","collapse":"Collapse","rename":"Rename"},"context_menu":{"convert_to":{"text":"Text"},"style":{"name":"Outline style","list_only":"List only","numbered_list":"Numbered list","bordered":"Show border","border_color":"Border color"}},"empty":"Add Headlines to your page and they will appear as links here"},"floating_toolbar":{"bold":"Bold","italic":"Italic","underline":"Underline","strikethrough":"Strikethrough","clear":"Clear Formatting","code":"Code","button":"Button","link":"Link","highlight":"Highlight","extraHighlight":"Text labels","color":"Color and highlight","text":"Text","clear_all":"Clear all","placeholder":"Placeholder","adapts":{"dark":"Adapts to a dark theme","light":"Adapts to a light theme"},"create_note":"Create page","add_comment":"Add comment"},"remote_frame":{"placeholder_small":"Embed URL","placeholder_full":"Embed any URL, like YouTube, Github, Maps, Twitter, etc.","loading":"Loading...","context_menu":{"change_link":"Change link","full_size":"Full screen","reset_size":"Reset size","open_origin":"Open original","layout":"Layout","show_toolbar":"Show editing toolbar","copy_original":"Copy link to original"},"error":{"is_not_link":"Link or code is incorrect","content_error":"This URL is not supported or invalid. <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">Contact us</a> if you think that this URL can be embedded.","unknown_error":"Something went wrong, try enter another URL","wrong_signature":"This content is corrupted and cannot be displayed","google_docs_auth_error":"Most likely you can\'t embed Google Docs/Sheets/Slide file because you don\'t have access to it. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Please read our guide.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Convert to bookmark","convert_link":"Convert to link","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Loading...","menu":{"expand":"Expand","collapse":"Collapse","open_origin":"Open in Google Drive","download":"Download","change_account":"Change account","choose_another_file":"Choose another file"},"last_modified":"Last modified by {{userName}} {{time}} ago","browse":"Browse file","login":"Sign in with Google","login_text":"Browse files and add from Google Drive"},"html":{"default_name":"HTML","loading":"Loading...","menu":{"open_source":"Open source link","export_blot":"Save HTML"},"unknown_error":"Unknown error","device_cant_display_content":"Your device can\'t display this content","wrong_signature":"This content is corrupted and cannot be displayed"},"relative_time":{"seconds":{"one":"{{count}} second","some":"{{count}} seconds","many":"{{count}} seconds"},"minutes":{"one":"{{count}} minute","some":"{{count}} minutes","many":"{{count}} minutes"},"hours":{"one":"{{count}} hour","some":"{{count}} hours","many":"{{count}} hours"},"days":{"one":"{{count}} day","some":"{{count}} days","many":"{{count}} days"},"months":{"one":"{{count}} month","some":"{{count}} months","many":"{{count}} months"},"years":{"one":"{{count}} year","some":"{{count}} years","many":"{{count}} years"}},"collapsible_content":{"menu":{"expand":"Expand","collapse":"Collapse","rename":"Rename"}},"convert_link":{"url":"URL","title":"Title","embed":"Embed","bookmark":"Bookmark","button":"Button","link_to_note":"Link to page","link_to_folder":"Link to folder","link_to_workspace":"Link to workspace","convert_error":"Error occurred while converting the URL"},"fullwidth":{"menu_item":"Full width"},"resizeable":{"point_tooltip":{"default":"Resize","bottom-right":"Resize\\n(press and hold the {{altKey}} button for free resize)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}');function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return B(this,n)}}function B(e,t){if(t&&("object"===M(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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}JSON.parse('{"table":{"common":{"column":"Колонка"},"move_column_cant_split_merged_cells":{"title":"Невозможно перенести колонку","text":"Невозможно перенести колонку в ячейки, которые были объединены. Сначала, уберите объединение."},"move_column_cant_move_part_of_merged_cells":{"title":"Невозможно перенести колонку","text":"В колонке, которую вы хотите перенести есть объедененные ячейки. Сначала, вам нужно убрать объеденение."},"move_column_failed":{"title":"Невозможно перенести колонку","text":"Ошибка при переносе колонки. Попробуйте снова."},"move_row_cant_split_merged_cells":{"title":"Невозможно перенести строку","text":"Невозможно перенести строку в ячейки, которые были объединены. Сначала, уберите объединение."},"move_row_cant_move_part_of_merged_cells":{"title":"Невозможно перенести строку","text":"В строке, которую вы хотите перенести есть объедененные ячейки. Сначала, вам нужно убрать объеденение."},"move_row_cant_move_in_sortable_table":{"title":"Невозможно перенести строку","text":"Невозможно перенести строку, если есть активная сортировка. Отключите сортировку и попробуйте снова."},"move_row_cant_move_in_filtered_table":{"title":"Невозможно перенести строку","text":"Невозможно перенести строку, если есть активные фильтры. Отключите фильтры и попробуйте снова."},"move_row_failed":{"title":"Невозможно перенести строку","text":"Ошибка при переносе строки. Попробуйте снова"},"first_move_column_or_row_message":"Вы можете выделить несколько строк или колонок, если зажмёте CTRL и будете кликать на нужные строки или колонки.","menu":{"delete":"Удалить","help":"Инструкция","delete_column":{"one":"Удалить колонку","many":"Удалить {{count}} колонки"},"delete_row":{"one":"Удалить строку","many":"Удалить {{count}} строки"},"add":"Добавить","add_row_before":{"one":"Добавить строку выше","many":"Добавить {{count}} строки выше"},"add_row_after":{"one":"Добавить строку ниже","many":"Добавить {{count}} строки ниже"},"add_col_before":{"one":"Добавить колонку слева","many":"Добавить {{count}} колонки слева"},"add_col_after":{"one":"Добавить колонку справа","many":"Добавить {{count}} колонки справа"},"copy_cell":{"one":"Копировать ячейку","many":"Копировать ячейки"},"copy_table":"Копировать таблицу","table_layout":{"name":"Стиль таблицы","column_headings":"Показывать колонтитул колонки","row_headings":"Показывать колонтитул строки"},"import_csv":"Импорт из CSV","merge_cells":"Объединить ячейки","insert_checkbox":"Вставить чекбокс","background_color":"Цвет фона","formatting":"Форматирование","clear":"Очистить","reset":"Сбросить значения","divide_cells":"Разъединить ячейки","type":{"name_cell":"Тип ячейки","name_cells":"Тип ячеек","name_column":"Тип колонки","name_columns":"Тип колонок","type_cell":{"one":"Тип ячейки","many":"Тип ячеек"},"type_col":{"one":"Тип колонки","many":"Тип колонок"},"same_as_column":"Как колонка","reset_cells":"Сбросить формат ячеек","none":"Общий тип","text":"Текст","textline":"Текст","number":"Числа","attachment":"Файлы","checkbox":"Чекбоксы","multiselect":"Много опций","singleselect":"Одна опция","collaborator":"Участники","currency":"Валюта","date":"Дата","link":"Ссылки","rating":"Рейтинг","progress":"Прогресс","mention":"Упоминание"},"number_format":{"name":"Формат числа","number":"Число","commas":"С разделителями","percent":"Проценты"},"currency_format":{"name":"Валюта","dollar":"Доллар","euro":"Евро","yen":"Иена","yuan":"Юань","rouble":"Рубль","pound":"Фунт","rupee":"Рупия","hryvnia":"Гривна","won":"Вона","frank":"Франк","real":"Риал","other":"Другая","stick":"Символ валюты","before":"До","after":"После"},"decimal_format":{"name":"Десятичный разделитель","comma":"Запятая","point":"Точка","hint":"Разделитель используется для десятичных разрядов. Например, если запятая, то будет такой вид: 1.000,99, а если точка, то: 1,000.99"},"progress_format":{"name":"Настройки прогресса","simple":"Простой","colored":"Цветной","start_from":"Начать с (0-100)","default_amount":"По умолчанию (0-100)"},"rating_format":{"name":"Настройки рейтинга","star":"Звезда","flag":"Флаг","heart":"Сердце","amount":"Число (1-10)"},"date_format":{"name":"Настройки даты и времени"},"mention_panel":{"open":"Открыть","edit":"Изменить","clear":"Удалить"},"color_numbers":{"name":"Цветные цифры","enable":"Включить цветные цифры"},"filter":"Фильтрация","comment":"Комментарий"},"formatting_menu":{"align_left":"Лево","align_center":"Центр","align_right":"Право","valign_top":"Верх","valign_center":"Середина","valign_bottom":"Низ","text":"Текст","text_align":"Выравнивание текста","text_color":"Цвет текста","bold":"Жирный","italic":"Наклонный","strikethrough":"Перечеркнутый","underline":"Подчеркнутый"},"col_menu":{"add_column_after":{"one":"Добавить колонку справа","many":"Добавить {{count}} колонки справа"},"add_column_before":{"one":"Добавить колонку слева","many":"Добавить {{count}} колонки слева"},"duplicate_column":{"one":"Дублировать колонку","many":"Дублировать колонки"},"rename":"Переименовать"},"row_menu":{"add_row_after":{"one":"Добавить строку снизу","many":"Добавить {{count}} строки снизу"},"add_row_before":{"one":"Добавить строку сверху","many":"Добавить {{count}} строки сверху"}},"warning":{"merge_different":"Невозможно объединить разные типы объектов","convert_merged":"Невозможно конвертировать объединенные ячейки"},"select":{"create_list":"Напишите, чтобы создать список","create_item":"Напишите, чтобы создать опцию","create_option":"Напишите, чтобы создать опцию","create_label":"Напишите лейбл","create":"Создать","delete":"Удалить"},"attachment":{"upload_more":"Загрузить файлы","downloading":"Загрузка"},"collaborator":{"placeholder":"Введите имя","no_result":"Не найдено","loading":"Загрузка...","unknown":"Неизвестный"},"checkbox":{"checked":"Да","not_checked":"Нет"},"sorting":{"name":"Сортировка","sort":"Сортировка","disable":"Отключить сортировку","change":"Клик, чтобы поменять","asc":{"common":"По возрастанию","text":"От А до Я","number":"От 1 до 9","checkbox":"Сначала неотмеченные"},"desc":{"common":"По убыванию","text":"От Я до А","number":"От 9 до 1","checkbox":"Сначала отмеченные"},"warning":{"column_merged":{"title":"Не удалось отсортировать колонку","text":"Невозможно отсортировать колонку с объединенными ячейками"},"table_rowspan":{"title":"Не удалось отсортировать колонку","text":"Невозможно отсортировать таблицу с объединенными строками"},"merge":{"title":"Нельзя объединять ячейки","text":"Нельзя объединять ячейки при активной сортировке колонки. Отключите сортировку и попробуйте снова."},"different_currencies":{"title":"Предупреждение","text":"Вы используете разные валюты в ячейках, в связи с этим данные сортировки могут быть некорректными."}},"exit_dialog":{"title":"Отключение сортировки","toggle":"Сохранить текущий порядок строк","text_keep":"Будет сохранен порядок строк, который получился при сортировке.","text_no_keep":"Будет возвращен порядок строк, который был ДО включения сортировки.","apply":"Готово"}},"filter":{"by_field":"Фильтрация по колонке","empty_table":"Все записи отфильтрованы","popup_title":"Показать строки","empty_filters":"Нет применённых фильтров для базы данных","where":"Где","or":"Или","and":"И","add_condition":"Добавить условие","clear_all":"Очистить всё","contains":"содержит","is":"совпадает","is_not":"не совпадает","contains_not":"не содержит","has_any_of":"один из","has_none_of":"не содержит ни одного из","empty":"пустая","not_empty":"не пустая","filetype":"тип файлов","select_users_placeholder":"Выберите пользователей","type_text_placeholder":"Введите текст","type_text_or_select_placeholder":"Введите текст или выберите","type_number_placeholder":"Введите число","select_type_placeholder":"Выберите тип","select_date_placeholder":"Выберите дату","date":{"today":"Сегодня","yesterday":"Вчера","tomorrow":"Завтра","custom":"Другая"},"filetypes":{"images":"Изображения","documents":"Документы","media":"Медиа","other":"Другие"},"warning":{"cells_merged":{"title":"Не удалось применить фильтры","text":"Невозможно отфильтровать таблицу с объединенными ячейками"},"merge":{"title":"Нельзя объединять ячейки","text":"Нельзя объединять ячейки при активном фильтре колонки. Отключите фильтры и попробуйте снова."},"column_multitype":{"title":"Не удалось применить фильтры","text":"Нельзя фильтровать колонки с типом Общий тип. Сконвертируйте в другой тип и попробуйте снова."},"table_not_have_typed_columns":{"title":"Не удалось применить фильтры","text":"Нет доступных колонок для фильтрации."}},"enable_filter":"Включить фильтр","disable_filter":"Выключить фильтр"},"wrap_cells":{"layout_menu":"Разбиение ячеек","warnings":{"merge":{"title":"Объединение невозможно","text":"Невозможно объединить ячейки в режиме \'без разбиения\'"},"toggle":{"title":"Невозможно использовать опцию","text":"Таблица содержит объединенные ячейки"}}},"duplicate_column":{"title":"Дублировать колонку","text_1":"Дублировать содержимое ячеек","text_2":"В ячейке колонки есть данные. Вы можете их дублировать тоже или дублировать пустую колонку.","accept":"Дублировать","copy":"копия"},"convert_column":{"title":"Смена типа колонки","text_before":"Колонка содержит данные. При смене типа колонки данные будут удалены. Используйте клавиши","text_cmd":"ctrl+z","text_after":"чтобы отменить изменения.","accept":"Изменить тип"},"merge_cells_with_comments":{"title":"Объединение ячеек","text":"Ячейки будут объединены слева направо и к новой ячейке будет показан комментарий от левой ячейки.","accept":"Объединить"},"summary":{"layout_menu":"Показать панель подсчёта","name":{"none":"Без подсчёта","all":"Всего","empty":"Пустые ячейки","fill":"Заполненные ячейки","unique":"Уникальные ячейки","empty_percent":"Пустые в процентах","fill_percent":"Заполненные в процентах","unique_percent":"Уникальные в процентах","sum":"Сумма","average":"Среднее","min":"Минимальное","max":"Максимальное","median":"Медиана","min_date":"Самая ранняя","max_date":"Самая поздняя","range_days":"Промежуток в днях","range_month":"Промежуток в месяцах","checked":"Отмеченные","unchecked":"Неотмеченные","checked_percent":"Отмеченные в процентах","unchecked_percent":"Неотмеченные в процентах","filter_rating":"С рейтингом:","filter_progress":"С прогрессом:","filesize_min":"Минимальный размер","filesize_max":"Максимальный размер"},"item":{"none":"Подсчёт","empty":"Пустые","fill":"Заполненные","unique":"Уникальные","empty_percent":"Пустые","fill_percent":"Заполненные","unique_percent":"Уникальные","min_date":"Ранняя","max_date":"Поздняя","range_days":"Промежуток","range_month":"Промежуток","checked_percent":"Отмеченные","unchecked_percent":"Неотмеченные","filter_rating":"С рейтингом","filter_progress":"С прогрессом","filesize_min":"Мин. размер","filesize_max":"Макс. размер","min":"Мин","max":"Макс"}},"comments":{"tooltip":{"one":"Комментарий","more":"Комментарии"}}},"file":{"image_viewer":{"could_not_load_image":"Не получилось загрузить картинку"},"download_file":"Скачать {{name}}","listen_file":"Прослушать {{name}}","stop_file":"Остановить {{name}}","uploading":"Загружаем","wrtc":{"how_to_fix":"Как это исправить?","how_to_url":"https://nimbusweb.me/s/share/5441213/cwwryo2477pssn2sgkww","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Ошибка записи. Нет доступа к микрофону","rec_err_vi":"Ошибка записи. Нет доступа к микрофону/вебкамере ","allow_micro":"Разрешите доступ к микрофону","allow_media":"Выберите окно, которое надо записать","select_opt":"Что будем записывать","screenonly":"Только экран","camonly":"Только камера","screencam":"Экран + Камера","enable_micro":"Запись с микрофона","startRecording":"Начать запись","stopRecording":"Остановить запись","pauseRecording":"Приостановить запись","resumeRecording":"Возобновить запись","cancelRecording":"Отменить запись","confirmCancel":"Вы действительно хотите отменить запись видео?","cancel":"Отмена","prepareUpload":"Подождите, идет подготовка к загрузке записи","hasTmpRecord":"Запись была прервана, но не потеряна","restore":"Восстановить","delete":"Удалить","recordOnAnotherDevice":"Идет запись на другом устройстве..."},"menu":{"enabled":"Включено","disabled":"Выключено","open_in_new_tab":"Открыть в новой вкладке","copy_link":"Копировать ссылку на файл","expand_in_full_window":"Просмотр на весь экран","autoplay":"Автопроигрывание","sound_default":"Звук по умолчанию","sound_loop":"Зацикливание","sound_hideControls":"Скрыть управление","sound_showPanel":"Показывать верхнюю панель","shadow_video":"Тень для видео","video_params":"Настройки видео","disallow_download":"Скачивание","for_note":"Участники проекта","for_share":"Публичная страница","motion_video":"Motion видео","preview_video":"Сменить превью","preview_video_btn":"Превью","print":"Печать","convert_to_image":"Конвертировать в изображение","convert_to_file":"Конвертировать в файл","style":"Стиль","shadow_image":"Тень для картинки","rename":"Переименовать","replace":"Заменить","delete":"Удалить","download":"Скачать","get_text_from_image":"Получить текст изображения","view_as":"Отображать как","single_page":"Одна страница","all_pages":"Все страницы","cta_motion_video_message":"Для видео включен CTA. Невозможно одновременно использовать CTA и Motion видео. Отключите CTA и попробуйте снова включить Motion видео.","cta_loop_message":"Для видео включен CTA. Невозможно одновременно использовать CTA и Зацикливание. Отключите CTA и попробуйте снова включить Зацикливание.","grid":"Колонка","cta_drop_in_grid":"В видео включен CTA. Мы рекомендуем проверить правильность отображения CTA после переноса в колонку.","cta_exists_in_grid":"В колонке есть видео с активным CTA. Проверьте его правильность после переноса."},"downloading":"Скачивание...","attachment_not_found_error":"Ошибка загрузки файла","pdf_viewer":{"initializing_full_window_view":"Инициализация полного окна","preparing_document_for_printing":"Подготовка документа для печати...","printing_initialization":"Инициализация печати...","abort":"отменить","set_page_as_default":"Показывать страницу по умолчанию","unset_page_as_default":"Страница по умолчанию. Кликните, чтобы сделать страницу обычной."},"video_just_uploaded_codec_error":"Вы пытаетесь загрузить видео, которое было закодировано кодеком {codec} Мы не гарантируем корректное воспроизведение данного видео на всех браузерах. Рекомендуем конвертировать видео в другой формат и загрузить снова.","video_codec_error":"Данное видео закодировано кодеком {codec}, который не поддерживается в вашем браузере.","safari_webm_not_support":"На данный момент, браузер Safari не поддерживает формат WEBM. Попробуйте открыть страницу в другом браузере, например Google Chrome или Mozilla Firefox.","video_transcribe":"Транскрипт","video_summary":"Сводка","video_meeting_notes":"Заметки с встречи","video_ask_ai":"Спросить AI"},"image":{"text_from_image_popup":{"title":"Получить текст с картинки","no_text":"Не удалось получить текст","copy":"Копировать текст"},"unknown_error":"Не верная ссылка","add_image":"Вставьте ссылку или выберите ","add_image_or":"или","add_image_small":"Вставьте или выберите ","browse":"с диска","browse_image":"Выбрать изображение","too_large_error":"Изображение слишком большое","image_info_dialog":{"title":"Информация об изображении","type":"Тип","size":"Размер","location":"Адрес","copy_link":"Копировать"},"rotate_wait":{"full":"Немного терпения","medium":"Подождите"},"attachment_not_found_error":"Произошла ошибка при загрузке изображения","readonly_placeholder":"Пустое изображение","unsplash":{"name":"Unsplash","header":"Выберите картинку","placeholder":"Поиск изображения","search":"Поиск","description":"Выполните поиск, чтобы найти больше результатов.","no_result":"Изображения не найдены.","caption_preffix":"Автор"},"comments":"Комментарии"},"attachment":{"unknown_error":"Что-то пошло не так, попробуйте выбрать другой файл","attachment_is_being_uploaded":"Идет загрузка на другом устройстве...","attachment_will_be_downloaded_online":"Файл будет загружен когда вы будете онлайн.","attachment_preview_is_not_available":"Предпросмотр недоступен.","choose_a_file":"Выберите файлы","wait_resolving_without_info":"Немного терпения..."},"video":{"player":{"play":"Играть видео","pause":"Пауза","volume":"Громкость","fullscreen_on":"Во весь экран","fullscreen_off":"Выйти из режима Весь экран","watch_again":"Воспроизвести повторно"}},"search":{"placeholder":"Поиск на странице","matches":"Совпадений:"},"copy":{"copied":"Скопировано!","copy_to_clipboard":"Копировать в буфер обмена"},"apply":"Готово","done":"Готово","block_menu":{"align":{"left":"Выровнять по левому краю","center":"Выровнять по центру","right":"Выровнять по правому краю","justify":"Выровнять по ширине"},"indent":{"indent":"Увеличить отступ","outdent":"Уменьшить отступ"},"tooltip":"Потяните для перемещения\\n<span>Кликните для открытия меню</span>","copy_tooltip":"Скопировать ссылку","color":{"background_color":"Цвет фона","color":"Цвет","line_color":"Цвет линии","line_type":"Тип линии","player_color":"Цвет плеера"},"line_type":{"default":"Обычная линия","dotted":"Точки"},"add":{"name":"Добавить блок","above":"Сверху","below":"Снизу","left":"Слева","right":"Справа","above_column":"Над колонкой","below_column":"Под колонкой"},"convert_to":{"name":"Конвертировать в","to_do_list":"Чеклист","number_list":"Нумерованный список","bullet_list":"Маркированный список","paragraph":"Параграф","large_heading":"Большой заголовок","medium_heading":"Средний заголовок","small_heading":"Малый заголовок","large_heading_toggle":"Сворачиваемый заголовок 1","medium_heading_toggle":"Сворачиваемый заголовок 2","small_heading_toggle":"Сворачиваемый заголовок 3","code":"Код","quote":"Цитата","hint":"Примечание","image":"Изображение","file":"Файл","remote_frame":"Объект/Embed","link":"Ссылка","bookmark":"Закладка","button":"Кнопка","toggle":"Сворачиваемый блок","step":"Steps"},"comment_block":"Комментарий","edit":"Редактировать","duplicate":"Дублировать","copy_block":"Копировать содержимое блока","copy_blocks":"Копировать содержимое блоков","copy_link":"Копировать ссылку","delete":"Удалить","replace":"Заменить","blot_lock":"Запретить редактирование","blot_unlock":"Разрешить редактирование","set_as_preview":"Установить как превью","get_text_from_image":"Получить текст изображения","edit_image":"Редактировать изображение","download":"Скачать","view_full_size":"Открыть в полный размер","open_in_new_tab":"Открыть в новой вкладке","image_info":"Информация об изображении","rotate_image":"Повернуть","add_sub_task":"Добавить подзадачу","add_sub_text":"Добавить подтекст","layout":"Стиль","embed_align":{"left":"Выравнивание слева","center":"Выравнивание по центру","right":"Выравнивание справа","default":"Исходный размер","full_width":"На всю ширину"},"expand_all":"Развернуть все","collapse_all":"Свернуть все","add_caption":"Добавить подпись","blot_locked_admin":"Блок запрещён для редактирования. Кликните, чтобы разблокировать.","blot_locked_admins":"Блоки запрещены для редактирования. Кликните, чтобы разблокировать.","blot_locked_user":"У Вас нет прав на редактирование данного блока. Обратитесь к вашему администратору.","show_header":"Показывать верхнюю панель","show_borders":"Показывать рамки","rename":"Переименовать"},"convert_menu_groups":{"suggestions":"Рекомендуем","basic":"Базовые","advanced":"Продвинутые","media":"Медиа","embed":"Embed","views":"Сложные объекты","templates":"Шаблоны","helpful_links":"Полезные ссылки"},"embedded_menu":{"start_typing":"Напишите \\"/\\" или добавьте","start_typing_full":"Напишите \\"/\\", \\"@\\" или добавьте","more_items":"Больше элементов...","add_an_element":"Добавить элемент","paragraph":"Параграф","todo":"Чеклист","numbered_list":"Нумерованный список","bullet_list":"Маркированный список","table":"Таблица","image":"Изображение","file":"Файл","audioRec":"Аудиозапись","videoRec":"Видеозапись","recordExist":"Вы не можете начать новую запись пока не завершена предыдущая. Завершите или удалите предыдущую запись, чтобы начать новую.","large_heading":"Заголовок 1","medium_heading":"Заголовок 2","small_heading":"Заголовок 3","large_heading_toggle":"Сворачиваемый заголовок H1","medium_heading_toggle":"Сворачиваемый заголовок H2","small_heading_toggle":"Сворачиваемый заголовок H3","section_break":"Линия","link":"Ссылка","code":"Код","quote":"Цитата","hint":"Примечание","hint_placeholder":"Напишите желаемый текст","mention":"Упоминание","outline":"Содержание","remote_frame":"Объект/Embed","integrations":"Интеграции","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Сворачиваемый блок","tasks_list":"Список задач","lock_blot":"Запретить редактирование","link_page":"Ссылка на страницу","date":"Дата","more_integrations":"другие интеграции","two_columns":"2 колонки","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"другие шаблоны","get_feedback":"Обратная связь","contact_support":"Служба поддержки","learn_nimbus":"Инструкция","footer_top":"Введите текст, чтобы искать объекты.","footer_bottom":"Есть вопросы? Мы с удовольствием на них","footer_link":"ответим!","add_note":"Новая страница","database_with_options":"База данных","board":"Канбан / Доска задач","progress":"Прогресс","dropdown_list":"Выпадающий список","uploader":"Загрузчик файлов","use_ai":"Использовать Fusebase AI","helper":"AI помощник","summarize":"Резюмировать","explain":"Объяснить","improve":"Улучшить","spelling":"Исправить орфографию и грамматику","cta":"Призывы к действию","shorter":"Сделать короче","longer":"Сделать длиннее","step":"Steps"},"button":{"title":"Заголовок","id_info_tooltip":"Данный ID в будущем можно будет использовать при редактировании CSS файла.","address":"Адрес или Email","open_in_new_tab":"Открывать в новой вкладке","shape":"Форма кнопки","background":"Задний фон","size":"Размер","small":"Малый","medium":"Средний","big":"Большой","cancel":"Отмена","done":"Готово","length_error":"Слишком большой текст для кнопки. Попробуйте выделить меньшее количество текста (до 50 символов).","type":"Тип кнопки","default":"Обычная","withShadow":"Кнопка с тенью","3d":"3D кнопка","convert":{"popup_title":"Конвертировать в кнопку"}},"link":{"open":"Открыть","send":"Отправить","copy":"Копировать","edit":"Изменить","remove":"Удалить","text_label":"Текст","url_label":"Ссылка","email_label":"Адрес","copied":"Ссылка скопирована в буфер обмена","cancel":"Отмена","done":"Готово"},"syntax":{"menu":{"language":"Язык","theme":"Тема","wrap":"Включить перенос строк","unwrap":"Выключить перенос строк","lineNumbersOn":"Показать нумерацию строк","lineNumbersOff":"Скрыть нумерацию строк"},"convert":{"popup_title":"Ковертировать в код","blots_have_comments":"В тексте есть комментарии, которые будут удалены при конвертации.","text_has_inline_comments":"Внутри текста есть комментарии, которые будут удалены при конвертации.","confirm":"Конвертировать"}},"list":{"list_style":"Стиль списка","type_default":"По умолчанию","type_rectangle":"Квадрат","type_star":"Звезда","type_dart":"Дротик","type_rounded":"Круг","type_arrow":"Стрела","type_diamond":"Ромб"},"caption":{"placeholder":"Добавить описание"},"mention":{"show_all":"Показать все","show_all_users":"Показать всех","placeholder":"Напишите или выберите из списка","user":"Участники","workspace":"Проекты","folder":"Папки","note":"Страницы","no_results":"Нет результатов","offline_message":"Упоминания работают только при активном соединении. Включите Интернет и попробуйте снова.","info":{"note":{"one":"страница","some":"страницы","many":"страниц"},"subfolder":{"one":"подпапка","some":"подпапки","many":"подпапок"},"member":{"one":"участник","some":"участника","many":"участников"},"owner":"владелец","loading":"Загрузка превью...","loading_failed":"Ошибка загрузки","not_loaded":"Страница ещё не загрузилась"},"back_button":"Назад","create_note_for":"Создать страницу:","create_folder_for":"Создать папку:"},"calendar":{"ui":{"date":"Дата","am":"AM","pm":"PM","date_format":"Формат даты","show_time":"Показывать время","time_format":"Формат времени","time_12":"12ч","time_24":"24ч","first_week_day":"Первый день недели","time_zone":"Часовой пояс","use_gmt":"Время по Гринвичу","use_gmt_hint":"Один часовой пояс для всех участников","table":{"clear":"Очистить"},"inline":{"clear":"Удалить"},"reminder":{"name":"Напоминание","panel_name":"Напоминание","push_name":"Напоминание о событии","remove_confirm_message":"У вас установлены алерты, которые привязаны ко времени. Вы хотите удалить эти напоминания?","remove_confirm_text":"Удалить","remove_cancel_text":"Не удалять напоминания","before_period":"за","after_period":"","period":{"m":{"one":"минуту","many":"минуты"},"h":{"one":"час","many":"часа"},"d":{"one":"день","many":"дня"},"w":{"one":"неделю","many":"недели"}},"value":{"none":"Нет","0m":"При наступлении","1m":"за 1 минуту","5m":"за 5 минут","10m":"за 10 минут","15m":"за 15 минут","30m":"за 30 минут","1h":"за 1 час","2h":"за 2 часа","1d":"за 1 день","2d":"за 2 дня","7d":"за 7 дней","10d":"за 10 дней","14d":"за 14 дней","custom":"Другое"},"until":{"in":"Через","d":"д.","h":"ч.","m":"мин.","already_been":"Уже было","less_minute":"Меньше минуты","now":"Сейчас"}},"postfix":{"day":"д","month":"мес"}},"insert":{"category_name":"Дата","custom":"Другая","now":"Сейчас","today":"Сегодня","tomorrow":"Завтра"},"date_format":{"ddmmyyyy":"дд/мм/гггг","mmddyyyy":"мм/дд/гггг","yyyyddmm":"гггг/мм/дд","monthddyyyy":"Месяц дд, гггг","default":"Формат браузера"},"months":{"0":"Январь","1":"Февраль","2":"Март","3":"Апрель","4":"Май","5":"Июнь","6":"Июль","7":"Август","8":"Сентябрь","9":"Октябрь","10":"Ноябрь","11":"Декабрь"},"days":{"short":{"0":"Вс","1":"Пн","2":"Вт","3":"Ср","4":"Чт","5":"Пт","6":"Сб"},"full":{"0":"Воскресенье","1":"Понедельник","2":"Вторник","3":"Среда","4":"Четверг","5":"Пятница","6":"Суббота"}}},"content_not_supported":"На странице есть контент, который не поддерживается версией редактора на вашем клиенте. Обновите клиент для полноценной работы.","profession_ask":{"title":"Сохраните время, используя шаблоны при создании новых страниц","text":"Введите вашу должность и наша комманда создаст шаблон для вас. Это бесплатно, никаких скрытых платежей.","i_am_a":"Моя должность - ","placeholder":"например дизайнер, учитель, агент, и т.д.","request_template":"Запросить шаблон","sucess_message":"Спасибо! Ваша должность добавлена в обработку."},"bookmark":{"name":"Закладка","edit":"Редактировать закладку","title":"Заголовок","address":"Ссылка","description":"Описание","placeholder":"Вставьте, или напишите ссылку с https://...","placeholder_mobile":"Вставьте, или напишите ссылку","loading_preview":"Загрузка превью…","block_menu":{"change_mode":{"menu_name":"Отобразить как","mode_tile":"Плитка","mode_card":"Карточка","mode_cover":"Обложка"},"change_preview":"Изменить превью","delete_preview":"Удалить превью","reset_preview":"Сбросить превью","change_preview_background":"Фон превью","options":{"menu_name":"Параметры","open_in_same_tab":"Открывать в текущей вкладке"}},"error":{"unknown_error":"Что-то пошло не так, попробуйте ввести другой URL","preview_notfound":"Превью не найдены"},"upload":{"new_preview":"Загрузить картинку","quota_error":"Размер файла превышает допустимый размер в 3MB. Попробуйте другой файл.","unknown_error":"Неизвестная ошибка. Попробуйте другой файл."}},"businessCard":{"PERSON":"Имя","ORGANIZATION":"Организация","TITLE":"Описание","ADDRESS":"Адрес","URL":"Сайт","PHONE":"Телефон","EMAIL":"Электронная почта","SKYPE":"Скайп","TWITTER":"Твиттер","INSTAGRAM":"Инстаграм","FACEBOOK":"Фейсбук","LINKEDIN":"LinkedIn","VK":"ВКонтакте"},"dialog_common":{"button":{"ok":"Да","cancel":"Отмена"}},"outline":{"default_name":"Содержание","menu":{"expand":"Развернуть","collapse":"Свернуть","rename":"Переименовать"},"context_menu":{"convert_to":{"text":"Текст"},"style":{"name":"Стиль содержания","list_only":"Список","numbered_list":"Нумерованный список","bordered":"Показать рамку","border_color":"Цвет рамки"}},"empty":"Добавьте Заголовки к своей странице, и они будут отображаться здесь как ссылки"},"floating_toolbar":{"bold":"Жирный","italic":"Курсив","underline":"Подчеркнутый","strikethrough":"Перечеркнутый","clear":"Очистить форматирование","code":"Код","button":"Кнопка","link":"Ссылка","highlight":"Маркер","extraHighlight":"Маркеры с рамкой","color":"Цвет и выделение текста","text":"Текст","clear_all":"Очистить всё","placeholder":"Заполнитель","adapts":{"dark":"Адаптировать к темной теме","light":"Адаптировать к светлой теме"},"create_note":"Создать страницу","add_comment":"Добавить комментарий"},"remote_frame":{"placeholder_small":"Вставьте URL","placeholder_full":"Вставьте ссылку с YouTube, Github, Maps, Twitter и т.д.","loading":"Загрузка...","context_menu":{"change_link":"Сменить ссылку","full_size":"На весь экран","reset_size":"Сбросить размер","open_origin":"Перейти к источнику","layout":"Стиль","show_toolbar":"Показать тулбар","copy_original":"Копировать ссылку на оригинал"},"error":{"is_not_link":"Ссылка или код неверные","content_error":"Данная ссылка не поддерживается или является некорректной. Напишите в <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">нашу службу поддержки</a>, если вы считаете, что произошла ошибка.","unknown_error":"Что-то пошло не так, попробуйте ввести другой URL","wrong_signature":"Неверная ссылка или контент эмбеда повреждён","google_docs_auth_error":"Скорее всего нет прав доступа к этому документу. У нас есть небольшая <a href=\\"https://nimbusweb.me/s/share/4246032/x9umr2emrgvf4xxa45vy\\" target=\\"_blank\\">инструкция</a>, которая подскажет, как поменять права на документ.","internal_link_error":"{{serviceName}} запретил переход по внутренним ссылкам. Нажмите на Назад, чтобы вернуться на предыдущую страницу."},"convert_bookmark":"Конвертировать в закладку","convert_link":"Конвертировать в ссылку","back_button":"Назад"},"google_drive":{"block_name":"Google Drive","loading":"Загрузка...","menu":{"expand":"Развернуть","collapse":"Свернуть","open_origin":"Открыть в Google Drive","download":"Скачать","change_account":"Сменить аккаунт","choose_another_file":"Выбрать другой файл"},"last_modified":"Последнее изменение {{userName}} {{time}} назад","browse":"Выбрать файл","login":"Sign in with Google","login_text":"Выберите и добавьте файл из Google Drive"},"html":{"default_name":"HTML","loading":"Загрузка...","menu":{"open_source":"Открыть оригинал","export_blot":"Сохранить HTML"},"unknown_error":"Неизвестная ошибка","device_cant_display_content":"Данное содержимое не может быть отображено на вашем устройстве","wrong_signature":"Данное содержимое повреждено и не может быть показано"},"relative_time":{"seconds":{"one":"{{count}} секунду","some":"{{count}} секунды","many":"{{count}} секунд"},"minutes":{"one":"{{count}} минуту","some":"{{count}} минуты","many":"{{count}} минут"},"hours":{"one":"{{count}} час","some":"{{count}} часа","many":"{{count}} часов"},"days":{"one":"{{count}} день","some":"{{count}} дня","many":"{{count}} дней"},"months":{"one":"{{count}} месяц","some":"{{count}} месяца","many":"{{count}} месяцев"},"years":{"one":"{{count}} год","some":"{{count}} года","many":"{{count}} лет"}},"collapsible_content":{"menu":{"expand":"Развернуть","collapse":"Свернуть","rename":"Переименовать"}},"convert_link":{"url":"URL","title":"Ссылка+Имя","embed":"Объект/Embed","bookmark":"Закладка","button":"Кнопка","link_to_note":"Ссылка на страницу","link_to_folder":"Ссылка на папку","link_to_workspace":"Ссылка на проект","convert_error":"Возникла ошибка конвертации URL"},"fullwidth":{"menu_item":"На всю ширину"},"resizeable":{"point_tooltip":{"default":"Изменить размер","bottom-right":"Изменить размер\\n(зажмите {{altKey}} для свободного изменения)"}},"toggle":{"placeholder":"Кликните сюда или перенесите блок","expand":"Развернуть блок","collapse":"Свернуть блок","expand_heading":"Развернуть заголовок","collapse_heading":"Свернуть заголовок","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Мы не можем в данный момент отобразить список задач, так как он не поддерживается в данном типе страниц.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Мы не можем в данный момент отобразить канбан, так как он не поддерживается в данном типе страниц.","menu":{"add_new_column":"Новая колонка","board_layout":{"name":"Стиль","show_add_new_column":"Показывать Новая колонка"}}},"empty_features":{"use_template":"Использовать шаблон","import":"Импорт","add_database":"База данных","add_database_with_options":"База данных","add_board":"Канбан / Доска задач","use_ai":"Использовать Fusebase AI"},"ai_manager":{"generate_error":"К сожалению, нет результата по вашему запросу. Попробуйте другой запрос.","unload_message":"Идет генерация контента Fusebase AI, вы действительно хотите выйти?","unknown_error":"Неизвестная ошибка. Попробуйте позже или обратитесь в службу поддержки.","dialog":{"title":"Удалить черновик","body":"Вы действительно хотите удалить черновик?","accept":"Да, удалить"},"manage":{"insert_as_text":"Вставить как текст","insert_as_task_list":"Вставить как список задач","insert_as_checkbox_list":"Вставить как чеклист","try_again":"Попробовать еще раз","discard":"Удалить черновик","done":"Вставить","insert_above":"Вставить выше","insert_below":"Вставить ниже","continue":"Продолжить","shorter":"Короче","longer":"Длиннее","translate":"Перевести","replace":"Заменить","copy":"Копировать"}},"uploader":{"header":"Загрузка файлов","description":"Здесь вы можете добавить полезную информацию о загрузке файлов","dropzone_full":"Перетащите файл(ы) сюда или","browse":"нажмите для загрузки","dropzone_compact":"Добавить файлы","uploading":"Загрузка {{progress}}%","uploading_files":"Загрузка файлов","counter":"{{current}} из {{total}}","timer":"осталось менее 1 минуты","header_placeholder":"Введите заголовок не более {{maxChars}} символов","description_placeholder":"Введите описание не более {{maxChars}} символов","errors":{"network":"Не удалось загрузить файл","too_big":"Файл слишком большой"},"menu":{"disallow_download":"Скачивание","for_note":"Участники проекта","for_share":"Публичная страница","convert_to_files":"Конвертировать в файлы","allow_upload":"Загрузка","enable_in_public_page":"Разрешить в публичной странице"}},"convert_menu_tooltips":{"labels":{"management":"Подходит для базы знаний","collaboration":"Групповая работа"},"paragraph":{"title":"Идеально для основного контента","description":"Это основной блок для наполнения страницы контентом."},"todo":{"title":"Идеально для простых задач","description":"Создается пустой пункт чеклиста, который можно заполнить, а потом закрыть."},"numberedlist":{"title":"Раз, два, три!","description":"Cписок, в котором каждый пункт стоит по порядковым номерам."},"bulletlist":{"title":"Маркеры, которые помогают","description":"Список, в котором каждый пункт отмечен специальным маркером (вид маркера можно менять)."},"table":{"title":"Расширьте возможности страницы","description":"Структурируйте и организуйте вашу информацию через таблицу."},"image":{"title":"Разбавим серые будни!","description":"Добавьте на страницу картинки, чтобы добавить больше контекста. Картинкам можно менять размер, можно их комментировать и т.д."},"file":{"title":"Файлы здесь, файлы там, файлы везде!","description":"Загружайте с компьютера файлы разных типов: документы, медиа, архивы и т.д."},"largeheading":{"title":"Идеально для больших разделов","description":"На странице есть несколько больших секций? Выделите их с помощью больших заголовков!"},"mediumheading":{"title":"Для второстепенных разделов","description":"Добавьте саб-секции на страницу с помощью средних заголовков."},"smallheading":{"title":"Идеально для небольших разделов","description":"Привлеките внимание к нужному блоку страницы с помощью маленьких заголовков!"},"tasks-list":{"title":"Задачи, с которыми удобно работать","description":"Создавайте задачи, назначайте ответственных и устанавливайте дедлайны, чтобы отслеживать прогресс."},"hline":{"title":"Давайте, поставим... линию!","description":"Горизонтальная линия, разделяющая части страницы."},"link":{"title":"Ссылки... просто ссылки","description":"Добавьте ссылку на внешний сайт или внутреннюю страницу."},"syntax":{"title":"Кода много не бывает ;)","description":"Добавьте на страницу сниппет с кодом. Мы распознаём большинство популярных языков программирования."},"link-page":{"title":"Создайте свою структуру","description":"Добавьте ссылку на любую страницу или папку в текущем проекте."},"date":{"title":"Просто укажите дату и время","description":"Добавьте дату и время прямо в текст страницы. При желании, можно добавить напоминание к выбранной дате."},"mention":{"title":"Вам важно об этом знать!","description":"Упомяните нужного участника или участницу проекта, чтобы привлечь их внимание к странице."},"blockquote":{"title":"Слова, которые важны","description":"Подчеркните важность ваших слов с помощью оформленной цитаты."},"hint":{"title":"Обратите внимание!","description":"Выделите важный для вас текст в специальном блоке с иконкой, которую вы можете выбрать сами."},"toggle":{"title":"Скройте лишнее!","description":"Сворачивает и разворачивает выбранное содержимое страницы (текст, картинки и т.д)."},"outline":{"title":"Достаточно одного взгляда!","description":"На странице много секций с заголовками? Оглавление позволит лучше ориентироваться в таком разнообразии!"},"lock-blot":{"title":"Здесь правила устанавливаю Я!","description":"Запретите редактировать и никто не сможет изменить содержимое блока!"},"embed":{"title":"Больше, чем просто ссылка","description":"Отобразит содержимое с других сервисов. Поддерживаем тысячи сервисов!"},"figma":{"title":"Держите дизайн рядом!","description":"Обсуждайте макеты и дизайнерские решения из Figma прямо на странице Nimbus Note."},"miro":{"title":"Новая вершина командной работы!","description":"Делаете проект? Создайте его прототип в Miro и обсуждайте прямо на странице Nimbus Note!"},"columns":{"title":"Одна хорошо, но две лучше ;)","description":"Разделите вашу страницу или блок на странице на колонки в один клик!"},"meeting-notes":{"title":"Зафиксируйте цели и двигайтесь дальше!","description":"Обсудили с командой важные моменты? Зафиксируйте результаты в нашем шаблоне."},"marketing-brief":{"title":"Воплощайте фантазии в жизнь","description":"Используйте данный шаблон для быстрого создания дизайнерского брифа."},"content-plan":{"title":"Создайте план и контролируйте его","description":"Мы подготовили для вас прототип контент плана. Вам осталось только его заполнить ;)"},"integrations":{"title":"Больше, чем просто ссылка","description":"Отобразит содержимое с других сервисов. Поддерживаем тысячи сервисов!"},"google-drive":{"title":"Далеко ходить не надо","description":"Подключите свой аккаунт Google Drive и добавьте с него файлы прямо на вашу страницу Nimbus Note."},"google-sheets":{"title":"Минус одна вкладка в браузере","description":"Отобразите содержимое ваших Google таблиц прямо на странице Nimbus Note!"},"bookmark":{"title":"Прочь, скучные ссылки!","description":"Вставьте ссылку и мы её покажем в красивом блоке с названием страницы, её описанием и логотипом."},"audioRec":{"title":"Вам нужно это услышать!","description":"Запишите аудио сообщение прямо со страницы."},"videoRec":{"title":"Вам нужно это увидеть!","description":"Запишите видео с вебкамеры или запишите происходящее на странице не выходя с Nimbus Note."},"button":{"title":"Пришли, увидели и нажали :)","description":"Не подходят обычные ссылки? Добавьте кнопку, которая украсит вашу страницу и позволит открывать нужные ссылки."},"largeheading-toggle":{"title":"Идеально для больших разделов","description":"Спрячьте лишнее и упростите внешний вид вашей страницы с помощью больших сворачиваемых заголовков."},"mediumheading-toggle":{"title":"Упростите внешний вид страницы","description":"Добавьте саб-секции на страницу и спрячьте в них содержимое с помощью средних сворачиваемых заголовков."},"smallheading-toggle":{"title":"Идеально для второстепенных разделов","description":"Скрывайте контент страницы с помощью маленьких сворачиваемых заголовков."},"database-with-options":{"title":"Таблица превращается... в базу данных","description":"Оцените всю мощь наших таблиц в специально подготовленном для Вас шаблоне базы данных!"},"board":{"title":"Наглядное управление вашими задачами!","description":"Создавайте и редактируйте карточки задач на доске Канбан."},"progress":{"title":"Оцените ваш прогресс!","description":"Выберите цель и двигайтесь к ней! Используйте прогресс бар для оценки выполненных задач и других активностей."},"uploader":{"title":"Скажите \\"НЕТ\\" файловому беспорядку!","description":"Собирайте файлы с клиентов и агрегируйте их по одной теме, чтобы ничего не упустить!"},"dropdown-list":{"title":"Выберите нужную опцию","description":"Составьте список и позвольте участникам команды выбрать нужную опцию."},"use-ai":{"title":"Добавьте волшебства!","description":"Наш AI помощник напишет вам текст любой сложности и по любой теме, проанализует содержимое страницы и на ее основе создаст саммари или список задач и даже укажет грамматические ошибки (если они конечно есть 😉)."}},"feature_availability":{"plus":{"not-available":"Доступно для Plus, Team и Business плана","trial":"Премиум функционал доступный на время триала"},"team":{"not-available":"Доступно для Team и Business плана","trial":"Бизнес функционал доступный на время триала"},"business2023":{"not-available":"Доступно для Business плана","trial":"Бизнес функционал доступный на время триала"}}}'),JSON.parse('{"table":{"common":{"column":"Spalte"},"move_column_cant_split_merged_cells":{"title":"Spalte kann nicht verschoben werden","text":"Eine Spalte kann nicht in eine verbundene Zelle verschoben werden. Bitte Verbindung aufheben und dann erneut versuchen."},"move_column_cant_move_part_of_merged_cells":{"title":"Spalte kann nicht verschoben werden","text":"Die Spalte, die verschoben werden soll, enthält einen Teil einer verbundenen Zelle. Wenn die Spalte verschoben werden soll, bitte zuerst die Zellen voneinander trennen."},"move_column_failed":{"title":"Spalte kann nicht verschoben werden","text":"Beim Verschieben einer Spalte ist ein unerwarteter Fehler aufgetreten, bitte erneut versuchen."},"move_row_cant_split_merged_cells":{"title":"Zeile kann nicht verschoben werden","text":"Eine Zeile kann nicht in eine verbundene Zelle verschoben werden. Bitte Verbindung aufheben und dann erneut versuchen."},"move_row_cant_move_part_of_merged_cells":{"title":"Zeile kann nicht verschoben werden","text":"Die Zeile, die verschoben werden soll, enthält einen Teil einer verbundenen Zelle. Wenn die Spalte verschoben werden soll, bitte zuerst die Zellen voneinander trennen."},"move_row_cant_move_in_sortable_table":{"title":"Zeile kann nicht verschoben werden","text":"Eine Zeile kann nicht in einer sortierbaren Tabelle verschoben werden. Bitte Sortierung aufheben und erneut versuchen."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Zeile kann nicht verschoben werden","text":"Beim Verschieben einer Zeile ist ein unerwarteter Fehler aufgetreten, bitte erneut versuchen."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Löschen","help":"Hilfe","delete_column":{"one":"Spalte löschen","many":"{{count}} Spalten löschen"},"delete_row":{"one":"Zeile löschen","many":"Delete {{count}} Zeilen löschen"},"add":"Hinzufügen","add_row_before":{"one":"Zeile nach oben","many":"{{count}} Zeilen nach oben"},"add_row_after":{"one":"Zeile nach unten","many":"{{count}} Zeilen nach unten"},"add_col_before":{"one":"Spalte nach links","many":"{{count}} Spalten nach links"},"add_col_after":{"one":"Spalte nach rechts","many":"{{count}} Spalten nach rechts"},"copy_cell":{"one":"Zelle kopieren","many":"Zellen kopieren"},"copy_table":"Tabelle kopieren","table_layout":{"name":"Tabellen Layout","column_headings":"Spaltenüberschriften","row_headings":"Zeilenüberschriften"},"import_csv":"Import from CSV","merge_cells":"Zellen verbinden","insert_checkbox":"Markierungsfeld einfügen","background_color":"Hintergrundfarbe","formatting":"Formatierung","clear":"Entfernen","reset":"Zurücksetzen","divide_cells":"Zellenverbindung entfernen","type":{"name_cell":"Zellentyp","name_cells":"Zellentyp","name_column":"Spaltentyp","name_columns":"Spaltentyp","type_cell":{"one":"Zellentyp","many":"Zellentyp"},"type_col":{"one":"Spaltentyp","many":"Spaltentyp"},"same_as_column":"Gleich wie Spalte","reset_cells":"Zellen auf Standard zurücksetzen","none":"Mehrfachtyp","text":"Text","textline":"Text","number":"Zahl","attachment":"Anhang","checkbox":"Markierungsfeld","multiselect":"Mehrfachauswahl","singleselect":"Einzelauswahl","collaborator":"Mitarbeiter","currency":"Währung","date":"Datum","link":"Link","rating":"Bewertung","progress":"Fortschritt","mention":"Erwähnung"},"number_format":{"name":"Zahlenformat","number":"Zahl","commas":"Zahl mit Kommas","percent":"Prozent"},"currency_format":{"name":"Währungstyp","dollar":"Dollar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rubel","pound":"Pfund","rupee":"Rupie","hryvnia":"Hryvnia","won":"Won","frank":"Franken","real":"Real","other":"Sonstiges","stick":"Symbol anzeigen","before":"Vorher","after":"Nachher"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Fortschrittsoptionen","simple":"Einfach","colored":"Farbig","start_from":"Beginnt von (0-100)","default_amount":"Standardbetrag  (0-100)"},"rating_format":{"name":"Bewertungsoptionen","star":"Stern","flag":"Fahne","heart":"HERZ","amount":"Betrag (1-10)"},"date_format":{"name":"Datum Uhrzeit Format"},"mention_panel":{"open":"Öffnen","edit":"Bearbeiten","clear":"Entfernen"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Kommentar"},"formatting_menu":{"align_left":"Links","align_center":"Zentriert","align_right":"Rechts","valign_top":"Oben","valign_center":"Mitte","valign_bottom":"Unten","text":"Text","text_align":"Text ausrichten","text_color":"Textfarbe","bold":"Fett","italic":"Kursiv","strikethrough":"Durchgestrichen","underline":"Untergestrichen"},"col_menu":{"add_column_after":{"one":"Spalte rechts hinzufügen","many":"{{count}} Spalten rechts hinzufügen"},"add_column_before":{"one":"Spalte links hinzufügen","many":"Add {{count}} Spalten links hinzufügen"},"duplicate_column":{"one":"Spalte duplizieren","many":"Spalten duplizieren"},"rename":"Umbenennen"},"row_menu":{"add_row_after":{"one":"Zeile unten hinzufügen","many":"{{count}} Zeilen unten hinzufügen"},"add_row_before":{"one":"Zeile oben hinzufügen","many":"{{count}} Zeilen oben hinzufügen"}},"warning":{"merge_different":"Unterschiedliche Objekttypen können nicht verbunden werden","convert_merged":"Verbundene Zellen können nicht konvertiert werden"},"select":{"create_list":"Tippe zum Erstellen einer Liste","create_item":"Tippe zum Erstellen eines Eintrags","create_option":"Tippe zum Erstellen einer Option","create_label":"Tippe zum Erstellen einer Beschriftung","create":"Erstellen","delete":"Löschen"},"attachment":{"upload_more":"Datei(en) hochladen","downloading":"Herunterladen"},"collaborator":{"placeholder":"Typ zum Hinzufügen von Personen","no_result":"Keine Ergebnisse","loading":"Wird geladen...","unknown":"Unbekannte Person"},"checkbox":{"checked":"Ja","not_checked":"Nein"},"sorting":{"name":"Sortierung","sort":"Sortieren","disable":"Sortierung entfernen","change":"Zum Ändern anklicken","asc":{"common":"Aufsteigend","text":"Sortieren nach A-Z","number":"Sortieren nach 1-9","checkbox":"Nicht ausgewählte zuerst"},"desc":{"common":"Absteigend","text":"Sortieren nach Z-A","number":"Sortieren nach 9-1","checkbox":"Ausgewählte zuerst"},"warning":{"column_merged":{"title":"Spalte kann nicht sortiert werden","text":"Spalte mit verbundenen Zellen kann nicht sortiert werden"},"table_rowspan":{"title":"Spalte konnte nicht sortiert werden","text":"Tabelle mit verbundenen Zeilen kann nicht sortiert werden"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Sortierwarnung","text":"Es gibt verschiedene Währungen in einer Spalte. Die Sortierung ist möglicherweise falsch."}},"exit_dialog":{"title":"Sortierung entfernen","toggle":"Sortierung beibehalten","text_keep":"Sortierung beibehalten","text_no_keep":"Spaltenreihenfolge wird in der ursprünglichen Reihenfolge wiederhergestellt, in der sie vor Anwendung der Sortierung bestand","apply":"Anwenden"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Zeilenumbruch","warnings":{"merge":{"title":"Zellen können nicht verbunden werden","text":"Zellen können nur im Zeilenumbruch Modus zusammengeführt werden"},"toggle":{"title":"Option kann nicht geändert werden","text":"Tabelle enthält verbundene Zellen"}}},"duplicate_column":{"title":"Spalte duplizieren","text_1":"Spalteninhalt duplizieren","text_2":"Sie können die gesamte Spalte inklusive Daten duplizieren oder die duplizerte Spalte leer lassen","accept":"Duplizieren","copy":"Kopieren"},"convert_column":{"title":"Spaltentyp ändern","text_before":"Diese Spalte enthält Werte. Wenn der Spaltentyp geändert wird, werden einige der Werte gelöscht. Anwenden","text_cmd":"Rückgängig machen","text_after":"Befehl, um Änderungen bei Bedarf rückgängig zu machen.","accept":"Typ ändern"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Berechnungsleiste anzeigen","name":{"none":"Keine","all":"Alle","empty":"Leer","fill":"Nicht leer","unique":"Einmalig","empty_percent":"Prozent leer","fill_percent":"Prozent nicht leer","unique_percent":"Prozent einmalig","sum":"Summe","average":"Durchschnitt","min":"Min","max":"Max","median":"Mittelwert","min_date":"Frühestes Datum","max_date":"Spätestes Datum","range_days":"Datumsbereich (Tage)","range_month":"Datumsbereich (Monat)","checked":"Geprüft","unchecked":"Nicht geprüft","checked_percent":"Prozent geprüft","unchecked_percent":"Prozent nicht geprüft","filter_rating":"Mit Bewertung:","filter_progress":"Mit Fortschritt:","filesize_min":"Minimale Größe","filesize_max":"Maximale Größe"},"item":{"none":"Berechnen","min_date":"Frühestens","max_date":"Spätestens","range_days":"Bereich (Tage)","range_month":"Bereich (Monat)","checked_percent":"Geprüft","unchecked_percent":"Nicht geprüft","filter_rating":"Mit Bewertung","filter_progress":"Mit Fortschritt"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Bild konnte nicht geladen werden"},"download_file":"{{name}} herunterladen","listen_file":"{{name}} abspielen","stop_file":"{{name}} aufhören","uploading":"Hochladen","wrtc":{"how_to_fix":"Wie lässt sich das beheben?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Fehler bei der Aufnahme. Kein Zugriff auf das Mikrofon.","rec_err_vi":"Fehler bei der Aufnahme. Kein Zugriff auf Mikrofon/Webcam.","allow_micro":"Zugriff auf das Mikrofon erlauben","allow_media":"Wählen Sie das Fenster aus, das Sie aufnehmen möchten","select_opt":"Was wird aufgenommen","screenonly":"Nur Bildschirm","camonly":"Nur Kamera","screencam":"Bildschirm + Kamera","enable_micro":"Mikrofon einschalten","startRecording":"Aufnahme starten","stopRecording":"Aufnahme beenden","pauseRecording":"Aufnahme anhalten","resumeRecording":"Aufnahme fortsetzen","cancelRecording":"Aufnahme abbrechen","confirmCancel":"Sind Sie sicher, dass Sie die Videoaufzeichnung abbrechen möchten?","cancel":"Abbrechen","prepareUpload":"Bitte warten, das Hochladen der Aufnahme wird vorbereitet","hasTmpRecord":"Die Aufnahme wurde unterbrochen, ging aber nicht verloren","restore":"Wiederherstellen","delete":"Löschen","recordOnAnotherDevice":"Die Aufnahme läuft auf einem anderen Gerät ..."},"menu":{"enabled":"Aktiviert","disabled":"Deaktiviert","open_in_new_tab":"In neuem Tab öffnen","copy_link":"Link in Datei kopieren","expand_in_full_window":"Vollfenster anzeigen","autoplay":"Autoplay","sound_default":"Sound standardmäßig","sound_loop":"Schleifen","sound_hideControls":"Steuerelemente ausblenden","sound_showPanel":"Show top panel","shadow_video":"Schatten für video","video_params":"Video-Parameter","disallow_download":"Herunterladbar für","for_note":"Arbeitsbereich-Benutzer","for_share":"Öffentlichen Seiten","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Drucken","convert_to_image":"In Bild umwandeln","convert_to_file":"Convert to file","style":"Stil","shadow_image":"Schatten für Bild","rename":"Umbenennen","replace":"Ersetzen","delete":"Löschen","download":"Herunterladen","get_text_from_image":"Text vom Bild holen","view_as":"Ansicht als","single_page":"Einzelseite","all_pages":"Alle Seiten","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Herunterladen","attachment_not_found_error":"Fehler beim Hochladen","pdf_viewer":{"initializing_full_window_view":"Vollfensteransicht einstellen","preparing_document_for_printing":"Dokument für den Druck vorbereiten...","printing_initialization":"Druckeinstellung...","abort":"Abbrechen","set_page_as_default":"Seite als Standard festlegen","unset_page_as_default":"Standardseite. Klicken Sie, um die Seite zu normalisieren."},"video_just_uploaded_codec_error":"Sie versuchen, ein Video hochzuladen, das mit dem Codec {codec} kodiert wurde. Wir können nicht garantieren, dass dieses Video auf allen Browsern korrekt wiedergegeben wird. Wir empfehlen, das Video in ein anderes Format zu konvertieren und es erneut hochzuladen.","video_codec_error":"Dieses Video ist mit dem Codec {codec} kodiert, der in Ihrem Browser nicht unterstützt wird.","safari_webm_not_support":"Zurzeit unterstützt der Safari-Browser das WEBM-Format nicht. Versuchen Sie, die Notiz in einem anderen Browser zu öffnen, z. B. in Google Chrome oder Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Text aus Bild","no_text":"Es gibt keinen Text","copy":"Gesamten Text kopieren"},"unknown_error":"Der Link ist falsch","add_image":"Bildlink einfügen oder ","add_image_or":"oder","add_image_small":"Einfügen oder ","browse":"durchblättern","browse_image":"Bild durchsuchen","too_large_error":"Bildgröße ist zu groß","image_info_dialog":{"title":"Bildinfo","type":"Typ","size":"Größe","location":"Standort","copy_link":"Link kopieren"},"rotate_wait":{"full":"Bitte warten","medium":"Warten"},"attachment_not_found_error":"Ein unerwarteter Fehler ist beim Bild aufgetreten","readonly_placeholder":"Leeres Bild","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Etwas ist schief gelaufen, bitte versuchen, eine andere Datei auszuwählen","attachment_is_being_uploaded":"Datei wird hochgeladen...","attachment_will_be_downloaded_online":"Datei wird heruntergeladen, sobald Sie online sind.","attachment_preview_is_not_available":"Vorschau ist nicht verfügbar.","choose_a_file":"Dateien auswählen","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Abspielen","pause":"Pause","volume":"Lautstärke","fullscreen_on":"Vollbild","fullscreen_off":"Vollbild beenden","watch_again":"Nochmals ansehen."}},"search":{"placeholder":"In der Notiz finden","matches":"Treffer:"},"copy":{"copied":"Kopiert!","copy_to_clipboard":"In die Zwischenablage kopieren"},"apply":"Anwenden","done":"Erledigt","block_menu":{"align":{"left":"Links ausrichten","center":"Mittig ausrichten","right":"Rechts ausrichten","justify":"Blocksatz"},"indent":{"indent":"Einzug vergrößern","outdent":"Einzug verkleinern"},"tooltip":"Ziehen um zu Verschieben\\n<span>Zum Öffnen des Menüs klicken</span>","copy_tooltip":"Link kopieren","color":{"background_color":"Hintergrundfarbe","color":"Farbe","line_color":"Linienfarbe","line_type":"Zeilentyp","player_color":"Farbe des Players"},"line_type":{"default":"Standardlinie","dotted":"Punkte"},"add":{"name":"Block hinzufügen","above":"Oben","below":"Unten","left":"Links","right":"Rechts","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Konvertieren zu","to_do_list":"Checklist","number_list":"Nummerierte Liste","bullet_list":"Aufzählungsliste","paragraph":"Absatz","large_heading":"Große Überschrift","medium_heading":"Mittlere Überschrift","small_heading":"Kleine Überschrift","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Code","quote":"Zitat","hint":"Hinweis","image":"Bild","file":"Datei","remote_frame":"Einbetten","link":"Link","bookmark":"Lesezeichen","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Kommentar","edit":"Bearbeiten","duplicate":"Duplizieren","copy_block":"Block kopieren","copy_blocks":"Blöcke kopieren","copy_link":"Link kopieren","delete":"Löschen","replace":"Ersetzen","blot_lock":"Block sperren","blot_unlock":"Block entsperren","set_as_preview":"Als Vorschau festlegen","get_text_from_image":"Text vom Bild holen","edit_image":"Edit image","download":"Herunterladen","view_full_size":"Ansicht in voller Größe","open_in_new_tab":"In neuem Tab öffnen","image_info":"Bildinfo","rotate_image":"Drehen","add_sub_task":"Unteraufgabe hinzufügen","add_sub_text":"Untertext hinzufügen","layout":"Layout","embed_align":{"left":"Links ausrichten","center":"Mittig ausrichten","right":"Rechts ausrichten","default":"Standardgröße","full_width":"Volle Breite"},"expand_all":"Alle ausklappen","collapse_all":"Alle einklappen","add_caption":"Titelzeile hinzufügen","blot_locked_admin":"Die Bearbeitung des Blocks ist gesperrt. Klicken Sie, um die Sperre aufzuheben.","blot_locked_admins":"Die Bearbeitung der Blöcke ist gesperrt. Klicken Sie, um die Sperre aufzuheben.","blot_locked_user":"Sie haben keine Berechtigung, diesen Bock zu bearbeiten. Wenden Sie sich an den Administrator Ihrer Organisation.","show_header":"Obere Leiste anzeigen","show_borders":"Rahmen anzeigen","rename":"Umbenennen"},"convert_menu_groups":{"suggestions":"Vorgeschlagen","basic":"Grundlegendes","advanced":"Erweitert","media":"Medien","embed":"Integrationen","views":"Ansichten","templates":"Vorlagen","helpful_links":"Hilfreiche Links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Mehr Einträge...","add_an_element":"Element hinzufügen","paragraph":"Absatz","todo":"Checkbox-Liste","numbered_list":"Nummerierte Liste","bullet_list":"Aufzählungsliste","table":"Tabelle","image":"Bild","file":"Datei","audioRec":"Audio Aufnahme","videoRec":"Video Aufnahme","recordExist":"Sie können eine neue Aufnahme erst beginnen, wenn die vorherige abgeschlossen ist. Beenden oder löschen Sie die vorherige Aufnahme, um eine neue zu beginnen.","large_heading":"Überschrift 1","medium_heading":"Überschrift 2","small_heading":"Überschrift 3","large_heading_toggle":"Einklappbare Überschrift 1","medium_heading_toggle":"Einklappbare Überschrift 2","small_heading_toggle":"Einklappbare Überschrift 3","section_break":"Abschnittsumbruch","link":"Link","code":"Code","quote":"Zitat","hint":"Hinweis","hint_placeholder":"Schreibe etwas","mention":"Mitglieder erwähnen","outline":"Inhaltsübersicht","remote_frame":"Einbetten: Link, iFrame, JS Code","integrations":"Integrationen","google_drive":"Google Drive","google_sheets":"Google-Tabellen","html":"HTML","toggle":"Umschalter","tasks_list":"Aufgabenliste","lock_blot":"Block sperren","link_page":"Seiten-Link","date":"Datum","more_integrations":"weitere Integrationen","two_columns":"Zwei Spalten","meeting_notes":"Marketing-Strategie","marketing_brief":"Marketing-Quartalsplanung","content_plan":"Inhaltliche Planung","more_templates":"weitere Vorlagen","get_feedback":"Feedback einholen","contact_support":"Kontakt zum Support","learn_nimbus":"Nimbus kennenlernen","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Datenbank","board":"Aufgabentafel","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"Diese ID kann in Zukunft bei der Bearbeitung der CSS-Datei verwendet werden.","address":"URL oder E-Mail","open_in_new_tab":"In neuem Tab öffnen","shape":"Form des Buttons","background":"Hintergrund","size":"Größe des Buttons","small":"Klein","medium":"Mittel","big":"Groß","cancel":"Abbrechen","done":"Fertig","length_error":"Der Text ist zu groß für den Button. Versuchen Sie, weniger Text auszuwählen (nicht mehr als 50 Zeichen).","type":"Button-Typ","default":"Standard","withShadow":"Button mit Schatten","3d":"3d Button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Öffnen","send":"Senden","copy":"Kopieren","edit":"Bearbeiten","remove":"Entfernen","text_label":"Text","url_label":"Link-Adresse","email_label":"E-Mail-Adresse","copied":"Link in die Zwischenablage kopiert","cancel":"Abbrechen","done":"Fertig"},"syntax":{"menu":{"language":"Sprache","theme":"Theme","wrap":"Zeilenumbruch aktivieren","unwrap":"Zeilenumbruch deaktivieren","lineNumbersOn":"Zeilennummern anzeigen","lineNumbersOff":"Zeilennummern verbergen"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"Listenstil","type_default":"Voreinstellung","type_rectangle":"Rechteck","type_star":"Stern","type_dart":"Dart","type_rounded":"Abgerundet","type_arrow":"Pfeil","type_diamond":"Diamant"},"caption":{"placeholder":"Titelzeile hinzufügen"},"mention":{"show_all":"Alle anzeigen","show_all_users":"Alle anzeigen","placeholder":"Letzten anzeigen oder Typ zu suchen","user":"Personen","workspace":"Arbeitsbereiche","folder":"Ordner","note":"Notizen","no_results":"Keine Ergebnisse","offline_message":"Erwähnung funktioniert nur bei aktiver Verbindung. Bitte Internet einschalten und erneut versuchen.","info":{"note":{"one":"Notiz","some":"Notizen","many":"Notizen"},"subfolder":{"one":"Unterordner","some":"Unterordner","many":"Unterordner"},"member":{"one":"Mitglied","some":"Mitglieder","many":"Mitglieder"},"owner":"Besitzer","loading":"Vorschau wird geladen...","loading_failed":"Laden fehlgeschlagen","not_loaded":"Notiz wurde noch nicht geladen"},"back_button":"Zurück","create_note_for":"Notiz erstellen","create_folder_for":"Ordner erstellen"},"calendar":{"ui":{"date":"Datum","am":"AM","pm":"PM","date_format":"Datumsformat","show_time":"Uhrzeit anzeigen","time_format":"Zeitformat","time_12":"12H","time_24":"24H","first_week_day":"Erster Tag der Woche","time_zone":"Zeitzone","use_gmt":"GMT für alle Mitglieder verwenden","use_gmt_hint":"Dieselbe Zeitzone (GMT) für alle Mitarbeiter verwenden","table":{"clear":"Entfernen"},"inline":{"clear":"Löschen"},"reminder":{"name":"Warnung","panel_name":"Warnung","push_name":"Event Erinnerung","remove_confirm_message":"You have alerts that are time-bound. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Don\'t delete reminders","before_period":"","after_period":"vorher","period":{"m":{"one":"Minute","many":"Minuten"},"h":{"one":"Stunde","many":"Stunden"},"d":{"one":"Tag","many":"Tage"},"w":{"one":"Woche","many":"Wochen"}},"value":{"none":"Keine","0m":"Beim Start","1m":"1 Minute vorher","5m":"5 Minuten vorher","10m":"10 Minuten vorher","15m":"15 Minuten vorher","30m":"30 Minuten vorher","1h":"1 Stunde vorher","2h":"2 Stunden vorher","1d":"1 Tag vorher","2d":"2 Tage vorher","7d":"7 Tage vorher","10d":"10 Tage vorher","14d":"14 Tage vorher","custom":"Benutzerdefiniert"},"until":{"in":"In","d":"T","h":"S","m":"Min","already_been":"Schon gewesen","less_minute":"Weniger als eine Minute","now":"Jetzt"}},"postfix":{"day":"T","month":"M"}},"insert":{"category_name":"Datum","custom":"Benutzerdefiniert","now":"Jetzt","today":"Heute","tomorrow":"Morgen"},"date_format":{"ddmmyyyy":"dd/mm/yyyy","mmddyyyy":"mm/dd/yyyy","yyyyddmm":"yyyy/mm/dd","monthddyyyy":"Monat dd, yyyy","default":"Browser Format anpassen"},"months":{"0":"Januar","1":"Februar","2":"März","3":"April","4":"Mai","5":"Juni","6":"Juli","7":"August","8":"September","9":"Oktober","10":"November","11":"Dezember"},"days":{"short":{"0":"So","1":"Mo","2":"Di","3":"Mi","4":"Do","5":"Fr","6":"Sa"},"full":{"0":"Sonntag","1":"Montag","2":"Dienstag","3":"Mittwoch","4":"Donnerstag","5":"Freitag","6":"Samstag"}}},"content_not_supported":"Diese Notiz wird von Ihrer Version der FuseBase App nicht unterstützt. Versuchen Sie, sie zu aktualisieren oder verwenden Sie einen anderen Client in der neuesten Version.","profession_ask":{"title":"Zeit sparen durch die Verwendung von Vorlagen zur Erstellung neuer Notizen","text":"Geben Sie Ihren Beruf ein, und unser Team erstellt Vorlagen für Sie. Es ist kostenlos, ohne versteckte Kosten","i_am_a":"Ich bin","placeholder":"e.g. Designer, Lehrer, Verkäufer, usw.","request_template":"Template anfordern","sucess_message":"Vielen Dank! Dieser Beruf wird in unsere Warteliste aufgenommen."},"bookmark":{"name":"Lesezeichen","edit":"Lesezeichen bearbeiten","title":"Titel","address":"Adresse","description":"Beschreibung","placeholder":"Link mit https:// einfügen oder schreiben...","placeholder_mobile":"Paste or write link","loading_preview":"Vorschau wird geladen...","block_menu":{"change_mode":{"menu_name":"Ansicht als","mode_tile":"Kachel","mode_card":"Karte","mode_cover":"Einband"},"change_preview":"Vorschau ändern","delete_preview":"Vorschau löschen","reset_preview":"Vorschau zurücksetzen","change_preview_background":"Preview background","options":{"menu_name":"Optionen","open_in_same_tab":"Im gleichen Tab öffnen"}},"error":{"unknown_error":"Etwas ist schief gelaufen, bitte eine andere URL einzugeben","preview_notfound":"Vorschau nicht gefunden"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Name","ORGANIZATION":"Unternehmen","TITLE":"Titel","ADDRESS":"Standort","URL":"Webseite","PHONE":"Telefon","EMAIL":"E-Mail","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Abbrechen"}},"outline":{"default_name":"Inhaltsübersicht","menu":{"expand":"Ausklappen","collapse":"Einklappen","rename":"Umbenennen"},"context_menu":{"convert_to":{"text":"Text"},"style":{"name":"Stil der Inhaltsübersicht","list_only":"Einfache Liste","numbered_list":"Nummerierte Liste","bordered":"Rahmen anzeigen","border_color":"Border color"}},"empty":"Fügen Sie Ihrer Notiz Überschriften hinzu, dann erscheinen diese hier als Links"},"floating_toolbar":{"bold":"Fett","italic":"Kursiv","underline":"Unterstrichen","strikethrough":"Durchgestrichen","clear":"Formatierung entfernen","code":"Code","button":"Button","link":"Link","highlight":"Hervorhebung","extraHighlight":"Kontrastreiche Hervorhebung","color":"Farbe für Text und Hervorhebung","text":"Textfarbe","clear_all":"Alle zurücksetzen","placeholder":"Platzhalter","adapts":{"dark":"Passt sich einem dunklen Thema an","light":"Passt sich einem hellen Thema an"},"create_note":"Notiz erstellen","add_comment":"Kommentar hinzufügen"},"remote_frame":{"placeholder_small":"URL einbinden","placeholder_full":"Jede URL einbinden, wie YouTube, Github, Maps, Twitter usw.","loading":"Wird geladen...","context_menu":{"change_link":"Link ändern","full_size":"Vollbild","reset_size":"Größe zurücksetzen","open_origin":"Original öffnen","layout":"Layout","show_toolbar":"Bearbeitungsleiste anzeigen","copy_original":"Copy link to original"},"error":{"is_not_link":"Link ist nicht korrekt","content_error":"Die folgende Domain wird nicht unterstützt oder die URL ist falsch. Bitte <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">unseren Support kontaktieren</a> und wir werden den Link bearbeiten.","unknown_error":"Etwas ist schief gelaufen, bitte eine andere URL eingeben","wrong_signature":"Dieser Inhalt ist fehlerhaft und kann nicht angezeigt werde","google_docs_auth_error":"Höchstwahrscheinlich kann die Google Dokumenten/Tabellen/Präsentations Datei nicht eingebettet werden, weil kein Zugriff darauf möglich ist.  <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Bitte unsere Anleitung lesen.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"In Lesezeichen umwandeln","convert_link":"In Link umwandeln","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Wird geladen...","menu":{"expand":"Ausklappen","collapse":"Einklappen","open_origin":"In Google Drive öffnen","download":"Herunterladen","change_account":"Konto ändern","choose_another_file":"Andere Datei auswählen"},"last_modified":"Zuletzt geändert von {{userName}} vor {{time}}","browse":"Datei durchsuchen","login":"Bei Google anmelden","login_text":"Dateien durchsuchen und von Google Drive hinzufügen"},"html":{"default_name":"HTML","loading":"Wird geladen...","menu":{"open_source":"Quell-Link öffnen","export_blot":"HTML speichern"},"unknown_error":"Unbekannter Fehler","device_cant_display_content":"Gerät kann diesen Inhalt nicht anzeigen","wrong_signature":"Dieser Inhalt ist fehlerhaft und kann nicht angezeigt werden"},"relative_time":{"seconds":{"one":"{{count}} Sekunde","some":"{{count}} Sekunden","many":"{{count}} Sekunden"},"minutes":{"one":"{{count}} Minute","some":"{{count}} Minuten","many":"{{count}} Minuten"},"hours":{"one":"{{count}} Stunde","some":"{{count}} Stunden","many":"{{count}} Stunden"},"days":{"one":"{{count}} Tag","some":"{{count}} Tage","many":"{{count}} Tage"},"months":{"one":"{{count}} Monat","some":"{{count}} Monate","many":"{{count}} Monate"},"years":{"one":"{{count}} Jahr","some":"{{count}} Jahre","many":"{{count}} Jahre"}},"collapsible_content":{"menu":{"expand":"Aufklappen","collapse":"Einklappen","rename":"Umbenennen"}},"convert_link":{"url":"URL","title":"Titel","embed":"Einbinden","bookmark":"Lesezeichen","button":"Button","link_to_note":"Link zur Notiz","link_to_folder":"Link zum Ordner","link_to_workspace":"Link to workspace","convert_error":"Bei der Konvertierung der URL ist ein Fehler aufgetreten"},"fullwidth":{"menu_item":"Volle Breite"},"resizeable":{"point_tooltip":{"default":"Größe ändern","bottom-right":"Größe ändern\\n(halten Sie die Taste {{altKey}} gedrückt, um die Größe frei zu ändern)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Aufgabentafel","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Gut geeignet für Wissensmanagement","collaboration":"Perfekt für die Zusammenarbeit"},"paragraph":{"title":"Am besten für den Hauptinhalt","description":"Dies ist der Hauptblock zum Schreiben von Seiteninhalten."},"todo":{"title":"Eine Liste für kleine Aufgaben? Einfach abhaken!","description":"Schreib kleine Besorgungen und Routineaufgaben auf, die zu erledigen sind."},"numberedlist":{"title":"In einer Reihe aufstellen: Eins, zwei, drei!","description":"Erhöhe die Lesbarkeit Deiner Inhalte und zeige sie in einer Reihefolge an."},"bulletlist":{"title":"Aufzählungspunkte machen alles klarer","description":"Du kannst eine Liste erstellen, die sich von anderen Inhalten abhebt."},"table":{"title":"Erfreue Dich an der Strukturierung","description":"Organisiere Deine Informationen in einer Tabelle, um einen ganzheitlichen Blick auf Deine Arbeit zu erhalten."},"image":{"title":"Wir müssen es sehen - füge ein Bild hinzu","description":"Gestalte Deine Seiten attraktiver, indem Du Bilder eines beliebigen Dateityps hinzufügst, verschiebst oder in der Größe veränderst."},"file":{"title":"Dateien hier, Dateien dort, Dateien überall!","description":"Erstelle eine Datenbank für Dein Projekt, indem Du Dateien mit verschiedenen Erweiterungen zu Deiner Seite hinzufügst."},"largeheading":{"title":"Am besten geeignet für die Hauptabschnitte der Seite","description":"Dies ist die größte Überschrift, die Du hinzufügen kannst. Du lenkst damit die Aufmerksamkeit auf den wichtigsten Teil Deiner Seite und erleichterst die Navigation."},"mediumheading":{"title":"Am besten geeignet für die sekundären Abschnitte der Seite","description":"Dies ist eine mittelgroße Überschrift, die Du hinzufügen kannst. Unterteile damit Deine Seite in Abschnitte um alles, was Du brauchst, leicht zu finden."},"smallheading":{"title":"Am besten geeignet für starke Ideen in Unterabschnitten","description":"Dies ist eine kleine Überschrift, die Du hinzufügen kannst, die aber dennoch hervorsticht. Verwende sie, um Deine Seite in Unterabschnitte zu unterteilen."},"tasks-list":{"title":"Organisiere Deine Arbeit mit Nimbus Tasks","description":"Hier kannst Du Deine Aufgaben in Aufgabenlisten gruppieren. Weise Deinen Teammitgliedern Aufgaben zu, setze Fristen und füge den Status für eine einfache Verfolgung hinzu."},"hline":{"title":"Lass uns die Inhalte trennen","description":"Trenne verschiedene Teile eines Projekts oder unterteile Deine Beispiele und Ideen für das Projekt."},"link":{"title":"Pflastere den Weg mit Links","description":"Wann immer Du eine Idee für Dein Projekt hast, füge einen Link hinzu und benenne ihn."},"syntax":{"title":"Vergiss den Code nicht","description":"Du kannst Code direkt auf Deiner Seite hinzufügen und dabei zwischen Themen, Sprachen und mehr wechseln!"},"link-page":{"title":"Dein nächster Halt ist eine andere Seite","description":"Verlinke eine andere Seite, die mit diesem Projekt verbunden ist, um sofort darauf zuzugreifen."},"date":{"title":"Sag einfach, wann","description":"Lege eine Frist für Dein Projekt fest oder markiere den genauen Zeitpunkt, an dem Du mit der Arbeit an einer Seite begonnen hast."},"mention":{"title":"Beziehe Dein Team mit ein","description":"Deine Teammitglieder erhalten E-Mail-Benachrichtigungen, um eine bestimmte Seite zu öffnen und dort mitzuarbeiten."},"blockquote":{"title":"Und ich zitiere","description":"Du kannst wichtige Worte Deiner Kunden hervorheben oder eine motivierende Phrase herausstellen."},"hint":{"title":"Lass uns einen Hinweis geben","description":"Wähle ein Emoji und eine Hintergrundfarbe, um Warnungen, Haftungsausschlüsse oder Benachrichtigungen auf Deiner Seite hervorzuheben."},"toggle":{"title":"Textblöcke zusammenklappen und ausklappen","description":"Sortiere und verberge zusätzliche Informationen auf Deinen Seiten, um die Navigation und den Zugriff zu erleichtern."},"outline":{"title":"Sehen, was Dich auf der Seite erwartet","description":"Erstelle ein Inhaltsverzeichnis für eine einfache Navigation auf langen Seiten oder Wikis."},"lock-blot":{"title":"Keiner kann ihn bearbeiten","description":"Du kannst einen bestimmten Informationsblock auf Deiner Seite unangetastet und schreibgeschützt lassen."},"embed":{"title":"Weniger Tabs mit Google-Tabellen","description":"Halte Deine Daten mit anderen Projektdetails an einem Ort, um leichter Ergebnisse erzielen zu können."},"figma":{"title":"Bleibe an Deinem Bildmaterial noch näher dran","description":"Füge Figma hinzu, um die Entwicklung von Projektvisualisierungen in Echtzeit zu verfolgen."},"miro":{"title":"Dein Miro-Board befindet sich an einem sicheren Ort","description":"Entwickle eine Layout-Strategie oder einen Fahrplan für Dein Projekt und setze dann die Arbeit an Deiner Seite fort."},"columns":{"title":"Zwei Spalten sind besser als eine","description":"Unterteile Deine Seite in zwei Spalten, um dort mehr Inhalt hinzuzufügen und Deine Seite übersichtlicher zu gestalten."},"meeting-notes":{"title":"Ziele setzen und vorankommen","description":"Verwende diese Vorlage, um eine Marketingstrategie zu erstellen und alle Details an einem Ort zu speichern."},"marketing-brief":{"title":"Groß träumen, vierteljährlich planen","description":"Verwende diese Vorlage, um einen Marketingplan nach Quartalen zu erstellen."},"content-plan":{"title":"Kontrolliere und führe Deine Arbeit","description":"Verwende diese Vorlage, um alles, was Dir durch den Kopf geht, auf einen Tisch zu legen, wo Du alle Teile visualisieren und Aufgaben verwalten kannst."},"integrations":{"title":"Weniger Tabs mit Google-Tabellen","description":"Halte Deine Daten mit anderen Projektdetails an einem Ort, um leichter Ergebnisse erzielen zu können."},"google-drive":{"title":"Lade Deine Dateien von Google Drive","description":"Du kannst Dein Google Drive-Konto einbinden und Links zu Deinen Drive-Dateien für einen schnellen Zugriff einfügen."},"google-sheets":{"title":"Google Sheet Registerkarte","description":"Halte Deine Daten zusammen mit anderen Projektdetails an einem Ort, um leichter Schlüsse ziehen zu können."},"bookmark":{"title":"Kennzeichne Deinen Link durch einen neuen Look","description":"Verwende Lesezeichen, um den Titel Deines Links, eine kleine Beschreibung und ein Vorschaubild der Website anzuzeigen."},"audioRec":{"title":"Sprechen statt schreiben","description":"Verleihe der Zusammenarbeit eine menschliche Note, indem Du Sprachfeedback zu den Inhalten auf Deiner Seite aufnimmst."},"videoRec":{"title":"Zeigen statt schreiben","description":"Nimm eine visuelle Erklärung auf, was zu tun ist, oder gib explizites Feedback anhand eines Videobeispiels."},"button":{"title":"Gekommen, gesehen, geklickt","description":"Füge ein CTA-Element hinzu, das die Aufmerksamkeit auf wichtige Links auf Deinen Seiten lenkt."},"largeheading-toggle":{"title":"Verstecke zusätzlichen Inhalt in einer großformatigen einklappbaren Überschrift","description":"Definiere den wichtigsten Teil Deiner Seite und verbirg dort Informationen, um einfach darauf zuzugreifen."},"mediumheading-toggle":{"title":"Verkürze Deine Abschnitte","description":"Erstelle Abschnitte mit einer mittelgroßen einklappbaren Überschrift und verstecke dort einen Teil Deines Inhalts."},"smallheading-toggle":{"title":"Verkürze Deine Unterabschnitte","description":"Erstelle auf Deinen Seiten Unterabschnitte mit einer kleinen einklappbaren Überschrift, um dort zusätzliche Informationen zu verbergen."},"database-with-options":{"title":"Von der Tabelle zur Datenbank","description":"Erstelle eine Datenbank für Dein Projekt und passe sie an, indem Du verschiedene Arten von Spalten und Zeilen auswählst, die Hintergrundfarbe änderst und vieles mehr."},"board":{"title":"Sag Hallo zu Deinen Aufgaben auf einer Tafel","description":"Zeige Deine Aufgaben als Karten auf einem Kanban-Board an. Damit hast Du immer einen Gesamtüberblick."},"progress":{"title":"Sieh, wie weit Du gekommen bist!","description":"Wähle Deinen Wert und schätze ihn. Bewerte und kommentiere Deine hinzugefügten Inhalte, Aufgaben oder anderen Aktivitäten."},"uploader":{"title":"Sage Auf Wiedersehen zum Dateichaos!","description":"Kläre, welche Dateien deine Kunden und/oder dein Team senden müssen. Mit dem Datei-Uploader kannst du genau das bekommen, was du benötigst und alles an einem Ort aufbewahren."},"dropdown-list":{"title":"Gib uns Optionen","description":"Platziere Antwortoptionen an beliebiger Stelle im Text und lass andere sofort Feedback geben."},"use-ai":{"title":"Arbeite intelligent, nicht hart","description":"Nutze KI, um deine Inhalte zu erstellen und zu verbessern, neue Ideen zu bekommen und personalisierte Empfehlungen zu erhalten. Arbeite mit einem KI-Assistenten in deinem Arbeitsbereich."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),JSON.parse('{"table":{"common":{"column":"Colonna"},"move_column_cant_split_merged_cells":{"title":"Impossibile spostare la colonna","text":"Impossibile spostare una colonna in una cella unita. Separale e riprova."},"move_column_cant_move_part_of_merged_cells":{"title":"Impossibile spostare la colonna","text":"La colonna che stai tentando di spostare contiene parte di una cella unita. Se vuoi spostare la colonna, separa prima le celle."},"move_column_failed":{"title":"Impossibile spostare la colonna","text":"Si è verificato un errore imprevisto durante lo spostamento di una colonna, riprova."},"move_row_cant_split_merged_cells":{"title":"Impossibile spostare la riga","text":"Impossibile spostare una riga in una cella unita. Separale e riprova."},"move_row_cant_move_part_of_merged_cells":{"title":"Impossibile spostare la riga","text":"La riga che stai tentando di spostare contiene parte di una cella unita. Se desideri spostare la riga, separa prima le celle."},"move_row_cant_move_in_sortable_table":{"title":"Impossibile spostare la riga","text":"Impossibile spostare una riga in una tabella ordinabile. Annulla l\'ordinamento e riprova."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Impossibile spostare la riga","text":"Si è verificato un errore imprevisto durante lo spostamento di una riga, riprova."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Elimina","help":"Aiuto","delete_column":{"one":"Elimina colonna","many":"Elimina {{count}} colonne"},"delete_row":{"one":"Elimina riga","many":"Elimina {{count}} righe"},"add":"Inserisci","add_row_before":{"one":"Riga sopra","many":"{{count}} righe sopra"},"add_row_after":{"one":"Riga sotto","many":"{{count}} righe sotto"},"add_col_before":{"one":"Colonna a sinistra","many":"{{count}} colonne a sinistra"},"add_col_after":{"one":"Colonna a destra","many":"{{count}} colonne a destra"},"copy_cell":{"one":"Copia cella","many":"Copia celle"},"copy_table":"Copia tabella","table_layout":{"name":"Layout della tabella","column_headings":"Intestazioni di colonna","row_headings":"Intestazioni di riga"},"import_csv":"Import from CSV","merge_cells":"Unisci celle","insert_checkbox":"Inserisci casella di controllo","background_color":"Colore di sfondo","formatting":"Formattazione","clear":"Cancella","reset":"Ripristina","divide_cells":"Dividi le celle","type":{"name_cell":"Tipo di cella","name_cells":"Tipo di celle","name_column":"Tipo di colonna","name_columns":"Tipo di colonne","type_cell":{"one":"Tipo di cella","many":"Tipo di celle"},"type_col":{"one":"Tipo di colonna","many":"Tipo di colonne"},"same_as_column":"Uguale alla colonna","reset_cells":"Ripristina le celle ai valori predefiniti","none":"Multi tipo","text":"Testo","textline":"Testo","number":"Numero","attachment":"Allegato","checkbox":"Casella di controllo","multiselect":"Selezione multipla","singleselect":"Selezione singola","collaborator":"Collaboratore","currency":"Valuta","date":"Data","link":"Link","rating":"Valutazione","progress":"Progresso","mention":"Citazione"},"number_format":{"name":"Formato numero","number":"Numero","commas":"Numero con virgole","percent":"Percentuale"},"currency_format":{"name":"Tipo di valuta","dollar":"Dollaro","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rublo","pound":"Sterlina","rupee":"Rupia","hryvnia":"Grivnia","won":"Won","frank":"Franco","real":"Real","other":"Altro","stick":"Mostra il simbolo","before":"Prima","after":"Dopo"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Opzioni di avanzamento","simple":"Semplice","colored":"Colorato","start_from":"Inizia da (0-100)","default_amount":"Quantità predefinita (0-100)"},"rating_format":{"name":"Opzioni di valutazione","star":"Stella","flag":"Bandiera","heart":"Cuore","amount":"Quantità (1-10)"},"date_format":{"name":"Formato Data/Ora"},"mention_panel":{"open":"Apri","edit":"Modifica","clear":"Cancella"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Comment"},"formatting_menu":{"align_left":"Sinistra","align_center":"Centro","align_right":"Destra","valign_top":"Superiore","valign_center":"Medio","valign_bottom":"Inferiore","text":"Testo","text_align":"Allineamento del testo","text_color":"Colore del testo","bold":"Grassetto","italic":"Corsivo","strikethrough":"Barrato","underline":"Sottolineato"},"col_menu":{"add_column_after":{"one":"Aggiungi colonna a destra","many":"Aggiungi {{count}} colonne a destra"},"add_column_before":{"one":"Aggiungi colonna a sinistra","many":"Aggiungi {{count}} colonne a sinistra"},"duplicate_column":{"one":"Duplica colonna","many":"Duplica colonne"},"rename":"Rinomina"},"row_menu":{"add_row_after":{"one":"Aggiungi riga sotto","many":"Aggiungi {{count}} righe sotto"},"add_row_before":{"one":"Aggiungi riga sopra","many":"Aggiungi {{count}} righe sopra"}},"warning":{"merge_different":"Non è possibile unire diversi tipi di oggetti","convert_merged":"Non è possibile convertire celle unite"},"select":{"create_list":"Digita per creare un elenco","create_item":"Digita per creare un elemento","create_option":"Digita per creare un\'opzione","create_label":"Digita per creare un\'etichetta","create":"Crea","delete":"Elimina"},"attachment":{"upload_more":"Carica file","downloading":"Download in corso"},"collaborator":{"placeholder":"Digita per aggiungere persone","no_result":"Nessun risultato","loading":"Caricamento in corso...","unknown":"Persona sconosciuta"},"checkbox":{"checked":"Sì","not_checked":"No"},"sorting":{"name":"Ordinamento","sort":"Ordina","disable":"Rimuovi ordinamento","change":"Fai clic per modificare","asc":{"common":"Ascendente","text":"Ordina A-Z","number":"Ordina 1-9","checkbox":"Prima non selezionato"},"desc":{"common":"Discendente","text":"Ordina Z-A","number":"Ordina 9-1","checkbox":"Prima selezionato"},"warning":{"column_merged":{"title":"Impossibile ordinare la colonna","text":"Impossibile ordinare la colonna con celle unite"},"table_rowspan":{"title":"Impossibile ordinare la colonna","text":"Impossibile ordinare la tabella con righe unite"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Avviso di ordinamento","text":"Stai utilizzando diverse valute in una colonna. L\'ordinamento potrebbe non essere corretto."}},"exit_dialog":{"title":"Rimuovi ordinamento","toggle":"Mantieni ordinato","text_keep":"Mantieni ordinato","text_no_keep":"L\'ordine delle colonne verrà ripristinato al suo ordine iniziale prima dell\'applicazione dell\'ordinamento","apply":"Applica"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"A capo automatico","warnings":{"merge":{"title":"Impossibile unire le celle","text":"Impossibile unire le celle in modalità non a capo"},"toggle":{"title":"Impossibile cambiare opzione","text":"La tabella contiene celle unite"}}},"duplicate_column":{"title":"Duplica colonna","text_1":"Duplica il contenuto della colonna","text_2":"Puoi duplicare l\'intera colonna contenente i dati o lasciare vuota la colonna duplicata","accept":"Duplica","copy":"copia"},"convert_column":{"title":"Cambia il tipo di colonna","text_before":"Questa colonna contiene valori. Cambiare il tipo di colonna cancellerà alcuni valori. Usa il comando","text_cmd":"annulla","text_after":"per annullare le modifiche se necessario.","accept":"Cambia tipo"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Mostra la barra di calcolo","name":{"none":"Nessuna","all":"Tutte","empty":"Vuote","fill":"Riempite","unique":"Uniche","empty_percent":"Percentuale vuote","fill_percent":"Percentuale riempite","unique_percent":"Percentuale uniche","sum":"Somma","average":"Media","min":"Min","max":"Max","median":"Mediana","min_date":"Prima data","max_date":"Ultima data","range_days":"Intervallo di date (giorni)","range_month":"Intervallo di date (mese)","checked":"Selezionate","unchecked":"Deselezionate","checked_percent":"Percentuale selezionate","unchecked_percent":"Percentuale deselezionate","filter_rating":"Con valutazione:","filter_progress":"Con progresso:","filesize_min":"Dimensione minima","filesize_max":"Dimensione massima"},"item":{"none":"Calcola","min_date":"Prima","max_date":"Ultima","range_days":"Intervallo (giorni)","range_month":"Intervallo (mese)","checked_percent":"Selezionate","unchecked_percent":"Deselezionate","filter_rating":"Con valutazione","filter_progress":"Con progresso"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Impossibile caricare l\'immagine"},"download_file":"Scarica {{name}}","listen_file":"Play {{name}}","stop_file":"Stop {{name}}","uploading":"Caricamento in corso","wrtc":{"how_to_fix":"How to fix it?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Recording error. No microphone access.","rec_err_vi":"Recording error. No access to microphone/webcam. ","allow_micro":"Allow Access to microphone","allow_media":"Select the window you want to record","select_opt":"What will be recorded","screenonly":"Screen only","camonly":"Cam only","screencam":"Screen + Cam","enable_micro":"Enable microphone","startRecording":"Start recording","stopRecording":"Stop recording","pauseRecording":"Pause recording","resumeRecording":"Resume recording","cancelRecording":"Сancel recording","confirmCancel":"Are you sure you want to cancel the video recording?","cancel":"Сancel","prepareUpload":"Please wait, preparing to upload record","hasTmpRecord":"The recording was interrupted but not lost","restore":"Restore","delete":"Delete","recordOnAnotherDevice":"Recording is in progress on another device ..."},"menu":{"enabled":"Abilitato","disabled":"Disabilitato","open_in_new_tab":"Apri in una nuova scheda","copy_link":"Copia il collegamento al file","expand_in_full_window":"Espandi a finestra intera","autoplay":"Riproduzione automatica","sound_default":"Suono per impostazione predefinita","sound_loop":"Ciclo","sound_hideControls":"Nascondi controlli","sound_showPanel":"Show top panel","shadow_video":"Ombra per il video","video_params":"Parametri video","disallow_download":"Download in corso","for_note":"For workspaces users","for_share":"Public page","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Stampa","convert_to_image":"Converti in immagine","convert_to_file":"Convert to file","style":"Stile","shadow_image":"Ombra per l\'immagine","rename":"Rinomina","replace":"Sostituisci","delete":"Elimina","download":"Scarica","get_text_from_image":"Ottieni testo dall\'immagine","view_as":"View as","single_page":"Single page","all_pages":"All pages","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Download in corso","attachment_not_found_error":"Errore durante il caricamento","pdf_viewer":{"initializing_full_window_view":"Inizializzazione della visualizzazione a finestra intera","preparing_document_for_printing":"Preparazione del documento per la stampa ...","printing_initialization":"Inizializzazione della stampa ...","abort":"abortire","set_page_as_default":"Set page as default","unset_page_as_default":"Default page. Click to make the page normal."},"video_just_uploaded_codec_error":"You are trying to upload a video that has been encoded with the {codec} codec. We do not guarantee the correct playback of this video on all browsers. We recommend converting the video to another format and uploading it again.","video_codec_error":"This video is encoded with {codec} codec, which is not supported in your browser.","safari_webm_not_support":"Currently, Safari browsers do not support WEBM format. Try to open the note in another browser, such as Google Chrome or Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Testo da immagine","no_text":"Non c\'è testo","copy":"Copia tutto il testo"},"unknown_error":"Il collegamento è errato","add_image":"Incolla il link dell\'immagine o ","add_image_or":"o","add_image_small":"Incolla o ","browse":"sfoglia","browse_image":"Sfoglia immagine","too_large_error":"La dimensione dell\'immagine è troppo grande","image_info_dialog":{"title":"Informazioni sull\'immagine","type":"Tipo","size":"Dimensione","location":"Posizione","copy_link":"Copia link"},"rotate_wait":{"full":"Attendere prego","medium":"Aspetta"},"attachment_not_found_error":"Si è verificato un errore imprevisto con l\'immagine","readonly_placeholder":"Immagine vuota","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Qualcosa è andato storto, prova a scegliere un altro file","attachment_is_being_uploaded":"A file is being uploaded on another device...","attachment_will_be_downloaded_online":"Il file verrà scaricato quando sarai online.","attachment_preview_is_not_available":"L\'anteprima non è disponibile.","choose_a_file":"Scegliere i file","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Riproduci","pause":"Pausa","volume":"Volume","fullscreen_on":"A schermo intero","fullscreen_off":"Esci dalla modalità schermo intero","watch_again":"Watch again"}},"search":{"placeholder":"Trova nella nota","matches":"Risultati:"},"copy":{"copied":"Copiato!","copy_to_clipboard":"Copia negli appunti"},"apply":"Applica","done":"Fatto","block_menu":{"align":{"left":"Allinea a sinistra","center":"Allinea al centro","right":"Allinea a destra","justify":"Giustifica"},"indent":{"indent":"Aumenta il rientro","outdent":"Riduci il rientro"},"tooltip":"Trascina per spostare\\n<span>Fai clic per aprire il menu</span>","copy_tooltip":"Copy link","color":{"background_color":"Colore di sfondo","color":"Colore","line_color":"Colore della linea","line_type":"Tipo di linea","player_color":"Player\'s color"},"line_type":{"default":"Linea standard","dotted":"Punti"},"add":{"name":"Aggiungi blocco","above":"Sopra","below":"Sotto","left":"Sinistra","right":"Destra","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Convertire in","to_do_list":"Checklist","number_list":"Elenco numerato","bullet_list":"Elenco puntato","paragraph":"Paragrafo","large_heading":"Intestazione grande","medium_heading":"Intestazione media","small_heading":"Intestazione piccola","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Codice","quote":"Citazione","hint":"Hint","image":"Immagine","file":"File","remote_frame":"Incorporamento","link":"Link","bookmark":"Segnalibro","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Comment","edit":"Modifica","duplicate":"Duplica","copy_block":"Copy block","copy_blocks":"Copy blocks","copy_link":"Copia link","delete":"Elimina","replace":"Sostituisci","blot_lock":"Lock block","blot_unlock":"Unlock block","set_as_preview":"Imposta come anteprima","get_text_from_image":"Ottieni testo dall\'immagine","edit_image":"Edit image","download":"Scarica","view_full_size":"Visualizza a grandezza naturale","open_in_new_tab":"Apri in una nuova scheda","image_info":"Informazioni sull\'immagine","rotate_image":"Ruota","add_sub_task":"Aggiungi attività secondaria","add_sub_text":"Aggiungi sottotesto","layout":"Disposizione","embed_align":{"left":"Left align","center":"Center align","right":"Right align","default":"Default size","full_width":"Full width"},"expand_all":"Expand all","collapse_all":"Collapse all","add_caption":"Aggiungi didascalia","blot_locked_admin":"Editing of the block is denied. Click to unlock it.","blot_locked_admins":"Editing of the blocks is denied. Click to unlock it.","blot_locked_user":"You don’t have permission to edit this bock. Contact your organization admin.","show_header":"Show top bar","show_borders":"Show borders","rename":"Rinomina"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Embed","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Altri elementi ...","add_an_element":"Aggiungi un elemento","paragraph":"Paragraph","todo":"Checklist","numbered_list":"Elenco numerato","bullet_list":"Elenco puntato","table":"Tabella","image":"Immagine","file":"File","audioRec":"Audio Record","videoRec":"Video Record","recordExist":"You cannot start a new recording until the previous one is completed. End or delete the previous record to start a new one.","large_heading":"Intestazione 1","medium_heading":"Intestazione 2","small_heading":"Intestazione 3","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Interruzione di sezione","link":"Link","code":"Codice","quote":"Citazione","hint":"Hint","hint_placeholder":"Type something","mention":"Mention member","outline":"Scaletta","remote_frame":"Incorporamento","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Toggle block","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"This ID can be used in the future when editing the CSS file.","address":"URL or Email","open_in_new_tab":"Open in new tab","shape":"Button shape","background":"Background","size":"Button size","small":"Small","medium":"Medium","big":"Big","cancel":"Cancel","done":"Done","length_error":"The text is too large for the button. Try selecting less text (no more than 50 characters).","type":"Button type","default":"Default","withShadow":"Button with shadow","3d":"3d button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Apri","send":"Invia","copy":"Copia","edit":"Modifica","remove":"Rimuovi","text_label":"Testo","url_label":"Link","email_label":"Indirizzo","copied":"Link copiato negli appunti","cancel":"Cancel","done":"Done"},"syntax":{"menu":{"language":"Lingua","theme":"Theme","wrap":"Abilita a capo","unwrap":"Disabilita a capo","lineNumbersOn":"Show line numbers","lineNumbersOff":"Hide line numbers"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"Stile elenco","type_default":"Predefinito","type_rectangle":"Rettangolo","type_star":"Stella","type_dart":"Dardo","type_rounded":"Arrotondato","type_arrow":"Freccia","type_diamond":"Losanga"},"caption":{"placeholder":"Aggiungi didascalia"},"mention":{"show_all":"Mostra tutto","show_all_users":"Mostra tutti","placeholder":"Mostra recenti o digita per cercare","user":"Persone","workspace":"Spazi di lavoro","folder":"Cartelle","note":"Appunti","no_results":"Nessun risultato","offline_message":"La menzione funziona solo con connessione attiva. Accendi Internet e riprova.","info":{"note":{"one":"nota","some":"note","many":"note"},"subfolder":{"one":"sottocartella","some":"sottocartelle","many":"sottocartelle"},"member":{"one":"membro","some":"membri","many":"membri"},"owner":"proprietario","loading":"Caricamento anteprima ...","loading_failed":"Caricamento fallito","not_loaded":"Note has not been loaded yet"},"back_button":"Indietro","create_note_for":"Create Note","create_folder_for":"Create Folder"},"calendar":{"ui":{"date":"Data","am":"AM","pm":"PM","date_format":"Formato data","show_time":"Mostra orario","time_format":"Formato orario","time_12":"12 ore","time_24":"24 ore","first_week_day":"Primo giorno della settimana","time_zone":"Fuso orario","use_gmt":"Usa GMT per tutti i membri","use_gmt_hint":"Utilizza lo stesso fuso orario (GMT) per tutti i collaboratori","table":{"clear":"Cancella"},"inline":{"clear":"Elimina"},"reminder":{"name":"Avviso","panel_name":"Avviso","push_name":"Promemoria dell\'evento","remove_confirm_message":"You have alerts that are time-bound. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Don\'t delete reminders","before_period":"","after_period":"prima","period":{"m":{"one":"minuto","many":"minuti"},"h":{"one":"ora","many":"ore"},"d":{"one":"giorno","many":"giorni"},"w":{"one":"settimana","many":"settimane"}},"value":{"none":"Nessuno","0m":"All\'inizio","1m":"1 minuto prima","5m":"5 minuti prima","10m":"10 minuti prima","15m":"15 minuti prima","30m":"30 minuti prima","1h":"1 ora prima","2h":"2 ore prima","1d":"1 giorno prima","2d":"2 giorni prima","7d":"7 giorni prima","10d":"10 giorni prima","14d":"14 giorni prima","custom":"Personalizzato"},"until":{"in":"Tra","d":"g","h":"o","m":"min","already_been":"Già stato","less_minute":"Meno di un minuto","now":"Adesso"}},"postfix":{"day":"g","month":"m"}},"insert":{"category_name":"Data","custom":"Personalizzato","now":"Now","today":"Oggi","tomorrow":"Domani"},"date_format":{"ddmmyyyy":"gg/mm/aaaa","mmddyyyy":"mm/gg/aaaa","yyyyddmm":"aaaa/mm/gg","monthddyyyy":"Mese gg, aaaa","default":"Adatta al formato del browser"},"months":{"0":"Gennaio","1":"Febbraio","2":"Marzo","3":"Aprile","4":"Maggio","5":"Giugno","6":"Luglio","7":"Agosto","8":"Settembre","9":"Ottobre","10":"Novembre","11":"Dicembre"},"days":{"short":{"0":"Do","1":"Lu","2":"Ma","3":"Me","4":"Gi","5":"Ve","6":"Sa"},"full":{"0":"Domenica","1":"Lunedì","2":"Martedì","3":"Mercoledì","4":"Giovedì","5":"Venerdì","6":"Sabato"}}},"content_not_supported":"Questa nota non è supportata sulla tua versione dell\'app FuseBase. Prova ad aggiornarla o utilizza un altro client con l\'ultima versione.","profession_ask":{"title":"Risparmia tempo utilizzando i modelli per creare nuove note","text":"Inserisci la tua occupazione e il nostro team creerà dei modelli per te. È gratuito, senza costi nascosti","i_am_a":"Sono un","placeholder":"per esempio. designer, insegnante, agente di vendita, ecc.","request_template":"Richiedi modello","sucess_message":"Grazie! La tua occupazione verrà aggiunta alla nostra coda di attesa."},"bookmark":{"name":"Segnalibro","edit":"Modifica segnalibro","title":"Titolo","address":"Indirizzo","description":"Descrizione","placeholder":"Incolla o scrivi il link con https://...","placeholder_mobile":"Paste or write link","loading_preview":"Caricamento anteprima ...","block_menu":{"change_mode":{"menu_name":"Visualizza come","mode_tile":"Tessera","mode_card":"Cartolina","mode_cover":"Cover"},"change_preview":"Cambia anteprima","delete_preview":"Elimina anteprima","reset_preview":"Reimposta anteprima","change_preview_background":"Preview background","options":{"menu_name":"Options","open_in_same_tab":"Open in same tab"}},"error":{"unknown_error":"Qualcosa è andato storto, prova a inserire un altro URL","preview_notfound":"Anteprime non trovate"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Nome","ORGANIZATION":"Azienda","TITLE":"Titolo","ADDRESS":"Posizione","URL":"Sito","PHONE":"Telefono","EMAIL":"E-mail","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Annulla"}},"outline":{"default_name":"Scaletta","menu":{"expand":"Espandi","collapse":"Collassa","rename":"Rinomina"},"context_menu":{"convert_to":{"text":"Testo"},"style":{"name":"Stile scaletta","list_only":"Solo elenco","numbered_list":"Elenco numerato","bordered":"Mostra bordo","border_color":"Border color"}},"empty":"Aggiungi Intestazioni alla tua nota e appariranno come link qui"},"floating_toolbar":{"bold":"Grassetto","italic":"Corsivo","underline":"Sottolineato","strikethrough":"Barrato","clear":"Cancella Formattazione","code":"Codice","button":"Button","link":"Link","highlight":"Evidenzia","extraHighlight":"High contrast highlights","color":"Colore","text":"Testo","clear_all":"Clear all","placeholder":"Segnaposto","adapts":{"dark":"Adatta a un tema scuro","light":"Adatta a un tema chiaro"},"create_note":"Create note","add_comment":"Add comment"},"remote_frame":{"placeholder_small":"Incorpora URL","placeholder_full":"Incorpora qualsiasi URL, come YouTube, Github, Maps, Twitter, ecc.","loading":"Caricamento in corso...","context_menu":{"change_link":"Cambia link","full_size":"Dimensione originale","reset_size":"Reset size","open_origin":"Apri originale","layout":"Disposizione","show_toolbar":"Mostra barra di modifica","copy_original":"Copy link to original"},"error":{"is_not_link":"Il collegamento non è corretto","content_error":"Il seguente dominio non è supportato o l\'URL non è corretto. Contatta il <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">nostro supporto</a> ed elaboreremo il tuo collegamento.","unknown_error":"Qualcosa è andato storto, prova a inserire un altro URL","wrong_signature":"Questo contenuto è danneggiato e non può essere visualizzato","google_docs_auth_error":"Molto probabilmente non puoi incorporare il Documento/Foglio/Presentazione Google perché non hai accesso ad esso.<a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Leggi la nostra guida.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Converti in segnalibro","convert_link":"Converti in link","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Caricamento in corso...","menu":{"expand":"Espandi","collapse":"Collassa","open_origin":"Apri in Google Drive","download":"Scarica","change_account":"Cambia account","choose_another_file":"Scegli un altro file"},"last_modified":"Ultima modifica di {{userName}} {{time}} fa","browse":"Sfoglia file","login":"Accedi con Google","login_text":"Sfoglia i file e aggiungi da Google Drive"},"html":{"default_name":"HTML","loading":"Caricamento in corso...","menu":{"open_source":"Collegamento open source","export_blot":"Save HTML"},"unknown_error":"Errore sconosciuto","device_cant_display_content":"Il tuo dispositivo non può visualizzare questo contenuto","wrong_signature":"Questo contenuto è danneggiato e non può essere visualizzato"},"relative_time":{"seconds":{"one":"{{count}} secondo","some":"{{count}} secondi","many":"{{count}} secondi"},"minutes":{"one":"{{count}} minuto","some":"{{count}} minuti","many":"{{count}} minuti"},"hours":{"one":"{{count}} ora","some":"{{count}} ore","many":"{{count}} ore"},"days":{"one":"{{count}} giorno","some":"{{count}} giorni","many":"{{count}} giorni"},"months":{"one":"{{count}} mese","some":"{{count}} mesi","many":"{{count}} mesi"},"years":{"one":"{{count}} anno","some":"{{count}} anni","many":"{{count}} anni"}},"collapsible_content":{"menu":{"expand":"Espandi","collapse":"Collassa","rename":"Rinomina"}},"convert_link":{"url":"URL","title":"Titolo","embed":"Incorpora","bookmark":"Segnalibro","button":"Button","link_to_note":"Link alla nota","link_to_folder":"Collegamento alla cartella","link_to_workspace":"Link to workspace","convert_error":"Si è verificato un errore durante la conversione dell\'URL"},"fullwidth":{"menu_item":"Larghezza intera"},"resizeable":{"point_tooltip":{"default":"Resize","bottom-right":"Resize\\n(press and hold the {{altKey}} button for free resize)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),JSON.parse('{"table":{"common":{"column":"Columna"},"move_column_cant_split_merged_cells":{"title":"No se puede mover la columna","text":"No se puede mover la columna a una celda combinada. Primero divídela e inténtalo de nuevo."},"move_column_cant_move_part_of_merged_cells":{"title":"No se puede mover la columna","text":"La columna que estás intentando mover contiene parte de una celda combinada. Si quieres mover la columna, divide las celdas primero."},"move_column_failed":{"title":"No se puede mover la columna","text":"Ha ocurrido un error inesperado al mover una columna. Por favor, inténtalo de nuevo."},"move_row_cant_split_merged_cells":{"title":"No se puede mover la fila","text":"No se puede mover la fila a una celda combinada. Primero divídela e inténtalo de nuevo."},"move_row_cant_move_part_of_merged_cells":{"title":"No se puede mover la fila","text":"TLa fila que estás intentado mover contiene parte de una celda combinada. Si quieres mover la fila, divide las celdas primero."},"move_row_cant_move_in_sortable_table":{"title":"No se puede mover la fila","text":"No se pueden mover fila en una tabla ordenada. Borra los ajustes de ordenación primero e inténtalo de nuevo."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"No se puede mover la fila","text":"Ha ocurrido un error inesperado al mover una fila. Por favor, inténtalo de nuevo."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Eliminar","help":"Ayuda","delete_column":{"one":"Eliminar columna","many":"Eliminar {{count}} columnas"},"delete_row":{"one":"Eliminar fila","many":"Eliminar {{count}} filas"},"add":"Añadir","add_row_before":{"one":"Fila arriba","many":"{{count}} filas arriba"},"add_row_after":{"one":"Fila debajo","many":"{{count}} Filas debajo"},"add_col_before":{"one":"Columna a la izquierda","many":"{{count}} columnas a la izquierda"},"add_col_after":{"one":"Columna a la derecha","many":"{{count}} columnas a la derecha"},"copy_cell":{"one":"Copiar celda","many":"Copiar celdas"},"copy_table":"Copiar tabla","table_layout":{"name":"Diseño de tablat","column_headings":"Encabezados de columnas","row_headings":"Encabezados de filas"},"import_csv":"Import from CSV","merge_cells":"Combinar celdas","insert_checkbox":"Insertar casilla de verificación","background_color":"Color de fondo","formatting":"Formato","clear":"Borrar","reset":"Restaurar","divide_cells":"Dividir celdas","type":{"name_cell":"Tipo de celda","name_cells":"Tipo de celdas","name_column":"Tipo de columna","name_columns":"Tipo de columnas","type_cell":{"one":"Tipo de celda","many":"Tipo de celdas"},"type_col":{"one":"Tipo de columna","many":"Tipo de columnas"},"same_as_column":"Igual que la columna","reset_cells":"Restaurar celdas a los ajustes por defecto","none":"Mútiple","text":"Texto","textline":"Texto","number":"Número","attachment":"Adjunto","checkbox":"Casilla de verificación","multiselect":"Selección múltiple","singleselect":"Selección única","collaborator":"Persona","currency":"Moneda","date":"Fecha","link":"Enlace","rating":"Valoración","progress":"Progreso","mention":"Mención"},"number_format":{"name":"Formato de número","number":"Número","commas":"Número con comas","percent":"Porcentaje"},"currency_format":{"name":"Tipo de moneda","dollar":"Dólar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rublo","pound":"Libra","rupee":"Rupia","hryvnia":"Grivna","won":"Won","frank":"Franco","real":"Real","other":"Otra","stick":"Mostrar símbolo","before":"Antes","after":"Después"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Opciones de progreso","simple":"Simple","colored":"A color","start_from":"Empezar desde (0-100)","default_amount":"Cantidad por defecto (0-100)"},"rating_format":{"name":"Opciones de valoración","star":"Estrellas","flag":"Banderas","heart":"Corazones","amount":"Cantidad (1-10)"},"date_format":{"name":"Formato de fecha y hora"},"mention_panel":{"open":"Abrir","edit":"Editar","clear":"Borrar"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Comment"},"formatting_menu":{"align_left":"Izquierda","align_center":"Centrar","align_right":"Derecha","valign_top":"Arriba","valign_center":"Centro","valign_bottom":"Abajo","text":"Texto","text_align":"Alineación del texto","text_color":"Color del texto","bold":"Negrita","italic":"Cursiva","strikethrough":"Tachado","underline":"Subrayado"},"col_menu":{"add_column_after":{"one":"Añadir columna a la derecha","many":"Añadir {{count}} columnas a la derecha"},"add_column_before":{"one":"Añadir columna a la izquierda","many":"Añadir {{count}} columnas a la izquierda"},"duplicate_column":{"one":"Duplicar columna","many":"Duplicar columnas"},"rename":"Renombrar"},"row_menu":{"add_row_after":{"one":"Añadir fila debajo","many":"Añadir {{count}} filas debajo"},"add_row_before":{"one":"Añadir fila arriba","many":"Añadir {{count}} filas arriba"}},"warning":{"merge_different":"No se pueden combinar diferentes tipos de objetos","convert_merged":"No se pueden convertir las celdas combinadas"},"select":{"create_list":"Escribe para crear una lista","create_item":"Escribe para crear un elemento","create_option":"Escribe para crear una opción","create_label":"Escribe para crear una etiqueta","create":"Crear","delete":"Eliminar"},"attachment":{"upload_more":"Subir archivo(s)","downloading":"Descargando"},"collaborator":{"placeholder":"Escribe para añadir personas","no_result":"Sin resultados","loading":"Cargando...","unknown":"Persona desconocida"},"checkbox":{"checked":"Sí","not_checked":"No"},"sorting":{"name":"Ordenar","sort":"Ordenar","disable":"Eliminar orden","change":"Haz click para cambiar","asc":{"common":"Ascendente","text":"Ordenar de la A-Z","number":"Ordenar del 1-9","checkbox":"No seleccionados primero"},"desc":{"common":"Descendente","text":"Ordenar de la Z-A","number":"Ordenar del 9-1","checkbox":"Seleccionados primero"},"warning":{"column_merged":{"title":"No se pueden ordenar la columna","text":"No se puede ordenar columnas con celdas combinadas"},"table_rowspan":{"title":"No se puede ordenar la columna","text":"No se puede ordenar columnas con filas combinadas"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Advertencia de ordenación","text":"Estás utilizando diferentes monedas en una misma columna. El orden puede no aplicarse correctamente."}},"exit_dialog":{"title":"Eliminar orden","toggle":"Mantener ordenado","text_keep":"Mantener ordenado","text_no_keep":"El orden de la columna se restaurará a sus ajustes por defecto","apply":"Aplicar"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Ajustar celdas","warnings":{"merge":{"title":"No se pueden combinar las celdas","text":"No se puede combinar celdas que estén en el modo \\"no ajustar\\""},"toggle":{"title":"No se puede cambiar el ajuste","text":"La tabla contiene celdas combinadas"}}},"duplicate_column":{"title":"Duplicar columna","text_1":"Duplicar el contenido de la columna","text_2":"Puedes duplicar la columna al completo, incluyendo su contenido o duplicar la columna sin contenido","accept":"Duplicar","copy":"copiar"},"convert_column":{"title":"Cambiar el tipo de columna","text_before":"Esta columna contiene valores. Cambiar el tipo de columna eliminará alguno de esos valores. Usa","text_cmd":"deshacer","text_after":"para revertir los cambios si fuese necesario.","accept":"Cambiar tipo"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Mostrar barra de cálculos","name":{"none":"Nada","all":"Todo","empty":"Las vacías","fill":"Las que tienen datos","unique":"Las que son diferentes","empty_percent":"Sin porcentaje","fill_percent":"Con porcentaje","unique_percent":"Con porcentajes diferentes","sum":"Suma","average":"Media","min":"Mín.","max":"Máx.","median":"Mediana","min_date":"La fecha más antigua","max_date":"La fecha más reciente","range_days":"Rango de fechas (días)","range_month":"Rango de fechas (mes)","checked":"Marcadas","unchecked":"Sin marcar","checked_percent":"Porcentaje completado","unchecked_percent":"Porcentaje sin completar","filter_rating":"Con valoración:","filter_progress":"Con progreso:","filesize_min":"Tamaño mín.","filesize_max":"Tamaño máx."},"item":{"none":"Calcular","min_date":"La más antigua","max_date":"La más reciente","range_days":"Rango (días)","range_month":"Rango (mes)","checked_percent":"Marcadas","unchecked_percent":"Sin marcar","filter_rating":"Con valoración","filter_progress":"Con progreso"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"No se pudo cargar la imagen"},"download_file":"Descargar {{name}}","listen_file":"Play {{name}}","stop_file":"Stop {{name}}","uploading":"Subiendo","wrtc":{"how_to_fix":"How to fix it?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Recording error. No microphone access.","rec_err_vi":"Recording error. No access to microphone/webcam. ","allow_micro":"Allow Access to microphone","allow_media":"Select the window you want to record","select_opt":"What will be recorded","screenonly":"Screen only","camonly":"Cam only","screencam":"Screen + Cam","enable_micro":"Enable microphone","startRecording":"Start recording","stopRecording":"Stop recording","pauseRecording":"Pause recording","resumeRecording":"Resume recording","cancelRecording":"Сancel recording","confirmCancel":"Are you sure you want to cancel the video recording?","cancel":"Сancel","prepareUpload":"Please wait, preparing to upload record","hasTmpRecord":"The recording was interrupted but not lost","restore":"Restore","delete":"Delete","recordOnAnotherDevice":"Recording is in progress on another device ..."},"menu":{"enabled":"Enabled","disabled":"Disabled","open_in_new_tab":"Abrir en una pestaña nueva","copy_link":"Copiar enlace al archivo","expand_in_full_window":"Abrir en pantalla completa","autoplay":"Autoplay","sound_default":"Sound by default","sound_loop":"Loop","sound_hideControls":"Hide controls","sound_showPanel":"Show top panel","shadow_video":"Shadow for video","video_params":"Video settings","disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Imprimir","convert_to_image":"Convertir en imagen","convert_to_file":"Convert to file","style":"Style","shadow_image":"Shadow for image","rename":"Renombrar","replace":"Reemplazar","delete":"Eliminar","download":"Descargar","get_text_from_image":"Extraer texto de imagen","view_as":"View as","single_page":"Single page","all_pages":"All pages","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Descargando","attachment_not_found_error":"Error al subir","pdf_viewer":{"initializing_full_window_view":"Iniciando la vista a pantalla completa","preparing_document_for_printing":"Preparando el documento para la impresión...","printing_initialization":"Iniciando la impresión...","abort":"abortar","set_page_as_default":"Set page as default","unset_page_as_default":"Default page. Click to make the page normal."},"video_just_uploaded_codec_error":"You are trying to upload a video that has been encoded with the {codec} codec. We do not guarantee the correct playback of this video on all browsers. We recommend converting the video to another format and uploading it again.","video_codec_error":"This video is encoded with {codec} codec, which is not supported in your browser.","safari_webm_not_support":"Currently, Safari browsers do not support WEBM format. Try to open the note in another browser, such as Google Chrome or Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Texto de imagen","no_text":"No hay texto","copy":"Copiar todo el texto"},"unknown_error":"El enlace no es correcto","add_image":"Pegar el enlace de la imagen o ","add_image_or":"o","add_image_small":"Pegar o ","browse":"explorar","browse_image":"Explorar imagen","too_large_error":"El tamaño de la imagen es demasiado grande","image_info_dialog":{"title":"Información de la imagen","type":"Tipo","size":"Tamaño","location":"Ubicación","copy_link":"Copiar enlace"},"rotate_wait":{"full":"Por favor, espera","medium":"Espera"},"attachment_not_found_error":"Ha ocurrido un error inesperado con la imagen","readonly_placeholder":"Imagen vacía","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Algo ha ido mal. Prueba eligiendo otro archivo","attachment_is_being_uploaded":"A file is being uploaded on another device...","attachment_will_be_downloaded_online":"El archivo se descargará cuando estés conectado.","attachment_preview_is_not_available":"La vista previa no está disponible.","choose_a_file":"Elegir archivos","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Reproducir","pause":"Pausar","volume":"Volumen","fullscreen_on":"Pantalla completa","fullscreen_off":"Salir de pantalla completa","watch_again":"Watch again"}},"search":{"placeholder":"Buscar en la nota","matches":"Coincidencias:"},"copy":{"copied":"¡Copiado!","copy_to_clipboard":"Copiar al portapapeles"},"apply":"Aplicar","done":"Hecho","block_menu":{"align":{"left":"Alinear a la izquierda","center":"Centrar","right":"Alinear a la derecha","justify":"Justificar"},"indent":{"indent":"Aumentar sangría","outdent":"Reducir sangría"},"tooltip":"Arrastra para mover\\n<span>Haz click para abrir el menú</span>","copy_tooltip":"Copy link","color":{"background_color":"Color de fondo","color":"Color","line_color":"Color de la línea","line_type":"Tipo de línea","player_color":"Player\'s color"},"line_type":{"default":"Línea estándar","dotted":"Puntos"},"add":{"name":"Añadir bloque","above":"Arriba","below":"Abajo","left":"A la izquierda","right":"A la derecha","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Convertir en","to_do_list":"Checklist","number_list":"Lista numerada","bullet_list":"Lista con viñetas","paragraph":"Párrafo","large_heading":"Título grande","medium_heading":"Título mediano","small_heading":"Título pequeño","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Código","quote":"Cita","hint":"Hint","image":"Imagen","file":"Archivo","remote_frame":"Insertar","link":"Enlace","bookmark":"Marcador","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Comment","edit":"Editar","duplicate":"Duplicar","copy_block":"Copy block","copy_blocks":"Copy blocks","copy_link":"Copiar enlace","delete":"Eliminar","replace":"Reemplazar","blot_lock":"Lock block","blot_unlock":"Unlock block","set_as_preview":"Establecer como miniatura","get_text_from_image":"Extraer texto de imagen","edit_image":"Edit image","download":"Descargar","view_full_size":"Ver a tamaño completo","open_in_new_tab":"Abrir en una pestaña nueva","image_info":"Información de la imagen","rotate_image":"Rotar","add_sub_task":"Añadir subtarea","add_sub_text":"Añadir subtexto","layout":"Layout","embed_align":{"left":"Left align","center":"Center align","right":"Right align","default":"Default size","full_width":"Full width"},"expand_all":"Expand all","collapse_all":"Collapse all","add_caption":"Añadir pie","blot_locked_admin":"Editing of the block is denied. Click to unlock it.","blot_locked_admins":"Editing of the blocks is denied. Click to unlock it.","blot_locked_user":"You don’t have permission to edit this bock. Contact your organization admin.","show_header":"Show top bar","show_borders":"Show borders","rename":"Renombrar"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Embed","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Más elementos...","add_an_element":"Añadir un elemento","paragraph":"Paragraph","todo":"Checklist","numbered_list":"Lista numerada","bullet_list":"Lista con viñetas","table":"Tabla","image":"Imagen","file":"Archivo","audioRec":"Audio Record","videoRec":"Video Record","recordExist":"You cannot start a new recording until the previous one is completed. End or delete the previous record to start a new one.","large_heading":"Título 1","medium_heading":"Título 2","small_heading":"Título 3","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Separador","link":"Enlace","code":"Código","quote":"Cita","hint":"Hint","hint_placeholder":"Type something","mention":"Mention member","outline":"Tabla de contenido","remote_frame":"Insertar","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Toggle block","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"This ID can be used in the future when editing the CSS file.","address":"URL or Email","open_in_new_tab":"Open in new tab","shape":"Button shape","background":"Background","size":"Button size","small":"Small","medium":"Medium","big":"Big","cancel":"Cancel","done":"Done","length_error":"The text is too large for the button. Try selecting less text (no more than 50 characters).","type":"Button type","default":"Default","withShadow":"Button with shadow","3d":"3d button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Abrir","send":"Enviar","copy":"Copiar","edit":"Editar","remove":"Eliminar","text_label":"Texto","url_label":"Enlace","email_label":"Correo electrónico","copied":"Enlace copiado al portapapeles","cancel":"Cancel","done":"Done"},"syntax":{"menu":{"language":"Idioma","theme":"Theme","wrap":"Activar ajustar","unwrap":"Desactivar ajustar","lineNumbersOn":"Show line numbers","lineNumbersOff":"Hide line numbers"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"Estilo de lista","type_default":"Por defecto","type_rectangle":"Rectángulos","type_star":"Estrellas","type_dart":"Dardos","type_rounded":"Círculos","type_arrow":"Flechas","type_diamond":"Diamantes"},"caption":{"placeholder":"Añadir pie"},"mention":{"show_all":"Mostrar todo","show_all_users":"Mostrar todo","placeholder":"Mostrando los recientes o escribe para buscar","user":"Personas","workspace":"Espacios de trabajo","folder":"Carpetas","note":"Notas","no_results":"Sin resultados","offline_message":"Las menciones solo funcionan con una conexión a internet activa. Conéctate a internet e inténtalo de nuevo.","info":{"note":{"one":"nota","some":"notas","many":"notas"},"subfolder":{"one":"subcarpeta","some":"subcarpetas","many":"subcarpetas"},"member":{"one":"miembro","some":"miembros","many":"miembros"},"owner":"propietario","loading":"Cargando previsualización...","loading_failed":"La carga ha fallado","not_loaded":"Note has not been loaded yet"},"back_button":"Volver","create_note_for":"Create Note","create_folder_for":"Create Folder"},"calendar":{"ui":{"date":"Fecha","am":"AM","pm":"PM","date_format":"Formato de fecha","show_time":"Mostrar hora","time_format":"Formato de hora","time_12":"12H","time_24":"24H","first_week_day":"Primer día de la semana","time_zone":"Zona horaria","use_gmt":"Usar GMT para todos los miembros","use_gmt_hint":"Usa la misma zona horaria (GMT) para todos los colaboradores","table":{"clear":"Borrar"},"inline":{"clear":"Eliminar"},"reminder":{"name":"Alerta","panel_name":"Alerta","push_name":"Recordatorio del evento","remove_confirm_message":"You have alerts that are time-bound. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Don\'t delete reminders","before_period":"","after_period":"antes","period":{"m":{"one":"minuto","many":"minutos"},"h":{"one":"hora","many":"horas"},"d":{"one":"día","many":"días"},"w":{"one":"semana","many":"semanas"}},"value":{"none":"Ninguno","0m":"A la hora de inicio","1m":"1 minuto antes","5m":"5 minutos antes","10m":"10 minutos antes","15m":"15 minutos antes","30m":"30 minutos antes","1h":"1 hora antes","2h":"2 horas antes","1d":"1 día antes","2d":"2 días antes","7d":"7 días antes","10d":"10 días antes","14d":"14 días antes","custom":"Personalizado"},"until":{"in":"En","d":"d","h":"h","m":"min","already_been":"Ya ha sido","less_minute":"Menos de un minuto","now":"Ahora"}},"postfix":{"day":"d","month":"m"}},"insert":{"category_name":"Fecha","custom":"Personalizado","now":"Now","today":"Hoy","tomorrow":"Mañana"},"date_format":{"ddmmyyyy":"dd/mm/aaaa","mmddyyyy":"mm/dd/aaaa","yyyyddmm":"aaaa/mm/dd","monthddyyyy":"Mes dd, aaaa","default":"Coincidir con el formato del navegador"},"months":{"0":"Enero","1":"Febrero","2":"Marzo","3":"Abril","4":"Mayo","5":"Junio","6":"Julio","7":"Agosto","8":"Septiembre","9":"Octubre","10":"Noviembre","11":"Diciembre"},"days":{"short":{"0":"Do","1":"Lu","2":"Ma","3":"Mi","4":"Ju","5":"Vi","6":"Sá"},"full":{"0":"Domingo","1":"Lunes","2":"Martes","3":"Miércoles","4":"Jueves","5":"Viernes","6":"Sábado"}}},"content_not_supported":"Esta nota no es compatible con la versión de tu aplicación FuseBase. Prueba actualizándola o usa otro cliente con la última versión.","profession_ask":{"title":"Ahorra tiempo usando plantillas para crear notas nuevas","text":"Escribe tu ocupación y nuestro equipo creará plantillas para ti. Es totalmente gratis, sin ningún tipo de coste","i_am_a":"Soy","placeholder":"por ejemplo, diseñador, profesores, agente de ventas, etc.","request_template":"Solicitar plantilla","sucess_message":"¡Gracias! Tu solicitud se añadirá a la cola."},"bookmark":{"name":"Marcador","edit":"Editar marcador","title":"Título","address":"Dirección","description":"Descripción","placeholder":"Pega o escribe el enlace con https://...","placeholder_mobile":"Paste or write link","loading_preview":"Cargando previsualización…","block_menu":{"change_mode":{"menu_name":"Ver como","mode_tile":"Mosaico","mode_card":"Tarjeta","mode_cover":"Cover"},"change_preview":"Cambiar miniatura","delete_preview":"Eliminar miniatura","reset_preview":"Restaurar miniatura","change_preview_background":"Preview background","options":{"menu_name":"Options","open_in_same_tab":"Open in same tab"}},"error":{"unknown_error":"Algo ha ido mal. Prueba introduciendo otra URL","preview_notfound":"No se han encontrado miniaturas"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Nombre","ORGANIZATION":"Empresa","TITLE":"Título","ADDRESS":"Posición","URL":"Sitio web","PHONE":"Teléfono","EMAIL":"Correo electrónico","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Aceptar","cancel":"Cancelar"}},"outline":{"default_name":"Tabla de contenido","menu":{"expand":"Expandir","collapse":"Contraer","rename":"Renombrar"},"context_menu":{"convert_to":{"text":"Texto"},"style":{"name":"Estilo de la tabla de contenido","list_only":"Solo lista","numbered_list":"Lista numerada","bordered":"Mostrar borde","border_color":"Border color"}},"empty":"Añade títulos a tu nota y aparecerán aquí automáticamente como enlaces"},"floating_toolbar":{"bold":"Negrita","italic":"Cursiva","underline":"Subrayado","strikethrough":"Tachado","clear":"Limpiar formato","code":"Código","button":"Button","link":"Enlace","highlight":"Resaltar","extraHighlight":"High contrast highlights","color":"Color","text":"Texto","clear_all":"Clear all","placeholder":"Marcador","adapts":{"dark":"Se adapta al modo oscuro","light":"Se adapta al modo claro"},"create_note":"Create note","add_comment":"Add comment"},"remote_frame":{"placeholder_small":"Insertar URL","placeholder_full":"Inserta cualquier URL como YouTube, Github, Maps, Twitter, etc.","loading":"Cargando...","context_menu":{"change_link":"Cambiar enlace","full_size":"Tamaño completo","reset_size":"Reset size","open_origin":"Abrir original","layout":"Diseño","show_toolbar":"Mostrar barra de edición","copy_original":"Copy link to original"},"error":{"is_not_link":"El enlace no es correcto","content_error":"El dominio no se soporta o la URL no es correcta. Por favor, escribe a nuestro <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">equipo de soporte</a> y nosotros procesaremos tu enlace.","unknown_error":"Algo ha ido mal. Intenta insertar otra URL","wrong_signature":"Este contenido está corrupto o no se puede mostrar","google_docs_auth_error":"Probablemente no puedas insertar documentos, presentaciones u hojas de cálculo de Google porque no tienes acceso a ellos. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Por favor, lee nuestra guía.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Convertir en marcador","convert_link":"Convertir en enlace","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Cargando...","menu":{"expand":"Expandir","collapse":"Contraer","open_origin":"Abrir en Google Drive","download":"Descargar","change_account":"Cambiar cuenta","choose_another_file":"Elegir otro archivo"},"last_modified":"Modificado por última vez por {{userName}}, hace {{time}}","browse":"Seleccionar archivo","login":"Iniciar sesión con Google","login_text":"Selecciona archivos y añádelos desde Google Drive"},"html":{"default_name":"HTML","loading":"Cargando...","menu":{"open_source":"Abrir origen del enlace","export_blot":"Save HTML"},"unknown_error":"Error desconocido","device_cant_display_content":"Tu dispositivo no puede mostrar este contenido","wrong_signature":"Este contenido está corrupto y no puede mostrarse"},"relative_time":{"seconds":{"one":"{{count}} segundo","some":"{{count}} segundos","many":"{{count}} segundos"},"minutes":{"one":"{{count}} minuto","some":"{{count}} minutos","many":"{{count}} minutos"},"hours":{"one":"{{count}} hora","some":"{{count}} horas","many":"{{count}} horas"},"days":{"one":"{{count}} día","some":"{{count}} días","many":"{{count}} días"},"months":{"one":"{{count}} mes","some":"{{count}} meses","many":"{{count}} meses"},"years":{"one":"{{count}} año","some":"{{count}} años","many":"{{count}} años"}},"collapsible_content":{"menu":{"expand":"Expandir","collapse":"Contraer","rename":"Renombrar"}},"convert_link":{"url":"URL","title":"Título","embed":"Insertar","bookmark":"Marcador","button":"Button","link_to_note":"Enlace a nota","link_to_folder":"Enlace a carpeta","link_to_workspace":"Link to workspace","convert_error":"Ha ocurrido un error al convertir la URL"},"fullwidth":{"menu_item":"Ancho completo"},"resizeable":{"point_tooltip":{"default":"Resize","bottom-right":"Resize\\n(press and hold the {{altKey}} button for free resize)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),JSON.parse('{"table":{"common":{"column":"Sütun"},"move_column_cant_split_merged_cells":{"title":"Sütun taşınamıyor.","text":"Sütunlar Birleştirilmiş bir hücre içine taşınamaz. Birleştirmeyi iptal edip tekrar deneyiniz."},"move_column_cant_move_part_of_merged_cells":{"title":"Sütun taşınamıyor.","text":"Sütun birleştirilmiş bir hücrenin parçasını içermekte. Sütun\'u taşımak için hücreden ayırın."},"move_column_failed":{"title":"Sütun taşınamıyor.","text":"Sütun taşınırken beklenmeyen bir hata oluştu. Lütfen tekrar deneyiniz."},"move_row_cant_split_merged_cells":{"title":"Satır Taşınamıyor!","text":"Satırlar Birleştirilmiş bir hücre içine taşınamaz. Birleştirmeyi iptal edip tekrar deneyiniz."},"move_row_cant_move_part_of_merged_cells":{"title":"Satır Taşınamıyor!","text":"Satırlar birleştirilmiş bir hücrenin parçasını içermekte. Satırı taşımak için hücreden ayırın."},"move_row_cant_move_in_sortable_table":{"title":"Satır Taşınamıyor!","text":"Sıralanabilir bir tablodaki satır taşınamaz. Sıralamayı İptal Edip Tekrar Deneyiniz"},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Satır Taşınamıyor!","text":"Satır taşınırken beklenmeyen bir hata oluştu. Lütfen tekrar deneyiniz."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Sil","help":"Yardım","delete_column":{"one":"Sütunu Sil","many":"{{count}} Sütunu Sil"},"delete_row":{"one":"Satırı Sil","many":"{{count}} Satırı Sil"},"add":"Ekle","add_row_before":{"one":"Yukarı Satır","many":"{{count}} Yukarı Satır"},"add_row_after":{"one":"Aşağı Satır","many":"{{count}} Aşağı Satır"},"add_col_before":{"one":"Sol Sutun","many":"{{count}} Sol Sütun"},"add_col_after":{"one":"Sağ Sütun","many":"{{count}} Sağ Sütun"},"copy_cell":{"one":"Hücreyi Kopyala","many":"Hücreleri Kopyala"},"copy_table":"Tabloyu Kopyala","table_layout":{"name":"Tablo Düzeni","column_headings":"Sütun Başlıkları","row_headings":"Satır Başlıkları"},"import_csv":"Import from CSV","merge_cells":"Hücreleri Birleştir","insert_checkbox":"Onay Kutusu Ekle","background_color":"Arkaplan Rengi","formatting":"Biçimlendir","clear":"Açık","reset":"Sıfırla","divide_cells":"Birleştirilmiş Hücreleri Ayır","type":{"name_cell":"Hücre Tipi","name_cells":"Hücrelerin Tipi","name_column":"Sütun Tipi","name_columns":"Sütunların Tipi","type_cell":{"one":"Hücre Tipi","many":"Hücrelerin Tipi"},"type_col":{"one":"Sutun Tipi","many":"Sutunların Tipi"},"same_as_column":"Sütunlar Aynı","reset_cells":"Hücreleri Varsayılana Döndür","none":"Çoklu Tip","text":"Metin","textline":"Metin","number":"Numara","attachment":"Ek Dosya","checkbox":"Onay Kutusu","multiselect":"Çoklu Seçim","singleselect":"Tek Seçim","collaborator":"Ortak Alan","currency":"Para Birimi","date":"Tarih","link":"Link","rating":"Değerlendirme","progress":"İlerleme","mention":"Bahsetme"},"number_format":{"name":"Sayı Formatları","number":"Sayılar","commas":"Virgül İçeren Sayılar","percent":"Yüzde"},"currency_format":{"name":"Para Tipleri","dollar":"Dollar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rouble","pound":"Pound","rupee":"Rupee","hryvnia":"Hryvnia","won":"Won","frank":"Frank","real":"Gerçek","other":"Diğer","stick":"Sembol göster","before":"Önce","after":"Sonra"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"İlerleme Seçenekleri","simple":"Basit","colored":"Renk","start_from":"Şuradan Başla(0-100)","default_amount":"Varsayılan Miktar (0-100)"},"rating_format":{"name":"Değerlendirme Seçenekleri","star":"Yıldız","flag":"Bayrak","heart":"Kalp","amount":"Tutar (1-10)"},"date_format":{"name":"Tarih / Saat Biçimi"},"mention_panel":{"open":"Aç","edit":"Düzenle","clear":"Temizle"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Yorum"},"formatting_menu":{"align_left":"Sol","align_center":"Orta","align_right":"Alt","valign_top":"Üst","valign_center":"Orta","valign_bottom":"Alt","text":"Metin","text_align":"Metni Hizala","text_color":"Metin Rengi","bold":"Kalın","italic":"İtalik","strikethrough":"Üstü Çizili","underline":"Altı Çizili"},"col_menu":{"add_column_after":{"one":"Sağa sütun ekle","many":"Sağa {{count}} Sütun Ekle"},"add_column_before":{"one":"Sola sütun ekle","many":"Sola {{count}} Sütun Ekle"},"duplicate_column":{"one":"Sutunu Kopyala","many":"Sutunları Kopyala"},"rename":"Adını Değiştir"},"row_menu":{"add_row_after":{"one":"Aşağı satır ekle","many":"Aşağıya {{count}} satır ekle"},"add_row_before":{"one":"Yukarıya satır ekle","many":"Yukarıya {{count}} satır ekle"}},"warning":{"merge_different":"Farklı nesne türleri birleştirilemez","convert_merged":"Birleştirilmiş hücreler dönüştürülemiyor"},"select":{"create_list":"Liste oluşturmak için tıkla","create_item":"Bir öğe oluştur","create_option":"Bir seçenek oluştur","create_label":"Etiket oluşturmak için yazın","create":"Oluştur","delete":"Sil"},"attachment":{"upload_more":"Dosya(lar) yükleniyor","downloading":"Yükleniyor"},"collaborator":{"placeholder":"kişi eklemek için tıkla","no_result":"Sonuç yok","loading":"Yükleniyor...","unknown":"bilinmeyen kişi"},"checkbox":{"checked":"Evet","not_checked":"Hayır"},"sorting":{"name":"Sıralama","sort":"Sırala","disable":"Sıralamayı sil","change":"Değiştirmek için tıkla","asc":{"common":"Artan","text":"Sırala A-Z","number":"Sırala 1-9","checkbox":"Önce seçilmemiş"},"desc":{"common":"Azalan","text":"Sırala Z-A","number":"Sırala 9-1","checkbox":"Önce seçilmiş"},"warning":{"column_merged":{"title":"Sütunu sıralayamıyor","text":"Birleştirilmiş satırlara sahip tablo sıralanamıyor"},"table_rowspan":{"title":"Sütunu sıralayamıyor","text":"Birleştirilmiş satırlara sahip tablo sıralanamıyor"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Sıralama uyarısı","text":"Bir sütunda farklı para birimleri kullanıyorsunuz. Sıralama yanlış olabilir."}},"exit_dialog":{"title":"Sıralamayı kaldır","toggle":"Sıralamayı bırak","text_keep":"Sıralama kalsın","text_no_keep":"Sütun sırası, sıralama uygulanmadan önce baştaki sırasına geri yüklenecektir","apply":"Uygula"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Hücreleri birleştir","warnings":{"merge":{"title":"Satırları birleştiremiyor","text":"Nowrap modunda hücreler birleştirilemiyor"},"toggle":{"title":"Seçenek değiştirilemiyor","text":"Tablo birleştirilmiş hücreler içeriyor"}}},"duplicate_column":{"title":"Sütunu çoğalt","text_1":"Sütunun içeriğini çoğalt","text_2":"Veri içeren sütunun tamamını çoğaltabilir veya çoğaltılan sütunu boş bırakabilirsiniz","accept":"Çoğalt","copy":"Kopyala"},"convert_column":{"title":"Sütün türünü diğiştir","text_before":"Bu sütun değerler içerir. Sütun türünü değiştirmek bazı değerleri silecektir","text_cmd":"Geri al","text_after":"Gerekirse değişiklikleri geri alma emrini verebilirsiniz","accept":"Türü değiştir"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Hesaplama çubuğunu göster","name":{"none":"Hiçbiri","all":"Tümü","empty":"Boşalt","fill":"Dolu","unique":"Benzersiz","empty_percent":"Boş yüzde","fill_percent":"Yüzde doldur","unique_percent":"Benzersiz yüzde","sum":"Toplam","average":"Ortalama","min":"Minimum","max":"Maksimum","median":"Orta değer","min_date":"En erken tarih","max_date":"En geç tarih","range_days":"Tarih Aralığı (gün)","range_month":"Tarih aralıgı (ay)","checked":"Kontrol edilmiş","unchecked":"Kontrol edilmemiş","checked_percent":"İşaretlenmiş yüzde","unchecked_percent":"İşaretlenmemiş yüzde","filter_rating":"Derecelendirme ile:","filter_progress":"İlerleme ile:","filesize_min":"Minimum hacim","filesize_max":"Maksimum hacim"},"item":{"none":"Hesapla","min_date":"En erken","max_date":"En geç","range_days":"Aralık (gün)","range_month":"Mesafe (ay)","checked_percent":"Kontrol edildi","unchecked_percent":"Kontrol edilmedi","filter_rating":"Aralıkta","filter_progress":"Gelişmekte"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Fotoğraf yüklenemiyor"},"download_file":"Yükle {{isim}}","listen_file":"Oynat {{name}}","stop_file":"Durdur {{name}}","uploading":"Yükleniyor","wrtc":{"how_to_fix":"Nasıl düzeltilir?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Kayıt hatası. Mikrofon erişimi yok.","rec_err_vi":"Kayıt hatası. Mikrofona/web kamerasına erişim yok. ","allow_micro":"Mikrofona Erişim İzni Ver","allow_media":"Kaydetmek istediğiniz pencereyi seçin","select_opt":"Ne kaydedilecek","screenonly":"Yalnızca ekran","camonly":"Yalnızca kamera","screencam":"Ekran + Kamera","enable_micro":"Mikrofonu etkinleştir","startRecording":"Kaydı başlat","stopRecording":"Kaydı durdur","pauseRecording":"Kaydı duraklat","resumeRecording":"Kaydı devam ettir","cancelRecording":"Kaydı iptal et","confirmCancel":"Video kaydını iptal etmek istediğinizden emin misiniz?","cancel":"İptal","prepareUpload":"Lütfen bekleyin, kayıt yüklemeye hazırlanıyor","hasTmpRecord":"Kayıt kesintiye uğradı ancak kaybolmadı","restore":"Geri yükle","delete":"Sil","recordOnAnotherDevice":"Başka bir cihazda kayıt yapılıyor ..."},"menu":{"enabled":"Etkin","disabled":"Devre dışı","open_in_new_tab":"Yeni sekmede aç","copy_link":"Linki dosyaya kopyala","expand_in_full_window":"Tüm ekrenda göster","autoplay":"Otomatik oynat","sound_default":"Varsayılan olarak ses","sound_loop":"Döngü","sound_hideControls":"Kontrolleri gizle","sound_showPanel":"Show top panel","shadow_video":"Video için gölge","video_params":"Video ayarları","disallow_download":"İndiriliyor","for_note":"Çalışma alanları kullanıcıları için","for_share":"Herkese açık sayfa","motion_video":"Hareketli video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Yazdır","convert_to_image":"Fotoğrafa dönüştür","convert_to_file":"Convert to file","style":"Stil","shadow_image":"Resim için gölge","rename":"Yeniden adlandır","replace":"Yerine koy","delete":"Sil","download":"Yükle","get_text_from_image":"Fotoğraftan yazı çıkar","view_as":"Farklı görüntüle","single_page":"Tek sayfa","all_pages":"Tüm sayfalar","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"yükleniyor","attachment_not_found_error":"Yüklenirken bir hata oluştu","pdf_viewer":{"initializing_full_window_view":"Tam Pencere görünümünü başlatma","preparing_document_for_printing":"Dosya yazdırılımak için hazırlanıyor...","printing_initialization":"Baskı başlatma...","abort":"iptal et","set_page_as_default":"Sayfayı varsayılan olarak ayarla","unset_page_as_default":"Varsayılan sayfa. Sayfayı normal yapmak için tıklayın."},"video_just_uploaded_codec_error":"{codec} codec bileşeniyle kodlanmış bir video yüklemeye çalışıyorsunuz. Bu videonun tüm tarayıcılarda doğru oynatılacağını garanti etmiyoruz. Videoyu başka bir biçime dönüştürmenizi ve yeniden yüklemenizi öneririz.","video_codec_error":"Bu video, tarayıcınızda desteklenmeyen {codec} codec bileşeniyle kodlanmıştır.","safari_webm_not_support":"Şu anda Safari tarayıcıları WEBM biçimini desteklememektedir. Notu Google Chrome veya Mozilla Firefox gibi başka bir tarayıcıda açmayı deneyin.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Fotoğraftan yazı","no_text":"Yazı yok","copy":"Tüm metni kopyala"},"unknown_error":"Hatalı link","add_image":"Fotoğraf linkini yapıştır ya da ","add_image_or":"ya da","add_image_small":"Yapıştır ya da ","browse":"Göz at","browse_image":"Resme göz atın","too_large_error":"Görüntü boyutu çok büyük","image_info_dialog":{"title":"Resim bilgisi","type":"Tür","size":"Hacim","location":"Konum","copy_link":"Link kopyala"},"rotate_wait":{"full":"Lütfen bekleyin","medium":"Bekleyin"},"attachment_not_found_error":"Görüntüde beklenmeyen bir hata oluştu","readonly_placeholder":"Boş fotoğraf","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Yanlış giden bir şey var, başka dosya seçmeyi dene","attachment_is_being_uploaded":"dosya yüleniyor...","attachment_will_be_downloaded_online":"Çeivirimiçi olduğunda bu dosya yüklenecek.","attachment_preview_is_not_available":"Önizleme mevcut değil.","choose_a_file":"Dosyaları seç","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Oynat","pause":"Durdur","volume":"Ses","fullscreen_on":"Tam ekren","fullscreen_off":"Tam ekrenden çık","watch_again":"Tekrar izle"}},"search":{"placeholder":"Notta bul","matches":"Eşleşmeler:"},"copy":{"copied":"Kopyalandı!","copy_to_clipboard":"Panoya kopyala"},"apply":"Uygula","done":"Tamam","block_menu":{"align":{"left":"Sola hizala","center":"Ortaya hizala","right":"Sağa hizala","justify":"Doğrula"},"indent":{"indent":"Girintiyi artır","outdent":"Girintiyi azalt"},"tooltip":"Taşımak için sürükleyin\\n<span>Menude açmak için tıkla</span>","copy_tooltip":"Linki kopyala","color":{"background_color":"Arkaplan rengi","color":"Renk","line_color":"Satır rengi","line_type":"Satır türü","player_color":"Oyuncunun rengi"},"line_type":{"default":"Standart Satır","dotted":"Nokta"},"add":{"name":"Engel ekle","above":"Üst","below":"Alt","left":"Sol","right":"Sağ","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"\'ya dönüştür","to_do_list":"Checklist","number_list":"Numara listesi","bullet_list":"Bullet List","paragraph":"Paragraf","large_heading":"Büyük Başlık","medium_heading":"Orta Başlık","small_heading":"Küçük başlık","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Kod","quote":"Alıntı","hint":"İpucu","image":"Fotoğraf","file":"Dosya","remote_frame":"Yerleştir","link":"Link","bookmark":"Yer imi","button":"Buton","toggle":"Geçiş Bloğu","step":"Steps"},"comment_block":"Yorum","edit":"Düzenle","duplicate":"Çiftle","copy_block":"Bloğu kopyala","copy_blocks":"Blokları kopyala","copy_link":"Linki kopyala","delete":"Sil","replace":"Yerine yerleştir","blot_lock":"Bloğu kilitle","blot_unlock":"Blok kilidini aç","set_as_preview":"Önizleme olarak ayarla","get_text_from_image":"Fotoğraftan yazıyı çıkar","edit_image":"Fotoğrafı düzenle","download":"İndir","view_full_size":"Tam boyutu gör","open_in_new_tab":"Yeni sekmede aç","image_info":"Fotoğraf bilgileri","rotate_image":"Dönüştür","add_sub_task":"Alt görev ekle","add_sub_text":"Alt metin ekle","layout":"Düzen","embed_align":{"left":"Sola hizala","center":"Ortaya hizala","right":"Sağa hizala","default":"Varsayılan boyut","full_width":"Tam genişlik"},"expand_all":"Tümünü genişlet","collapse_all":"Tümünü daralt","add_caption":"Alt yazı ekle","blot_locked_admin":"Bloğun düzenlenmesi reddedildi. Kilidi açmak için tıklayın.","blot_locked_admins":"Blokların düzenlenmesi reddedildi. Kilidi açmak için tıklayın.","blot_locked_user":"Bu bloğu düzenleme izniniz yok. Kuruluş yöneticinizle iletişime geçin.","show_header":"Üst çubuğu göster","show_borders":"Kenarlıkları göster","rename":"Yeniden adlandır"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Embed","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"\\"/\\" yaz yada ekle","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Daha fazla öğe...","add_an_element":"Öğe ekle","paragraph":"Paragraf","todo":"Checklist","numbered_list":"Numara listesi","bullet_list":"Madde listesi","table":"Ta,ü","image":"fotoğraf","file":"Dosya","audioRec":"Ses Kaydı","videoRec":"Video Kaydı","recordExist":"Bir önceki kayıt tamamlanana kadar yeni bir kayıt başlatamazsınız. Yeni bir kayıt başlatmak için önceki kaydı sonlandırın veya silin.","large_heading":"Büyük Başlık","medium_heading":"Orta Başlık","small_heading":"Küçük başlık","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Bölüm ayırıcı","link":"Link","code":"Kod","quote":"Alıntı","hint":"İpucu","hint_placeholder":"Birşeyler yaz","mention":"Mention member","outline":"Anahat","remote_frame":"Yerleştir","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Aç/Kapat Bloğu","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Başlık","id_info_tooltip":"Bu kimlik gelecekte CSS dosyasını düzenlerken kullanılabilir.","address":"URL yada E-posta","open_in_new_tab":"Yeni sekmede aç","shape":"Buton şekli","background":"Arkaplan","size":"Buton boyutu","small":"Küçük","medium":"Orta","big":"Büyük","cancel":"İptal et","done":"Tamamlandı","length_error":"Metin, düğme için çok büyük. Daha az metin seçmeyi deneyin (en fazla 50 karakter).","type":"Buton tipi","default":"Varsayılan","withShadow":"Gölgeli Buton","3d":"3d buton","convert":{"popup_title":"Butona dönüştür"}},"link":{"open":"Aç","send":"Gönder","copy":"Kopyala","edit":"Değiştir","remove":"Kaldır","text_label":"Metin","url_label":"Link","email_label":"Adres","copied":"Link panoya kopyalandı","cancel":"İptal et","done":"Tamamlandı"},"syntax":{"menu":{"language":"Dil","theme":"Theme","wrap":"Sarmayı etkinleştir","unwrap":"Sarmayı iptal et","lineNumbersOn":"Satır numaralarını göster","lineNumbersOff":"Satır numaralarını gizle"},"convert":{"popup_title":"Koda Dönüştür","blots_have_comments":"Metin içerisinde dönüştürme sırasında silinecek yorumlar var.","text_has_inline_comments":"Metnin içerisinde dönüştürme sırasında silinecek yorumlar var.","confirm":"Dönüştür"}},"list":{"list_style":"Liste stili","type_default":"Varsayılan","type_rectangle":"Dikdörtgen","type_star":"Başlat","type_dart":"Dart","type_rounded":"Yuvarlak","type_arrow":"Ok","type_diamond":"Elmas"},"caption":{"placeholder":"Altyazı ekle"},"mention":{"show_all":"Tümünü göster","show_all_users":"Tümünü göster","placeholder":"En son oluşturulanlar gösteriliyor yada aramak için birşeyler yazın","user":"Kişiler","workspace":"Çalışma alanı","folder":"Klasörler","note":"Nolar","no_results":"Sonuç yok","offline_message":"Bahsetme yalnızca aktif bağlantı ile çalışır. İnterneti açın ve tekrar deneyin.","info":{"note":{"one":"not","some":"not","many":"not"},"subfolder":{"one":"Alt dosya","some":"Alt dosya","many":"Alt dosya"},"member":{"one":"Üye","some":"Üye","many":"Üye"},"owner":"sahip","loading":"Önizleme yükleniyor...","loading_failed":"Yükleme başarısız oldu","not_loaded":"Not henüz yüklenmedi"},"back_button":"Geri dön","create_note_for":"Not Oluştur:","create_folder_for":"Klasör oluştur:"},"calendar":{"ui":{"date":"Tarih","am":"sabah","pm":"öğleden sonra","date_format":"Tarih formatı","show_time":"Zamanı göster","time_format":"Zaman formatı","time_12":"12S","time_24":"24S","first_week_day":"Haftanın ilk günü","time_zone":"Saat dilimi","use_gmt":"Bütün üyeler için GMT kullan","use_gmt_hint":"Tüm ortak çalışanlar için aynı saat dilimini (GMT) kullanın","table":{"clear":"Temizle"},"inline":{"clear":"Temizle"},"reminder":{"name":"Uyarı","panel_name":"Uyarı","push_name":"Olay için hatırlatıcı","remove_confirm_message":"Zamana bağlı uyarılarınız var. Bu hatırlatıcıları silmek istiyor musunuz?","remove_confirm_text":"Sil","remove_cancel_text":"Hatırlatıcıları silme","before_period":"","after_period":"Önce","period":{"m":{"one":"dakika","many":"dakika"},"h":{"one":"saat","many":"saat"},"d":{"one":"gün","many":"gün"},"w":{"one":"hafta","many":"hafta"}},"value":{"none":"Hiçbiri","0m":"Başlangıçta","1m":"1 dakika önce","5m":"5 dakika önce","10m":"10 dakika önce","15m":"15 dakika önce","30m":"30 dakika önc","1h":"1 saat öcce","2h":"2 saat öcce","1d":"1 gün önce","2d":"2 gün önce","7d":"7 gün önce","10d":"10 gün önce","14d":"14 gün önce","custom":"Özel"},"until":{"in":"--","d":"g","h":"s","m":"dk","already_been":"oldu","less_minute":"Bir dakikadan az","now":"Şimdi"}},"postfix":{"day":"g","month":"a"}},"insert":{"category_name":"Tarih","custom":"Özel","now":"Şimdi","today":"Bugün","tomorrow":"Yarın"},"date_format":{"ddmmyyyy":"gg/aa/yyyy","mmddyyyy":"aa/gg/yyyy","yyyyddmm":"yyyy/aa/gg","monthddyyyy":"Ay gg, yyyy","default":"Tarayıcı formatını eşleştir"},"months":{"0":"Ocak","1":"Şubat","2":"Mart","3":"Nisan","4":"Mayıs","5":"Haziran","6":"Temmuz","7":"Ağustos","8":"Eylül","9":"Ekim","10":"Kasım","11":"Aralık"},"days":{"short":{"0":"Pa","1":"Pt","2":"Sa","3":"Ça","4":"Pe","5":"Cu","6":"Ct"},"full":{"0":"Pazar","1":"Pazartesi","2":"Salı","3":"Çarşamba","4":"Perşembe","5":"Cuma","6":"Cumartesi"}}},"content_not_supported":"FuseBase uygulaması sürümünüzde desteklenmiyor. Güncellemeyi deneyin veya en son sürüme sahip başka bir istemci kullanın.","profession_ask":{"title":"Yeni notlar oluşturmak için şablonları kullanarak zaman kazanın","text":"Mesleğinizi yazın, ekibimiz sizin için şablonlar oluştursun. Ücretsizdir ve hiçbir gizli ücreti yoktur","i_am_a":"Ben bir:","placeholder":"Ör. tasarımcı, öğretmen, satış temsilcisi vb.","request_template":"Şablon iste","sucess_message":"Teşekkürler! Mesleğiniz kuyruğumuza eklenecek."},"bookmark":{"name":"Yer imi","edit":"Yer imini düzenle","title":"Başlık","address":"Adres","description":"Açıklama","placeholder":" https://... ile bir link yaz veya yapıştır","placeholder_mobile":"Bağlantıyı yapıştırın veya yazın","loading_preview":"Önizleme yükleniyor…","block_menu":{"change_mode":{"menu_name":"Görüntüle","mode_tile":"Tuğla","mode_card":"Kart","mode_cover":"Kapak"},"change_preview":"Önizlemeyi değiştir","delete_preview":"Önizlemeyi sil","reset_preview":"Önizlemeyi sıfırla","change_preview_background":"Önizleme için arka planı değiştir","options":{"menu_name":"Seçenekler","open_in_same_tab":"Aynı sekmede aç"}},"error":{"unknown_error":"Bir hata oluştu, lütfen başka bir URL girmeyi deneyin","preview_notfound":"Önizlemeler bulunamadı"},"upload":{"new_preview":"Yeni Yükle","quota_error":"Dosya izin verilen 3MB\'den daha büyük. Başka bir dosya deneyin.","unknown_error":"Bilinmeyen hata. Başka bir dosya deneyin."}},"businessCard":{"PERSON":"İsim","ORGANIZATION":"Şirket","TITLE":"Başlık","ADDRESS":"Adres","URL":"Site","PHONE":"Telefon","EMAIL":"Email","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"VK"},"dialog_common":{"button":{"ok":"Tamam","cancel":"İptal et"}},"outline":{"default_name":"Anahat","menu":{"expand":"Genişlet","collapse":"Daralt","rename":"Yeniden adlandır"},"context_menu":{"convert_to":{"text":"Yazı"},"style":{"name":"Anahat türü","list_only":"Sadece liste","numbered_list":"Numaralanmış liste","bordered":"Kenarlığı göster","border_color":"Kenar rengi"}},"empty":"Notunuza Başlıklar ekleyin, burada bağlantılar olarak görünecektir"},"floating_toolbar":{"bold":"Kalın","italic":"İtalik","underline":"Altı çizgili","strikethrough":"Üstü çizili","clear":"Formatı temizle","code":"Kod","button":"Buton","link":"Link","highlight":"Vurgulama","extraHighlight":"Metin etiketleri","color":"Renk","text":"Yazı","clear_all":"Hepsini temizle","placeholder":"Yer tutucu","adapts":{"dark":"Karanlık temaya uyumla","light":"Aydınlık temaya uyumla"},"create_note":"Not oluştur","add_comment":"Yorum ekle"},"remote_frame":{"placeholder_small":"URL yerleştir","placeholder_full":"YouTube, Github, Haritalar, Twitter vb. Gibi herhangi bir URL\'yi yerleştirin.","loading":"Yükleniyor...","context_menu":{"change_link":"Linki değiştir","full_size":"Tam hacim","reset_size":"Boyutu sıfırla","open_origin":"Orjinali aç","layout":"Düzen","show_toolbar":"Düzenleme araç çubuğunu göster","copy_original":"Copy link to original"},"error":{"is_not_link":"Yanlış link","content_error":"Aşağıdaki alan desteklenmiyor veya URL yanlış. Lütfen <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">destek ekibimiz ile</a> iletişime geçin.","unknown_error":"Yanlışlık var, Başka URL gir","wrong_signature":"Bu içerik bozuk ve gosterilemez","google_docs_auth_error":"Erişiminiz olmadığı için büyük olasılıkla Google Dokümanlar / E-Tablolar / Slayt dosyasını yerleştiremezsiniz. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Lütfen kılavuzumuzu okuyun.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Yer imine dönüştür","convert_link":"Linke dönüştür","back_button":"Geri dön"},"google_drive":{"block_name":"Google Drive","loading":"Yükleniyor...","menu":{"expand":"Genişlet","collapse":"Daralt","open_origin":"Google Drive\'da aç","download":"Yükle","change_account":"Hesabı değiştir","choose_another_file":"Başka dosya seç"},"last_modified":"En son {{userName}} tarafından {{time}} önce değiştirildi","browse":"Dosyada ara","login":"Google ile giriş yap","login_text":"Dosyalara göz atın ve Google Drive\'dan ekleyin"},"html":{"default_name":"HTML","loading":"Yükleniyor...","menu":{"open_source":"Ana linki aç","export_blot":"HTML\'i kaydet"},"unknown_error":"Bilinmeyen hata","device_cant_display_content":"Cihazınız bu içeriği gösteremiyor","wrong_signature":"Bu içerik bozuk ve gösterilemez"},"relative_time":{"seconds":{"one":"{{count}} saniye","some":"{{count}} saniye","many":"{{count}} saniye"},"minutes":{"one":"{{count}} Dakika","some":"{{count}} Dakika","many":"{{count}} Dakika"},"hours":{"one":"{{count}} Saat","some":"{{count}} Saat","many":"{{count}} Saat"},"days":{"one":"{{count}} Gün","some":"{{count}} Gün","many":"{{count}} Gün"},"months":{"one":"{{count}} Ay","some":"{{count}} Ay","many":"{{count}} Ay"},"years":{"one":"{{count}} Yıl","some":"{{count}} Yıl","many":"{{count}} Yıl"}},"collapsible_content":{"menu":{"expand":"Genişlet","collapse":"Daralt","rename":"Yeniden adlandır"}},"convert_link":{"url":"URL","title":"Başlık","embed":"Yerleştir","bookmark":"Yer imi","button":"Button","link_to_note":"Nota bağla","link_to_folder":"Dosyaya bağla","link_to_workspace":"Çalışma alanına bağla","convert_error":"URL dönüştürürken bir yanlışlık oldu"},"fullwidth":{"menu_item":"Tam genişlik"},"resizeable":{"point_tooltip":{"default":"Yeniden boyutlandır","bottom-right":"Yeniden boyutlandır\\n(ücretsiz yeniden boyutlandırma için {{altKey}} düğmesini basılı tutun)"}},"toggle":{"placeholder":"Bir blok oluşturmak veya taşımak için buraya tıklayın","expand":"Geçişi genişlet","collapse":"Geçişi daralt","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),JSON.parse('{"table":{"common":{"column":"Колонка"},"move_column_cant_split_merged_cells":{"title":"Неможливо перемістити колонку","text":"Не вдається перемістити колонку в об\'єднану клітинку. Від\'єднайте і спробуйте ще раз."},"move_column_cant_move_part_of_merged_cells":{"title":"Неможливо перемістити колонку","text":"Колонка, яку ви намагаєтеся перемістити, містить частину об\'єднаної клітинки. Якщо ви хочете перемістити колонку, спочатку роз\'єднайте клітинки."},"move_column_failed":{"title":"Неможливо перемістити колонку","text":"Виникла несподівана помилка під час переміщення колонки, будь ласка, спробуйте ще раз."},"move_row_cant_split_merged_cells":{"title":"Неможливо перемістити рядок","text":"Не вдається перемістити рядок в об\'єднану клітинку. Від\'єднайте і спробуйте ще раз."},"move_row_cant_move_part_of_merged_cells":{"title":"Неможливо перемістити рядок","text":"Рядок, який ви намагаєтеся перемістити, містить частину об\'єднаної клітинки. Якщо ви хочете перемістити рядок, спочатку роз\'єднайте клітинки."},"move_row_cant_move_in_sortable_table":{"title":"Неможливо перемістити рядок","text":"Не вдається перемістити рядок у відсортованій таблиці. Скасуйте сортування і повторіть спробу."},"move_row_cant_move_in_filtered_table":{"title":"Неможливо перемістити рядок","text":"Неможливо перемістити рядок у відфільтрованій таблиці. Скасуйте фільтр і повторіть спробу."},"move_row_failed":{"title":"Неможливо перемістити рядок","text":"Під час переміщення рядка сталася несподівана помилка, будь ласка, спробуйте ще раз."},"first_move_column_or_row_message":"Ви можете вибрати кілька рядків або колонок, утримуючи кнопку CTRL і клікаючи на потрібні рядки або колонки","menu":{"delete":"Видалити","help":"Допомогти","delete_column":{"one":"Видалити колонку","many":"Видалити {{count}} колонки"},"delete_row":{"one":"Видалити рядок","many":"Видалити {{count}} рядки"},"add":"Додати","add_row_before":{"one":"Рядок вище","many":"{{count}} Рядки вище"},"add_row_after":{"one":"Рядок нижче","many":"{{count}} рядки нижче"},"add_col_before":{"one":"Колонка зліва","many":"{{count}} колонки зліва"},"add_col_after":{"one":"Колонка справа","many":"{{count}} колонки справа"},"copy_cell":{"one":"Скопіювати клітинку","many":"Скопіювати клітинки"},"copy_table":"Скопіювати таблицю","table_layout":{"name":"Розмітка таблиці","column_headings":"Заголовки колонки","row_headings":"Заголовки рядків"},"import_csv":"Імпорт із CSV","merge_cells":"Об\'єднати клітинки","insert_checkbox":"Вставити вибіркове поле","background_color":"Фоновий колір","formatting":"Форматування","clear":"Очистити","reset":"Скинути","divide_cells":"Роз\'єднати клітинки","type":{"name_cell":"Тип клітинки","name_cells":"Тип клітинок","name_column":"Тип колонки","name_columns":"Тип колонок","type_cell":{"one":"Тип клітинки","many":"Тип клітинок"},"type_col":{"one":"Тип колонки","many":"Тип колонок"},"same_as_column":"Те саме, що колонка","reset_cells":"Скинути клітинки до значень за замовчуванням","none":"Багатофункціональний тип","text":"Текст","textline":"Текст","number":"Число","attachment":"Файли","checkbox":"Вибіркове поле","multiselect":"Кілька варіантів вибору","singleselect":"Один вибір","collaborator":"Відповідальний","currency":"Валюта","date":"Дата","link":"Посилання","rating":"Оцінка","progress":"Прогрес","mention":"Згадка"},"number_format":{"name":"Формат числа","number":"Число","commas":"Число з комами","percent":"Відсоток"},"currency_format":{"name":"Тип валюти","dollar":"Долар","euro":"Євро","yen":"Єна","yuan":"Юань","rouble":"Рубль","pound":"Фунт","rupee":"Рупія","hryvnia":"Гривня","won":"Вон","frank":"Франк","real":"Реал","other":"Інша","stick":"Показати символ","before":"До","after":"Після"},"decimal_format":{"name":"Роздільник десяткової частини","comma":"Кома","point":"Крапка","hint":"Роздільник використовується для десяткових знаків. Роздільники десяткових частин з комою виглядатимуть ось так 1000,99, а крапкові роздільники так 1000.99"},"progress_format":{"name":"Варіанти прогресу","simple":"Простий","colored":"Кольоровий","start_from":"Почати із(0-100)","default_amount":"Кількість за замовчуванням(0-100)"},"rating_format":{"name":"Варіанти оцінки","star":"Зірка","flag":"Прапорець","heart":"Сердечко","amount":"Кількість(1-10)"},"date_format":{"name":"Формат Дата/Час"},"mention_panel":{"open":"Відкрити","edit":"Редагувати","clear":"Очистити"},"color_numbers":{"name":"Кольорові номери","enable":"Увімкнути кольорові номери"},"filter":"Фільтр","comment":"Коментар"},"formatting_menu":{"align_left":"Зліва","align_center":"По центру","align_right":"Справа","valign_top":"Зверху","valign_center":"Посередині","valign_bottom":"Внизу","text":"Текст","text_align":"Вирівнювання тексту","text_color":"Колір тексту","bold":"Жирний","italic":"Курсив","strikethrough":"Закреслити","underline":"Підкреслити"},"col_menu":{"add_column_after":{"one":"Додати колонку справа","many":"Додати{{count}} колонок справа"},"add_column_before":{"one":"Додати колонку зліва","many":"Додати {{count}} колонок зліва"},"duplicate_column":{"one":"Дублювати колонку","many":"Дублювати колонки"},"rename":"Перейменувати"},"row_menu":{"add_row_after":{"one":"Додати рядок знизу","many":"Додати{{count}} рядки знизу"},"add_row_before":{"one":"Додати рядок зверху","many":"Додати {{count}} рядки зверху"}},"warning":{"merge_different":"Неможливо об\'єднати різні типи об\'єктів","convert_merged":"Не вдається перетворити об\'єднані клітинки"},"select":{"create_list":"Введіть текст, щоб створити список","create_item":"Введіть текст, щоб створити об\'єкт","create_option":"Введіть текст, щоб створити варіант","create_label":"Введіть текст","create":"Створити","delete":"Видалити"},"attachment":{"upload_more":"Завантажити файл(и)","downloading":"Скачати"},"collaborator":{"placeholder":"Введіть текст, щоб додати людей","no_result":"Немає результатів","loading":"Завантаження...","unknown":"Невідома особа"},"checkbox":{"checked":"Так","not_checked":"Ні"},"sorting":{"name":"Сортування","sort":"Сортувати","disable":"Прибрати сортування","change":"Клікніть, щоб змінити","asc":{"common":"За зростанням","text":"Сортувати від А до Я","number":"Сортувати від 1 до 9","checkbox":"Невибране спершу"},"desc":{"common":"За спаданням","text":"Сортувати від Я до А","number":"Сортувати від 9 до 1","checkbox":"Вибране спершу"},"warning":{"column_merged":{"title":"Неможливо відсортувати колонку","text":"Неможливо відсортувати колонку з об\'єднаними клітинками"},"table_rowspan":{"title":"Неможливо відсортувати колонку","text":"Не вдається відсортувати таблицю з об\'єднаними рядками"},"merge":{"title":"Клітинки не можна об\'єднати","text":"Неможливо об\'єднати клітинки, коли активне сортування у колонках. Вимкніть сортування і спробуйте ще раз."},"different_currencies":{"title":"Важливо!","text":"Ви використовуєте різні валюти в одній колонці. Сортування може бути некоректним."}},"exit_dialog":{"title":"Прибрати сортування","toggle":"Залишити сортування","text_keep":"Залишити сортування","text_no_keep":"Перед сортуванням порядок колонок буде відновлено до початкового","apply":"Застосувати"}},"filter":{"by_field":"Фільтрувати за цим полем","empty_table":"Всі записи відфільтровано","popup_title":"У цій таблиці показувати записи","empty_filters":"До цієї бази даних не застосовуються жодні умови","where":"Де","or":"Або","and":"І","add_condition":"Додати умову","clear_all":"Очистити все","contains":"містить","is":"є","is_not":"не є","contains_not":"містить не","has_any_of":"має деякі","has_none_of":"немає жодних","empty":"пустий","not_empty":"не пустий","filetype":"тип файлу","select_users_placeholder":"Вибрати користувачів","type_text_placeholder":"Ввести текст","type_text_or_select_placeholder":"Ввести текст або вибрати","type_number_placeholder":"Тип цифри","select_type_placeholder":"Вибрати тип","select_date_placeholder":"Вибрати дату","date":{"today":"Сьогодні","yesterday":"Вчора","tomorrow":"Завтра","custom":"Індивідуальний"},"filetypes":{"images":"Зображення","documents":"Документи","media":"Медіа","other":"Інше"},"warning":{"cells_merged":{"title":"Неможливо відфільтрувати таблицю","text":"Неможливо відфільтрувати колонку з об\'єднаними клітинками"},"merge":{"title":"Клітинки не можна об\'єднати","text":"Клітинки не можна об\'єднати, поки активний фільтр таблиці. Вимкніть фільтр і спробуйте ще раз."},"column_multitype":{"title":"Неможливо відфільтрувати таблицю","text":"Немає можливості фільтрувати стовпці з багатофункціональним типом. Будь ласка, спробуйте перетворити в інший тип і спробуйте ще раз."},"table_not_have_typed_columns":{"title":"Неможливо відфільтрувати таблицю","text":"Немає колонок для фільтрації."}},"enable_filter":"Увімкнути фільтр","disable_filter":"Вимкнути фільтр"},"wrap_cells":{"layout_menu":"Згорнути клітинки","warnings":{"merge":{"title":"Неможливо об\'єднати клітинки","text":"Неможливо об\'єднати клітинки в режимі незгортання"},"toggle":{"title":"Не вдається переключити опцію","text":"Таблиця містить об\'єднані клітинки"}}},"duplicate_column":{"title":"Дублювати колонку","text_1":"Дублювати вміст колонки","text_2":"Ви можете продублювати всю колонку з даними або залишити дублікат пустим","accept":"Дублювати","copy":"копіювати"},"convert_column":{"title":"Змінити тип колонки","text_before":"Ця колонка містить значення. Зміна типу колонки призведе до видалення деяких значень. Застосувати","text_cmd":"Скасувати","text_after":"команда для відміни змін, якщо потрібно.","accept":"Змінити тип"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Показати панель розрахунків","name":{"none":"Жодної","all":"Всі","empty":"Пусті","fill":"Заповнені","unique":"Унікальні","empty_percent":"Відсоток пустих","fill_percent":"Відсоток заповнених","unique_percent":"Відсоток унікальних","sum":"Сума","average":"Середнє","min":"Мін","max":"Макс","median":"Медіанне значення","min_date":"Найдавніша дата","max_date":"Найновіша дата","range_days":"Діапазон дат (дні)","range_month":"Діапазон дат (місяці)","checked":"Відмічено","unchecked":"Невідмічено","checked_percent":"Відсоток відмічених","unchecked_percent":"Відсоток невідмічених","filter_rating":"Із оцінкою:","filter_progress":"Із прогресом:","filesize_min":"Мін розмір","filesize_max":"Макс розмір"},"item":{"none":"Порахувати","min_date":"Найдавніша","max_date":"Найновіша","range_days":"Діапазон(день)","range_month":"Діапазон (місяць)","checked_percent":"Відмічено","unchecked_percent":"Невідмічено","filter_rating":"Із оцінкою","filter_progress":"Із прогресом"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Неможливо завантажити зображення"},"download_file":"Скачати {{name}}","listen_file":"Грати {{name}}","stop_file":"Зупинити {{name}}","uploading":"Завантажити","wrtc":{"how_to_fix":"Як це виправити?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Помилка запису. Немає доступу до мікрофона.","rec_err_vi":"Помилка запису. Немає доступу до мікрофона/вебкамери. ","allow_micro":"Дозволити доступ до мікрофона","allow_media":"Виберіть вікно, яке хочете записати","select_opt":"Що буде записано","screenonly":"Тільки екран","camonly":"Тільки камера","screencam":"Екран + Камера","enable_micro":"Увімкнути мікрофон","startRecording":"Почати запис","stopRecording":"Зупинити запис","pauseRecording":"Призупинити запис","resumeRecording":"Продовжити запис","cancelRecording":"Скасувати запис","confirmCancel":"Ви впевнені, що хочете скасувати відеозапис?","cancel":"Скасувати","prepareUpload":"Будь ласка, зачекайте, запис готується до завантаження","hasTmpRecord":"Запис було перервано, але не втрачено","restore":"Відновити","delete":"Видалити","recordOnAnotherDevice":"Йде запис на іншому пристрої ..."},"menu":{"enabled":"Увімкнути","disabled":"Вимкнути","open_in_new_tab":"Відкрити у новій вкладці","copy_link":"Скопіювати посилання до файлу","expand_in_full_window":"Розгорнути у повному вікні","autoplay":"Автовідтворення","sound_default":"Звук за замовчуванням","sound_loop":"Цикл","sound_hideControls":"Сховати елементи керування","sound_showPanel":"Показати верхню панель","shadow_video":"Тінь для відео","video_params":"Налаштування відео","disallow_download":"Скачування","for_note":"Для користувачів просторів","for_share":"Зовнішня сторінка","motion_video":"Моушн відео","preview_video":"Змінити попередній перегляд","preview_video_btn":"Попередній перегляд","print":"Роздрукувати","convert_to_image":"Перетворити на зображення","convert_to_file":"Перетворити на файл","style":"Стиль","shadow_image":"Тінь для зображення","rename":"Перейменувати","replace":"Замінити","delete":"Видалити","download":"Скачати","get_text_from_image":"Отримати текст із зображення","view_as":"Переглянути як","single_page":"Одна сторінка","all_pages":"Всі сторінки","cta_motion_video_message":"Заклик до дії ввімкнено для відео. Ви не можете використовувати заклик до дії та моушн відео одночасно. Вимкніть заклик до дії і спробуйте ввімкнути моушн відео знову.","cta_loop_message":"Заклик до дії ввімкнено для відео. Ви не можете використовувати заклик до дії та цикл одночасно. Вимкніть заклик до дії і спробуйте ввімкнути цикл знову.","grid":"Сітка","cta_drop_in_grid":"Заклик до дії ввімкнено для відео. Рекомендуємо перевірити коректність відображення заклика до дії після перенесення відео в колонку сітки.","cta_exists_in_grid":"У колонці сітки є відео з активним закликом до дії. Будь ласка, перевірте його коректність після переходу."},"downloading":"Скачування","attachment_not_found_error":"Помилка під час завантаження","pdf_viewer":{"initializing_full_window_view":"Ініціалізація повноекранного перегляду","preparing_document_for_printing":"Підготовка документа до друку...","printing_initialization":"Ініціалізація друку...","abort":"перервати","set_page_as_default":"Установити сторінку за замовчуванням","unset_page_as_default":"Сторінка за замовчуванням. Натисніть, щоб зробити сторінку звичайною."},"video_just_uploaded_codec_error":"Ви намагаєтеся завантажити відео, яке було закодовано кодеком {codec}. Ми не гарантуємо коректне відтворення цього відео у всіх браузерах. Ми рекомендуємо конвертувати відео в інший формат і завантажити його знову.","video_codec_error":"Це відео закодовано кодеком {codec}, який не підтримується вашим браузером.","safari_webm_not_support":"Наразі браузери Safari не підтримують формат WEBM. Спробуйте відкрити сторінку в іншому браузері, наприклад, Google Chrome або Mozilla Firefox.","video_transcribe":"Транскрипт","video_summary":"Сводка","video_meeting_notes":"Заметки с встречи","video_ask_ai":"Спросить AI"},"image":{"text_from_image_popup":{"title":"Текст із зображення","no_text":"Немає тексту","copy":"Скопіювати ввесь текст"},"unknown_error":"Посилання неправильне","add_image":"Вставте посилання на зображення або ","add_image_or":"або","add_image_small":"Вставте або ","browse":"шукати","browse_image":"Шукати зображення","too_large_error":"Завеликий розмір зображення","image_info_dialog":{"title":"Інформація про зображення","type":"Тип","size":"Розмір","location":"Розташування","copy_link":"Скопіювати посилання"},"rotate_wait":{"full":"Будь ласка, зачекайте","medium":"Зачекайте"},"attachment_not_found_error":"Виникла несподівана помилка із зображенням","readonly_placeholder":"Пусте зображення","unsplash":{"name":"Unsplash","header":"Виберіть картинку","placeholder":"Пошук зображення","search":"Пошук","description":"Виконайте пошук, щоб знайти більше результатів.","no_result":"Зображення не знайдено.","caption_preffix":"Автор"},"comments":"Comments"},"attachment":{"unknown_error":"Щось пішло не так, спробуйте вибрати інший файл","attachment_is_being_uploaded":"Файл завантажується на інший пристрій...","attachment_will_be_downloaded_online":"Файл завантажиться, коли ви будете онлайн.","attachment_preview_is_not_available":"Попередній перегляд недоступний.","choose_a_file":"Вибрати файли","wait_resolving_without_info":"Будь ласка, зачекайте..."},"video":{"player":{"play":"Відтворити","pause":"Зупинити","volume":"Звук","fullscreen_on":"На увесь екран","fullscreen_off":"Вийти із повноекранного режиму","watch_again":"Переглянути знову"}},"search":{"placeholder":"Знайти у сторінці","matches":"Відповідає:"},"copy":{"copied":"Скопійовано!","copy_to_clipboard":"Скопіювати в буфер обміну"},"apply":"Застосувати","done":"Готово","block_menu":{"align":{"left":"Вирівняти по лівому краю","center":"Вирівняти по центру","right":"Вирівняти по правому краю","justify":"Виправдати"},"indent":{"indent":"Збільшити відступ","outdent":"Зменшити відступ"},"tooltip":"Перетягніть, щоб перемістити\\n<span>Клікніть, щоб відкрити меню</span>","copy_tooltip":"Скопіювати посилання","color":{"background_color":"Фоновий колір","color":"Колір","line_color":"Колір лінії","line_type":"Тип лінії","player_color":"Колір програвача"},"line_type":{"default":"Звичайна лінія","dotted":"Пунктирна"},"add":{"name":"Додати блок","above":"Зверху","below":"Знизу","left":"Зліва","right":"Справа","above_column":"Вище колонки","below_column":"Нижче колонки"},"convert_to":{"name":"Конвертувати до","to_do_list":"Чек-лист","number_list":"Пронумерований список","bullet_list":"Маркований список","paragraph":"Абзац","large_heading":"Заголовок H1","medium_heading":"Заголовок H2","small_heading":"Заголовок H3","large_heading_toggle":"Заголовок, що згортається H1","medium_heading_toggle":"Заголовок, що згортається H2","small_heading_toggle":"Заголовок, що згортається H3","code":"Код","quote":"Цитата","hint":"Підказка","image":"Зображення","file":"Файл","remote_frame":"Вставка","link":"Посилання","bookmark":"Закладка","button":"Кнопка","toggle":"Блок, що згортається","step":"Steps"},"comment_block":"Коментар","edit":"Редагувати","duplicate":"Дублювати","copy_block":"Копіювати блок","copy_blocks":"Копіювати блоки","copy_link":"Копіювати посилання","delete":"Видалити","replace":"Замінити","blot_lock":"Замкнути блок","blot_unlock":"Відкрити блок","set_as_preview":"Встановити для попереднього перегляду","get_text_from_image":"Отримати текст із зображення","edit_image":"Редагувати зображення","download":"Скачати","view_full_size":"Переглянути в повному розмірі","open_in_new_tab":"Відкрити в новій вкладці","image_info":"Інформацію про зображення","rotate_image":"Покрутити","add_sub_task":"Додати підзадачу","add_sub_text":"Додати підтекст","layout":"Розмітка","embed_align":{"left":"Вирівняти по лівому краю","center":"Вирівняти по центру","right":"Вирівняти по правому краю","default":"Розмір за замовчуванням","full_width":"На всю ширину"},"expand_all":"Розгорнути повністю","collapse_all":"Згорнути повністю","add_caption":"Додати підпис","blot_locked_admin":"Редагування блоку заборонено. Натисніть, щоб дозволити.","blot_locked_admins":"Редагування блоків заборонено. Натисніть, щоб дозволити.","blot_locked_user":"Ви не маєте права редагувати цей блок. Зверніться до адміністратора вашої організації.","show_header":"Показати верхню панель","show_borders":"Показати межі","rename":"Перейменувати"},"convert_menu_groups":{"suggestions":"Рекомендації","basic":"Основні","advanced":"Просунуті","media":"Медіа","embed":"Інтерграції","views":"Види","templates":"Шаблони","helpful_links":"Корисні посилання"},"embedded_menu":{"start_typing":"Введіть \\"/\\" або додайте","start_typing_full":"Почніть писати або введіть \\"/\\", \\"@\\"","more_items":"Більше позицій...","add_an_element":"Додати елемент","paragraph":"Абзац","todo":"Список чек-лист","numbered_list":" Нумерований список","bullet_list":"Маркований список","table":"Таблиця","image":"Зображення","file":"Файл","audioRec":"Запис аудіо","videoRec":"Запис відео","recordExist":" Ви не можете почати новий запис, поки не завершиться попередній. Завершіть або видаліть попередній запис, щоб почати новий.","large_heading":"Заголовок H1","medium_heading":"Заголовок H2","small_heading":"Заголовок H3","large_heading_toggle":"Заголовок, що згортається H1","medium_heading_toggle":"Заголовок, що згортається H2","small_heading_toggle":"Заголовок, що згортається H3","section_break":"Лінія","link":"Посилання","code":"Код","quote":"Цитата","hint":"Підказка","hint_placeholder":"Напишіть щось","mention":"Згадати учасника","outline":"Зміст","remote_frame":"Вставка: Посилання, iFrame, JS-код","integrations":"Інтеграції","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Блок, що згортається","tasks_list":"Список задач","lock_blot":"Замкнути блок","link_page":"Перелінкувати сторінки / Створити","date":"Дата","more_integrations":"більше інтеграцій","two_columns":"2 колонки","meeting_notes":"Marketing Strategy","marketing_brief":"Marketing Quarterly PlanningВ ","content_plan":"Content plan","more_templates":"більше шаблонів","get_feedback":"Отримати відгук","contact_support":"Зв’язатися із підтримкою","learn_nimbus":"Дізнатися про Nimbus","footer_top":" А ви знали, що можете почати вводити текст, щоб здійснити пошук у списку","footer_bottom":"Не можете знайти що шукаєте?","footer_link":"Поділіться з нами","add_note":"Нова сторінка","database_with_options":"База даних","board":"Kanban / Дошка задач","progress":"Прогрес","dropdown_list":"Список, що випадає","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI помічник","summarize":"Підсумувати","explain":"Пояснити","improve":"Поліпшити","spelling":"Виправити правопис і граматику","cta":"Заклик до дії","shorter":"Зробити коротше","longer":"Зробити довше","step":"Steps"},"button":{"title":"Назва","id_info_tooltip":" Цей ідентифікатор можна використовувати в майбутньому при редагуванні CSS-файлу.","address":"URL-адреса або електронна пошта","open_in_new_tab":"Відкрити у новій вкладці","shape":" Форма кнопки","background":"Фон","size":"Розмір кнопки","small":"Малий","medium":"Середній","big":"Великий","cancel":"Скасувати","done":"Готово","length_error":" Текст завеликий для кнопки. Спробуйте вибрати менший (не більше 50 символів).","type":"Вид кнопки","default":"За завмовчуванням","withShadow":"Кнопка з тінню","3d":"3D кнопка","convert":{"popup_title":"Перетворити у кнопку"}},"link":{"open":"Відкрити","send":"Надіслати","copy":"Скопіювати","edit":"Редагувати","remove":"Прибрати","text_label":"Текст","url_label":"Посилання","email_label":"Адреса електронної пошти","copied":" Посилання скопійовано в буфер обміну","cancel":"Скасувати","done":"Готово"},"syntax":{"menu":{"language":"Мова","theme":"Тема","wrap":"Увімкнути згортання","unwrap":"Вимкнути згортання","lineNumbersOn":" Показати номери рядків","lineNumbersOff":" Сховати номери рядків"},"convert":{"popup_title":"Перетворити у код","blots_have_comments":"У тексті є коментарі, які будуть видалені під час конвертації.","text_has_inline_comments":"Всередині тексту є коментарі, які будуть видалені під час конвертації.","confirm":"Конвертувати"}},"list":{"list_style":"Стиль списку","type_default":"За завмовчуванням","type_rectangle":"Прямокутник","type_star":"Зірка","type_dart":"Дротик","type_rounded":"Заокруглення","type_arrow":"Стрілка","type_diamond":"Діамант"},"caption":{"placeholder":"Додати підпис"},"mention":{"show_all":"Показати все","show_all_users":"Показати все","placeholder":" Показати нещодавні або ввести для пошуку","user":"Люди","workspace":"Простори","folder":"Папки","note":"Сторінки","no_results":"Немає результатів","offline_message":" Згадка працює лише при активному з\'єднанні. Увімкніть Інтернет і спробуйте ще раз.","info":{"note":{"one":"сторінка","some":"сторінок","many":"сторінок"},"subfolder":{"one":"підпапка","some":"підпапок","many":"підпапок"},"member":{"one":"учасник","some":"учасників","many":"учасників"},"owner":"власник","loading":"Завантаження попереднього перегляду...","loading_failed":"Не вдалося завантажити","not_loaded":"Сторінка ще не завантажилася"},"back_button":"Назад","create_note_for":"Створити сторінку:","create_folder_for":"Створити папку:"},"calendar":{"ui":{"date":"Дата","am":"AM","pm":"PM","date_format":"Формат дати","show_time":"Показати час","time_format":"Формат часу","time_12":"12год","time_24":"24год","first_week_day":"Перший день тижня","time_zone":"Часовий пояс","use_gmt":"Застосувати GMT для всіх учасників","use_gmt_hint":"Застосувати однаковий часовий пояс (GMT) для всіх учасників","table":{"clear":"Очистити"},"inline":{"clear":"Видалити"},"reminder":{"name":"Нагадування","panel_name":" Нагадування","push_name":" Нагадування про подію","remove_confirm_message":" У вас є нагадування з прив\'язкою до часу. Ви хочете видалити ці нагадування?","remove_confirm_text":"Видалити","remove_cancel_text":"Не видаляти нагадування","before_period":"До","after_period":"Після","period":{"m":{"one":"хвилина","many":"хвилин"},"h":{"one":"година","many":"годин"},"d":{"one":"день","many":"днів"},"w":{"one":"тиждень","many":"тижнів"}},"value":{"none":"Жодного","0m":"На початку","1m":"За 1 хвилину до","5m":"За 5 хвилин до","10m":"За 10 хвилин до","15m":"За 15 хвилин до","30m":"За 30 хвилин до","1h":"За 1 годину до","2h":"За 2 години до","1d":"За 1 день до","2d":"За 2 дні до","7d":"За 7 днів до","10d":"За 10 днів до","14d":"За 14 днів до","custom":"Індивідуально"},"until":{"in":"в","d":"д","h":"г","m":"хв","already_been":"Вже було","less_minute":"Менш ніж за хвилину","now":"Зараз"}},"postfix":{"day":"д","month":"м"}},"insert":{"category_name":"Дата","custom":"Інша","now":"Зараз","today":"Сьогодні","tomorrow":"Завтра"},"date_format":{"ddmmyyyy":"дд/мм/рік","mmddyyyy":"мм/дд/рік","yyyyddmm":"рік/мм/дд","monthddyyyy":"Місяць дд, рік","default":"Згідно з форматом браузера"},"months":{"0":"Січень","1":"Лютий","2":"Березень","3":"Квітень","4":"Травень","5":"Червень","6":"Липень","7":"Серпень","8":"Вересень","9":"Жовтень","10":"Листопад","11":"Грудень"},"days":{"short":{"0":"Нд","1":"Пн","2":"Вт","3":"Ср","4":"Чт","5":"Пт","6":"Сб"},"full":{"0":"неділя","1":"понеділок","2":"вівторок","3":"середа","4":"четвер","5":"п’ятниця","6":"субота"}}},"content_not_supported":" Ця сторінка не підтримується у вашій версії програми FuseBase. Спробуйте оновити її або використайте інший клієнт з останньою версією.","profession_ask":{"title":" Збережіть час, використовуйте шаблони для створення нових сторінок ","text":"Введіть свою професію, і наша команда створить для вас шаблони. Це безкоштовно, без жодних прихованих платежів","i_am_a":"Я","placeholder":" наприклад, дизайнер, вчитель, торговий агент тощо","request_template":"Створити запит на шаблон","sucess_message":" Дякую! Ваш запит буде додано до черги."},"bookmark":{"name":"Закладка","edit":"Редагувати закладку","title":"Назва","address":"Адреса","description":"Опис","placeholder":"Вставте або напишіть посилання з https://...","placeholder_mobile":" Вставте або напишіть посилання","loading_preview":"Завантаження попереднього перегляду¦","block_menu":{"change_mode":{"menu_name":"Переглянути як","mode_tile":"Назва","mode_card":"Картка","mode_cover":"Обкладинка"},"change_preview":"Змінити попередній перегляд","delete_preview":"Видалити попередній перегляд","reset_preview":"Перевстановити попередній перегляд","change_preview_background":"Попереднього переглянути фон","options":{"menu_name":"Варіанти","open_in_same_tab":" Відкрити в тій самій вкладці"}},"error":{"unknown_error":" Щось пішло не так, спробуйте ввести іншу URL-адресу","preview_notfound":" Попередній перегляд не знайдено"},"upload":{"new_preview":"Завантажити нове","quota_error":"Розмір файлу перевищує дозволені 3 МБ. Спробуйте інший файл.","unknown_error":"Невідома помилка. Спробуйте інший файл."}},"businessCard":{"PERSON":"Ім’я","ORGANIZATION":"Компанія","TITLE":"Назва","ADDRESS":"Посада","URL":"Вебсайт","PHONE":"Номер телефону","EMAIL":"Електронна адреса","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Відмінити"}},"outline":{"default_name":"Зміст","menu":{"expand":"Розгорнути","collapse":"Згорнути","rename":"Перейменувати"},"context_menu":{"convert_to":{"text":"Текст"},"style":{"name":"Стиль змісту","list_only":"Тільки список","numbered_list":"Нумерований список","bordered":"Показати межу","border_color":"Колір межі"}},"empty":"Додайте заголовки на свою сторінку, і вони з\'являться тут у вигляді посилань"},"floating_toolbar":{"bold":"Жирний","italic":"Курсив","underline":"Підкреслити","strikethrough":"Закреслити","clear":"Прибрати форматування","code":"Код","button":"Кнопка","link":"Посилання","highlight":"Виділити","extraHighlight":"Мітки для текстів","color":"Розфарбувати та виділити","text":"Текст","clear_all":"Очистити все","placeholder":"Заповнювач","adapts":{"dark":" Адаптується до темної теми","light":" Адаптується до світлої теми"},"create_note":"Створити сторінку","add_comment":"Додати коментар"},"remote_frame":{"placeholder_small":"Вкласти URL-адресу","placeholder_full":"Вставте будь-яку URL-адресу, наприклад, YouTube, Github, Maps, Twitter, тощо","loading":"Завантаження...","context_menu":{"change_link":"Змінити посилання","full_size":" На весь екран","reset_size":"Скинути розмір","open_origin":"Відкрити оригінал","layout":"Розмітка","show_toolbar":"Показати панель інструментів редагування","copy_original":"Copy link to original"},"error":{"is_not_link":"Посилання або код неправильні","content_error":" Ця URL-адреса не підтримується або недійсна. <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">Зв’яжіться з нами </a> якщо ви вважаєте, що цю URL-адресу можна вкласти.","unknown_error":" Щось пішло не так, спробуйте ввести іншу URL-адресу","wrong_signature":" Цей вміст пошкоджений і не може бути відображений","google_docs_auth_error":" Швидше за все, ви не можете вставити файл Google Docs/Sheets/Slides, тому що у вас немає до нього доступу. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\"> Будь ласка, прочитайте наш гайд.</a>","internal_link_error":"{{serviceName}} заборонив переходити за внутрішніми посиланнями. Натисніть на кнопку Назад, щоб повернутися на попередню сторінку."},"convert_bookmark":"Перетворити у закладку","convert_link":"Перетворити у посилання","back_button":"Назад"},"google_drive":{"block_name":"Google Drive","loading":"Завантаження...","menu":{"expand":"Розгорнути","collapse":"Згорнути","open_origin":"Відкрити в Google Drive","download":"Скачати","change_account":"Змінити обліковий запис","choose_another_file":"Вибрати інший файл"},"last_modified":"Востаннє змінено {{userName}} {{time}} тому","browse":"Шукати файл","login":"Увійдіть за допомогою Google","login_text":"Переглядайте та додавайте файли з Google Диску"},"html":{"default_name":"HTML","loading":"Завантаження...","menu":{"open_source":"Відкрити посилання на джерело","export_blot":"Зберегти HTML"},"unknown_error":"Невідома помилка","device_cant_display_content":"Ваш пристрій не може відобразити цей вміст","wrong_signature":"Цей вміст пошкоджений і не відображається"},"relative_time":{"seconds":{"one":"{{count}} секунда","some":"{{count}} секунд","many":"{{count}} секунд"},"minutes":{"one":"{{count}} хвилина","some":"{{count}} хвилин","many":"{{count}} хвилин"},"hours":{"one":"{{count}} година","some":"{{count}} годин","many":"{{count}} годин"},"days":{"one":"{{count}} день","some":"{{count}} днів","many":"{{count}} днів"},"months":{"one":"{{count}} місяць","some":"{{count}} місяців","many":"{{count}} місяців"},"years":{"one":"{{count}} рік","some":"{{count}} років","many":"{{count}} років"}},"collapsible_content":{"menu":{"expand":"Розгорнути","collapse":"Згорнути","rename":"Перейменувати"}},"convert_link":{"url":"URL-адреса","title":"Назва","embed":"Вкладка","bookmark":"Закладка","button":"Кнопка","link_to_note":"Посилання на сторінку","link_to_folder":"Посилання на папку","link_to_workspace":"Посилання на простір","convert_error":"Виникла помилка при перетворенні URL-адреси"},"fullwidth":{"menu_item":"На всю ширину"},"resizeable":{"point_tooltip":{"default":"Змінити розмір","bottom-right":" Змінити розмір\\n(натисніть і утримуйте клавішу {{altKey}} для зміни розміру)"}},"toggle":{"placeholder":"Натисніть тут, щоб створити або перемістити блок","expand":"Розгорнути блок","collapse":"Згорнути блок","expand_heading":"Розгорнути заголовок","collapse_heading":"Згорнути заголовок","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Наразі ми не можемо відобразити список задач, оскільки він не підтримується в цьому типі сторінок.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Наразі ми не можемо відобразити дошку задач, оскільки вона не підтримується в цьому типі сторінок.","menu":{"add_new_column":"Нова колонка","board_layout":{"name":"Розмітка","show_add_new_column":"Показати Додати колонку"}}},"empty_features":{"use_template":"Використати шаблон","import":"Імпортувати","add_database":"Додати базу даних","add_database_with_options":"Додати базу даних із опціями","add_board":"Kanban / Дошка задач","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":" Підходить для управління знаннями","collaboration":"Підходить для взаємодії"},"paragraph":{"title":"Найкраще для найважливішого","description":" Це основний блок для написання контенту сторінки."},"todo":{"title":"Список для дрібних задач? Сюди!","description":"Записуйте невеликі доручення та рутинні завдання, які потрібно виконати."},"numberedlist":{"title":" Шикуймося: раз, два, три!","description":" Зробіть свій контент зручним для читання та показуйте його у вигляді списку."},"bulletlist":{"title":"Зробіть все зрозумілішим","description":"Ви можете створити список, який буде виділятися серед іншого контенту."},"table":{"title":"Форматуйте з радістю","description":" Організуйте інформацію в таблицю, щоб отримати цілісне уявлення про роботу."},"image":{"title":"Нам потрібно це побачити!Додайте зображення","description":" Зробіть свої сторінки привабливішими. Додавайте зображення будь-якого типу, переміщуйте їх і змінюйте розмір."},"file":{"title":" Файли тут, файли там, файли всюди!","description":" Створіть базу даних для вашого проєкту. Додайте на сторінку файли з різними типами розширень."},"largeheading":{"title":"Найкраще для основних розділів сторінки","description":" Це найбільший заголовок, який ви можете додати. Приверніть увагу до найважливої частини вашої сторінки та полегшіть навігацію."},"mediumheading":{"title":"Найкраще для другорядної інформації","description":"Це заголовок середнього розміру, який ви можете додати. За допомогою нього ви можете розділити сторінку на розділи і легко знайти те, що вам потрібно."},"smallheading":{"title":" Найкраще для чудових ідей у підсекціях","description":" Це найменший за розміром заголовок, який ви можете додати, але він все одно виділяється. Використовуйте його, щоб розділити сторінку на підсекції."},"tasks-list":{"title":"Організуйте свою роботу із задачами","description":"Тут ви можете групувати задачі в списки задач. Призначайте задачі учасникам, встановлюйте дедлайни та додавайте статуси для легкого відстеження."},"hline":{"title":"Проведімо лінію","description":"Відокремлюйте різні частини проєкту або розмежовуйте приклади та ідеї для нього."},"link":{"title":"Залиште посилання","description":"Щоразу, коли у вас з\'являється ідея для проєкту, додайте посилання на неї і дайте їй назву."},"syntax":{"title":"Не забувайте про код","description":"Ви можете додавати код прямо на своїй сторінці, перемикатися між темами, мовами тощо!"},"link-page":{"title":"Наступна зупинка - інша сторінка","description":"Посилайтесь на іншу сторінку, пов\'язану з проєктом, і легко переходьте на неї."},"date":{"title":"Просто скажіть коли","description":"Встановіть дедлайн для проєкту або позначте точний час, коли ви почали працювати над сторінкою."},"mention":{"title":"Залучайте свою команду","description":"Учасники вашої команди отримуватимуть сповіщення на електронну пошту, щоб відкрити певну сторінку та працювати на ній."},"blockquote":{"title":"І я цитую","description":"Ви можете виділити важливі слова ваших клієнтів або позначити мотиваційну фразу."},"hint":{"title":"Дайте підказку","description":"Виберіть емодзі та колір фону, щоб виділити попередження, застереження або сповіщення на сторінці."},"toggle":{"title":"Заховайте ваші блоки","description":"Сортуйте та приховуйте додаткову інформацію на сторінках для легшої навігації та доступу."},"outline":{"title":"Перегляньте, що чекає на вас","description":"Створіть зміст для зручної навігації на довгих сторінках або вікі."},"lock-blot":{"title":"Не для редагування","description":"Ви можете залишити певні інформаційні блоки на своїй сторінці лише для читання."},"embed":{"title":"Більше, ніж просто посилання","description":"Ви можете інтегрувати різні інструменти на сторінку. Зберігайте все в одному місці з автоматичним оновленням."},"figma":{"title":"Ваші дизайни на одній сторінці","description":"Додайте Figma на сторінку. Дивіться як створюються дизайни для проєкту в реальному часі."},"miro":{"title":"Ваша Miro Board у безпечному місці","description":"Ознайомтеся із довгостроковою стратегією вашого проєкту і враховуйте її у створенні сторінки."},"columns":{"title":"Одна колонка – добре, дві – краще!","description":"Розділіть сторінку на дві колонки, щоб додати туди більше контенту і зробити сторінку охайнішою."},"meeting-notes":{"title":"Ставте цілі та рухайтеся вперед","description":"Використовуйте цей шаблон, щоб побудувати маркетингову стратегію і тримати всі деталі в одному місці."},"marketing-brief":{"title":" Мрійте про велике, плануйте квартал за кварталом","description":"Використовуйте цей шаблон для побудови маркетингового плану по кварталах."},"content-plan":{"title":"Контролюйте та керуйте своєю роботою","description":"Використовуйте цей шаблон, щоб відтворити свої плани у таблиці. Візуалізуйте процес і керуйте задачами."},"integrations":{"title":"Більше, ніж просто посилання","description":"Ви можете інтегрувати різні інструменти на сторінку. Зберігайте все в одному місці з автоматичним оновленням."},"google-drive":{"title":"Зберіть всі файли з Google Drive","description":"Ви можете підключити свій обліковий запис Google Drive і вставити посилання на файли на диску для швидкого доступу до них."},"google-sheets":{"title":"Мінус одна вкладка з Google Sheet","description":"Зберігайте дані в одному місці з іншими деталями проекту, щоб легше проводити аналіз."},"bookmark":{"title":"Новий вид посилання тут","description":"Використовуйте закладку, щоб показати назву вашого посилання, невеликий опис і зображення сайту із попереднім переглядом."},"audioRec":{"title":"Не пишіть, краще скажіть","description":"Персоналізуйте вашу роботу. Запишіть голосовий відгук до матеріалів на сторінці."},"videoRec":{"title":"Не пишіть, краще покажіть","description":" Запишіть відео пояснення того, що потрібно зробити, або надайте чіткий зворотній зв\'язок."},"button":{"title":"Прийшов, побачив, клікнув","description":"Додайте елемент заклику до дії, який привертатиме увагу до важливих посилань на ваших сторінках."},"largeheading-toggle":{"title":"Заховайте більше у заголовку, що згортається H1","description":"Визначте найбільш важливу частину вашої сторінки та сховайте там інформацію для легкого доступу."},"mediumheading-toggle":{"title":"Зробіть ваші розділи ще коротшими","description":"Створюйте розділи із заголовком, що згортається H2 і ховайте в них частину контенту."},"smallheading-toggle":{"title":"Зробіть ваші підрозділи ще коротшими","description":"Створюйте розділи із заголовком, що згортається H3 і ховайте в них додаткову інформацію."},"database-with-options":{"title":"Оце так таблиці!","description":" Створіть базу даних для проєкту та налаштуйте її. Вибирайте різні типи колонок і рядків, змінюйте колір фону, тощо."},"board":{"title":"До дошки!","description":"Відображайте задачі у вигляді карток на дошці Kanban, щоб мати цілісне уявлення."},"progress":{"title":"Оцініть ваш прогрес!","description":"Виберіть мету і рухайтеся до неї! Використовуйте прогрес бар для оцінки виконаних завдань та інших активностей."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Доступно для Plus, Team та Business планів","trial":"Вам доступний функціонал на час пробного періоду"},"team":{"not-available":"Доступно для Team та Business планів","trial":"Вам доступний функціонал на час пробного періоду плану Team"},"business2023":{"not-available":"Доступно для Business плану","trial":"Вам доступний функціонал на час пробного періоду плану Business"}}}');var U=function(e){!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}}),t&&j(e,t)}(i,e);var t,n,r,o=L(i);function i(){return N(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){throw new Error("i18n plugin must be initialized prior to any usage of IntlProvider")}}])&&D(t.prototype,n),r&&D(t,r),i}(r.wA)},23497:(e,t,n)=>{"use strict";n(79758),n(10856),n(49096),n(83483),n(19617),n(25251)},95174:(e,t,n)=>{"use strict";n.d(t,{qZ:()=>o,cD:()=>i});n(19601);var r=n(29650);var o="data-editor-toolip",i="data-editor-tooltip-options";parseInt(r.transitionDuration)},49190:(e,t,n)=>{"use strict";n.d(t,{SC9:()=>o.a,UrD:()=>a.a,Ec8:()=>l.a,bMz:()=>u.a,ed9:()=>p.a,EZi:()=>h.a,DgX:()=>g.a,uII:()=>v.a});n(79758),n(98892),n(47238),n(95161),n(20913),n(37620),n(50375),n(80648),n(7086),n(4421),n(70191),n(41701),n(1305),n(28444),n(60623);var r=n(36520),o=n.n(r),i=n(31958),a=n.n(i),s=(n(69425),n(34061),n(78555),n(27501),n(81740),n(77242),n(13783),n(61177),n(83675)),l=n.n(s),c=(n(19379),n(36419),n(42477),n(99562),n(36771),n(35596),n(87163),n(4802),n(36842),n(10226),n(52725),n(59146),n(11894),n(7306),n(57872),n(30350),n(56987),n(60965),n(35235),n(74107),n(12479),n(59481),n(54970),n(55782),n(51093),n(47529),n(30245),n(22032),n(91323),n(66995)),u=n.n(c),d=(n(67308),n(4817),n(41286),n(93034),n(22220),n(46605),n(51392),n(47778),n(47904)),p=n.n(d),f=(n(16186),n(26350),n(29828),n(63821),n(26143),n(1250),n(69710),n(27237),n(46015),n(69499),n(4311),n(84005),n(80347),n(91177)),h=n.n(f),m=(n(64631),n(325),n(12154),n(39046),n(92702),n(56486),n(85265),n(66339),n(33753),n(24655),n(93858),n(52124),n(21685),n(49962),n(14211),n(4735),n(75851),n(76936),n(37322),n(98763),n(80764),n(55009),n(8507),n(16030),n(85625),n(61335),n(71138),n(33597),n(32577),n(27317),n(8386),n(32472),n(7294),n(31665),n(84581),n(88536),n(18294),n(62171),n(40286),n(17884),n(59681),n(94384),n(12216),n(68234),n(21855),n(61093),n(11803),n(74985),n(71185),n(26258),n(55551),n(53686),n(86306),n(16357),n(98854),n(7393),n(22793),n(29672),n(76094),n(99474),n(46921),n(517),n(88098),n(13669),n(83763),n(71492),n(35783),n(61615),n(89713),n(92688),n(26798),n(51195),n(10231),n(14698),n(88170),n(14345),n(30315),n(21088),n(80562),n(77142),n(31887),n(61762),n(10653),n(24570),n(89129),n(88398)),g=n.n(m),y=n(29300),v=n.n(y);n(72102),n(8941),n(44744),n(13532),n(3641),n(82052),n(58191),n(60681),n(91027),n(97393),n(69435),n(44859),n(77445),n(33277),n(36598),n(25637),n(78018),n(37871),n(71571),n(89883),n(97368),n(28824),n(64268),n(44819),n(62012),n(4718),n(23953),n(62428),n(76767),n(26934),n(23996),n(80124),n(38096),n(54958),n(7688),n(38312),n(82481),n(99635),n(60251),n(86766),n(44461),n(79058),n(10812),n(67906),n(89959),n(65216),n(36039),n(79611),n(91527),n(60302),n(67012),n(5952),n(57551),n(47137),n(42020),n(77586),n(42941),n(69206),n(20065),n(68278),n(75259),n(47346),n(24327),n(41614)},33103:(e,t,n)=>{"use strict";n.d(t,{Dc:()=>r});n(87751),n(41539),n(57327),n(47042),n(74916),n(15306),n(39714),n(19601),n(92222),n(36210),n(66992),n(70189),n(78783),n(33948),n(54747),n(47941),n(69600),n(30489),n(26699),n(32023),n(40561),n(21249),n(82526),n(41817),n(32165),n(68309),n(91038),n(79758),n(67546),n(23497);function r(e){return new Promise((function(t){setTimeout(t,e)}))}"undefined"!=typeof window&&(window.EPRFL={_times:{},_starts:{},_callTimes:{},start:function(e){this._starts[e]=(new Date).getTime()},end:function(e){this._times[e]||(this._times[e]=0,this._callTimes[e]=0),this._times[e]+=(new Date).getTime()-this._starts[e],this._callTimes[e]++},show:function(){for(var e in this._times)console.info(e,this._times[e]/1e3,", called",this._callTimes[e],"times")}})},67546:(e,t,n)=>{"use strict";n.d(t,{gx:()=>r});n(74916),n(15306),n(9653),n(19601),n(26699),n(32023),n(69600),n(47042),n(41539),n(68309),n(91038),n(78783),n(82526),n(41817),n(32165),n(66992),n(33948),n(66213);function r(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}},92143:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});n(19601),n(47941),n(82526),n(57327),n(38880),n(54747),n(49337);var r=n(12212);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=!0,a={},s=null;return(n=Object.assign({placement:"right-start",preservePosition:!0,removeOnDestroy:!0,behavior:"flip",priority:["bottom","top"],offset:"-11px, 0",boundariesElement:"viewport"},n)).preservePosition&&(s=function(e,t){return o?(e=r.Z.Defaults.modifiers.flip.fn(e,t),a={flipped:e.flipped,placement:e.placement,offsets:e.offsets},e):Object.assign(e,a)}),new r.Z(e,t,{positionFixed:n.positionFixed,placement:n.placement,removeOnDestroy:n.removeOnDestroy,onCreate:function(){o=!1},modifiers:i({flip:{behavior:n.behavior,fn:s,boundariesElement:n.boundariesElement},offset:{offset:n.offset},preventOverflow:i({priority:n.priority},n.overflowBoundariesElement?{boundariesElement:n.overflowBoundariesElement}:{})},n.arrow?n.arrow:{})})}},28480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(57327),n(91038),n(78783),n(47042),n(41539),n(68309),n(82526),n(41817),n(32165),n(66992),n(33948);var r=n(28199);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=(0,r.ZP)("down"),l=(0,r.ZP)("up"),c=(0,r.ZP)("mod+down"),u=(0,r.ZP)("mod+up"),d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.props=t,this.popup=t.popup,this.selector=t.selector,this.selectedClass=t.selectedClass,this.allowMultipleSelect=!!t.hasOwnProperty("allowMultipleSelect")&&t.allowMultipleSelect}var t,n,r;return t=e,(n=[{key:"items",get:function(){return this.popup.domNode?Array.from(this.popup.domNode.querySelectorAll(this.selector)).filter((function(e){return!e.classList.contains("hidden")})):[]}},{key:"getSelected",value:function(){var e=this,t=null,n=this.items.filter((function(t){return t.classList.contains(e.selectedClass)}));return this.allowMultipleSelect?n:(1===n.length&&(t=n[0]),t)}},{key:"selectNext",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[e.length-1]:e,n=this.items.indexOf(t),r=n===this.items.length-1?this.items[0]:this.items[n+1];r.classList.add(this.selectedClass),this.scrollIntoView(r),t.classList.remove(this.selectedClass)}else this.items[0].classList.add(this.selectedClass)}},{key:"selectPrev",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[0]:e,n=this.items.indexOf(t),r=0===n?this.items[this.items.length-1]:this.items[n-1];r.classList.add(this.selectedClass),this.scrollIntoView(r),t.classList.remove(this.selectedClass)}else this.items[this.items.length-1].classList.add(this.selectedClass)}},{key:"selectFirst",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[0]:e;if(0===this.items.indexOf(t))return;var n=this.items[0];n.classList.add(this.selectedClass),this.scrollIntoView(n),t.classList.remove(this.selectedClass)}else this.items[0].classList.add(this.selectedClass)}},{key:"selectLast",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[0]:e;if(this.items.indexOf(t)===this.items.length-1)return;var n=this.items[this.items.length-1];n.classList.add(this.selectedClass),this.scrollIntoView(n),t.classList.remove(this.selectedClass)}else this.items[this.items.length-1].classList.add(this.selectedClass)}},{key:"scrollIntoView",value:function(e){var t=this.popup.domNode;if(t){var n=e.getBoundingClientRect().height,r=t.getBoundingClientRect().height,o=null;e.offsetTop+n>r+t.scrollTop?o=e.offsetTop+n-r:e.offsetTop<t.scrollTop&&(o=e.offsetTop),this.props.stickyHeader&&this.props.headerHeight&&(null!==o?e.offsetTop-o<this.props.headerHeight&&(o=e.offsetTop-o):e.offsetTop-t.scrollTop<this.props.headerHeight&&(o=t.scrollTop-this.props.headerHeight)),null!==o&&(t.scrollTop=o)}}},{key:"selectItems",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.getSelected(),n=Array.isArray(t);if(n){var r,i=o(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.classList.remove(this.selectedClass)}}catch(e){i.e(e)}finally{i.f()}}else t.classList.remove(this.selectedClass);if(e)if(Array.isArray(e)&&e.length)if(1===e.length)e[0].classList.add(this.selectedClass);else if(this.allowMultipleSelect){var s,l=o(e);try{for(l.s();!(s=l.n()).done;){var c=s.value;c.classList.add(this.selectedClass)}}catch(e){l.e(e)}finally{l.f()}}else console.error("Multiple select items is not allowed");else e.classList&&e.classList.add(this.selectedClass)}},{key:"handleEvent",value:function(e){var t=!1;return s(e)?(t=!0,this.selectNext()):l(e)?(t=!0,this.selectPrev()):c(e)?(t=!0,this.selectLast()):u(e)&&(t=!0,this.selectFirst()),t&&(e.preventDefault(),e.stopPropagation()),t}}])&&a(t.prototype,n),r&&a(t,r),e}()},50172:function(e,t,n){var r;function o(e){return(o="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)}n(74916),n(23123),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),"object"==o(t)?e.exports=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}:void 0===(r=function(){return function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}}.call(t,n,t,e))||(e.exports=r)},27266:function(e,t,n){var r,o,i;n(74916),n(23123),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(78783),n(33948),n(60285),n(41637),n(15306),n(82526),n(41817),n(32165),o=[],void 0===(i="function"==typeof(r=function(){return function e(t,n,r){var o,i,a=window,s="application/octet-stream",l=r||s,c=t,u=!n&&!r&&c,d=document.createElement("a"),p=function(e){return String(e)},f=a.Blob||a.MozBlob||a.WebKitBlob||p,h=n||"download";if(f=f.call?f.bind(a):Blob,"true"===String(this)&&(l=(c=[c,l])[0],c=c[1]),u&&u.length<2048&&(h=u.split("/").pop().split("?")[0],d.href=u,-1!==d.href.indexOf(u))){var m=new XMLHttpRequest;return m.open("GET",u,!0),m.responseType="blob",m.onload=function(t){e(t.target.response,h,s)},setTimeout((function(){m.send()}),0),m}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&f!==p))return navigator.msSaveBlob?navigator.msSaveBlob(b(c),h):_(c);l=(c=b(c)).type||s}else if(/([\x80-\xff])/.test(c)){for(var g=0,y=new Uint8Array(c.length),v=y.length;g<v;++g)y[g]=c.charCodeAt(g);c=new f([y],{type:l})}function b(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),o=r.length,i=0,a=new Uint8Array(o);i<o;++i)a[i]=r.charCodeAt(i);return new f([a],{type:n})}function _(e,t){if("download"in d)return d.href=e,d.setAttribute("download",h),d.className="download-js-link",d.innerHTML="downloading...",d.style.display="none",document.body.appendChild(d),setTimeout((function(){d.click(),document.body.removeChild(d),!0===t&&setTimeout((function(){a.URL.revokeObjectURL(d.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(o=c instanceof f?c:new f([c],{type:l}),navigator.msSaveBlob)return navigator.msSaveBlob(o,h);if(a.URL)_(a.URL.createObjectURL(o),!0);else{if("string"==typeof o||o.constructor===p)try{return _("data:"+l+";base64,"+a.btoa(o))}catch(e){return _("data:"+l+","+encodeURIComponent(o))}(i=new FileReader).onload=function(e){_(this.result)},i.readAsDataURL(o)}return!0}})?r.apply(t,o):r)||(e.exports=i)},94092:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(36535),n(67556),n(82526),n(92222),n(36210),n(44048),n(9653),n(30489),n(68309),n(47941),n(41539),n(47042),n(41817),n(32165),n(66992),n(78783),n(33948);var o,i="object"===("undefined"==typeof Reflect?"undefined":r(Reflect))?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};o=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}e.exports=l,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}v(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&v(e,"error",t,n)}(e,o,{once:!0})}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+r(e))}function d(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var o,i,a,s;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=d(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function m(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function v(e,t,n,o){if("function"==typeof e.on)o.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+r(e));e.addEventListener(t,(function r(i){o.once&&e.removeEventListener(t,r),n(i)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return d(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var c=l.length,u=y(l,c);for(n=0;n<c;++n)a(u[n],this,t)}return!0},l.prototype.addListener=function(e,t){return p(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return p(this,e,t,!0)},l.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return m(this,e,!0)},l.prototype.rawListeners=function(e){return m(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},l.prototype.listenerCount=g,l.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},28199:(e,t,n)=>{"use strict";n(21249),n(74916),n(15306),n(23123),n(32165),n(66992),n(41539),n(78783),n(33948),n(82526),n(41817),n(27852),n(47042);for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=1;s<20;s++)a["f"+s]=111+s;function l(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return c(e,t)})),o=function(e){return r.some((function(t){return u(t,e)}))};return null==n?o:o(n)}function c(e,t){var n=t&&t.byKey,r={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)r[o[s]]=!1;var l=!0,c=!1,u=void 0;try{for(var f,h=i[Symbol.iterator]();!(l=(f=h.next()).done);l=!0){var m=f.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var y=p(m),v=o[y];1!==a&&v||(n?r.key=y:r.which=d(m)),v&&(r[v]=!g||null)}}catch(e){c=!0,u=e}finally{try{!l&&h.return&&h.return()}finally{if(c)throw u}}return r}function u(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function d(e){return e=p(e),a[e]||e.toUpperCase().charCodeAt(0)}function p(e){return e=e.toLowerCase(),e=i[e]||e}t.ZP=l},60764:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=/^(?:0|[1-9]\d*)$/,c=parseInt,u=Object.prototype.toString,d=Math.ceil,p=Math.max;function f(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function h(e,t,n){if(!m(n))return!1;var o=r(t);return!!("number"==o?function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=m(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(n)&&function(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}(t,n.length):"string"==o&&t in n)&&function(e,t){return e===t||e!=e&&t!=t}(n[t],e)}function m(e){var t=r(e);return!!e&&("object"==t||"function"==t)}e.exports=function(e,t,n){t=(n?h(e,t,n):void 0===t)?1:p(function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}(e))===1/0||e===-1/0){return 17976931348623157e292*(e<0?-1:1)}return e==e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(t),0);var l=e?e.length:0;if(!l||t<1)return[];for(var g=0,y=0,v=Array(d(l/t));g<l;)v[y++]=f(e,g,g+=t);return v}},21791:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,u="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function y(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==p.call(e)}function v(e){if("number"==typeof e)return e;if(y(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,s=setTimeout(w,t),u?y(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=m();if(_(e))return C(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?h(n,i-(e-c)):n}(e))}function C(e){return s=void 0,p&&r?y(e):(r=o=void 0,a)}function S(){var e=m(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return b(l);if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,g(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(v(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},S.flush=function(){return void 0===s?a:C(m())},S}},66213:(e,t,n)=>{function r(e){return(r="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)}n(24603),n(74916),n(39714),n(41539),n(15306),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/[&<>"'`]/g,i=RegExp(o.source),a="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,s="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,l=a||s||Function("return this")();var c=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"}),u=Object.prototype.toString,d=l.Symbol,p=d?d.prototype:void 0,f=p?p.toString:void 0;function h(e){if("string"==typeof e)return e;if(function(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==u.call(e)}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}e.exports=function(e){var t;return(e=null==(t=e)?"":h(t))&&i.test(e)?e.replace(o,c):e}},47983:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,u="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function v(e){return c=e,s=setTimeout(w,t),u?g(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=m();if(_(e))return C(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?h(n,i-(e-c)):n}(e))}function C(e){return s=void 0,p&&r?g(e):(r=o=void 0,a)}function S(){var e=m(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return v(l);if(d)return s=setTimeout(w,t),g(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=b(t)||0,y(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(b(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},S.flush=function(){return void 0===s?a:C(m())},S}function y(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function v(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==p.call(e)}function b(e){if("number"==typeof e)return e;if(v(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return y(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),g(e,t,{leading:r,maxWait:t,trailing:o})}},12212:(e,t,n)=>{"use strict";n.d(t,{Z:()=>le});n(41539),n(19601),n(2707),n(21249),n(47941),n(57327),n(74916),n(23123),n(15306),n(69826),n(34553),n(47042),n(54747),n(68309),n(92222),n(4723),n(73210),n(64765);var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:c(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),p=r&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?p:d||p}function h(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var c=m(e);return c.host?g(c.host,t):g(e,m(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(t,"top"),o=y(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function _(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:_("Height",t,n,r),width:_("Width",t,n,r)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),E=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function k(e){return x({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),r=y(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,u=e.offsetHeight-l;if(c||u){var d=s(e);c-=b(d,"x"),u-=b(d,"y"),o.width-=c,o.height-=u}return k(o)}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===t.nodeName,i=O(e),a=O(t),l=c(e),u=s(t),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=k({top:i.top-a.top-d,left:i.left-a.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-g,h.right-=p-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=v(h,t)),h}function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=T(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return k(l)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=l(e);return!!n&&P(n)}function R(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function I(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?R(e):g(e,u(t));if("viewport"===r)i=A(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var d=T(s,a,o);if("HTML"!==s.nodeName||P(a))i=d;else{var p=w(e.ownerDocument),f=p.height,h=p.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function M(e){return e.width*e.height}function N(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=I(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return x({key:e},s[e],{area:M(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function D(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?R(t):g(t,u(n));return T(n,o,r)}function j(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function B(e,t,n){n=n.split("-")[0];var r=j(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[L(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=B(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function V(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function q(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function G(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,n,r){n.updateBound=r,G(e).addEventListener("resize",n.updateBound,{passive:!0});var o=c(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(c(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Y(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function Z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,G(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function K(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&K(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Q=r&&/Firefox/i.test(navigator.userAgent);function X(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ee=J.slice(3);function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ee.indexOf(e),r=ee.slice(n+1).concat(ee.slice(0,n));return t?r.reverse():r}var ne="flip",re="clockwise",oe="counterclockwise";function ie(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return k(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){K(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:E({},l,i[l]),end:E({},l,i[l]+i[c]-a[c])};e.offsets.popper=x({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=K(+n)?[+n,0]:ie(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=z("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=I(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),E({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),E({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=x({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",p=d.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",m=j(r)[u];l[h]-m<a[p]&&(e.offsets.popper[p]-=a[p]-(l[h]-m)),l[p]+m>a[h]&&(e.offsets.popper[p]+=l[p]+m-a[h]),e.offsets.popper=k(e.offsets.popper);var g=l[p]+l[u]/2-m/2,y=s(e.instance.popper),v=parseFloat(y["margin"+d]),b=parseFloat(y["border"+d+"Width"]),_=g-e.offsets.popper[p]-v-b;return _=Math.max(Math.min(a[u]-m,_),0),e.arrowElement=r,e.offsets.arrow=(E(n={},p,Math.round(_)),E(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(V(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=L(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ne:a=[r,o];break;case re:a=te(r);break;case oe:a=te(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=L(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),y="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===i&&f||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),_=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&f||!v&&"start"===i&&g||!v&&"end"===i&&m),w=b||_;(p||y||w)&&(e.flipped=!0,(p||y)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=x({},e.offsets.popper,B(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=k(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=h(e.instance.popper),l=O(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:p(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Q),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=z("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var y="bottom"===d?-1:1,v="right"===p?-1:1;c[d]=g*y,c[p]=m*v,c.willChange=d+", "+p}var b={"x-placement":e.placement};return e.attributes=x({},b,e.attributes),e.styles=x({},c,e.styles),e.arrowStyles=x({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return $(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&$(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=D(o,t,e,n.positionFixed),a=N(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),$(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},se=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=x({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=x({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return x({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&a(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return S(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return q.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return Z.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,se.placements=J,se.Defaults=ae;const le=se},79758:(e,t,n)=>{"use strict";n.d(t,{sY:()=>L,h:()=>m,wA:()=>v,Tm:()=>B,kr:()=>F,bR:()=>x,YM:()=>o});n(2707),n(74916),n(15306),n(47042),n(60086),n(54747),n(68309),n(40561),n(41539);var r,o,i,a,s,l,c,u={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var o,i,a,s={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return g(e,s,o,i,null)}function g(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null!=o.vnode&&o.vnode(s),s}function y(e){return e.children}function v(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?b(e):null}function _(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return _(e)}}function w(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!C.__r++||l!==o.debounceRendering)&&((l=o.debounceRendering)||s)(C)}function C(){for(var e;C.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,R(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?b(o):i,o.__h),I(n,o),o.__e!=i&&_(o)))}))}function S(e,t,n,r,o,i,a,s,l,c){var p,f,h,m,v,_,w,C=r&&r.__k||d,S=C.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(m=n.__k[p]=null==(m=t[p])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?g(null,m,null,null,m):Array.isArray(m)?g(y,{children:m},null,null,null):m.__b>0?g(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=C[p])||h&&m.key==h.key&&m.type===h.type)C[p]=void 0;else for(f=0;f<S;f++){if((h=C[f])&&m.key==h.key&&m.type===h.type){C[f]=void 0;break}h=null}R(e,m,h=h||u,o,i,a,s,l,c),v=m.__e,(f=m.ref)&&h.ref!=f&&(w||(w=[]),h.ref&&w.push(h.ref,null,m),w.push(f,m.__c||v,m)),null!=v?(null==_&&(_=v),"function"==typeof m.type&&null!=m.__k&&m.__k===h.__k?m.__d=l=E(m,l,e):l=k(e,m,h,C,v,l),c||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&h.__e==l&&l.parentNode!=e&&(l=b(h))}for(n.__e=_,p=S;p--;)null!=C[p]&&("function"==typeof n.type&&null!=C[p].__e&&C[p].__e==n.__d&&(n.__d=b(r,p+1)),D(C[p],C[p]));if(w)for(p=0;p<w.length;p++)N(w[p],w[++p],w[++p])}function E(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?E(o,t,n):k(n,o,o,e.__k,o.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function k(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function O(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function T(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||O(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||O(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?P:A,i):e.removeEventListener(t,i?P:A,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function A(e){this.l[e.type+!1](o.event?o.event(e):e)}function P(e){this.l[e.type+!0](o.event?o.event(e):e)}function R(e,t,n,r,i,a,s,l,c){var u,d,p,h,m,g,b,_,w,C,E,x=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(u=o.__b)&&u(t);try{e:if("function"==typeof x){if(_=t.props,w=(u=x.contextType)&&r[u.__c],C=u?w?w.props.value:u.__:r,n.__c?b=(d=t.__c=n.__c).__=d.__E:("prototype"in x&&x.prototype.render?t.__c=d=new x(_,C):(t.__c=d=new v(_,C),d.constructor=x,d.render=j),w&&w.sub(d),d.props=_,d.state||(d.state={}),d.context=C,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=x.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,x.getDerivedStateFromProps(_,d.__s))),h=d.props,m=d.state,p)null==x.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==x.getDerivedStateFromProps&&_!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,C)||t.__v===n.__v){d.props=_,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,m,g)}))}d.context=C,d.props=_,d.state=d.__s,(u=o.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=f(f({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(h,m)),E=null!=u&&u.type===y&&null==u.key?u.props.children:u,S(e,Array.isArray(E)?E:[E],t,n,r,i,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=M(n.__e,t,n,r,i,a,s,c);(u=o.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),o.__e(e,t,n)}}function I(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function M(e,t,n,o,i,a,s,l){var c,d,p,f=n.props,m=t.props,g=t.type,y=0;if("svg"===g&&(i=!0),null!=a)for(;y<a.length;y++)if((c=a[y])&&(c===e||(g?c.localName==g:3==c.nodeType))){e=c,a[y]=null;break}if(null==e){if(null===g)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),a=null,l=!1}if(null===g)f===m||l&&e.data===m||(e.data=m);else{if(a=a&&r.call(e.childNodes),d=(f=n.props||u).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!l){if(null!=a)for(f={},y=0;y<e.attributes.length;y++)f[e.attributes[y].name]=e.attributes[y].value;(p||d)&&(p&&(d&&p.__html==d.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||T(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||T(e,i,t[i],n[i],r)}(e,m,f,i,l),p)t.__k=[];else if(y=t.props.children,S(e,Array.isArray(y)?y:[y],t,n,o,i&&"foreignObject"!==g,a,s,a?a[0]:n.__k&&b(n,0),l),null!=a)for(y=a.length;y--;)null!=a[y]&&h(a[y]);l||("value"in m&&void 0!==(y=m.value)&&(y!==e.value||"progress"===g&&!y)&&T(e,"value",y,f.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==e.checked&&T(e,"checked",y,f.checked,!1))}return e}function N(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function D(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||N(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&D(r[i],t,"function"!=typeof e.type);n||null==e.__e||h(e.__e),e.__e=e.__d=void 0}function j(e,t,n){return this.constructor(e,n)}function L(e,t,n){var i,a,s;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,s=[],R(t,e=(!i&&n||t).__k=m(y,null,[e]),a||u,u,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!i&&n?n:a?a.__e:t.firstChild,i),I(s,e)}function B(e,t,n){var o,i,a,s=f({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),g(e.type,s,o||e.key,i||e.ref,null)}function F(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(w)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=d.slice,o={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},i=0,v.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},v.prototype.render=y,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,C.__r=0,c=0},8065:(e,t,n)=>{"use strict";n.d(t,{qp:()=>m});n(92222),n(60086),n(54747),n(57327);var r,o,i,a=n(79758),s=0,l=[],c=a.YM.__b,u=a.YM.__r,d=a.YM.diffed,p=a.YM.__c,f=a.YM.unmount;function h(e,t){a.YM.__h&&a.YM.__h(o,e,s||t),s=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function m(e){var t=o.context[e.__c],n=h(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function g(){l.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(v),e.__H.__h.forEach(b),e.__H.__h=[]}catch(t){e.__H.__h=[],a.YM.__e(t,e.__v)}})),l=[]}a.YM.__b=function(e){o=null,c&&c(e)},a.YM.__r=function(e){u&&u(e),r=0;var t=(o=e.__c).__H;t&&(t.__h.forEach(v),t.__h.forEach(b),t.__h=[])},a.YM.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==l.push(t)&&i===a.YM.requestAnimationFrame||((i=a.YM.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),y&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);y&&(t=requestAnimationFrame(n))})(g)),o=void 0},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(v),e.__h=e.__h.filter((function(e){return!e.__||b(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(n,e.__v)}})),p&&p(e,t)},a.YM.unmount=function(e){f&&f(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(v)}catch(e){a.YM.__e(e,t.__v)}};var y="function"==typeof requestAnimationFrame;function v(e){var t=o;"function"==typeof e.__c&&e.__c(),o=t}function b(e){var t=o;e.__c=e.__(),o=t}},87751:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(72443),n(39341),n(73706),n(10408),n(30489),n(68309),n(54747),n(47042),n(65743);var o=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function f(){}function h(){}var m={};l(m,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(x([])));y&&y!==t&&n.call(y,i)&&(m=y);var v=h.prototype=p.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function s(){return new t((function(o,s){!function o(i,a,s,l){var c=u(e[i],e,a);if("throw"!==c.type){var d=c.arg,p=d.value;return p&&"object"===r(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,s,l)}),(function(e){o("throw",e,s,l)})):t.resolve(p).then((function(e){d.value=e,s(d)}),(function(e){return o("throw",e,s,l)}))}l(c.arg)}(i,a,o,s)}))}return o=o?o.then(s,s):s()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=h,l(v,"constructor",h),l(h,"constructor",f),f.displayName=l(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},b(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(v),l(v,s,"Generator"),l(v,i,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}("object"===r(e)?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},19662:(e,t,n)=>{var r=n(60614),o=n(66330);e.exports=function(e){if(r(e))return e;throw TypeError(o(e)+" is not a function")}},39483:(e,t,n)=>{var r=n(4411),o=n(66330);e.exports=function(e){if(r(e))return e;throw TypeError(o(e)+" is not a constructor")}},96077:(e,t,n)=>{var r=n(60614);e.exports=function(e){if("object"==typeof e||r(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},51223:(e,t,n)=>{var r=n(5112),o=n(70030),i=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,n)=>{"use strict";var r=n(28710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},25787:e=>{e.exports=function(e,t,n){if(e instanceof t)return e;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},19670:(e,t,n)=>{var r=n(70111);e.exports=function(e){if(r(e))return e;throw TypeError(String(e)+" is not an object")}},24019:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},90260:(e,t,n)=>{"use strict";var r,o,i,a=n(24019),s=n(19781),l=n(17854),c=n(60614),u=n(70111),d=n(86656),p=n(70648),f=n(66330),h=n(68880),m=n(31320),g=n(3070).f,y=n(79518),v=n(27674),b=n(5112),_=n(69711),w=l.Int8Array,C=w&&w.prototype,S=l.Uint8ClampedArray,E=S&&S.prototype,x=w&&y(w),k=C&&y(C),O=Object.prototype,T=O.isPrototypeOf,A=b("toStringTag"),P=_("TYPED_ARRAY_TAG"),R=_("TYPED_ARRAY_CONSTRUCTOR"),I=a&&!!v&&"Opera"!==p(l.opera),M=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},j=function(e){if(!u(e))return!1;var t=p(e);return d(N,t)||d(D,t)};for(r in N)(i=(o=l[r])&&o.prototype)?h(i,R,o):I=!1;for(r in D)(i=(o=l[r])&&o.prototype)&&h(i,R,o);if((!I||!c(x)||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},I))for(r in N)l[r]&&v(l[r],x);if((!I||!k||k===O)&&(k=x.prototype,I))for(r in N)l[r]&&v(l[r].prototype,k);if(I&&y(E)!==k&&v(E,k),s&&!d(k,A))for(r in M=!0,g(k,A,{get:function(){return u(this)?this[P]:void 0}}),N)l[r]&&h(l[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:R,TYPED_ARRAY_TAG:M&&P,aTypedArray:function(e){if(j(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!v||T.call(x,e)))return e;throw TypeError(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in N){var o=l[r];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(e){}}k[e]&&!n||m(k,e,n?t:I&&C[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(v){if(n)for(r in N)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(x[e]&&!n)return;try{return m(x,e,n?t:I&&x[e]||t)}catch(e){}}for(r in N)!(o=l[r])||o[e]&&!n||m(o,e,t)}},isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d(N,t)||d(D,t)},isTypedArray:j,TypedArray:x,TypedArrayPrototype:k}},13331:(e,t,n)=>{"use strict";var r=n(17854),o=n(19781),i=n(24019),a=n(76530),s=n(68880),l=n(12248),c=n(47293),u=n(25787),d=n(99958),p=n(17466),f=n(57067),h=n(11179),m=n(79518),g=n(27674),y=n(8006).f,v=n(3070).f,b=n(21285),_=n(58003),w=n(29909),C=a.PROPER,S=a.CONFIGURABLE,E=w.get,x=w.set,k=r.ArrayBuffer,O=k,T=r.DataView,A=T&&T.prototype,P=Object.prototype,R=r.RangeError,I=h.pack,M=h.unpack,N=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},j=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return I(e,23,4)},F=function(e){return I(e,52,8)},U=function(e,t){v(e.prototype,t,{get:function(){return E(this)[t]}})},H=function(e,t,n,r){var o=f(n),i=E(e);if(o+t>i.byteLength)throw R("Wrong index");var a=E(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},V=function(e,t,n,r,o,i){var a=f(n),s=E(e);if(a+t>s.byteLength)throw R("Wrong index");for(var l=E(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<t;d++)l[c+d]=u[i?d:t-d-1]};if(i){var z=C&&"ArrayBuffer"!==k.name;if(c((function(){k(1)}))&&c((function(){new k(-1)}))&&!c((function(){return new k,new k(1.5),new k(NaN),z&&!S})))z&&S&&s(k,"name","ArrayBuffer");else{for(var q,G=(O=function(e){return u(this,O),new k(f(e))}).prototype=k.prototype,W=y(k),Y=0;W.length>Y;)(q=W[Y++])in O||s(O,q,k[q]);G.constructor=O}g&&m(A)!==P&&g(A,P);var Z=new T(new O(2)),K=A.setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||l(A,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else O=function(e){u(this,O,"ArrayBuffer");var t=f(e);x(this,{bytes:b.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},T=function(e,t,n){u(this,T,"DataView"),u(e,O,"DataView");var r=E(e).byteLength,i=d(t);if(i<0||i>r)throw R("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw R("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(U(O,"byteLength"),U(T,"buffer"),U(T,"byteLength"),U(T,"byteOffset")),l(T.prototype,{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(H(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(H(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return M(H(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return M(H(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){V(this,1,e,N,t)},setUint8:function(e,t){V(this,1,e,N,t)},setInt16:function(e,t){V(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){V(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){V(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){V(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){V(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){V(this,8,e,F,t,arguments.length>2?arguments[2]:void 0)}});_(O,"ArrayBuffer"),_(T,"DataView"),e.exports={ArrayBuffer:O,DataView:T}},1048:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(17466),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),c=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),p=1;for(c<l&&l<c+d&&(p=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=p,c+=p;return n}},21285:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(17466);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},18533:(e,t,n)=>{"use strict";var r=n(42092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},97745:e=>{e.exports=function(e,t){for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o}},48457:(e,t,n)=>{"use strict";var r=n(49974),o=n(47908),i=n(53411),a=n(97659),s=n(4411),l=n(17466),c=n(86135),u=n(18554),d=n(71246);e.exports=function(e){var t=o(e),n=s(this),p=arguments.length,f=p>1?arguments[1]:void 0,h=void 0!==f;h&&(f=r(f,p>2?arguments[2]:void 0,2));var m,g,y,v,b,_,w=d(t),C=0;if(!w||this==Array&&a(w))for(m=l(t.length),g=n?new this(m):Array(m);m>C;C++)_=h?f(t[C],C):t[C],c(g,C,_);else for(b=(v=u(t,w)).next,g=n?new this:[];!(y=b.call(v)).done;C++)_=h?i(v,f,[y.value,C],!0):y.value,c(g,C,_);return g.length=C,g}},41318:(e,t,n)=>{var r=n(45656),o=n(17466),i=n(51400),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:(e,t,n)=>{var r=n(49974),o=n(68361),i=n(47908),a=n(17466),s=n(65417),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,g,y){for(var v,b,_=i(h),w=o(_),C=r(m,g,3),S=a(w.length),E=0,x=y||s,k=t?x(h,S):n||p?x(h,0):void 0;S>E;E++)if((f||E in w)&&(b=C(v=w[E],E,_),e))if(t)k[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l.call(k,v)}else switch(e){case 4:return!1;case 7:l.call(k,v)}return d?-1:c||u?u:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},86583:(e,t,n)=>{"use strict";var r=n(45656),o=n(99958),i=n(17466),a=n(9341),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=c||!u;e.exports=d?function(e){if(c)return l.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},81194:(e,t,n)=>{var r=n(47293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,n)=>{"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},53671:(e,t,n)=>{var r=n(19662),o=n(47908),i=n(68361),a=n(17466),s=function(e){return function(t,n,s,l){r(n);var c=o(t),u=i(c),d=a(c.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){l=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(l=n(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!0)}},94362:e=>{var t=Math.floor,n=function(e,i){var a=e.length,s=t(a/2);return a<8?r(e,i):o(n(e.slice(0,s),i),n(e.slice(s),i),i)},r=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},o=function(e,t,n){for(var r=e.length,o=t.length,i=0,a=0,s=[];i<r||a<o;)i<r&&a<o?s.push(n(e[i],t[a])<=0?e[i++]:t[a++]):s.push(i<r?e[i++]:t[a++]);return s};e.exports=n},77475:(e,t,n)=>{var r=n(43157),o=n(4411),i=n(70111),a=n(5112)("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===Array||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?Array:t}},65417:(e,t,n)=>{var r=n(77475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},53411:(e,t,n)=>{var r=n(19670),o=n(99212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},17072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},84326:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:(e,t,n)=>{var r=n(51694),o=n(60614),i=n(84326),a=n(5112)("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},95631:(e,t,n)=>{"use strict";var r=n(3070).f,o=n(70030),i=n(12248),a=n(49974),s=n(25787),l=n(20408),c=n(70654),u=n(96340),d=n(19781),p=n(62423).fastKey,f=n(29909),h=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&l(r,e[c],{that:e,AS_ENTRIES:n})})),f=m(t),g=function(e,t,n){var r,o,i=f(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=f(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=f(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=f(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(u.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},77710:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(54705),a=n(31320),s=n(62423),l=n(20408),c=n(25787),u=n(60614),d=n(70111),p=n(47293),f=n(17072),h=n(58003),m=n(79587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),v=g?"set":"add",b=o[e],_=b&&b.prototype,w=b,C={},S=function(e){var t=_[e];a(_,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!d(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!d(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,!u(b)||!(y||_.forEach&&!p((function(){(new b).entries().next()})))))w=n.getConstructor(t,e,g,v),s.enable();else if(i(e,!0)){var E=new w,x=E[v](y?{}:-0,1)!=E,k=p((function(){E.has(1)})),O=f((function(e){new b(e)})),T=!y&&p((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));O||((w=t((function(t,n){c(t,w,e);var r=m(new b,t,w);return null!=n&&l(n,r[v],{that:r,AS_ENTRIES:g}),r}))).prototype=_,_.constructor=w),(k||T)&&(S("delete"),S("has"),g&&S("get")),(T||x)&&S(v),y&&_.clear&&delete _.clear}return C[e]=w,r({global:!0,forced:w!=b},C),h(w,e),y||n.setStrong(w,e,g),w}},99920:(e,t,n)=>{var r=n(86656),o=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},84964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:(e,t,n)=>{var r=n(84488),o=n(41340),i=/"/g;e.exports=function(e,t,n,a){var s=o(r(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+o(a).replace(i,"&quot;")+'"'),l+">"+s+"</"+t+">"}},24994:(e,t,n)=>{"use strict";var r=n(13383).IteratorPrototype,o=n(70030),i=n(79114),a=n(58003),s=n(97497),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},68880:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(79114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,n)=>{"use strict";var r=n(34948),o=n(3070),i=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},70654:(e,t,n)=>{"use strict";var r=n(82109),o=n(31913),i=n(76530),a=n(60614),s=n(24994),l=n(79518),c=n(27674),u=n(58003),d=n(68880),p=n(31320),f=n(5112),h=n(97497),m=n(13383),g=i.PROPER,y=i.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=f("iterator"),w=function(){return this};e.exports=function(e,t,n,i,f,m,C){s(n,t,i);var S,E,x,k=function(e){if(e===f&&R)return R;if(!b&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",T=!1,A=e.prototype,P=A[_]||A["@@iterator"]||f&&A[f],R=!b&&P||k(f),I="Array"==t&&A.entries||P;if(I&&(S=l(I.call(new e)))!==Object.prototype&&S.next&&(o||l(S)===v||(c?c(S,v):a(S[_])||p(S,_,w)),u(S,O,!0,!0),o&&(h[O]=w)),g&&"values"==f&&P&&"values"!==P.name&&(!o&&y?d(A,"name","values"):(T=!0,R=function(){return P.call(this)})),f)if(E={values:k("values"),keys:m?R:k("keys"),entries:k("entries")},C)for(x in E)(b||T||!(x in A))&&p(A,x,E[x]);else r({target:t,proto:!0,forced:b||T},E);return o&&!C||A[_]===R||p(A,_,R,{name:f}),h[t]=R,E}},97235:(e,t,n)=>{var r=n(40857),o=n(86656),i=n(6061),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},19781:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:(e,t,n)=>{var r=n(17854),o=n(70111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,n)=>{var r=n(80317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},68886:(e,t,n)=>{var r=n(88113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},30256:(e,t,n)=>{var r=n(88113);e.exports=/MSIE|Trident/.test(r)},88113:(e,t,n)=>{var r=n(35005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,i=n(17854),a=n(88113),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?o=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},98008:(e,t,n)=>{var r=n(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,n)=>{var r=n(17854),o=n(31236).f,i=n(68880),a=n(31320),s=n(83505),l=n(99920),c=n(54705);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:(e,t,n)=>{"use strict";n(74916);var r=n(31320),o=n(22261),i=n(47293),a=n(5112),s=n(68880),l=a("species"),c=RegExp.prototype;e.exports=function(e,t,n,u){var d=a(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),f=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!f||n){var h=/./[d],m=t(d,""[e],(function(e,t,n,r,i){var a=t.exec;return a===o||a===c.exec?p&&!i?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(c,d,m[1])}u&&s(c[d],"sham",!0)}},76677:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},49974:(e,t,n)=>{var r=n(19662);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},27065:(e,t,n)=>{"use strict";var r=n(19662),o=n(70111),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},76530:(e,t,n)=>{var r=n(19781),o=n(86656),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},35005:(e,t,n)=>{var r=n(17854),o=n(60614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},71246:(e,t,n)=>{var r=n(70648),o=n(58173),i=n(97497),a=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},18554:(e,t,n)=>{var r=n(19662),o=n(19670),i=n(71246);e.exports=function(e,t){var n=arguments.length<2?i(e):t;if(r(n))return o(n.call(e));throw TypeError(String(e)+" is not iterable")}},58173:(e,t,n)=>{var r=n(19662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},10647:(e,t,n)=>{var r=n(47908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,c,u){var d=n+e.length,p=l.length,f=s;return void 0!==c&&(c=r(c),f=a),i.call(u,f,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>p){var u=o(s/10);return 0===u?r:u<=p?void 0===l[u-1]?i.charAt(1):l[u-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},17854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},86656:(e,t,n)=>{var r=n(47908),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},3501:e=>{e.exports={}},60490:(e,t,n)=>{var r=n(35005);e.exports=r("document","documentElement")},64664:(e,t,n)=>{var r=n(19781),o=n(47293),i=n(80317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},11179:e=>{var t=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,a,s){var l,c,u,d=new Array(s),p=8*s-a-1,f=(1<<p)-1,h=f>>1,m=23===a?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=t(e))!=e||e===1/0?(c=e!=e?1:0,l=f):(l=r(o(e)/i),e*(u=n(2,-l))<1&&(l--,u*=2),(e+=l+h>=1?m/u:m*n(2,1-h))*u>=2&&(l++,u/=2),l+h>=f?(c=0,l=f):l+h>=1?(c=(e*u-1)*n(2,a),l+=h):(c=e*n(2,h-1)*n(2,a),l=0));a>=8;d[y++]=255&c,c/=256,a-=8);for(l=l<<a|c,p+=a;p>0;d[y++]=255&l,l/=256,p-=8);return d[--y]|=128*g,d},unpack:function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=t;l>0;r=256*r+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=s}return(u?-1:1)*r*n(2,d-t)}}},68361:(e,t,n)=>{var r=n(47293),o=n(84326),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},79587:(e,t,n)=>{var r=n(60614),o=n(70111),i=n(27674);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},42788:(e,t,n)=>{var r=n(60614),o=n(5465),i=Function.toString;r(o.inspectSource)||(o.inspectSource=function(e){return i.call(e)}),e.exports=o.inspectSource},62423:(e,t,n)=>{var r=n(82109),o=n(3501),i=n(70111),a=n(86656),s=n(3070).f,l=n(8006),c=n(1156),u=n(69711),d=n(76677),p=!1,f=u("meta"),h=0,m=Object.isExtensible||function(){return!0},g=function(e){s(e,f,{value:{objectID:"O"+h++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=l.f,t=[].splice,n={};n[f]=1,e(n).length&&(l.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===f){t.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,f)){if(!m(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},getWeakData:function(e,t){if(!a(e,f)){if(!m(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},onFreeze:function(e){return d&&p&&m(e)&&!a(e,f)&&g(e),e}};o[f]=!0},29909:(e,t,n)=>{var r,o,i,a=n(68536),s=n(17854),l=n(70111),c=n(68880),u=n(86656),d=n(5465),p=n(6200),f=n(3501),h=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new h),g=m.get,y=m.has,v=m.set;r=function(e,t){if(y.call(m,e))throw new TypeError("Object already initialized");return t.facade=e,v.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return y.call(m,e)}}else{var b=p("state");f[b]=!0,r=function(e,t){if(u(e,b))throw new TypeError("Object already initialized");return t.facade=e,c(e,b,t),t},o=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},97659:(e,t,n)=>{var r=n(5112),o=n(97497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:(e,t,n)=>{var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},60614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(47293),o=n(60614),i=n(70648),a=n(35005),s=n(42788),l=[],c=a("Reflect","construct"),u=/^\s*(?:class|function)\b/,d=u.exec,p=!u.exec((function(){})),f=function(e){if(!o(e))return!1;try{return c(Object,l,e),!0}catch(e){return!1}};e.exports=!c||r((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?function(e){if(!o(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!d.call(u,s(e))}:f},54705:(e,t,n)=>{var r=n(47293),o=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},18730:(e,t,n)=>{var r=n(70111),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},70111:(e,t,n)=>{var r=n(60614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},31913:e=>{e.exports=!1},47850:(e,t,n)=>{var r=n(70111),o=n(84326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},52190:(e,t,n)=>{var r=n(60614),o=n(35005),i=n(43307);e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&Object(e)instanceof t}},20408:(e,t,n)=>{var r=n(19670),o=n(97659),i=n(17466),a=n(49974),s=n(18554),l=n(71246),c=n(99212),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,p,f,h,m,g,y,v=n&&n.that,b=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),C=a(t,v,1+b+w),S=function(e){return d&&c(d,"normal",e),new u(!0,e)},E=function(e){return b?(r(e),w?C(e[0],e[1],S):C(e[0],e[1])):w?C(e,S):C(e)};if(_)d=e;else{if(!(p=l(e)))throw TypeError(String(e)+" is not iterable");if(o(p)){for(f=0,h=i(e.length);h>f;f++)if((m=E(e[f]))&&m instanceof u)return m;return new u(!1)}d=s(e,p)}for(g=d.next;!(y=g.call(d)).done;){try{m=E(y.value)}catch(e){c(d,"throw",e)}if("object"==typeof m&&m&&m instanceof u)return m}return new u(!1)}},99212:(e,t,n)=>{var r=n(19670),o=n(58173);e.exports=function(e,t,n){var i,a;r(e);try{if(!(i=o(e,"return"))){if("throw"===t)throw n;return n}i=i.call(e)}catch(e){a=!0,i=e}if("throw"===t)throw n;if(a)throw i;return r(i),n}},13383:(e,t,n)=>{"use strict";var r,o,i,a=n(47293),s=n(60614),l=n(70030),c=n(79518),u=n(31320),d=n(5112),p=n(31913),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[f].call(e)!==e}))?r={}:p&&(r=l(r)),s(r[f])||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},97497:e=>{e.exports={}},30133:(e,t,n)=>{var r=n(7392),o=n(47293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:(e,t,n)=>{var r=n(47293),o=n(5112),i=n(31913),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},68536:(e,t,n)=>{var r=n(17854),o=n(60614),i=n(42788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,t,n)=>{var r=n(47850);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},21574:(e,t,n)=>{"use strict";var r=n(19781),o=n(47293),i=n(81956),a=n(25181),s=n(55296),l=n(47908),c=n(68361),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,p=s.f;o>u;)for(var f,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),g=m.length,y=0;g>y;)f=m[y++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},70030:(e,t,n)=>{var r,o=n(19670),i=n(36048),a=n(80748),s=n(3501),l=n(60490),c=n(80317),u=n(6200),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[d]=e):n=m(),void 0===t?n:i(n,t)}},36048:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(19670),a=n(81956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},3070:(e,t,n)=>{var r=n(19781),o=n(64664),i=n(19670),a=n(34948),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:(e,t,n)=>{var r=n(19781),o=n(55296),i=n(79114),a=n(45656),s=n(34948),l=n(86656),c=n(64664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},1156:(e,t,n)=>{var r=n(45656),o=n(8006).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},8006:(e,t,n)=>{var r=n(16324),o=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},25181:(e,t)=>{t.f=Object.getOwnPropertySymbols},79518:(e,t,n)=>{var r=n(86656),o=n(60614),i=n(47908),a=n(6200),s=n(49920),l=a("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof Object?c:null}},16324:(e,t,n)=>{var r=n(86656),o=n(45656),i=n(41318).indexOf,a=n(3501);e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},81956:(e,t,n)=>{var r=n(16324),o=n(80748);e.exports=Object.keys||function(e){return r(e,o)}},55296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},27674:(e,t,n)=>{var r=n(19670),o=n(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},90288:(e,t,n)=>{"use strict";var r=n(51694),o=n(70648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},92140:(e,t,n)=>{var r=n(60614),o=n(70111);e.exports=function(e,t){var n,i;if("string"===t&&r(n=e.toString)&&!o(i=n.call(e)))return i;if(r(n=e.valueOf)&&!o(i=n.call(e)))return i;if("string"!==t&&r(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},53887:(e,t,n)=>{var r=n(35005),o=n(8006),i=n(25181),a=n(19670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},40857:(e,t,n)=>{var r=n(17854);e.exports=r},12248:(e,t,n)=>{var r=n(31320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},31320:(e,t,n)=>{var r=n(17854),o=n(60614),i=n(86656),a=n(68880),s=n(83505),l=n(42788),c=n(29909),u=n(76530).CONFIGURABLE,d=c.get,p=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,h=!!l&&!!l.enumerable,m=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:t;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||u&&n.name!==g)&&a(n,"name",g),(c=p(n)).source||(c.source=f.join("string"==typeof g?g:""))),e!==r?(d?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return o(this)&&d(this).source||l(this)}))},97651:(e,t,n)=>{var r=n(19670),o=n(60614),i=n(84326),a=n(22261);e.exports=function(e,t){var n=e.exec;if(o(n)){var s=n.call(e,t);return null!==s&&r(s),s}if("RegExp"===i(e))return a.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")}},22261:(e,t,n)=>{"use strict";var r,o,i=n(41340),a=n(67066),s=n(52999),l=n(72309),c=n(70030),u=n(29909).get,d=n(9441),p=n(38173),f=RegExp.prototype.exec,h=l("native-string-replace",String.prototype.replace),m=f,g=(r=/a/,o=/b*/g,f.call(r,"a"),f.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),y=s.UNSUPPORTED_Y||s.BROKEN_CARET,v=void 0!==/()??/.exec("")[1];(g||v||y||d||p)&&(m=function(e){var t,n,r,o,s,l,d,p=this,b=u(p),_=i(e),w=b.raw;if(w)return w.lastIndex=p.lastIndex,t=m.call(w,_),p.lastIndex=w.lastIndex,t;var C=b.groups,S=y&&p.sticky,E=a.call(p),x=p.source,k=0,O=_;if(S&&(-1===(E=E.replace("y","")).indexOf("g")&&(E+="g"),O=_.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==_.charAt(p.lastIndex-1))&&(x="(?: "+x+")",O=" "+O,k++),n=new RegExp("^(?:"+x+")",E)),v&&(n=new RegExp("^"+x+"$(?!\\s)",E)),g&&(r=p.lastIndex),o=f.call(S?n:p,O),S?o?(o.input=o.input.slice(k),o[0]=o[0].slice(k),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:g&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),v&&o&&o.length>1&&h.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&C)for(o.groups=l=c(null),s=0;s<C.length;s++)l[(d=C[s])[0]]=o[d[1]];return o}),e.exports=m},67066:(e,t,n)=>{"use strict";var r=n(19670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},52999:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},9441:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},38173:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},84488:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},81150:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},83505:(e,t,n)=>{var r=n(17854);e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},96340:(e,t,n)=>{"use strict";var r=n(35005),o=n(3070),i=n(5112),a=n(19781),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},58003:(e,t,n)=>{var r=n(3070).f,o=n(86656),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(72309),o=n(69711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,n)=>{var r=n(17854),o=n(83505),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},72309:(e,t,n)=>{var r=n(31913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},36707:(e,t,n)=>{var r=n(19670),o=n(39483),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},43429:(e,t,n)=>{var r=n(47293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},28710:(e,t,n)=>{var r=n(99958),o=n(41340),i=n(84488),a=function(e){return function(t,n){var a,s,l=o(i(t)),c=r(n),u=l.length;return c<0||c>=u?e?"":void 0:(a=l.charCodeAt(c))<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):a:e?l.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},33197:e=>{"use strict";var t=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,r="Overflow: input needs wider integers to process",o=Math.floor,i=String.fromCharCode,a=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},l=function(e){var t,n,l=[],c=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,u=128,d=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&l.push(i(n));var f=l.length,h=f;for(f&&l.push("-");h<c;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<m&&(m=n);var g=h+1;if(m-u>o((2147483647-d)/g))throw RangeError(r);for(d+=(m-u)*g,u=m,t=0;t<e.length;t++){if((n=e[t])<u&&++d>2147483647)throw RangeError(r);if(n==u){for(var y=d,v=36;;v+=36){var b=v<=p?1:v>=p+26?26:v-p;if(y<b)break;var _=y-b,w=36-b;l.push(i(a(b+_%w))),y=o(_/w)}l.push(i(a(y))),p=s(d,g,h==f),d=0,++h}}++d,++u}return l.join("")};e.exports=function(e){var r,o,i=[],a=e.toLowerCase().replace(n,".").split(".");for(r=0;r<a.length;r++)o=a[r],i.push(t.test(o)?"xn--"+l(o):o);return i.join(".")}},76091:(e,t,n)=>{var r=n(76530).PROPER,o=n(47293),i=n(81361);e.exports=function(e){return o((function(){return!!i[e]()||"​᠎"!=="​᠎"[e]()||r&&i[e].name!==e}))}},53111:(e,t,n)=>{var r=n(84488),o=n(41340),i="["+n(81361)+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var n=o(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},51400:(e,t,n)=>{var r=n(99958),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},57067:(e,t,n)=>{var r=n(99958),o=n(17466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},45656:(e,t,n)=>{var r=n(68361),o=n(84488);e.exports=function(e){return r(o(e))}},99958:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},17466:(e,t,n)=>{var r=n(99958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},47908:(e,t,n)=>{var r=n(84488);e.exports=function(e){return Object(r(e))}},84590:(e,t,n)=>{var r=n(73002);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},73002:(e,t,n)=>{var r=n(99958);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},57593:(e,t,n)=>{var r=n(70111),o=n(52190),i=n(58173),a=n(92140),s=n(5112)("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,l=i(e,s);if(l){if(void 0===t&&(t="default"),n=l.call(e,t),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},34948:(e,t,n)=>{var r=n(57593),o=n(52190);e.exports=function(e){var t=r(e,"string");return o(t)?t:String(t)}},51694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},41340:(e,t,n)=>{var r=n(70648);e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},66330:e=>{e.exports=function(e){try{return String(e)}catch(e){return"Object"}}},19843:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(19781),a=n(63832),s=n(90260),l=n(13331),c=n(25787),u=n(79114),d=n(68880),p=n(18730),f=n(17466),h=n(57067),m=n(84590),g=n(34948),y=n(86656),v=n(70648),b=n(70111),_=n(52190),w=n(70030),C=n(27674),S=n(8006).f,E=n(97321),x=n(42092).forEach,k=n(96340),O=n(3070),T=n(31236),A=n(29909),P=n(79587),R=A.get,I=A.set,M=O.f,N=T.f,D=Math.round,j=o.RangeError,L=l.ArrayBuffer,B=l.DataView,F=s.NATIVE_ARRAY_BUFFER_VIEWS,U=s.TYPED_ARRAY_CONSTRUCTOR,H=s.TYPED_ARRAY_TAG,V=s.TypedArray,z=s.TypedArrayPrototype,q=s.aTypedArrayConstructor,G=s.isTypedArray,W=function(e,t){for(var n=0,r=t.length,o=new(q(e))(r);r>n;)o[n]=t[n++];return o},Y=function(e,t){M(e,t,{get:function(){return R(this)[t]}})},Z=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},K=function(e,t){return G(e)&&!_(t)&&t in e&&p(+t)&&t>=0},$=function(e,t){return t=g(t),K(e,t)?u(2,e[t]):N(e,t)},Q=function(e,t,n){return t=g(t),!(K(e,t)&&b(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};i?(F||(T.f=$,O.f=Q,Y(z,"buffer"),Y(z,"byteOffset"),Y(z,"byteLength"),Y(z,"length")),r({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:$,defineProperty:Q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,p=o[s],g=p,y=g&&g.prototype,v={},_=function(e,t){M(e,t,{get:function(){return function(e,t){var n=R(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=R(e);n&&(r=(r=D(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};F?a&&(g=t((function(e,t,n,r){return c(e,g,s),P(b(t)?Z(t)?void 0!==r?new p(t,m(n,i),r):void 0!==n?new p(t,m(n,i)):new p(t):G(t)?W(g,t):E.call(g,t):new p(h(t)),e,g)})),C&&C(g,V),x(S(p),(function(e){e in g||d(g,e,p[e])})),g.prototype=y):(g=t((function(e,t,n,r){c(e,g,s);var o,a,l,u=0,d=0;if(b(t)){if(!Z(t))return G(t)?W(g,t):E.call(g,t);o=t,d=m(n,i);var p=t.byteLength;if(void 0===r){if(p%i)throw j("Wrong length");if((a=p-d)<0)throw j("Wrong length")}else if((a=f(r)*i)+d>p)throw j("Wrong length");l=a/i}else l=h(t),o=new L(a=l*i);for(I(e,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new B(o)});u<l;)_(e,u++)})),C&&C(g,V),y=g.prototype=w(z)),y.constructor!==g&&d(y,"constructor",g),d(y,U,g),H&&d(y,H,s),v[s]=g,r({global:!0,forced:g!=p,sham:!F},v),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in y||d(y,"BYTES_PER_ELEMENT",i),k(s)}):e.exports=function(){}},63832:(e,t,n)=>{var r=n(17854),o=n(47293),i=n(17072),a=n(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},43074:(e,t,n)=>{var r=n(97745),o=n(66304);e.exports=function(e,t){return r(o(e),t)}},97321:(e,t,n)=>{var r=n(39483),o=n(47908),i=n(17466),a=n(18554),s=n(71246),l=n(97659),c=n(49974),u=n(90260).aTypedArrayConstructor;e.exports=function(e){var t,n,d,p,f,h,m=r(this),g=o(e),y=arguments.length,v=y>1?arguments[1]:void 0,b=void 0!==v,_=s(g);if(_&&!l(_))for(h=(f=a(g,_)).next,g=[];!(p=h.call(f)).done;)g.push(p.value);for(b&&y>2&&(v=c(v,arguments[2],2)),n=i(g.length),d=new(u(m))(n),t=0;n>t;t++)d[t]=b?v(g[t],t):g[t];return d}},66304:(e,t,n)=>{var r=n(90260),o=n(36707),i=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;e.exports=function(e){return a(o(e,e[i]))}},69711:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},43307:(e,t,n)=>{var r=n(30133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:(e,t,n)=>{var r=n(5112);t.f=r},5112:(e,t,n)=>{var r=n(17854),o=n(72309),i=n(86656),a=n(69711),s=n(30133),l=n(43307),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},81361:e=>{e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},92222:(e,t,n)=>{"use strict";var r=n(82109),o=n(47293),i=n(43157),a=n(70111),s=n(47908),l=n(17466),c=n(86135),u=n(65417),d=n(81194),p=n(5112),f=n(7392),h=p("isConcatSpreadable"),m=f>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(d,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(d,p++,i)}return d.length=p,d}})},57327:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).filter;r({target:"Array",proto:!0,forced:!n(81194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},34553:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).findIndex,i=n(51223),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},69826:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).find,i=n(51223),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},91038:(e,t,n)=>{var r=n(82109),o=n(48457);r({target:"Array",stat:!0,forced:!n(17072)((function(e){Array.from(e)}))},{from:o})},26699:(e,t,n)=>{"use strict";var r=n(82109),o=n(41318).includes,i=n(51223);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},66992:(e,t,n)=>{"use strict";var r=n(45656),o=n(51223),i=n(97497),a=n(29909),s=n(70654),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},69600:(e,t,n)=>{"use strict";var r=n(82109),o=n(68361),i=n(45656),a=n(9341),s=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},21249:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).map;r({target:"Array",proto:!0,forced:!n(81194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},47042:(e,t,n)=>{"use strict";var r=n(82109),o=n(43157),i=n(4411),a=n(70111),s=n(51400),l=n(17466),c=n(45656),u=n(86135),d=n(5112),p=n(81194)("slice"),f=d("species"),h=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,p=c(this),g=l(p.length),y=s(e,g),v=s(void 0===t?g:t,g);if(o(p)&&(n=p.constructor,(i(n)&&(n===Array||o(n.prototype))||a(n)&&null===(n=n[f]))&&(n=void 0),n===Array||void 0===n))return h.call(p,y,v);for(r=new(void 0===n?Array:n)(m(v-y,0)),d=0;y<v;y++,d++)y in p&&u(r,d,p[y]);return r.length=d,r}})},2707:(e,t,n)=>{"use strict";var r=n(82109),o=n(19662),i=n(47908),a=n(17466),s=n(41340),l=n(47293),c=n(94362),u=n(9341),d=n(68886),p=n(30256),f=n(7392),h=n(98008),m=[],g=m.sort,y=l((function(){m.sort(void 0)})),v=l((function(){m.sort(null)})),b=u("sort"),_=!l((function(){if(f)return f<70;if(!(d&&d>3)){if(p)return!0;if(h)return h<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:y||!v||!b||!_},{sort:function(e){void 0!==e&&o(e);var t=i(this);if(_)return void 0===e?g.call(t):g.call(t,e);var n,r,l=[],u=a(t.length);for(r=0;r<u;r++)r in t&&l.push(t[r]);for(n=(l=c(l,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e))).length,r=0;r<n;)t[r]=l[r++];for(;r<u;)delete t[r++];return t}})},40561:(e,t,n)=>{"use strict";var r=n(82109),o=n(51400),i=n(99958),a=n(17466),s=n(47908),l=n(65417),c=n(86135),u=n(81194)("splice"),d=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,r,u,f,h,m,g=s(this),y=a(g.length),v=o(e,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-v):(n=b-2,r=p(d(i(t),0),y-v)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,r),f=0;f<r;f++)(h=v+f)in g&&c(u,f,g[h]);if(u.length=r,n<r){for(f=v;f<y-r;f++)m=f+n,(h=f+r)in g?g[m]=g[h]:delete g[m];for(f=y;f>y-r+n;f--)delete g[f-1]}else if(n>r)for(f=y-r;f>v;f--)m=f+n-1,(h=f+r-1)in g?g[m]=g[h]:delete g[m];for(f=0;f<n;f++)g[f+v]=arguments[f+2];return g.length=y-r+n,u}})},68309:(e,t,n)=>{var r=n(19781),o=n(76530).EXISTS,i=n(3070).f,a=Function.prototype,s=a.toString,l=/^\s*function ([^ (]*)/;r&&!o&&i(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(e){return""}}})},35837:(e,t,n)=>{n(82109)({global:!0},{globalThis:n(17854)})},73706:(e,t,n)=>{var r=n(17854);n(58003)(r.JSON,"JSON",!0)},10408:(e,t,n)=>{n(58003)(Math,"Math",!0)},9653:(e,t,n)=>{"use strict";var r=n(19781),o=n(17854),i=n(54705),a=n(31320),s=n(86656),l=n(84326),c=n(79587),u=n(52190),d=n(57593),p=n(47293),f=n(70030),h=n(8006).f,m=n(31236).f,g=n(3070).f,y=n(53111).trim,v=o.Number,b=v.prototype,_="Number"==l(f(b)),w=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,i,a,s,l,c=d(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=y(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var C,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?p((function(){b.valueOf.call(n)})):"Number"!=l(n))?c(new v(w(t)),n,S):w(t)},E=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),x=0;E.length>x;x++)s(v,C=E[x])&&!s(S,C)&&g(S,C,m(v,C));S.prototype=b,b.constructor=S,a(o,"Number",S)}},33161:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{isInteger:n(18730)})},44048:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},19601:(e,t,n)=>{var r=n(82109),o=n(21574);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},38880:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(45656),a=n(31236).f,s=n(19781),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},49337:(e,t,n)=>{var r=n(82109),o=n(19781),i=n(53887),a=n(45656),s=n(31236),l=n(86135);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=o(r,t=c[d++]))&&l(u,t,n);return u}})},36210:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(1156).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},30489:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(47908),a=n(79518),s=n(49920);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},47941:(e,t,n)=>{var r=n(82109),o=n(47908),i=n(81956);r({target:"Object",stat:!0,forced:n(47293)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},41539:(e,t,n)=>{var r=n(51694),o=n(31320),i=n(90288);r||o(Object.prototype,"toString",i,{unsafe:!0})},36535:(e,t,n)=>{var r=n(82109),o=n(35005),i=n(19662),a=n(19670),s=n(47293),l=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):c.call(e,t,n)}})},12419:(e,t,n)=>{var r=n(82109),o=n(35005),i=n(39483),a=n(19670),s=n(70111),l=n(70030),c=n(27065),u=n(47293),d=o("Reflect","construct"),p=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),f=!u((function(){d((function(){}))})),h=p||f;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!p)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,u=l(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},67556:(e,t,n)=>{n(82109)({target:"Reflect",stat:!0},{ownKeys:n(53887)})},24603:(e,t,n)=>{var r=n(19781),o=n(17854),i=n(54705),a=n(79587),s=n(68880),l=n(3070).f,c=n(8006).f,u=n(47850),d=n(41340),p=n(67066),f=n(52999),h=n(31320),m=n(47293),g=n(86656),y=n(29909).enforce,v=n(96340),b=n(5112),_=n(9441),w=n(38173),C=b("match"),S=o.RegExp,E=S.prototype,x=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,O=/a/g,T=new S(k)!==k,A=f.UNSUPPORTED_Y,P=r&&(!T||A||_||w||m((function(){return O[C]=!1,S(k)!=k||S(O)==O||"/a/i"!=S(k,"i")})));if(i("RegExp",P)){for(var R=function(e,t){var n,r,o,i,l,c,f=this instanceof R,h=u(e),m=void 0===t,v=[],b=e;if(!f&&h&&m&&e.constructor===R)return e;if((h||e instanceof R)&&(e=e.source,m&&(t="flags"in b?b.flags:p.call(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,_&&"dotAll"in k&&(r=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,A&&"sticky"in k&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),w&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},s=!1,l=!1,c=0,u="";r<=n;r++){if("\\"===(t=e.charAt(r)))t+=e.charAt(++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:x.test(e.slice(r+1))&&(r+=2,l=!0),o+=t,c++;continue;case">"===t&&l:if(""===u||g(a,u))throw new SyntaxError("Invalid capture group name");a[u]=!0,i.push([u,c]),l=!1,u="";continue}l?u+=t:o+=t}return[o,i]}(e))[0],v=i[1]),l=a(S(e,t),f?this:E,R),(r||o||v.length)&&(c=y(l),r&&(c.dotAll=!0,c.raw=R(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=e.charAt(r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++r);return o}(e),n)),o&&(c.sticky=!0),v.length&&(c.groups=v)),e!==b)try{s(l,"source",""===b?"(?:)":b)}catch(e){}return l},I=function(e){e in R||l(R,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},M=c(S),N=0;M.length>N;)I(M[N++]);E.constructor=R,R.prototype=E,h(o,"RegExp",R)}v("RegExp")},74916:(e,t,n)=>{"use strict";var r=n(82109),o=n(22261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},39714:(e,t,n)=>{"use strict";var r=n(76530).PROPER,o=n(31320),i=n(19670),a=n(41340),s=n(47293),l=n(67066),c=RegExp.prototype,u=c.toString,d=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),p=r&&"toString"!=u.name;(d||p)&&o(RegExp.prototype,"toString",(function(){var e=i(this),t=a(e.source),n=e.flags;return"/"+t+"/"+a(void 0===n&&e instanceof RegExp&&!("flags"in c)?l.call(e):n)}),{unsafe:!0})},70189:(e,t,n)=>{"use strict";var r=n(77710),o=n(95631);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},27852:(e,t,n)=>{"use strict";var r,o=n(82109),i=n(31236).f,a=n(17466),s=n(41340),l=n(3929),c=n(84488),u=n(84964),d=n(31913),p="".endsWith,f=Math.min,h=u("endsWith");o({target:"String",proto:!0,forced:!!(d||h||(r=i(String.prototype,"endsWith"),!r||r.writable))&&!h},{endsWith:function(e){var t=s(c(this));l(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),i=s(e);return p?p.call(t,i,o):t.slice(o-i.length,o)===i}})},32023:(e,t,n)=>{"use strict";var r=n(82109),o=n(3929),i=n(84488),a=n(41340);r({target:"String",proto:!0,forced:!n(84964)("includes")},{includes:function(e){return!!~a(i(this)).indexOf(a(o(e)),arguments.length>1?arguments[1]:void 0)}})},78783:(e,t,n)=>{"use strict";var r=n(28710).charAt,o=n(41340),i=n(29909),a=n(70654),s=i.set,l=i.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:o(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:(e,t,n)=>{"use strict";var r=n(27007),o=n(19670),i=n(17466),a=n(41340),s=n(84488),l=n(58173),c=n(31530),u=n(97651);r("match",(function(e,t,n){return[function(t){var n=s(this),r=null==t?void 0:l(t,e);return r?r.call(t,n):new RegExp(t)[e](a(n))},function(e){var r=o(this),s=a(e),l=n(t,r,s);if(l.done)return l.value;if(!r.global)return u(r,s);var d=r.unicode;r.lastIndex=0;for(var p,f=[],h=0;null!==(p=u(r,s));){var m=a(p[0]);f[h]=m,""===m&&(r.lastIndex=c(s,i(r.lastIndex),d)),h++}return 0===h?null:f}]}))},15306:(e,t,n)=>{"use strict";var r=n(27007),o=n(47293),i=n(19670),a=n(60614),s=n(99958),l=n(17466),c=n(41340),u=n(84488),d=n(31530),p=n(58173),f=n(10647),h=n(97651),m=n(5112)("replace"),g=Math.max,y=Math.min,v="$0"==="a".replace(/./,"$0"),b=!!/./[m]&&""===/./[m]("a","$0");r("replace",(function(e,t,n){var r=b?"$":"$0";return[function(e,n){var r=u(this),o=null==e?void 0:p(e,m);return o?o.call(e,r,n):t.call(c(r),e,n)},function(e,o){var u=i(this),p=c(e);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var m=n(t,u,p,o);if(m.done)return m.value}var v=a(o);v||(o=c(o));var b=u.global;if(b){var _=u.unicode;u.lastIndex=0}for(var w=[];;){var C=h(u,p);if(null===C)break;if(w.push(C),!b)break;""===c(C[0])&&(u.lastIndex=d(p,l(u.lastIndex),_))}for(var S,E="",x=0,k=0;k<w.length;k++){C=w[k];for(var O=c(C[0]),T=g(y(s(C.index),p.length),0),A=[],P=1;P<C.length;P++)A.push(void 0===(S=C[P])?S:String(S));var R=C.groups;if(v){var I=[O].concat(A,T,p);void 0!==R&&I.push(R);var M=c(o.apply(void 0,I))}else M=f(O,p,T,A,R,o);T>=x&&(E+=p.slice(x,T)+M,x=T+O.length)}return E+p.slice(x)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||b)},64765:(e,t,n)=>{"use strict";var r=n(27007),o=n(19670),i=n(84488),a=n(81150),s=n(41340),l=n(58173),c=n(97651);r("search",(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:l(t,e);return r?r.call(t,n):new RegExp(t)[e](s(n))},function(e){var r=o(this),i=s(e),l=n(t,r,i);if(l.done)return l.value;var u=r.lastIndex;a(u,0)||(r.lastIndex=0);var d=c(r,i);return a(r.lastIndex,u)||(r.lastIndex=u),null===d?-1:d.index}]}))},23123:(e,t,n)=>{"use strict";var r=n(27007),o=n(47850),i=n(19670),a=n(84488),s=n(36707),l=n(31530),c=n(17466),u=n(41340),d=n(58173),p=n(97651),f=n(22261),h=n(52999),m=n(47293),g=h.UNSUPPORTED_Y,y=[].push,v=Math.min;r("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=u(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,c,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,p+"g");(s=f.call(m,r))&&!((l=m.lastIndex)>h&&(d.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&y.apply(d,s.slice(1)),c=s[0].length,h=l,d.length>=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!c&&m.test("")||d.push(""):d.push(r.slice(h)),d.length>i?d.slice(0,i):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:d(t,e);return i?i.call(t,o,n):r.call(u(o),t,n)},function(e,o){var a=i(this),d=u(e),f=n(r,a,d,o,r!==t);if(f.done)return f.value;var h=s(a,RegExp),m=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(g?"g":"y"),b=new h(g?"^(?:"+a.source+")":a,y),_=void 0===o?4294967295:o>>>0;if(0===_)return[];if(0===d.length)return null===p(b,d)?[d]:[];for(var w=0,C=0,S=[];C<d.length;){b.lastIndex=g?0:C;var E,x=p(b,g?d.slice(C):d);if(null===x||(E=v(c(b.lastIndex+(g?C:0)),d.length))===w)C=l(d,C,m);else{if(S.push(d.slice(w,C)),S.length===_)return S;for(var k=1;k<=x.length-1;k++)if(S.push(x[k]),S.length===_)return S;C=w=E}}return S.push(d.slice(w)),S}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),g)},60086:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("sub")},{sub:function(){return o(this,"sub","","")}})},73210:(e,t,n)=>{"use strict";var r=n(82109),o=n(53111).trim;r({target:"String",proto:!0,forced:n(76091)("trim")},{trim:function(){return o(this)}})},72443:(e,t,n)=>{n(97235)("asyncIterator")},41817:(e,t,n)=>{"use strict";var r=n(82109),o=n(19781),i=n(17854),a=n(86656),s=n(60614),l=n(70111),c=n(3070).f,u=n(99920),d=i.Symbol;if(o&&s(d)&&(!("description"in d.prototype)||void 0!==d().description)){var p={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new d(e):void 0===e?d():d(e);return""===e&&(p[t]=!0),t};u(f,d);var h=f.prototype=d.prototype;h.constructor=f;var m=h.toString,g="Symbol(test)"==String(d("test")),y=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=m.call(e);if(a(p,e))return"";var n=g?t.slice(7,-1):t.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},32165:(e,t,n)=>{n(97235)("iterator")},82526:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(35005),a=n(31913),s=n(19781),l=n(30133),c=n(47293),u=n(86656),d=n(43157),p=n(60614),f=n(70111),h=n(52190),m=n(19670),g=n(47908),y=n(45656),v=n(34948),b=n(41340),_=n(79114),w=n(70030),C=n(81956),S=n(8006),E=n(1156),x=n(25181),k=n(31236),O=n(3070),T=n(55296),A=n(31320),P=n(72309),R=n(6200),I=n(3501),M=n(69711),N=n(5112),D=n(6061),j=n(97235),L=n(58003),B=n(29909),F=n(42092).forEach,U=R("hidden"),H=N("toPrimitive"),V=B.set,z=B.getterFor("Symbol"),q=Object.prototype,G=o.Symbol,W=i("JSON","stringify"),Y=k.f,Z=O.f,K=E.f,$=T.f,Q=P("symbols"),X=P("op-symbols"),J=P("string-to-symbol-registry"),ee=P("symbol-to-string-registry"),te=P("wks"),ne=o.QObject,re=!ne||!ne.prototype||!ne.prototype.findChild,oe=s&&c((function(){return 7!=w(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Y(q,t);r&&delete q[t],Z(e,t,n),r&&e!==q&&Z(q,t,r)}:Z,ie=function(e,t){var n=Q[e]=w(G.prototype);return V(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ae=function(e,t,n){e===q&&ae(X,t,n),m(e);var r=v(t);return m(n),u(Q,r)?(n.enumerable?(u(e,U)&&e[U][r]&&(e[U][r]=!1),n=w(n,{enumerable:_(0,!1)})):(u(e,U)||Z(e,U,_(1,{})),e[U][r]=!0),oe(e,r,n)):Z(e,r,n)},se=function(e,t){m(e);var n=y(t),r=C(n).concat(de(n));return F(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=v(e),n=$.call(this,t);return!(this===q&&u(Q,t)&&!u(X,t))&&(!(n||!u(this,t)||!u(Q,t)||u(this,U)&&this[U][t])||n)},ce=function(e,t){var n=y(e),r=v(t);if(n!==q||!u(Q,r)||u(X,r)){var o=Y(n,r);return!o||!u(Q,r)||u(n,U)&&n[U][r]||(o.enumerable=!0),o}},ue=function(e){var t=K(y(e)),n=[];return F(t,(function(e){u(Q,e)||u(I,e)||n.push(e)})),n},de=function(e){var t=e===q,n=K(t?X:y(e)),r=[];return F(n,(function(e){!u(Q,e)||t&&!u(q,e)||r.push(Q[e])})),r};(l||(A((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,t=M(e),n=function(e){this===q&&n.call(X,e),u(this,U)&&u(this[U],t)&&(this[U][t]=!1),oe(this,t,_(1,e))};return s&&re&&oe(q,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return z(this).tag})),A(G,"withoutSetter",(function(e){return ie(M(e),e)})),T.f=le,O.f=ae,k.f=ce,S.f=E.f=ue,x.f=de,D.f=function(e){return ie(N(e),e)},s&&(Z(G.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||A(q,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),F(C(te),(function(e){j(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=b(e);if(u(J,t))return J[t];var n=G(t);return J[t]=n,ee[n]=t,n},keyFor:function(e){if(!h(e))throw TypeError(e+" is not a symbol");if(u(ee,e))return ee[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?w(e):se(w(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:c((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(g(e))}}),W)&&r({target:"JSON",stat:!0,forced:!l||c((function(){var e=G();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!h(e))return d(t)||(t=function(e,t){if(p(r)&&(t=r.call(this,e,t)),!h(t))return t}),o[1]=t,W.apply(null,o)}});if(!G.prototype[H]){var pe=G.prototype.valueOf;A(G.prototype,H,(function(){return pe.apply(this,arguments)}))}L(G,"Symbol"),I[U]=!0},39341:(e,t,n)=>{n(97235)("toStringTag")},92990:(e,t,n)=>{"use strict";var r=n(90260),o=n(1048),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:(e,t,n)=>{"use strict";var r=n(90260),o=n(21285),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},35035:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).filter,i=n(43074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},32846:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44731:(e,t,n)=>{"use strict";var r=n(90260),o=n(41318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:(e,t,n)=>{"use strict";var r=n(90260),o=n(41318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},96319:(e,t,n)=>{"use strict";var r=n(17854),o=n(76530).PROPER,i=n(90260),a=n(66992),s=n(5112)("iterator"),l=r.Uint8Array,c=a.values,u=a.keys,d=a.entries,p=i.aTypedArray,f=i.exportTypedArrayMethod,h=l&&l.prototype[s],m=!!h&&"values"===h.name,g=function(){return c.call(p(this))};f("entries",(function(){return d.call(p(this))})),f("keys",(function(){return u.call(p(this))})),f("values",g,o&&!m),f(s,g,o&&!m)},58867:(e,t,n)=>{"use strict";var r=n(90260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},37789:(e,t,n)=>{"use strict";var r=n(90260),o=n(86583),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},33739:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).map,i=n(66304),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},14483:(e,t,n)=>{"use strict";var r=n(90260),o=n(53671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},29368:(e,t,n)=>{"use strict";var r=n(90260),o=n(53671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},12056:(e,t,n)=>{"use strict";var r=n(90260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},3462:(e,t,n)=>{"use strict";var r=n(90260),o=n(17466),i=n(84590),a=n(47908),s=n(47293),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");for(;c<s;)this[t+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},30678:(e,t,n)=>{"use strict";var r=n(90260),o=n(66304),i=n(47293),a=r.aTypedArray,s=r.exportTypedArrayMethod,l=[].slice;s("slice",(function(e,t){for(var n=l.call(a(this),e,t),r=o(this),i=0,s=n.length,c=new r(s);s>i;)c[i]=n[i++];return c}),i((function(){new Int8Array(1).slice()})))},27462:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:(e,t,n)=>{"use strict";var r=n(90260),o=n(17854),i=n(47293),a=n(19662),s=n(17466),l=n(94362),c=n(68886),u=n(30256),d=n(7392),p=n(98008),f=r.aTypedArray,h=r.exportTypedArrayMethod,m=o.Uint16Array,g=m&&m.prototype.sort,y=!!g&&!i((function(){var e=new m(2);e.sort(null),e.sort({})})),v=!!g&&!i((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(p)return p<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){if(void 0!==e&&a(e),v)return g.call(this,e);f(this);var t,n=s(this.length),r=Array(n);for(t=0;t<n;t++)r[t]=this[t];for(r=l(this,function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e)),t=0;t<n;t++)this[t]=r[t];return this}),!v||y)},55021:(e,t,n)=>{"use strict";var r=n(90260),o=n(17466),i=n(51400),a=n(66304),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},12974:(e,t,n)=>{"use strict";var r=n(17854),o=n(90260),i=n(47293),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},15016:(e,t,n)=>{"use strict";var r=n(90260).exportTypedArrayMethod,o=n(47293),i=n(17854).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},82472:(e,t,n)=>{n(19843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},65743:(e,t,n)=>{n(35837)},54747:(e,t,n)=>{var r=n(17854),o=n(48324),i=n(98509),a=n(18533),s=n(68880),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)l(r[c]&&r[c].prototype);l(i)},33948:(e,t,n)=>{var r=n(17854),o=n(48324),i=n(98509),a=n(66992),s=n(68880),l=n(5112),c=l("iterator"),u=l("toStringTag"),d=a.values,p=function(e,t){if(e){if(e[c]!==d)try{s(e,c,d)}catch(t){e[c]=d}if(e[u]||s(e,u,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in o)p(r[f]&&r[f].prototype,f);p(i,"DOMTokenList")},41637:(e,t,n)=>{"use strict";n(66992);var r=n(82109),o=n(35005),i=n(590),a=n(31320),s=n(12248),l=n(58003),c=n(24994),u=n(29909),d=n(25787),p=n(60614),f=n(86656),h=n(49974),m=n(70648),g=n(19670),y=n(70111),v=n(41340),b=n(70030),_=n(79114),w=n(18554),C=n(71246),S=n(5112),E=o("fetch"),x=o("Request"),k=x&&x.prototype,O=o("Headers"),T=S("iterator"),A=u.set,P=u.getterFor("URLSearchParams"),R=u.getterFor("URLSearchParamsIterator"),I=/\+/g,M=Array(4),N=function(e){return M[e-1]||(M[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},D=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(I," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(N(n--),D);return t}},L=/[!'()~]|%20/g,B={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return B[e]},U=function(e){return encodeURIComponent(e).replace(L,F)},H=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:j(r.shift()),value:j(r.join("="))}))},V=function(e){this.entries.length=0,H(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},q=c((function(e,t){A(this,{type:"URLSearchParamsIterator",iterator:w(P(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),G=function(){d(this,G,"URLSearchParams");var e,t,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(A(u,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:V}),void 0!==c)if(y(c))if(e=C(c))for(n=(t=w(c,e)).next;!(r=n.call(t)).done;){if((a=(i=(o=w(g(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:v(a.value),value:v(s.value)})}else for(l in c)f(c,l)&&p.push({key:l,value:v(c[l])});else H(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:v(c))},W=G.prototype;if(s(W,{append:function(e,t){z(arguments.length,2);var n=P(this);n.entries.push({key:v(e),value:v(t)}),n.updateURL()},delete:function(e){z(arguments.length,1);for(var t=P(this),n=t.entries,r=v(e),o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,r=P(this),o=r.entries,i=!1,a=v(e),s=v(t),l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=P(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),a(W,T,W.entries,{name:"entries"}),a(W,"toString",(function(){for(var e,t=P(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(U(e.key)+"="+U(e.value));return n.join("&")}),{enumerable:!0}),l(G,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:G}),!i&&p(O)){var Y=function(e){if(y(e)){var t,n=e.body;if("URLSearchParams"===m(n))return(t=e.headers?new O(e.headers):new O).has("content-type")||t.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),b(e,{body:_(0,String(n)),headers:_(0,t)})}return e};if(p(E)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(e,arguments.length>1?Y(arguments[1]):{})}}),p(x)){var Z=function(e){return d(this,Z,"Request"),new x(e,arguments.length>1?Y(arguments[1]):{})};k.constructor=Z,Z.prototype=k,r({global:!0,forced:!0},{Request:Z})}}e.exports={URLSearchParams:G,getState:P}},60285:(e,t,n)=>{"use strict";n(78783);var r,o=n(82109),i=n(19781),a=n(590),s=n(17854),l=n(36048),c=n(31320),u=n(25787),d=n(86656),p=n(21574),f=n(48457),h=n(28710).codeAt,m=n(33197),g=n(41340),y=n(58003),v=n(41637),b=n(29909),_=s.URL,w=v.URLSearchParams,C=v.getState,S=b.set,E=b.getterFor("URL"),x=Math.floor,k=Math.pow,O=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,A=/\d/,P=/^0x/i,R=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:<>?@[\\\]^|]/,D=/[\0\t\n\r #/:<>?@[\\\]^|]/,j=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,L=/[\t\n\r]/g,B=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Z(e)){if(t=m(t),N.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(D.test(t))return"Invalid host";for(n="",r=f(t),o=0;o<r.length;o++)n+=W(r[o],V);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=P.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?R:M).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,p=function(){return e.charAt(d)};if(":"==p()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;d++}if(!A.test(p()))return;for(;A.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},H=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},V={},z=p({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},z,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(Y,e.scheme)},K=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&O.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te={},ne={},re={},oe={},ie={},ae={},se={},le={},ce={},ue={},de={},pe={},fe={},he={},me={},ge={},ye={},ve={},be={},_e={},we={},Ce=function(e,t,n,o){var i,a,s,l,c,u=n||te,p=0,h="",m=!1,g=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace(L,""),i=f(t);p<=i.length;){switch(a=i[p],u){case te:if(!a||!O.test(a)){if(n)return"Invalid scheme";u=re;continue}h+=a.toLowerCase(),u=ne;break;case ne:if(a&&(T.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",u=re,p=0;continue}if(n&&(Z(e)!=d(Y,h)||"file"==h&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Z(e)&&Y[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=he:Z(e)&&o&&o.scheme==e.scheme?u=oe:Z(e)?u=le:"/"==i[p+1]?(u=ie,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=be)}break;case re:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=we;break}u="file"==o.scheme?he:ae;continue;case oe:if("/"!=a||"/"!=i[p+1]){u=ae;continue}u=ce,p++;break;case ie:if("/"==a){u=ue;break}u=ve;continue;case ae:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Z(e))u=se;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=_e;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=ve;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=we}break;case se:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=ve;continue}u=ue}else u=ce;break;case le:if(u=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){u=ue;continue}break;case ue:if("@"==a){m&&(h="%40"+h),m=!0,s=f(h);for(var v=0;v<s.length;v++){var b=s[v];if(":"!=b||y){var _=W(b,G);y?e.password+=_:e.username+=_}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",u=de}else h+=a;break;case de:case pe:if(n&&"file"==e.scheme){u=ge;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(Z(e)&&""==h)return"Invalid host";if(n&&""==h&&(K(e)||null!==e.port))return;if(l=B(e,h))return l;if(h="",u=ye,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(l=B(e,h))return l;if(h="",u=fe,n==pe)return}break;case fe:if(!A.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=Z(e)&&w===Y[e.scheme]?null:w,h=""}if(n)return;u=ye;continue}return"Invalid port"}h+=a;break;case he:if(e.scheme="file","/"==a||"\\"==a)u=me;else{if(!o||"file"!=o.scheme){u=ve;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=_e;else{if("#"!=a){X(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),u=ve;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=we}}break;case me:if("/"==a||"\\"==a){u=ge;break}o&&"file"==o.scheme&&!X(i.slice(p).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=ve;continue;case ge:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(h))u=ve;else if(""==h){if(e.host="",n)return;u=ye}else{if(l=B(e,h))return l;if("localhost"==e.host&&(e.host=""),n)return;h="",u=ye}continue}h+=a;break;case ye:if(Z(e)){if(u=ve,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=ve,"/"!=a))continue}else e.fragment="",u=we;else e.query="",u=_e;break;case ve:if(a==r||"/"==a||"\\"==a&&Z(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ee(h)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=_e):"#"==a&&(e.fragment="",u=we)}else h+=W(a,q);break;case be:"?"==a?(e.query="",u=_e):"#"==a?(e.fragment="",u=we):a!=r&&(e.path[0]+=W(a,V));break;case _e:n||"#"!=a?a!=r&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":W(a,V)):(e.fragment="",u=we);break;case we:a!=r&&(e.fragment+=W(a,z))}p++}},Se=function(e){var t,n,r=u(this,Se,"URL"),o=arguments.length>1?arguments[1]:void 0,a=g(e),s=S(r,{type:"URL"});if(void 0!==o)if(o instanceof Se)t=E(o);else if(n=Ce(t={},g(o)))throw TypeError(n);if(n=Ce(s,a,null,t))throw TypeError(n);var l=s.searchParams=new w,c=C(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=xe.call(r),r.origin=ke.call(r),r.protocol=Oe.call(r),r.username=Te.call(r),r.password=Ae.call(r),r.host=Pe.call(r),r.hostname=Re.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=De.call(r),r.hash=je.call(r))},Ee=Se.prototype,xe=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",K(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},ke=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Se(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Oe=function(){return E(this).scheme+":"},Te=function(){return E(this).username},Ae=function(){return E(this).password},Pe=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Re=function(){var e=E(this).host;return null===e?"":H(e)},Ie=function(){var e=E(this).port;return null===e?"":String(e)},Me=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},je=function(){var e=E(this).fragment;return e?"#"+e:""},Le=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ee,{href:Le(xe,(function(e){var t=E(this),n=g(e),r=Ce(t,n);if(r)throw TypeError(r);C(t.searchParams).updateSearchParams(t.query)})),origin:Le(ke),protocol:Le(Oe,(function(e){var t=E(this);Ce(t,g(e)+":",te)})),username:Le(Te,(function(e){var t=E(this),n=f(g(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=W(n[r],G)}})),password:Le(Ae,(function(e){var t=E(this),n=f(g(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=W(n[r],G)}})),host:Le(Pe,(function(e){var t=E(this);t.cannotBeABaseURL||Ce(t,g(e),de)})),hostname:Le(Re,(function(e){var t=E(this);t.cannotBeABaseURL||Ce(t,g(e),pe)})),port:Le(Ie,(function(e){var t=E(this);$(t)||(""==(e=g(e))?t.port=null:Ce(t,e,fe))})),pathname:Le(Me,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Ce(t,g(e),ye))})),search:Le(Ne,(function(e){var t=E(this);""==(e=g(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,_e)),C(t.searchParams).updateSearchParams(t.query)})),searchParams:Le(De),hash:Le(je,(function(e){var t=E(this);""!=(e=g(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,we)):t.fragment=null}))}),c(Ee,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),c(Ee,"toString",(function(){return xe.call(this)}),{enumerable:!0}),_){var Be=_.createObjectURL,Fe=_.revokeObjectURL;Be&&c(Se,"createObjectURL",(function(e){return Be.apply(_,arguments)})),Fe&&c(Se,"revokeObjectURL",(function(e){return Fe.apply(_,arguments)}))}y(Se,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Se})},22032:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M8 4l4 4-4 4V4zM4 .889C4 .398 4.448 0 5 0s1 .398 1 .889V15.11c0 .491-.448.889-1 .889s-1-.398-1-.889V.89z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},44859:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic_stroke" d="M9.9094 12.3334H9.75603L9.61808 12.4004C8.82771 12.7844 7.93998 13 6.99998 13C3.68627 13 0.99998 10.3137 0.99998 7.00004C0.99998 3.68633 3.68627 1.00004 6.99998 1.00004C10.3137 1.00004 13 3.68633 13 7.00004C13 7.94004 12.7843 8.82777 12.4003 9.61815L12.3333 9.75609V9.90946V12.3334H9.9094Z" stroke-width="1.33333"/>'};var r=n(5813);e.exports=r(e.exports)},30245:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M4 8h8l-4 4-4-4zM.889 6C.398 6 0 5.552 0 5s.398-1 .889-1H15.11c.491 0 .889.448.889 1s-.398 1-.889 1H.89z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},86766:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.66683 6.99998C1.66683 4.05446 4.05464 1.66665 7.00016 1.66665C9.94568 1.66665 12.3335 4.05446 12.3335 6.99998C12.3335 9.9455 9.94568 12.3333 7.00016 12.3333C4.05464 12.3333 1.66683 9.9455 1.66683 6.99998ZM7.00016 0.333313C3.31826 0.333313 0.333496 3.31808 0.333496 6.99998C0.333496 10.6819 3.31826 13.6666 7.00016 13.6666C10.6821 13.6666 13.6668 10.6819 13.6668 6.99998C13.6668 3.31808 10.6821 0.333313 7.00016 0.333313ZM10.5123 5.42677C10.748 5.14392 10.7098 4.72354 10.427 4.48783C10.1441 4.25212 9.72372 4.29034 9.48802 4.57319L6.55081 8.09784L4.72099 6.79083C4.42138 6.57682 4.00501 6.64622 3.79101 6.94583C3.577 7.24543 3.6464 7.6618 3.946 7.87581L6.78285 9.90212L10.5123 5.42677Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},44461:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M12.3335 7.00001C12.3335 4.05449 9.94568 1.66668 7.00016 1.66668C4.05464 1.66668 1.66683 4.05449 1.66683 7.00001C1.66683 9.94553 4.05464 12.3333 7.00016 12.3333C9.94568 12.3333 12.3335 9.94553 12.3335 7.00001ZM13.6668 7.00001C13.6668 10.6819 10.6821 13.6667 7.00016 13.6667C3.31826 13.6667 0.333496 10.6819 0.333496 7.00001C0.333496 3.31811 3.31826 0.333344 7.00016 0.333344C10.6821 0.333344 13.6668 3.31811 13.6668 7.00001ZM5.99844 4.73459C5.7869 4.97257 5.66683 5.30872 5.66683 5.66668C5.66683 6.03487 5.36835 6.33334 5.00016 6.33334C4.63197 6.33334 4.3335 6.03487 4.3335 5.66668C4.3335 5.02463 4.54676 4.36079 5.00189 3.84877C5.46793 3.32448 6.15259 3.00001 7.00016 3.00001C7.74335 3.00001 8.41196 3.19655 8.906 3.61763C9.41141 4.0484 9.66683 4.65811 9.66683 5.33334C9.66683 5.76319 9.57758 6.17871 9.34926 6.57034C9.12475 6.95544 8.79108 7.27397 8.36996 7.55471C7.89842 7.86907 7.74592 8.05285 7.69682 8.13467C7.67159 8.17672 7.66683 8.18467 7.66683 8.33334C7.66683 8.70153 7.36835 9.00001 7.00016 9.00001C6.63197 9.00001 6.3335 8.70153 6.3335 8.33334L6.33349 8.32243C6.3334 8.13632 6.33325 7.81577 6.5535 7.44868C6.7544 7.11384 7.10191 6.79761 7.63036 6.44531C7.93768 6.24043 8.10401 6.05896 8.19739 5.8988C8.28696 5.74516 8.3335 5.57017 8.3335 5.33334C8.3335 5.00858 8.2201 4.78495 8.0411 4.63239C7.85073 4.47014 7.51934 4.33334 7.00016 4.33334C6.5144 4.33334 6.19907 4.50888 5.99844 4.73459ZM7.66683 10.3333C7.66683 10.7015 7.36835 11 7.00016 11C6.63197 11 6.3335 10.7015 6.3335 10.3333C6.3335 9.96515 6.63197 9.66668 7.00016 9.66668C7.36835 9.66668 7.66683 9.96515 7.66683 10.3333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},60251:(e,t,n)=>{e.exports={attributes:{width:"10",height:"13",viewBox:"0 0 10 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333984 1.24984C0.333984 0.927673 0.595152 0.666504 0.917318 0.666504C0.917839 0.666504 0.91836 0.666505 0.918881 0.666506L3.25065 0.666504C3.98774 0.666504 4.55348 1.04063 4.9667 1.3139L5.01555 1.34617C5.4755 1.64945 5.7833 1.83317 6.16732 1.83317C6.602 1.83317 7.22352 1.6008 7.80228 1.31142C8.0773 1.17391 8.3191 1.03578 8.4922 0.931926C8.57848 0.880156 8.64703 0.837302 8.69333 0.807833C8.71647 0.793109 8.73401 0.781755 8.74539 0.774335L8.75775 0.766235L8.76054 0.764392C8.93952 0.645138 9.16961 0.634042 9.35924 0.735529C9.54891 0.83704 9.66732 1.03471 9.66732 1.24984V6.49984C9.66732 6.69488 9.56984 6.87701 9.40756 6.9852L9.08399 6.49984C9.40756 6.9852 9.40765 6.98514 9.40756 6.9852L9.4051 6.98683L9.40011 6.99014L9.3827 7.00155C9.36788 7.01122 9.34668 7.02493 9.31969 7.04211C9.26574 7.07644 9.18845 7.12473 9.09244 7.18233C8.90095 7.29723 8.63234 7.45076 8.32403 7.60492C7.73612 7.89887 6.8993 8.24984 6.16732 8.24984C5.4082 8.24984 4.81694 7.87335 4.38107 7.59581L4.34897 7.57538C3.86321 7.2664 3.55209 7.08317 3.18583 7.08317H1.50065V11.7498C1.50065 12.072 1.23948 12.3332 0.917318 12.3332C0.595152 12.3332 0.333984 12.072 0.333984 11.7498V1.24984Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},79058:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6.05558 1.55357C6.36687 0.658012 7.6334 0.658002 7.9447 1.55357L9.04496 4.71887L12.3953 4.78714C13.3433 4.80646 13.7346 6.011 12.9791 6.58381L10.3087 8.60835L11.2791 11.8158C11.5537 12.7233 10.529 13.4678 9.75078 12.9262L7.00014 11.0122L4.24949 12.9262C3.47126 13.4678 2.4466 12.7234 2.72116 11.8158L3.69155 8.60835L1.02117 6.58381C0.265637 6.01101 0.657009 4.80646 1.60494 4.78714L4.95532 4.71887L6.05558 1.55357ZM7.00014 2.89714L6.13858 5.37574C6.00125 5.77081 5.63256 6.03868 5.21439 6.0472L2.59086 6.10066L4.68191 7.68599C5.01521 7.93867 5.15604 8.3721 5.03492 8.77244L4.27506 11.2841L6.42896 9.78526C6.77227 9.54636 7.228 9.54636 7.57132 9.78526L9.72522 11.2841L8.96535 8.77244C8.84424 8.3721 8.98507 7.93867 9.31836 7.68599L11.4094 6.10066L8.78589 6.0472C8.36772 6.03868 7.99903 5.77081 7.8617 5.37574L7.00014 2.89714Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},10812:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 0.666667C0 0.298477 0.298477 0 0.666667 0H11.3333C11.7015 0 12 0.298477 12 0.666667C12 1.03486 11.7015 1.33333 11.3333 1.33333H0.666667C0.298477 1.33333 0 1.03486 0 0.666667ZM0 3.33333C0 2.96514 0.298477 2.66667 0.666667 2.66667H7.33333C7.70152 2.66667 8 2.96514 8 3.33333C8 3.70152 7.70152 4 7.33333 4H0.666667C0.298477 4 0 3.70152 0 3.33333ZM0.666667 5.33333C0.298477 5.33333 0 5.63181 0 6C0 6.36819 0.298477 6.66667 0.666667 6.66667H11.3333C11.7015 6.66667 12 6.36819 12 6C12 5.63181 11.7015 5.33333 11.3333 5.33333H0.666667ZM0 8.66667C0 8.29848 0.298477 8 0.666667 8H7.33333C7.70152 8 8 8.29848 8 8.66667C8 9.03486 7.70152 9.33333 7.33333 9.33333H0.666667C0.298477 9.33333 0 9.03486 0 8.66667ZM0.666667 10.6667C0.298477 10.6667 0 10.9651 0 11.3333C0 11.7015 0.298477 12 0.666667 12H11.3333C11.7015 12 12 11.7015 12 11.3333C12 10.9651 11.7015 10.6667 11.3333 10.6667H0.666667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},67906:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333496 0.99998C0.333496 0.63179 0.631973 0.333313 1.00016 0.333313H13.0002C13.3684 0.333313 13.6668 0.63179 13.6668 0.99998C13.6668 1.36817 13.3684 1.66665 13.0002 1.66665H1.00016C0.631973 1.66665 0.333496 1.36817 0.333496 0.99998ZM0.333496 4.99998C0.333496 4.63179 0.631973 4.33331 1.00016 4.33331H13.0002C13.3684 4.33331 13.6668 4.63179 13.6668 4.99998C13.6668 5.36817 13.3684 5.66665 13.0002 5.66665H1.00016C0.631973 5.66665 0.333496 5.36817 0.333496 4.99998ZM1.00016 8.33331C0.631973 8.33331 0.333496 8.63179 0.333496 8.99998C0.333496 9.36817 0.631973 9.66665 1.00016 9.66665H13.0002C13.3684 9.66665 13.6668 9.36817 13.6668 8.99998C13.6668 8.63179 13.3684 8.33331 13.0002 8.33331H1.00016Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},89959:(e,t,n)=>{e.exports={attributes:{width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M3.66651 0.666687C3.96417 0.666687 4.22576 0.864005 4.30753 1.15021L6.9742 10.4835C7.07535 10.8376 6.87035 11.2066 6.51633 11.3077C6.1623 11.4089 5.79331 11.2039 5.69216 10.8498L5.06744 8.6633C5.04521 8.66554 5.02266 8.66669 4.99985 8.66669H2.33318C2.31036 8.66669 2.28781 8.66554 2.26559 8.6633L1.64086 10.8498C1.53971 11.2039 1.17072 11.4089 0.816699 11.3077C0.462675 11.2066 0.257681 10.8376 0.35883 10.4835L3.0255 1.15021C3.10727 0.864005 3.36886 0.666687 3.66651 0.666687ZM2.64557 7.33335H4.68745L3.66651 3.76006L2.64557 7.33335ZM8.33318 1.33335C8.33318 0.965164 8.63166 0.666687 8.99985 0.666687H12.9998C13.2239 0.666687 13.433 0.779276 13.5564 0.96636C13.6798 1.15344 13.7009 1.38999 13.6126 1.59597L10.0109 10H12.9998C13.368 10 13.6665 10.2985 13.6665 10.6667C13.6665 11.0349 13.368 11.3334 12.9998 11.3334H8.99985C8.77575 11.3334 8.56665 11.2208 8.44329 11.0337C8.31992 10.8466 8.29881 10.61 8.38708 10.4041L11.9888 2.00002H8.99985C8.63166 2.00002 8.33318 1.70154 8.33318 1.33335ZM6.99985 6.00002C6.99985 5.63183 7.29832 5.33335 7.66651 5.33335H8.33318C8.70137 5.33335 8.99985 5.63183 8.99985 6.00002C8.99985 6.36821 8.70137 6.66669 8.33318 6.66669H7.66651C7.29832 6.66669 6.99985 6.36821 6.99985 6.00002Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},65216:(e,t,n)=>{e.exports={attributes:{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.195287 0.195262C0.455636 -0.0650874 0.877746 -0.0650874 1.1381 0.195262L2.46574 1.52291C2.51433 1.57023 2.55433 1.62356 2.58549 1.68078C2.6819 1.85741 2.69246 2.06845 2.61717 2.25261C2.59251 2.31292 2.55865 2.37035 2.51558 2.42275L1.18727 4.08313C0.957264 4.37064 0.537736 4.41725 0.250228 4.18725C-0.0372801 3.95724 -0.0838944 3.53771 0.146112 3.2502L1.10669 2.04948L0.195287 1.13807C-0.0650629 0.877722 -0.0650629 0.455612 0.195287 0.195262ZM4.00002 2C4.00002 1.63181 4.2985 1.33333 4.66669 1.33333H11.3334C11.7015 1.33333 12 1.63181 12 2C12 2.36819 11.7015 2.66667 11.3334 2.66667H4.66669C4.2985 2.66667 4.00002 2.36819 4.00002 2ZM4.00002 6C4.00002 5.63181 4.2985 5.33333 4.66669 5.33333H11.3334C11.7015 5.33333 12 5.63181 12 6C12 6.36819 11.7015 6.66667 11.3334 6.66667H4.66669C4.2985 6.66667 4.00002 6.36819 4.00002 6ZM4.66669 9.33333C4.2985 9.33333 4.00002 9.63181 4.00002 10C4.00002 10.3682 4.2985 10.6667 4.66669 10.6667H11.3334C11.7015 10.6667 12 10.3682 12 10C12 9.63181 11.7015 9.33333 11.3334 9.33333H4.66669Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},88098:(e,t,n)=>{e.exports={attributes:{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.49633 0.250001C5.29741 0.250001 5.09758 0.286163 4.90966 0.358065L0.815374 1.91133C0.584833 1.99879 0.590791 2.29313 0.820874 2.38059L4.93762 3.87667C5.29828 4.0108 5.70171 4.0108 6.06237 3.87667L10.1791 2.38059C10.4097 2.29818 10.4097 1.99879 10.1846 1.91133L6.07933 0.358065C5.89487 0.28651 5.6966 0.249758 5.49633 0.250001ZM10.725 2.81074C10.6901 2.81095 10.6555 2.81738 10.6232 2.82967L6.03441 4.45988C5.98307 4.47917 5.93912 4.51201 5.90812 4.55422C5.87712 4.59643 5.86046 4.64613 5.86025 4.69703V8.43765C5.86068 8.4786 5.87197 8.51884 5.89315 8.55489C5.91432 8.59095 5.94475 8.62173 5.98179 8.64458C6.01884 8.66743 6.06139 8.68166 6.10577 8.68605C6.15016 8.69043 6.19504 8.68484 6.23654 8.66976L10.8258 7.03408C10.8773 7.01655 10.9216 6.9849 10.9528 6.94345C10.9839 6.902 11.0004 6.85275 11 6.80239V3.06177C10.9995 2.99515 10.9703 2.93141 10.9188 2.88446C10.8673 2.83751 10.7976 2.81116 10.725 2.81116V2.81074ZM0.309833 2.82714C0.269139 2.82582 0.228587 2.83223 0.190726 2.84598C0.152864 2.85973 0.118514 2.88052 0.0898333 2.90703C0.0394166 2.95371 0 3.01005 0 3.07733V6.59047C0 6.77632 0.236042 6.90036 0.416166 6.81753L3.28991 5.55356L3.43062 5.49175L4.79141 4.88793C5.005 4.79543 4.9885 4.50613 4.76345 4.42876L0.404708 2.84522C0.374619 2.83368 0.34244 2.8274 0.309833 2.82672V2.82714Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},32577:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill="#F24242" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM7 10h2v2H7v-2zm0-6h2v5H7V4z"/>         <path d="M0 0h16v16H0z" opacity=".486"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},87163:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm3 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1zm-2 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm2 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1zm-2 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},36842:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm-1 5a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},35596:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm-1 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},4802:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm6 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm-5 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm5 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm-5 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},19379:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M4 7h8l-4 4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61177:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#AEB7B8" d="M10 4v8L6 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61093:(e,t,n)=>{e.exports={attributes:{width:"5",height:"6",viewBox:"0 0 5 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M0 4.82578V1.17422C0 0.319867 1.00212 -0.141041 1.65079 0.414964L3.78087 2.24074C4.24648 2.63984 4.24648 3.36016 3.78087 3.75926L1.65079 5.58504C1.00212 6.14104 0 5.68013 0 4.82578Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},83675:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#AEB7B8" d="M6 4v8l4-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},4817:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M18.662 2.059l-4.611 1.536A3 3 0 0 0 12 6.442v8.35c-.849-.507-1.894-.792-3-.792-1.3 0-2.515.394-3.428 1.079C4.658 15.764 4 16.786 4 18c0 1.214.658 2.236 1.572 2.921C6.485 21.606 7.7 22 9 22c1.3 0 2.515-.394 3.428-1.079C13.342 20.236 14 19.214 14 18v-7.279l3.949-1.316A3 3 0 0 0 20 6.559V3.023a.979.979 0 0 0-.126-.509.992.992 0 0 0-1.212-.455zM14 8.613l3.316-1.106A.999.999 0 0 0 18 6.559V4.387l-3.316 1.106a1 1 0 0 0-.684.949v2.171zm-2.772 8.066c.535.401.772.878.772 1.321 0 .443-.237.921-.772 1.321C10.694 19.722 9.909 20 9 20c-.909 0-1.694-.278-2.228-.679C6.237 18.921 6 18.443 6 18c0-.443.237-.92.772-1.321C7.306 16.278 8.091 16 9 16c.909 0 1.694.278 2.228.679z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},69710:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" d="M8.0002 2.66665C7.26382 2.66665 6.66687 3.2636 6.66687 3.99998V6.66665C6.66687 7.40303 7.26382 7.99998 8.0002 7.99998C8.73658 7.99998 9.33354 7.40303 9.33354 6.66665V3.99998C9.33354 3.2636 8.73658 2.66665 8.0002 2.66665ZM5.33354 3.99998C5.33354 2.52722 6.52744 1.33331 8.0002 1.33331C9.47296 1.33331 10.6669 2.52722 10.6669 3.99998V6.66665C10.6669 8.13941 9.47296 9.33331 8.0002 9.33331C6.52744 9.33331 5.33354 8.13941 5.33354 6.66665V3.99998ZM4.0002 5.99998C4.0002 5.63179 3.70173 5.33331 3.33354 5.33331C2.96535 5.33331 2.66687 5.63179 2.66687 5.99998V6.66665C2.66687 9.38682 4.70331 11.6314 7.33479 11.9589C7.33396 11.9725 7.33354 11.9862 7.33354 12V13.3333H6.66687C6.29868 13.3333 6.0002 13.6318 6.0002 14C6.0002 14.3682 6.29868 14.6666 6.66687 14.6666H9.33354C9.70173 14.6666 10.0002 14.3682 10.0002 14C10.0002 13.6318 9.70173 13.3333 9.33354 13.3333H8.66687V12C8.66687 11.9862 8.66645 11.9725 8.66562 11.9589C11.2971 11.6314 13.3335 9.38682 13.3335 6.66665V5.99998C13.3335 5.63179 13.0351 5.33331 12.6669 5.33331C12.2987 5.33331 12.0002 5.63179 12.0002 5.99998V6.66665C12.0002 8.87579 10.2093 10.6666 8.0002 10.6666C5.79106 10.6666 4.0002 8.87579 4.0002 6.66665V5.99998Z" fill="#5C6061" />     </g>'};var r=n(5813);e.exports=r(e.exports)},86306:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.193851 6.46999C0.19432 6.47046 0.194791 6.47093 0.195262 6.4714C0.195376 6.47152 0.19549 6.47163 0.195605 6.47175L5.5286 11.8047C5.78895 12.0651 6.21106 12.0651 6.4714 11.8047C6.73175 11.5444 6.73175 11.1223 6.4714 10.8619L2.27614 6.66667H11.3333C11.7015 6.66667 12 6.36819 12 6C12 5.63181 11.7015 5.33333 11.3333 5.33333H2.27614L6.4714 1.13807C6.73175 0.877722 6.73175 0.455612 6.4714 0.195262C6.21106 -0.0650875 5.78895 -0.0650875 5.5286 0.195262L0.195262 5.5286L0.193851 5.53001C0.0740375 5.65054 0 5.81662 0 6C0 6.09039 0.0179904 6.17659 0.0505859 6.25519C0.052061 6.25875 0.0535685 6.26231 0.0551082 6.26585C0.0872743 6.3399 0.133522 6.4093 0.193851 6.46999Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},11803:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path fill="currentColor" fill-rule="evenodd" d="M7.333 3.333a.667.667 0 1 1 1.334 0c0 .167.061.32.163.437l.009.01.035.042.132.16c.113.136.268.329.438.551.348.454.735.998.964 1.44.253.488.488 1.186.665 1.792a21.283 21.283 0 0 1 .273 1.03l.002.01a.663.663 0 0 0 .18.333l1 1 .53.529H2.942l.528-.529 1-1a.663.663 0 0 0 .181-.332l.002-.01a9.955 9.955 0 0 1 .069-.28c.048-.19.117-.455.204-.751.177-.606.412-1.304.665-1.791.23-.443.616-.987.964-1.441a21.281 21.281 0 0 1 .57-.71l.035-.042.009-.01V3.77a.664.664 0 0 0 .163-.437zm5.272 4.996l.866.866.529.529c.84.84.245 2.276-.943 2.276h-2.39a2.667 2.667 0 0 1-5.334 0h-2.39C1.755 12 1.16 10.564 2 9.724l.529-.529.866-.866.035-.14c.05-.202.125-.482.217-.798.181-.62.446-1.422.761-2.031.286-.552.733-1.174 1.09-1.639.181-.236.346-.44.466-.586l.053-.065a2 2 0 0 1 3.966 0l.053.065c.12.145.285.35.466.586.357.465.804 1.087 1.09 1.639.315.609.58 1.41.761 2.031a22.717 22.717 0 0 1 .252.938zM8 13.333A1.333 1.333 0 0 1 6.667 12h2.666c0 .736-.597 1.333-1.333 1.333z"/>'};var r=n(5813);e.exports=r(e.exports)},38096:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M7.33337 2.66663C6.59699 2.66663 6.00004 3.26358 6.00004 3.99996V12C6.00004 12.7363 6.59699 13.3333 7.33337 13.3333H8.66671C9.40309 13.3333 10 12.7363 10 12V3.99996C10 3.26358 9.40309 2.66663 8.66671 2.66663H7.33337ZM7.33337 3.99996L8.66671 3.99996V12H7.33337V3.99996Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.33337 4.66663C1.33337 3.93025 1.93033 3.33329 2.66671 3.33329H4.00004C4.73642 3.33329 5.33337 3.93025 5.33337 4.66663V11.3333C5.33337 12.0697 4.73642 12.6666 4.00004 12.6666H2.66671C1.93033 12.6666 1.33337 12.0697 1.33337 11.3333V4.66663ZM4.00004 4.66663L2.66671 4.66663V11.3333H4.00004V4.66663Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M10.6667 4.66663C10.6667 3.93025 11.2637 3.33329 12 3.33329H13.3334C14.0698 3.33329 14.6667 3.93025 14.6667 4.66663V11.3333C14.6667 12.0697 14.0698 12.6666 13.3334 12.6666H12C11.2637 12.6666 10.6667 12.0697 10.6667 11.3333V4.66663ZM13.3334 4.66663L12 4.66663V11.3333H13.3334V4.66663Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},69425:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 2.5H4.5v19H14a5.5 5.5 0 0 0 2.532-10.384A5.5 5.5 0 0 0 12 2.5H6zm6 8a2.5 2.5 0 1 0 0-5H7.5v5H12zm-4.5 3v5H14a2.5 2.5 0 1 0 0-5H7.5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},22793:(e,t,n)=>{e.exports={attributes:{width:"22",height:"28",viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.33337 0.666504C2.12404 0.666504 0.333374 2.45717 0.333374 4.6665V25.9998C0.333374 26.3345 0.457374 26.6412 0.661374 26.8758C0.714707 26.9372 0.774707 26.9945 0.840041 27.0465C1.05071 27.2118 1.31071 27.3158 1.59604 27.3318C1.63204 27.3332 1.66937 27.3332 1.70537 27.3332C2.02404 27.3238 2.31471 27.2025 2.54004 27.0078L11 19.7558L19.46 27.0078C19.6854 27.2025 19.976 27.3238 20.2947 27.3332C20.3307 27.3332 20.368 27.3332 20.404 27.3318C20.6894 27.3158 20.9494 27.2118 21.16 27.0465C21.468 26.8025 21.6667 26.4238 21.6667 25.9998V4.6665C21.6667 2.45717 19.876 0.666504 17.6667 0.666504H4.33337ZM3.00004 4.6665C3.00004 3.9305 3.59737 3.33317 4.33337 3.33317H17.6667C18.4027 3.33317 19 3.9305 19 4.6665V23.1012L11.8734 16.9918C11.64 16.7892 11.3347 16.6665 11 16.6665C10.6654 16.6665 10.36 16.7892 10.1267 16.9918L3.00004 23.1012V4.6665Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},60681:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333344 3.66665C0.333344 1.8257 1.82573 0.333313 3.66668 0.333313H10.3333C12.1743 0.333313 13.6667 1.8257 13.6667 3.66665V6.33335C13.6667 8.1743 12.1743 9.66668 10.3333 9.66668H3.66668C1.82573 9.66668 0.333344 8.1743 0.333344 6.33335V3.66665ZM1.71514 4.10621C1.72692 4.15875 1.74077 4.2105 1.75659 4.26139C2.00982 5.07552 2.76921 5.66665 3.66668 5.66665H10.3333C11.2871 5.66665 12.085 4.99897 12.285 4.10551C12.3167 3.96428 12.3333 3.81741 12.3333 3.66665C12.3333 2.56208 11.4379 1.66665 10.3333 1.66665H3.66668C2.56211 1.66665 1.66668 2.56208 1.66668 3.66665C1.66668 3.81766 1.68341 3.96477 1.71514 4.10621Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},74985:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="currentColor" d="M5.333 2c.368 0 .667.298.667.667v.666h4v-.666a.667.667 0 0 1 1.333 0v.666H12a2 2 0 0 1 2 2V12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5.333a2 2 0 0 1 2-2h.667v-.666c0-.369.298-.667.666-.667zM10 4.667v.666a.667.667 0 0 0 1.333 0v-.666H12c.368 0 .667.298.667.666v1.334H3.333V5.333c0-.368.299-.666.667-.666h.667v.666a.667.667 0 0 0 1.333 0v-.666h4zM3.333 8v4c0 .368.299.667.667.667h8a.667.667 0 0 0 .667-.667V8H3.333z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},31887:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#00A1B7"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 23C32.5 27.9706 28.4706 32 23.5 32C18.5294 32 14.5 27.9706 14.5 23C14.5 18.0294 18.5294 14 23.5 14C28.4706 14 32.5 18.0294 32.5 23ZM25.8625 20.6375C25.8625 21.9423 24.8048 23 23.5 23C22.1952 23 21.1375 21.9423 21.1375 20.6375C21.1375 19.3327 22.1952 18.275 23.5 18.275C24.8048 18.275 25.8625 19.3327 25.8625 20.6375ZM26.8718 27.0538C27.3662 26.8479 27.5539 26.2508 27.224 25.829C26.3592 24.7233 25.0126 24.0125 23.5 24.0125C21.9874 24.0125 20.6408 24.7233 19.776 25.829C19.4461 26.2508 19.6338 26.8479 20.1281 27.0538C21.1662 27.4862 22.3052 27.725 23.5 27.725C24.6947 27.725 25.8337 27.4862 26.8718 27.0538Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},21088:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#A5B3BD"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 23C32.5 27.9706 28.4706 32 23.5 32C18.5294 32 14.5 27.9706 14.5 23C14.5 18.0294 18.5294 14 23.5 14C28.4706 14 32.5 18.0294 32.5 23ZM25.8625 20.6375C25.8625 21.9423 24.8048 23 23.5 23C22.1952 23 21.1375 21.9423 21.1375 20.6375C21.1375 19.3327 22.1952 18.275 23.5 18.275C24.8048 18.275 25.8625 19.3327 25.8625 20.6375ZM26.8718 27.0538C27.3662 26.8479 27.5539 26.2508 27.224 25.829C26.3592 24.7233 25.0126 24.0125 23.5 24.0125C21.9874 24.0125 20.6408 24.7233 19.776 25.829C19.4461 26.2508 19.6338 26.8479 20.1281 27.0538C21.1662 27.4862 22.3052 27.725 23.5 27.725C24.6947 27.725 25.8337 27.4862 26.8718 27.0538Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},21855:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.2304 0.914805C13.4908 1.17515 13.4908 1.59726 13.2304 1.85761L5.68792 9.4001C5.42758 9.66045 5.00547 9.66045 4.74512 9.4001L0.528599 5.1836C0.268249 4.92325 0.268248 4.50114 0.528597 4.24079C0.788946 3.98044 1.21106 3.98044 1.47141 4.24079L5.21652 7.98589L12.2876 0.914806C12.5479 0.654456 12.9701 0.654456 13.2304 0.914805Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},41614:(e,t,n)=>{e.exports={attributes:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:"color: #00a1b7;"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 0C0.895431 0 0 0.89543 0 2V16C0 17.1046 0.89543 18 2 18H16C17.1046 18 18 17.1046 18 16V2C18 0.895431 17.1046 0 16 0H2ZM14.2682 6.64018C14.6218 6.21591 14.5645 5.58534 14.1402 5.23178C13.7159 4.87821 13.0853 4.93554 12.7318 5.35982L8.32597 10.6468L5.58124 8.68627C5.13182 8.36526 4.50727 8.46935 4.18627 8.91877C3.86526 9.36818 3.96935 9.99273 4.41876 10.3137L7.91876 12.8137L8.67403 13.3532L9.26822 12.6402L14.2682 6.64018Z" fill="currentColor"/>'};var r=n(5813);e.exports=r(e.exports)},98892:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6zM5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6zm12.268 3.64a1 1 0 1 0-1.536-1.28l-4.406 5.287-2.745-1.96a1 1 0 1 0-1.162 1.627l3.5 2.5.755.54.594-.714 5-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},36598:(e,t,n)=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.70711 3.70711C10.0976 3.31658 10.0976 2.68342 9.70711 2.29289C9.31658 1.90237 8.68342 1.90237 8.29289 2.29289L5 5.58579L3.70711 4.29289C3.31658 3.90237 2.68342 3.90237 2.29289 4.29289C1.90237 4.68342 1.90237 5.31658 2.29289 5.70711L4.29289 7.70711C4.68342 8.09763 5.31658 8.09763 5.70711 7.70711L9.70711 3.70711Z" fill="black"/>   <path class="graphic" d="M12 5C11.4477 5 11 5.44772 11 6C11 6.55228 11.4477 7 12 7H21C21.5523 7 22 6.55228 22 6C22 5.44772 21.5523 5 21 5H12Z" fill="black"/>   <path class="graphic" d="M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H21C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11H3Z" fill="black"/>   <path class="graphic" d="M3 19C2.44772 19 2 18.5523 2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},47904:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M6 9.414l5 5L12.414 13l-5-5 5-5L11 1.586 4.586 8 6 9.414z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},16186:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M11 9.414l-5 5L4.586 13l5-5-5-5L6 1.586 12.414 8 11 9.414z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},57872:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 3a1 1 0 0 1 1-1h14a1 1 0 0 1 0 2h-6v6.877l-2-1.913V4H5a1 1 0 0 1-1-1zm.265 3.322a1 1 0 0 1 1.413-.057l13 12a1 1 0 0 1-1.356 1.47L13 15.745V21a1 1 0 0 1-2 0v-7.101L4.322 7.735a1 1 0 0 1-.057-1.413z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71185:(e,t,n)=>{e.exports={attributes:{width:"30",height:"24",viewBox:"0 0 30 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.25 24C8.50282 24 8.75298 23.9886 9 23.9664V24H22.5V23.9588C22.7463 23.986 22.9965 24 23.25 24C26.9779 24 30 20.9779 30 17.25C30 13.7314 27.3077 10.8416 23.8708 10.5282C23.9557 10.0315 24 9.52091 24 9C24 4.02944 19.9706 0 15 0C10.4404 0 6.67276 3.39066 6.08089 7.78812C2.57683 8.7405 0 11.9443 0 15.75C0 20.3063 3.69365 24 8.25 24ZM9.43934 7.93934C10.0251 7.35355 10.9749 7.35355 11.5607 7.93934L15 11.3787L18.4393 7.93934C19.0251 7.35355 19.9749 7.35355 20.5607 7.93934C21.1464 8.52513 21.1464 9.47487 20.5607 10.0607L17.1213 13.5L20.5607 16.9393C21.1464 17.5251 21.1464 18.4749 20.5607 19.0607C19.9749 19.6464 19.0251 19.6464 18.4393 19.0607L15 15.6213L11.5607 19.0607C10.9749 19.6464 10.0251 19.6464 9.43934 19.0607C8.85355 18.4749 8.85355 17.5251 9.43934 16.9393L12.8787 13.5L9.43934 10.0607C8.85355 9.47487 8.85355 8.52513 9.43934 7.93934Z" fill="#C8C8C8"/>'};var r=n(5813);e.exports=r(e.exports)},47778:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M14.961 5.275a1 1 0 0 0-1.922-.55l-4 14a1.001 1.001 0 0 0 1.922.55l4-14zm-7.336.944a1 1 0 0 1 .156 1.406L4.28 12l3.5 4.375a1 1 0 0 1-1.562 1.25L2.232 12.64A.986.986 0 0 1 2 12a1 1 0 0 1 .232-.64l3.987-4.985a1 1 0 0 1 1.406-.156zm8.75 0a1 1 0 0 1 1.406.156l3.987 4.985a1.003 1.003 0 0 1 0 1.28l-3.987 4.985a1 1 0 0 1-1.562-1.25L19.72 12l-3.5-4.375a1 1 0 0 1 .156-1.406z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},97368:(e,t,n)=>{e.exports={attributes:{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M0.666667 0.333374C0.298477 0.333374 0 0.631851 0 1.00004C0 1.36823 0.298477 1.66671 0.666667 1.66671H4.66667C5.03486 1.66671 5.33333 1.36823 5.33333 1.00004C5.33333 0.631851 5.03486 0.333374 4.66667 0.333374H0.666667Z" fill="black"/>   <path class="graphic" d="M0.666667 3.00004C0.298477 3.00004 0 3.29852 0 3.66671C0 4.0349 0.298477 4.33337 0.666667 4.33337H4.66667C5.03486 4.33337 5.33333 4.0349 5.33333 3.66671C5.33333 3.29852 5.03486 3.00004 4.66667 3.00004H0.666667Z" fill="black"/>   <path class="graphic" d="M0 6.33337C0 5.96518 0.298477 5.66671 0.666667 5.66671H4.66667C5.03486 5.66671 5.33333 5.96518 5.33333 6.33337C5.33333 6.70156 5.03486 7.00004 4.66667 7.00004H0.666667C0.298477 7.00004 0 6.70156 0 6.33337Z" fill="black"/>   <path class="graphic" d="M0.666667 8.33337C0.298477 8.33337 0 8.63185 0 9.00004C0 9.36823 0.298477 9.66671 0.666667 9.66671H4.66667C5.03486 9.66671 5.33333 9.36823 5.33333 9.00004C5.33333 8.63185 5.03486 8.33337 4.66667 8.33337H0.666667Z" fill="black"/>   <path class="graphic" d="M6.66667 1.00004C6.66667 0.631851 6.96514 0.333374 7.33333 0.333374H11.3333C11.7015 0.333374 12 0.631851 12 1.00004C12 1.36823 11.7015 1.66671 11.3333 1.66671H7.33333C6.96514 1.66671 6.66667 1.36823 6.66667 1.00004Z" fill="black"/>   <path class="graphic" d="M7.33333 3.00004C6.96514 3.00004 6.66667 3.29852 6.66667 3.66671C6.66667 4.0349 6.96514 4.33337 7.33333 4.33337H11.3333C11.7015 4.33337 12 4.0349 12 3.66671C12 3.29852 11.7015 3.00004 11.3333 3.00004H7.33333Z" fill="black"/>   <path class="graphic" d="M6.66667 6.33337C6.66667 5.96518 6.96514 5.66671 7.33333 5.66671H11.3333C11.7015 5.66671 12 5.96518 12 6.33337C12 6.70156 11.7015 7.00004 11.3333 7.00004H7.33333C6.96514 7.00004 6.66667 6.70156 6.66667 6.33337Z" fill="black"/>   <path class="graphic" d="M7.33333 8.33337C6.96514 8.33337 6.66667 8.63185 6.66667 9.00004C6.66667 9.36823 6.96514 9.66671 7.33333 9.66671H11.3333C11.7015 9.66671 12 9.36823 12 9.00004C12 8.63185 11.7015 8.33337 11.3333 8.33337H7.33333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},58191:(e,t,n)=>{e.exports={attributes:{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M9.3999 1.5C5.25777 1.5 1.8999 4.85786 1.8999 9C1.8999 13.1421 5.25777 16.5 9.3999 16.5C10.5734 16.5 11.6839 16.2305 12.673 15.75H16.1499V12.2731C16.6304 11.284 16.8999 10.1735 16.8999 9C16.8999 4.85786 13.542 1.5 9.3999 1.5Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},7688:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333313 7C0.333313 3.3181 3.31808 0.333336 6.99998 0.333336C10.6819 0.333336 13.6666 3.3181 13.6666 7C13.6666 8.0431 13.4271 9.03024 13 9.90942V13H9.9094C9.03022 13.4271 8.04308 13.6667 6.99998 13.6667C3.31808 13.6667 0.333313 10.6819 0.333313 7Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},3641:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic_stroke" d="M14.3641 18H14.1341L13.9272 18.1005C12.7416 18.6765 11.41 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10C19 11.41 18.6765 12.7416 18.1005 13.9272L18 14.1341V14.3641V18H14.3641Z" stroke-width="2"/>'};var r=n(5813);e.exports=r(e.exports)},67012:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.33317 2C6.2286 2 5.33317 2.89543 5.33317 4V4.66667H4.6665C3.56193 4.66667 2.6665 5.5621 2.6665 6.66667V12C2.6665 13.1046 3.56193 14 4.6665 14H8.6665C9.77107 14 10.6665 13.1046 10.6665 12V11.3333H11.3332C12.4377 11.3333 13.3332 10.4379 13.3332 9.33333V4C13.3332 2.89543 12.4377 2 11.3332 2H7.33317ZM10.6665 10V6.66667C10.6665 5.5621 9.77107 4.66667 8.6665 4.66667H6.6665V4C6.6665 3.63181 6.96498 3.33333 7.33317 3.33333H11.3332C11.7014 3.33333 11.9998 3.63181 11.9998 4V9.33333C11.9998 9.70152 11.7014 10 11.3332 10H10.6665ZM3.99984 6.66667C3.99984 6.29848 4.29831 6 4.6665 6H8.6665C9.03469 6 9.33317 6.29848 9.33317 6.66667V12C9.33317 12.3682 9.03469 12.6667 8.6665 12.6667H4.6665C4.29831 12.6667 3.99984 12.3682 3.99984 12V6.66667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},13532:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 2C0 0.895431 0.895431 0 2 0H4C4.62951 0 5.22229 0.296388 5.6 0.8L7 2.66667H10C11.1046 2.66667 12 3.5621 12 4.66667V6.35176C12.055 6.40102 12.1089 6.45207 12.1618 6.5049C13.7239 8.067 13.7239 10.5997 12.1618 12.1618C10.5997 13.7239 8.067 13.7239 6.50491 12.1618C6.45207 12.1089 6.40103 12.055 6.35177 12H2C0.89543 12 0 11.1046 0 10V2ZM10.6667 5.56111C9.25957 5.06486 7.63034 5.37946 6.50491 6.5049C5.37947 7.63034 5.06487 9.25957 5.56111 10.6667H2C1.63181 10.6667 1.33333 10.3682 1.33333 10V4H10C10.3682 4 10.6667 4.29848 10.6667 4.66667V5.56111ZM4.53333 1.6L5.33333 2.66667H1.33333V2C1.33333 1.63181 1.63181 1.33333 2 1.33333H4C4.20984 1.33333 4.40743 1.43213 4.53333 1.6ZM6.67441 9.33112C6.67441 8.96293 6.97288 8.66445 7.34107 8.66445H8.66897V7.33655C8.66897 6.96836 8.96744 6.66988 9.33563 6.66988C9.70382 6.66988 10.0023 6.96836 10.0023 7.33655V8.66445H11.3302C11.6984 8.66445 11.9969 8.96293 11.9969 9.33112C11.9969 9.69931 11.6984 9.99778 11.3302 9.99778H10.0023V11.3257C10.0023 11.6939 9.70382 11.9923 9.33563 11.9923C8.96744 11.9923 8.66897 11.6939 8.66897 11.3257V9.99778H7.34107C6.97288 9.99778 6.67441 9.69931 6.67441 9.33112Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},44744:(e,t,n)=>{e.exports={attributes:{width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.166672 2.51702C0.166672 1.41245 1.0621 0.517017 2.16667 0.517017H8.83334C9.93791 0.517017 10.8333 1.41245 10.8333 2.51702V8.20221C11.6517 8.93464 12.1667 9.99902 12.1667 11.1837C12.1667 13.3928 10.3758 15.1837 8.16667 15.1837C6.98201 15.1837 5.91762 14.6687 5.1852 13.8504H2.16667C1.0621 13.8504 0.166672 12.9549 0.166672 11.8504V2.51702ZM4.39428 12.517C4.24688 12.1 4.16667 11.6512 4.16667 11.1837C4.16667 8.97455 5.95753 7.18368 8.16667 7.18368C8.63419 7.18368 9.08297 7.26389 9.50001 7.41129V2.51702C9.50001 2.14883 9.20153 1.85035 8.83334 1.85035H2.16667C1.79848 1.85035 1.50001 2.14883 1.50001 2.51702V11.8504C1.50001 12.2185 1.79848 12.517 2.16667 12.517H4.39428ZM2.83334 3.85035C2.83334 3.48216 3.13182 3.18368 3.50001 3.18368H7.50001C7.86819 3.18368 8.16667 3.48216 8.16667 3.85035C8.16667 4.21854 7.86819 4.51702 7.50001 4.51702H3.50001C3.13182 4.51702 2.83334 4.21854 2.83334 3.85035ZM3.50001 5.85035C3.13182 5.85035 2.83334 6.14883 2.83334 6.51702C2.83334 6.88521 3.13182 7.18368 3.50001 7.18368H4.83334C5.20153 7.18368 5.50001 6.88521 5.50001 6.51702C5.50001 6.14883 5.20153 5.85035 4.83334 5.85035H3.50001ZM8.83334 9.18368C8.83334 8.81549 8.53486 8.51702 8.16667 8.51702C7.79848 8.51702 7.50001 8.81549 7.50001 9.18368V10.517H6.16667C5.79848 10.517 5.50001 10.8155 5.50001 11.1837C5.50001 11.5519 5.79848 11.8504 6.16667 11.8504H7.50001V13.1837C7.50001 13.5519 7.79848 13.8504 8.16667 13.8504C8.53486 13.8504 8.83334 13.5519 8.83334 13.1837V11.8504H10.1667C10.5349 11.8504 10.8333 11.5519 10.8333 11.1837C10.8333 10.8155 10.5349 10.517 10.1667 10.517H8.83334V9.18368Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},33597:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h12v12H0z"/>         <path class="graphic" fill="#FFFFFF" d="M6.707 6l2.98 2.98.353.353-.707.707-.353-.353L6 6.707l-2.98 2.98-.353.353-.707-.707.353-.353L5.293 6l-2.98-2.98-.353-.353.707-.707.353.353L6 5.293l2.98-2.98.353-.353.707.707-.353.353L6.707 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89883:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 1.33333C1.63181 1.33333 1.33333 1.63181 1.33333 2V3.33333C1.33333 3.70152 1.03486 4 0.666667 4C0.298477 4 0 3.70152 0 3.33333V2C0 0.895431 0.895431 0 2 0H3.33333C3.70152 0 4 0.298477 4 0.666667C4 1.03486 3.70152 1.33333 3.33333 1.33333H2ZM8 0.666667C8 0.298477 8.29848 0 8.66667 0H10C11.1046 0 12 0.895431 12 2V3.33333C12 3.70152 11.7015 4 11.3333 4C10.9651 4 10.6667 3.70152 10.6667 3.33333V2C10.6667 1.63181 10.3682 1.33333 10 1.33333H8.66667C8.29848 1.33333 8 1.03486 8 0.666667ZM0.666667 8C1.03486 8 1.33333 8.29848 1.33333 8.66667V10C1.33333 10.3682 1.63181 10.6667 2 10.6667H3.33333C3.70152 10.6667 4 10.9651 4 11.3333C4 11.7015 3.70152 12 3.33333 12H2C0.895431 12 0 11.1046 0 10V8.66667C0 8.29848 0.298477 8 0.666667 8ZM11.3333 8C11.7015 8 12 8.29848 12 8.66667V10C12 11.1046 11.1046 12 10 12H8.66667C8.29848 12 8 11.7015 8 11.3333C8 10.9651 8.29848 10.6667 8.66667 10.6667H10C10.3682 10.6667 10.6667 10.3682 10.6667 10V8.66667C10.6667 8.29848 10.9651 8 11.3333 8Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},23996:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M3.33329 11.3334C2.9651 11.3334 2.66663 11.6319 2.66663 12C2.66663 12.3682 2.9651 12.6667 3.33329 12.6667H4.66663C5.03482 12.6667 5.33329 12.3682 5.33329 12C5.33329 11.6319 5.03482 11.3334 4.66663 11.3334H3.33329Z" fill="black"/>   <path class="graphic" d="M2.66663 8.00004C2.66663 7.63185 2.9651 7.33337 3.33329 7.33337H4.66663C5.03482 7.33337 5.33329 7.63185 5.33329 8.00004C5.33329 8.36823 5.03482 8.66671 4.66663 8.66671H3.33329C2.9651 8.66671 2.66663 8.36823 2.66663 8.00004Z" fill="black"/>   <path class="graphic" d="M8.66663 12C8.66663 11.6319 8.9651 11.3334 9.33329 11.3334C9.70148 11.3334 9.99996 11.6319 9.99996 12C9.99996 12.3682 9.70148 12.6667 9.33329 12.6667C8.9651 12.6667 8.66663 12.3682 8.66663 12Z" fill="black"/>   <path class="graphic" d="M11.3333 11.3334C10.9651 11.3334 10.6666 11.6319 10.6666 12C10.6666 12.3682 10.9651 12.6667 11.3333 12.6667H12C12.3681 12.6667 12.6666 12.3682 12.6666 12C12.6666 11.6319 12.3681 11.3334 12 11.3334H11.3333Z" fill="black"/>   <path class="graphic" d="M9.33329 7.33337C8.9651 7.33337 8.66663 7.63185 8.66663 8.00004C8.66663 8.36823 8.9651 8.66671 9.33329 8.66671C9.70148 8.66671 9.99996 8.36823 9.99996 8.00004C9.99996 7.63185 9.70148 7.33337 9.33329 7.33337Z" fill="black"/>   <path class="graphic" d="M10.6666 8.00004C10.6666 7.63185 10.9651 7.33337 11.3333 7.33337H12C12.3681 7.33337 12.6666 7.63185 12.6666 8.00004C12.6666 8.36823 12.3681 8.66671 12 8.66671H11.3333C10.9651 8.66671 10.6666 8.36823 10.6666 8.00004Z" fill="black"/>   <path class="graphic" d="M8.66663 4.00004C8.66663 3.63185 8.9651 3.33337 9.33329 3.33337C9.70148 3.33337 9.99996 3.63185 9.99996 4.00004C9.99996 4.36823 9.70148 4.66671 9.33329 4.66671C8.9651 4.66671 8.66663 4.36823 8.66663 4.00004Z" fill="black"/>   <path class="graphic" d="M11.3333 3.33337C10.9651 3.33337 10.6666 3.63185 10.6666 4.00004C10.6666 4.36823 10.9651 4.66671 11.3333 4.66671H12C12.3681 4.66671 12.6666 4.36823 12.6666 4.00004C12.6666 3.63185 12.3681 3.33337 12 3.33337H11.3333Z" fill="black"/>   <path class="graphic" d="M3.33329 3.33337C2.9651 3.33337 2.66663 3.63185 2.66663 4.00004C2.66663 4.36823 2.9651 4.66671 3.33329 4.66671H4.66663C5.03482 4.66671 5.33329 4.36823 5.33329 4.00004C5.33329 3.63185 5.03482 3.33337 4.66663 3.33337H3.33329Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.666626 3.33337C0.666626 2.2288 1.56206 1.33337 2.66663 1.33337H13.3333C14.4379 1.33337 15.3333 2.2288 15.3333 3.33337V12.6667C15.3333 13.7713 14.4379 14.6667 13.3333 14.6667H2.66663C1.56206 14.6667 0.666626 13.7713 0.666626 12.6667V3.33337ZM1.99996 10.6667V12.6667C1.99996 13.0349 2.29844 13.3334 2.66663 13.3334H5.99996V10.6667H1.99996ZM5.99996 9.33337H1.99996V6.66671H5.99996V9.33337ZM7.33329 13.3334H13.3333C13.7015 13.3334 14 13.0349 14 12.6667V10.6667H7.33329V13.3334ZM14 9.33337H7.33329V6.66671H14V9.33337ZM7.33329 5.33337H14V3.33337C14 2.96518 13.7015 2.66671 13.3333 2.66671L7.33329 2.66671V5.33337ZM1.99996 5.33337H5.99996V2.66671H2.66663C2.29844 2.66671 1.99996 2.96518 1.99996 3.33337V5.33337Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},28824:(e,t,n)=>{e.exports={attributes:{width:"22",height:"23",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect x="0.5" y="1" width="21" height="21" rx="1.5" fill="url(#paint0_linear_7154_6246)"/>   <path d="M11.3164 6.4082L7.49316 17.5H5.18164L9.99805 4.70312H11.4746L11.3164 6.4082ZM14.5156 17.5L10.6836 6.4082L10.5166 4.70312H12.002L16.8359 17.5H14.5156ZM14.3311 12.7539V14.5029H7.37012V12.7539H14.3311Z" fill="url(#paint1_linear_7154_6246)"/>   <rect class="graphic_stroke" x="0.5" y="1" width="21" height="21" rx="1.5" stroke="#505050"/>   <defs>   <linearGradient id="paint0_linear_7154_6246" x1="22" y1="4.77778" x2="4.18548e-07" y2="4.77778" gradientUnits="userSpaceOnUse">   <stop offset="0.411458" stop-color="#505050"/>   <stop offset="0.494792"/>   <stop offset="0.494892" stop-color="white"/>   </linearGradient>   <linearGradient id="paint1_linear_7154_6246" x1="2.38462" y1="9" x2="20" y2="9" gradientUnits="userSpaceOnUse">   <stop offset="0.411458" stop-color="#505050"/>   <stop offset="0.494792"/>   <stop offset="0.494892" stop-color="white"/>   </linearGradient>   </defs>'};var r=n(5813);e.exports=r(e.exports)},41286:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 4H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-9h-5a1 1 0 0 1-1-1V4zm8 5.008V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h5.992L20 9.008zM14 8V5.414L16.586 8H14zm-6 9a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm1-5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},91177:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#00A1B7" d="M7.493 11.87a.997.997 0 0 1-1.105-.079L2.4 8.8a1 1 0 1 1 1.2-1.6l3.306 2.48 6.387-6.387a1 1 0 0 1 1.414 1.414l-6.99 6.99a.993.993 0 0 1-.224.173z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},99635:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M7.493 11.87a.997.997 0 0 1-1.105-.079L2.4 8.8a1 1 0 1 1 1.2-1.6l3.306 2.48 6.387-6.387a1 1 0 0 1 1.414 1.414l-6.99 6.99a.993.993 0 0 1-.224.173z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},27317:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.0002 1.33331C8.36839 1.33331 8.66687 1.63179 8.66687 1.99998L8.66688 9.72383L12.1955 6.19524C12.4558 5.93489 12.8779 5.93489 13.1383 6.19524C13.3986 6.45559 13.3986 6.8777 13.1383 7.13805L8.47386 11.8025C8.46681 11.8096 8.4596 11.8165 8.45223 11.8233C8.39454 11.8766 8.32973 11.9179 8.26102 11.947C8.18149 11.9809 8.09403 11.9997 8.00221 12L8.00021 12L7.99405 12C7.90806 11.9992 7.82595 11.9821 7.75066 11.9517C7.66991 11.9192 7.59424 11.8702 7.5288 11.8047L2.86213 7.13805C2.60178 6.8777 2.60178 6.45559 2.86213 6.19524C3.12248 5.93489 3.54459 5.93489 3.80494 6.19524L7.33355 9.72385L7.33354 1.99998C7.33354 1.63179 7.63201 1.33331 8.0002 1.33331ZM3.33354 13.3333C2.96535 13.3333 2.66687 13.6318 2.66687 14C2.66687 14.3682 2.96535 14.6666 3.33354 14.6666L12.6669 14.6666C13.0351 14.6666 13.3335 14.3682 13.3335 14C13.3335 13.6318 13.0351 13.3333 12.6669 13.3333L3.33354 13.3333Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},97393:(e,t,n)=>{e.exports={attributes:{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<mask id="path-1-outside-1" maskUnits="userSpaceOnUse" x="0.323242" y="0.25" width="14" height="14" fill="black">   <rect fill="white" x="0.323242" y="0.25" width="14" height="14"/>   <path d="M1.32324 10.6322V12.6043C1.32324 12.786 1.46596 12.9287 1.64761 12.9287H3.61974C3.70407 12.9287 3.78841 12.8963 3.8468 12.8314L10.9309 5.75376L8.49818 3.32103L1.42055 10.3987C1.35568 10.4635 1.32324 10.5414 1.32324 10.6322ZM12.8122 3.87245C12.8724 3.81243 12.9201 3.74114 12.9526 3.66266C12.9852 3.58419 13.0019 3.50006 13.0019 3.41509C13.0019 3.33013 12.9852 3.246 12.9526 3.16752C12.9201 3.08905 12.8724 3.01776 12.8122 2.95774L11.2942 1.43972C11.2342 1.37958 11.1629 1.33186 11.0844 1.29931C11.0059 1.26676 10.9218 1.25 10.8368 1.25C10.7519 1.25 10.6677 1.26676 10.5893 1.29931C10.5108 1.33186 10.4395 1.37958 10.3795 1.43972L9.19232 2.62689L11.625 5.05962L12.8122 3.87245Z"/>   </mask>   <path class="graphic" d="M3.8468 12.8314L3.14001 12.124C3.1275 12.1365 3.11533 12.1493 3.1035 12.1624L3.8468 12.8314ZM10.9309 5.75376L11.6377 6.46119C11.8254 6.27368 11.9308 6.01928 11.9309 5.75399C11.931 5.48869 11.8256 5.23425 11.638 5.04665L10.9309 5.75376ZM8.49818 3.32103L9.20528 2.61392C9.01775 2.42639 8.76339 2.32103 8.49818 2.32103C8.23296 2.32103 7.97861 2.42639 7.79107 2.61392L8.49818 3.32103ZM1.42055 10.3987L2.12766 11.1058L1.42055 10.3987ZM12.8122 2.95774L12.1051 3.66485L12.1058 3.66557L12.8122 2.95774ZM11.2942 1.43972L10.5864 2.1461L10.5871 2.14682L11.2942 1.43972ZM10.8368 1.25V0.25V1.25ZM10.3795 1.43972L11.0866 2.14682L11.0873 2.1461L10.3795 1.43972ZM9.19232 2.62689L8.48521 1.91978C8.09469 2.31031 8.09469 2.94347 8.48521 3.334L9.19232 2.62689ZM11.625 5.05962L10.9179 5.76673C11.1055 5.95426 11.3598 6.05962 11.625 6.05962C11.8903 6.05962 12.1446 5.95426 12.3322 5.76673L11.625 5.05962ZM0.323242 10.6322V12.6043H2.32324V10.6322H0.323242ZM0.323242 12.6043C0.323242 13.3383 0.913678 13.9287 1.64761 13.9287V11.9287C2.01825 11.9287 2.32324 12.2337 2.32324 12.6043H0.323242ZM1.64761 13.9287H3.61974V11.9287H1.64761V13.9287ZM3.61974 13.9287C3.95128 13.9287 4.31908 13.8015 4.59009 13.5003L3.1035 12.1624C3.25774 11.991 3.45687 11.9287 3.61974 11.9287V13.9287ZM4.55358 13.5388L11.6377 6.46119L10.2241 5.04633L3.14001 12.124L4.55358 13.5388ZM11.638 5.04665L9.20528 2.61392L7.79107 4.02814L10.2238 6.46087L11.638 5.04665ZM7.79107 2.61392L0.713445 9.69155L2.12766 11.1058L9.20528 4.02814L7.79107 2.61392ZM0.713445 9.69155C0.463178 9.94181 0.323242 10.2731 0.323242 10.6322H2.32324C2.32324 10.7086 2.30901 10.7982 2.27065 10.8903C2.23237 10.9822 2.17941 11.054 2.12766 11.1058L0.713445 9.69155ZM13.5186 4.58028C13.6718 4.42738 13.7934 4.24576 13.8763 4.04582L12.0289 3.27951C12.0468 3.23653 12.0729 3.19749 12.1058 3.16462L13.5186 4.58028ZM13.8763 4.04582C13.9592 3.84588 14.0019 3.63155 14.0019 3.41509H12.0019C12.0019 3.36856 12.0111 3.32249 12.0289 3.27951L13.8763 4.04582ZM14.0019 3.41509C14.0019 3.19864 13.9592 2.9843 13.8763 2.78437L12.0289 3.55068C12.0111 3.5077 12.0019 3.46163 12.0019 3.41509H14.0019ZM13.8763 2.78437C13.7934 2.58443 13.6718 2.40281 13.5186 2.24991L12.1058 3.66557C12.0729 3.6327 12.0468 3.59366 12.0289 3.55068L13.8763 2.78437ZM13.5193 2.25063L12.0013 0.73261L10.5871 2.14682L12.1051 3.66485L13.5193 2.25063ZM12.002 0.733335C11.8491 0.58012 11.6675 0.458565 11.4676 0.375628L10.7013 2.22299C10.6583 2.20517 10.6192 2.17903 10.5864 2.1461L12.002 0.733335ZM11.4676 0.375628C11.2676 0.29269 11.0533 0.25 10.8368 0.25V2.25C10.7903 2.25 10.7442 2.24082 10.7013 2.22299L11.4676 0.375628ZM10.8368 0.25C10.6204 0.25 10.4061 0.29269 10.2061 0.375628L10.9724 2.22299C10.9294 2.24082 10.8834 2.25 10.8368 2.25V0.25ZM10.2061 0.375628C10.0062 0.458565 9.82456 0.58012 9.67166 0.733335L11.0873 2.1461C11.0545 2.17903 11.0154 2.20517 10.9724 2.22299L10.2061 0.375628ZM9.67238 0.73261L8.48521 1.91978L9.89942 3.334L11.0866 2.14682L9.67238 0.73261ZM8.48521 3.334L10.9179 5.76673L12.3322 4.35251L9.89942 1.91978L8.48521 3.334ZM12.3322 5.76673L13.5193 4.57955L12.1051 3.16534L10.9179 4.35251L12.3322 5.76673Z" fill="#161616" mask="url(#path-1-outside-1)"/>'};var r=n(5813);e.exports=r(e.exports)},13783:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M5.544 13.474L2.5 10.451l9.086-8.865a2 2 0 0 1 2.828 2.828l-8.87 9.06zM2 11l3 3H2z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},55782:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 3a1 1 0 0 1 1 1v1h5a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-5v1a1 1 0 0 1-2 0v-1H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h5V4a1 1 0 0 1 1-1zm0 14h6a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47529:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M20 3a1 1 0 0 1 1 1v16a1 1 0 0 1-2 0v-1.171A2.983 2.983 0 0 1 18 19H6c-.351 0-.687-.06-1-.171V20a1 1 0 0 1-2 0V4a1 1 0 0 1 2 0v1.171A2.983 2.983 0 0 1 6 5h12c.351 0 .687.06 1 .171V4a1 1 0 0 1 1-1zM5 8v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},54970:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a1 1 0 0 0-2 0v16a1 1 0 0 0 2 0V4zm5 1a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3h-8zM9 8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1V8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},51093:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M21 4a1 1 0 0 0-2 0v16a1 1 0 0 0 2 0V4zM6 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H6zM5 8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},99474:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic" width="11" height="11" rx="1" fill="#5C6061"/>   <path class="graphic_stroke_bg" d="M4.5 3L2 5.5L4.5 8" stroke="white"/>   <path class="graphic_stroke_bg" d="M6.5 3L9 5.5L6.5 8" stroke="white"/>'};var r=n(5813);e.exports=r(e.exports)},26258:(e,t,n)=>{e.exports={attributes:{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.18725 1.08312C4.41726 0.795615 4.37064 0.376087 4.08313 0.146081C3.79563 -0.0839249 3.3761 -0.0373104 3.14609 0.250198L0.487778 3.57309C0.450835 3.61733 0.420376 3.66551 0.396556 3.71628C0.354065 3.80646 0.333253 3.90345 0.333313 4C0.333253 4.09654 0.354066 4.19353 0.396557 4.28371C0.420375 4.33447 0.450831 4.38266 0.48777 4.42689L3.14609 7.74979C3.3761 8.0373 3.79563 8.08391 4.08313 7.85391C4.37064 7.6239 4.41726 7.20437 4.18725 6.91686L1.85376 4L4.18725 1.08312ZM10.8539 0.250197C10.6239 -0.0373106 10.2044 -0.0839248 9.91687 0.146081C9.62937 0.376088 9.58275 0.795616 9.81276 1.08312L12.1463 3.99999L9.81276 6.91686C9.58275 7.20437 9.62937 7.6239 9.91687 7.85391C10.2044 8.08391 10.6239 8.0373 10.8539 7.74979L13.5123 4.42677C13.5485 4.38342 13.5785 4.33628 13.6021 4.28663C13.6455 4.19563 13.6668 4.09758 13.6667 3.99999C13.6668 3.90241 13.6455 3.80436 13.6021 3.71336C13.5785 3.66371 13.5485 3.61656 13.5123 3.57321L10.8539 0.250197Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},80648:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h36v28H0z"/>         <rect class="graphic" width="32" height="26" x="2" y="1" fill="#9DA5A6" rx="2"/>         <rect class="grachic-background" width="30" height="24" x="3" y="2" fill="#FFF" rx="1"/>         <path class="graphic" fill="#9DA5A6" fill-rule="nonzero" d="M18.75 18.833l-2.395 3.222a1 1 0 1 1-1.605-1.193l.907-1.22a2.006 2.006 0 0 1-.064-.055s-3.02-2.673-3.024-2.668L7.744 22.29a1 1 0 0 1-1.488-1.336l4.826-5.372a2.013 2.013 0 0 1 2.825-.169l2.945 2.618.296-.395.928-1.248a1.01 1.01 0 0 1 .077-.092l3.45-4.6a1.88 1.88 0 0 1 2.812-.25l6.264 5.796a1 1 0 1 1-1.358 1.468l-6.186-5.723-4.385 5.846zM10 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},91027:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47346:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M1.58755 6.14294C1.87625 5.91558 2.29436 5.96478 2.52245 6.25257L2.52342 6.2538C2.52359 6.25401 2.52376 6.25424 2 6.66669L1.47625 7.07915C1.24845 6.78989 1.29828 6.37073 1.58755 6.14294Z" fill="currentColor"></path> \t<path d="M9.47877 9.87784C9.01604 9.95562 8.52288 10 8 10C7.47713 10 6.98397 9.95562 6.52124 9.87784L5.96579 11.5442C5.84936 11.8935 5.47181 12.0822 5.12252 11.9658C4.77322 11.8494 4.58445 11.4718 4.70088 11.1225L5.22344 9.55486C4.60376 9.34849 4.05847 9.08881 3.59023 8.81654L2.5547 10.3698C2.35047 10.6762 1.93656 10.759 1.6302 10.5547C1.32385 10.3505 1.24107 9.93658 1.4453 9.63023L2.49117 8.06143C2.26463 7.87906 2.0757 7.70812 1.92497 7.56196C1.78355 7.42483 1.67517 7.30893 1.60034 7.22504C1.56291 7.18308 1.53382 7.14905 1.51313 7.12431C1.50278 7.11194 1.49453 7.10188 1.48838 7.0943L1.48074 7.08481L1.4781 7.08149L1.47707 7.0802L1.47625 7.07915C1.47605 7.0789 1.47625 7.07915 2 6.66669L2.52342 6.2538L2.52391 6.25439L2.53595 6.26897C2.54793 6.28329 2.56776 6.30656 2.59537 6.33751C2.65062 6.39946 2.73677 6.49189 2.85316 6.60476C3.08633 6.83086 3.43844 7.13659 3.90413 7.44322C4.83433 8.0557 6.20884 8.66669 8 8.66669C9.79117 8.66669 11.1657 8.0557 12.0959 7.44322C12.5616 7.13659 12.9137 6.83086 13.1468 6.60476C13.2632 6.49189 13.3494 6.39946 13.4046 6.33751C13.4322 6.30656 13.4521 6.28329 13.4641 6.26897L13.4761 6.25439L13.4766 6.2538L13.4775 6.25261C13.7056 5.96479 14.1237 5.91557 14.4125 6.14294C14.7017 6.37073 14.7516 6.78989 14.5238 7.07915L14.031 6.69109C14.5238 7.07916 14.524 7.07891 14.5238 7.07915L14.5229 7.0802L14.5219 7.08149L14.5193 7.08481L14.5116 7.0943C14.5055 7.10188 14.4972 7.11194 14.4869 7.12431C14.4662 7.14905 14.4371 7.18308 14.3997 7.22504C14.3248 7.30893 14.2165 7.42483 14.075 7.56196C13.9243 7.70812 13.7354 7.87906 13.5088 8.06143L14.5547 9.63023C14.7589 9.93658 14.6762 10.3505 14.3698 10.5547C14.0635 10.759 13.6495 10.6762 13.4453 10.3698L12.4098 8.81654C11.9415 9.08881 11.3963 9.34849 10.7766 9.55486L11.2991 11.1225C11.4156 11.4718 11.2268 11.8494 10.8775 11.9658C10.5282 12.0822 10.1506 11.8935 10.0342 11.5442L9.47877 9.87784Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},75259:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M8.50004 5.3335C7.02728 5.3335 5.83338 6.5274 5.83338 8.00016C5.83338 9.47292 7.02728 10.6668 8.50004 10.6668C9.9728 10.6668 11.1667 9.47292 11.1667 8.00016C11.1667 6.5274 9.9728 5.3335 8.50004 5.3335ZM7.16671 8.00016C7.16671 7.26378 7.76366 6.66683 8.50004 6.66683C9.23642 6.66683 9.83338 7.26378 9.83338 8.00016C9.83338 8.73654 9.23642 9.3335 8.50004 9.3335C7.76366 9.3335 7.16671 8.73654 7.16671 8.00016Z" fill="currentColor"></path> \t<path fill-rule="evenodd" clip-rule="evenodd" d="M15.0545 7.63C15.0546 7.63019 15.0547 7.63036 14.5 8.00016C15.0547 8.36996 15.0546 8.37013 15.0545 8.37032L15.0534 8.37195L15.0511 8.37539L15.0435 8.38655C15.0372 8.39586 15.0283 8.40888 15.0169 8.42535C14.994 8.45829 14.961 8.50509 14.9184 8.56377C14.8332 8.68107 14.7093 8.84625 14.5505 9.04338C14.2337 9.43662 13.7739 9.96229 13.2022 10.49C12.082 11.5241 10.4231 12.6668 8.50004 12.6668C6.57701 12.6668 4.91814 11.5241 3.79786 10.49C3.22614 9.96229 2.7664 9.43662 2.44962 9.04338C2.29082 8.84625 2.16688 8.68107 2.0817 8.56377C2.03909 8.50509 2.0061 8.45829 1.98322 8.42535C1.97179 8.40888 1.96287 8.39586 1.95654 8.38655L1.94898 8.37539L1.94667 8.37195L1.94588 8.37077C1.94576 8.37059 1.94534 8.36996 2.50004 8.00016C1.94534 7.63036 1.94546 7.63019 1.94558 7.63L1.94667 7.62838L1.94898 7.62494L1.95654 7.61377C1.96287 7.60446 1.97179 7.59145 1.98322 7.57498C2.0061 7.54204 2.03909 7.49524 2.0817 7.43656C2.16688 7.31926 2.29082 7.15408 2.44962 6.95694C2.7664 6.5637 3.22614 6.03803 3.79786 5.51029C4.91814 4.47619 6.57701 3.3335 8.50004 3.3335C10.4231 3.3335 12.082 4.47619 13.2022 5.51029C13.7739 6.03803 14.2337 6.5637 14.5505 6.95694C14.7093 7.15408 14.8332 7.31926 14.9184 7.43656C14.961 7.49524 14.994 7.54204 15.0169 7.57498C15.0283 7.59145 15.0372 7.60446 15.0435 7.61377L15.0511 7.62494L15.0534 7.62838L15.0545 7.63ZM3.48796 8.20694C3.42779 8.13225 3.37342 8.06295 3.32512 8.00016C3.37342 7.93738 3.42779 7.86807 3.48796 7.79338C3.77535 7.43662 4.19061 6.96229 4.70223 6.49003C5.74862 5.52414 7.08975 4.66683 8.50004 4.66683C9.91034 4.66683 11.2515 5.52414 12.2979 6.49003C12.8095 6.96229 13.2247 7.43662 13.5121 7.79338C13.5723 7.86807 13.6267 7.93738 13.675 8.00016C13.6267 8.06295 13.5723 8.13225 13.5121 8.20694C13.2247 8.5637 12.8095 9.03803 12.2979 9.51029C11.2515 10.4762 9.91034 11.3335 8.50004 11.3335C7.08975 11.3335 5.74862 10.4762 4.70223 9.51029C4.19061 9.03803 3.77535 8.5637 3.48796 8.20694Z" fill="currentColor"></path> \t<path d="M14.5 8.00016L15.0545 7.63C15.2038 7.85394 15.2038 8.14639 15.0545 8.37032L14.5 8.00016Z" fill="currentColor" fill-opacity="0.54"></path><path d="M1.94558 7.63L2.50004 8.00016L1.94534 8.36996C1.79605 8.14603 1.79629 7.85394 1.94558 7.63Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},84581:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M5 2.667c-1.971 0-3.667 1.648-3.667 3.791 0 1.909.526 3.003 1.986 4.524.166.173.36.35.578.533.384.32.844.651 1.364.991a28.457 28.457 0 0 0 2.435 1.42c.19.098.417.098.608 0l.213-.111a30.197 30.197 0 0 0 2.222-1.308c.52-.34.98-.673 1.364-.992.219-.182.412-.36.578-.533 1.46-1.52 1.986-2.615 1.986-4.524 0-2.143-1.696-3.791-3.667-3.791-1.035 0-2.156.456-3 1.12-.844-.664-1.965-1.12-3-1.12zm3.49 2.466C9.116 4.493 10.146 4 11 4c1.243 0 2.333 1.06 2.333 2.458 0 1.53-.374 2.31-1.614 3.601a5.78 5.78 0 0 1-.47.431c-.34.283-.76.586-1.24.9A27.154 27.154 0 0 1 8 12.58a29.668 29.668 0 0 1-2.01-1.19c-.48-.314-.9-.617-1.24-.9a5.78 5.78 0 0 1-.47-.43C3.042 8.767 2.668 7.986 2.668 6.457 2.667 5.06 3.757 4 5 4c.854 0 1.884.494 2.51 1.133a.665.665 0 0 0 .49.2.665.665 0 0 0 .49-.2z"/>'};var r=n(5813);e.exports=r(e.exports)},23953:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M14 4C14 2.89543 13.1046 2 12 2H4C2.89543 2 2 2.89543 2 4V9.33333C2 10.4379 2.89543 11.3333 4 11.3333V13.3333C4 13.5896 4.1469 13.8232 4.37787 13.9342C4.60885 14.0452 4.88302 14.014 5.08313 13.8539L8.05124 11.4794C8.16945 11.3849 8.31633 11.3333 8.46771 11.3333H12C13.1046 11.3333 14 10.4379 14 9.33333V4ZM12 3.33333C12.3682 3.33333 12.6667 3.63181 12.6667 4V9.33333C12.6667 9.70152 12.3682 10 12 10H8.46771C8.01357 10 7.57294 10.1546 7.21832 10.4383L5.33333 11.9463V10.6667C5.33333 10.2985 5.03486 10 4.66667 10H4C3.63181 10 3.33333 9.70152 3.33333 9.33333V4C3.33333 3.63181 3.63181 3.33333 4 3.33333H12Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},83763:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4 4C4 5.10457 4.89543 6 6 6H8V2H6C4.89543 2 4 2.89543 4 4Z" fill="black"/>   <path class="graphic" d="M8 2V6H10C11.1046 6 12 5.10457 12 4C12 2.89543 11.1046 2 10 2H8Z" fill="black"/>   <path class="graphic" d="M4 8C4 6.89543 4.89543 6 6 6H8V10H6C4.89543 10 4 9.10457 4 8Z" fill="black"/>   <path class="graphic" d="M4 12C4 10.8954 4.89543 10 6 10H8V12C8 13.1046 7.10457 14 6 14C4.89543 14 4 13.1046 4 12Z" fill="black"/>   <path class="graphic" d="M8 8C8 6.89543 8.89543 6 10 6C11.1046 6 12 6.89543 12 8C12 9.10457 11.1046 10 10 10C8.89543 10 8 9.10457 8 8Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},42020:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g id="file-check-alt-svgrepo-com 1"> <path id="Vector" d="M10.0002 12.6667L11.3335 14L14.0002 11.3333M8.66683 2H5.46683C4.7201 2 4.34672 2 4.06151 2.14533C3.81062 2.27315 3.60665 2.47713 3.47882 2.72801C3.3335 3.01323 3.3335 3.3866 3.3335 4.13333V11.8667C3.3335 12.6134 3.3335 12.9868 3.47882 13.272C3.60665 13.5229 3.81062 13.7269 4.06151 13.8547C4.34672 14 4.7201 14 5.46683 14H7.66683M8.66683 2L12.6668 6M8.66683 2V4.93333C8.66683 5.3067 8.66683 5.49339 8.7395 5.63599C8.80343 5.76143 8.90536 5.86342 9.03083 5.92734C9.17343 6 9.3601 6 9.7335 6H12.6668M12.6668 6V8.93333M6.00016 11.3333H7.66683M6.00016 8.66667H10.0002M6.00016 6H6.66683" stroke="#737373" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> </g>'};var r=n(5813);e.exports=r(e.exports)},62012:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.33329 11.3334C5.33329 10.9652 5.63177 10.6667 5.99996 10.6667H9.99996C10.3681 10.6667 10.6666 10.9652 10.6666 11.3334C10.6666 11.7016 10.3681 12 9.99996 12H5.99996C5.63177 12 5.33329 11.7016 5.33329 11.3334Z" fill="black"/>   <path class="graphic" d="M5.99996 8.00004C5.63177 8.00004 5.33329 8.29852 5.33329 8.66671C5.33329 9.0349 5.63177 9.33337 5.99996 9.33337H9.99996C10.3681 9.33337 10.6666 9.0349 10.6666 8.66671C10.6666 8.29852 10.3681 8.00004 9.99996 8.00004H5.99996Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.3333 6.00531V12.6667C13.3333 13.7713 12.4379 14.6667 11.3333 14.6667H4.66663C3.56206 14.6667 2.66663 13.7713 2.66663 12.6667V3.33337C2.66663 2.2288 3.56206 1.33337 4.66663 1.33337H8.66139L13.3333 6.00531ZM7.99996 2.66671H4.66663C4.29844 2.66671 3.99996 2.96518 3.99996 3.33337V12.6667C3.99996 13.0349 4.29844 13.3334 4.66663 13.3334H11.3333C11.7015 13.3334 12 13.0349 12 12.6667V6.66671H8.66663C8.29844 6.66671 7.99996 6.36823 7.99996 6.00004V2.66671ZM9.33329 5.33337V3.60952L11.0571 5.33337H9.33329Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},51392:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 1 1-1h1v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-.586l3.707 3.707a1 1 0 0 1 .293.707V19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5zm6-1h-2v2h2V4zM7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9.828a3 3 0 0 0-.879-2.121l-4.828-4.828A3 3 0 0 0 12.172 2H7zm3 12a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-1-3a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},7086:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M11.522 4.72a4.433 4.433 0 0 1 6.269 6.269l-4.924 4.925-.886.885a2.745 2.745 0 1 1-3.882-3.882l4.595-4.595a1 1 0 1 1 1.414 1.415L9.513 14.33a.746.746 0 0 0 1.054 1.054l.219-.22a.015.015 0 0 0 .004-.003l5.587-5.587a2.433 2.433 0 0 0-3.44-3.44l-.487.486-5.443 5.443a3.667 3.667 0 0 0 0 5.186l.454.454a3.667 3.667 0 0 0 5.186 0l4.714-4.714a1 1 0 1 1 1.414 1.414l-4.714 4.714a5.667 5.667 0 0 1-8.014 0l-.454-.454a5.667 5.667 0 0 1 0-8.014l5.443-5.443.486-.487z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},80124:(e,t,n)=>{e.exports={attributes:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 4.08579 2.58579 3.75 3 3.75H15C15.4142 3.75 15.75 4.08579 15.75 4.5C15.75 4.91421 15.4142 5.25 15 5.25H3C2.58579 5.25 2.25 4.91421 2.25 4.5ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H12C12.4142 8.25 12.75 8.58579 12.75 9C12.75 9.41421 12.4142 9.75 12 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9ZM8.25 12.75C7.83579 12.75 7.5 13.0858 7.5 13.5C7.5 13.9142 7.83579 14.25 8.25 14.25H10.5C10.9142 14.25 11.25 13.9142 11.25 13.5C11.25 13.0858 10.9142 12.75 10.5 12.75H8.25Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},32472:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6.667a2 2 0 0 0-2-2H9L7.6 2.8A2 2 0 0 0 6 2H4zm3.333 2.667l-.8-1.067A.667.667 0 0 0 6 3.333H4A.667.667 0 0 0 3.333 4v.667h4zm-4 7.333V6H12c.368 0 .667.298.667.667V12a.667.667 0 0 1-.667.667H4A.667.667 0 0 1 3.333 12z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89129:(e,t,n)=>{e.exports={attributes:{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M5 0C5.55228 0 6 0.447715 6 1V2H14V1C14 0.447715 14.4477 0 15 0C15.5523 0 16 0.447715 16 1V2H17C18.6569 2 20 3.34315 20 5V13C20 14.6569 18.6569 16 17 16H16V17C16 17.5523 15.5523 18 15 18C14.4477 18 14 17.5523 14 17V16H6V17C6 17.5523 5.55228 18 5 18C4.44772 18 4 17.5523 4 17V16H3C1.34315 16 0 14.6569 0 13V5C0 3.34315 1.34315 2 3 2H4V1C4 0.447715 4.44772 0 5 0ZM17 14C17.5523 14 18 13.5523 18 13V5C18 4.44772 17.5523 4 17 4H3C2.44772 4 2 4.44772 2 5V13C2 13.5523 2.44772 14 3 14H17Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},71492:(e,t,n)=>{e.exports={attributes:{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.40109 4.92674C6.97185 4.92674 6.62391 5.36322 6.62391 5.89976C6.62391 6.43738 6.97185 6.87386 7.40109 6.87386C7.83033 6.87386 8.17826 6.43738 8.17826 5.89976C8.17766 5.36322 7.83033 4.92674 7.40109 4.92674ZM10.1068 2.39387C10.1959 2.19645 10.1995 1.0747 9.72723 0C9.72723 0 8.64456 0.107632 7.00652 1.125C6.66277 1.03846 6.08109 0.996274 5.5006 0.996274C4.91891 0.996274 4.33783 1.03846 3.99408 1.125C2.35543 0.107632 1.27277 0 1.27277 0C0.801087 1.0747 0.80587 2.19645 0.89375 2.39387C0.338967 2.93906 0 3.59405 0 4.48756C0 8.37422 3.56484 8.43642 4.46397 8.43642L5.5006 8.4375L6.53603 8.43642C7.43636 8.43642 11 8.37422 11 4.48756C11 3.59405 10.6616 2.93906 10.1068 2.39387ZM5.51674 7.95884H5.48326C3.22886 7.95884 1.47245 7.71599 1.47245 5.73317C1.47245 5.25775 1.65777 4.81749 2.09837 4.45186C2.8319 3.84231 4.07418 4.16466 5.48326 4.16466H5.51674C6.92581 4.16466 8.1687 3.84231 8.90283 4.45186C9.34223 4.81749 9.52755 5.25775 9.52755 5.73317C9.52755 7.71599 7.77174 7.95884 5.51674 7.95884ZM3.59951 4.92674C3.17027 4.92674 2.82234 5.36322 2.82234 5.89976C2.82234 6.43738 3.17027 6.87386 3.59951 6.87386C4.02935 6.87386 4.37728 6.43738 4.37728 5.89976C4.37728 5.36322 4.02935 4.92674 3.59951 4.92674Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},55551:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 0.666656H4L8 7.33332H11.6667L8 0.666656ZM5.66667 4.99999L3.66667 1.66666L0 7.99999L2 11.3333L5.66667 4.99999ZM12 7.99999H4.66667L2.66667 11.3333H10.3333L12 7.99999Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},517:(e,t,n)=>{e.exports={attributes:{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.23684 2.78571C7.23684 3.08571 7.35263 3.34286 7.57263 3.55179C7.78684 3.76071 8.05895 3.85714 8.39474 3.85714C8.71316 3.85714 8.97368 3.76071 9.21105 3.55179C9.43684 3.34286 9.55263 3.08571 9.55263 2.78571C9.55263 2.50179 9.43684 2.25 9.19947 2.03036C8.97368 1.81607 8.68421 1.71429 8.39474 1.71429C8.07632 1.71429 7.81579 1.81607 7.58421 2.03036C7.35842 2.25 7.23684 2.50179 7.23684 2.78571ZM11 2.78571C11 3.32143 10.7742 3.95893 10.34 4.69286C9.90579 5.43214 9.47158 6.03214 9.03737 6.50357L8.39474 7.20536C8.18632 7.00714 7.94316 6.74464 7.65368 6.42857C7.36421 6.10714 6.97632 5.55536 6.50158 4.76786C6.02105 3.98036 5.78947 3.32143 5.78947 2.78571C5.78947 2.11607 6.03263 1.54821 6.54211 1.07679C7.04579 0.610714 7.65947 0.375 8.39474 0.375C9.10684 0.375 9.72632 0.610714 10.23 1.07679C10.7395 1.54821 11 2.11607 11 2.78571ZM10.4211 6.57857V10.5536C10.4211 10.8214 10.3053 11.0893 10.0679 11.2982C9.8421 11.5179 9.55263 11.625 9.26316 11.625H1.15789C0.868421 11.625 0.578947 11.5179 0.353158 11.2982C0.115789 11.0893 0 10.8214 0 10.5536V3.05357C0 2.78571 0.115789 2.51786 0.353158 2.30893C0.578947 2.08929 0.868421 1.98214 1.15789 1.98214H4.74737C4.67789 2.31964 4.63158 2.5875 4.63158 2.78571C4.63158 3.42321 4.88632 4.17321 5.37263 5.03571C5.86474 5.89286 6.27579 6.53571 6.60579 6.91607C6.94737 7.3125 7.25421 7.65 7.54368 7.93393L8.39474 8.78571L9.26316 7.93393C9.99842 7.07143 10.3863 6.61071 10.4211 6.57857ZM3.47368 8.14286V8.8875H4.77632C4.63158 9.48214 4.19737 9.76607 3.47368 9.76607C3.07421 9.76607 2.73842 9.63214 2.47211 9.36429C2.20419 9.10924 2.05638 8.76637 2.06105 8.41071C2.06105 8.04107 2.2 7.725 2.47211 7.45714C2.73842 7.18929 3.07421 7.05536 3.47368 7.05536C3.85579 7.05536 4.16263 7.1625 4.39421 7.38214L5.01947 6.83036C4.58526 6.46071 4.08158 6.26786 3.50263 6.26786H3.47368C2.84263 6.26786 2.29842 6.4875 1.84684 6.90536C1.39526 7.32321 1.15789 7.82679 1.15789 8.41071C1.15789 8.99464 1.39526 9.49821 1.84684 9.91607C2.29842 10.3339 2.84263 10.5536 3.47368 10.5536C4.14526 10.5536 4.68368 10.3554 5.08895 9.96964C5.5 9.58393 5.69684 9.08036 5.69684 8.45893C5.69684 8.30893 5.69105 8.20179 5.67368 8.14286H3.47368Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},1305:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 0-2 0v14a1 1 0 0 0 2 0v-6h4v6a1 1 0 0 0 2 0V5a1 1 0 0 0-2 0v6H6V5zm9 7a1 1 0 0 1 1 1v5h3a1 1 0 0 1 0 2h-4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},41701:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a1 1 0 0 1 1 1v6h4V5a1 1 0 0 1 2 0v14a1 1 0 0 1-2 0v-6H6v6a1 1 0 0 1-2 0V5a1 1 0 0 1 1-1zm16.371 8.071a.997.997 0 0 0-1.18.341L18 15.333l-2.193-2.924-.041-.052a.99.99 0 0 0-.711-.356 1.019 1.019 0 0 0-.698.233.99.99 0 0 0-.356.711l-.001.067V19a1 1 0 0 0 2 0v-3l1.186 1.581a.997.997 0 0 0 1.628 0L20 16v3a1 1 0 0 0 2 0v-5.985a.997.997 0 0 0-.629-.944z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},70191:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 0-2 0v14a1 1 0 0 0 2 0v-6h4v6a1 1 0 0 0 2 0V5a1 1 0 0 0-2 0v6H6V5zm11 7a1 1 0 0 0 0 2h.003a3 3 0 1 1-2.559 4.572 1 1 0 0 1 1.703-1.049A1 1 0 1 0 17 16h-.003a3 3 0 1 1 1.988-5.25 1.001 1.001 0 0 1-1.324 1.5A.994.994 0 0 0 17 12z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},81740:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M14.701 3.279a3 3 0 1 1 4.76 3.653L10.96 18.01a3 3 0 0 1-3.252 1.045L7 20h12a1 1 0 0 1 0 2H5a1 1 0 0 1-.794-1.609l1.891-2.52a3.002 3.002 0 0 1 .102-3.512l6.373-8.305L11.7 5.4 9.3 8.6a1 1 0 1 1-1.6-1.2l2.997-3.996.003-.004a1 1 0 0 1 1.4-.2l.002.001 1.687 1.266.912-1.188zM7.786 15.576l6.386-8.322 1.6 1.2-6.399 8.34a1 1 0 0 1-1.376.204l-.034-.026a1 1 0 0 1-.177-1.396zm10.089-9.862l-.885 1.153-1.6-1.2.898-1.17a1 1 0 1 1 1.587 1.217z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},82052:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.33337 5.33337C7.33337 4.96518 7.63185 4.66671 8.00004 4.66671C8.36823 4.66671 8.66671 4.96518 8.66671 5.33337V8.66671C8.66671 9.0349 8.36823 9.33337 8.00004 9.33337C7.63185 9.33337 7.33337 9.0349 7.33337 8.66671V5.33337Z" fill="black"/>     <path class="graphic" d="M8.00004 10.6667C7.63185 10.6667 7.33337 10.9652 7.33337 11.3334C7.33337 11.7016 7.63185 12 8.00004 12C8.36823 12 8.66671 11.7016 8.66671 11.3334C8.66671 10.9652 8.36823 10.6667 8.00004 10.6667Z" fill="black"/>     <path class="graphic" d="M1.33337 8.00004C1.33337 11.6819 4.31814 14.6667 8.00004 14.6667C11.6819 14.6667 14.6667 11.6819 14.6667 8.00004C14.6667 4.31814 11.6819 1.33337 8.00004 1.33337C4.31814 1.33337 1.33337 4.31814 1.33337 8.00004ZM8.00004 13.3334C5.05452 13.3334 2.66671 10.9456 2.66671 8.00004C2.66671 5.05452 5.05452 2.66671 8.00004 2.66671C10.9456 2.66671 13.3334 5.05452 13.3334 8.00004C13.3334 10.9456 10.9456 13.3334 8.00004 13.3334Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},28444:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 0.666626C8.36819 0.666626 8.66667 0.965103 8.66667 1.33329V3.33329H10.3831C10.6982 3.33329 10.8374 3.73008 10.5913 3.92692L8.20823 5.83337C8.08649 5.93077 7.91351 5.93077 7.79177 5.83337L5.4087 3.92692C5.16265 3.73008 5.30183 3.33329 5.61693 3.33329H7.33333V1.33329C7.33333 0.965103 7.63181 0.666626 8 0.666626ZM2 7.99996C2 7.63177 2.29848 7.33329 2.66667 7.33329H13.3333C13.7015 7.33329 14 7.63177 14 7.99996C14 8.36815 13.7015 8.66663 13.3333 8.66663H2.66667C2.29848 8.66663 2 8.36815 2 7.99996ZM7.33333 12.6666H5.61693C5.30183 12.6666 5.16265 12.2698 5.4087 12.073L7.79177 10.1665C7.91351 10.0692 8.08649 10.0692 8.20823 10.1665L10.5913 12.073C10.8374 12.2698 10.6982 12.6666 10.3831 12.6666H8.66667V14.6666C8.66667 15.0348 8.36819 15.3333 8 15.3333C7.63181 15.3333 7.33333 15.0348 7.33333 14.6666V12.6666Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},91527:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.8047 7.5286C14.0651 7.78895 14.0651 8.21106 13.8047 8.4714L8.66588 13.3658C8.66579 13.3676 8.6657 13.3694 8.6656 13.3712L13.8047 8.4714L8.47141 13.8047C8.3428 13.9333 8.17471 13.9984 8.00615 14C8.0041 14 8.00205 14 8 14C7.98934 14 7.97867 13.9997 7.96802 13.9992C7.80822 13.9916 7.65063 13.9268 7.5286 13.8047L2.19526 8.4714C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286C2.45561 7.26825 2.87772 7.26825 3.13807 7.5286L7.33333 11.7239V2.66667C7.33333 2.29848 7.63181 2 8 2C8.36819 2 8.66667 2.29848 8.66667 2.66667V11.7239L12.8619 7.5286C13.1223 7.26825 13.5444 7.26825 13.8047 7.5286Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},79611:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2.19526 8.4714C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286L7.33412 2.6342C7.33421 2.63239 7.3343 2.63057 7.33441 2.62876L2.19526 7.5286L7.5286 2.19526C7.65721 2.06665 7.82529 2.00157 7.99385 2.00003C7.9959 2.00001 7.99795 2 8 2C8.01066 2 8.02133 2.00025 8.03198 2.00076C8.19178 2.00839 8.34937 2.07322 8.4714 2.19526L13.8047 7.5286C14.0651 7.78895 14.0651 8.21106 13.8047 8.4714C13.5444 8.73175 13.1223 8.73175 12.8619 8.4714L8.66667 4.27614V13.3333C8.66667 13.7015 8.36819 14 8 14C7.63181 14 7.33333 13.7015 7.33333 13.3333V4.27614L3.13807 8.4714C2.87772 8.73175 2.45561 8.73175 2.19526 8.4714Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},66995:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M8 6.586l5.293-5.293a1 1 0 0 1 1.414 1.414L9.414 8l5.293 5.293a1 1 0 0 1-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 1 1-1.414-1.414L6.586 8 1.293 2.707a1 1 0 1 1 1.414-1.414L8 6.586z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},5952:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6.25914 3.9476C6.53567 3.83076 6.76197 3.65513 6.94152 3.49539C7.05669 3.39292 7.18212 3.26868 7.28932 3.16249C7.33767 3.1146 7.38234 3.07035 7.42066 3.03346C7.72916 2.73646 7.87696 2.66683 7.99967 2.66683C8.09746 2.66683 8.24753 2.7344 8.57809 3.04753C8.61723 3.0846 8.66154 3.12761 8.70899 3.17367C8.82054 3.28196 8.94953 3.40718 9.0694 3.51161C9.24876 3.66788 9.47719 3.84252 9.75208 3.95248C10.0252 4.06172 10.3022 4.09263 10.5326 4.10266C10.6773 4.10897 10.8469 4.10721 10.9899 4.10573C11.0559 4.10505 11.1163 4.10443 11.1659 4.10468C11.5669 4.10673 11.7009 4.15861 11.7791 4.23709C11.8336 4.2919 11.8827 4.39992 11.8812 4.81614C11.8811 4.85816 11.8804 4.90545 11.8797 4.9563C11.8776 5.10852 11.8751 5.29266 11.8843 5.46209C11.8973 5.70032 11.9346 5.98124 12.0522 6.25963C12.1691 6.53616 12.3447 6.76246 12.5044 6.94201C12.6069 7.05718 12.7312 7.1826 12.8373 7.28981C12.8852 7.33817 12.9295 7.38282 12.9664 7.42115C13.2634 7.72964 13.333 7.87744 13.333 8.00016C13.333 8.12288 13.2634 8.27068 12.9664 8.57917C12.9295 8.61749 12.8853 8.66211 12.8374 8.71044C12.7312 8.81765 12.6069 8.94315 12.5044 9.05832C12.3447 9.23787 12.1691 9.46416 12.0522 9.7407C11.9346 10.019 11.8975 10.2999 11.8848 10.5379C11.8757 10.7075 11.8785 10.8916 11.8808 11.0437C11.8815 11.0943 11.8822 11.1414 11.8824 11.1832C11.8844 11.5993 11.8355 11.7065 11.7818 11.7605C11.7048 11.8379 11.5913 11.8842 11.202 11.883C11.1589 11.8828 11.1104 11.8818 11.0574 11.8806C10.7252 11.8735 10.2154 11.8625 9.75208 12.0478C9.47719 12.1578 9.24876 12.3324 9.0694 12.4887C8.94954 12.5931 8.82065 12.7183 8.7091 12.8265C8.66166 12.8726 8.61722 12.9157 8.57809 12.9528C8.24753 13.2659 8.09746 13.3335 7.99967 13.3335C7.87696 13.3335 7.72916 13.2639 7.42066 12.9669C7.38233 12.93 7.33768 12.8857 7.28932 12.8378C7.18212 12.7316 7.05669 12.6074 6.94152 12.5049C6.76197 12.3452 6.53567 12.1696 6.25914 12.0527C5.98025 11.9349 5.69878 11.896 5.45919 11.8814C5.29079 11.8711 5.1072 11.8721 4.95473 11.8729C4.90179 11.8732 4.85257 11.8735 4.80906 11.8732C4.39175 11.871 4.27756 11.8208 4.2176 11.7605C4.16384 11.7065 4.11491 11.5993 4.11692 11.1832C4.11712 11.1414 4.11783 11.0943 4.11859 11.0437C4.12089 10.8916 4.12366 10.7075 4.11458 10.5379C4.10184 10.2999 4.0647 10.019 3.94711 9.7407C3.83027 9.46416 3.65464 9.23787 3.4949 9.05832C3.39244 8.94315 3.2682 8.81773 3.16201 8.71053C3.11411 8.66217 3.06987 8.6175 3.03297 8.57917C2.73598 8.27068 2.66634 8.12288 2.66634 8.00016C2.66634 7.87744 2.73598 7.72964 3.03297 7.42115C3.06987 7.38283 3.11409 7.33818 3.16198 7.28983C3.26817 7.18263 3.39243 7.05718 3.4949 6.94201C3.65464 6.76246 3.83027 6.53616 3.94711 6.25963C4.0647 5.98131 4.10184 5.70046 4.11458 5.46243C4.12366 5.29287 4.12089 5.10878 4.11859 4.95661C4.11783 4.90602 4.11712 4.8589 4.11692 4.81708C4.11491 4.401 4.16384 4.29387 4.2176 4.2398C4.27756 4.17949 4.39175 4.12935 4.80906 4.1271C4.85256 4.12686 4.90175 4.12713 4.9547 4.12741C5.10717 4.12822 5.29078 4.1292 5.45919 4.11894C5.69878 4.10435 5.98025 4.06543 6.25914 3.9476ZM7.99967 1.3335C7.29479 1.3335 6.80122 1.779 6.49593 2.07292C6.42621 2.14003 6.36692 2.19895 6.31221 2.25331C6.22285 2.34211 6.14569 2.41878 6.05525 2.49924C5.92187 2.61791 5.8223 2.68471 5.74021 2.71939C5.65706 2.75452 5.54391 2.77798 5.37814 2.78807C5.25649 2.79548 5.14266 2.79485 5.00772 2.7941C4.94469 2.79375 4.87705 2.79338 4.80186 2.79378C4.40926 2.79591 3.75807 2.81093 3.2721 3.29969C2.78803 3.78653 2.78174 4.43795 2.7836 4.82353C2.78395 4.89557 2.78493 4.9606 2.78585 5.02124C2.7879 5.15689 2.78961 5.2705 2.78316 5.39117C2.77446 5.55369 2.752 5.66237 2.7189 5.7407C2.68422 5.82279 2.61742 5.92236 2.49875 6.05574C2.41829 6.14618 2.34162 6.22333 2.25282 6.3127C2.19846 6.36741 2.13953 6.42671 2.07243 6.49641C1.77852 6.80171 1.33301 7.29528 1.33301 8.00016C1.33301 8.70505 1.77852 9.19862 2.07243 9.50391C2.13954 9.57362 2.19845 9.63291 2.25282 9.68762C2.34161 9.77698 2.4183 9.85415 2.49875 9.94458C2.61742 10.078 2.68422 10.1775 2.7189 10.2596C2.752 10.338 2.77446 10.4466 2.78316 10.6092C2.78961 10.7298 2.7879 10.8434 2.78585 10.9791C2.78493 11.0397 2.78395 11.1048 2.7836 11.1768C2.78174 11.5624 2.78803 12.2138 3.2721 12.7006C3.75807 13.1894 4.40926 13.2044 4.80186 13.2065C4.87704 13.2069 4.94468 13.2066 5.0077 13.2062C5.14265 13.2055 5.25649 13.2048 5.37814 13.2123C5.54391 13.2223 5.65706 13.2458 5.74021 13.2809C5.8223 13.3156 5.92187 13.3824 6.05525 13.5011C6.14569 13.5815 6.22285 13.6582 6.31222 13.747C6.36692 13.8014 6.42623 13.8603 6.49593 13.9274C6.80122 14.2213 7.29479 14.6668 7.99967 14.6668C8.68889 14.6668 9.1945 14.2055 9.49503 13.9208C9.56141 13.8579 9.61946 13.8014 9.67338 13.749C9.76921 13.6558 9.85202 13.5753 9.94526 13.494C10.0825 13.3745 10.1778 13.3136 10.2473 13.2858C10.4395 13.2089 10.6402 13.211 10.9824 13.2146C11.0486 13.2153 11.1201 13.216 11.1978 13.2163C11.6011 13.2175 12.2317 13.199 12.7273 12.7006C13.2113 12.2138 13.2176 11.5624 13.2157 11.1768C13.2154 11.1049 13.2144 11.0399 13.2135 10.9793C13.2115 10.8437 13.2097 10.7298 13.2162 10.6092C13.2249 10.4466 13.2473 10.338 13.2804 10.2596C13.3151 10.1775 13.3819 10.078 13.5006 9.94458C13.5811 9.85415 13.6577 9.77699 13.7465 9.68762C13.8009 9.63292 13.8598 9.57361 13.9269 9.50391C14.2208 9.19862 14.6663 8.70505 14.6663 8.00016C14.6663 7.29528 14.2208 6.80171 13.9269 6.49641C13.8598 6.42671 13.8009 6.36744 13.7466 6.31273C13.6578 6.22336 13.5811 6.14618 13.5006 6.05574C13.3819 5.92236 13.3151 5.82279 13.2804 5.7407C13.2471 5.66177 13.2245 5.55253 13.2156 5.3896C13.2091 5.26881 13.2106 5.15517 13.2125 5.01961C13.2134 4.95873 13.2143 4.89324 13.2145 4.82089C13.2159 4.43443 13.2085 3.78304 12.7239 3.29631C12.2302 2.80046 11.5826 2.77346 11.1728 2.77136C11.0752 2.77086 10.9931 2.77189 10.9181 2.77283C10.8023 2.77427 10.7035 2.77551 10.5906 2.77059C10.4236 2.76332 10.3185 2.743 10.2473 2.71451C10.1778 2.68674 10.0825 2.62586 9.94526 2.5063C9.85201 2.42506 9.76924 2.34455 9.67339 2.25133C9.61947 2.19889 9.56141 2.14242 9.49503 2.07954C9.1945 1.79486 8.68889 1.3335 7.99967 1.3335ZM9.33301 8.00016C9.33301 7.26378 8.73605 6.66683 7.99967 6.66683C7.2633 6.66683 6.66634 7.26378 6.66634 8.00016C6.66634 8.73654 7.2633 9.3335 7.99967 9.3335C8.73605 9.3335 9.33301 8.73654 9.33301 8.00016ZM10.6663 8.00016C10.6663 9.47292 9.47243 10.6668 7.99967 10.6668C6.52692 10.6668 5.33301 9.47292 5.33301 8.00016C5.33301 6.5274 6.52692 5.3335 7.99967 5.3335C9.47243 5.3335 10.6663 6.5274 10.6663 8.00016Z"/>'};var r=n(5813);e.exports=r(e.exports)},50375:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5zM4 7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7zm6 3a2 2 0 1 1-3.999.001A2 2 0 0 1 10 10zm4.747 2.341a.998.998 0 0 0-1.494 0L10 16l-1.626-1.832a.5.5 0 0 0-.748 0L6 16h12l-3.253-3.659z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},93034:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h36v28H0z"/>         <rect width="32" height="26" x="2" y="1" fill="#9DA5A6" rx="2"/>         <rect width="30" height="24" x="3" y="2" fill="#FFF" rx="1"/>         <path fill="#9DA5A6" fill-rule="nonzero" d="M18.75 18.833l-2.395 3.222a1 1 0 1 1-1.605-1.193l.907-1.22a2.006 2.006 0 0 1-.064-.055s-3.02-2.673-3.024-2.668L7.744 22.29a1 1 0 0 1-1.488-1.336l4.826-5.372a2.013 2.013 0 0 1 2.825-.169l2.945 2.618.296-.395.928-1.248a1.01 1.01 0 0 1 .077-.092l3.45-4.6a1.88 1.88 0 0 1 2.812-.25l6.264 5.796a1 1 0 1 1-1.358 1.468l-6.186-5.723-4.385 5.846zM10 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},11894:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm6 4a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H10zm-1 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H10zm-7 5a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm.89-11.887a.5.5 0 0 0-.89.312v7.15a.5.5 0 0 0 .89.312l2.86-3.575a.5.5 0 0 0 0-.624L3.89 8.113z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},13669:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.0018 0.312501H0.996942C0.445872 0.312501 0 0.730505 0 1.24713V9.68979C0 10.2058 0.445872 10.625 0.996942 10.625H10.0024C10.5529 10.625 11 10.2064 11 9.68979V1.24713C11 1.1243 10.9742 1.00267 10.924 0.8892C10.8738 0.77573 10.8003 0.672646 10.7076 0.585843C10.6149 0.499039 10.5048 0.430218 10.3837 0.383316C10.2626 0.336414 10.1329 0.31235 10.0018 0.312501ZM3.67584 2.31766C4.04098 2.31766 4.3474 2.5883 4.3474 2.93578C4.3474 3.28899 4.04098 3.55505 3.67584 3.55505V3.56766C3.30642 3.56766 3.00917 3.28899 3.00917 2.94381C3.00917 2.5969 3.30642 2.31766 3.67584 2.31766ZM8.1737 8.25344C7.49358 8.25344 7.16391 7.87385 7.16391 7.35551C7.16391 7.20642 7.1841 7.04989 7.23364 6.88991L7.55657 5.79702C7.59816 5.67775 7.60917 5.56479 7.60917 5.46388C7.60917 5.11124 7.37982 4.89966 7.01529 4.89966C6.54985 4.89966 6.24465 5.21101 6.08563 5.81594L5.45382 8.19323H4.34618L4.54618 7.4461C4.21957 7.94668 3.76881 8.25573 3.21101 8.25573C2.537 8.25573 2.22202 7.89335 2.22202 7.34748C2.2247 7.191 2.24437 7.03519 2.28073 6.88245L2.78593 4.95241H2.00428L2.24159 4.13245H4.12232L3.37859 6.88704C3.32966 7.06422 3.31132 7.20757 3.31132 7.31021C3.31132 7.48624 3.40183 7.53727 3.54679 7.56938C3.63609 7.58658 4.33884 7.57569 4.71988 6.78039L5.20795 4.95241H4.41651L4.65566 4.14736H6.36024L6.14067 5.07454C6.4367 4.55906 7.02875 4.06422 7.61223 4.06422C8.23119 4.06422 8.74679 4.48165 8.74679 5.27466C8.74679 5.50401 8.70826 5.73108 8.6367 5.95126L8.31865 7.01663C8.29246 7.10882 8.27708 7.20342 8.27278 7.29874C8.27278 7.48567 8.35596 7.57626 8.49786 7.57626C8.64343 7.57626 8.83609 7.47248 9.04771 6.90424L9.48073 7.06021C9.22752 7.90482 8.7578 8.25344 8.1737 8.25344Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},44819:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M13.0043 5.41667C13.0043 7.94797 10.5043 10 8.83768 10C7.17101 10 4.67101 7.94797 4.67101 5.41667C4.67101 2.88536 6.53649 0.833336 8.83768 0.833336C11.1389 0.833336 13.0043 2.88536 13.0043 5.41667ZM11.3377 5.41667C11.3377 3.6528 10.0725 2.5 8.83768 2.5C7.60289 2.5 6.33768 3.6528 6.33768 5.41667C6.33768 6.12695 6.69657 6.87065 7.30508 7.47629C7.95128 8.11947 8.59479 8.33333 8.83768 8.33333C9.08056 8.33333 9.72407 8.11947 10.3703 7.47629C10.9788 6.87065 11.3377 6.12695 11.3377 5.41667Z" fill="black"/>   <path class="graphic" d="M9.68229 10.8333C9.92306 10.8333 10.162 10.8494 10.3977 10.8808C10.4721 10.7956 10.5499 10.7123 10.6311 10.6311C12.5838 8.67851 15.7496 8.67851 17.7022 10.6311C19.6548 12.5838 19.6548 15.7496 17.7022 17.7022C15.7496 19.6548 12.5838 19.6548 10.6311 17.7022C10.5651 17.6362 10.5013 17.5687 10.4397 17.5H3.83676C2.98192 17.5 2.34692 16.7084 2.53236 15.8739L2.78398 14.7416C2.9294 14.0873 3.20515 13.4689 3.59478 12.9234C4.53166 11.6118 6.04429 10.8333 7.65614 10.8333H9.68229ZM7.65614 12.5C6.58254 12.5 5.57503 13.0185 4.95101 13.8921C4.69148 14.2554 4.50781 14.6673 4.41095 15.1032L4.2487 15.8333H9.45139C9.07176 14.7569 9.07176 13.5764 9.45139 12.5H7.65614ZM17.357 14.1667C17.357 13.7064 16.9839 13.3333 16.5237 13.3333H15V11.8096C15 11.3494 14.6269 10.9763 14.1667 10.9763C13.7064 10.9763 13.3333 11.3494 13.3333 11.8096V13.3333H11.8096C11.3494 13.3333 10.9763 13.7064 10.9763 14.1667C10.9763 14.6269 11.3494 15 11.8096 15H13.3333V16.5237C13.3333 16.9839 13.7064 17.357 14.1667 17.357C14.6269 17.357 15 16.9839 15 16.5237V15H16.5237C16.9839 15 17.357 14.6269 17.357 14.1667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},34061:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12.753 4L9.198 20H7a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-1.753l3.555-16H17a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2h1.753z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},78018:(e,t,n)=>{e.exports={attributes:{width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M15 9C15.5523 9 16 9.44771 16 10V14H18C18.5523 14 19 14.4477 19 15C19 15.5523 18.5523 16 18 16H15C14.4477 16 14 15.5523 14 15V10C14 9.44771 14.4477 9 15 9Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},76767:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M8.3238 2.75064C8.12245 2.63878 7.87763 2.63878 7.67628 2.75064L1.68792 6.07751C1.64715 6.09915 1.6089 6.12489 1.57372 6.15419C1.54546 6.17769 1.51934 6.20337 1.49556 6.23091C1.3945 6.34777 1.33337 6.50012 1.33337 6.66675V11.3334C1.33337 11.7016 1.63185 12.0001 2.00004 12.0001C2.36823 12.0001 2.66671 11.7016 2.66671 11.3334V7.79976L4.66671 8.91087V11.3334C4.66629 11.3439 4.66671 11.3546 4.66671 11.3655C4.66671 12.286 6.15909 13.3655 8.00004 13.3655C9.84099 13.3655 11.3334 12.286 11.3334 11.3655C11.3334 11.3546 11.3332 11.3439 11.3328 11.3334L11.3334 8.91087L14.3238 7.24952C14.5354 7.13194 14.6667 6.90886 14.6667 6.66675C14.6667 6.42464 14.5354 6.20156 14.3238 6.08398L8.3238 2.75064ZM8.00004 9.23744L3.37279 6.66675L8.00004 4.09605L12.6273 6.66675L8.00004 9.23744Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},4718:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.22881 8.9428C3.44776 9.72384 3.44776 10.9902 4.22881 11.7712C5.00986 12.5523 6.27619 12.5523 7.05724 11.7712L8.47145 10.357C8.7318 10.0967 9.15391 10.0967 9.41426 10.357C9.67461 10.6174 9.67461 11.0395 9.41426 11.2998L8.00005 12.714C6.6983 14.0158 4.58775 14.0158 3.286 12.714C1.98426 11.4123 1.98426 9.30173 3.286 7.99999L4.70022 6.58577C4.96057 6.32542 5.38268 6.32542 5.64303 6.58577C5.90337 6.84612 5.90337 7.26823 5.64303 7.52858L4.22881 8.9428ZM6.11443 9.8856C5.85408 9.62526 5.85408 9.20315 6.11443 8.9428L8.94286 6.11437C9.20321 5.85402 9.62532 5.85402 9.88567 6.11437C10.146 6.37472 10.146 6.79683 9.88567 7.05718L7.05724 9.8856C6.79689 10.146 6.37478 10.146 6.11443 9.8856ZM6.58583 4.70016C6.32548 4.96051 6.32548 5.38261 6.58583 5.64296C6.84618 5.90331 7.26829 5.90331 7.52864 5.64296L8.94286 4.22875C9.72391 3.4477 10.9902 3.4477 11.7713 4.22875C12.5523 5.0098 12.5523 6.27613 11.7713 7.05718L10.3571 8.47139C10.0967 8.73174 10.0967 9.15385 10.3571 9.4142C10.6174 9.67455 11.0395 9.67455 11.2999 9.4142L12.7141 7.99999C14.0158 6.69824 14.0158 4.58769 12.7141 3.28594C11.4123 1.98419 9.3018 1.98419 8.00005 3.28594L6.58583 4.70016Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},60623:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7 9a3 3 0 1 0 0 6h3a1 1 0 0 1 0 2H7A5 5 0 0 1 7 7h3a1 1 0 0 1 0 2H7zm1 3a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm6-5a1 1 0 0 0 0 2h3a3 3 0 1 1 0 6h-3a1 1 0 0 0 0 2h3a5 5 0 0 0 0-10h-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12479:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M11.293 3.293a1 1 0 0 1 1.414 0L20.05 11h.008l-7.35-7.708 8 8c.193.193.29.445.293.698V12l-.001.048a.997.997 0 0 1-.292.66l-8 8a1 1 0 0 1-1.414-1.415L17.586 13H4a1 1 0 1 1 0-2h13.586l-6.293-6.293a1 1 0 0 1 0-1.414z"/>'};var r=n(5813);e.exports=r(e.exports)},95161:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm4-2a1 1 0 0 0 0 2h12a1 1 0 0 0 0-2H8zm0 6a1 1 0 0 0 0 2h12a1 1 0 0 0 0-2H8zm-1 7a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm-2-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-1 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},30350:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <circle class="graphic" cx="12" cy="12" r="10" fill="#5C6061"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},98854:(e,t,n)=>{e.exports={attributes:{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.44948 0L6.55052 0C7.12009 0 7.42736 0.668079 7.05669 1.10053L4.50617 4.07613C4.24011 4.38654 3.75989 4.38654 3.49383 4.07613L0.943309 1.10053C0.572639 0.668079 0.879912 0 1.44948 0Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},35235:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M21.12 11.069L3.459 4.158c-.91-.357-1.74.672-1.196 1.486l3.867 5.801c.224.336.224.774 0 1.11l-3.867 5.801c-.543.814.285 1.843 1.196 1.486l17.661-6.911c.848-.331.848-1.531 0-1.862z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},59481:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3.414 10.586l7.172-7.172a2 2 0 0 1 2.828 0l7.172 7.172a2 2 0 0 1 0 2.828l-7.172 7.172a2 2 0 0 1-2.828 0l-7.172-7.172a2 2 0 0 1 0-2.828z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47238:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4.5 4a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V5.707l-.146.147a.502.502 0 0 1-.708-.708l1-1A.502.502 0 0 1 4.5 4zM9 5h11a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm0 6h11a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm-1 7a1 1 0 0 1 1-1h11a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm-3.933-1.75a.5.5 0 1 1-.866-.5 1.5 1.5 0 1 1 2.417 1.75A1.5 1.5 0 1 1 3 18.5a.5.5 0 0 1 1 0 .5.5 0 1 0 .5-.5.5.5 0 0 1 0-1 .5.5 0 1 0-.433-.75zM4.5 10.5a.5.5 0 0 0-.495.428.5.5 0 1 1-.99-.141A1.501 1.501 0 0 1 6 11c0 .427-.179.813-.465 1.085L4.666 13H5.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.362-.845l1.692-1.779.011-.01A.5.5 0 0 0 4.5 10.5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},56987:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},74107:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0-2a8 8 0 1 1 0-16 8 8 0 0 1 0 16z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},60965:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},8941:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M4 4C4 1.79086 5.79086 0 8 0C10.2091 0 12 1.79086 12 4V6H13C14.6569 6 16 7.34315 16 9V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V9C0 7.34315 1.34315 6 3 6H4V4ZM10 4C10 2.89543 9.10457 2 8 2C6.89543 2 6 2.89543 6 4V6H10V4ZM3 8C2.44772 8 2 8.44772 2 9V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V9C14 8.44772 13.5523 8 13 8H3ZM10 12C10 12.7403 9.5978 13.3866 9 13.7324V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V13.7324C6.4022 13.3866 6 12.7403 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z" fill="rgb(0, 161, 183)" fill-opacity="0.6"/>'};var r=n(5813);e.exports=r(e.exports)},72102:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4 4C4 1.79086 5.79086 0 8 0C10.2091 0 12 1.79086 12 4V6H13C14.6569 6 16 7.34315 16 9V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V9C0 7.34315 1.34315 6 3 6H4V4ZM10 4C10 2.89543 9.10457 2 8 2C6.89543 2 6 2.89543 6 4V6H10V4ZM3 8C2.44772 8 2 8.44772 2 9V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V9C14 8.44772 13.5523 8 13 8H3ZM10 12C10 12.7403 9.5978 13.3866 9 13.7324V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V13.7324C6.4022 13.3866 6 12.7403 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},29828:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 1C0 0.447715 0.447715 0 1 0H4C4.55228 0 5 0.447715 5 1C5 1.55228 4.55228 2 4 2H2V4C2 4.55228 1.55228 5 1 5C0.447715 5 0 4.55228 0 4V1ZM9 1C9 0.447715 9.44771 0 10 0H13C13.5523 0 14 0.447715 14 1V4C14 4.55228 13.5523 5 13 5C12.4477 5 12 4.55228 12 4V2H10C9.44771 2 9 1.55228 9 1ZM1 9C1.55228 9 2 9.44771 2 10V12H4C4.55228 12 5 12.4477 5 13C5 13.5523 4.55228 14 4 14H1C0.447715 14 0 13.5523 0 13V10C0 9.44771 0.447715 9 1 9ZM13 9C13.5523 9 14 9.44771 14 10V13C14 13.5523 13.5523 14 13 14H10C9.44771 14 9 13.5523 9 13C9 12.4477 9.44771 12 10 12H12V10C12 9.44771 12.4477 9 13 9Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},37871:(e,t,n)=>{e.exports={attributes:{width:"21",height:"16",viewBox:"0 0 21 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M14.6838 9.05132C15.0921 8.9152 15.5417 9.05566 15.8 9.4L17.5 11.6667L19.2 9.4C19.4583 9.05566 19.9079 8.9152 20.3162 9.05132C20.7246 9.18743 21 9.56957 21 10V15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15V13L18.3 13.9333C18.1111 14.1851 17.8148 14.3333 17.5 14.3333C17.1852 14.3333 16.8889 14.1851 16.7 13.9333L16 13V15C16 15.5523 15.5523 16 15 16C14.4477 16 14 15.5523 14 15V10C14 9.56957 14.2754 9.18743 14.6838 9.05132Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},94384:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 4a8 8 0 1 0 3.555 15.169 1 1 0 1 1 .89 1.791A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10v.571c0 1.297-.317 2.395-.948 3.193A3.199 3.199 0 0 1 18.5 17c-1.216 0-2.192-.685-2.801-1.636A5 5 0 1 1 15 8a1 1 0 0 1 2 0v5c0 1.222.85 2 1.5 2a1.2 1.2 0 0 0 .984-.478c.273-.345.516-.961.516-1.951V12a8 8 0 0 0-8-8zm3 8a3 3 0 1 0-6 0 3 3 0 0 0 6 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},16357:(e,t,n)=>{e.exports={attributes:{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.4714 0.861888C13.7318 1.12224 13.7318 1.54435 13.4714 1.8047L7.47142 7.8047C7.21108 8.06505 6.78897 8.06505 6.52862 7.8047L0.528615 1.8047C0.268266 1.54435 0.268266 1.12224 0.528615 0.861888C0.788965 0.601539 1.21107 0.601539 1.47143 0.861888L7.00002 6.39048L12.5286 0.861888C12.789 0.601539 13.2111 0.601539 13.4714 0.861888Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},63821:(e,t,n)=>{e.exports={attributes:{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 0C4.55228 0 5 0.447715 5 1V4C5 4.55228 4.55228 5 4 5H1C0.447715 5 0 4.55228 0 4C0 3.44772 0.447715 3 1 3H3V1C3 0.447715 3.44772 0 4 0ZM10.5 0C11.0523 0 11.5 0.447715 11.5 1V3H13.5C14.0523 3 14.5 3.44772 14.5 4C14.5 4.55228 14.0523 5 13.5 5H10.5C9.94771 5 9.5 4.55228 9.5 4V1C9.5 0.447715 9.94771 0 10.5 0ZM0 10C0 9.44771 0.447715 9 1 9H4C4.55228 9 5 9.44771 5 10V13C5 13.5523 4.55228 14 4 14C3.44772 14 3 13.5523 3 13V11H1C0.447715 11 0 10.5523 0 10ZM9.5 10C9.5 9.44771 9.94771 9 10.5 9H13.5C14.0523 9 14.5 9.44771 14.5 10C14.5 10.5523 14.0523 11 13.5 11H11.5V13C11.5 13.5523 11.0523 14 10.5 14C9.94771 14 9.5 13.5523 9.5 13V10Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},31958:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M2 8c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},26934:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M2 2H4L7.5 5.5L5.5 2H7.5L11 4.5L9 2H11L14 4L11 14H9L11 4.5L7.5 14H5.5L7.5 5.5L4 14H2L4 6L2 2Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},46605:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M7.5 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},92688:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic" width="11" height="11" rx="1" fill="#5C6061"/>   <path class="graphic_stroke_bg graphic_bg" fill-rule="evenodd" clip-rule="evenodd" d="M4.27444 4.09162C4.4421 4.48418 4.57964 4.91014 4.88142 5.92473L4.88391 5.93307C5.18869 6.95775 5.32589 7.38581 5.50938 7.83045C5.63543 8.13585 5.76037 8.37659 5.897 8.56076C6.09828 8.83209 6.33766 8.99992 6.63376 8.99992C7.02753 8.99992 7.35911 8.8112 7.58923 8.47347C7.77042 8.20748 7.8816 7.86402 7.9424 7.44739C8.03504 6.81257 8.01171 6.00699 7.90265 5.02681C7.77939 3.9186 7.57845 3.02221 7.29363 2.33322C7.17562 2.04777 6.8691 1.92134 6.60896 2.05083C6.34884 2.18033 6.23362 2.5167 6.35163 2.80217C6.58752 3.37277 6.76436 4.16166 6.8759 5.16433C6.97415 6.0476 6.99484 6.76203 6.92103 7.26793C6.88444 7.51871 6.82674 7.69695 6.76077 7.79378C6.74119 7.82253 6.72453 7.84052 6.70449 7.85119C6.70276 7.84895 6.701 7.84659 6.69919 7.84415C6.62859 7.74897 6.54412 7.58625 6.45164 7.36215C6.29005 6.97058 6.15885 6.56128 5.86723 5.58084L5.86475 5.57252C5.54809 4.50793 5.40402 4.06171 5.21111 3.60996C5.07642 3.29453 4.94181 3.05136 4.79023 2.87167C4.55843 2.59684 4.26896 2.4538 3.94268 2.53586C3.59719 2.62276 3.353 2.90101 3.20629 3.30131C3.09221 3.61263 3.02918 4.01532 3.00803 4.5188C2.96864 5.45512 3.07431 6.78482 3.32264 8.52041C3.36694 8.83005 3.63161 9.04166 3.91379 8.99305C4.19597 8.94444 4.3888 8.65399 4.3445 8.34432C4.10605 6.6778 4.00579 5.4159 4.04132 4.57113C4.05521 4.24081 4.08973 3.98467 4.13918 3.80852C4.18103 3.88469 4.22654 3.97944 4.27444 4.09162Z" stroke="white" stroke-width="0.2"/>'};var r=n(5813);e.exports=r(e.exports)},36771:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M0.500061 6C0.500061 2.96243 2.96249 0.5 6.00006 0.5C9.03763 0.5 11.5001 2.96243 11.5001 6C11.5001 9.03757 9.03763 11.5 6.00006 11.5C2.96249 11.5 0.500061 9.03757 0.500061 6Z" stroke="#AEB7B8"/>   <path d="M6.00002 6.00002C8.34317 3.65686 8.37091 3.62912 10.2427 1.75736C7.89952 -0.585793 4.10052 -0.585793 1.75736 1.75736C-0.585795 4.10052 -0.585795 7.89952 1.75736 10.2427C3.62912 8.37092 3.65686 8.34317 6.00002 6.00002Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},99562:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6Z" stroke="#EDEDED"/>   <path d="M6.00004 5.99998C3.65689 8.34314 3.62915 8.37088 1.75739 10.2426C4.10054 12.5858 7.89955 12.5858 10.2427 10.2426C12.5859 7.89948 12.5859 4.10048 10.2427 1.75732C8.37094 3.62908 8.3432 3.65683 6.00004 5.99998Z" fill="#404B4C"/>'};var r=n(5813);e.exports=r(e.exports)},42477:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g class="graphic_stroke" fill="none" fill-rule="nonzero" stroke="#5C6061" stroke-width="1.333">         <circle cx="8" cy="8" r="7.333"/>         <path stroke-linecap="square" d="M3.333 12.667l9.334-9.334"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},8386:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M4.667 1.333a2 2 0 0 0-2 2v9.334a2 2 0 0 0 2 2h6.666a2 2 0 0 0 2-2V3.333a2 2 0 0 0-2-2H4.667zm-.667 2c0-.368.299-.666.667-.666h6.666c.368 0 .667.298.667.666v9.334a.667.667 0 0 1-.667.666H4.667A.667.667 0 0 1 4 12.667V3.333zM6 4a.667.667 0 0 0 0 1.333h4A.667.667 0 0 0 10 4H6zm-.667 3.333c0-.368.299-.666.667-.666h4A.667.667 0 0 1 10 8H6a.667.667 0 0 1-.667-.667zm.667 2a.667.667 0 0 0 0 1.334h2.667a.667.667 0 0 0 0-1.334H6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},7306:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M4 3a1 1 0 0 0 0 2h16a1 1 0 1 0 0-2H4zm6 4a1 1 0 0 0 0 2h10a1 1 0 1 0 0-2H10zm-1 5a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1zm1 3a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H10zm-7 5a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1zm3.11-4.113a.5.5 0 0 0 .89-.312v-7.15a.5.5 0 0 0-.89-.312l-2.86 3.575a.5.5 0 0 0 0 .624l2.86 3.575z"/>'};var r=n(5813);e.exports=r(e.exports)},68234:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4C14 2.89543 13.1046 2 12 2H4ZM12 3.33333H4C3.63181 3.33333 3.33333 3.63181 3.33333 4V12C3.33333 12.3682 3.63181 12.6667 4 12.6667H12C12.3682 12.6667 12.6667 12.3682 12.6667 12V4C12.6667 3.63181 12.3682 3.33333 12 3.33333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},69435:(e,t,n)=>{e.exports={attributes:{width:"7",height:"14",viewBox:"0 0 7 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.80346 4.98904C1.78031 4.97102 1.75769 4.95282 1.73564 4.93441C1.50696 4.74347 1.31117 4.51221 1.17845 4.21436C1.04746 3.92039 0.995605 3.60128 0.995605 3.25826C0.995605 1.78514 2.19097 0.590942 3.66552 0.590942C5.14007 0.590942 6.33543 1.78514 6.33543 3.25826C6.33543 3.62654 6.03659 3.92509 5.66796 3.92509C5.29932 3.92509 5.00048 3.62654 5.00048 3.25826C5.00048 2.5217 4.4028 1.9246 3.66552 1.9246C2.92824 1.9246 2.33056 2.5217 2.33056 3.25826C2.33056 3.46766 2.36215 3.59146 2.39802 3.67197C2.43217 3.7486 2.48668 3.82338 2.59174 3.9111C2.80358 4.08798 3.10896 4.23895 3.61983 4.49152C3.7236 4.54282 3.83596 4.59836 3.95762 4.65912C3.95976 4.66018 3.9619 4.66124 3.96404 4.66231C4.06208 4.71129 4.16009 4.75942 4.25727 4.80713C4.76491 5.0564 5.24972 5.29446 5.59539 5.58308C5.82407 5.77402 6.01986 6.00527 6.15259 6.30312C6.28358 6.59709 6.33543 6.9162 6.33543 7.25922C6.33543 7.91312 6.14432 8.73277 5.70168 9.32347C5.64876 9.3941 5.59078 9.46328 5.52759 9.5294C5.55073 9.54741 5.57335 9.56561 5.5954 9.58402C5.82408 9.77496 6.01986 10.0062 6.15259 10.3041C6.28358 10.598 6.33543 10.9172 6.33543 11.2602C6.33543 12.7333 5.14007 13.9275 3.66552 13.9275C2.19097 13.9275 0.995605 12.7333 0.995605 11.2602C0.995605 10.8919 1.29445 10.5933 1.66308 10.5933C2.03172 10.5933 2.33056 10.8919 2.33056 11.2602C2.33056 11.9967 2.92824 12.5938 3.66552 12.5938C4.4028 12.5938 5.00048 11.9967 5.00048 11.2602C5.00048 11.0508 4.96889 10.927 4.93302 10.8465C4.89887 10.7698 4.84436 10.6951 4.7393 10.6073C4.52746 10.4305 4.22208 10.2795 3.71121 10.0269C3.60831 9.97605 3.49675 9.92089 3.37627 9.86074L3.36701 9.85613C3.26899 9.80717 3.17099 9.75905 3.07382 9.71134C2.56617 9.46207 2.08132 9.224 1.73564 8.93537C1.50697 8.74443 1.31118 8.51317 1.17845 8.21532C1.04746 7.92135 0.995605 7.60224 0.995605 7.25922C0.995605 6.60532 1.18671 5.78567 1.62936 5.19496C1.68228 5.12434 1.74026 5.05515 1.80346 4.98904ZM3.36256 5.85295C3.14984 5.74768 3.02999 5.75981 2.96932 5.77677C2.89844 5.79659 2.80352 5.85344 2.69803 5.99421C2.47319 6.29426 2.33056 6.80828 2.33056 7.25922C2.33056 7.46862 2.36215 7.59242 2.39802 7.67293C2.43217 7.74955 2.48668 7.82433 2.59174 7.91205C2.80356 8.08892 3.10891 8.23988 3.6197 8.49241L3.62032 8.49272C3.72447 8.54421 3.83717 8.59993 3.95935 8.66094L3.96403 8.66326L3.97073 8.6666C4.18204 8.77067 4.30126 8.75857 4.36172 8.74167C4.4326 8.72185 4.52752 8.665 4.63301 8.52422C4.85785 8.22418 5.00048 7.71016 5.00048 7.25922C5.00048 7.04982 4.96889 6.92602 4.93302 6.84552C4.89888 6.7689 4.84436 6.69412 4.7393 6.6064C4.52749 6.42954 4.22216 6.27859 3.71141 6.02607C3.60665 5.97428 3.4931 5.91814 3.37009 5.8567C3.36906 5.8562 3.36804 5.85569 3.36701 5.85518C3.36553 5.85443 3.36404 5.85369 3.36256 5.85295Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},36419:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 9a6 6 0 0 1 6-6h9a1 1 0 0 1 0 2h-3.057v15a.943.943 0 1 1-1.886 0V5h-2.114v15a.943.943 0 1 1-1.886 0v-5H10a6 6 0 0 1-6-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},46015:(e,t,n)=>{e.exports={attributes:{width:"54",height:"54",viewBox:"0 0 54 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<circle cx="27" cy="27" r="27" fill="black" fill-opacity="0.32"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M24 19.5C24 17.8431 22.6569 16.5 21 16.5C19.3431 16.5 18 17.8431 18 19.5V34.5C18 36.1569 19.3431 37.5 21 37.5C22.6569 37.5 24 36.1569 24 34.5V19.5ZM36 19.5C36 17.8431 34.6569 16.5 33 16.5C31.3431 16.5 30 17.8431 30 19.5V34.5C30 36.1569 31.3431 37.5 33 37.5C34.6569 37.5 36 36.1569 36 34.5V19.5Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},10231:(e,t,n)=>{e.exports={attributes:{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M16.3189 32C25.1555 32 32.3189 24.8366 32.3189 16C32.3189 7.16344 25.1555 0 16.3189 0C7.48235 0 0.318909 7.16344 0.318909 16C0.318909 24.8366 7.48235 32 16.3189 32Z" fill="#00A1B7"/> <rect class="player2" x="18.3189" y="11" width="2" height="10" rx="1" fill="white"/> <rect class="player2" x="12.3189" y="11" width="2" height="10" rx="1" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},26143:(e,t,n)=>{e.exports={attributes:{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C4 0.89543 3.10457 0 2 0C0.89543 0 0 0.89543 0 2V12C0 13.1046 0.89543 14 2 14C3.10457 14 4 13.1046 4 12V2ZM12 2C12 0.89543 11.1046 0 10 0C8.89543 0 8 0.89543 8 2V12C8 13.1046 8.89543 14 10 14C11.1046 14 12 13.1046 12 12V2Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},68278:(e,t,n)=>{e.exports={attributes:{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M16.6472 3.83988C15.6711 2.86334 14.0884 2.86326 13.1123 3.8397L11.8314 5.12111C11.8262 5.12606 11.821 5.13109 11.8159 5.13621C11.8107 5.14139 11.8056 5.14663 11.8006 5.15192L2.74401 14.2117C2.58776 14.368 2.49999 14.58 2.5 14.8011L2.50013 17.2764C2.50014 17.4974 2.58793 17.7094 2.74419 17.8658C2.90046 18.0221 3.11239 18.1099 3.33336 18.1099L5.80776 18.11C6.02873 18.11 6.24064 18.0222 6.39688 17.8659L16.7652 7.49389C17.7413 6.51746 17.7412 4.93426 16.7651 3.95773L16.6472 3.83988ZM12.4055 6.90432L13.7019 8.2007L5.46254 16.443L4.16645 16.443L4.16639 15.1464L12.4055 6.90432ZM14.8802 7.02198L13.5838 5.7256L14.2907 5.01848C14.6161 4.693 15.1436 4.69303 15.469 5.01854L15.5868 5.13639C15.9122 5.4619 15.9122 5.98963 15.5869 6.31511L14.8802 7.02198Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},53686:(e,t,n)=>{e.exports={attributes:{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.00001 3.99999C8.00001 4.56822 7.71289 5.16318 7.22609 5.64769C6.70912 6.16223 6.19432 6.33333 6.00001 6.33333C5.8057 6.33333 5.2909 6.16223 4.77393 5.64769C4.28713 5.16318 4.00001 4.56822 4.00001 3.99999C4.00001 2.5889 5.01218 1.66666 6.00001 1.66666C6.98784 1.66666 8.00001 2.5889 8.00001 3.99999ZM9.33334 3.99999C9.33334 6.02504 7.33334 7.66666 6.00001 7.66666C4.66668 7.66666 2.66668 6.02504 2.66668 3.99999C2.66668 1.97495 4.15906 0.333328 6.00001 0.333328C7.84096 0.333328 9.33334 1.97495 9.33334 3.99999ZM5.05478 9.66666H6.6757C7.55016 9.66666 8.38096 10.0488 8.95005 10.7127C9.27003 11.086 9.4932 11.5324 9.59986 12.0123L9.67119 12.3333H2.32883L2.45863 11.7492C2.53612 11.4005 2.68306 11.071 2.89068 10.7803C3.38989 10.0814 4.1959 9.66666 5.05478 9.66666ZM1.8057 10.0054C2.5552 8.95607 3.7653 8.33333 5.05478 8.33333H6.6757C7.93939 8.33333 9.13999 8.88552 9.96239 9.84499C10.4248 10.3845 10.7473 11.0295 10.9014 11.7231L11.0774 12.5147C11.2087 13.1059 10.7589 13.6667 10.1533 13.6667H1.99928C1.31541 13.6667 0.807406 13.0334 0.95576 12.3658L1.15705 11.46C1.27339 10.9365 1.49399 10.4418 1.8057 10.0054Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},4421:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm8 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm6 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},88398:(e,t,n)=>{e.exports={attributes:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0)"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="#00A1B7"/> <path d="M12.0834 9.16663C10.9622 9.16663 10.4864 10.5939 11.3834 11.2666L11.85 11.6166C11.9969 11.7268 12.0834 11.8997 12.0834 12.0833V14.4166C12.0834 14.6002 11.9969 14.7731 11.85 14.8833L11.3834 15.2333C10.4864 15.906 10.9622 17.3333 12.0834 17.3333H14.4167V20.25C14.4167 20.5721 14.6779 20.8333 15 20.8333C15.3222 20.8333 15.5834 20.5721 15.5834 20.25V17.3333H17.9167C19.0379 17.3333 19.5136 15.906 18.6167 15.2333L18.15 14.8833C18.0031 14.7731 17.9167 14.6002 17.9167 14.4166V12.0833C17.9167 11.8997 18.0031 11.7268 18.15 11.6166L18.6167 11.2666C19.5136 10.5939 19.0379 9.16663 17.9167 9.16663H12.0834ZM12.0834 10.3333H17.9167L17.45 10.6833C17.0094 11.0138 16.75 11.5325 16.75 12.0833V14.4166C16.75 14.9675 17.0094 15.4861 17.45 15.8166L17.9167 16.1666H12.0834L12.55 15.8166C12.9907 15.4861 13.25 14.9675 13.25 14.4166V12.0833C13.25 11.5325 12.9907 11.0138 12.55 10.6833L12.0834 10.3333Z" fill="#F5F8FA"/> </g> <defs> <clipPath id="clip0"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="white"/> </clipPath> </defs>'};var r=n(5813);e.exports=r(e.exports)},7393:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.33333 0.666667C1.33333 1.03486 1.03486 1.33333 0.666667 1.33333C0.298477 1.33333 0 1.03486 0 0.666667C0 0.298477 0.298477 0 0.666667 0C1.03486 0 1.33333 0.298477 1.33333 0.666667ZM4 0.666667C4 1.03486 3.70152 1.33333 3.33333 1.33333C2.96514 1.33333 2.66667 1.03486 2.66667 0.666667C2.66667 0.298477 2.96514 0 3.33333 0C3.70152 0 4 0.298477 4 0.666667ZM9.33333 0.666667C9.33333 1.03486 9.03486 1.33333 8.66667 1.33333C8.29848 1.33333 8 1.03486 8 0.666667C8 0.298477 8.29848 0 8.66667 0C9.03486 0 9.33333 0.298477 9.33333 0.666667ZM6 1.33333C6.36819 1.33333 6.66667 1.03486 6.66667 0.666667C6.66667 0.298477 6.36819 0 6 0C5.63181 0 5.33333 0.298477 5.33333 0.666667C5.33333 1.03486 5.63181 1.33333 6 1.33333ZM0.666667 6.66667C1.03486 6.66667 1.33333 6.36819 1.33333 6C1.33333 5.63181 1.03486 5.33333 0.666667 5.33333C0.298477 5.33333 0 5.63181 0 6C0 6.36819 0.298477 6.66667 0.666667 6.66667ZM1.33333 3.33333C1.33333 3.70152 1.03486 4 0.666667 4C0.298477 4 0 3.70152 0 3.33333C0 2.96514 0.298477 2.66667 0.666667 2.66667C1.03486 2.66667 1.33333 2.96514 1.33333 3.33333ZM0.666667 12C1.03486 12 1.33333 11.7015 1.33333 11.3333C1.33333 10.9651 1.03486 10.6667 0.666667 10.6667C0.298477 10.6667 0 10.9651 0 11.3333C0 11.7015 0.298477 12 0.666667 12ZM1.33333 8.66667C1.33333 9.03486 1.03486 9.33333 0.666667 9.33333C0.298477 9.33333 0 9.03486 0 8.66667C0 8.29848 0.298477 8 0.666667 8C1.03486 8 1.33333 8.29848 1.33333 8.66667ZM3.33333 12C3.70152 12 4 11.7015 4 11.3333C4 10.9651 3.70152 10.6667 3.33333 10.6667C2.96514 10.6667 2.66667 10.9651 2.66667 11.3333C2.66667 11.7015 2.96514 12 3.33333 12ZM9.33333 11.3333C9.33333 11.7015 9.03486 12 8.66667 12C8.29848 12 8 11.7015 8 11.3333C8 10.9651 8.29848 10.6667 8.66667 10.6667C9.03486 10.6667 9.33333 10.9651 9.33333 11.3333ZM11.3333 12C11.7015 12 12 11.7015 12 11.3333C12 10.9651 11.7015 10.6667 11.3333 10.6667C10.9651 10.6667 10.6667 10.9651 10.6667 11.3333C10.6667 11.7015 10.9651 12 11.3333 12ZM6.66667 11.3333C6.66667 11.7015 6.36819 12 6 12C5.63181 12 5.33333 11.7015 5.33333 11.3333C5.33333 10.9651 5.63181 10.6667 6 10.6667C6.36819 10.6667 6.66667 10.9651 6.66667 11.3333ZM11.3333 9.33333C11.7015 9.33333 12 9.03486 12 8.66667C12 8.29848 11.7015 8 11.3333 8C10.9651 8 10.6667 8.29848 10.6667 8.66667C10.6667 9.03486 10.9651 9.33333 11.3333 9.33333ZM12 6C12 6.36819 11.7015 6.66667 11.3333 6.66667C10.9651 6.66667 10.6667 6.36819 10.6667 6C10.6667 5.63181 10.9651 5.33333 11.3333 5.33333C11.7015 5.33333 12 5.63181 12 6ZM11.3333 1.33333C11.7015 1.33333 12 1.03486 12 0.666667C12 0.298477 11.7015 0 11.3333 0C10.9651 0 10.6667 0.298477 10.6667 0.666667C10.6667 1.03486 10.9651 1.33333 11.3333 1.33333ZM12 3.33333C12 3.70152 11.7015 4 11.3333 4C10.9651 4 10.6667 3.70152 10.6667 3.33333C10.6667 2.96514 10.9651 2.66667 11.3333 2.66667C11.7015 2.66667 12 2.96514 12 3.33333ZM2.66667 3.33333C2.66667 2.96514 2.96514 2.66667 3.33333 2.66667H8.66667C9.03486 2.66667 9.33333 2.96514 9.33333 3.33333C9.33333 3.70152 9.03486 4 8.66667 4H6.66667V8.66667C6.66667 9.03486 6.36819 9.33333 6 9.33333C5.63181 9.33333 5.33333 9.03486 5.33333 8.66667V4H3.33333C2.96514 4 2.66667 3.70152 2.66667 3.33333Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},69499:(e,t,n)=>{e.exports={attributes:{width:"19",height:"22",viewBox:"0 0 19 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M18.1667 9.55666C19.2778 10.1982 19.2778 11.8019 18.1667 12.4434L3.16666 21.1037C2.05554 21.7452 0.666656 20.9433 0.666656 19.6603L0.666657 2.33978C0.666657 1.05678 2.05555 0.254901 3.16666 0.896401L18.1667 9.55666Z" fill="#00BCD4"/>'};var r=n(5813);e.exports=r(e.exports)},51195:(e,t,n)=>{e.exports={attributes:{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M16.3189 32C25.1555 32 32.3189 24.8366 32.3189 16C32.3189 7.16344 25.1555 0 16.3189 0C7.48235 0 0.318909 7.16344 0.318909 16C0.318909 24.8366 7.48235 32 16.3189 32Z" fill="#00A1B7"/> <path class="player2" d="M23.0538 15.5606C23.4073 15.7559 23.4073 16.2441 23.0538 16.4394L13.1141 21.9313C12.7607 22.1265 12.3189 21.8825 12.3189 21.4919L12.3189 10.5081C12.3189 10.1175 12.7607 9.87346 13.1141 10.0687L23.0538 15.5606Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},1250:(e,t,n)=>{e.exports={attributes:{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.53688 0.978013C0.871153 0.55437 0 1.03258 0 1.82167V12.1783C0 12.9674 0.87115 13.4456 1.53688 13.022L9.67424 7.84366C10.2917 7.45071 10.2917 6.54929 9.67425 6.15634L1.53688 0.978013Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},25637:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M8 0C8.55228 0 9 0.447714 9 0.999999L9.00001 12.5858L14.2929 7.29289C14.6834 6.90237 15.3166 6.90237 15.7071 7.29289C16.0976 7.68342 16.0976 8.31658 15.7071 8.70711L8.71049 15.7037C8.69991 15.7144 8.68909 15.7249 8.67804 15.735C8.59151 15.815 8.49429 15.8768 8.39122 15.9206C8.27192 15.9713 8.14074 15.9996 8.00301 16L8.00002 16L7.99078 16C7.86178 15.9988 7.73861 15.9732 7.62569 15.9276C7.50456 15.8788 7.39106 15.8053 7.29289 15.7071L0.292893 8.70711C-0.0976311 8.31658 -0.0976311 7.68342 0.292893 7.29289C0.683417 6.90237 1.31658 6.90237 1.70711 7.29289L7.00001 12.5858L7 1C7 0.447716 7.44771 0 8 0Z" fill="white"/>   <path class="graphic" d="M1 18C0.447715 18 7.45058e-09 18.4477 7.45058e-09 19C7.45058e-09 19.5523 0.447715 20 1 20L15 20C15.5523 20 16 19.5523 16 19C16 18.4477 15.5523 18 15 18L1 18Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},47137:(e,t,n)=>{e.exports={attributes:{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M12.2292 3.14583C12.2292 2.6856 11.8562 2.3125 11.3959 2.3125C10.9357 2.3125 10.5626 2.6856 10.5626 3.14583L10.5626 18.1458C10.5626 18.6061 10.9357 18.9792 11.3959 18.9792C11.8562 18.9792 12.2292 18.6061 12.2292 18.1458V3.14583Z" fill="white"/>   <path d="M8.89592 3.97917H4.72925C3.34854 3.97917 2.22925 5.09845 2.22925 6.47917V14.8125C2.22925 16.1932 3.34854 17.3125 4.72925 17.3125H8.89592C9.35615 17.3125 9.72925 16.9394 9.72925 16.4792C9.72925 16.0189 9.35615 15.6458 8.89592 15.6458H4.72925C4.26901 15.6458 3.89591 15.2727 3.89591 14.8125V6.47917C3.89591 6.01893 4.26901 5.64583 4.72925 5.64583H8.89592C9.35615 5.64583 9.72925 5.27274 9.72925 4.8125C9.72925 4.35226 9.35615 3.97917 8.89592 3.97917Z" fill="white"/>   <path d="M16.3959 15.6458H13.8959C13.4357 15.6458 13.0626 16.0189 13.0626 16.4792C13.0626 16.9394 13.4357 17.3125 13.8959 17.3125H16.3959C17.7766 17.3125 18.8959 16.1932 18.8959 14.8125V6.47917C18.8959 5.09845 17.7766 3.97917 16.3959 3.97917H13.8959C13.4357 3.97917 13.0626 4.35226 13.0626 4.8125C13.0626 5.27274 13.4357 5.64583 13.8959 5.64583H16.3959C16.8562 5.64583 17.2292 6.01893 17.2292 6.47917V14.8125C17.2292 15.2727 16.8562 15.6458 16.3959 15.6458Z" fill="white"/>   <path d="M13.8959 7.3125C13.4357 7.3125 13.0626 7.6856 13.0626 8.14583C13.0626 8.60607 13.4357 8.97917 13.8959 8.97917H15.5626C16.0228 8.97917 16.3959 8.60607 16.3959 8.14583C16.3959 7.6856 16.0228 7.3125 15.5626 7.3125H13.8959Z" fill="white"/>   <path d="M13.0626 13.1458C13.0626 12.6856 13.4357 12.3125 13.8959 12.3125H15.5626C16.0228 12.3125 16.3959 12.6856 16.3959 13.1458C16.3959 13.6061 16.0228 13.9792 15.5626 13.9792H13.8959C13.4357 13.9792 13.0626 13.6061 13.0626 13.1458Z" fill="white"/>   <path d="M13.8959 9.8125C13.4357 9.8125 13.0626 10.1856 13.0626 10.6458C13.0626 11.1061 13.4357 11.4792 13.8959 11.4792H15.5626C16.0228 11.4792 16.3959 11.1061 16.3959 10.6458C16.3959 10.1856 16.0228 9.8125 15.5626 9.8125H13.8959Z" fill="white"/>   <path d="M8.9625 10.4661C9.22917 10.62 9.22917 11.005 8.9625 11.1589L6.4125 12.6312C6.14583 12.7851 5.8125 12.5927 5.8125 12.2847V9.34026C5.8125 9.03234 6.14583 8.83989 6.4125 8.99385L8.9625 10.4661Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},36520:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M9 7h4a1 1 0 0 1 0 2H9v4a1 1 0 0 1-2 0V9H3a1 1 0 1 1 0-2h4V3a1 1 0 1 1 2 0v4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},14211:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"10",viewBox:"0 0 21 10"},content:'<g fill="none" fill-rule="evenodd">         <path fill="#ED5454" d="M3 0h1v10H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z"/>         <path fill="#8BC34A" d="M18 0h-1v10h1a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3z"/>         <path fill="#FDA639" d="M4 0h13v10H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},49962:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"10",viewBox:"0 0 21 10"},content:'<g fill="none" fill-rule="evenodd">         <rect width="21" height="10" fill="#F5F5F5" rx="3"/>         <path fill="#8BC34A" d="M3 0h13v10H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},54958:(e,t,n)=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.89543 2 2 2.89543 2 4V6C2 7.10457 2.89543 8 4 8H20C21.1046 8 22 7.10457 22 6V4C22 2.89543 21.1046 2 20 2H4ZM8 4H20V6H8V4Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 11C2 9.89543 2.89543 9 4 9H20C21.1046 9 22 9.89543 22 11V13C22 14.1046 21.1046 15 20 15H4C2.89543 15 2 14.1046 2 13V11ZM20 11H12V13H20V11Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 16.8954 2.89543 16 4 16H20C21.1046 16 22 16.8954 22 18V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V18ZM16 18H20V20H16V18Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},38312:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M11.375 4.37437L10.5059 5.24354L8.75586 3.49354L9.62503 2.62437C9.87003 2.37937 10.185 2.2627 10.5 2.2627C10.815 2.2627 11.13 2.37937 11.375 2.62437C11.8592 3.10854 11.8592 3.8902 11.375 4.37437Z" fill="black"/>   <path class="graphic" d="M10.0967 5.65788L3.79086 11.9579C3.30669 12.442 2.52503 12.442 2.04086 11.9579C1.55669 11.4737 1.55669 10.692 2.04086 10.2079L8.34672 3.90788L10.0967 5.65788Z" fill="black"/>   <path class="graphic" d="M5.80511 2.04197L6.04427 1.23113C6.06761 1.1553 6.04427 1.07363 5.99177 1.0153C5.93927 0.956966 5.84594 0.933633 5.77011 0.956966L4.95928 1.19613L4.14845 0.956966C4.07261 0.933633 3.99095 0.956966 3.93261 1.00947C3.87428 1.0678 3.85678 1.14947 3.88011 1.2253L4.11345 2.04197L3.87428 2.8528C3.85095 2.92863 3.87428 3.0103 3.92678 3.06863C3.98511 3.12697 4.06678 3.14447 4.14261 3.12113L4.95928 2.8878L5.77011 3.12697C5.79345 3.1328 5.81095 3.13863 5.83427 3.13863C5.89261 3.13863 5.94511 3.1153 5.99177 3.07447C6.05011 3.01613 6.06761 2.93447 6.04427 2.85863L5.80511 2.04197Z" fill="black"/>   <path class="graphic" d="M3.47113 5.54197L3.71029 4.73113C3.73363 4.65529 3.71029 4.57363 3.65779 4.5153C3.59946 4.45697 3.51779 4.43947 3.44196 4.4628L2.62529 4.69613L1.81446 4.45697C1.73862 4.43363 1.65696 4.45697 1.59863 4.50947C1.54029 4.5678 1.52279 4.64947 1.54613 4.7253L1.77946 5.54197L1.54029 6.35279C1.51696 6.42863 1.54029 6.51029 1.59279 6.56863C1.65113 6.62696 1.73279 6.64446 1.80862 6.62113L2.61946 6.38196L3.43029 6.62113C3.44779 6.62696 3.47113 6.62696 3.49446 6.62696C3.55279 6.62696 3.60529 6.60363 3.65196 6.56279C3.71029 6.50446 3.72779 6.42279 3.70446 6.34696L3.47113 5.54197Z" fill="black"/>   <path class="graphic" d="M12.2202 8.45834L12.4593 7.6475C12.4827 7.57167 12.4593 7.49 12.4068 7.43167C12.3485 7.37334 12.2668 7.35584 12.191 7.37917L11.3802 7.61834L10.5693 7.37917C10.4935 7.35584 10.4118 7.37917 10.3535 7.43167C10.2952 7.49 10.2777 7.57167 10.301 7.6475L10.5402 8.45834L10.301 9.26917C10.2777 9.34501 10.301 9.42667 10.3535 9.485C10.4118 9.54334 10.4935 9.56084 10.5693 9.5375L11.3802 9.29834L12.191 9.5375C12.2085 9.54334 12.2318 9.54334 12.2552 9.54334C12.3135 9.54334 12.366 9.52 12.4127 9.47917C12.471 9.42084 12.4885 9.33917 12.4652 9.26334L12.2202 8.45834Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},40286:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphics" fill="#AEB7B8" fill-rule="evenodd" d="M13.333 8A5.333 5.333 0 1 1 2.667 8a5.333 5.333 0 0 1 10.666 0zm1.334 0A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0zM6.998 5.735a1.406 1.406 0 0 0-.331.932.667.667 0 0 1-1.334 0c0-.642.214-1.306.669-1.818C6.468 4.324 7.152 4 8 4c1.687 0 2.667 1.357 2.667 2.667 0 .417-.106.781-.372 1.116-.232.292-.565.532-.925.772-.472.314-.624.498-.673.58-.026.042-.03.05-.03.198a.667.667 0 0 1-1.334 0v-.01c0-.187 0-.507.22-.874.201-.335.549-.651 1.077-1.004.369-.246.535-.383.621-.491.052-.065.082-.125.082-.287 0-.69-.495-1.334-1.333-1.334-.486 0-.801.176-1.002.402zm1.669 5.598a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0z"/>'};var r=n(5813);e.exports=r(e.exports)},67308:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7.608 13.954a9.589 9.589 0 0 1-1.255 1.265 7.536 7.536 0 0 1-1.765 1.118 1 1 0 1 0 .824 1.822 9.455 9.455 0 0 0 2.235-1.416C9.639 15.051 11 12.969 11 10a4 4 0 1 0-3.392 3.954zm8.745 1.265a9.589 9.589 0 0 0 1.255-1.265A4 4 0 1 1 21 10c0 2.969-1.361 5.051-3.353 6.743a9.455 9.455 0 0 1-2.235 1.416.999.999 0 1 1-.824-1.822 7.536 7.536 0 0 0 1.765-1.118z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},8507:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#00a1b7" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},80764:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#AEB7B8" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},98763:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#e8e8e8" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},55009:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#ed5454" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71138:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#00a1b7" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},85625:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#AEB7B8" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},16030:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#e8e8e8" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},61335:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#ed5454" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},37322:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#00a1b7" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},75851:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#AEB7B8" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},4735:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#e8e8e8" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},76936:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#fda639" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},14698:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0002 32C24.8368 32 32.0002 24.8366 32.0002 16C32.0002 7.16344 24.8368 0 16.0002 0C7.16369 0 0.000244141 7.16344 0.000244141 16C0.000244141 24.8366 7.16369 32 16.0002 32Z" fill="#00A1B7"/> <rect x="11.0002" y="11" width="10" height="10" rx="5" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},20065:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.58963 3.36764C4.85564 3.10011 5.28727 3.10011 5.55328 3.36764C5.81876 3.63464 5.81876 4.06716 5.55328 4.33416L4.65667 5.23596H10.5572C12.8277 5.23596 14.6667 7.0869 14.6667 9.36814C14.6667 11.6494 12.8277 13.5003 10.5572 13.5003H5.75717C5.3802 13.5003 5.07622 13.1932 5.07622 12.8164C5.07622 12.4396 5.3802 12.1325 5.75717 12.1325H10.5572C12.0737 12.1325 13.3048 10.8958 13.3048 9.36814C13.3048 7.84052 12.0737 6.60377 10.5572 6.60377H4.65667L5.55328 7.50557C5.81876 7.77258 5.81876 8.20506 5.55328 8.47207C5.28727 8.73961 4.85564 8.73961 4.58963 8.47207L2.53249 6.40312C2.267 6.13612 2.267 5.70361 2.53249 5.43661L4.58963 3.36764Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},88170:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z" fill="#00A1B7"/> <path d="M15.3333 9.33337C14.2288 9.33337 13.3333 10.2288 13.3333 11.3334V12H11.3333C10.9651 12 10.6667 12.2985 10.6667 12.6667C10.6667 13.0349 10.9651 13.3334 11.3333 13.3334V20.6667C11.3333 21.7713 12.2288 22.6667 13.3333 22.6667H18.6667C19.7712 22.6667 20.6667 21.7713 20.6667 20.6667V13.3334C21.0348 13.3334 21.3333 13.0349 21.3333 12.6667C21.3333 12.2985 21.0348 12 20.6667 12H18.6667V11.3334C18.6667 10.2288 17.7712 9.33337 16.6667 9.33337H15.3333ZM17.3333 12H14.6667V11.3334C14.6667 10.9652 14.9651 10.6667 15.3333 10.6667H16.6667C17.0348 10.6667 17.3333 10.9652 17.3333 11.3334V12ZM12.6667 13.3334L19.3333 13.3334V20.6667C19.3333 21.0349 19.0348 21.3334 18.6667 21.3334H13.3333C12.9651 21.3334 12.6667 21.0349 12.6667 20.6667V13.3334ZM15.3333 15.3334V19.3334C15.3333 19.7016 15.0348 20 14.6667 20C14.2985 20 14 19.7016 14 19.3334V15.3334C14 14.9652 14.2985 14.6667 14.6667 14.6667C15.0348 14.6667 15.3333 14.9652 15.3333 15.3334ZM17.3333 14.6667C16.9651 14.6667 16.6667 14.9652 16.6667 15.3334V19.3334C16.6667 19.7016 16.9651 20 17.3333 20C17.7015 20 18 19.7016 18 19.3334V15.3334C18 14.9652 17.7015 14.6667 17.3333 14.6667Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},36039:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.66683 4C4.29864 4 4.00016 4.29848 4.00016 4.66667C4.00016 5.03486 4.29864 5.33333 4.66683 5.33333H9.3335C10.5761 5.33333 11.6201 6.18318 11.9162 7.33333H11.0819C10.728 7.33333 10.537 7.7762 10.7674 8.06287L12.1007 9.72221C12.3983 10.0926 12.9354 10.0926 13.233 9.72221L14.5663 8.06287C14.7966 7.7762 14.6057 7.33333 14.2518 7.33333H13.2782C12.9608 5.44152 11.3155 4 9.3335 4H4.66683Z" fill="black"/>   <path class="graphic" d="M12.0002 11.3333C12.0002 11.7015 11.7017 12 11.3335 12H6.66683C4.68483 12 3.03952 10.5585 2.72213 8.66667H1.74857C1.39463 8.66667 1.20369 8.2238 1.43403 7.93713L2.76732 6.27779C3.06493 5.9074 3.60207 5.9074 3.89967 6.27779L5.23296 7.93713C5.4633 8.2238 5.27236 8.66667 4.91842 8.66667H4.08417C4.3802 9.81682 5.42427 10.6667 6.66683 10.6667H11.3335C11.7017 10.6667 12.0002 10.9651 12.0002 11.3333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},91323:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M12 6v6H6zM4 4h6l-6 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61762:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164Z" fill="#00A1B7"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#00A1B7"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 33C19.5 37.9706 15.4706 42 10.5 42C5.52944 42 1.5 37.9706 1.5 33C1.5 28.0294 5.52944 24 10.5 24C15.4706 24 19.5 28.0294 19.5 33ZM12.8625 30.6375C12.8625 31.9423 11.8048 33 10.5 33C9.19523 33 8.1375 31.9423 8.1375 30.6375C8.1375 29.3327 9.19523 28.275 10.5 28.275C11.8048 28.275 12.8625 29.3327 12.8625 30.6375ZM13.8718 37.0538C14.3662 36.8479 14.5539 36.2508 14.224 35.829C13.3592 34.7233 12.0126 34.0125 10.5 34.0125C8.98738 34.0125 7.64079 34.7233 6.77596 35.829C6.44606 36.2508 6.6338 36.8479 7.12812 37.0538C8.16623 37.4862 9.30522 37.725 10.5 37.725C11.6947 37.725 12.8337 37.4862 13.8718 37.0538Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},80562:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164Z" fill="#A5B3BD"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#A5B3BD"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 33C19.5 37.9706 15.4706 42 10.5 42C5.52944 42 1.5 37.9706 1.5 33C1.5 28.0294 5.52944 24 10.5 24C15.4706 24 19.5 28.0294 19.5 33ZM12.8625 30.6375C12.8625 31.9423 11.8048 33 10.5 33C9.19523 33 8.1375 31.9423 8.1375 30.6375C8.1375 29.3327 9.19523 28.275 10.5 28.275C11.8048 28.275 12.8625 29.3327 12.8625 30.6375ZM13.8718 37.0538C14.3662 36.8479 14.5539 36.2508 14.224 35.829C13.3592 34.7233 12.0126 34.0125 10.5 34.0125C8.98738 34.0125 7.64079 34.7233 6.77596 35.829C6.44606 36.2508 6.6338 36.8479 7.12812 37.0538C8.16623 37.4862 9.30522 37.725 10.5 37.725C11.6947 37.725 12.8337 37.4862 13.8718 37.0538Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},77142:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#00A1B7"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},30315:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#A5B3BD"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},26350:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <circle cx="9.5" cy="6.5" r="5" stroke="#5C6061"/>         <path class="graphic" stroke="#5C6061" stroke-linecap="round" stroke-width="2" d="M5 11l-2.5 2.5"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},31665:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M10.667 3.333a1.333 1.333 0 1 0 0 2.667 1.333 1.333 0 0 0 0-2.667zM8 4.667a2.667 2.667 0 1 1 .487 1.537l-1.356.775c.13.314.202.659.202 1.021 0 .362-.072.707-.202 1.021l1.356.775a2.667 2.667 0 1 1-.474 1.265l-1.694-.968a2.667 2.667 0 1 1 0-4.187l1.695-.967A2.712 2.712 0 0 1 8 4.667zm-3.333 2a1.333 1.333 0 1 0 0 2.666 1.333 1.333 0 0 0 0-2.666zm4.666 4.666a1.333 1.333 0 1 1 2.667 0 1.333 1.333 0 0 1-2.667 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71571:(e,t,n)=>{e.exports={attributes:{width:"19",height:"17",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M16.4592 11C16.3183 11 16.1852 11.0647 16.0981 11.1755C16.0819 11.1962 16.0697 11.2148 16.0612 11.23C16.0942 11.3176 16.134 11.3773 16.1718 11.4124C16.1919 11.4311 16.2178 11.4492 16.2583 11.4646C16.2998 11.4803 16.3751 11.5 16.5 11.5C17.1025 11.5 17.6161 11.654 18.0266 11.942C18.4313 12.2259 18.6665 12.5912 18.8005 12.904C19.1429 13.7037 18.7843 14.4426 18.5198 14.8273C17.5437 16.2471 15.5124 16.4183 14.3124 15.1819L14.2824 15.151C13.8978 14.7547 13.9072 14.1216 14.3035 13.737C14.6998 13.3523 15.3329 13.3618 15.7176 13.7581L15.7476 13.789C16.0682 14.1193 16.6109 14.0736 16.8717 13.6942C16.8916 13.6653 16.907 13.6392 16.9184 13.6169C16.9059 13.6016 16.8924 13.5894 16.878 13.5793C16.8514 13.5606 16.7533 13.5 16.5 13.5C15.7988 13.5 15.2293 13.2667 14.8105 12.8776C14.4138 12.5091 14.2197 12.0641 14.1223 11.7345C13.9022 10.9897 14.2163 10.3334 14.5255 9.93987C14.9917 9.34648 15.7046 9 16.4592 9H16.5432C16.8963 9 17.2459 9.07108 17.571 9.20902L18.0156 9.3976C18.524 9.61329 18.7613 10.2003 18.5456 10.7087C18.3299 11.2172 17.7429 11.4545 17.2344 11.2388L16.7899 11.0502C16.7119 11.0171 16.628 11 16.5432 11H16.4592Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},37620:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm0 1A6 6 0 1 1 8 2a6 6 0 0 1 0 12zM6 9h4c0 1.333-.667 2-2 2s-2-.667-2-2zm4-1c-.552 0-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5S10.552 8 10 8zM6 8c-.552 0-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5S6.552 8 6 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},17884:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#FFF" fill-rule="evenodd" d="M2.667 3.333a.667.667 0 0 0 0 1.334H8a.667.667 0 1 0 0-1.334H2.667zM2 8c0-.368.298-.667.667-.667h8a.667.667 0 1 1 0 1.334h-8A.667.667 0 0 1 2 8zm0 4c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 12z"/>'};var r=n(5813);e.exports=r(e.exports)},59681:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#FFF" fill-rule="evenodd" d="M2 4c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 4zm0 4c0-.368.298-.667.667-.667h8a.667.667 0 1 1 0 1.334h-8A.667.667 0 0 1 2 8zm.667 3.333a.667.667 0 1 0 0 1.334H8a.667.667 0 1 0 0-1.334H2.667z"/>'};var r=n(5813);e.exports=r(e.exports)},24570:(e,t,n)=>{e.exports={attributes:{width:"19",height:"14",viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" d="M1.13867 8.89784C0.437787 7.7297 0.437786 6.27037 1.13867 5.10223C1.36726 4.72125 1.75537 4.46355 2.19521 4.40072L4.5262 4.06772C4.82768 4.02465 5.09654 3.85521 5.26546 3.60182L5.63256 3.05118C5.9233 2.61507 6.06869 2.39699 6.23034 2.20094C6.80071 1.50925 7.54656 0.983633 8.38979 0.679139C8.62879 0.592836 8.88304 0.529272 9.39155 0.402145L10.0046 0.248883C10.3447 0.163862 10.5147 0.121352 10.6486 0.163014C10.7648 0.199186 10.8638 0.276507 10.9271 0.38048C11 0.500235 11 0.675509 11 1.02606V12.974C11 13.3246 11 13.4998 10.9271 13.6196C10.8638 13.7236 10.7648 13.8009 10.6486 13.8371C10.5147 13.8787 10.3447 13.8362 10.0046 13.7512L9.39155 13.5979C8.88304 13.4708 8.62879 13.4072 8.38979 13.3209C7.54656 13.0164 6.80071 12.4908 6.23034 11.7991C6.06868 11.6031 5.92331 11.385 5.63256 10.9489L5.26546 10.3983C5.09654 10.1449 4.82768 9.97542 4.5262 9.93235L2.19521 9.59935C1.75537 9.53652 1.36726 9.27883 1.13867 8.89784Z" fill="#00A1B7"/> <path class="player" d="M18.7071 4.29293C19.0976 4.68345 19.0976 5.31662 18.7071 5.70714L17.4142 7.00004L18.7071 8.29293C19.0976 8.68345 19.0976 9.31662 18.7071 9.70714C18.3166 10.0977 17.6834 10.0977 17.2929 9.70714L16 8.41425L14.7071 9.70714C14.3166 10.0977 13.6834 10.0977 13.2929 9.70714C12.9024 9.31662 12.9024 8.68345 13.2929 8.29293L14.5858 7.00004L13.2929 5.70714C12.9024 5.31662 12.9024 4.68345 13.2929 4.29293C13.6834 3.90241 14.3166 3.90241 14.7071 4.29293L16 5.58582L17.2929 4.29293C17.6834 3.90241 18.3166 3.90241 18.7071 4.29293Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},10653:(e,t,n)=>{e.exports={attributes:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" d="M1.13867 8.89784C0.437787 7.7297 0.437786 6.27037 1.13867 5.10223C1.36726 4.72125 1.75537 4.46355 2.19521 4.40072L4.5262 4.06772C4.82768 4.02465 5.09654 3.85521 5.26546 3.60182L5.63256 3.05118C5.92331 2.61505 6.06868 2.39699 6.23034 2.20094C6.80071 1.50925 7.54656 0.983633 8.38979 0.679139C8.62879 0.592835 8.88304 0.529272 9.39155 0.402145L10.0046 0.248883C10.3447 0.163862 10.5147 0.121352 10.6486 0.163014C10.7648 0.199186 10.8638 0.276507 10.9271 0.38048C11 0.500235 11 0.675509 11 1.02606V12.974C11 13.3246 11 13.4998 10.9271 13.6196C10.8638 13.7236 10.7648 13.8009 10.6486 13.8371C10.5147 13.8787 10.3447 13.8362 10.0046 13.7512L9.39155 13.5979C8.88304 13.4708 8.62879 13.4072 8.38979 13.3209C7.54656 13.0164 6.80071 12.4908 6.23034 11.7991C6.06868 11.6031 5.92331 11.385 5.63256 10.9489L5.26546 10.3983C5.09654 10.1449 4.82768 9.97542 4.5262 9.93235L2.19521 9.59935C1.75537 9.53652 1.36726 9.27883 1.13867 8.89784Z" fill="#00A1B7"/> <path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M13.0052 2.93417C13.2981 2.64128 13.773 2.64128 14.0658 2.93417C15.1386 4.00696 15.744 5.46025 15.7499 6.97738C15.7559 8.49452 15.1621 9.95254 14.0978 11.0337C13.8072 11.3289 13.3323 11.3327 13.0371 11.0421C12.7419 10.7515 12.7382 10.2767 13.0288 9.98147C13.8154 9.18232 14.2544 8.10465 14.25 6.98329C14.2455 5.86193 13.7981 4.78776 13.0052 3.99483C12.7123 3.70194 12.7123 3.22707 13.0052 2.93417Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},42941:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M8.81935 3.19213C9.20847 2.07268 10.7916 2.07267 11.1808 3.19213L12.5561 7.14875L16.7441 7.2341C17.929 7.25824 18.4182 8.76392 17.4738 9.47993L14.1358 12.0106L15.3488 16.02C15.692 17.1543 14.4112 18.0849 13.4384 17.408L10.0001 15.0154L6.56175 17.408C5.58895 18.0849 4.30813 17.1544 4.65132 16.02L5.86431 12.0106L2.52634 9.47993C1.58192 8.76393 2.07114 7.25824 3.25605 7.2341L7.44402 7.14875L8.81935 3.19213ZM10.0001 4.87159L8.9231 7.96984C8.75144 8.46368 8.29058 8.79851 7.76786 8.80917L4.48845 8.876L7.10227 10.8577C7.51889 11.1735 7.69493 11.7153 7.54353 12.2157L6.5937 15.3553L9.28608 13.4817C9.71522 13.1831 10.2849 13.1831 10.714 13.4817L13.4064 15.3553L12.4566 12.2157C12.3052 11.7153 12.4812 11.1735 12.8978 10.8577L15.5116 8.876L12.2322 8.80917C11.7095 8.79851 11.2487 8.46368 11.077 7.96984L10.0001 4.87159Z" fill="black" fill-opacity="0.54"/>'};var r=n(5813);e.exports=r(e.exports)},57551:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M3.10057 3.88063C3.22336 3.98697 3.22336 4.17746 3.10057 4.2838L1.77458 5.43214C1.60187 5.58171 1.33334 5.45903 1.33334 5.23056V2.93387C1.33334 2.7054 1.60187 2.58272 1.77458 2.73229L3.10057 3.88063ZM6.66667 3.41555C6.29848 3.41555 6 3.71402 6 4.08221C6 4.4504 6.29848 4.74888 6.66667 4.74888H14C14.3682 4.74888 14.6667 4.4504 14.6667 4.08221C14.6667 3.71402 14.3682 3.41555 14 3.41555H6.66667ZM6.66667 7.41555C6.29848 7.41555 6 7.71402 6 8.08221C6 8.4504 6.29848 8.74888 6.66667 8.74888H14C14.3682 8.74888 14.6667 8.4504 14.6667 8.08221C14.6667 7.71402 14.3682 7.41555 14 7.41555H6.66667ZM6 12.0822C6 11.714 6.29848 11.4155 6.66667 11.4155H14C14.3682 11.4155 14.6667 11.714 14.6667 12.0822C14.6667 12.4504 14.3682 12.7489 14 12.7489H6.66667C6.29848 12.7489 6 12.4504 6 12.0822Z" fill="#737373"/>   <path class="graphic" d="M5 2.66669C5.18409 2.66669 5.33333 2.81593 5.33333 3.00002V5.00002C5.33333 5.18412 5.18409 5.33335 5 5.33335C4.81591 5.33335 4.66667 5.18412 4.66667 5.00002V3.80476L4.56904 3.90239C4.43886 4.03256 4.22781 4.03256 4.09763 3.90239C3.96746 3.77221 3.96746 3.56116 4.09763 3.43098L4.7643 2.76432C4.82462 2.704 4.90795 2.66669 5 2.66669Z" fill="#737373"/>'};var r=n(5813);e.exports=r(e.exports)},14345:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0002 32C24.8368 32 32.0002 24.8366 32.0002 16C32.0002 7.16344 24.8368 0 16.0002 0C7.16369 0 0.000244141 7.16344 0.000244141 16C0.000244141 24.8366 7.16369 32 16.0002 32Z" fill="#00A1B7"/> <rect x="11.0002" y="11" width="10" height="10" rx="1" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},27501:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12.073 4.245c-2.44 0-4.145 1.665-4.145 3.409 0 .866.421 1.713 1.144 2.346H6.526a4.867 4.867 0 0 1-.598-2.346c0-3.127 2.902-5.409 6.145-5.409 2.685 0 5.082 1.533 5.877 3.821a1 1 0 0 1-1.889.656c-.471-1.355-2.011-2.477-3.988-2.477zm-.345 8.809a.955.955 0 0 0 .132.008c2.44 0 4.145 1.666 4.145 3.409 0 1.744-1.705 3.409-4.145 3.409-1.164 0-2.196-.395-2.936-1.007a3.354 3.354 0 0 1-1.052-1.47 1 1 0 1 0-1.889.656 5.36 5.36 0 0 0 1.666 2.355c1.112.92 2.599 1.466 4.211 1.466 3.243 0 6.145-2.282 6.145-5.409 0-1.354-.544-2.55-1.426-3.471H19a1 1 0 0 0 0-2H5a1 1 0 0 0 0 2h6.146c.192.026.386.044.582.054z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},62428:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.00004 6C4.00004 3.79086 5.7909 2 8.00004 2C10.2092 2 12 3.79086 12 6V6.66667C12.7364 6.66667 13.3334 7.26362 13.3334 8V9.33333C13.3334 9.84269 13.0478 10.2853 12.628 10.5099C12.3825 12.1088 11.001 13.3333 9.33337 13.3333H9.155C8.92446 13.7319 8.49356 14 8.00004 14C7.26366 14 6.66671 13.403 6.66671 12.6667C6.66671 11.9303 7.26366 11.3333 8.00004 11.3333C8.49356 11.3333 8.92446 11.6015 9.155 12H9.33337C10.2076 12 10.9508 11.4391 11.2228 10.6575C10.9072 10.6048 10.6667 10.3305 10.6667 10V6C10.6667 4.52724 9.4728 3.33333 8.00004 3.33333C6.52728 3.33333 5.33337 4.52724 5.33337 6V10C5.33337 10.3682 5.0349 10.6667 4.66671 10.6667H4.00004C3.26366 10.6667 2.66671 10.0697 2.66671 9.33333V8C2.66671 7.26362 3.26366 6.66667 4.00004 6.66667V6Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},82481:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.68824 3.06668C5.51046 3.20002 5.51046 3.46668 5.68824 3.60002L7.46602 4.93335C7.68576 5.09816 7.99935 4.94136 7.99935 4.66668V4.00002C10.2085 4.00002 11.9993 5.79088 11.9993 8.00002C11.9993 8.75518 11.7907 9.45958 11.4283 10.061C11.2383 10.3764 11.3399 10.7861 11.6553 10.9761C11.9706 11.1661 12.3803 11.0645 12.5704 10.7491C13.0544 9.94584 13.3327 9.00441 13.3327 8.00002C13.3327 5.0545 10.9449 2.66668 7.99935 2.66668V2.00002C7.99935 1.72533 7.68576 1.56854 7.46602 1.73335L5.68824 3.06668ZM4.29082 5.08961C4.60952 5.27397 4.71843 5.68179 4.53407 6.0005C4.19412 6.58817 3.99935 7.27033 3.99935 8.00002C3.99935 10.2092 5.79021 12 7.99935 12V11.3333C7.99935 11.0587 8.31294 10.9019 8.53268 11.0667L10.3105 12.4C10.4882 12.5333 10.4882 12.8 10.3105 12.9333L8.53268 14.2667C8.31294 14.4315 7.99935 14.2747 7.99935 14V13.3333C5.05383 13.3333 2.66602 10.9455 2.66602 8.00002C2.66602 7.02969 2.92575 6.11801 3.37993 5.33286C3.56429 5.01416 3.97211 4.90525 4.29082 5.08961Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},18294:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M9.97429 3.51649C10.0754 3.16247 9.87045 2.79348 9.51642 2.69233C9.1624 2.59118 8.79341 2.79617 8.69226 3.15019L6.02559 12.4835C5.92444 12.8376 6.12944 13.2065 6.48346 13.3077C6.83749 13.4088 7.20648 13.2038 7.30763 12.8498L9.97429 3.51649ZM5.08307 4.1461C5.37058 4.3761 5.4172 4.79563 5.18719 5.08314L2.85369 8.00001L5.18719 10.9169C5.4172 11.2044 5.37058 11.6239 5.08307 11.8539C4.79557 12.0839 4.37604 12.0373 4.14603 11.7498L1.48772 8.42691C1.45077 8.38268 1.42032 8.33449 1.3965 8.28373C1.354 8.19355 1.33319 8.09656 1.33325 8.00001C1.33319 7.90346 1.354 7.80647 1.39649 7.71629C1.42031 7.66553 1.45077 7.61734 1.48772 7.57311L4.14603 4.25021C4.37604 3.9627 4.79556 3.91609 5.08307 4.1461ZM10.9168 4.1461C11.2043 3.91609 11.6238 3.9627 11.8539 4.25021L14.5123 7.57322C14.5485 7.61657 14.5784 7.66372 14.602 7.71337C14.6454 7.80438 14.6667 7.90242 14.6666 8.00001C14.6667 8.0976 14.6454 8.19564 14.602 8.28665C14.5784 8.33629 14.5485 8.38344 14.5123 8.42679L11.8539 11.7498C11.6238 12.0373 11.2043 12.0839 10.9168 11.8539C10.6293 11.6239 10.5827 11.2044 10.8127 10.9169L13.1462 8.00001L10.8127 5.08314C10.5827 4.79563 10.6293 4.3761 10.9168 4.1461Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},20913:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7zm3-1a1 1 0 0 0-1 1v4h7V6H5zm6 7H4v4a1 1 0 0 0 1 1h6v-5zm2 0h7v4a1 1 0 0 1-1 1h-6v-5zm7-2V7a1 1 0 0 0-1-1h-6v5h7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12216:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 3a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5zm0 2h4v4H5V5zm0 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H5zm0 2h4v4H5v-4zm8-6a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2h-6a1 1 0 0 1-1-1zm1-5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-6zm-1 11a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2h-6a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},64268:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M2.5 4.16667C2.5 3.24619 3.24619 2.5 4.16667 2.5H7.5C8.42047 2.5 9.16667 3.24619 9.16667 4.16667V7.5C9.16667 8.42047 8.42047 9.16667 7.5 9.16667H4.16667C3.24619 9.16667 2.5 8.42047 2.5 7.5V4.16667ZM7.5 4.16667H4.16667V7.5H7.5V4.16667Z" fill="black"/>   <path class="graphic" d="M2.5 12.5C2.5 11.5795 3.24619 10.8333 4.16667 10.8333H7.5C8.42047 10.8333 9.16667 11.5795 9.16667 12.5V15.8333C9.16667 16.7538 8.42047 17.5 7.5 17.5H4.16667C3.24619 17.5 2.5 16.7538 2.5 15.8333V12.5ZM7.5 12.5H4.16667V15.8333H7.5V12.5Z" fill="black"/>   <path class="graphic" d="M12.5 2.5C11.5795 2.5 10.8333 3.24619 10.8333 4.16667V15.8333C10.8333 16.7538 11.5795 17.5 12.5 17.5H15.8333C16.7538 17.5 17.5 16.7538 17.5 15.8333V4.16667C17.5 3.24619 16.7538 2.5 15.8333 2.5H12.5ZM12.5 4.16667H15.8333V15.8333H12.5V4.16667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},62171:(e,t,n)=>{e.exports={attributes:{width:"31",height:"35",viewBox:"0 0 31 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 23.9C0 23.4029 0.402944 23 0.9 23H26.9272C27.4242 23 27.8272 23.4029 27.8272 23.9V24.2C27.8272 24.6971 27.4242 25.1 26.9272 25.1H0.9C0.402943 25.1 0 24.6971 0 24.2V23.9ZM0 28.4C0 27.9029 0.402944 27.5 0.9 27.5H26.9272C27.4242 27.5 27.8272 27.9029 27.8272 28.4V28.7C27.8272 29.1971 27.4242 29.6 26.9272 29.6H0.9C0.402943 29.6 0 29.1971 0 28.7V28.4ZM0.9 32C0.402944 32 0 32.4029 0 32.9V33.2C0 33.6971 0.402944 34.1 0.900001 34.1H19.063C19.56 34.1 19.963 33.6971 19.963 33.2V32.9C19.963 32.4029 19.56 32 19.063 32H0.9Z" fill="#E8E8E8"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z" fill="#E8E8E8"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M19.3152 4.88556L16.9452 16.0355L30.9733 7.36356L19.3152 4.88556Z" fill="#E8E8E8"/>'};var r=n(5813);e.exports=r(e.exports)},76094:(e,t,n)=>{e.exports={attributes:{width:"9",height:"10",viewBox:"0 0 9 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.65527 10V2.71289H8.30225V0.840332H0.691406V2.71289H3.33203V10H5.65527Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},88536:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M3.333 2C2.597 2 2 2.597 2 3.333V6c0 .736.597 1.333 1.333 1.333H6c.737 0 1.333-.597 1.333-1.333V3.333C7.333 2.597 6.737 2 6 2H3.333zm0 1.333H6V6H3.333V3.333zm0 5.334C2.597 8.667 2 9.264 2 10v2.667C2 13.403 2.597 14 3.333 14H6c.737 0 1.333-.597 1.333-1.333V10c0-.736-.596-1.333-1.333-1.333H3.333zm0 1.333H6v2.667H3.333V10zm5.334-4c0-.368.298-.667.666-.667h4a.667.667 0 0 1 0 1.334h-4A.667.667 0 0 1 8.667 6zm.666-3.333a.667.667 0 0 0 0 1.333h4a.667.667 0 0 0 0-1.333h-4zM8.667 10c0-.368.298-.667.666-.667h4a.667.667 0 0 1 0 1.334h-4A.667.667 0 0 1 8.667 10zm.666 2a.667.667 0 0 0 0 1.333h4a.667.667 0 0 0 0-1.333h-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},33277:(e,t,n)=>{e.exports={attributes:{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.195287 0.195262C0.455636 -0.0650874 0.877746 -0.0650874 1.1381 0.195262L2.46574 1.52291C2.51433 1.57023 2.55433 1.62356 2.58549 1.68078C2.6819 1.85741 2.69246 2.06845 2.61717 2.25261C2.59251 2.31292 2.55865 2.37035 2.51558 2.42275L1.18727 4.08313C0.957264 4.37064 0.537736 4.41725 0.250228 4.18725C-0.0372801 3.95724 -0.0838944 3.53771 0.146112 3.2502L1.10669 2.04948L0.195287 1.13807C-0.0650629 0.877722 -0.0650629 0.455612 0.195287 0.195262ZM4.00002 2C4.00002 1.63181 4.2985 1.33333 4.66669 1.33333H11.3334C11.7015 1.33333 12 1.63181 12 2C12 2.36819 11.7015 2.66667 11.3334 2.66667H4.66669C4.2985 2.66667 4.00002 2.36819 4.00002 2ZM4.00002 6C4.00002 5.63181 4.2985 5.33333 4.66669 5.33333H11.3334C11.7015 5.33333 12 5.63181 12 6C12 6.36819 11.7015 6.66667 11.3334 6.66667H4.66669C4.2985 6.66667 4.00002 6.36819 4.00002 6ZM4.66669 9.33333C4.2985 9.33333 4.00002 9.63181 4.00002 10C4.00002 10.3682 4.2985 10.6667 4.66669 10.6667H11.3334C11.7015 10.6667 12 10.3682 12 10C12 9.63181 11.7015 9.33333 11.3334 9.33333H4.66669Z"/>'};var r=n(5813);e.exports=r(e.exports)},60302:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0_304_117572)">   <path class="graphic" d="M4.18988 0.418762C3.95588 -0.140238 3.04388 -0.140238 2.80888 0.418762L0.0598756 6.95176C-0.102124 7.33476 0.0758756 7.77776 0.457876 7.93976C0.835876 8.10176 1.27888 7.92276 1.43988 7.53876L2.08888 5.99976H4.91188L5.55988 7.53876C5.68088 7.82676 5.95788 7.99876 6.24988 7.99876C6.34788 7.99876 6.44688 7.97976 6.54187 7.93976C6.92387 7.77776 7.10188 7.33476 6.93988 6.95176L4.18988 0.418762ZM2.71988 4.49976L3.49988 2.64676L4.27988 4.49976H2.71988Z" fill="black"/>   <path class="graphic" d="M9.75 3.5C11.267 3.5 12.5 4.733 12.5 6.25C12.5 6.664 12.836 7 13.25 7C13.664 7 14 6.664 14 6.25C14 3.907 12.094 2 9.75 2C9.336 2 9 2.336 9 2.75C9 3.164 9.336 3.5 9.75 3.5Z" fill="black"/>   <path class="graphic" d="M6.25 12.5C4.733 12.5 3.5 11.267 3.5 9.75C3.5 9.336 3.164 9 2.75 9C2.336 9 2 9.336 2 9.75C2 12.093 3.906 14 6.25 14C6.664 14 7 13.664 7 13.25C7 12.836 6.664 12.5 6.25 12.5Z" fill="black"/>   <path class="graphic" d="M15.5207 14.551L14.0487 13.979C13.9227 13.93 13.8067 13.867 13.6887 13.807C14.3577 13.021 14.8017 12.056 14.9437 11H15.2497C15.6637 11 15.9997 10.664 15.9997 10.25C15.9997 9.836 15.6637 9.5 15.2497 9.5H13.2497V8.75C13.2497 8.336 12.9137 8 12.4997 8C12.0857 8 11.7497 8.336 11.7497 8.75V9.5H9.74966C9.33566 9.5 8.99966 9.836 8.99966 10.25C8.99966 10.664 9.33566 11 9.74966 11H10.0557C10.1977 12.056 10.6417 13.02 11.3107 13.807C11.1927 13.867 11.0767 13.93 10.9507 13.979L9.47866 14.551C9.09166 14.701 8.90066 15.136 9.05066 15.522C9.16666 15.818 9.45066 16 9.75066 16C9.84166 16 9.93366 15.984 10.0217 15.949L11.4937 15.377C11.8547 15.237 12.1847 15.051 12.4997 14.847C12.8147 15.051 13.1447 15.236 13.5057 15.377L14.9777 15.949C15.0667 15.984 15.1587 16 15.2487 16C15.5487 16 15.8327 15.818 15.9477 15.522C16.0987 15.136 15.9077 14.701 15.5207 14.551ZM13.4227 11C13.2887 11.713 12.9687 12.364 12.4997 12.895C12.0297 12.364 11.7107 11.713 11.5767 11H13.4227Z" fill="black"/>   </g>   <defs>   <clipPath id="clip0_304_117572">   <rect width="16" height="16" fill="white"/>   </clipPath>   </defs>'};var r=n(5813);e.exports=r(e.exports)},77242:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M11 2a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a1 1 0 0 0 0-2h-3V5a3 3 0 0 0-3-3h-2zm3 4V5a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v1h4zM8 8H7v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8H8zm3 3v6a1 1 0 0 1-2 0v-6a1 1 0 0 1 2 0zm3-1a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0v-6a1 1 0 0 0-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},35783:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.82143 0.3125H1.17857C0.527902 0.3125 0 0.807408 0 1.41741V9.52009C0 10.1301 0.527902 10.625 1.17857 10.625H9.82143C10.4721 10.625 11 10.1301 11 9.52009V1.41741C11 0.807408 10.4721 0.3125 9.82143 0.3125ZM8.62076 3.96791C8.62567 4.03237 8.62567 4.09912 8.62567 4.16357C8.62567 6.15932 7.00513 8.45891 4.04397 8.45891C3.13058 8.45891 2.28348 8.21031 1.57143 7.78216C1.70156 7.79597 1.82679 7.80057 1.95938 7.80057C2.71317 7.80057 3.40558 7.56117 3.95804 7.15604C3.25089 7.14223 2.6567 6.70717 2.4529 6.10868C2.70089 6.14321 2.92433 6.14321 3.17969 6.08105C2.44308 5.94064 1.89062 5.33294 1.89062 4.59863V4.58022C2.10424 4.69301 2.35469 4.76207 2.61741 4.77128C2.39653 4.63354 2.21546 4.44668 2.09036 4.22737C1.96526 4.00807 1.90001 3.76314 1.90045 3.51444C1.90045 3.23361 1.97902 2.9758 2.11897 2.75251C2.91205 3.66867 4.1029 4.26716 5.43862 4.33161C5.21027 3.30727 6.0279 2.47628 7.01004 2.47628C7.47411 2.47628 7.89152 2.65813 8.18616 2.95278C8.54955 2.88832 8.89821 2.76172 9.20759 2.58908C9.08728 2.93896 8.83438 3.23361 8.50045 3.42006C8.82455 3.38783 9.13884 3.30266 9.42857 3.18527C9.21004 3.48682 8.93504 3.75384 8.62076 3.96791Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},93858:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M11.522 4.72a4.433 4.433 0 0 1 6.269 6.269l-4.924 4.925-.886.885a2.745 2.745 0 1 1-3.882-3.882l4.595-4.595a1 1 0 1 1 1.414 1.415L9.513 14.33a.746.746 0 0 0 1.054 1.054l.219-.22a.015.015 0 0 0 .004-.003l5.587-5.587a2.433 2.433 0 0 0-3.44-3.44l-.487.486-5.443 5.443a3.667 3.667 0 0 0 0 5.186l.454.454a3.667 3.667 0 0 0 5.186 0l4.714-4.714a1 1 0 1 1 1.414 1.414l-4.714 4.714a5.667 5.667 0 0 1-8.014 0l-.454-.454a5.667 5.667 0 0 1 0-8.014l5.443-5.443.486-.487z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},64631:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6zM5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6zm12.268 3.64a1 1 0 1 0-1.536-1.28l-4.406 5.287-2.745-1.96a1 1 0 1 0-1.162 1.627l3.5 2.5.755.54.594-.714 5-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},33753:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M15 7.5c0 .852-.431 1.745-1.161 2.472C13.064 10.743 12.291 11 12 11c-.291 0-1.064-.257-1.839-1.028C9.431 9.245 9 8.352 9 7.5 9 5.383 10.518 4 12 4s3 1.383 3 3.5zm2 0c0 3.038-3 5.5-5 5.5s-5-2.462-5-5.5S9.239 2 12 2s5 2.462 5 5.5zM10.582 16h2.432a4.494 4.494 0 0 1 4.386 3.518l.107.482H6.493l.195-.876A3.993 3.993 0 0 1 10.582 16zm-4.873.508A5.988 5.988 0 0 1 10.582 14h2.432a6.495 6.495 0 0 1 6.338 5.085l.264 1.187A1.42 1.42 0 0 1 18.23 22H5.999a1.603 1.603 0 0 1-1.565-1.951l.302-1.359a5.973 5.973 0 0 1 .973-2.182z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},325:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M11 17.887v-4.99c-2.268-.436-4-2.212-4-4.397s1.732-3.961 4-4.397V3a1 1 0 0 1 2 0v1.073c1.839.296 3.38 1.472 3.945 3.099a1 1 0 1 1-1.89.656c-.283-.815-1.063-1.463-2.055-1.715v4.99c2.268.436 4 2.212 4 4.397s-1.732 3.961-4 4.397V21a1 1 0 0 1-2 0v-1.073a5.34 5.34 0 0 1-2.558-1.138 4.453 4.453 0 0 1-1.387-1.961 1 1 0 0 1 1.89-.656c.139.4.404.772.771 1.076.36.297.8.516 1.284.64zm2-.046c1.182-.362 2-1.295 2-2.341 0-1.046-.818-1.979-2-2.34v4.68zm-2-7V6.159C9.818 6.521 9 7.454 9 8.5c0 1.046.818 1.979 2 2.34z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},24655:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M8 3a1 1 0 0 1 1 1v1h6V4a1 1 0 0 1 2 0v1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h1V4a1 1 0 0 1 1-1zm7 4v1a1 1 0 0 0 2 0V7h1a1 1 0 0 1 1 1v2H5V8a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V7h6zM5 12v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6H5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},52124:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M7 9a3 3 0 1 0 0 6h3a1 1 0 0 1 0 2H7A5 5 0 0 1 7 7h3a1 1 0 0 1 0 2H7zm1 3a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm6-5a1 1 0 0 0 0 2h3a3 3 0 1 1 0 6h-3a1 1 0 0 0 0 2h3a5 5 0 0 0 0-10h-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},66339:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M12 4a8 8 0 1 0 3.555 15.169 1 1 0 1 1 .89 1.791A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10v.571c0 1.297-.317 2.395-.948 3.193A3.199 3.199 0 0 1 18.5 17c-1.216 0-2.192-.685-2.801-1.636A5 5 0 1 1 15 8a1 1 0 0 1 2 0v5c0 1.222.85 2 1.5 2a1.2 1.2 0 0 0 .984-.478c.273-.345.516-.961.516-1.951V12a8 8 0 0 0-8-8zm3 8a3 3 0 1 0-6 0 3 3 0 0 0 6 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12154:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M7 5h10a2 2 0 1 1 0 4H7a2 2 0 1 1 0-4zM3 7a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H7a4 4 0 0 1-4-4zm4 8h10a2 2 0 1 1 0 4H7a2 2 0 1 1 0-4zm-4 2a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H7a4 4 0 0 1-4-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},39046:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M17.243 3.03a1 1 0 0 1 .727 1.212L17.031 8H20a1 1 0 0 1 0 2h-3.47l-1 4H18a1 1 0 0 1 0 2h-2.97l-1.06 4.242a1 1 0 0 1-1.94-.485L12.97 16H9.03l-1.06 4.242a1 1 0 0 1-1.94-.485L6.97 16H4a1 1 0 1 1 0-2h3.47l1-4H6a1 1 0 1 1 0-2h2.97l1.06-4.242a1 1 0 1 1 1.94.484L11.03 8h3.94l1.06-4.242a1 1 0 0 1 1.213-.728zM10.531 10l-1 4h3.938l1-4h-3.938z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},92702:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M20.707 3.293a1 1 0 0 1 0 1.414l-16 16a1 1 0 1 1-1.414-1.414l16-16a1 1 0 0 1 1.414 0zM6.5 5C5.835 5 5 5.717 5 7s.835 2 1.5 2S8 8.283 8 7s-.835-2-1.5-2zM3 7c0-2.03 1.404-4 3.5-4S10 4.97 10 7c0 2.03-1.404 4-3.5 4S3 9.03 3 7zm13 10c0-1.283.835-2 1.5-2s1.5.717 1.5 2-.835 2-1.5 2-1.5-.717-1.5-2zm1.5-4c-2.096 0-3.5 1.97-3.5 4 0 2.03 1.404 4 3.5 4s3.5-1.97 3.5-4c0-2.03-1.404-4-3.5-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},21685:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M8.933 8.578l1.65-4.748c.466-1.343 2.368-1.343 2.834 0l1.65 4.748 5.025.103c1.422.029 2.01 1.836.876 2.695l-4.005 3.036 1.455 4.81c.414 1.362-1.125 2.48-2.292 1.667L12 18.018l-4.126 2.871c-1.167.813-2.706-.305-2.292-1.665l1.455-4.812-4.005-3.036c-1.134-.86-.546-2.666.876-2.695l5.025-.103zM12 5.846l-1.293 3.72a1.5 1.5 0 0 1-1.386 1.005l-3.935.08 3.139 2.38a1.5 1.5 0 0 1 .527 1.628l-1.14 3.767 3.232-2.249a1.502 1.502 0 0 1 1.713 0l3.23 2.249-1.139-3.765a1.5 1.5 0 0 1 .529-1.632l3.137-2.378-3.936-.08a1.5 1.5 0 0 1-1.386-1.007L12 5.846z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},56486:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7 8h10a4 4 0 1 1 0 8H7a4 4 0 1 1 0-8zm0 2a2 2 0 1 0 0 4h10a2 2 0 1 0 0-4H7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},85265:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2h-5v15a1 1 0 1 1-2 0V5H4a1 1 0 0 1-1-1zm14 9h3a1 1 0 1 1 0 2h-2v5a1 1 0 1 1-2 0v-5h-2a1 1 0 1 1 0-2h3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61615:(e,t,n)=>{e.exports={attributes:{width:"11",height:"10",viewBox:"0 0 11 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.28098 9.83974C4.07416 9.80988 3.00875 9.4217 2.05904 8.74237C1.41465 8.28102 0.865071 7.73756 0.472974 7.06869C0.0856979 6.40727 -0.0637489 5.70257 0.0246336 4.95157C0.103374 4.28419 0.416731 3.71833 0.902031 3.23907C1.24271 2.90314 1.6107 2.5896 1.97708 2.27756C2.39007 1.92371 2.8127 1.57882 3.23694 1.23543C3.56797 0.966682 3.91989 0.729291 4.3152 0.550127C4.82782 0.318708 5.37097 0.232112 5.93662 0.253015C7.00525 0.293327 7.94853 0.65016 8.79861 1.23692C9.47192 1.70125 10.0456 2.25666 10.4538 2.94196C11.0291 3.90795 11.156 4.9247 10.8057 5.98325C10.6402 6.48043 10.3333 6.90893 9.95883 7.29115C9.28873 7.97645 8.54792 8.58859 7.73641 9.12608C7.25593 9.44409 6.73046 9.677 6.14552 9.77107C5.86109 9.81586 5.57184 9.83079 5.2858 9.85915C5.2842 9.85169 5.28259 9.84572 5.28098 9.83974ZM5.16207 7.35983C5.36937 7.35983 5.5622 7.35535 5.75343 7.36132C5.8386 7.3643 5.85306 7.33594 5.85306 7.26427C5.85145 6.16988 5.85145 5.074 5.85145 3.97961C5.85145 3.94826 5.85145 3.9169 5.85145 3.8751C6.31747 3.8751 6.77063 3.8751 7.22218 3.8751C7.22218 3.66608 7.22218 3.469 7.22218 3.27192C6.07321 3.27192 4.93227 3.27192 3.78169 3.27192C3.78169 3.4466 3.78491 3.61531 3.78009 3.78402C3.77687 3.85718 3.79776 3.88256 3.88133 3.88107C4.27021 3.87659 4.65748 3.87958 5.04637 3.87958C5.16046 3.87958 5.16046 3.87958 5.16046 3.9826C5.16046 5.07251 5.16046 6.16242 5.16046 7.25233C5.16207 7.28368 5.16207 7.31653 5.16207 7.35983Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},78555:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M8 3a1 1 0 0 0-2 0v9a6 6 0 1 0 12 0V3a1 1 0 0 0-2 0v9a4 4 0 0 1-8 0V3zM7 20a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},69206:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.58963 3.36764C4.85564 3.10011 5.28727 3.10011 5.55328 3.36764C5.81876 3.63464 5.81876 4.06716 5.55328 4.33416L4.65667 5.23596H10.5572C12.8277 5.23596 14.6667 7.0869 14.6667 9.36814C14.6667 11.6494 12.8277 13.5003 10.5572 13.5003H5.75717C5.3802 13.5003 5.07622 13.1932 5.07622 12.8164C5.07622 12.4396 5.3802 12.1325 5.75717 12.1325H10.5572C12.0737 12.1325 13.3048 10.8958 13.3048 9.36814C13.3048 7.84052 12.0737 6.60377 10.5572 6.60377H4.65667L5.55328 7.50557C5.81876 7.77258 5.81876 8.20506 5.55328 8.47207C5.28727 8.73961 4.85564 8.73961 4.58963 8.47207L2.53249 6.40312C2.267 6.13612 2.267 5.70361 2.53249 5.43661L4.58963 3.36764Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},29300:(e,t,n)=>{e.exports={attributes:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0)"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="#00A1B7"/> <path d="M12.0833 9.16663C10.9621 9.16663 10.4864 10.5939 11.3833 11.2666L11.85 11.6166C11.9969 11.7268 12.0833 11.8997 12.0833 12.0833V14.4166C12.0833 14.6002 11.9969 14.7731 11.85 14.8833L11.3833 15.2333C10.4864 15.906 10.9621 17.3333 12.0833 17.3333H14.4167V20.25C14.4167 20.5721 14.6778 20.8333 15 20.8333C15.3222 20.8333 15.5833 20.5721 15.5833 20.25V17.3333H17.9167C19.0378 17.3333 19.5136 15.906 18.6167 15.2333L18.15 14.8833C18.0031 14.7731 17.9167 14.6002 17.9167 14.4166V12.0833C17.9167 11.8997 18.0031 11.7268 18.15 11.6166L18.6167 11.2666C19.5136 10.5939 19.0378 9.16663 17.9167 9.16663H12.0833Z" fill="#F5F8FA"/> </g> <defs> <clipPath id="clip0"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="white"/> </clipPath> </defs>'};var r=n(5813);e.exports=r(e.exports)},26798:(e,t,n)=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<circle class="graphic_stroke" cx="18" cy="18" r="17" stroke="#5C6061" stroke-width="2"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M18 8.625C18.5178 8.625 18.9375 9.04473 18.9375 9.5625L18.9375 20.4242L23.8996 15.4621C24.2657 15.096 24.8593 15.096 25.2254 15.4621C25.5915 15.8282 25.5915 16.4218 25.2254 16.7879L18.6661 23.3472C18.6562 23.3573 18.646 23.367 18.6357 23.3766C18.5545 23.4515 18.4634 23.5095 18.3668 23.5505C18.2549 23.5981 18.1319 23.6246 18.0028 23.625L18 23.625L17.9914 23.625C17.8704 23.6239 17.755 23.5999 17.6491 23.5571C17.5355 23.5113 17.4291 23.4424 17.3371 23.3504L10.7746 16.7879C10.4085 16.4218 10.4085 15.8282 10.7746 15.4621C11.1407 15.096 11.7343 15.096 12.1004 15.4621L17.0625 20.4242L17.0625 9.5625C17.0625 9.04473 17.4822 8.625 18 8.625ZM11.4375 25.5C10.9197 25.5 10.5 25.9197 10.5 26.4375C10.5 26.9553 10.9197 27.375 11.4375 27.375L24.5625 27.375C25.0803 27.375 25.5 26.9553 25.5 26.4375C25.5 25.9197 25.0803 25.5 24.5625 25.5L11.4375 25.5Z" fill="black" fill-opacity="0.6"/>'};var r=n(5813);e.exports=r(e.exports)},29672:(e,t,n)=>{e.exports={attributes:{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic_stroke" x="1" y="1" width="11" height="11" rx="1" stroke="#5C6061"/>   <path class="graphic_stroke" d="M5.5 4L3 6.5L5.5 9" stroke="#5C6061"/>   <path class="graphic_stroke" d="M7.5 4L10 6.5L7.5 9" stroke="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},77586:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M2.66675 14C2.66675 11.4227 4.75609 9.33333 7.33341 9.33333C7.55975 9.33333 7.78235 9.34947 8.00008 9.3806M10.0001 4.66667C10.0001 6.13943 8.80615 7.33333 7.33341 7.33333C5.86065 7.33333 4.66675 6.13943 4.66675 4.66667C4.66675 3.19391 5.86065 2 7.33341 2C8.80615 2 10.0001 3.19391 10.0001 4.66667Z" stroke="#737373" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9236 9.30999L13.5424 9.92871C13.8841 10.2704 13.8841 10.8244 13.5424 11.1661L13.0164 11.6921L11.1603 9.83592L11.6862 9.30999C12.0279 8.96828 12.5819 8.96828 12.9236 9.30999ZM10.8509 10.1453L8.48041 12.5158C8.33946 12.6567 8.25086 12.8416 8.22928 13.0397L8.11436 14.0949C8.074 14.4655 8.38683 14.7783 8.75742 14.738L9.81258 14.6231C10.0108 14.6015 10.1956 14.5129 10.3366 14.3719L12.7071 12.0014L10.8509 10.1453Z" fill="#737373"/>'};var r=n(5813);e.exports=r(e.exports)},24327:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.4035 4.33268C10.4035 6.35773 8.40347 7.99935 7.07014 7.99935C5.73681 7.99935 3.73681 6.35773 3.73681 4.33268C3.73681 2.30764 5.22919 0.666016 7.07014 0.666016C8.91109 0.666016 10.4035 2.30764 10.4035 4.33268ZM9.07014 4.33268C9.07014 2.92159 8.05797 1.99935 7.07014 1.99935C6.08231 1.99935 5.07014 2.92159 5.07014 4.33268C5.07014 4.9009 5.35726 5.49586 5.84406 5.98038C6.36103 6.49492 6.87583 6.66602 7.07014 6.66602C7.26445 6.66602 7.77925 6.49492 8.29622 5.98038C8.78302 5.49586 9.07014 4.9009 9.07014 4.33268Z" fill="currentColor"/>   <path class="graphic" d="M7.74583 8.66602C7.93845 8.66602 8.1296 8.67884 8.31817 8.70399C8.37771 8.63583 8.43996 8.5692 8.50491 8.50425C10.067 6.94216 12.5997 6.94216 14.1618 8.50425C15.7239 10.0663 15.7239 12.599 14.1618 14.1611C12.5997 15.7232 10.067 15.7232 8.50491 14.1611C8.45207 14.1083 8.40102 14.0543 8.35176 13.9993H3.06941C2.38554 13.9993 1.87754 13.3661 2.02589 12.6985L2.22718 11.7927C2.34352 11.2692 2.56412 10.7744 2.87583 10.3381C3.62532 9.28876 4.83543 8.66602 6.12491 8.66602H7.74583ZM6.12491 9.99935C5.26603 9.99935 4.46002 10.4141 3.96081 11.113C3.75319 11.4037 3.60625 11.7332 3.52876 12.0819L3.39896 12.666H7.56111C7.25741 11.8049 7.25741 10.8605 7.56111 9.99935H6.12491ZM13.8856 11.3327C13.8856 10.9645 13.5871 10.666 13.219 10.666H12V9.44707C12 9.07888 11.7015 8.7804 11.3333 8.7804C10.9651 8.7804 10.6667 9.07888 10.6667 9.44707V10.666H9.44771C9.07952 10.666 8.78105 10.9645 8.78105 11.3327C8.78105 11.7009 9.07952 11.9994 9.44771 11.9994H10.6667V13.2183C10.6667 13.5865 10.9651 13.885 11.3333 13.885C11.7015 13.885 12 13.5865 12 13.2183V11.9994H13.219C13.5871 11.9994 13.8856 11.7009 13.8856 11.3327Z" fill="currentColor"/>'};var r=n(5813);e.exports=r(e.exports)},59146:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 3a1 1 0 0 1 1 1v9h2.575a.5.5 0 0 1 .312.89l-3.575 2.86a.5.5 0 0 1-.624 0l-3.575-2.86a.5.5 0 0 1 .312-.89H11V4a1 1 0 0 1 1-1zM3 20a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},52725:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 1a1 1 0 0 1 1 1v3h2.575a.5.5 0 0 1 .312.89l-3.575 2.86a.5.5 0 0 1-.624 0L8.113 5.89A.5.5 0 0 1 8.425 5H11V2a1 1 0 0 1 1-1zM3 12a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm8 7H8.425a.5.5 0 0 1-.312-.89l3.575-2.86a.5.5 0 0 1 .624 0l3.575 2.86a.5.5 0 0 1-.312.89H13v3a1 1 0 0 1-2 0v-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},10226:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm10 7h2.575a.5.5 0 0 0 .312-.89l-3.575-2.86a.5.5 0 0 0-.624 0l-3.575 2.86a.5.5 0 0 0 .312.89H11v9a1 1 0 0 0 2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},22220:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5zM4 7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7zm6.757 2.454a.5.5 0 0 0-.757.429v4.234a.5.5 0 0 0 .757.429l3.528-2.117a.5.5 0 0 0 0-.858l-3.528-2.117z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},27237:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'</svg> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">     <g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" d="M14.667 4C14.667 3.73036 14.5045 3.48727 14.2554 3.38408C14.0063 3.28089 13.7195 3.33793 13.5289 3.52859L10.667 6.39052V5.33333C10.667 4.22876 9.77152 3.33333 8.66695 3.33333H3.33362C2.22905 3.33333 1.33362 4.22876 1.33362 5.33333V10.6667C1.33362 11.7712 2.22905 12.6667 3.33362 12.6667H8.66695C9.77152 12.6667 10.667 11.7712 10.667 10.6667V9.60948L13.5289 12.4714C13.7195 12.6621 14.0063 12.7191 14.2554 12.6159C14.5045 12.5127 14.667 12.2696 14.667 12V4ZM9.33362 5.33333V10.6667C9.33362 11.0349 9.03514 11.3333 8.66695 11.3333H3.33362C2.96543 11.3333 2.66695 11.0349 2.66695 10.6667V5.33333C2.66695 4.96514 2.96543 4.66667 3.33362 4.66667H8.66695C9.03514 4.66667 9.33362 4.96514 9.33362 5.33333ZM13.3336 10.3905L10.9431 8L13.3336 5.60947V10.3905Z" fill="#5C6061"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89713:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.9 0.3125H1.1C0.493527 0.3125 0 0.775181 0 1.34375V9.59375C0 10.1623 0.493527 10.625 1.1 10.625H9.9C10.5065 10.625 11 10.1623 11 9.59375V1.34375C11 0.775181 10.5065 0.3125 9.9 0.3125ZM9.2567 3.73772C9.22232 4.46282 8.68214 5.45724 7.63616 6.71638C6.5558 8.03306 5.63996 8.69141 4.89353 8.69141C4.42946 8.69141 4.03906 8.29088 3.71741 7.48751C3.09129 5.33984 2.82366 4.08071 2.30804 4.08071C2.24911 4.08071 2.0404 4.1981 1.68437 4.43059L1.31116 3.97942C2.22701 3.2244 3.10112 2.38651 3.64866 2.34047C4.26741 2.28523 4.64799 2.68115 4.7904 3.53055C5.29866 6.55064 5.52455 7.00642 6.45022 5.63909C6.7817 5.14648 6.96094 4.77128 6.98549 4.51346C7.07143 3.74923 6.34955 3.80218 5.86094 3.99784C6.25134 2.79855 6.99777 2.21617 8.10022 2.2484C8.91786 2.26911 9.30335 2.76632 9.2567 3.73772Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},4311:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5 11.0415L8.5 13.0622C9.16667 13.4471 10 12.966 10 12.1962L10 1.80386C10 1.03406 9.16667 0.552935 8.5 0.937835L5 2.95856V3H1C0.447715 3 0 3.44772 0 4V10C0 10.5523 0.447715 11 1 11H5V11.0415Z" fill="white"/>   <path class="graphic" d="M14 7C14 8.10457 13.1046 9 12 9V5C13.1046 5 14 5.89543 14 7Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},84005:(e,t,n)=>{e.exports={attributes:{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.92822 3H1C0.447715 3 0 3.44772 0 4V10C0 10.5523 0.447715 11 1 11H4.92818L8.5 13.0622C9.16667 13.4471 10 12.966 10 12.1962L10 1.80386C10 1.03406 9.16667 0.552935 8.5 0.937835L4.92822 3Z" fill="white"/>   <path class="graphic" d="M12 9C13.1046 9 14 8.10457 14 7C14 5.89543 13.1046 5 12 5V9Z" fill="white"/>   <path class="graphic" d="M12 3C14.2091 3 16 4.79086 16 7C16 9.20914 14.2091 11 12 11V13C15.3137 13 18 10.3137 18 7C18 3.68629 15.3137 1 12 1V3Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},80347:(e,t,n)=>{e.exports={attributes:{width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1 3H4.92822L8.5 0.937835C9.16667 0.552935 10 1.03406 10 1.80386L10 12.1962C10 12.966 9.16667 13.4471 8.5 13.0622L4.92818 11H1C0.447715 11 0 10.5523 0 10V4C0 3.44772 0.447715 3 1 3Z" fill="white"/>   <path class="graphic" d="M16.7071 4.29289C16.3166 3.90237 15.6834 3.90237 15.2929 4.29289L14 5.58579L12.7071 4.29289C12.3166 3.90237 11.6834 3.90237 11.2929 4.29289C10.9024 4.68342 10.9024 5.31658 11.2929 5.70711L12.5858 7L11.2929 8.29289C10.9024 8.68342 10.9024 9.31658 11.2929 9.70711C11.6834 10.0976 12.3166 10.0976 12.7071 9.70711L14 8.41421L15.2929 9.70711C15.6834 10.0976 16.3166 10.0976 16.7071 9.70711C17.0976 9.31658 17.0976 8.68342 16.7071 8.29289L15.4142 7L16.7071 5.70711C17.0976 5.31658 17.0976 4.68342 16.7071 4.29289Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},77445:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.68885 3.06662C5.51107 3.19995 5.51107 3.46662 5.68885 3.59995L7.46663 4.93329C7.68637 5.0981 7.99996 4.9413 7.99996 4.66662V3.99995C10.2091 3.99995 12 5.79081 12 7.99995C12 10.2091 10.2091 12 7.99996 12C5.79082 12 3.99996 10.2091 3.99996 7.99995C3.99996 7.63176 3.70148 7.33329 3.33329 7.33329C2.9651 7.33329 2.66663 7.63176 2.66663 7.99995C2.66663 10.9455 5.05444 13.3333 7.99996 13.3333C10.9455 13.3333 13.3333 10.9455 13.3333 7.99995C13.3333 5.05444 10.9455 2.66662 7.99996 2.66662V1.99995C7.99996 1.72527 7.68637 1.56848 7.46663 1.73329L5.68885 3.06662Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},7294:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M6 1.33333C4.89543 1.33333 4 2.22876 4 3.33333C4 4.4379 4.89543 5.33333 6 5.33333C7.10457 5.33333 8 4.4379 8 3.33333C8 2.22876 7.10457 1.33333 6 1.33333ZM2.66667 3.33333C2.66667 1.49238 4.15905 0 6 0C7.84095 0 9.33333 1.49238 9.33333 3.33333C9.33333 3.8157 9.23087 4.27414 9.04653 4.68807C10.7086 4.87662 12 6.2875 12 8C12 9.84095 10.5076 11.3333 8.66667 11.3333C7.57627 11.3333 6.60815 10.8098 6 10.0003C5.39185 10.8098 4.42373 11.3333 3.33333 11.3333C1.49238 11.3333 0 9.84095 0 8C0 6.2875 1.2914 4.87662 2.95347 4.68807C2.76913 4.27414 2.66667 3.8157 2.66667 3.33333ZM5.33333 8C5.33333 6.89543 4.4379 6 3.33333 6C2.22876 6 1.33333 6.89543 1.33333 8C1.33333 9.10457 2.22876 10 3.33333 10C4.4379 10 5.33333 9.10457 5.33333 8ZM6.66667 8C6.66667 9.10457 7.5621 10 8.66667 10C9.77124 10 10.6667 9.10457 10.6667 8C10.6667 6.89543 9.77124 6 8.66667 6C7.5621 6 6.66667 6.89543 6.66667 8Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},46921:(e,t,n)=>{e.exports={attributes:{width:"11",height:"8",viewBox:"0 0 11 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.7762 1.2108C10.6498 0.739231 10.2788 0.367144 9.80781 0.240184C8.94712 0.00385134 5.50381 4.17513e-06 5.50381 4.17513e-06C5.50381 4.17513e-06 2.06104 -0.00384321 1.1998 0.222047C0.738129 0.347908 0.356699 0.728239 0.229189 1.19926C0.00219935 2.05995 8.0526e-07 3.84508 8.0526e-07 3.84508C8.0526e-07 3.84508 -0.00219763 5.63901 0.223143 6.49091C0.349554 6.96193 0.720541 7.33401 1.19211 7.46097C2.06159 7.69731 5.49556 7.70115 5.49556 7.70115C5.49556 7.70115 8.93888 7.705 9.79957 7.47966C10.27 7.35325 10.6427 6.98171 10.7707 6.5107C10.9983 5.65056 10.9999 3.86597 10.9999 3.86597C10.9999 3.86597 11.0109 2.07149 10.7762 1.2108ZM4.40239 5.49886L4.40514 2.2012L7.26696 3.85278L4.40239 5.49886Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},26158:e=>{e.exports={fileHorizontalPadding:"10",fileBorderWidth:"1px"}},81578:e=>{e.exports={menuItemHeight:"32",menuPadding:"7"}},29650:e=>{e.exports={transitionDuration:"400"}},20199:e=>{e.exports={nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px"}},12934:e=>{e.exports={nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",fileHorizontalPadding:"10",fileBorderWidth:"1px",fullScreenViewerPagesMargin:"20",fullScreenViewerFirstPageTopMargin:"10",fullScreenViewerPreviewsMargin:"15",fullScreenViewerPreviewsTopMargin:"15"}},2769:e=>{e.exports=".pdf-viewer-printing-pages {\n  display: none;\n}\n.pdf-viewer-printing-pages .pdf-viewer-printing-page {\n  position: relative;\n  top: 0;\n  left: 0;\n  width: 1px;\n  height: 1px;\n  overflow: visible;\n  page-break-after: always;\n  page-break-inside: avoid;\n}\n.pdf-viewer-printing-pages .pdf-viewer-printing-page img {\n  display: block;\n  max-width: unset;\n  height: unset;\n}\n\n@media print {\n  html {\n  width: 100%;\n    height: 100%;\n  }\n  body {\n    width: 100%;\n    height: 100%;\n    margin: 0;\n    background: transparent none;\n  }\n\n  * {\n    margin: 0 !important;\n    padding: 0 !important;\n  }\n\n  body > * {\n    display: none !important;\n  }\n\n  body > .pdf-viewer-printing-pages {\n    display: block !important;\n    width: 100%;\n    height: 100%;\n  }\n}"},49839:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(79758);function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){var n=e.i||(e.i={});return n[t]||(n[t]=function(n){e.refs[t]=n})}function a(e){for(var t={},n=0;n<e.length;n++)null!=e[n]&&(t[(r=e[n],o=n.toString(36),i=r&&r.key,null==i?o:i)]=e[n]);var r,o,i;return t}function s(e,t){e=e||{},t=t||{};var n=function(n){return t.hasOwnProperty(n)?t[n]:e[n]},r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a={};for(var s in t){if(r.hasOwnProperty(s))for(var l=0;l<r[s].length;l++)a[r[s][l]]=n(r[s][l]);a[s]=n(s)}for(var c=0;c<o.length;c++)a[o[c]]=n(o[c]);return a}var l=function(e){var t,n;function l(t,n){var i;return(i=e.call(this,t,n)||this).refs={},i.state={children:a((0,r.bR)((0,r.bR)(i.props.children))||[])},i.performAppear=i.performAppear.bind(o(i)),i.performEnter=i.performEnter.bind(o(i)),i.performLeave=i.performLeave.bind(o(i)),i}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var c=l.prototype;return c.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToAbortLeave=[],this.keysToEnter=[],this.keysToLeave=[]},c.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},c.componentWillReceiveProps=function(e){var t,n=a((0,r.bR)(e.children)||[]),o=this.state.children;for(t in this.setState((function(e){return{children:s(e.children,n)}})),n)if(n.hasOwnProperty(t)){var i=o&&o.hasOwnProperty(t);n[t]&&i&&this.currentlyTransitioningKeys[t]?(this.keysToEnter.push(t),this.keysToAbortLeave.push(t)):!n[t]||i||this.currentlyTransitioningKeys[t]||this.keysToEnter.push(t)}for(t in o)if(o.hasOwnProperty(t)){var l=n&&n.hasOwnProperty(t);!o[t]||l||this.currentlyTransitioningKeys[t]||this.keysToLeave.push(t)}},c.componentDidUpdate=function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},c.t=function(e){var t=this.keysToAbortLeave.indexOf(e);-1!==t&&this.keysToAbortLeave.splice(t,1)},c.performAppear=function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this.n.bind(this,e)):this.n(e)},c.n=function(e){var t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e],this.t(e);var n=a((0,r.bR)(this.props.children)||[]);n&&n.hasOwnProperty(e)||this.performLeave(e)},c.performEnter=function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this.r.bind(this,e)):this.r(e)},c.r=function(e){var t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e],this.t(e);var n=a((0,r.bR)(this.props.children)||[]);n&&n.hasOwnProperty(e)||this.performLeave(e)},c.performLeave=function(e){if(-1===this.keysToAbortLeave.indexOf(e)){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this.s.bind(this,e)):this.s(e)}},c.s=function(e){if(-1===this.keysToAbortLeave.indexOf(e)){var t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];var n=a((0,r.bR)(this.props.children)||[]);if(n&&n.hasOwnProperty(e))this.performEnter(e);else{var o=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}({},this.state.children);delete o[e],this.setState({children:o})}}},c.render=function(e,t){var n=e.childFactory,o=e.component,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,["childFactory","transitionLeave","transitionName","transitionAppear","transitionEnter","transitionLeaveTimeout","transitionEnterTimeout","transitionAppearTimeout","component"]),s=t.children,l=[];for(var c in s)if(s.hasOwnProperty(c)){var u=s[c];if(u){var d=i(this,c),p=(0,r.Tm)(n(u),{ref:d,key:c});l.push(p)}}return(0,r.h)(o,a,l)},l}(r.wA);l.defaultProps={component:"span",childFactory:function(e){return e}};const c=l}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,n)=>(a.f[n](e,t),t),[])),a.u=e=>744===e?"80387f022e44bfe19b6f.vendors.744.js":157===e?"ac0cbb28f6ca3e81e73d.vendors.pdfjs-dist.js":void 0,a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},a.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,s;if(void 0!==n)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")=="web-editor:"+n){i=u;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack","web-editor:"+n),i.src=e),r[e]=[t];var d=(t,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/static/assets/",(()=>{var e={471:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,l]=n,c=0;if(i.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)l(a)}for(t&&t(n);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[i[c]]=0},n=self.webpackChunkweb_editor=self.webpackChunkweb_editor||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var s={};(()=>{"use strict";a.r(s),a.d(s,{default:()=>hr});a(87751),a(33161),a(9653),a(69600),a(21249),a(30489),a(12419),a(47941),a(82526),a(57327),a(38880),a(54747),a(49337),a(41539),a(19601),a(41817),a(32165),a(66992),a(78783),a(33948);var e=a(79758);a(47042),a(68309),a(91038),a(92222),a(73210);function t(e){return(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)}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(t){!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}}),t&&u(e,t)}(g,t);var n,a,s,l,p,h=d(g);function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),m(f(t=h.call(this,e)),"onCanvasRef",(function(e){t.canvas=e})),m(f(t),"onCanvasWrapperRef",(function(e){t.canvasWrapper=e})),m(f(t),"onTextContentDivRef",(function(e){t.textContainer=e})),m(f(t),"onAnnotationContentDivRef",(function(e){t.annotationContainer=e,t.renderPage()})),t.state={isRendered:!1,isRendering:!1,pageSizeHeight:0},t.textDivs=[],t.textContentItemsStr=[],t.renderTask,t.textLayerRenderTask,t.renderCounter=0,t}return n=g,(a=[{key:"getPageSize",value:function(){if(!this.props.pdfPage)return{width:this.props.defaultWidth*this.props.scale*(96/72),height:this.props.defaultHeight*this.props.scale*(96/72)};var e=this.props.pdfPage.view;return{width:e[2]*this.props.scale*(96/72),height:e[3]*this.props.scale*(96/72)}}},{key:"clearSearchMatches",value:function(){var e=this.textDivs;if(e&&e.length){var t,n=i(e);try{for(n.s();!(t=n.n()).done;){var r,o=i(t.value.querySelectorAll(".highlight"));try{for(o.s();!(r=o.n()).done;){var a,s=r.value,l=i(s.childNodes);try{for(l.s();!(a=l.n()).done;){var c=a.value;s.parentNode.insertBefore(c,s)}}catch(e){l.e(e)}finally{l.f()}s.parentNode.removeChild(s)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"renderMatches",value:function(e,t){if(this.clearSearchMatches(),e&&0!==e.length){var n=e.query,r=e.matches,o=e.matchesLength,i=this.textContentItemsStr,a=this.textDivs;r=this._convertMatches(r,o,i,n);var s=null,l={divIdx:-1,offset:void 0},c=0;t&&(c=t.selectedMatchIdx);var u=c,d=u+1;u=0,d=r.length;for(var p=[],f=null,h=u;h<d;h++){var m=r[h],g=m.begin,y=m.end,v=t&&h===c,b=v?" selected":"";if(v&&(f=a[g.divIdx]),p.push(a[g.divIdx]),s&&g.divIdx===s.divIdx?S(s.divIdx,s.offset,g.offset):(null!==s&&S(s.divIdx,s.offset,l.offset),C(g)),g.divIdx===y.divIdx)S(g.divIdx,g.offset,y.offset,"highlight"+b);else{S(g.divIdx,g.offset,l.offset,"highlight begin"+b);for(var _=g.divIdx+1,w=y.divIdx;_<w;_++)a[_].className="highlight middle"+b;C(y,"highlight end"+b)}s=y}s&&S(s.divIdx,s.offset,l.offset),f&&this.props.onActiveMatchRender(f)}function C(e,t){var n=e.divIdx;a[n].textContent="",S(n,0,e.offset,t)}function S(e,t,n,r){var o=a[e],s=i[e].substring(t,n),l=document.createTextNode(s);if(r){var c=document.createElement("span");return c.className=r,c.appendChild(l),void o.appendChild(c)}o.appendChild(l)}}},{key:"renderPage",value:(l=regeneratorRuntime.mark((function e(){var t,n,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w=this,C=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=C.length>0&&void 0!==C[0]&&C[0],this.canvas){e.next=3;break}return e.abrupt("return");case 3:if(n=this.props,o=n.pdfPage,i=n.scale,a=n.num,s=n.pdfjsLib,o){e.next=6;break}return e.abrupt("return");case 6:if(this.props.visible||t){e.next=8;break}return e.abrupt("return");case 8:if(l={isRendering:!1},c=++this.renderCounter,this.setState((function(){return{isRendering:!0}})),this.renderTask)try{this.renderTask.cancel()}catch(e){console.warn("fail to cancel render task",a,e)}if(this.textLayerRenderTask)try{this.textLayerRenderTask.cancel()}catch(e){console.warn("fail to cancel text render task",a,e)}if(this.textContainer)for(;this.textContainer.firstChild;)this.textContainer.removeChild(this.textContainer.firstChild);return u=this.canvas,d=window.devicePixelRatio*i*(96/72),p=o.getViewport({scale:d}),f=this.getPageSize(),h=f.width*p.height/p.width,l=r(r({},l),{},{pageSizeHeight:h}),m=i*(96/72),g=o.getViewport({scale:m}),u.width=Math.round(p.width),u.height=Math.round(p.height),u.style="width: ".concat(f.width,"px; height: ").concat(h,"px;"),this.canvasWrapper.style="width: ".concat(f.width,"px; height: ").concat(h,"px;"),y=u.getContext("2d"),v=o.render({canvasContext:y,viewport:p}),this.renderTask=v,this.textDivs=[],b=o.getTextContent().then((function(e){if(v._canceled||c!==w.renderCounter)throw new Error("render task was canceled");return w.textContainer.style="width: ".concat(u.width,"px; height: ").concat(u.height,"px;"),w.textLayerRenderTask=s.renderTextLayer({textContent:e,container:w.textContainer,viewport:g,textDivs:w.textDivs,textContentItemsStr:w.textContentItemsStr,enhanceTextSelection:!0}),w.textLayerRenderTask.promise})),_=o.getAnnotations().then((function(e){if(v._canceled||c!==w.renderCounter)throw new Error("render task was canceled");var t={viewport:p.clone({dontFlip:!0}),div:w.annotationContainer,annotations:e,page:o,linkService:{externalLinkTarget:s.LinkTarget.BLANK}};return""!==w.annotationContainer.innerHTML.trim()?s.AnnotationLayer.update(t):(t.linkService.getDestinationHash=function(){return null},s.AnnotationLayer.render(t))})),e.prev=32,e.next=35,Promise.all([v.promise,b,_.promise]);case 35:this.props.searchMatches&&this.renderMatches(this.props.searchMatches,this.props.activeSearchMatch),l.isRendered=!0,e.next=42;break;case 39:e.prev=39,e.t0=e.catch(32),console.warn("fail to render page",a,e.t0);case 42:this.setState((function(){return l}));case 43:case"end":return e.stop()}}),e,this,[[32,39]])})),p=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=l.apply(e,t);function a(e){o(i,n,r,a,s,"next",e)}function s(e){o(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return p.apply(this,arguments)})},{key:"_convertMatches",value:function(e,t,n,r){if(!e)return[];for(var o=0,i=0,a=n.length-1,s=r.length,l=[],c=0,u=e.length;c<u;c++){for(var d=e[c];o!==a&&d>=i+n[o].length;)i+=n[o].length,o++;o===n.length&&console.error("Could not find a matching mapping");var p={begin:{divIdx:o,offset:d-i}};for(d+=t?t[c]:s;o!==a&&d>i+n[o].length;)i+=n[o].length,o++;p.end={divIdx:o,offset:d-i},l.push(p)}return l}},{key:"componentDidUpdate",value:function(e){e.pdfPage!==this.props.pdfPage||this.props.visible&&this.props.visible!==e.visible&&!this.state.isRendered&&!this.state.isRendering?this.renderPage():this.state.isRendered&&this.props.scale!==e.scale&&this.renderPage(!0),e.activeSearchMatch!==this.props.activeSearchMatch&&this.state.isRendered&&this.renderMatches(this.props.searchMatches,this.props.activeSearchMatch),e.searchMatches!==this.props.searchMatches&&this.state.isRendered&&this.renderMatches(this.props.searchMatches,this.props.activeSearchMatch)}},{key:"render",value:function(){var t=this.getPageSize(),n=t.width,r=t.height,o=["pdf-page"];return this.props.active&&o.push("pdf-page-active"),this.props.pdfPage||o.push("editor-loader2-grey editor-loader-cc"),(0,e.h)("div",{className:o.join(" "),style:{width:n+"px",height:(this.state.pageSizeHeight||r)+"px"}},(0,e.h)("div",{className:"canvasWrapper",ref:this.onCanvasWrapperRef},(0,e.h)("canvas",{ref:this.onCanvasRef})),(0,e.h)("div",{className:"textLayer",ref:this.onTextContentDivRef}),(0,e.h)("div",{className:"annotationLayer",ref:this.onAnnotationContentDivRef}))}}])&&c(n.prototype,a),s&&c(n,s),g}(e.wA),y=a(47983),v=a.n(y),b=a(12934),_=a.n(b),w=a(67546);function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(e,t){if(t&&("object"===C(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return O(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=parseInt(_().fullScreenViewerPagesMargin),R=parseInt(_().fullScreenViewerFirstPageTopMargin),I=function(t){!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}}),t&&E(e,t)}(a,t);var n,r,o,i=x(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),A(O(t=i.call(this,e)),"scrollTop",0),A(O(t),"onSearchActiveMatchesRender",(function(e){e&&((0,w.gx)(e)||requestAnimationFrame((function(){e.scrollIntoView({block:"center",inline:"center"})})))})),A(O(t),"onRef",(function(e){e&&(t.rootNode=e,t.rootNode.scrollTop=0)}));var n=e.pdfDocument,r=e.pagesOverview,o=e.scale,s=e.defaultPageHeight;return t.state=Object.assign({},t.getActivePage(0,n,r,o,s)),t.onScroll=v()((function(e){var n=t.props,r=n.pdfDocument,o=n.pagesOverview,i=n.scale,a=n.defaultPageHeight,s=e.target,l=s.scrollHeight,c=s.scrollTop,u=s.offsetHeight,d=t.getActivePage(c,r,o,i,a);c+u>=l-P&&(d.pageActive=r.numPages),t.setState((function(){return d}),(function(){t.scrollTop=c}))}),300,{trailing:!0}),t}return n=a,(r=[{key:"getActivePage",value:function(e,t,n,r,o){for(var i=R,a=1,s=1;s<=t.numPages;s++){var l=n[s],c=this.getPageHeight(l&&l.height||o,r);if(e>=i-P&&e<=i+c){a=s;break}i+=c+P}return{pageActive:a,pageVisibleStart:Math.max(0,a-1),pageVisibleEnd:Math.min(t.numPages,a+1)}}},{key:"getPageHeight",value:function(e,t){return e*t*(96/72)}},{key:"getPageBox",value:function(e,t,n){for(var r=R,o=1;o<e;o++){var i=n[e];if(!n)return null;r+=this.getPageHeight(i.height,t)+P}return n[e]?{top:r,height:n[e].height}:null}},{key:"scrollToActivePage",value:function(e){var t=this.props,n=t.pagesOverview,r=t.scale,o=this.getPageBox(e,r,n);this.rootNode.scrollTop=o.top-3}},{key:"componentDidUpdate",value:function(e,t){e.scale!==this.props.scale&&this.scrollToActivePage(this.state.pageActive),t.pageActive!==this.state.pageActive&&this.props.onActivePageChange(this.state.pageActive),e.activatePage!==this.props.activatePage&&this.scrollToActivePage(this.props.activatePage.num)}},{key:"render",value:function(){for(var t=this.props,n=t.pdfDocument,r=t.scale,o=t.defaultPageWidth,i=t.defaultPageHeight,a=t.pagesOverview,s=t.searchMatch,l=t.searchMatches,c=t.pdfjsLib,u=this.state,d=(u.pages,u.scrollTop,u.pageVisibleStart),p=u.pageVisibleEnd,f=[],h=1;h<=n.numPages;h++){var m=a[h],y=h>=d&&h<=p,v=s&&s.pageNum===h?s:null,b=l[h-1];f.push((0,e.h)(g,{defaultWidth:o,defaultHeight:i,visible:y,scale:r,pdfPage:m&&m.page,num:h,activeSearchMatch:v,searchMatches:b,onActiveMatchRender:this.onSearchActiveMatchesRender,pdfjsLib:c,active:h===this.props.activePage}))}return(0,e.h)("div",{className:"pdf-viewer-pages",ref:this.onRef,onScroll:this.onScroll},f)}}])&&S(n.prototype,r),o&&S(n,o),a}(e.wA),M=a(49190);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=H(e);if(t){var o=H(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return F(this,n)}}function F(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return U(e)}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z=[.5,.75,1,1.25,1.5,2,3,4],q=function(t){!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}}),t&&L(e,t)}(a,t);var n,r,o,i=B(a);function a(){var e;D(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return V(U(e=i.call.apply(i,[this].concat(n))),"onSelect",(function(t){e.scaleChanged(t.target.value)})),V(U(e),"onDecreaseScale",(function(){var t=z.indexOf(e.props.scale)-1;t<0||e.scaleChanged(z[t])})),V(U(e),"onIncreaseScale",(function(){var t=z.indexOf(e.props.scale)+1;z.length<=t||e.scaleChanged(z[t])})),e}return n=a,(r=[{key:"scaleChanged",value:function(e){this.props.onScaleChange(e)}},{key:"render",value:function(){var t=this.props.scale,n=z.map((function(t){return(0,e.h)("option",{value:t},Math.round(100*t),"%")}));return(0,e.h)("div",{className:"pdf-viewer-zoom"},(0,e.h)("div",{className:"pdf-viewer-button",onClick:this.onIncreaseScale},(0,e.h)(M.SC9,null)),(0,e.h)("select",{onChange:this.onSelect,value:t},n),(0,e.h)("div",{className:"pdf-viewer-button",onClick:this.onDecreaseScale},(0,e.h)(M.UrD,null)))}}])&&j(n.prototype,r),o&&j(n,o),a}(e.wA);a(60285),a(41637);function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=X(e);if(t){var o=X(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $(this,n)}}function $(e,t){if(t&&("object"===G(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Q(e)}function Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ee=function(t){!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}}),t&&Z(e,t)}(l,t);var n,r,o,i,a,s=K(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),J(Q(t=s.call(this,e)),"onCanvasRef",(function(e){t.canvas=e})),J(Q(t),"onImgRef",(function(e){t.img=e})),t.state={objectUrl:null},t}return n=l,(r=[{key:"loadCanvasIntoImg",value:function(e){var t=this;return new Promise((function(n,r){var o=t.img;if(!o)return r(new Error("no img was loaded"));o.onload=n,o.onerror=r,e.toBlob((function(e){var n=URL.createObjectURL(e);o.src=n,t.setState((function(){return{objectUrl:n}}))}))}))}},{key:"renderPage",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l,c=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.num,r=t.pdfDocument,e.next=3,r.getPage(n);case 3:return o=e.sent,i=document.createElement("canvas"),a=o.getViewport({scale:1}),i.width=Math.floor(a.width*(150/72)),i.height=Math.floor(a.height*(150/72)),s=i.getContext("2d"),l=o.render({canvasContext:s,viewport:a,transform:[150/72,0,0,150/72,0,0],intent:"print"}),this.renderTask=l,e.prev=11,e.next=14,l.promise;case 14:return e.next=16,this.loadCanvasIntoImg(i);case 16:e.next=21;break;case 18:return e.prev=18,e.t0=e.catch(11),e.abrupt("return",console.warn("rendering of a print page failed with",e.t0));case 21:this.setState((function(){return{viewport:o.getViewport({scale:1}),width:Math.floor(a.width*(96/72)),height:Math.floor(a.height*(96/72))}}),(function(){requestAnimationFrame((function(){c.props.onLoad(o,n)})),c.renderTask=null}));case 22:case"end":return e.stop()}}),e,this,[[11,18]])})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){W(o,n,r,a,s,"next",e)}function s(e){W(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"componentDidMount",value:function(){this.props.canLoad&&this.renderPage()}},{key:"componentDidUpdate",value:function(e){this.props.canLoad&&e.canLoad!==this.props.canLoad&&!this.state.viewport&&this.renderPage()}},{key:"componentWillUnmount",value:function(){this.renderTask&&!this.state.viewport&&this.renderTask.cancel(),this.state.objectUrl&&URL.revokeObjectURL(this.state.objectUrl),this.renderTask=null,this.canvas=null,this.img=null,this.props={}}},{key:"render",value:function(){var t=1,n=1;return this.state.viewport&&(t=this.state.width,n=this.state.height),(0,e.h)("div",{className:"pdf-viewer-printing-page"},(0,e.h)("img",{style:{width:t+"px",height:n+"px"},ref:this.onImgRef}))}}])&&Y(n.prototype,r),o&&Y(n,o),l}(e.wA),te=a(2769),ne=a.n(te),re=a(407);function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t,n){return t&&ae(e.prototype,t),n&&ae(e,n),e}function le(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}}),t&&ce(e,t)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fe(e);if(t){var o=fe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return de(this,n)}}function de(e,t){if(t&&("object"===oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return pe(e)}function pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var me=function(t){le(r,t);var n=ue(r);function r(e){var t;ie(this,r),he(pe(t=n.call(this,e)),"onPageLoad",(function(e,n){t.props.onPageLoad(e,n),pe(t).pagesState[n]="loaded",t.loadingCnt--;var r=t.state.pagesLoaded+1;t.setState((function(){return{pagesLoaded:r}}),(function(){r>=t.props.pdfDocument.numPages&&requestAnimationFrame((function(){t.props.onPagesBuild()})),e.cleanup()}))})),t.state={pagesLoaded:0},t.loadingCnt=0,t.pagesState={};for(var o=1;o<=e.pdfDocument.numPages;o++)t.pagesState[o]="";return t}return se(r,[{key:"componentWillUnmount",value:function(){this.props={}}},{key:"render",value:function(){for(var t=this.props.pdfDocument,n=this.pagesState,r=[],o=1;o<=t.numPages;o++){var i=!1;this.loadingCnt<30&&""===n[o]&&(this.loadingCnt++,n[o]="loading",i=!0),r.push((0,e.h)(ee,{num:o,pdfDocument:t,canLoad:i,onLoad:this.onPageLoad}))}return(0,e.h)("div",{className:"pdf-viewer-printing-pages"},r)}}]),r}(e.wA),ge=function(t){le(r,t);var n=ue(r);function r(e){var t;ie(this,r),he(pe(t=n.call(this,e)),"onPagesBuild",(function(){window.print(),t.props.onPrinted()})),he(pe(t),"onPageLoad",(function(e,n){if(!t.pageStyleSheet){var r=e.view[2],o=e.view[3];t.pageStyleSheet=document.createElement("style"),t.pageStyleSheet.textContent="@supports ((size:A4) and (size:1pt 1pt)) {@page { size: "+r+"pt "+o+"pt; margin: 0;}}",document.body.appendChild(t.pageStyleSheet)}t.setState((function(e){return{pagesLoaded:e.pagesLoaded+1}}))})),he(pe(t),"onAbort",(function(){t.props.onAbort()})),t.state={pagesLoaded:0};var o=document.createElement("div");return document.body.insertBefore(o,document.body.firstChild),t}return se(r,[{key:"componentDidMount",value:function(){var t=this.props.pdfDocument;this.pRenderPages((0,e.h)(me,{pdfDocument:t,onPageLoad:this.onPageLoad,onPagesBuild:this.onPagesBuild})),this.printStyleSheet=document.createElement("style"),this.printStyleSheet.textContent=ne(),document.body.appendChild(this.printStyleSheet)}},{key:"componentWillUnmount",value:function(){this.pageStyleSheet&&this.pageStyleSheet.parentNode.removeChild(this.pageStyleSheet),this.pRenderPages(null),this.printStyleSheet.parentNode.removeChild(this.printStyleSheet),this.props={}}},{key:"pRenderPages",value:function(t){(0,e.sY)(t,document.body)}},{key:"render",value:function(){var t=this.props.pdfDocument,n=Math.round(this.state.pagesLoaded/t.numPages*100);return(0,e.h)("div",{className:"pdf-viewer-printing-overlay"},(0,e.h)("div",{className:"pdf-viewer-printing-message"},(0,e.h)(re.xv,{id:"file.pdf_viewer.preparing_document_for_printing"})," "+n+"%",(0,e.h)("br",null),(0,e.h)("a",{onClick:this.onAbort},(0,e.h)(re.xv,{id:"file.pdf_viewer.abort"}))))}}]),r}(e.wA);function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function be(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ve(i,r,o,a,s,"next",e)}function s(e){ve(i,r,o,a,s,"throw",e)}a(void 0)}))}}function _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ee(this,n)}}function Ee(e,t){if(t&&("object"===ye(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xe(e)}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Te=function(t){!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}}),t&&Ce(e,t)}(s,t);var n,r,o,i,a=Se(s);function s(){var e;_e(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Oe(xe(e=a.call.apply(a,[this].concat(n))),"onCanvasRef",(function(t){e.canvas=t,e.state={isRendered:!1}})),e}return n=s,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.pageOverview,n=e.visible;t&&n&&this.renderPage()}},{key:"componentDidUpdate",value:function(e,t){if(!this.state.isRendered){var n=this.props,r=n.pageOverview,o=n.visible;r&&o&&(r!==e.pageOverview||o!==e.visible)&&this.renderPage()}}},{key:"getScale",value:function(){var e=this.props,t=e.pageOverview;return e.width/t.page.getViewport({scale:1}).width}},{key:"renderPage",value:(i=be(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.props.pageOverview,n=t.page,r=this.canvas,o=this.getScale(),i=window.devicePixelRatio*o*(96/72),a=n.getViewport({scale:i}),r.width=Math.round(a.width),r.height=Math.round(a.height),s=r.getContext("2d"),l=n.render({canvasContext:s,viewport:a}),this.setState((function(){return{isRendered:!0}}),be(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.promise;case 2:case"end":return e.stop()}}),e)}))));case 11:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"render",value:function(){var t=this.props,n=t.width,r=t.height;return(0,e.h)("div",{className:"pdf-viewer-page-preview "+(this.props.active?"pdf-viewer-active-preview":""),style:{width:n+"px",height:r+"px"},onClick:this.props.onClick},(0,e.h)("canvas",{ref:this.onCanvasRef}))}}])&&we(n.prototype,r),o&&we(n,o),s}(e.wA);function Ae(e){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=De(e);if(t){var o=De(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Me(this,n)}}function Me(e,t){if(t&&("object"===Ae(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ne(e)}function Ne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=parseInt(_().fullScreenViewerPreviewsTopMargin),Le=parseInt(_().fullScreenViewerPreviewsMargin),Be=function(t){!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}}),t&&Re(e,t)}(a,t);var n,r,o,i=Ie(a);function a(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=i.call(this,e),n=Ne(t),o=function(e){e&&(t.rootNode=e,t.rootNode.scrollTop=0)},(r="onRef")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.state={scrollTop:0},t.onScroll=v()((function(e){t.setState((function(){return{scrollTop:e.target.scrollTop}}))}),300,{trailing:!0}),t}return n=a,(r=[{key:"getPreviewSize",value:function(e,t,n){var r=t,o=n;return e&&(r=e.width,o=e.height),{width:100,height:100/(r/o)}}},{key:"getPreviewBox",value:function(e,t,n,r){for(var o=je,i=1;i<e;i++)t[i],o+=this.getPreviewSize(t[i],n,r).height+Le;return{top:o,height:this.getPreviewSize(t[e],n,r).height}}},{key:"scrollTopActivePage",value:function(){var e=this.props,t=e.pagesOverview,n=e.defaultPageWidth,r=e.defaultPageHeight,o=this.getPreviewBox(this.props.activePage,t,n,r),i=this.rootNode.scrollTop,a=this.rootNode.offsetHeight+i;i<=o.top&&a>=o.top+o.height||(this.rootNode.scrollTop=o.top-3)}},{key:"componentDidMount",value:function(){this.scrollTopActivePage()}},{key:"componentDidUpdate",value:function(e){e.activePage!==this.props.activePage&&this.scrollTopActivePage()}},{key:"onPageClick",value:function(e){this.props.onActivatePage(e)}},{key:"render",value:function(){for(var t,n,r=this.props,o=r.pdfDocument,i=r.defaultPageWidth,a=r.defaultPageHeight,s=r.pagesOverview,l=this.state.scrollTop,c=je,u=1;u<=o.numPages;u++){s[u];var d=this.getPreviewSize(s[u],i,a).height;if(l>=c-Le&&l<=c+d+Le){t=Math.max(0,u-10),n=Math.min(o.numPages,u+10);break}c+=d+Le}for(var p=[],f=1;f<=o.numPages;f++){var h=s[f],m=f>=t&&f<=n,g=this.getPreviewSize(h,i,a),y=g.width,v=g.height;p.push((0,e.h)(Te,{width:y,height:v,pageOverview:h,visible:m,active:this.props.activePage===f,onClick:this.onPageClick.bind(this,f)}))}return(0,e.h)("div",{ref:this.onRef,className:"pdf-viewer-sidebar",onScroll:this.onScroll},(0,e.h)("div",{className:"pdf-viewer-previews"},p))}}])&&Pe(n.prototype,r),o&&Pe(n,o),a}(e.wA),Fe=a(21791),Ue=a.n(Fe),He=a(28199);function Ve(e){return(Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ge(e,t,n){return t&&qe(e.prototype,t),n&&qe(e,n),e}function We(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}}),t&&Ye(e,t)}function Ye(e,t){return(Ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qe(e);if(t){var o=Qe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ke(this,n)}}function Ke(e,t){if(t&&("object"===Ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $e(e)}function $e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e){return(Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=(0,He.ZP)("escape"),et=(0,He.ZP)("enter"),tt=function(t){We(r,t);var n=Ze(r);function r(e){var t;return ze(this,r),Xe($e(t=n.call(this,e)),"onFoundMatches",(function(e){e.pageNum;var n=t.props.finder;t.props.onTotalMatchesChange(n.totalMatches)})),t.state={},e.finder.init(),t}return Ge(r,[{key:"componentDidMount",value:function(){this.props.finder.on("found-matches",this.onFoundMatches),this.doLookup()}},{key:"componentDidUpdate",value:function(e){e.query!==this.props.query&&this.doLookup()}},{key:"componentWillUnmount",value:function(){this.props.finder.removeListener("found-matches",this.onFoundMatches)}},{key:"doLookup",value:function(){var e=this.props,t=e.finder,n=e.query;t.setQuery(n),t.lookForMatches()}},{key:"render",value:function(){var t,n=this.props,r=n.totalMatches,o=n.selectedMatchIdx,i=n.notFound;return t=i?(0,e.h)("div",null,"Phrase not found"):r>1e3?(0,e.h)("div",null,"Found More than 1000 matches"):0===r?(0,e.h)("div",null,"Searching..."):(0,e.h)("div",null,o+1," of ",r," match",r>1?"es":""),(0,e.h)("div",{className:"pdf-viewer-search-result"},t,i?null:(0,e.h)("div",null,(0,e.h)("button",{onClick:this.props.onPrevMatch},"Prev"),(0,e.h)("button",{onClick:this.props.onNextMatch},"Next")),(0,e.h)("div",{className:"close",onClick:this.props.onClose},"×"))}}]),r}(e.wA),nt=function(t){We(r,t);var n=Ze(r);function r(e){var t;return ze(this,r),Xe($e(t=n.call(this,e)),"onChange",(function(e){t.props.finder.abort(),t.setState((function(){return{query:e.target.value,scrollToFirstMatch:!0,notFound:!1}}))})),Xe($e(t),"onInputKeyDown",(function(e){Je(e)?t.clearSearch():et(e)&&t.onNextMatch()})),Xe($e(t),"onFoundMatches",(function(){var e=t.props,n=e.finder,r=e.pdfDocument,o=n.rawMatches;if(t.state.scrollToFirstMatch){for(var i,a=0;a!==r.numPages&&o[a];a++)if(o[a].length){i={pageNum:a+1,matches:o[a],matchesLength:n.getPageMatchesLength(a),selectedMatchIdx:0,query:t.state.query};break}i&&t.setState((function(){return{scrollToFirstMatch:!1,matchIdx:0}}),(function(){t.activateMatch(i)}))}t.foundMatchesDebounced(n.matches)})),Xe($e(t),"onFinderSearchEnd",(function(){t.props.finder.totalMatches||t.setState((function(){return{notFound:!0}}),(function(){t.activateMatch(null),t.foundMatches([])}))})),Xe($e(t),"onPrevMatch",(function(){if(!(t.state.matchIdx<=0)){var e=t.state.matchIdx-1;t.setState((function(){return{matchIdx:e}}),(function(){t.activateMatchByIdx(e)}))}})),Xe($e(t),"onNextMatch",(function(){var e=t.state.totalMatches,n=t.state.matchIdx+1;n>=e||t.setState((function(){return{matchIdx:n}}),(function(){t.activateMatchByIdx(n)}))})),Xe($e(t),"onTotalMatchesChange",(function(e){t.setState((function(){return{totalMatches:e}}))})),Xe($e(t),"onSearchResultClose",(function(){t.clearSearch()})),t.state={query:"",scrollToFirstMatch:!0,totalMatches:0,matchIdx:0,notFound:!1},t.foundMatchesDebounced=Ue()(t.foundMatches,200,{trailing:!0}),t}return Ge(r,[{key:"componentDidMount",value:function(){var e=this.props.finder;e.on("found-matches",this.onFoundMatches),e.on("search-end",this.onFinderSearchEnd)}},{key:"componentWillUnmount",value:function(){var e=this.props.finder;e.removeListener("found-matches",this.onFoundMatches),e.removeListener("search-end",this.onFinderSearchEnd)}},{key:"componentDidUpdate",value:function(e,t){t.query!==this.state.query&&""===this.state.query&&(this.activateMatch(null),this.foundMatches([]))}},{key:"clearSearch",value:function(){this.setState((function(){return{query:"",notFound:!1}}))}},{key:"activateMatchByIdx",value:function(e){for(var t,n,r,o=this.props.finder,i=o.rawMatches,a=0,s=0;s!=i.length;s++){if(!(a+i[s].length<=e)){n=i[s],t=e-a,r=s;break}a+=i[s].length}if(n){var l={pageNum:r+1,matches:n,matchesLength:o.getPageMatchesLength(r),selectedMatchIdx:t,query:this.state.query};this.activateMatch(l)}}},{key:"activateMatch",value:function(e){this.props.onActivateMatch(e)}},{key:"foundMatches",value:function(e){this.props.onMatches(e)}},{key:"render",value:function(){var t=this.state,n=t.query,r=t.totalMatches,o=t.matchIdx,i=t.notFound,a=null;return n.length>0&&(a=(0,e.h)(tt,{query:n,finder:this.props.finder,onPrevMatch:this.onPrevMatch,onNextMatch:this.onNextMatch,totalMatches:r,selectedMatchIdx:o,onTotalMatchesChange:this.onTotalMatchesChange,notFound:i,onClose:this.onSearchResultClose})),(0,e.h)("div",{className:"pdf-viewer-search "+(i?"pdf-viewer-search-not-found":"")},(0,e.h)("div",{className:"pdf-viewer-search-bar"},(0,e.h)("input",{value:n,type:"text",placeholder:"Search",onInput:this.onChange,onKeyDown:this.onInputKeyDown}),(0,e.h)("div",{className:"pdf-viewer-search-icon"})),a)}}]),r}(e.wA),rt=a(60764),ot=a.n(rt),it=(a(24603),a(74916),a(39714),a(15306),a(4723),a(2707),a(94092));function at(e){return(at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function st(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function lt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){st(i,r,o,a,s,"next",e)}function s(e){st(i,r,o,a,s,"throw",e)}a(void 0)}))}}function ct(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ut(e,t){return(ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ft(e);if(t){var o=ft(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pt(this,n)}}function pt(e,t){if(t&&("object"===at(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 ft(e){return(ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ht={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},mt=null;function gt(e){if(!mt){var t=Object.keys(ht).join("");mt=new RegExp("[".concat(t,"]"),"g")}return e.replace(mt,(function(e){return ht[e]}))}var yt=function(e){!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}}),t&&ut(e,t)}(l,e);var t,n,r,o,i,a,s=dt(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this))._extractTextPromises=[],t._pageContents=[],t._pageContentsItems=[],t._pendingFindMatches=[],t._pageMatches=[],t._pageMatchesPrepared=[],t._pageMatchesLength=[],t._initialized=!1,t._initialization=!1,t._query=null,t._matchesCountTotal=0,t._lookingForMatches=!1,t.pdfDocument=e,t.caseSensitive=!1,t.entireWord=!1,t.phraseSearch=!0,t.taskId=0,t}return t=l,(n=[{key:"init",value:(a=lt(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._initialized&&!this._initialization){e.next=2;break}return e.abrupt("return");case 2:return this._initialization=!0,e.next=5,this._extractText();case 5:this._initialization=!1,this._initialized=!0,this.emit("initialized");case 8:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"totalMatches",get:function(){return this._matchesCountTotal}},{key:"matches",get:function(){return this._pageMatchesPrepared}},{key:"rawMatches",get:function(){return this._pageMatches}},{key:"getPageMatchesLength",value:function(e){var t=e-1;return this._pageMatchesLength[t]}},{key:"setQuery",value:function(e){this._query=e}},{key:"abort",value:function(){this._pendingFindMatches=[],this._pageMatches=[],this._pageMatchesPrepared=[],this._pageMatchesLength=[],this._query=null,this._matchesCountTotal=0,this._lookingForMatches=!1,this.taskId++}},{key:"lookForMatches",value:(i=lt(regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.taskId++,t=this.taskId,this._lookingForMatches=!0,n=[],r=0;case 5:if(!(r<this.pdfDocument.numPages)){e.next=16;break}if(t===this.taskId){e.next=9;break}return this._lookingForMatches=!1,e.abrupt("return");case 9:if(!0!==this._pendingFindMatches[r]){e.next=11;break}return e.abrupt("continue",13);case 11:this._pendingFindMatches[r]=!0,n.push(this._extractTextPromises[r].then((function(e){t===o.taskId?(delete o._pendingFindMatches[e],o._calculateMatch(e)):o._lookingForMatches=!1})));case 13:r++,e.next=5;break;case 16:if(t===this.taskId){e.next=19;break}return this._lookingForMatches=!1,e.abrupt("return");case 19:return e.next=21,Promise.all(n);case 21:this._lookingForMatches=!1,this.emit("search-end");case 23:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"_calculateMatch",value:function(e){var t=this._pageContents[e],n=this._query,r=this.caseSensitive,o=this.entireWord,i=this.phraseSearch;if(0!==n.length){r||(t=t.toLowerCase(),n=n.toLowerCase()),i?this._calculatePhraseMatch(n,e,t,o):this._calculateWordMatch(n,e,t,o),this._pageMatchesPrepared[e]={matches:this._pageMatches[e],matchesLength:this._pageMatchesLength[e],query:this._query};var a=this._pageMatches[e].length;a>0&&(this._matchesCountTotal+=a,this.emit("found-matches",{pageNum:e+1}))}}},{key:"_calculatePhraseMatch",value:function(e,t,n,r){for(var o=[],i=e.length,a=-i;-1!==(a=n.indexOf(e,a+i));)r&&!this._isEntireWord(n,a,i)||o.push(a);o.length&&console.info("Found matches",o,"For page",t),this._pageMatches[t]=o}},{key:"_calculateWordMatch",value:function(e,t,n,r){for(var o=[],i=e.match(/\S+/g),a=0,s=i.length;a<s;a++)for(var l=i[a],c=l.length,u=-c;-1!==(u=n.indexOf(l,u+c));)r&&!this._isEntireWord(n,u,c)||o.push({match:u,matchLength:c,skipped:!1});this._pageMatchesLength[t]=[],this._pageMatches[t]=[],this._prepareMatches(o,this._pageMatches[t],this._pageMatchesLength[t])}},{key:"_prepareMatches",value:function(e,t,n){function r(e,t){var n=e[t],r=e[t+1];if(t<e.length-1&&n.match===r.match)return n.skipped=!0,!0;for(var o=t-1;o>=0;o--){var i=e[o];if(!i.skipped){if(i.match+i.matchLength<n.match)break;if(i.match+i.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}}return!1}e.sort((function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match}));for(var o=0,i=e.length;o<i;o++)r(e,o)||(t.push(e[o].match),n.push(e[o].matchLength))}},{key:"_isEntireWord",value:function(e,t,n){if(t>0){var r=e.charCodeAt(t),o=e.charCodeAt(t-1);if(getCharacterType(r)===getCharacterType(o))return!1}var i=t+n-1;if(i<e.length-1){var a=e.charCodeAt(i),s=e.charCodeAt(i+1);if(getCharacterType(a)===getCharacterType(s))return!1}return!0}},{key:"_extractPageText",value:(o=lt(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.pdfDocument.getPage(t+1);case 3:return n=e.sent,e.next=6,n.getTextContent({normalizeWhitespace:!0});case 6:for(r=e.sent,o=r.items,i=[],a=0,s=o.length;a<s;a++)i.push(o[a].str);this._pageContents[t]=gt(i.join("")),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(0),console.error("Unable to get text content for page ".concat(t+1),e.t0),this._pageContents[t]="";case 17:return e.abrupt("return",t);case 18:case"end":return e.stop()}}),e,this,[[0,13]])}))),function(e){return o.apply(this,arguments)})},{key:"_extractText",value:function(){if(!this._extractTextPromises.length){for(var e=0;e<this.pdfDocument.numPages;e++)this._extractTextPromises[e]=this._extractPageText(e);return Promise.all(this._extractTextPromises)}}}])&&ct(t.prototype,n),r&&ct(t,r),l}(a.n(it)()),vt=a(33103),bt=a(27266),_t=a.n(bt);function wt(e){return(wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ct(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ot(e);if(t){var o=Ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xt(this,n)}}function xt(e,t){if(t&&("object"===wt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kt(e)}function kt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var At=(0,He.ZP)("enter"),Pt=function(t){!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}}),t&&St(e,t)}(a,t);var n,r,o,i=Et(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Tt(kt(t=i.call(this,e)),"onRefInput",(function(e){t.inputText=e})),Tt(kt(t),"onChange",(function(e){var n=t.props,r=n.activePage,o=n.pdfDocument;if(At(e)){var i=t.inputText.value;if(!i)return!1;if((i=parseInt(i)||0)>o.numPages||0===i)t.inputText.value=r;else{if(i===r)return!1;t.props.onActivatePage(i)}}})),Tt(kt(t),"onInput",(function(e){if(!e.data)return!1;var n=parseInt(e.data);isNaN(n)&&(t.inputText.value="")})),Tt(kt(t),"onNextPageClick",(function(e){var n=t.props,r=n.activePage;if(r===n.pdfDocument.numPages)return!1;t.props.onActivatePage(r+1)})),Tt(kt(t),"onPrevPageClick",(function(e){var n=t.props.activePage;if(1===n)return!1;t.props.onActivatePage(n-1)})),t}return n=a,(r=[{key:"render",value:function(){var t=this.props,n=t.activePage,r=t.pdfDocument,o=(0,e.h)("input",{type:"text",id:"page-navigation",className:"current-page",value:n,maxLength:"4",onKeyDown:this.onChange,onInput:this.onInput,ref:this.onRefInput});return(0,e.h)("div",{className:"pdf-viewer-navigation"},(0,e.h)("div",{className:"pdf-viewer-button to-prev",style:{transform:"rotate(90deg)"},onClick:this.onPrevPageClick},(0,e.h)(M.ed9,null)),(0,e.h)("div",{className:"pdf-viewer-button to-next",style:{transform:"rotate(-90deg)"},onClick:this.onNextPageClick},(0,e.h)(M.ed9,null)),o," / ",r.numPages)}}])&&Ct(n.prototype,r),o&&Ct(n,o),a}(e.wA);function Rt(e){return(Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function It(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(n),!0).forEach((function(t){Yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Lt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){jt(i,r,o,a,s,"next",e)}function s(e){jt(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ut(e,t,n){return t&&Ft(e.prototype,t),n&&Ft(e,n),e}function Ht(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}}),t&&Vt(e,t)}function Vt(e,t){return(Vt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Wt(e);if(t){var o=Wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qt(this,n)}}function qt(e,t){if(t&&("object"===Rt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gt(e)}function Gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt=(0,He.ZP)("escape"),Kt=function(t){Ht(o,t);var n,r=zt(o);function o(e){var t;Bt(this,o),Yt(Gt(t=r.call(this,e)),"onPageLoaded",function(){var e=Lt(regeneratorRuntime.mark((function e(n,r,o){var i,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r;case 2:i=e.sent,a=i.getViewport({scale:1}),s=t.state.countLoadedPages+1,l={countLoadedPages:s,isLoadingPages:s<t.props.pdfDocument.numPages},o&&Object.assign(l,o),n===t.props.page&&(l=Dt(Dt({},l),{},{activePage:n,activatePage:{num:t.props.page}})),t.setState((function(e){return Dt(Dt({},l),{},{pagesOverview:Dt(Dt({},e.pagesOverview),{},Yt({},n,{width:a.width,height:a.height,page:i}))})}));case 9:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()),Yt(Gt(t),"onDocumentKeydown",(function(e){(!e.target||"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName)&&Zt(e)&&t.callOnClose()})),Yt(Gt(t),"handleWindowResize",(function(){t.checkScreenWidth()})),Yt(Gt(t),"onClose",(function(){t.props.onPageChange(t.state.activePage),t.callOnClose()})),Yt(Gt(t),"onScaleChange",(function(e){t.props.onScaleChange(e),t.setState((function(){return{scale:e}}))})),Yt(Gt(t),"getDefaultScale",(function(e){var t,n=window.screen.width/2/e.width,r=Number.POSITIVE_INFINITY,o=0,i=It(z);try{for(i.s();!(t=i.n()).done;){var a=t.value,s=Math.abs(a-n);s<r&&(r=s,o=a)}}catch(e){i.e(e)}finally{i.f()}return o})),Yt(Gt(t),"onPrint",(function(){t.props.options&&t.props.options.onPrint&&!0===t.props.options.onPrint({attachment:t.props.attachment})||t.setState((function(){return{isPrinting:!0}}))})),Yt(Gt(t),"onPrinted",(function(){t.setState((function(){return{isPrinting:!1}}))})),Yt(Gt(t),"onPrintAbort",(function(){t.setState((function(){return{isPrinting:!1}}))})),Yt(Gt(t),"onActivePageChange",(function(e){t.setState((function(){return{activePage:e}}))})),Yt(Gt(t),"onActivatePage",(function(e){t.setState((function(){return{activatePage:{num:e}}}))})),Yt(Gt(t),"onToggleSidebar",(function(){t.setState((function(e){return{isSidebarVisible:!e.isSidebarVisible}}))})),Yt(Gt(t),"onDownload",(function(){var e=t.props,n=e.attachment;e.editor.plugins.attachmentManager.download(n)||_t()(n.url)})),Yt(Gt(t),"onActivateSearchMatch",(function(e){t.setState((function(t){var n={searchMatch:e};return e&&e.pageNum!==t.activatePage.num&&(n.activatePage={num:e.pageNum}),n}))})),Yt(Gt(t),"onSearchMatches",(function(e){t.setState((function(){return{searchMatches:e.slice()}}))}));var n=t.props.scale?t.props.scale:t.getDefaultScale(e.pageSize);t.state={scale:n,isPrinting:!1,isInitialLoadComplete:!1,isLoadingPages:!0,countLoadedPages:0,pagesOverview:e.pagesOverview,activePage:1,activatePage:{num:1},isSidebarVisible:!0,searchMatch:null,searchMatches:[]};var i=e.pdfDocument;return t.finder=new yt(i),t}return Ut(o,[{key:"loadPages",value:(n=Lt(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.props.pdfDocument,r=ot()(t,20),o=function(e){e.forEach((function(e){l.onPageLoaded(e,n.getPage(e))}))},i=It(r),e.prev=4,i.s();case 6:if((a=i.n()).done){e.next=13;break}return s=a.value,o(s),e.next=11,(0,vt.Dc)(500);case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),i.e(e.t0);case 18:return e.prev=18,i.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e){return n.apply(this,arguments)})},{key:"componentDidMount",value:function(){var e=this,t=this.props.editor;document.addEventListener("keydown",this.onDocumentKeydown,!1),t.scroll.stopHandlingKeydown(),this.setState((function(){return{activePage:e.props.page,activatePage:{num:e.props.page},isInitialLoadComplete:!0}})),window.addEventListener("resize",this.handleWindowResize),this.checkScreenWidth()}},{key:"componentWillUnmount",value:function(){var e=this.props.editor;document.removeEventListener("keydown",this.onDocumentKeydown,!1),e.scroll.resumeHandlingKeydown(),window.removeEventListener("resize",this.handleWindowResize)}},{key:"componentDidUpdate",value:function(e,t){if(this.state.isInitialLoadComplete&&t.isInitialLoadComplete!==this.state.isInitialLoadComplete){for(var n=this.state.pagesOverview,r=this.props.pdfDocument,o=[],i=1;i<=r.numPages;i++)n[i]||o.push(i);this.loadPages(o)}}},{key:"checkScreenWidth",value:function(){var e=window.innerWidth,t=this.state.isSidebarVisible;(e<=1100&&t||e>1100&&!t)&&this.onToggleSidebar()}},{key:"callOnClose",value:function(){this.props.onClose()}},{key:"render",value:function(){var t=this.props,n=t.pageSize,r=t.pdfDocument,o=t.pdfjsLib,i=(t.attachment,t.blot),a=this.state,s=a.isPrinting,l=a.pagesOverview,c=a.activePage,u=a.isSidebarVisible,d=a.searchMatch,p=a.searchMatches,f=null;s&&(f=(0,e.h)(ge,{onAbort:this.onPrintAbort,onPrinted:this.onPrinted,pdfDocument:r}));var h=null,m=null;return i&&!i.disallowDownloading&&(h=(0,e.h)("div",{className:"pdf-viewer-button pdf-viewer-download",onClick:this.onDownload},(0,e.h)("i",null)),m=(0,e.h)("div",{className:"pdf-viewer-button pdf-viewer-print",onClick:this.onPrint},(0,e.h)("i",null))),(0,e.h)(re.Pj,null,(0,e.h)("div",null,f,(0,e.h)("div",{className:"pdf-viewer-top"},(0,e.h)("div",{className:"pdf-viewer-top-left"},(0,e.h)("div",{className:"pdf-viewer-button pdf-viewer-exit",onClick:this.onClose},(0,e.h)("i",null)),(0,e.h)("div",{className:"pdf-viewer-button pdf-viewer-sidebar "+(u?"pdf-viewer-button-pressed":""),onClick:this.onToggleSidebar},(0,e.h)("i",null))),(0,e.h)(Pt,{activePage:c,pdfDocument:r,onActivatePage:this.onActivatePage}),window.innerWidth>620&&(0,e.h)(q,{onScaleChange:this.onScaleChange,scale:this.state.scale}),(0,e.h)("div",{className:"pdf-viewer-top-right"},(0,e.h)(nt,{finder:this.finder,pdfDocument:r,onActivateMatch:this.onActivateSearchMatch,onMatches:this.onSearchMatches}),m,h)),(0,e.h)("div",{className:"pdf-viewer-body "+(u?"pdf-viewer-with-sidebar":null)},(0,e.h)(Be,{defaultPageWidth:n.width,defaultPageHeight:n.height,pdfDocument:r,pagesOverview:l,activePage:c,onActivatePage:this.onActivatePage}),(0,e.h)(I,{defaultPageWidth:n.width,defaultPageHeight:n.height,scale:this.state.scale,pagesOverview:l,activePage:c,pdfDocument:r,onActivePageChange:this.onActivePageChange,activatePage:this.state.activatePage,searchMatch:d,searchMatches:p,pdfjsLib:o}))))}}]),o}(e.wA),$t=function(t){Ht(r,t);var n=zt(r);function r(){return Bt(this,r),n.apply(this,arguments)}return Ut(r,[{key:"componentDidMount",value:function(){this.container=document.createElement("div"),this.container.classList.add("pdf-viewer-full-screen"),document.body.appendChild(this.container),this.renderFullScreenViewer()}},{key:"componentDidUpdate",value:function(){this.renderFullScreenViewer()}},{key:"componentWillUnmount",value:function(){(0,e.sY)((0,e.h)((function(){return null}),null),this.container,this.container.firstChild),this.container.parentNode.removeChild(this.container)}},{key:"renderFullScreenViewer",value:function(){(0,e.sY)((0,e.h)(Kt,this.props),this.container)}},{key:"render",value:function(){return null}}]),r}(e.wA);function Qt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Xt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Jt=null,en=null,tn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.workerPath=t}var t,n,r,o,i;return t=e,(n=[{key:"load",value:(o=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!en){e.next=4;break}return e.next=3,en;case 3:return e.abrupt("return",e.sent);case 4:return en=Promise.all([a.e(744),a.e(157)]).then(a.t.bind(a,56744,23)),e.next=7,en;case 7:return(Jt=e.sent).GlobalWorkerOptions.workerSrc||(Jt.GlobalWorkerOptions.workerSrc=this.workerPath),e.abrupt("return",Jt);case 10:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Qt(i,n,r,a,s,"next",e)}function s(e){Qt(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"get",value:function(){return Jt}}])&&Xt(t.prototype,n),r&&Xt(t,r),e}();function nn(e){return(nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function on(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=cn(e);if(t){var o=cn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ln(this,n)}}function ln(e,t){if(t&&("object"===nn(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 cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un=function(t){!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}}),t&&an(e,t)}(l,t);var n,r,o,i,a,s=sn(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this,e)).pdfJsLoader=new tn(e.options.workerPath),t.state={pdfDocument:null,pdfDocumentLoadTask:null,documentLoading:!0,printDelegated:!0},t}return n=l,(r=[{key:"componentDidMount",value:function(){var e=this,t=this.getOnPrintFunction();t&&!0===t({attachment:this.props.attachment})?setTimeout((function(){e.props.onPrinted()}),0):this.setState((function(){return{printDelegated:!1}}),(function(){e.loadDocument()}))}},{key:"loadDocument",value:(i=regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfJsLoader.load();case 2:return t=e.sent,n=t.getDocument(this.props.attachment.url),e.next=6,n.promise;case 6:r=e.sent,this.setState((function(){return{documentLoading:!1,pdfDocument:r,pdfDocumentLoadTask:n}}));case 8:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){rn(o,n,r,a,s,"next",e)}function s(e){rn(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e,t){t.documentLoading!==this.state.documentLoading&&this.props.onSizeUpdate&&this.props.onSizeUpdate()}},{key:"componentWillUnmount",value:function(){this.state.pdfDocument&&(this.state.pdfDocumentLoadTask.destroy(),this.state.pdfDocument.cleanup(),this.state.pdfDocument.destroy())}},{key:"getOnPrintFunction",value:function(){return this.props.options&&this.props.options.onPrint?this.props.options.onPrint:null}},{key:"render",value:function(){return this.state.printDelegated?null:(t=this.state.documentLoading?(0,e.h)("div",null,(0,e.h)(re.xv,{id:"file.pdf_viewer.printing_initialization"})):(0,e.h)(ge,{onPrinted:this.props.onPrinted,onAbort:this.props.onAbort,pdfDocument:this.state.pdfDocument}),(0,e.h)(re.Pj,null,(0,e.h)("div",null,t)));var t}}])&&on(n.prototype,r),o&&on(n,o),l}(e.wA);function dn(e){return(dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function fn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hn(e,t){return(hn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vn(e);if(t){var o=vn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gn(this,n)}}function gn(e,t){if(t&&("object"===dn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yn(e)}function yn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vn(e){return(vn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var bn=function(t){!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}}),t&&hn(e,t)}(l,t);var n,r,o,i,a,s=mn(l);function l(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=s.call(this,e),n=yn(t),o=null,(r="pdfJsLoader")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.state={pdfDocument:null,pdfPage:null},t.pdfJsLoader=new tn(e.options.workerPath),t}return n=l,(r=[{key:"componentDidMount",value:function(){this.loadDocument()}},{key:"loadDocument",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfJsLoader.load();case 2:return t=e.sent,e.next=5,t.getDocument(this.props.attachment.url).promise;case 5:return n=e.sent,e.next=8,n.getPage(1);case 8:r=e.sent,o=r.getViewport({scale:1}),this.setState((function(){return{pdfDocument:n,pdfPage:r,pageWidth:o.width,pageHeight:o.height}}));case 11:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){pn(o,n,r,a,s,"next",e)}function s(e){pn(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(){var t=this.state,n=t.pdfDocument,r=t.pdfPage,o=t.pageWidth,i=t.pageHeight;return n&&r?(0,e.h)($t,{pdfDocument:n,pageSize:{width:o,height:i},onClose:this.props.onClose,attachment:this.props.attachment,editor:this.props.editor,options:this.props.options,pdfjsLib:this.pdfJsLoader.get()}):(0,e.h)("div",null,(0,e.h)(re.xv,{id:"file.pdf_viewer.initializing_full_window_view"}))}}])&&fn(n.prototype,r),o&&fn(n,o),l}(e.wA),_n=a(26158);function wn(e){return(wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sn(e,t)}(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 Sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function xn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){En(i,r,o,a,s,"next",e)}function s(e){En(i,r,o,a,s,"throw",e)}a(void 0)}))}}function kn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function On(e,t){return(On=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Rn(e);if(t){var o=Rn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return An(this,n)}}function An(e,t){if(t&&("object"===wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Pn(e)}function Pn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rn(e){return(Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mn=function(t){!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}}),t&&On(e,t)}(a,t);var n,r,o,i=Tn(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),In(Pn(t=i.call(this,e)),"onIntersectionObserver",(function(e){if(e[0].intersectionRatio<=0)return t.setState((function(){return{visible:!1}})),!1;var n=!1;t.setState((function(e){return e.visible?null:(n=!0,{visible:!0})}),(function(){n&&t.renderPdfPage()}))})),In(Pn(t),"onPageMouseDown",(function(){t.props.onPageMouseDown()})),In(Pn(t),"onMouseOver",(function(){t.props.onPageMouseOver()})),In(Pn(t),"onMouseOut",(function(){t.props.onPageMouseOut()})),In(Pn(t),"onPageClick",(function(){t.props.setPage(t.props.num),t.props.onPageClick()})),In(Pn(t),"onCanvasRef",function(){var e=xn(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.canvas=n,e.next=3,t.renderPdfPage();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),In(Pn(t),"onPageRef",(function(e){e&&t.intersectionObserver.observe(e)})),In(Pn(t),"renderPdfPage",xn(regeneratorRuntime.mark((function e(){var n,r,o,i,a,s,l,c,u,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!1,r=t.state.pageOverview,(o=t.canvas)&&r){e.next=5;break}return e.abrupt("return");case 5:if(i=Cn(r.page.view,4),a=i[2],s=i[3],l=t.getPageRenderRatio(a,s),c=r.page.getViewport({scale:window.devicePixelRatio*l}),!t.state.visible){e.next=21;break}return(u=document.createElement("canvas")).width=c.width,u.height=c.height,d=u.getContext("2d"),p=r.page.render({canvasContext:d,viewport:c}),e.next=16,p.promise;case 16:o.width=c.width,o.height=c.height,o.getContext("2d").drawImage(u,0,0),t.props.setViewport(c),n=!0;case 21:t.setState((function(){return{viewport:c,rendered:n}}));case 22:case"end":return e.stop()}}),e)})))),In(Pn(t),"getPageSize",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=void 0===t?800:t,r=e.height,o=void 0===r?600:r;return{width:n/=window.devicePixelRatio,height:o/=window.devicePixelRatio}}));var n=e.pageOverview;return t.state={pageOverview:n,maxWidth:e.maxWidth,viewport:n&&n.viewport,visible:t.props.visible,rendered:!1},t.TID=0,t.pageBottomMargin=parseInt(_().fullScreenViewerPagesMargin),t.fileHorizontalPadding=parseInt(_n.fileHorizontalPadding),t.intersectionObserver=new IntersectionObserver(t.onIntersectionObserver),t}return n=a,(r=[{key:"getPageRenderRatio",value:function(e){return(this.props.maxWidth-2*this.fileHorizontalPadding)/e}},{key:"componentDidUpdate",value:function(e,t,n){var r=this;e.maxWidth!==this.props.maxWidth&&(clearTimeout(this.TID),this.TID=setTimeout(this.renderPdfPage,100)),e.pageOverview!==this.state.pageOverview&&this.props.pageOverview&&this.setState((function(){return{pageOverview:r.props.pageOverview,viewport:r.props.pageOverview.viewport}}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.TID),this.intersectionObserver.disconnect()}},{key:"render",value:function(){if(!this.state.pageOverview){var t=this.getPageSize(this.props.viewport),n=t.width,r=t.height;return(0,e.h)("div",{className:"pdf-page editor-loader2-grey editor-loader-cc",style:{width:n+"px",height:r+"px",marginBottom:this.props.isLastPage?0:this.pageBottomMargin+"px"}})}var o=this.getPageSize(this.state.viewport),i={width:o.width+"px",height:o.height+"px",marginBottom:this.props.isLastPage?0:this.pageBottomMargin+"px"},a=this.state.rendered,s=["pdf-page"];return this.props.options.openFullScreenByTwoClicks&&!this.props.options.allowOpenOnMouseOver||s.push("open-on-mouse-over"),a||s.push("editor-loader2-grey editor-loader-cc"),(0,e.h)("div",{ref:this.onPageRef,onMouseDown:this.onPageMouseDown,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut,onClick:this.onPageClick,className:s.join(" "),style:i},(0,e.h)("canvas",{ref:this.onCanvasRef}),(0,e.h)("div",{className:"pdf-page-number"},this.props.num))}}])&&kn(n.prototype,r),o&&kn(n,o),a}(e.wA);function Nn(e){return(Nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Fn(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){Kn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Fn(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 Fn(e,t){if(e){if("string"==typeof e)return Un(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Un(e,t):void 0}}function Un(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Vn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Hn(i,r,o,a,s,"next",e)}function s(e){Hn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function zn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qn(e,t){return(qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Zn(e);if(t){var o=Zn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wn(this,n)}}function Wn(e,t){if(t&&("object"===Nn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yn(e)}function Yn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zn(e){return(Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $n=function(t){!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}}),t&&qn(e,t)}(s,t);var n,r,o,i,a=Gn(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Kn(Yn(t=a.call(this,e)),"onPageLoaded",function(){var e=Vn(regeneratorRuntime.mark((function e(n,r){var o,i,a,s,l,c,u,d,p,f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r;case 2:o=e.sent,i=t.state.countLoadedPages+1,a=Bn(o.view,4),s=a[2],l=a[3],c=t.getPageRenderRatio(s,l),u=window.devicePixelRatio*c,d=o.getViewport({scale:u}),p=o.getViewport({scale:1}),f=p.width,h=p.height,t.props.updatePagesOverview(Kn({},n,{width:f,height:h,page:o,viewport:d})),t.setState((function(e){return{countLoadedPages:i,isLoadingPages:i<=1,pagesOverview:Ln(Ln({},e.pagesOverview),{},Kn({},n,{page:o,viewport:d}))}}));case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),Kn(Yn(t),"setViewport",(function(e){t.setState((function(){return{viewport:e}}))})),t.state={isLoadingPages:!0,pagesOverview:e.pagesOverview,countLoadedPages:t.getPagesOverviewLength(e.pagesOverview)},t.fileHorizontalPadding=parseInt(_n.fileHorizontalPadding),t}return n=s,(r=[{key:"getPagesOverviewLength",value:function(e){var t=0;for(var n in e)t++;return t}},{key:"getPageRenderRatio",value:function(e){return(this.props.maxWidth-2*this.fileHorizontalPadding)/e}},{key:"loadPages",value:(i=Vn(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.props.pdfDocument,r=ot()(t,20),o=function(e){e.forEach((function(e){l.onPageLoaded(e,n.getPage(e))}))},i=Dn(r),e.prev=4,i.s();case 6:if((a=i.n()).done){e.next=13;break}return s=a.value,o(s),e.next=11,(0,vt.Dc)(500);case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),i.e(e.t0);case 18:return e.prev=18,i.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e){return i.apply(this,arguments)})},{key:"componentDidMount",value:function(){for(var e=this.state.pagesOverview,t=this.props.pdfDocument,n=[],r=1;r<=t.numPages;r++)e[r]||n.push(r);n.length?this.loadPages(n):this.setState((function(){return{isLoadingPages:!1}}))}},{key:"render",value:function(){var t=this,n=this.props,r=n.pdfDocument,o=n.onPageClick,i=n.onPageMouseDown,a=n.onPageMouseOver,s=n.onPageMouseOut,l=n.setPage,c=n.maxWidth,u=this.state,d=u.pagesOverview;if(u.isLoadingPages)return(0,e.h)("div",{className:"pdf-loading-document"},(0,e.h)("div",{className:"editor-loader2-grey editor-loader-cc"}),(0,e.h)("div",{className:"pdf-loading-message"},"Loading pages ...please wait..."));for(var p=[],f=function(n){p.push((0,e.h)(Mn,{num:n,viewport:t.state.viewport,pageOverview:d[n],isLastPage:n===r.numPages,onPageClick:function(){o(n)},onPageMouseDown:i,onPageMouseOver:a,onPageMouseOut:s,setPage:l,setViewport:t.setViewport,maxWidth:c,visible:1===n,options:t.props.options}))},h=1;h<=r.numPages;h++)f(h);return(0,e.h)("div",{className:"pdf-all-pages"},p)}}])&&zn(n.prototype,r),o&&zn(n,o),s}(e.wA),Qn=a(10856),Xn=a(28411),Jn=a(95174);function er(e){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tr(){return(tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nr(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function rr(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){nr(i,r,o,a,s,"next",e)}function s(e){nr(i,r,o,a,s,"throw",e)}a(void 0)}))}}function or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?or(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sr(e,t){return(sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=dr(e);if(t){var o=dr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cr(this,n)}}function cr(e,t){if(t&&("object"===er(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ur(e)}function ur(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dr(e){return(dr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fr=parseInt(_n.fileHorizontalPadding),hr=function(t){!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}}),t&&sr(e,t)}(c,t);var n,r,o,i,a,s,l=lr(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),pr(ur(t=l.call(this,e)),"pdfJsLoader",null),pr(ur(t),"onCanvasRef",(function(e){t.canvas=e,t.renderPdfPage()})),pr(ur(t),"incPage",(function(){var e=Math.min(t.getCurrentPageNumber()+1,t.state.pdfDocument.numPages);t.props.setSyncedState({page:e})})),pr(ur(t),"decPage",(function(){var e=Math.max(t.getCurrentPageNumber()-1,1);t.props.setSyncedState({page:e})})),pr(ur(t),"setPage",(function(e){t.props.setSyncedState({page:e})})),pr(ur(t),"pinPage",(function(){var e=t.getCurrentPageNumber();t.props.setSyncedState({pinned:e})})),pr(ur(t),"unpinPage",(function(){t.props.setSyncedState({pinned:!1})})),pr(ur(t),"onPageClick",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.pageMouseDownOnFocused;if(t.props.options&&t.props.options.allowOpenOnMouseOver&&t.state.isMouseOver&&(n=!0),n)if(t.props.options&&t.props.options.onClick)t.props.options.onClick({attachment:t.props.attachment,params:{disallowDownloading:t.props.blot&&t.props.blot.disallowDownloading}});else{var r={fullscreen:!0};e&&Number.isInteger(parseInt(e))?r.page=parseInt(e):r.page=t.getCurrentPageNumber(),t.setState((function(){return r}))}})),pr(ur(t),"onPageMouseDown",(function(){t.pageMouseDownOnFocused=!t.props.options.openFullScreenByTwoClicks||t.props.focused})),pr(ur(t),"onPageChange",(function(e){t.props.setSyncedState({page:e})})),pr(ur(t),"onMouseOver",(function(){setTimeout((function(){t.setState((function(){return{isMouseOver:!0}}))}),0)})),pr(ur(t),"onMouseOut",(function(){t.setState((function(){return{isMouseOver:!1}}))})),pr(ur(t),"onFullScreenClose",(function(){t.setState((function(){return{fullscreen:!1}}))})),pr(ur(t),"onScaleChange",(function(e){t.setState((function(){return{scale:e}}))})),pr(ur(t),"updatePagesOverview",(function(e){t.setState((function(t){return{pagesOverview:ir(ir({},t.pagesOverview),e)}}))})),t.pdfJsLoader=new tn(e.options.workerPath),t.state={pdfDocument:null,pdfPage:null,pdfPageViewport:null,documentLoading:!1,pageLoading:!1,pageRendering:!1,page:t.getCurrentPageNumber(),renderRatio:null,fullscreen:!1,isMouseOver:!1,pdfJsLoaded:Boolean(t.pdfJsLoader.get()),pagesOverview:{},scale:null,viewAs:e.blot.getViewAs(),init:!0},t.pageMouseDownOnFocused=!0,t}return n=c,(r=[{key:"componentWillUnmount",value:function(){this.state.pdfDocument&&this.state.pdfDocument.destroy()}},{key:"componentDidMount",value:function(){var e=this;this.pdfJsLoader.get()||this.pdfJsLoader.load().then((function(){e.setState((function(){return{pdfJsLoaded:!0}}))}))}},{key:"loadPdfDocument",value:(s=rr(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState((function(){return{documentLoading:!0}}),rr(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.pdfJsLoader.load();case 2:return n=e.sent,r={url:t.props.attachment.url,cMapUrl:t.props.options.cMapUrl,cMapPacked:!0},e.next=6,n.getDocument(r).promise;case 6:o=e.sent,t.setState((function(){return{documentLoading:!1,pdfDocument:o}}));case 8:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"getPageRenderRatio",value:function(e,t,n){var r=90===(null==n?void 0:n.rotate)||-90===(null==n?void 0:n.rotate),o=this.props.maxWidth-2*fr;return r?o/t:o/e}},{key:"loadPdfPage",value:(a=rr(regeneratorRuntime.mark((function e(){var t,n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState((function(e){return n=r.getCurrentPageNumber(),t=!1,e.init&&r.props.syncedState.pinned&&(n=r.props.syncedState.pinned,t=!0),{pageLoading:!0,init:!1,page:n}}),rr(regeneratorRuntime.mark((function e(){var o,i,a,s,l,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.state.pdfDocument.getPage(n);case 2:if(o=e.sent,i=o.view[2],a=o.view[3],s=r.getPageRenderRatio(i,a,o),l=window.devicePixelRatio*s,c=o.getViewport({scale:l}),t||n===r.getCurrentPageNumber()){e.next=10;break}return e.abrupt("return");case 10:u=Boolean(r.canvas),r.setState((function(e){var t=o.getViewport({scale:1}),r=t.width,i=t.height;return{pageLoading:!1,pdfPage:o,pdfPageViewport:c,renderRatio:s,pagesOverview:ir(ir({},e.pagesOverview),{},pr({},n,{width:r,height:i,page:o,viewport:c}))}}),(function(){var e={pageWidth:o.view[2],pageHeight:o.view[3]};t&&(e.page=n),r.props.setSyncedState(e),u&&r.renderPdfPage()}));case 12:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getCurrentPageSize",value:function(){if(!this.state.pdfPage)return null;var e=this.state.pdfPage;return{width:e.view[2],height:e.view[3]}}},{key:"renderPdfPage",value:(i=rr(regeneratorRuntime.mark((function e(){var t,n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.canvas){e.next=3;break}return e.abrupt("return");case 3:return n=this.state.pdfPageViewport,(r=document.createElement("canvas")).width=n.width,r.height=n.height,o=r.getContext("2d"),i=this.state.pdfPage.render({canvasContext:o,viewport:n}),e.next=11,i.promise;case 11:t.width=n.width,t.height=n.height,t.getContext("2d").drawImage(r,0,0);case 14:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getCurrentViewAs",value:function(){return this.props.blot.getViewAs()}},{key:"getCurrentPageNumber",value:function(){return this.props.syncedState.page||1}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.setState((function(e){return n.getCurrentViewAs()!==e.viewAs?{viewAs:n.getCurrentViewAs()}:null})),e.fullscreen!==this.props.fullscreen&&this.props.fullscreen&&this.props.fullscreen.enable&&this.setState((function(){return{fullscreen:!0}})),t.fullscreen===this.state.fullscreen||this.state.fullscreen||this.props.onFullScreenClose&&this.props.onFullScreenClose(),t.pdfDocument!==this.state.pdfDocument&&this.props.blot.setPdfNumPages(this.state.pdfDocument.numPages)}},{key:"render",value:function(){if(this.state.pdfDocument?this.state.pdfPage||this.state.pageLoading||this.loadPdfPage():this.state.documentLoading||this.loadPdfDocument(),this.state.page!==this.getCurrentPageNumber()&&this.loadPdfPage(),this.state.pdfPage&&!this.state.pageLoading){var t=this.getCurrentPageSize(),n=t.width,r=t.height,o=this.getPageRenderRatio(n,r,this.state.pdfPage);isNaN(o)||o===this.state.renderRatio||this.loadPdfPage()}var i,a,s=this.props,l=s.editor,c=s.blot;if(this.state.pdfPageViewport){var u=this.state.pdfPageViewport,d=u.width,p=u.height;d/=window.devicePixelRatio,p/=window.devicePixelRatio;var f=this.getCurrentPageNumber(),h=this.state.pdfDocument.numPages,m=["pdf-page"];if(this.props.options.openFullScreenByTwoClicks&&!this.props.options.allowOpenOnMouseOver||m.push("open-on-mouse-over"),"single"===this.state.viewAs){i=(0,e.h)("div",{onMouseDown:this.onPageMouseDown,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut,onClick:this.onPageClick,className:m.join(" "),style:{width:d+"px",height:p+"px"}},(0,e.h)("canvas",{ref:this.onCanvasRef}));var g=null;if(l.mode===l.constructor.MODE_EDIT&&!c.isBlotLocked){var y,v,b=l.plugins.i18n,_=b.get("file.pdf_viewer.set_page_as_default"),w=(0,e.h)("div",tr({className:"pin-button",onClick:this.pinPage},(pr(y={},Jn.qZ,_),pr(y,Jn.cD,JSON.stringify({positionFixed:!0})),y)),(0,e.h)(M.DgX,null)),C=this.props.syncedState.pinned;C&&C===f&&(_=b.get("file.pdf_viewer.unset_page_as_default"),w=(0,e.h)("div",tr({className:"pin-button",onClick:this.unpinPage},(pr(v={},Jn.qZ,_),pr(v,Jn.cD,JSON.stringify({positionFixed:!0})),v)),(0,e.h)(M.uII,null))),g=(0,e.h)("div",{className:"pdf-controls pin-buttons"},w)}a=(0,e.h)("div",{className:"pdf-controls-container"},(0,e.h)("div",{className:"pdf-controls"},(0,e.h)("div",{onClick:this.decPage,className:"pdf-control-arrow pdf-control-arrow-left "+(f>1?"pdf-control-arrow-active":"")},"‹"),f," of ",h,(0,e.h)("div",{onClick:this.incPage,className:"pdf-control-arrow pdf-control-arrow-right "+(f<h?"pdf-control-arrow-active":"")},"›")),g)}else this.state.pdfPage.view,i=(0,e.h)($n,{pdfDocument:this.state.pdfDocument,pdfjsLib:this.pdfJsLoader.get(),pagesOverview:this.state.pagesOverview,maxWidth:this.props.maxWidth,onPageMouseDown:this.onPageMouseDown,onPageMouseOver:this.onMouseOver,onPageMouseOut:this.onMouseOut,onPageClick:this.onPageClick,updatePagesOverview:this.updatePagesOverview,setPage:this.setPage,options:this.props.options})}else{var S=this.props.syncedState,E=S.pageWidth,x=S.pageHeight;if(E&&x){var k=this.getPageRenderRatio(E,x,this.state.pdfPage),O=E*k,T=x*k;i=(0,e.h)("div",{className:"pdf-page",style:{width:O+"px",height:T+"px"}},(0,e.h)("div",{className:"pdf-page-loading editor-loader2-grey editor-loader-cc"}))}else i=(0,e.h)("div",{className:"pdf-loading-document"},(0,e.h)("div",{className:"editor-loader2-grey editor-loader-cc"}),(0,e.h)("div",{className:"pdf-loading-message"},"Loading PDF file...please wait..."))}var A=null;if(this.state.fullscreen){var P=this.state.pdfPage.view;A=(0,e.h)($t,{pdfDocument:this.state.pdfDocument,pageSize:{width:P[2],height:P[3]},onClose:this.onFullScreenClose,attachment:this.props.attachment,editor:this.props.editor,options:this.props.options,pdfjsLib:this.pdfJsLoader.get(),page:this.state.page,onPageChange:this.onPageChange,pagesOverview:this.state.pagesOverview,scale:this.state.scale,onScaleChange:this.onScaleChange,blot:this.props.blot})}return(0,e.h)(re.Pj,null,(0,e.h)("div",{className:"pdf-viewer"},A,i,a))}}])&&ar(n.prototype,r),o&&ar(n,o),c}(e.wA);hr.printable=!0,hr.supportsFullscreen=!0,hr.hasAdditionMenuItems=!0,hr.PrintAction=un,hr.FullScreenAction=bn,hr.getMenuItems=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[{id:"file-view_pdf_as-single",code:"single",text:(0,e.h)(re.xv,{id:"file.menu.single_page"}),action:"onViewPdfAsChange"},{id:"file-view_pdf_as-all_pages",code:"all_pages",text:(0,e.h)(re.xv,{id:"file.menu.all_pages"}),action:"onViewPdfAsChange"}],o=(0,e.h)(Qn.Z,{anchorOptions:{boundariesElement:t.editor.scrollingContainer}},r.map((function(n){var r=n.id,o=n.code,i=n.text,a=(n.action,o===t.getViewAs()?M.EZi:null),s=a?"done":"undone";return(0,e.h)(Xn.Z,{key:r,id:r,text:i,icon:a,menuStyle:[s],onClick:t.onViewPdfAsChange(o)})}))),i={},a=n.showAsPagesLimit,s=void 0===a?0:a,l=t.pdfNumPages<=s||!s;return l&&"full"===t.getFileViewMode()&&(i=ir(ir({},i),{},{view_pdf_as:{label:(0,e.h)(re.xv,{id:"file.menu.view_as"}),index:2,action:!1,submenu:o}})),i},hr.viewerName="PDFViewer"})(),e.exports=s})()}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/@webnotes/web-editor-build/pdf_viewer.js.css":function(e,t){},"./node_modules/@webnotes/web-editor-build/theme.js.css":function(e,t){},"./node_modules/@webnotes/web-editor-build/video_viewer.js":function(e,t,n){(()=>{var t={35130:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(19601),e.exports=function(e,t){var n=t.content,o=t.attributes;return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var i,a,s;return i=t,(a=[{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){var t=this.props;return e("svg",Object.assign({dangerouslySetInnerHTML:{__html:n}},o,t),t&&t.children)}}])&&r(i.prototype,a),s&&r(i,s),t}()}},5813:(e,t,n)=>{var r=n(35130),o=n(79758).h;e.exports=r.bind(null,o)},49190:(e,t,n)=>{"use strict";n.d(t,{_Ts:()=>o.a});n(79758),n(98892),n(47238),n(95161),n(20913),n(37620),n(50375),n(80648),n(7086),n(4421),n(70191),n(41701),n(1305),n(28444),n(60623),n(36520),n(31958),n(69425),n(34061),n(78555),n(27501),n(81740),n(77242),n(13783),n(61177),n(83675),n(19379),n(36419),n(42477),n(99562),n(36771),n(35596),n(87163),n(4802),n(36842),n(10226),n(52725),n(59146),n(11894),n(7306),n(57872),n(30350),n(56987),n(60965),n(35235),n(74107),n(12479),n(59481),n(54970),n(55782),n(51093),n(47529),n(30245),n(22032),n(91323),n(66995),n(67308),n(4817),n(41286),n(93034),n(22220),n(46605),n(51392),n(47778),n(47904),n(16186),n(26350),n(29828),n(63821),n(26143),n(1250),n(69710),n(27237),n(46015),n(69499),n(4311),n(84005),n(80347),n(91177),n(64631),n(325),n(12154),n(39046),n(92702),n(56486),n(85265),n(66339),n(33753),n(24655),n(93858),n(52124),n(21685),n(49962),n(14211),n(4735),n(75851),n(76936),n(37322),n(98763),n(80764),n(55009),n(8507),n(16030),n(85625),n(61335),n(71138),n(33597),n(32577),n(27317),n(8386),n(32472),n(7294),n(31665),n(84581),n(88536),n(18294),n(62171),n(40286),n(17884),n(59681),n(94384),n(12216),n(68234),n(21855),n(61093),n(11803),n(74985),n(71185),n(26258),n(55551),n(53686),n(86306),n(16357),n(98854),n(7393),n(22793),n(29672),n(76094),n(99474),n(46921),n(517),n(88098),n(13669),n(83763),n(71492),n(35783),n(61615),n(89713),n(92688),n(26798),n(51195),n(10231),n(14698),n(88170),n(14345),n(30315),n(21088),n(80562),n(77142),n(31887),n(61762),n(10653),n(24570),n(89129),n(88398),n(29300),n(72102),n(8941),n(44744),n(13532),n(3641),n(82052),n(58191),n(60681),n(91027),n(97393),n(69435),n(44859);var r=n(77445),o=n.n(r);n(33277),n(36598),n(25637),n(78018),n(37871),n(71571),n(89883),n(97368),n(28824),n(64268),n(44819),n(62012),n(4718),n(23953),n(62428),n(76767),n(26934),n(23996),n(80124),n(38096),n(54958),n(7688),n(38312),n(82481),n(99635),n(60251),n(86766),n(44461),n(79058),n(10812),n(67906),n(89959),n(65216),n(36039),n(79611),n(91527),n(60302),n(67012),n(5952),n(57551),n(47137),n(42020),n(77586),n(42941),n(69206),n(20065),n(68278),n(75259),n(47346),n(24327),n(41614)},12650:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>r});n(41539),n(39714);function r(){if("undefined"==typeof window)return"NodeJS";var e=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,t="undefined"!=typeof InstallTrigger,n=/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),r=!!document.documentMode,o=!r&&!!window.StyleMedia,i=!!window.chrome;return e?"Opera":t?"Firefox":n?"Safari":r?"IE":o?"Edge":i?"Chrome":"Unkown Browser"}function o(){if("undefined"==typeof window)return"NodeJS";var e=window.navigator.userAgent,t=window.navigator.platform,n=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?n="Mac OS":-1!==["iPhone","iPad","iPod"].indexOf(t)?n="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?n="Windows":/Android/.test(e)?n="Android":!n&&/Linux/.test(t)&&(n="Linux"),n}o(),o()},53940:(e,t,n)=>{"use strict";n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(74916),n(23123),n(73210);var r=n(95732);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,o,i){if(n)e(n);else if(o.statusCode>=400&&o.statusCode<=599){var a=i;if(t)if(r.TextDecoder){var s=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],o=n[1];return"charset"===r.trim()?o.trim():e}),"utf-8")}(o.headers&&o.headers["content-type"]);try{a=new TextDecoder(s).decode(i)}catch(e){}}else a=String.fromCharCode.apply(null,new Uint8Array(i));e({cause:a})}else e(null,i)}}},3173:(e,t,n)=>{"use strict";n(54747),n(74916),n(23123),n(73210),n(47042);var r=n(95732),o=n(36413),i=n(73562);s.httpHandler=n(53940);function a(e,t,n){var r=e;return i(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=o({},t,{uri:e}),r.callback=n,r}function s(e,t,n){return l(t=a(e,t,n))}function l(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,o){t||(t=!0,e.callback(n,r,o))};function r(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(c),g)try{e=JSON.parse(e)}catch(e){}return e}function o(e){return clearTimeout(u),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function i(){if(!l){var t;clearTimeout(u),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var o=y,i=null;return 0!==t?(o={body:r(),statusCode:t,method:p,headers:{},url:d,rawRequest:c},c.getAllResponseHeaders&&(o.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]})),t):t}(c.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),n(i,o,o.body)}}var a,l,c=e.xhr||null;c||(c=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var u,d=c.url=e.uri||e.url,p=c.method=e.method||"GET",f=e.body||e.data,h=c.headers=e.headers||{},m=!!e.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:p,url:d,rawRequest:c};if("json"in e&&!1!==e.json&&(g=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(i,0)},c.onload=i,c.onerror=o,c.onprogress=function(){},c.onabort=function(){l=!0},c.ontimeout=o,c.open(p,d,!m,e.username,e.password),m||(c.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(u=setTimeout((function(){if(!l){l=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}}),e.timeout)),c.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&c.setRequestHeader(a,h[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){s["delete"===e?"del":e]=function(t,n,r){return(n=a(t,n,r)).method=e.toUpperCase(),l(n)}}))},62697:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}n(69826),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var i=o({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"}),a=o({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!==r(e))throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var o=e[r];if(t.call(void 0,o,r,e))return o}},t.freeze=o,t.MIME_TYPE=i,t.NAMESPACE=a},60522:(e,t,n)=>{n(74916),n(15306);var r=n(62697),o=n(67102),i=n(85653),a=n(36752),s=o.DOMImplementation,l=r.NAMESPACE,c=a.ParseError,u=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 g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var n=this.options,r=new u,o=n.domBuilder||new f,a=n.errorHandler,s=n.locator,c=n.xmlns||{},p=/\/x?html?$/.test(t),h=p?i.HTML_ENTITIES:i.XML_ENTITIES;s&&o.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},i("warning"),i("error"),i("fatalError"),r}(a,o,s),r.domBuilder=n.domBuilder||o,p&&(c[""]=l.HTML),c.xml=c.xml||l.XML;var g=n.normalizeLineEndings||d;return e&&"string"==typeof e?r.parse(g(e),c,h):r.errorHandler.error("invalid doc source"),o.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,n,r){var o=this.doc,i=o.createElementNS(e,n||t),a=r.length;y(this,i),this.currentElement=i,this.locator&&h(this.locator,i);for(var s=0;s<a;s++){e=r.getURI(s);var l=r.getValue(s),c=(n=r.getQName(s),o.createAttributeNS(e,n));this.locator&&h(r.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),y(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),y(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var o=r.createDocumentType(e,t,n);this.locator&&h(this.locator,o),y(this,o),this.doc.doctype=o}},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 c(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}})),t.DOMParser=p},67102:(e,t,n)=>{function r(e){return(r="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)}n(69826),n(57327),n(74916),n(23123),n(47941),n(69600),n(68309),n(41539),n(39714),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=n(62697),i=o.find,a=o.NAMESPACE;function s(e){return""!==e}function l(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(l,{}))}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,u(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var p={},f=p.ELEMENT_NODE=1,h=p.ATTRIBUTE_NODE=2,m=p.TEXT_NODE=3,g=p.CDATA_SECTION_NODE=4,y=p.ENTITY_REFERENCE_NODE=5,v=p.ENTITY_NODE=6,b=p.PROCESSING_INSTRUCTION_NODE=7,_=p.COMMENT_NODE=8,w=p.DOCUMENT_NODE=9,C=p.DOCUMENT_TYPE_NODE=10,S=p.DOCUMENT_FRAGMENT_NODE=11,E=p.NOTATION_NODE=12,x={},k={},O=(x.INDEX_SIZE_ERR=(k[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(k[2]="DOMString size error",2),x.HIERARCHY_REQUEST_ERR=(k[3]="Hierarchy request error",3)),T=(x.WRONG_DOCUMENT_ERR=(k[4]="Wrong document",4),x.INVALID_CHARACTER_ERR=(k[5]="Invalid character",5),x.NO_DATA_ALLOWED_ERR=(k[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(k[7]="No modification allowed",7),x.NOT_FOUND_ERR=(k[8]="Not found",8)),A=(x.NOT_SUPPORTED_ERR=(k[9]="Not supported",9),x.INUSE_ATTRIBUTE_ERR=(k[10]="Attribute in use",10));x.INVALID_STATE_ERR=(k[11]="Invalid state",11),x.SYNTAX_ERR=(k[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(k[13]="Invalid modification",13),x.NAMESPACE_ERR=(k[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(k[15]="Invalid access",15);function P(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,k[e]),this.message=k[e],Error.captureStackTrace&&Error.captureStackTrace(this,P);return n.code=e,t&&(this.message=this.message+": "+t),n}function R(){}function I(e,t){this._node=e,this._refresh=t,M(this)}function M(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(ve(e,"length",n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(n,e),e._inc=t}}function N(){}function D(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function j(e,t,n,r){if(r?t[D(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&z(o,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===a.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function L(e,t,n){var r=D(t,n);if(!(r>=0))throw new P(T,new Error(e.tagName+"@"+n));for(var o=t.length-1;r<o;)t[r]=t[++r];if(t.length=o,e){var i=e.ownerDocument;i&&(z(i,e,n),n.ownerElement=null)}}function B(){}function F(){}function U(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(H(e,t))return!0}while(e=e.nextSibling)}function V(){this.ownerDocument=this}function z(e,t,n,r){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function q(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i,delete r[r.length]}}}function G(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,q(e.ownerDocument,e),t}function W(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function Y(e){return e&&e.nodeType===F.ELEMENT_NODE}function Z(e){return e&&e.nodeType===F.TEXT_NODE}function K(e,t){var n=e.childNodes||[];if(i(n,Y)||W(t))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function $(e,t){var n=e.childNodes||[];if(i(n,(function(e){return Y(e)&&e!==t})))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Q(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new P(O,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new P(T,"child not in parent");if(!function(e){return e&&(Y(e)||Z(e)||W(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||W(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new P(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function X(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Y);if(a.length>1||i(o,Z))throw new P(O,"More than one element or text in fragment");if(1===a.length&&!K(e,n))throw new P(O,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!K(e,n))throw new P(O,"Only one element can be added and only after doctype");if(W(t)){if(i(r,W))throw new P(O,"Only one doctype is allowed");var s=i(r,Y);if(n&&r.indexOf(s)<r.indexOf(n))throw new P(O,"Doctype can only be inserted before an element");if(!n&&s)throw new P(O,"Doctype can not be appended since element is present")}}function J(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Y);if(a.length>1||i(o,Z))throw new P(O,"More than one element or text in fragment");if(1===a.length&&!$(e,n))throw new P(O,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!$(e,n))throw new P(O,"Only one element can be added and only after doctype");if(W(t)){if(i(r,(function(e){return W(e)&&e!==n})))throw new P(O,"Only one doctype is allowed");var s=i(r,Y);if(n&&r.indexOf(s)<r.indexOf(n))throw new P(O,"Doctype can only be inserted before an element")}}function ee(e,t,n,r){Q(e,t,n),e.nodeType===F.DOCUMENT_NODE&&(r||X)(e,t,n);var o=t.parentNode;if(o&&o.removeChild(t),t.nodeType===S){var i=t.firstChild;if(null==i)return t;var a=t.lastChild}else i=a=t;var s=n?n.previousSibling:e.lastChild;i.previousSibling=s,a.nextSibling=n,s?s.nextSibling=i:e.firstChild=i,null==n?e.lastChild=a:n.previousSibling=a;do{i.parentNode=e}while(i!==a&&(i=i.nextSibling));return q(e.ownerDocument||e,e),t.nodeType==S&&(t.firstChild=t.lastChild=null),t}function te(){this._nsMap={}}function ne(){}function re(){}function oe(){}function ie(){}function ae(){}function se(){}function le(){}function ce(){}function ue(){}function de(){}function pe(){}function fe(){}function he(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return ye(this,n,e,t,a),n.join("")}function me(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===r&&o===a.XML||o===a.XMLNS)return!1;for(var i=n.length;i--;){var s=n[i];if(s.prefix===r)return s.namespace!==o}return!0}function ge(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,U),'"')}function ye(e,t,n,r,o){if(o||(o=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case f:var i=e.attributes,s=i.length,l=e.firstChild,c=e.tagName,u=c;if(!(n=a.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var d,p=0;p<i.length;p++)if("xmlns"===i.item(p).name){d=i.item(p).value;break}if(!d)for(var v=o.length-1;v>=0;v--){if(""===(E=o[v]).prefix&&E.namespace===e.namespaceURI){d=E.namespace;break}}if(d!==e.namespaceURI)for(v=o.length-1;v>=0;v--){var E;if((E=o[v]).namespace===e.namespaceURI){E.prefix&&(u=E.prefix+":"+c);break}}}t.push("<",u);for(var x=0;x<s;x++){"xmlns"==(k=i.item(x)).prefix?o.push({prefix:k.localName,namespace:k.value}):"xmlns"==k.nodeName&&o.push({prefix:"",namespace:k.value})}for(x=0;x<s;x++){var k,O,T;if(me(k=i.item(x),0,o))ge(t,(O=k.prefix||"")?"xmlns:"+O:"xmlns",T=k.namespaceURI),o.push({prefix:O,namespace:T});ye(k,t,n,r,o)}if(c===u&&me(e,0,o))ge(t,(O=e.prefix||"")?"xmlns:"+O:"xmlns",T=e.namespaceURI),o.push({prefix:O,namespace:T});if(l||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;l;)l.data?t.push(l.data):ye(l,t,n,r,o.slice()),l=l.nextSibling;else for(;l;)ye(l,t,n,r,o.slice()),l=l.nextSibling;t.push("</",u,">")}else t.push("/>");return;case w:case S:for(l=e.firstChild;l;)ye(l,t,n,r,o.slice()),l=l.nextSibling;return;case h:return ge(t,e.name,e.value);case m:return t.push(e.data.replace(/[<&>]/g,U));case g:return t.push("<![CDATA[",e.data,"]]>");case _:return t.push("\x3c!--",e.data,"--\x3e");case C:var A=e.publicId,P=e.systemId;if(t.push("<!DOCTYPE ",e.name),A)t.push(" PUBLIC ",A),P&&"."!=P&&t.push(" ",P),t.push(">");else if(P&&"."!=P)t.push(" SYSTEM ",P,">");else{var R=e.internalSubset;R&&t.push(" [",R,"]"),t.push(">")}return;case b:return t.push("<?",e.target," ",e.data,"?>");case y:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ve(e,t,n){e[t]=n}P.prototype=Error.prototype,u(x,P),R.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ye(this[r],n,e,t);return n.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 M(this),this[e]||null},d(I,R),N.prototype={length:0,item:R.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new P(A);var n=this.getNamedItem(e.nodeName);return j(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new P(A);return t=this.getNamedItemNS(e.namespaceURI,e.localName),j(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return L(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return L(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},B.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new V;if(r.implementation=this,r.childNodes=new R,r.doctype=n||null,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new se;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},F.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 ee(this,e,t)},replaceChild:function(e,t){ee(this,e,t,J),t&&this.removeChild(t)},removeChild:function(e){return G(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,o){var i=new n.constructor;for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a)){var s=n[a];"object"!=r(s)&&s!=i[a]&&(i[a]=s)}n.childNodes&&(i.childNodes=new R);switch(i.ownerDocument=t,i.nodeType){case f:var l=n.attributes,c=i.attributes=new N,u=l.length;c._ownerElement=i;for(var d=0;d<u;d++)i.setAttributeNode(e(t,l.item(d),!0));break;case h:o=!0}if(o)for(var p=n.firstChild;p;)i.appendChild(e(t,p,o)),p=p.nextSibling;return i}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==m&&e.nodeType==m?(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 n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(p,F),u(p,F.prototype),V.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==S){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return ee(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),G(this,e)},replaceChild:function(e,t){ee(this,e,t,J),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,r){var o;switch(n.nodeType){case f:(o=n.cloneNode(!1)).ownerDocument=t;case S:break;case h:r=!0}o||(o=n.cloneNode(!1));if(o.ownerDocument=t,o.parentNode=null,r)for(var i=n.firstChild;i;)o.appendChild(e(t,i,r)),i=i.nextSibling;return o}(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,(function(n){if(n.nodeType==f&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=c(e);return new I(this,(function(n){var r=[];return t.length>0&&H(n.documentElement,(function(o){if(o!==n&&o.nodeType===f){var i=o.getAttribute("class");if(i){var a=e===i;if(!a){var s=c(i);a=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}a&&r.push(o)}}var l})),r}))},createElement:function(e){var t=new te;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new R,(t.attributes=new N)._ownerElement=t,t},createDocumentFragment:function(){var e=new de;return e.ownerDocument=this,e.childNodes=new R,e},createTextNode:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new pe;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new ne;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new te,r=t.split(":"),o=n.attributes=new N;return n.childNodes=new R,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new ne,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},d(V,F),te.prototype={nodeType:f,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 n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===S?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 n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var n=[];return H(t,(function(r){r===t||r.nodeType!=f||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(n){var r=[];return H(n,(function(o){o===n||o.nodeType!==f||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)})),r}))}},V.prototype.getElementsByTagName=te.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=te.prototype.getElementsByTagNameNS,d(te,F),ne.prototype.nodeType=h,d(ne,F),re.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(k[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},d(re,F),oe.prototype={nodeName:"#text",nodeType:m,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},d(oe,re),ie.prototype={nodeName:"#comment",nodeType:_},d(ie,re),ae.prototype={nodeName:"#cdata-section",nodeType:g},d(ae,re),se.prototype.nodeType=C,d(se,F),le.prototype.nodeType=E,d(le,F),ce.prototype.nodeType=v,d(ce,F),ue.prototype.nodeType=y,d(ue,F),de.prototype.nodeName="#document-fragment",de.prototype.nodeType=S,d(de,F),pe.prototype.nodeType=b,d(pe,F),fe.prototype.serializeToString=function(e,t,n){return he.call(e,t,n)},F.prototype.toString=he;try{if(Object.defineProperty){Object.defineProperty(I.prototype,"length",{get:function(){return M(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case f:case S:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case f:case S: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}}}),ve=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DocumentType=se,t.DOMException=P,t.DOMImplementation=B,t.Element=te,t.Node=F,t.NodeList=R,t.XMLSerializer=fe},85653:(e,t,n)=>{"use strict";var r=n(62697).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({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:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",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:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",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:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",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:"Ĳ",ijlig:"ĳ",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",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:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",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:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",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:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:"‌"}),t.entityMap=t.HTML_ENTITIES},23399:(e,t,n)=>{var r=n(67102);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(60522).DOMParser},36752:(e,t,n)=>{n(24603),n(74916),n(39714),n(47042),n(68309),n(15306),n(4723);var r=n(62697).NAMESPACE,o=/[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]/,i=new RegExp("[\\-\\.0-9"+o.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+o.source+i.source+"*(?::"+o.source+i.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function u(e,t,n,o,i,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),r)}for(var l,c=++t,u=0;;){var d=e.charAt(c);switch(d){case"=":if(1===u)l=e.slice(t,c),u=3;else{if(2!==u)throw new Error("attribute equal must after attrName");u=3}break;case"'":case'"':if(3===u||1===u){if(1===u&&(a.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,!((c=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(l,p=e.slice(t,c),t-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');s(l,p=e.slice(t,c),t),a.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=c+1,u=5}break;case"/":switch(u){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:u=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==u&&n.setTagName(e.slice(t,c)),c;case">":switch(u){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,c)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===u&&(p=l),4==u?(a.warning('attribute "'+p+'" missed quot(")!'),s(l,p,t)):(r.isHTML(o[""])&&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 c;case"":d=" ";default:if(d<=" ")switch(u){case 0:n.setTagName(e.slice(t,c)),u=6;break;case 1:l=e.slice(t,c),u=2;break;case 4:var p=e.slice(t,c);a.warning('attribute "'+p+'" missed quot(")!!'),s(l,p,t);case 5:u=6}else switch(u){case 2:n.tagName;r.isHTML(o[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,u=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:u=1,t=c;break;case 3:u=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function d(e,t,n){for(var o=e.tagName,i=null,a=e.length;a--;){var s=e[a],l=s.qName,c=s.value;if((f=l.indexOf(":"))>0)var u=s.prefix=l.slice(0,f),d=l.slice(f+1),p="xmlns"===u&&d;else d=l,u=null,p="xmlns"===l&&"";s.localName=d,!1!==p&&(null==i&&(i={},h(n,n={})),n[p]=i[p]=c,s.uri=r.XMLNS,t.startPrefixMapping(p,c))}for(a=e.length;a--;){(u=(s=e[a]).prefix)&&("xml"===u&&(s.uri=r.XML),"xmlns"!==u&&(s.uri=n[u||""]))}var f;(f=o.indexOf(":"))>0?(u=e.prefix=o.slice(0,f),d=e.localName=o.slice(f+1)):(u=null,d=e.localName=o);var m=e.uri=n[u||""];if(t.startElement(m,d,o,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(m,d,o),i)for(u in i)Object.prototype.hasOwnProperty.call(i,u)&&t.endPrefixMapping(u)}function p(e,t,n,r,o){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,r),o.characters(a,0,a.length),i)}return t+1}function f(e,t,n,r){var o=r[n];return null==o&&((o=e.lastIndexOf("</"+n+">"))<t&&(o=e.lastIndexOf("</"+n)),r[n]=o),o<t}function h(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function m(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,o-t-4),o+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var i=function(e,t){var n,r=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=t,o.exec(e);for(;n=o.exec(e);)if(r.push(n),n[1])return r}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[a-1];return n.startDTD(s,l,c),n.endDTD(),u.index+u[0].length}}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var o=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(o){o[0].length;return n.processingInstruction(o[1],o[2]),r+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(e,t,n){var o=this.domBuilder;o.startDocument(),h(t,t={}),function(e,t,n,o,i){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function l(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,a);w&&h(E),o.characters(n,0,t-E),E=t}}function h(t,n){for(;t>=b&&(n=_.exec(e));)v=n.index,b=v+n[0].length,w.lineNumber++;w.columnNumber=t-v+1}var v=0,b=0,_=/.*(?:\r\n?|\n)|.*$/g,w=o.locator,C=[{currentNSMap:t}],S={},E=0;for(;;){try{var x=e.indexOf("<",E);if(x<0){if(!e.substr(E).match(/^\s*$/)){var k=o.doc,O=k.createTextNode(e.substr(E));k.appendChild(O),o.currentElement=O}return}switch(x>E&&l(x),e.charAt(x+1)){case"/":var T=e.indexOf(">",x+3),A=e.substring(x+2,T).replace(/[ \t\n\r]+$/g,""),P=C.pop();T<0?(A=e.substring(x+2).replace(/[\s<].*/,""),i.error("end tag name: "+A+" is not complete:"+P.tagName),T=x+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),i.error("end tag name: "+A+" maybe not complete"),T=x+1+A.length);var R=P.localNSMap,I=P.tagName==A;if(I||P.tagName&&P.tagName.toLowerCase()==A.toLowerCase()){if(o.endElement(P.uri,P.localName,A),R)for(var M in R)Object.prototype.hasOwnProperty.call(R,M)&&o.endPrefixMapping(M);I||i.fatalError("end tag name: "+A+" is not match the current start tagName:"+P.tagName)}else C.push(P);T++;break;case"?":w&&h(x),T=g(e,x,o);break;case"!":w&&h(x),T=m(e,x,o,i);break;default:w&&h(x);var N=new y,D=C[C.length-1].currentNSMap,j=(T=u(e,x,N,D,a,i),N.length);if(!N.closed&&f(e,T,N.tagName,S)&&(N.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),w&&j){for(var L=c(w,{}),B=0;B<j;B++){var F=N[B];h(F.offset),F.locator=c(w,{})}o.locator=L,d(N,o,D)&&C.push(N),o.locator=w}else d(N,o,D)&&C.push(N);r.isHTML(N.uri)&&!N.closed?T=p(e,T,N.tagName,a,o):T++}}catch(e){if(e instanceof s)throw e;i.error("element parse error: "+e),T=-1}T>E?E=T:l(Math.max(x,E)+1)}}(e,t,n,o,this.errorHandler),o.endDocument()}},y.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},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}},t.XMLReader=l,t.ParseError=s},41285:(e,t,n)=>{"use strict";n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(69600),t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],s=r[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(u(e,a,a+16383>s?s:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},13423:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(18264),n(96649),n(96078),n(43290),n(47042),n(92222),n(39714),n(73210),n(74916),n(15306),n(26699),n(32023),n(9653),n(83753),n(50545),n(23123),n(68309),n(32165),n(78783),n(33948);var o=n(41285),i=n(88617),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;function s(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|m(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e));if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer))return f(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return l.from(o,t,n);var i=function(e){if(l.isBuffer(e)){var t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||H(e.length)?s(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e))}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|h(e))}function p(e){for(var t=e.length<0?0:0|h(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function h(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+r(e));var n=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(i)return o?-1:L(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),H(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function _(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(H(s))return a;e[n+a]=s}return a}function w(e,t,n,r){return F(L(t,e.length-n),e,n,r)}function C(e,t,n,r){return F(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return F(B(t),e,n,r)}function E(e,t,n,r){return F(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(U(i,Uint8Array))o+i.length>r.length?l.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o)}o+=i.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(e,t,n,o,i){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+r(e));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),t<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&t>=n)return 0;if(o>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(o>>>=0),s=(n>>>=0)-(t>>>=0),c=Math.min(a,s),u=this.slice(o,i),d=e.slice(t,n),p=0;p<c;++p)if(u[p]!==d[p]){a=u[p],s=d[p];break}return a<s?-1:s<a?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return C(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=V[e[i]];return o}function P(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return t=+t,n>>>=0,o||M(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,o){return t=+t,n>>>=0,o||M(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);I(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);I(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var j=/[^+/0-9A-Za-z-_]/g;function L(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function B(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function F(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function H(e){return e!=e}var V=function(){for(var e=new Array(256),t=0;t<16;++t)for(var n=16*t,r=0;r<16;++r)e[n+r]="0123456789abcdef"[t]+"0123456789abcdef"[r];return e}()},27266:function(e,t,n){var r,o,i;n(74916),n(23123),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(78783),n(33948),n(60285),n(41637),n(15306),n(82526),n(41817),n(32165),o=[],void 0===(i="function"==typeof(r=function(){return function e(t,n,r){var o,i,a=window,s="application/octet-stream",l=r||s,c=t,u=!n&&!r&&c,d=document.createElement("a"),p=function(e){return String(e)},f=a.Blob||a.MozBlob||a.WebKitBlob||p,h=n||"download";if(f=f.call?f.bind(a):Blob,"true"===String(this)&&(l=(c=[c,l])[0],c=c[1]),u&&u.length<2048&&(h=u.split("/").pop().split("?")[0],d.href=u,-1!==d.href.indexOf(u))){var m=new XMLHttpRequest;return m.open("GET",u,!0),m.responseType="blob",m.onload=function(t){e(t.target.response,h,s)},setTimeout((function(){m.send()}),0),m}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&f!==p))return navigator.msSaveBlob?navigator.msSaveBlob(b(c),h):_(c);l=(c=b(c)).type||s}else if(/([\x80-\xff])/.test(c)){for(var g=0,y=new Uint8Array(c.length),v=y.length;g<v;++g)y[g]=c.charCodeAt(g);c=new f([y],{type:l})}function b(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),o=r.length,i=0,a=new Uint8Array(o);i<o;++i)a[i]=r.charCodeAt(i);return new f([a],{type:n})}function _(e,t){if("download"in d)return d.href=e,d.setAttribute("download",h),d.className="download-js-link",d.innerHTML="downloading...",d.style.display="none",document.body.appendChild(d),setTimeout((function(){d.click(),document.body.removeChild(d),!0===t&&setTimeout((function(){a.URL.revokeObjectURL(d.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(o=c instanceof f?c:new f([c],{type:l}),navigator.msSaveBlob)return navigator.msSaveBlob(o,h);if(a.URL)_(a.URL.createObjectURL(o),!0);else{if("string"==typeof o||o.constructor===p)try{return _("data:"+l+";base64,"+a.btoa(o))}catch(e){return _("data:"+l+","+encodeURIComponent(o))}(i=new FileReader).onload=function(e){_(this.result)},i.readAsDataURL(o)}return!0}})?r.apply(t,o):r)||(e.exports=i)},56374:(e,t,n)=>{var r,o=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},i=n(25893);"undefined"!=typeof document?r=document:(r=o["__GLOBAL_DOCUMENT_CACHE@4"])||(r=o["__GLOBAL_DOCUMENT_CACHE@4"]=i),e.exports=r},95732:(e,t,n)=>{var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},88617:(e,t)=>{t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=c}return(f?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}},73562:(e,t,n)=>{n(41539),e.exports=function(e){if(!e)return!1;var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var r=Object.prototype.toString},28199:(e,t,n)=>{"use strict";n(21249),n(74916),n(15306),n(23123),n(32165),n(66992),n(41539),n(78783),n(33948),n(82526),n(41817),n(27852),n(47042);for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=1;s<20;s++)a["f"+s]=111+s;function l(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return c(e,t)})),o=function(e){return r.some((function(t){return u(t,e)}))};return null==n?o:o(n)}function c(e,t){var n=t&&t.byKey,r={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)r[o[s]]=!1;var l=!0,c=!1,u=void 0;try{for(var f,h=i[Symbol.iterator]();!(l=(f=h.next()).done);l=!0){var m=f.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var y=p(m),v=o[y];1!==a&&v||(n?r.key=y:r.which=d(m)),v&&(r[v]=!g||null)}}catch(e){c=!0,u=e}finally{try{!l&&h.return&&h.return()}finally{if(c)throw u}}return r}function u(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function d(e){return e=p(e),a[e]||e.toUpperCase().charCodeAt(0)}function p(e){return e=e.toLowerCase(),e=i[e]||e}t.ZP=l},19820:(e,t,n)=>{function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if(e&&"object"===r(e)){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return l[e];var n,o=String(e);return(n=i[o.toLowerCase()])?n:(n=a[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),o.isEventKey=function(e,t){if(e&&"object"===r(e)){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=i[t.toLowerCase()])return o===n;if(o=a[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var i=(t=e.exports=o).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(s=97;s<123;s++)i[String.fromCharCode(s)]=s-32;for(var s=48;s<58;s++)i[s-48]=s;for(s=1;s<13;s++)i["f"+s]=s+111;for(s=0;s<10;s++)i["numpad "+s]=s+96;var l=t.names=t.title={};for(s in i)l[i[s]]=s;for(var c in a)i[c]=a[c]},37733:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(54747),n(41539),n(39714),n(74916),n(66992),n(33948),n(24603),n(15306),n(40561),n(82526),n(47941),n(68309),n(21249),n(18264),n(41817),n(32165),n(78783);var o="[object Arguments]",i="[object Map]",a="[object Object]",s="[object Set]",l=/^\[object .+?Constructor\]$/,c=/^(?: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[o]=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[a]=u["[object RegExp]"]=u[s]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,p="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,f=d||p||Function("return this")(),h="object"==r(t)&&t&&!t.nodeType&&t,m=h&&"object"==r(e)&&e&&!e.nodeType&&e,g=m&&m.exports===h,y=g&&d.process,v=function(){try{return y&&y.binding&&y.binding("util")}catch(e){}}(),b=v&&v.isTypedArray;function _(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var S,E=Array.prototype,x=Function.prototype,k=Object.prototype,O=f["__core-js_shared__"],T=x.toString,A=k.hasOwnProperty,P=(S=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",R=k.toString,I=RegExp("^"+T.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=g?f.Buffer:void 0,N=f.Symbol,D=f.Uint8Array,j=k.propertyIsEnumerable,L=E.splice,B=N?N.toStringTag:void 0,F=Object.getOwnPropertySymbols,U=M?M.isBuffer:void 0,H=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),V=ge(f,"DataView"),z=ge(f,"Map"),q=ge(f,"Promise"),G=ge(f,"Set"),W=ge(f,"WeakMap"),Y=ge(Object,"create"),Z=_e(V),K=_e(z),$=_e(q),Q=_e(G),X=_e(W),J=N?N.prototype:void 0,ee=J?J.valueOf:void 0;function te(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new re;++t<n;)this.add(e[t])}function ie(e){var t=this.__data__=new ne(e);this.size=t.size}function ae(e,t){var n=Se(e),r=!n&&Ce(e),o=!n&&!r&&Ee(e),i=!n&&!r&&!o&&Ae(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!A.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||be(c,l))||s.push(c);return s}function se(e,t){for(var n=e.length;n--;)if(we(e[n][0],t))return n;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=A.call(e,B),n=e[B];try{e[B]=void 0;var r=!0}catch(e){}var o=R.call(e);r&&(t?e[B]=n:delete e[B]);return o}(e):function(e){return R.call(e)}(e)}function ce(e){return Te(e)&&le(e)==o}function ue(e,t,n,r,l){return e===t||(null==e||null==t||!Te(e)&&!Te(t)?e!=e&&t!=t:function(e,t,n,r,l,c){var u=Se(e),d=Se(t),p=u?"[object Array]":ve(e),f=d?"[object Array]":ve(t),h=(p=p==o?a:p)==a,m=(f=f==o?a:f)==a,g=p==f;if(g&&Ee(e)){if(!Ee(t))return!1;u=!0,h=!1}if(g&&!h)return c||(c=new ie),u||Ae(e)?fe(e,t,n,r,l,c):function(e,t,n,r,o,a,l){switch(n){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||!a(new D(e),new D(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return we(+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 c=w;case s:var u=1&r;if(c||(c=C),e.size!=t.size&&!u)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var p=fe(c(e),c(t),r,o,a,l);return l.delete(e),p;case"[object Symbol]":if(ee)return ee.call(e)==ee.call(t)}return!1}(e,t,p,n,r,l,c);if(!(1&n)){var y=h&&A.call(e,"__wrapped__"),v=m&&A.call(t,"__wrapped__");if(y||v){var b=y?e.value():e,_=v?t.value():t;return c||(c=new ie),l(b,_,n,r,c)}}if(!g)return!1;return c||(c=new ie),function(e,t,n,r,o,i){var a=1&n,s=he(e),l=s.length,c=he(t).length;if(l!=c&&!a)return!1;var u=l;for(;u--;){var d=s[u];if(!(a?d in t:A.call(t,d)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var f=!0;i.set(e,t),i.set(t,e);var h=a;for(;++u<l;){d=s[u];var m=e[d],g=t[d];if(r)var y=a?r(g,m,d,t,e,i):r(m,g,d,e,t,i);if(!(void 0===y?m===g||o(m,g,n,r,i):y)){f=!1;break}h||(h="constructor"==d)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,r,l,c)}(e,t,n,r,ue,l))}function de(e){return!(!Oe(e)||function(e){return!!P&&P in e}(e))&&(xe(e)?I:l).test(_e(e))}function pe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||k,t!==r)return H(e);var t,n,r,o=[];for(var i in Object(e))A.call(e,i)&&"constructor"!=i&&o.push(i);return o}function fe(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,p=2&n?new oe:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var f=e[u],h=t[u];if(r)var m=a?r(h,f,u,t,e,i):r(f,h,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(p){if(!_(t,(function(e,t){if(a=t,!p.has(a)&&(f===e||o(f,e,n,r,i)))return p.push(t);var a}))){d=!1;break}}else if(f!==h&&!o(f,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function he(e){return function(e,t,n){var r=t(e);return Se(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Pe,ye)}function me(e,t){var n,o,i=e.__data__;return("string"==(o=r(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return de(n)?n:void 0}te.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},te.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},te.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return A.call(t,e)?t[e]:void 0},te.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:A.call(t,e)},te.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[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__,n=se(t,e);return!(n<0)&&(n==t.length-1?t.pop():L.call(t,n,1),--this.size,!0)},ne.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},ne.prototype.has=function(e){return se(this.__data__,e)>-1},ne.prototype.set=function(e,t){var n=this.__data__,r=se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},re.prototype.clear=function(){this.size=0,this.__data__={hash:new te,map:new(z||ne),string:new te}},re.prototype.delete=function(e){var t=me(this,e).delete(e);return this.size-=t?1:0,t},re.prototype.get=function(e){return me(this,e).get(e)},re.prototype.has=function(e){return me(this,e).has(e)},re.prototype.set=function(e,t){var n=me(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?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)},ie.prototype.clear=function(){this.__data__=new ne,this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ie.prototype.get=function(e){return this.__data__.get(e)},ie.prototype.has=function(e){return this.__data__.has(e)},ie.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ne){var r=n.__data__;if(!z||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new re(r)}return n.set(e,t),this.size=n.size,this};var ye=F?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(F(e),(function(t){return j.call(e,t)})))}:function(){return[]},ve=le;function be(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||c.test(e))&&e>-1&&e%1==0&&e<t}function _e(e){if(null!=e){try{return T.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function we(e,t){return e===t||e!=e&&t!=t}(V&&"[object DataView]"!=ve(new V(new ArrayBuffer(1)))||z&&ve(new z)!=i||q&&"[object Promise]"!=ve(q.resolve())||G&&ve(new G)!=s||W&&"[object WeakMap]"!=ve(new W))&&(ve=function(e){var t=le(e),n=t==a?e.constructor:void 0,r=n?_e(n):"";if(r)switch(r){case Z:return"[object DataView]";case K:return i;case $:return"[object Promise]";case Q:return s;case X:return"[object WeakMap]"}return t});var Ce=ce(function(){return arguments}())?ce:function(e){return Te(e)&&A.call(e,"callee")&&!j.call(e,"callee")},Se=Array.isArray;var Ee=U||function(){return!1};function xe(e){if(!Oe(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Oe(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==r(e)}var Ae=b?function(e){return function(t){return e(t)}}(b):function(e){return Te(e)&&ke(e.length)&&!!u[le(e)]};function Pe(e){return null!=(t=e)&&ke(t.length)&&!xe(t)?ae(e):pe(e);var t}e.exports=function(e,t){return ue(e,t)}},47376:(e,t,n)=>{n(41539),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016);var r=n(80545).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},o=12;0===n.version?(n.earliestPresentationTime=t.getUint32(o),n.firstOffset=t.getUint32(o+4),o+=8):(n.earliestPresentationTime=r(e.subarray(o)),n.firstOffset=r(e.subarray(o+8)),o+=16),o+=2;var i=t.getUint16(o);for(o+=2;i>0;o+=12,i--)n.references.push({referenceType:(128&e[o])>>>7,referencedSize:2147483647&t.getUint32(o),subsegmentDuration:t.getUint32(o+4),startsWithSap:!!(128&e[o+8]),sapType:(112&e[o+8])>>>4,sapDeltaTime:268435455&t.getUint32(o+8)});return n}},52953:e=>{var t,n,r,o,i,a,s;t=function(e){return 9e4*e},n=function(e,t){return e*t},r=function(e){return e/9e4},o=function(e,t){return e/t},i=function(e,n){return t(o(e,n))},a=function(e,t){return n(r(e),t)},s=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:o,audioTsToVideoTs:i,videoTsToAudioTs:a,metadataTsToSeconds:s}},80545:(e,t,n)=>{n(41539),n(44363),n(9653);var r=Math.pow(2,32);e.exports={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*r+n.getUint32(4)},MAX_UINT32:r}},79758:(e,t,n)=>{"use strict";n.d(t,{sY:()=>D,h:()=>h,wA:()=>y,YM:()=>o});n(2707),n(74916),n(15306),n(47042),n(60086),n(54747),n(68309),n(40561),n(41539);var r,o,i,a,s,l,c={},u=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var o,i,a,s={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return m(e,s,o,i,null)}function m(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null!=o.vnode&&o.vnode(s),s}function g(e){return e.children}function y(e,t){this.props=e,this.context=t}function v(e,t){if(null==t)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?v(e):null}function b(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return b(e)}}function _(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!w.__r++||l!==o.debounceRendering)&&((l=o.debounceRendering)||s)(w)}function w(){for(var e;w.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=p({},o)).__v=o.__v+1,A(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?v(o):i,o.__h),P(n,o),o.__e!=i&&b(o)))}))}function C(e,t,n,r,o,i,a,s,l,d){var p,f,h,y,b,_,w,C=r&&r.__k||u,x=C.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(y=n.__k[p]=null==(y=t[p])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?m(null,y,null,null,y):Array.isArray(y)?m(g,{children:y},null,null,null):y.__b>0?m(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(h=C[p])||h&&y.key==h.key&&y.type===h.type)C[p]=void 0;else for(f=0;f<x;f++){if((h=C[f])&&y.key==h.key&&y.type===h.type){C[f]=void 0;break}h=null}A(e,y,h=h||c,o,i,a,s,l,d),b=y.__e,(f=y.ref)&&h.ref!=f&&(w||(w=[]),h.ref&&w.push(h.ref,null,y),w.push(f,y.__c||b,y)),null!=b?(null==_&&(_=b),"function"==typeof y.type&&null!=y.__k&&y.__k===h.__k?y.__d=l=S(y,l,e):l=E(e,y,h,C,b,l),d||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&h.__e==l&&l.parentNode!=e&&(l=v(h))}for(n.__e=_,p=x;p--;)null!=C[p]&&("function"==typeof n.type&&null!=C[p].__e&&C[p].__e==n.__d&&(n.__d=v(r,p+1)),M(C[p],C[p]));if(w)for(p=0;p<w.length;p++)I(w[p],w[++p],w[++p])}function S(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?S(o,t,n):E(n,o,o,e.__k,o.__e,t));return t}function E(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function x(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function k(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||x(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||x(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?T:O,i):e.removeEventListener(t,i?T:O,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function O(e){this.l[e.type+!1](o.event?o.event(e):e)}function T(e){this.l[e.type+!0](o.event?o.event(e):e)}function A(e,t,n,r,i,a,s,l,c){var u,d,f,h,m,v,b,_,w,S,E,x=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(u=o.__b)&&u(t);try{e:if("function"==typeof x){if(_=t.props,w=(u=x.contextType)&&r[u.__c],S=u?w?w.props.value:u.__:r,n.__c?b=(d=t.__c=n.__c).__=d.__E:("prototype"in x&&x.prototype.render?t.__c=d=new x(_,S):(t.__c=d=new y(_,S),d.constructor=x,d.render=N),w&&w.sub(d),d.props=_,d.state||(d.state={}),d.context=S,d.__n=r,f=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=x.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=p({},d.__s)),p(d.__s,x.getDerivedStateFromProps(_,d.__s))),h=d.props,m=d.state,f)null==x.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==x.getDerivedStateFromProps&&_!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,S),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,S)||t.__v===n.__v){d.props=_,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,S),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,m,v)}))}d.context=S,d.props=_,d.state=d.__s,(u=o.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=p(p({},r),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(h,m)),E=null!=u&&u.type===g&&null==u.key?u.props.children:u,C(e,Array.isArray(E)?E:[E],t,n,r,i,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=R(n.__e,t,n,r,i,a,s,c);(u=o.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),o.__e(e,t,n)}}function P(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function R(e,t,n,o,i,a,s,l){var u,d,p,h=n.props,m=t.props,g=t.type,y=0;if("svg"===g&&(i=!0),null!=a)for(;y<a.length;y++)if((u=a[y])&&(u===e||(g?u.localName==g:3==u.nodeType))){e=u,a[y]=null;break}if(null==e){if(null===g)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),a=null,l=!1}if(null===g)h===m||l&&e.data===m||(e.data=m);else{if(a=a&&r.call(e.childNodes),d=(h=n.props||c).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!l){if(null!=a)for(h={},y=0;y<e.attributes.length;y++)h[e.attributes[y].name]=e.attributes[y].value;(p||d)&&(p&&(d&&p.__html==d.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||k(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||k(e,i,t[i],n[i],r)}(e,m,h,i,l),p)t.__k=[];else if(y=t.props.children,C(e,Array.isArray(y)?y:[y],t,n,o,i&&"foreignObject"!==g,a,s,a?a[0]:n.__k&&v(n,0),l),null!=a)for(y=a.length;y--;)null!=a[y]&&f(a[y]);l||("value"in m&&void 0!==(y=m.value)&&(y!==e.value||"progress"===g&&!y)&&k(e,"value",y,h.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==e.checked&&k(e,"checked",y,h.checked,!1))}return e}function I(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function M(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||I(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&M(r[i],t,"function"!=typeof e.type);n||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function N(e,t,n){return this.constructor(e,n)}function D(e,t,n){var i,a,s;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,s=[],A(t,e=(!i&&n||t).__k=h(g,null,[e]),a||c,c,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!i&&n?n:a?a.__e:t.firstChild,i),P(s,e)}r=u.slice,o={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},i=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),_(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_(this))},y.prototype.render=g,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,w.__r=0},8065:(e,t,n)=>{"use strict";n.d(t,{eJ:()=>m,d4:()=>g,sO:()=>y});n(92222),n(60086),n(54747),n(57327);var r,o,i,a=n(79758),s=0,l=[],c=a.YM.__b,u=a.YM.__r,d=a.YM.diffed,p=a.YM.__c,f=a.YM.unmount;function h(e,t){a.YM.__h&&a.YM.__h(o,e,s||t),s=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function m(e){return s=1,function(e,t,n){var i=h(r++,2);return i.t=e,i.__c||(i.__=[n?n(t):E(void 0,t),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}(E,e)}function g(e,t){var n=h(r++,3);!a.YM.__s&&S(n.__H,t)&&(n.__=e,n.__H=t,o.__H.__h.push(n))}function y(e){return s=5,v((function(){return{current:e}}),[])}function v(e,t){var n=h(r++,7);return S(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function b(){l.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(w),e.__H.__h.forEach(C),e.__H.__h=[]}catch(t){e.__H.__h=[],a.YM.__e(t,e.__v)}})),l=[]}a.YM.__b=function(e){o=null,c&&c(e)},a.YM.__r=function(e){u&&u(e),r=0;var t=(o=e.__c).__H;t&&(t.__h.forEach(w),t.__h.forEach(C),t.__h=[])},a.YM.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==l.push(t)&&i===a.YM.requestAnimationFrame||((i=a.YM.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),_&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);_&&(t=requestAnimationFrame(n))})(b)),o=void 0},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(w),e.__h=e.__h.filter((function(e){return!e.__||C(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(n,e.__v)}})),p&&p(e,t)},a.YM.unmount=function(e){f&&f(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(w)}catch(e){a.YM.__e(e,t.__v)}};var _="function"==typeof requestAnimationFrame;function w(e){var t=o;"function"==typeof e.__c&&e.__c(),o=t}function C(e){var t=o;e.__c=e.__(),o=t}function S(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function E(e,t){return"function"==typeof t?t(e):t}},87751:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(72443),n(39341),n(73706),n(10408),n(30489),n(68309),n(54747),n(47042),n(65743);var o=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function f(){}function h(){}var m={};l(m,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(x([])));y&&y!==t&&n.call(y,i)&&(m=y);var v=h.prototype=p.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function s(){return new t((function(o,s){!function o(i,a,s,l){var c=u(e[i],e,a);if("throw"!==c.type){var d=c.arg,p=d.value;return p&&"object"===r(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,s,l)}),(function(e){o("throw",e,s,l)})):t.resolve(p).then((function(e){d.value=e,s(d)}),(function(e){return o("throw",e,s,l)}))}l(c.arg)}(i,a,o,s)}))}return o=o?o.then(s,s):s()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=h,l(v,"constructor",h),l(h,"constructor",f),f.displayName=l(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},b(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(v),l(v,s,"Generator"),l(v,i,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}("object"===r(e)?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},48119:e=>{e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},39724:function(e,t,n){var r,o,i,a,s,l;function c(e){return(c="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)}e=n.nmd(e),n(73210),n(74916),n(15306),n(69600),n(23123),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),o=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,i=/^(?=([^\/?#]*))\1([^]*)$/,a=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,l={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=l.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=l.normalizePath(r.path),l.buildURLFromParts(r)}var o=l.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=l.normalizePath(o.path),l.buildURLFromParts(o)):t;var a=l.parseURL(e);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var s=i.exec(a.path);a.netLoc=s[1],a.path=s[2]}a.netLoc&&!a.path&&(a.path="/");var c={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(c.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var u=a.path,d=u.substring(0,u.lastIndexOf("/")+1)+o.path;c.path=l.normalizePath(d)}else c.path=a.path,o.params||(c.params=a.params,o.query||(c.query=a.query));return null===c.path&&(c.path=n.alwaysNormalize?l.normalizePath(o.path):o.path),l.buildURLFromParts(c)},parseURL:function(e){var t=o.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(a,"");e.length!==(e=e.replace(s,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},"object"===c(t)&&"object"===c(e)?e.exports=l:void 0===(r=function(){return l}.apply(t,[]))||(e.exports=r)},99227:(e,t,n)=>{var r=n(95732),o=e.exports={WebVTT:n(6123),VTTCue:n(26456),VTTRegion:n(55787)};r.vttjs=o,r.WebVTT=o.WebVTT;var i=o.VTTCue,a=o.VTTRegion,s=r.VTTCue,l=r.VTTRegion;o.shim=function(){r.VTTCue=i,r.VTTRegion=a},o.restore=function(){r.VTTCue=s,r.VTTRegion=l},r.VTTCue||o.shim()},6123:(e,t,n)=>{n(68309),n(74916),n(4723),n(15306),n(66992),n(41539),n(33948),n(23123),n(73210),n(54747),n(47042),n(69600);var r=n(56374),o=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function i(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function a(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=o(null)}function l(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);if(2===a.length)t(a[0].trim(),a[1].trim())}}function c(e,t,n){var r=e;function o(){var t=a(e);if(null===t)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=o(),c(),"--\x3e"!==e.substr(0,3))throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),c(),t.endTime=o(),c(),function(e,t){var r=new s;l(e,(function(e,t){switch(e){case"region":for(var o=n.length-1;o>=0;o--)if(n[o].id===t){r.set(e,n[o].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var i=t.split(","),a=i[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===i.length&&r.alt("lineAlign",i[1],["start","center","end"]);break;case"position":i=t.split(","),r.percent(e,i[0]),2===i.length&&r.alt("positionAlign",i[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(e){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}i.prototype=o(Error.prototype),i.prototype.constructor=i,i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var u=r.createElement&&r.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},p={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},f={v:"title",lang:"lang"},h={rt:"ruby"};function m(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!h[t.localName]||h[t.localName]===e.localName}function o(t,n){var r=d[t];if(!r)return null;var o=e.document.createElement(r),i=f[t];return i&&n&&(o[i]=n.trim()),o}for(var i,s,l=e.document.createElement("div"),c=l,m=[];null!==(i=n());)if("<"!==i[0])c.appendChild(e.document.createTextNode((s=i,u.innerHTML=s,s=u.textContent,u.textContent="",s)));else{if("/"===i[1]){m.length&&m[m.length-1]===i.substr(2).replace(">","")&&(m.pop(),c=c.parentNode);continue}var g,y=a(i.substr(1,i.length-2));if(y){g=e.document.createProcessingInstruction("timestamp",y),c.appendChild(g);continue}var v=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(g=o(v[1],v[3])))continue;if(!r(c,g))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(p.hasOwnProperty(n)){var r=t?"background-color":"color",o=p[n];g.style[r]=o}})),g.className=b.join(" ")}m.push(v[1]),c.appendChild(g),c=g}return l}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(e){for(var t=0;t<g.length;t++){var n=g[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function v(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function o(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var i=n.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):n}return"ruby"===t.tagName?o(e):t.childNodes?(r(e,t),o(e)):void 0}for(r(t,e);n=o(t);)for(var i=0;i<n.length;i++)if(y(n.charCodeAt(i)))return"rtl";return"ltr"}function b(){}function _(e,t,n){b.call(this),this.cue=t,this.cueDiv=m(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:v(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var o=0;switch(t.positionAlign){case"start":case"line-left":o=t.position;break;case"center":o=t.position-t.size/2;break;case"end":case"line-right":o=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(o,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(o,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function w(e){var t,n,r,o;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var i=(i=e.div.childNodes)&&(i=i[0])&&i.getClientRects&&i.getClientRects();e=e.div.getBoundingClientRect(),t=i?Math.max(i[0]&&i[0].height||0,e.height/i.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function C(e,t,n,r){var o=new w(t),i=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return-1*++r}(i),s=[];if(i.snapToLines){var l;switch(i.vertical){case"":s=["+y","-y"],l="height";break;case"rl":s=["+x","-x"],l="width";break;case"lr":s=["-x","+x"],l="width"}var c=o.lineHeight,u=c*Math.round(a),d=n[l]+c,p=s[0];Math.abs(u)>d&&(u=u<0?-1:1,u*=Math.ceil(d/c)*c),a<0&&(u+=""===i.vertical?n.height:n.width,s=s.reverse()),o.move(p,u)}else{var f=o.lineHeight/n.height*100;switch(i.lineAlign){case"center":a-=f/2;break;case"end":a-=f}switch(i.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],o=new w(t)}var h=function(e,t){for(var o,i=new w(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var l=e.intersectPercentage(n);a>l&&(o=new w(e),a=l),e=new w(i)}return o||i}(o,s);t.move(h.toCSSCompatValues(n))}function S(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=o(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},S.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},S.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};S.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var o=[],i=w.getSimpleBoxPosition(r),a={font:Math.round(.05*i.height*100)/100+"px sans-serif"};!function(){for(var n,s,l=0;l<t.length;l++)s=t[l],n=new _(e,s,a),r.appendChild(n.div),C(0,n,i,o),s.displayState=n.div,o.push(w.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},S.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},S.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof i))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?l(e,(function(e,n){switch(e){case"X-TIMESTAMP-MAP":!function(e){var n=new s;l(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",a(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}}),/=/):l(e,(function(e,n){switch(e){case"Region":!function(e){var n=new s;if(l(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var o=new s;if(o.percent("x",r[0]),o.percent("y",r[1]),!o.has("x")||!o.has("y"))break;n.set(e+"X",o.get("x")),n.set(e+"Y",o.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var o;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var u=(o=n()).match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new i(i.Errors.BadSignature);t.state="HEADER"}for(var d=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(d?d=!1:o=n(),t.state){case"HEADER":/:/.test(o)?r(o):o||(t.state="ID");continue;case"NOTE":o||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){t.state="NOTE";break}if(!o)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===o.indexOf("--\x3e")){t.cue.id=o;continue}case"CUE":try{c(o,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var p=-1!==o.indexOf("--\x3e");if(!o||p&&(d=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=o.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":o||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new i(i.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=S},26456:e=>{var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}function o(e,n,o){this.hasBeenReset=!1;var i="",a=!1,s=e,l=n,c=o,u=null,d="",p=!0,f="auto",h="start",m="auto",g="auto",y=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return i},set:function(e){i=""+e}},pauseOnExit:{enumerable:!0,get:function(){return a},set:function(e){a=!!e}},startTime:{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");s=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");l=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return c},set:function(e){c=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return u},set:function(e){u=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var n=function(e){return"string"==typeof e&&(!!t[e.toLowerCase()]&&e.toLowerCase())}(e);if(!1===n)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return p},set:function(e){p=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return f},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");f=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){var t=r(e);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=r(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=t,this.hasBeenReset=!0}}}),this.displayState=void 0}o.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=o},55787:e=>{var t={"":!0,up:!0};function n(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,o=0,i=100,a=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw new Error("RegionAnchorX must be between 0 and 100.");i=e}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!n(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var n=function(e){return"string"==typeof e&&(!!t[e.toLowerCase()]&&e.toLowerCase())}(e);!1===n?console.warn("Scroll: an invalid or illegal string was specified."):l=n}}})}},19662:(e,t,n)=>{var r=n(60614),o=n(66330);e.exports=function(e){if(r(e))return e;throw TypeError(o(e)+" is not a function")}},39483:(e,t,n)=>{var r=n(4411),o=n(66330);e.exports=function(e){if(r(e))return e;throw TypeError(o(e)+" is not a constructor")}},96077:(e,t,n)=>{var r=n(60614);e.exports=function(e){if("object"==typeof e||r(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},51223:(e,t,n)=>{var r=n(5112),o=n(70030),i=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,n)=>{"use strict";var r=n(28710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},25787:e=>{e.exports=function(e,t,n){if(e instanceof t)return e;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},19670:(e,t,n)=>{var r=n(70111);e.exports=function(e){if(r(e))return e;throw TypeError(String(e)+" is not an object")}},24019:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},90260:(e,t,n)=>{"use strict";var r,o,i,a=n(24019),s=n(19781),l=n(17854),c=n(60614),u=n(70111),d=n(86656),p=n(70648),f=n(66330),h=n(68880),m=n(31320),g=n(3070).f,y=n(79518),v=n(27674),b=n(5112),_=n(69711),w=l.Int8Array,C=w&&w.prototype,S=l.Uint8ClampedArray,E=S&&S.prototype,x=w&&y(w),k=C&&y(C),O=Object.prototype,T=O.isPrototypeOf,A=b("toStringTag"),P=_("TYPED_ARRAY_TAG"),R=_("TYPED_ARRAY_CONSTRUCTOR"),I=a&&!!v&&"Opera"!==p(l.opera),M=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},j=function(e){if(!u(e))return!1;var t=p(e);return d(N,t)||d(D,t)};for(r in N)(i=(o=l[r])&&o.prototype)?h(i,R,o):I=!1;for(r in D)(i=(o=l[r])&&o.prototype)&&h(i,R,o);if((!I||!c(x)||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},I))for(r in N)l[r]&&v(l[r],x);if((!I||!k||k===O)&&(k=x.prototype,I))for(r in N)l[r]&&v(l[r].prototype,k);if(I&&y(E)!==k&&v(E,k),s&&!d(k,A))for(r in M=!0,g(k,A,{get:function(){return u(this)?this[P]:void 0}}),N)l[r]&&h(l[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:R,TYPED_ARRAY_TAG:M&&P,aTypedArray:function(e){if(j(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!v||T.call(x,e)))return e;throw TypeError(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in N){var o=l[r];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(e){}}k[e]&&!n||m(k,e,n?t:I&&C[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(v){if(n)for(r in N)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(x[e]&&!n)return;try{return m(x,e,n?t:I&&x[e]||t)}catch(e){}}for(r in N)!(o=l[r])||o[e]&&!n||m(o,e,t)}},isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d(N,t)||d(D,t)},isTypedArray:j,TypedArray:x,TypedArrayPrototype:k}},13331:(e,t,n)=>{"use strict";var r=n(17854),o=n(19781),i=n(24019),a=n(76530),s=n(68880),l=n(12248),c=n(47293),u=n(25787),d=n(99958),p=n(17466),f=n(57067),h=n(11179),m=n(79518),g=n(27674),y=n(8006).f,v=n(3070).f,b=n(21285),_=n(58003),w=n(29909),C=a.PROPER,S=a.CONFIGURABLE,E=w.get,x=w.set,k=r.ArrayBuffer,O=k,T=r.DataView,A=T&&T.prototype,P=Object.prototype,R=r.RangeError,I=h.pack,M=h.unpack,N=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},j=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return I(e,23,4)},F=function(e){return I(e,52,8)},U=function(e,t){v(e.prototype,t,{get:function(){return E(this)[t]}})},H=function(e,t,n,r){var o=f(n),i=E(e);if(o+t>i.byteLength)throw R("Wrong index");var a=E(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},V=function(e,t,n,r,o,i){var a=f(n),s=E(e);if(a+t>s.byteLength)throw R("Wrong index");for(var l=E(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<t;d++)l[c+d]=u[i?d:t-d-1]};if(i){var z=C&&"ArrayBuffer"!==k.name;if(c((function(){k(1)}))&&c((function(){new k(-1)}))&&!c((function(){return new k,new k(1.5),new k(NaN),z&&!S})))z&&S&&s(k,"name","ArrayBuffer");else{for(var q,G=(O=function(e){return u(this,O),new k(f(e))}).prototype=k.prototype,W=y(k),Y=0;W.length>Y;)(q=W[Y++])in O||s(O,q,k[q]);G.constructor=O}g&&m(A)!==P&&g(A,P);var Z=new T(new O(2)),K=A.setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||l(A,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else O=function(e){u(this,O,"ArrayBuffer");var t=f(e);x(this,{bytes:b.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},T=function(e,t,n){u(this,T,"DataView"),u(e,O,"DataView");var r=E(e).byteLength,i=d(t);if(i<0||i>r)throw R("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw R("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(U(O,"byteLength"),U(T,"buffer"),U(T,"byteLength"),U(T,"byteOffset")),l(T.prototype,{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(H(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(H(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return M(H(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return M(H(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){V(this,1,e,N,t)},setUint8:function(e,t){V(this,1,e,N,t)},setInt16:function(e,t){V(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){V(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){V(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){V(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){V(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){V(this,8,e,F,t,arguments.length>2?arguments[2]:void 0)}});_(O,"ArrayBuffer"),_(T,"DataView"),e.exports={ArrayBuffer:O,DataView:T}},1048:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(17466),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),c=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),p=1;for(c<l&&l<c+d&&(p=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=p,c+=p;return n}},21285:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(17466);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},18533:(e,t,n)=>{"use strict";var r=n(42092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},97745:e=>{e.exports=function(e,t){for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o}},48457:(e,t,n)=>{"use strict";var r=n(49974),o=n(47908),i=n(53411),a=n(97659),s=n(4411),l=n(17466),c=n(86135),u=n(18554),d=n(71246);e.exports=function(e){var t=o(e),n=s(this),p=arguments.length,f=p>1?arguments[1]:void 0,h=void 0!==f;h&&(f=r(f,p>2?arguments[2]:void 0,2));var m,g,y,v,b,_,w=d(t),C=0;if(!w||this==Array&&a(w))for(m=l(t.length),g=n?new this(m):Array(m);m>C;C++)_=h?f(t[C],C):t[C],c(g,C,_);else for(b=(v=u(t,w)).next,g=n?new this:[];!(y=b.call(v)).done;C++)_=h?i(v,f,[y.value,C],!0):y.value,c(g,C,_);return g.length=C,g}},41318:(e,t,n)=>{var r=n(45656),o=n(17466),i=n(51400),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:(e,t,n)=>{var r=n(49974),o=n(68361),i=n(47908),a=n(17466),s=n(65417),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,g,y){for(var v,b,_=i(h),w=o(_),C=r(m,g,3),S=a(w.length),E=0,x=y||s,k=t?x(h,S):n||p?x(h,0):void 0;S>E;E++)if((f||E in w)&&(b=C(v=w[E],E,_),e))if(t)k[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l.call(k,v)}else switch(e){case 4:return!1;case 7:l.call(k,v)}return d?-1:c||u?u:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},86583:(e,t,n)=>{"use strict";var r=n(45656),o=n(99958),i=n(17466),a=n(9341),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=c||!u;e.exports=d?function(e){if(c)return l.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},81194:(e,t,n)=>{var r=n(47293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,n)=>{"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},53671:(e,t,n)=>{var r=n(19662),o=n(47908),i=n(68361),a=n(17466),s=function(e){return function(t,n,s,l){r(n);var c=o(t),u=i(c),d=a(c.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){l=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(l=n(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!0)}},94362:e=>{var t=Math.floor,n=function(e,i){var a=e.length,s=t(a/2);return a<8?r(e,i):o(n(e.slice(0,s),i),n(e.slice(s),i),i)},r=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},o=function(e,t,n){for(var r=e.length,o=t.length,i=0,a=0,s=[];i<r||a<o;)i<r&&a<o?s.push(n(e[i],t[a])<=0?e[i++]:t[a++]):s.push(i<r?e[i++]:t[a++]);return s};e.exports=n},77475:(e,t,n)=>{var r=n(43157),o=n(4411),i=n(70111),a=n(5112)("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===Array||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?Array:t}},65417:(e,t,n)=>{var r=n(77475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},53411:(e,t,n)=>{var r=n(19670),o=n(99212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},17072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},84326:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:(e,t,n)=>{var r=n(51694),o=n(60614),i=n(84326),a=n(5112)("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},95631:(e,t,n)=>{"use strict";var r=n(3070).f,o=n(70030),i=n(12248),a=n(49974),s=n(25787),l=n(20408),c=n(70654),u=n(96340),d=n(19781),p=n(62423).fastKey,f=n(29909),h=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&l(r,e[c],{that:e,AS_ENTRIES:n})})),f=m(t),g=function(e,t,n){var r,o,i=f(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=f(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=f(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=f(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(u.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},29320:(e,t,n)=>{"use strict";var r=n(12248),o=n(62423).getWeakData,i=n(19670),a=n(70111),s=n(25787),l=n(20408),c=n(42092),u=n(86656),d=n(29909),p=d.set,f=d.getterFor,h=c.find,m=c.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){s(e,d,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&l(r,e[c],{that:e,AS_ENTRIES:n})})),h=f(t),m=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&u(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},77710:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(54705),a=n(31320),s=n(62423),l=n(20408),c=n(25787),u=n(60614),d=n(70111),p=n(47293),f=n(17072),h=n(58003),m=n(79587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),v=g?"set":"add",b=o[e],_=b&&b.prototype,w=b,C={},S=function(e){var t=_[e];a(_,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!d(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!d(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,!u(b)||!(y||_.forEach&&!p((function(){(new b).entries().next()})))))w=n.getConstructor(t,e,g,v),s.enable();else if(i(e,!0)){var E=new w,x=E[v](y?{}:-0,1)!=E,k=p((function(){E.has(1)})),O=f((function(e){new b(e)})),T=!y&&p((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));O||((w=t((function(t,n){c(t,w,e);var r=m(new b,t,w);return null!=n&&l(n,r[v],{that:r,AS_ENTRIES:g}),r}))).prototype=_,_.constructor=w),(k||T)&&(S("delete"),S("has"),g&&S("get")),(T||x)&&S(v),y&&_.clear&&delete _.clear}return C[e]=w,r({global:!0,forced:w!=b},C),h(w,e),y||n.setStrong(w,e,g),w}},99920:(e,t,n)=>{var r=n(86656),o=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},84964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:(e,t,n)=>{var r=n(84488),o=n(41340),i=/"/g;e.exports=function(e,t,n,a){var s=o(r(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+o(a).replace(i,"&quot;")+'"'),l+">"+s+"</"+t+">"}},24994:(e,t,n)=>{"use strict";var r=n(13383).IteratorPrototype,o=n(70030),i=n(79114),a=n(58003),s=n(97497),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},68880:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(79114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,n)=>{"use strict";var r=n(34948),o=n(3070),i=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},38709:(e,t,n)=>{"use strict";var r=n(19670),o=n(92140);e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw TypeError("Incorrect hint");return o(this,e)}},70654:(e,t,n)=>{"use strict";var r=n(82109),o=n(31913),i=n(76530),a=n(60614),s=n(24994),l=n(79518),c=n(27674),u=n(58003),d=n(68880),p=n(31320),f=n(5112),h=n(97497),m=n(13383),g=i.PROPER,y=i.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=f("iterator"),w=function(){return this};e.exports=function(e,t,n,i,f,m,C){s(n,t,i);var S,E,x,k=function(e){if(e===f&&R)return R;if(!b&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",T=!1,A=e.prototype,P=A[_]||A["@@iterator"]||f&&A[f],R=!b&&P||k(f),I="Array"==t&&A.entries||P;if(I&&(S=l(I.call(new e)))!==Object.prototype&&S.next&&(o||l(S)===v||(c?c(S,v):a(S[_])||p(S,_,w)),u(S,O,!0,!0),o&&(h[O]=w)),g&&"values"==f&&P&&"values"!==P.name&&(!o&&y?d(A,"name","values"):(T=!0,R=function(){return P.call(this)})),f)if(E={values:k("values"),keys:m?R:k("keys"),entries:k("entries")},C)for(x in E)(b||T||!(x in A))&&p(A,x,E[x]);else r({target:t,proto:!0,forced:b||T},E);return o&&!C||A[_]===R||p(A,_,R,{name:f}),h[t]=R,E}},97235:(e,t,n)=>{var r=n(40857),o=n(86656),i=n(6061),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},19781:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:(e,t,n)=>{var r=n(17854),o=n(70111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,n)=>{var r=n(80317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},68886:(e,t,n)=>{var r=n(88113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},30256:(e,t,n)=>{var r=n(88113);e.exports=/MSIE|Trident/.test(r)},88113:(e,t,n)=>{var r=n(35005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,i=n(17854),a=n(88113),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?o=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},98008:(e,t,n)=>{var r=n(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,n)=>{var r=n(17854),o=n(31236).f,i=n(68880),a=n(31320),s=n(83505),l=n(99920),c=n(54705);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:(e,t,n)=>{"use strict";n(74916);var r=n(31320),o=n(22261),i=n(47293),a=n(5112),s=n(68880),l=a("species"),c=RegExp.prototype;e.exports=function(e,t,n,u){var d=a(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),f=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!f||n){var h=/./[d],m=t(d,""[e],(function(e,t,n,r,i){var a=t.exec;return a===o||a===c.exec?p&&!i?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(c,d,m[1])}u&&s(c[d],"sham",!0)}},76677:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},49974:(e,t,n)=>{var r=n(19662);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},27065:(e,t,n)=>{"use strict";var r=n(19662),o=n(70111),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},76530:(e,t,n)=>{var r=n(19781),o=n(86656),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},35005:(e,t,n)=>{var r=n(17854),o=n(60614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},71246:(e,t,n)=>{var r=n(70648),o=n(58173),i=n(97497),a=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},18554:(e,t,n)=>{var r=n(19662),o=n(19670),i=n(71246);e.exports=function(e,t){var n=arguments.length<2?i(e):t;if(r(n))return o(n.call(e));throw TypeError(String(e)+" is not iterable")}},58173:(e,t,n)=>{var r=n(19662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},10647:(e,t,n)=>{var r=n(47908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,c,u){var d=n+e.length,p=l.length,f=s;return void 0!==c&&(c=r(c),f=a),i.call(u,f,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>p){var u=o(s/10);return 0===u?r:u<=p?void 0===l[u-1]?i.charAt(1):l[u-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},17854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},86656:(e,t,n)=>{var r=n(47908),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},3501:e=>{e.exports={}},60490:(e,t,n)=>{var r=n(35005);e.exports=r("document","documentElement")},64664:(e,t,n)=>{var r=n(19781),o=n(47293),i=n(80317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},11179:e=>{var t=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,a,s){var l,c,u,d=new Array(s),p=8*s-a-1,f=(1<<p)-1,h=f>>1,m=23===a?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=t(e))!=e||e===1/0?(c=e!=e?1:0,l=f):(l=r(o(e)/i),e*(u=n(2,-l))<1&&(l--,u*=2),(e+=l+h>=1?m/u:m*n(2,1-h))*u>=2&&(l++,u/=2),l+h>=f?(c=0,l=f):l+h>=1?(c=(e*u-1)*n(2,a),l+=h):(c=e*n(2,h-1)*n(2,a),l=0));a>=8;d[y++]=255&c,c/=256,a-=8);for(l=l<<a|c,p+=a;p>0;d[y++]=255&l,l/=256,p-=8);return d[--y]|=128*g,d},unpack:function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=t;l>0;r=256*r+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=s}return(u?-1:1)*r*n(2,d-t)}}},68361:(e,t,n)=>{var r=n(47293),o=n(84326),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},79587:(e,t,n)=>{var r=n(60614),o=n(70111),i=n(27674);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},42788:(e,t,n)=>{var r=n(60614),o=n(5465),i=Function.toString;r(o.inspectSource)||(o.inspectSource=function(e){return i.call(e)}),e.exports=o.inspectSource},62423:(e,t,n)=>{var r=n(82109),o=n(3501),i=n(70111),a=n(86656),s=n(3070).f,l=n(8006),c=n(1156),u=n(69711),d=n(76677),p=!1,f=u("meta"),h=0,m=Object.isExtensible||function(){return!0},g=function(e){s(e,f,{value:{objectID:"O"+h++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=l.f,t=[].splice,n={};n[f]=1,e(n).length&&(l.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===f){t.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,f)){if(!m(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},getWeakData:function(e,t){if(!a(e,f)){if(!m(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},onFreeze:function(e){return d&&p&&m(e)&&!a(e,f)&&g(e),e}};o[f]=!0},29909:(e,t,n)=>{var r,o,i,a=n(68536),s=n(17854),l=n(70111),c=n(68880),u=n(86656),d=n(5465),p=n(6200),f=n(3501),h=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new h),g=m.get,y=m.has,v=m.set;r=function(e,t){if(y.call(m,e))throw new TypeError("Object already initialized");return t.facade=e,v.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return y.call(m,e)}}else{var b=p("state");f[b]=!0,r=function(e,t){if(u(e,b))throw new TypeError("Object already initialized");return t.facade=e,c(e,b,t),t},o=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},97659:(e,t,n)=>{var r=n(5112),o=n(97497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:(e,t,n)=>{var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},60614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(47293),o=n(60614),i=n(70648),a=n(35005),s=n(42788),l=[],c=a("Reflect","construct"),u=/^\s*(?:class|function)\b/,d=u.exec,p=!u.exec((function(){})),f=function(e){if(!o(e))return!1;try{return c(Object,l,e),!0}catch(e){return!1}};e.exports=!c||r((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?function(e){if(!o(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!d.call(u,s(e))}:f},45032:(e,t,n)=>{var r=n(86656);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},54705:(e,t,n)=>{var r=n(47293),o=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},18730:(e,t,n)=>{var r=n(70111),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},70111:(e,t,n)=>{var r=n(60614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},31913:e=>{e.exports=!1},47850:(e,t,n)=>{var r=n(70111),o=n(84326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},52190:(e,t,n)=>{var r=n(60614),o=n(35005),i=n(43307);e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&Object(e)instanceof t}},20408:(e,t,n)=>{var r=n(19670),o=n(97659),i=n(17466),a=n(49974),s=n(18554),l=n(71246),c=n(99212),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,p,f,h,m,g,y,v=n&&n.that,b=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),C=a(t,v,1+b+w),S=function(e){return d&&c(d,"normal",e),new u(!0,e)},E=function(e){return b?(r(e),w?C(e[0],e[1],S):C(e[0],e[1])):w?C(e,S):C(e)};if(_)d=e;else{if(!(p=l(e)))throw TypeError(String(e)+" is not iterable");if(o(p)){for(f=0,h=i(e.length);h>f;f++)if((m=E(e[f]))&&m instanceof u)return m;return new u(!1)}d=s(e,p)}for(g=d.next;!(y=g.call(d)).done;){try{m=E(y.value)}catch(e){c(d,"throw",e)}if("object"==typeof m&&m&&m instanceof u)return m}return new u(!1)}},99212:(e,t,n)=>{var r=n(19670),o=n(58173);e.exports=function(e,t,n){var i,a;r(e);try{if(!(i=o(e,"return"))){if("throw"===t)throw n;return n}i=i.call(e)}catch(e){a=!0,i=e}if("throw"===t)throw n;if(a)throw i;return r(i),n}},13383:(e,t,n)=>{"use strict";var r,o,i,a=n(47293),s=n(60614),l=n(70030),c=n(79518),u=n(31320),d=n(5112),p=n(31913),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[f].call(e)!==e}))?r={}:p&&(r=l(r)),s(r[f])||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},97497:e=>{e.exports={}},30133:(e,t,n)=>{var r=n(7392),o=n(47293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:(e,t,n)=>{var r=n(47293),o=n(5112),i=n(31913),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},68536:(e,t,n)=>{var r=n(17854),o=n(60614),i=n(42788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,t,n)=>{var r=n(47850);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},21574:(e,t,n)=>{"use strict";var r=n(19781),o=n(47293),i=n(81956),a=n(25181),s=n(55296),l=n(47908),c=n(68361),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,p=s.f;o>u;)for(var f,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),g=m.length,y=0;g>y;)f=m[y++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},70030:(e,t,n)=>{var r,o=n(19670),i=n(36048),a=n(80748),s=n(3501),l=n(60490),c=n(80317),u=n(6200),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[d]=e):n=m(),void 0===t?n:i(n,t)}},36048:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(19670),a=n(81956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},3070:(e,t,n)=>{var r=n(19781),o=n(64664),i=n(19670),a=n(34948),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:(e,t,n)=>{var r=n(19781),o=n(55296),i=n(79114),a=n(45656),s=n(34948),l=n(86656),c=n(64664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},1156:(e,t,n)=>{var r=n(45656),o=n(8006).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},8006:(e,t,n)=>{var r=n(16324),o=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},25181:(e,t)=>{t.f=Object.getOwnPropertySymbols},79518:(e,t,n)=>{var r=n(86656),o=n(60614),i=n(47908),a=n(6200),s=n(49920),l=a("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof Object?c:null}},16324:(e,t,n)=>{var r=n(86656),o=n(45656),i=n(41318).indexOf,a=n(3501);e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},81956:(e,t,n)=>{var r=n(16324),o=n(80748);e.exports=Object.keys||function(e){return r(e,o)}},55296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},27674:(e,t,n)=>{var r=n(19670),o=n(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},90288:(e,t,n)=>{"use strict";var r=n(51694),o=n(70648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},92140:(e,t,n)=>{var r=n(60614),o=n(70111);e.exports=function(e,t){var n,i;if("string"===t&&r(n=e.toString)&&!o(i=n.call(e)))return i;if(r(n=e.valueOf)&&!o(i=n.call(e)))return i;if("string"!==t&&r(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},53887:(e,t,n)=>{var r=n(35005),o=n(8006),i=n(25181),a=n(19670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},40857:(e,t,n)=>{var r=n(17854);e.exports=r},12248:(e,t,n)=>{var r=n(31320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},31320:(e,t,n)=>{var r=n(17854),o=n(60614),i=n(86656),a=n(68880),s=n(83505),l=n(42788),c=n(29909),u=n(76530).CONFIGURABLE,d=c.get,p=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,h=!!l&&!!l.enumerable,m=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:t;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||u&&n.name!==g)&&a(n,"name",g),(c=p(n)).source||(c.source=f.join("string"==typeof g?g:""))),e!==r?(d?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return o(this)&&d(this).source||l(this)}))},97651:(e,t,n)=>{var r=n(19670),o=n(60614),i=n(84326),a=n(22261);e.exports=function(e,t){var n=e.exec;if(o(n)){var s=n.call(e,t);return null!==s&&r(s),s}if("RegExp"===i(e))return a.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")}},22261:(e,t,n)=>{"use strict";var r,o,i=n(41340),a=n(67066),s=n(52999),l=n(72309),c=n(70030),u=n(29909).get,d=n(9441),p=n(38173),f=RegExp.prototype.exec,h=l("native-string-replace",String.prototype.replace),m=f,g=(r=/a/,o=/b*/g,f.call(r,"a"),f.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),y=s.UNSUPPORTED_Y||s.BROKEN_CARET,v=void 0!==/()??/.exec("")[1];(g||v||y||d||p)&&(m=function(e){var t,n,r,o,s,l,d,p=this,b=u(p),_=i(e),w=b.raw;if(w)return w.lastIndex=p.lastIndex,t=m.call(w,_),p.lastIndex=w.lastIndex,t;var C=b.groups,S=y&&p.sticky,E=a.call(p),x=p.source,k=0,O=_;if(S&&(-1===(E=E.replace("y","")).indexOf("g")&&(E+="g"),O=_.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==_.charAt(p.lastIndex-1))&&(x="(?: "+x+")",O=" "+O,k++),n=new RegExp("^(?:"+x+")",E)),v&&(n=new RegExp("^"+x+"$(?!\\s)",E)),g&&(r=p.lastIndex),o=f.call(S?n:p,O),S?o?(o.input=o.input.slice(k),o[0]=o[0].slice(k),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:g&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),v&&o&&o.length>1&&h.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&C)for(o.groups=l=c(null),s=0;s<C.length;s++)l[(d=C[s])[0]]=o[d[1]];return o}),e.exports=m},67066:(e,t,n)=>{"use strict";var r=n(19670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},52999:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},9441:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},38173:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},84488:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},83505:(e,t,n)=>{var r=n(17854);e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},96340:(e,t,n)=>{"use strict";var r=n(35005),o=n(3070),i=n(5112),a=n(19781),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},58003:(e,t,n)=>{var r=n(3070).f,o=n(86656),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(72309),o=n(69711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,n)=>{var r=n(17854),o=n(83505),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},72309:(e,t,n)=>{var r=n(31913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},36707:(e,t,n)=>{var r=n(19670),o=n(39483),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},43429:(e,t,n)=>{var r=n(47293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},28710:(e,t,n)=>{var r=n(99958),o=n(41340),i=n(84488),a=function(e){return function(t,n){var a,s,l=o(i(t)),c=r(n),u=l.length;return c<0||c>=u?e?"":void 0:(a=l.charCodeAt(c))<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):a:e?l.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},33197:e=>{"use strict";var t=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,r="Overflow: input needs wider integers to process",o=Math.floor,i=String.fromCharCode,a=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},l=function(e){var t,n,l=[],c=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,u=128,d=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&l.push(i(n));var f=l.length,h=f;for(f&&l.push("-");h<c;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<m&&(m=n);var g=h+1;if(m-u>o((2147483647-d)/g))throw RangeError(r);for(d+=(m-u)*g,u=m,t=0;t<e.length;t++){if((n=e[t])<u&&++d>2147483647)throw RangeError(r);if(n==u){for(var y=d,v=36;;v+=36){var b=v<=p?1:v>=p+26?26:v-p;if(y<b)break;var _=y-b,w=36-b;l.push(i(a(b+_%w))),y=o(_/w)}l.push(i(a(y))),p=s(d,g,h==f),d=0,++h}}++d,++u}return l.join("")};e.exports=function(e){var r,o,i=[],a=e.toLowerCase().replace(n,".").split(".");for(r=0;r<a.length;r++)o=a[r],i.push(t.test(o)?"xn--"+l(o):o);return i.join(".")}},38415:(e,t,n)=>{"use strict";var r=n(99958),o=n(41340),i=n(84488);e.exports=function(e){var t=o(i(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},76091:(e,t,n)=>{var r=n(76530).PROPER,o=n(47293),i=n(81361);e.exports=function(e){return o((function(){return!!i[e]()||"​᠎"!=="​᠎"[e]()||r&&i[e].name!==e}))}},53111:(e,t,n)=>{var r=n(84488),o=n(41340),i="["+n(81361)+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var n=o(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},50863:e=>{var t=1..valueOf;e.exports=function(e){return t.call(e)}},51400:(e,t,n)=>{var r=n(99958),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},57067:(e,t,n)=>{var r=n(99958),o=n(17466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},45656:(e,t,n)=>{var r=n(68361),o=n(84488);e.exports=function(e){return r(o(e))}},99958:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},17466:(e,t,n)=>{var r=n(99958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},47908:(e,t,n)=>{var r=n(84488);e.exports=function(e){return Object(r(e))}},84590:(e,t,n)=>{var r=n(73002);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},73002:(e,t,n)=>{var r=n(99958);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},57593:(e,t,n)=>{var r=n(70111),o=n(52190),i=n(58173),a=n(92140),s=n(5112)("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,l=i(e,s);if(l){if(void 0===t&&(t="default"),n=l.call(e,t),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},34948:(e,t,n)=>{var r=n(57593),o=n(52190);e.exports=function(e){var t=r(e,"string");return o(t)?t:String(t)}},51694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},41340:(e,t,n)=>{var r=n(70648);e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},66330:e=>{e.exports=function(e){try{return String(e)}catch(e){return"Object"}}},19843:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(19781),a=n(63832),s=n(90260),l=n(13331),c=n(25787),u=n(79114),d=n(68880),p=n(18730),f=n(17466),h=n(57067),m=n(84590),g=n(34948),y=n(86656),v=n(70648),b=n(70111),_=n(52190),w=n(70030),C=n(27674),S=n(8006).f,E=n(97321),x=n(42092).forEach,k=n(96340),O=n(3070),T=n(31236),A=n(29909),P=n(79587),R=A.get,I=A.set,M=O.f,N=T.f,D=Math.round,j=o.RangeError,L=l.ArrayBuffer,B=l.DataView,F=s.NATIVE_ARRAY_BUFFER_VIEWS,U=s.TYPED_ARRAY_CONSTRUCTOR,H=s.TYPED_ARRAY_TAG,V=s.TypedArray,z=s.TypedArrayPrototype,q=s.aTypedArrayConstructor,G=s.isTypedArray,W=function(e,t){for(var n=0,r=t.length,o=new(q(e))(r);r>n;)o[n]=t[n++];return o},Y=function(e,t){M(e,t,{get:function(){return R(this)[t]}})},Z=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},K=function(e,t){return G(e)&&!_(t)&&t in e&&p(+t)&&t>=0},$=function(e,t){return t=g(t),K(e,t)?u(2,e[t]):N(e,t)},Q=function(e,t,n){return t=g(t),!(K(e,t)&&b(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};i?(F||(T.f=$,O.f=Q,Y(z,"buffer"),Y(z,"byteOffset"),Y(z,"byteLength"),Y(z,"length")),r({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:$,defineProperty:Q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,p=o[s],g=p,y=g&&g.prototype,v={},_=function(e,t){M(e,t,{get:function(){return function(e,t){var n=R(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=R(e);n&&(r=(r=D(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};F?a&&(g=t((function(e,t,n,r){return c(e,g,s),P(b(t)?Z(t)?void 0!==r?new p(t,m(n,i),r):void 0!==n?new p(t,m(n,i)):new p(t):G(t)?W(g,t):E.call(g,t):new p(h(t)),e,g)})),C&&C(g,V),x(S(p),(function(e){e in g||d(g,e,p[e])})),g.prototype=y):(g=t((function(e,t,n,r){c(e,g,s);var o,a,l,u=0,d=0;if(b(t)){if(!Z(t))return G(t)?W(g,t):E.call(g,t);o=t,d=m(n,i);var p=t.byteLength;if(void 0===r){if(p%i)throw j("Wrong length");if((a=p-d)<0)throw j("Wrong length")}else if((a=f(r)*i)+d>p)throw j("Wrong length");l=a/i}else l=h(t),o=new L(a=l*i);for(I(e,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new B(o)});u<l;)_(e,u++)})),C&&C(g,V),y=g.prototype=w(z)),y.constructor!==g&&d(y,"constructor",g),d(y,U,g),H&&d(y,H,s),v[s]=g,r({global:!0,forced:g!=p,sham:!F},v),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in y||d(y,"BYTES_PER_ELEMENT",i),k(s)}):e.exports=function(){}},63832:(e,t,n)=>{var r=n(17854),o=n(47293),i=n(17072),a=n(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},43074:(e,t,n)=>{var r=n(97745),o=n(66304);e.exports=function(e,t){return r(o(e),t)}},97321:(e,t,n)=>{var r=n(39483),o=n(47908),i=n(17466),a=n(18554),s=n(71246),l=n(97659),c=n(49974),u=n(90260).aTypedArrayConstructor;e.exports=function(e){var t,n,d,p,f,h,m=r(this),g=o(e),y=arguments.length,v=y>1?arguments[1]:void 0,b=void 0!==v,_=s(g);if(_&&!l(_))for(h=(f=a(g,_)).next,g=[];!(p=h.call(f)).done;)g.push(p.value);for(b&&y>2&&(v=c(v,arguments[2],2)),n=i(g.length),d=new(u(m))(n),t=0;n>t;t++)d[t]=b?v(g[t],t):g[t];return d}},66304:(e,t,n)=>{var r=n(90260),o=n(36707),i=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;e.exports=function(e){return a(o(e,e[i]))}},69711:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},43307:(e,t,n)=>{var r=n(30133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:(e,t,n)=>{var r=n(5112);t.f=r},5112:(e,t,n)=>{var r=n(17854),o=n(72309),i=n(86656),a=n(69711),s=n(30133),l=n(43307),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},81361:e=>{e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},18264:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(13331),a=n(96340),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},92222:(e,t,n)=>{"use strict";var r=n(82109),o=n(47293),i=n(43157),a=n(70111),s=n(47908),l=n(17466),c=n(86135),u=n(65417),d=n(81194),p=n(5112),f=n(7392),h=p("isConcatSpreadable"),m=f>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(d,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(d,p++,i)}return d.length=p,d}})},50545:(e,t,n)=>{var r=n(82109),o=n(1048),i=n(51223);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},43290:(e,t,n)=>{var r=n(82109),o=n(21285),i=n(51223);r({target:"Array",proto:!0},{fill:o}),i("fill")},57327:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).filter;r({target:"Array",proto:!0,forced:!n(81194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},69826:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).find,i=n(51223),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},91038:(e,t,n)=>{var r=n(82109),o=n(48457);r({target:"Array",stat:!0,forced:!n(17072)((function(e){Array.from(e)}))},{from:o})},26699:(e,t,n)=>{"use strict";var r=n(82109),o=n(41318).includes,i=n(51223);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},66992:(e,t,n)=>{"use strict";var r=n(45656),o=n(51223),i=n(97497),a=n(29909),s=n(70654),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},69600:(e,t,n)=>{"use strict";var r=n(82109),o=n(68361),i=n(45656),a=n(9341),s=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},21249:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).map;r({target:"Array",proto:!0,forced:!n(81194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},47042:(e,t,n)=>{"use strict";var r=n(82109),o=n(43157),i=n(4411),a=n(70111),s=n(51400),l=n(17466),c=n(45656),u=n(86135),d=n(5112),p=n(81194)("slice"),f=d("species"),h=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,p=c(this),g=l(p.length),y=s(e,g),v=s(void 0===t?g:t,g);if(o(p)&&(n=p.constructor,(i(n)&&(n===Array||o(n.prototype))||a(n)&&null===(n=n[f]))&&(n=void 0),n===Array||void 0===n))return h.call(p,y,v);for(r=new(void 0===n?Array:n)(m(v-y,0)),d=0;y<v;y++,d++)y in p&&u(r,d,p[y]);return r.length=d,r}})},2707:(e,t,n)=>{"use strict";var r=n(82109),o=n(19662),i=n(47908),a=n(17466),s=n(41340),l=n(47293),c=n(94362),u=n(9341),d=n(68886),p=n(30256),f=n(7392),h=n(98008),m=[],g=m.sort,y=l((function(){m.sort(void 0)})),v=l((function(){m.sort(null)})),b=u("sort"),_=!l((function(){if(f)return f<70;if(!(d&&d>3)){if(p)return!0;if(h)return h<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:y||!v||!b||!_},{sort:function(e){void 0!==e&&o(e);var t=i(this);if(_)return void 0===e?g.call(t):g.call(t,e);var n,r,l=[],u=a(t.length);for(r=0;r<u;r++)r in t&&l.push(t[r]);for(n=(l=c(l,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e))).length,r=0;r<n;)t[r]=l[r++];for(;r<u;)delete t[r++];return t}})},40561:(e,t,n)=>{"use strict";var r=n(82109),o=n(51400),i=n(99958),a=n(17466),s=n(47908),l=n(65417),c=n(86135),u=n(81194)("splice"),d=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,r,u,f,h,m,g=s(this),y=a(g.length),v=o(e,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-v):(n=b-2,r=p(d(i(t),0),y-v)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,r),f=0;f<r;f++)(h=v+f)in g&&c(u,f,g[h]);if(u.length=r,n<r){for(f=v;f<y-r;f++)m=f+n,(h=f+r)in g?g[m]=g[h]:delete g[m];for(f=y;f>y-r+n;f--)delete g[f-1]}else if(n>r)for(f=y-r;f>v;f--)m=f+n-1,(h=f+r-1)in g?g[m]=g[h]:delete g[m];for(f=0;f<n;f++)g[f+v]=arguments[f+2];return g.length=y-r+n,u}})},96078:(e,t,n)=>{var r=n(31320),o=n(38709),i=n(5112)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},68309:(e,t,n)=>{var r=n(19781),o=n(76530).EXISTS,i=n(3070).f,a=Function.prototype,s=a.toString,l=/^\s*function ([^ (]*)/;r&&!o&&i(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(e){return""}}})},35837:(e,t,n)=>{n(82109)({global:!0},{globalThis:n(17854)})},73706:(e,t,n)=>{var r=n(17854);n(58003)(r.JSON,"JSON",!0)},51532:(e,t,n)=>{"use strict";var r=n(77710),o=n(95631);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},10408:(e,t,n)=>{n(58003)(Math,"Math",!0)},9653:(e,t,n)=>{"use strict";var r=n(19781),o=n(17854),i=n(54705),a=n(31320),s=n(86656),l=n(84326),c=n(79587),u=n(52190),d=n(57593),p=n(47293),f=n(70030),h=n(8006).f,m=n(31236).f,g=n(3070).f,y=n(53111).trim,v=o.Number,b=v.prototype,_="Number"==l(f(b)),w=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,i,a,s,l,c=d(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=y(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var C,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?p((function(){b.valueOf.call(n)})):"Number"!=l(n))?c(new v(w(t)),n,S):w(t)},E=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),x=0;E.length>x;x++)s(v,C=E[x])&&!s(S,C)&&g(S,C,m(v,C));S.prototype=b,b.constructor=S,a(o,"Number",S)}},44363:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},56977:(e,t,n)=>{"use strict";var r=n(82109),o=n(99958),i=n(50863),a=n(38415),s=n(47293),l=1..toFixed,c=Math.floor,u=function(e,t,n){return 0===t?n:t%2==1?u(e,t-1,n*e):u(e*e,t/2,n)},d=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=c(o/1e7)},p=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=c(r/t),r=r%t*1e7},f=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(e){var t,n,r,s,l=i(this),c=o(e),h=[0,0,0,0,0,0],m="",g="0";if(c<0||c>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(h,0,n),r=c;r>=7;)d(h,1e7,0),r-=7;for(d(h,u(10,r,1),0),r=t-1;r>=23;)p(h,1<<23),r-=23;p(h,1<<r),d(h,1,1),p(h,2),g=f(h)}else d(h,0,n),d(h,1<<-t,0),g=f(h)+a.call("0",c);return g=c>0?m+((s=g.length)<=c?"0."+a.call("0",c-s)+g:g.slice(0,s-c)+"."+g.slice(s-c)):m+g}})},19601:(e,t,n)=>{var r=n(82109),o=n(21574);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},43371:(e,t,n)=>{var r=n(82109),o=n(76677),i=n(47293),a=n(70111),s=n(62423).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},38880:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(45656),a=n(31236).f,s=n(19781),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},49337:(e,t,n)=>{var r=n(82109),o=n(19781),i=n(53887),a=n(45656),s=n(31236),l=n(86135);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=o(r,t=c[d++]))&&l(u,t,n);return u}})},36210:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(1156).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},30489:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(47908),a=n(79518),s=n(49920);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},47941:(e,t,n)=>{var r=n(82109),o=n(47908),i=n(81956);r({target:"Object",stat:!0,forced:n(47293)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},41539:(e,t,n)=>{var r=n(51694),o=n(31320),i=n(90288);r||o(Object.prototype,"toString",i,{unsafe:!0})},12419:(e,t,n)=>{var r=n(82109),o=n(35005),i=n(39483),a=n(19670),s=n(70111),l=n(70030),c=n(27065),u=n(47293),d=o("Reflect","construct"),p=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),f=!u((function(){d((function(){}))})),h=p||f;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!p)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,u=l(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},74819:(e,t,n)=>{var r=n(82109),o=n(70111),i=n(19670),a=n(45032),s=n(31236),l=n(79518);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,u=arguments.length<3?t:arguments[2];return i(t)===u?t[n]:(r=s.f(t,n))?a(r)?r.value:void 0===r.get?void 0:r.get.call(u):o(c=l(t))?e(c,n,u):void 0}})},24603:(e,t,n)=>{var r=n(19781),o=n(17854),i=n(54705),a=n(79587),s=n(68880),l=n(3070).f,c=n(8006).f,u=n(47850),d=n(41340),p=n(67066),f=n(52999),h=n(31320),m=n(47293),g=n(86656),y=n(29909).enforce,v=n(96340),b=n(5112),_=n(9441),w=n(38173),C=b("match"),S=o.RegExp,E=S.prototype,x=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,O=/a/g,T=new S(k)!==k,A=f.UNSUPPORTED_Y,P=r&&(!T||A||_||w||m((function(){return O[C]=!1,S(k)!=k||S(O)==O||"/a/i"!=S(k,"i")})));if(i("RegExp",P)){for(var R=function(e,t){var n,r,o,i,l,c,f=this instanceof R,h=u(e),m=void 0===t,v=[],b=e;if(!f&&h&&m&&e.constructor===R)return e;if((h||e instanceof R)&&(e=e.source,m&&(t="flags"in b?b.flags:p.call(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,_&&"dotAll"in k&&(r=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,A&&"sticky"in k&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),w&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},s=!1,l=!1,c=0,u="";r<=n;r++){if("\\"===(t=e.charAt(r)))t+=e.charAt(++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:x.test(e.slice(r+1))&&(r+=2,l=!0),o+=t,c++;continue;case">"===t&&l:if(""===u||g(a,u))throw new SyntaxError("Invalid capture group name");a[u]=!0,i.push([u,c]),l=!1,u="";continue}l?u+=t:o+=t}return[o,i]}(e))[0],v=i[1]),l=a(S(e,t),f?this:E,R),(r||o||v.length)&&(c=y(l),r&&(c.dotAll=!0,c.raw=R(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=e.charAt(r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++r);return o}(e),n)),o&&(c.sticky=!0),v.length&&(c.groups=v)),e!==b)try{s(l,"source",""===b?"(?:)":b)}catch(e){}return l},I=function(e){e in R||l(R,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},M=c(S),N=0;M.length>N;)I(M[N++]);E.constructor=R,R.prototype=E,h(o,"RegExp",R)}v("RegExp")},74916:(e,t,n)=>{"use strict";var r=n(82109),o=n(22261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},92087:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(67066),a=n(47293);r&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},39714:(e,t,n)=>{"use strict";var r=n(76530).PROPER,o=n(31320),i=n(19670),a=n(41340),s=n(47293),l=n(67066),c=RegExp.prototype,u=c.toString,d=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),p=r&&"toString"!=u.name;(d||p)&&o(RegExp.prototype,"toString",(function(){var e=i(this),t=a(e.source),n=e.flags;return"/"+t+"/"+a(void 0===n&&e instanceof RegExp&&!("flags"in c)?l.call(e):n)}),{unsafe:!0})},70189:(e,t,n)=>{"use strict";var r=n(77710),o=n(95631);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},27852:(e,t,n)=>{"use strict";var r,o=n(82109),i=n(31236).f,a=n(17466),s=n(41340),l=n(3929),c=n(84488),u=n(84964),d=n(31913),p="".endsWith,f=Math.min,h=u("endsWith");o({target:"String",proto:!0,forced:!!(d||h||(r=i(String.prototype,"endsWith"),!r||r.writable))&&!h},{endsWith:function(e){var t=s(c(this));l(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),i=s(e);return p?p.call(t,i,o):t.slice(o-i.length,o)===i}})},32023:(e,t,n)=>{"use strict";var r=n(82109),o=n(3929),i=n(84488),a=n(41340);r({target:"String",proto:!0,forced:!n(84964)("includes")},{includes:function(e){return!!~a(i(this)).indexOf(a(o(e)),arguments.length>1?arguments[1]:void 0)}})},78783:(e,t,n)=>{"use strict";var r=n(28710).charAt,o=n(41340),i=n(29909),a=n(70654),s=i.set,l=i.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:o(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:(e,t,n)=>{"use strict";var r=n(27007),o=n(19670),i=n(17466),a=n(41340),s=n(84488),l=n(58173),c=n(31530),u=n(97651);r("match",(function(e,t,n){return[function(t){var n=s(this),r=null==t?void 0:l(t,e);return r?r.call(t,n):new RegExp(t)[e](a(n))},function(e){var r=o(this),s=a(e),l=n(t,r,s);if(l.done)return l.value;if(!r.global)return u(r,s);var d=r.unicode;r.lastIndex=0;for(var p,f=[],h=0;null!==(p=u(r,s));){var m=a(p[0]);f[h]=m,""===m&&(r.lastIndex=c(s,i(r.lastIndex),d)),h++}return 0===h?null:f}]}))},15306:(e,t,n)=>{"use strict";var r=n(27007),o=n(47293),i=n(19670),a=n(60614),s=n(99958),l=n(17466),c=n(41340),u=n(84488),d=n(31530),p=n(58173),f=n(10647),h=n(97651),m=n(5112)("replace"),g=Math.max,y=Math.min,v="$0"==="a".replace(/./,"$0"),b=!!/./[m]&&""===/./[m]("a","$0");r("replace",(function(e,t,n){var r=b?"$":"$0";return[function(e,n){var r=u(this),o=null==e?void 0:p(e,m);return o?o.call(e,r,n):t.call(c(r),e,n)},function(e,o){var u=i(this),p=c(e);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var m=n(t,u,p,o);if(m.done)return m.value}var v=a(o);v||(o=c(o));var b=u.global;if(b){var _=u.unicode;u.lastIndex=0}for(var w=[];;){var C=h(u,p);if(null===C)break;if(w.push(C),!b)break;""===c(C[0])&&(u.lastIndex=d(p,l(u.lastIndex),_))}for(var S,E="",x=0,k=0;k<w.length;k++){C=w[k];for(var O=c(C[0]),T=g(y(s(C.index),p.length),0),A=[],P=1;P<C.length;P++)A.push(void 0===(S=C[P])?S:String(S));var R=C.groups;if(v){var I=[O].concat(A,T,p);void 0!==R&&I.push(R);var M=c(o.apply(void 0,I))}else M=f(O,p,T,A,R,o);T>=x&&(E+=p.slice(x,T)+M,x=T+O.length)}return E+p.slice(x)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||b)},23123:(e,t,n)=>{"use strict";var r=n(27007),o=n(47850),i=n(19670),a=n(84488),s=n(36707),l=n(31530),c=n(17466),u=n(41340),d=n(58173),p=n(97651),f=n(22261),h=n(52999),m=n(47293),g=h.UNSUPPORTED_Y,y=[].push,v=Math.min;r("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=u(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,c,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,p+"g");(s=f.call(m,r))&&!((l=m.lastIndex)>h&&(d.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&y.apply(d,s.slice(1)),c=s[0].length,h=l,d.length>=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!c&&m.test("")||d.push(""):d.push(r.slice(h)),d.length>i?d.slice(0,i):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:d(t,e);return i?i.call(t,o,n):r.call(u(o),t,n)},function(e,o){var a=i(this),d=u(e),f=n(r,a,d,o,r!==t);if(f.done)return f.value;var h=s(a,RegExp),m=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(g?"g":"y"),b=new h(g?"^(?:"+a.source+")":a,y),_=void 0===o?4294967295:o>>>0;if(0===_)return[];if(0===d.length)return null===p(b,d)?[d]:[];for(var w=0,C=0,S=[];C<d.length;){b.lastIndex=g?0:C;var E,x=p(b,g?d.slice(C):d);if(null===x||(E=v(c(b.lastIndex+(g?C:0)),d.length))===w)C=l(d,C,m);else{if(S.push(d.slice(w,C)),S.length===_)return S;for(var k=1;k<=x.length-1;k++)if(S.push(x[k]),S.length===_)return S;C=w=E}}return S.push(d.slice(w)),S}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),g)},60086:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("sub")},{sub:function(){return o(this,"sub","","")}})},73210:(e,t,n)=>{"use strict";var r=n(82109),o=n(53111).trim;r({target:"String",proto:!0,forced:n(76091)("trim")},{trim:function(){return o(this)}})},72443:(e,t,n)=>{n(97235)("asyncIterator")},41817:(e,t,n)=>{"use strict";var r=n(82109),o=n(19781),i=n(17854),a=n(86656),s=n(60614),l=n(70111),c=n(3070).f,u=n(99920),d=i.Symbol;if(o&&s(d)&&(!("description"in d.prototype)||void 0!==d().description)){var p={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new d(e):void 0===e?d():d(e);return""===e&&(p[t]=!0),t};u(f,d);var h=f.prototype=d.prototype;h.constructor=f;var m=h.toString,g="Symbol(test)"==String(d("test")),y=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=m.call(e);if(a(p,e))return"";var n=g?t.slice(7,-1):t.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},32165:(e,t,n)=>{n(97235)("iterator")},82526:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(35005),a=n(31913),s=n(19781),l=n(30133),c=n(47293),u=n(86656),d=n(43157),p=n(60614),f=n(70111),h=n(52190),m=n(19670),g=n(47908),y=n(45656),v=n(34948),b=n(41340),_=n(79114),w=n(70030),C=n(81956),S=n(8006),E=n(1156),x=n(25181),k=n(31236),O=n(3070),T=n(55296),A=n(31320),P=n(72309),R=n(6200),I=n(3501),M=n(69711),N=n(5112),D=n(6061),j=n(97235),L=n(58003),B=n(29909),F=n(42092).forEach,U=R("hidden"),H=N("toPrimitive"),V=B.set,z=B.getterFor("Symbol"),q=Object.prototype,G=o.Symbol,W=i("JSON","stringify"),Y=k.f,Z=O.f,K=E.f,$=T.f,Q=P("symbols"),X=P("op-symbols"),J=P("string-to-symbol-registry"),ee=P("symbol-to-string-registry"),te=P("wks"),ne=o.QObject,re=!ne||!ne.prototype||!ne.prototype.findChild,oe=s&&c((function(){return 7!=w(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Y(q,t);r&&delete q[t],Z(e,t,n),r&&e!==q&&Z(q,t,r)}:Z,ie=function(e,t){var n=Q[e]=w(G.prototype);return V(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ae=function(e,t,n){e===q&&ae(X,t,n),m(e);var r=v(t);return m(n),u(Q,r)?(n.enumerable?(u(e,U)&&e[U][r]&&(e[U][r]=!1),n=w(n,{enumerable:_(0,!1)})):(u(e,U)||Z(e,U,_(1,{})),e[U][r]=!0),oe(e,r,n)):Z(e,r,n)},se=function(e,t){m(e);var n=y(t),r=C(n).concat(de(n));return F(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=v(e),n=$.call(this,t);return!(this===q&&u(Q,t)&&!u(X,t))&&(!(n||!u(this,t)||!u(Q,t)||u(this,U)&&this[U][t])||n)},ce=function(e,t){var n=y(e),r=v(t);if(n!==q||!u(Q,r)||u(X,r)){var o=Y(n,r);return!o||!u(Q,r)||u(n,U)&&n[U][r]||(o.enumerable=!0),o}},ue=function(e){var t=K(y(e)),n=[];return F(t,(function(e){u(Q,e)||u(I,e)||n.push(e)})),n},de=function(e){var t=e===q,n=K(t?X:y(e)),r=[];return F(n,(function(e){!u(Q,e)||t&&!u(q,e)||r.push(Q[e])})),r};(l||(A((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,t=M(e),n=function(e){this===q&&n.call(X,e),u(this,U)&&u(this[U],t)&&(this[U][t]=!1),oe(this,t,_(1,e))};return s&&re&&oe(q,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return z(this).tag})),A(G,"withoutSetter",(function(e){return ie(M(e),e)})),T.f=le,O.f=ae,k.f=ce,S.f=E.f=ue,x.f=de,D.f=function(e){return ie(N(e),e)},s&&(Z(G.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||A(q,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),F(C(te),(function(e){j(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=b(e);if(u(J,t))return J[t];var n=G(t);return J[t]=n,ee[n]=t,n},keyFor:function(e){if(!h(e))throw TypeError(e+" is not a symbol");if(u(ee,e))return ee[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?w(e):se(w(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:c((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(g(e))}}),W)&&r({target:"JSON",stat:!0,forced:!l||c((function(){var e=G();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!h(e))return d(t)||(t=function(e,t){if(p(r)&&(t=r.call(this,e,t)),!h(t))return t}),o[1]=t,W.apply(null,o)}});if(!G.prototype[H]){var pe=G.prototype.valueOf;A(G.prototype,H,(function(){return pe.apply(this,arguments)}))}L(G,"Symbol"),I[U]=!0},96649:(e,t,n)=>{n(97235)("toPrimitive")},39341:(e,t,n)=>{n(97235)("toStringTag")},92990:(e,t,n)=>{"use strict";var r=n(90260),o=n(1048),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:(e,t,n)=>{"use strict";var r=n(90260),o=n(21285),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},35035:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).filter,i=n(43074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},32846:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44731:(e,t,n)=>{"use strict";var r=n(90260),o=n(41318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:(e,t,n)=>{"use strict";var r=n(90260),o=n(41318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},65125:(e,t,n)=>{n(19843)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},96319:(e,t,n)=>{"use strict";var r=n(17854),o=n(76530).PROPER,i=n(90260),a=n(66992),s=n(5112)("iterator"),l=r.Uint8Array,c=a.values,u=a.keys,d=a.entries,p=i.aTypedArray,f=i.exportTypedArrayMethod,h=l&&l.prototype[s],m=!!h&&"values"===h.name,g=function(){return c.call(p(this))};f("entries",(function(){return d.call(p(this))})),f("keys",(function(){return u.call(p(this))})),f("values",g,o&&!m),f(s,g,o&&!m)},58867:(e,t,n)=>{"use strict";var r=n(90260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},37789:(e,t,n)=>{"use strict";var r=n(90260),o=n(86583),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},33739:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).map,i=n(66304),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},14483:(e,t,n)=>{"use strict";var r=n(90260),o=n(53671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},29368:(e,t,n)=>{"use strict";var r=n(90260),o=n(53671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},12056:(e,t,n)=>{"use strict";var r=n(90260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},3462:(e,t,n)=>{"use strict";var r=n(90260),o=n(17466),i=n(84590),a=n(47908),s=n(47293),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");for(;c<s;)this[t+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},30678:(e,t,n)=>{"use strict";var r=n(90260),o=n(66304),i=n(47293),a=r.aTypedArray,s=r.exportTypedArrayMethod,l=[].slice;s("slice",(function(e,t){for(var n=l.call(a(this),e,t),r=o(this),i=0,s=n.length,c=new r(s);s>i;)c[i]=n[i++];return c}),i((function(){new Int8Array(1).slice()})))},27462:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:(e,t,n)=>{"use strict";var r=n(90260),o=n(17854),i=n(47293),a=n(19662),s=n(17466),l=n(94362),c=n(68886),u=n(30256),d=n(7392),p=n(98008),f=r.aTypedArray,h=r.exportTypedArrayMethod,m=o.Uint16Array,g=m&&m.prototype.sort,y=!!g&&!i((function(){var e=new m(2);e.sort(null),e.sort({})})),v=!!g&&!i((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(p)return p<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){if(void 0!==e&&a(e),v)return g.call(this,e);f(this);var t,n=s(this.length),r=Array(n);for(t=0;t<n;t++)r[t]=this[t];for(r=l(this,function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e)),t=0;t<n;t++)this[t]=r[t];return this}),!v||y)},55021:(e,t,n)=>{"use strict";var r=n(90260),o=n(17466),i=n(51400),a=n(66304),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},12974:(e,t,n)=>{"use strict";var r=n(17854),o=n(90260),i=n(47293),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},15016:(e,t,n)=>{"use strict";var r=n(90260).exportTypedArrayMethod,o=n(47293),i=n(17854).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},8255:(e,t,n)=>{n(19843)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29135:(e,t,n)=>{n(19843)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},82472:(e,t,n)=>{n(19843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},4129:(e,t,n)=>{"use strict";var r,o=n(17854),i=n(12248),a=n(62423),s=n(77710),l=n(29320),c=n(70111),u=n(29909).enforce,d=n(68536),p=!o.ActiveXObject&&"ActiveXObject"in o,f=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,l);if(d&&p){r=l.getConstructor(h,"WeakMap",!0),a.enable();var g=m.prototype,y=g.delete,v=g.has,b=g.get,_=g.set;i(g,{delete:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.has(e)}return v.call(this,e)},get:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!f(e)){var n=u(this);n.frozen||(n.frozen=new r),v.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},65743:(e,t,n)=>{n(35837)},54747:(e,t,n)=>{var r=n(17854),o=n(48324),i=n(98509),a=n(18533),s=n(68880),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)l(r[c]&&r[c].prototype);l(i)},33948:(e,t,n)=>{var r=n(17854),o=n(48324),i=n(98509),a=n(66992),s=n(68880),l=n(5112),c=l("iterator"),u=l("toStringTag"),d=a.values,p=function(e,t){if(e){if(e[c]!==d)try{s(e,c,d)}catch(t){e[c]=d}if(e[u]||s(e,u,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in o)p(r[f]&&r[f].prototype,f);p(i,"DOMTokenList")},41637:(e,t,n)=>{"use strict";n(66992);var r=n(82109),o=n(35005),i=n(590),a=n(31320),s=n(12248),l=n(58003),c=n(24994),u=n(29909),d=n(25787),p=n(60614),f=n(86656),h=n(49974),m=n(70648),g=n(19670),y=n(70111),v=n(41340),b=n(70030),_=n(79114),w=n(18554),C=n(71246),S=n(5112),E=o("fetch"),x=o("Request"),k=x&&x.prototype,O=o("Headers"),T=S("iterator"),A=u.set,P=u.getterFor("URLSearchParams"),R=u.getterFor("URLSearchParamsIterator"),I=/\+/g,M=Array(4),N=function(e){return M[e-1]||(M[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},D=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(I," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(N(n--),D);return t}},L=/[!'()~]|%20/g,B={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return B[e]},U=function(e){return encodeURIComponent(e).replace(L,F)},H=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:j(r.shift()),value:j(r.join("="))}))},V=function(e){this.entries.length=0,H(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},q=c((function(e,t){A(this,{type:"URLSearchParamsIterator",iterator:w(P(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),G=function(){d(this,G,"URLSearchParams");var e,t,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(A(u,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:V}),void 0!==c)if(y(c))if(e=C(c))for(n=(t=w(c,e)).next;!(r=n.call(t)).done;){if((a=(i=(o=w(g(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:v(a.value),value:v(s.value)})}else for(l in c)f(c,l)&&p.push({key:l,value:v(c[l])});else H(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:v(c))},W=G.prototype;if(s(W,{append:function(e,t){z(arguments.length,2);var n=P(this);n.entries.push({key:v(e),value:v(t)}),n.updateURL()},delete:function(e){z(arguments.length,1);for(var t=P(this),n=t.entries,r=v(e),o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,r=P(this),o=r.entries,i=!1,a=v(e),s=v(t),l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=P(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),a(W,T,W.entries,{name:"entries"}),a(W,"toString",(function(){for(var e,t=P(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(U(e.key)+"="+U(e.value));return n.join("&")}),{enumerable:!0}),l(G,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:G}),!i&&p(O)){var Y=function(e){if(y(e)){var t,n=e.body;if("URLSearchParams"===m(n))return(t=e.headers?new O(e.headers):new O).has("content-type")||t.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),b(e,{body:_(0,String(n)),headers:_(0,t)})}return e};if(p(E)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(e,arguments.length>1?Y(arguments[1]):{})}}),p(x)){var Z=function(e){return d(this,Z,"Request"),new x(e,arguments.length>1?Y(arguments[1]):{})};k.constructor=Z,Z.prototype=k,r({global:!0,forced:!0},{Request:Z})}}e.exports={URLSearchParams:G,getState:P}},60285:(e,t,n)=>{"use strict";n(78783);var r,o=n(82109),i=n(19781),a=n(590),s=n(17854),l=n(36048),c=n(31320),u=n(25787),d=n(86656),p=n(21574),f=n(48457),h=n(28710).codeAt,m=n(33197),g=n(41340),y=n(58003),v=n(41637),b=n(29909),_=s.URL,w=v.URLSearchParams,C=v.getState,S=b.set,E=b.getterFor("URL"),x=Math.floor,k=Math.pow,O=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,A=/\d/,P=/^0x/i,R=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:<>?@[\\\]^|]/,D=/[\0\t\n\r #/:<>?@[\\\]^|]/,j=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,L=/[\t\n\r]/g,B=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Z(e)){if(t=m(t),N.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(D.test(t))return"Invalid host";for(n="",r=f(t),o=0;o<r.length;o++)n+=W(r[o],V);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=P.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?R:M).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,p=function(){return e.charAt(d)};if(":"==p()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;d++}if(!A.test(p()))return;for(;A.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},H=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},V={},z=p({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},z,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(Y,e.scheme)},K=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&O.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te={},ne={},re={},oe={},ie={},ae={},se={},le={},ce={},ue={},de={},pe={},fe={},he={},me={},ge={},ye={},ve={},be={},_e={},we={},Ce=function(e,t,n,o){var i,a,s,l,c,u=n||te,p=0,h="",m=!1,g=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace(L,""),i=f(t);p<=i.length;){switch(a=i[p],u){case te:if(!a||!O.test(a)){if(n)return"Invalid scheme";u=re;continue}h+=a.toLowerCase(),u=ne;break;case ne:if(a&&(T.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",u=re,p=0;continue}if(n&&(Z(e)!=d(Y,h)||"file"==h&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Z(e)&&Y[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=he:Z(e)&&o&&o.scheme==e.scheme?u=oe:Z(e)?u=le:"/"==i[p+1]?(u=ie,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=be)}break;case re:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=we;break}u="file"==o.scheme?he:ae;continue;case oe:if("/"!=a||"/"!=i[p+1]){u=ae;continue}u=ce,p++;break;case ie:if("/"==a){u=ue;break}u=ve;continue;case ae:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Z(e))u=se;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=_e;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=ve;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=we}break;case se:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=ve;continue}u=ue}else u=ce;break;case le:if(u=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){u=ue;continue}break;case ue:if("@"==a){m&&(h="%40"+h),m=!0,s=f(h);for(var v=0;v<s.length;v++){var b=s[v];if(":"!=b||y){var _=W(b,G);y?e.password+=_:e.username+=_}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",u=de}else h+=a;break;case de:case pe:if(n&&"file"==e.scheme){u=ge;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(Z(e)&&""==h)return"Invalid host";if(n&&""==h&&(K(e)||null!==e.port))return;if(l=B(e,h))return l;if(h="",u=ye,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(l=B(e,h))return l;if(h="",u=fe,n==pe)return}break;case fe:if(!A.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=Z(e)&&w===Y[e.scheme]?null:w,h=""}if(n)return;u=ye;continue}return"Invalid port"}h+=a;break;case he:if(e.scheme="file","/"==a||"\\"==a)u=me;else{if(!o||"file"!=o.scheme){u=ve;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=_e;else{if("#"!=a){X(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),u=ve;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=we}}break;case me:if("/"==a||"\\"==a){u=ge;break}o&&"file"==o.scheme&&!X(i.slice(p).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=ve;continue;case ge:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(h))u=ve;else if(""==h){if(e.host="",n)return;u=ye}else{if(l=B(e,h))return l;if("localhost"==e.host&&(e.host=""),n)return;h="",u=ye}continue}h+=a;break;case ye:if(Z(e)){if(u=ve,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=ve,"/"!=a))continue}else e.fragment="",u=we;else e.query="",u=_e;break;case ve:if(a==r||"/"==a||"\\"==a&&Z(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ee(h)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=_e):"#"==a&&(e.fragment="",u=we)}else h+=W(a,q);break;case be:"?"==a?(e.query="",u=_e):"#"==a?(e.fragment="",u=we):a!=r&&(e.path[0]+=W(a,V));break;case _e:n||"#"!=a?a!=r&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":W(a,V)):(e.fragment="",u=we);break;case we:a!=r&&(e.fragment+=W(a,z))}p++}},Se=function(e){var t,n,r=u(this,Se,"URL"),o=arguments.length>1?arguments[1]:void 0,a=g(e),s=S(r,{type:"URL"});if(void 0!==o)if(o instanceof Se)t=E(o);else if(n=Ce(t={},g(o)))throw TypeError(n);if(n=Ce(s,a,null,t))throw TypeError(n);var l=s.searchParams=new w,c=C(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=xe.call(r),r.origin=ke.call(r),r.protocol=Oe.call(r),r.username=Te.call(r),r.password=Ae.call(r),r.host=Pe.call(r),r.hostname=Re.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=De.call(r),r.hash=je.call(r))},Ee=Se.prototype,xe=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",K(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},ke=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Se(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Oe=function(){return E(this).scheme+":"},Te=function(){return E(this).username},Ae=function(){return E(this).password},Pe=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Re=function(){var e=E(this).host;return null===e?"":H(e)},Ie=function(){var e=E(this).port;return null===e?"":String(e)},Me=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},je=function(){var e=E(this).fragment;return e?"#"+e:""},Le=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ee,{href:Le(xe,(function(e){var t=E(this),n=g(e),r=Ce(t,n);if(r)throw TypeError(r);C(t.searchParams).updateSearchParams(t.query)})),origin:Le(ke),protocol:Le(Oe,(function(e){var t=E(this);Ce(t,g(e)+":",te)})),username:Le(Te,(function(e){var t=E(this),n=f(g(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=W(n[r],G)}})),password:Le(Ae,(function(e){var t=E(this),n=f(g(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=W(n[r],G)}})),host:Le(Pe,(function(e){var t=E(this);t.cannotBeABaseURL||Ce(t,g(e),de)})),hostname:Le(Re,(function(e){var t=E(this);t.cannotBeABaseURL||Ce(t,g(e),pe)})),port:Le(Ie,(function(e){var t=E(this);$(t)||(""==(e=g(e))?t.port=null:Ce(t,e,fe))})),pathname:Le(Me,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Ce(t,g(e),ye))})),search:Le(Ne,(function(e){var t=E(this);""==(e=g(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,_e)),C(t.searchParams).updateSearchParams(t.query)})),searchParams:Le(De),hash:Le(je,(function(e){var t=E(this);""!=(e=g(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,we)):t.fragment=null}))}),c(Ee,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),c(Ee,"toString",(function(){return xe.call(this)}),{enumerable:!0}),_){var Be=_.createObjectURL,Fe=_.revokeObjectURL;Be&&c(Se,"createObjectURL",(function(e){return Be.apply(_,arguments)})),Fe&&c(Se,"revokeObjectURL",(function(e){return Fe.apply(_,arguments)}))}y(Se,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Se})},83753:(e,t,n)=>{"use strict";n(82109)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},22032:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M8 4l4 4-4 4V4zM4 .889C4 .398 4.448 0 5 0s1 .398 1 .889V15.11c0 .491-.448.889-1 .889s-1-.398-1-.889V.89z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},44859:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic_stroke" d="M9.9094 12.3334H9.75603L9.61808 12.4004C8.82771 12.7844 7.93998 13 6.99998 13C3.68627 13 0.99998 10.3137 0.99998 7.00004C0.99998 3.68633 3.68627 1.00004 6.99998 1.00004C10.3137 1.00004 13 3.68633 13 7.00004C13 7.94004 12.7843 8.82777 12.4003 9.61815L12.3333 9.75609V9.90946V12.3334H9.9094Z" stroke-width="1.33333"/>'};var r=n(5813);e.exports=r(e.exports)},30245:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M4 8h8l-4 4-4-4zM.889 6C.398 6 0 5.552 0 5s.398-1 .889-1H15.11c.491 0 .889.448.889 1s-.398 1-.889 1H.89z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},86766:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.66683 6.99998C1.66683 4.05446 4.05464 1.66665 7.00016 1.66665C9.94568 1.66665 12.3335 4.05446 12.3335 6.99998C12.3335 9.9455 9.94568 12.3333 7.00016 12.3333C4.05464 12.3333 1.66683 9.9455 1.66683 6.99998ZM7.00016 0.333313C3.31826 0.333313 0.333496 3.31808 0.333496 6.99998C0.333496 10.6819 3.31826 13.6666 7.00016 13.6666C10.6821 13.6666 13.6668 10.6819 13.6668 6.99998C13.6668 3.31808 10.6821 0.333313 7.00016 0.333313ZM10.5123 5.42677C10.748 5.14392 10.7098 4.72354 10.427 4.48783C10.1441 4.25212 9.72372 4.29034 9.48802 4.57319L6.55081 8.09784L4.72099 6.79083C4.42138 6.57682 4.00501 6.64622 3.79101 6.94583C3.577 7.24543 3.6464 7.6618 3.946 7.87581L6.78285 9.90212L10.5123 5.42677Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},44461:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M12.3335 7.00001C12.3335 4.05449 9.94568 1.66668 7.00016 1.66668C4.05464 1.66668 1.66683 4.05449 1.66683 7.00001C1.66683 9.94553 4.05464 12.3333 7.00016 12.3333C9.94568 12.3333 12.3335 9.94553 12.3335 7.00001ZM13.6668 7.00001C13.6668 10.6819 10.6821 13.6667 7.00016 13.6667C3.31826 13.6667 0.333496 10.6819 0.333496 7.00001C0.333496 3.31811 3.31826 0.333344 7.00016 0.333344C10.6821 0.333344 13.6668 3.31811 13.6668 7.00001ZM5.99844 4.73459C5.7869 4.97257 5.66683 5.30872 5.66683 5.66668C5.66683 6.03487 5.36835 6.33334 5.00016 6.33334C4.63197 6.33334 4.3335 6.03487 4.3335 5.66668C4.3335 5.02463 4.54676 4.36079 5.00189 3.84877C5.46793 3.32448 6.15259 3.00001 7.00016 3.00001C7.74335 3.00001 8.41196 3.19655 8.906 3.61763C9.41141 4.0484 9.66683 4.65811 9.66683 5.33334C9.66683 5.76319 9.57758 6.17871 9.34926 6.57034C9.12475 6.95544 8.79108 7.27397 8.36996 7.55471C7.89842 7.86907 7.74592 8.05285 7.69682 8.13467C7.67159 8.17672 7.66683 8.18467 7.66683 8.33334C7.66683 8.70153 7.36835 9.00001 7.00016 9.00001C6.63197 9.00001 6.3335 8.70153 6.3335 8.33334L6.33349 8.32243C6.3334 8.13632 6.33325 7.81577 6.5535 7.44868C6.7544 7.11384 7.10191 6.79761 7.63036 6.44531C7.93768 6.24043 8.10401 6.05896 8.19739 5.8988C8.28696 5.74516 8.3335 5.57017 8.3335 5.33334C8.3335 5.00858 8.2201 4.78495 8.0411 4.63239C7.85073 4.47014 7.51934 4.33334 7.00016 4.33334C6.5144 4.33334 6.19907 4.50888 5.99844 4.73459ZM7.66683 10.3333C7.66683 10.7015 7.36835 11 7.00016 11C6.63197 11 6.3335 10.7015 6.3335 10.3333C6.3335 9.96515 6.63197 9.66668 7.00016 9.66668C7.36835 9.66668 7.66683 9.96515 7.66683 10.3333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},60251:(e,t,n)=>{e.exports={attributes:{width:"10",height:"13",viewBox:"0 0 10 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333984 1.24984C0.333984 0.927673 0.595152 0.666504 0.917318 0.666504C0.917839 0.666504 0.91836 0.666505 0.918881 0.666506L3.25065 0.666504C3.98774 0.666504 4.55348 1.04063 4.9667 1.3139L5.01555 1.34617C5.4755 1.64945 5.7833 1.83317 6.16732 1.83317C6.602 1.83317 7.22352 1.6008 7.80228 1.31142C8.0773 1.17391 8.3191 1.03578 8.4922 0.931926C8.57848 0.880156 8.64703 0.837302 8.69333 0.807833C8.71647 0.793109 8.73401 0.781755 8.74539 0.774335L8.75775 0.766235L8.76054 0.764392C8.93952 0.645138 9.16961 0.634042 9.35924 0.735529C9.54891 0.83704 9.66732 1.03471 9.66732 1.24984V6.49984C9.66732 6.69488 9.56984 6.87701 9.40756 6.9852L9.08399 6.49984C9.40756 6.9852 9.40765 6.98514 9.40756 6.9852L9.4051 6.98683L9.40011 6.99014L9.3827 7.00155C9.36788 7.01122 9.34668 7.02493 9.31969 7.04211C9.26574 7.07644 9.18845 7.12473 9.09244 7.18233C8.90095 7.29723 8.63234 7.45076 8.32403 7.60492C7.73612 7.89887 6.8993 8.24984 6.16732 8.24984C5.4082 8.24984 4.81694 7.87335 4.38107 7.59581L4.34897 7.57538C3.86321 7.2664 3.55209 7.08317 3.18583 7.08317H1.50065V11.7498C1.50065 12.072 1.23948 12.3332 0.917318 12.3332C0.595152 12.3332 0.333984 12.072 0.333984 11.7498V1.24984Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},79058:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6.05558 1.55357C6.36687 0.658012 7.6334 0.658002 7.9447 1.55357L9.04496 4.71887L12.3953 4.78714C13.3433 4.80646 13.7346 6.011 12.9791 6.58381L10.3087 8.60835L11.2791 11.8158C11.5537 12.7233 10.529 13.4678 9.75078 12.9262L7.00014 11.0122L4.24949 12.9262C3.47126 13.4678 2.4466 12.7234 2.72116 11.8158L3.69155 8.60835L1.02117 6.58381C0.265637 6.01101 0.657009 4.80646 1.60494 4.78714L4.95532 4.71887L6.05558 1.55357ZM7.00014 2.89714L6.13858 5.37574C6.00125 5.77081 5.63256 6.03868 5.21439 6.0472L2.59086 6.10066L4.68191 7.68599C5.01521 7.93867 5.15604 8.3721 5.03492 8.77244L4.27506 11.2841L6.42896 9.78526C6.77227 9.54636 7.228 9.54636 7.57132 9.78526L9.72522 11.2841L8.96535 8.77244C8.84424 8.3721 8.98507 7.93867 9.31836 7.68599L11.4094 6.10066L8.78589 6.0472C8.36772 6.03868 7.99903 5.77081 7.8617 5.37574L7.00014 2.89714Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},10812:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 0.666667C0 0.298477 0.298477 0 0.666667 0H11.3333C11.7015 0 12 0.298477 12 0.666667C12 1.03486 11.7015 1.33333 11.3333 1.33333H0.666667C0.298477 1.33333 0 1.03486 0 0.666667ZM0 3.33333C0 2.96514 0.298477 2.66667 0.666667 2.66667H7.33333C7.70152 2.66667 8 2.96514 8 3.33333C8 3.70152 7.70152 4 7.33333 4H0.666667C0.298477 4 0 3.70152 0 3.33333ZM0.666667 5.33333C0.298477 5.33333 0 5.63181 0 6C0 6.36819 0.298477 6.66667 0.666667 6.66667H11.3333C11.7015 6.66667 12 6.36819 12 6C12 5.63181 11.7015 5.33333 11.3333 5.33333H0.666667ZM0 8.66667C0 8.29848 0.298477 8 0.666667 8H7.33333C7.70152 8 8 8.29848 8 8.66667C8 9.03486 7.70152 9.33333 7.33333 9.33333H0.666667C0.298477 9.33333 0 9.03486 0 8.66667ZM0.666667 10.6667C0.298477 10.6667 0 10.9651 0 11.3333C0 11.7015 0.298477 12 0.666667 12H11.3333C11.7015 12 12 11.7015 12 11.3333C12 10.9651 11.7015 10.6667 11.3333 10.6667H0.666667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},67906:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333496 0.99998C0.333496 0.63179 0.631973 0.333313 1.00016 0.333313H13.0002C13.3684 0.333313 13.6668 0.63179 13.6668 0.99998C13.6668 1.36817 13.3684 1.66665 13.0002 1.66665H1.00016C0.631973 1.66665 0.333496 1.36817 0.333496 0.99998ZM0.333496 4.99998C0.333496 4.63179 0.631973 4.33331 1.00016 4.33331H13.0002C13.3684 4.33331 13.6668 4.63179 13.6668 4.99998C13.6668 5.36817 13.3684 5.66665 13.0002 5.66665H1.00016C0.631973 5.66665 0.333496 5.36817 0.333496 4.99998ZM1.00016 8.33331C0.631973 8.33331 0.333496 8.63179 0.333496 8.99998C0.333496 9.36817 0.631973 9.66665 1.00016 9.66665H13.0002C13.3684 9.66665 13.6668 9.36817 13.6668 8.99998C13.6668 8.63179 13.3684 8.33331 13.0002 8.33331H1.00016Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},89959:(e,t,n)=>{e.exports={attributes:{width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M3.66651 0.666687C3.96417 0.666687 4.22576 0.864005 4.30753 1.15021L6.9742 10.4835C7.07535 10.8376 6.87035 11.2066 6.51633 11.3077C6.1623 11.4089 5.79331 11.2039 5.69216 10.8498L5.06744 8.6633C5.04521 8.66554 5.02266 8.66669 4.99985 8.66669H2.33318C2.31036 8.66669 2.28781 8.66554 2.26559 8.6633L1.64086 10.8498C1.53971 11.2039 1.17072 11.4089 0.816699 11.3077C0.462675 11.2066 0.257681 10.8376 0.35883 10.4835L3.0255 1.15021C3.10727 0.864005 3.36886 0.666687 3.66651 0.666687ZM2.64557 7.33335H4.68745L3.66651 3.76006L2.64557 7.33335ZM8.33318 1.33335C8.33318 0.965164 8.63166 0.666687 8.99985 0.666687H12.9998C13.2239 0.666687 13.433 0.779276 13.5564 0.96636C13.6798 1.15344 13.7009 1.38999 13.6126 1.59597L10.0109 10H12.9998C13.368 10 13.6665 10.2985 13.6665 10.6667C13.6665 11.0349 13.368 11.3334 12.9998 11.3334H8.99985C8.77575 11.3334 8.56665 11.2208 8.44329 11.0337C8.31992 10.8466 8.29881 10.61 8.38708 10.4041L11.9888 2.00002H8.99985C8.63166 2.00002 8.33318 1.70154 8.33318 1.33335ZM6.99985 6.00002C6.99985 5.63183 7.29832 5.33335 7.66651 5.33335H8.33318C8.70137 5.33335 8.99985 5.63183 8.99985 6.00002C8.99985 6.36821 8.70137 6.66669 8.33318 6.66669H7.66651C7.29832 6.66669 6.99985 6.36821 6.99985 6.00002Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},65216:(e,t,n)=>{e.exports={attributes:{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.195287 0.195262C0.455636 -0.0650874 0.877746 -0.0650874 1.1381 0.195262L2.46574 1.52291C2.51433 1.57023 2.55433 1.62356 2.58549 1.68078C2.6819 1.85741 2.69246 2.06845 2.61717 2.25261C2.59251 2.31292 2.55865 2.37035 2.51558 2.42275L1.18727 4.08313C0.957264 4.37064 0.537736 4.41725 0.250228 4.18725C-0.0372801 3.95724 -0.0838944 3.53771 0.146112 3.2502L1.10669 2.04948L0.195287 1.13807C-0.0650629 0.877722 -0.0650629 0.455612 0.195287 0.195262ZM4.00002 2C4.00002 1.63181 4.2985 1.33333 4.66669 1.33333H11.3334C11.7015 1.33333 12 1.63181 12 2C12 2.36819 11.7015 2.66667 11.3334 2.66667H4.66669C4.2985 2.66667 4.00002 2.36819 4.00002 2ZM4.00002 6C4.00002 5.63181 4.2985 5.33333 4.66669 5.33333H11.3334C11.7015 5.33333 12 5.63181 12 6C12 6.36819 11.7015 6.66667 11.3334 6.66667H4.66669C4.2985 6.66667 4.00002 6.36819 4.00002 6ZM4.66669 9.33333C4.2985 9.33333 4.00002 9.63181 4.00002 10C4.00002 10.3682 4.2985 10.6667 4.66669 10.6667H11.3334C11.7015 10.6667 12 10.3682 12 10C12 9.63181 11.7015 9.33333 11.3334 9.33333H4.66669Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},88098:(e,t,n)=>{e.exports={attributes:{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.49633 0.250001C5.29741 0.250001 5.09758 0.286163 4.90966 0.358065L0.815374 1.91133C0.584833 1.99879 0.590791 2.29313 0.820874 2.38059L4.93762 3.87667C5.29828 4.0108 5.70171 4.0108 6.06237 3.87667L10.1791 2.38059C10.4097 2.29818 10.4097 1.99879 10.1846 1.91133L6.07933 0.358065C5.89487 0.28651 5.6966 0.249758 5.49633 0.250001ZM10.725 2.81074C10.6901 2.81095 10.6555 2.81738 10.6232 2.82967L6.03441 4.45988C5.98307 4.47917 5.93912 4.51201 5.90812 4.55422C5.87712 4.59643 5.86046 4.64613 5.86025 4.69703V8.43765C5.86068 8.4786 5.87197 8.51884 5.89315 8.55489C5.91432 8.59095 5.94475 8.62173 5.98179 8.64458C6.01884 8.66743 6.06139 8.68166 6.10577 8.68605C6.15016 8.69043 6.19504 8.68484 6.23654 8.66976L10.8258 7.03408C10.8773 7.01655 10.9216 6.9849 10.9528 6.94345C10.9839 6.902 11.0004 6.85275 11 6.80239V3.06177C10.9995 2.99515 10.9703 2.93141 10.9188 2.88446C10.8673 2.83751 10.7976 2.81116 10.725 2.81116V2.81074ZM0.309833 2.82714C0.269139 2.82582 0.228587 2.83223 0.190726 2.84598C0.152864 2.85973 0.118514 2.88052 0.0898333 2.90703C0.0394166 2.95371 0 3.01005 0 3.07733V6.59047C0 6.77632 0.236042 6.90036 0.416166 6.81753L3.28991 5.55356L3.43062 5.49175L4.79141 4.88793C5.005 4.79543 4.9885 4.50613 4.76345 4.42876L0.404708 2.84522C0.374619 2.83368 0.34244 2.8274 0.309833 2.82672V2.82714Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},32577:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill="#F24242" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM7 10h2v2H7v-2zm0-6h2v5H7V4z"/>         <path d="M0 0h16v16H0z" opacity=".486"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},87163:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm3 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1zm-2 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm2 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1zm-2 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},36842:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm-1 5a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},35596:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm-1 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},4802:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm6 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm-5 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm5 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm-5 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},19379:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M4 7h8l-4 4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61177:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#AEB7B8" d="M10 4v8L6 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61093:(e,t,n)=>{e.exports={attributes:{width:"5",height:"6",viewBox:"0 0 5 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M0 4.82578V1.17422C0 0.319867 1.00212 -0.141041 1.65079 0.414964L3.78087 2.24074C4.24648 2.63984 4.24648 3.36016 3.78087 3.75926L1.65079 5.58504C1.00212 6.14104 0 5.68013 0 4.82578Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},83675:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#AEB7B8" d="M6 4v8l4-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},4817:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M18.662 2.059l-4.611 1.536A3 3 0 0 0 12 6.442v8.35c-.849-.507-1.894-.792-3-.792-1.3 0-2.515.394-3.428 1.079C4.658 15.764 4 16.786 4 18c0 1.214.658 2.236 1.572 2.921C6.485 21.606 7.7 22 9 22c1.3 0 2.515-.394 3.428-1.079C13.342 20.236 14 19.214 14 18v-7.279l3.949-1.316A3 3 0 0 0 20 6.559V3.023a.979.979 0 0 0-.126-.509.992.992 0 0 0-1.212-.455zM14 8.613l3.316-1.106A.999.999 0 0 0 18 6.559V4.387l-3.316 1.106a1 1 0 0 0-.684.949v2.171zm-2.772 8.066c.535.401.772.878.772 1.321 0 .443-.237.921-.772 1.321C10.694 19.722 9.909 20 9 20c-.909 0-1.694-.278-2.228-.679C6.237 18.921 6 18.443 6 18c0-.443.237-.92.772-1.321C7.306 16.278 8.091 16 9 16c.909 0 1.694.278 2.228.679z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},69710:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" d="M8.0002 2.66665C7.26382 2.66665 6.66687 3.2636 6.66687 3.99998V6.66665C6.66687 7.40303 7.26382 7.99998 8.0002 7.99998C8.73658 7.99998 9.33354 7.40303 9.33354 6.66665V3.99998C9.33354 3.2636 8.73658 2.66665 8.0002 2.66665ZM5.33354 3.99998C5.33354 2.52722 6.52744 1.33331 8.0002 1.33331C9.47296 1.33331 10.6669 2.52722 10.6669 3.99998V6.66665C10.6669 8.13941 9.47296 9.33331 8.0002 9.33331C6.52744 9.33331 5.33354 8.13941 5.33354 6.66665V3.99998ZM4.0002 5.99998C4.0002 5.63179 3.70173 5.33331 3.33354 5.33331C2.96535 5.33331 2.66687 5.63179 2.66687 5.99998V6.66665C2.66687 9.38682 4.70331 11.6314 7.33479 11.9589C7.33396 11.9725 7.33354 11.9862 7.33354 12V13.3333H6.66687C6.29868 13.3333 6.0002 13.6318 6.0002 14C6.0002 14.3682 6.29868 14.6666 6.66687 14.6666H9.33354C9.70173 14.6666 10.0002 14.3682 10.0002 14C10.0002 13.6318 9.70173 13.3333 9.33354 13.3333H8.66687V12C8.66687 11.9862 8.66645 11.9725 8.66562 11.9589C11.2971 11.6314 13.3335 9.38682 13.3335 6.66665V5.99998C13.3335 5.63179 13.0351 5.33331 12.6669 5.33331C12.2987 5.33331 12.0002 5.63179 12.0002 5.99998V6.66665C12.0002 8.87579 10.2093 10.6666 8.0002 10.6666C5.79106 10.6666 4.0002 8.87579 4.0002 6.66665V5.99998Z" fill="#5C6061" />     </g>'};var r=n(5813);e.exports=r(e.exports)},86306:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.193851 6.46999C0.19432 6.47046 0.194791 6.47093 0.195262 6.4714C0.195376 6.47152 0.19549 6.47163 0.195605 6.47175L5.5286 11.8047C5.78895 12.0651 6.21106 12.0651 6.4714 11.8047C6.73175 11.5444 6.73175 11.1223 6.4714 10.8619L2.27614 6.66667H11.3333C11.7015 6.66667 12 6.36819 12 6C12 5.63181 11.7015 5.33333 11.3333 5.33333H2.27614L6.4714 1.13807C6.73175 0.877722 6.73175 0.455612 6.4714 0.195262C6.21106 -0.0650875 5.78895 -0.0650875 5.5286 0.195262L0.195262 5.5286L0.193851 5.53001C0.0740375 5.65054 0 5.81662 0 6C0 6.09039 0.0179904 6.17659 0.0505859 6.25519C0.052061 6.25875 0.0535685 6.26231 0.0551082 6.26585C0.0872743 6.3399 0.133522 6.4093 0.193851 6.46999Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},11803:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path fill="currentColor" fill-rule="evenodd" d="M7.333 3.333a.667.667 0 1 1 1.334 0c0 .167.061.32.163.437l.009.01.035.042.132.16c.113.136.268.329.438.551.348.454.735.998.964 1.44.253.488.488 1.186.665 1.792a21.283 21.283 0 0 1 .273 1.03l.002.01a.663.663 0 0 0 .18.333l1 1 .53.529H2.942l.528-.529 1-1a.663.663 0 0 0 .181-.332l.002-.01a9.955 9.955 0 0 1 .069-.28c.048-.19.117-.455.204-.751.177-.606.412-1.304.665-1.791.23-.443.616-.987.964-1.441a21.281 21.281 0 0 1 .57-.71l.035-.042.009-.01V3.77a.664.664 0 0 0 .163-.437zm5.272 4.996l.866.866.529.529c.84.84.245 2.276-.943 2.276h-2.39a2.667 2.667 0 0 1-5.334 0h-2.39C1.755 12 1.16 10.564 2 9.724l.529-.529.866-.866.035-.14c.05-.202.125-.482.217-.798.181-.62.446-1.422.761-2.031.286-.552.733-1.174 1.09-1.639.181-.236.346-.44.466-.586l.053-.065a2 2 0 0 1 3.966 0l.053.065c.12.145.285.35.466.586.357.465.804 1.087 1.09 1.639.315.609.58 1.41.761 2.031a22.717 22.717 0 0 1 .252.938zM8 13.333A1.333 1.333 0 0 1 6.667 12h2.666c0 .736-.597 1.333-1.333 1.333z"/>'};var r=n(5813);e.exports=r(e.exports)},38096:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M7.33337 2.66663C6.59699 2.66663 6.00004 3.26358 6.00004 3.99996V12C6.00004 12.7363 6.59699 13.3333 7.33337 13.3333H8.66671C9.40309 13.3333 10 12.7363 10 12V3.99996C10 3.26358 9.40309 2.66663 8.66671 2.66663H7.33337ZM7.33337 3.99996L8.66671 3.99996V12H7.33337V3.99996Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.33337 4.66663C1.33337 3.93025 1.93033 3.33329 2.66671 3.33329H4.00004C4.73642 3.33329 5.33337 3.93025 5.33337 4.66663V11.3333C5.33337 12.0697 4.73642 12.6666 4.00004 12.6666H2.66671C1.93033 12.6666 1.33337 12.0697 1.33337 11.3333V4.66663ZM4.00004 4.66663L2.66671 4.66663V11.3333H4.00004V4.66663Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M10.6667 4.66663C10.6667 3.93025 11.2637 3.33329 12 3.33329H13.3334C14.0698 3.33329 14.6667 3.93025 14.6667 4.66663V11.3333C14.6667 12.0697 14.0698 12.6666 13.3334 12.6666H12C11.2637 12.6666 10.6667 12.0697 10.6667 11.3333V4.66663ZM13.3334 4.66663L12 4.66663V11.3333H13.3334V4.66663Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},69425:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 2.5H4.5v19H14a5.5 5.5 0 0 0 2.532-10.384A5.5 5.5 0 0 0 12 2.5H6zm6 8a2.5 2.5 0 1 0 0-5H7.5v5H12zm-4.5 3v5H14a2.5 2.5 0 1 0 0-5H7.5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},22793:(e,t,n)=>{e.exports={attributes:{width:"22",height:"28",viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.33337 0.666504C2.12404 0.666504 0.333374 2.45717 0.333374 4.6665V25.9998C0.333374 26.3345 0.457374 26.6412 0.661374 26.8758C0.714707 26.9372 0.774707 26.9945 0.840041 27.0465C1.05071 27.2118 1.31071 27.3158 1.59604 27.3318C1.63204 27.3332 1.66937 27.3332 1.70537 27.3332C2.02404 27.3238 2.31471 27.2025 2.54004 27.0078L11 19.7558L19.46 27.0078C19.6854 27.2025 19.976 27.3238 20.2947 27.3332C20.3307 27.3332 20.368 27.3332 20.404 27.3318C20.6894 27.3158 20.9494 27.2118 21.16 27.0465C21.468 26.8025 21.6667 26.4238 21.6667 25.9998V4.6665C21.6667 2.45717 19.876 0.666504 17.6667 0.666504H4.33337ZM3.00004 4.6665C3.00004 3.9305 3.59737 3.33317 4.33337 3.33317H17.6667C18.4027 3.33317 19 3.9305 19 4.6665V23.1012L11.8734 16.9918C11.64 16.7892 11.3347 16.6665 11 16.6665C10.6654 16.6665 10.36 16.7892 10.1267 16.9918L3.00004 23.1012V4.6665Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},60681:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333344 3.66665C0.333344 1.8257 1.82573 0.333313 3.66668 0.333313H10.3333C12.1743 0.333313 13.6667 1.8257 13.6667 3.66665V6.33335C13.6667 8.1743 12.1743 9.66668 10.3333 9.66668H3.66668C1.82573 9.66668 0.333344 8.1743 0.333344 6.33335V3.66665ZM1.71514 4.10621C1.72692 4.15875 1.74077 4.2105 1.75659 4.26139C2.00982 5.07552 2.76921 5.66665 3.66668 5.66665H10.3333C11.2871 5.66665 12.085 4.99897 12.285 4.10551C12.3167 3.96428 12.3333 3.81741 12.3333 3.66665C12.3333 2.56208 11.4379 1.66665 10.3333 1.66665H3.66668C2.56211 1.66665 1.66668 2.56208 1.66668 3.66665C1.66668 3.81766 1.68341 3.96477 1.71514 4.10621Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},74985:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="currentColor" d="M5.333 2c.368 0 .667.298.667.667v.666h4v-.666a.667.667 0 0 1 1.333 0v.666H12a2 2 0 0 1 2 2V12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5.333a2 2 0 0 1 2-2h.667v-.666c0-.369.298-.667.666-.667zM10 4.667v.666a.667.667 0 0 0 1.333 0v-.666H12c.368 0 .667.298.667.666v1.334H3.333V5.333c0-.368.299-.666.667-.666h.667v.666a.667.667 0 0 0 1.333 0v-.666h4zM3.333 8v4c0 .368.299.667.667.667h8a.667.667 0 0 0 .667-.667V8H3.333z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},31887:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#00A1B7"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 23C32.5 27.9706 28.4706 32 23.5 32C18.5294 32 14.5 27.9706 14.5 23C14.5 18.0294 18.5294 14 23.5 14C28.4706 14 32.5 18.0294 32.5 23ZM25.8625 20.6375C25.8625 21.9423 24.8048 23 23.5 23C22.1952 23 21.1375 21.9423 21.1375 20.6375C21.1375 19.3327 22.1952 18.275 23.5 18.275C24.8048 18.275 25.8625 19.3327 25.8625 20.6375ZM26.8718 27.0538C27.3662 26.8479 27.5539 26.2508 27.224 25.829C26.3592 24.7233 25.0126 24.0125 23.5 24.0125C21.9874 24.0125 20.6408 24.7233 19.776 25.829C19.4461 26.2508 19.6338 26.8479 20.1281 27.0538C21.1662 27.4862 22.3052 27.725 23.5 27.725C24.6947 27.725 25.8337 27.4862 26.8718 27.0538Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},21088:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#A5B3BD"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 23C32.5 27.9706 28.4706 32 23.5 32C18.5294 32 14.5 27.9706 14.5 23C14.5 18.0294 18.5294 14 23.5 14C28.4706 14 32.5 18.0294 32.5 23ZM25.8625 20.6375C25.8625 21.9423 24.8048 23 23.5 23C22.1952 23 21.1375 21.9423 21.1375 20.6375C21.1375 19.3327 22.1952 18.275 23.5 18.275C24.8048 18.275 25.8625 19.3327 25.8625 20.6375ZM26.8718 27.0538C27.3662 26.8479 27.5539 26.2508 27.224 25.829C26.3592 24.7233 25.0126 24.0125 23.5 24.0125C21.9874 24.0125 20.6408 24.7233 19.776 25.829C19.4461 26.2508 19.6338 26.8479 20.1281 27.0538C21.1662 27.4862 22.3052 27.725 23.5 27.725C24.6947 27.725 25.8337 27.4862 26.8718 27.0538Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},21855:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.2304 0.914805C13.4908 1.17515 13.4908 1.59726 13.2304 1.85761L5.68792 9.4001C5.42758 9.66045 5.00547 9.66045 4.74512 9.4001L0.528599 5.1836C0.268249 4.92325 0.268248 4.50114 0.528597 4.24079C0.788946 3.98044 1.21106 3.98044 1.47141 4.24079L5.21652 7.98589L12.2876 0.914806C12.5479 0.654456 12.9701 0.654456 13.2304 0.914805Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},41614:(e,t,n)=>{e.exports={attributes:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:"color: #00a1b7;"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 0C0.895431 0 0 0.89543 0 2V16C0 17.1046 0.89543 18 2 18H16C17.1046 18 18 17.1046 18 16V2C18 0.895431 17.1046 0 16 0H2ZM14.2682 6.64018C14.6218 6.21591 14.5645 5.58534 14.1402 5.23178C13.7159 4.87821 13.0853 4.93554 12.7318 5.35982L8.32597 10.6468L5.58124 8.68627C5.13182 8.36526 4.50727 8.46935 4.18627 8.91877C3.86526 9.36818 3.96935 9.99273 4.41876 10.3137L7.91876 12.8137L8.67403 13.3532L9.26822 12.6402L14.2682 6.64018Z" fill="currentColor"/>'};var r=n(5813);e.exports=r(e.exports)},98892:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6zM5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6zm12.268 3.64a1 1 0 1 0-1.536-1.28l-4.406 5.287-2.745-1.96a1 1 0 1 0-1.162 1.627l3.5 2.5.755.54.594-.714 5-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},36598:(e,t,n)=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.70711 3.70711C10.0976 3.31658 10.0976 2.68342 9.70711 2.29289C9.31658 1.90237 8.68342 1.90237 8.29289 2.29289L5 5.58579L3.70711 4.29289C3.31658 3.90237 2.68342 3.90237 2.29289 4.29289C1.90237 4.68342 1.90237 5.31658 2.29289 5.70711L4.29289 7.70711C4.68342 8.09763 5.31658 8.09763 5.70711 7.70711L9.70711 3.70711Z" fill="black"/>   <path class="graphic" d="M12 5C11.4477 5 11 5.44772 11 6C11 6.55228 11.4477 7 12 7H21C21.5523 7 22 6.55228 22 6C22 5.44772 21.5523 5 21 5H12Z" fill="black"/>   <path class="graphic" d="M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H21C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11H3Z" fill="black"/>   <path class="graphic" d="M3 19C2.44772 19 2 18.5523 2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},47904:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M6 9.414l5 5L12.414 13l-5-5 5-5L11 1.586 4.586 8 6 9.414z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},16186:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M11 9.414l-5 5L4.586 13l5-5-5-5L6 1.586 12.414 8 11 9.414z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},57872:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 3a1 1 0 0 1 1-1h14a1 1 0 0 1 0 2h-6v6.877l-2-1.913V4H5a1 1 0 0 1-1-1zm.265 3.322a1 1 0 0 1 1.413-.057l13 12a1 1 0 0 1-1.356 1.47L13 15.745V21a1 1 0 0 1-2 0v-7.101L4.322 7.735a1 1 0 0 1-.057-1.413z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71185:(e,t,n)=>{e.exports={attributes:{width:"30",height:"24",viewBox:"0 0 30 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.25 24C8.50282 24 8.75298 23.9886 9 23.9664V24H22.5V23.9588C22.7463 23.986 22.9965 24 23.25 24C26.9779 24 30 20.9779 30 17.25C30 13.7314 27.3077 10.8416 23.8708 10.5282C23.9557 10.0315 24 9.52091 24 9C24 4.02944 19.9706 0 15 0C10.4404 0 6.67276 3.39066 6.08089 7.78812C2.57683 8.7405 0 11.9443 0 15.75C0 20.3063 3.69365 24 8.25 24ZM9.43934 7.93934C10.0251 7.35355 10.9749 7.35355 11.5607 7.93934L15 11.3787L18.4393 7.93934C19.0251 7.35355 19.9749 7.35355 20.5607 7.93934C21.1464 8.52513 21.1464 9.47487 20.5607 10.0607L17.1213 13.5L20.5607 16.9393C21.1464 17.5251 21.1464 18.4749 20.5607 19.0607C19.9749 19.6464 19.0251 19.6464 18.4393 19.0607L15 15.6213L11.5607 19.0607C10.9749 19.6464 10.0251 19.6464 9.43934 19.0607C8.85355 18.4749 8.85355 17.5251 9.43934 16.9393L12.8787 13.5L9.43934 10.0607C8.85355 9.47487 8.85355 8.52513 9.43934 7.93934Z" fill="#C8C8C8"/>'};var r=n(5813);e.exports=r(e.exports)},47778:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M14.961 5.275a1 1 0 0 0-1.922-.55l-4 14a1.001 1.001 0 0 0 1.922.55l4-14zm-7.336.944a1 1 0 0 1 .156 1.406L4.28 12l3.5 4.375a1 1 0 0 1-1.562 1.25L2.232 12.64A.986.986 0 0 1 2 12a1 1 0 0 1 .232-.64l3.987-4.985a1 1 0 0 1 1.406-.156zm8.75 0a1 1 0 0 1 1.406.156l3.987 4.985a1.003 1.003 0 0 1 0 1.28l-3.987 4.985a1 1 0 0 1-1.562-1.25L19.72 12l-3.5-4.375a1 1 0 0 1 .156-1.406z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},97368:(e,t,n)=>{e.exports={attributes:{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M0.666667 0.333374C0.298477 0.333374 0 0.631851 0 1.00004C0 1.36823 0.298477 1.66671 0.666667 1.66671H4.66667C5.03486 1.66671 5.33333 1.36823 5.33333 1.00004C5.33333 0.631851 5.03486 0.333374 4.66667 0.333374H0.666667Z" fill="black"/>   <path class="graphic" d="M0.666667 3.00004C0.298477 3.00004 0 3.29852 0 3.66671C0 4.0349 0.298477 4.33337 0.666667 4.33337H4.66667C5.03486 4.33337 5.33333 4.0349 5.33333 3.66671C5.33333 3.29852 5.03486 3.00004 4.66667 3.00004H0.666667Z" fill="black"/>   <path class="graphic" d="M0 6.33337C0 5.96518 0.298477 5.66671 0.666667 5.66671H4.66667C5.03486 5.66671 5.33333 5.96518 5.33333 6.33337C5.33333 6.70156 5.03486 7.00004 4.66667 7.00004H0.666667C0.298477 7.00004 0 6.70156 0 6.33337Z" fill="black"/>   <path class="graphic" d="M0.666667 8.33337C0.298477 8.33337 0 8.63185 0 9.00004C0 9.36823 0.298477 9.66671 0.666667 9.66671H4.66667C5.03486 9.66671 5.33333 9.36823 5.33333 9.00004C5.33333 8.63185 5.03486 8.33337 4.66667 8.33337H0.666667Z" fill="black"/>   <path class="graphic" d="M6.66667 1.00004C6.66667 0.631851 6.96514 0.333374 7.33333 0.333374H11.3333C11.7015 0.333374 12 0.631851 12 1.00004C12 1.36823 11.7015 1.66671 11.3333 1.66671H7.33333C6.96514 1.66671 6.66667 1.36823 6.66667 1.00004Z" fill="black"/>   <path class="graphic" d="M7.33333 3.00004C6.96514 3.00004 6.66667 3.29852 6.66667 3.66671C6.66667 4.0349 6.96514 4.33337 7.33333 4.33337H11.3333C11.7015 4.33337 12 4.0349 12 3.66671C12 3.29852 11.7015 3.00004 11.3333 3.00004H7.33333Z" fill="black"/>   <path class="graphic" d="M6.66667 6.33337C6.66667 5.96518 6.96514 5.66671 7.33333 5.66671H11.3333C11.7015 5.66671 12 5.96518 12 6.33337C12 6.70156 11.7015 7.00004 11.3333 7.00004H7.33333C6.96514 7.00004 6.66667 6.70156 6.66667 6.33337Z" fill="black"/>   <path class="graphic" d="M7.33333 8.33337C6.96514 8.33337 6.66667 8.63185 6.66667 9.00004C6.66667 9.36823 6.96514 9.66671 7.33333 9.66671H11.3333C11.7015 9.66671 12 9.36823 12 9.00004C12 8.63185 11.7015 8.33337 11.3333 8.33337H7.33333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},58191:(e,t,n)=>{e.exports={attributes:{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M9.3999 1.5C5.25777 1.5 1.8999 4.85786 1.8999 9C1.8999 13.1421 5.25777 16.5 9.3999 16.5C10.5734 16.5 11.6839 16.2305 12.673 15.75H16.1499V12.2731C16.6304 11.284 16.8999 10.1735 16.8999 9C16.8999 4.85786 13.542 1.5 9.3999 1.5Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},7688:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333313 7C0.333313 3.3181 3.31808 0.333336 6.99998 0.333336C10.6819 0.333336 13.6666 3.3181 13.6666 7C13.6666 8.0431 13.4271 9.03024 13 9.90942V13H9.9094C9.03022 13.4271 8.04308 13.6667 6.99998 13.6667C3.31808 13.6667 0.333313 10.6819 0.333313 7Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},3641:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic_stroke" d="M14.3641 18H14.1341L13.9272 18.1005C12.7416 18.6765 11.41 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10C19 11.41 18.6765 12.7416 18.1005 13.9272L18 14.1341V14.3641V18H14.3641Z" stroke-width="2"/>'};var r=n(5813);e.exports=r(e.exports)},67012:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.33317 2C6.2286 2 5.33317 2.89543 5.33317 4V4.66667H4.6665C3.56193 4.66667 2.6665 5.5621 2.6665 6.66667V12C2.6665 13.1046 3.56193 14 4.6665 14H8.6665C9.77107 14 10.6665 13.1046 10.6665 12V11.3333H11.3332C12.4377 11.3333 13.3332 10.4379 13.3332 9.33333V4C13.3332 2.89543 12.4377 2 11.3332 2H7.33317ZM10.6665 10V6.66667C10.6665 5.5621 9.77107 4.66667 8.6665 4.66667H6.6665V4C6.6665 3.63181 6.96498 3.33333 7.33317 3.33333H11.3332C11.7014 3.33333 11.9998 3.63181 11.9998 4V9.33333C11.9998 9.70152 11.7014 10 11.3332 10H10.6665ZM3.99984 6.66667C3.99984 6.29848 4.29831 6 4.6665 6H8.6665C9.03469 6 9.33317 6.29848 9.33317 6.66667V12C9.33317 12.3682 9.03469 12.6667 8.6665 12.6667H4.6665C4.29831 12.6667 3.99984 12.3682 3.99984 12V6.66667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},13532:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 2C0 0.895431 0.895431 0 2 0H4C4.62951 0 5.22229 0.296388 5.6 0.8L7 2.66667H10C11.1046 2.66667 12 3.5621 12 4.66667V6.35176C12.055 6.40102 12.1089 6.45207 12.1618 6.5049C13.7239 8.067 13.7239 10.5997 12.1618 12.1618C10.5997 13.7239 8.067 13.7239 6.50491 12.1618C6.45207 12.1089 6.40103 12.055 6.35177 12H2C0.89543 12 0 11.1046 0 10V2ZM10.6667 5.56111C9.25957 5.06486 7.63034 5.37946 6.50491 6.5049C5.37947 7.63034 5.06487 9.25957 5.56111 10.6667H2C1.63181 10.6667 1.33333 10.3682 1.33333 10V4H10C10.3682 4 10.6667 4.29848 10.6667 4.66667V5.56111ZM4.53333 1.6L5.33333 2.66667H1.33333V2C1.33333 1.63181 1.63181 1.33333 2 1.33333H4C4.20984 1.33333 4.40743 1.43213 4.53333 1.6ZM6.67441 9.33112C6.67441 8.96293 6.97288 8.66445 7.34107 8.66445H8.66897V7.33655C8.66897 6.96836 8.96744 6.66988 9.33563 6.66988C9.70382 6.66988 10.0023 6.96836 10.0023 7.33655V8.66445H11.3302C11.6984 8.66445 11.9969 8.96293 11.9969 9.33112C11.9969 9.69931 11.6984 9.99778 11.3302 9.99778H10.0023V11.3257C10.0023 11.6939 9.70382 11.9923 9.33563 11.9923C8.96744 11.9923 8.66897 11.6939 8.66897 11.3257V9.99778H7.34107C6.97288 9.99778 6.67441 9.69931 6.67441 9.33112Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},44744:(e,t,n)=>{e.exports={attributes:{width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.166672 2.51702C0.166672 1.41245 1.0621 0.517017 2.16667 0.517017H8.83334C9.93791 0.517017 10.8333 1.41245 10.8333 2.51702V8.20221C11.6517 8.93464 12.1667 9.99902 12.1667 11.1837C12.1667 13.3928 10.3758 15.1837 8.16667 15.1837C6.98201 15.1837 5.91762 14.6687 5.1852 13.8504H2.16667C1.0621 13.8504 0.166672 12.9549 0.166672 11.8504V2.51702ZM4.39428 12.517C4.24688 12.1 4.16667 11.6512 4.16667 11.1837C4.16667 8.97455 5.95753 7.18368 8.16667 7.18368C8.63419 7.18368 9.08297 7.26389 9.50001 7.41129V2.51702C9.50001 2.14883 9.20153 1.85035 8.83334 1.85035H2.16667C1.79848 1.85035 1.50001 2.14883 1.50001 2.51702V11.8504C1.50001 12.2185 1.79848 12.517 2.16667 12.517H4.39428ZM2.83334 3.85035C2.83334 3.48216 3.13182 3.18368 3.50001 3.18368H7.50001C7.86819 3.18368 8.16667 3.48216 8.16667 3.85035C8.16667 4.21854 7.86819 4.51702 7.50001 4.51702H3.50001C3.13182 4.51702 2.83334 4.21854 2.83334 3.85035ZM3.50001 5.85035C3.13182 5.85035 2.83334 6.14883 2.83334 6.51702C2.83334 6.88521 3.13182 7.18368 3.50001 7.18368H4.83334C5.20153 7.18368 5.50001 6.88521 5.50001 6.51702C5.50001 6.14883 5.20153 5.85035 4.83334 5.85035H3.50001ZM8.83334 9.18368C8.83334 8.81549 8.53486 8.51702 8.16667 8.51702C7.79848 8.51702 7.50001 8.81549 7.50001 9.18368V10.517H6.16667C5.79848 10.517 5.50001 10.8155 5.50001 11.1837C5.50001 11.5519 5.79848 11.8504 6.16667 11.8504H7.50001V13.1837C7.50001 13.5519 7.79848 13.8504 8.16667 13.8504C8.53486 13.8504 8.83334 13.5519 8.83334 13.1837V11.8504H10.1667C10.5349 11.8504 10.8333 11.5519 10.8333 11.1837C10.8333 10.8155 10.5349 10.517 10.1667 10.517H8.83334V9.18368Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},33597:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h12v12H0z"/>         <path class="graphic" fill="#FFFFFF" d="M6.707 6l2.98 2.98.353.353-.707.707-.353-.353L6 6.707l-2.98 2.98-.353.353-.707-.707.353-.353L5.293 6l-2.98-2.98-.353-.353.707-.707.353.353L6 5.293l2.98-2.98.353-.353.707.707-.353.353L6.707 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89883:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 1.33333C1.63181 1.33333 1.33333 1.63181 1.33333 2V3.33333C1.33333 3.70152 1.03486 4 0.666667 4C0.298477 4 0 3.70152 0 3.33333V2C0 0.895431 0.895431 0 2 0H3.33333C3.70152 0 4 0.298477 4 0.666667C4 1.03486 3.70152 1.33333 3.33333 1.33333H2ZM8 0.666667C8 0.298477 8.29848 0 8.66667 0H10C11.1046 0 12 0.895431 12 2V3.33333C12 3.70152 11.7015 4 11.3333 4C10.9651 4 10.6667 3.70152 10.6667 3.33333V2C10.6667 1.63181 10.3682 1.33333 10 1.33333H8.66667C8.29848 1.33333 8 1.03486 8 0.666667ZM0.666667 8C1.03486 8 1.33333 8.29848 1.33333 8.66667V10C1.33333 10.3682 1.63181 10.6667 2 10.6667H3.33333C3.70152 10.6667 4 10.9651 4 11.3333C4 11.7015 3.70152 12 3.33333 12H2C0.895431 12 0 11.1046 0 10V8.66667C0 8.29848 0.298477 8 0.666667 8ZM11.3333 8C11.7015 8 12 8.29848 12 8.66667V10C12 11.1046 11.1046 12 10 12H8.66667C8.29848 12 8 11.7015 8 11.3333C8 10.9651 8.29848 10.6667 8.66667 10.6667H10C10.3682 10.6667 10.6667 10.3682 10.6667 10V8.66667C10.6667 8.29848 10.9651 8 11.3333 8Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},23996:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M3.33329 11.3334C2.9651 11.3334 2.66663 11.6319 2.66663 12C2.66663 12.3682 2.9651 12.6667 3.33329 12.6667H4.66663C5.03482 12.6667 5.33329 12.3682 5.33329 12C5.33329 11.6319 5.03482 11.3334 4.66663 11.3334H3.33329Z" fill="black"/>   <path class="graphic" d="M2.66663 8.00004C2.66663 7.63185 2.9651 7.33337 3.33329 7.33337H4.66663C5.03482 7.33337 5.33329 7.63185 5.33329 8.00004C5.33329 8.36823 5.03482 8.66671 4.66663 8.66671H3.33329C2.9651 8.66671 2.66663 8.36823 2.66663 8.00004Z" fill="black"/>   <path class="graphic" d="M8.66663 12C8.66663 11.6319 8.9651 11.3334 9.33329 11.3334C9.70148 11.3334 9.99996 11.6319 9.99996 12C9.99996 12.3682 9.70148 12.6667 9.33329 12.6667C8.9651 12.6667 8.66663 12.3682 8.66663 12Z" fill="black"/>   <path class="graphic" d="M11.3333 11.3334C10.9651 11.3334 10.6666 11.6319 10.6666 12C10.6666 12.3682 10.9651 12.6667 11.3333 12.6667H12C12.3681 12.6667 12.6666 12.3682 12.6666 12C12.6666 11.6319 12.3681 11.3334 12 11.3334H11.3333Z" fill="black"/>   <path class="graphic" d="M9.33329 7.33337C8.9651 7.33337 8.66663 7.63185 8.66663 8.00004C8.66663 8.36823 8.9651 8.66671 9.33329 8.66671C9.70148 8.66671 9.99996 8.36823 9.99996 8.00004C9.99996 7.63185 9.70148 7.33337 9.33329 7.33337Z" fill="black"/>   <path class="graphic" d="M10.6666 8.00004C10.6666 7.63185 10.9651 7.33337 11.3333 7.33337H12C12.3681 7.33337 12.6666 7.63185 12.6666 8.00004C12.6666 8.36823 12.3681 8.66671 12 8.66671H11.3333C10.9651 8.66671 10.6666 8.36823 10.6666 8.00004Z" fill="black"/>   <path class="graphic" d="M8.66663 4.00004C8.66663 3.63185 8.9651 3.33337 9.33329 3.33337C9.70148 3.33337 9.99996 3.63185 9.99996 4.00004C9.99996 4.36823 9.70148 4.66671 9.33329 4.66671C8.9651 4.66671 8.66663 4.36823 8.66663 4.00004Z" fill="black"/>   <path class="graphic" d="M11.3333 3.33337C10.9651 3.33337 10.6666 3.63185 10.6666 4.00004C10.6666 4.36823 10.9651 4.66671 11.3333 4.66671H12C12.3681 4.66671 12.6666 4.36823 12.6666 4.00004C12.6666 3.63185 12.3681 3.33337 12 3.33337H11.3333Z" fill="black"/>   <path class="graphic" d="M3.33329 3.33337C2.9651 3.33337 2.66663 3.63185 2.66663 4.00004C2.66663 4.36823 2.9651 4.66671 3.33329 4.66671H4.66663C5.03482 4.66671 5.33329 4.36823 5.33329 4.00004C5.33329 3.63185 5.03482 3.33337 4.66663 3.33337H3.33329Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.666626 3.33337C0.666626 2.2288 1.56206 1.33337 2.66663 1.33337H13.3333C14.4379 1.33337 15.3333 2.2288 15.3333 3.33337V12.6667C15.3333 13.7713 14.4379 14.6667 13.3333 14.6667H2.66663C1.56206 14.6667 0.666626 13.7713 0.666626 12.6667V3.33337ZM1.99996 10.6667V12.6667C1.99996 13.0349 2.29844 13.3334 2.66663 13.3334H5.99996V10.6667H1.99996ZM5.99996 9.33337H1.99996V6.66671H5.99996V9.33337ZM7.33329 13.3334H13.3333C13.7015 13.3334 14 13.0349 14 12.6667V10.6667H7.33329V13.3334ZM14 9.33337H7.33329V6.66671H14V9.33337ZM7.33329 5.33337H14V3.33337C14 2.96518 13.7015 2.66671 13.3333 2.66671L7.33329 2.66671V5.33337ZM1.99996 5.33337H5.99996V2.66671H2.66663C2.29844 2.66671 1.99996 2.96518 1.99996 3.33337V5.33337Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},28824:(e,t,n)=>{e.exports={attributes:{width:"22",height:"23",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect x="0.5" y="1" width="21" height="21" rx="1.5" fill="url(#paint0_linear_7154_6246)"/>   <path d="M11.3164 6.4082L7.49316 17.5H5.18164L9.99805 4.70312H11.4746L11.3164 6.4082ZM14.5156 17.5L10.6836 6.4082L10.5166 4.70312H12.002L16.8359 17.5H14.5156ZM14.3311 12.7539V14.5029H7.37012V12.7539H14.3311Z" fill="url(#paint1_linear_7154_6246)"/>   <rect class="graphic_stroke" x="0.5" y="1" width="21" height="21" rx="1.5" stroke="#505050"/>   <defs>   <linearGradient id="paint0_linear_7154_6246" x1="22" y1="4.77778" x2="4.18548e-07" y2="4.77778" gradientUnits="userSpaceOnUse">   <stop offset="0.411458" stop-color="#505050"/>   <stop offset="0.494792"/>   <stop offset="0.494892" stop-color="white"/>   </linearGradient>   <linearGradient id="paint1_linear_7154_6246" x1="2.38462" y1="9" x2="20" y2="9" gradientUnits="userSpaceOnUse">   <stop offset="0.411458" stop-color="#505050"/>   <stop offset="0.494792"/>   <stop offset="0.494892" stop-color="white"/>   </linearGradient>   </defs>'};var r=n(5813);e.exports=r(e.exports)},41286:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 4H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-9h-5a1 1 0 0 1-1-1V4zm8 5.008V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h5.992L20 9.008zM14 8V5.414L16.586 8H14zm-6 9a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm1-5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},91177:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#00A1B7" d="M7.493 11.87a.997.997 0 0 1-1.105-.079L2.4 8.8a1 1 0 1 1 1.2-1.6l3.306 2.48 6.387-6.387a1 1 0 0 1 1.414 1.414l-6.99 6.99a.993.993 0 0 1-.224.173z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},99635:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M7.493 11.87a.997.997 0 0 1-1.105-.079L2.4 8.8a1 1 0 1 1 1.2-1.6l3.306 2.48 6.387-6.387a1 1 0 0 1 1.414 1.414l-6.99 6.99a.993.993 0 0 1-.224.173z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},27317:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.0002 1.33331C8.36839 1.33331 8.66687 1.63179 8.66687 1.99998L8.66688 9.72383L12.1955 6.19524C12.4558 5.93489 12.8779 5.93489 13.1383 6.19524C13.3986 6.45559 13.3986 6.8777 13.1383 7.13805L8.47386 11.8025C8.46681 11.8096 8.4596 11.8165 8.45223 11.8233C8.39454 11.8766 8.32973 11.9179 8.26102 11.947C8.18149 11.9809 8.09403 11.9997 8.00221 12L8.00021 12L7.99405 12C7.90806 11.9992 7.82595 11.9821 7.75066 11.9517C7.66991 11.9192 7.59424 11.8702 7.5288 11.8047L2.86213 7.13805C2.60178 6.8777 2.60178 6.45559 2.86213 6.19524C3.12248 5.93489 3.54459 5.93489 3.80494 6.19524L7.33355 9.72385L7.33354 1.99998C7.33354 1.63179 7.63201 1.33331 8.0002 1.33331ZM3.33354 13.3333C2.96535 13.3333 2.66687 13.6318 2.66687 14C2.66687 14.3682 2.96535 14.6666 3.33354 14.6666L12.6669 14.6666C13.0351 14.6666 13.3335 14.3682 13.3335 14C13.3335 13.6318 13.0351 13.3333 12.6669 13.3333L3.33354 13.3333Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},97393:(e,t,n)=>{e.exports={attributes:{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<mask id="path-1-outside-1" maskUnits="userSpaceOnUse" x="0.323242" y="0.25" width="14" height="14" fill="black">   <rect fill="white" x="0.323242" y="0.25" width="14" height="14"/>   <path d="M1.32324 10.6322V12.6043C1.32324 12.786 1.46596 12.9287 1.64761 12.9287H3.61974C3.70407 12.9287 3.78841 12.8963 3.8468 12.8314L10.9309 5.75376L8.49818 3.32103L1.42055 10.3987C1.35568 10.4635 1.32324 10.5414 1.32324 10.6322ZM12.8122 3.87245C12.8724 3.81243 12.9201 3.74114 12.9526 3.66266C12.9852 3.58419 13.0019 3.50006 13.0019 3.41509C13.0019 3.33013 12.9852 3.246 12.9526 3.16752C12.9201 3.08905 12.8724 3.01776 12.8122 2.95774L11.2942 1.43972C11.2342 1.37958 11.1629 1.33186 11.0844 1.29931C11.0059 1.26676 10.9218 1.25 10.8368 1.25C10.7519 1.25 10.6677 1.26676 10.5893 1.29931C10.5108 1.33186 10.4395 1.37958 10.3795 1.43972L9.19232 2.62689L11.625 5.05962L12.8122 3.87245Z"/>   </mask>   <path class="graphic" d="M3.8468 12.8314L3.14001 12.124C3.1275 12.1365 3.11533 12.1493 3.1035 12.1624L3.8468 12.8314ZM10.9309 5.75376L11.6377 6.46119C11.8254 6.27368 11.9308 6.01928 11.9309 5.75399C11.931 5.48869 11.8256 5.23425 11.638 5.04665L10.9309 5.75376ZM8.49818 3.32103L9.20528 2.61392C9.01775 2.42639 8.76339 2.32103 8.49818 2.32103C8.23296 2.32103 7.97861 2.42639 7.79107 2.61392L8.49818 3.32103ZM1.42055 10.3987L2.12766 11.1058L1.42055 10.3987ZM12.8122 2.95774L12.1051 3.66485L12.1058 3.66557L12.8122 2.95774ZM11.2942 1.43972L10.5864 2.1461L10.5871 2.14682L11.2942 1.43972ZM10.8368 1.25V0.25V1.25ZM10.3795 1.43972L11.0866 2.14682L11.0873 2.1461L10.3795 1.43972ZM9.19232 2.62689L8.48521 1.91978C8.09469 2.31031 8.09469 2.94347 8.48521 3.334L9.19232 2.62689ZM11.625 5.05962L10.9179 5.76673C11.1055 5.95426 11.3598 6.05962 11.625 6.05962C11.8903 6.05962 12.1446 5.95426 12.3322 5.76673L11.625 5.05962ZM0.323242 10.6322V12.6043H2.32324V10.6322H0.323242ZM0.323242 12.6043C0.323242 13.3383 0.913678 13.9287 1.64761 13.9287V11.9287C2.01825 11.9287 2.32324 12.2337 2.32324 12.6043H0.323242ZM1.64761 13.9287H3.61974V11.9287H1.64761V13.9287ZM3.61974 13.9287C3.95128 13.9287 4.31908 13.8015 4.59009 13.5003L3.1035 12.1624C3.25774 11.991 3.45687 11.9287 3.61974 11.9287V13.9287ZM4.55358 13.5388L11.6377 6.46119L10.2241 5.04633L3.14001 12.124L4.55358 13.5388ZM11.638 5.04665L9.20528 2.61392L7.79107 4.02814L10.2238 6.46087L11.638 5.04665ZM7.79107 2.61392L0.713445 9.69155L2.12766 11.1058L9.20528 4.02814L7.79107 2.61392ZM0.713445 9.69155C0.463178 9.94181 0.323242 10.2731 0.323242 10.6322H2.32324C2.32324 10.7086 2.30901 10.7982 2.27065 10.8903C2.23237 10.9822 2.17941 11.054 2.12766 11.1058L0.713445 9.69155ZM13.5186 4.58028C13.6718 4.42738 13.7934 4.24576 13.8763 4.04582L12.0289 3.27951C12.0468 3.23653 12.0729 3.19749 12.1058 3.16462L13.5186 4.58028ZM13.8763 4.04582C13.9592 3.84588 14.0019 3.63155 14.0019 3.41509H12.0019C12.0019 3.36856 12.0111 3.32249 12.0289 3.27951L13.8763 4.04582ZM14.0019 3.41509C14.0019 3.19864 13.9592 2.9843 13.8763 2.78437L12.0289 3.55068C12.0111 3.5077 12.0019 3.46163 12.0019 3.41509H14.0019ZM13.8763 2.78437C13.7934 2.58443 13.6718 2.40281 13.5186 2.24991L12.1058 3.66557C12.0729 3.6327 12.0468 3.59366 12.0289 3.55068L13.8763 2.78437ZM13.5193 2.25063L12.0013 0.73261L10.5871 2.14682L12.1051 3.66485L13.5193 2.25063ZM12.002 0.733335C11.8491 0.58012 11.6675 0.458565 11.4676 0.375628L10.7013 2.22299C10.6583 2.20517 10.6192 2.17903 10.5864 2.1461L12.002 0.733335ZM11.4676 0.375628C11.2676 0.29269 11.0533 0.25 10.8368 0.25V2.25C10.7903 2.25 10.7442 2.24082 10.7013 2.22299L11.4676 0.375628ZM10.8368 0.25C10.6204 0.25 10.4061 0.29269 10.2061 0.375628L10.9724 2.22299C10.9294 2.24082 10.8834 2.25 10.8368 2.25V0.25ZM10.2061 0.375628C10.0062 0.458565 9.82456 0.58012 9.67166 0.733335L11.0873 2.1461C11.0545 2.17903 11.0154 2.20517 10.9724 2.22299L10.2061 0.375628ZM9.67238 0.73261L8.48521 1.91978L9.89942 3.334L11.0866 2.14682L9.67238 0.73261ZM8.48521 3.334L10.9179 5.76673L12.3322 4.35251L9.89942 1.91978L8.48521 3.334ZM12.3322 5.76673L13.5193 4.57955L12.1051 3.16534L10.9179 4.35251L12.3322 5.76673Z" fill="#161616" mask="url(#path-1-outside-1)"/>'};var r=n(5813);e.exports=r(e.exports)},13783:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M5.544 13.474L2.5 10.451l9.086-8.865a2 2 0 0 1 2.828 2.828l-8.87 9.06zM2 11l3 3H2z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},55782:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 3a1 1 0 0 1 1 1v1h5a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-5v1a1 1 0 0 1-2 0v-1H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h5V4a1 1 0 0 1 1-1zm0 14h6a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47529:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M20 3a1 1 0 0 1 1 1v16a1 1 0 0 1-2 0v-1.171A2.983 2.983 0 0 1 18 19H6c-.351 0-.687-.06-1-.171V20a1 1 0 0 1-2 0V4a1 1 0 0 1 2 0v1.171A2.983 2.983 0 0 1 6 5h12c.351 0 .687.06 1 .171V4a1 1 0 0 1 1-1zM5 8v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},54970:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a1 1 0 0 0-2 0v16a1 1 0 0 0 2 0V4zm5 1a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3h-8zM9 8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1V8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},51093:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M21 4a1 1 0 0 0-2 0v16a1 1 0 0 0 2 0V4zM6 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H6zM5 8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},99474:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic" width="11" height="11" rx="1" fill="#5C6061"/>   <path class="graphic_stroke_bg" d="M4.5 3L2 5.5L4.5 8" stroke="white"/>   <path class="graphic_stroke_bg" d="M6.5 3L9 5.5L6.5 8" stroke="white"/>'};var r=n(5813);e.exports=r(e.exports)},26258:(e,t,n)=>{e.exports={attributes:{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.18725 1.08312C4.41726 0.795615 4.37064 0.376087 4.08313 0.146081C3.79563 -0.0839249 3.3761 -0.0373104 3.14609 0.250198L0.487778 3.57309C0.450835 3.61733 0.420376 3.66551 0.396556 3.71628C0.354065 3.80646 0.333253 3.90345 0.333313 4C0.333253 4.09654 0.354066 4.19353 0.396557 4.28371C0.420375 4.33447 0.450831 4.38266 0.48777 4.42689L3.14609 7.74979C3.3761 8.0373 3.79563 8.08391 4.08313 7.85391C4.37064 7.6239 4.41726 7.20437 4.18725 6.91686L1.85376 4L4.18725 1.08312ZM10.8539 0.250197C10.6239 -0.0373106 10.2044 -0.0839248 9.91687 0.146081C9.62937 0.376088 9.58275 0.795616 9.81276 1.08312L12.1463 3.99999L9.81276 6.91686C9.58275 7.20437 9.62937 7.6239 9.91687 7.85391C10.2044 8.08391 10.6239 8.0373 10.8539 7.74979L13.5123 4.42677C13.5485 4.38342 13.5785 4.33628 13.6021 4.28663C13.6455 4.19563 13.6668 4.09758 13.6667 3.99999C13.6668 3.90241 13.6455 3.80436 13.6021 3.71336C13.5785 3.66371 13.5485 3.61656 13.5123 3.57321L10.8539 0.250197Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},80648:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h36v28H0z"/>         <rect class="graphic" width="32" height="26" x="2" y="1" fill="#9DA5A6" rx="2"/>         <rect class="grachic-background" width="30" height="24" x="3" y="2" fill="#FFF" rx="1"/>         <path class="graphic" fill="#9DA5A6" fill-rule="nonzero" d="M18.75 18.833l-2.395 3.222a1 1 0 1 1-1.605-1.193l.907-1.22a2.006 2.006 0 0 1-.064-.055s-3.02-2.673-3.024-2.668L7.744 22.29a1 1 0 0 1-1.488-1.336l4.826-5.372a2.013 2.013 0 0 1 2.825-.169l2.945 2.618.296-.395.928-1.248a1.01 1.01 0 0 1 .077-.092l3.45-4.6a1.88 1.88 0 0 1 2.812-.25l6.264 5.796a1 1 0 1 1-1.358 1.468l-6.186-5.723-4.385 5.846zM10 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},91027:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47346:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M1.58755 6.14294C1.87625 5.91558 2.29436 5.96478 2.52245 6.25257L2.52342 6.2538C2.52359 6.25401 2.52376 6.25424 2 6.66669L1.47625 7.07915C1.24845 6.78989 1.29828 6.37073 1.58755 6.14294Z" fill="currentColor"></path> \t<path d="M9.47877 9.87784C9.01604 9.95562 8.52288 10 8 10C7.47713 10 6.98397 9.95562 6.52124 9.87784L5.96579 11.5442C5.84936 11.8935 5.47181 12.0822 5.12252 11.9658C4.77322 11.8494 4.58445 11.4718 4.70088 11.1225L5.22344 9.55486C4.60376 9.34849 4.05847 9.08881 3.59023 8.81654L2.5547 10.3698C2.35047 10.6762 1.93656 10.759 1.6302 10.5547C1.32385 10.3505 1.24107 9.93658 1.4453 9.63023L2.49117 8.06143C2.26463 7.87906 2.0757 7.70812 1.92497 7.56196C1.78355 7.42483 1.67517 7.30893 1.60034 7.22504C1.56291 7.18308 1.53382 7.14905 1.51313 7.12431C1.50278 7.11194 1.49453 7.10188 1.48838 7.0943L1.48074 7.08481L1.4781 7.08149L1.47707 7.0802L1.47625 7.07915C1.47605 7.0789 1.47625 7.07915 2 6.66669L2.52342 6.2538L2.52391 6.25439L2.53595 6.26897C2.54793 6.28329 2.56776 6.30656 2.59537 6.33751C2.65062 6.39946 2.73677 6.49189 2.85316 6.60476C3.08633 6.83086 3.43844 7.13659 3.90413 7.44322C4.83433 8.0557 6.20884 8.66669 8 8.66669C9.79117 8.66669 11.1657 8.0557 12.0959 7.44322C12.5616 7.13659 12.9137 6.83086 13.1468 6.60476C13.2632 6.49189 13.3494 6.39946 13.4046 6.33751C13.4322 6.30656 13.4521 6.28329 13.4641 6.26897L13.4761 6.25439L13.4766 6.2538L13.4775 6.25261C13.7056 5.96479 14.1237 5.91557 14.4125 6.14294C14.7017 6.37073 14.7516 6.78989 14.5238 7.07915L14.031 6.69109C14.5238 7.07916 14.524 7.07891 14.5238 7.07915L14.5229 7.0802L14.5219 7.08149L14.5193 7.08481L14.5116 7.0943C14.5055 7.10188 14.4972 7.11194 14.4869 7.12431C14.4662 7.14905 14.4371 7.18308 14.3997 7.22504C14.3248 7.30893 14.2165 7.42483 14.075 7.56196C13.9243 7.70812 13.7354 7.87906 13.5088 8.06143L14.5547 9.63023C14.7589 9.93658 14.6762 10.3505 14.3698 10.5547C14.0635 10.759 13.6495 10.6762 13.4453 10.3698L12.4098 8.81654C11.9415 9.08881 11.3963 9.34849 10.7766 9.55486L11.2991 11.1225C11.4156 11.4718 11.2268 11.8494 10.8775 11.9658C10.5282 12.0822 10.1506 11.8935 10.0342 11.5442L9.47877 9.87784Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},75259:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M8.50004 5.3335C7.02728 5.3335 5.83338 6.5274 5.83338 8.00016C5.83338 9.47292 7.02728 10.6668 8.50004 10.6668C9.9728 10.6668 11.1667 9.47292 11.1667 8.00016C11.1667 6.5274 9.9728 5.3335 8.50004 5.3335ZM7.16671 8.00016C7.16671 7.26378 7.76366 6.66683 8.50004 6.66683C9.23642 6.66683 9.83338 7.26378 9.83338 8.00016C9.83338 8.73654 9.23642 9.3335 8.50004 9.3335C7.76366 9.3335 7.16671 8.73654 7.16671 8.00016Z" fill="currentColor"></path> \t<path fill-rule="evenodd" clip-rule="evenodd" d="M15.0545 7.63C15.0546 7.63019 15.0547 7.63036 14.5 8.00016C15.0547 8.36996 15.0546 8.37013 15.0545 8.37032L15.0534 8.37195L15.0511 8.37539L15.0435 8.38655C15.0372 8.39586 15.0283 8.40888 15.0169 8.42535C14.994 8.45829 14.961 8.50509 14.9184 8.56377C14.8332 8.68107 14.7093 8.84625 14.5505 9.04338C14.2337 9.43662 13.7739 9.96229 13.2022 10.49C12.082 11.5241 10.4231 12.6668 8.50004 12.6668C6.57701 12.6668 4.91814 11.5241 3.79786 10.49C3.22614 9.96229 2.7664 9.43662 2.44962 9.04338C2.29082 8.84625 2.16688 8.68107 2.0817 8.56377C2.03909 8.50509 2.0061 8.45829 1.98322 8.42535C1.97179 8.40888 1.96287 8.39586 1.95654 8.38655L1.94898 8.37539L1.94667 8.37195L1.94588 8.37077C1.94576 8.37059 1.94534 8.36996 2.50004 8.00016C1.94534 7.63036 1.94546 7.63019 1.94558 7.63L1.94667 7.62838L1.94898 7.62494L1.95654 7.61377C1.96287 7.60446 1.97179 7.59145 1.98322 7.57498C2.0061 7.54204 2.03909 7.49524 2.0817 7.43656C2.16688 7.31926 2.29082 7.15408 2.44962 6.95694C2.7664 6.5637 3.22614 6.03803 3.79786 5.51029C4.91814 4.47619 6.57701 3.3335 8.50004 3.3335C10.4231 3.3335 12.082 4.47619 13.2022 5.51029C13.7739 6.03803 14.2337 6.5637 14.5505 6.95694C14.7093 7.15408 14.8332 7.31926 14.9184 7.43656C14.961 7.49524 14.994 7.54204 15.0169 7.57498C15.0283 7.59145 15.0372 7.60446 15.0435 7.61377L15.0511 7.62494L15.0534 7.62838L15.0545 7.63ZM3.48796 8.20694C3.42779 8.13225 3.37342 8.06295 3.32512 8.00016C3.37342 7.93738 3.42779 7.86807 3.48796 7.79338C3.77535 7.43662 4.19061 6.96229 4.70223 6.49003C5.74862 5.52414 7.08975 4.66683 8.50004 4.66683C9.91034 4.66683 11.2515 5.52414 12.2979 6.49003C12.8095 6.96229 13.2247 7.43662 13.5121 7.79338C13.5723 7.86807 13.6267 7.93738 13.675 8.00016C13.6267 8.06295 13.5723 8.13225 13.5121 8.20694C13.2247 8.5637 12.8095 9.03803 12.2979 9.51029C11.2515 10.4762 9.91034 11.3335 8.50004 11.3335C7.08975 11.3335 5.74862 10.4762 4.70223 9.51029C4.19061 9.03803 3.77535 8.5637 3.48796 8.20694Z" fill="currentColor"></path> \t<path d="M14.5 8.00016L15.0545 7.63C15.2038 7.85394 15.2038 8.14639 15.0545 8.37032L14.5 8.00016Z" fill="currentColor" fill-opacity="0.54"></path><path d="M1.94558 7.63L2.50004 8.00016L1.94534 8.36996C1.79605 8.14603 1.79629 7.85394 1.94558 7.63Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},84581:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M5 2.667c-1.971 0-3.667 1.648-3.667 3.791 0 1.909.526 3.003 1.986 4.524.166.173.36.35.578.533.384.32.844.651 1.364.991a28.457 28.457 0 0 0 2.435 1.42c.19.098.417.098.608 0l.213-.111a30.197 30.197 0 0 0 2.222-1.308c.52-.34.98-.673 1.364-.992.219-.182.412-.36.578-.533 1.46-1.52 1.986-2.615 1.986-4.524 0-2.143-1.696-3.791-3.667-3.791-1.035 0-2.156.456-3 1.12-.844-.664-1.965-1.12-3-1.12zm3.49 2.466C9.116 4.493 10.146 4 11 4c1.243 0 2.333 1.06 2.333 2.458 0 1.53-.374 2.31-1.614 3.601a5.78 5.78 0 0 1-.47.431c-.34.283-.76.586-1.24.9A27.154 27.154 0 0 1 8 12.58a29.668 29.668 0 0 1-2.01-1.19c-.48-.314-.9-.617-1.24-.9a5.78 5.78 0 0 1-.47-.43C3.042 8.767 2.668 7.986 2.668 6.457 2.667 5.06 3.757 4 5 4c.854 0 1.884.494 2.51 1.133a.665.665 0 0 0 .49.2.665.665 0 0 0 .49-.2z"/>'};var r=n(5813);e.exports=r(e.exports)},23953:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M14 4C14 2.89543 13.1046 2 12 2H4C2.89543 2 2 2.89543 2 4V9.33333C2 10.4379 2.89543 11.3333 4 11.3333V13.3333C4 13.5896 4.1469 13.8232 4.37787 13.9342C4.60885 14.0452 4.88302 14.014 5.08313 13.8539L8.05124 11.4794C8.16945 11.3849 8.31633 11.3333 8.46771 11.3333H12C13.1046 11.3333 14 10.4379 14 9.33333V4ZM12 3.33333C12.3682 3.33333 12.6667 3.63181 12.6667 4V9.33333C12.6667 9.70152 12.3682 10 12 10H8.46771C8.01357 10 7.57294 10.1546 7.21832 10.4383L5.33333 11.9463V10.6667C5.33333 10.2985 5.03486 10 4.66667 10H4C3.63181 10 3.33333 9.70152 3.33333 9.33333V4C3.33333 3.63181 3.63181 3.33333 4 3.33333H12Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},83763:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4 4C4 5.10457 4.89543 6 6 6H8V2H6C4.89543 2 4 2.89543 4 4Z" fill="black"/>   <path class="graphic" d="M8 2V6H10C11.1046 6 12 5.10457 12 4C12 2.89543 11.1046 2 10 2H8Z" fill="black"/>   <path class="graphic" d="M4 8C4 6.89543 4.89543 6 6 6H8V10H6C4.89543 10 4 9.10457 4 8Z" fill="black"/>   <path class="graphic" d="M4 12C4 10.8954 4.89543 10 6 10H8V12C8 13.1046 7.10457 14 6 14C4.89543 14 4 13.1046 4 12Z" fill="black"/>   <path class="graphic" d="M8 8C8 6.89543 8.89543 6 10 6C11.1046 6 12 6.89543 12 8C12 9.10457 11.1046 10 10 10C8.89543 10 8 9.10457 8 8Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},42020:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g id="file-check-alt-svgrepo-com 1"> <path id="Vector" d="M10.0002 12.6667L11.3335 14L14.0002 11.3333M8.66683 2H5.46683C4.7201 2 4.34672 2 4.06151 2.14533C3.81062 2.27315 3.60665 2.47713 3.47882 2.72801C3.3335 3.01323 3.3335 3.3866 3.3335 4.13333V11.8667C3.3335 12.6134 3.3335 12.9868 3.47882 13.272C3.60665 13.5229 3.81062 13.7269 4.06151 13.8547C4.34672 14 4.7201 14 5.46683 14H7.66683M8.66683 2L12.6668 6M8.66683 2V4.93333C8.66683 5.3067 8.66683 5.49339 8.7395 5.63599C8.80343 5.76143 8.90536 5.86342 9.03083 5.92734C9.17343 6 9.3601 6 9.7335 6H12.6668M12.6668 6V8.93333M6.00016 11.3333H7.66683M6.00016 8.66667H10.0002M6.00016 6H6.66683" stroke="#737373" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> </g>'};var r=n(5813);e.exports=r(e.exports)},62012:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.33329 11.3334C5.33329 10.9652 5.63177 10.6667 5.99996 10.6667H9.99996C10.3681 10.6667 10.6666 10.9652 10.6666 11.3334C10.6666 11.7016 10.3681 12 9.99996 12H5.99996C5.63177 12 5.33329 11.7016 5.33329 11.3334Z" fill="black"/>   <path class="graphic" d="M5.99996 8.00004C5.63177 8.00004 5.33329 8.29852 5.33329 8.66671C5.33329 9.0349 5.63177 9.33337 5.99996 9.33337H9.99996C10.3681 9.33337 10.6666 9.0349 10.6666 8.66671C10.6666 8.29852 10.3681 8.00004 9.99996 8.00004H5.99996Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.3333 6.00531V12.6667C13.3333 13.7713 12.4379 14.6667 11.3333 14.6667H4.66663C3.56206 14.6667 2.66663 13.7713 2.66663 12.6667V3.33337C2.66663 2.2288 3.56206 1.33337 4.66663 1.33337H8.66139L13.3333 6.00531ZM7.99996 2.66671H4.66663C4.29844 2.66671 3.99996 2.96518 3.99996 3.33337V12.6667C3.99996 13.0349 4.29844 13.3334 4.66663 13.3334H11.3333C11.7015 13.3334 12 13.0349 12 12.6667V6.66671H8.66663C8.29844 6.66671 7.99996 6.36823 7.99996 6.00004V2.66671ZM9.33329 5.33337V3.60952L11.0571 5.33337H9.33329Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},51392:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 1 1-1h1v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-.586l3.707 3.707a1 1 0 0 1 .293.707V19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5zm6-1h-2v2h2V4zM7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9.828a3 3 0 0 0-.879-2.121l-4.828-4.828A3 3 0 0 0 12.172 2H7zm3 12a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-1-3a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},7086:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M11.522 4.72a4.433 4.433 0 0 1 6.269 6.269l-4.924 4.925-.886.885a2.745 2.745 0 1 1-3.882-3.882l4.595-4.595a1 1 0 1 1 1.414 1.415L9.513 14.33a.746.746 0 0 0 1.054 1.054l.219-.22a.015.015 0 0 0 .004-.003l5.587-5.587a2.433 2.433 0 0 0-3.44-3.44l-.487.486-5.443 5.443a3.667 3.667 0 0 0 0 5.186l.454.454a3.667 3.667 0 0 0 5.186 0l4.714-4.714a1 1 0 1 1 1.414 1.414l-4.714 4.714a5.667 5.667 0 0 1-8.014 0l-.454-.454a5.667 5.667 0 0 1 0-8.014l5.443-5.443.486-.487z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},80124:(e,t,n)=>{e.exports={attributes:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 4.08579 2.58579 3.75 3 3.75H15C15.4142 3.75 15.75 4.08579 15.75 4.5C15.75 4.91421 15.4142 5.25 15 5.25H3C2.58579 5.25 2.25 4.91421 2.25 4.5ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H12C12.4142 8.25 12.75 8.58579 12.75 9C12.75 9.41421 12.4142 9.75 12 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9ZM8.25 12.75C7.83579 12.75 7.5 13.0858 7.5 13.5C7.5 13.9142 7.83579 14.25 8.25 14.25H10.5C10.9142 14.25 11.25 13.9142 11.25 13.5C11.25 13.0858 10.9142 12.75 10.5 12.75H8.25Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},32472:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6.667a2 2 0 0 0-2-2H9L7.6 2.8A2 2 0 0 0 6 2H4zm3.333 2.667l-.8-1.067A.667.667 0 0 0 6 3.333H4A.667.667 0 0 0 3.333 4v.667h4zm-4 7.333V6H12c.368 0 .667.298.667.667V12a.667.667 0 0 1-.667.667H4A.667.667 0 0 1 3.333 12z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89129:(e,t,n)=>{e.exports={attributes:{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M5 0C5.55228 0 6 0.447715 6 1V2H14V1C14 0.447715 14.4477 0 15 0C15.5523 0 16 0.447715 16 1V2H17C18.6569 2 20 3.34315 20 5V13C20 14.6569 18.6569 16 17 16H16V17C16 17.5523 15.5523 18 15 18C14.4477 18 14 17.5523 14 17V16H6V17C6 17.5523 5.55228 18 5 18C4.44772 18 4 17.5523 4 17V16H3C1.34315 16 0 14.6569 0 13V5C0 3.34315 1.34315 2 3 2H4V1C4 0.447715 4.44772 0 5 0ZM17 14C17.5523 14 18 13.5523 18 13V5C18 4.44772 17.5523 4 17 4H3C2.44772 4 2 4.44772 2 5V13C2 13.5523 2.44772 14 3 14H17Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},71492:(e,t,n)=>{e.exports={attributes:{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.40109 4.92674C6.97185 4.92674 6.62391 5.36322 6.62391 5.89976C6.62391 6.43738 6.97185 6.87386 7.40109 6.87386C7.83033 6.87386 8.17826 6.43738 8.17826 5.89976C8.17766 5.36322 7.83033 4.92674 7.40109 4.92674ZM10.1068 2.39387C10.1959 2.19645 10.1995 1.0747 9.72723 0C9.72723 0 8.64456 0.107632 7.00652 1.125C6.66277 1.03846 6.08109 0.996274 5.5006 0.996274C4.91891 0.996274 4.33783 1.03846 3.99408 1.125C2.35543 0.107632 1.27277 0 1.27277 0C0.801087 1.0747 0.80587 2.19645 0.89375 2.39387C0.338967 2.93906 0 3.59405 0 4.48756C0 8.37422 3.56484 8.43642 4.46397 8.43642L5.5006 8.4375L6.53603 8.43642C7.43636 8.43642 11 8.37422 11 4.48756C11 3.59405 10.6616 2.93906 10.1068 2.39387ZM5.51674 7.95884H5.48326C3.22886 7.95884 1.47245 7.71599 1.47245 5.73317C1.47245 5.25775 1.65777 4.81749 2.09837 4.45186C2.8319 3.84231 4.07418 4.16466 5.48326 4.16466H5.51674C6.92581 4.16466 8.1687 3.84231 8.90283 4.45186C9.34223 4.81749 9.52755 5.25775 9.52755 5.73317C9.52755 7.71599 7.77174 7.95884 5.51674 7.95884ZM3.59951 4.92674C3.17027 4.92674 2.82234 5.36322 2.82234 5.89976C2.82234 6.43738 3.17027 6.87386 3.59951 6.87386C4.02935 6.87386 4.37728 6.43738 4.37728 5.89976C4.37728 5.36322 4.02935 4.92674 3.59951 4.92674Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},55551:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 0.666656H4L8 7.33332H11.6667L8 0.666656ZM5.66667 4.99999L3.66667 1.66666L0 7.99999L2 11.3333L5.66667 4.99999ZM12 7.99999H4.66667L2.66667 11.3333H10.3333L12 7.99999Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},517:(e,t,n)=>{e.exports={attributes:{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.23684 2.78571C7.23684 3.08571 7.35263 3.34286 7.57263 3.55179C7.78684 3.76071 8.05895 3.85714 8.39474 3.85714C8.71316 3.85714 8.97368 3.76071 9.21105 3.55179C9.43684 3.34286 9.55263 3.08571 9.55263 2.78571C9.55263 2.50179 9.43684 2.25 9.19947 2.03036C8.97368 1.81607 8.68421 1.71429 8.39474 1.71429C8.07632 1.71429 7.81579 1.81607 7.58421 2.03036C7.35842 2.25 7.23684 2.50179 7.23684 2.78571ZM11 2.78571C11 3.32143 10.7742 3.95893 10.34 4.69286C9.90579 5.43214 9.47158 6.03214 9.03737 6.50357L8.39474 7.20536C8.18632 7.00714 7.94316 6.74464 7.65368 6.42857C7.36421 6.10714 6.97632 5.55536 6.50158 4.76786C6.02105 3.98036 5.78947 3.32143 5.78947 2.78571C5.78947 2.11607 6.03263 1.54821 6.54211 1.07679C7.04579 0.610714 7.65947 0.375 8.39474 0.375C9.10684 0.375 9.72632 0.610714 10.23 1.07679C10.7395 1.54821 11 2.11607 11 2.78571ZM10.4211 6.57857V10.5536C10.4211 10.8214 10.3053 11.0893 10.0679 11.2982C9.8421 11.5179 9.55263 11.625 9.26316 11.625H1.15789C0.868421 11.625 0.578947 11.5179 0.353158 11.2982C0.115789 11.0893 0 10.8214 0 10.5536V3.05357C0 2.78571 0.115789 2.51786 0.353158 2.30893C0.578947 2.08929 0.868421 1.98214 1.15789 1.98214H4.74737C4.67789 2.31964 4.63158 2.5875 4.63158 2.78571C4.63158 3.42321 4.88632 4.17321 5.37263 5.03571C5.86474 5.89286 6.27579 6.53571 6.60579 6.91607C6.94737 7.3125 7.25421 7.65 7.54368 7.93393L8.39474 8.78571L9.26316 7.93393C9.99842 7.07143 10.3863 6.61071 10.4211 6.57857ZM3.47368 8.14286V8.8875H4.77632C4.63158 9.48214 4.19737 9.76607 3.47368 9.76607C3.07421 9.76607 2.73842 9.63214 2.47211 9.36429C2.20419 9.10924 2.05638 8.76637 2.06105 8.41071C2.06105 8.04107 2.2 7.725 2.47211 7.45714C2.73842 7.18929 3.07421 7.05536 3.47368 7.05536C3.85579 7.05536 4.16263 7.1625 4.39421 7.38214L5.01947 6.83036C4.58526 6.46071 4.08158 6.26786 3.50263 6.26786H3.47368C2.84263 6.26786 2.29842 6.4875 1.84684 6.90536C1.39526 7.32321 1.15789 7.82679 1.15789 8.41071C1.15789 8.99464 1.39526 9.49821 1.84684 9.91607C2.29842 10.3339 2.84263 10.5536 3.47368 10.5536C4.14526 10.5536 4.68368 10.3554 5.08895 9.96964C5.5 9.58393 5.69684 9.08036 5.69684 8.45893C5.69684 8.30893 5.69105 8.20179 5.67368 8.14286H3.47368Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},1305:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 0-2 0v14a1 1 0 0 0 2 0v-6h4v6a1 1 0 0 0 2 0V5a1 1 0 0 0-2 0v6H6V5zm9 7a1 1 0 0 1 1 1v5h3a1 1 0 0 1 0 2h-4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},41701:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a1 1 0 0 1 1 1v6h4V5a1 1 0 0 1 2 0v14a1 1 0 0 1-2 0v-6H6v6a1 1 0 0 1-2 0V5a1 1 0 0 1 1-1zm16.371 8.071a.997.997 0 0 0-1.18.341L18 15.333l-2.193-2.924-.041-.052a.99.99 0 0 0-.711-.356 1.019 1.019 0 0 0-.698.233.99.99 0 0 0-.356.711l-.001.067V19a1 1 0 0 0 2 0v-3l1.186 1.581a.997.997 0 0 0 1.628 0L20 16v3a1 1 0 0 0 2 0v-5.985a.997.997 0 0 0-.629-.944z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},70191:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 0-2 0v14a1 1 0 0 0 2 0v-6h4v6a1 1 0 0 0 2 0V5a1 1 0 0 0-2 0v6H6V5zm11 7a1 1 0 0 0 0 2h.003a3 3 0 1 1-2.559 4.572 1 1 0 0 1 1.703-1.049A1 1 0 1 0 17 16h-.003a3 3 0 1 1 1.988-5.25 1.001 1.001 0 0 1-1.324 1.5A.994.994 0 0 0 17 12z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},81740:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M14.701 3.279a3 3 0 1 1 4.76 3.653L10.96 18.01a3 3 0 0 1-3.252 1.045L7 20h12a1 1 0 0 1 0 2H5a1 1 0 0 1-.794-1.609l1.891-2.52a3.002 3.002 0 0 1 .102-3.512l6.373-8.305L11.7 5.4 9.3 8.6a1 1 0 1 1-1.6-1.2l2.997-3.996.003-.004a1 1 0 0 1 1.4-.2l.002.001 1.687 1.266.912-1.188zM7.786 15.576l6.386-8.322 1.6 1.2-6.399 8.34a1 1 0 0 1-1.376.204l-.034-.026a1 1 0 0 1-.177-1.396zm10.089-9.862l-.885 1.153-1.6-1.2.898-1.17a1 1 0 1 1 1.587 1.217z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},82052:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.33337 5.33337C7.33337 4.96518 7.63185 4.66671 8.00004 4.66671C8.36823 4.66671 8.66671 4.96518 8.66671 5.33337V8.66671C8.66671 9.0349 8.36823 9.33337 8.00004 9.33337C7.63185 9.33337 7.33337 9.0349 7.33337 8.66671V5.33337Z" fill="black"/>     <path class="graphic" d="M8.00004 10.6667C7.63185 10.6667 7.33337 10.9652 7.33337 11.3334C7.33337 11.7016 7.63185 12 8.00004 12C8.36823 12 8.66671 11.7016 8.66671 11.3334C8.66671 10.9652 8.36823 10.6667 8.00004 10.6667Z" fill="black"/>     <path class="graphic" d="M1.33337 8.00004C1.33337 11.6819 4.31814 14.6667 8.00004 14.6667C11.6819 14.6667 14.6667 11.6819 14.6667 8.00004C14.6667 4.31814 11.6819 1.33337 8.00004 1.33337C4.31814 1.33337 1.33337 4.31814 1.33337 8.00004ZM8.00004 13.3334C5.05452 13.3334 2.66671 10.9456 2.66671 8.00004C2.66671 5.05452 5.05452 2.66671 8.00004 2.66671C10.9456 2.66671 13.3334 5.05452 13.3334 8.00004C13.3334 10.9456 10.9456 13.3334 8.00004 13.3334Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},28444:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 0.666626C8.36819 0.666626 8.66667 0.965103 8.66667 1.33329V3.33329H10.3831C10.6982 3.33329 10.8374 3.73008 10.5913 3.92692L8.20823 5.83337C8.08649 5.93077 7.91351 5.93077 7.79177 5.83337L5.4087 3.92692C5.16265 3.73008 5.30183 3.33329 5.61693 3.33329H7.33333V1.33329C7.33333 0.965103 7.63181 0.666626 8 0.666626ZM2 7.99996C2 7.63177 2.29848 7.33329 2.66667 7.33329H13.3333C13.7015 7.33329 14 7.63177 14 7.99996C14 8.36815 13.7015 8.66663 13.3333 8.66663H2.66667C2.29848 8.66663 2 8.36815 2 7.99996ZM7.33333 12.6666H5.61693C5.30183 12.6666 5.16265 12.2698 5.4087 12.073L7.79177 10.1665C7.91351 10.0692 8.08649 10.0692 8.20823 10.1665L10.5913 12.073C10.8374 12.2698 10.6982 12.6666 10.3831 12.6666H8.66667V14.6666C8.66667 15.0348 8.36819 15.3333 8 15.3333C7.63181 15.3333 7.33333 15.0348 7.33333 14.6666V12.6666Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},91527:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.8047 7.5286C14.0651 7.78895 14.0651 8.21106 13.8047 8.4714L8.66588 13.3658C8.66579 13.3676 8.6657 13.3694 8.6656 13.3712L13.8047 8.4714L8.47141 13.8047C8.3428 13.9333 8.17471 13.9984 8.00615 14C8.0041 14 8.00205 14 8 14C7.98934 14 7.97867 13.9997 7.96802 13.9992C7.80822 13.9916 7.65063 13.9268 7.5286 13.8047L2.19526 8.4714C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286C2.45561 7.26825 2.87772 7.26825 3.13807 7.5286L7.33333 11.7239V2.66667C7.33333 2.29848 7.63181 2 8 2C8.36819 2 8.66667 2.29848 8.66667 2.66667V11.7239L12.8619 7.5286C13.1223 7.26825 13.5444 7.26825 13.8047 7.5286Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},79611:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2.19526 8.4714C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286L7.33412 2.6342C7.33421 2.63239 7.3343 2.63057 7.33441 2.62876L2.19526 7.5286L7.5286 2.19526C7.65721 2.06665 7.82529 2.00157 7.99385 2.00003C7.9959 2.00001 7.99795 2 8 2C8.01066 2 8.02133 2.00025 8.03198 2.00076C8.19178 2.00839 8.34937 2.07322 8.4714 2.19526L13.8047 7.5286C14.0651 7.78895 14.0651 8.21106 13.8047 8.4714C13.5444 8.73175 13.1223 8.73175 12.8619 8.4714L8.66667 4.27614V13.3333C8.66667 13.7015 8.36819 14 8 14C7.63181 14 7.33333 13.7015 7.33333 13.3333V4.27614L3.13807 8.4714C2.87772 8.73175 2.45561 8.73175 2.19526 8.4714Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},66995:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M8 6.586l5.293-5.293a1 1 0 0 1 1.414 1.414L9.414 8l5.293 5.293a1 1 0 0 1-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 1 1-1.414-1.414L6.586 8 1.293 2.707a1 1 0 1 1 1.414-1.414L8 6.586z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},5952:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6.25914 3.9476C6.53567 3.83076 6.76197 3.65513 6.94152 3.49539C7.05669 3.39292 7.18212 3.26868 7.28932 3.16249C7.33767 3.1146 7.38234 3.07035 7.42066 3.03346C7.72916 2.73646 7.87696 2.66683 7.99967 2.66683C8.09746 2.66683 8.24753 2.7344 8.57809 3.04753C8.61723 3.0846 8.66154 3.12761 8.70899 3.17367C8.82054 3.28196 8.94953 3.40718 9.0694 3.51161C9.24876 3.66788 9.47719 3.84252 9.75208 3.95248C10.0252 4.06172 10.3022 4.09263 10.5326 4.10266C10.6773 4.10897 10.8469 4.10721 10.9899 4.10573C11.0559 4.10505 11.1163 4.10443 11.1659 4.10468C11.5669 4.10673 11.7009 4.15861 11.7791 4.23709C11.8336 4.2919 11.8827 4.39992 11.8812 4.81614C11.8811 4.85816 11.8804 4.90545 11.8797 4.9563C11.8776 5.10852 11.8751 5.29266 11.8843 5.46209C11.8973 5.70032 11.9346 5.98124 12.0522 6.25963C12.1691 6.53616 12.3447 6.76246 12.5044 6.94201C12.6069 7.05718 12.7312 7.1826 12.8373 7.28981C12.8852 7.33817 12.9295 7.38282 12.9664 7.42115C13.2634 7.72964 13.333 7.87744 13.333 8.00016C13.333 8.12288 13.2634 8.27068 12.9664 8.57917C12.9295 8.61749 12.8853 8.66211 12.8374 8.71044C12.7312 8.81765 12.6069 8.94315 12.5044 9.05832C12.3447 9.23787 12.1691 9.46416 12.0522 9.7407C11.9346 10.019 11.8975 10.2999 11.8848 10.5379C11.8757 10.7075 11.8785 10.8916 11.8808 11.0437C11.8815 11.0943 11.8822 11.1414 11.8824 11.1832C11.8844 11.5993 11.8355 11.7065 11.7818 11.7605C11.7048 11.8379 11.5913 11.8842 11.202 11.883C11.1589 11.8828 11.1104 11.8818 11.0574 11.8806C10.7252 11.8735 10.2154 11.8625 9.75208 12.0478C9.47719 12.1578 9.24876 12.3324 9.0694 12.4887C8.94954 12.5931 8.82065 12.7183 8.7091 12.8265C8.66166 12.8726 8.61722 12.9157 8.57809 12.9528C8.24753 13.2659 8.09746 13.3335 7.99967 13.3335C7.87696 13.3335 7.72916 13.2639 7.42066 12.9669C7.38233 12.93 7.33768 12.8857 7.28932 12.8378C7.18212 12.7316 7.05669 12.6074 6.94152 12.5049C6.76197 12.3452 6.53567 12.1696 6.25914 12.0527C5.98025 11.9349 5.69878 11.896 5.45919 11.8814C5.29079 11.8711 5.1072 11.8721 4.95473 11.8729C4.90179 11.8732 4.85257 11.8735 4.80906 11.8732C4.39175 11.871 4.27756 11.8208 4.2176 11.7605C4.16384 11.7065 4.11491 11.5993 4.11692 11.1832C4.11712 11.1414 4.11783 11.0943 4.11859 11.0437C4.12089 10.8916 4.12366 10.7075 4.11458 10.5379C4.10184 10.2999 4.0647 10.019 3.94711 9.7407C3.83027 9.46416 3.65464 9.23787 3.4949 9.05832C3.39244 8.94315 3.2682 8.81773 3.16201 8.71053C3.11411 8.66217 3.06987 8.6175 3.03297 8.57917C2.73598 8.27068 2.66634 8.12288 2.66634 8.00016C2.66634 7.87744 2.73598 7.72964 3.03297 7.42115C3.06987 7.38283 3.11409 7.33818 3.16198 7.28983C3.26817 7.18263 3.39243 7.05718 3.4949 6.94201C3.65464 6.76246 3.83027 6.53616 3.94711 6.25963C4.0647 5.98131 4.10184 5.70046 4.11458 5.46243C4.12366 5.29287 4.12089 5.10878 4.11859 4.95661C4.11783 4.90602 4.11712 4.8589 4.11692 4.81708C4.11491 4.401 4.16384 4.29387 4.2176 4.2398C4.27756 4.17949 4.39175 4.12935 4.80906 4.1271C4.85256 4.12686 4.90175 4.12713 4.9547 4.12741C5.10717 4.12822 5.29078 4.1292 5.45919 4.11894C5.69878 4.10435 5.98025 4.06543 6.25914 3.9476ZM7.99967 1.3335C7.29479 1.3335 6.80122 1.779 6.49593 2.07292C6.42621 2.14003 6.36692 2.19895 6.31221 2.25331C6.22285 2.34211 6.14569 2.41878 6.05525 2.49924C5.92187 2.61791 5.8223 2.68471 5.74021 2.71939C5.65706 2.75452 5.54391 2.77798 5.37814 2.78807C5.25649 2.79548 5.14266 2.79485 5.00772 2.7941C4.94469 2.79375 4.87705 2.79338 4.80186 2.79378C4.40926 2.79591 3.75807 2.81093 3.2721 3.29969C2.78803 3.78653 2.78174 4.43795 2.7836 4.82353C2.78395 4.89557 2.78493 4.9606 2.78585 5.02124C2.7879 5.15689 2.78961 5.2705 2.78316 5.39117C2.77446 5.55369 2.752 5.66237 2.7189 5.7407C2.68422 5.82279 2.61742 5.92236 2.49875 6.05574C2.41829 6.14618 2.34162 6.22333 2.25282 6.3127C2.19846 6.36741 2.13953 6.42671 2.07243 6.49641C1.77852 6.80171 1.33301 7.29528 1.33301 8.00016C1.33301 8.70505 1.77852 9.19862 2.07243 9.50391C2.13954 9.57362 2.19845 9.63291 2.25282 9.68762C2.34161 9.77698 2.4183 9.85415 2.49875 9.94458C2.61742 10.078 2.68422 10.1775 2.7189 10.2596C2.752 10.338 2.77446 10.4466 2.78316 10.6092C2.78961 10.7298 2.7879 10.8434 2.78585 10.9791C2.78493 11.0397 2.78395 11.1048 2.7836 11.1768C2.78174 11.5624 2.78803 12.2138 3.2721 12.7006C3.75807 13.1894 4.40926 13.2044 4.80186 13.2065C4.87704 13.2069 4.94468 13.2066 5.0077 13.2062C5.14265 13.2055 5.25649 13.2048 5.37814 13.2123C5.54391 13.2223 5.65706 13.2458 5.74021 13.2809C5.8223 13.3156 5.92187 13.3824 6.05525 13.5011C6.14569 13.5815 6.22285 13.6582 6.31222 13.747C6.36692 13.8014 6.42623 13.8603 6.49593 13.9274C6.80122 14.2213 7.29479 14.6668 7.99967 14.6668C8.68889 14.6668 9.1945 14.2055 9.49503 13.9208C9.56141 13.8579 9.61946 13.8014 9.67338 13.749C9.76921 13.6558 9.85202 13.5753 9.94526 13.494C10.0825 13.3745 10.1778 13.3136 10.2473 13.2858C10.4395 13.2089 10.6402 13.211 10.9824 13.2146C11.0486 13.2153 11.1201 13.216 11.1978 13.2163C11.6011 13.2175 12.2317 13.199 12.7273 12.7006C13.2113 12.2138 13.2176 11.5624 13.2157 11.1768C13.2154 11.1049 13.2144 11.0399 13.2135 10.9793C13.2115 10.8437 13.2097 10.7298 13.2162 10.6092C13.2249 10.4466 13.2473 10.338 13.2804 10.2596C13.3151 10.1775 13.3819 10.078 13.5006 9.94458C13.5811 9.85415 13.6577 9.77699 13.7465 9.68762C13.8009 9.63292 13.8598 9.57361 13.9269 9.50391C14.2208 9.19862 14.6663 8.70505 14.6663 8.00016C14.6663 7.29528 14.2208 6.80171 13.9269 6.49641C13.8598 6.42671 13.8009 6.36744 13.7466 6.31273C13.6578 6.22336 13.5811 6.14618 13.5006 6.05574C13.3819 5.92236 13.3151 5.82279 13.2804 5.7407C13.2471 5.66177 13.2245 5.55253 13.2156 5.3896C13.2091 5.26881 13.2106 5.15517 13.2125 5.01961C13.2134 4.95873 13.2143 4.89324 13.2145 4.82089C13.2159 4.43443 13.2085 3.78304 12.7239 3.29631C12.2302 2.80046 11.5826 2.77346 11.1728 2.77136C11.0752 2.77086 10.9931 2.77189 10.9181 2.77283C10.8023 2.77427 10.7035 2.77551 10.5906 2.77059C10.4236 2.76332 10.3185 2.743 10.2473 2.71451C10.1778 2.68674 10.0825 2.62586 9.94526 2.5063C9.85201 2.42506 9.76924 2.34455 9.67339 2.25133C9.61947 2.19889 9.56141 2.14242 9.49503 2.07954C9.1945 1.79486 8.68889 1.3335 7.99967 1.3335ZM9.33301 8.00016C9.33301 7.26378 8.73605 6.66683 7.99967 6.66683C7.2633 6.66683 6.66634 7.26378 6.66634 8.00016C6.66634 8.73654 7.2633 9.3335 7.99967 9.3335C8.73605 9.3335 9.33301 8.73654 9.33301 8.00016ZM10.6663 8.00016C10.6663 9.47292 9.47243 10.6668 7.99967 10.6668C6.52692 10.6668 5.33301 9.47292 5.33301 8.00016C5.33301 6.5274 6.52692 5.3335 7.99967 5.3335C9.47243 5.3335 10.6663 6.5274 10.6663 8.00016Z"/>'};var r=n(5813);e.exports=r(e.exports)},50375:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5zM4 7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7zm6 3a2 2 0 1 1-3.999.001A2 2 0 0 1 10 10zm4.747 2.341a.998.998 0 0 0-1.494 0L10 16l-1.626-1.832a.5.5 0 0 0-.748 0L6 16h12l-3.253-3.659z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},93034:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h36v28H0z"/>         <rect width="32" height="26" x="2" y="1" fill="#9DA5A6" rx="2"/>         <rect width="30" height="24" x="3" y="2" fill="#FFF" rx="1"/>         <path fill="#9DA5A6" fill-rule="nonzero" d="M18.75 18.833l-2.395 3.222a1 1 0 1 1-1.605-1.193l.907-1.22a2.006 2.006 0 0 1-.064-.055s-3.02-2.673-3.024-2.668L7.744 22.29a1 1 0 0 1-1.488-1.336l4.826-5.372a2.013 2.013 0 0 1 2.825-.169l2.945 2.618.296-.395.928-1.248a1.01 1.01 0 0 1 .077-.092l3.45-4.6a1.88 1.88 0 0 1 2.812-.25l6.264 5.796a1 1 0 1 1-1.358 1.468l-6.186-5.723-4.385 5.846zM10 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},11894:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm6 4a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H10zm-1 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H10zm-7 5a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm.89-11.887a.5.5 0 0 0-.89.312v7.15a.5.5 0 0 0 .89.312l2.86-3.575a.5.5 0 0 0 0-.624L3.89 8.113z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},13669:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.0018 0.312501H0.996942C0.445872 0.312501 0 0.730505 0 1.24713V9.68979C0 10.2058 0.445872 10.625 0.996942 10.625H10.0024C10.5529 10.625 11 10.2064 11 9.68979V1.24713C11 1.1243 10.9742 1.00267 10.924 0.8892C10.8738 0.77573 10.8003 0.672646 10.7076 0.585843C10.6149 0.499039 10.5048 0.430218 10.3837 0.383316C10.2626 0.336414 10.1329 0.31235 10.0018 0.312501ZM3.67584 2.31766C4.04098 2.31766 4.3474 2.5883 4.3474 2.93578C4.3474 3.28899 4.04098 3.55505 3.67584 3.55505V3.56766C3.30642 3.56766 3.00917 3.28899 3.00917 2.94381C3.00917 2.5969 3.30642 2.31766 3.67584 2.31766ZM8.1737 8.25344C7.49358 8.25344 7.16391 7.87385 7.16391 7.35551C7.16391 7.20642 7.1841 7.04989 7.23364 6.88991L7.55657 5.79702C7.59816 5.67775 7.60917 5.56479 7.60917 5.46388C7.60917 5.11124 7.37982 4.89966 7.01529 4.89966C6.54985 4.89966 6.24465 5.21101 6.08563 5.81594L5.45382 8.19323H4.34618L4.54618 7.4461C4.21957 7.94668 3.76881 8.25573 3.21101 8.25573C2.537 8.25573 2.22202 7.89335 2.22202 7.34748C2.2247 7.191 2.24437 7.03519 2.28073 6.88245L2.78593 4.95241H2.00428L2.24159 4.13245H4.12232L3.37859 6.88704C3.32966 7.06422 3.31132 7.20757 3.31132 7.31021C3.31132 7.48624 3.40183 7.53727 3.54679 7.56938C3.63609 7.58658 4.33884 7.57569 4.71988 6.78039L5.20795 4.95241H4.41651L4.65566 4.14736H6.36024L6.14067 5.07454C6.4367 4.55906 7.02875 4.06422 7.61223 4.06422C8.23119 4.06422 8.74679 4.48165 8.74679 5.27466C8.74679 5.50401 8.70826 5.73108 8.6367 5.95126L8.31865 7.01663C8.29246 7.10882 8.27708 7.20342 8.27278 7.29874C8.27278 7.48567 8.35596 7.57626 8.49786 7.57626C8.64343 7.57626 8.83609 7.47248 9.04771 6.90424L9.48073 7.06021C9.22752 7.90482 8.7578 8.25344 8.1737 8.25344Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},44819:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M13.0043 5.41667C13.0043 7.94797 10.5043 10 8.83768 10C7.17101 10 4.67101 7.94797 4.67101 5.41667C4.67101 2.88536 6.53649 0.833336 8.83768 0.833336C11.1389 0.833336 13.0043 2.88536 13.0043 5.41667ZM11.3377 5.41667C11.3377 3.6528 10.0725 2.5 8.83768 2.5C7.60289 2.5 6.33768 3.6528 6.33768 5.41667C6.33768 6.12695 6.69657 6.87065 7.30508 7.47629C7.95128 8.11947 8.59479 8.33333 8.83768 8.33333C9.08056 8.33333 9.72407 8.11947 10.3703 7.47629C10.9788 6.87065 11.3377 6.12695 11.3377 5.41667Z" fill="black"/>   <path class="graphic" d="M9.68229 10.8333C9.92306 10.8333 10.162 10.8494 10.3977 10.8808C10.4721 10.7956 10.5499 10.7123 10.6311 10.6311C12.5838 8.67851 15.7496 8.67851 17.7022 10.6311C19.6548 12.5838 19.6548 15.7496 17.7022 17.7022C15.7496 19.6548 12.5838 19.6548 10.6311 17.7022C10.5651 17.6362 10.5013 17.5687 10.4397 17.5H3.83676C2.98192 17.5 2.34692 16.7084 2.53236 15.8739L2.78398 14.7416C2.9294 14.0873 3.20515 13.4689 3.59478 12.9234C4.53166 11.6118 6.04429 10.8333 7.65614 10.8333H9.68229ZM7.65614 12.5C6.58254 12.5 5.57503 13.0185 4.95101 13.8921C4.69148 14.2554 4.50781 14.6673 4.41095 15.1032L4.2487 15.8333H9.45139C9.07176 14.7569 9.07176 13.5764 9.45139 12.5H7.65614ZM17.357 14.1667C17.357 13.7064 16.9839 13.3333 16.5237 13.3333H15V11.8096C15 11.3494 14.6269 10.9763 14.1667 10.9763C13.7064 10.9763 13.3333 11.3494 13.3333 11.8096V13.3333H11.8096C11.3494 13.3333 10.9763 13.7064 10.9763 14.1667C10.9763 14.6269 11.3494 15 11.8096 15H13.3333V16.5237C13.3333 16.9839 13.7064 17.357 14.1667 17.357C14.6269 17.357 15 16.9839 15 16.5237V15H16.5237C16.9839 15 17.357 14.6269 17.357 14.1667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},34061:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12.753 4L9.198 20H7a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-1.753l3.555-16H17a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2h1.753z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},78018:(e,t,n)=>{e.exports={attributes:{width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M15 9C15.5523 9 16 9.44771 16 10V14H18C18.5523 14 19 14.4477 19 15C19 15.5523 18.5523 16 18 16H15C14.4477 16 14 15.5523 14 15V10C14 9.44771 14.4477 9 15 9Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},76767:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M8.3238 2.75064C8.12245 2.63878 7.87763 2.63878 7.67628 2.75064L1.68792 6.07751C1.64715 6.09915 1.6089 6.12489 1.57372 6.15419C1.54546 6.17769 1.51934 6.20337 1.49556 6.23091C1.3945 6.34777 1.33337 6.50012 1.33337 6.66675V11.3334C1.33337 11.7016 1.63185 12.0001 2.00004 12.0001C2.36823 12.0001 2.66671 11.7016 2.66671 11.3334V7.79976L4.66671 8.91087V11.3334C4.66629 11.3439 4.66671 11.3546 4.66671 11.3655C4.66671 12.286 6.15909 13.3655 8.00004 13.3655C9.84099 13.3655 11.3334 12.286 11.3334 11.3655C11.3334 11.3546 11.3332 11.3439 11.3328 11.3334L11.3334 8.91087L14.3238 7.24952C14.5354 7.13194 14.6667 6.90886 14.6667 6.66675C14.6667 6.42464 14.5354 6.20156 14.3238 6.08398L8.3238 2.75064ZM8.00004 9.23744L3.37279 6.66675L8.00004 4.09605L12.6273 6.66675L8.00004 9.23744Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},4718:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.22881 8.9428C3.44776 9.72384 3.44776 10.9902 4.22881 11.7712C5.00986 12.5523 6.27619 12.5523 7.05724 11.7712L8.47145 10.357C8.7318 10.0967 9.15391 10.0967 9.41426 10.357C9.67461 10.6174 9.67461 11.0395 9.41426 11.2998L8.00005 12.714C6.6983 14.0158 4.58775 14.0158 3.286 12.714C1.98426 11.4123 1.98426 9.30173 3.286 7.99999L4.70022 6.58577C4.96057 6.32542 5.38268 6.32542 5.64303 6.58577C5.90337 6.84612 5.90337 7.26823 5.64303 7.52858L4.22881 8.9428ZM6.11443 9.8856C5.85408 9.62526 5.85408 9.20315 6.11443 8.9428L8.94286 6.11437C9.20321 5.85402 9.62532 5.85402 9.88567 6.11437C10.146 6.37472 10.146 6.79683 9.88567 7.05718L7.05724 9.8856C6.79689 10.146 6.37478 10.146 6.11443 9.8856ZM6.58583 4.70016C6.32548 4.96051 6.32548 5.38261 6.58583 5.64296C6.84618 5.90331 7.26829 5.90331 7.52864 5.64296L8.94286 4.22875C9.72391 3.4477 10.9902 3.4477 11.7713 4.22875C12.5523 5.0098 12.5523 6.27613 11.7713 7.05718L10.3571 8.47139C10.0967 8.73174 10.0967 9.15385 10.3571 9.4142C10.6174 9.67455 11.0395 9.67455 11.2999 9.4142L12.7141 7.99999C14.0158 6.69824 14.0158 4.58769 12.7141 3.28594C11.4123 1.98419 9.3018 1.98419 8.00005 3.28594L6.58583 4.70016Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},60623:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7 9a3 3 0 1 0 0 6h3a1 1 0 0 1 0 2H7A5 5 0 0 1 7 7h3a1 1 0 0 1 0 2H7zm1 3a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm6-5a1 1 0 0 0 0 2h3a3 3 0 1 1 0 6h-3a1 1 0 0 0 0 2h3a5 5 0 0 0 0-10h-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12479:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M11.293 3.293a1 1 0 0 1 1.414 0L20.05 11h.008l-7.35-7.708 8 8c.193.193.29.445.293.698V12l-.001.048a.997.997 0 0 1-.292.66l-8 8a1 1 0 0 1-1.414-1.415L17.586 13H4a1 1 0 1 1 0-2h13.586l-6.293-6.293a1 1 0 0 1 0-1.414z"/>'};var r=n(5813);e.exports=r(e.exports)},95161:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm4-2a1 1 0 0 0 0 2h12a1 1 0 0 0 0-2H8zm0 6a1 1 0 0 0 0 2h12a1 1 0 0 0 0-2H8zm-1 7a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm-2-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-1 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},30350:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <circle class="graphic" cx="12" cy="12" r="10" fill="#5C6061"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},98854:(e,t,n)=>{e.exports={attributes:{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.44948 0L6.55052 0C7.12009 0 7.42736 0.668079 7.05669 1.10053L4.50617 4.07613C4.24011 4.38654 3.75989 4.38654 3.49383 4.07613L0.943309 1.10053C0.572639 0.668079 0.879912 0 1.44948 0Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},35235:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M21.12 11.069L3.459 4.158c-.91-.357-1.74.672-1.196 1.486l3.867 5.801c.224.336.224.774 0 1.11l-3.867 5.801c-.543.814.285 1.843 1.196 1.486l17.661-6.911c.848-.331.848-1.531 0-1.862z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},59481:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3.414 10.586l7.172-7.172a2 2 0 0 1 2.828 0l7.172 7.172a2 2 0 0 1 0 2.828l-7.172 7.172a2 2 0 0 1-2.828 0l-7.172-7.172a2 2 0 0 1 0-2.828z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47238:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4.5 4a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V5.707l-.146.147a.502.502 0 0 1-.708-.708l1-1A.502.502 0 0 1 4.5 4zM9 5h11a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm0 6h11a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm-1 7a1 1 0 0 1 1-1h11a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm-3.933-1.75a.5.5 0 1 1-.866-.5 1.5 1.5 0 1 1 2.417 1.75A1.5 1.5 0 1 1 3 18.5a.5.5 0 0 1 1 0 .5.5 0 1 0 .5-.5.5.5 0 0 1 0-1 .5.5 0 1 0-.433-.75zM4.5 10.5a.5.5 0 0 0-.495.428.5.5 0 1 1-.99-.141A1.501 1.501 0 0 1 6 11c0 .427-.179.813-.465 1.085L4.666 13H5.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.362-.845l1.692-1.779.011-.01A.5.5 0 0 0 4.5 10.5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},56987:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},74107:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0-2a8 8 0 1 1 0-16 8 8 0 0 1 0 16z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},60965:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},8941:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M4 4C4 1.79086 5.79086 0 8 0C10.2091 0 12 1.79086 12 4V6H13C14.6569 6 16 7.34315 16 9V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V9C0 7.34315 1.34315 6 3 6H4V4ZM10 4C10 2.89543 9.10457 2 8 2C6.89543 2 6 2.89543 6 4V6H10V4ZM3 8C2.44772 8 2 8.44772 2 9V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V9C14 8.44772 13.5523 8 13 8H3ZM10 12C10 12.7403 9.5978 13.3866 9 13.7324V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V13.7324C6.4022 13.3866 6 12.7403 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z" fill="rgb(0, 161, 183)" fill-opacity="0.6"/>'};var r=n(5813);e.exports=r(e.exports)},72102:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4 4C4 1.79086 5.79086 0 8 0C10.2091 0 12 1.79086 12 4V6H13C14.6569 6 16 7.34315 16 9V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V9C0 7.34315 1.34315 6 3 6H4V4ZM10 4C10 2.89543 9.10457 2 8 2C6.89543 2 6 2.89543 6 4V6H10V4ZM3 8C2.44772 8 2 8.44772 2 9V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V9C14 8.44772 13.5523 8 13 8H3ZM10 12C10 12.7403 9.5978 13.3866 9 13.7324V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V13.7324C6.4022 13.3866 6 12.7403 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},29828:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 1C0 0.447715 0.447715 0 1 0H4C4.55228 0 5 0.447715 5 1C5 1.55228 4.55228 2 4 2H2V4C2 4.55228 1.55228 5 1 5C0.447715 5 0 4.55228 0 4V1ZM9 1C9 0.447715 9.44771 0 10 0H13C13.5523 0 14 0.447715 14 1V4C14 4.55228 13.5523 5 13 5C12.4477 5 12 4.55228 12 4V2H10C9.44771 2 9 1.55228 9 1ZM1 9C1.55228 9 2 9.44771 2 10V12H4C4.55228 12 5 12.4477 5 13C5 13.5523 4.55228 14 4 14H1C0.447715 14 0 13.5523 0 13V10C0 9.44771 0.447715 9 1 9ZM13 9C13.5523 9 14 9.44771 14 10V13C14 13.5523 13.5523 14 13 14H10C9.44771 14 9 13.5523 9 13C9 12.4477 9.44771 12 10 12H12V10C12 9.44771 12.4477 9 13 9Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},37871:(e,t,n)=>{e.exports={attributes:{width:"21",height:"16",viewBox:"0 0 21 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M14.6838 9.05132C15.0921 8.9152 15.5417 9.05566 15.8 9.4L17.5 11.6667L19.2 9.4C19.4583 9.05566 19.9079 8.9152 20.3162 9.05132C20.7246 9.18743 21 9.56957 21 10V15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15V13L18.3 13.9333C18.1111 14.1851 17.8148 14.3333 17.5 14.3333C17.1852 14.3333 16.8889 14.1851 16.7 13.9333L16 13V15C16 15.5523 15.5523 16 15 16C14.4477 16 14 15.5523 14 15V10C14 9.56957 14.2754 9.18743 14.6838 9.05132Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},94384:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 4a8 8 0 1 0 3.555 15.169 1 1 0 1 1 .89 1.791A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10v.571c0 1.297-.317 2.395-.948 3.193A3.199 3.199 0 0 1 18.5 17c-1.216 0-2.192-.685-2.801-1.636A5 5 0 1 1 15 8a1 1 0 0 1 2 0v5c0 1.222.85 2 1.5 2a1.2 1.2 0 0 0 .984-.478c.273-.345.516-.961.516-1.951V12a8 8 0 0 0-8-8zm3 8a3 3 0 1 0-6 0 3 3 0 0 0 6 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},16357:(e,t,n)=>{e.exports={attributes:{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.4714 0.861888C13.7318 1.12224 13.7318 1.54435 13.4714 1.8047L7.47142 7.8047C7.21108 8.06505 6.78897 8.06505 6.52862 7.8047L0.528615 1.8047C0.268266 1.54435 0.268266 1.12224 0.528615 0.861888C0.788965 0.601539 1.21107 0.601539 1.47143 0.861888L7.00002 6.39048L12.5286 0.861888C12.789 0.601539 13.2111 0.601539 13.4714 0.861888Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},63821:(e,t,n)=>{e.exports={attributes:{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 0C4.55228 0 5 0.447715 5 1V4C5 4.55228 4.55228 5 4 5H1C0.447715 5 0 4.55228 0 4C0 3.44772 0.447715 3 1 3H3V1C3 0.447715 3.44772 0 4 0ZM10.5 0C11.0523 0 11.5 0.447715 11.5 1V3H13.5C14.0523 3 14.5 3.44772 14.5 4C14.5 4.55228 14.0523 5 13.5 5H10.5C9.94771 5 9.5 4.55228 9.5 4V1C9.5 0.447715 9.94771 0 10.5 0ZM0 10C0 9.44771 0.447715 9 1 9H4C4.55228 9 5 9.44771 5 10V13C5 13.5523 4.55228 14 4 14C3.44772 14 3 13.5523 3 13V11H1C0.447715 11 0 10.5523 0 10ZM9.5 10C9.5 9.44771 9.94771 9 10.5 9H13.5C14.0523 9 14.5 9.44771 14.5 10C14.5 10.5523 14.0523 11 13.5 11H11.5V13C11.5 13.5523 11.0523 14 10.5 14C9.94771 14 9.5 13.5523 9.5 13V10Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},31958:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M2 8c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},26934:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M2 2H4L7.5 5.5L5.5 2H7.5L11 4.5L9 2H11L14 4L11 14H9L11 4.5L7.5 14H5.5L7.5 5.5L4 14H2L4 6L2 2Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},46605:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M7.5 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},92688:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic" width="11" height="11" rx="1" fill="#5C6061"/>   <path class="graphic_stroke_bg graphic_bg" fill-rule="evenodd" clip-rule="evenodd" d="M4.27444 4.09162C4.4421 4.48418 4.57964 4.91014 4.88142 5.92473L4.88391 5.93307C5.18869 6.95775 5.32589 7.38581 5.50938 7.83045C5.63543 8.13585 5.76037 8.37659 5.897 8.56076C6.09828 8.83209 6.33766 8.99992 6.63376 8.99992C7.02753 8.99992 7.35911 8.8112 7.58923 8.47347C7.77042 8.20748 7.8816 7.86402 7.9424 7.44739C8.03504 6.81257 8.01171 6.00699 7.90265 5.02681C7.77939 3.9186 7.57845 3.02221 7.29363 2.33322C7.17562 2.04777 6.8691 1.92134 6.60896 2.05083C6.34884 2.18033 6.23362 2.5167 6.35163 2.80217C6.58752 3.37277 6.76436 4.16166 6.8759 5.16433C6.97415 6.0476 6.99484 6.76203 6.92103 7.26793C6.88444 7.51871 6.82674 7.69695 6.76077 7.79378C6.74119 7.82253 6.72453 7.84052 6.70449 7.85119C6.70276 7.84895 6.701 7.84659 6.69919 7.84415C6.62859 7.74897 6.54412 7.58625 6.45164 7.36215C6.29005 6.97058 6.15885 6.56128 5.86723 5.58084L5.86475 5.57252C5.54809 4.50793 5.40402 4.06171 5.21111 3.60996C5.07642 3.29453 4.94181 3.05136 4.79023 2.87167C4.55843 2.59684 4.26896 2.4538 3.94268 2.53586C3.59719 2.62276 3.353 2.90101 3.20629 3.30131C3.09221 3.61263 3.02918 4.01532 3.00803 4.5188C2.96864 5.45512 3.07431 6.78482 3.32264 8.52041C3.36694 8.83005 3.63161 9.04166 3.91379 8.99305C4.19597 8.94444 4.3888 8.65399 4.3445 8.34432C4.10605 6.6778 4.00579 5.4159 4.04132 4.57113C4.05521 4.24081 4.08973 3.98467 4.13918 3.80852C4.18103 3.88469 4.22654 3.97944 4.27444 4.09162Z" stroke="white" stroke-width="0.2"/>'};var r=n(5813);e.exports=r(e.exports)},36771:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M0.500061 6C0.500061 2.96243 2.96249 0.5 6.00006 0.5C9.03763 0.5 11.5001 2.96243 11.5001 6C11.5001 9.03757 9.03763 11.5 6.00006 11.5C2.96249 11.5 0.500061 9.03757 0.500061 6Z" stroke="#AEB7B8"/>   <path d="M6.00002 6.00002C8.34317 3.65686 8.37091 3.62912 10.2427 1.75736C7.89952 -0.585793 4.10052 -0.585793 1.75736 1.75736C-0.585795 4.10052 -0.585795 7.89952 1.75736 10.2427C3.62912 8.37092 3.65686 8.34317 6.00002 6.00002Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},99562:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6Z" stroke="#EDEDED"/>   <path d="M6.00004 5.99998C3.65689 8.34314 3.62915 8.37088 1.75739 10.2426C4.10054 12.5858 7.89955 12.5858 10.2427 10.2426C12.5859 7.89948 12.5859 4.10048 10.2427 1.75732C8.37094 3.62908 8.3432 3.65683 6.00004 5.99998Z" fill="#404B4C"/>'};var r=n(5813);e.exports=r(e.exports)},42477:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g class="graphic_stroke" fill="none" fill-rule="nonzero" stroke="#5C6061" stroke-width="1.333">         <circle cx="8" cy="8" r="7.333"/>         <path stroke-linecap="square" d="M3.333 12.667l9.334-9.334"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},8386:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M4.667 1.333a2 2 0 0 0-2 2v9.334a2 2 0 0 0 2 2h6.666a2 2 0 0 0 2-2V3.333a2 2 0 0 0-2-2H4.667zm-.667 2c0-.368.299-.666.667-.666h6.666c.368 0 .667.298.667.666v9.334a.667.667 0 0 1-.667.666H4.667A.667.667 0 0 1 4 12.667V3.333zM6 4a.667.667 0 0 0 0 1.333h4A.667.667 0 0 0 10 4H6zm-.667 3.333c0-.368.299-.666.667-.666h4A.667.667 0 0 1 10 8H6a.667.667 0 0 1-.667-.667zm.667 2a.667.667 0 0 0 0 1.334h2.667a.667.667 0 0 0 0-1.334H6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},7306:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M4 3a1 1 0 0 0 0 2h16a1 1 0 1 0 0-2H4zm6 4a1 1 0 0 0 0 2h10a1 1 0 1 0 0-2H10zm-1 5a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1zm1 3a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H10zm-7 5a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1zm3.11-4.113a.5.5 0 0 0 .89-.312v-7.15a.5.5 0 0 0-.89-.312l-2.86 3.575a.5.5 0 0 0 0 .624l2.86 3.575z"/>'};var r=n(5813);e.exports=r(e.exports)},68234:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4C14 2.89543 13.1046 2 12 2H4ZM12 3.33333H4C3.63181 3.33333 3.33333 3.63181 3.33333 4V12C3.33333 12.3682 3.63181 12.6667 4 12.6667H12C12.3682 12.6667 12.6667 12.3682 12.6667 12V4C12.6667 3.63181 12.3682 3.33333 12 3.33333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},69435:(e,t,n)=>{e.exports={attributes:{width:"7",height:"14",viewBox:"0 0 7 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.80346 4.98904C1.78031 4.97102 1.75769 4.95282 1.73564 4.93441C1.50696 4.74347 1.31117 4.51221 1.17845 4.21436C1.04746 3.92039 0.995605 3.60128 0.995605 3.25826C0.995605 1.78514 2.19097 0.590942 3.66552 0.590942C5.14007 0.590942 6.33543 1.78514 6.33543 3.25826C6.33543 3.62654 6.03659 3.92509 5.66796 3.92509C5.29932 3.92509 5.00048 3.62654 5.00048 3.25826C5.00048 2.5217 4.4028 1.9246 3.66552 1.9246C2.92824 1.9246 2.33056 2.5217 2.33056 3.25826C2.33056 3.46766 2.36215 3.59146 2.39802 3.67197C2.43217 3.7486 2.48668 3.82338 2.59174 3.9111C2.80358 4.08798 3.10896 4.23895 3.61983 4.49152C3.7236 4.54282 3.83596 4.59836 3.95762 4.65912C3.95976 4.66018 3.9619 4.66124 3.96404 4.66231C4.06208 4.71129 4.16009 4.75942 4.25727 4.80713C4.76491 5.0564 5.24972 5.29446 5.59539 5.58308C5.82407 5.77402 6.01986 6.00527 6.15259 6.30312C6.28358 6.59709 6.33543 6.9162 6.33543 7.25922C6.33543 7.91312 6.14432 8.73277 5.70168 9.32347C5.64876 9.3941 5.59078 9.46328 5.52759 9.5294C5.55073 9.54741 5.57335 9.56561 5.5954 9.58402C5.82408 9.77496 6.01986 10.0062 6.15259 10.3041C6.28358 10.598 6.33543 10.9172 6.33543 11.2602C6.33543 12.7333 5.14007 13.9275 3.66552 13.9275C2.19097 13.9275 0.995605 12.7333 0.995605 11.2602C0.995605 10.8919 1.29445 10.5933 1.66308 10.5933C2.03172 10.5933 2.33056 10.8919 2.33056 11.2602C2.33056 11.9967 2.92824 12.5938 3.66552 12.5938C4.4028 12.5938 5.00048 11.9967 5.00048 11.2602C5.00048 11.0508 4.96889 10.927 4.93302 10.8465C4.89887 10.7698 4.84436 10.6951 4.7393 10.6073C4.52746 10.4305 4.22208 10.2795 3.71121 10.0269C3.60831 9.97605 3.49675 9.92089 3.37627 9.86074L3.36701 9.85613C3.26899 9.80717 3.17099 9.75905 3.07382 9.71134C2.56617 9.46207 2.08132 9.224 1.73564 8.93537C1.50697 8.74443 1.31118 8.51317 1.17845 8.21532C1.04746 7.92135 0.995605 7.60224 0.995605 7.25922C0.995605 6.60532 1.18671 5.78567 1.62936 5.19496C1.68228 5.12434 1.74026 5.05515 1.80346 4.98904ZM3.36256 5.85295C3.14984 5.74768 3.02999 5.75981 2.96932 5.77677C2.89844 5.79659 2.80352 5.85344 2.69803 5.99421C2.47319 6.29426 2.33056 6.80828 2.33056 7.25922C2.33056 7.46862 2.36215 7.59242 2.39802 7.67293C2.43217 7.74955 2.48668 7.82433 2.59174 7.91205C2.80356 8.08892 3.10891 8.23988 3.6197 8.49241L3.62032 8.49272C3.72447 8.54421 3.83717 8.59993 3.95935 8.66094L3.96403 8.66326L3.97073 8.6666C4.18204 8.77067 4.30126 8.75857 4.36172 8.74167C4.4326 8.72185 4.52752 8.665 4.63301 8.52422C4.85785 8.22418 5.00048 7.71016 5.00048 7.25922C5.00048 7.04982 4.96889 6.92602 4.93302 6.84552C4.89888 6.7689 4.84436 6.69412 4.7393 6.6064C4.52749 6.42954 4.22216 6.27859 3.71141 6.02607C3.60665 5.97428 3.4931 5.91814 3.37009 5.8567C3.36906 5.8562 3.36804 5.85569 3.36701 5.85518C3.36553 5.85443 3.36404 5.85369 3.36256 5.85295Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},36419:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 9a6 6 0 0 1 6-6h9a1 1 0 0 1 0 2h-3.057v15a.943.943 0 1 1-1.886 0V5h-2.114v15a.943.943 0 1 1-1.886 0v-5H10a6 6 0 0 1-6-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},46015:(e,t,n)=>{e.exports={attributes:{width:"54",height:"54",viewBox:"0 0 54 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<circle cx="27" cy="27" r="27" fill="black" fill-opacity="0.32"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M24 19.5C24 17.8431 22.6569 16.5 21 16.5C19.3431 16.5 18 17.8431 18 19.5V34.5C18 36.1569 19.3431 37.5 21 37.5C22.6569 37.5 24 36.1569 24 34.5V19.5ZM36 19.5C36 17.8431 34.6569 16.5 33 16.5C31.3431 16.5 30 17.8431 30 19.5V34.5C30 36.1569 31.3431 37.5 33 37.5C34.6569 37.5 36 36.1569 36 34.5V19.5Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},10231:(e,t,n)=>{e.exports={attributes:{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M16.3189 32C25.1555 32 32.3189 24.8366 32.3189 16C32.3189 7.16344 25.1555 0 16.3189 0C7.48235 0 0.318909 7.16344 0.318909 16C0.318909 24.8366 7.48235 32 16.3189 32Z" fill="#00A1B7"/> <rect class="player2" x="18.3189" y="11" width="2" height="10" rx="1" fill="white"/> <rect class="player2" x="12.3189" y="11" width="2" height="10" rx="1" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},26143:(e,t,n)=>{e.exports={attributes:{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C4 0.89543 3.10457 0 2 0C0.89543 0 0 0.89543 0 2V12C0 13.1046 0.89543 14 2 14C3.10457 14 4 13.1046 4 12V2ZM12 2C12 0.89543 11.1046 0 10 0C8.89543 0 8 0.89543 8 2V12C8 13.1046 8.89543 14 10 14C11.1046 14 12 13.1046 12 12V2Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},68278:(e,t,n)=>{e.exports={attributes:{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M16.6472 3.83988C15.6711 2.86334 14.0884 2.86326 13.1123 3.8397L11.8314 5.12111C11.8262 5.12606 11.821 5.13109 11.8159 5.13621C11.8107 5.14139 11.8056 5.14663 11.8006 5.15192L2.74401 14.2117C2.58776 14.368 2.49999 14.58 2.5 14.8011L2.50013 17.2764C2.50014 17.4974 2.58793 17.7094 2.74419 17.8658C2.90046 18.0221 3.11239 18.1099 3.33336 18.1099L5.80776 18.11C6.02873 18.11 6.24064 18.0222 6.39688 17.8659L16.7652 7.49389C17.7413 6.51746 17.7412 4.93426 16.7651 3.95773L16.6472 3.83988ZM12.4055 6.90432L13.7019 8.2007L5.46254 16.443L4.16645 16.443L4.16639 15.1464L12.4055 6.90432ZM14.8802 7.02198L13.5838 5.7256L14.2907 5.01848C14.6161 4.693 15.1436 4.69303 15.469 5.01854L15.5868 5.13639C15.9122 5.4619 15.9122 5.98963 15.5869 6.31511L14.8802 7.02198Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},53686:(e,t,n)=>{e.exports={attributes:{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.00001 3.99999C8.00001 4.56822 7.71289 5.16318 7.22609 5.64769C6.70912 6.16223 6.19432 6.33333 6.00001 6.33333C5.8057 6.33333 5.2909 6.16223 4.77393 5.64769C4.28713 5.16318 4.00001 4.56822 4.00001 3.99999C4.00001 2.5889 5.01218 1.66666 6.00001 1.66666C6.98784 1.66666 8.00001 2.5889 8.00001 3.99999ZM9.33334 3.99999C9.33334 6.02504 7.33334 7.66666 6.00001 7.66666C4.66668 7.66666 2.66668 6.02504 2.66668 3.99999C2.66668 1.97495 4.15906 0.333328 6.00001 0.333328C7.84096 0.333328 9.33334 1.97495 9.33334 3.99999ZM5.05478 9.66666H6.6757C7.55016 9.66666 8.38096 10.0488 8.95005 10.7127C9.27003 11.086 9.4932 11.5324 9.59986 12.0123L9.67119 12.3333H2.32883L2.45863 11.7492C2.53612 11.4005 2.68306 11.071 2.89068 10.7803C3.38989 10.0814 4.1959 9.66666 5.05478 9.66666ZM1.8057 10.0054C2.5552 8.95607 3.7653 8.33333 5.05478 8.33333H6.6757C7.93939 8.33333 9.13999 8.88552 9.96239 9.84499C10.4248 10.3845 10.7473 11.0295 10.9014 11.7231L11.0774 12.5147C11.2087 13.1059 10.7589 13.6667 10.1533 13.6667H1.99928C1.31541 13.6667 0.807406 13.0334 0.95576 12.3658L1.15705 11.46C1.27339 10.9365 1.49399 10.4418 1.8057 10.0054Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},4421:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm8 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm6 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},88398:(e,t,n)=>{e.exports={attributes:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0)"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="#00A1B7"/> <path d="M12.0834 9.16663C10.9622 9.16663 10.4864 10.5939 11.3834 11.2666L11.85 11.6166C11.9969 11.7268 12.0834 11.8997 12.0834 12.0833V14.4166C12.0834 14.6002 11.9969 14.7731 11.85 14.8833L11.3834 15.2333C10.4864 15.906 10.9622 17.3333 12.0834 17.3333H14.4167V20.25C14.4167 20.5721 14.6779 20.8333 15 20.8333C15.3222 20.8333 15.5834 20.5721 15.5834 20.25V17.3333H17.9167C19.0379 17.3333 19.5136 15.906 18.6167 15.2333L18.15 14.8833C18.0031 14.7731 17.9167 14.6002 17.9167 14.4166V12.0833C17.9167 11.8997 18.0031 11.7268 18.15 11.6166L18.6167 11.2666C19.5136 10.5939 19.0379 9.16663 17.9167 9.16663H12.0834ZM12.0834 10.3333H17.9167L17.45 10.6833C17.0094 11.0138 16.75 11.5325 16.75 12.0833V14.4166C16.75 14.9675 17.0094 15.4861 17.45 15.8166L17.9167 16.1666H12.0834L12.55 15.8166C12.9907 15.4861 13.25 14.9675 13.25 14.4166V12.0833C13.25 11.5325 12.9907 11.0138 12.55 10.6833L12.0834 10.3333Z" fill="#F5F8FA"/> </g> <defs> <clipPath id="clip0"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="white"/> </clipPath> </defs>'};var r=n(5813);e.exports=r(e.exports)},7393:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.33333 0.666667C1.33333 1.03486 1.03486 1.33333 0.666667 1.33333C0.298477 1.33333 0 1.03486 0 0.666667C0 0.298477 0.298477 0 0.666667 0C1.03486 0 1.33333 0.298477 1.33333 0.666667ZM4 0.666667C4 1.03486 3.70152 1.33333 3.33333 1.33333C2.96514 1.33333 2.66667 1.03486 2.66667 0.666667C2.66667 0.298477 2.96514 0 3.33333 0C3.70152 0 4 0.298477 4 0.666667ZM9.33333 0.666667C9.33333 1.03486 9.03486 1.33333 8.66667 1.33333C8.29848 1.33333 8 1.03486 8 0.666667C8 0.298477 8.29848 0 8.66667 0C9.03486 0 9.33333 0.298477 9.33333 0.666667ZM6 1.33333C6.36819 1.33333 6.66667 1.03486 6.66667 0.666667C6.66667 0.298477 6.36819 0 6 0C5.63181 0 5.33333 0.298477 5.33333 0.666667C5.33333 1.03486 5.63181 1.33333 6 1.33333ZM0.666667 6.66667C1.03486 6.66667 1.33333 6.36819 1.33333 6C1.33333 5.63181 1.03486 5.33333 0.666667 5.33333C0.298477 5.33333 0 5.63181 0 6C0 6.36819 0.298477 6.66667 0.666667 6.66667ZM1.33333 3.33333C1.33333 3.70152 1.03486 4 0.666667 4C0.298477 4 0 3.70152 0 3.33333C0 2.96514 0.298477 2.66667 0.666667 2.66667C1.03486 2.66667 1.33333 2.96514 1.33333 3.33333ZM0.666667 12C1.03486 12 1.33333 11.7015 1.33333 11.3333C1.33333 10.9651 1.03486 10.6667 0.666667 10.6667C0.298477 10.6667 0 10.9651 0 11.3333C0 11.7015 0.298477 12 0.666667 12ZM1.33333 8.66667C1.33333 9.03486 1.03486 9.33333 0.666667 9.33333C0.298477 9.33333 0 9.03486 0 8.66667C0 8.29848 0.298477 8 0.666667 8C1.03486 8 1.33333 8.29848 1.33333 8.66667ZM3.33333 12C3.70152 12 4 11.7015 4 11.3333C4 10.9651 3.70152 10.6667 3.33333 10.6667C2.96514 10.6667 2.66667 10.9651 2.66667 11.3333C2.66667 11.7015 2.96514 12 3.33333 12ZM9.33333 11.3333C9.33333 11.7015 9.03486 12 8.66667 12C8.29848 12 8 11.7015 8 11.3333C8 10.9651 8.29848 10.6667 8.66667 10.6667C9.03486 10.6667 9.33333 10.9651 9.33333 11.3333ZM11.3333 12C11.7015 12 12 11.7015 12 11.3333C12 10.9651 11.7015 10.6667 11.3333 10.6667C10.9651 10.6667 10.6667 10.9651 10.6667 11.3333C10.6667 11.7015 10.9651 12 11.3333 12ZM6.66667 11.3333C6.66667 11.7015 6.36819 12 6 12C5.63181 12 5.33333 11.7015 5.33333 11.3333C5.33333 10.9651 5.63181 10.6667 6 10.6667C6.36819 10.6667 6.66667 10.9651 6.66667 11.3333ZM11.3333 9.33333C11.7015 9.33333 12 9.03486 12 8.66667C12 8.29848 11.7015 8 11.3333 8C10.9651 8 10.6667 8.29848 10.6667 8.66667C10.6667 9.03486 10.9651 9.33333 11.3333 9.33333ZM12 6C12 6.36819 11.7015 6.66667 11.3333 6.66667C10.9651 6.66667 10.6667 6.36819 10.6667 6C10.6667 5.63181 10.9651 5.33333 11.3333 5.33333C11.7015 5.33333 12 5.63181 12 6ZM11.3333 1.33333C11.7015 1.33333 12 1.03486 12 0.666667C12 0.298477 11.7015 0 11.3333 0C10.9651 0 10.6667 0.298477 10.6667 0.666667C10.6667 1.03486 10.9651 1.33333 11.3333 1.33333ZM12 3.33333C12 3.70152 11.7015 4 11.3333 4C10.9651 4 10.6667 3.70152 10.6667 3.33333C10.6667 2.96514 10.9651 2.66667 11.3333 2.66667C11.7015 2.66667 12 2.96514 12 3.33333ZM2.66667 3.33333C2.66667 2.96514 2.96514 2.66667 3.33333 2.66667H8.66667C9.03486 2.66667 9.33333 2.96514 9.33333 3.33333C9.33333 3.70152 9.03486 4 8.66667 4H6.66667V8.66667C6.66667 9.03486 6.36819 9.33333 6 9.33333C5.63181 9.33333 5.33333 9.03486 5.33333 8.66667V4H3.33333C2.96514 4 2.66667 3.70152 2.66667 3.33333Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},69499:(e,t,n)=>{e.exports={attributes:{width:"19",height:"22",viewBox:"0 0 19 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M18.1667 9.55666C19.2778 10.1982 19.2778 11.8019 18.1667 12.4434L3.16666 21.1037C2.05554 21.7452 0.666656 20.9433 0.666656 19.6603L0.666657 2.33978C0.666657 1.05678 2.05555 0.254901 3.16666 0.896401L18.1667 9.55666Z" fill="#00BCD4"/>'};var r=n(5813);e.exports=r(e.exports)},51195:(e,t,n)=>{e.exports={attributes:{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M16.3189 32C25.1555 32 32.3189 24.8366 32.3189 16C32.3189 7.16344 25.1555 0 16.3189 0C7.48235 0 0.318909 7.16344 0.318909 16C0.318909 24.8366 7.48235 32 16.3189 32Z" fill="#00A1B7"/> <path class="player2" d="M23.0538 15.5606C23.4073 15.7559 23.4073 16.2441 23.0538 16.4394L13.1141 21.9313C12.7607 22.1265 12.3189 21.8825 12.3189 21.4919L12.3189 10.5081C12.3189 10.1175 12.7607 9.87346 13.1141 10.0687L23.0538 15.5606Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},1250:(e,t,n)=>{e.exports={attributes:{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.53688 0.978013C0.871153 0.55437 0 1.03258 0 1.82167V12.1783C0 12.9674 0.87115 13.4456 1.53688 13.022L9.67424 7.84366C10.2917 7.45071 10.2917 6.54929 9.67425 6.15634L1.53688 0.978013Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},25637:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M8 0C8.55228 0 9 0.447714 9 0.999999L9.00001 12.5858L14.2929 7.29289C14.6834 6.90237 15.3166 6.90237 15.7071 7.29289C16.0976 7.68342 16.0976 8.31658 15.7071 8.70711L8.71049 15.7037C8.69991 15.7144 8.68909 15.7249 8.67804 15.735C8.59151 15.815 8.49429 15.8768 8.39122 15.9206C8.27192 15.9713 8.14074 15.9996 8.00301 16L8.00002 16L7.99078 16C7.86178 15.9988 7.73861 15.9732 7.62569 15.9276C7.50456 15.8788 7.39106 15.8053 7.29289 15.7071L0.292893 8.70711C-0.0976311 8.31658 -0.0976311 7.68342 0.292893 7.29289C0.683417 6.90237 1.31658 6.90237 1.70711 7.29289L7.00001 12.5858L7 1C7 0.447716 7.44771 0 8 0Z" fill="white"/>   <path class="graphic" d="M1 18C0.447715 18 7.45058e-09 18.4477 7.45058e-09 19C7.45058e-09 19.5523 0.447715 20 1 20L15 20C15.5523 20 16 19.5523 16 19C16 18.4477 15.5523 18 15 18L1 18Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},47137:(e,t,n)=>{e.exports={attributes:{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M12.2292 3.14583C12.2292 2.6856 11.8562 2.3125 11.3959 2.3125C10.9357 2.3125 10.5626 2.6856 10.5626 3.14583L10.5626 18.1458C10.5626 18.6061 10.9357 18.9792 11.3959 18.9792C11.8562 18.9792 12.2292 18.6061 12.2292 18.1458V3.14583Z" fill="white"/>   <path d="M8.89592 3.97917H4.72925C3.34854 3.97917 2.22925 5.09845 2.22925 6.47917V14.8125C2.22925 16.1932 3.34854 17.3125 4.72925 17.3125H8.89592C9.35615 17.3125 9.72925 16.9394 9.72925 16.4792C9.72925 16.0189 9.35615 15.6458 8.89592 15.6458H4.72925C4.26901 15.6458 3.89591 15.2727 3.89591 14.8125V6.47917C3.89591 6.01893 4.26901 5.64583 4.72925 5.64583H8.89592C9.35615 5.64583 9.72925 5.27274 9.72925 4.8125C9.72925 4.35226 9.35615 3.97917 8.89592 3.97917Z" fill="white"/>   <path d="M16.3959 15.6458H13.8959C13.4357 15.6458 13.0626 16.0189 13.0626 16.4792C13.0626 16.9394 13.4357 17.3125 13.8959 17.3125H16.3959C17.7766 17.3125 18.8959 16.1932 18.8959 14.8125V6.47917C18.8959 5.09845 17.7766 3.97917 16.3959 3.97917H13.8959C13.4357 3.97917 13.0626 4.35226 13.0626 4.8125C13.0626 5.27274 13.4357 5.64583 13.8959 5.64583H16.3959C16.8562 5.64583 17.2292 6.01893 17.2292 6.47917V14.8125C17.2292 15.2727 16.8562 15.6458 16.3959 15.6458Z" fill="white"/>   <path d="M13.8959 7.3125C13.4357 7.3125 13.0626 7.6856 13.0626 8.14583C13.0626 8.60607 13.4357 8.97917 13.8959 8.97917H15.5626C16.0228 8.97917 16.3959 8.60607 16.3959 8.14583C16.3959 7.6856 16.0228 7.3125 15.5626 7.3125H13.8959Z" fill="white"/>   <path d="M13.0626 13.1458C13.0626 12.6856 13.4357 12.3125 13.8959 12.3125H15.5626C16.0228 12.3125 16.3959 12.6856 16.3959 13.1458C16.3959 13.6061 16.0228 13.9792 15.5626 13.9792H13.8959C13.4357 13.9792 13.0626 13.6061 13.0626 13.1458Z" fill="white"/>   <path d="M13.8959 9.8125C13.4357 9.8125 13.0626 10.1856 13.0626 10.6458C13.0626 11.1061 13.4357 11.4792 13.8959 11.4792H15.5626C16.0228 11.4792 16.3959 11.1061 16.3959 10.6458C16.3959 10.1856 16.0228 9.8125 15.5626 9.8125H13.8959Z" fill="white"/>   <path d="M8.9625 10.4661C9.22917 10.62 9.22917 11.005 8.9625 11.1589L6.4125 12.6312C6.14583 12.7851 5.8125 12.5927 5.8125 12.2847V9.34026C5.8125 9.03234 6.14583 8.83989 6.4125 8.99385L8.9625 10.4661Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},36520:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M9 7h4a1 1 0 0 1 0 2H9v4a1 1 0 0 1-2 0V9H3a1 1 0 1 1 0-2h4V3a1 1 0 1 1 2 0v4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},14211:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"10",viewBox:"0 0 21 10"},content:'<g fill="none" fill-rule="evenodd">         <path fill="#ED5454" d="M3 0h1v10H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z"/>         <path fill="#8BC34A" d="M18 0h-1v10h1a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3z"/>         <path fill="#FDA639" d="M4 0h13v10H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},49962:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"10",viewBox:"0 0 21 10"},content:'<g fill="none" fill-rule="evenodd">         <rect width="21" height="10" fill="#F5F5F5" rx="3"/>         <path fill="#8BC34A" d="M3 0h13v10H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},54958:(e,t,n)=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.89543 2 2 2.89543 2 4V6C2 7.10457 2.89543 8 4 8H20C21.1046 8 22 7.10457 22 6V4C22 2.89543 21.1046 2 20 2H4ZM8 4H20V6H8V4Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 11C2 9.89543 2.89543 9 4 9H20C21.1046 9 22 9.89543 22 11V13C22 14.1046 21.1046 15 20 15H4C2.89543 15 2 14.1046 2 13V11ZM20 11H12V13H20V11Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 16.8954 2.89543 16 4 16H20C21.1046 16 22 16.8954 22 18V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V18ZM16 18H20V20H16V18Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},38312:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M11.375 4.37437L10.5059 5.24354L8.75586 3.49354L9.62503 2.62437C9.87003 2.37937 10.185 2.2627 10.5 2.2627C10.815 2.2627 11.13 2.37937 11.375 2.62437C11.8592 3.10854 11.8592 3.8902 11.375 4.37437Z" fill="black"/>   <path class="graphic" d="M10.0967 5.65788L3.79086 11.9579C3.30669 12.442 2.52503 12.442 2.04086 11.9579C1.55669 11.4737 1.55669 10.692 2.04086 10.2079L8.34672 3.90788L10.0967 5.65788Z" fill="black"/>   <path class="graphic" d="M5.80511 2.04197L6.04427 1.23113C6.06761 1.1553 6.04427 1.07363 5.99177 1.0153C5.93927 0.956966 5.84594 0.933633 5.77011 0.956966L4.95928 1.19613L4.14845 0.956966C4.07261 0.933633 3.99095 0.956966 3.93261 1.00947C3.87428 1.0678 3.85678 1.14947 3.88011 1.2253L4.11345 2.04197L3.87428 2.8528C3.85095 2.92863 3.87428 3.0103 3.92678 3.06863C3.98511 3.12697 4.06678 3.14447 4.14261 3.12113L4.95928 2.8878L5.77011 3.12697C5.79345 3.1328 5.81095 3.13863 5.83427 3.13863C5.89261 3.13863 5.94511 3.1153 5.99177 3.07447C6.05011 3.01613 6.06761 2.93447 6.04427 2.85863L5.80511 2.04197Z" fill="black"/>   <path class="graphic" d="M3.47113 5.54197L3.71029 4.73113C3.73363 4.65529 3.71029 4.57363 3.65779 4.5153C3.59946 4.45697 3.51779 4.43947 3.44196 4.4628L2.62529 4.69613L1.81446 4.45697C1.73862 4.43363 1.65696 4.45697 1.59863 4.50947C1.54029 4.5678 1.52279 4.64947 1.54613 4.7253L1.77946 5.54197L1.54029 6.35279C1.51696 6.42863 1.54029 6.51029 1.59279 6.56863C1.65113 6.62696 1.73279 6.64446 1.80862 6.62113L2.61946 6.38196L3.43029 6.62113C3.44779 6.62696 3.47113 6.62696 3.49446 6.62696C3.55279 6.62696 3.60529 6.60363 3.65196 6.56279C3.71029 6.50446 3.72779 6.42279 3.70446 6.34696L3.47113 5.54197Z" fill="black"/>   <path class="graphic" d="M12.2202 8.45834L12.4593 7.6475C12.4827 7.57167 12.4593 7.49 12.4068 7.43167C12.3485 7.37334 12.2668 7.35584 12.191 7.37917L11.3802 7.61834L10.5693 7.37917C10.4935 7.35584 10.4118 7.37917 10.3535 7.43167C10.2952 7.49 10.2777 7.57167 10.301 7.6475L10.5402 8.45834L10.301 9.26917C10.2777 9.34501 10.301 9.42667 10.3535 9.485C10.4118 9.54334 10.4935 9.56084 10.5693 9.5375L11.3802 9.29834L12.191 9.5375C12.2085 9.54334 12.2318 9.54334 12.2552 9.54334C12.3135 9.54334 12.366 9.52 12.4127 9.47917C12.471 9.42084 12.4885 9.33917 12.4652 9.26334L12.2202 8.45834Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},40286:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphics" fill="#AEB7B8" fill-rule="evenodd" d="M13.333 8A5.333 5.333 0 1 1 2.667 8a5.333 5.333 0 0 1 10.666 0zm1.334 0A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0zM6.998 5.735a1.406 1.406 0 0 0-.331.932.667.667 0 0 1-1.334 0c0-.642.214-1.306.669-1.818C6.468 4.324 7.152 4 8 4c1.687 0 2.667 1.357 2.667 2.667 0 .417-.106.781-.372 1.116-.232.292-.565.532-.925.772-.472.314-.624.498-.673.58-.026.042-.03.05-.03.198a.667.667 0 0 1-1.334 0v-.01c0-.187 0-.507.22-.874.201-.335.549-.651 1.077-1.004.369-.246.535-.383.621-.491.052-.065.082-.125.082-.287 0-.69-.495-1.334-1.333-1.334-.486 0-.801.176-1.002.402zm1.669 5.598a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0z"/>'};var r=n(5813);e.exports=r(e.exports)},67308:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7.608 13.954a9.589 9.589 0 0 1-1.255 1.265 7.536 7.536 0 0 1-1.765 1.118 1 1 0 1 0 .824 1.822 9.455 9.455 0 0 0 2.235-1.416C9.639 15.051 11 12.969 11 10a4 4 0 1 0-3.392 3.954zm8.745 1.265a9.589 9.589 0 0 0 1.255-1.265A4 4 0 1 1 21 10c0 2.969-1.361 5.051-3.353 6.743a9.455 9.455 0 0 1-2.235 1.416.999.999 0 1 1-.824-1.822 7.536 7.536 0 0 0 1.765-1.118z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},8507:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#00a1b7" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},80764:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#AEB7B8" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},98763:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#e8e8e8" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},55009:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#ed5454" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71138:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#00a1b7" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},85625:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#AEB7B8" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},16030:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#e8e8e8" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},61335:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#ed5454" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},37322:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#00a1b7" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},75851:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#AEB7B8" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},4735:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#e8e8e8" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},76936:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#fda639" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},14698:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0002 32C24.8368 32 32.0002 24.8366 32.0002 16C32.0002 7.16344 24.8368 0 16.0002 0C7.16369 0 0.000244141 7.16344 0.000244141 16C0.000244141 24.8366 7.16369 32 16.0002 32Z" fill="#00A1B7"/> <rect x="11.0002" y="11" width="10" height="10" rx="5" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},20065:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.58963 3.36764C4.85564 3.10011 5.28727 3.10011 5.55328 3.36764C5.81876 3.63464 5.81876 4.06716 5.55328 4.33416L4.65667 5.23596H10.5572C12.8277 5.23596 14.6667 7.0869 14.6667 9.36814C14.6667 11.6494 12.8277 13.5003 10.5572 13.5003H5.75717C5.3802 13.5003 5.07622 13.1932 5.07622 12.8164C5.07622 12.4396 5.3802 12.1325 5.75717 12.1325H10.5572C12.0737 12.1325 13.3048 10.8958 13.3048 9.36814C13.3048 7.84052 12.0737 6.60377 10.5572 6.60377H4.65667L5.55328 7.50557C5.81876 7.77258 5.81876 8.20506 5.55328 8.47207C5.28727 8.73961 4.85564 8.73961 4.58963 8.47207L2.53249 6.40312C2.267 6.13612 2.267 5.70361 2.53249 5.43661L4.58963 3.36764Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},88170:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z" fill="#00A1B7"/> <path d="M15.3333 9.33337C14.2288 9.33337 13.3333 10.2288 13.3333 11.3334V12H11.3333C10.9651 12 10.6667 12.2985 10.6667 12.6667C10.6667 13.0349 10.9651 13.3334 11.3333 13.3334V20.6667C11.3333 21.7713 12.2288 22.6667 13.3333 22.6667H18.6667C19.7712 22.6667 20.6667 21.7713 20.6667 20.6667V13.3334C21.0348 13.3334 21.3333 13.0349 21.3333 12.6667C21.3333 12.2985 21.0348 12 20.6667 12H18.6667V11.3334C18.6667 10.2288 17.7712 9.33337 16.6667 9.33337H15.3333ZM17.3333 12H14.6667V11.3334C14.6667 10.9652 14.9651 10.6667 15.3333 10.6667H16.6667C17.0348 10.6667 17.3333 10.9652 17.3333 11.3334V12ZM12.6667 13.3334L19.3333 13.3334V20.6667C19.3333 21.0349 19.0348 21.3334 18.6667 21.3334H13.3333C12.9651 21.3334 12.6667 21.0349 12.6667 20.6667V13.3334ZM15.3333 15.3334V19.3334C15.3333 19.7016 15.0348 20 14.6667 20C14.2985 20 14 19.7016 14 19.3334V15.3334C14 14.9652 14.2985 14.6667 14.6667 14.6667C15.0348 14.6667 15.3333 14.9652 15.3333 15.3334ZM17.3333 14.6667C16.9651 14.6667 16.6667 14.9652 16.6667 15.3334V19.3334C16.6667 19.7016 16.9651 20 17.3333 20C17.7015 20 18 19.7016 18 19.3334V15.3334C18 14.9652 17.7015 14.6667 17.3333 14.6667Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},36039:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.66683 4C4.29864 4 4.00016 4.29848 4.00016 4.66667C4.00016 5.03486 4.29864 5.33333 4.66683 5.33333H9.3335C10.5761 5.33333 11.6201 6.18318 11.9162 7.33333H11.0819C10.728 7.33333 10.537 7.7762 10.7674 8.06287L12.1007 9.72221C12.3983 10.0926 12.9354 10.0926 13.233 9.72221L14.5663 8.06287C14.7966 7.7762 14.6057 7.33333 14.2518 7.33333H13.2782C12.9608 5.44152 11.3155 4 9.3335 4H4.66683Z" fill="black"/>   <path class="graphic" d="M12.0002 11.3333C12.0002 11.7015 11.7017 12 11.3335 12H6.66683C4.68483 12 3.03952 10.5585 2.72213 8.66667H1.74857C1.39463 8.66667 1.20369 8.2238 1.43403 7.93713L2.76732 6.27779C3.06493 5.9074 3.60207 5.9074 3.89967 6.27779L5.23296 7.93713C5.4633 8.2238 5.27236 8.66667 4.91842 8.66667H4.08417C4.3802 9.81682 5.42427 10.6667 6.66683 10.6667H11.3335C11.7017 10.6667 12.0002 10.9651 12.0002 11.3333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},91323:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M12 6v6H6zM4 4h6l-6 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61762:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164Z" fill="#00A1B7"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#00A1B7"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 33C19.5 37.9706 15.4706 42 10.5 42C5.52944 42 1.5 37.9706 1.5 33C1.5 28.0294 5.52944 24 10.5 24C15.4706 24 19.5 28.0294 19.5 33ZM12.8625 30.6375C12.8625 31.9423 11.8048 33 10.5 33C9.19523 33 8.1375 31.9423 8.1375 30.6375C8.1375 29.3327 9.19523 28.275 10.5 28.275C11.8048 28.275 12.8625 29.3327 12.8625 30.6375ZM13.8718 37.0538C14.3662 36.8479 14.5539 36.2508 14.224 35.829C13.3592 34.7233 12.0126 34.0125 10.5 34.0125C8.98738 34.0125 7.64079 34.7233 6.77596 35.829C6.44606 36.2508 6.6338 36.8479 7.12812 37.0538C8.16623 37.4862 9.30522 37.725 10.5 37.725C11.6947 37.725 12.8337 37.4862 13.8718 37.0538Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},80562:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164Z" fill="#A5B3BD"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#A5B3BD"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 33C19.5 37.9706 15.4706 42 10.5 42C5.52944 42 1.5 37.9706 1.5 33C1.5 28.0294 5.52944 24 10.5 24C15.4706 24 19.5 28.0294 19.5 33ZM12.8625 30.6375C12.8625 31.9423 11.8048 33 10.5 33C9.19523 33 8.1375 31.9423 8.1375 30.6375C8.1375 29.3327 9.19523 28.275 10.5 28.275C11.8048 28.275 12.8625 29.3327 12.8625 30.6375ZM13.8718 37.0538C14.3662 36.8479 14.5539 36.2508 14.224 35.829C13.3592 34.7233 12.0126 34.0125 10.5 34.0125C8.98738 34.0125 7.64079 34.7233 6.77596 35.829C6.44606 36.2508 6.6338 36.8479 7.12812 37.0538C8.16623 37.4862 9.30522 37.725 10.5 37.725C11.6947 37.725 12.8337 37.4862 13.8718 37.0538Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},77142:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#00A1B7"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},30315:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#A5B3BD"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},26350:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <circle cx="9.5" cy="6.5" r="5" stroke="#5C6061"/>         <path class="graphic" stroke="#5C6061" stroke-linecap="round" stroke-width="2" d="M5 11l-2.5 2.5"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},31665:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M10.667 3.333a1.333 1.333 0 1 0 0 2.667 1.333 1.333 0 0 0 0-2.667zM8 4.667a2.667 2.667 0 1 1 .487 1.537l-1.356.775c.13.314.202.659.202 1.021 0 .362-.072.707-.202 1.021l1.356.775a2.667 2.667 0 1 1-.474 1.265l-1.694-.968a2.667 2.667 0 1 1 0-4.187l1.695-.967A2.712 2.712 0 0 1 8 4.667zm-3.333 2a1.333 1.333 0 1 0 0 2.666 1.333 1.333 0 0 0 0-2.666zm4.666 4.666a1.333 1.333 0 1 1 2.667 0 1.333 1.333 0 0 1-2.667 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71571:(e,t,n)=>{e.exports={attributes:{width:"19",height:"17",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M16.4592 11C16.3183 11 16.1852 11.0647 16.0981 11.1755C16.0819 11.1962 16.0697 11.2148 16.0612 11.23C16.0942 11.3176 16.134 11.3773 16.1718 11.4124C16.1919 11.4311 16.2178 11.4492 16.2583 11.4646C16.2998 11.4803 16.3751 11.5 16.5 11.5C17.1025 11.5 17.6161 11.654 18.0266 11.942C18.4313 12.2259 18.6665 12.5912 18.8005 12.904C19.1429 13.7037 18.7843 14.4426 18.5198 14.8273C17.5437 16.2471 15.5124 16.4183 14.3124 15.1819L14.2824 15.151C13.8978 14.7547 13.9072 14.1216 14.3035 13.737C14.6998 13.3523 15.3329 13.3618 15.7176 13.7581L15.7476 13.789C16.0682 14.1193 16.6109 14.0736 16.8717 13.6942C16.8916 13.6653 16.907 13.6392 16.9184 13.6169C16.9059 13.6016 16.8924 13.5894 16.878 13.5793C16.8514 13.5606 16.7533 13.5 16.5 13.5C15.7988 13.5 15.2293 13.2667 14.8105 12.8776C14.4138 12.5091 14.2197 12.0641 14.1223 11.7345C13.9022 10.9897 14.2163 10.3334 14.5255 9.93987C14.9917 9.34648 15.7046 9 16.4592 9H16.5432C16.8963 9 17.2459 9.07108 17.571 9.20902L18.0156 9.3976C18.524 9.61329 18.7613 10.2003 18.5456 10.7087C18.3299 11.2172 17.7429 11.4545 17.2344 11.2388L16.7899 11.0502C16.7119 11.0171 16.628 11 16.5432 11H16.4592Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},37620:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm0 1A6 6 0 1 1 8 2a6 6 0 0 1 0 12zM6 9h4c0 1.333-.667 2-2 2s-2-.667-2-2zm4-1c-.552 0-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5S10.552 8 10 8zM6 8c-.552 0-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5S6.552 8 6 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},17884:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#FFF" fill-rule="evenodd" d="M2.667 3.333a.667.667 0 0 0 0 1.334H8a.667.667 0 1 0 0-1.334H2.667zM2 8c0-.368.298-.667.667-.667h8a.667.667 0 1 1 0 1.334h-8A.667.667 0 0 1 2 8zm0 4c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 12z"/>'};var r=n(5813);e.exports=r(e.exports)},59681:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#FFF" fill-rule="evenodd" d="M2 4c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 4zm0 4c0-.368.298-.667.667-.667h8a.667.667 0 1 1 0 1.334h-8A.667.667 0 0 1 2 8zm.667 3.333a.667.667 0 1 0 0 1.334H8a.667.667 0 1 0 0-1.334H2.667z"/>'};var r=n(5813);e.exports=r(e.exports)},24570:(e,t,n)=>{e.exports={attributes:{width:"19",height:"14",viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" d="M1.13867 8.89784C0.437787 7.7297 0.437786 6.27037 1.13867 5.10223C1.36726 4.72125 1.75537 4.46355 2.19521 4.40072L4.5262 4.06772C4.82768 4.02465 5.09654 3.85521 5.26546 3.60182L5.63256 3.05118C5.9233 2.61507 6.06869 2.39699 6.23034 2.20094C6.80071 1.50925 7.54656 0.983633 8.38979 0.679139C8.62879 0.592836 8.88304 0.529272 9.39155 0.402145L10.0046 0.248883C10.3447 0.163862 10.5147 0.121352 10.6486 0.163014C10.7648 0.199186 10.8638 0.276507 10.9271 0.38048C11 0.500235 11 0.675509 11 1.02606V12.974C11 13.3246 11 13.4998 10.9271 13.6196C10.8638 13.7236 10.7648 13.8009 10.6486 13.8371C10.5147 13.8787 10.3447 13.8362 10.0046 13.7512L9.39155 13.5979C8.88304 13.4708 8.62879 13.4072 8.38979 13.3209C7.54656 13.0164 6.80071 12.4908 6.23034 11.7991C6.06868 11.6031 5.92331 11.385 5.63256 10.9489L5.26546 10.3983C5.09654 10.1449 4.82768 9.97542 4.5262 9.93235L2.19521 9.59935C1.75537 9.53652 1.36726 9.27883 1.13867 8.89784Z" fill="#00A1B7"/> <path class="player" d="M18.7071 4.29293C19.0976 4.68345 19.0976 5.31662 18.7071 5.70714L17.4142 7.00004L18.7071 8.29293C19.0976 8.68345 19.0976 9.31662 18.7071 9.70714C18.3166 10.0977 17.6834 10.0977 17.2929 9.70714L16 8.41425L14.7071 9.70714C14.3166 10.0977 13.6834 10.0977 13.2929 9.70714C12.9024 9.31662 12.9024 8.68345 13.2929 8.29293L14.5858 7.00004L13.2929 5.70714C12.9024 5.31662 12.9024 4.68345 13.2929 4.29293C13.6834 3.90241 14.3166 3.90241 14.7071 4.29293L16 5.58582L17.2929 4.29293C17.6834 3.90241 18.3166 3.90241 18.7071 4.29293Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},10653:(e,t,n)=>{e.exports={attributes:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" d="M1.13867 8.89784C0.437787 7.7297 0.437786 6.27037 1.13867 5.10223C1.36726 4.72125 1.75537 4.46355 2.19521 4.40072L4.5262 4.06772C4.82768 4.02465 5.09654 3.85521 5.26546 3.60182L5.63256 3.05118C5.92331 2.61505 6.06868 2.39699 6.23034 2.20094C6.80071 1.50925 7.54656 0.983633 8.38979 0.679139C8.62879 0.592835 8.88304 0.529272 9.39155 0.402145L10.0046 0.248883C10.3447 0.163862 10.5147 0.121352 10.6486 0.163014C10.7648 0.199186 10.8638 0.276507 10.9271 0.38048C11 0.500235 11 0.675509 11 1.02606V12.974C11 13.3246 11 13.4998 10.9271 13.6196C10.8638 13.7236 10.7648 13.8009 10.6486 13.8371C10.5147 13.8787 10.3447 13.8362 10.0046 13.7512L9.39155 13.5979C8.88304 13.4708 8.62879 13.4072 8.38979 13.3209C7.54656 13.0164 6.80071 12.4908 6.23034 11.7991C6.06868 11.6031 5.92331 11.385 5.63256 10.9489L5.26546 10.3983C5.09654 10.1449 4.82768 9.97542 4.5262 9.93235L2.19521 9.59935C1.75537 9.53652 1.36726 9.27883 1.13867 8.89784Z" fill="#00A1B7"/> <path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M13.0052 2.93417C13.2981 2.64128 13.773 2.64128 14.0658 2.93417C15.1386 4.00696 15.744 5.46025 15.7499 6.97738C15.7559 8.49452 15.1621 9.95254 14.0978 11.0337C13.8072 11.3289 13.3323 11.3327 13.0371 11.0421C12.7419 10.7515 12.7382 10.2767 13.0288 9.98147C13.8154 9.18232 14.2544 8.10465 14.25 6.98329C14.2455 5.86193 13.7981 4.78776 13.0052 3.99483C12.7123 3.70194 12.7123 3.22707 13.0052 2.93417Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},42941:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M8.81935 3.19213C9.20847 2.07268 10.7916 2.07267 11.1808 3.19213L12.5561 7.14875L16.7441 7.2341C17.929 7.25824 18.4182 8.76392 17.4738 9.47993L14.1358 12.0106L15.3488 16.02C15.692 17.1543 14.4112 18.0849 13.4384 17.408L10.0001 15.0154L6.56175 17.408C5.58895 18.0849 4.30813 17.1544 4.65132 16.02L5.86431 12.0106L2.52634 9.47993C1.58192 8.76393 2.07114 7.25824 3.25605 7.2341L7.44402 7.14875L8.81935 3.19213ZM10.0001 4.87159L8.9231 7.96984C8.75144 8.46368 8.29058 8.79851 7.76786 8.80917L4.48845 8.876L7.10227 10.8577C7.51889 11.1735 7.69493 11.7153 7.54353 12.2157L6.5937 15.3553L9.28608 13.4817C9.71522 13.1831 10.2849 13.1831 10.714 13.4817L13.4064 15.3553L12.4566 12.2157C12.3052 11.7153 12.4812 11.1735 12.8978 10.8577L15.5116 8.876L12.2322 8.80917C11.7095 8.79851 11.2487 8.46368 11.077 7.96984L10.0001 4.87159Z" fill="black" fill-opacity="0.54"/>'};var r=n(5813);e.exports=r(e.exports)},57551:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M3.10057 3.88063C3.22336 3.98697 3.22336 4.17746 3.10057 4.2838L1.77458 5.43214C1.60187 5.58171 1.33334 5.45903 1.33334 5.23056V2.93387C1.33334 2.7054 1.60187 2.58272 1.77458 2.73229L3.10057 3.88063ZM6.66667 3.41555C6.29848 3.41555 6 3.71402 6 4.08221C6 4.4504 6.29848 4.74888 6.66667 4.74888H14C14.3682 4.74888 14.6667 4.4504 14.6667 4.08221C14.6667 3.71402 14.3682 3.41555 14 3.41555H6.66667ZM6.66667 7.41555C6.29848 7.41555 6 7.71402 6 8.08221C6 8.4504 6.29848 8.74888 6.66667 8.74888H14C14.3682 8.74888 14.6667 8.4504 14.6667 8.08221C14.6667 7.71402 14.3682 7.41555 14 7.41555H6.66667ZM6 12.0822C6 11.714 6.29848 11.4155 6.66667 11.4155H14C14.3682 11.4155 14.6667 11.714 14.6667 12.0822C14.6667 12.4504 14.3682 12.7489 14 12.7489H6.66667C6.29848 12.7489 6 12.4504 6 12.0822Z" fill="#737373"/>   <path class="graphic" d="M5 2.66669C5.18409 2.66669 5.33333 2.81593 5.33333 3.00002V5.00002C5.33333 5.18412 5.18409 5.33335 5 5.33335C4.81591 5.33335 4.66667 5.18412 4.66667 5.00002V3.80476L4.56904 3.90239C4.43886 4.03256 4.22781 4.03256 4.09763 3.90239C3.96746 3.77221 3.96746 3.56116 4.09763 3.43098L4.7643 2.76432C4.82462 2.704 4.90795 2.66669 5 2.66669Z" fill="#737373"/>'};var r=n(5813);e.exports=r(e.exports)},14345:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0002 32C24.8368 32 32.0002 24.8366 32.0002 16C32.0002 7.16344 24.8368 0 16.0002 0C7.16369 0 0.000244141 7.16344 0.000244141 16C0.000244141 24.8366 7.16369 32 16.0002 32Z" fill="#00A1B7"/> <rect x="11.0002" y="11" width="10" height="10" rx="1" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},27501:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12.073 4.245c-2.44 0-4.145 1.665-4.145 3.409 0 .866.421 1.713 1.144 2.346H6.526a4.867 4.867 0 0 1-.598-2.346c0-3.127 2.902-5.409 6.145-5.409 2.685 0 5.082 1.533 5.877 3.821a1 1 0 0 1-1.889.656c-.471-1.355-2.011-2.477-3.988-2.477zm-.345 8.809a.955.955 0 0 0 .132.008c2.44 0 4.145 1.666 4.145 3.409 0 1.744-1.705 3.409-4.145 3.409-1.164 0-2.196-.395-2.936-1.007a3.354 3.354 0 0 1-1.052-1.47 1 1 0 1 0-1.889.656 5.36 5.36 0 0 0 1.666 2.355c1.112.92 2.599 1.466 4.211 1.466 3.243 0 6.145-2.282 6.145-5.409 0-1.354-.544-2.55-1.426-3.471H19a1 1 0 0 0 0-2H5a1 1 0 0 0 0 2h6.146c.192.026.386.044.582.054z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},62428:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.00004 6C4.00004 3.79086 5.7909 2 8.00004 2C10.2092 2 12 3.79086 12 6V6.66667C12.7364 6.66667 13.3334 7.26362 13.3334 8V9.33333C13.3334 9.84269 13.0478 10.2853 12.628 10.5099C12.3825 12.1088 11.001 13.3333 9.33337 13.3333H9.155C8.92446 13.7319 8.49356 14 8.00004 14C7.26366 14 6.66671 13.403 6.66671 12.6667C6.66671 11.9303 7.26366 11.3333 8.00004 11.3333C8.49356 11.3333 8.92446 11.6015 9.155 12H9.33337C10.2076 12 10.9508 11.4391 11.2228 10.6575C10.9072 10.6048 10.6667 10.3305 10.6667 10V6C10.6667 4.52724 9.4728 3.33333 8.00004 3.33333C6.52728 3.33333 5.33337 4.52724 5.33337 6V10C5.33337 10.3682 5.0349 10.6667 4.66671 10.6667H4.00004C3.26366 10.6667 2.66671 10.0697 2.66671 9.33333V8C2.66671 7.26362 3.26366 6.66667 4.00004 6.66667V6Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},82481:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.68824 3.06668C5.51046 3.20002 5.51046 3.46668 5.68824 3.60002L7.46602 4.93335C7.68576 5.09816 7.99935 4.94136 7.99935 4.66668V4.00002C10.2085 4.00002 11.9993 5.79088 11.9993 8.00002C11.9993 8.75518 11.7907 9.45958 11.4283 10.061C11.2383 10.3764 11.3399 10.7861 11.6553 10.9761C11.9706 11.1661 12.3803 11.0645 12.5704 10.7491C13.0544 9.94584 13.3327 9.00441 13.3327 8.00002C13.3327 5.0545 10.9449 2.66668 7.99935 2.66668V2.00002C7.99935 1.72533 7.68576 1.56854 7.46602 1.73335L5.68824 3.06668ZM4.29082 5.08961C4.60952 5.27397 4.71843 5.68179 4.53407 6.0005C4.19412 6.58817 3.99935 7.27033 3.99935 8.00002C3.99935 10.2092 5.79021 12 7.99935 12V11.3333C7.99935 11.0587 8.31294 10.9019 8.53268 11.0667L10.3105 12.4C10.4882 12.5333 10.4882 12.8 10.3105 12.9333L8.53268 14.2667C8.31294 14.4315 7.99935 14.2747 7.99935 14V13.3333C5.05383 13.3333 2.66602 10.9455 2.66602 8.00002C2.66602 7.02969 2.92575 6.11801 3.37993 5.33286C3.56429 5.01416 3.97211 4.90525 4.29082 5.08961Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},18294:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M9.97429 3.51649C10.0754 3.16247 9.87045 2.79348 9.51642 2.69233C9.1624 2.59118 8.79341 2.79617 8.69226 3.15019L6.02559 12.4835C5.92444 12.8376 6.12944 13.2065 6.48346 13.3077C6.83749 13.4088 7.20648 13.2038 7.30763 12.8498L9.97429 3.51649ZM5.08307 4.1461C5.37058 4.3761 5.4172 4.79563 5.18719 5.08314L2.85369 8.00001L5.18719 10.9169C5.4172 11.2044 5.37058 11.6239 5.08307 11.8539C4.79557 12.0839 4.37604 12.0373 4.14603 11.7498L1.48772 8.42691C1.45077 8.38268 1.42032 8.33449 1.3965 8.28373C1.354 8.19355 1.33319 8.09656 1.33325 8.00001C1.33319 7.90346 1.354 7.80647 1.39649 7.71629C1.42031 7.66553 1.45077 7.61734 1.48772 7.57311L4.14603 4.25021C4.37604 3.9627 4.79556 3.91609 5.08307 4.1461ZM10.9168 4.1461C11.2043 3.91609 11.6238 3.9627 11.8539 4.25021L14.5123 7.57322C14.5485 7.61657 14.5784 7.66372 14.602 7.71337C14.6454 7.80438 14.6667 7.90242 14.6666 8.00001C14.6667 8.0976 14.6454 8.19564 14.602 8.28665C14.5784 8.33629 14.5485 8.38344 14.5123 8.42679L11.8539 11.7498C11.6238 12.0373 11.2043 12.0839 10.9168 11.8539C10.6293 11.6239 10.5827 11.2044 10.8127 10.9169L13.1462 8.00001L10.8127 5.08314C10.5827 4.79563 10.6293 4.3761 10.9168 4.1461Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},20913:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7zm3-1a1 1 0 0 0-1 1v4h7V6H5zm6 7H4v4a1 1 0 0 0 1 1h6v-5zm2 0h7v4a1 1 0 0 1-1 1h-6v-5zm7-2V7a1 1 0 0 0-1-1h-6v5h7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12216:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 3a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5zm0 2h4v4H5V5zm0 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H5zm0 2h4v4H5v-4zm8-6a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2h-6a1 1 0 0 1-1-1zm1-5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-6zm-1 11a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2h-6a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},64268:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M2.5 4.16667C2.5 3.24619 3.24619 2.5 4.16667 2.5H7.5C8.42047 2.5 9.16667 3.24619 9.16667 4.16667V7.5C9.16667 8.42047 8.42047 9.16667 7.5 9.16667H4.16667C3.24619 9.16667 2.5 8.42047 2.5 7.5V4.16667ZM7.5 4.16667H4.16667V7.5H7.5V4.16667Z" fill="black"/>   <path class="graphic" d="M2.5 12.5C2.5 11.5795 3.24619 10.8333 4.16667 10.8333H7.5C8.42047 10.8333 9.16667 11.5795 9.16667 12.5V15.8333C9.16667 16.7538 8.42047 17.5 7.5 17.5H4.16667C3.24619 17.5 2.5 16.7538 2.5 15.8333V12.5ZM7.5 12.5H4.16667V15.8333H7.5V12.5Z" fill="black"/>   <path class="graphic" d="M12.5 2.5C11.5795 2.5 10.8333 3.24619 10.8333 4.16667V15.8333C10.8333 16.7538 11.5795 17.5 12.5 17.5H15.8333C16.7538 17.5 17.5 16.7538 17.5 15.8333V4.16667C17.5 3.24619 16.7538 2.5 15.8333 2.5H12.5ZM12.5 4.16667H15.8333V15.8333H12.5V4.16667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},62171:(e,t,n)=>{e.exports={attributes:{width:"31",height:"35",viewBox:"0 0 31 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 23.9C0 23.4029 0.402944 23 0.9 23H26.9272C27.4242 23 27.8272 23.4029 27.8272 23.9V24.2C27.8272 24.6971 27.4242 25.1 26.9272 25.1H0.9C0.402943 25.1 0 24.6971 0 24.2V23.9ZM0 28.4C0 27.9029 0.402944 27.5 0.9 27.5H26.9272C27.4242 27.5 27.8272 27.9029 27.8272 28.4V28.7C27.8272 29.1971 27.4242 29.6 26.9272 29.6H0.9C0.402943 29.6 0 29.1971 0 28.7V28.4ZM0.9 32C0.402944 32 0 32.4029 0 32.9V33.2C0 33.6971 0.402944 34.1 0.900001 34.1H19.063C19.56 34.1 19.963 33.6971 19.963 33.2V32.9C19.963 32.4029 19.56 32 19.063 32H0.9Z" fill="#E8E8E8"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z" fill="#E8E8E8"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M19.3152 4.88556L16.9452 16.0355L30.9733 7.36356L19.3152 4.88556Z" fill="#E8E8E8"/>'};var r=n(5813);e.exports=r(e.exports)},76094:(e,t,n)=>{e.exports={attributes:{width:"9",height:"10",viewBox:"0 0 9 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.65527 10V2.71289H8.30225V0.840332H0.691406V2.71289H3.33203V10H5.65527Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},88536:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M3.333 2C2.597 2 2 2.597 2 3.333V6c0 .736.597 1.333 1.333 1.333H6c.737 0 1.333-.597 1.333-1.333V3.333C7.333 2.597 6.737 2 6 2H3.333zm0 1.333H6V6H3.333V3.333zm0 5.334C2.597 8.667 2 9.264 2 10v2.667C2 13.403 2.597 14 3.333 14H6c.737 0 1.333-.597 1.333-1.333V10c0-.736-.596-1.333-1.333-1.333H3.333zm0 1.333H6v2.667H3.333V10zm5.334-4c0-.368.298-.667.666-.667h4a.667.667 0 0 1 0 1.334h-4A.667.667 0 0 1 8.667 6zm.666-3.333a.667.667 0 0 0 0 1.333h4a.667.667 0 0 0 0-1.333h-4zM8.667 10c0-.368.298-.667.666-.667h4a.667.667 0 0 1 0 1.334h-4A.667.667 0 0 1 8.667 10zm.666 2a.667.667 0 0 0 0 1.333h4a.667.667 0 0 0 0-1.333h-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},33277:(e,t,n)=>{e.exports={attributes:{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.195287 0.195262C0.455636 -0.0650874 0.877746 -0.0650874 1.1381 0.195262L2.46574 1.52291C2.51433 1.57023 2.55433 1.62356 2.58549 1.68078C2.6819 1.85741 2.69246 2.06845 2.61717 2.25261C2.59251 2.31292 2.55865 2.37035 2.51558 2.42275L1.18727 4.08313C0.957264 4.37064 0.537736 4.41725 0.250228 4.18725C-0.0372801 3.95724 -0.0838944 3.53771 0.146112 3.2502L1.10669 2.04948L0.195287 1.13807C-0.0650629 0.877722 -0.0650629 0.455612 0.195287 0.195262ZM4.00002 2C4.00002 1.63181 4.2985 1.33333 4.66669 1.33333H11.3334C11.7015 1.33333 12 1.63181 12 2C12 2.36819 11.7015 2.66667 11.3334 2.66667H4.66669C4.2985 2.66667 4.00002 2.36819 4.00002 2ZM4.00002 6C4.00002 5.63181 4.2985 5.33333 4.66669 5.33333H11.3334C11.7015 5.33333 12 5.63181 12 6C12 6.36819 11.7015 6.66667 11.3334 6.66667H4.66669C4.2985 6.66667 4.00002 6.36819 4.00002 6ZM4.66669 9.33333C4.2985 9.33333 4.00002 9.63181 4.00002 10C4.00002 10.3682 4.2985 10.6667 4.66669 10.6667H11.3334C11.7015 10.6667 12 10.3682 12 10C12 9.63181 11.7015 9.33333 11.3334 9.33333H4.66669Z"/>'};var r=n(5813);e.exports=r(e.exports)},60302:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0_304_117572)">   <path class="graphic" d="M4.18988 0.418762C3.95588 -0.140238 3.04388 -0.140238 2.80888 0.418762L0.0598756 6.95176C-0.102124 7.33476 0.0758756 7.77776 0.457876 7.93976C0.835876 8.10176 1.27888 7.92276 1.43988 7.53876L2.08888 5.99976H4.91188L5.55988 7.53876C5.68088 7.82676 5.95788 7.99876 6.24988 7.99876C6.34788 7.99876 6.44688 7.97976 6.54187 7.93976C6.92387 7.77776 7.10188 7.33476 6.93988 6.95176L4.18988 0.418762ZM2.71988 4.49976L3.49988 2.64676L4.27988 4.49976H2.71988Z" fill="black"/>   <path class="graphic" d="M9.75 3.5C11.267 3.5 12.5 4.733 12.5 6.25C12.5 6.664 12.836 7 13.25 7C13.664 7 14 6.664 14 6.25C14 3.907 12.094 2 9.75 2C9.336 2 9 2.336 9 2.75C9 3.164 9.336 3.5 9.75 3.5Z" fill="black"/>   <path class="graphic" d="M6.25 12.5C4.733 12.5 3.5 11.267 3.5 9.75C3.5 9.336 3.164 9 2.75 9C2.336 9 2 9.336 2 9.75C2 12.093 3.906 14 6.25 14C6.664 14 7 13.664 7 13.25C7 12.836 6.664 12.5 6.25 12.5Z" fill="black"/>   <path class="graphic" d="M15.5207 14.551L14.0487 13.979C13.9227 13.93 13.8067 13.867 13.6887 13.807C14.3577 13.021 14.8017 12.056 14.9437 11H15.2497C15.6637 11 15.9997 10.664 15.9997 10.25C15.9997 9.836 15.6637 9.5 15.2497 9.5H13.2497V8.75C13.2497 8.336 12.9137 8 12.4997 8C12.0857 8 11.7497 8.336 11.7497 8.75V9.5H9.74966C9.33566 9.5 8.99966 9.836 8.99966 10.25C8.99966 10.664 9.33566 11 9.74966 11H10.0557C10.1977 12.056 10.6417 13.02 11.3107 13.807C11.1927 13.867 11.0767 13.93 10.9507 13.979L9.47866 14.551C9.09166 14.701 8.90066 15.136 9.05066 15.522C9.16666 15.818 9.45066 16 9.75066 16C9.84166 16 9.93366 15.984 10.0217 15.949L11.4937 15.377C11.8547 15.237 12.1847 15.051 12.4997 14.847C12.8147 15.051 13.1447 15.236 13.5057 15.377L14.9777 15.949C15.0667 15.984 15.1587 16 15.2487 16C15.5487 16 15.8327 15.818 15.9477 15.522C16.0987 15.136 15.9077 14.701 15.5207 14.551ZM13.4227 11C13.2887 11.713 12.9687 12.364 12.4997 12.895C12.0297 12.364 11.7107 11.713 11.5767 11H13.4227Z" fill="black"/>   </g>   <defs>   <clipPath id="clip0_304_117572">   <rect width="16" height="16" fill="white"/>   </clipPath>   </defs>'};var r=n(5813);e.exports=r(e.exports)},77242:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M11 2a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a1 1 0 0 0 0-2h-3V5a3 3 0 0 0-3-3h-2zm3 4V5a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v1h4zM8 8H7v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8H8zm3 3v6a1 1 0 0 1-2 0v-6a1 1 0 0 1 2 0zm3-1a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0v-6a1 1 0 0 0-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},35783:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.82143 0.3125H1.17857C0.527902 0.3125 0 0.807408 0 1.41741V9.52009C0 10.1301 0.527902 10.625 1.17857 10.625H9.82143C10.4721 10.625 11 10.1301 11 9.52009V1.41741C11 0.807408 10.4721 0.3125 9.82143 0.3125ZM8.62076 3.96791C8.62567 4.03237 8.62567 4.09912 8.62567 4.16357C8.62567 6.15932 7.00513 8.45891 4.04397 8.45891C3.13058 8.45891 2.28348 8.21031 1.57143 7.78216C1.70156 7.79597 1.82679 7.80057 1.95938 7.80057C2.71317 7.80057 3.40558 7.56117 3.95804 7.15604C3.25089 7.14223 2.6567 6.70717 2.4529 6.10868C2.70089 6.14321 2.92433 6.14321 3.17969 6.08105C2.44308 5.94064 1.89062 5.33294 1.89062 4.59863V4.58022C2.10424 4.69301 2.35469 4.76207 2.61741 4.77128C2.39653 4.63354 2.21546 4.44668 2.09036 4.22737C1.96526 4.00807 1.90001 3.76314 1.90045 3.51444C1.90045 3.23361 1.97902 2.9758 2.11897 2.75251C2.91205 3.66867 4.1029 4.26716 5.43862 4.33161C5.21027 3.30727 6.0279 2.47628 7.01004 2.47628C7.47411 2.47628 7.89152 2.65813 8.18616 2.95278C8.54955 2.88832 8.89821 2.76172 9.20759 2.58908C9.08728 2.93896 8.83438 3.23361 8.50045 3.42006C8.82455 3.38783 9.13884 3.30266 9.42857 3.18527C9.21004 3.48682 8.93504 3.75384 8.62076 3.96791Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},93858:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M11.522 4.72a4.433 4.433 0 0 1 6.269 6.269l-4.924 4.925-.886.885a2.745 2.745 0 1 1-3.882-3.882l4.595-4.595a1 1 0 1 1 1.414 1.415L9.513 14.33a.746.746 0 0 0 1.054 1.054l.219-.22a.015.015 0 0 0 .004-.003l5.587-5.587a2.433 2.433 0 0 0-3.44-3.44l-.487.486-5.443 5.443a3.667 3.667 0 0 0 0 5.186l.454.454a3.667 3.667 0 0 0 5.186 0l4.714-4.714a1 1 0 1 1 1.414 1.414l-4.714 4.714a5.667 5.667 0 0 1-8.014 0l-.454-.454a5.667 5.667 0 0 1 0-8.014l5.443-5.443.486-.487z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},64631:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6zM5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6zm12.268 3.64a1 1 0 1 0-1.536-1.28l-4.406 5.287-2.745-1.96a1 1 0 1 0-1.162 1.627l3.5 2.5.755.54.594-.714 5-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},33753:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M15 7.5c0 .852-.431 1.745-1.161 2.472C13.064 10.743 12.291 11 12 11c-.291 0-1.064-.257-1.839-1.028C9.431 9.245 9 8.352 9 7.5 9 5.383 10.518 4 12 4s3 1.383 3 3.5zm2 0c0 3.038-3 5.5-5 5.5s-5-2.462-5-5.5S9.239 2 12 2s5 2.462 5 5.5zM10.582 16h2.432a4.494 4.494 0 0 1 4.386 3.518l.107.482H6.493l.195-.876A3.993 3.993 0 0 1 10.582 16zm-4.873.508A5.988 5.988 0 0 1 10.582 14h2.432a6.495 6.495 0 0 1 6.338 5.085l.264 1.187A1.42 1.42 0 0 1 18.23 22H5.999a1.603 1.603 0 0 1-1.565-1.951l.302-1.359a5.973 5.973 0 0 1 .973-2.182z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},325:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M11 17.887v-4.99c-2.268-.436-4-2.212-4-4.397s1.732-3.961 4-4.397V3a1 1 0 0 1 2 0v1.073c1.839.296 3.38 1.472 3.945 3.099a1 1 0 1 1-1.89.656c-.283-.815-1.063-1.463-2.055-1.715v4.99c2.268.436 4 2.212 4 4.397s-1.732 3.961-4 4.397V21a1 1 0 0 1-2 0v-1.073a5.34 5.34 0 0 1-2.558-1.138 4.453 4.453 0 0 1-1.387-1.961 1 1 0 0 1 1.89-.656c.139.4.404.772.771 1.076.36.297.8.516 1.284.64zm2-.046c1.182-.362 2-1.295 2-2.341 0-1.046-.818-1.979-2-2.34v4.68zm-2-7V6.159C9.818 6.521 9 7.454 9 8.5c0 1.046.818 1.979 2 2.34z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},24655:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M8 3a1 1 0 0 1 1 1v1h6V4a1 1 0 0 1 2 0v1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h1V4a1 1 0 0 1 1-1zm7 4v1a1 1 0 0 0 2 0V7h1a1 1 0 0 1 1 1v2H5V8a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V7h6zM5 12v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6H5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},52124:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M7 9a3 3 0 1 0 0 6h3a1 1 0 0 1 0 2H7A5 5 0 0 1 7 7h3a1 1 0 0 1 0 2H7zm1 3a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm6-5a1 1 0 0 0 0 2h3a3 3 0 1 1 0 6h-3a1 1 0 0 0 0 2h3a5 5 0 0 0 0-10h-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},66339:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M12 4a8 8 0 1 0 3.555 15.169 1 1 0 1 1 .89 1.791A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10v.571c0 1.297-.317 2.395-.948 3.193A3.199 3.199 0 0 1 18.5 17c-1.216 0-2.192-.685-2.801-1.636A5 5 0 1 1 15 8a1 1 0 0 1 2 0v5c0 1.222.85 2 1.5 2a1.2 1.2 0 0 0 .984-.478c.273-.345.516-.961.516-1.951V12a8 8 0 0 0-8-8zm3 8a3 3 0 1 0-6 0 3 3 0 0 0 6 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12154:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M7 5h10a2 2 0 1 1 0 4H7a2 2 0 1 1 0-4zM3 7a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H7a4 4 0 0 1-4-4zm4 8h10a2 2 0 1 1 0 4H7a2 2 0 1 1 0-4zm-4 2a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H7a4 4 0 0 1-4-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},39046:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M17.243 3.03a1 1 0 0 1 .727 1.212L17.031 8H20a1 1 0 0 1 0 2h-3.47l-1 4H18a1 1 0 0 1 0 2h-2.97l-1.06 4.242a1 1 0 0 1-1.94-.485L12.97 16H9.03l-1.06 4.242a1 1 0 0 1-1.94-.485L6.97 16H4a1 1 0 1 1 0-2h3.47l1-4H6a1 1 0 1 1 0-2h2.97l1.06-4.242a1 1 0 1 1 1.94.484L11.03 8h3.94l1.06-4.242a1 1 0 0 1 1.213-.728zM10.531 10l-1 4h3.938l1-4h-3.938z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},92702:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M20.707 3.293a1 1 0 0 1 0 1.414l-16 16a1 1 0 1 1-1.414-1.414l16-16a1 1 0 0 1 1.414 0zM6.5 5C5.835 5 5 5.717 5 7s.835 2 1.5 2S8 8.283 8 7s-.835-2-1.5-2zM3 7c0-2.03 1.404-4 3.5-4S10 4.97 10 7c0 2.03-1.404 4-3.5 4S3 9.03 3 7zm13 10c0-1.283.835-2 1.5-2s1.5.717 1.5 2-.835 2-1.5 2-1.5-.717-1.5-2zm1.5-4c-2.096 0-3.5 1.97-3.5 4 0 2.03 1.404 4 3.5 4s3.5-1.97 3.5-4c0-2.03-1.404-4-3.5-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},21685:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M8.933 8.578l1.65-4.748c.466-1.343 2.368-1.343 2.834 0l1.65 4.748 5.025.103c1.422.029 2.01 1.836.876 2.695l-4.005 3.036 1.455 4.81c.414 1.362-1.125 2.48-2.292 1.667L12 18.018l-4.126 2.871c-1.167.813-2.706-.305-2.292-1.665l1.455-4.812-4.005-3.036c-1.134-.86-.546-2.666.876-2.695l5.025-.103zM12 5.846l-1.293 3.72a1.5 1.5 0 0 1-1.386 1.005l-3.935.08 3.139 2.38a1.5 1.5 0 0 1 .527 1.628l-1.14 3.767 3.232-2.249a1.502 1.502 0 0 1 1.713 0l3.23 2.249-1.139-3.765a1.5 1.5 0 0 1 .529-1.632l3.137-2.378-3.936-.08a1.5 1.5 0 0 1-1.386-1.007L12 5.846z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},56486:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7 8h10a4 4 0 1 1 0 8H7a4 4 0 1 1 0-8zm0 2a2 2 0 1 0 0 4h10a2 2 0 1 0 0-4H7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},85265:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2h-5v15a1 1 0 1 1-2 0V5H4a1 1 0 0 1-1-1zm14 9h3a1 1 0 1 1 0 2h-2v5a1 1 0 1 1-2 0v-5h-2a1 1 0 1 1 0-2h3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61615:(e,t,n)=>{e.exports={attributes:{width:"11",height:"10",viewBox:"0 0 11 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.28098 9.83974C4.07416 9.80988 3.00875 9.4217 2.05904 8.74237C1.41465 8.28102 0.865071 7.73756 0.472974 7.06869C0.0856979 6.40727 -0.0637489 5.70257 0.0246336 4.95157C0.103374 4.28419 0.416731 3.71833 0.902031 3.23907C1.24271 2.90314 1.6107 2.5896 1.97708 2.27756C2.39007 1.92371 2.8127 1.57882 3.23694 1.23543C3.56797 0.966682 3.91989 0.729291 4.3152 0.550127C4.82782 0.318708 5.37097 0.232112 5.93662 0.253015C7.00525 0.293327 7.94853 0.65016 8.79861 1.23692C9.47192 1.70125 10.0456 2.25666 10.4538 2.94196C11.0291 3.90795 11.156 4.9247 10.8057 5.98325C10.6402 6.48043 10.3333 6.90893 9.95883 7.29115C9.28873 7.97645 8.54792 8.58859 7.73641 9.12608C7.25593 9.44409 6.73046 9.677 6.14552 9.77107C5.86109 9.81586 5.57184 9.83079 5.2858 9.85915C5.2842 9.85169 5.28259 9.84572 5.28098 9.83974ZM5.16207 7.35983C5.36937 7.35983 5.5622 7.35535 5.75343 7.36132C5.8386 7.3643 5.85306 7.33594 5.85306 7.26427C5.85145 6.16988 5.85145 5.074 5.85145 3.97961C5.85145 3.94826 5.85145 3.9169 5.85145 3.8751C6.31747 3.8751 6.77063 3.8751 7.22218 3.8751C7.22218 3.66608 7.22218 3.469 7.22218 3.27192C6.07321 3.27192 4.93227 3.27192 3.78169 3.27192C3.78169 3.4466 3.78491 3.61531 3.78009 3.78402C3.77687 3.85718 3.79776 3.88256 3.88133 3.88107C4.27021 3.87659 4.65748 3.87958 5.04637 3.87958C5.16046 3.87958 5.16046 3.87958 5.16046 3.9826C5.16046 5.07251 5.16046 6.16242 5.16046 7.25233C5.16207 7.28368 5.16207 7.31653 5.16207 7.35983Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},78555:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M8 3a1 1 0 0 0-2 0v9a6 6 0 1 0 12 0V3a1 1 0 0 0-2 0v9a4 4 0 0 1-8 0V3zM7 20a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},69206:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.58963 3.36764C4.85564 3.10011 5.28727 3.10011 5.55328 3.36764C5.81876 3.63464 5.81876 4.06716 5.55328 4.33416L4.65667 5.23596H10.5572C12.8277 5.23596 14.6667 7.0869 14.6667 9.36814C14.6667 11.6494 12.8277 13.5003 10.5572 13.5003H5.75717C5.3802 13.5003 5.07622 13.1932 5.07622 12.8164C5.07622 12.4396 5.3802 12.1325 5.75717 12.1325H10.5572C12.0737 12.1325 13.3048 10.8958 13.3048 9.36814C13.3048 7.84052 12.0737 6.60377 10.5572 6.60377H4.65667L5.55328 7.50557C5.81876 7.77258 5.81876 8.20506 5.55328 8.47207C5.28727 8.73961 4.85564 8.73961 4.58963 8.47207L2.53249 6.40312C2.267 6.13612 2.267 5.70361 2.53249 5.43661L4.58963 3.36764Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},29300:(e,t,n)=>{e.exports={attributes:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0)"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="#00A1B7"/> <path d="M12.0833 9.16663C10.9621 9.16663 10.4864 10.5939 11.3833 11.2666L11.85 11.6166C11.9969 11.7268 12.0833 11.8997 12.0833 12.0833V14.4166C12.0833 14.6002 11.9969 14.7731 11.85 14.8833L11.3833 15.2333C10.4864 15.906 10.9621 17.3333 12.0833 17.3333H14.4167V20.25C14.4167 20.5721 14.6778 20.8333 15 20.8333C15.3222 20.8333 15.5833 20.5721 15.5833 20.25V17.3333H17.9167C19.0378 17.3333 19.5136 15.906 18.6167 15.2333L18.15 14.8833C18.0031 14.7731 17.9167 14.6002 17.9167 14.4166V12.0833C17.9167 11.8997 18.0031 11.7268 18.15 11.6166L18.6167 11.2666C19.5136 10.5939 19.0378 9.16663 17.9167 9.16663H12.0833Z" fill="#F5F8FA"/> </g> <defs> <clipPath id="clip0"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="white"/> </clipPath> </defs>'};var r=n(5813);e.exports=r(e.exports)},26798:(e,t,n)=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<circle class="graphic_stroke" cx="18" cy="18" r="17" stroke="#5C6061" stroke-width="2"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M18 8.625C18.5178 8.625 18.9375 9.04473 18.9375 9.5625L18.9375 20.4242L23.8996 15.4621C24.2657 15.096 24.8593 15.096 25.2254 15.4621C25.5915 15.8282 25.5915 16.4218 25.2254 16.7879L18.6661 23.3472C18.6562 23.3573 18.646 23.367 18.6357 23.3766C18.5545 23.4515 18.4634 23.5095 18.3668 23.5505C18.2549 23.5981 18.1319 23.6246 18.0028 23.625L18 23.625L17.9914 23.625C17.8704 23.6239 17.755 23.5999 17.6491 23.5571C17.5355 23.5113 17.4291 23.4424 17.3371 23.3504L10.7746 16.7879C10.4085 16.4218 10.4085 15.8282 10.7746 15.4621C11.1407 15.096 11.7343 15.096 12.1004 15.4621L17.0625 20.4242L17.0625 9.5625C17.0625 9.04473 17.4822 8.625 18 8.625ZM11.4375 25.5C10.9197 25.5 10.5 25.9197 10.5 26.4375C10.5 26.9553 10.9197 27.375 11.4375 27.375L24.5625 27.375C25.0803 27.375 25.5 26.9553 25.5 26.4375C25.5 25.9197 25.0803 25.5 24.5625 25.5L11.4375 25.5Z" fill="black" fill-opacity="0.6"/>'};var r=n(5813);e.exports=r(e.exports)},29672:(e,t,n)=>{e.exports={attributes:{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic_stroke" x="1" y="1" width="11" height="11" rx="1" stroke="#5C6061"/>   <path class="graphic_stroke" d="M5.5 4L3 6.5L5.5 9" stroke="#5C6061"/>   <path class="graphic_stroke" d="M7.5 4L10 6.5L7.5 9" stroke="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},77586:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M2.66675 14C2.66675 11.4227 4.75609 9.33333 7.33341 9.33333C7.55975 9.33333 7.78235 9.34947 8.00008 9.3806M10.0001 4.66667C10.0001 6.13943 8.80615 7.33333 7.33341 7.33333C5.86065 7.33333 4.66675 6.13943 4.66675 4.66667C4.66675 3.19391 5.86065 2 7.33341 2C8.80615 2 10.0001 3.19391 10.0001 4.66667Z" stroke="#737373" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9236 9.30999L13.5424 9.92871C13.8841 10.2704 13.8841 10.8244 13.5424 11.1661L13.0164 11.6921L11.1603 9.83592L11.6862 9.30999C12.0279 8.96828 12.5819 8.96828 12.9236 9.30999ZM10.8509 10.1453L8.48041 12.5158C8.33946 12.6567 8.25086 12.8416 8.22928 13.0397L8.11436 14.0949C8.074 14.4655 8.38683 14.7783 8.75742 14.738L9.81258 14.6231C10.0108 14.6015 10.1956 14.5129 10.3366 14.3719L12.7071 12.0014L10.8509 10.1453Z" fill="#737373"/>'};var r=n(5813);e.exports=r(e.exports)},24327:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.4035 4.33268C10.4035 6.35773 8.40347 7.99935 7.07014 7.99935C5.73681 7.99935 3.73681 6.35773 3.73681 4.33268C3.73681 2.30764 5.22919 0.666016 7.07014 0.666016C8.91109 0.666016 10.4035 2.30764 10.4035 4.33268ZM9.07014 4.33268C9.07014 2.92159 8.05797 1.99935 7.07014 1.99935C6.08231 1.99935 5.07014 2.92159 5.07014 4.33268C5.07014 4.9009 5.35726 5.49586 5.84406 5.98038C6.36103 6.49492 6.87583 6.66602 7.07014 6.66602C7.26445 6.66602 7.77925 6.49492 8.29622 5.98038C8.78302 5.49586 9.07014 4.9009 9.07014 4.33268Z" fill="currentColor"/>   <path class="graphic" d="M7.74583 8.66602C7.93845 8.66602 8.1296 8.67884 8.31817 8.70399C8.37771 8.63583 8.43996 8.5692 8.50491 8.50425C10.067 6.94216 12.5997 6.94216 14.1618 8.50425C15.7239 10.0663 15.7239 12.599 14.1618 14.1611C12.5997 15.7232 10.067 15.7232 8.50491 14.1611C8.45207 14.1083 8.40102 14.0543 8.35176 13.9993H3.06941C2.38554 13.9993 1.87754 13.3661 2.02589 12.6985L2.22718 11.7927C2.34352 11.2692 2.56412 10.7744 2.87583 10.3381C3.62532 9.28876 4.83543 8.66602 6.12491 8.66602H7.74583ZM6.12491 9.99935C5.26603 9.99935 4.46002 10.4141 3.96081 11.113C3.75319 11.4037 3.60625 11.7332 3.52876 12.0819L3.39896 12.666H7.56111C7.25741 11.8049 7.25741 10.8605 7.56111 9.99935H6.12491ZM13.8856 11.3327C13.8856 10.9645 13.5871 10.666 13.219 10.666H12V9.44707C12 9.07888 11.7015 8.7804 11.3333 8.7804C10.9651 8.7804 10.6667 9.07888 10.6667 9.44707V10.666H9.44771C9.07952 10.666 8.78105 10.9645 8.78105 11.3327C8.78105 11.7009 9.07952 11.9994 9.44771 11.9994H10.6667V13.2183C10.6667 13.5865 10.9651 13.885 11.3333 13.885C11.7015 13.885 12 13.5865 12 13.2183V11.9994H13.219C13.5871 11.9994 13.8856 11.7009 13.8856 11.3327Z" fill="currentColor"/>'};var r=n(5813);e.exports=r(e.exports)},59146:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 3a1 1 0 0 1 1 1v9h2.575a.5.5 0 0 1 .312.89l-3.575 2.86a.5.5 0 0 1-.624 0l-3.575-2.86a.5.5 0 0 1 .312-.89H11V4a1 1 0 0 1 1-1zM3 20a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},52725:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 1a1 1 0 0 1 1 1v3h2.575a.5.5 0 0 1 .312.89l-3.575 2.86a.5.5 0 0 1-.624 0L8.113 5.89A.5.5 0 0 1 8.425 5H11V2a1 1 0 0 1 1-1zM3 12a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm8 7H8.425a.5.5 0 0 1-.312-.89l3.575-2.86a.5.5 0 0 1 .624 0l3.575 2.86a.5.5 0 0 1-.312.89H13v3a1 1 0 0 1-2 0v-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},10226:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm10 7h2.575a.5.5 0 0 0 .312-.89l-3.575-2.86a.5.5 0 0 0-.624 0l-3.575 2.86a.5.5 0 0 0 .312.89H11v9a1 1 0 0 0 2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},22220:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5zM4 7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7zm6.757 2.454a.5.5 0 0 0-.757.429v4.234a.5.5 0 0 0 .757.429l3.528-2.117a.5.5 0 0 0 0-.858l-3.528-2.117z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},27237:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'</svg> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">     <g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" d="M14.667 4C14.667 3.73036 14.5045 3.48727 14.2554 3.38408C14.0063 3.28089 13.7195 3.33793 13.5289 3.52859L10.667 6.39052V5.33333C10.667 4.22876 9.77152 3.33333 8.66695 3.33333H3.33362C2.22905 3.33333 1.33362 4.22876 1.33362 5.33333V10.6667C1.33362 11.7712 2.22905 12.6667 3.33362 12.6667H8.66695C9.77152 12.6667 10.667 11.7712 10.667 10.6667V9.60948L13.5289 12.4714C13.7195 12.6621 14.0063 12.7191 14.2554 12.6159C14.5045 12.5127 14.667 12.2696 14.667 12V4ZM9.33362 5.33333V10.6667C9.33362 11.0349 9.03514 11.3333 8.66695 11.3333H3.33362C2.96543 11.3333 2.66695 11.0349 2.66695 10.6667V5.33333C2.66695 4.96514 2.96543 4.66667 3.33362 4.66667H8.66695C9.03514 4.66667 9.33362 4.96514 9.33362 5.33333ZM13.3336 10.3905L10.9431 8L13.3336 5.60947V10.3905Z" fill="#5C6061"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89713:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.9 0.3125H1.1C0.493527 0.3125 0 0.775181 0 1.34375V9.59375C0 10.1623 0.493527 10.625 1.1 10.625H9.9C10.5065 10.625 11 10.1623 11 9.59375V1.34375C11 0.775181 10.5065 0.3125 9.9 0.3125ZM9.2567 3.73772C9.22232 4.46282 8.68214 5.45724 7.63616 6.71638C6.5558 8.03306 5.63996 8.69141 4.89353 8.69141C4.42946 8.69141 4.03906 8.29088 3.71741 7.48751C3.09129 5.33984 2.82366 4.08071 2.30804 4.08071C2.24911 4.08071 2.0404 4.1981 1.68437 4.43059L1.31116 3.97942C2.22701 3.2244 3.10112 2.38651 3.64866 2.34047C4.26741 2.28523 4.64799 2.68115 4.7904 3.53055C5.29866 6.55064 5.52455 7.00642 6.45022 5.63909C6.7817 5.14648 6.96094 4.77128 6.98549 4.51346C7.07143 3.74923 6.34955 3.80218 5.86094 3.99784C6.25134 2.79855 6.99777 2.21617 8.10022 2.2484C8.91786 2.26911 9.30335 2.76632 9.2567 3.73772Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},4311:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5 11.0415L8.5 13.0622C9.16667 13.4471 10 12.966 10 12.1962L10 1.80386C10 1.03406 9.16667 0.552935 8.5 0.937835L5 2.95856V3H1C0.447715 3 0 3.44772 0 4V10C0 10.5523 0.447715 11 1 11H5V11.0415Z" fill="white"/>   <path class="graphic" d="M14 7C14 8.10457 13.1046 9 12 9V5C13.1046 5 14 5.89543 14 7Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},84005:(e,t,n)=>{e.exports={attributes:{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.92822 3H1C0.447715 3 0 3.44772 0 4V10C0 10.5523 0.447715 11 1 11H4.92818L8.5 13.0622C9.16667 13.4471 10 12.966 10 12.1962L10 1.80386C10 1.03406 9.16667 0.552935 8.5 0.937835L4.92822 3Z" fill="white"/>   <path class="graphic" d="M12 9C13.1046 9 14 8.10457 14 7C14 5.89543 13.1046 5 12 5V9Z" fill="white"/>   <path class="graphic" d="M12 3C14.2091 3 16 4.79086 16 7C16 9.20914 14.2091 11 12 11V13C15.3137 13 18 10.3137 18 7C18 3.68629 15.3137 1 12 1V3Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},80347:(e,t,n)=>{e.exports={attributes:{width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1 3H4.92822L8.5 0.937835C9.16667 0.552935 10 1.03406 10 1.80386L10 12.1962C10 12.966 9.16667 13.4471 8.5 13.0622L4.92818 11H1C0.447715 11 0 10.5523 0 10V4C0 3.44772 0.447715 3 1 3Z" fill="white"/>   <path class="graphic" d="M16.7071 4.29289C16.3166 3.90237 15.6834 3.90237 15.2929 4.29289L14 5.58579L12.7071 4.29289C12.3166 3.90237 11.6834 3.90237 11.2929 4.29289C10.9024 4.68342 10.9024 5.31658 11.2929 5.70711L12.5858 7L11.2929 8.29289C10.9024 8.68342 10.9024 9.31658 11.2929 9.70711C11.6834 10.0976 12.3166 10.0976 12.7071 9.70711L14 8.41421L15.2929 9.70711C15.6834 10.0976 16.3166 10.0976 16.7071 9.70711C17.0976 9.31658 17.0976 8.68342 16.7071 8.29289L15.4142 7L16.7071 5.70711C17.0976 5.31658 17.0976 4.68342 16.7071 4.29289Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},77445:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.68885 3.06662C5.51107 3.19995 5.51107 3.46662 5.68885 3.59995L7.46663 4.93329C7.68637 5.0981 7.99996 4.9413 7.99996 4.66662V3.99995C10.2091 3.99995 12 5.79081 12 7.99995C12 10.2091 10.2091 12 7.99996 12C5.79082 12 3.99996 10.2091 3.99996 7.99995C3.99996 7.63176 3.70148 7.33329 3.33329 7.33329C2.9651 7.33329 2.66663 7.63176 2.66663 7.99995C2.66663 10.9455 5.05444 13.3333 7.99996 13.3333C10.9455 13.3333 13.3333 10.9455 13.3333 7.99995C13.3333 5.05444 10.9455 2.66662 7.99996 2.66662V1.99995C7.99996 1.72527 7.68637 1.56848 7.46663 1.73329L5.68885 3.06662Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},7294:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M6 1.33333C4.89543 1.33333 4 2.22876 4 3.33333C4 4.4379 4.89543 5.33333 6 5.33333C7.10457 5.33333 8 4.4379 8 3.33333C8 2.22876 7.10457 1.33333 6 1.33333ZM2.66667 3.33333C2.66667 1.49238 4.15905 0 6 0C7.84095 0 9.33333 1.49238 9.33333 3.33333C9.33333 3.8157 9.23087 4.27414 9.04653 4.68807C10.7086 4.87662 12 6.2875 12 8C12 9.84095 10.5076 11.3333 8.66667 11.3333C7.57627 11.3333 6.60815 10.8098 6 10.0003C5.39185 10.8098 4.42373 11.3333 3.33333 11.3333C1.49238 11.3333 0 9.84095 0 8C0 6.2875 1.2914 4.87662 2.95347 4.68807C2.76913 4.27414 2.66667 3.8157 2.66667 3.33333ZM5.33333 8C5.33333 6.89543 4.4379 6 3.33333 6C2.22876 6 1.33333 6.89543 1.33333 8C1.33333 9.10457 2.22876 10 3.33333 10C4.4379 10 5.33333 9.10457 5.33333 8ZM6.66667 8C6.66667 9.10457 7.5621 10 8.66667 10C9.77124 10 10.6667 9.10457 10.6667 8C10.6667 6.89543 9.77124 6 8.66667 6C7.5621 6 6.66667 6.89543 6.66667 8Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},46921:(e,t,n)=>{e.exports={attributes:{width:"11",height:"8",viewBox:"0 0 11 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.7762 1.2108C10.6498 0.739231 10.2788 0.367144 9.80781 0.240184C8.94712 0.00385134 5.50381 4.17513e-06 5.50381 4.17513e-06C5.50381 4.17513e-06 2.06104 -0.00384321 1.1998 0.222047C0.738129 0.347908 0.356699 0.728239 0.229189 1.19926C0.00219935 2.05995 8.0526e-07 3.84508 8.0526e-07 3.84508C8.0526e-07 3.84508 -0.00219763 5.63901 0.223143 6.49091C0.349554 6.96193 0.720541 7.33401 1.19211 7.46097C2.06159 7.69731 5.49556 7.70115 5.49556 7.70115C5.49556 7.70115 8.93888 7.705 9.79957 7.47966C10.27 7.35325 10.6427 6.98171 10.7707 6.5107C10.9983 5.65056 10.9999 3.86597 10.9999 3.86597C10.9999 3.86597 11.0109 2.07149 10.7762 1.2108ZM4.40239 5.49886L4.40514 2.2012L7.26696 3.85278L4.40239 5.49886Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},8523:e=>{e.exports={ctaButtonPadding:"14px"}},95306:()=>{},42742:()=>{},83473:()=>{},53893:()=>{},57167:()=>{},39727:()=>{},80049:()=>{},36663:()=>{},10962:()=>{},82102:()=>{},25893:()=>{},36413:(e,t,n)=>{function r(){return e.exports=r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,r.apply(null,arguments)}n(19601),e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o={};(()=>{"use strict";r.r(o),r.d(o,{default:()=>Zf,getVideoTypes:()=>$f});r(74916),r(15306),r(47941),r(69600),r(47042),r(23123),r(19601),r(4723),r(73210),r(26699),r(30489),r(12419),r(82526),r(57327),r(38880),r(54747),r(49337),r(41539),r(41817),r(32165),r(66992),r(78783),r(33948),r(87751);var e=r(79758),t=r(12650),n=(r(92222),r(40561),r(21249),r(24603),r(39714),r(43371),r(36210),r(68309),r(9653),r(4129),r(51532),r(43290),r(70189),r(56977),r(2707),r(83753),r(82472),r(92990),r(18927),r(33105),r(35035),r(74345),r(7174),r(32846),r(44731),r(77209),r(96319),r(58867),r(37789),r(33739),r(29368),r(14483),r(12056),r(3462),r(30678),r(27462),r(33824),r(55021),r(12974),r(15016),r(18264),r(60285),r(41637),r(44363),r(92087),r(65743),r(29135),r(65125),r(95732)),i=r.n(n),a=r(56374),s=r.n(a);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var c=r(19820),u=r.n(c);function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}var h=r(48119),m=r.n(h),g=r(3173),y=r.n(g),v=r(99227),b=r.n(v);function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}function w(e,t,n){if(_())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&p(o,n.prototype),o}var C=r(39724),S=r.n(C);const E=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=i().location&&i().location.href||"");var n="function"==typeof i().URL,r=/^\/\//.test(e),o=!i().location&&!/\/\//i.test(e);if(n?e=new(i().URL)(e,i().location||"http://example.com"):/\/\//i.test(e)||(e=S().buildAbsoluteURL(i().location&&i().location.href||"",e)),n){var a=new URL(t,e);return o?a.href.slice("http://example.com".length):r?a.href.slice(a.protocol.length):a.href}return S().buildAbsoluteURL(e,t)};function x(e,t){return(x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,x(e,t)}var O=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var o=Array.prototype.slice.call(arguments,1),i=t.length,a=0;a<i;++a)t[a].apply(this,o)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var A=r(13423).Buffer;function P(e){for(var t,n=(t=e,i().atob?i().atob(t):A.from(t,"base64").toString("binary")),r=new Uint8Array(n.length),o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}var R=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return k(t,e),t.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(O),I=String.fromCharCode(9),M=function(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},N=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},o=n.length;o--;)""!==n[o]&&((t=/([^=]*)=(.*)/.exec(n[o]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},D=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}k(t,e);var n=t.prototype;return n.push=function(e){var t,n,r=this;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce((function(t,n){var r=n(e);return r===e?t:t.concat([r])}),[e]).forEach((function(e){for(var o=0;o<r.customParsers.length;o++)if(r.customParsers[o].call(r,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void r.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void r.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(e))return n=T(M(t[1]),{type:"tag",tagType:"byterange"}),void r.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"map"},t[1]){var i=N(t[1]);i.URI&&(n.uri=i.URI),i.BYTERANGE&&(n.byterange=M(i.BYTERANGE))}r.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=N(t[1]),n.attributes.RESOLUTION){var a=n.attributes.RESOLUTION.split("x"),s={};a[0]&&(s.width=parseInt(a[0],10)),a[1]&&(s.height=parseInt(a[1],10)),n.attributes.RESOLUTION=s}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}r.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(e))return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=N(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=N(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=N(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if((t=/^#EXT-X-SKIP:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"skip"}).attributes=N(t[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(I)),void r.trigger("data",n);if((t=/^#EXT-X-PART:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part"}).attributes=N(t[1]),["DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=M(n.attributes.BYTERANGE)),void r.trigger("data",n);if((t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"server-control"}).attributes=N(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PART-INF:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part-inf"}).attributes=N(t[1]),["PART-TARGET"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"preload-hint"}).attributes=N(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(n.attributes.hasOwnProperty(e)){n.attributes[e]=parseInt(n.attributes[e],10);var t="BYTERANGE-LENGTH"===e?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[t]=n.attributes[e],delete n.attributes[e]}})),void r.trigger("data",n);if((t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"rendition-report"}).attributes=N(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseInt(n.attributes[e],10))})),void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})})):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,o=e.dataParser,i=e.segment;"function"!=typeof o&&(o=function(e){return e}),this.customParsers.push((function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:o(e),customType:r,segment:i}),!0}))},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push((function(e){return t.test(e)?n(e):e}))},t}(O),j=function(e){var t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(function(e){return e[1].toUpperCase()})))]=e[n]})),t},L=function(e){var t=e.serverControl,n=e.targetDuration,r=e.partTargetDuration;if(t){var o="#EXT-X-SERVER-CONTROL",i="holdBack",a="partHoldBack",s=n&&3*n,l=r&&2*r;n&&!t.hasOwnProperty(i)&&(t[i]=s,this.trigger("info",{message:o+" defaulting HOLD-BACK to targetDuration * 3 ("+s+")."})),s&&t[i]<s&&(this.trigger("warn",{message:o+" clamping HOLD-BACK ("+t[i]+") to targetDuration * 3 ("+s+")"}),t[i]=s),r&&!t.hasOwnProperty(a)&&(t[a]=3*r,this.trigger("info",{message:o+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+t[a]+")."})),r&&t[a]<l&&(this.trigger("warn",{message:o+" clamping PART-HOLD-BACK ("+t[a]+") to partTargetDuration * 2 ("+l+")."}),t[a]=l)}},B=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new R,t.parseStream=new D,t.lineStream.pipe(t.parseStream);var n,r,o=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),i=[],a={},s=!1,l=function(){},c={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},u=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var d=0,p=0;return t.on("end",(function(){a.uri||!a.parts&&!a.preloadHints||(!a.map&&n&&(a.map=n),!a.key&&r&&(a.key=r),a.timeline||"number"!=typeof u||(a.timeline=u),t.manifest.preloadSegment=a)})),t.parseStream.on("data",(function(e){var t,f;({tag:function(){({version:function(){e.version&&(this.manifest.version=e.version)},"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(a.byterange=t,t.length=e.length,"offset"in e||(e.offset=d)),"offset"in e&&(a.byterange=t,t.offset=e.offset),d=t.offset+t.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),e.duration>0&&(a.duration=e.duration),0===e.duration&&(a.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=i},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){if("com.apple.streamingkeydelivery"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:e.attributes});if("com.microsoft.playready"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:e.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:P(e.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},void 0!==e.attributes.IV&&(r.iv=e.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?this.manifest.mediaSequence=e.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?(this.manifest.discontinuitySequence=e.number,u=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange),r&&(n.key=r)},"stream-inf":function(){this.manifest.playlists=i,this.manifest.mediaGroups=this.manifest.mediaGroups||c,e.attributes?(a.attributes||(a.attributes={}),T(a.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||c,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME){var n=this.manifest.mediaGroups[e.attributes.TYPE];n[e.attributes["GROUP-ID"]]=n[e.attributes["GROUP-ID"]]||{},t=n[e.attributes["GROUP-ID"]],(f={default:/yes/i.test(e.attributes.DEFAULT)}).default?f.autoselect=!0:f.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(f.language=e.attributes.LANGUAGE),e.attributes.URI&&(f.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(f.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(f.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(f.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=f}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){u+=1,a.discontinuity=!0,this.manifest.discontinuityStarts.push(i.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),a.dateTimeString=e.dateTimeString,a.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):(this.manifest.targetDuration=e.duration,L.call(this,this.manifest))},start:function(){e.attributes&&!isNaN(e.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){a.cueOut=e.data},"cue-out-cont":function(){a.cueOutCont=e.data},"cue-in":function(){a.cueIn=e.data},skip:function(){this.manifest.skip=j(e.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",e.attributes,["SKIPPED-SEGMENTS"])},part:function(){var t=this;s=!0;var n=this.manifest.segments.length,r=j(e.attributes);a.parts=a.parts||[],a.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=p),p=r.byterange.offset+r.byterange.length);var o=a.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+o+" for segment #"+n,e.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(e,n){e.hasOwnProperty("lastPart")||t.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+n+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var t=this.manifest.serverControl=j(e.attributes);t.hasOwnProperty("canBlockReload")||(t.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),L.call(this,this.manifest),t.canSkipDateranges&&!t.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var t=this.manifest.segments.length,n=j(e.attributes),r=n.type&&"PART"===n.type;a.preloadHints=a.preloadHints||[],a.preloadHints.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=r?p:0,r&&(p=n.byterange.offset+n.byterange.length)));var o=a.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+o+" for segment #"+t,e.attributes,["TYPE","URI"]),n.type)for(var i=0;i<a.preloadHints.length-1;i++){var s=a.preloadHints[i];s.type&&(s.type===n.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+o+" for segment #"+t+" has the same TYPE "+n.type+" as preload hint #"+i}))}},"rendition-report":function(){var t=j(e.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(t);var n=this.manifest.renditionReports.length-1,r=["LAST-MSN","URI"];s&&r.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+n,e.attributes,r)},"part-inf":function(){this.manifest.partInf=j(e.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",e.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),L.call(this,this.manifest)}}[e.tagType]||l).call(o)},uri:function(){a.uri=e.uri,i.push(a),this.manifest.targetDuration&&!("duration"in a)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),a.duration=this.manifest.targetDuration),r&&(a.key=r),a.timeline=u,n&&(a.map=n),p=0,a={}},comment:function(){},custom:function(){e.segment?(a.custom=a.custom||{},a.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(o)})),t}k(t,e);var n=t.prototype;return n.warnOnMissingAttributes_=function(e,t,n){var r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:e+" lacks required attribute(s): "+r.join(", ")})},n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n"),this.trigger("end")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(O),F={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},U=["video","audio","text"],H=["Video","Audio","Text"],V=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},z=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),U.forEach((function(r){var o=F[r].exec(e.toLowerCase());if(o&&!(o.length<=1)){t=r;var i=e.substring(0,o[1].length),a=e.replace(i,"");n.push({type:i,details:a,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},q=function(e){return void 0===e&&(e=""),F.audio.test(e.trim().toLowerCase())},G=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return V(e.trim())})),r="video";1===n.length&&q(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),F.text.test(t.trim().toLowerCase()))&&(r="application");var o="mp4";return n.every((function(e){return F.mp4.test(e)}))?o="mp4":n.every((function(e){return F.webm.test(e)}))?o="webm":n.every((function(e){return F.ogg.test(e)}))&&(o="ogg"),r+"/"+o+';codecs="'+e+'"'}},W=function(e){return void 0===e&&(e=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(G(e))||!1},Y=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<H.length;t++){if(F["muxer"+H[t]].test(e))return!0}return!1}))},Z=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,K=/^application\/dash\+xml/i,$=function(e){return Z.test(e)?"hls":K.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},Q=(r(8255),function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer}),X=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||Q(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},J=i().BigInt||Number,ee=[J("0x1"),J("0x100"),J("0x10000"),J("0x1000000"),J("0x100000000"),J("0x10000000000"),J("0x1000000000000"),J("0x100000000000000"),J("0x10000000000000000")],te=(function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}(),function(e,t){var n=void 0===t?{}:t,r=n.signed,o=void 0!==r&&r,i=n.le,a=void 0!==i&&i;e=X(e);var s=a?"reduce":"reduceRight",l=(e[s]?e[s]:Array.prototype[s]).call(e,(function(t,n,r){var o=a?r:Math.abs(r+1-e.length);return t+J(n)*ee[o]}),J(0));if(o){var c=ee[e.length]/J(2)-J(1);(l=J(l))>c&&(l-=c,l-=c,l-=J(2))}return Number(l)}),ne=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=J(e);for(var o,i=(o=e,Math.ceil(function(e){return e.toString(2).length}(o)/8)),a=new Uint8Array(new ArrayBuffer(i)),s=0;s<i;s++){var l=r?s:Math.abs(s+1-a.length);a[l]=Number(e/ee[s]&J(255)),e<0&&(a[l]=Math.abs(~a[l]),a[l]-=0===s?1:2)}return a},re=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},oe=function(e,t,n){var r=void 0===n?{}:n,o=r.offset,i=void 0===o?0:o,a=r.mask,s=void 0===a?[]:a;e=X(e);var l=(t=X(t)).every?t.every:Array.prototype.every;return t.length&&e.length-i>=t.length&&l.call(t,(function(t,n){return t===(s[n]?s[n]&e[i+n]:e[i+n])}))},ie=r(23399);function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var se,le=function(e){return!!e&&"object"===ae(e)},ce=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(t,n){return"object"!==ae(n)||Object.keys(n).forEach((function(r){Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):le(t[r])&&le(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]})),t}),{})},ue=function(e){return Object.keys(e).map((function(t){return e[t]}))},de=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},pe=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},fe=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},he="INVALID_NUMBER_OF_PERIOD",me="DASH_EMPTY_MANIFEST",ge="DASH_INVALID_XML",ye="NO_BASE_URL",ve="SEGMENT_TIME_UNSPECIFIED",be="UNSUPPORTED_UTC_TIMING_SCHEME",_e=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,o=void 0===r?"":r,a=e.range,s=void 0===a?"":a,l=e.indexRange,c=void 0===l?"":l,u={uri:o,resolvedUri:E(n||"",o)};if(s||c){var d,p=(s||c).split("-"),f=i().BigInt?i().BigInt(p[0]):parseInt(p[0],10),h=i().BigInt?i().BigInt(p[1]):parseInt(p[1],10);f<Number.MAX_SAFE_INTEGER&&"bigint"==typeof f&&(f=Number(f)),h<Number.MAX_SAFE_INTEGER&&"bigint"==typeof h&&(h=Number(h)),"bigint"==typeof(d="bigint"==typeof h||"bigint"==typeof f?i().BigInt(h)-i().BigInt(f)+i().BigInt(1):h-f+1)&&d<Number.MAX_SAFE_INTEGER&&(d=Number(d)),u.byterange={length:d,offset:f}}return u},we=function(e){return e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e},Ce={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,o=e.sourceDuration,i=e.periodDuration,a=we(e.endNumber),s=t/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/s}:{start:0,end:o/s}},dynamic:function(e){var t=e.NOW,n=e.clientOffset,r=e.availabilityStartTime,o=e.timescale,i=void 0===o?1:o,a=e.duration,s=e.periodStart,l=void 0===s?0:s,c=e.minimumUpdatePeriod,u=void 0===c?0:c,d=e.timeShiftBufferDepth,p=void 0===d?1/0:d,f=we(e.endNumber),h=(t+n)/1e3,m=r+l,g=h+u-m,y=Math.ceil(g*i/a),v=Math.floor((h-m-p)*i/a),b=Math.floor((h-m)*i/a);return{start:Math.max(0,v),end:"number"==typeof f?f:Math.min(y,b)}}},Se=function(e){var t=e.type,n=e.duration,r=e.timescale,o=void 0===r?1:r,i=e.periodDuration,a=e.sourceDuration,s=Ce[t](e),l=function(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}(s.start,s.end).map(function(e){return function(t){var n=e.duration,r=e.timescale,o=void 0===r?1:r,i=e.periodStart,a=e.startNumber;return{number:(void 0===a?1:a)+t,duration:n/o,timeline:i,time:t*n}}}(e));if("static"===t){var c=l.length-1,u="number"==typeof i?i:a;l[c].duration=u-n/o*c}return l},Ee=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,o=e.sourceDuration,i=e.indexRange,a=void 0===i?"":i,s=e.periodStart,l=e.presentationTime,c=e.number,u=void 0===c?0:c,d=e.duration;if(!t)throw new Error(ye);var p=_e({baseUrl:t,source:r.sourceURL,range:r.range}),f=_e({baseUrl:t,source:t,indexRange:a});if(f.map=p,d){var h=Se(e);h.length&&(f.duration=h[0].duration,f.timeline=h[0].timeline)}else o&&(f.duration=o,f.timeline=s);return f.presentationTime=l||s,f.number=u,[f]},xe=function(e,t,n){var r,o=e.sidx.map?e.sidx.map:null,a=e.sidx.duration,s=e.timeline||0,l=e.sidx.byterange,c=l.offset+l.length,u=t.timescale,d=t.references.filter((function(e){return 1!==e.referenceType})),p=[],f=e.endList?"static":"dynamic",h=e.sidx.timeline,m=h,g=e.mediaSequence||0;r="bigint"==typeof t.firstOffset?i().BigInt(c)+t.firstOffset:c+t.firstOffset;for(var y=0;y<d.length;y++){var v=t.references[y],b=v.referencedSize,_=v.subsegmentDuration,w=void 0;w="bigint"==typeof r?r+i().BigInt(b)-i().BigInt(1):r+b-1;var C=Ee({baseUrl:n,timescale:u,timeline:s,periodStart:h,presentationTime:m,number:g,duration:_,sourceDuration:a,indexRange:r+"-"+w,type:f})[0];o&&(C.map=o),p.push(C),r+="bigint"==typeof r?i().BigInt(b):b,m+=_/u,g++}return e.segments=p,e},ke=["AUDIO","SUBTITLES"],Oe=function(e){return(t=e,n=function(e){return e.timeline},ue(t.reduce((function(e,t){return t.forEach((function(t){e[n(t)]=t})),e}),{}))).sort((function(e,t){return e.timeline>t.timeline?1:-1}));var t,n},Te=function(e){var t,n,r=[];return t=e,n=function(e,t,n,o){r=r.concat(e.playlists||[])},ke.forEach((function(e){for(var r in t.mediaGroups[e])for(var o in t.mediaGroups[e][r]){var i=t.mediaGroups[e][r][o];n(i,e,r,o)}})),r},Ae=function(e){var t=e.playlist,n=e.mediaSequence;t.mediaSequence=n,t.segments.forEach((function(e,n){e.number=t.mediaSequence+n}))},Pe=function(e){var t=e.oldManifest,n=e.newManifest,r=t.playlists.concat(Te(t)),o=n.playlists.concat(Te(n));return n.timelineStarts=Oe([t.timelineStarts,n.timelineStarts]),function(e){var t=e.oldPlaylists,n=e.newPlaylists,r=e.timelineStarts;n.forEach((function(e){e.discontinuitySequence=fe(r,(function(t){return t.timeline===e.timeline}));var n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].attributes.NAME===t)return e[n];return null}(t,e.attributes.NAME);if(n&&!e.sidx){var o=e.segments[0],i=fe(n.segments,(function(e){return Math.abs(e.presentationTime-o.presentationTime)<1/60}));if(-1===i)return Ae({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),void((!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[i].discontinuity&&!o.discontinuity&&(o.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),Ae({playlist:e,mediaSequence:n.segments[i].number})}}))}({oldPlaylists:r,newPlaylists:o,timelineStarts:n.timelineStarts}),n},Re=function(e){return e&&e.uri+"-"+(t=e.byterange,n="bigint"==typeof t.offset||"bigint"==typeof t.length?i().BigInt(t.offset)+i().BigInt(t.length)-i().BigInt(1):t.offset+t.length-1,t.offset+"-"+n);var t,n},Ie=function(e){return ue(e.reduce((function(e,t){var n=t.attributes.id+(t.attributes.lang||"");if(e[n]){var r;if(t.segments)t.segments[0]&&(t.segments[0].discontinuity=!0),(r=e[n].segments).push.apply(r,t.segments);t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)}else e[n]=t,e[n].attributes.timelineStarts=[];return e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((function(e){var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce((function(e,t,r){return t[n]&&e.push(r),e}),[])),e}))},Me=function(e,t){var n=Re(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&xe(e,r,e.sidx.resolvedUri),e},Ne=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e)e[n]=Me(e[n],t);return e},De=function(e){var t,n=e.attributes,r=e.segments,o=e.sidx,i=e.discontinuityStarts,a={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuityStarts:i,timelineStarts:n.timelineStarts,segments:r};return n.frameRate&&(a.attributes["FRAME-RATE"]=n.frameRate),n.contentProtection&&(a.contentProtection=n.contentProtection),o&&(a.sidx=o),a},je=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},Le=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},Be=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},Fe=function(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(r.playlists)}),[]):[]},Ue=function(e){var t,n=e.dashPlaylists,r=e.locations,o=e.sidxMapping,i=void 0===o?{}:o,a=e.previousManifest;if(!n.length)return{};var s=n[0].attributes,l=s.sourceDuration,c=s.type,u=s.suggestedPresentationDelay,d=s.minimumUpdatePeriod,p=Ie(n.filter(je)).map(De),f=Ie(n.filter(Le)),h=Ie(n.filter(Be)),m=n.map((function(e){return e.attributes.captionServices})).filter(Boolean),g={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(t={AUDIO:{},VIDEO:{}},t["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:l,playlists:Ne(p,i)};d>=0&&(g.minimumUpdatePeriod=1e3*d),r&&(g.locations=r),"dynamic"===c&&(g.suggestedPresentationDelay=u);var y,v,b=0===g.playlists.length,_=f.length?function(e,t,n){var r;void 0===t&&(t={}),void 0===n&&(n=!1);var o=e.reduce((function(e,o){var i=o.attributes.role&&o.attributes.role.value||"",a=o.attributes.lang||"",s=o.attributes.label||"main";if(a&&!o.attributes.label){var l=i?" ("+i+")":"";s=""+o.attributes.lang+l}e[s]||(e[s]={language:a,autoselect:!0,default:"main"===i,playlists:[],uri:""});var c=Me(function(e,t){var n,r=e.attributes,o=e.segments,i=e.sidx,a=e.mediaSequence,s=e.discontinuitySequence,l=e.discontinuityStarts,c={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:s,discontinuityStarts:l,timelineStarts:r.timelineStarts,mediaSequence:a,segments:o};return r.contentProtection&&(c.contentProtection=r.contentProtection),i&&(c.sidx=i),t&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(o,n),t);return e[s].playlists.push(c),void 0===r&&"main"===i&&((r=o).default=!0),e}),{});r||(o[Object.keys(o)[0]].default=!0);return o}(f,i,b):null,w=h.length?function(e,t){return void 0===t&&(t={}),e.reduce((function(e,n){var r=n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(Me(function(e){var t,n=e.attributes,r=e.segments,o=e.mediaSequence,i=e.discontinuityStarts,a=e.discontinuitySequence;void 0===r&&(r=[{uri:n.baseUrl,timeline:n.periodStart,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var s=((t={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,t);return n.codecs&&(s.CODECS=n.codecs),{attributes:s,uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:n.baseUrl||"",targetDuration:n.duration,timelineStarts:n.timelineStarts,discontinuityStarts:i,discontinuitySequence:a,mediaSequence:o,segments:r}}(n),t)),e}),{})}(h,i):null,C=p.concat(Fe(_),Fe(w)),S=C.map((function(e){return e.timelineStarts}));return g.timelineStarts=Oe(S),y=C,v=g.timelineStarts,y.forEach((function(e){e.mediaSequence=0,e.discontinuitySequence=fe(v,(function(t){return t.timeline===e.timeline})),e.segments&&e.segments.forEach((function(e,t){e.number=t}))})),_&&(g.mediaGroups.AUDIO.audio=_),w&&(g.mediaGroups.SUBTITLES.subs=w),m.length&&(g.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce((function(e,t){return t?(t.forEach((function(t){var n=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e}),{})),a?Pe({oldManifest:a,newManifest:g}):g},He=function(e,t,n){var r=e.NOW,o=e.clientOffset,i=e.availabilityStartTime,a=e.timescale,s=void 0===a?1:a,l=e.periodStart,c=void 0===l?0:l,u=e.minimumUpdatePeriod,d=(r+o)/1e3+(void 0===u?0:u)-(i+c);return Math.ceil((d*s-t)/n)},Ve=function(e,t){for(var n=e.type,r=e.minimumUpdatePeriod,o=void 0===r?0:r,i=e.media,a=void 0===i?"":i,s=e.sourceDuration,l=e.timescale,c=void 0===l?1:l,u=e.startNumber,d=void 0===u?1:u,p=e.periodStart,f=[],h=-1,m=0;m<t.length;m++){var g=t[m],y=g.d,v=g.r||0,b=g.t||0;h<0&&(h=b),b&&b>h&&(h=b);var _=void 0;if(v<0){var w=m+1;_=w===t.length?"dynamic"===n&&o>0&&a.indexOf("$Number$")>0?He(e,h,y):(s*c-h)/y:(t[w].t-h)/y}else _=v+1;for(var C=d+f.length+_,S=d+f.length;S<C;)f.push({number:S,duration:y/c,time:h,timeline:p}),h+=y,S++}return f},ze=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,qe=function(e,t){return e.replace(ze,function(e){return function(t,n,r,o){if("$$"===t)return"$";if(void 0===e[n])return t;var i=""+e[n];return"RepresentationID"===n?i:(o=r?parseInt(o,10):1,i.length>=o?i:""+new Array(o-i.length+1).join("0")+i)}}(t))},Ge=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,o=void 0===r?{sourceURL:"",range:""}:r,i=_e({baseUrl:e.baseUrl,source:qe(o.sourceURL,n),range:o.range});return function(e,t){return e.duration||t?e.duration?Se(e):Ve(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]}(e,t).map((function(t){n.Number=t.number,n.Time=t.time;var r=qe(e.media||"",n),o=e.timescale||1,a=e.presentationTimeOffset||0,s=e.periodStart+(t.time-a)/o;return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:E(e.baseUrl||"",r),map:i,number:t.number,presentationTime:s}}))},We=function(e,t){var n=e.duration,r=e.segmentUrls,o=void 0===r?[]:r,i=e.periodStart;if(!n&&!t||n&&t)throw new Error(ve);var a,s=o.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,o=void 0===r?{}:r,i=_e({baseUrl:n,source:o.sourceURL,range:o.range}),a=_e({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=i,a}(e,t)}));return n&&(a=Se(e)),t&&(a=Ve(e,t)),a.map((function(t,n){if(s[n]){var r=s[n],o=e.timescale||1,a=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=i+(t.time-a)/o,r}})).filter((function(e){return e}))},Ye=function(e){var t,n,r=e.attributes,o=e.segmentInfo;o.template?(n=Ge,t=ce(r,o.template)):o.base?(n=Ee,t=ce(r,o.base)):o.list&&(n=We,t=ce(r,o.list));var i={attributes:r};if(!n)return i;var a=n(t,o.segmentTimeline);if(t.duration){var s=t,l=s.duration,c=s.timescale,u=void 0===c?1:c;t.duration=l/u}else a.length?t.duration=a.reduce((function(e,t){return Math.max(e,Math.ceil(t.duration))}),0):t.duration=0;return i.attributes=t,i.segments=a,o.base&&t.indexRange&&(i.sidx=a[0],i.segments=[]),i},Ze=function(e,t){return pe(e.childNodes).filter((function(e){return e.tagName===t}))},Ke=function(e){return e.textContent.trim()},$e=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(o||0)+86400*parseFloat(i||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(l||0)},Qe={mediaPresentationDuration:function(e){return $e(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return $e(e)},suggestedPresentationDelay:function(e){return $e(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return $e(e)},start:function(e){return $e(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},frameRate:function(e){return function(e){return parseFloat(e.split("/").reduce((function(e,t){return e/t})))}(e)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?$e(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},Xe=function(e){return e&&e.attributes?pe(e.attributes).reduce((function(e,t){var n=Qe[t.name]||Qe.DEFAULT;return e[t.name]=n(t.value),e}),{}):{}},Je={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},et=function(e,t){return t.length?de(e.map((function(e){return t.map((function(t){return E(e,Ke(t))}))}))):e},tt=function(e){var t=Ze(e,"SegmentTemplate")[0],n=Ze(e,"SegmentList")[0],r=n&&Ze(n,"SegmentURL").map((function(e){return ce({tag:"SegmentURL"},Xe(e))})),o=Ze(e,"SegmentBase")[0],i=n||t,a=i&&Ze(i,"SegmentTimeline")[0],s=n||o||t,l=s&&Ze(s,"Initialization")[0],c=t&&Xe(t);c&&l?c.initialization=l&&Xe(l):c&&c.initialization&&(c.initialization={sourceURL:c.initialization});var u={template:c,segmentTimeline:a&&Ze(a,"S").map((function(e){return Xe(e)})),list:n&&ce(Xe(n),{segmentUrls:r,initialization:Xe(l)}),base:o&&ce(Xe(o),{initialization:Xe(l)})};return Object.keys(u).forEach((function(e){u[e]||delete u[e]})),u},nt=function(e,t,n){return function(r){var o,i=Xe(r),a=et(t,Ze(r,"BaseURL")),s=Ze(r,"Role")[0],l={role:Xe(s)},c=ce(e,i,l),u=Ze(r,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(o=Xe(u)).schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(e){var t,n;if(n=e,/^CC\d=/.test(e)){var r=e.split("=");t=r[0],n=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:n}})):"urn:scte:dash:cc:cea-708:2015"===o.schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var n=e.split("="),r=n[0],o=n[1],i=void 0===o?"":o;t.channel=r,t.language=e,i.split(",").forEach((function(e){var n=e.split(":"),r=n[0],o=n[1];"lang"===r?t.language=o:"er"===r?t.easyReader=Number(o):"war"===r?t.aspectRatio=Number(o):"3D"===r&&(t["3D"]=Number(o))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;d&&(c=ce(c,{captionServices:d}));var p=Ze(r,"Label")[0];if(p&&p.childNodes.length){var f=p.childNodes[0].nodeValue.trim();c=ce(c,{label:f})}var h=Ze(r,"ContentProtection").reduce((function(e,t){var n=Xe(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());var r=Je[n.schemeIdUri];if(r){e[r]={attributes:n};var o=Ze(t,"cenc:pssh")[0];if(o){var i=Ke(o);e[r].pssh=i&&P(i)}}return e}),{});Object.keys(h).length&&(c=ce(c,{contentProtection:h}));var m=tt(r),g=Ze(r,"Representation"),y=ce(n,m);return de(g.map(function(e,t,n){return function(r){var o=Ze(r,"BaseURL"),i=et(t,o),a=ce(e,Xe(r)),s=tt(r);return i.map((function(e){return{segmentInfo:ce(n,s),attributes:ce(a,{baseUrl:e})}}))}}(c,a,y)))}},rt=function(e,t){return function(n,r){var o=et(t,Ze(n.node,"BaseURL")),i=ce(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(i.periodDuration=n.attributes.duration);var a=Ze(n.node,"AdaptationSet"),s=tt(n.node);return de(a.map(nt(i,o,s)))}},ot=function(e){if(""===e)throw new Error(me);var t,n,r=new ie.DOMParser;try{n=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(ge);return n},it=function(e,t){void 0===t&&(t={});var n=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,o=void 0===r?"":r,i=n.NOW,a=void 0===i?Date.now():i,s=n.clientOffset,l=void 0===s?0:s,c=Ze(e,"Period");if(!c.length)throw new Error(he);var u=Ze(e,"Location"),d=Xe(e),p=et([o],Ze(e,"BaseURL"));d.type=d.type||"static",d.sourceDuration=d.mediaPresentationDuration||0,d.NOW=a,d.clientOffset=l,u.length&&(d.locations=u.map(Ke));var f=[];return c.forEach((function(e,t){var n=Xe(e),r=f[t-1];n.start=function(e){var t=e.attributes,n=e.priorPeriodAttributes,r=e.mpdType;return"number"==typeof t.start?t.start:n&&"number"==typeof n.start&&"number"==typeof n.duration?n.start+n.duration:n||"static"!==r?null:0}({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:d.type}),f.push({node:e,attributes:n})})),{locations:d.locations,representationInfo:de(f.map(rt(d,p)))}}(ot(e),t),r=n.representationInfo.map(Ye);return Ue({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},at=function(e){return function(e){var t=Ze(e,"UTCTiming")[0];if(!t)return null;var n=Xe(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(be)}return n}(ot(e))},st=r(47376),lt=r.n(st),ct=X([73,68,51]),ut=function e(t,n){return void 0===n&&(n=0),(t=X(t)).length-n<10||!oe(t,ct,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=X(e))[t+5],r=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?r+20:r+10}(t,n),e(t,n))},dt=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"==typeof e?re(e):e}),pt=function(e){e=X(e);for(var t=[],n=0;e.length>n;){var r=e[n],o=0,i=0,a=e[++i];for(i++;128&a;)o=(127&a)<<7,a=e[i],i++;o+=127&a;for(var s=0;s<se.length;s++){var l=se[s],c=l.id,u=l.parser;if(r===c){t.push(u(e.subarray(i,i+o)));break}}n+=o+i}return t};se=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var n=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,X(e));try{return decodeURIComponent(escape(t))}catch(e){}return t}(e.subarray(t.size+1,t.size+1+n)),t.size+=n}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=pt(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:pt(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var ft=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(e){return dt(e)})):[dt(e)]}(n),t=X(t);var o=[];if(!n.length)return o;for(var i=0;i<t.length;){var a=(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0,s=t.subarray(i+4,i+8);if(0===a)break;var l=i+a;if(l>t.length){if(r)break;l=t.length}var c=t.subarray(i+8,l);oe(s,n[0])&&(1===n.length?o.push(c):o.push.apply(o,e(c,n.slice(1),r))),i=l}return o},ht={EBML:X([26,69,223,163]),DocType:X([66,130]),Segment:X([24,83,128,103]),SegmentInfo:X([21,73,169,102]),Tracks:X([22,84,174,107]),Track:X([174]),TrackNumber:X([215]),DefaultDuration:X([35,227,131]),TrackEntry:X([174]),TrackType:X([131]),FlagDefault:X([136]),CodecID:X([134]),CodecPrivate:X([99,162]),VideoTrack:X([224]),AudioTrack:X([225]),Cluster:X([31,67,182,117]),Timestamp:X([231]),TimestampScale:X([42,215,177]),BlockGroup:X([160]),BlockDuration:X([155]),Block:X([161]),SimpleBlock:X([163])},mt=[128,64,32,16,8,4,2,1],gt=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var o=function(e){for(var t=1,n=0;n<mt.length&&!(e&mt[n]);n++)t++;return t}(e[t]),i=e.subarray(t,t+o);return n&&((i=Array.prototype.slice.call(e,t,t+o))[0]^=mt[o-1]),{length:o,value:te(i,{signed:r}),bytes:i}},yt=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"==typeof t?ne(t):t},vt=function e(t,n,r){if(r>=n.length)return n.length;var o=gt(n,r,!1);if(oe(t.bytes,o.bytes))return r;var i=gt(n,r+o.length);return e(t,n,r+i.length+i.value+o.length)},bt=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return yt(e)})):[yt(e)]}(n),t=X(t);var r=[];if(!n.length)return r;for(var o=0;o<t.length;){var i=gt(t,o,!1),a=gt(t,o+i.length),s=o+i.length+a.length;127===a.value&&(a.value=vt(i,t,s),a.value!==t.length&&(a.value-=s));var l=s+a.value>t.length?t.length:s+a.value,c=t.subarray(s,l);oe(n[0],i.bytes)&&(1===n.length?r.push(c):r=r.concat(e(c,n.slice(1)))),o+=i.length+a.length+c.length}return r},_t=X([0,0,0,1]),wt=X([0,0,1]),Ct=X([0,0,3]),St=function(e){for(var t=[],n=1;n<e.length-2;)oe(e.subarray(n,n+3),Ct)&&(t.push(n+2),n++),n++;if(0===t.length)return e;var r=e.length-t.length,o=new Uint8Array(r),i=0;for(n=0;n<r;i++,n++)i===t[0]&&(i++,t.shift()),o[n]=e[i];return o},Et=function(e,t,n,r){void 0===r&&(r=1/0),e=X(e),n=[].concat(n);for(var o,i=0,a=0;i<e.length&&(a<r||o);){var s=void 0;if(oe(e.subarray(i),_t)?s=4:oe(e.subarray(i),wt)&&(s=3),s){if(a++,o)return St(e.subarray(o,i));var l=void 0;"h264"===t?l=31&e[i+s]:"h265"===t&&(l=e[i+s]>>1&63),-1!==n.indexOf(l)&&(o=i+s),i+=s+("h264"===t?1:2)}else i++}return e.subarray(0,0)},xt={webm:X([119,101,98,109]),matroska:X([109,97,116,114,111,115,107,97]),flac:X([102,76,97,67]),ogg:X([79,103,103,83]),ac3:X([11,119]),riff:X([82,73,70,70]),avi:X([65,86,73]),wav:X([87,65,86,69]),"3gp":X([102,116,121,112,51,103]),mp4:X([102,116,121,112]),fmp4:X([115,116,121,112]),mov:X([102,116,121,112,113,116]),moov:X([109,111,111,118]),moof:X([109,111,111,102])},kt={aac:function(e){var t=ut(e);return oe(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=ut(e);return oe(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=bt(e,[ht.EBML,ht.DocType])[0];return oe(t,xt.webm)},mkv:function(e){var t=bt(e,[ht.EBML,ht.DocType])[0];return oe(t,xt.matroska)},mp4:function(e){return!kt["3gp"](e)&&!kt.mov(e)&&(!(!oe(e,xt.mp4,{offset:4})&&!oe(e,xt.fmp4,{offset:4}))||(!(!oe(e,xt.moof,{offset:4})&&!oe(e,xt.moov,{offset:4}))||void 0))},mov:function(e){return oe(e,xt.mov,{offset:4})},"3gp":function(e){return oe(e,xt["3gp"],{offset:4})},ac3:function(e){var t=ut(e);return oe(e,xt.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=ut(e);return oe(e,xt.flac,{offset:t})},ogg:function(e){return oe(e,xt.ogg)},avi:function(e){return oe(e,xt.riff)&&oe(e,xt.avi,{offset:8})},wav:function(e){return oe(e,xt.riff)&&oe(e,xt.wav,{offset:8})},h264:function(e){return function(e,t,n){return Et(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return Et(e,"h265",t,n)}(e,[32,33],3).length}},Ot=Object.keys(kt).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);Ot.forEach((function(e){var t=kt[e];kt[e]=function(e){return t(X(e))}}));var Tt=kt,At=function(e){e=X(e);for(var t=0;t<Ot.length;t++){var n=Ot[t];if(Tt[n](e))return n}return""},Pt=r(52953);function Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function It(e){var t="function"==typeof Map?new Map:void 0;return(It=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return w(e,arguments,Rt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,e)})(e)}function Mt(e){return(Mt="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)}for(var Nt,Dt={},jt=function(e,t){return Dt[e]=Dt[e]||[],t&&(Dt[e]=Dt[e].concat(t)),Dt[e]},Lt=function(e,t){var n=jt(e).indexOf(t);return!(n<=-1)&&(Dt[e]=Dt[e].slice(),Dt[e].splice(n,1),!0)},Bt={prefixed:!0},Ft=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],Ut=Ft[0],Ht=0;Ht<Ft.length;Ht++)if(Ft[Ht][1]in s()){Nt=Ft[Ht];break}if(Nt){for(var Vt=0;Vt<Nt.length;Vt++)Bt[Ut[Vt]]=Nt[Vt];Bt.prefixed=Nt[0]!==Ut[0]}var zt=[];var qt=function e(t){var n,r="info",o=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n("log",r,t)};return n=function(e,t){return function(n,r,o){var a=t.levels[r],s=new RegExp("^("+a+")$");if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),zt){zt.push([].concat(o));var l=zt.length-1e3;zt.splice(0,l>0?l:0)}if(i().console){var c=i().console[n];c||"debug"!==n||(c=i().console.info||i().console.log),c&&a&&s.test(n)&&c[Array.isArray(o)?"apply":"call"](i().console,o)}}}(t,o),o.createLogger=function(n){return e(t+": "+n)},o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},o.level=function(e){if("string"==typeof e){if(!o.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(o.history=function(){return zt?[].concat(zt):[]}).filter=function(e){return(zt||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},o.history.clear=function(){zt&&(zt.length=0)},o.history.disable=function(){null!==zt&&(zt.length=0,zt=null)},o.history.enable=function(){null===zt&&(zt=[])},o.error=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("error",r,t)},o.warn=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("warn",r,t)},o.debug=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("debug",r,t)},o}("VIDEOJS"),Gt=qt.createLogger,Wt=Object.prototype.toString,Yt=function(e){return $t(e)?Object.keys(e):[]};function Zt(e,t){Yt(e).forEach((function(n){return t(e[n],n)}))}function Kt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?l.apply(void 0,[e].concat(n)):(n.forEach((function(t){t&&Zt(t,(function(t,n){e[n]=t}))})),e)}function $t(e){return!!e&&"object"===Mt(e)}function Qt(e){return $t(e)&&"[object Object]"===Wt.call(e)&&e.constructor===Object}function Xt(e,t){if(!e||!t)return"";if("function"==typeof i().getComputedStyle){var n;try{n=i().getComputedStyle(e)}catch(e){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var Jt,en=i().navigator&&i().navigator.userAgent||"",tn=/AppleWebKit\/([\d.]+)/i.exec(en),nn=tn?parseFloat(tn.pop()):null,rn=/iPod/i.test(en),on=(Jt=en.match(/OS (\d+)_/i))&&Jt[1]?Jt[1]:null,an=/Android/i.test(en),sn=function(){var e=en.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),ln=an&&sn<5&&nn<537,cn=/Firefox/i.test(en),un=/Edg/i.test(en),dn=!un&&(/Chrome/i.test(en)||/CriOS/i.test(en)),pn=function(){var e=en.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),fn=function(){var e=/MSIE\s(\d+)\.\d/.exec(en),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(en)&&/rv:11.0/.test(en)&&(t=11),t}(),hn=/Safari/i.test(en)&&!dn&&!an&&!un,mn=/Windows/i.test(en),gn=Boolean(En()&&("ontouchstart"in i()||i().navigator.maxTouchPoints||i().DocumentTouch&&i().document instanceof i().DocumentTouch)),yn=/iPad/i.test(en)||hn&&gn&&!/iPhone/i.test(en),vn=/iPhone/i.test(en)&&!yn,bn=vn||yn||rn,_n=(hn||bn)&&!dn,wn=Object.freeze({__proto__:null,IS_IPOD:rn,IOS_VERSION:on,IS_ANDROID:an,ANDROID_VERSION:sn,IS_NATIVE_ANDROID:ln,IS_FIREFOX:cn,IS_EDGE:un,IS_CHROME:dn,CHROME_VERSION:pn,IE_VERSION:fn,IS_SAFARI:hn,IS_WINDOWS:mn,TOUCH_ENABLED:gn,IS_IPAD:yn,IS_IPHONE:vn,IS_IOS:bn,IS_ANY_SAFARI:_n});function Cn(e){return"string"==typeof e&&Boolean(e.trim())}function Sn(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function En(){return s()===i().document}function xn(e){return $t(e)&&1===e.nodeType}function kn(){try{return i().parent!==i().self}catch(e){return!0}}function On(e){return function(t,n){if(!Cn(t))return s()[e](null);Cn(n)&&(n=s().querySelector(n));var r=xn(n)?n:s();return r[e]&&r[e](t)}}function Tn(e,t,n,r){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var o=s().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(qt.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+n+"."),o.setAttribute(e,n)):"textContent"===e?An(o,n):o[e]===n&&"tabIndex"!==e||(o[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){o.setAttribute(e,n[e])})),r&&Zn(o,r),o}function An(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function Pn(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function Rn(e,t){return Sn(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function In(e,t){return e.classList?e.classList.add(t):Rn(e,t)||(e.className=(e.className+" "+t).trim()),e}function Mn(e,t){return e?(e.classList?e.classList.remove(t):(Sn(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e):(qt.warn("removeClass was called with an element that doesn't exist"),null)}function Nn(e,t,n){var r=Rn(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?In(e,t):Mn(e,t),e}function Dn(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function jn(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,o=r.length-1;o>=0;o--){var i=r[o].name,a=r[o].value;"boolean"!=typeof e[i]&&-1===n.indexOf(","+i+",")||(a=null!==a),t[i]=a}return t}function Ln(e,t){return e.getAttribute(t)}function Bn(e,t,n){e.setAttribute(t,n)}function Fn(e,t){e.removeAttribute(t)}function Un(){s().body.focus(),s().onselectstart=function(){return!1}}function Hn(){s().onselectstart=function(){return!0}}function Vn(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(Xt(e,"height"))),n.width||(n.width=parseFloat(Xt(e,"width"))),n}}function zn(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,n=e.offsetHeight,r=0,o=0;e.offsetParent&&e!==s()[Bt.fullscreenElement];)r+=e.offsetLeft,o+=e.offsetTop,e=e.offsetParent;return{left:r,top:o,width:t,height:n}}function qn(e,t){var n={x:0,y:0};if(bn)for(var r=e;r&&"html"!==r.nodeName.toLowerCase();){var o=Xt(r,"transform");if(/^matrix/.test(o)){var i=o.slice(7,-1).split(/,\s/).map(Number);n.x+=i[4],n.y+=i[5]}else if(/^matrix3d/.test(o)){var a=o.slice(9,-1).split(/,\s/).map(Number);n.x+=a[12],n.y+=a[13]}r=r.parentNode}var s={},l=zn(t.target),c=zn(e),u=c.width,d=c.height,p=t.offsetY-(c.top-l.top),f=t.offsetX-(c.left-l.left);return t.changedTouches&&(f=t.changedTouches[0].pageX-c.left,p=t.changedTouches[0].pageY+c.top,bn&&(f-=n.x,p-=n.y)),s.y=1-Math.max(0,Math.min(1,p/d)),s.x=Math.max(0,Math.min(1,f/u)),s}function Gn(e){return $t(e)&&3===e.nodeType}function Wn(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Yn(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"==typeof e&&(e=e()),xn(e)||Gn(e)?e:"string"==typeof e&&/\S/.test(e)?s().createTextNode(e):void 0})).filter((function(e){return e}))}function Zn(e,t){return Yn(t).forEach((function(t){return e.appendChild(t)})),e}function Kn(e,t){return Zn(Wn(e),t)}function $n(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var Qn,Xn=On("querySelector"),Jn=On("querySelectorAll"),er=Object.freeze({__proto__:null,isReal:En,isEl:xn,isInFrame:kn,createEl:Tn,textContent:An,prependTo:Pn,hasClass:Rn,addClass:In,removeClass:Mn,toggleClass:Nn,setAttributes:Dn,getAttributes:jn,getAttribute:Ln,setAttribute:Bn,removeAttribute:Fn,blockTextSelection:Un,unblockTextSelection:Hn,getBoundingClientRect:Vn,findPosition:zn,getPointerPosition:qn,isTextNode:Gn,emptyEl:Wn,normalizeContent:Yn,appendContent:Zn,insertContent:Kn,isSingleLeftClick:$n,$:Xn,$$:Jn}),tr=!1,nr=function(){if(!1!==Qn.options.autoSetup){var e=Array.prototype.slice.call(s().getElementsByTagName("video")),t=Array.prototype.slice.call(s().getElementsByTagName("audio")),n=Array.prototype.slice.call(s().getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(var o=0,i=r.length;o<i;o++){var a=r[o];if(!a||!a.getAttribute){rr(1);break}void 0===a.player&&null!==a.getAttribute("data-setup")&&Qn(a)}else tr||rr(1)}};function rr(e,t){En()&&(t&&(Qn=t),i().setTimeout(nr,e))}function or(){tr=!0,i().removeEventListener("load",or)}En()&&("complete"===s().readyState?or():i().addEventListener("load",or));var ir,ar=function(e){var t=s().createElement("style");return t.className=e,t},sr=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},lr=3;function cr(){return lr++}i().WeakMap||(ir=function(){function e(){this.vdata="vdata"+Math.floor(i().performance&&i().performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||cr();return e[this.vdata]||(e[this.vdata]=n),this.data[n]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];qt("We have no data for this element",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var ur,dr=i().WeakMap?new WeakMap:new ir;function pr(e,t){if(dr.has(e)){var n=dr.get(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&dr.delete(e)}}function fr(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function hr(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){var r=e||i().event;for(var o in e={},r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&"path"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||s()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var a=s().documentElement,l=s().body;e.pageX=e.clientX+(a&&a.scrollLeft||l&&l.scrollLeft||0)-(a&&a.clientLeft||l&&l.clientLeft||0),e.pageY=e.clientY+(a&&a.scrollTop||l&&l.scrollTop||0)-(a&&a.clientTop||l&&l.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}var mr=["touchstart","touchmove"];function gr(e,t,n){if(Array.isArray(t))return fr(gr,e,t,n);dr.has(e)||dr.set(e,{});var r=dr.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=cr()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=hr(t);var o=r.handlers[t.type];if(o)for(var i=o.slice(0),a=0,s=i.length;a<s&&!t.isImmediatePropagationStopped();a++)try{i[a].call(e,t,n)}catch(e){qt.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var o=!1;(function(){if("boolean"!=typeof ur){ur=!1;try{var e=Object.defineProperty({},"passive",{get:function(){ur=!0}});i().addEventListener("test",null,e),i().removeEventListener("test",null,e)}catch(e){}}return ur})()&&mr.indexOf(t)>-1&&(o={passive:!0}),e.addEventListener(t,r.dispatcher,o)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function yr(e,t,n){if(dr.has(e)){var r=dr.get(e);if(r.handlers){if(Array.isArray(t))return fr(yr,e,t,n);var o=function(e,t){r.handlers[t]=[],pr(e,t)};if(void 0!==t){var i=r.handlers[t];if(i)if(n){if(n.guid)for(var a=0;a<i.length;a++)i[a].guid===n.guid&&i.splice(a--,1);pr(e,t)}else o(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&o(e,s)}}}function vr(e,t,n){var r=dr.has(e)?dr.get(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=hr(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&!0===t.bubbles)vr.call(null,o,t,n);else if(!o&&!t.defaultPrevented&&t.target&&t.target[t.type]){dr.has(t.target)||dr.set(t.target,{});var i=dr.get(t.target);t.target[t.type]&&(i.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=!1)}return!t.defaultPrevented}function br(e,t,n){if(Array.isArray(t))return fr(br,e,t,n);var r=function r(){yr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||cr(),gr(e,t,r)}function _r(e,t,n){var r=function r(){yr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||cr(),gr(e,t,r)}var wr,Cr=Object.freeze({__proto__:null,fixEvent:hr,on:gr,off:yr,trigger:vr,one:br,any:_r}),Sr=function(e,t,n){t.guid||(t.guid=cr());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},Er=function(e,t){var n=i().performance.now();return function(){var r=i().performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},xr=function(){};xr.prototype.allowedEvents_={},xr.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},gr(this,e,t),this.addEventListener=n},xr.prototype.addEventListener=xr.prototype.on,xr.prototype.off=function(e,t){yr(this,e,t)},xr.prototype.removeEventListener=xr.prototype.off,xr.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},br(this,e,t),this.addEventListener=n},xr.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},_r(this,e,t),this.addEventListener=n},xr.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=hr(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),vr(this,e)},xr.prototype.dispatchEvent=xr.prototype.trigger,xr.prototype.queueTrigger=function(e){var t=this;wr||(wr=new Map);var n=e.type||e,r=wr.get(this);r||(r=new Map,wr.set(this,r));var o=r.get(n);r.delete(n),i().clearTimeout(o);var a=i().setTimeout((function(){r.delete(n),0===r.size&&(r=null,wr.delete(t)),t.trigger(e)}),0);r.set(n,a)};var kr=function(e){return"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:Mt(e)},Or=function(e){return e instanceof xr||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"==typeof e[t]}))},Tr=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},Ar=function(e,t,n){if(!e||!e.nodeName&&!Or(e))throw new Error("Invalid target for "+kr(t)+"#"+n+"; must be a DOM node or evented object.")},Pr=function(e,t,n){if(!Tr(e))throw new Error("Invalid event type for "+kr(t)+"#"+n+"; must be a non-empty string or array.")},Rr=function(e,t,n){if("function"!=typeof e)throw new Error("Invalid listener for "+kr(t)+"#"+n+"; must be a function.")},Ir=function(e,t,n){var r,o,i,a=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return a?(r=e.eventBusEl_,t.length>=3&&t.shift(),o=t[0],i=t[1]):(r=t[0],o=t[1],i=t[2]),Ar(r,e,n),Pr(o,e,n),Rr(i,e,n),{isTargetingSelf:a,target:r,type:o,listener:i=Sr(e,i)}},Mr=function(e,t,n,r){Ar(e,e,t),e.nodeName?Cr[t](e,n,r):e[t](n,r)},Nr={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ir(this,n,"on"),i=o.isTargetingSelf,a=o.target,s=o.type,l=o.listener;if(Mr(a,"on",s,l),!i){var c=function(){return e.off(a,s,l)};c.guid=l.guid;var u=function(){return e.off("dispose",c)};u.guid=l.guid,Mr(this,"on","dispose",c),Mr(a,"on","dispose",u)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ir(this,n,"one"),i=o.isTargetingSelf,a=o.target,s=o.type,l=o.listener;if(i)Mr(a,"one",s,l);else{var c=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];l.apply(null,r)};c.guid=l.guid,Mr(a,"one",s,c)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Ir(this,n,"any"),i=o.isTargetingSelf,a=o.target,s=o.type,l=o.listener;if(i)Mr(a,"any",s,l);else{var c=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];l.apply(null,r)};c.guid=l.guid,Mr(a,"any",s,c)}},off:function(e,t,n){if(!e||Tr(e))yr(this.eventBusEl_,e,t);else{var r=e,o=t;Ar(r,this,"off"),Pr(o,this,"off"),Rr(n,this,"off"),n=Sr(this,n),this.off("dispose",n),r.nodeName?(yr(r,o,n),yr(r,"dispose",n)):Or(r)&&(r.off(o,n),r.off("dispose",n))}},trigger:function(e,t){Ar(this.eventBusEl_,this,"trigger");var n=e&&"string"!=typeof e?e.type:e;if(!Tr(n)){var r="Invalid event type for "+kr(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!e)throw new Error(r);(this.log||qt).error(r)}return vr(this.eventBusEl_,e,t)}};function Dr(e,t){void 0===t&&(t={});var n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=Tn("span",{className:"vjs-event-bus"});return Kt(e,Nr),e.eventedCallbacks&&e.eventedCallbacks.forEach((function(e){e()})),e.on("dispose",(function(){e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&dr.has(e)&&dr.delete(e)})),i().setTimeout((function(){e.eventBusEl_=null}),0)})),e}var jr={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),Zt(e,(function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e})),t&&Or(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Lr(e,t){return Kt(e,jr),e.state=Kt({},e.state,t),"function"==typeof e.handleStateChanged&&Or(e)&&e.on("statechanged",e.handleStateChanged),e}var Br=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toLowerCase()}))},Fr=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))};function Ur(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Zt(t,(function(t,n){Qt(t)?(Qt(e[n])||(e[n]={}),e[n]=Ur(e[n],t)):e[n]=t}))})),e}var Hr=function(){function e(){this.map_={}}var t=e.prototype;return t.has=function(e){return e in this.map_},t.delete=function(e){var t=this.has(e);return delete this.map_[e],t},t.set=function(e,t){return this.map_[e]=t,this},t.forEach=function(e,t){for(var n in this.map_)e.call(t,this.map_[n],n,this)},e}(),Vr=i().Map?i().Map:Hr,zr=function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var n in this.set_)e.call(t,n,n,this)},e}(),qr=i().Set?i().Set:zr,Gr=function(){function e(e,t,n){var r=this;if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Ur({},this.options_),t=this.options_=Ur(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var o=e&&e.id&&e.id()||"no_player";this.id_=o+"_component_"+cr()}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((function(e){return r.addClass(e)})),!1!==t.evented&&(Dr(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Lr(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new qr,this.setIntervalIds_=new qr,this.rafIds_=new qr,this.namedRafs_=new Vr,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(e){if(void 0===e&&(e={}),!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=Ur(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return Tn(e,t,n)},t.localize=function(e,t,n){void 0===n&&(n=e);var r=this.player_.language&&this.player_.language(),o=this.player_.languages&&this.player_.languages(),i=o&&o[r],a=r&&r.split("-")[0],s=o&&o[a],l=n;return i&&i[e]?l=i[e]:s&&s[e]&&(l=s[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,n){var r=t[n-1],o=r;return void 0===r&&(o=e),o}))),l},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t=t.reduce((function(e,t){return e.concat(t)}),[]);for(var r=this,o=0;o<t.length;o++)if(!(r=r.getChild(t[o]))||!r.getChild)return;return r},t.addChild=function(t,n,r){var o,i;if(void 0===n&&(n={}),void 0===r&&(r=this.children_.length),"string"==typeof t){i=Fr(t);var a=n.componentClass||i;n.name=i;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;o=new s(this.player_||this,n)}else o=t;if(o.parentComponent_&&o.parentComponent_.removeChild(o),this.children_.splice(r,0,o),o.parentComponent_=this,"function"==typeof o.id&&(this.childIndex_[o.id()]=o),(i=i||o.name&&Fr(o.name()))&&(this.childNameIndex_[i]=o,this.childNameIndex_[Br(i)]=o),"function"==typeof o.el&&o.el()){var l=null;this.children_[r+1]&&(this.children_[r+1].el_?l=this.children_[r+1].el_:xn(this.children_[r+1])&&(l=this.children_[r+1])),this.contentEl().insertBefore(o.el(),l)}return o},t.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[Fr(e.name())]=null,this.childNameIndex_[Br(e.name())]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,n=this.options_.children;if(n){var r,o=this.options_,i=e.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((function(e){var r,o;return"string"==typeof e?o=n[r=e]||t.options_[r]||{}:(r=e.name,o=e),{name:r,opts:o}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||Fr(t.name));return n&&!i.isTech(n)})).forEach((function(e){var n=e.name,r=e.opts;if(void 0!==o[n]&&(r=o[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var i=t.addChild(n,r);i&&(t[n]=i)}}))}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},t.$=function(e,t){return Xn(e,t||this.contentEl())},t.$$=function(e,t){return Jn(e,t||this.contentEl())},t.hasClass=function(e){return Rn(this.el_,e)},t.addClass=function(e){In(this.el_,e)},t.removeClass=function(e){Mn(this.el_,e)},t.toggleClass=function(e,t){Nn(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return Ln(this.el_,e)},t.setAttribute=function(e,t){Bn(this.el_,e,t)},t.removeAttribute=function(e){Fn(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return-1!==o?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+Fr(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=Xt(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+Fr(e);t=this.el_[n]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(u().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,n=null;this.on("touchstart",(function(r){1===r.touches.length&&(n={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=i().performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(n){var r=t.touches[0].pageX-n.pageX,o=t.touches[0].pageY-n.pageY;Math.sqrt(r*r+o*o)>10&&(e=!1)}}));var r=function(){e=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){(n=null,!0===e)&&(i().performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))}))},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=Sr(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.setTimeout=function(e,t){var n,r=this;return e=Sr(this,e),this.clearTimersOnDispose_(),n=i().setTimeout((function(){r.setTimeoutIds_.has(n)&&r.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),i().clearTimeout(e)),e},t.setInterval=function(e,t){e=Sr(this,e),this.clearTimersOnDispose_();var n=i().setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),i().clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=Sr(this,e),t=i().requestAnimationFrame((function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()})),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var n=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=Sr(this,t);var r=this.requestAnimationFrame((function(){t(),n.namedRafs_.has(e)&&n.namedRafs_.delete(e)}));return this.namedRafs_.set(e,r),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),i().cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var n=t[0],r=t[1];e[n].forEach((function(t,n){return e[r](n)}))})),e.clearingTimersOnDispose_=!1})))},e.registerComponent=function(t,n){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r,o=e.getComponent("Tech"),i=o&&o.isTech(n),a=e===n||e.prototype.isPrototypeOf(n.prototype);if(i||!a)throw r=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+r+".");t=Fr(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var l=s.players,c=Object.keys(l);if(l&&c.length>0&&c.map((function(e){return l[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[Br(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function Wr(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}(e,r,n.length-1),n[r][t]}function Yr(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Wr.bind(null,"start",0,e),end:Wr.bind(null,"end",1,e)},i().Symbol&&i().Symbol.iterator&&(t[i().Symbol.iterator]=function(){return(e||[]).values()}),t}function Zr(e,t){return Array.isArray(e)?Yr(e):void 0===e||void 0===t?Yr():Yr([[e,t]])}function Kr(e,t){var n,r,o=0;if(!t)return 0;e&&e.length||(e=Zr(0,0));for(var i=0;i<e.length;i++)n=e.start(i),(r=e.end(i))>t&&(r=t),o+=r-n;return o/t}function $r(e){if(e instanceof $r)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:$t(e)&&("number"==typeof e.code&&(this.code=e.code),Kt(this,e)),this.message||(this.message=$r.defaultMessages[this.code]||"")}Gr.prototype.supportsRaf_="function"==typeof i().requestAnimationFrame&&"function"==typeof i().cancelAnimationFrame,Gr.registerComponent("Component",Gr),$r.prototype.code=0,$r.prototype.message="",$r.prototype.status=null,$r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],$r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Qr=0;Qr<$r.errorTypes.length;Qr++)$r[$r.errorTypes[Qr]]=Qr,$r.prototype[$r.errorTypes[Qr]]=Qr;function Xr(e){return null!=e&&"function"==typeof e.then}function Jr(e){Xr(e)&&e.then(null,(function(e){}))}var eo=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(t,n,r){return e[n]&&(t[n]=e[n]),t}),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})},to=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,(function(e){return e.track}));return Array.prototype.map.call(t,(function(e){var t=eo(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===n.indexOf(e)})).map(eo))},no=function(e,t){return e.forEach((function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((function(e){return n.addCue(e)}))})),t.textTracks()},ro=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleKeyDown_=function(e){return r.handleKeyDown(e)},r.close_=function(e){return r.close(e)},r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=Tn("div",{className:"vjs-modal-dialog-content"},{role:"document"}),r.descEl_=Tn("p",{className:"vjs-modal-dialog-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),An(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-modal-dialog vjs-hidden "+e.prototype.buildCSSClass.call(this)},n.label=function(){return this.localize(this.options_.label||"Modal Window")},n.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},n.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},n.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},n.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},n.closeable=function(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_},n.fill=function(){this.fillWith(this.content())},n.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),Kn(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);var o=this.getChild("closeButton");o&&n.appendChild(o.el_)},n.empty=function(){this.trigger("beforemodalempty"),Wn(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=s().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())},n.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},n.handleKeyDown=function(e){if(e.stopPropagation(),u().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(u().isEventKey(e,"Tab")){for(var t,n=this.focusableEls_(),r=this.el_.querySelector(":focus"),o=0;o<n.length;o++)if(r===n[o]){t=o;break}s().activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||t!==n.length-1||(n[0].focus(),e.preventDefault())}},n.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(function(e){return(e instanceof i().HTMLAnchorElement||e instanceof i().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof i().HTMLInputElement||e instanceof i().HTMLSelectElement||e instanceof i().HTMLTextAreaElement||e instanceof i().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof i().HTMLIFrameElement||e instanceof i().HTMLObjectElement||e instanceof i().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")}))},t}(Gr);ro.prototype.options_={pauseOnOpen:!0,temporary:!0},Gr.registerComponent("ModalDialog",ro);var oo=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(d(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}f(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this,n=this.tracks_.length;""+n in this||Object.defineProperty(this,n,{get:function(){return this.tracks_[n]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=function(){t.trigger({track:e,type:"labelchange",target:t})},Or(e)&&e.addEventListener("labelchange",e.labelchange_)},n.removeTrack=function(e){for(var t,n=0,r=this.length;n<r;n++)if(this[n]===e){(t=this[n]).off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})},n.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},t}(xr);for(var io in oo.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},oo.prototype.allowedEvents_)oo.prototype["on"+io]=null;var ao=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)},so=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){ao(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}f(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&ao(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,ao(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(oo),lo=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)},co=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){lo(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(d(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}f(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&lo(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,lo(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(oo),uo=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;e.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return n.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return n.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(oo),po=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(e){for(var t,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},t.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}},e}(),fo=function(){function e(t){e.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var t=e.prototype;return t.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var o=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)o.call(this,n)},t.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},e}(),ho={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},mo={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},go={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},yo={disabled:"disabled",hidden:"hidden",showing:"showing"},vo=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+cr(),kind:t.kind||"",language:t.language||""},o=t.label||"",i=function(e){Object.defineProperty(d(n),e,{get:function(){return r[e]},set:function(){}})};for(var a in r)i(a);return Object.defineProperty(d(n),"label",{get:function(){return o},set:function(e){e!==o&&(o=e,this.trigger("labelchange"))}}),n}return f(t,e),t}(xr),bo=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=s().createElement("a");n.href=e;for(var r={},o=0;o<t.length;o++)r[t[o]]=n[t[o]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=i().location.protocol),r.host||(r.host=i().location.host),r},_o=function(e){if(!e.match(/^https?:\/\//)){var t=s().createElement("a");t.href=e,e=t.href}return e},wo=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Co=function(e,t){void 0===t&&(t=i().location);var n=bo(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},So=Object.freeze({__proto__:null,parseUrl:bo,getAbsoluteURL:_o,getFileExtension:wo,isCrossOrigin:Co}),Eo=function(e,t){var n=new(i().WebVTT.Parser)(i(),i().vttjs,i().WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(i().console&&i().console.groupCollapsed&&i().console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach((function(e){return qt.error(e)})),i().console&&i().console.groupEnd&&i().console.groupEnd()),n.flush()},xo=function(e,t){var n={uri:e},r=Co(e);r&&(n.cors=r);var o="use-credentials"===t.tech_.crossOrigin();o&&(n.withCredentials=o),y()(n,Sr(this,(function(e,n,r){if(e)return qt.error(e,n);t.loaded_=!0,"function"!=typeof i().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return Eo(r,t);qt.error("vttjs failed to load, stopping trying to process "+t.src)})):Eo(r,t)})))},ko=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=Ur(t,{kind:go[t.kind]||"subtitles",language:t.language||t.srclang||""}),o=yo[r.mode]||"disabled",i=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(o="hidden"),(n=e.call(this,r)||this).tech_=r.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var a=new fo(n.cues_),s=new fo(n.activeCues_),l=!1;n.timeupdateHandler=Sr(d(n),(function(e){void 0===e&&(e={}),this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));return n.tech_.one("dispose",(function(){n.stopTracking()})),"disabled"!==o&&n.startTracking(),Object.defineProperties(d(n),{default:{get:function(){return i},set:function(){}},mode:{get:function(){return o},set:function(e){yo[e]&&o!==e&&(o=e,this.preload_||"disabled"===o||0!==this.cues.length||xo(this.src,this),this.stopTracking(),"disabled"!==o&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?a:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return s;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var o=this.cues[n];(o.startTime<=e&&o.endTime>=e||o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e)&&t.push(o)}if(l=!1,t.length!==this.activeCues_.length)l=!0;else for(var i=0;i<t.length;i++)-1===this.activeCues_.indexOf(t[i])&&(l=!0);return this.activeCues_=t,s.setCues_(this.activeCues_),s},set:function(){}}}),r.src?(n.src=r.src,n.preload_||(n.loaded_=!0),(n.preload_||"subtitles"!==r.kind&&"captions"!==r.kind)&&xo(n.src,d(n))):n.loaded_=!0,n}f(t,e);var n=t.prototype;return n.startTracking=function(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)},n.stopTracking=function(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)},n.addCue=function(e){var t=e;if(t.constructor&&"VTTCue"!==t.constructor.name){for(var n in t=new(i().vttjs.VTTCue)(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},n.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(vo);ko.prototype.allowedEvents_={cuechange:"cuechange"};var Oo=function(e){function t(t){var n;void 0===t&&(t={});var r=Ur(t,{kind:mo[t.kind]||""});n=e.call(this,r)||this;var o=!1;return Object.defineProperty(d(n),"enabled",{get:function(){return o},set:function(e){"boolean"==typeof e&&e!==o&&(o=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return f(t,e),t}(vo),To=function(e){function t(t){var n;void 0===t&&(t={});var r=Ur(t,{kind:ho[t.kind]||""});n=e.call(this,r)||this;var o=!1;return Object.defineProperty(d(n),"selected",{get:function(){return o},set:function(e){"boolean"==typeof e&&e!==o&&(o=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return f(t,e),t}(vo),Ao=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var o=new ko(t);return n.kind=o.kind,n.src=o.src,n.srclang=o.language,n.label=o.label,n.default=o.default,Object.defineProperties(d(n),{readyState:{get:function(){return r}},track:{get:function(){return o}}}),r=0,o.addEventListener("loadeddata",(function(){r=2,n.trigger({type:"load",target:d(n)})})),n}return f(t,e),t}(xr);Ao.prototype.allowedEvents_={load:"load"},Ao.NONE=0,Ao.LOADING=1,Ao.LOADED=2,Ao.ERROR=3;var Po={audio:{ListClass:so,TrackClass:Oo,capitalName:"Audio"},video:{ListClass:co,TrackClass:To,capitalName:"Video"},text:{ListClass:uo,TrackClass:ko,capitalName:"Text"}};Object.keys(Po).forEach((function(e){Po[e].getterName=e+"Tracks",Po[e].privateName=e+"Tracks_"}));var Ro={remoteText:{ListClass:uo,TrackClass:ko,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:po,TrackClass:Ao,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Io=l({},Po,Ro);Ro.names=Object.keys(Ro),Po.names=Object.keys(Po),Io.names=[].concat(Ro.names).concat(Po.names);var Mo=function(e){function t(t,n){var r;return void 0===t&&(t={}),void 0===n&&(n=function(){}),t.reportTouchActivity=!1,(r=e.call(this,null,t,n)||this).onDurationChange_=function(e){return r.onDurationChange(e)},r.trackProgress_=function(e){return r.trackProgress(e)},r.trackCurrentTime_=function(e){return r.trackCurrentTime(e)},r.stopTrackingCurrentTime_=function(e){return r.stopTrackingCurrentTime(e)},r.disposeSourceHandler_=function(e){return r.disposeSourceHandler(e)},r.queuedHanders_=new Set,r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),Io.names.forEach((function(e){var n=Io[e];t&&t[n.getterName]&&(r[n.privateName]=t[n.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===t["native"+e+"Tracks"]&&(r["featuresNative"+e+"Tracks"]=!1)})),!1===t.nativeCaptions||!1===t.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.preloadTextTracks=!1!==t.preloadTextTracks,r.autoRemoteTextTracks_=new Io.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}f(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Sr(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},n.onDurationChange=function(e){this.duration_=this.duration()},n.buffered=function(){return Zr(0,0)},n.bufferedPercent=function(){return Kr(this.buffered(),this.duration_)},n.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},n.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},n.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},n.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},n.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.dispose=function(){this.clearTracks(Po.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},n.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach((function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var o=n[r];"text"===e&&t.removeRemoteTextTrack(o),n.removeTrack(o)}}))},n.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},n.reset=function(){},n.crossOrigin=function(){},n.setCrossOrigin=function(){},n.error=function(e){return void 0!==e&&(this.error_=new $r(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Zr(0,0):Zr()},n.play=function(){},n.setScrubbing=function(){},n.scrubbing=function(){},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;Po.names.forEach((function(t){var n=Po[t],r=function(){e.trigger(t+"trackchange")},o=e[n.getterName]();o.addEventListener("removetrack",r),o.addEventListener("addtrack",r),e.on("dispose",(function(){o.removeEventListener("removetrack",r),o.removeEventListener("addtrack",r)}))}))},n.addWebVttScript_=function(){var e=this;if(!i().WebVTT)if(s().body.contains(this.el())){if(!this.options_["vtt.js"]&&Qt(b())&&Object.keys(b()).length>0)return void this.trigger("vttjsloaded");var t=s().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),i().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},o=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var i=function(){return e.trigger("texttrackchange")},a=function(){i();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",(function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){t[e].removeEventListener("cuechange",i)}}))},n.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,o){void 0===o&&(o={});var i=e.textTracks();o.kind=t,n&&(o.label=n),r&&(o.language=r),o.tech=e;var a=new Io.text.TrackClass(o);return i.addTrack(a),a}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=Ur(e,{tech:this});return new Ro.remoteTextEl.TrackClass(t)},n.addRemoteTextTrack=function(e,t){var n=this;void 0===e&&(e={});var r=this.createRemoteTextTrack(e);return!0!==t&&!1!==t&&(qt.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==t&&this.ready((function(){return n.autoRemoteTextTracks_.addTrack(r.track)})),r},n.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},n.getVideoPlaybackQuality=function(){return{}},n.requestPictureInPicture=function(){var e=this.options_.Promise||i().Promise;if(e)return e.reject()},n.disablePictureInPicture=function(){return!0},n.setDisablePictureInPicture=function(){},n.requestVideoFrameCallback=function(e){var t=this,n=cr();return!this.isReady_||this.paused()?(this.queuedHanders_.add(n),this.one("playing",(function(){t.queuedHanders_.has(n)&&(t.queuedHanders_.delete(n),e())}))):this.requestNamedAnimationFrame(n,e),n},n.cancelVideoFrameCallback=function(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)},n.setPoster=function(){},n.playsinline=function(){},n.setPlaysinline=function(){},n.overrideNativeAudioTracks=function(){},n.overrideNativeVideoTracks=function(){},n.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=Fr(e),t.techs_[e]=n,t.techs_[Br(e)]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return t.techs_&&t.techs_[e]?t.techs_[e]:(e=Fr(e),i()&&i().videojs&&i().videojs[e]?(qt.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),i().videojs[e]):void 0)},t}(Gr);Io.names.forEach((function(e){var t=Io[e];Mo.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),Mo.prototype.featuresVolumeControl=!0,Mo.prototype.featuresMuteControl=!0,Mo.prototype.featuresFullscreenResize=!1,Mo.prototype.featuresPlaybackRate=!1,Mo.prototype.featuresProgressEvents=!1,Mo.prototype.featuresSourceset=!1,Mo.prototype.featuresTimeupdateEvents=!1,Mo.prototype.featuresNativeTextTracks=!1,Mo.prototype.featuresVideoFrameCallback=!1,Mo.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n,r=e.sourceHandlers||[],o=0;o<r.length;o++)if(n=r[o].canPlayType(t))return n;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],o=0;o<r.length;o++)if(r[o].canHandleSource(t,n))return r[o];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:qt.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Gr.registerComponent("Tech",Mo),Mo.registerTech("Tech",Mo),Mo.defaultTechOrder_=[];var No={},Do={},jo={};function Lo(e,t,n){e.setTimeout((function(){return function e(t,n,r,o,i,a){void 0===t&&(t={});void 0===n&&(n=[]);void 0===i&&(i=[]);void 0===a&&(a=!1);var s=n,l=s[0],c=s.slice(1);if("string"==typeof l)e(t,No[l],r,o,i,a);else if(l){var u=function(e,t){var n=Do[e.id()],r=null;if(null==n)return r=t(e),Do[e.id()]=[[t,r]],r;for(var o=0;o<n.length;o++){var i=n[o],a=i[0],s=i[1];a===t&&(r=s)}null===r&&(r=t(e),n.push([t,r]));return r}(o,l);if(!u.setSource)return i.push(u),e(t,c,r,o,i,a);u.setSource(Kt({},t),(function(n,s){if(n)return e(t,c,r,o,i,a);i.push(u),e(s,t.type===s.type?c:No[s.type],r,o,i,a)}))}else c.length?e(t,c,r,o,i,a):a?r(t,i):e(t,No["*"],r,o,i,!0)}(t,No[t.type],n,e)}),1)}function Bo(e,t,n,r){void 0===r&&(r=null);var o="call"+Fr(n),i=e.reduce(Vo(o),r),a=i===jo,s=a?null:t[n](i);return function(e,t,n,r){for(var o=e.length-1;o>=0;o--){var i=e[o];i[t]&&i[t](r,n)}}(e,n,s,a),s}var Fo={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Uo={setCurrentTime:1,setMuted:1,setVolume:1},Ho={play:1,pause:1};function Vo(e){return function(t,n){return t===jo?jo:n[e]?n[e](t):t}}var zo={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},qo=function(e){void 0===e&&(e="");var t=wo(e);return zo[t.toLowerCase()]||""};function Go(e){if(!e.type){var t=qo(e.src);t&&(e.type=t)}return e}var Wo=function(e){function t(t,n,r){var o,i=Ur({createEl:!1},n);if(o=e.call(this,t,i,r)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)t.src(n.playerOptions.sources);else for(var a=0,s=n.playerOptions.techOrder;a<s.length;a++){var l=Fr(s[a]),c=Mo.getTech(l);if(l||(c=Gr.getComponent(l)),c&&c.isSupported()){t.loadTech_(l);break}}return o}return f(t,e),t}(Gr);Gr.registerComponent("MediaLoader",Wo);var Yo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).options_.controlText&&r.controlText(r.options_.controlText),r.handleMouseOver_=function(e){return r.handleMouseOver(e)},r.handleMouseOut_=function(e){return r.handleMouseOut(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.emitTapEvents(),r.enable(),r}f(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={}),t=Kt({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&qt.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=Kt({role:"button"},n),this.tabIndex_=t.tabIndex;var r=Tn(e,t,n);return r.appendChild(Tn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=Tn("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},n.controlText=function(e,t){if(void 0===t&&(t=this.el()),void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,An(this.controlTextEl_,n),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",n)},n.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},n.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},n.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},n.handleLanguagechange=function(){this.controlText(this.controlText_)},n.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){u().isEventKey(t,"Space")||u().isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(Gr);Gr.registerComponent("ClickableComponent",Yo);var Zo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),r.update_=function(e){return r.update(e)},t.on("posterchange",r.update_),r}f(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update_),e.prototype.dispose.call(this)},n.createEl=function(){return Tn("div",{className:"vjs-poster",tabIndex:-1})},n.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},n.setSrc=function(e){var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t},n.handleClick=function(e){if(this.player_.controls()){var t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(fn||un)&&t||this.player_.tech(!0).focus(),this.player_.paused()?Jr(this.player_.play()):this.player_.pause()}},t}(Yo);Gr.registerComponent("PosterImage",Zo);var Ko={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function $o(e,t){var n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Qo(e,t,n){try{e.style[t]=n}catch(e){return}}var Xo=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var a=function(e){return o.updateDisplay(e)};return t.on("loadstart",(function(e){return o.toggleDisplay(e)})),t.on("texttrackchange",a),t.on("loadedmetadata",(function(e){return o.preselectTrack(e)})),t.ready(Sr(d(o),(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",a),t.on("playerresize",a),i().addEventListener("orientationchange",a),t.on("dispose",(function(){return i().removeEventListener("orientationchange",a)}));for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}}))),o}f(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},o=this.player_.textTracks(),i=this.player_.cache_.selectedLanguage,a=0;a<o.length;a++){var s=o[a];i&&i.enabled&&i.language&&i.language===s.language&&s.kind in r?s.kind===i.kind?n=s:n||(n=s):i&&!i.enabled?(n=null,e=null,t=null):s.default&&("descriptions"!==s.kind||e?s.kind in r&&!t&&(t=s):e=s)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"==typeof i().WebVTT&&i().WebVTT.processCues(i(),[],this.el_)},n.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var n=[],r=0;r<e.length;++r){var o=e[r];"showing"===o.mode&&n.push(o)}this.updateForTrack(n)}else{for(var i=null,a=null,s=e.length;s--;){var l=e[s];"showing"===l.mode&&("descriptions"===l.kind?i=l:a=l)}a?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(a)):i&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(i))}},n.updateDisplayState=function(e){for(var t=this.player_.textTrackSettings.getValues(),n=e.activeCues,r=n.length;r--;){var o=n[r];if(o){var a=o.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&Qo(a.firstChild,"color",$o(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&Qo(a.firstChild,"backgroundColor",$o(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?Qo(a,"backgroundColor",$o(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent){var s=i().parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=Ko[t.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"==typeof i().WebVTT&&!e.every((function(e){return!e.activeCues}))){for(var t=[],n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.activeCues.length;++o)t.push(r.activeCues[o]);i().WebVTT.processCues(i(),t,this.el_);for(var a=0;a<e.length;++a){for(var s=e[a],l=0;l<s.activeCues.length;++l){var c=s.activeCues[l].displayState;In(c,"vjs-text-track-cue"),In(c,"vjs-text-track-cue-"+(s.language?s.language:a)),s.language&&Bn(c,"lang",s.language)}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(Gr);Gr.registerComponent("TextTrackDisplay",Xo);var Jo=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=Tn("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),o=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return o.appendChild(r),o},t}(Gr);Gr.registerComponent("LoadingSpinner",Jo);var ei=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=Tn("button",t=Kt({className:this.buildCSSClass()},t),n=Kt({type:"button"},n));return r.appendChild(Tn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return qt.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),Gr.prototype.addChild.call(this,e,t)},n.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},n.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},n.handleKeyDown=function(t){u().isEventKey(t,"Space")||u().isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(Yo);Gr.registerComponent("Button",ei);var ti=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return Jr(t),void(!this.player_.tech(!0)||(fn||un)&&n||this.player_.tech(!0).focus())}var r=this.player_.getChild("controlBar"),o=r&&r.getChild("playToggle");if(o){var i=function(){return o.focus()};Xr(t)?t.then(i,(function(){})):this.setTimeout(i,1)}else this.player_.tech(!0).focus()},n.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},n.handleMouseDown=function(e){this.mouseused_=!0},t}(ei);ti.prototype.controlText_="Play Video",Gr.registerComponent("BigPlayButton",ti);var ni=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){u().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(ei);Gr.registerComponent("CloseButton",ni);var ri=function(e){function t(t,n){var r;return void 0===n&&(n={}),r=e.call(this,t,n)||this,n.replay=void 0===n.replay||n.replay,r.on(t,"play",(function(e){return r.handlePlay(e)})),r.on(t,"pause",(function(e){return r.handlePause(e)})),n.replay&&r.on(t,"ended",(function(e){return r.handleEnded(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?Jr(this.player_.play()):this.player_.pause()},n.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},n.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return t.handleSeeked(e)}))},t}(ei);ri.prototype.controlText_="Play",Gr.registerComponent("PlayToggle",ri);var oi=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),o=Math.floor(e/3600),i=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(o=r=n="-"),(o=o>0||a>0?o+":":"")+(r=((o||i>=10)&&r<10?"0"+r:r)+":")+(n=n<10?"0"+n:n)},ii=oi;function ai(e,t){return void 0===t&&(t=e),ii(e,t)}var si=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],(function(e){return r.updateContent(e)})),r.updateTextNode_(),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),r=Tn("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return n.appendChild(r),this.contentEl_=Tn("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),n.appendChild(this.contentEl_),n},n.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},n.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=ai(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,qt.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=s().createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}})))},n.updateContent=function(e){},t}(Gr);si.prototype.labelText_="Time",si.prototype.controlText_="Time",Gr.registerComponent("TimeDisplay",si);var li=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(si);li.prototype.labelText_="Current Time",li.prototype.controlText_="Current Time",Gr.registerComponent("CurrentTimeDisplay",li);var ci=function(e){function t(t,n){var r,o=function(e){return r.updateContent(e)};return(r=e.call(this,t,n)||this).on(t,"durationchange",o),r.on(t,"loadstart",o),r.on(t,"loadedmetadata",o),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(si);ci.prototype.labelText_="Duration",ci.prototype.controlText_="Duration",Gr.registerComponent("DurationDisplay",ci);var ui=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),n=e.prototype.createEl.call(this,"div"),r=e.prototype.createEl.call(this,"span",{textContent:"/"});return n.appendChild(r),t.appendChild(n),t},t}(Gr);Gr.registerComponent("TimeDivider",ui);var di=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",(function(e){return r.updateContent(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(Tn("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},n.updateContent=function(e){var t;"number"==typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(si);di.prototype.labelText_="Remaining Time",di.prototype.controlText_="Remaining Time",Gr.registerComponent("RemainingTimeDisplay",di);var pi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",(function(e){return r.updateShowing(e)})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Tn("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Tn("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(s().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},n.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},n.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(Gr);Gr.registerComponent("LiveDisplay",pi);var fi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&(r.updateLiveEdgeStatusHandler_=function(e){return r.updateLiveEdgeStatus(e)},r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatusHandler_)),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=Tn("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},n.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},n.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},n.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}(ei);fi.prototype.controlText_="Seek to live, currently playing live",Gr.registerComponent("SeekToLive",fi);var hi=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},mi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseDown_=function(e){return r.handleMouseDown(e)},r.handleMouseUp_=function(e){return r.handleMouseUp(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleMouseMove_=function(e){return r.handleMouseMove(e)},r.update_=function(e){return r.update(e)},r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}f(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},n.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=Kt({tabIndex:0},n),r=Kt({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},n.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||dn||e.preventDefault(),Un(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;Hn(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},n.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",(function(){var n=e.vertical()?"height":"width";e.bar.el().style[n]=(100*t).toFixed(2)+"%"}))),t}},n.getProgress=function(){return Number(hi(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=qn(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){u().isEventKey(t,"Left")||u().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):u().isEventKey(t,"Right")||u().isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){e.stopPropagation(),e.preventDefault()},n.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(Gr);Gr.registerComponent("Slider",mi);var gi=function(e,t){return hi(e/t*100,0,100).toFixed(2)+"%"},yi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",(function(e){return r.update(e)})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=Tn("span",{className:"vjs-control-text"}),r=Tn("span",{textContent:this.localize("Loaded")}),o=s().createTextNode(": ");return this.percentageEl_=Tn("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(o),n.appendChild(this.percentageEl_),t},n.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},n.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var e=t.player_.liveTracker,n=t.player_.buffered(),r=e&&e.isLive()?e.seekableEnd():t.player_.duration(),o=t.player_.bufferedEnd(),i=t.partEls_,a=gi(o,r);t.percent_!==a&&(t.el_.style.width=a,An(t.percentageEl_,a),t.percent_=a);for(var s=0;s<n.length;s++){var l=n.start(s),c=n.end(s),u=i[s];u||(u=t.el_.appendChild(Tn()),i[s]=u),u.dataset.start===l&&u.dataset.end===c||(u.dataset.start=l,u.dataset.end=c,u.style.left=gi(l,o),u.style.width=gi(c-l,o))}for(var d=i.length;d>n.length;d--)t.el_.removeChild(i[d-1]);i.length=n.length}))},t}(Gr);Gr.registerComponent("LoadProgressBar",yi);var vi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Er(Sr(d(r),r.update),30),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n){var r=zn(this.el_),o=Vn(this.player_.el()),i=e.width*t;if(o&&r){var a=e.left-o.left+i,s=e.width-i+(o.right-e.right),l=r.width/2;a<l?l+=l-a:s<l&&(l=s),l<0?l=0:l>r.width&&(l=r.width),l=Math.round(l),this.el_.style.right="-"+l+"px",this.write(n)}},n.write=function(e){An(this.el_,e)},n.updateTime=function(e,t,n,r){var o=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var i,a=o.player_.duration();if(o.player_.liveTracker&&o.player_.liveTracker.isLive()){var s=o.player_.liveTracker.liveWindow(),l=s-t*s;i=(l<1?"":"-")+ai(l,s)}else i=ai(n,a);o.update(e,t,i),r&&r()}))},t}(Gr);Gr.registerComponent("TimeTooltip",vi);var bi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Er(Sr(d(r),r.update),30),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.getChild("timeTooltip");if(n){var r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}},t}(Gr);bi.prototype.options_={children:[]},bn||an||bi.prototype.options_.children.push("timeTooltip"),Gr.registerComponent("PlayProgressBar",bi);var _i=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Er(Sr(d(r),r.update),30),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,r=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,r,(function(){n.el_.style.left=e.width*t+"px"}))},t}(Gr);_i.prototype.options_={children:["timeTooltip"]},Gr.registerComponent("MouseTimeDisplay",_i);var wi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}f(t,e);var n=t.prototype;return n.setEventHandlers_=function(){var e=this;this.update_=Sr(this,this.update),this.update=Er(this.update_,30),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in s()&&"visibilityState"in s()&&this.on(s(),"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){"hidden"===s().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))},n.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},n.update=function(t){var n=this;if("hidden"!==s().visibilityState){var r=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,o=n.player_.duration();t&&t.isLive()&&(o=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute("aria-valuenow",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===o||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[ai(e,o),ai(o,o)],"{1} of {2}")),n.currentTime_=e,n.duration_=o),n.bar&&n.bar.update(Vn(n.el()),n.getProgress())})),r}},n.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},n.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},n.getPercent=function(){var e,t=this.getCurrentTime_(),n=this.player_.liveTracker;return n&&n.isLive()?(e=(t-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},n.handleMouseDown=function(t){$n(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),$n(e)){var n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);var r=this.calculateDistance(e),o=this.player_.liveTracker;if(o&&o.isLive()){if(r>=.99)return void o.seekToLiveEdge();var i=o.seekableStart(),a=o.liveCurrentTime();if((n=i+r*o.liveWindow())>=a&&(n=a),n<=i&&(n=i+.1),n===1/0)return}else(n=r*this.player_.duration())===this.player_.duration()&&(n-=.1);this.userSeek_(n)}},n.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},n.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},n.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?Jr(this.player_.play()):this.update_()},n.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},n.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){var n=this.player_.liveTracker;if(u().isEventKey(t,"Space")||u().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(u().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(u().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(u()(t))){t.preventDefault(),t.stopPropagation();var r=10*(u().codes[u()(t)]-u().codes[0])/100;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*r):this.userSeek_(this.player_.duration()*r)}else u().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):u().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},n.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in s()&&"visibilityState"in s()&&this.off(s(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(mi);wi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},bn||an||wi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Gr.registerComponent("SeekBar",wi);var Ci=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=Er(Sr(d(r),r.handleMouseMove),30),r.throttledHandleMouseSeek=Er(Sr(d(r),r.handleMouseSeek),30),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.handleMouseDownHandler_=function(e){return r.handleMouseDown(e)},r.enable(),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var o=t.el(),i=zn(o),a=qn(o,e).x;a=hi(a,0,1),r&&r.update(i,a),n&&n.update(i,t.getProgress())}}},n.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},n.enabled=function(){return this.enabled_},n.disable=function(){if(this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&Jr(this.player_.play())}},n.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},n.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},n.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(Gr);Ci.prototype.options_={children:["seekBar"]},Gr.registerComponent("ProgressControl",Ci);var Si=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],(function(e){return r.handlePictureInPictureChange(e)})),r.on(t,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return r.handlePictureInPictureEnabledChange(e)})),r.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(function(){"audio"===t.currentType().substring(0,5)||t.audioPosterMode()||t.audioOnlyMode()?(t.isInPictureInPicture()&&t.exitPictureInPicture(),r.hide()):r.show()})),r.disable(),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureEnabledChange=function(){s().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(ei);Si.prototype.controlText_="Picture-in-Picture",Gr.registerComponent("PictureInPictureToggle",Si);var Ei=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",(function(e){return r.handleFullscreenChange(e)})),!1===s()[t.fsApi_.fullscreenEnabled]&&r.disable(),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(ei);Ei.prototype.controlText_="Fullscreen",Gr.registerComponent("FullscreenToggle",Ei);var xi=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(Gr);Gr.registerComponent("VolumeLevel",xi);var ki=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Er(Sr(d(r),r.update),30),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n,r){if(!n){var o=Vn(this.el_),i=Vn(this.player_.el()),a=e.width*t;if(!i||!o)return;var s=e.left-i.left+a,l=e.width-a+(i.right-e.right),c=o.width/2;s<c?c+=c-s:l<c&&(c=l),c<0?c=0:c>o.width&&(c=o.width),this.el_.style.right="-"+c+"px"}this.write(r+"%")},n.write=function(e){An(this.el_,e)},n.updateVolume=function(e,t,n,r,o){var i=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){i.update(e,t,n,r.toFixed(0)),o&&o()}))},t}(Gr);Gr.registerComponent("VolumeLevelTooltip",ki);var Oi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=Er(Sr(d(r),r.update),30),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t,n){var r=this,o=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,o,(function(){n?r.el_.style.bottom=e.height*t+"px":r.el_.style.left=e.width*t+"px"}))},t}(Gr);Oi.prototype.options_={children:["volumeLevelTooltip"]},Gr.registerComponent("MouseVolumeLevelDisplay",Oi);var Ti=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",(function(e){return r.updateLastVolume_(e)})),r.on(t,"volumechange",(function(e){return r.updateARIAAttributes(e)})),t.ready((function(){return r.updateARIAAttributes()})),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){$n(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var n=this.el(),r=Vn(n),o=this.vertical(),i=qn(n,e);i=o?i.y:i.x,i=hi(i,0,1),t.update(r,i,o)}$n(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},n.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},n.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},n.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(mi);Ti.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},bn||an||Ti.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),Ti.prototype.playerEvent="volumechange",Gr.registerComponent("VolumeBar",Ti);var Ai=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||Qt(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(d(r=e.call(this,t,n)||this),t),r.throttledHandleMouseMove=Er(Sr(d(r),r.handleMouseMove),30),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r.on("touchstart",(function(e){return r.handleMouseDown(e)})),r.on("mousemove",(function(e){return r.handleMouseMove(e)})),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(Gr);Ai.prototype.options_={children:["volumeBar"]},Gr.registerComponent("VolumeControl",Ai);var Pi=function(e){function t(t,n){var r;return function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(d(r=e.call(this,t,n)||this),t),r.on(t,["loadstart","volumechange"],(function(e){return r.update(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;bn&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)Mn(this.el_,"vjs-vol-"+n);In(this.el_,"vjs-vol-"+t)},n.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(ei);Pi.prototype.controlText_="Mute",Gr.registerComponent("MuteToggle",Pi);var Ri=function(e){function t(t,n){var r;return void 0===n&&(n={}),void 0!==n.inline?n.inline=n.inline:n.inline=!0,(void 0===n.volumeControl||Qt(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).handleKeyPressHandler_=function(e){return r.handleKeyPress(e)},r.on(t,["loadstart"],(function(e){return r.volumePanelState_(e)})),r.on(r.muteToggle,"keyup",(function(e){return r.handleKeyPress(e)})),r.on(r.volumeControl,"keyup",(function(e){return r.handleVolumeControlKeyUp(e)})),r.on("keydown",(function(e){return r.handleKeyPress(e)})),r.on("mouseover",(function(e){return r.handleMouseOver(e)})),r.on("mouseout",(function(e){return r.handleMouseOut(e)})),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}f(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){u().isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),gr(s(),"keyup",this.handleKeyPressHandler_)},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),yr(s(),"keyup",this.handleKeyPressHandler_)},n.handleKeyPress=function(e){u().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(Gr);Ri.prototype.options_={children:["muteToggle","volumeControl"]},Gr.registerComponent("VolumePanel",Ri);var Ii=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,n&&(r.menuButton_=n.menuButton),r.focusedChild_=-1,r.on("keydown",(function(e){return r.handleKeyDown(e)})),r.boundHandleBlur_=function(e){return r.handleBlur(e)},r.boundHandleTapClick_=function(e){return r.handleTapClick(e)},r}f(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof Gr&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof Gr&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},n.removeChild=function(t){"string"==typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},n.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},n.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=Tn(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),gr(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},n.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},n.handleBlur=function(e){var t=e.relatedTarget||s().activeElement;if(!this.children().some((function(e){return e.el()===t}))){var n=this.menuButton_;n&&n.buttonPressed_&&t!==n.el().firstChild&&n.unpressButton()}},n.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var n=t.filter((function(t){return t.el()===e.target}))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}},n.handleKeyDown=function(e){u().isEventKey(e,"Left")||u().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(u().isEventKey(e,"Right")||u().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},n.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(Gr);Gr.registerComponent("Menu",Ii);var Mi=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new ei(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var o=ei.prototype.buildCSSClass();r.menuButton_.el_.className=r.buildCSSClass()+" "+o,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0;var i=function(e){return r.handleClick(e)};return r.handleMenuKeyUp_=function(e){return r.handleMenuKeyUp(e)},r.on(r.menuButton_,"tap",i),r.on(r.menuButton_,"click",i),r.on(r.menuButton_,"keydown",(function(e){return r.handleKeyDown(e)})),r.on(r.menuButton_,"mouseenter",(function(){r.addClass("vjs-hover"),r.menu.show(),gr(s(),"keyup",r.handleMenuKeyUp_)})),r.on("mouseleave",(function(e){return r.handleMouseLeave(e)})),r.on("keydown",(function(e){return r.handleSubmenuKeyDown(e)})),r}f(t,e);var n=t.prototype;return n.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},n.createMenu=function(){var e=new Ii(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=Tn("li",{className:"vjs-menu-title",textContent:Fr(this.options_.title),tabIndex:-1}),n=new Gr(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(var r=0;r<this.items.length;r++)e.addItem(this.items[r]);return e},n.createItems=function(){},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},n.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+ei.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},n.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},n.controlText=function(e,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(e,t)},n.dispose=function(){this.handleMouseLeave(),e.prototype.dispose.call(this)},n.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},n.handleMouseLeave=function(e){this.removeClass("vjs-hover"),yr(s(),"keyup",this.handleMenuKeyUp_)},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),u().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(u().isEventKey(e,"Up")||u().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(u().isEventKey(e,"Esc")||u().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),u().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))},n.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),bn&&kn())return;this.menu.focus()}},n.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},n.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},n.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(Gr);Gr.registerComponent("MenuButton",Mi);var Ni=function(e){function t(t,n){var r,o=n.tracks;if((r=e.call(this,t,n)||this).items.length<=1&&r.hide(),!o)return d(r);var i=Sr(d(r),r.update);return o.addEventListener("removetrack",i),o.addEventListener("addtrack",i),o.addEventListener("labelchange",i),r.player_.on("ready",i),r.player_.on("dispose",(function(){o.removeEventListener("removetrack",i),o.removeEventListener("addtrack",i),o.removeEventListener("labelchange",i)})),r}return f(t,e),t}(Mi);Gr.registerComponent("TrackButton",Ni);var Di=["Tab","Esc","Up","Down","Right","Left"],ji=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}f(t,e);var n=t.prototype;return n.createEl=function(t,n,r){this.nonIconControl=!0;var o=e.prototype.createEl.call(this,"li",Kt({className:"vjs-menu-item",tabIndex:-1},n),r);return o.replaceChild(Tn("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),o.querySelector(".vjs-icon-placeholder")),o},n.handleKeyDown=function(t){Di.some((function(e){return u().isEventKey(t,e)}))||e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){this.selected(!0)},n.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(Yo);Gr.registerComponent("MenuItem",ji);var Li=function(e){function t(t,n){var r,o=n.track,a=t.textTracks();n.label=o.label||o.language||"Unknown",n.selected="showing"===o.mode,(r=e.call(this,t,n)||this).track=o,r.kinds=(n.kinds||[n.kind||r.track.kind]).filter(Boolean);var l,c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(d(r),t)},u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleSelectedLanguageChange.apply(d(r),t)};(t.on(["loadstart","texttrackchange"],c),a.addEventListener("change",c),a.addEventListener("selectedlanguagechange",u),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],c),a.removeEventListener("change",c),a.removeEventListener("selectedlanguagechange",u)})),void 0===a.onchange)&&r.on(["tap","click"],(function(){if("object"!==Mt(i().Event))try{l=new(i().Event)("change")}catch(e){}l||(l=s().createEvent("Event")).initEvent("change",!0,!0),a.dispatchEvent(l)}));return r.handleTracksChange(),r}f(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var o=0;o<r.length;o++){var i=r[o];-1!==this.kinds.indexOf(i.kind)&&(i===n?"showing"!==i.mode&&(i.mode="showing"):"disabled"!==i.mode&&(i.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(ji);Gr.registerComponent("TextTrackMenuItem",Li);var Bi=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}f(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(this.options_.kinds.indexOf(i.kind)>-1&&"showing"===i.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(["captions","descriptions","subtitles"].indexOf(i.kind)>-1&&"showing"===i.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(Li);Gr.registerComponent("OffTextTrackMenuItem",Bi);var Fi=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return f(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=Li),this.label_&&(n=this.label_+" off"),e.push(new Bi(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var o=0;o<r.length;o++){var i=r[o];if(this.kinds_.indexOf(i.kind)>-1){var a=new t(this.player_,{track:i,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+i.kind+"-menu-item"),e.push(a)}}return e},t}(Ni);Gr.registerComponent("TextTrackButton",Fi);var Ui=function(e){function t(t,n){var r,o=n.track,i=n.cue,a=t.currentTime();return n.selectable=!0,n.multiSelectable=!1,n.label=i.text,n.selected=i.startTime<=a&&a<i.endTime,(r=e.call(this,t,n)||this).track=o,r.cue=i,r}return f(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime)},t}(ji);Gr.registerComponent("ChaptersTrackMenuItem",Ui);var Hi=function(e){function t(t,n,r){var o;return(o=e.call(this,t,n,r)||this).selectCurrentItem_=function(){o.items.forEach((function(e){e.selected(o.track_.activeCues[0]===e.cue)}))},o}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},n.update=function(t){if(!t||!t.track||"chapters"===t.track.kind){var n=this.findChaptersTrack();n!==this.track_?(this.setTrack(n),e.prototype.update.call(this)):(!this.items||n&&n.cues&&n.cues.length!==this.items.length)&&e.prototype.update.call(this)}},n.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}},n.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},n.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Fr(this.kind_))},n.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},n.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var o=t[n],i=new Ui(this.player_,{track:this.track_,cue:o});e.push(i)}return e},t}(Fi);Hi.prototype.kind_="chapters",Hi.prototype.controlText_="Chapters",Gr.registerComponent("ChaptersButton",Hi);var Vi=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=t.textTracks(),a=Sr(d(o),o.handleTracksChange);return i.addEventListener("change",a),o.on("dispose",(function(){i.removeEventListener("change",a)})),o}f(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind!==this.kind_&&"showing"===i.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Fi);Vi.prototype.kind_="descriptions",Vi.prototype.controlText_="Descriptions",Gr.registerComponent("DescriptionsButton",Vi);var zi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Fi);zi.prototype.kind_="subtitles",zi.prototype.controlText_="Subtitles",Gr.registerComponent("SubtitlesButton",zi);var qi=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return f(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(Li);Gr.registerComponent("CaptionSettingsMenuItem",qi);var Gi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new qi(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Fi);Gi.prototype.kind_="captions",Gi.prototype.controlText_="Captions",Gr.registerComponent("CaptionsButton",Gi);var Wi=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(t,n,r){var o=e.prototype.createEl.call(this,t,n,r),i=o.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(i.appendChild(Tn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(Tn("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),o},t}(Li);Gr.registerComponent("SubsCapsMenuItem",Wi);var Yi=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(Fr(r.label_)),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new qi(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,Wi)},t}(Fi);Yi.prototype.kinds_=["captions","subtitles"],Yi.prototype.controlText_="Subtitles",Gr.registerComponent("SubsCapsButton",Yi);var Zi=function(e){function t(t,n){var r,o=n.track,i=t.audioTracks();n.label=o.label||o.language||"Unknown",n.selected=o.enabled,(r=e.call(this,t,n)||this).track=o,r.addClass("vjs-"+o.kind+"-menu-item");var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(d(r),t)};return i.addEventListener("change",a),r.on("dispose",(function(){i.removeEventListener("change",a)})),r}f(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var o=e.prototype.createEl.call(this,t,n,r),i=o.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(i.appendChild(Tn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(Tn("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),o},n.handleClick=function(t){if(e.prototype.handleClick.call(this,t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var n=this.player_.audioTracks(),r=0;r<n.length;r++){var o=n[r];o!==this.track&&(o.enabled=o===this.track)}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(ji);Gr.registerComponent("AudioTrackMenuItem",Zi);var Ki=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new Zi(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Ni);Ki.prototype.controlText_="Audio Track",Gr.registerComponent("AudioTrackButton",Ki);var $i=function(e){function t(t,n){var r,o=n.rate,i=parseFloat(o,10);return n.label=o,n.selected=i===t.playbackRate(),n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=o,r.rate=i,r.on(t,"ratechange",(function(e){return r.update(e)})),r}f(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(ji);$i.prototype.contentElType="button",Gr.registerComponent("PlaybackRateMenuItem",$i);var Qi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).menuButton_.el_.setAttribute("aria-describedby",r.labelElId_),r.updateVisibility(),r.updateLabel(),r.on(t,"loadstart",(function(e){return r.updateVisibility(e)})),r.on(t,"ratechange",(function(e){return r.updateLabel(e)})),r.on(t,"playbackrateschange",(function(e){return r.handlePlaybackRateschange(e)})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Tn("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t},n.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){for(var e=this.playbackRates(),t=[],n=e.length-1;n>=0;n--)t.push(new $i(this.player(),{rate:e[n]+"x"}));return t},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){var t=this.player().playbackRate(),n=this.playbackRates(),r=(n.indexOf(t)+1)%n.length;this.player().playbackRate(n[r])},n.handlePlaybackRateschange=function(e){this.update()},n.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},n.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},n.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(Mi);Qi.prototype.controlText_="Playback Rate",Gr.registerComponent("PlaybackRateMenuButton",Qi);var Xi=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(t,n,r){return void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n.className||(n.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,n,r)},t}(Gr);Gr.registerComponent("Spacer",Xi);var Ji=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},t}(Xi);Gr.registerComponent("CustomControlSpacer",Ji);var ea=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(Gr);ea.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in s()&&ea.prototype.options_.children.splice(ea.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Gr.registerComponent("ControlBar",ea);var ta=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",(function(e){return r.open(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(ro);ta.prototype.options_=l({},ro.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Gr.registerComponent("ErrorDisplay",ta);var na=["#000","Black"],ra=["#00F","Blue"],oa=["#0FF","Cyan"],ia=["#0F0","Green"],aa=["#F0F","Magenta"],sa=["#F00","Red"],la=["#FFF","White"],ca=["#FF0","Yellow"],ua=["1","Opaque"],da=["0.5","Semi-Transparent"],pa=["0","Transparent"],fa={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[na,la,sa,ia,ra,ca,aa,oa]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[ua,da,pa]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[la,na,sa,ia,ra,ca,aa,oa]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[ua,da]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[pa,da,ua]}};function ha(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}fa.windowColor.options=fa.backgroundColor.options;var ma=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=r.updateDisplay.bind(d(r)),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=Tn("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===n.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",(function(){r.saveSettings(),r.close()})),r.on(r.$(".vjs-default-button"),"click",(function(){r.setDefaults(),r.updateDisplay()})),Zt(fa,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}f(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var o=fa[e],i=o.id.replace("%s",this.id_),a=[t,i].join(" ").trim();return["<"+n+' id="'+i+'" class="'+("label"===n?"vjs-label":"")+'">',this.localize(o.label),"</"+n+">",'<select aria-labelledby="'+a+'">'].concat(o.options.map((function(e){var t=i+"-"+e[1].replace(/\W+/g,"");return['<option id="'+t+'" value="'+e[0]+'" ','aria-labelledby="'+a+" "+t+'">',r.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")},n.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},n.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},n.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},n.createElColors_=function(){return Tn("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return Tn("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},n.createElControls_=function(){var e=this.localize("restore all settings to the default values");return Tn("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+e+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+e+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},n.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},n.label=function(){return this.localize("Caption Settings Dialog")},n.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},n.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},n.getValues=function(){var e=this;return function(e,t,n){return void 0===n&&(n=0),Yt(e).reduce((function(n,r){return t(n,e[r],r)}),n)}(fa,(function(t,n,r){var o,i,a=(o=e.$(n.selector),i=n.parser,ha(o.options[o.options.selectedIndex].value,i));return void 0!==a&&(t[r]=a),t}),{})},n.setValues=function(e){var t=this;Zt(fa,(function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(ha(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)}))},n.setDefaults=function(){var e=this;Zt(fa,(function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n}))},n.restoreSettings=function(){var e;try{e=JSON.parse(i().localStorage.getItem("vjs-text-track-settings"))}catch(e){qt.warn(e)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?i().localStorage.setItem("vjs-text-track-settings",JSON.stringify(e)):i().localStorage.removeItem("vjs-text-track-settings")}catch(e){qt.warn(e)}}},n.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()},t}(ro);Gr.registerComponent("TextTrackSettings",ma);var ga=function(e){function t(t,n){var r,o=n.ResizeObserver||i().ResizeObserver;null===n.ResizeObserver&&(o=!1);var a=Ur({createEl:!o,reportTouchActivity:!1},n);return(r=e.call(this,t,a)||this).ResizeObserver=n.ResizeObserver||i().ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=function(e,t,n,r){var o;void 0===r&&(r=i());var a=function(){var i=this,a=arguments,s=function(){o=null,s=null,n||e.apply(i,a)};!o&&n&&e.apply(i,a),r.clearTimeout(o),o=r.setTimeout(s,t)};return a.cancel=function(){r.clearTimeout(o),o=null},a}((function(){r.resizeHandler()}),100,!1,d(r)),o?(r.resizeObserver_=new r.ResizeObserver(r.debouncedHandler_),r.resizeObserver_.observe(t.el())):(r.loadListener_=function(){if(r.el_&&r.el_.contentWindow){var e=r.debouncedHandler_,t=r.unloadListener_=function(){yr(this,"resize",e),yr(this,"unload",t),t=null};gr(r.el_.contentWindow,"unload",t),gr(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})},n.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},n.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,e.prototype.dispose.call(this)},t}(Gr);Gr.registerComponent("ResizeManager",ga);var ya={trackingThreshold:20,liveTolerance:15},va=function(e){function t(t,n){var r,o=Ur(ya,n,{createEl:!1});return(r=e.call(this,t,o)||this).handleVisibilityChange_=function(e){return r.handleVisibilityChange(e)},r.trackLiveHandler_=function(){return r.trackLive_()},r.handlePlay_=function(e){return r.handlePlay(e)},r.handleFirstTimeupdate_=function(e){return r.handleFirstTimeupdate(e)},r.handleSeeked_=function(e){return r.handleSeeked(e)},r.seekToLiveEdge_=function(e){return r.seekToLiveEdge(e)},r.reset_(),r.on(r.player_,"durationchange",(function(e){return r.handleDurationchange(e)})),r.on(r.player_,"canplay",(function(){return r.toggleTracking()})),fn&&"hidden"in s()&&"visibilityState"in s()&&r.on(s(),"visibilitychange",r.handleVisibilityChange_),r}f(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(s().hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(i().performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;var r=this.liveCurrentTime(),o=this.player_.currentTime(),a=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-o)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}},n.handleDurationchange=function(){this.toggleTracking()},n.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},n.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,30),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},n.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},n.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},n.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},n.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},n.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},n.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},n.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0},n.seekableStart=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0},n.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},n.isLive=function(){return this.isTracking()},n.atLiveEdge=function(){return!this.behindLiveEdge()},n.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},n.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},n.behindLiveEdge=function(){return this.behindLiveEdge_},n.isTracking=function(){return"number"==typeof this.trackingInterval_},n.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(s(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(Gr);Gr.registerComponent("LiveTracker",va);var ba,_a=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],o="";if(!n.length)return!1;for(var i=0;i<n.length;i++){var a=n[i].src;a&&-1===r.indexOf(a)&&r.push(a)}return!!r.length&&(1===r.length&&(o=r[0]),e.triggerSourceset(o),!0)},wa=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=s().createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=s().createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",i().Element.prototype.appendChild.call(this,n),this.innerHTML}}),Ca=function(e,t){for(var n={},r=0;r<e.length&&!((n=Object.getOwnPropertyDescriptor(e[r],t))&&n.set&&n.get);r++);return n.enumerable=!0,n.configurable=!0,n},Sa=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return Ca([e.el(),i().HTMLMediaElement.prototype,i().Element.prototype,wa],"innerHTML")}(e),o=function(n){return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=n.apply(t,o);return _a(e),a}};["append","appendChild","insertAdjacentHTML"].forEach((function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",Ur(r,{set:o(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach((function(e){t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},Ea=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?_o(i().Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return i().Element.prototype.setAttribute.call(this,"src",e),e}}),xa=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return Ca([e.el(),i().HTMLMediaElement.prototype,Ea],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Ur(n,{set:function(r){var o=n.set.call(t,r);return e.triggerSourceset(t.src),o}})),t.setAttribute=function(n,o){var i=r.call(t,n,o);return/src/i.test(n)&&e.triggerSourceset(t.src),i},t.load=function(){var n=o.call(t);return _a(e)||(e.triggerSourceset(""),Sa(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):_a(e)||Sa(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},ka=function(e,t,n,r){void 0===r&&(r=!0);var o=function(n){return Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0})},i={configurable:!0,enumerable:!0,get:function(){var e=n();return o(e),e}};return r&&(i.set=o),Object.defineProperty(e,t,i)},Oa=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=t.source,i=!1;if(r.featuresVideoFrameCallback=r.featuresVideoFrameCallback&&"VIDEO"===r.el_.tagName,o&&(r.el_.currentSrc!==o.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(o):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),r.isScrubbing_=!1,r.el_.hasChildNodes()){for(var a=r.el_.childNodes,s=a.length,l=[];s--;){var c=a[s];"track"===c.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(c),r.remoteTextTracks().addTrack(c.track),r.textTracks().addTrack(c.track),i||r.el_.hasAttribute("crossorigin")||!Co(c.src)||(i=!0)):l.push(c))}for(var u=0;u<l.length;u++)r.el_.removeChild(l[u])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&i&&qt.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),r.restoreMetadataTracksInIOSNativePlayer_(),(gn||vn||ln)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}f(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){xa(this)},n.restoreMetadataTracksInIOSNativePlayer_=function(){var e,t=this.textTracks(),n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",(function(){return t.removeEventListener("change",n)}));var r=function n(){for(var r=0;r<e.length;r++){var o=e[r];"disabled"===o.track.mode&&o.track.mode!==o.storedMode&&(o.track.mode=o.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)})),this.on("webkitendfullscreen",(function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)}))},n.overrideNative_=function(e,t){var n=this;if(t===this["featuresNative"+e+"Tracks"]){var r=e.toLowerCase();this[r+"TracksListeners_"]&&Object.keys(this[r+"TracksListeners_"]).forEach((function(e){n.el()[r+"Tracks"].removeEventListener(e,n[r+"TracksListeners_"][e])})),this["featuresNative"+e+"Tracks"]=!t,this[r+"TracksListeners_"]=null,this.proxyNativeTracksForType_(r)}},n.overrideNativeAudioTracks=function(e){this.overrideNative_("Audio",e)},n.overrideNativeVideoTracks=function(e){this.overrideNative_("Video",e)},n.proxyNativeTracksForType_=function(e){var t=this,n=Po[e],r=this.el()[n.getterName],o=this[n.getterName]();if(this["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var i={change:function(n){var r={type:"change",target:o,currentTarget:o,srcElement:o};o.trigger(r),"text"===e&&t[Ro.remoteText.getterName]().trigger(r)},addtrack:function(e){o.addTrack(e.track)},removetrack:function(e){o.removeTrack(e.track)}},a=function(){for(var e=[],t=0;t<o.length;t++){for(var n=!1,i=0;i<r.length;i++)if(r[i]===o[t]){n=!0;break}n||e.push(o[t])}for(;e.length;)o.removeTrack(e.shift())};this[n.getterName+"Listeners_"]=i,Object.keys(i).forEach((function(e){var n=i[e];r.addEventListener(e,n),t.on("dispose",(function(t){return r.removeEventListener(e,n)}))})),this.on("loadstart",a),this.on("dispose",(function(e){return t.off("loadstart",a)}))}},n.proxyNativeTracks_=function(){var e=this;Po.names.forEach((function(t){e.proxyNativeTracksForType_(t)}))},n.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=s().createElement("video");var r=Ur({},this.options_.tag&&jn(this.options_.tag));gn&&!0===this.options_.nativeControlsForTouch||delete r.controls,Dn(e,Kt(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&Bn(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);for(var o=["loop","muted","playsinline","autoplay"],i=0;i<o.length;i++){var a=o[i],l=this.options_[a];void 0!==l&&(l?Bn(e,a,a):Fn(e,a),e[a]=l)}return e},n.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready((function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")}))}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready((function(){o.forEach((function(e){this.trigger(e)}),this)}))}},n.setScrubbing=function(e){this.isScrubbing_=e},n.scrubbing=function(){return this.isScrubbing_},n.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&_n?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){qt(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&an&&dn&&0===this.el_.currentTime){return this.on("timeupdate",(function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))})),NaN}return this.el_.duration||NaN},n.width=function(){return this.el_.offsetWidth},n.height=function(){return this.el_.offsetHeight},n.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",(function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)}))}},n.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=i().navigator&&i().navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},n.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)Jr(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}},n.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},n.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},n.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):e.prototype.requestVideoFrameCallback.call(this,t)},n.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):e.prototype.cancelVideoFrameCallback.call(this,t)},n.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},n.reset=function(){t.resetMediaElement(this.el_)},n.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},n.setControls=function(e){this.el_.controls=!!e},n.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},n.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=s().createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},n.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},n.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},n.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),i().performance&&"function"==typeof i().performance.now?e.creationTime=i().performance.now():i().performance&&i().performance.timing&&"number"==typeof i().performance.timing.navigationStart&&(e.creationTime=i().Date.now()-i().performance.timing.navigationStart),e},t}(Mo);ka(Oa,"TEST_VID",(function(){if(En()){var e=s().createElement("video"),t=s().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}})),Oa.isSupported=function(){try{Oa.TEST_VID.volume=.5}catch(e){return!1}return!(!Oa.TEST_VID||!Oa.TEST_VID.canPlayType)},Oa.canPlayType=function(e){return Oa.TEST_VID.canPlayType(e)},Oa.canPlaySource=function(e,t){return Oa.canPlayType(e.type)},Oa.canControlVolume=function(){try{var e=Oa.TEST_VID.volume;Oa.TEST_VID.volume=e/2+.1;var t=e!==Oa.TEST_VID.volume;return t&&bn?(i().setTimeout((function(){Oa&&Oa.prototype&&(Oa.prototype.featuresVolumeControl=e!==Oa.TEST_VID.volume)})),!1):t}catch(e){return!1}},Oa.canMuteVolume=function(){try{var e=Oa.TEST_VID.muted;return Oa.TEST_VID.muted=!e,Oa.TEST_VID.muted?Bn(Oa.TEST_VID,"muted","muted"):Fn(Oa.TEST_VID,"muted"),e!==Oa.TEST_VID.muted}catch(e){return!1}},Oa.canControlPlaybackRate=function(){if(an&&dn&&pn<58)return!1;try{var e=Oa.TEST_VID.playbackRate;return Oa.TEST_VID.playbackRate=e/2+.1,e!==Oa.TEST_VID.playbackRate}catch(e){return!1}},Oa.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(s().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(s().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(s().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(s().createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},Oa.supportsNativeTextTracks=function(){return _n||bn&&dn},Oa.supportsNativeVideoTracks=function(){return!(!Oa.TEST_VID||!Oa.TEST_VID.videoTracks)},Oa.supportsNativeAudioTracks=function(){return!(!Oa.TEST_VID||!Oa.TEST_VID.audioTracks)},Oa.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],n=e[1];ka(Oa.prototype,t,(function(){return Oa[n]()}),!0)})),Oa.prototype.featuresVolumeControl=Oa.canControlVolume(),Oa.prototype.movingMediaElementInDOM=!bn,Oa.prototype.featuresFullscreenResize=!0,Oa.prototype.featuresProgressEvents=!0,Oa.prototype.featuresTimeupdateEvents=!0,Oa.prototype.featuresVideoFrameCallback=!(!Oa.TEST_VID||!Oa.TEST_VID.requestVideoFrameCallback),Oa.patchCanPlayType=function(){sn>=4&&!cn&&!dn&&(ba=Oa.TEST_VID&&Oa.TEST_VID.constructor.prototype.canPlayType,Oa.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":ba.call(this,e)})},Oa.unpatchCanPlayType=function(){var e=Oa.TEST_VID.constructor.prototype.canPlayType;return ba&&(Oa.TEST_VID.constructor.prototype.canPlayType=ba),e},Oa.patchCanPlayType(),Oa.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},Oa.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){Oa.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){Oa.prototype["set"+Fr(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){Oa.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){Oa.prototype["set"+Fr(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){Oa.prototype[e]=function(){return this.el_[e]()}})),Mo.withSourceHandlers(Oa),Oa.nativeSourceHandler={},Oa.nativeSourceHandler.canPlayType=function(e){try{return Oa.TEST_VID.canPlayType(e)}catch(e){return""}},Oa.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Oa.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=wo(e.src);return Oa.nativeSourceHandler.canPlayType("video/"+n)}return""},Oa.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},Oa.nativeSourceHandler.dispose=function(){},Oa.registerSourceHandler(Oa.nativeSourceHandler),Mo.registerTech("Html5",Oa);var Ta=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Aa={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Pa=["tiny","xsmall","small","medium","large","xlarge","huge"],Ra={};Pa.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Ra[e]="vjs-layout-"+t}));var Ia={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Ma=function(e){function t(n,r,o){var i;if(n.id=n.id||r.id||"vjs_video_"+cr(),(r=Kt(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var a=n.closest("[lang]");a&&a.getAttribute&&(r.language=a.getAttribute("lang"))}else for(var l=n;l&&1===l.nodeType;){if(jn(l).hasOwnProperty("lang")){r.language=l.getAttribute("lang");break}l=l.parentNode}if((i=e.call(this,null,r,o)||this).boundDocumentFullscreenChange_=function(e){return i.documentFullscreenChange_(e)},i.boundFullWindowOnEscKey_=function(e){return i.fullWindowOnEscKey(e)},i.boundUpdateStyleEl_=function(e){return i.updateStyleEl_(e)},i.boundApplyInitTime_=function(e){return i.applyInitTime_(e)},i.boundUpdateCurrentBreakpoint_=function(e){return i.updateCurrentBreakpoint_(e)},i.boundHandleTechClick_=function(e){return i.handleTechClick_(e)},i.boundHandleTechDoubleClick_=function(e){return i.handleTechDoubleClick_(e)},i.boundHandleTechTouchStart_=function(e){return i.handleTechTouchStart_(e)},i.boundHandleTechTouchMove_=function(e){return i.handleTechTouchMove_(e)},i.boundHandleTechTouchEnd_=function(e){return i.handleTechTouchEnd_(e)},i.boundHandleTechTap_=function(e){return i.handleTechTap_(e)},i.isFullscreen_=!1,i.log=Gt(i.id_),i.fsApi_=Bt,i.isPosterFromTech_=!1,i.queuedCallbacks_=[],i.isReady_=!1,i.hasStarted_=!1,i.userActive_=!1,i.debugEnabled_=!1,i.audioOnlyMode_=!1,i.audioPosterMode_=!1,i.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!i.options_||!i.options_.techOrder||!i.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(i.tag=n,i.tagAttributes=n&&jn(n),i.language(i.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach((function(e){c[e.toLowerCase()]=r.languages[e]})),i.languages_=c}else i.languages_=t.prototype.options_.languages;i.resetCache_(),i.poster_=r.poster||"",i.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),i.changingSrc_=!1,i.playCallbacks_=[],i.playTerminatedQueue_=[],n.hasAttribute("autoplay")?i.autoplay(!0):i.autoplay(i.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach((function(e){if("function"!=typeof i[e])throw new Error('plugin "'+e+'" does not exist')})),i.scrubbing_=!1,i.el_=i.createEl(),Dr(d(i),{eventBusKey:"el_"}),i.fsApi_.requestFullscreen&&(gr(s(),i.fsApi_.fullscreenchange,i.boundDocumentFullscreenChange_),i.on(i.fsApi_.fullscreenchange,i.boundDocumentFullscreenChange_)),i.fluid_&&i.on(["playerreset","resize"],i.boundUpdateStyleEl_);var u=Ur(i.options_);r.plugins&&Object.keys(r.plugins).forEach((function(e){i[e](r.plugins[e])})),r.debug&&i.debug(!0),i.options_.playerOptions=u,i.middleware_=[],i.playbackRates(r.playbackRates),i.initChildren(),i.isAudio("audio"===n.nodeName.toLowerCase()),i.controls()?i.addClass("vjs-controls-enabled"):i.addClass("vjs-controls-disabled"),i.el_.setAttribute("role","region"),i.isAudio()?i.el_.setAttribute("aria-label",i.localize("Audio Player")):i.el_.setAttribute("aria-label",i.localize("Video Player")),i.isAudio()&&i.addClass("vjs-audio"),i.flexNotSupported_()&&i.addClass("vjs-no-flex"),gn&&i.addClass("vjs-touch-enabled"),bn||i.addClass("vjs-workinghover"),t.players[i.id_]=d(i);var p="7.21.6".split(".")[0];return i.addClass("vjs-v"+p),i.userActive(!0),i.reportUserActivity(),i.one("play",(function(e){return i.listenForUserActivity_(e)})),i.on("stageclick",(function(e){return i.handleStageClick_(e)})),i.on("keydown",(function(e){return i.handleKeyDown(e)})),i.on("languagechange",(function(e){return i.handleLanguagechange(e)})),i.breakpoints(i.options_.breakpoints),i.responsive(i.options_.responsive),i.on("ready",(function(){i.audioPosterMode(i.options_.audioPosterMode),i.audioOnlyMode(i.options_.audioOnlyMode)})),i}f(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),yr(s(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),yr(s(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Do[this.id()]=null,Io.names.forEach((function(e){var t=Io[e],r=n[t.getterName]();r&&r.off&&r.off()})),e.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},n.createEl=function(){var t,n=this.tag,r=this.playerElIngest_=n.parentNode&&n.parentNode.hasAttribute&&n.parentNode.hasAttribute("data-vjs-player"),o="video-js"===this.tag.tagName.toLowerCase();r?t=this.el_=n.parentNode:o||(t=this.el_=e.prototype.createEl.call(this,"div"));var a=jn(n);if(o){for(t=this.el_=n,n=this.tag=s().createElement("video");t.children.length;)n.appendChild(t.firstChild);Rn(t,"video-js")||In(t,"video-js"),t.appendChild(n),r=this.playerElIngest_=t,Object.keys(t).forEach((function(e){try{n[e]=t[e]}catch(e){}}))}if(n.setAttribute("tabindex","-1"),a.tabindex="-1",(fn||dn&&mn)&&(n.setAttribute("role","application"),a.role="application"),n.removeAttribute("width"),n.removeAttribute("height"),"width"in a&&delete a.width,"height"in a&&delete a.height,Object.getOwnPropertyNames(a).forEach((function(e){o&&"class"===e||t.setAttribute(e,a[e]),o&&n.setAttribute(e,a[e])})),n.playerId=n.id,n.id+="_html5_api",n.className="vjs-tech",n.player=t.player=this,this.addClass("vjs-paused"),!0!==i().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=ar("vjs-styles-dimensions");var l=Xn(".vjs-styles-defaults"),c=Xn("head");c.insertBefore(this.styleEl_,l?l.nextSibling:c.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var u=n.getElementsByTagName("a"),d=0;d<u.length;d++){var p=u.item(d);In(p,"vjs-hidden"),p.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),Pn(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):qt.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+e+'"')},n.width=function(e){return this.dimension("width",e)},n.height=function(e){return this.dimension("height",e)},n.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?qt.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){var t,n,r=this;if(void 0===e)return!!this.fluid_;this.fluid_=!!e,Or(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=function(){r.on(["playerreset","resize"],r.boundUpdateStyleEl_)},Or(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},n.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},n.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},n.updateStyleEl_=function(){if(!0!==i().VIDEOJS_NO_DYNAMIC_STYLE){var e,t,n,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*o,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),sr(this.styleEl_,"\n      ."+n+" {\n        width: "+e+"px;\n        height: "+t+"px;\n      }\n\n      ."+n+".vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: "+100*o+"%;\n      }\n    ")}else{var a="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(a>=0&&(l.width=a),s>=0&&(l.height=s))}},n.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=Fr(e),o=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(Mo.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var i=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(i=!1);var a={source:t,autoplay:i,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+o+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};Io.names.forEach((function(e){var t=Io[e];a[t.getterName]=n[t.privateName]})),Kt(a,this.options_[r]),Kt(a,this.options_[o]),Kt(a,this.options_[e.toLowerCase()]),this.tag&&(a.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(a.startTime=this.cache_.currentTime);var s=Mo.getTech(e);if(!s)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new s(a),this.tech_.ready(Sr(this,this.handleTechReady_),!0),no(this.textTracksJson_||[],this.tech_),Ta.forEach((function(e){n.on(n.tech_,e,(function(t){return n["handleTech"+Fr(e)+"_"](t)}))})),Object.keys(Aa).forEach((function(e){n.on(n.tech_,e,(function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+Aa[e]+"_"].bind(n),event:t}):n["handleTech"+Aa[e]+"_"](t)}))})),this.on(this.tech_,"loadstart",(function(e){return n.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return n.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return n.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return n.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return n.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return n.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return n.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return n.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return n.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,t){return n.handleTechFullscreenChange_(e,t)})),this.on(this.tech_,"fullscreenerror",(function(e,t){return n.handleTechFullscreenError_(e,t)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return n.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return n.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return n.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return n.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return n.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return n.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||Pn(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Io.names.forEach((function(t){var n=Io[t];e[n.privateName]=e[n.getterName]()})),this.textTracksJson_=to(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},n.tech=function(e){return void 0===e&&qt.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},n.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},n.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},n.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},n.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"==typeof e){var n,r=function(){var e=t.muted();t.muted(!0);var n=function(){t.muted(e)};t.playTerminatedQueue_.push(n);var r=t.play();if(Xr(r))return r.catch((function(e){throw n(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))}))};if("any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():r():Xr(n=this.play())&&(n=n.catch(r)),Xr(n))return n.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(){t.trigger({type:"autoplay-failure",autoplay:e})}))}},n.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(e){return e.src===t}));if(n.length)return n[0].type;for(var r=e.$$("source"),o=0;o<r.length;o++){var i=r[o];if(i.type&&i.src&&i.src===t)return i.type}return qo(t)}(this,t)),this.cache_.source=Ur({},e,{src:t,type:n});for(var r=this.cache_.sources.filter((function(e){return e.src&&e.src===t})),o=[],i=this.$$("source"),a=[],s=0;s<i.length;s++){var l=jn(i[s]);o.push(l),l.src&&l.src===t&&a.push(l.src)}a.length&&!r.length?this.cache_.sources=o:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},n.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,o=e.src;r&&!/^blob:/.test(r)&&/^blob:/.test(o)&&(!this.lastSource_||this.lastSource_.tech!==o&&this.lastSource_.player!==r)&&(n=function(){}),n(o),e.src||this.tech_.any(["sourceset","loadstart"],(function(e){if("sourceset"!==e.type){var n=t.techGet("currentSrc");t.lastSource_.tech=n,t.updateSourceCaches_(n)}}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},n.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},n.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},n.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(e){return e.callback(e.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},n.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",(function n(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",n))}))},n.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},n.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},n.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},n.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},n.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},n.handleTechFirstPlay_=function(){this.options_.starttime&&(qt.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},n.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},n.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},n.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},n.handleTechClick_=function(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?Jr(this.play()):this.pause()))},n.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(t){return t.contains(e.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},n.handleTechTap_=function(){this.userActive(!this.userActive())},n.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},n.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},n.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},n.handleStageClick_=function(){this.reportUserActivity()},n.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},n.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var n=this.el(),r=s()[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}},n.handleTechFullscreenChange_=function(e,t){var n=this;t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){n.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))},n.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},n.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},n.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},n.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},n.handleTechError_=function(){var e=this.tech_.error();this.error(e)},n.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},n.getCache=function(){return this.cache_},n.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},n.techCall_=function(e,t){this.ready((function(){if(e in Uo)return function(e,t,n,r){return t[n](e.reduce(Vo(n),r))}(this.middleware_,this.tech_,e,t);if(e in Ho)return Bo(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw qt(e),e}}),!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Fo)return function(e,t,n){return e.reduceRight(Vo(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Ho)return Bo(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw qt("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw qt("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw qt(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||i().Promise;return t?new t((function(t){e.play_(t)})):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=Jr),this.playCallbacks_.push(e);var n=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc())),r=Boolean(_n||bn);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(!n&&r&&this.load());var o=this.techGet_("play");r&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),null===o?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(o)},n.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))},n.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))},n.pause=function(){this.techCall_("pause")},n.paused=function(){return!1!==this.techGet_("paused")},n.played=function(){return this.techGet_("played")||Zr(0,0)},n.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},n.currentTime=function(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},n.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},n.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},n.remainingTime=function(){return this.duration()-this.currentTime()},n.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},n.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=Zr(0,0)),e},n.bufferedPercent=function(){return Kr(this.buffered(),this.duration())},n.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},n.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},n.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},n.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},n.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},n.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},n.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},n.requestFullscreen=function(e){var t=this.options_.Promise||i().Promise;if(t){var n=this;return new t((function(t,r){function o(){n.off("fullscreenerror",a),n.off("fullscreenchange",i)}function i(){o(),t()}function a(e,t){o(),r(t)}n.one("fullscreenchange",i),n.one("fullscreenerror",a);var s=n.requestFullscreenHelper_(e);s&&(s.then(o,o),s.then(t,r))}))}return this.requestFullscreenHelper_()},n.requestFullscreenHelper_=function(e){var t,n=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var r=this.el_[this.fsApi_.requestFullscreen](t);return r&&r.then((function(){return n.isFullscreen(!0)}),(function(){return n.isFullscreen(!1)})),r}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},n.exitFullscreen=function(){var e=this.options_.Promise||i().Promise;if(e){var t=this;return new e((function(e,n){function r(){t.off("fullscreenerror",i),t.off("fullscreenchange",o)}function o(){r(),e()}function i(e,t){r(),n(t)}t.one("fullscreenchange",o),t.one("fullscreenerror",i);var a=t.exitFullscreenHelper_();a&&(a.then(r,r),a.then(e,n))}))}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=s()[this.fsApi_.exitFullscreen]();return t&&Jr(t.then((function(){return e.isFullscreen(!1)}))),t}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=s().documentElement.style.overflow,gr(s(),"keydown",this.boundFullWindowOnEscKey_),s().documentElement.style.overflow="hidden",In(s().body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){u().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,yr(s(),"keydown",this.boundFullWindowOnEscKey_),s().documentElement.style.overflow=this.docOrigOverflow,Mn(s().body,"vjs-full-window"),this.trigger("exitFullWindow")},n.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in s()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in s())return s().exitPictureInPicture()},n.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}},n.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},n=t.fullscreenKey,r=void 0===n?function(e){return u().isEventKey(e,"f")}:n,o=t.muteKey,i=void 0===o?function(e){return u().isEventKey(e,"m")}:o,a=t.playPauseKey,l=void 0===a?function(e){return u().isEventKey(e,"k")||u().isEventKey(e,"Space")}:a;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var c=Gr.getComponent("FullscreenToggle");!1!==s()[this.fsApi_.fullscreenEnabled]&&c.prototype.handleClick.call(this,e)}else if(i.call(this,e)){e.preventDefault(),e.stopPropagation(),Gr.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(l.call(this,e)){e.preventDefault(),e.stopPropagation(),Gr.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},n.canPlayType=function(e){for(var t,n=0,r=this.options_.techOrder;n<r.length;n++){var o=r[n],i=Mo.getTech(o);if(i||(i=Gr.getComponent(o)),i){if(i.isSupported()&&(t=i.canPlayType(e)))return t}else qt.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},n.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map((function(e){return[e,Mo.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(qt.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),o=function(e,t,n){var r;return e.some((function(e){return t.some((function(t){if(r=n(e,t))return!0}))})),r},i=function(e,t){var r=e[0];if(e[1].canPlaySource(t,n.options_[r.toLowerCase()]))return{source:t,tech:r}};return(this.options_.sourceOrder?o(e,r,(t=i,function(e,n){return t(n,e)})):o(r,e,i))||!1},n.handleSrc_=function(e,t){var n=this;if(void 0===e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var r=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):$t(t)&&n.push(t)})),t=n}else t="string"==typeof t&&t.trim()?[Go({src:t})]:$t(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Go(t)]:[];return t}(e);if(r.length){if(this.changingSrc_=!0,t||(this.cache_.sources=r),this.updateSourceCaches_(r[0]),Lo(this,r[0],(function(e,o){var i,a;if(n.middleware_=o,t||(n.cache_.sources=r),n.updateSourceCaches_(e),n.src_(e))return r.length>1?n.handleSrc_(r.slice(1)):(n.changingSrc_=!1,n.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void n.triggerReady());i=o,a=n.tech_,i.forEach((function(e){return e.setTech&&e.setTech(a)}))})),this.options_.retryOnError&&r.length>1){var o=function(){n.error(null),n.handleSrc_(r.slice(1),!0)},i=function(){n.off("error",o)};this.one("error",o),this.one("playing",i),this.resetRetryOnError_=function(){n.off("error",o),n.off("playing",i)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)},n.src=function(e){return this.handleSrc_(e,!1)},n.src_=function(e){var t,n,r=this,o=this.selectSource([e]);return!o||(t=o.tech,n=this.techName_,Fr(t)!==Fr(n)?(this.changingSrc_=!0,this.loadTech_(o.tech,o.source),this.tech_.ready((function(){r.changingSrc_=!1})),!1):(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1))},n.load=function(){this.techCall_("load")},n.reset=function(){var e=this,t=this.options_.Promise||i().Promise;this.paused()||!t?this.doReset_():Jr(this.play().then((function(){return e.doReset_()})))},n.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),Or(this)&&this.trigger("playerreset")},n.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},n.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar||{},t=e.durationDisplay,n=e.remainingTimeDisplay;t&&t.updateContent(),n&&n.updateContent()},n.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},n.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},n.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},n.currentSource=function(){return this.cache_.source||{}},n.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},n.currentType=function(){return this.currentSource()&&this.currentSource().type||""},n.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},n.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},n.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},n.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},n.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},n.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},n.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},n.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},n.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(jt("beforeerror").forEach((function(n){var r=n(t,e);$t(r)&&!Array.isArray(r)||"string"==typeof r||"number"==typeof r||null===r?e=r:t.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){var n=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),void this.one("loadstart",(function(){this.off(["click","touchstart"],n)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new $r(e),this.addClass("vjs-error"),qt.error("(CODE:"+this.error_.code+" "+$r.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),jt("error").forEach((function(e){return e(t,t.error_)}))},n.reportUserActivity=function(e){this.userActivity_=!0},n.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},n.listenForUserActivity_=function(){var e,t,n,r=Sr(this,this.reportUserActivity),o=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",o),this.on("mouseleave",o);var i,a=this.getChild("controlBar");!a||bn||an||(a.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),a.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(i);var e=this.options_.inactivityTimeout;e<=0||(i=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}}),250)},n.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},n.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},n.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},n.enableAudioOnlyUI_=function(){var e=this;this.addClass("vjs-audio-only-mode");var t=this.children(),n=this.getChild("ControlBar"),r=n&&n.currentHeight();t.forEach((function(t){t!==n&&t.el_&&!t.hasClass("vjs-hidden")&&(t.hide(),e.audioOnlyCache_.hiddenChildren.push(t))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(r),this.trigger("audioonlymodechange")},n.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((function(e){return e.show()})),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},n.audioOnlyMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=e;var n=this.options_.Promise||i().Promise;if(n){if(e){var r=[];return this.isInPictureInPicture()&&r.push(this.exitPictureInPicture()),this.isFullscreen()&&r.push(this.exitFullscreen()),this.audioPosterMode()&&r.push(this.audioPosterMode(!1)),n.all(r).then((function(){return t.enableAudioOnlyUI_()}))}return n.resolve().then((function(){return t.disableAudioOnlyUI_()}))}e?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},n.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.audioPosterMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=e;var n=this.options_.Promise||i().Promise;return n?e?this.audioOnlyMode()?this.audioOnlyMode(!1).then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.disablePosterModeUI_()})):e?(this.audioOnlyMode()&&this.audioOnlyMode(!1),void this.enablePosterModeUI_()):void this.disablePosterModeUI_()},n.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},n.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},n.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},n.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},n.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},n.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},n.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),Or(this)&&this.trigger("languagechange"))},n.languages=function(){return Ur(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=Ur(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=Ur(r)).player=void 0,e.tracks[n]=r}return e},n.createModal=function(e,t){var n=this;(t=t||{}).content=e||"";var r=new ro(this,t);return this.addChild(r),r.on("dispose",(function(){n.removeChild(r)})),r.open(),r},n.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),n=0;n<Pa.length;n++){var r=Pa[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Ra[e]),this.addClass(Ra[r]),this.breakpoint_=r;break}}},n.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},n.breakpoints=function(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=Kt({},Ia,e),this.updateCurrentBreakpoint_()),Kt(this.breakpoints_)},n.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return Ra[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"===Mt(e)){this.reset(),this.cache_.media=Ur(e);var r=this.cache_.media,o=r.artwork,i=r.poster,a=r.src,s=r.textTracks;!o&&i&&(this.cache_.media.artwork=[{src:i,type:qo(i)}]),a&&this.src(a),i&&this.poster(i),Array.isArray(s)&&s.forEach((function(e){return n.addRemoteTextTrack(e,!1)})),this.ready(t)}},n.getMedia=function(){if(!this.cache_.media){var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}}))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:qo(t.poster)}]),t}return Ur(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=jn(e),r=n["data-setup"];if(Rn(e,"vjs-fill")&&(n.fill=!0),Rn(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=m()(r||"{}"),i=o[0],a=o[1];i&&qt.error(i),Kt(n,a)}if(Kt(t,n),e.hasChildNodes())for(var s=e.childNodes,l=0,c=s.length;l<c;l++){var u=s[l],d=u.nodeName.toLowerCase();"source"===d?t.sources.push(jn(u)):"track"===d&&t.tracks.push(jn(u))}return t},n.flexNotSupported_=function(){var e=s().createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},n.debug=function(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},n.playbackRates=function(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((function(e){return"number"==typeof e}))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))},t}(Gr);Io.names.forEach((function(e){var t=Io[e];Ma.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),Ma.prototype.crossorigin=Ma.prototype.crossOrigin,Ma.players={};var Na=i().navigator;Ma.prototype.options_={techOrder:Mo.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Na&&(Na.languages&&Na.languages[0]||Na.userLanguage||Na.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){Ma.prototype[e]=function(){return this.techGet_(e)}})),Ta.forEach((function(e){Ma.prototype["handleTech"+Fr(e)+"_"]=function(){return this.trigger(e)}})),Gr.registerComponent("Player",Ma);var Da={},ja=function(e){return Da.hasOwnProperty(e)},La=function(e){return ja(e)?Da[e]:void 0},Ba=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},Fa=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},Ua=function(e,t){return t.prototype.name=e,function(){Fa(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=w(t,[this].concat(r));return this[e]=function(){return i},Fa(this,i.getEventHash()),i}},Ha=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),Dr(this),delete this.trigger,Lr(this,this.constructor.defaultState),Ba(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}var t=e.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(e){return void 0===e&&(e={}),e.name=this.name,e.plugin=this.constructor,e.instance=this,e},t.trigger=function(e,t){return void 0===t&&(t={}),vr(this.eventBusEl_,e,this.getEventHash(t))},t.handleStateChanged=function(e){},t.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=Ua(e,Da[e])},e.isBasic=function(t){var n="string"==typeof t?La(t):t;return"function"==typeof n&&!e.prototype.isPrototypeOf(n.prototype)},e.registerPlugin=function(t,n){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+Mt(t)+".");if(ja(t))qt.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Ma.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+Mt(n)+".");return Da[t]=n,"plugin"!==t&&(e.isBasic(n)?Ma.prototype[t]=function(e,t){var n=function(){Fa(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return Ba(this,e),Fa(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(t,n):Ma.prototype[t]=Ua(t,n)),n},e.deregisterPlugin=function(e){if("plugin"===e)throw new Error("Cannot de-register base plugin.");ja(e)&&(delete Da[e],delete Ma.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(Da)),e.forEach((function(e){var n=La(e);n&&((t=t||{})[e]=n)})),t},e.getPluginVersion=function(e){var t=La(e);return t&&t.VERSION||""},e}();Ha.getPlugin=La,Ha.BASE_PLUGIN_NAME="plugin",Ha.registerPlugin("plugin",Ha),Ma.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Ma.prototype.hasPlugin=function(e){return!!ja(e)};var Va=!1,za=function(e){return 0===e.indexOf("#")?e.slice(1):e};function qa(e,t,n){var r=qa.getPlayer(e);if(r)return t&&qt.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var o="string"==typeof e?Xn("#"+za(e)):e;if(!xn(o))throw new TypeError("The element or ID supplied is not valid. (videojs)");o.ownerDocument.defaultView&&o.ownerDocument.body.contains(o)||qt.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(o.parentNode&&o.parentNode.hasAttribute("data-vjs-player")?o.parentNode:o).cloneNode(!0)),jt("beforesetup").forEach((function(e){var n=e(o,Ur(t));$t(n)&&!Array.isArray(n)?t=Ur(t,n):qt.error("please return an object in beforesetup hooks")}));var i=Gr.getComponent("Player");return r=new i(o,t,n),jt("setup").forEach((function(e){return e(r)})),r}if(qa.hooks_=Dt,qa.hooks=jt,qa.hook=function(e,t){jt(e,t)},qa.hookOnce=function(e,t){jt(e,[].concat(t).map((function(t){return function n(){return Lt(e,n),t.apply(void 0,arguments)}})))},qa.removeHook=Lt,!0!==i().VIDEOJS_NO_DYNAMIC_STYLE&&En()){var Ga=Xn(".vjs-styles-defaults");if(!Ga){Ga=ar("vjs-styles-defaults");var Wa=Xn("head");Wa&&Wa.insertBefore(Ga,Wa.firstChild),sr(Ga,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}rr(1,qa),qa.VERSION="7.21.6",qa.options=Ma.prototype.options_,qa.getPlayers=function(){return Ma.players},qa.getPlayer=function(e){var t,n=Ma.players;if("string"==typeof e){var r=za(e),o=n[r];if(o)return o;t=Xn("#"+r)}else t=e;if(xn(t)){var i=t,a=i.player,s=i.playerId;if(a||n[s])return a||n[s]}},qa.getAllPlayers=function(){return Object.keys(Ma.players).map((function(e){return Ma.players[e]})).filter(Boolean)},qa.players=Ma.players,qa.getComponent=Gr.getComponent,qa.registerComponent=function(e,t){Mo.isTech(t)&&qt.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Gr.registerComponent.call(Gr,e,t)},qa.getTech=Mo.getTech,qa.registerTech=Mo.registerTech,qa.use=function(e,t){No[e]=No[e]||[],No[e].push(t)},Object.defineProperty(qa,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(qa.middleware,"TERMINATOR",{value:jo,writeable:!1,enumerable:!0}),qa.browser=wn,qa.TOUCH_ENABLED=gn,qa.extend=function(e,t){void 0===t&&(t={}),Va||(qt.warn("videojs.extend is deprecated as of Video.js 7.22.0 and will be removed in Video.js 8.0.0"),Va=!0);var n=function(){e.apply(this,arguments)},r={};for(var o in"object"===Mt(t)?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),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&&p(e,t)}(n,e),e&&(n.super_=e),r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n},qa.mergeOptions=Ur,qa.bind=Sr,qa.registerPlugin=Ha.registerPlugin,qa.deregisterPlugin=Ha.deregisterPlugin,qa.plugin=function(e,t){return qt.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Ha.registerPlugin(e,t)},qa.getPlugins=Ha.getPlugins,qa.getPlugin=Ha.getPlugin,qa.getPluginVersion=Ha.getPluginVersion,qa.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),qa.options.languages=Ur(qa.options.languages,((n={})[e]=t,n)),qa.options.languages[e]},qa.log=qt,qa.createLogger=Gt,qa.createTimeRange=qa.createTimeRanges=Zr,qa.formatTime=ai,qa.setFormatTime=function(e){ii=e},qa.resetFormatTime=function(){ii=oi},qa.parseUrl=bo,qa.isCrossOrigin=Co,qa.EventTarget=xr,qa.on=gr,qa.one=br,qa.off=yr,qa.trigger=vr,qa.xhr=y(),qa.TextTrack=ko,qa.AudioTrack=Oo,qa.VideoTrack=To,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){qa[e]=function(){return qt.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),er[e].apply(null,arguments)}})),qa.computedStyle=Xt,qa.dom=er,qa.url=So,qa.defineLazyProperty=ka,qa.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var Ya=E,Za=function(e,t,n){return e&&n&&n.responseURL&&t!==n.responseURL?n.responseURL:t},Ka=function(e){return qa.log.debug?qa.log.debug.bind(qa,"VHS:",e+" >"):function(){}},$a=function(e,t){var n,r=[];if(e&&e.length)for(n=0;n<e.length;n++)t(e.start(n),e.end(n))&&r.push([e.start(n),e.end(n)]);return qa.createTimeRanges(r)},Qa=function(e,t){return $a(e,(function(e,n){return e-.1<=t&&n+.1>=t}))},Xa=function(e,t){return $a(e,(function(e){return e-1/30>=t}))},Ja=function(e){var t=[];if(!e||!e.length)return"";for(var n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},es=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},ts=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},ns=function(e,t){var n=0;if(!e||!e.length)return n;for(var r=0;r<e.length;r++){var o=e.start(r),i=e.end(r);t>i||(n+=t>o&&t<=i?i-t:i-o)}return n},rs=qa.createTimeRange,os=function(e,t){if(!t.preload)return t.duration;var n=0;return(t.parts||[]).forEach((function(e){n+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(n+=e.partTargetDuration)})),n},is=function(e){return(e.segments||[]).reduce((function(e,t,n){return t.parts?t.parts.forEach((function(r,o){e.push({duration:r.duration,segmentIndex:n,partIndex:o,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e}),[])},as=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},ss=function(e){var t=e.preloadSegment;if(t){var n=t.parts,r=(t.preloadHints||[]).reduce((function(e,t){return e+("PART"===t.type?1:0)}),0);return r+=n&&n.length?n.length:0}},ls=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var n=as(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},cs=function(e,t,n){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;var r=function(e,t){var n=0,r=t-e.mediaSequence,o=e.segments[r];if(o){if(void 0!==o.start)return{result:o.start,precise:!0};if(void 0!==o.end)return{result:o.end-o.duration,precise:!0}}for(;r--;){if(void 0!==(o=e.segments[r]).end)return{result:n+o.end,precise:!0};if(n+=os(e,o),void 0!==o.start)return{result:n+o.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;var o=function(e,t){for(var n,r=0,o=t-e.mediaSequence;o<e.segments.length;o++){if(void 0!==(n=e.segments[o]).start)return{result:n.start-r,precise:!0};if(r+=os(e,n),void 0!==n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return o.precise?o.result:r.result+n},us=function(e,t,n){if(!e)return 0;if("number"!=typeof n&&(n=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return i()[1/0]}return cs(e,t,n)},ds=function(e){var t=e.defaultDuration,n=e.durationList,r=e.startIndex,o=e.endIndex,i=0;if(r>o){var a=[o,r];r=a[0],o=a[1]}if(r<0){for(var s=r;s<Math.min(0,o);s++)i+=t;r=0}for(var l=r;l<o;l++)i+=n[l].duration;return i},ps=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return us(e);if(null===t)return null;t=t||0;var o=cs(e,e.mediaSequence+e.segments.length,t);return n&&(o-=r="number"==typeof r?r:ls(null,e)),Math.max(0,o)},fs=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},hs=function(e){return e.excludeUntil&&e.excludeUntil===1/0},ms=function(e){var t=fs(e);return!e.disabled&&!t},gs=function(e,t){return t.attributes&&t.attributes[e]},ys=function(e,t){if(1===e.playlists.length)return!0;var n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((function(e){return!!ms(e)&&(e.attributes.BANDWIDTH||0)<n})).length},vs=function(e,t){return!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri))))},bs=function(e,t){var n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},r=!1;for(var o in n){for(var i in n[o])if(r=t(n[o][i]))break;if(r)break}return!!r},_s=function(e){if(!e||!e.playlists||!e.playlists.length)return bs(e,(function(e){return e.playlists&&e.playlists.length||e.uri}));for(var t=function(t){var n=e.playlists[t],r=n.attributes&&n.attributes.CODECS;return r&&r.split(",").every((function(e){return q(e)}))||bs(e,(function(e){return vs(n,e)}))?"continue":{v:!1}},n=0;n<e.playlists.length;n++){var r=t(n);if("continue"!==r&&"object"===Mt(r))return r.v}return!0},ws={liveEdgeDelay:ls,duration:us,seekable:function(e,t,n){var r=t||0,o=ps(e,t,!0,n);return null===o?rs():rs(r,o)},getMediaInfoForTime:function(e){for(var t=e.playlist,n=e.currentTime,r=e.startingSegmentIndex,o=e.startingPartIndex,i=e.startTime,a=e.experimentalExactManifestTimings,s=n-i,l=is(t),c=0,u=0;u<l.length;u++){var d=l[u];if(r===d.segmentIndex&&("number"!=typeof o||"number"!=typeof d.partIndex||o===d.partIndex)){c=u;break}}if(s<0){if(c>0)for(var p=c-1;p>=0;p--){var f=l[p];if(s+=f.duration,a){if(s<0)continue}else if(s+1/30<=0)continue;return{partIndex:f.partIndex,segmentIndex:f.segmentIndex,startTime:i-ds({defaultDuration:t.targetDuration,durationList:l,startIndex:c,endIndex:p})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:n}}if(c<0){for(var h=c;h<0;h++)if((s-=t.targetDuration)<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:n};c=0}for(var m=c;m<l.length;m++){var g=l[m];if(s-=g.duration,a){if(s>0)continue}else if(s-1/30>=0)continue;return{partIndex:g.partIndex,segmentIndex:g.segmentIndex,startTime:i+ds({defaultDuration:t.targetDuration,durationList:l,startIndex:c,endIndex:m})}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:n}},isEnabled:ms,isDisabled:function(e){return e.disabled},isBlacklisted:fs,isIncompatible:hs,playlistEnd:ps,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:gs,estimateSegmentRequestTime:function(e,t,n,r){return void 0===r&&(r=0),gs("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:ys,isAudioOnly:_s,playlistMatch:vs,segmentDurationWithParts:os},Cs=qa.log,Ss=function(e,t){return e+"-"+t},Es=function(e,t,n){return"placeholder-uri-"+e+"-"+t+"-"+n},xs=function(e,t){e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(n){if(e.mediaGroups[n])for(var r in e.mediaGroups[n])for(var o in e.mediaGroups[n][r]){var i=e.mediaGroups[n][r][o];t(i,n,r,o)}}))},ks=function(e){var t=e.playlist,n=e.uri,r=e.id;t.id=r,t.playlistErrors_=0,n&&(t.uri=n),t.attributes=t.attributes||{}},Os=function(e,t,n){void 0===n&&(n=Es),e.uri=t;for(var r=0;r<e.playlists.length;r++)if(!e.playlists[r].uri){var o="placeholder-uri-"+r;e.playlists[r].uri=o}var i=_s(e);xs(e,(function(t,r,o,a){if(!t.playlists||!t.playlists.length){if(i&&"AUDIO"===r&&!t.uri)for(var s=0;s<e.playlists.length;s++){var c=e.playlists[s];if(c.attributes&&c.attributes.AUDIO&&c.attributes.AUDIO===o)return}t.playlists=[l({},t)]}t.playlists.forEach((function(t,i){var s=n(r,o,a,t),l=Ss(i,s);t.uri?t.resolvedUri=t.resolvedUri||Ya(e.uri,t.uri):(t.uri=0===i?s:l,t.resolvedUri=t.uri),t.id=t.id||l,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];ks({playlist:n,id:Ss(t,n.uri)}),n.resolvedUri=Ya(e.uri,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes.BANDWIDTH||Cs.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(e),function(e){xs(e,(function(t){t.uri&&(t.resolvedUri=Ya(e.uri,t.uri))}))}(e)},Ts=qa.mergeOptions,As=qa.EventTarget,Ps=function(e,t){if(!e)return t;var n=Ts(e,t);if(e.preloadHints&&!t.preloadHints&&delete n.preloadHints,e.parts&&!t.parts)delete n.parts;else if(e.parts&&t.parts)for(var r=0;r<t.parts.length;r++)e.parts&&e.parts[r]&&(n.parts[r]=Ts(e.parts[r],t.parts[r]));return!e.skipped&&t.skipped&&(n.skipped=!1),e.preload&&!t.preload&&(n.preload=!1),n},Rs=function(e,t){!e.resolvedUri&&e.uri&&(e.resolvedUri=Ya(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Ya(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Ya(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=Ya(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((function(e){e.resolvedUri||(e.resolvedUri=Ya(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((function(e){e.resolvedUri||(e.resolvedUri=Ya(t,e.uri))}))},Is=function(e){var t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(var r=0;r<n.preloadHints.length;r++)if("MAP"===n.preloadHints[r].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},Ms=function(e,t){return e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment},Ns=function(e,t,n){void 0===n&&(n=Ms);var r=Ts(e,{}),o=r.playlists[t.id];if(!o)return null;if(n(o,t))return null;t.segments=Is(t);var i=Ts(o,t);if(i.preloadSegment&&!t.preloadSegment&&delete i.preloadSegment,o.segments){if(t.skip){t.segments=t.segments||[];for(var a=0;a<t.skip.skippedSegments;a++)t.segments.unshift({skipped:!0})}i.segments=function(e,t,n){var r=e.slice(),o=t.slice();n=n||0;for(var i,a=[],s=0;s<o.length;s++){var l=r[s+n],c=o[s];l?(i=l.map||i,a.push(Ps(l,c))):(i&&!c.map&&(c.map=i),a.push(c))}return a}(o.segments,t.segments,t.mediaSequence-o.mediaSequence)}i.segments.forEach((function(e){Rs(e,i.resolvedUri)}));for(var s=0;s<r.playlists.length;s++)r.playlists[s].id===t.id&&(r.playlists[s]=i);return r.playlists[t.id]=i,r.playlists[t.uri]=i,xs(e,(function(e,n,r,o){if(e.playlists)for(var a=0;a<e.playlists.length;a++)t.id===e.playlists[a].id&&(e.playlists[a]=i)})),r},Ds=function(e,t){var n=e.segments||[],r=n[n.length-1],o=r&&r.parts&&r.parts[r.parts.length-1],i=o&&o.duration||r&&r.duration;return t&&i?1e3*i:500*(e.partTargetDuration||e.targetDuration||10)},js=function(e){function t(t,n,r){var o;if(void 0===r&&(r={}),o=e.call(this)||this,!t)throw new Error("A non-empty playlist URL or object is required");o.logger_=Ka("PlaylistLoader");var i=r,a=i.withCredentials,s=void 0!==a&&a,l=i.handleManifestRedirects,c=void 0!==l&&l;o.src=t,o.vhs_=n,o.withCredentials=s,o.handleManifestRedirects=c;var u=n.options_;return o.customTagParsers=u&&u.customTagParsers||[],o.customTagMappers=u&&u.customTagMappers||[],o.experimentalLLHLS=u&&u.experimentalLLHLS||!1,qa.browser.IE_VERSION&&(o.experimentalLLHLS=!1),o.state="HAVE_NOTHING",o.handleMediaupdatetimeout_=o.handleMediaupdatetimeout_.bind(d(o)),o.on("mediaupdatetimeout",o.handleMediaupdatetimeout_),o}f(t,e);var n=t.prototype;return n.handleMediaupdatetimeout_=function(){var e=this;if("HAVE_METADATA"===this.state){var t=this.media(),n=Ya(this.master.uri,t.uri);this.experimentalLLHLS&&(n=function(e,t){if(t.endList||!t.serverControl)return e;var n={};if(t.serverControl.canBlockReload){var r=t.preloadSegment,o=t.mediaSequence+t.segments.length;if(r){var a=r.parts||[],s=ss(t)-1;s>-1&&s!==a.length-1&&(n._HLS_part=s),(s>-1||a.length)&&o--}n._HLS_msn=o}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){var l=new(i().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&l.searchParams.set(e,n[e])})),e=l.toString()}return e}(n,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials},(function(t,n){if(e.request)return t?e.playlistRequestError(e.request,e.media(),"HAVE_METADATA"):void e.haveMetadata({playlistString:e.request.responseText,url:e.media().uri,id:e.media().id})}))}},n.playlistRequestError=function(e,t,n){var r=t.uri,o=t.id;this.request=null,n&&(this.state=n),this.error={playlist:this.master.playlists[o],status:e.status,message:"HLS playlist request error at URL: "+r+".",responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")},n.parseManifest_=function(e){var t=this,n=e.url;return function(e){var t=e.onwarn,n=e.oninfo,r=e.manifestString,o=e.customTagParsers,i=void 0===o?[]:o,a=e.customTagMappers,s=void 0===a?[]:a,l=e.experimentalLLHLS,c=new B;t&&c.on("warn",t),n&&c.on("info",n),i.forEach((function(e){return c.addParser(e)})),s.forEach((function(e){return c.addTagMapper(e)})),c.push(r),c.end();var u=c.manifest;if(l||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){u.hasOwnProperty(e)&&delete u[e]})),u.segments&&u.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!u.targetDuration){var d=10;u.segments&&u.segments.length&&(d=u.segments.reduce((function(e,t){return Math.max(e,t.duration)}),0)),t&&t("manifest has no targetDuration defaulting to "+d),u.targetDuration=d}var p=as(u);if(p.length&&!u.partTargetDuration){var f=p.reduce((function(e,t){return Math.max(e,t.duration)}),0);t&&(t("manifest has no partTargetDuration defaulting to "+f),Cs.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),u.partTargetDuration=f}return u}({onwarn:function(e){var r=e.message;return t.logger_("m3u8-parser warn for "+n+": "+r)},oninfo:function(e){var r=e.message;return t.logger_("m3u8-parser info for "+n+": "+r)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},n.haveMetadata=function(e){var t=e.playlistString,n=e.playlistObject,r=e.url,o=e.id;this.request=null,this.state="HAVE_METADATA";var i=n||this.parseManifest_({url:r,manifestString:t});i.lastRequest=Date.now(),ks({playlist:i,uri:r,id:o});var a=Ns(this.master,i);this.targetDuration=i.partTargetDuration||i.targetDuration,this.pendingMedia_=null,a?(this.master=a,this.media_=this.master.playlists[o]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Ds(this.media(),!!a)),this.trigger("loadedplaylist")},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.finalRenditionTimeout),this.off()},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e,t){var n=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(i().clearTimeout(this.finalRenditionTimeout),t){var r=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=i().setTimeout(this.media.bind(this,e,!1),r)}else{var o=this.state,a=!this.media_||e.id!==this.media_.id,s=this.master.playlists[e.id];if(s&&s.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(a&&(this.trigger("mediachanging"),"HAVE_MASTER"===o?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(Ds(e,!0)),a){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,r){if(n.request){if(e.lastRequest=Date.now(),e.resolvedUri=Za(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,o);n.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===o?n.trigger("loadedmetadata"):n.trigger("mediachange")}}))}}},n.pause=function(){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},n.load=function(e){var t=this;this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var n=this.media();if(e){var r=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((function(){t.mediaUpdateTimeout=null,t.load()}),r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},n.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=i().setTimeout((function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)}),e))},n.start=function(){var e=this;if(this.started=!0,"object"===Mt(this.src))return this.src.uri||(this.src.uri=i().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){e.setupInitialPlaylist(e.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=Za(e.handleManifestRedirects,e.src,n);var r=e.parseManifest_({manifestString:n.responseText,url:e.src});e.setupInitialPlaylist(r)}}))},n.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},n.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists)return this.master=e,Os(this.master,this.srcUri()),e.playlists.forEach((function(e){e.segments=Is(e),e.segments.forEach((function(t){Rs(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var t=this.srcUri()||i().location.href;this.master=function(e,t){var n=Ss(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i().location.href,resolvedUri:i().location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r}(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(As),Ls=qa.xhr,Bs=qa.mergeOptions,Fs=function(e,t,n,r){var o="arraybuffer"===e.responseType?e.response:e.responseText;!t&&o&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=o.byteLength||o.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(o||e.responseText)))),r(t,e)},Us=function(){var e=function e(t,n){t=Bs({timeout:45e3},t);var r=e.beforeRequest||qa.Vhs.xhr.beforeRequest;if(r&&"function"==typeof r){var o=r(t);o&&(t=o)}var i=(!0===qa.Vhs.xhr.original?Ls:qa.Vhs.xhr)(t,(function(e,t){return Fs(i,e,t,n)})),a=i.abort;return i.abort=function(){return i.aborted=!0,a.apply(i,arguments)},i.uri=t.uri,i.requestTime=Date.now(),i};return e.original=!0,e},Hs=function(e){var t,n={};return e.byterange&&(n.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"==typeof t.offset||"bigint"==typeof t.length?i().BigInt(t.offset)+i().BigInt(t.length)-i().BigInt(1):t.offset+t.length-1)),n},Vs=function(e,t){return e.start(t)+"-"+e.end(t)},zs=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},qs=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Gs=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];Q(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},Ws=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Ys=function(e){return e.resolvedUri},Zs=function(e){for(var t=Array.prototype.slice.call(e),n="",r=0;r<t.length/16;r++)n+=t.slice(16*r,16*r+16).map(zs).join("")+" "+t.slice(16*r,16*r+16).map(qs).join("")+"\n";return n},Ks=Object.freeze({__proto__:null,createTransferableMessage:Gs,initSegmentId:Ws,segmentKeyId:Ys,hexDump:Zs,tagDump:function(e){var t=e.bytes;return Zs(t)},textRanges:function(e){var t,n="";for(t=0;t<e.length;t++)n+=Vs(e,t)+" ";return n}}),$s=function(e){var t=e.playlist,n=e.time,r=void 0===n?void 0:n,o=e.callback;if(!o)throw new Error("getProgramTime: callback must be provided");if(!t||void 0===r)return o({message:"getProgramTime: playlist and time must be provided"});var i=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var n,r=0,o=0;o<t.segments.length&&!(e<=(r=(n=t.segments[o]).videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:r+n.duration));o++);var i=t.segments[t.segments.length-1];if(i.videoTimingInfo&&i.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>r){if(e>r+.25*i.duration)return null;n=i}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:r-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}}(r,t);if(!i)return o({message:"valid programTime was not found"});if("estimate"===i.type)return o({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:i.estimatedStart});var a={mediaSeconds:r},s=function(e,t){if(!t.dateTimeObject)return null;var n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)}(r,i.segment);return s&&(a.programDateTime=s.toISOString()),o(null,a)},Qs=function e(t){var n=t.programTime,r=t.playlist,o=t.retryCount,i=void 0===o?2:o,a=t.seekTo,s=t.pauseAfterSeek,l=void 0===s||s,c=t.tech,u=t.callback;if(!u)throw new Error("seekToProgramTime: callback must be provided");if(void 0===n||!r||!a)return u({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!c.hasStarted_)return u({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t<e.segments.length;t++){if(!e.segments[t].dateTimeObject)return!1}return!0}(r))return u({message:"programDateTime tags must be provided in the manifest "+r.resolvedUri});var d=function(e,t){var n;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;var r=t.segments[0];if(n<r.dateTimeObject)return null;for(var o=0;o<t.segments.length-1;o++){if(r=t.segments[o],n<t.segments[o+1].dateTimeObject)break}var i,a=t.segments[t.segments.length-1],s=a.dateTimeObject,l=a.videoTimingInfo?(i=a.videoTimingInfo).transmuxedPresentationEnd-i.transmuxedPresentationStart-i.transmuxerPrependedSeconds:a.duration+.25*a.duration;return n>new Date(s.getTime()+1e3*l)?null:(n>s&&(r=a),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:ws.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!d)return u({message:n+" was not found in the stream"});var p=d.segment,f=function(e,t){var n,r;try{n=new Date(e),r=new Date(t)}catch(e){}var o=n.getTime();return(r.getTime()-o)/1e3}(p.dateTimeObject,n);if("estimate"===d.type)return 0===i?u({message:n+" is not buffered yet. Try again"}):(a(d.estimatedStart+f),void c.one("seeked",(function(){e({programTime:n,playlist:r,retryCount:i-1,seekTo:a,pauseAfterSeek:l,tech:c,callback:u})})));var h=p.start+f;c.one("seeked",(function(){return u(null,c.currentTime())})),l&&c.pause(),a(h)},Xs=function(e,t){if(4===e.readyState)return t()},Js=function(e,t,n){var r,o=[],i=!1,a=function(e,t,r,o){return t.abort(),i=!0,n(e,t,r,o)},s=function(e,t){if(!i){if(e)return a(e,t,"",o);var n=t.responseText.substring(o&&o.byteLength||0,t.responseText.length);if(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if((t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e}))).length<=1)return X(t[0]);var r=t.reduce((function(e,t,n){return e+(t.byteLength||t.length)}),0),o=new Uint8Array(r),i=0;return t.forEach((function(e){e=X(e),o.set(e,i),i+=e.byteLength})),o}(o,re(n,!0)),r=r||ut(o),o.length<10||r&&o.length<r+2)return Xs(t,(function(){return a(e,t,"",o)}));var s=At(o);return"ts"===s&&o.length<188||!s&&o.length<376?Xs(t,(function(){return a(e,t,"",o)})):a(null,t,s,o)}},l=t({uri:e,beforeSend:function(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function(t){return t.total,t.loaded,Fs(e,null,{statusCode:e.status},s)}))}},(function(e,t){return Fs(l,e,t,s)}));return l},el=qa.EventTarget,tl=qa.mergeOptions,nl=function(e,t){if(!Ms(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(var n=0;n<e.segments.length;n++){var r=e.segments[n],o=t.segments[n];if(r.uri!==o.uri)return!1;if(r.byterange||o.byterange){var i=r.byterange,a=o.byterange;if(i&&!a||!i&&a)return!1;if(i.offset!==a.offset||i.length!==a.length)return!1}}return!0},rl=function(e,t,n,r){return"placeholder-uri-"+e+"-"+t+"-"+(r.attributes.NAME||n)},ol=function(e,t,n){for(var r=!0,o=tl(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts}),i=0;i<t.playlists.length;i++){var a=t.playlists[i];if(a.sidx){var s=Re(a.sidx);n&&n[s]&&n[s].sidx&&xe(a,n[s].sidx,a.sidx.resolvedUri)}var l=Ns(o,a,nl);l&&(o=l,r=!1)}return xs(t,(function(e,t,n,i){if(e.playlists&&e.playlists.length){var a=e.playlists[0].id,s=Ns(o,e.playlists[0],nl);s&&(i in(o=s).mediaGroups[t][n]||(o.mediaGroups[t][n][i]=e),o.mediaGroups[t][n][i].playlists[0]=o.playlists[a],r=!1)}})),function(e,t){xs(e,(function(n,r,o,i){i in t.mediaGroups[r][o]||delete e.mediaGroups[r][o][i]}))}(o,t),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:o},il=function(e,t){return(Boolean(!e.map&&!t.map)||Boolean(e.map&&t.map&&e.map.byterange.offset===t.map.byterange.offset&&e.map.byterange.length===t.map.byterange.length))&&e.uri===t.uri&&e.byterange.offset===t.byterange.offset&&e.byterange.length===t.byterange.length},al=function(e,t){var n={};for(var r in e){var o=e[r].sidx;if(o){var i=Re(o);if(!t[i])break;var a=t[i].sidxInfo;il(a,o)&&(n[i]=t[i])}}return n},sl=function(e){function t(t,n,r,o){var i;void 0===r&&(r={}),(i=e.call(this)||this).masterPlaylistLoader_=o||d(i),o||(i.isMaster_=!0);var a=r,s=a.withCredentials,l=void 0!==s&&s,c=a.handleManifestRedirects,u=void 0!==c&&c;if(i.vhs_=n,i.withCredentials=l,i.handleManifestRedirects=u,!t)throw new Error("A non-empty playlist URL or object is required");return i.on("minimumUpdatePeriod",(function(){i.refreshXml_()})),i.on("mediaupdatetimeout",(function(){i.refreshMedia_(i.media().id)})),i.state="HAVE_NOTHING",i.loadedPlaylists_={},i.logger_=Ka("DashPlaylistLoader"),i.isMaster_?(i.masterPlaylistLoader_.srcUrl=t,i.masterPlaylistLoader_.sidxMapping_={}):i.childPlaylist_=t,i}f(t,e);var n=t.prototype;return n.requestErrored_=function(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!==Mt(e)||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)},n.addSidxSegments_=function(e,t,n){var r=this,o=e.sidx&&Re(e.sidx);if(e.sidx&&o&&!this.masterPlaylistLoader_.sidxMapping_[o]){var a=Za(this.handleManifestRedirects,e.sidx.resolvedUri),s=function(i,a){if(!r.requestErrored_(i,a,t)){var s,l=r.masterPlaylistLoader_.sidxMapping_;try{s=lt()(X(a.response).subarray(8))}catch(e){return void r.requestErrored_(e,a,t)}return l[o]={sidxInfo:e.sidx,sidx:s},xe(e,s,e.sidx.resolvedUri),n(!0)}};this.request=Js(a,this.vhs_.xhr,(function(t,n,o,i){if(t)return s(t,n);if(!o||"mp4"!==o)return s({status:n.status,message:"Unsupported "+(o||"unknown")+" container type for sidx segment at URL: "+a,response:"",playlist:e,internal:!0,blacklistDuration:1/0,code:2},n);var l=e.sidx.byterange,c=l.offset,u=l.length;if(i.length>=u+c)return s(t,{response:i.subarray(c,c+u),status:n.status,uri:n.uri});r.request=r.vhs_.xhr({uri:a,responseType:"arraybuffer",headers:Hs({byterange:e.sidx.byterange})},s)}))}else this.mediaRequest_=i().setTimeout((function(){return n(!1)}),0)},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},i().clearTimeout(this.minimumUpdatePeriodTimeout_),i().clearTimeout(this.mediaRequest_),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},n.hasPendingRequest=function(){return this.request||this.mediaRequest_},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"==typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var r=!this.media_||e.id!==this.media_.id;if(r&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),this.trigger("mediachange")));r&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,n,(function(r){t.haveMetadata({startingState:n,playlist:e})})))},n.haveMetadata=function(e){var t=e.startingState,n=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},n.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(i().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},n.load=function(e){var t=this;i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((function(){return t.load()}),r)}else this.started?n&&!n.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},n.start=function(){var e=this;this.started=!0,this.isMaster_?this.requestMaster_((function(t,n){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=i().setTimeout((function(){return e.haveMaster_()}),0)},n.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(n,r){if(!t.requestErrored_(n,r)){var o=r.responseText!==t.masterPlaylistLoader_.masterXml_;return t.masterPlaylistLoader_.masterXml_=r.responseText,r.responseHeaders&&r.responseHeaders.date?t.masterLoaded_=Date.parse(r.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=Za(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,r),o?(t.handleMaster_(),void t.syncClientServerClock_((function(){return e(r,o)}))):e(r,o)}"HAVE_NOTHING"===t.state&&(t.started=!1)}))},n.syncClientServerClock_=function(e){var t=this,n=at(this.masterPlaylistLoader_.masterXml_);return null===n?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.masterPlaylistLoader_.clientOffset_=n.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:Ya(this.masterPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},(function(r,o){if(t.request){if(r)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();var i;i="HEAD"===n.method?o.responseHeaders&&o.responseHeaders.date?Date.parse(o.responseHeaders.date):t.masterLoaded_:Date.parse(o.responseText),t.masterPlaylistLoader_.clientOffset_=i-Date.now(),e()}})))},n.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},n.handleMaster_=function(){this.mediaRequest_=null;var e,t,n,r,o,i,a,s=this.masterPlaylistLoader_.master,l=(e={masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:s},t=e.masterXml,n=e.srcUrl,r=e.clientOffset,o=e.sidxMapping,i=e.previousManifest,a=it(t,{manifestUri:n,clientOffset:r,sidxMapping:o,previousManifest:i}),Os(a,n,rl),a);s&&(l=ol(s,l,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=l||s;var c=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return c&&c!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=c),(!s||l&&l.minimumUpdatePeriod!==s.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(l)},n.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(i().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_("found invalid minimumUpdatePeriod of "+t+", not setting a timeout"):this.createMUPTimeout_(t)},n.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=i().setTimeout((function(){t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)},n.refreshXml_=function(){var e=this;this.requestMaster_((function(t,n){var r,o,i;n&&(e.media_&&(e.media_=e.masterPlaylistLoader_.master.playlists[e.media_.id]),e.masterPlaylistLoader_.sidxMapping_=(r=e.masterPlaylistLoader_.master,o=e.masterPlaylistLoader_.sidxMapping_,i=al(r.playlists,o),xs(r,(function(e,t,n,r){if(e.playlists&&e.playlists.length){var a=e.playlists;i=tl(i,al(a,o))}})),i),e.addSidxSegments_(e.media(),e.state,(function(t){e.refreshMedia_(e.media().id)})))}))},n.refreshMedia_=function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var n=this.masterPlaylistLoader_.master.playlists,r=!this.media_||this.media_!==n[e];if(r?this.media_=n[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function e(){t.media().endList||(t.mediaUpdateTimeout=i().setTimeout((function(){t.trigger("mediaupdatetimeout"),e()}),Ds(t.media(),Boolean(r))))}()}this.trigger("loadedplaylist")},t}(el),ll={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},cl=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},ul=function(e){return function(){var t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(n){var t=new BlobBuilder;return t.append(e),URL.createObjectURL(t.getBlob())}}(e),n=cl(new Worker(t));n.objURL=t;var r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},dl=function(e){return"var browserWorkerPolyFill = "+cl.toString()+";\nbrowserWorkerPolyFill(self);\n"+e},pl=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},fl=ul(dl(pl((function(){var e=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,o,i;if(n=e[t])if(2===arguments.length)for(o=n.length,r=0;r<o;++r)n[r].call(this,arguments[1]);else{for(i=[],r=arguments.length,r=1;r<arguments.length;++r)i.push(arguments[r]);for(o=n.length,r=0;r<o;++r)n[r].apply(this,i)}},this.dispose=function(){e={}}}};e.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},e.prototype.push=function(e){this.trigger("data",e)},e.prototype.flush=function(e){this.trigger("done",e)},e.prototype.partialFlush=function(e){this.trigger("partialdone",e)},e.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},e.prototype.reset=function(e){this.trigger("reset",e)};var t,n,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x,k,O,T,A,P,R,I,M,N,D,j,L,B,F,U,H,V=e,z=Math.pow(2,32),q={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*z+n.getUint32(4)},MAX_UINT32:z},G=q.MAX_UINT32;!function(){var e;if(S={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in S)S.hasOwnProperty(e)&&(S[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);E=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),k=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),x=new Uint8Array([0,0,0,1]),O=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),T=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),A={video:O,audio:T},I=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),R=new Uint8Array([0,0,0,0,0,0,0,0]),M=new Uint8Array([0,0,0,0,0,0,0,0]),N=M,D=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),j=M,P=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),t=function(e){var t,n,r=[],o=0;for(t=1;t<arguments.length;t++)r.push(arguments[t]);for(t=r.length;t--;)o+=r[t].byteLength;for(n=new Uint8Array(o+8),new DataView(n.buffer,n.byteOffset,n.byteLength).setUint32(0,n.byteLength),n.set(e,4),t=0,o=8;t<r.length;t++)n.set(r[t],o),o+=r[t].byteLength;return n},n=function(){return t(S.dinf,t(S.dref,I))},o=function(e){return t(S.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},g=function(e){return t(S.hdlr,A[e])},m=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(n[12]=e.samplerate>>>24&255,n[13]=e.samplerate>>>16&255,n[14]=e.samplerate>>>8&255,n[15]=255&e.samplerate),t(S.mdhd,n)},h=function(e){return t(S.mdia,m(e),g(e.type),s(e))},a=function(e){return t(S.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},s=function(e){return t(S.minf,"video"===e.type?t(S.vmhd,P):t(S.smhd,R),n(),v(e))},l=function(e,n){for(var r=[],o=n.length;o--;)r[o]=_(n[o]);return t.apply(null,[S.moof,a(e)].concat(r))},c=function(e){for(var n=e.length,r=[];n--;)r[n]=p(e[n]);return t.apply(null,[S.moov,d(4294967295)].concat(r).concat(u(e)))},u=function(e){for(var n=e.length,r=[];n--;)r[n]=w(e[n]);return t.apply(null,[S.mvex].concat(r))},d=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t(S.mvhd,n)},y=function(e){var n,r,o=e.samples||[],i=new Uint8Array(4+o.length);for(r=0;r<o.length;r++)n=o[r].flags,i[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return t(S.sdtp,i)},v=function(e){return t(S.stbl,b(e),t(S.stts,j),t(S.stsc,N),t(S.stsz,D),t(S.stco,M))},b=function(e){return t(S.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?L(e):B(e))},L=function(e){var n,r,o=e.sps||[],i=e.pps||[],a=[],s=[];for(n=0;n<o.length;n++)a.push((65280&o[n].byteLength)>>>8),a.push(255&o[n].byteLength),a=a.concat(Array.prototype.slice.call(o[n]));for(n=0;n<i.length;n++)s.push((65280&i[n].byteLength)>>>8),s.push(255&i[n].byteLength),s=s.concat(Array.prototype.slice.call(i[n]));if(r=[S.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),t(S.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([o.length],a,[i.length],s))),t(S.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var l=e.sarRatio[0],c=e.sarRatio[1];r.push(t(S.pasp,new Uint8Array([(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l,(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c])))}return t.apply(null,r)},B=function(e){return t(S.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),o(e))},f=function(e){var n=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return t(S.tkhd,n)},_=function(e){var n,r,o,i,a,s;return n=t(S.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/G),s=Math.floor(e.baseMediaDecodeTime%G),r=t(S.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===e.type?(o=C(e,92),t(S.traf,n,r,o)):(i=y(e),o=C(e,i.length+92),t(S.traf,n,r,o,i))},p=function(e){return e.duration=e.duration||4294967295,t(S.trak,f(e),h(e))},w=function(e){var n=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(n[n.length-1]=0),t(S.trex,n)},H=function(e,t){var n=0,r=0,o=0,i=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(o=4),void 0!==e[0].compositionTimeOffset&&(i=8)),[0,0,n|r|o|i,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},U=function(e,n){var r,o,i,a,s,l;for(n+=20+16*(a=e.samples||[]).length,i=H(a,n),(o=new Uint8Array(i.length+16*a.length)).set(i),r=i.length,l=0;l<a.length;l++)s=a[l],o[r++]=(4278190080&s.duration)>>>24,o[r++]=(16711680&s.duration)>>>16,o[r++]=(65280&s.duration)>>>8,o[r++]=255&s.duration,o[r++]=(4278190080&s.size)>>>24,o[r++]=(16711680&s.size)>>>16,o[r++]=(65280&s.size)>>>8,o[r++]=255&s.size,o[r++]=s.flags.isLeading<<2|s.flags.dependsOn,o[r++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,o[r++]=61440&s.flags.degradationPriority,o[r++]=15&s.flags.degradationPriority,o[r++]=(4278190080&s.compositionTimeOffset)>>>24,o[r++]=(16711680&s.compositionTimeOffset)>>>16,o[r++]=(65280&s.compositionTimeOffset)>>>8,o[r++]=255&s.compositionTimeOffset;return t(S.trun,o)},F=function(e,n){var r,o,i,a,s,l;for(n+=20+8*(a=e.samples||[]).length,i=H(a,n),(r=new Uint8Array(i.length+8*a.length)).set(i),o=i.length,l=0;l<a.length;l++)s=a[l],r[o++]=(4278190080&s.duration)>>>24,r[o++]=(16711680&s.duration)>>>16,r[o++]=(65280&s.duration)>>>8,r[o++]=255&s.duration,r[o++]=(4278190080&s.size)>>>24,r[o++]=(16711680&s.size)>>>16,r[o++]=(65280&s.size)>>>8,r[o++]=255&s.size;return t(S.trun,r)},C=function(e,t){return"audio"===e.type?F(e,t):U(e,t)};i=function(){return t(S.ftyp,E,x,E,k)};var W,Y,Z,K,$,Q,X,J,ee=function(e){return t(S.mdat,e)},te=l,ne=function(e){var t,n=i(),r=c(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t},re=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},oe=function(e){var t,n,r=[],o=[];for(o.byteLength=0,o.nalCount=0,o.duration=0,r.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(n=e[t]).nalUnitType?(r.length&&(r.duration=n.dts-r.dts,o.byteLength+=r.byteLength,o.nalCount+=r.length,o.duration+=r.duration,o.push(r)),(r=[n]).byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return o.length&&(!r.duration||r.duration<=0)&&(r.duration=o[o.length-1].duration),o.byteLength+=r.byteLength,o.nalCount+=r.length,o.duration+=r.duration,o.push(r),o},ie=function(e){var t,n,r=[],o=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,o.byteLength=0,o.nalCount=0,o.duration=0,o.pts=e[0].pts,o.dts=e[0].dts,t=0;t<e.length;t++)(n=e[t]).keyFrame?(r.length&&(o.push(r),o.byteLength+=r.byteLength,o.nalCount+=r.nalCount,o.duration+=r.duration),(r=[n]).nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return o.length&&r.duration<=0&&(r.duration=o[o.length-1].duration),o.byteLength+=r.byteLength,o.nalCount+=r.nalCount,o.duration+=r.duration,o.push(r),o},ae=function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},se=function(e,t){var n,r,o,i,a,s=t||0,l=[];for(n=0;n<e.length;n++)for(i=e[n],r=0;r<i.length;r++)a=i[r],s+=(o=re(a,s)).size,l.push(o);return l},le=function(e){var t,n,r,o,i,a,s=0,l=e.byteLength,c=e.nalCount,u=new Uint8Array(l+4*c),d=new DataView(u.buffer);for(t=0;t<e.length;t++)for(o=e[t],n=0;n<o.length;n++)for(i=o[n],r=0;r<i.length;r++)a=i[r],d.setUint32(s,a.data.byteLength),s+=4,u.set(a.data,s),s+=a.data.byteLength;return u},ce=[33,16,5,32,164,27],ue=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],de=function(e){for(var t=[];e--;)t.push(0);return t},pe=function(){if(!W){var e={96e3:[ce,[227,64],de(154),[56]],88200:[ce,[231],de(170),[56]],64e3:[ce,[248,192],de(240),[56]],48e3:[ce,[255,192],de(268),[55,148,128],de(54),[112]],44100:[ce,[255,192],de(268),[55,163,128],de(84),[112]],32e3:[ce,[255,192],de(268),[55,234],de(226),[112]],24e3:[ce,[255,192],de(268),[55,255,128],de(268),[111,112],de(126),[224]],16e3:[ce,[255,192],de(268),[55,255,128],de(268),[111,255],de(269),[223,108],de(195),[1,192]],12e3:[ue,de(268),[3,127,248],de(268),[6,255,240],de(268),[13,255,224],de(268),[27,253,128],de(259),[56]],11025:[ue,de(268),[3,127,248],de(268),[6,255,240],de(268),[13,255,224],de(268),[27,255,192],de(268),[55,175,128],de(108),[112]],8e3:[ue,de(268),[3,121,16],de(47),[7]]};t=e,W=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return W};Q=function(e,t){return Y($(e,t))},X=function(e,t){return Z(K(e),t)},J=function(e,t,n){return K(n?e:e-t)};var fe=9e4,he=Y=function(e){return 9e4*e},me=(Z=function(e,t){return e*t},K=function(e){return e/9e4}),ge=($=function(e,t){return e/t},Q),ye=X,ve=J,be=function(e,t,n,r){var o,i,a,s,l,c=0,u=0,d=0;if(t.length&&(o=ge(e.baseMediaDecodeTime,e.samplerate),i=Math.ceil(fe/(e.samplerate/1024)),n&&r&&(c=o-Math.max(n,r),d=(u=Math.floor(c/i))*i),!(u<1||d>fe/2))){for((a=pe()[e.samplerate])||(a=t[0].data),s=0;s<u;s++)l=t[0],t.splice(0,0,{data:a,dts:l.dts-i,pts:l.pts-i});return e.baseMediaDecodeTime-=Math.floor(ye(d,e.samplerate)),d}},_e=function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},we=function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},Ce=function(e){var t,n,r=0,o=new Uint8Array(function(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t].data.byteLength;return n}(e));for(t=0;t<e.length;t++)n=e[t],o.set(n.data,r),r+=n.data.byteLength;return o},Se=fe,Ee=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},xe=function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/Se,n=Math.floor(n)),n},ke=function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))},Oe=function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,o=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)o+=255,t++;if(o+=e[t++],!n.payload&&4===r){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){n.payloadType=r,n.payloadSize=o,n.payload=e.subarray(t,t+o);break}n.payload=void 0}t+=o,r=0,o=0}return n},Te=function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Ae=function(e,t){var n,r,o,i,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)i={type:3&t[(o=3*n)+2],pts:e},4&t[o+2]&&(i.ccData=t[o+3]<<8|t[o+4],a.push(i));return a},Pe=function(e){for(var t,n,r=e.byteLength,o=[],i=1;i<r-2;)0===e[i]&&0===e[i+1]&&3===e[i+2]?(o.push(i+2),i+=2):i++;if(0===o.length)return e;t=r-o.length,n=new Uint8Array(t);var a=0;for(i=0;i<t;a++,i++)a===o[0]&&(a++,o.shift()),n[i]=e[a];return n},Re=4,Ie=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_="boolean"!=typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Ve(0,0),new Ve(0,1),new Ve(1,0),new Ve(1,1)],this.parse708captions_&&(this.cc708Stream_=new Le({captionServices:t.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(Ie.prototype=new V).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Oe(e.escapedRBSP)).payload&&t.payloadType===Re&&(n=Te(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=Ae(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Ie.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},Ie.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},Ie.prototype.flush=function(){return this.flushStream("flush")},Ie.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Ie.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},Ie.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},Ie.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Ie.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Ie.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},Ie.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var Me={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Ne=function(e){return 32<=e&&e<=127||160<=e&&e<=255},De=function(e){this.windowNum=e,this.reset()};De.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},De.prototype.getText=function(){return this.rows.join("\n")},De.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},De.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},De.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},De.prototype.addText=function(e){this.rows[this.rowIdx]+=e},De.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var je=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new De(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};je.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new De(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},je.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},je.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var Le=function e(t){t=t||{},e.prototype.init.call(this);var n,r=this,o=t.captionServices||{},i={};Object.keys(o).forEach((function(e){n=o[e],/^SERVICE/.test(e)&&(i[e]=n.encoding)})),this.serviceEncodings=i,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(r.new708Packet(),r.add708Bytes(e)):(null===r.current708Packet&&r.new708Packet(),r.add708Bytes(e))}};Le.prototype=new V,Le.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Le.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},Le.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,o=0,i=t[o++];for(e.seq=i>>6,e.sizeCode=63&i;o<t.length;o++)r=31&(i=t[o++]),7===(n=i>>5)&&r>0&&(n=i=t[o++]),this.pushServiceBlock(n,o,r),r>0&&(o+=r-1)},Le.prototype.pushServiceBlock=function(e,t,n){var r,o=t,i=this.current708Packet.data,a=this.services[e];for(a||(a=this.initService(e,o));o<t+n&&o<i.length;o++)r=i[o],Ne(r)?o=this.handleText(o,a):24===r?o=this.multiByteCharacter(o,a):16===r?o=this.extendedCommands(o,a):128<=r&&r<=135?o=this.setCurrentWindow(o,a):152<=r&&r<=159?o=this.defineWindow(o,a):136===r?o=this.clearWindows(o,a):140===r?o=this.deleteWindows(o,a):137===r?o=this.displayWindows(o,a):138===r?o=this.hideWindows(o,a):139===r?o=this.toggleWindows(o,a):151===r?o=this.setWindowAttributes(o,a):144===r?o=this.setPenAttributes(o,a):145===r?o=this.setPenColor(o,a):146===r?o=this.setPenLocation(o,a):143===r?a=this.reset(o,a):8===r?a.currentWindow.backspace():12===r?a.currentWindow.clearText():13===r?a.currentWindow.pendingNewLine=!0:14===r?a.currentWindow.clearText():141===r&&o++},Le.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return Ne(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},Le.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},Le.prototype.initService=function(e,t){var n,r,o=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new je(e,r,o),this.services[e].init(this.getPts(t),(function(t){o.flushDisplayed(t,o.services[e])})),this.services[e]},Le.prototype.handleText=function(e,t,n){var r,o,i,a,s=n&&n.isExtended,l=n&&n.isMultiByte,c=this.current708Packet.data,u=s?4096:0,d=c[e],p=c[e+1],f=t.currentWindow;return t.textDecoder_&&!s?(l?(o=[d,p],e++):o=[d],r=t.textDecoder_.decode(new Uint8Array(o))):(a=Me[i=u|d]||i,r=4096&i&&i===a?"":String.fromCharCode(a)),f.pendingNewLine&&!f.isEmpty()&&f.newLine(this.getPts(e)),f.pendingNewLine=!1,f.addText(r),e},Le.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],o=n[e+2];return Ne(r)&&Ne(o)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},Le.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},Le.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],o=7&r;t.setCurrentWindow(o);var i=t.currentWindow;return r=n[++e],i.visible=(32&r)>>5,i.rowLock=(16&r)>>4,i.columnLock=(8&r)>>3,i.priority=7&r,r=n[++e],i.relativePositioning=(128&r)>>7,i.anchorVertical=127&r,r=n[++e],i.anchorHorizontal=r,r=n[++e],i.anchorPoint=(240&r)>>4,i.rowCount=15&r,r=n[++e],i.columnCount=63&r,r=n[++e],i.windowStyle=(56&r)>>3,i.penStyle=7&r,i.virtualRowCount=i.rowCount+1,e},Le.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.winAttr;return r=n[++e],o.fillOpacity=(192&r)>>6,o.fillRed=(48&r)>>4,o.fillGreen=(12&r)>>2,o.fillBlue=3&r,r=n[++e],o.borderType=(192&r)>>6,o.borderRed=(48&r)>>4,o.borderGreen=(12&r)>>2,o.borderBlue=3&r,r=n[++e],o.borderType+=(128&r)>>5,o.wordWrap=(64&r)>>6,o.printDirection=(48&r)>>4,o.scrollDirection=(12&r)>>2,o.justify=3&r,r=n[++e],o.effectSpeed=(240&r)>>4,o.effectDirection=(12&r)>>2,o.displayEffect=3&r,e},Le.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},Le.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},Le.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&(t.windows[o].visible=1);return e},Le.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&(t.windows[o].visible=0);return e},Le.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&(t.windows[o].visible^=1);return e},Le.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&t.windows[o].clearText();return e},Le.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&t.windows[o].reset();return e},Le.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.penAttr;return r=n[++e],o.textTag=(240&r)>>4,o.offset=(12&r)>>2,o.penSize=3&r,r=n[++e],o.italics=(128&r)>>7,o.underline=(64&r)>>6,o.edgeType=(56&r)>>3,o.fontStyle=7&r,e},Le.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.penColor;return r=n[++e],o.fgOpacity=(192&r)>>6,o.fgRed=(48&r)>>4,o.fgGreen=(12&r)>>2,o.fgBlue=3&r,r=n[++e],o.bgOpacity=(192&r)>>6,o.bgRed=(48&r)>>4,o.bgGreen=(12&r)>>2,o.bgBlue=3&r,r=n[++e],o.edgeRed=(48&r)>>4,o.edgeGreen=(12&r)>>2,o.edgeBlue=3&r,e},Le.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],o.row=15&r,r=n[++e],o.column=63&r,e},Le.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var Be={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Fe=function(e){return null===e?"":(e=Be[e]||e,String.fromCharCode(e))},Ue=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],He=function(){for(var e=[],t=15;t--;)e.push("");return e},Ve=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,o,i;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,o=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=He();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=He();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=He()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,o))i=Fe((r=(3&r)<<8)|o),this[this.mode_](e.pts,i),this.column_++;else if(this.isExtCharacter(r,o))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),i=Fe((r=(3&r)<<8)|o),this[this.mode_](e.pts,i),this.column_++;else if(this.isMidRowCode(r,o))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&o)&&this.addFormatting(e.pts,["i"]),1==(1&o)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,o))this.column_+=3&o;else if(this.isPAC(r,o)){var a=Ue.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&o&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(o)&&14==(14&o)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===o&&(o=null),i=Fe(r),i+=Fe(o),this[this.mode_](e.pts,i),this.column_+=i.length)}else this.lastControlCode_=null}};Ve.prototype=new V,Ve.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Ve.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=He(),this.nonDisplayed_=He(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Ve.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Ve.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Ve.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Ve.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Ve.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Ve.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Ve.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Ve.prototype.isNormalChar=function(e){return e>=32&&e<=127},Ve.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=He(),this.displayed_=He()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Ve.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},Ve.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},Ve.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Ve.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Ve.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},Ve.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var ze={CaptionStream:Ie,Cea608Stream:Ve,Cea708Stream:Le},qe={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ge=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},We=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=Ge(e.dts,r),e.pts=Ge(e.pts,r),n=e.dts,this.trigger("data",e))},this.flush=function(){r=n,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){r=void 0,n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};We.prototype=new V;var Ye,Ze=We,Ke=Ge,$e=function(e,t,n){var r,o="";for(r=t;r<n;r++)o+="%"+("00"+e[r].toString(16)).slice(-2);return o},Qe=function(e,t,n){return decodeURIComponent($e(e,t,n))},Xe=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},Je={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Qe(e.data,1,t),e.value=Qe(e.data,t+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Qe(e.data,1,t),e.url=Qe(e.data,t+1,e.data.length);break}},PRIV:function(e){var t,n;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=(n=e.data,unescape($e(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};(Ye=function(e){var t,n={descriptor:e&&e.descriptor},r=0,o=[],i=0;if(Ye.prototype.init.call(this),this.dispatchType=qe.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,n,a,s,l;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(i=0,o.length=0),0===o.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(o.push(e),i+=e.data.byteLength,1===o.length&&(r=Xe(e.data.subarray(6,10)),r+=10),!(i<r)){for(t={data:new Uint8Array(r),frames:[],pts:o[0].pts,dts:o[0].dts},l=0;l<r;)t.data.set(o[0].data.subarray(0,r-l),l),l+=o[0].data.byteLength,i-=o[0].data.byteLength,o.shift();n=10,64&t.data[5]&&(n+=4,n+=Xe(t.data.subarray(10,14)),r-=Xe(t.data.subarray(16,20)));do{if((a=Xe(t.data.subarray(n+4,n+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((s={id:String.fromCharCode(t.data[n],t.data[n+1],t.data[n+2],t.data[n+3]),data:t.data.subarray(n+10,n+a+10)}).key=s.id,Je[s.id]&&(Je[s.id](s),"com.apple.streaming.transportStreamTimestamp"===s.owner)){var c=s.data,u=(1&c[3])<<30|c[4]<<22|c[5]<<14|c[6]<<6|c[7]>>>2;u*=4,u+=3&c[7],s.timeStamp=u,void 0===t.pts&&void 0===t.dts&&(t.pts=s.timeStamp,t.dts=s.timeStamp),this.trigger("timestamp",s)}t.frames.push(s),n+=10,n+=a}while(n<r);this.trigger("data",t)}}}).prototype=new V;var et,tt,nt,rt=Ye,ot=Ze;(et=function(){var e=new Uint8Array(188),t=0;et.prototype.init.call(this),this.push=function(n){var r,o=0,i=188;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;i<r.byteLength;)71!==r[o]||71!==r[i]?(o++,i++):(this.trigger("data",r.subarray(o,i)),o+=188,i+=188);o<r.byteLength&&(e.set(r.subarray(o),0),t=r.byteLength-o)},this.flush=function(){188===t&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new V,(tt=function(){var e,t,n,r;tt.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var o=0;r.payloadUnitStartIndicator&&(o+=e[o]+1),"pat"===r.type?t(e.subarray(o),r):n(e.subarray(o),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,o;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,o=12+((15&e[10])<<8|e[11]);o<n;){var i=e[o],a=(31&e[o+1])<<8|e[o+2];i===qe.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:i===qe.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:i===qe.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][a]=i),o+=5+((15&e[o+3])<<8|e[o+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=qe.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=qe.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}}).prototype=new V,tt.STREAM_TYPES={h264:27,adts:15},(nt=function(){var e,t=this,n=!1,r={data:[],size:0},o={data:[],size:0},i={data:[],size:0},a=function(e,n,r){var o,i,a=new Uint8Array(e.size),s={type:n},l=0,c=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,l=0;l<e.data.length;l++)i=e.data[l],a.set(i.data,c),c+=i.data.byteLength;var u,d,p,f;d=s,f=(u=a)[0]<<16|u[1]<<8|u[2],d.data=new Uint8Array,1===f&&(d.packetLength=6+(u[4]<<8|u[5]),d.dataAlignmentIndicator=0!=(4&u[6]),192&(p=u[7])&&(d.pts=(14&u[9])<<27|(255&u[10])<<20|(254&u[11])<<12|(255&u[12])<<5|(254&u[13])>>>3,d.pts*=4,d.pts+=(6&u[13])>>>1,d.dts=d.pts,64&p&&(d.dts=(14&u[14])<<27|(255&u[15])<<20|(254&u[16])<<12|(255&u[17])<<5|(254&u[18])>>>3,d.dts*=4,d.dts+=(6&u[18])>>>1)),d.data=u.subarray(9+u[8])),o="video"===n||s.packetLength<=e.size,(r||o)&&(e.size=0,e.data.length=0),o&&t.trigger("data",s)}};nt.prototype.init.call(this),this.push=function(s){({pat:function(){},pes:function(){var e,t;switch(s.streamType){case qe.H264_STREAM_TYPE:e=r,t="video";break;case qe.ADTS_STREAM_TYPE:e=o,t="audio";break;case qe.METADATA_STREAM_TYPE:e=i,t="timed-metadata";break;default:return}s.payloadUnitStartIndicator&&a(e,t,!0),e.data.push(s),e.size+=s.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=s.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[s.type]()},this.reset=function(){r.size=0,r.data.length=0,o.size=0,o.data.length=0,this.trigger("reset")},this.flushStreams_=function(){a(r,"video"),a(o,"audio"),a(i,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}}).prototype=new V;var it={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:et,TransportParseStream:tt,ElementaryStream:nt,TimestampRolloverStream:ot,CaptionStream:ze.CaptionStream,Cea608Stream:ze.Cea608Stream,Cea708Stream:ze.Cea708Stream,MetadataStream:rt};for(var at in qe)qe.hasOwnProperty(at)&&(it[at]=qe[at]);var st,lt=it,ct=fe,ut=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(st=function(e){var t,n=0;st.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:"adts skiping bytes "+e+" to "+t+" in frame "+n+" outside syncword"})},this.push=function(r){var o,i,a,s,l,c=0;if(e||(n=0),"audio"===r.type){var u;for(t&&t.length?(a=t,(t=new Uint8Array(a.byteLength+r.data.byteLength)).set(a),t.set(r.data,a.byteLength)):t=r.data;c+7<t.length;)if(255===t[c]&&240==(246&t[c+1])){if("number"==typeof u&&(this.skipWarn_(u,c),u=null),i=2*(1&~t[c+1]),o=(3&t[c+3])<<11|t[c+4]<<3|(224&t[c+5])>>5,l=(s=1024*(1+(3&t[c+6])))*ct/ut[(60&t[c+2])>>>2],t.byteLength-c<o)break;this.trigger("data",{pts:r.pts+n*l,dts:r.dts+n*l,sampleCount:s,audioobjecttype:1+(t[c+2]>>>6&3),channelcount:(1&t[c+2])<<2|(192&t[c+3])>>>6,samplerate:ut[(60&t[c+2])>>>2],samplingfrequencyindex:(60&t[c+2])>>>2,samplesize:16,data:t.subarray(c+7+i,c+o)}),n++,c+=o}else"number"!=typeof u&&(u=c),c++;"number"==typeof u&&(this.skipWarn_(u,c),u=null),t=t.subarray(c)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}}).prototype=new V;var dt,pt,ft,ht=st,mt=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var o=e.byteLength-t,i=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");i.set(e.subarray(o,o+a)),n=new DataView(i.buffer).getUint32(0),r=8*a,t-=a},this.skipBits=function(e){var o;r>e?(n<<=e,r-=e):(e-=r,e-=8*(o=Math.floor(e/8)),t-=o,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var o=Math.min(r,e),i=n>>>32-o;return(r-=o)>0?n<<=o:t>0&&this.loadWord(),(o=e-o)>0?i<<o|this.readBits(o):i},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(pt=function(){var e,t,n=0;pt.prototype.init.call(this),this.push=function(r){var o;t?((o=new Uint8Array(t.byteLength+r.data.byteLength)).set(t),o.set(r.data,t.byteLength),t=o):t=r.data;for(var i=t.byteLength;n<i-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<i;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do{e++}while(1!==t[e]&&e<i);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.reset=function(){t=null,n=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}}).prototype=new V,ft={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(dt=function(){var e,t,n,r,o,i,a,s=new pt;dt.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,s.push(e))},s.on("data",(function(a){var s={trackId:t,pts:n,dts:r,data:a,nalUnitTypeCode:31&a[0]};switch(s.nalUnitTypeCode){case 5:s.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:s.nalUnitType="sei_rbsp",s.escapedRBSP=o(a.subarray(1));break;case 7:s.nalUnitType="seq_parameter_set_rbsp",s.escapedRBSP=o(a.subarray(1)),s.config=i(s.escapedRBSP);break;case 8:s.nalUnitType="pic_parameter_set_rbsp";break;case 9:s.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",s)})),s.on("done",(function(){e.trigger("done")})),s.on("partialdone",(function(){e.trigger("partialdone")})),s.on("reset",(function(){e.trigger("reset")})),s.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){s.flush()},this.partialFlush=function(){s.partialFlush()},this.reset=function(){s.reset()},this.endTimeline=function(){s.endTimeline()},a=function(e,t){var n,r=8,o=8;for(n=0;n<e;n++)0!==o&&(o=(r+t.readExpGolomb()+256)%256),r=0===o?r:o},o=function(e){for(var t,n,r=e.byteLength,o=[],i=1;i<r-2;)0===e[i]&&0===e[i+1]&&3===e[i+2]?(o.push(i+2),i+=2):i++;if(0===o.length)return e;t=r-o.length,n=new Uint8Array(t);var a=0;for(i=0;i<t;a++,i++)a===o[0]&&(a++,o.shift()),n[i]=e[a];return n},i=function(e){var t,n,r,o,i,s,l,c,u,d,p,f,h=0,m=0,g=0,y=0,v=[1,1];if(n=(t=new mt(e)).readUnsignedByte(),o=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),ft[n]&&(3===(i=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(p=3!==i?8:12,f=0;f<p;f++)t.readBoolean()&&a(f<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),l=t.readUnsignedExpGolomb(),f=0;f<l;f++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),c=t.readUnsignedExpGolomb(),u=t.readUnsignedExpGolomb(),0===(d=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(h=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:v=[1,1];break;case 2:v=[12,11];break;case 3:v=[10,11];break;case 4:v=[16,11];break;case 5:v=[40,33];break;case 6:v=[24,11];break;case 7:v=[20,11];break;case 8:v=[32,11];break;case 9:v=[80,33];break;case 10:v=[18,11];break;case 11:v=[15,11];break;case 12:v=[64,33];break;case 13:v=[160,99];break;case 14:v=[4,3];break;case 15:v=[3,2];break;case 16:v=[2,1];break;case 255:v=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}v&&(v[0],v[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:o,width:16*(c+1)-2*h-2*m,height:(2-d)*(u+1)*16-2*g-2*y,sarRatio:v}}}).prototype=new V;var gt,yt={H264Stream:dt,NalByteStream:pt},vt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],bt=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return n=n>=0?n:0,(16&e[t+5])>>4?n+20:n+10},_t=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},wt={isLikelyAacData:function(e){var t=function e(t,n){return t.length-n<10||t[n]!=="I".charCodeAt(0)||t[n+1]!=="D".charCodeAt(0)||t[n+2]!=="3".charCodeAt(0)?n:e(t,n+=bt(t,n))}(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:bt,parseAdtsSize:function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return vt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=_t(e.subarray(10,14)));do{if((n=_t(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var o=0;o<r.byteLength;o++)if(0===r[o]){if("com.apple.streaming.transportStreamTimestamp"===unescape(function(e,t,n){var r,o="";for(r=t;r<n;r++)o+="%"+("00"+e[r].toString(16)).slice(-2);return o}(r,0,o))){var i=r.subarray(o+1),a=(1&i[3])<<30|i[4]<<22|i[5]<<14|i[6]<<6|i[7]>>>2;return a*=4,a+=3&i[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}};(gt=function(){var e=new Uint8Array,t=0;gt.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,o,i,a,s=0,l=0;for(e.length?(a=e.length,(e=new Uint8Array(n.byteLength+a)).set(e.subarray(0,a)),e.set(n,a)):e=n;e.length-l>=3;)if(e[l]!=="I".charCodeAt(0)||e[l+1]!=="D".charCodeAt(0)||e[l+2]!=="3".charCodeAt(0))if(255!=(255&e[l])||240!=(240&e[l+1]))l++;else{if(e.length-l<7)break;if(l+(s=wt.parseAdtsSize(e,l))>e.length)break;i={type:"audio",data:e.subarray(l,l+s),pts:t,dts:t},this.trigger("data",i),l+=s}else{if(e.length-l<10)break;if(l+(s=wt.parseId3TagSize(e,l))>e.length)break;o={type:"timed-metadata",data:e.subarray(l,l+s)},this.trigger("data",o),l+=s}r=e.length-l,e=r>0?e.subarray(l):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new V;var Ct,St,Et,xt,kt=gt,Ot=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Tt=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],At=yt.H264Stream,Pt=wt.isLikelyAacData,Rt=fe,It=function(e,t){t.stream=e,this.trigger("log",t)},Nt=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var o=n[r];"headOfPipeline"!==o&&t[o].on&&t[o].on("log",It.bind(e,o))}},Dt=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},jt=function(e,t,n,r,o,i){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(o-n)},prependedContentDuration:i,baseMediaDecodeTime:e}};(St=function(e,t){var n,r=[],o=0,i=0,a=1/0;n=(t=t||{}).firstSequenceNumber||0,St.prototype.init.call(this),this.push=function(t){ke(e,t),e&&Ot.forEach((function(n){e[n]=t[n]})),r.push(t)},this.setEarliestDts=function(e){o=e},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){i=e},this.flush=function(){var s,l,c,u,d,p,f;0!==r.length?(s=_e(r,e,o),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),f=be(e,s,i,a),e.samples=we(s),c=ee(Ce(s)),r=[],l=te(n,[e]),u=new Uint8Array(l.byteLength+c.byteLength),n++,u.set(l),u.set(c,l.byteLength),Ee(e),d=Math.ceil(1024*Rt/e.samplerate),s.length&&(p=s.length*d,this.trigger("segmentTimingInfo",jt(ge(e.baseMediaDecodeTime,e.samplerate),s[0].dts,s[0].pts,s[0].dts+p,s[0].pts+p,f||0)),this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+p})),this.trigger("data",{track:e,boxes:u}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){Ee(e),r=[],this.trigger("reset")}}).prototype=new V,(Ct=function(e,t){var n,r,o,i=[],a=[];n=(t=t||{}).firstSequenceNumber||0,Ct.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){ke(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,e.sps=[t.data],Tt.forEach((function(t){e[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||o||(o=t.data,e.pps=[t.data]),i.push(t)},this.flush=function(){for(var r,o,s,l,c,u,d,p,f=0;i.length&&"access_unit_delimiter_rbsp"!==i[0].nalUnitType;)i.shift();if(0===i.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(r=oe(i),(s=ie(r))[0][0].keyFrame||((o=this.getGopForFusion_(i[0],e))?(f=o.duration,s.unshift(o),s.byteLength+=o.byteLength,s.nalCount+=o.nalCount,s.pts=o.pts,s.dts=o.dts,s.duration+=o.duration):s=ae(s)),a.length){var h;if(!(h=t.alignGopsAtEnd?this.alignGopsAtEnd_(s):this.alignGopsAtStart_(s)))return this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),i=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");Ee(e),s=h}ke(e,s),e.samples=se(s),c=ee(le(s)),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),d=s[0],p=s[s.length-1],this.trigger("segmentTimingInfo",jt(e.baseMediaDecodeTime,d.dts,d.pts,p.dts+p.duration,p.pts+p.duration,f)),this.trigger("timingInfo",{start:s[0].pts,end:s[s.length-1].pts+s[s.length-1].duration}),this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),i=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),l=te(n,[e]),u=new Uint8Array(l.byteLength+c.byteLength),n++,u.set(l),u.set(c,l.byteLength),this.trigger("data",{track:e,boxes:u}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),i=[],this.gopCache_.length=0,a.length=0,this.trigger("reset")},this.resetStream_=function(){Ee(e),r=void 0,o=void 0},this.getGopForFusion_=function(t){var n,r,o,i,a,s=1/0;for(a=0;a<this.gopCache_.length;a++)o=(i=this.gopCache_[a]).gop,e.pps&&Dt(e.pps[0],i.pps[0])&&e.sps&&Dt(e.sps[0],i.sps[0])&&(o.dts<e.timelineStartInfo.dts||(n=t.dts-o.dts-o.duration)>=-1e4&&n<=45e3&&(!r||s>n)&&(r=i,s=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,o,i,s,l,c;for(i=e.byteLength,s=e.nalCount,l=e.duration,t=n=0;t<a.length&&n<e.length&&(r=a[t],o=e[n],r.pts!==o.pts);)o.pts>r.pts?t++:(n++,i-=o.byteLength,s-=o.nalCount,l-=o.duration);return 0===n?e:n===e.length?null:((c=e.slice(n)).byteLength=i,c.duration=l,c.nalCount=s,c.pts=c[0].pts,c.dts=c[0].dts,c)},this.alignGopsAtEnd_=function(e){var t,n,r,o,i,s,l;for(t=a.length-1,n=e.length-1,i=null,s=!1;t>=0&&n>=0;){if(r=a[t],o=e[n],r.pts===o.pts){s=!0;break}r.pts>o.pts?t--:(t===a.length-1&&(i=n),n--)}if(!s&&null===i)return null;if(0===(l=s?n:i))return e;var c=e.slice(l),u=c.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return c.byteLength=u.byteLength,c.duration=u.duration,c.nalCount=u.nalCount,c.pts=c[0].pts,c.dts=c[0].dts,c},this.alignGopsWith=function(e){a=e}}).prototype=new V,(xt=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,xt.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}}).prototype=new V,xt.prototype.flush=function(e){var t,n,r,o,i=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,Tt.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,Ot.forEach((function(e){a.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,r=ne(this.pendingTracks),a.initSegment=new Uint8Array(r.byteLength),a.initSegment.set(r),a.data=new Uint8Array(this.pendingBytes),o=0;o<this.pendingBoxes.length;o++)a.data.set(this.pendingBoxes[o],i),i+=this.pendingBoxes[o].byteLength;for(o=0;o<this.pendingCaptions.length;o++)(t=this.pendingCaptions[o]).startTime=ve(t.startPts,s,this.keepOriginalTimestamps),t.endTime=ve(t.endPts,s,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(o=0;o<this.pendingMetadata.length;o++)(n=this.pendingMetadata[o]).cueTime=ve(n.pts,s,this.keepOriginalTimestamps),a.metadata.push(n);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),o=0;o<a.captions.length;o++)t=a.captions[o],this.trigger("caption",t);for(o=0;o<a.metadata.length;o++)n=a.metadata[o],this.trigger("id3Frame",n)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},xt.prototype.setRemux=function(e){this.remuxTracks=e},(Et=function(e){var t,n,r=this,o=!0;Et.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="aac",o.metadataStream=new lt.MetadataStream,o.aacStream=new kt,o.audioTimestampRolloverStream=new lt.TimestampRolloverStream("audio"),o.timedMetadataTimestampRolloverStream=new lt.TimestampRolloverStream("timed-metadata"),o.adtsStream=new ht,o.coalesceStream=new xt(e,o.metadataStream),o.headOfPipeline=o.aacStream,o.aacStream.pipe(o.audioTimestampRolloverStream).pipe(o.adtsStream),o.aacStream.pipe(o.timedMetadataTimestampRolloverStream).pipe(o.metadataStream).pipe(o.coalesceStream),o.metadataStream.on("timestamp",(function(e){o.aacStream.setTimestamp(e.timeStamp)})),o.aacStream.on("data",(function(i){"timed-metadata"!==i.type&&"audio"!==i.type||o.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new St(n,e),o.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Nt(this,o)},this.setupTsPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="ts",o.metadataStream=new lt.MetadataStream,o.packetStream=new lt.TransportPacketStream,o.parseStream=new lt.TransportParseStream,o.elementaryStream=new lt.ElementaryStream,o.timestampRolloverStream=new lt.TimestampRolloverStream,o.adtsStream=new ht,o.h264Stream=new At,o.captionStream=new lt.CaptionStream(e),o.coalesceStream=new xt(e,o.metadataStream),o.headOfPipeline=o.packetStream,o.packetStream.pipe(o.parseStream).pipe(o.elementaryStream).pipe(o.timestampRolloverStream),o.timestampRolloverStream.pipe(o.h264Stream),o.timestampRolloverStream.pipe(o.adtsStream),o.timestampRolloverStream.pipe(o.metadataStream).pipe(o.coalesceStream),o.h264Stream.pipe(o.captionStream).pipe(o.coalesceStream),o.elementaryStream.on("data",(function(i){var a;if("metadata"===i.type){for(a=i.tracks.length;a--;)t||"video"!==i.tracks[a].type?n||"audio"!==i.tracks[a].type||((n=i.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=i.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!o.videoSegmentStream&&(o.coalesceStream.numberOfTracks++,o.videoSegmentStream=new Ct(t,e),o.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),o.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,o.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),o.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),o.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),o.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&o.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),o.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),o.h264Stream.pipe(o.videoSegmentStream).pipe(o.coalesceStream)),n&&!o.audioSegmentStream&&(o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new St(n,e),o.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),o.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("id3Frame",(function(e){e.dispatchType=o.metadataStream.dispatchType,r.trigger("id3Frame",e)})),o.coalesceStream.on("caption",this.trigger.bind(this,"caption")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Nt(this,o)},this.setBaseMediaDecodeTime=function(r){var o=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,Ee(n),o.audioTimestampRolloverStream&&o.audioTimestampRolloverStream.discontinuity()),t&&(o.videoSegmentStream&&(o.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,Ee(t),o.captionStream.reset()),o.timestampRolloverStream&&o.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(e){if(o){var t=Pt(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),o=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){o=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new V;var Lt,Bt,Ft,Ut={Transmuxer:Et,VideoSegmentStream:Ct,AudioSegmentStream:St,AUDIO_PROPERTIES:Ot,VIDEO_PROPERTIES:Tt,generateSegmentTimingInfo:jt},Ht=function(e){return e>>>0},Vt=function(e){return("00"+e.toString(16)).slice(-2)},zt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},qt=Ht,Gt=function e(t,n){var r,o,i,a,s,l=[];if(!n.length)return null;for(r=0;r<t.byteLength;)o=qt(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]),i=zt(t.subarray(r+4,r+8)),a=o>1?r+o:t.byteLength,i===n[0]&&(1===n.length?l.push(t.subarray(r+8,a)):(s=e(t.subarray(r+8,a),n.slice(1))).length&&(l=l.concat(s))),r=a;return l},Wt=Ht,Yt=q.getUint64,Zt=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=Yt(e.subarray(4)):t.baseMediaDecodeTime=Wt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},Kt=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},$t=function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),o=1&n.flags[2],i=4&n.flags[2],a=1&n.flags[1],s=2&n.flags[1],l=4&n.flags[1],c=8&n.flags[1],u=r.getUint32(4),d=8;for(o&&(n.dataOffset=r.getInt32(d),d+=4),i&&u&&(t={flags:Kt(e.subarray(d,d+4))},d+=4,a&&(t.duration=r.getUint32(d),d+=4),s&&(t.size=r.getUint32(d),d+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t),u--);u--;)t={},a&&(t.duration=r.getUint32(d),d+=4),s&&(t.size=r.getUint32(d),d+=4),l&&(t.flags=Kt(e.subarray(d,d+4)),d+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t);return n},Qt=function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},o=1&r.flags[2],i=2&r.flags[2],a=8&r.flags[2],s=16&r.flags[2],l=32&r.flags[2],c=65536&r.flags[0],u=131072&r.flags[0];return t=8,o&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),i&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),a&&(r.defaultSampleDuration=n.getUint32(t),t+=4),s&&(r.defaultSampleSize=n.getUint32(t),t+=4),l&&(r.defaultSampleFlags=n.getUint32(t)),c&&(r.durationIsEmpty=!0),!o&&u&&(r.baseDataOffsetIsMoof=!0),r},Xt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},Jt="undefined"!=typeof window?window:void 0!==Xt?Xt:"undefined"!=typeof self?self:{},en=Pe,tn=ze.CaptionStream,nn=function(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(n<o.size)return o;n-=o.size}return null},rn=function(e,t){var n=Gt(e,["moof","traf"]),r=Gt(e,["mdat"]),o={},i=[];return r.forEach((function(e,t){var r=n[t];i.push({mdat:e,traf:r})})),i.forEach((function(e){var n,r=e.mdat,i=e.traf,a=Gt(i,["tfhd"]),s=Qt(a[0]),l=s.trackId,c=Gt(i,["tfdt"]),u=c.length>0?Zt(c[0]).baseMediaDecodeTime:0,d=Gt(i,["trun"]);t===l&&d.length>0&&(n=function(e,t,n){var r,o,i,a,s=new DataView(e.buffer,e.byteOffset,e.byteLength),l={logs:[],seiNals:[]};for(o=0;o+4<e.length;o+=i)if(i=s.getUint32(o),o+=4,!(i<=0))switch(31&e[o]){case 6:var c=e.subarray(o+1,o+1+i),u=nn(o,t);if(r={nalUnitType:"sei_rbsp",size:i,data:c,escapedRBSP:en(c),trackId:n},u)r.pts=u.pts,r.dts=u.dts,a=u;else{if(!a){l.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+o+" for trackId "+n+". See mux.js#223."});break}r.pts=a.pts,r.dts=a.dts}l.seiNals.push(r)}return l}(r,function(e,t,n){var r=t,o=n.defaultSampleDuration||0,i=n.defaultSampleSize||0,a=n.trackId,s=[];return e.forEach((function(e){var t=$t(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=o),void 0===e.size&&(e.size=i),e.trackId=a,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof r?(e.pts=r+Jt.BigInt(e.compositionTimeOffset),r+=Jt.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),s=s.concat(t)})),s}(d,u,s),l),o[l]||(o[l]={seiNals:[],logs:[]}),o[l].seiNals=o[l].seiNals.concat(n.seiNals),o[l].logs=o[l].logs.concat(n.logs))})),o},on=function(){var e,t,n,r,o,i,a=!1;this.isInitialized=function(){return a},this.init=function(t){e=new tn,a=!0,i=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,o.captions.push(e),o.captionStreams[e.stream]=!0})),e.on("log",(function(e){o.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"===Mt(t)&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,i,a){var s;if(!this.isInitialized())return null;if(!i||!a)return null;if(this.isNewInit(i,a))n=i[0],r=a[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,i,a)}return(s=function(e,t,n){if(null===t)return null;var r=rn(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r))&&s.logs&&(o.logs=o.logs.concat(s.logs)),null!==s&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),o):o.logs.length?{logs:o.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;i?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={},o.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,o?this.clearParsedCaptions():o={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},an=Ht,sn=Vt,ln=q.getUint64;Lt=function(e,t){var n=Gt(t,["moof","traf"]).reduce((function(t,n){var r,o,i=Gt(n,["tfhd"])[0],a=an(i[4]<<24|i[5]<<16|i[6]<<8|i[7]),s=e[a]||9e4,l=Gt(n,["tfdt"])[0],c=new DataView(l.buffer,l.byteOffset,l.byteLength);return"bigint"==typeof(r=1===l[0]?ln(l.subarray(4,12)):c.getUint32(4))?o=r/Jt.BigInt(s):"number"!=typeof r||isNaN(r)||(o=r/s),o<Number.MAX_SAFE_INTEGER&&(o=Number(o)),o<t&&(t=o),t}),1/0);return"bigint"==typeof n||isFinite(n)?n:0},Bt=function(e){var t=Gt(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,o={},i=Gt(e,["tkhd"])[0];i&&(r=(t=new DataView(i.buffer,i.byteOffset,i.byteLength)).getUint8(0),o.id=0===r?t.getUint32(12):t.getUint32(20));var a=Gt(e,["mdia","hdlr"])[0];if(a){var s=zt(a.subarray(8,12));o.type="vide"===s?"video":"soun"===s?"audio":s}var l=Gt(e,["mdia","minf","stbl","stsd"])[0];if(l){var c=l.subarray(8);o.codec=zt(c.subarray(4,8));var u,d=Gt(c,[o.codec])[0];d&&(/^[asm]vc[1-9]$/i.test(o.codec)?(u=d.subarray(78),"avcC"===zt(u.subarray(4,8))&&u.length>11?(o.codec+=".",o.codec+=sn(u[9]),o.codec+=sn(u[10]),o.codec+=sn(u[11])):o.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(o.codec)?(u=d.subarray(28),"esds"===zt(u.subarray(4,8))&&u.length>20&&0!==u[19]?(o.codec+="."+sn(u[19]),o.codec+="."+sn(u[20]>>>2&63).replace(/^0/,"")):o.codec="mp4a.40.2"):o.codec=o.codec.toLowerCase())}var p=Gt(e,["mdia","mdhd"])[0];p&&(o.timescale=Ft(p)),n.push(o)})),n};var cn=Lt,un=Bt,dn=(Ft=function(e){var t=0===e[0]?12:20;return an(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},function(e){var t=31&e[1];return t<<=8,t|=e[2]}),pn=function(e){return!!(64&e[1])},fn=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},hn=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},mn={parseType:function(e,t){var n=dn(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=pn(e),n=4+fn(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=pn(e),r=4+fn(e);if(n&&(r+=e[r]+1),1&e[r+5]){var o;o=3+((15&e[r+1])<<8|e[r+2])-4;for(var i=12+((15&e[r+10])<<8|e[r+11]);i<o;){var a=r+i;t[(31&e[a+1])<<8|e[a+2]]=e[a],i+=5+((15&e[a+3])<<8|e[a+4])}return t}},parsePayloadUnitStartIndicator:pn,parsePesType:function(e,t){switch(t[dn(e)]){case qe.H264_STREAM_TYPE:return"video";case qe.ADTS_STREAM_TYPE:return"audio";case qe.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!pn(e))return null;var t=4+fn(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+fn(e),n=e.subarray(t),r=0,o=0,i=!1;o<n.byteLength-3;o++)if(1===n[o+2]){r=o+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}o+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[o+3])&&(i=!0);do{r++}while(1!==n[r]&&r<n.length);o=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[o+3])&&(i=!0),o=r-2,r+=3;break;default:r+=3}return n=n.subarray(o),r-=o,o=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[o+3])&&(i=!0),i}},gn=Ke,yn={};yn.ts=mn,yn.aac=wt;var vn=fe,bn=function(e,t,n){for(var r,o,i,a,s=0,l=188,c=!1;l<=e.byteLength;)if(71!==e[s]||71!==e[l]&&l!==e.byteLength)s++,l++;else{switch(r=e.subarray(s,l),yn.ts.parseType(r,t.pid)){case"pes":o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"audio"===o&&i&&(a=yn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0)}if(c)break;s+=188,l+=188}for(s=(l=e.byteLength)-188,c=!1;s>=0;)if(71!==e[s]||71!==e[l]&&l!==e.byteLength)s--,l--;else{switch(r=e.subarray(s,l),yn.ts.parseType(r,t.pid)){case"pes":o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"audio"===o&&i&&(a=yn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0)}if(c)break;s-=188,l-=188}},_n=function(e,t,n){for(var r,o,i,a,s,l,c,u=0,d=188,p=!1,f={data:[],size:0};d<e.byteLength;)if(71!==e[u]||71!==e[d])u++,d++;else{switch(r=e.subarray(u,d),yn.ts.parseType(r,t.pid)){case"pes":if(o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"video"===o&&(i&&!p&&(a=yn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),p=!0),!n.firstKeyFrame)){if(i&&0!==f.size){for(s=new Uint8Array(f.size),l=0;f.data.length;)c=f.data.shift(),s.set(c,l),l+=c.byteLength;if(yn.ts.videoPacketContainsKeyFrame(s)){var h=yn.ts.parsePesTime(s);h?(n.firstKeyFrame=h,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}f.size=0}f.data.push(r),f.size+=r.byteLength}}if(p&&n.firstKeyFrame)break;u+=188,d+=188}for(u=(d=e.byteLength)-188,p=!1;u>=0;)if(71!==e[u]||71!==e[d])u--,d--;else{switch(r=e.subarray(u,d),yn.ts.parseType(r,t.pid)){case"pes":o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"video"===o&&i&&(a=yn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),p=!0)}if(p)break;u-=188,d-=188}},wn=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,o=188;o<e.byteLength;)if(71!==e[r]||71!==e[o])r++,o++;else{switch(n=e.subarray(r,o),yn.ts.parseType(n,t.pid)){case"pat":t.pid=yn.ts.parsePat(n);break;case"pmt":var i=yn.ts.parsePmt(n);t.table=t.table||{},Object.keys(i).forEach((function(e){t.table[e]=i[e]}))}r+=188,o+=188}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case qe.H264_STREAM_TYPE:n.video=[],_n(e,t,n),0===n.video.length&&delete n.video;break;case qe.ADTS_STREAM_TYPE:n.audio=[],bn(e,t,n),0===n.audio.length&&delete n.audio}}return n},Cn=function(e,t){var n;return(n=yn.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,o=null,i=null,a=0,s=0;e.length-s>=3;){switch(yn.aac.parseType(e,s)){case"timed-metadata":if(e.length-s<10){n=!0;break}if((a=yn.aac.parseId3TagSize(e,s))>e.length){n=!0;break}null===i&&(t=e.subarray(s,s+a),i=yn.aac.parseAacTimestamp(t)),s+=a;break;case"audio":if(e.length-s<7){n=!0;break}if((a=yn.aac.parseAdtsSize(e,s))>e.length){n=!0;break}null===o&&(t=e.subarray(s,s+a),o=yn.aac.parseSampleRate(t)),r++,s+=a;break;default:s++}if(n)return null}if(null===o||null===i)return null;var l=vn/o;return{audio:[{type:"audio",dts:i,pts:i},{type:"audio",dts:i+1024*r*l,pts:i+1024*r*l}]}}(e):wn(e))&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;(void 0===n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=gn(e.dts,n),e.pts=gn(e.pts,n),e.dtsTime=e.dts/vn,e.ptsTime=e.pts/vn}))}if(e.video&&e.video.length){var r=t;if((void 0===r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=gn(e.dts,r),e.pts=gn(e.pts,r),e.dtsTime=e.dts/vn,e.ptsTime=e.pts/vn})),e.firstKeyFrame){var o=e.firstKeyFrame;o.dts=gn(o.dts,r),o.pts=gn(o.pts,r),o.dtsTime=o.dts/vn,o.ptsTime=o.pts/vn}}}(n,t),n):null},Sn=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ut.Transmuxer(this.options),function(e,t){t.on("data",(function(t){var n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};var r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){var n={start:{decode:me(t.start.dts),presentation:me(t.start.pts)},end:{decode:me(t.end.dts),presentation:me(t.end.pts)},baseMediaDecodeTime:me(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=me(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){var n={start:{decode:me(t.start.dts),presentation:me(t.start.pts)},end:{decode:me(t.end.dts),presentation:me(t.end.pts)},baseMediaDecodeTime:me(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=me(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:me(t.start),end:me(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:me(t.start),end:me(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new on,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),n=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:n&&n.captions||[],logs:n&&n.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,n=e.data,r=cn(t,n);this.self.postMessage({action:"probeMp4StartTime",startTime:r,data:n},[n.buffer])},t.probeMp4Tracks=function(e){var t=e.data,n=un(t);this.self.postMessage({action:"probeMp4Tracks",tracks:n,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,n=e.baseStartTime,r="number"!=typeof n||isNaN(n)?void 0:n*fe,o=Cn(t,r),i=null;o&&((i={hasVideo:o.video&&2===o.video.length||!1,hasAudio:o.audio&&2===o.audio.length||!1}).hasVideo&&(i.videoStart=o.video[0].ptsTime),i.hasAudio&&(i.audioStart=o.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:i,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(he(t)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(he(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new Sn(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new Sn(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}})))),hl=function(e){var t=e.transmuxer,n=e.bytes,r=e.audioAppendStart,o=e.gopsToAlignWith,i=e.remux,a=e.onData,s=e.onTrackInfo,l=e.onAudioTimingInfo,c=e.onVideoTimingInfo,u=e.onVideoSegmentTimingInfo,d=e.onAudioSegmentTimingInfo,p=e.onId3,f=e.onCaptions,h=e.onDone,m=e.onEndedTimeline,g=e.onTransmuxerLog,y=e.isEndOfTimeline,v={buffer:[]},b=y;if(t.onmessage=function(n){t.currentTransmux===e&&("data"===n.data.action&&function(e,t,n){var r=e.data.segment,o=r.type,i=r.initSegment,a=r.captions,s=r.captionStreams,l=r.metadata,c=r.videoFrameDtsTime,u=r.videoFramePtsTime;t.buffer.push({captions:a,captionStreams:s,metadata:l});var d=e.data.segment.boxes||{data:e.data.segment.data},p={type:o,data:new Uint8Array(d.data,d.data.byteOffset,d.data.byteLength),initSegment:new Uint8Array(i.data,i.byteOffset,i.byteLength)};void 0!==c&&(p.videoFrameDtsTime=c),void 0!==u&&(p.videoFramePtsTime=u),n(p)}(n,v,a),"trackinfo"===n.data.action&&s(n.data.trackInfo),"gopInfo"===n.data.action&&function(e,t){t.gopInfo=e.data.gopInfo}(n,v),"audioTimingInfo"===n.data.action&&l(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&c(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&u(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&d(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&p([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&f(n.data.caption),"endedtimeline"===n.data.action&&(b=!1,m()),"log"===n.data.action&&g(n.data.log),"transmuxed"===n.data.type&&(b||(t.onmessage=null,function(e){var t=e.transmuxedData,n=e.callback;t.buffer=[],n(t)}({transmuxedData:v,callback:h}),ml(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(o)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:o}),void 0!==i&&t.postMessage({action:"setRemux",remux:i}),n.byteLength){var _=n instanceof ArrayBuffer?n:n.buffer,w=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:_,byteOffset:w,byteLength:n.byteLength},[_])}y&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},ml=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():hl(e.currentTransmux))},gl=function(e,t){e.postMessage({action:t}),ml(e)},yl=function(e,t){if(!t.currentTransmux)return t.currentTransmux=e,void gl(t,e);t.transmuxQueue.push(gl.bind(null,t,e))},vl=function(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void hl(e);e.transmuxer.transmuxQueue.push(e)},bl=function(e){yl("reset",e)},_l=function(e){var t=new fl;t.currentTransmux=null,t.transmuxQueue=[];var n=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)},t.postMessage({action:"init",options:e}),t},wl=function(e){var t=e.transmuxer,n=e.endAction||e.action,r=e.callback,o=l({},e,{endAction:null,transmuxer:null,callback:null});if(t.addEventListener("message",(function o(i){i.data.action===n&&(t.removeEventListener("message",o),i.data.data&&(i.data.data=new Uint8Array(i.data.data,e.byteOffset||0,e.byteLength||i.data.data.byteLength),e.data&&(e.data=i.data.data)),r(i.data))})),e.data){var i=e.data instanceof ArrayBuffer;o.byteOffset=i?0:e.data.byteOffset,o.byteLength=e.data.byteLength;var a=[i?e.data:e.data.buffer];t.postMessage(o,a)}else t.postMessage(o)},Cl=2,Sl=-101,El=-102,xl=function(e){e.forEach((function(e){e.abort()}))},kl=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Sl,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:El,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Cl,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Cl,xhr:t}:null},Ol=function(e,t,n){return function(r,o){var i=o.response,a=kl(r,o);if(a)return n(a,e);if(16!==i.byteLength)return n({status:o.status,message:"Invalid HLS key at URL: "+o.uri,code:Cl,xhr:o},e);for(var s=new DataView(i),l=new Uint32Array([s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12)]),c=0;c<t.length;c++)t[c].bytes=l;return n(null,e)}},Tl=function(e,t){var n=At(e.map.bytes);if("mp4"!==n){var r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:"Found unsupported "+(n||"unknown")+" container for initialization segment at URL: "+r,code:Cl})}wl({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:function(n){var r=n.tracks,o=n.data;return e.map.bytes=o,r.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"==typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null)}})},Al=function(e){var t=e.segment,n=e.finishProcessingFn,r=e.responseType;return function(e,o){var i=kl(e,o);if(i)return n(i,t);var a="arraybuffer"!==r&&o.responseText?function(e){for(var t=new Uint8Array(new ArrayBuffer(e.length)),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer}(o.responseText.substring(t.lastReachedChar||0)):o.response;return t.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(o),t.key?t.encryptedBytes=new Uint8Array(a):t.bytes=new Uint8Array(a),n(null,t)}},Pl=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog,h=t.map&&t.map.tracks||{},m=Boolean(h.audio&&h.video),g=o.bind(null,t,"audio","start"),y=o.bind(null,t,"audio","end"),v=o.bind(null,t,"video","start"),b=o.bind(null,t,"video","end");wl({action:"probeTs",transmuxer:t.transmuxer,data:n,baseStartTime:t.baseStartTime,callback:function(e){t.bytes=n=e.data;var o=e.result;o&&(r(t,{hasAudio:o.hasAudio,hasVideo:o.hasVideo,isMuxed:m}),r=null,o.hasAudio&&!m&&g(o.audioStart),o.hasVideo&&v(o.videoStart),g=null,v=null),vl({bytes:n,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,remux:m,onData:function(e){e.type="combined"===e.type?"video":e.type,d(t,e)},onTrackInfo:function(e){r&&(m&&(e.isMuxed=!0),r(t,e))},onAudioTimingInfo:function(e){g&&void 0!==e.start&&(g(e.start),g=null),y&&void 0!==e.end&&y(e.end)},onVideoTimingInfo:function(e){v&&void 0!==e.start&&(v(e.start),v=null),b&&void 0!==e.end&&b(e.end)},onVideoSegmentTimingInfo:function(e){i(e)},onAudioSegmentTimingInfo:function(e){a(e)},onId3:function(e,n){s(t,e,n)},onCaptions:function(e){l(t,[e])},isEndOfTimeline:c,onEndedTimeline:function(){u()},onTransmuxerLog:f,onDone:function(e){p&&(e.type="combined"===e.type?"video":e.type,p(null,t,e))}})}})},Rl=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog,h=new Uint8Array(n);if(function(e){return ft(e,["moof"]).length>0}(h)){t.isFmp4=!0;var m=t.map.tracks,g={isFmp4:!0,hasVideo:!!m.video,hasAudio:!!m.audio};m.audio&&m.audio.codec&&"enca"!==m.audio.codec&&(g.audioCodec=m.audio.codec),m.video&&m.video.codec&&"encv"!==m.video.codec&&(g.videoCodec=m.video.codec),m.video&&m.audio&&(g.isMuxed=!0),r(t,g);var y=function(e){d(t,{data:h,type:g.hasAudio&&!g.isMuxed?"audio":"video"}),e&&e.length&&l(t,e),p(null,t,{})};wl({action:"probeMp4StartTime",timescales:t.map.timescales,data:h,transmuxer:t.transmuxer,callback:function(e){var r=e.data,i=e.startTime;n=r.buffer,t.bytes=h=r,g.hasAudio&&!g.isMuxed&&o(t,"audio","start",i),g.hasVideo&&o(t,"video","start",i),m.video&&r.byteLength&&t.transmuxer?wl({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:t.transmuxer,data:h,timescales:t.map.timescales,trackIds:[m.video.id],callback:function(e){n=e.data.buffer,t.bytes=h=e.data,e.logs.forEach((function(e){f(qa.mergeOptions(e,{stream:"mp4CaptionParser"}))})),y(e.captions)}}):y()}})}else if(t.transmuxer){if(void 0===t.container&&(t.container=At(h)),"ts"!==t.container&&"aac"!==t.container)return r(t,{hasAudio:!1,hasVideo:!1}),void p(null,t,{});Pl({segment:t,bytes:n,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f})}else p(null,t,{})},Il=function(e,t){var n,r=e.id,o=e.key,i=e.encryptedBytes,a=e.decryptionWorker;a.addEventListener("message",(function e(n){if(n.data.source===r){a.removeEventListener("message",e);var o=n.data.decrypted;t(new Uint8Array(o.bytes,o.byteOffset,o.byteLength))}})),n=o.bytes.slice?o.bytes.slice():new Uint32Array(Array.prototype.slice.call(o.bytes)),a.postMessage(Gs({source:r,encrypted:i,key:n,iv:o.iv}),[i.buffer,n.buffer])},Ml=function(e){var t=e.activeXhrs,n=e.decryptionWorker,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog,h=0,m=!1;return function(e,g){if(!m){if(e)return m=!0,xl(t),p(e,g);if((h+=1)===t.length){var y=function(){if(g.encryptedBytes)return function(e){var t=e.decryptionWorker,n=e.segment,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog;Il({id:n.requestId,key:n.key,encryptedBytes:n.encryptedBytes,decryptionWorker:t},(function(e){n.bytes=e,Rl({segment:n,bytes:n.bytes,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f})}))}({decryptionWorker:n,segment:g,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f});Rl({segment:g,bytes:g.bytes,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f})};if(g.endOfAllRequests=Date.now(),g.map&&g.map.encryptedBytes&&!g.map.bytes)return Il({decryptionWorker:n,id:g.requestId+"-init",encryptedBytes:g.map.encryptedBytes,key:g.map.key},(function(e){g.map.bytes=e,Tl(g,(function(e){if(e)return xl(t),p(e,g);y()}))}));y()}}}},Nl=function(e){var t=e.segment,n=e.progressFn;return e.trackInfoFn,e.timingInfoFn,e.videoSegmentTimingInfoFn,e.audioSegmentTimingInfoFn,e.id3Fn,e.captionsFn,e.isEndOfTimeline,e.endedTimelineFn,e.dataFn,function(e){if(!e.target.aborted)return t.stats=qa.mergeOptions(t.stats,function(e){var t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n}(e)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),n(e,t)}},Dl=function(e){var t=e.xhr,n=e.xhrOptions,r=e.decryptionWorker,o=e.segment,i=e.abortFn,a=e.progressFn,s=e.trackInfoFn,l=e.timingInfoFn,c=e.videoSegmentTimingInfoFn,u=e.audioSegmentTimingInfoFn,d=e.id3Fn,p=e.captionsFn,f=e.isEndOfTimeline,h=e.endedTimelineFn,m=e.dataFn,g=e.doneFn,y=e.onTransmuxerLog,v=[],b=Ml({activeXhrs:v,decryptionWorker:r,trackInfoFn:s,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:u,id3Fn:d,captionsFn:p,isEndOfTimeline:f,endedTimelineFn:h,dataFn:m,doneFn:g,onTransmuxerLog:y});if(o.key&&!o.key.bytes){var _=[o.key];o.map&&!o.map.bytes&&o.map.key&&o.map.key.resolvedUri===o.key.resolvedUri&&_.push(o.map.key);var w=t(qa.mergeOptions(n,{uri:o.key.resolvedUri,responseType:"arraybuffer"}),Ol(o,_,b));v.push(w)}if(o.map&&!o.map.bytes){if(o.map.key&&(!o.key||o.key.resolvedUri!==o.map.key.resolvedUri)){var C=t(qa.mergeOptions(n,{uri:o.map.key.resolvedUri,responseType:"arraybuffer"}),Ol(o,[o.map.key],b));v.push(C)}var S=t(qa.mergeOptions(n,{uri:o.map.resolvedUri,responseType:"arraybuffer",headers:Hs(o.map)}),function(e){var t=e.segment,n=e.finishProcessingFn;return function(e,r){var o=kl(e,r);if(o)return n(o,t);var i=new Uint8Array(r.response);if(t.map.key)return t.map.encryptedBytes=i,n(null,t);t.map.bytes=i,Tl(t,(function(e){if(e)return e.xhr=r,e.status=r.status,n(e,t);n(null,t)}))}}({segment:o,finishProcessingFn:b}));v.push(S)}var E=qa.mergeOptions(n,{uri:o.part&&o.part.resolvedUri||o.resolvedUri,responseType:"arraybuffer",headers:Hs(o)}),x=t(E,Al({segment:o,finishProcessingFn:b,responseType:E.responseType}));x.addEventListener("progress",Nl({segment:o,progressFn:a,trackInfoFn:s,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:u,id3Fn:d,captionsFn:p,isEndOfTimeline:f,endedTimelineFn:h,dataFn:m})),v.push(x);var k={};return v.forEach((function(e){e.addEventListener("loadend",function(e){var t=e.loadendState,n=e.abortFn;return function(e){e.target.aborted&&n&&!t.calledAbortFn&&(n(),t.calledAbortFn=!0)}}({loadendState:k,abortFn:i}))})),function(){return xl(v)}},jl=Ka("CodecUtils"),Ll=function(e,t){var n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},Bl=function(e){var t={};return e.forEach((function(e){var n=e.mediaType,r=e.type,o=e.details;t[n]=t[n]||[],t[n].push(V(""+r+o))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return jl("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(t[e]=null);t[e]=t[e][0]})),t},Fl=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},Ul=function(e,t){var n=t.attributes||{},r=Bl(function(e){var t=e.attributes||{};if(t.CODECS)return z(t.CODECS)}(t)||[]);if(Ll(e,t)&&!r.audio&&!function(e,t){if(!Ll(e,t))return!0;var n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(var o in r)if(!r[o].uri&&!r[o].playlists)return!0;return!1}(e,t)){var o=Bl(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var o=n[r];if(o.default&&o.playlists)return z(o.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[]);o.audio&&(r.audio=o.audio)}return r},Hl=Ka("PlaylistSelector"),Vl=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},zl=function(e,t){if(!e)return"";var n=i().getComputedStyle(e);return n?n[t]:""},ql=function(e,t){var n=e.slice();e.sort((function(e,r){var o=t(e,r);return 0===o?n.indexOf(e)-n.indexOf(r):o}))},Gl=function(e,t){var n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||i().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||i().Number.MAX_VALUE)},Wl=function(e,t,n,r,o,a){if(e){var s={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:o},l=e.playlists;ws.isAudioOnly(e)&&(l=a.getAudioTrackPlaylists_(),s.audioOnly=!0);var c=l.map((function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||i().Number.MAX_VALUE,width:t,height:n,playlist:e}}));ql(c,(function(e,t){return e.bandwidth-t.bandwidth}));var u=(c=c.filter((function(e){return!ws.isIncompatible(e.playlist)}))).filter((function(e){return ws.isEnabled(e.playlist)}));u.length||(u=c.filter((function(e){return!ws.isDisabled(e.playlist)})));var d=u.filter((function(e){return e.bandwidth*ll.BANDWIDTH_VARIANCE<t})),p=d[d.length-1],f=d.filter((function(e){return e.bandwidth===p.bandwidth}))[0];if(!1===o){var h=f||u[0]||c[0];if(h&&h.playlist){var m="sortedPlaylistReps";return f&&(m="bandwidthBestRep"),u[0]&&(m="enabledPlaylistReps"),Hl("choosing "+Vl(h)+" using "+m+" with options",s),h.playlist}return Hl("could not choose a playlist with options",s),null}var g=d.filter((function(e){return e.width&&e.height}));ql(g,(function(e,t){return e.width-t.width}));var y=g.filter((function(e){return e.width===n&&e.height===r}));p=y[y.length-1];var v,b,_,w,C=y.filter((function(e){return e.bandwidth===p.bandwidth}))[0];if(C||(b=(v=g.filter((function(e){return e.width>n||e.height>r}))).filter((function(e){return e.width===v[0].width&&e.height===v[0].height})),p=b[b.length-1],_=b.filter((function(e){return e.bandwidth===p.bandwidth}))[0]),a.experimentalLeastPixelDiffSelector){var S=g.map((function(e){return e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e}));ql(S,(function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff})),w=S[0]}var E=w||_||C||f||u[0]||c[0];if(E&&E.playlist){var x="sortedPlaylistReps";return w?x="leastPixelDiffRep":_?x="resolutionPlusOneRep":C?x="resolutionBestRep":f?x="bandwidthBestRep":u[0]&&(x="enabledPlaylistReps"),Hl("choosing "+Vl(E)+" using "+x+" with options",s),E.playlist}return Hl("could not choose a playlist with options",s),null}},Yl=function(){var e=this.useDevicePixelRatio&&i().devicePixelRatio||1;return Wl(this.playlists.master,this.systemBandwidth,parseInt(zl(this.tech_.el(),"width"),10)*e,parseInt(zl(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},Zl=function(e){var t=e.inbandTextTracks,n=e.metadataArray,r=e.timestampOffset,o=e.videoDuration;if(n){var a=i().WebKitDataCue||i().VTTCue,s=t.metadataTrack_;if(s&&(n.forEach((function(e){var t=e.cueTime+r;!("number"!=typeof t||i().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((function(e){var n=new a(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return qa.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return qa.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return qa.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(n),s.addCue(n)}))})),s.cues&&s.cues.length)){for(var l=s.cues,c=[],u=0;u<l.length;u++)l[u]&&c.push(l[u]);var d=c.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),p=Object.keys(d).sort((function(e,t){return Number(e)-Number(t)}));p.forEach((function(e,t){var n=d[e],r=Number(p[t+1])||o;n.forEach((function(e){e.endTime=r}))}))}}},Kl=function(e,t,n){var r,o;if(n&&n.cues)for(r=n.cues.length;r--;)(o=n.cues[r]).startTime>=e&&o.endTime<=t&&n.removeCue(o)},$l=function(e){return"number"==typeof e&&isFinite(e)},Ql=function(e){var t=e.startOfSegment,n=e.duration,r=e.segment,o=e.part,i=e.playlist,a=i.mediaSequence,s=i.id,l=i.segments,c=void 0===l?[]:l,u=e.mediaIndex,d=e.partIndex,p=e.timeline,f=c.length-1,h="mediaIndex/partIndex increment";e.getMediaInfoForTime?h="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(h="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(h+=" with independent "+e.independent);var m="number"==typeof d,g=e.segment.uri?"segment":"pre-segment",y=m?ss({preloadSegment:r})-1:0;return g+" ["+(a+u)+"/"+(a+f)+"]"+(m?" part ["+d+"/"+y+"]":"")+" segment start/end ["+r.start+" => "+r.end+"]"+(m?" part start/end ["+o.start+" => "+o.end+"]":"")+" startOfSegment ["+t+"] duration ["+n+"] timeline ["+p+"] selected by ["+h+"] playlist ["+s+"]"},Xl=function(e){return e+"TimingInfo"},Jl=function(e){var t=e.timelineChangeController,n=e.currentTimeline,r=e.segmentTimeline,o=e.loaderType,i=e.audioDisabled;if(n===r)return!1;if("audio"===o){var a=t.lastTimelineChange({type:"main"});return!a||a.to!==r}if("main"===o&&i){var s=t.pendingTimelineChange({type:"audio"});return!s||s.to!==r}return!1},ec=function(e){var t=e.segmentDuration,n=e.maxDuration;return!!t&&Math.round(t)>n+1/30},tc=function(e,t){if("hls"!==t)return null;var n,r,o=(n={audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo},r=0,["video","audio"].forEach((function(e){var t=n[e+"TimingInfo"];if(t){var o,a=t.start,s=t.end;"bigint"==typeof a||"bigint"==typeof s?o=i().BigInt(s)-i().BigInt(a):"number"==typeof a&&"number"==typeof s&&(o=s-a),void 0!==o&&o>r&&(r=o)}})),"bigint"==typeof r&&r<Number.MAX_SAFE_INTEGER&&(r=Number(r)),r);if(!o)return null;var a=e.playlist.targetDuration,s=ec({segmentDuration:o,maxDuration:2*a}),l=ec({segmentDuration:o,maxDuration:a}),c="Segment with index "+e.mediaIndex+" from playlist "+e.playlist.id+" has a duration of "+o+" when the reported duration is "+e.duration+" and the target duration is "+a+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return s||l?{severity:s?"warn":"info",message:c}:null},nc=function(e){function t(t,n){var r;if(r=e.call(this)||this,!t)throw new TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");return r.bandwidth=t.bandwidth,r.throughput={rate:0,count:0},r.roundTrip=NaN,r.resetStats_(),r.mediaIndex=null,r.partIndex=null,r.hasPlayed_=t.hasPlayed,r.currentTime_=t.currentTime,r.seekable_=t.seekable,r.seeking_=t.seeking,r.duration_=t.duration,r.mediaSource_=t.mediaSource,r.vhs_=t.vhs,r.loaderType_=t.loaderType,r.currentMediaInfo_=void 0,r.startingMediaInfo_=void 0,r.segmentMetadataTrack_=t.segmentMetadataTrack,r.goalBufferLength_=t.goalBufferLength,r.sourceType_=t.sourceType,r.sourceUpdater_=t.sourceUpdater,r.inbandTextTracks_=t.inbandTextTracks,r.state_="INIT",r.timelineChangeController_=t.timelineChangeController,r.shouldSaveSegmentTimingInfo_=!0,r.parse708captions_=t.parse708captions,r.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,r.captionServices_=t.captionServices,r.experimentalExactManifestTimings=t.experimentalExactManifestTimings,r.checkBufferTimeout_=null,r.error_=void 0,r.currentTimeline_=-1,r.pendingSegment_=null,r.xhrOptions_=null,r.pendingSegments_=[],r.audioDisabled_=!1,r.isPendingTimestampOffset_=!1,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=qa.browser.IE_VERSION>=11,r.appendInitSegment_={audio:!0,video:!0},r.playlistOfLastInitSegment_={audio:null,video:null},r.callQueue_=[],r.loadQueue_=[],r.metadataQueue_={id3:[],caption:[]},r.waitingOnRemove_=!1,r.quotaExceededErrorRetryTimeout_=null,r.activeInitSegmentId_=null,r.initSegments_={},r.cacheEncryptionKeys_=t.cacheEncryptionKeys,r.keyCache_={},r.decrypter_=t.decrypter,r.syncController_=t.syncController,r.syncPoint_={segmentIndex:0,time:0},r.transmuxer_=r.createTransmuxer_(),r.triggerSyncInfoUpdate_=function(){return r.trigger("syncinfoupdate")},r.syncController_.on("syncinfoupdate",r.triggerSyncInfoUpdate_),r.mediaSource_.addEventListener("sourceopen",(function(){r.isEndOfStream_()||(r.ended_=!1)})),r.fetchAtBuffer_=!1,r.logger_=Ka("SegmentLoader["+r.loaderType_+"]"),Object.defineProperty(d(r),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),r.sourceUpdater_.on("ready",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"main"===r.loaderType_&&r.timelineChangeController_.on("pendingtimelinechange",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"audio"===r.loaderType_&&r.timelineChangeController_.on("timelinechange",(function(){r.hasEnoughInfoToLoad_()&&r.processLoadQueue_(),r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),r}f(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return _l({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},n.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},n.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},n.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},n.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},n.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,i().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},n.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},n.error=function(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},n.endOfStream=function(){this.ended_=!0,this.transmuxer_&&bl(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},n.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return qa.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,n=e.hasVideo,r=e.isMuxed;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ws(e),r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),r||e},n.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ys(e),r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});var o={resolvedUri:(r||e).resolvedUri};return r&&(o.bytes=r.bytes),o},n.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},n.load=function(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.playlist=function(e,t){if(void 0===t&&(t={}),e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var o=null;if(n&&(n.id?o=n.id:n.uri&&(o=n.uri)),this.logger_("playlist update ["+o+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var i=e.mediaSequence-n.mediaSequence;if(this.logger_("live window shift ["+i+"]"),null!==this.mediaIndex)if(this.mediaIndex-=i,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var a=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!a.parts||!a.parts.length||!a.parts[this.partIndex])){var s=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=s}}r&&(r.mediaIndex-=i,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}},n.pause=function(){this.checkBufferTimeout_&&(i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},n.paused=function(){return null===this.checkBufferTimeout_},n.resetEverything=function(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},n.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},n.resyncLoader=function(){this.transmuxer_&&bl(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},n.remove=function(e,t,n,r){if(void 0===n&&(n=function(){}),void 0===r&&(r=!1),t===1/0&&(t=this.duration_()),t<=e)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var o=1,i=function(){0===--o&&n()};for(var a in!r&&this.audioDisabled_||(o++,this.sourceUpdater_.removeAudio(e,t,i)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=function(e,t,n,r){for(var o=Math.ceil((t-r)*Pt.ONE_SECOND_IN_TS),i=Math.ceil((n-r)*Pt.ONE_SECOND_IN_TS),a=e.slice(),s=e.length;s--&&!(e[s].pts<=i););if(-1===s)return a;for(var l=s+1;l--&&!(e[l].pts<=o););return l=Math.max(l,0),a.splice(l,s-l+1),a}(this.gopBuffer_,e,t,this.timeMapping_),o++,this.sourceUpdater_.removeVideo(e,t,i)),this.inbandTextTracks_)Kl(e,t,this.inbandTextTracks_[a]);Kl(e,t,this.segmentMetadataTrack_),i()}else this.logger_("skipping remove because no source updater or starting media info")},n.monitorBuffer_=function(){this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),1)},n.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),500)},n.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},n.isEndOfStream_=function(e,t,n){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===n&&(n=this.partIndex),!t||!this.mediaSource_)return!1;var r="number"==typeof e&&t.segments[e],o=e+1===t.segments.length,i=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&o&&i},n.chooseNextRequest_=function(){var e=this.buffered_(),t=ts(e)||0,n=ns(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,o=n>=this.goalBufferLength_(),i=this.playlist_.segments;if(!i.length||r||o)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var a={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(a.isSyncRequest)a.mediaIndex=function(e,t,n){t=t||[];for(var r=[],o=0,i=0;i<t.length;i++){var a=t[i];if(e===a.timeline&&(r.push(i),(o+=a.duration)>n))return i}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,i,t);else if(null!==this.mediaIndex){var s=i[this.mediaIndex],l="number"==typeof this.partIndex?this.partIndex:-1;a.startOfSegment=s.end?s.end:t,s.parts&&s.parts[l+1]?(a.mediaIndex=this.mediaIndex,a.partIndex=l+1):a.mediaIndex=this.mediaIndex+1}else{var c=ws.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),u=c.segmentIndex,d=c.startTime,p=c.partIndex;a.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),a.mediaIndex=u,a.startOfSegment=d,a.partIndex=p}var f=i[a.mediaIndex],h=f&&"number"==typeof a.partIndex&&f.parts&&f.parts[a.partIndex];if(!f||"number"==typeof a.partIndex&&!h)return null;if("number"!=typeof a.partIndex&&f.parts&&(a.partIndex=0,h=f.parts[0]),!n&&h&&!h.independent)if(0===a.partIndex){var m=i[a.mediaIndex-1],g=m.parts&&m.parts.length&&m.parts[m.parts.length-1];g&&g.independent&&(a.mediaIndex-=1,a.partIndex=m.parts.length-1,a.independent="previous segment")}else f.parts[a.partIndex-1].independent&&(a.partIndex-=1,a.independent="previous part");var y=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return a.mediaIndex>=i.length-1&&y&&!this.seeking_()?null:this.generateSegmentInfo_(a)},n.generateSegmentInfo_=function(e){var t=e.independent,n=e.playlist,r=e.mediaIndex,o=e.startOfSegment,i=e.isSyncRequest,a=e.partIndex,s=e.forceTimestampOffset,l=e.getMediaInfoForTime,c=n.segments[r],u="number"==typeof a&&c.parts[a],d={requestId:"segment-loader-"+Math.random(),uri:u&&u.resolvedUri||c.resolvedUri,mediaIndex:r,partIndex:u?a:null,isSyncRequest:i,startOfSegment:o,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:c.timeline,duration:u&&u.duration||c.duration,segment:c,part:u,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:l,independent:t},p=void 0!==s?s:this.isPendingTimestampOffset_;d.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:c.timeline,currentTimeline:this.currentTimeline_,startOfSegment:o,buffered:this.buffered_(),overrideCheck:p});var f=ts(this.sourceUpdater_.audioBuffered());return"number"==typeof f&&(d.audioAppendStart=f-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(d.gopsToAlignWith=function(e,t,n){if(null==t||!e.length)return[];var r,o=Math.ceil((t-n+3)*Pt.ONE_SECOND_IN_TS);for(r=0;r<e.length&&!(e[r].pts>o);r++);return e.slice(r)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),d},n.timestampOffsetForSegment_=function(e){return n=(t=e).segmentTimeline,r=t.currentTimeline,o=t.startOfSegment,i=t.buffered,t.overrideCheck||n!==r?n<r?o:i.length?i.end(i.length-1):o:null;var t,n,r,o,i},n.earlyAbortWhenNeeded_=function(e){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)){var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,o=ws.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),i=function(e,t,n){return void 0===n&&(n=1),((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(!(o<=i)){var a=function(e){var t=e.master,n=e.currentTime,r=e.bandwidth,o=e.duration,i=e.segmentDuration,a=e.timeUntilRebuffer,s=e.currentTimeline,l=e.syncController,c=t.playlists.filter((function(e){return!ws.isIncompatible(e)})),u=c.filter(ws.isEnabled);u.length||(u=c.filter((function(e){return!ws.isDisabled(e)})));var d=u.filter(ws.hasAttribute.bind(null,"BANDWIDTH")).map((function(e){var t=l.getSyncPoint(e,o,s,n)?1:2;return{playlist:e,rebufferingImpact:ws.estimateSegmentRequestTime(i,r,e)*t-a}})),p=d.filter((function(e){return e.rebufferingImpact<=0}));return ql(p,(function(e,t){return Gl(t.playlist,e.playlist)})),p.length?p[0]:(ql(d,(function(e,t){return e.rebufferingImpact-t.rebufferingImpact})),d[0]||null)}({master:this.vhs_.playlists.master,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:i,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(a){var s=o-i-a.rebufferingImpact,l=.5;i<=1/30&&(l=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<l||(this.bandwidth=a.playlist.attributes.BANDWIDTH*ll.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},n.handleAbort_=function(e){this.logger_("Aborting "+Ql(e)),this.mediaRequestsAborted+=1},n.handleProgress_=function(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")},n.handleTrackInfo_=function(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;var n=Object.keys(e).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(i!==r[o])return!1;if(e[i]!==t[i])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},n.handleTimingInfo_=function(e,t,n,r){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){var o=this.pendingSegment_,i=Xl(t);o[i]=o[i]||{},o[i][n]=r,this.logger_("timinginfo: "+t+" - "+n+" - "+r),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},n.handleCaptions_=function(e,t){var n=this;if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(0!==t.length)if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),o={};t.forEach((function(e){o[e.stream]=o[e.stream]||{startTime:1/0,captions:[],endTime:0};var t=o[e.stream];t.startTime=Math.min(t.startTime,e.startTime+r),t.endTime=Math.max(t.endTime,e.endTime+r),t.captions.push(e)})),Object.keys(o).forEach((function(e){var t=o[e],a=t.startTime,s=t.endTime,l=t.captions,c=n.inbandTextTracks_;n.logger_("adding cues from "+a+" -> "+s+" for "+e),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);var o=t.textTracks().getTrackById(r);if(o)e[n]=o;else{var i=n,a=n,s=!1,l=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];l&&(i=l.label,a=l.language,s=l.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:s,label:i,language:a},!1).track}}}(c,n.vhs_.tech_,e),Kl(a,s,c[e]),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var o=i().WebKitDataCue||i().VTTCue;n.forEach((function(e){var n=e.stream;t[n].addCue(new o(e.startTime+r,e.endTime+r,e.text))}))}}({captionArray:l,inbandTextTracks:c,timestampOffset:r})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));else this.logger_("SegmentLoader received no captions from a caption event")},n.handleId3_=function(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(e,t,n){e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)}(this.inbandTextTracks_,n,this.vhs_.tech_),Zl({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n))},n.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(e){return e()})),this.metadataQueue_.caption.forEach((function(e){return e()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},n.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach((function(e){return e()}))},n.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach((function(e){return e()}))},n.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!Jl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},n.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},n.getPendingSegmentPlaylist=function(){return this.pendingSegment_?this.pendingSegment_.playlist:null},n.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var n=t.hasAudio,r=t.hasVideo,o=t.isMuxed;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!o&&!e.audioTimingInfo)&&!Jl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[Xl(t.type)].start;else{var r,o=this.getCurrentMediaInfo_(),i="main"===this.loaderType_&&o&&o.hasVideo;i&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:i,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});var a=this.chooseNextRequest_();if(a.mediaIndex!==n.mediaIndex||a.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},n.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},n.getInitSegmentAndUpdateState_=function(e){var t=e.type,n=e.initSegment,r=e.map,o=e.playlist;if(r){var i=Ws(r);if(this.activeInitSegmentId_===i)return null;n=this.initSegmentForMap(r,!0).bytes,this.activeInitSegmentId_=i}return n&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=o,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,n):null},n.handleQuotaExceededError_=function(e,t){var n=this,r=e.segmentInfo,o=e.type,a=e.bytes,s=this.sourceUpdater_.audioBuffered(),l=this.sourceUpdater_.videoBuffered();s.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+es(s).join(", ")),l.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+es(l).join(", "));var c=s.length?s.start(0):0,u=s.length?s.end(s.length-1):0,d=l.length?l.start(0):0,p=l.length?l.end(l.length-1):0;if(u-c<=1&&p-d<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+a.byteLength+", audio buffer: "+es(s).join(", ")+", video buffer: "+es(l).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:r,type:o,bytes:a}));var f=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+f),this.remove(0,f,(function(){n.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=i().setTimeout((function(){n.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),n.quotaExceededErrorRetryTimeout_=null,n.processCallQueue_()}),1e3)}),!0)},n.handleAppendError_=function(e,t){var n=e.segmentInfo,r=e.type,o=e.bytes;t&&(22!==t.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(r+" append of "+o.length+"b failed for segment #"+n.mediaIndex+" in playlist "+n.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:n,type:r,bytes:o}))},n.appendToSourceBuffer_=function(e){var t,n,r,o=e.segmentInfo,i=e.type,a=e.initSegment,s=e.data,l=e.bytes;if(!l){var c=[s],u=s.byteLength;a&&(c.unshift(a),u+=a.byteLength),r=0,(t={bytes:u,segments:c}).bytes&&(n=new Uint8Array(t.bytes),t.segments.forEach((function(e){n.set(e,r),r+=e.byteLength}))),l=n}this.sourceUpdater_.appendBuffer({segmentInfo:o,type:i,bytes:l},this.handleAppendError_.bind(this,{segmentInfo:o,type:i,bytes:l}))},n.handleSegmentTimingInfo_=function(e,t,n){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var r=this.pendingSegment_.segment,o=e+"TimingInfo";r[o]||(r[o]={}),r[o].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[o].transmuxedPresentationStart=n.start.presentation,r[o].transmuxedDecodeStart=n.start.decode,r[o].transmuxedPresentationEnd=n.end.presentation,r[o].transmuxedDecodeEnd=n.end.decode,r[o].baseMediaDecodeTime=n.baseMediaDecodeTime}},n.appendData_=function(e,t){var n=t.type,r=t.data;if(r&&r.byteLength&&("audio"!==n||!this.audioDisabled_)){var o=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:o,data:r})}},n.loadSegment_=function(e){var t=this;this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((function(){var n=l({},e,{forceTimestampOffset:!0});l(e,t.generateSegmentInfo_(n)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)}))},n.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var n=this.createSimplifiedSegmentObj_(e),r=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),o=null!==this.mediaIndex,i=e.timeline!==this.currentTimeline_&&e.timeline>0,a=r||o&&i;this.logger_("Requesting "+Ql(e)),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=Dl({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:a,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(n){var r=n.message,o=n.level,i=n.stream;t.logger_(Ql(e)+" logged from transmuxer stream "+i+" as a "+o+": "+r)}})},n.trimBackBuffer_=function(e){var t=function(e,t,n){var r=t-ll.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));var o=t-n;return Math.min(o,r)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},n.createSimplifiedSegmentObj_=function(e){var t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},o=e.playlist.segments[e.mediaIndex-1];if(o&&o.timeline===t.timeline&&(o.videoTimingInfo?r.baseStartTime=o.videoTimingInfo.transmuxedDecodeEnd:o.audioTimingInfo&&(r.baseStartTime=o.audioTimingInfo.transmuxedDecodeEnd)),t.key){var i=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=i}return t.map&&(r.map=this.initSegmentForMap(t.map)),r},n.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},n.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<1/60?this.logger_("Ignoring segment's bandwidth because its duration of "+e+" is less than the min to record "+1/60):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)},n.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")},n.segmentRequestFinished_=function(e,t,n){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));else if(this.saveTransferStats_(t.stats),this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId){if(e){if(this.pendingSegment_=null,this.state="READY",e.code===El)return;return this.pause(),e.code===Sl?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=function(e,t,n){if(!t.length)return e;if(n)return t.slice();for(var r=t[0].pts,o=0;o<e.length&&!(e[o].pts>=r);o++);return e.slice(0,o).concat(t)}(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}},n.setTimeMapping_=function(e){var t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)},n.updateMediaSecondsLoaded_=function(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},n.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},n.trueSegmentStart_=function(e){var t=e.currentStart,n=e.playlist,r=e.mediaIndex,o=e.firstVideoFrameTimeForData,i=e.currentVideoTimestampOffset,a=e.useVideoTimingInfo,s=e.videoTimingInfo,l=e.audioTimingInfo;if(void 0!==t)return t;if(!a)return l.start;var c=n.segments[r-1];return 0!==r&&c&&void 0!==c.start&&c.end===o+i?s.start:o},n.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var n=t.hasAudio,r=t.hasVideo,o=t.isMuxed,i="main"===this.loaderType_&&r,a=!this.audioDisabled_&&n&&!o;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);i&&e.waitingOnAppends++,a&&e.waitingOnAppends++,i&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),a&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},n.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},n.checkForIllegalMediaSwitch=function(e){var t=function(e,t,n){return"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},n.updateSourceBufferTimestampOffset_=function(e){if(null!==e.timestampOffset&&"number"==typeof e.timingInfo.start&&!e.changedTimestampOffset&&"main"===this.loaderType_){var t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}},n.getSegmentStartTimeForTimestampOffsetCalculation_=function(e){var t=e.videoTimingInfo,n=e.audioTimingInfo,r=e.timingInfo;return this.useDtsForTimestampOffset_?t&&"number"==typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:n&&"number"==typeof n.transmuxedDecodeStart?n.transmuxedDecodeStart:r.start:r.start},n.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"==typeof n.end?n.end:n.start+e.duration)},n.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});var t=tc(e,this.sourceType_);if(t&&("warn"===t.severity?qa.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",!e.isSyncRequest||(this.trigger("syncinfoupdate"),e.hasAppendedData_)){this.logger_("Appended "+Ql(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");var n=e.segment,r=e.part,o=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,i=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(o||i)return this.logger_("bad "+(o?"segment":"part")+" "+Ql(e)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+Ql(e))},n.recordThroughput_=function(e){if(e.duration<1/60)this.logger_("Ignoring segment's throughput because its duration of "+e.duration+" is less than the min to record "+1/60);else{var t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}},n.addSegmentMetadataCue_=function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if($l(n)&&$l(r)){Kl(n,r,this.segmentMetadataTrack_);var o=i().WebKitDataCue||i().VTTCue,a={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},s=new o(n,r,JSON.stringify(a));s.value=a,this.segmentMetadataTrack_.addCue(s)}}},t}(qa.EventTarget);function rc(){}var oc,ic=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))},ac=["video","audio"],sc=function(e,t){var n=t[e+"Buffer"];return n&&n.updating||t.queuePending[e]},lc=function e(t,n){if(0!==n.queue.length){var r=0,o=n.queue[r];if("mediaSource"!==o.type){if("mediaSource"!==t&&n.ready()&&"closed"!==n.mediaSource.readyState&&!sc(t,n)){if(o.type!==t){if(null===(r=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];if("mediaSource"===r.type)return null;if(r.type===e)return n}return null}(t,n.queue)))return;o=n.queue[r]}return n.queue.splice(r,1),n.queuePending[t]=o,o.action(t,n),o.doneFn?void 0:(n.queuePending[t]=null,void e(t,n))}}else n.updating()||"closed"===n.mediaSource.readyState||(n.queue.shift(),o.action(n),o.doneFn&&o.doneFn(),e("audio",n),e("video",n))}},cc=function(e,t){var n=t[e+"Buffer"],r=ic(e);n&&(n.removeEventListener("updateend",t["on"+r+"UpdateEnd_"]),n.removeEventListener("error",t["on"+r+"Error_"]),t.codecs[e]=null,t[e+"Buffer"]=null)},uc=function(e,t){return e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t)},dc=function(e,t,n){return function(r,o){var i=o[r+"Buffer"];if(uc(o.mediaSource,i)){o.logger_("Appending segment "+t.mediaIndex+"'s "+e.length+" bytes to "+r+"Buffer");try{i.appendBuffer(e)}catch(e){o.logger_("Error with code "+e.code+" "+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+t.mediaIndex+" to "+r+"Buffer"),o.queuePending[r]=null,n(e)}}}},pc=function(e,t){return function(n,r){var o=r[n+"Buffer"];if(uc(r.mediaSource,o)){r.logger_("Removing "+e+" to "+t+" from "+n+"Buffer");try{o.remove(e,t)}catch(o){r.logger_("Remove "+e+" to "+t+" from "+n+"Buffer failed")}}}},fc=function(e){return function(t,n){var r=n[t+"Buffer"];uc(n.mediaSource,r)&&(n.logger_("Setting "+t+"timestampOffset to "+e),r.timestampOffset=e)}},hc=function(e){return function(t,n){e()}},mc=function(e){return function(t){if("open"===t.mediaSource.readyState){t.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{t.mediaSource.endOfStream(e)}catch(e){qa.log.warn("Failed to call media source endOfStream",e)}}}},gc=function(e){return function(t){t.logger_("Setting mediaSource duration to "+e);try{t.mediaSource.duration=e}catch(e){qa.log.warn("Failed to set media source duration",e)}}},yc=function(){return function(e,t){if("open"===t.mediaSource.readyState){var n=t[e+"Buffer"];if(uc(t.mediaSource,n)){t.logger_("calling abort on "+e+"Buffer");try{n.abort()}catch(t){qa.log.warn("Failed to abort on "+e+"Buffer",t)}}}}},vc=function(e,t){return function(n){var r=ic(e),o=G(t);n.logger_("Adding "+e+"Buffer with codec "+t+" to mediaSource");var i=n.mediaSource.addSourceBuffer(o);i.addEventListener("updateend",n["on"+r+"UpdateEnd_"]),i.addEventListener("error",n["on"+r+"Error_"]),n.codecs[e]=t,n[e+"Buffer"]=i}},bc=function(e){return function(t){var n=t[e+"Buffer"];if(cc(e,t),uc(t.mediaSource,n)){t.logger_("Removing "+e+"Buffer with codec "+t.codecs[e]+" from mediaSource");try{t.mediaSource.removeSourceBuffer(n)}catch(t){qa.log.warn("Failed to removeSourceBuffer "+e+"Buffer",t)}}}},_c=function(e){return function(t,n){var r=n[t+"Buffer"],o=G(e);if(uc(n.mediaSource,r)&&n.codecs[t]!==e){n.logger_("changing "+t+"Buffer codec from "+n.codecs[t]+" to "+e);try{r.changeType(o),n.codecs[t]=e}catch(e){qa.log.warn("Failed to changeType on "+t+"Buffer",e)}}}},wc=function(e){var t=e.type,n=e.sourceUpdater,r=e.action,o=e.doneFn,i=e.name;n.queue.push({type:t,action:r,doneFn:o,name:i}),lc(t,n)},Cc=function(e,t){return function(n){if(t.queuePending[e]){var r=t.queuePending[e].doneFn;t.queuePending[e]=null,r&&r(t[e+"Error_"])}lc(e,t)}},Sc=function(e){function t(t){var n;return(n=e.call(this)||this).mediaSource=t,n.sourceopenListener_=function(){return lc("mediaSource",d(n))},n.mediaSource.addEventListener("sourceopen",n.sourceopenListener_),n.logger_=Ka("SourceUpdater"),n.audioTimestampOffset_=0,n.videoTimestampOffset_=0,n.queue=[],n.queuePending={audio:null,video:null},n.delayedAudioAppendQueue_=[],n.videoAppendQueued_=!1,n.codecs={},n.onVideoUpdateEnd_=Cc("video",d(n)),n.onAudioUpdateEnd_=Cc("audio",d(n)),n.onVideoError_=function(e){n.videoError_=e},n.onAudioError_=function(e){n.audioError_=e},n.createdSourceBuffers_=!1,n.initializedEme_=!1,n.triggeredReady_=!1,n}f(t,e);var n=t.prototype;return n.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},n.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},n.hasInitializedAnyEme=function(){return this.initializedEme_},n.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},n.createSourceBuffers=function(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())},n.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},n.addSourceBuffer=function(e,t){wc({type:"mediaSource",sourceUpdater:this,action:vc(e,t),name:"addSourceBuffer"})},n.abort=function(e){wc({type:e,sourceUpdater:this,action:yc(e),name:"abort"})},n.removeSourceBuffer=function(e){this.canRemoveSourceBuffer()?wc({type:"mediaSource",sourceUpdater:this,action:bc(e),name:"removeSourceBuffer"}):qa.log.error("removeSourceBuffer is not supported!")},n.canRemoveSourceBuffer=function(){return!qa.browser.IE_VERSION&&!qa.browser.IS_FIREFOX&&i().MediaSource&&i().MediaSource.prototype&&"function"==typeof i().MediaSource.prototype.removeSourceBuffer},t.canChangeType=function(){return i().SourceBuffer&&i().SourceBuffer.prototype&&"function"==typeof i().SourceBuffer.prototype.changeType},n.canChangeType=function(){return this.constructor.canChangeType()},n.changeType=function(e,t){this.canChangeType()?wc({type:e,sourceUpdater:this,action:_c(t),name:"changeType"}):qa.log.error("changeType is not supported!")},n.addOrChangeSourceBuffers=function(e){var t=this;if(!e||"object"!==Mt(e)||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((function(n){var r=e[n];if(!t.hasCreatedSourceBuffers())return t.addSourceBuffer(n,r);t.canChangeType()&&t.changeType(n,r)}))},n.appendBuffer=function(e,t){var n=this,r=e.segmentInfo,o=e.type,i=e.bytes;if(this.processedAppend_=!0,"audio"===o&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_("delayed audio append of "+i.length+" until video append");if(wc({type:o,sourceUpdater:this,action:dc(i,r||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===o){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var a=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+a.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,a.forEach((function(e){n.appendBuffer.apply(n,e)}))}},n.audioBuffered=function(){return uc(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:qa.createTimeRange()},n.videoBuffered=function(){return uc(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:qa.createTimeRange()},n.buffered=function(){var e=uc(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=uc(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){var n=null,r=null,o=0,i=[],a=[];if(!(e&&e.length&&t&&t.length))return qa.createTimeRange();for(var s=e.length;s--;)i.push({time:e.start(s),type:"start"}),i.push({time:e.end(s),type:"end"});for(s=t.length;s--;)i.push({time:t.start(s),type:"start"}),i.push({time:t.end(s),type:"end"});for(i.sort((function(e,t){return e.time-t.time})),s=0;s<i.length;s++)"start"===i[s].type?2===++o&&(n=i[s].time):"end"===i[s].type&&1===--o&&(r=i[s].time),null!==n&&null!==r&&(a.push([n,r]),n=null,r=null);return qa.createTimeRanges(a)}(this.audioBuffered(),this.videoBuffered())},n.setDuration=function(e,t){void 0===t&&(t=rc),wc({type:"mediaSource",sourceUpdater:this,action:gc(e),name:"duration",doneFn:t})},n.endOfStream=function(e,t){void 0===e&&(e=null),void 0===t&&(t=rc),"string"!=typeof e&&(e=void 0),wc({type:"mediaSource",sourceUpdater:this,action:mc(e),name:"endOfStream",doneFn:t})},n.removeAudio=function(e,t,n){void 0===n&&(n=rc),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?wc({type:"audio",sourceUpdater:this,action:pc(e,t),doneFn:n,name:"remove"}):n()},n.removeVideo=function(e,t,n){void 0===n&&(n=rc),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?wc({type:"video",sourceUpdater:this,action:pc(e,t),doneFn:n,name:"remove"}):n()},n.updating=function(){return!(!sc("audio",this)&&!sc("video",this))},n.audioTimestampOffset=function(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(wc({type:"audio",sourceUpdater:this,action:fc(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_},n.videoTimestampOffset=function(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(wc({type:"video",sourceUpdater:this,action:fc(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_},n.audioQueueCallback=function(e){this.audioBuffer&&wc({type:"audio",sourceUpdater:this,action:hc(e),name:"callback"})},n.videoQueueCallback=function(e){this.videoBuffer&&wc({type:"video",sourceUpdater:this,action:hc(e),name:"callback"})},n.dispose=function(){var e=this;this.trigger("dispose"),ac.forEach((function(t){e.abort(t),e.canRemoveSourceBuffer()?e.removeSourceBuffer(t):e[t+"QueueCallback"]((function(){return cc(t,e)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},t}(qa.EventTarget),Ec=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},xc=new Uint8Array("\n\n".split("").map((function(e){return e.charCodeAt(0)}))),kc=function(e){function t(){return e.call(this,"Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")||this}return f(t,e),t}(It(Error)),Oc=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).mediaSource_=null,r.subtitlesTrack_=null,r.loaderType_="subtitle",r.featuresNativeTextTracks_=t.featuresNativeTextTracks,r.loadVttJs=t.loadVttJs,r.shouldSaveSegmentTimingInfo_=!1,r}f(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return null},n.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return qa.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return qa.createTimeRanges([[t,n]])},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ws(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var o=xc.byteLength+e.bytes.byteLength,i=new Uint8Array(o);i.set(e.bytes),i.set(xc,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:i}}return r||e},n.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.track=function(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},n.remove=function(e,t){Kl(e,t,this.subtitlesTrack_)},n.fillBuffer_=function(){var e=this,t=this.chooseNextRequest_();if(t){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline)){return this.syncController_.one("timestampoffset",(function(){e.state="READY",e.paused()||e.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(t)}},n.timestampOffsetForSegment_=function(){return null},n.chooseNextRequest_=function(){return this.skipEmptySegments_(e.prototype.chooseNextRequest_.call(this))},n.skipEmptySegments_=function(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},n.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},n.segmentRequestFinished_=function(e,t,n){var r=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===Sl&&this.handleTimeout_(),e.code===El?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var o=this.pendingSegment_;this.saveBandwidthRelatedStats_(o.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");var a=o.segment;if(a.map&&(a.map.bytes=t.map.bytes),o.bytes=t.bytes,"function"!=typeof i().WebVTT&&"function"==typeof this.loadVttJs)return this.state="WAITING_ON_VTTJS",void this.loadVttJs().then((function(){return r.segmentRequestFinished_(e,t,n)}),(function(){return r.stopForError({message:"Error loading vtt.js"})}));a.requested=!0;try{this.parseVTTCues_(o)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(o,this.syncController_.timelines[o.timeline],this.playlist_),o.cues.length?o.timingInfo={start:o.cues[0].startTime,end:o.cues[o.cues.length-1].endTime}:o.timingInfo={start:o.startOfSegment,end:o.startOfSegment+o.duration},o.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");o.byteLength=o.bytes.byteLength,this.mediaSecondsLoaded+=a.duration,o.cues.forEach((function(e){r.subtitlesTrack_.addCue(r.featuresNativeTextTracks_?new(i().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){var t=e.cues;if(t)for(var n=0;n<t.length;n++){for(var r=[],o=0,i=0;i<t.length;i++)t[n].startTime===t[i].startTime&&t[n].endTime===t[i].endTime&&t[n].text===t[i].text&&++o>1&&r.push(t[i]);r.length&&r.forEach((function(t){return e.removeCue(t)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},n.handleData_=function(){},n.updateTimingInfoEnd_=function(){},n.parseVTTCues_=function(e){var t,n=!1;if("function"!=typeof i().WebVTT)throw new kc;"function"==typeof i().TextDecoder?t=new(i().TextDecoder)("utf8"):(t=i().WebVTT.StringDecoder(),n=!0);var r=new(i().WebVTT.Parser)(i(),i().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=function(t){e.timestampmap=t},r.onparsingerror=function(e){qa.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=Ec(o)),r.parse(o)}var a=e.bytes;n&&(a=Ec(a)),r.parse(a),r.flush()},n.updateTimeMapping_=function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var o=e.timestampmap,i=o.MPEGTS/Pt.ONE_SECOND_IN_TS-o.LOCAL+t.mapping;if(e.cues.forEach((function(e){e.startTime+=i,e.endTime+=i})),!n.syncInfo){var a=e.cues[0].startTime,s=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(a,s-r.duration)}}}else r.empty=!0},t}(nc),Tc=function(e,t){for(var n=e.cues,r=0;r<n.length;r++){var o=n[r];if(t>=o.adStartTime&&t<=o.adEndTime)return o}return null},Ac=[{name:"VOD",run:function(e,t,n,r,o){if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,o){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var i=null,a=null,s=is(t);o=o||0;for(var l=0;l<s.length;l++){var c=s[t.endList||0===o?l:s.length-(l+1)],u=c.segment,d=e.timelineToDatetimeMappings[u.timeline];if(d&&u.dateTimeObject){var p=u.dateTimeObject.getTime()/1e3+d;if(u.parts&&"number"==typeof c.partIndex)for(var f=0;f<c.partIndex;f++)p+=u.parts[f].duration;var h=Math.abs(o-p);if(null!==a&&(0===h||a<h))break;a=h,i={time:p,segmentIndex:c.segmentIndex,partIndex:c.partIndex}}}return i}},{name:"Segment",run:function(e,t,n,r,o){var i=null,a=null;o=o||0;for(var s=is(t),l=0;l<s.length;l++){var c=s[t.endList||0===o?l:s.length-(l+1)],u=c.segment,d=c.part&&c.part.start||u&&u.start;if(u.timeline===r&&void 0!==d){var p=Math.abs(o-d);if(null!==a&&a<p)break;(!i||null===a||a>=p)&&(a=p,i={time:d,segmentIndex:c.segmentIndex,partIndex:c.partIndex})}}return i}},{name:"Discontinuity",run:function(e,t,n,r,o){var i=null;if(o=o||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var a=null,s=0;s<t.discontinuityStarts.length;s++){var l=t.discontinuityStarts[s],c=t.discontinuitySequence+s+1,u=e.discontinuities[c];if(u){var d=Math.abs(o-u.time);if(null!==a&&a<d)break;(!i||null===a||a>=d)&&(a=d,i={time:u.time,segmentIndex:l,partIndex:null})}}return i}},{name:"Playlist",run:function(e,t,n,r,o){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],Pc=function(e){function t(t){var n;return(n=e.call(this)||this).timelines=[],n.discontinuities=[],n.timelineToDatetimeMappings={},n.logger_=Ka("SyncController"),n}f(t,e);var n=t.prototype;return n.getSyncPoint=function(e,t,n,r){var o=this.runStrategies_(e,t,n,r);return o.length?this.selectSyncPoint_(o,{key:"time",value:r}):null},n.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;var r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+ds({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))},n.runStrategies_=function(e,t,n,r){for(var o=[],i=0;i<Ac.length;i++){var a=Ac[i],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,o.push({strategy:a.name,syncPoint:s}))}return o},n.selectSyncPoint_=function(e,t){for(var n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),o=e[0].strategy,i=1;i<e.length;i++){var a=Math.abs(e[i].syncPoint[t.key]-t.value);a<r&&(r=a,n=e[i].syncPoint,o=e[i].strategy)}return this.logger_("syncPoint for ["+t.key+": "+t.value+"] chosen with strategy ["+o+"]: [time:"+n.time+", segmentIndex:"+n.segmentIndex+("number"==typeof n.partIndex?",partIndex:"+n.partIndex:"")+"]"),n},n.saveExpiredSegmentInfo=function(e,t){var n=t.mediaSequence-e.mediaSequence;if(n>86400)qa.log.warn("Not saving expired segment info. Media sequence gap "+n+" is too large.");else for(var r=n-1;r>=0;r--){var o=e.segments[r];if(o&&void 0!==o.start){t.syncInfo={mediaSequence:e.mediaSequence+r,time:o.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},n.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}},n.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,n=e.shouldSaveTimelineMapping,r=this.calculateSegmentTimeMapping_(t,t.timingInfo,n),o=t.segment;r&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:o.start}));var i=o.dateTimeObject;o.discontinuity&&n&&i&&(this.timelineToDatetimeMappings[o.timeline]=-i.getTime()/1e3)},n.timestampOffsetForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].time},n.mappingForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping},n.calculateSegmentTimeMapping_=function(e,t,n){var r,o,i=e.segment,a=e.part,s=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)s={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=s,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+s.time+"] [mapping: "+s.mapping+"]")),r=e.startOfSegment,o=t.end+s.mapping;else{if(!s)return!1;r=t.start+s.mapping,o=t.end+s.mapping}return a&&(a.start=r,a.end=o),(!i.start||r<i.start)&&(i.start=r),i.end=o,!0},n.saveDiscontinuitySyncInfo_=function(e){var t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(var r=0;r<t.discontinuityStarts.length;r++){var o=t.discontinuityStarts[r],i=t.discontinuitySequence+r+1,a=o-e.mediaIndex,s=Math.abs(a);if(!this.discontinuities[i]||this.discontinuities[i].accuracy>s){var l=void 0;l=a<0?n.start-ds({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:o}):n.end+ds({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:o}),this.discontinuities[i]={time:l,accuracy:s}}}},n.dispose=function(){this.trigger("dispose"),this.off()},t}(qa.EventTarget),Rc=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}f(t,e);var n=t.prototype;return n.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},n.pendingTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.pendingTimelineChanges_[t]={type:t,from:n,to:r},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},n.lastTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.lastTimelineChanges_[t]={type:t,from:n,to:r},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},n.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(qa.EventTarget),Ic=ul(dl(pl((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var n=t((function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0})),o=t((function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),i=t((function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),a=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var o=Array.prototype.slice.call(arguments,1),i=t.length,a=0;a<i;++a)t[a].apply(this,o)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();var s,l=null,c=function(){function e(e){var t,n,r;l||(l=function(){var e,t,n,r,o,i,a,s,l=[[[],[],[],[],[]],[[],[],[],[],[]]],c=l[0],u=l[1],d=c[4],p=u[4],f=[],h=[];for(e=0;e<256;e++)h[(f[e]=e<<1^283*(e>>7))^e]=e;for(t=n=0;!d[t];t^=r||1,n=h[n]||1)for(i=(i=n^n<<1^n<<2^n<<3^n<<4)>>8^255&i^99,d[t]=i,p[i]=t,s=16843009*f[o=f[r=f[t]]]^65537*o^257*r^16843008*t,a=257*f[i]^16843008*i,e=0;e<4;e++)c[e][t]=a=a<<24^a>>>8,u[e][i]=s=s<<24^s>>>8;for(e=0;e<5;e++)c[e]=c[e].slice(0),u[e]=u[e].slice(0);return l}()),this._tables=[[l[0][0].slice(),l[0][1].slice(),l[0][2].slice(),l[0][3].slice(),l[0][4].slice()],[l[1][0].slice(),l[1][1].slice(),l[1][2].slice(),l[1][3].slice(),l[1][4].slice()]];var o=this._tables[0][4],i=this._tables[1],a=e.length,s=1;if(4!==a&&6!==a&&8!==a)throw new Error("Invalid aes key size");var c=e.slice(0),u=[];for(this._key=[c,u],t=a;t<4*a+28;t++)r=c[t-1],(t%a==0||8===a&&t%a==4)&&(r=o[r>>>24]<<24^o[r>>16&255]<<16^o[r>>8&255]<<8^o[255&r],t%a==0&&(r=r<<8^r>>>24^s<<24,s=s<<1^283*(s>>7))),c[t]=c[t-a]^r;for(n=0;t;n++,t--)r=c[3&n?t:t-4],u[n]=t<=4||n<4?r:i[0][o[r>>>24]]^i[1][o[r>>16&255]]^i[2][o[r>>8&255]]^i[3][o[255&r]]}return e.prototype.decrypt=function(e,t,n,r,o,i){var a,s,l,c,u=this._key[1],d=e^u[0],p=r^u[1],f=n^u[2],h=t^u[3],m=u.length/4-2,g=4,y=this._tables[1],v=y[0],b=y[1],_=y[2],w=y[3],C=y[4];for(c=0;c<m;c++)a=v[d>>>24]^b[p>>16&255]^_[f>>8&255]^w[255&h]^u[g],s=v[p>>>24]^b[f>>16&255]^_[h>>8&255]^w[255&d]^u[g+1],l=v[f>>>24]^b[h>>16&255]^_[d>>8&255]^w[255&p]^u[g+2],h=v[h>>>24]^b[d>>16&255]^_[p>>8&255]^w[255&f]^u[g+3],g+=4,d=a,p=s,f=l;for(c=0;c<4;c++)o[(3&-c)+i]=C[d>>>24]<<24^C[p>>16&255]<<16^C[f>>8&255]<<8^C[255&h]^u[g++],a=d,d=p,p=f,f=h,h=a},e}(),u=function(e){function t(){var t;return(t=e.call(this,a)||this).jobs=[],t.delay=1,t.timeout_=null,t}i(t,e);var n=t.prototype;return n.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(a),d=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},p=function(){function e(t,n,r,o){var i=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),l=0;for(this.asyncStream_=new u,this.asyncStream_.push(this.decryptChunk_(a.subarray(l,l+i),n,r,s)),l=i;l<a.length;l+=i)r=new Uint32Array([d(a[l-4]),d(a[l-3]),d(a[l-2]),d(a[l-1])]),this.asyncStream_.push(this.decryptChunk_(a.subarray(l,l+i),n,r,s));this.asyncStream_.push((function(){var e;o(null,(e=s).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return e.prototype.decryptChunk_=function(e,t,n,r){return function(){var o=function(e,t,n){var r,o,i,a,s,l,u,p,f,h=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),m=new c(Array.prototype.slice.call(t)),g=new Uint8Array(e.byteLength),y=new Int32Array(g.buffer);for(r=n[0],o=n[1],i=n[2],a=n[3],f=0;f<h.length;f+=4)s=d(h[f]),l=d(h[f+1]),u=d(h[f+2]),p=d(h[f+3]),m.decrypt(s,l,u,p,y,f),y[f]=d(y[f]^r),y[f+1]=d(y[f+1]^o),y[f+2]=d(y[f+2]^i),y[f+3]=d(y[f+3]^a),r=s,o=l,i=u,a=p;return g}(e,t,n);r.set(o,e.byteOffset)}},n(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}();s="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var f=s.BigInt||Number;f("0x1"),f("0x100"),f("0x10000"),f("0x1000000"),f("0x100000000"),f("0x10000000000"),f("0x1000000000000"),f("0x100000000000000"),f("0x10000000000000000");var h=function(e){var t={};return Object.keys(e).forEach((function(n){var r,o=e[n];r=o,("function"===ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer)?t[n]={bytes:o.buffer,byteOffset:o.byteOffset,byteLength:o.byteLength}:t[n]=o})),t};self.onmessage=function(e){var t=e.data,n=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),r=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),o=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new p(n,r,o,(function(e,n){self.postMessage(h({source:t.source,decrypted:n}),[n.buffer])}))}})))),Mc=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},Nc=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},Dc=function(e,t){t.activePlaylistLoader=e,e.load()},jc={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],o=t.blacklistCurrentPlaylist;Nc(n,r);var i=r.activeTrack(),a=r.activeGroup(),s=(a.filter((function(e){return e.default}))[0]||a[0]).id,l=r.tracks[s];if(i!==l){for(var c in qa.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[c].enabled=r.tracks[c]===l;r.onTrackChanged()}else o({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e];qa.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),Nc(n,r);var o=r.activeTrack();o&&(o.mode="disabled"),r.onTrackChanged()}}},Lc={AUDIO:function(e,t,n){if(t){var r=n.tech,o=n.requestOptions,i=n.segmentLoaders[e];t.on("loadedmetadata",(function(){var e=t.media();i.playlist(e,o),(!r.paused()||e.endList&&"none"!==r.preload())&&i.load()})),t.on("loadedplaylist",(function(){i.playlist(t.media(),o),r.paused()||i.load()})),t.on("error",jc[e](e,n))}},SUBTITLES:function(e,t,n){var r=n.tech,o=n.requestOptions,i=n.segmentLoaders[e],a=n.mediaTypes[e];t.on("loadedmetadata",(function(){var e=t.media();i.playlist(e,o),i.track(a.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&i.load()})),t.on("loadedplaylist",(function(){i.playlist(t.media(),o),r.paused()||i.load()})),t.on("error",jc[e](e,n))}},Bc={AUDIO:function(e,t){var n=t.vhs,r=t.sourceType,o=t.segmentLoaders[e],i=t.requestOptions,a=t.master.mediaGroups,s=t.mediaTypes[e],l=s.groups,c=s.tracks,u=s.logger_,d=t.masterPlaylistLoader,p=_s(d.master);for(var f in a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}},p&&(a[e].main.default.playlists=d.master.playlists)),a[e])for(var h in l[f]||(l[f]=[]),a[e][f]){var m=a[e][f][h],g=void 0;if(p?(u("AUDIO group '"+f+"' label '"+h+"' is a master playlist"),m.isMasterPlaylist=!0,g=null):g="vhs-json"===r&&m.playlists?new js(m.playlists[0],n,i):m.resolvedUri?new js(m.resolvedUri,n,i):m.playlists&&"dash"===r?new sl(m.playlists[0],n,i,d):null,m=qa.mergeOptions({id:h,playlistLoader:g},m),Lc[e](e,m.playlistLoader,t),l[f].push(m),void 0===c[h]){var y=new qa.AudioTrack({id:h,kind:Mc(m),enabled:!1,language:m.language,default:m.default,label:h});c[h]=y}}o.on("error",jc[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.vhs,o=t.sourceType,i=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,l=t.mediaTypes[e],c=l.groups,u=l.tracks,d=t.masterPlaylistLoader;for(var p in s[e])for(var f in c[p]||(c[p]=[]),s[e][p])if(!s[e][p][f].forced){var h=s[e][p][f],m=void 0;if("hls"===o)m=new js(h.resolvedUri,r,a);else if("dash"===o){if(!h.playlists.filter((function(e){return e.excludeUntil!==1/0})).length)return;m=new sl(h.playlists[0],r,a,d)}else"vhs-json"===o&&(m=new js(h.playlists?h.playlists[0]:h.resolvedUri,r,a));if(h=qa.mergeOptions({id:f,playlistLoader:m},h),Lc[e](e,h.playlistLoader,t),c[p].push(h),void 0===u[f]){var g=n.addRemoteTextTrack({id:f,kind:"subtitles",default:h.default&&h.autoselect,language:h.language,label:f},!1).track;u[f]=g}}i.on("error",jc[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var n=t.tech,r=t.master.mediaGroups,o=t.mediaTypes[e],i=o.groups,a=o.tracks;for(var s in r[e])for(var l in i[s]||(i[s]=[]),r[e][s]){var c=r[e][s][l];if(/^(?:CC|SERVICE)/.test(c.instreamId)){var u=n.options_.vhs&&n.options_.vhs.captionServices||{},d={label:l,language:c.language,instreamId:c.instreamId,default:c.default&&c.autoselect};if(u[d.instreamId]&&(d=qa.mergeOptions(d,u[d.instreamId])),void 0===d.default&&delete d.default,i[s].push(qa.mergeOptions({id:l},c)),void 0===a[l]){var p=n.addRemoteTextTrack({id:d.instreamId,kind:"captions",default:d.default,language:d.language,label:d.label},!1).track;a[l]=p}}}}},Fc=function e(t,n){for(var r=0;r<t.length;r++){if(vs(n,t[r]))return!0;if(t[r].playlists&&e(t[r].playlists,n))return!0}return!1},Uc={AUDIO:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if(n[r].enabled)return n[r];return null}},SUBTITLES:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if("showing"===n[r].mode||"hidden"===n[r].mode)return n[r];return null}}},Hc=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){Bc[t](t,e)}));var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,o=e.vhs,i=e.segmentLoaders,a=i.AUDIO,s=i.main;["AUDIO","SUBTITLES"].forEach((function(n){t[n].activeGroup=function(e,t){return function(n){var r=t.masterPlaylistLoader,o=t.mediaTypes[e].groups,i=r.media();if(!i)return null;var a=null;i.attributes[e]&&(a=o[i.attributes[e]]);var s=Object.keys(o);if(!a)if("AUDIO"===e&&s.length>1&&_s(t.master))for(var l=0;l<s.length;l++){var c=o[s[l]];if(Fc(c,i)){a=c;break}}else o.main?a=o.main:1===s.length&&(a=o[s[0]]);return void 0===n?a:null!==n&&a&&a.filter((function(e){return e.id===n.id}))[0]||null}}(n,e),t[n].activeTrack=Uc[n](n,e),t[n].onGroupChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],o=n.main,i=t.mediaTypes[e],a=i.activeTrack(),s=i.getActiveGroup(),l=i.activePlaylistLoader,c=i.lastGroup_;s&&c&&s.id===c.id||(i.lastGroup_=s,i.lastTrack_=a,Nc(r,i),s&&!s.isMasterPlaylist&&(s.playlistLoader?(r.resyncLoader(),Dc(s.playlistLoader,i)):l&&o.resetEverything()))}}(n,e),t[n].onGroupChanging=function(e,t){return function(){var n=t.segmentLoaders[e];t.mediaTypes[e].lastGroup_=null,n.abort(),n.pause()}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.masterPlaylistLoader,r=t.segmentLoaders,o=r[e],i=r.main,a=t.mediaTypes[e],s=a.activeTrack(),l=a.getActiveGroup(),c=a.activePlaylistLoader,u=a.lastTrack_;if((!u||!s||u.id!==s.id)&&(a.lastGroup_=l,a.lastTrack_=s,Nc(o,a),l)){if(l.isMasterPlaylist){if(!s||!u||s.id===u.id)return;var d=t.vhs.masterPlaylistController_,p=d.selectPlaylist();if(d.media()===p)return;return a.logger_("track change. Switching master audio from "+u.id+" to "+s.id),n.pause(),i.resetEverything(),void d.fastQualityChange_(p)}if("AUDIO"===e){if(!l.playlistLoader)return i.setAudio(!0),void i.resetEverything();o.setAudio(!0),i.setAudio(!1)}c!==l.playlistLoader?(o.track&&o.track(s),o.resetEverything(),Dc(l.playlistLoader,a)):Dc(l.playlistLoader,a)}}}(n,e),t[n].getActiveGroup=function(e,t){var n=t.mediaTypes;return function(){var t=n[e].activeTrack();return t?n[e].activeGroup(t):null}}(n,e)}));var l=t.AUDIO.activeGroup();if(l){var c=(l.filter((function(e){return e.default}))[0]||l[0]).id;t.AUDIO.tracks[c].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(s.setAudio(!1),a.setAudio(!0)):s.setAudio(!0)}n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanged()}))})),n.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanging()}))}));var u=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"}),r.trigger({type:"usage",name:"hls-audio-change"})};for(var d in r.audioTracks().addEventListener("change",u),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),o.on("dispose",(function(){r.audioTracks().removeEventListener("change",u),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[d])},Vc=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],zc=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},qc=function(e){function t(t){var n;n=e.call(this)||this;var r=t.src,o=t.handleManifestRedirects,a=t.withCredentials,s=t.tech,l=t.bandwidth,c=t.externVhs,u=t.useCueTags,p=t.blacklistDuration,f=t.enableLowInitialPlaylist,h=t.sourceType,m=t.cacheEncryptionKeys,g=t.experimentalBufferBasedABR,y=t.experimentalLeastPixelDiffSelector,v=t.captionServices;if(!r)throw new Error("A non-empty playlist URL or JSON manifest string is required");var b=t.maxPlaylistRetries;null==b&&(b=1/0),oc=c,n.experimentalBufferBasedABR=Boolean(g),n.experimentalLeastPixelDiffSelector=Boolean(y),n.withCredentials=a,n.tech_=s,n.vhs_=s.vhs,n.sourceType_=h,n.useCueTags_=u,n.blacklistDuration=p,n.maxPlaylistRetries=b,n.enableLowInitialPlaylist=f,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:a,handleManifestRedirects:o,maxPlaylistRetries:b,timeout:null},n.on("error",n.pauseLoading),n.mediaTypes_=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:rc,activeTrack:rc,getActiveGroup:rc,onGroupChanged:rc,onTrackChanged:rc,lastTrack_:null,logger_:Ka("MediaGroups["+t+"]")}})),e}(),n.mediaSource=new(i().MediaSource),n.handleDurationChange_=n.handleDurationChange_.bind(d(n)),n.handleSourceOpen_=n.handleSourceOpen_.bind(d(n)),n.handleSourceEnded_=n.handleSourceEnded_.bind(d(n)),n.mediaSource.addEventListener("durationchange",n.handleDurationChange_),n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_),n.mediaSource.addEventListener("sourceended",n.handleSourceEnded_),n.seekable_=qa.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new Pc(t),n.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new Ic,n.sourceUpdater_=new Sc(n.mediaSource),n.inbandTextTracks_={},n.timelineChangeController_=new Rc;var _={vhs:n.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:v,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.duration()},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:l,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:m,sourceUpdater:n.sourceUpdater_,timelineChangeController:n.timelineChangeController_,experimentalExactManifestTimings:t.experimentalExactManifestTimings};n.masterPlaylistLoader_="dash"===n.sourceType_?new sl(r,n.vhs_,n.requestOptions_):new js(r,n.vhs_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new nc(qa.mergeOptions(_,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),t),n.audioSegmentLoader_=new nc(qa.mergeOptions(_,{loaderType:"audio"}),t),n.subtitleSegmentLoader_=new Oc(qa.mergeOptions(_,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks,loadVttJs:function(){return new Promise((function(e,t){function n(){s.off("vttjserror",r),e()}function r(){s.off("vttjsloaded",n),t()}s.one("vttjsloaded",n),s.one("vttjserror",r),s.addWebVttScript_()}))}}),t),n.setupSegmentLoaderListeners_(),n.experimentalBufferBasedABR&&(n.masterPlaylistLoader_.one("loadedplaylist",(function(){return n.startABRTimer_()})),n.tech_.on("pause",(function(){return n.stopABRTimer_()})),n.tech_.on("play",(function(){return n.startABRTimer_()}))),Vc.forEach((function(e){n[e+"_"]=zc.bind(d(n),e)})),n.logger_=Ka("MPC"),n.triggeredFmp4Usage=!1,"none"===n.tech_.preload()?(n.loadOnPlay_=function(){n.loadOnPlay_=null,n.masterPlaylistLoader_.load()},n.tech_.one("play",n.loadOnPlay_)):n.masterPlaylistLoader_.load(),n.timeToLoadedData__=-1,n.mainAppendsToLoadedData__=-1,n.audioAppendsToLoadedData__=-1;var w="none"===n.tech_.preload()?"play":"loadstart";return n.tech_.one(w,(function(){var e=Date.now();n.tech_.one("loadeddata",(function(){n.timeToLoadedData__=Date.now()-e,n.mainAppendsToLoadedData__=n.mainSegmentLoader_.mediaAppends,n.audioAppendsToLoadedData__=n.audioSegmentLoader_.mediaAppends}))})),n}f(t,e);var n=t.prototype;return n.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},n.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},n.appendsToLoadedData_=function(){var e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t},n.timeToLoadedData_=function(){return this.timeToLoadedData__},n.checkABR_=function(e){void 0===e&&(e="abr");var t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)},n.switchMedia_=function(e,t,n){var r=this.media(),o=r&&(r.id||r.uri),i=e.id||e.uri;o&&o!==i&&(this.logger_("switch media "+o+" -> "+i+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,n)},n.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=i().setInterval((function(){return e.checkABR_()}),250)},n.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(i().clearInterval(this.abrTimer_),this.abrTimer_=null)},n.getAudioTrackPlaylists_=function(){var e=this.master(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;var n,r=e.mediaGroups.AUDIO,o=Object.keys(r);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)n=this.mediaTypes_.AUDIO.activeTrack();else{var i=r.main||o.length&&r[o[0]];for(var a in i)if(i[a].default){n={label:a};break}}if(!n)return t;var s=[];for(var l in r)if(r[l][n.label]){var c=r[l][n.label];if(c.playlists&&c.playlists.length)s.push.apply(s,c.playlists);else if(c.uri)s.push(c);else if(e.playlists.length)for(var u=0;u<e.playlists.length;u++){var d=e.playlists[u];d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===l&&s.push(d)}}return s.length?s:t},n.setupMasterPlaylistLoaderListeners_=function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;ys(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,t.endList&&"none"!==e.tech_.preload()&&(e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load()),Hc({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,vhs:e.vhs_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t),e.setupFirstPlay(),!e.mediaTypes_.AUDIO.activePlaylistLoader||e.mediaTypes_.AUDIO.activePlaylistLoader.media()?e.trigger("selectedinitialmedia"):e.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){e.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){e.loadOnPlay_&&e.tech_.off("play",e.loadOnPlay_);var t=e.masterPlaylistLoader_.media();if(!t){var n;if(e.excludeUnsupportedVariants_(),e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),!n||!e.shouldSwitchToMedia_(n))return;if(e.initialMedia_=n,e.switchMedia_(e.initialMedia_,"initial"),!("vhs-json"===e.sourceType_&&e.initialMedia_.segments))return;t=e.initialMedia_}e.handleUpdatedMediaPlaylist(t)})),this.masterPlaylistLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){e.mainSegmentLoader_.abort(),e.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;ys(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,e.masterPlaylistLoader_.load(),e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load(),e.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var t=e.masterPlaylistLoader_.media();"playlist-unchanged"!==t.lastExcludeReason_&&(e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),e.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},n.handleUpdatedMediaPlaylist=function(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},n.triggerPresenceUsage_=function(e,t){var n=e.mediaGroups||{},r=!0,o=Object.keys(n.AUDIO);for(var i in n.AUDIO)for(var a in n.AUDIO[i]){n.AUDIO[i][a].uri||(r=!1)}r&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(n.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),oc.Playlist.isAes(t)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),o.length&&Object.keys(n.AUDIO[o[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},n.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),o=this.bufferHighWaterLine();return function(e){var t=e.currentPlaylist,n=e.buffered,r=e.currentTime,o=e.nextPlaylist,i=e.bufferLowWaterLine,a=e.bufferHighWaterLine,s=e.duration,l=e.experimentalBufferBasedABR,c=e.log;if(!o)return qa.log.warn("We received no playlist to switch to. Please check your stream."),!1;var u="allowing switch "+(t&&t.id||"null")+" -> "+o.id;if(!t)return c(u+" as current playlist is not set"),!0;if(o.id===t.id)return!1;var d=Boolean(Qa(n,r).length);if(!t.endList)return d||"number"!=typeof t.partTargetDuration?(c(u+" as current playlist is live"),!0):(c("not "+u+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var p=ns(n,r),f=l?ll.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:ll.MAX_BUFFER_LOW_WATER_LINE;if(s<f)return c(u+" as duration < max low water line ("+s+" < "+f+")"),!0;var h=o.attributes.BANDWIDTH,m=t.attributes.BANDWIDTH;if(h<m&&(!l||p<a)){var g=u+" as next bandwidth < current bandwidth ("+h+" < "+m+")";return l&&(g+=" and forwardBuffer < bufferHighWaterLine ("+p+" < "+a+")"),c(g),!0}if((!l||h>m)&&p>=i){var y=u+" as forwardBuffer >= bufferLowWaterLine ("+p+" >= "+i+")";return l&&(y+=" and next bandwidth > current bandwidth ("+h+" > "+m+")"),c(y),!0}return c("not "+u+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:o,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},n.setupSegmentLoaderListeners_=function(){var e=this;this.mainSegmentLoader_.on("bandwidthupdate",(function(){e.checkABR_("bandwidthupdate"),e.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(function(){e.experimentalBufferBasedABR&&e.mainSegmentLoader_.load()})),this.experimentalBufferBasedABR||this.mainSegmentLoader_.on("progress",(function(){e.trigger("progress")})),this.mainSegmentLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("appenderror",(function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){e.logger_("main segment loader ended"),e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()}))},n.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},n.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},n.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},n.fastQualityChange_=function(e){var t=this;void 0===e&&(e=this.selectPlaylist()),e!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){qa.browser.IE_VERSION||qa.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},n.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}},n.setupFirstPlay=function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var n=this.seekable();if(!n.length)return!1;if(qa.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){e.trigger("firstplay"),e.tech_.setCurrentTime(n.end(0)),e.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(n.end(0))}return this.hasPlayed_=!0,this.load(),!0},n.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(function(e){}))}this.trigger("sourceopen")},n.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var e=this.inbandTextTracks_.metadataTrack_.cues;if(e&&e.length){var t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}}},n.handleDurationChange_=function(){this.tech_.trigger("durationchange")},n.onEndOfStream=function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},n.stuckAtPlaylistEnd_=function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;var n=oc.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),o=this.tech_.buffered();if(!o.length)return n-r<=.1;var i=o.end(o.length-1);return i-r<=.1&&n-i<=.1},n.blacklistCurrentPlaylist=function(e,t){void 0===e&&(e={});var n=e.playlist||this.masterPlaylistLoader_.media();if(t=t||e.blacklistDuration||this.blacklistDuration,!n)return this.error=e,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));n.playlistErrors_++;var r,o=this.masterPlaylistLoader_.master.playlists,i=o.filter(ms),a=1===i.length&&i[0]===n;if(1===o.length&&t!==1/0)return qa.log.warn("Problem encountered with playlist "+n.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(a);if(a){var s=!1;o.forEach((function(e){if(e!==n){var t=e.excludeUntil;void 0!==t&&t!==1/0&&(s=!0,delete e.excludeUntil)}})),s&&(qa.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}r=n.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*t,n.excludeUntil=r,e.reason&&(n.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var l=this.selectPlaylist();if(!l)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var c=e.internal?this.logger_:qa.log.warn,u=e.message?" "+e.message:"";c((e.internal?"Internal problem":"Problem")+" encountered with playlist "+n.id+"."+u+" Switching to playlist "+l.id+"."),l.attributes.AUDIO!==n.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),l.attributes.SUBTITLES!==n.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var d=l.targetDuration/2*1e3||5e3,p="number"==typeof l.lastRequest&&Date.now()-l.lastRequest<=d;return this.switchMedia_(l,"exclude",a||p)},n.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},n.delegateLoaders_=function(e,t){var n=this,r=[],o="all"===e;(o||"main"===e)&&r.push(this.masterPlaylistLoader_);var i=[];(o||"audio"===e)&&i.push("AUDIO"),(o||"subtitle"===e)&&(i.push("CLOSED-CAPTIONS"),i.push("SUBTITLES")),i.forEach((function(e){var t=n.mediaTypes_[e]&&n.mediaTypes_[e].activePlaylistLoader;t&&r.push(t)})),["main","audio","subtitle"].forEach((function(t){var o=n[t+"SegmentLoader_"];!o||e!==t&&"all"!==e||r.push(o)})),r.forEach((function(e){return t.forEach((function(t){"function"==typeof e[t]&&e[t]()}))}))},n.setCurrentTime=function(e){var t=Qa(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},n.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:oc.Playlist.duration(e):1/0:0},n.seekable=function(){return this.seekable_},n.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.duration());if(null!==n){var r=this.masterPlaylistLoader_.master,o=oc.Playlist.seekable(t,n,oc.Playlist.liveEdgeDelay(r,t));if(0!==o.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=oc.Playlist.seekable(t,n,oc.Playlist.liveEdgeDelay(r,t))).length)return}var i,a;this.seekable_&&this.seekable_.length&&(i=this.seekable_.end(0),a=this.seekable_.start(0)),e?e.start(0)>o.end(0)||o.start(0)>e.end(0)?this.seekable_=o:this.seekable_=qa.createTimeRanges([[e.start(0)>o.start(0)?e.start(0):o.start(0),e.end(0)<o.end(0)?e.end(0):o.end(0)]]):this.seekable_=o,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===i&&this.seekable_.start(0)===a||(this.logger_("seekable updated ["+Ja(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},n.updateDuration=function(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){var t=this.seekable();if(!t.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<t.end(t.length-1))&&this.sourceUpdater_.setDuration(t.end(t.length-1))}else{var n=this.tech_.buffered(),r=oc.Playlist.duration(this.masterPlaylistLoader_.media());n.length>0&&(r=Math.max(r,n.end(n.length-1))),this.mediaSource.duration!==r&&this.sourceUpdater_.setDuration(r)}},n.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(t){var n=e.mediaTypes_[t].groups;for(var r in n)n[r].forEach((function(e){e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},n.master=function(){return this.masterPlaylistLoader_.master},n.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},n.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)},n.getCodecsOrExclude_=function(){var e=this,t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},n=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();t.video=t.main;var r=Ul(this.master(),n),o={},i=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(o.video=r.video||t.main.videoCodec||"avc1.4d400d"),t.main.isMuxed&&(o.video+=","+(r.audio||t.main.audioCodec||"mp4a.40.2")),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||i)&&(o.audio=r.audio||t.main.audioCodec||t.audio.audioCodec||"mp4a.40.2",t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),o.audio||o.video){var a,s={};if(["video","audio"].forEach((function(e){if(o.hasOwnProperty(e)&&(r=t[e].isFmp4,i=o[e],!(r?W(i):Y(i)))){var n=t[e].isFmp4?"browser":"muxer";s[n]=s[n]||[],s[n].push(o[e]),"audio"===e&&(a=n)}var r,i})),i&&a&&n.attributes.AUDIO){var l=n.attributes.AUDIO;this.master().playlists.forEach((function(e){(e.attributes&&e.attributes.AUDIO)===l&&e!==n&&(e.excludeUntil=1/0)})),this.logger_("excluding audio group "+l+" as "+a+' does not support codec(s): "'+o.audio+'"')}if(!Object.keys(s).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var c=[];if(["video","audio"].forEach((function(t){var n=(z(e.sourceUpdater_.codecs[t]||"")[0]||{}).type,r=(z(o[t]||"")[0]||{}).type;n&&r&&n.toLowerCase()!==r.toLowerCase()&&c.push('"'+e.sourceUpdater_.codecs[t]+'" -> "'+o[t]+'"')})),c.length)return void this.blacklistCurrentPlaylist({playlist:n,message:"Codec switching not supported: "+c.join(", ")+".",blacklistDuration:1/0,internal:!0})}return o}var u=Object.keys(s).reduce((function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+s[t].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:n,internal:!0,message:u,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:n,message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},n.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},n.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,n=[];Object.keys(t).forEach((function(r){var o=t[r];if(-1===n.indexOf(o.id)){n.push(o.id);var i=Ul(e.master,o),a=[];!i.audio||Y(i.audio)||W(i.audio)||a.push("audio codec "+i.audio),!i.video||Y(i.video)||W(i.video)||a.push("video codec "+i.video),i.text&&"stpp.ttml.im1t"===i.text&&a.push("text codec "+i.text),a.length&&(o.excludeUntil=1/0,e.logger_("excluding "+o.id+" for unsupported: "+a.join(", ")))}}))},n.excludeIncompatibleVariants_=function(e){var t=this,n=[],r=this.master().playlists,o=Bl(z(e)),i=Fl(o),a=o.video&&z(o.video)[0]||null,s=o.audio&&z(o.audio)[0]||null;Object.keys(r).forEach((function(e){var o=r[e];if(-1===n.indexOf(o.id)&&o.excludeUntil!==1/0){n.push(o.id);var l=[],c=Ul(t.masterPlaylistLoader_.master,o),u=Fl(c);if(c.audio||c.video){if(u!==i&&l.push('codec count "'+u+'" !== "'+i+'"'),!t.sourceUpdater_.canChangeType()){var d=c.video&&z(c.video)[0]||null,p=c.audio&&z(c.audio)[0]||null;d&&a&&d.type.toLowerCase()!==a.type.toLowerCase()&&l.push('video codec "'+d.type+'" !== "'+a.type+'"'),p&&s&&p.type.toLowerCase()!==s.type.toLowerCase()&&l.push('audio codec "'+p.type+'" !== "'+s.type+'"')}l.length&&(o.excludeUntil=1/0,t.logger_("blacklisting "+o.id+": "+l.join(" && ")))}}}))},n.updateAdCues_=function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,t,n){if(void 0===n&&(n=0),e.segments)for(var r,o=n,a=0;a<e.segments.length;a++){var s=e.segments[a];if(r||(r=Tc(t,o+s.duration/2)),r){if("cueIn"in s){r.endTime=o,r.adEndTime=o,o+=s.duration,r=null;continue}if(o<r.endTime){o+=s.duration;continue}r.endTime+=s.duration}else if("cueOut"in s&&((r=new(i().VTTCue)(o,o+s.duration,s.cueOut)).adStartTime=o,r.adEndTime=o+parseFloat(s.cueOut),t.addCue(r)),"cueOutCont"in s){var l=s.cueOutCont.split("/").map(parseFloat),c=l[0],u=l[1];(r=new(i().VTTCue)(o,o+s.duration,"")).adStartTime=o-c,r.adEndTime=r.adStartTime+u,t.addCue(r)}o+=s.duration}}(e,this.cueTagsTrack_,t)},n.goalBufferLength=function(){var e=this.tech_.currentTime(),t=ll.GOAL_BUFFER_LENGTH,n=ll.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,ll.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)},n.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=ll.BUFFER_LOW_WATER_LINE,n=ll.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,ll.MAX_BUFFER_LOW_WATER_LINE),o=Math.max(t,ll.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.experimentalBufferBasedABR?o:r)},n.bufferHighWaterLine=function(){return ll.BUFFER_HIGH_WATER_LINE},t}(qa.EventTarget),Gc=function(e,t,n){var r,o,i,a=e.masterPlaylistController_,s=a[(e.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(a);if(t.attributes){var l=t.attributes.RESOLUTION;this.width=l&&l.width,this.height=l&&l.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}this.codecs=Ul(a.master(),t),this.playlist=t,this.id=n,this.enabled=(r=e.playlists,o=t.id,i=s,function(e){var t=r.master.playlists[o],n=hs(t),a=ms(t);return void 0===e?a:(e?delete t.disabled:t.disabled=!0,e===a||n||(i(),e?r.trigger("renditionenabled"):r.trigger("renditiondisabled")),e)})},Wc=["seeking","seeked","pause","playing","error"],Yc=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=Ka("PlaybackWatcher"),this.logger_("initialize");var n=function(){return t.monitorCurrentTime_()},r=function(){return t.monitorCurrentTime_()},o=function(){return t.techWaiting_()},a=function(){return t.cancelTimer_()},s=this.masterPlaylistController_,l=["main","subtitle","audio"],c={};l.forEach((function(e){c[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},s[e+"SegmentLoader_"].on("appendsdone",c[e].updateend),s[e+"SegmentLoader_"].on("playlistupdate",c[e].reset),t.tech_.on(["seeked","seeking"],c[e].reset)}));var u=function(e){["main","audio"].forEach((function(n){s[n+"SegmentLoader_"][e]("appended",t.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){t.fixesBadSeeks_()&&(t.consecutiveUpdates=0,t.lastRecordedTime=t.tech_.currentTime(),u("off"))},this.clearSeekingAppendCheck_=function(){return u("off")},this.watchForBadSeeking_=function(){t.clearSeekingAppendCheck_(),u("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",o),this.tech_.on(Wc,a),this.tech_.on("canplay",r),this.tech_.one("play",n),this.dispose=function(){t.clearSeekingAppendCheck_(),t.logger_("dispose"),t.tech_.off("waiting",o),t.tech_.off(Wc,a),t.tech_.off("canplay",r),t.tech_.off("play",n),t.tech_.off("seeking",t.watchForBadSeeking_),t.tech_.off("seeked",t.clearSeekingAppendCheck_),l.forEach((function(e){s[e+"SegmentLoader_"].off("appendsdone",c[e].updateend),s[e+"SegmentLoader_"].off("playlistupdate",c[e].reset),t.tech_.off(["seeked","seeking"],c[e].reset)})),t.checkCurrentTimeTimeout_&&i().clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i().setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+"SegmentLoader_"];this[e+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,n=t[e+"SegmentLoader_"],r=n.buffered_(),o=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e.start(n)!==t.start(n)||e.end(n)!==t.end(n))return!0;return!1}(this[e+"Buffered_"],r);this[e+"Buffered_"]=r,o?this.resetSegmentDownloads_(e):(this[e+"StalledDownloads_"]++,this.logger_("found #"+this[e+"StalledDownloads_"]+" "+e+" appends that did not increase buffer (possible stalled download)",{playlistId:n.playlist_&&n.playlist_.id,buffered:es(r)}),this[e+"StalledDownloads_"]<10||(this.logger_(e+" loader stalled download exclusion"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:"vhs-"+e+"-download-exclusion"}),"subtitle"!==e&&t.blacklistCurrentPlaylist({message:"Excessive "+e+" segment downloading detected."},1/0)))},t.checkCurrentTime_=function(){if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+.1>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),n=this.tech_.currentTime();this.afterSeekableWindow_(t,n,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1));if(this.beforeSeekableWindow_(t,n)){var r=t.start(0);e=r+(r===t.end(0)?0:.1)}if(void 0!==e)return this.logger_("Trying to seek outside of seekable at time "+n+" with seekable range "+Ja(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var o=this.masterPlaylistController_.sourceUpdater_,i=this.tech_.buffered(),a=o.audioBuffer?o.audioBuffered():null,s=o.videoBuffer?o.videoBuffered():null,l=this.media(),c=l.partTargetDuration?l.partTargetDuration:2*(l.targetDuration-1/30),u=[a,s],d=0;d<u.length;d++){if(u[d])if(ns(u[d],n)<c)return!1}var p=Xa(i,n);return 0!==p.length&&(e=p.start(0)+.1,this.logger_("Buffered region starts ("+p.start(0)+")  just beyond seek point ("+n+"). Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0)},t.waiting_=function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=Qa(t,e);return n.length&&e+3<=n.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.logger_("Stopped at "+e+" while inside a buffered region ["+n.start(0)+" -> "+n.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var n=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+n),this.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var r=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,o=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:r.audioBuffered(),videoBuffered:r.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var i=Xa(o,t);if(i.length>0){var a=i.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+a+", seeking to "+i.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*a,t),!0}return!1},t.afterSeekableWindow_=function(e,t,n,r){if(void 0===r&&(r=!1),!e.length)return!1;var o=e.end(e.length-1)+.1;return!n.endList&&r&&(o=e.end(e.length-1)+3*n.targetDuration),t>o},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)},t.videoUnderflow_=function(e){var t=e.videoBuffered,n=e.audioBuffered,r=e.currentTime;if(t){var o;if(t.length&&n.length){var i=Qa(t,r-3),a=Qa(t,r),s=Qa(n,r);s.length&&!a.length&&i.length&&(o={start:i.end(0),end:s.end(0)})}else{Xa(t,r).length||(o=this.gapFromVideoUnderflow_(t,r))}return!!o&&(this.logger_("Encountered a gap in video from "+o.start+" to "+o.end+". Seeking to current time "+r),!0)}},t.skipTheGap_=function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=Xa(t,n);this.cancelTimer_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+1/30),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},t.gapFromVideoUnderflow_=function(e,t){for(var n=function(e){if(e.length<2)return qa.createTimeRanges();for(var t=[],n=1;n<e.length;n++){var r=e.end(n-1),o=e.start(n);t.push([r,o])}return qa.createTimeRanges(t)}(e),r=0;r<n.length;r++){var o=n.start(r),i=n.end(r);if(t-o<4&&t-o>2)return{start:o,end:i}}return null},e}(),Zc={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},Kc={PlaylistLoader:js,Playlist:ws,utils:Ks,STANDARD_PLAYLIST_SELECTOR:Yl,INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(ws.isEnabled);return ql(t,(function(e,t){return Gl(e,t)})),t.filter((function(t){return!!Ul(e.playlists.master,t).video}))[0]||null},lastBandwidthSelector:Yl,movingAverageBandwidthSelector:function(e){var t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var r=this.useDevicePixelRatio&&i().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),Wl(this.playlists.master,t,parseInt(zl(this.tech_.el(),"width"),10)*r,parseInt(zl(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:Gl,comparePlaylistResolution:function(e,t){var n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||i().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||i().Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:Us()};Object.keys(ll).forEach((function(e){Object.defineProperty(Kc,e,{get:function(){return qa.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),ll[e]},set:function(t){qa.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?qa.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):ll[e]=t}})}));var $c=function(e,t){for(var n=t.media(),r=-1,o=0;o<e.length;o++)if(e[o].id===n.id){r=o;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};Kc.canPlaySource=function(){return qa.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Qc=function(e){var t=e.player,n=e.sourceKeySystems,r=e.audioMedia,o=e.mainPlaylists;if(!t.eme.initializeMediaKeys)return Promise.resolve();var i=function(e,t){return e.reduce((function(e,n){if(!n.contentProtection)return e;var r=t.reduce((function(e,t){var r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[])}(r?o.concat([r]):o,Object.keys(n)),a=[],s=[];return i.forEach((function(e){s.push(new Promise((function(e,n){t.tech_.one("keysessioncreated",e)}))),a.push(new Promise((function(n,r){t.eme.initializeMediaKeys({keySystems:e},(function(e){e?r(e):n()}))})))})),Promise.race([Promise.all(a),Promise.race(s)])},Xc=function(e){var t=e.player,n=function(e,t,n){if(!e)return e;var r={};t&&t.attributes&&t.attributes.CODECS&&(r=Bl(z(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);var o=G(r.video),i=G(r.audio),a={};for(var s in e)a[s]={},i&&(a[s].audioContentType=i),o&&(a[s].videoContentType=o),t.contentProtection&&t.contentProtection[s]&&t.contentProtection[s].pssh&&(a[s].pssh=t.contentProtection[s].pssh),"string"==typeof e[s]&&(a[s].url=e[s]);return qa.mergeOptions(e,a)}(e.sourceKeySystems,e.media,e.audioMedia);return!!n&&(t.currentSource().keySystems=n,!(n&&!t.eme)||(qa.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},Jc=function(){if(!i().localStorage)return null;var e=i().localStorage.getItem("videojs-vhs");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Kc.supportsNativeHls=function(){if(!s()||!s().createElement)return!1;var e=s().createElement("video");if(!qa.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),Kc.supportsNativeDash=!!(s()&&s().createElement&&qa.getTech("Html5").isSupported())&&/maybe|probably/i.test(s().createElement("video").canPlayType("application/dash+xml")),Kc.supportsTypeNatively=function(e){return"hls"===e?Kc.supportsNativeHls:"dash"===e&&Kc.supportsNativeDash},Kc.isSupported=function(){return qa.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var eu=function(e){function t(t,n,r){var o;if(o=e.call(this,n,qa.mergeOptions(r.hls,r.vhs))||this,r.hls&&Object.keys(r.hls).length&&qa.log.warn("Using hls options is deprecated. Please rename `hls` to `vhs` in your options object."),"number"==typeof r.initialBandwidth&&(o.options_.bandwidth=r.initialBandwidth),o.logger_=Ka("VhsHandler"),n.options_&&n.options_.playerId){var i=qa(n.options_.playerId);i.hasOwnProperty("hls")||Object.defineProperty(i,"hls",{get:function(){return qa.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"hls-player-access"}),d(o)},configurable:!0}),i.hasOwnProperty("vhs")||Object.defineProperty(i,"vhs",{get:function(){return qa.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"vhs-player-access"}),d(o)},configurable:!0}),i.hasOwnProperty("dash")||Object.defineProperty(i,"dash",{get:function(){return qa.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),d(o)},configurable:!0}),o.player_=i}if(o.tech_=n,o.source_=t,o.stats={},o.ignoreNextSeekingEvent_=!1,o.setOptions_(),o.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(o.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return o.on(s(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(e){var t=s().fullscreenElement||s().webkitFullscreenElement||s().mozFullScreenElement||s().msFullscreenElement;t&&t.contains(o.tech_.el())?o.masterPlaylistController_.fastQualityChange_():o.masterPlaylistController_.checkABR_()})),o.on(o.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),o.on(o.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),o.on(o.tech_,"play",o.play),o}f(t,e);var n=t.prototype;return n.setOptions_=function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var t=Jc();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),t&&t.throughput&&(this.options_.throughput=t.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=ll.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===ll.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","useDtsForTimestampOffset","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(t){void 0!==e.source_[t]&&(e.options_[t]=e.source_[t])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},n.src=function(e,t){var n=this;if(e){var r;this.setOptions_(),this.options_.src=0===(r=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(r.substring(r.indexOf(",")+1)):r,this.options_.tech=this.tech_,this.options_.externVhs=Kc,this.options_.sourceType=$(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.options_.smoothQualityChange&&qa.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new qc(this.options_);var o=qa.mergeOptions({liveRangeSafeTimeDelta:.1},this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new Yc(o),this.masterPlaylistController_.on("error",(function(){var e=qa.players[n.tech_.options_.playerId],t=n.masterPlaylistController_.error;"object"!==Mt(t)||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));var a=this.options_.experimentalBufferBasedABR?Kc.movingAverageBandwidthSelector(.55):Kc.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):a.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Kc.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var e=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,t=i().navigator.connection||i().navigator.mozConnection||i().navigator.webkitConnection;if(this.options_.useNetworkInformationApi&&t){var n=1e3*t.downlink*1e3;e=n>=1e7&&e>=1e7?Math.max(e,n):n}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e,t=1/(this.bandwidth||1);return e=this.throughput>0?1/this.throughput:0,Math.floor(1/(t+e))},set:function(){qa.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return es(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return es(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!i().localStorage)return!1;var t=Jc();t=t?qa.mergeOptions(t,e):e;try{i().localStorage.setItem("videojs-vhs",JSON.stringify(t))}catch(e){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e;(e=n).representations=function(){var t=e.masterPlaylistController_.master(),n=_s(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((function(e){return!hs(e)})).map((function(t,n){return new Gc(e,t,t.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){n.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=i().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},n.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),Qc({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},n.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},n.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=Xc({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});this.player_.tech_.on("keystatuschange",(function(t){if("output-restricted"===t.status){var n=e.masterPlaylistController_.master();if(n&&n.playlists){var r,o=[];if(n.playlists.forEach((function(e){e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,o.push(e))})),o.length)(r=qa.log).warn.apply(r,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(o)),e.masterPlaylistController_.fastQualityChange_()}}})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==qa.browser.IE_VERSION&&n?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},n.setupQualityLevels_=function(){var e=this,t=qa.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t,n;t=e.qualityLevels_,(n=e).representations().forEach((function(e){t.addQualityLevel(e)})),$c(t,n.playlists)})),this.playlists.on("mediachange",(function(){$c(e.qualityLevels_,e.playlists)})))},t.version=function(){return{"@videojs/http-streaming":"2.16.3","mux.js":"6.0.1","mpd-parser":"0.22.1","m3u8-parser":"4.8.0","aes-decrypter":"3.1.3"}},n.version=function(){return this.constructor.version()},n.canChangeType=function(){return Sc.canChangeType()},n.play=function(){this.masterPlaylistController_.play()},n.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},n.duration=function(){return this.masterPlaylistController_.duration()},n.seekable=function(){return this.masterPlaylistController_.seekable()},n.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&i().URL.revokeObjectURL&&(i().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},n.convertToProgramTime=function(e,t){return $s({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},n.seekToProgramTime=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=2),Qs({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(qa.getComponent("Component")),tu={name:"videojs-http-streaming",VERSION:"2.16.3",canHandleSource:function(e,t){void 0===t&&(t={});var n=qa.mergeOptions(qa.options,t);return tu.canPlayType(e.type,n)},handleSource:function(e,t,n){void 0===n&&(n={});var r=qa.mergeOptions(qa.options,n);return t.vhs=new eu(e,t,r),qa.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return qa.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=Us(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){var n=$(e);if(!n)return"";var r=tu.getOverrideNative(t);return!Kc.supportsTypeNatively(n)||r?"maybe":""},getOverrideNative:function(e){void 0===e&&(e={});var t=e,n=t.vhs,r=void 0===n?{}:n,o=t.hls,i=void 0===o?{}:o,a=!(qa.browser.IS_ANY_SAFARI||qa.browser.IS_IOS),s=r.overrideNative,l=void 0===s?a:s,c=i.overrideNative;return void 0!==c&&c||l}};(W("avc1.4d400d,mp4a.40.2")&&qa.getTech("Html5").registerSourceHandler(tu,0),qa.VhsHandler=eu,Object.defineProperty(qa,"HlsHandler",{get:function(){return qa.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),eu},configurable:!0}),qa.VhsSourceHandler=tu,Object.defineProperty(qa,"HlsSourceHandler",{get:function(){return qa.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),tu},configurable:!0}),qa.Vhs=Kc,Object.defineProperty(qa,"Hls",{get:function(){return qa.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),Kc},configurable:!0}),qa.use||(qa.registerComponent("Hls",Kc),qa.registerComponent("Vhs",Kc)),qa.options.vhs=qa.options.vhs||{},qa.options.hls=qa.options.hls||{},qa.getPlugin&&qa.getPlugin("reloadSourceOnError"))||(qa.registerPlugin||qa.plugin)("reloadSourceOnError",(function(e){!function e(t,n){var r=0,o=0,i=qa.mergeOptions(Zc,n);t.ready((function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var a=function(){o&&t.currentTime(o)},s=function(e){null!=e&&(o=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",a),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},l=function(){return Date.now()-r<1e3*i.errorInterval?(t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void t.trigger({type:"usage",name:"hls-error-reload-canceled"})):i.getSource&&"function"==typeof i.getSource?(r=Date.now(),i.getSource.call(t,s)):void qa.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},c=function e(){t.off("loadedmetadata",a),t.off("error",l),t.off("dispose",e)};t.on("error",l),t.on("dispose",c),t.reloadSourceOnError=function(n){c(),e(t,n)}}(this,e)}));const nu=qa;r(82102),r(10962),r(74819);function ru(e){return(ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ou(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iu(e,t,n){return(iu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=cu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function au(e,t){return(au=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function su(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=cu(e);if(t){var o=cu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lu(this,n)}}function lu(e,t){if(t&&("object"===ru(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 cu(e){return(cu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var uu=function(e){!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}}),t&&au(e,t)}(i,e);var t,n,r,o=su(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,e,t)).secs=t.seconds||5,n}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-forward-control ".concat(iu(cu(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){var t=this.player().currentTime()+this.secs;t<0&&(t=0),this.player().currentTime(t)}}])&&ou(t.prototype,n),r&&ou(t,r),i}(nu.getComponent("Button"));uu.prototype.controlText_="Forward";const du=uu;r(83473);function pu(e){return(pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fu(e,t){return(fu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gu(e);if(t){var o=gu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mu(this,n)}}function mu(e,t){if(t&&("object"===pu(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 gu(e){return(gu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yu=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("forwardButton",du);var vu=function(e){!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}}),t&&fu(e,t)}(n,e);var t=hu(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.ready((function(){e.controlBar.forwardButton=e.controlBar.addChild("forwardButton",{seconds:r.seconds},r.index)})),o}return n}(yu),bu=r(27266),_u=r.n(bu);function wu(e){return(wu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Su(e,t,n){return(Su="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ou(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Eu(e,t){return(Eu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ou(e);if(t){var o=Ou(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ku(this,n)}}function ku(e,t){if(t&&("object"===wu(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 Ou(e){return(Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Tu=function(e){!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}}),t&&Eu(e,t)}(i,e);var t,n,r,o=xu(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-download-button ".concat(Su(Ou(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){this.options().downloadFn&&this.options().downloadFn(this.options().attachment)||_u()(this.options().attachment.url)}}])&&Cu(t.prototype,n),r&&Cu(t,r),i}(nu.getComponent("Button"));Tu.prototype.controlText_="Download";const Au=Tu;r(42742);function Pu(e){return(Pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ru(e,t){return(Ru=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Iu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Nu(e);if(t){var o=Nu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Mu(this,n)}}function Mu(e,t){if(t&&("object"===Pu(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 Nu(e){return(Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Du=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("downloadButton",Au);var ju=function(e){!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}}),t&&Ru(e,t)}(n,e);var t=Iu(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.ready((function(){e.controlBar.downloadButton=e.controlBar.addChild("downloadButton",{downloadFn:r.downloadFn,attachment:r.attachment},r.index)})),o}return n}(Du);function Lu(e){return(Lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fu(e,t,n){return(Fu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Uu(e,t){return(Uu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zu(e);if(t){var o=zu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vu(this,n)}}function Vu(e,t){if(t&&("object"===Lu(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 zu(e){return(zu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qu=function(e){!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}}),t&&Uu(e,t)}(i,e);var t,n,r,o=Hu(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-shadow"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.className||(t.className=this.buildCSSClass());var r=Fu(zu(i.prototype),"createEl",this).call(this,e,t,n),o=document.createElement("div");o.classList.add("vjs-control-shadow");var a=document.createElement("div");return a.classList.add("vjs-video-name"),a.innerText=this.options().videoName,r.appendChild(a),r.appendChild(o),r}}])&&Bu(t.prototype,n),r&&Bu(t,r),i}(nu.getComponent("Spacer"));qu.prototype.controlText_="Shadow";const Gu=qu;r(95306);function Wu(e){return(Wu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ku(e,t){return(Ku=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xu(e);if(t){var o=Xu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Qu(this,n)}}function Qu(e,t){if(t&&("object"===Wu(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 Xu(e){return(Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ju=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("controlShadow",Gu);var ed=function(e){!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}}),t&&Ku(e,t)}(n,e);var t=$u(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.controlShadow=e.addChild("controlShadow",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yu(Object(n),!0).forEach((function(t){Zu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),3),o}return n}(Ju),td=(r(91038),r(8065)),nd=r(8523);function rd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function od(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return id(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return id(e,t)}(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 id(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ad=parseInt(nd.ctaButtonPadding.replace("px","")),sd=function(t){var n=t.onPlayAgain,r=t.type,o=t.description,i=t.i18n,a=["video-player-cta__play-again-button"];return("button"===r&&!o||"image"===r)&&a.push("video-player-cta__play-again-button_style_button"),(0,e.h)("div",{className:"video-player-cta__play-again-wrap"},(0,e.h)("button",{onClick:n,className:a.join(" ")},(0,e.h)("span",null,i.get("video.player.watch_again"))))},ld=function(t){var n=t.description,r=t.title,o=t.address,i=t.buttonSize,a=t.background,s=t.buttonShape,l=t.buttonId,c=t.playAgainBtn,u=["button-single"];return n&&u.push("video-player-cta__button"),(0,e.h)("div",{className:"video-player-cta__button-wrapper"},(0,e.h)("div",{className:u.join(" ")},(0,e.h)("div",{className:"video-player-cta__nimbus-button-wrap"},(0,e.h)("nimbus-button",{id:l,"data-size":i,"data-background":a,"data-shape":s,"data-type":"default",className:"single-button",onClick:function(){return window.open(o,"_blank")}},(0,e.h)("span",{className:"button-content"},(0,e.h)("b",null,r)))),n?(0,e.h)("div",{className:"video-payer-cta__description"},n):null,"end"===t.whenToShow&&t.showPlayAgain?(0,e.h)(sd,t):null),c)},cd=function(t){var n=t.address,r=t.children;return n?(0,e.h)("a",{href:n,target:"_blank",className:"video-payer-cta__image-link"},r):r},ud=function(t){var n=t.address,r=t.imageUrl;return(0,e.h)("div",{className:"video-player-cta__image-wrapper"},(0,e.h)(cd,{address:n},(0,e.h)("img",{src:r,className:"video-player-cta__image"})),"end"===t.whenToShow&&t.showPlayAgain?(0,e.h)(sd,t):null)};const dd=function(t){var n,r=t.hideControls,o=t.type,i=t.description,a=t.title,s=(0,td.sO)(null),l=(0,td.sO)(null),c=od((0,td.eJ)(0),2),u=c[0],d=c[1],p=od((0,td.eJ)(0),2),f=p[0],h=p[1],m=od((0,td.eJ)(!1),2),g=m[0],y=m[1],v=od((0,td.eJ)(!1),2),b=v[0],_=v[1],w=od((0,td.eJ)(!0),2),C=w[0],S=w[1];(0,td.d4)((function(){_(!1)}),[i,a]),(0,td.d4)((function(){if(null!=s&&s.current){var e=new ResizeObserver((function(){!function(e,t,n){if(null==t||!t.current||null==e||!e.current)return!1;var r=n.setHeight,o=n.setWidth,i=n.setButtonOversize,a=n.setCtaOversize,s=n.setIsPanel,l=n.hideControls,c=t.current.getBoundingClientRect(),u=e.current.closest(".video-js").querySelector("video").getBoundingClientRect(),d=u.width,p=u.height;if(p){var f=d>=350&&!l,h=c.height>=p-30,m=c.width>=d-2*ad;r(p),o(d),i(m),a(h),s(f)}}(s,l,{setWidth:d,setHeight:h,setButtonOversize:y,setCtaOversize:_,setIsPanel:S,hideControls:r})}));return e.observe(s.current),function(){e.disconnect(s.current)}}}),[null==l?void 0:l.current]);var E=["video-player-cta"];t.showPlayAgain&&"end"===t.whenToShow&&E.push("video-player-cta_play-again"),"button"===t.type&&E.push("video-player-cta_button"),g&&E.push("video-player-cta_button-oversize"),b&&E.push("video-player-cta_oversize"),C&&E.push("video-player-cta_panel");var x=["video-player-cta__cta"];"image"===o&&x.push("video-player-cta__cta_type_image"),"button"===o&&x.push("video-player-cta__cta_type_button");"end"===t.whenToShow&&t.showPlayAgain&&"button"!==o&&(0,e.h)(sd,t);return(0,e.h)("div",{className:E.join(" "),ref:s,style:(n={},rd(n,"--height",f+"px"),rd(n,"--width",u+"px"),n)},(0,e.h)("div",{className:x.join(" "),ref:l},"button"===o?(0,e.h)(ld,t):null,"image"===o?(0,e.h)(ud,t):null))};function pd(e){return(pd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fd(){return(fd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function hd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function md(e,t,n){return(md="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_d(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function gd(e,t){return(gd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_d(e);if(t){var o=_d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vd(this,n)}}function vd(e,t){if(t&&("object"===pd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bd(e)}function bd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _d(e){return(_d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cd=function(t){!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}}),t&&gd(e,t)}(a,t);var n,r,o,i=yd(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),wd(bd(n=i.call(this,e,t)),"onPlayerPause",(function(){n.player().ended()||"pause"===n.options().whenToShow&&n.renderCtaComponent()})),wd(bd(n),"onPlayerEnded",(function(){"end"===n.options().whenToShow&&n.renderCtaComponent()})),wd(bd(n),"onPlayerPlay",(function(){n.renderCtaComponent(!1)})),wd(bd(n),"onPlayAgain",(function(){n.player().play()})),e.on("pause",n.onPlayerPause),e.on("ended",n.onPlayerEnded),e.on("play",n.onPlayerPlay),n}return n=a,(r=[{key:"renderCtaComponent",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.el();t?(0,e.sY)((0,e.h)(dd,fd({},this.options(),{hideControls:!this.player().options().controls,onPlayAgain:this.onPlayAgain,i18n:this.options().editor.plugins.i18n})),n):n.childNodes.length&&(0,e.sY)(null,n)}},{key:"buildCSSClass",value:function(){return"vjs-cta"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),md(_d(a.prototype),"createEl",this).call(this,e,t,n)}}])&&hd(n.prototype,r),o&&hd(n,o),a}(nu.getComponent("Spacer"));function Sd(e){return(Sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ed(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kd(e,t){return(kd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Od(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ad(e);if(t){var o=Ad(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Td(this,n)}}function Td(e,t){if(t&&("object"===Sd(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 Ad(e){return(Ad=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pd=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("cta",Cd);var Rd=function(e){!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}}),t&&kd(e,t)}(n,e);var t=Od(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.cta=e.addChild("cta",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ed(Object(n),!0).forEach((function(t){xd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ed(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),2),o}return n}(Pd),Id=r(49190);function Md(e){return(Md="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dd(e,t,n){return(Dd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ud(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function jd(e,t){return(jd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ld(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ud(e);if(t){var o=Ud(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bd(this,n)}}function Bd(e,t){if(t&&("object"===Md(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Fd(e)}function Fd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e){return(Ud=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vd=function(t){!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}}),t&&jd(e,t)}(a,t);var n,r,o,i=Ld(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Hd(Fd(n=i.call(this,e,t)),"onPlayerEnded",(function(){n.options().showAdv&&n.renderAdvComonent()})),Hd(Fd(n),"onPlayerPlay",(function(){n.options().showAdv&&n.renderAdvComonent(!1)})),Hd(Fd(n),"onPlayAgain",(function(){n.player().play()})),e.on("ended",n.onPlayerEnded),e.on("play",n.onPlayerPlay),n}return n=a,(r=[{key:"getAdvHTML",value:function(){var e=this.options().blot;return e&&e.blotConfig&&e.blotConfig.getAdvert()||null}},{key:"renderAdvComonent",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.getAdvHTML(),r=this.el();if(n&&t){var o=this.options().editor.plugins.i18n.get("video.player.watch_again"),i=(0,e.h)("div",{className:"video-player-popup"},(0,e.h)("div",{className:"video-player-popup-bg"},(0,e.h)("div",{className:"popup-content",dangerouslySetInnerHTML:{__html:n}})),(0,e.h)("div",{className:"watch-again",onClick:this.onPlayAgain},(0,e.h)(Id._Ts,null),o));(0,e.sY)(i,r)}else r.childNodes.length&&(0,e.sY)(null,r)}},{key:"buildCSSClass",value:function(){return"vjs-nimbus-adv"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),Dd(Ud(a.prototype),"createEl",this).call(this,e,t,n)}}])&&Nd(n.prototype,r),o&&Nd(n,o),a}(nu.getComponent("Spacer"));r(53893);function zd(e){return(zd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wd(e,t){return(Wd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kd(e);if(t){var o=Kd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zd(this,n)}}function Zd(e,t){if(t&&("object"===zd(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 Kd(e){return(Kd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $d=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("nimbusAdv",Vd);var Qd=function(e){!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}}),t&&Wd(e,t)}(n,e);var t=Yd(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.nimbusAdv=e.addChild("nimbusAdv",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qd(Object(n),!0).forEach((function(t){Gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),4),o}return n}($d);function Xd(e){return(Xd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ep(e,t,n){return(ep="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=op(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function tp(e,t){return(tp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function np(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=op(e);if(t){var o=op(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rp(this,n)}}function rp(e,t){if(t&&("object"===Xd(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 op(e){return(op=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ip=function(e){!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}}),t&&tp(e,t)}(i,e);var t,n,r,o=np(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-toggle-play"}},{key:"handleClick",value:function(e){e.preventDefault(),this.player().paused()?this.player().play():this.player().pause()}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),ep(op(i.prototype),"createEl",this).call(this,e,t,n)}}])&&Jd(t.prototype,n),r&&Jd(t,r),i}(nu.getComponent("Button"));ip.prototype.controlText_="Toggle Play";const ap=ip;r(80049);function sp(e){return(sp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lp(e,t){return(lp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=dp(e);if(t){var o=dp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return up(this,n)}}function up(e,t){if(t&&("object"===sp(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 dp(e){return(dp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pp=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("togglePlay",ap);var fp=function(e){!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}}),t&&lp(e,t)}(n,e);var t=cp(n);function n(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),r=t.call(this,e),e.togglePlay=e.addChild("togglePlay",{},5),r}return n}(pp);function hp(e){return(hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function gp(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){mp(i,r,o,a,s,"next",e)}function s(e){mp(i,r,o,a,s,"throw",e)}a(void 0)}))}}function yp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vp(e,t,n){return(vp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Sp(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function bp(e,t){return(bp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sp(e);if(t){var o=Sp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wp(this,n)}}function wp(e,t){if(t&&("object"===hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Cp(e)}function Cp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sp(e){return(Sp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ep(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xp=function(t){!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}}),t&&bp(e,t)}(a,t);var n,r,o,i=_p(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Ep(Cp(n=i.call(this,e,t)),"reRender",function(){var e=gp(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.previewSettings=t,!n.previewSettings){e.next=7;break}return e.next=4,n.loadPreviewAttach();case 4:n.setState({textColor:n.previewSettings?n.previewSettings.textOverlay?n.previewSettings.textOverlay.color:"#fff":""}),n.previewArea(),n.renderPreviewComponent();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Ep(Cp(n),"onPlayerResize",(function(){n.previewSettings&&(n.previewArea(),n.renderPreviewComponent())})),Ep(Cp(n),"loadPreviewAttach",gp(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=null,!n.previewSettings){e.next=12;break}if("first_frame"!=n.previewSettings.activePreviewType){e.next=6;break}n.setState({previewImage:null,previewBackground:"none"}),e.next=12;break;case 6:if(!(t=n.previewSettings.previews[n.previewSettings.activePreviewType].attachmentGlobalId)){e.next=12;break}return e.next=10,n.previewAttach(t);case 10:(r=e.sent)&&n.setState({previewImage:r.url,previewBackground:"#141414"});case 12:case"end":return e.stop()}}),e)})))),Ep(Cp(n),"onPlayerReady",gp(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.previewSettings){e.next=5;break}return e.next=3,n.loadPreviewAttach();case 3:n.previewArea(),n.renderPreviewComponent();case 5:case"end":return e.stop()}}),e)})))),Ep(Cp(n),"onPlayerPlay",(function(){n.setState({playerIsPlayed:!0}),n.renderPreviewComponent(!1)})),Ep(Cp(n),"onPlayerPause",(function(){n.setState({playerIsPlayed:!0}),n.renderPreviewComponent(!1)})),Ep(Cp(n),"findFnt",(function(e,t,r,o,i){var a=n.wrapTextNew(e,t,r);return a.length>2?(e.font=o[i++]+"px Arial",n.findFnt(e,t,r,o,i)):[a,i]})),Ep(Cp(n),"findHeightFnt",(function(e,t,r,o,i){for(var a=0,s=0;s<t.length;s++)e.font=o[i]+"pt Arial",e.measureText(t[s]),a+=parseInt(e.font.match(/\d+/),10);return a>r?n.findHeightFnt(e,t,r,o,++i):o[i]})),Ep(Cp(n),"wrapTextNew",(function(e,t,n){for(var r=t.split(" "),o="",i="",a=[],s=0;s<r.length;s++){i+="".concat(r[s]," "),e.measureText(i).width>n&&s>0?(a.push(o),o="".concat(r[s]," "),i="".concat(r[s]," ")):o+="".concat(r[s]," "),s===r.length-1&&a.push(o)}return a})),Ep(Cp(n),"setTextDisplay",(function(e){n.setState({display:e})})),Ep(Cp(n),"previewArea",(function(){if(n.state.playerIsPlayed)return n.setTextDisplay("none"),!1;var e=window.document.getElementById(n.player.id_);if(!e)return n.setTextDisplay("none"),!1;var t=e.clientHeight,r=e.clientWidth,o=Math.floor(r),i=Math.floor(t)/2-30;if(n.setState({heightOfPreview:t}),o<280)return n.setTextDisplay("none"),!1;if(n.setTextDisplay("flex"),!n.previewSettings.textOverlay||!n.previewSettings.textOverlay.enable)return n.setState({previewText:null,display:"none"}),!1;var a=n.previewSettings.textOverlay.text,s=document.createElement("canvas"),l=s.getContext("2d");s.width=r,s.height=i,l.textAlign="left",l.textBaseline="left";var c,u,d=0,p=52,f=[];for(u=8;u<=52;u++)u%2&&f.push(u+1);f.reverse(),l.font=p+"px Arial";var h=n.findFnt(l,a,r,f,0),m=h[0],g=h[1],y=m.join("\n");p=g;for(u=0;u<m.length;u++){d=0;do{l.font=f[d++]+"pt Arial",c=l.measureText(m[u]),f[d]>=g&&(p=f[d+1])}while(c.width>=s.width);parseInt(l.font.match(/\d+/),10)}p=n.findHeightFnt(l,m,s.height,f,d),s.remove(),y=y.split("\n").join("<br/>"),n.setState({previewText:y,fnt:p,height:i})})),n.previewSettings=t.previewSettings,n.previewAttach=t.previewAttach,n.player=e,n.state={textColor:n.previewSettings?n.previewSettings.textOverlay?n.previewSettings.textOverlay.color:"#fff":"",previewImage:null,previewText:null,fnt:null,display:"flex",height:"3em",heightOfPreview:"100%",previewBackground:"none",playerIsPlayed:!1},e.on("ready",n.onPlayerReady),e.on("play",n.onPlayerPlay),e.on("pause",n.onPlayerPause),e.on("playerresize",n.onPlayerResize),n}return n=a,(r=[{key:"renderPreviewComponent",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.el();if(t){var r=(0,e.h)("div",{class:"video-preview-wrapper",style:{background:this.state.playerIsPlayed?"none":this.state.previewBackground,height:this.state.heightOfPreview}},(0,e.h)("div",{className:"video-player-popup vjs-emre",style:{height:this.state.height,fontSize:this.state.fnt,color:this.state.textColor,display:this.state.display},dangerouslySetInnerHTML:{__html:this.state.previewText}}),(0,e.h)("div",{class:"video-player-preview",style:{height:this.state.heightOfPreview-41,background:this.state.previewImage&&!this.state.playerIsPlayed?"url('"+this.state.previewImage+"') no-repeat center / contain #141414":"none",backgroundSize:"contain",display:this.state.previewImage&&!this.state.playerIsPlayed?"block":"none"}}));(0,e.sY)(r,n)}else n.childNodes.length&&(0,e.sY)(null,n)}},{key:"buildCSSClass",value:function(){return"vjs-nimbus-preview"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),vp(Sp(a.prototype),"createEl",this).call(this,e,t,n)}}])&&yp(n.prototype,r),o&&yp(n,o),a}(nu.getComponent("Spacer"));r(39727);function kp(e){return(kp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Op(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ap(e,t){return(Ap=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ip(e);if(t){var o=Ip(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rp(this,n)}}function Rp(e,t){if(t&&("object"===kp(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 Ip(e){return(Ip=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Mp=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("previewVideo",xp);var Np=function(e){!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}}),t&&Ap(e,t)}(n,e);var t=Pp(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.previewVideo=e.addChild("previewVideo",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Op(Object(n),!0).forEach((function(t){Tp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Op(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),4),o}return n}(Mp);function Dp(e){return(Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lp(e,t,n){return(Lp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hp(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Bp(e,t){return(Bp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Hp(e);if(t){var o=Hp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Up(this,n)}}function Up(e,t){if(t&&("object"===Dp(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 Hp(e){return(Hp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vp=function(e){!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}}),t&&Bp(e,t)}(i,e);var t,n,r,o=Fp(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,e,t)).controlTextEl_.innerHTML=window.gEditor?window.gEditor.plugins.i18n.get("file.menu.preview_video_btn"):"Preview",n}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-preview-button ".concat(Lp(Hp(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){this.options().clickFn&&this.options().clickFn(this.options().attachment)}}])&&jp(t.prototype,n),r&&jp(t,r),i}(nu.getComponent("Button"));Vp.prototype.controlText_="Preview";const zp=Vp;r(57167);function qp(e){return(qp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wp(e,t){return(Wp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kp(e);if(t){var o=Kp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zp(this,n)}}function Zp(e,t){if(t&&("object"===qp(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 Kp(e){return(Kp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $p=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("previewButton",zp);var Qp=function(e){!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}}),t&&Wp(e,t)}(i,e);var t,n,r,o=Yp(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n=o.call(this,e),t?(e.ready((function(){n.previewButton=e.controlBar.addChild("previewButton",{clickFn:t.clickFn,attachment:t.attachment},t.index),t.show||n.previewButton.hide(),e.controlBar.previewButton=n.previewButton})),n):Zp(n)}return t=i,(n=[{key:"show",value:function(){this.previewButton&&this.previewButton.show()}},{key:"hide",value:function(){this.previewButton&&this.previewButton.hide()}}])&&Gp(t.prototype,n),r&&Gp(t,r),i}($p);function Xp(e){return(Xp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ef(e,t,n){return(ef="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=of(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function tf(e,t){return(tf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=of(e);if(t){var o=of(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rf(this,n)}}function rf(e,t){if(t&&("object"===Xp(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 of(e){return(of=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var af=function(e){!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}}),t&&tf(e,t)}(i,e);var t,n,r,o=nf(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-transcript-button ".concat(ef(of(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){var t=this;if(this.options().clickFn){var n=Object.assign({},this.options().attachment),r=document.createElement("video");r.src=n.url,r.onloadedmetadata=function(){n.duration=r.duration,t.options().clickFn(n)}}}}])&&Jp(t.prototype,n),r&&Jp(t,r),i}(nu.getComponent("Button"));af.prototype.controlText_="Transcript";const sf=af;r(36663);function lf(e){return(lf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uf(e,t){return(uf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function df(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ff(e);if(t){var o=ff(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pf(this,n)}}function pf(e,t){if(t&&("object"===lf(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 ff(e){return(ff=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var hf=nu.getPlugin("plugin");nu.getComponent("Component").registerComponent("transcriptButton",sf);var mf=function(e){!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}}),t&&uf(e,t)}(i,e);var t,n,r,o=df(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n=o.call(this,e),t?(e.ready((function(){n.transcriptButton=e.controlBar.addChild("transcriptButton",{clickFn:t.clickFn,attachment:t.attachment},t.index),t.show||n.transcriptButton.hide(),e.controlBar.transcriptButton=n.transcriptButton})),n):pf(n)}return t=i,(n=[{key:"show",value:function(){this.transcriptButton&&this.transcriptButton.show()}},{key:"hide",value:function(){this.transcriptButton&&this.transcriptButton.hide()}}])&&cf(t.prototype,n),r&&cf(t,r),i}(hf);function gf(e){return(gf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vf(e,t){return(vf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Cf(e);if(t){var o=Cf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _f(this,n)}}function _f(e,t){if(t&&("object"===gf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return wf(e)}function wf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cf(e){return(Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Sf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}nu.registerPlugin("forwardButtonPlugin",vu),nu.registerPlugin("downloadButtonPlugin",ju),nu.registerPlugin("controlShadowPlugin",ed),nu.registerPlugin("callToActionPlugin",Rd),nu.registerPlugin("nimbusAdvPlugin",Qd),nu.registerPlugin("togglePlayPlugin",fp),nu.registerPlugin("previewVideoPlugin",Np),nu.registerPlugin("previewButtonPlugin",Qp),nu.registerPlugin("transcriptButtonPlugin",mf);var Ef=function(t){!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}}),t&&vf(e,t)}(a,t);var n,r,o,i=bf(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Sf(wf(t=i.call(this,e)),"onVideoRef",(function(e){t.videoNode=e})),Sf(wf(t),"onRef",(function(e){t.domNode=e,t.props.onDomRef&&t.props.onDomRef(e)})),t}return n=a,(r=[{key:"componentDidMount",value:function(){this.player=nu(this.videoNode,this.props),this.props.onPlayerRef&&this.props.onPlayerRef(this.player)}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose()}},{key:"render",value:function(){return(0,e.h)("div",{"data-vjs-player":!0,ref:this.onRef},(0,e.h)("video",{ref:this.onVideoRef,className:"video-js vjs-big-play-centered vjs-theme-nimbus"}))}}])&&yf(n.prototype,r),o&&yf(n,o),a}(e.wA),xf=r(37733),kf=r.n(xf),Of=nu.getComponent("Flash"),Tf=!nu.browser.IS_IPHONE,Af=nu.registerPlugin||nu.plugin,Pf={header:"",code:"",message:"",timeout:45e3,backgroundTimeout:3e5,dismiss:Tf,errors:{1:{type:"MEDIA_ERR_ABORTED",headline:"The video download was cancelled"},2:{type:"MEDIA_ERR_NETWORK",headline:"The video connection was lost, please confirm you are connected to the internet"},3:{type:"MEDIA_ERR_DECODE",headline:"The video is bad or in a format that cannot be played on your browser"},4:{type:"MEDIA_ERR_SRC_NOT_SUPPORTED",headline:"This video is either unavailable or not supported in this browser"},5:{type:"MEDIA_ERR_ENCRYPTED",headline:"The video you are trying to watch is encrypted and we do not know how to decrypt it"},unknown:{type:"MEDIA_ERR_UNKNOWN",headline:"An unanticipated problem was encountered, check back soon and try again"},"-1":{type:"PLAYER_ERR_NO_SRC",headline:"No video has been loaded"},"-2":{type:"PLAYER_ERR_TIMEOUT",headline:"It looks like you're having playback issues. Reloading the video may help."},PLAYER_ERR_DOMAIN_RESTRICTED:{headline:"This video is restricted from playing on your current domain"},PLAYER_ERR_IP_RESTRICTED:{headline:"This video is restricted at your current IP address"},PLAYER_ERR_GEO_RESTRICTED:{headline:"This video is restricted from playing in your current geographic region"},FLASHLS_ERR_CROSS_DOMAIN:{headline:"The video could not be loaded: crossdomain access denied."}}},Rf=function e(t,n){var r,o,i,a=[],l=function(e){n.errors=nu.mergeOptions(n.errors,e),Object.keys(n.errors).forEach((function(e){var t=n.errors[e];t.type||(t.type=e)}))};l();var c=function(){t.error()&&-2===t.error().code&&t.error(null),t.clearTimeout(o),t.clearTimeout(r),i&&(i=!1,t.removeClass("vjs-waiting"));var e=[1/0,-1],a=function(e,t){return-1!==e.indexOf(t)};"hidden"===s().visibilityState&&(t.muted()||a(e,n.backgroundTimeout))||"visible"===s().visibilityState&&a(e,n.timeout)||(o=t.setTimeout((function(){t.error()||t.paused()||t.ended()||(i=!0,t.addClass("vjs-waiting"))}),1e3),r=t.setTimeout((function(){t.error()||t.paused()||t.ended()||t.error({code:-2,type:"PLAYER_ERR_TIMEOUT"})}),"hidden"===s().visibilityState?n.backgroundTimeout:n.timeout))},u=function(){for(var e;a.length;)e=a.shift(),t.off(e[0],e[1]);t.clearTimeout(r),t.clearTimeout(o)},d=function e(){var n,r,o,i=0;u(),c(),n=["timeupdate","adtimeupdate"],r=function(){var e=t.currentTime();e!==i&&(i=e,c())},o=function(){if(!t.error()){var e=t.$(".vjs-tech");if(e&&"application/x-shockwave-flash"===e.type&&!e.vjs_getProperty)return void t.error({code:-2,type:"PLAYER_ERR_TIMEOUT"});if(t.paused())return c();if(t.ended())return c()}r.call(this)},t.on(n,o),a.push([n,o]),t.off(s(),"visibilitychange",e),t.on(s(),"visibilitychange",e)},p=function(){t.currentSrc()||t.error({code:-1,type:"PLAYER_ERR_NO_SRC"})},f=function(){var e="",r=t.error(),o=s().createElement("div"),i="";if(r){if(t.off(s(),"visibilitychange",d),(r=nu.mergeOptions(r,n.errors[r.code||r.type||0])).message&&(e='<div class="vjs-errors-details">'.concat(t.localize("Technical details"),'\n        : <div class="vjs-errors-message">').concat(t.localize(r.message),"</div>\n        </div>")),4===r.code&&Of&&!Of.isSupported()){var a=t.localize("If you are using an older browser please try upgrading or installing Flash.");e+='<span class="vjs-errors-flashmessage">'.concat(a,"</span>")}var l=t.getChild("errorDisplay");o.className="vjs-errors-dialog",o.id="vjs-errors-dialog";var c='<div class="vjs-errors-code"><b>'.concat(this.localize("Error Code"),":</b> ").concat(r.type||r.code,"</div>"),u=-2===r.code;i='<div class="vjs-errors-content-container">\n        <h2 class="vjs-errors-headline">'.concat(this.localize(r.headline),"</h2>\n        ").concat(u?"":c,"\n        ").concat(u?"":e,"\n      </div>");var p=l.closeable(!("dismiss"in r)||r.dismiss);if(u){i+='<div class="vjs-errors-timeout-button-container">\n         <button>'.concat(this.localize("Reload Video"),"</button>\n         <button>").concat(this.localize("Dismiss"),"</button>\n       </div>"),o.innerHTML=i,l.fillWith(o),l.getChild("closeButton").hide();var f=l.el().querySelector(".vjs-errors-timeout-button-container > button:first-child"),h=l.el().querySelector(".vjs-errors-timeout-button-container > button:last-child");t.on(f,"click",(function(){var e=t.currentSource();t.reset(),t.src(e)})),t.on(h,"click",(function(){l.close()})),l.one("modalclose",(function(){t.off(f),t.off(h)}))}else if(p){i+='<div class="vjs-errors-ok-button-container">\n          <button class="vjs-errors-ok-button">'.concat(this.localize("OK"),"</button>\n        </div>"),o.innerHTML=i,l.fillWith(o),l.contentEl().firstChild.appendChild(l.getChild("closeButton").el());var m=l.el().querySelector(".vjs-errors-ok-button");t.on(m,"click",(function(){l.close()}))}else o.innerHTML=i,l.fillWith(o);(t.currentWidth()<=600||t.currentHeight()<=250)&&l.addClass("vjs-xs"),l.one("modalclose",(function(){return t.error(null)}))}},h=function e(){u(),t.removeClass("vjs-errors"),t.off("play",d),t.off(s(),"visibilitychange",d),t.off("play",p),t.off("dispose",e),t.off(["aderror","error"],f)},m=function(n){h(),e(t,nu.mergeOptions(Pf,n))};m.extend=function(e){return l(e)},m.getAll=function(){return nu.mergeOptions(n.errors)},m.timeout=function(e){if(void 0===e)return n.timeout;e!==n.timeout&&(n.timeout=e,t.paused()||d())},m.backgroundTimeout=function(e){if(void 0===e)return n.backgroundTimeout;e!==n.backgroundTimeout&&(n.backgroundTimeout=e,t.paused()||d())},m.disableProgress=function(){},t.on("play",d),t.on("play",p),t.on("dispose",h),t.on(["aderror","contenterror","error"],f),t.ready((function(){t.addClass("vjs-errors")})),t.paused()||d(),m.VERSION="5.1.0",t.errors=m},If=function(e){Rf(this,nu.mergeOptions(Pf,e))};function Mf(e){return(Mf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nf(){return(Nf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Df(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function jf(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Df(i,r,o,a,s,"next",e)}function s(e){Df(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lf(Object(n),!0).forEach((function(t){Gf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ff(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uf(e,t){return(Uf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qf(e);if(t){var o=qf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vf(this,n)}}function Vf(e,t){if(t&&("object"===Mf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zf(e)}function zf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qf(e){return(qf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}["extend","getAll"].forEach((function(e){If[e]=function(){nu.log.warn("The errors.".concat(e,"() method is not available until the plugin has been initialized!"))}})),If.VERSION="5.1.0",Af("errors",If);var Wf=(0,r(28199).ZP)("space"),Yf={autoplay:!1,loop:!1,controls:!0,responsive:!0,fluid:!0,inactivityTimeout:3e3,playbackRates:[1,1.2,1.5,1.7,2],aspectRatio:"16:9",controlBar:{pictureInPictureToggle:!1,remainingTimeDisplay:!1,liveDisplay:!1,seekToLive:!1,chaptersButton:!1,descriptionsButton:!1,subsCapsButton:!1,audioTrackButton:!1},plugins:{forwardButtonPlugin:{index:1,seconds:5},togglePlayPlugin:!0}},Zf=function(n){!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}}),t&&Uf(e,t)}(s,n);var r,o,i,a=Hf(s);function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Gf(zf(t=a.call(this,e)),"onRef",(function(e){t.domNode=e})),Gf(zf(t),"onPlayerRef",(function(e){t.player=e})),Gf(zf(t),"onEditorScroll",(function(){t.setAutoplayIfAvailable()})),Gf(zf(t),"onPlayerReady",(function(){t.player.addClass("vjs-wait-metadata");var e=t.props,n=e.editor,r=e.blot;n.getScrollingContainer().addEventListener("scroll",t.onEditorScroll,!1),t.setAutoplayIfAvailable(),r.props.videoPlayer=zf(t),t.setState((function(){return{isPlayerReady:!0}}))})),Gf(zf(t),"onPlayerPlay",(function(){var e=t.props,n=e.editor,r=e.blot;n.emitter.emit("video-play",r.id)})),Gf(zf(t),"onEditorVideoPlay",(function(e){e===t.props.blot.id||t.props.attachment.motionVideo||t.player.pause()})),Gf(zf(t),"onPlayerFullscreenChange",(function(e){t.player.isFullscreen()?t.props.onViewerGoFullScreen&&!t.props.fullscreen&&t.props.onViewerGoFullScreen():t.props.onFullScreenClose&&t.props.fullscreen&&t.props.onFullScreenClose()})),Gf(zf(t),"onVideoDownload",(function(e){return t.props.editor.plugins.attachmentManager.download(e)})),Gf(zf(t),"onDocumentKeyDown",(function(e){t.props.editor.isEditable()||t.props.blot.scroll.focusedBlot!==t.props.blot&&t.player.paused()||t.handleKeyDown(e)})),Gf(zf(t),"onDomNodeMouseDown",(function(e){t.props.editor.isEditable()||t.props.blot.selection.setRange({index:t.props.blot.offset(t.props.blot.scroll),length:0})})),Gf(zf(t),"updateCtaState",(function(){var e=t.props,n=e.attachment,r=e.editor,o=e.blot,i=r.plugins.ctaManager.getCta(o.id,n.global_id);kf()(t.state.cta,i)||(t.state.cta=i,t.player.cta.options(Bf({},i))),t.updateNimbusAdvState()})),Gf(zf(t),"getPreviewAttach",function(){var e=jf(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.props.editor.plugins.attachmentManager.resolve(n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Gf(zf(t),"updatePreviewState",jf(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.player.previewVideo.reRender(t.props.syncedState.videoPreview);case 1:case"end":return e.stop()}}),e)})))),Gf(zf(t),"onPreviewBtn",function(){var e=jf(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.props.editor.plugins.videoPreview.onEditPreview(t.props.syncedState.videoPreview||{videoAttachmentId:t.props.attachment.global_id,textOverlay:null,activePreviewType:"first_frame",previews:{}});case 2:(r=e.sent)&&(r.videoAttachmentId=t.props.attachment.global_id,console.log("setNewState",r),t.props.setSyncedState({videoPreview:r}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var n=t.props,r=n.attachment,o=n.editor,i=n.blot;t.state={muted:!!(void 0!==r.soundDefault&&r.soundDefault||void 0!==r.autoplay&&r.autoplay),controls:void 0===r.hideControl||!r.hideControl,autoplay:void 0!==r.autoplay&&r.autoplay,loop:void 0!==r.loop&&r.loop,allowDownload:!0,showNimbusAdv:!1,isPlayerReady:!1};var l=o.plugins.ctaManager.getCta(i.id,r.global_id);return t.state.loop||r.motionVideo?t.state.cta={}:t.state.cta=l,t}return r=s,(o=[{key:"isPlayOnAutoplayAvailable",value:function(){if(!this.domNode)return!1;var e=this.props.editor.editorBody.getBoundingClientRect(),t=this.domNode.getBoundingClientRect();return t.top>=e.top-t.height/2&&t.bottom<=e.bottom+t.height/2}},{key:"setAutoplayIfAvailable",value:function(){var e=this.props.attachment,t=e.autoplay,n=e.loop;if(void 0!==t&&e.autoplay){var r=this.isPlayOnAutoplayAvailable();void 0!==n&&n||this.player.ended()&&(r=!1),r?this.player.paused()&&this.player.play():this.player.paused()||this.player.pause()}}},{key:"setMuted",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?this.player.volume(0):(this.player.muted()&&this.player.muted(!1),this.player.volume(.75))}},{key:"setAutoplay",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?(this.player.autoplay("muted"),this.player.play()):(this.player.autoplay(!1),this.player.played().length&&!this.player.paused()&&this.player.pause())}},{key:"setLoop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.player.loop(e)}},{key:"setControls",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.player.controls(e)}},{key:"setDownloadAvailable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e?this.player.controlBar.downloadButton.enable():this.player.controlBar.downloadButton.disable()}},{key:"setPreviewAvailable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e?this.player.controlBar.previewButton.enable():this.player.controlBar.previewButton.disable()}},{key:"getCustomErrorMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props.editor.plugins.i18n,r=this.props.attachment,o=void 0===r?{}:r,i=e?"":" ",a=n.get("file.video_codec_error").replace("".concat(i,"{codec}"),e);return"Safari"===(0,t.Ao)()&&"video/webm"===o.mime&&(a=n.get("file.safari_webm_not_support")),a}},{key:"updateNimbusAdvState",value:function(){var e=void 0!==this.state.cta&&this.state.cta&&Boolean(Object.keys(this.state.cta).length),t=this.props.blot,n="gridCol"===t.getWrapper().parent.constructor.blotName,r=this.options&&this.options.advert,o=t.editor.options.isShare;this.state.showNimbusAdv=!(!r||!o||n||e),this.player.nimbusAdv.options({showAdv:this.state.showNimbusAdv})}},{key:"updateFullScreenState",value:function(){this.props.fullscreen&&!this.player.isFullscreen()?this.player.requestFullscreen():!this.props.fullscreen&&this.player.isFullscreen()&&this.player.exitFullscreen()}},{key:"handleKeyDown",value:function(e){return!!(Wf(e)&&this.player&&this.player.played().length)&&(e.preventDefault(),e.stopPropagation(),this.player.paused()?this.player.play():this.player.pause(),!0)}},{key:"componentDidMount",value:function(){var e=this;this.player.one("loadedmetadata",(function(){e.player.removeClass("vjs-wait-metadata")})),this.player.on("ready",this.onPlayerReady),this.player.on("play",this.onPlayerPlay),this.player.on("fullscreenchange",this.onPlayerFullscreenChange),this.props.editor.on("set-cta",this.updateCtaState),this.props.editor.on("video-play",this.onEditorVideoPlay);var t=Kf(this.props.attachment);this.player.errors({errors:{3:{message:this.getCustomErrorMessage(t.codec)},4:{message:this.getCustomErrorMessage(t.codec)},5:{message:this.getCustomErrorMessage(t.codec)}}}),document.addEventListener("keydown",this.onDocumentKeyDown,!1),this.domNode.addEventListener("mousedown",this.onDomNodeMouseDown,!1)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attachment,r=t.blot;if(n&&this.state.isPlayerReady){var o=this.state,i=o.muted,a=o.autoplay,s=o.loop,l=o.controls,c=o.allowDownload,u=void 0!==n.soundDefault&&n.soundDefault;void 0!==n.autoplay&&n.autoplay!==a?(this.state.autoplay=n.autoplay,this.state.muted=!0,this.setMuted(this.state.muted),this.setAutoplay(this.state.autoplay)):i!==u&&(this.state.muted=u,this.setMuted(this.state.muted)),void 0!==n.loop&&n.loop!==s&&(this.state.loop=n.loop,this.setLoop(this.state.loop)),void 0!==n.hideControl&&!n.hideControl!==l&&(this.state.controls=!n.hideControl,this.setControls(this.state.controls)),!r.disallowDownloading!==c&&(this.state.allowDownload=!r.disallowDownloading,this.setDownloadAvailable(this.state.allowDownload)),this.props.disallowVideoPreview||kf()(e.syncedState.videoPreview,this.props.syncedState.videoPreview)||this.updatePreviewState(),this.updateNimbusAdvState(),this.updateFullScreenState()}}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.editor,n=e.blot;t.getScrollingContainer().removeEventListener("scroll",this.onEditorScroll,!1),this.props.editor.off("set-cta",this.updateCtaState),this.props.editor.off("video-play",this.onEditorVideoPlay),this.player&&(this.player.off("ready",this.onPlayerReady),this.player.off("play",this.onPlayerPlay)),n.props.videoPlayer=null,document.removeEventListener("keydown",this.onDocumentKeyDown,!1),this.domNode.removeEventListener("mousedown",this.onDomNodeMouseDown,!1)}},{key:"render",value:function(){var t=this.state,n=t.autoplay,r=t.loop,o=t.controls,i=t.showNimbusAdv,a=this.props,s=a.attachment,l=a.editor,c=a.blot,u=a.isBlotLocked,d=l.plugins.attachmentManager.options,p=d.onTranscript,f=d.isTranscriptEnabled,h=Kf(s),m={downloadButtonPlugin:{index:9,attachment:s,downloadFn:this.onVideoDownload},callToActionPlugin:Bf(Bf({},this.state.cta),{},{editor:l}),nimbusAdvPlugin:{showAdv:i,editor:l,blot:c},controlShadowPlugin:{videoName:s.display_name.split(".").slice(0,-1).join(".")},transcriptButtonPlugin:{index:8,attachment:s,clickFn:p,show:f}},g=this.props.editor.plugins.videoPreview.isEditAvailable()&&l.mode===l.constructor.MODE_EDIT&&!this.props.disallowVideoPreview,y=!u&&g;g&&(m.previewButtonPlugin={index:9,attachment:s,clickFn:this.onPreviewBtn,show:y},m.previewVideoPlugin={previewSettings:this.props.syncedState.videoPreview,previewAttach:this.getPreviewAttach});var v=Object.assign({},Yf,{autoplay:n?"muted":Yf.autoplay,loop:r,controls:o,sources:[{src:s.url,type:h.mime}],noUITitleAttributes:!0,plugins:Object.assign({},Yf.plugins,m)});return this.player&&g&&(y?this.player.previewButtonPlugin().show():this.player.previewButtonPlugin().hide()),(0,e.h)(Ef,Nf({},v,{onPlayerRef:this.onPlayerRef,onDomRef:this.onRef}))}}])&&Ff(r.prototype,o),i&&Ff(r,i),s}(e.wA);Zf.supportsFullscreen=!0,Zf.FullScreenAction=!1,Zf.viewerName="VideoViewer";var Kf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(e){return"video/quicktime"===e.mime&&window.chrome?{mime:"video/mp4",codec:e.codec}:e},n=e.extra,r=void 0===n?"{}":n,o="string"==typeof r?JSON.parse(r):r,i=o.mime,a=void 0===i?null:i,s=o.general,l=void 0===s?null:s,c=o.video,u=void 0===c?null:c,d=navigator,p=d.appVersion,f=-1!==p.indexOf("Safari")&&-1===p.indexOf("Chrome");if(a){var h=a.match(/codecs="(.*?)";/);return t({mime:e.mime||a,codec:h[1]})}if(l){var m=l.format,g=l.codec_id_compatible,y=void 0===g?"":g,v=l.codec_id;if(m=m.toLowerCase().replace("mpeg-4","mp4"),y=y.toLowerCase().replace(/\//g,","),u){var b=u.codec_id;return b=b.toLowerCase().replace("v_vp8","vp8").replace("v_vp9","vp9").trim(),t({mime:"video/".concat(m),codec:b.trim()})}return f&&"mp42"===v&&(v="hvc1"),t({mime:"video/".concat(m),codec:v.trim()})}return e.mime?t({mime:e.mime,codec:""}):{mime:"",codec:""}};function $f(){var e=["video/mpeg","video/mp4","video/ogg","video/quicktime","video/webm","video/x-ms-wmv","video/x-msvideo","video/ms-asf","video/x-flv","video/3gpp","video/3gpp2","video/x-m4v"],n=[];try{var r=document.createElement("video");for(var o in e)r.canPlayType(e[o])&&n.push(e[o]);["Chrome","Opera"].includes((0,t.Ao)())&&n.indexOf("video/quicktime")<0&&n.push("video/quicktime"),"Safari"===(0,t.Ao)()&&n.push("video/webm")}catch(e){console.warn(e)}return n}})(),e.exports=o})()},"./node_modules/@webnotes/web-editor-build/video_viewer.js.css":function(e,t){},"./node_modules/@webnotes/web-editor-build/web-editor.js":function(e,t,n){(function(t,n){(()=>{var o={85981:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});n(87751),n(41539),n(92222),n(47042),n(68309),n(91038),n(78783),n(82526),n(41817),n(32165),n(66992),n(33948);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||a(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 o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(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 i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,s,"next",e)}function s(e){l(i,r,o,a,s,"throw",e)}a(void 0)}))}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(t,n,a){var s,l,u,d=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s=this,l="check",u=c(regeneratorRuntime.mark((function e(){var t,n,a,s,l,c,u,p,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.timeout=null,t=[],n=i(d.scheduled),e.prev=3,n.s();case 5:if((a=n.n()).done){e.next=25;break}return s=a.value,console.log("check item",s),e.prev=8,e.next=11,d.resolveFn.apply(d,o(s));case 11:l=e.sent,d.successFn(l),e.next=23;break;case 15:if(e.prev=15,e.t0=e.catch(8),c=d.attachmentManager||{},u=c.editorInstance,p=r(s,2),f=p[1].blotId,!u||u.findById(f)){e.next=22;break}return console.log("blot ".concat(f," was not found. stop check item")),e.abrupt("continue",23);case 22:t.push(s);case 23:e.next=5;break;case 25:e.next=30;break;case 27:e.prev=27,e.t1=e.catch(3),n.e(e.t1);case 30:return e.prev=30,n.f(),e.finish(30);case 33:d.scheduled=t,d.scheduled.length&&(d.timeout=setTimeout(d.check,15e3));case 35:case"end":return e.stop()}}),e,null,[[3,27,30,33],[8,15]])}))),l in s?Object.defineProperty(s,l,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[l]=u,this.timeout=null,this.scheduled=[],this.resolveFn=t,this.successFn=n,this.attachmentManager=a}var t,n,a;return t=e,(n=[{key:"schedule",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.log("schedule attach",e,n),this.scheduled.push([e].concat(n)),this.timeout||(this.timeout=setTimeout(this.check,15e3))}}])&&u(t.prototype,n),a&&u(t,a),e}(),p=n(45405),f=n(94166);function h(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,s,"next",e)}function s(e){h(i,r,o,a,s,"throw",e)}a(void 0)}))}}function g(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.resolve.bind(e),r=new d((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(r,o){n(e,t).then((function(e){if(!e)return o(new p.default);r(e)}))}))}),(function(t){e.editorInstance&&e.editorInstance.setAttachment(t)}),e);return e.resolve=function(){var o=m(regeneratorRuntime.mark((function o(i){var a,s=arguments;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},o.abrupt("return",new Promise((function(o,s){n(i,a).then((function(n){if(e.editorInstance&&e.editorInstance.destroyed)return s("Editor has already been destroyed");if(t){if(!n)return console.info("fail to resolve attach",i),(0,f.Z)()&&r.schedule(i,a),s(new p.default);console.info("the app resolved attach",i,"into",n)}o(n)}))})));case 2:case"end":return o.stop()}}),o)})));return function(e){return o.apply(this,arguments)}}(),e}},87159:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});n(41539),n(39714),n(74916),n(23123),n(21249),n(69600),n(15306),n(47042),n(68309),n(91038),n(78783),n(82526),n(41817),n(32165),n(66992),n(33948);var r=n(51718);function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(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 i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){for(var t=[],n=0,r=["children","rows"];n<r.length;n++){var i=r[n],a=e.get(i);if(a){t.push.apply(t,o(a));break}}return e.get("caption")&&t.push(e.get("caption")),t}function c(e,t,n){var r=[],a=[],s=e.get("characters");if(s){var u=function(e){var t,n=[],r=[],o="",a=i(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;"string"==typeof s.insert&&"\n"!==s.insert?(o+=s.insert.replace(/\n+$/,""),s.attributes&&s.attributes.background&&r.push(s.insert)):s.insert&&s.insert.linebreak&&o&&(n.push(o),o="")}}catch(e){a.e(e)}finally{a.f()}return o&&n.push(o),{text:n.join("\n"),markers:r}}(s.toDelta());u.text&&r.push(u.text),u.markers&&a.push.apply(a,o(u.markers))}if(t){var d,p=i(t);try{for(p.s();!(d=p.n()).done;){var f=d.value,h=n.get(f);if(h){var m=c(h,l(h),n);r.push.apply(r,o(m.texts)),a.push.apply(a,o(m.markers))}}}catch(e){p.e(e)}finally{p.f()}}return{texts:r,markers:a}}function u(e,t){try{var n=e.workspaceId,o=e.noteGlobalId,i=t.get("root",r.Map),a=t.get("rootChildren",r.Array),s=t.get("blocks",r.Map);return i&&!i.get||!i?null:{workspaceId:n,noteId:o,textString:c(i,a,s).texts.join("\n")}}catch(e){return console.log("failed",e),null}}var d=n(13423).Buffer;function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"_serializeBuffer",value:function(e){return d.from(e).toString("base64")}},{key:"_deSerializeBuffer",value:function(e){return d.from(e,"base64")}},{key:"_convertError",value:function(e){console.log(e)}},{key:"put",value:function(e,t,n,r){var o,i,a=this._serializeBuffer(t),s=this.getNoteData({key:e}),l=s.workspaceId,c=s.noteId;if(n.conf.noteId===c){console.log("==> live editor => put > workspaceId, y._conf.workspaceId, noteId, y._conf.noteId?",l,n._conf.workspaceId,c,n._conf.noteId);var d=u({workspaceId:l,noteGlobalId:c},n).textString;void 0!==d&&(o=d.substring(0,500),i=d),window.textEditor&&window.textEditor.put&&window.textEditor.put({key:e,valueSerialized:a,valueShort:o,valueFull:i}).then((function(e){return r(null,e)}))}}},{key:"putArray",value:function(e,t,n){if(!e.length)return n(null,[]);for(var r="",o="",i="",a=e.length,s=0;s<a;s++){e[s].valueSerialized=this._serializeBuffer(e[s].buf);var l=this.getNoteData({key:e[s].key}),c=l.workspaceId,d=l.noteId;if(t.conf.noteId===d&&(console.log("=> live editor => putArray > workspaceId, y._conf.workspaceId, noteId, y._conf.noteId?",c,t.conf.workspaceId,d,t.conf.noteId),s===a-1)){i=e[s].key;var p=u({workspaceId:c,noteGlobalId:d},t),f=(p||{}).textString;void 0!==f&&(r=f.substring(0,500),o=f)}}window.textEditor&&window.textEditor.putArray&&window.textEditor.putArray({key:i,entries:e,valueShort:r,valueFull:o}).then((function(e){return n(null,e)}))}},{key:"getNoteData",value:function(e){var t,n,r=e.key;if(r){var o=r.split("#")[0];if(o){var i=o.split("_");i.length>1&&(t=i[0],n=i[1])}}return{noteId:n,workspaceId:t}}},{key:"get",value:function(e,t){var n=this;window.textEditor&&window.handleEditorGetDbRequest&&window.handleEditorGetDbRequest({key:e}).then((function(e){return t(null,n._deSerializeBuffer(e))}))}},{key:"getFromRange",value:function(e,t,n){var r=this;window.textEditor&&window.textEditor.getFromRange&&window.textEditor.getFromRange({keyFrom:e,keyTo:t}).then((function(e){return n(null,e.map((function(e){return r._deSerializeBuffer(e)})))}))}},{key:"getKeysFromRange",value:function(e,t,n){window.textEditor&&window.textEditor.getKeysFromRange&&window.textEditor.getKeysFromRange({keyFrom:e,keyTo:t}).then((function(e){return n(null,e)}))}},{key:"delete",value:function(e,t){window.textEditor&&window.textEditor.delete&&window.textEditor.delete({keys:e}).then((function(e){return t(null,e)}))}}])&&p(t.prototype,n),r&&p(t,r),e}()},47704:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPersistence:()=>C});n(87751),n(41539),n(92222),n(83112),n(39714),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(54747),n(47042),n(68309),n(91038),n(78783),n(82526),n(41817),n(32165),n(33948);var r=n(93860),o=n.n(r),i=n(87159),a=n(64467),s=n(59150),l=n(29693);n(29135);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e){return!(p(e)||d(e))}function d(e){return e&&"object"===c(e)&&"setStyle"===e.action}function p(e){return e&&"remote"===e}function f(e){if(!e.origin)return!0;var t=p(e.origin),n=d(e.origin);return!t&&!n&&"object"===c(e.origin)}var h=n(33141);function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function w(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){_(i,r,o,a,s,"next",e)}function s(e){_(i,r,o,a,s,"throw",e)}a(void 0)}))}}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=1e3,r=1e4;t||(t=new i.default);var c={put:o()(t.put.bind(t),3),putArray:o()(t.putArray.bind(t),2),get:o()(t.get.bind(t),1),getFromRange:function(e,n){return new Promise((function(r,o){t.getFromRange(e,n,(function(e,t){if(e)return o(e);r(t)}))}))},getKeysFromRange:o()(t.getKeysFromRange.bind(t),2),delete:o()(t.delete.bind(t),1)},p=(0,a.createMutex)(),g=0,b=function(){return g=(g+1)%1e4,"".concat(Date.now()).concat(g.toString().padStart(4,"0"))},_=function(e){return"".concat(e,"#").concat(b())},C=function(e,t,n){return e.putArray(t,n)},S=function(e,t){return p((function(){return a.syncProtocol.readSyncMessage(l.createDecoder(new Uint8Array(e)),s.createEncoder(),t,null)}))},E=function(){var e=w(regeneratorRuntime.mark((function e(t,n,r){var o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getFromRange("".concat(n,"#"),"".concat(n,"#Z"));case 2:o=e.sent,console.log("has read",o.length,"from db"),i=v(o);try{for(i.s();!(a=i.n()).done;)s=a.value,S(s,r)}catch(e){i.e(e)}finally{i.f()}console.log("all entries have been read from db");case 7:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),x=function(){var e=w(regeneratorRuntime.mark((function e(t,n,r){var o,i,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=s.createEncoder(),a.syncProtocol.writeSyncStep2(o,r,(0,a.getEmptyStateSet)()),i=_(n),l=_(n),e.next=6,t.getKeysFromRange("".concat(n,"#"),i);case 6:return c=e.sent,e.next=9,t.put(l,s.toBuffer(o),r);case 9:return e.next=11,t.delete(c);case 11:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();return function(){function e(){m(this,e),this.db=c}return y(e,[{key:"bindState",value:function(e,t){var o=this,i=[],l=!1,c=0,p=function(e){var t=e.docName,n=e.origin,r=e.workspaceId,o=e.noteId,c=e.db,p=e.y;if(!i.length)return!1;console.log("syncProtocol.writeUpdate:ydocument.on => update => workspaceId, noteId",r,o);var h=[],m=!1;i.forEach((function(e){for(var r in h.push({key:_(t),update:e,origin:n}),h){var o=h[r],i=o.origin,l=o.update;u(i)&&(m=!0);var c=s.createEncoder();a.syncProtocol.writeUpdate(c,l),h[r].buf=s.toUint8Array(c),f(h[r])&&(h[r].origin=null)}})),i=[],console.log("writeEntries:ydocument.on => update => workspaceId, noteId",r,o),C(c,h,p),d(n)||function(e,t){var n=t._dbSynced,r=(t._dbInit,t.conf),o=r.workspaceId,i=r.noteId;n&&o&&i&&window.postMessage({eventName:"event:web:editor:note:update:request",workspaceId:o,globalId:i,hasLocalChanges:e},"*")}(m,p),l=!1},m=(0,h.debounce)(p,n,{trailing:!0});return t.on("update",(function(e,t,n){n._dbSynced;var a=n._dbInit,s=n.conf,u=s.workspaceId,d=s.noteId,f=s.docName;if(a&&!(window.location.href.indexOf(d)<0)){i.push(e);var h={docName:f,origin:t,workspaceId:u,noteId:d,db:o.db,y:n};m(h),function(e,t){var n=e.docName,r=e.origin,o=e.workspaceId,i=e.noteId,a=e.db,s=e.y;l||(l=!0,c=performance.now()),performance.now()-c>=t&&(l=!1,console.log("auto save"),p({docName:n,origin:r,workspaceId:o,noteId:i,db:a,y:s}))}(h,r)}})),E(this.db,e,t)}},{key:"writeState",value:function(e,t){return x(this.db,e,t)}},{key:"readState",value:function(e,t){return E(this.db,e,t)}}]),e}()}},94166:(e,t,n)=>{"use strict";function r(){return navigator&&navigator.onLine}n.d(t,{Z:()=>r})},31900:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initGetNoteSyncStatus:()=>o,initSetNoteSyncStatus:()=>i,getNoteSyncStatus:()=>a,setNoteSyncStatus:()=>s});var r={},o=function(){window.textEditor.getNoteSynced=a},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};window.textEditor.setNoteSynced=function(t,n){s(t,n),e(t,n)}},a=function(e){return void 0!==r[e]&&r[e]},s=function(e,t){e&&t&&(r[e]=t)}},37167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(94166);function o(e){e._dbInit=!0,(0,r.Z)()?e.on("synced",(function(){e._dbSynced=!0})):e._dbSynced=!0}},85921:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUpdateOrigin:()=>o,isLocalOrigin:()=>i,isStyleOrigin:()=>a,isRemoteOrigin:()=>s});n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){return i(e)?null:e},i=function(e){return!(s(e)||a(e))},a=function(e){return e&&"object"===r(e)&&"setStyle"===e.action},s=function(e){return e&&"remote"===e}},35130:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(19601),e.exports=function(e,t){var n=t.content,o=t.attributes;return function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var i,a,s;return i=t,(a=[{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){var t=this.props;return e("svg",Object.assign({dangerouslySetInnerHTML:{__html:n}},o,t),t&&t.children)}}])&&r(i.prototype,a),s&&r(i,s),t}()}},5813:(e,t,n)=>{var r=n(35130),o=n(79758).h;e.exports=r.bind(null,o)},95148:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){if(t&&("object"===r(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 u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)})(e)}function d(e,t,n){return(d=p()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&f(o,n.prototype),o}).apply(null,arguments)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(68309),n(30489),n(41539),n(17727),n(39714),n(12419),n(66992),n(51532),n(78783),n(33948),n(47042),n(91038),n(82526),n(41817),n(32165);var m=function(e){!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}}),t&&f(e,t)}(o,e);var t,n,r=(t=o,n=p(),function(){var e,r=h(t);if(n){var o=h(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return c(this,e)});function o(e){var t;return a(this,o),(t=r.call(this,e||"Promise was canceled")).name="CancelError",t}return l(o,[{key:"isCanceled",get:function(){return!0}}]),o}(u(Error)),g=function(){function e(t){var n=this;a(this,e),this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((function(e,r){n._reject=r;var o=function(e){if(!n._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");n._cancelHandlers.push(e)};return Object.defineProperties(o,{shouldReject:{get:function(){return n._rejectOnCancel},set:function(e){n._rejectOnCancel=e}}}),t((function(t){n._isCanceled&&o.shouldReject||(n._isPending=!1,e(t))}),(function(e){n._isPending=!1,r(e)}),o)}))}return l(e,[{key:"then",value:function(e,t){return this._promise.then(e,t)}},{key:"catch",value:function(e){return this._promise.catch(e)}},{key:"finally",value:function(e){return this._promise.finally(e)}},{key:"cancel",value:function(e){if(this._isPending&&!this._isCanceled){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{var t,n=o(this._cancelHandlers);try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(e){n.e(e)}finally{n.f()}}catch(e){return void this._reject(e)}this._rejectOnCancel&&this._reject(new m(e))}}},{key:"isCanceled",get:function(){return this._isCanceled}}],[{key:"fn",value:function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return new e((function(e,n,o){r.push(o),t.apply(void 0,r).then(e,n)}))}}}]),e}();Object.setPrototypeOf(g.prototype,Promise.prototype),e.exports=g,e.exports.CancelError=m},26074:function(e,t,n){var r,o,i,a;function s(e){return(s="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)}e=n.nmd(e),n(68309),n(69826),n(91038),n(78783),n(21249),n(54747),n(66992),n(41539),n(33948),n(74916),n(15306),n(47042),n(9653),n(92222),n(23123),n(2707),n(57327),n(39714),n(47941),n(69600),n(73210),n(4723),n(82526),n(41817),n(32165),"undefined"!=typeof self&&self,a=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=i;var a,s={},l={},c={},u={},d=function(){};function p(e,t){var n;if(void 0===t&&(t=a.ANY),"string"==typeof e)n=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?n=u.block:e&a.LEVEL&a.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var r=Array.from(e.classList);for(var o in r)if(n=l[r[o]])break;n=n||d(e.tagName,e)||c[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var n=p(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:r.create(t);return new r(o,t)},t.find=function e(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:r?e(n.parentNode,r):null},t.query=p,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var r=t[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new i("Invalid definition");if("abstract"===r.blotName)throw new i("Cannot register abstract class");if(u[r.blotName||r.attrName]=r,"string"==typeof r.keyName)s[r.keyName]=r;else if(null!=r.className&&(l[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(e){return e.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var o=Array.isArray(r.tagName)?r.tagName:[r.tagName];o.forEach((function(e){null!=c[e]&&null!=r.className||(c[e]=r)}))}return r},t.attachOnce=function(e){e.ensureScrollIsAssigned(),e._isAttached||e._isAttaching||(e._isAttaching=!0,e.attach(),e._isAttaching=!1,e._isDetached=!1,e._isAttached=!0)},t.detachOnce=function(e){e._isDetached||e._isDetaching||(e._isDetaching=!0,e.detach(),e._isDetaching=!1,e._isDetached=!0,e._isAttached=!1)},t.setFindByTagFn=function(e){d=e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=n(5),s=n(0),l=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return o(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.ensureScrollIsAssigned=function(){e.prototype.ensureScrollIsAssigned.call(this),this.children.forEach((function(e){e.ensureScrollIsAssigned()}))},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){s.attachOnce(e)}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof s.ParchmentError)return;throw e}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),o=r[0],i=r[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,i]:o instanceof t?o.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,(function(n,r,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,r,i))),i-=a})),o},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,o){e.formatAt(t,o,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),o=r[0],i=r[1];if(o)o.insertAt(i,t,n);else{var a=null==n?s.create("text",t):s.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),o=r[0],i=r[1],a=[[this,e]];return o instanceof t?a.concat(o.path(i,n)):(null!=o&&a.push([o,i]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,o){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],o=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),o.push.apply(o,e.removedNodes))})),o.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.isAttached()&&t.detach())}})),r.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var r=c(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(a.default);function c(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),s.attachOnce(t)}return t}t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=n(6),s=n(2),l=n(0),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new a.default(n.domNode),n}return o(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=l.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var o=e.prototype.wrap.call(this,n,r);return o instanceof t&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},t}(s.default);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(5),a=n(0),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=function(){function e(e){this.domNode=e,this._isAttached=!1,this._isAttaching=!1,this._isDetached=!0,this._isDetaching=!1,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.isAttached=function(){return this._isAttached},e.prototype.attach=function(){},e.prototype.ensureScrollIsAssigned=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,r.attachOnce(this)},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(7),i=n(8),a=n(0),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=o.default.keys(this.domNode),s=i.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return Array.from(e.classList).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(1).default);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(1).default);t.default=a},function(e,t,n){e.exports=n(10)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3),i=n(4),a=n(12),s=n(13),l=n(14),c=n(15),u=n(16),d=n(1),p=n(7),f=n(8),h=n(6),m=n(0),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,setFindByTagFn:m.setFindByTagFn,Container:r.default,Format:o.default,Leaf:i.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:p.default,Style:f.default,Store:h.default}};t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(e<o||t&&e===o&&(null==n.next||0!==n.next.length()))return[n,e];e-=o}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var r,o=this.find(e),i=o[0],a=e-o[1],s=this.iterator(i);(r=s())&&a<e+t;){var l=r.length();e>a?n(r,e-a,Math.min(t,a+l-e)):n(r,0,Math.min(l,e+t-a)),a+=l}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(0),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,s),a.attachOnce(n),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var s=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[a.DATA_KEY].mutations&&(t.domNode[a.DATA_KEY].mutations=[]),n&&e(t.parent))},l=function e(t){null!=t.domNode[a.DATA_KEY]&&null!=t.domNode[a.DATA_KEY].mutations&&(t instanceof i.default&&t.children.forEach(e),t.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=a.find(e,!1);s(t,!1),t instanceof i.default&&t.children.forEach((function(e){s(e,!1)}))}))):"attributes"===e.type&&s(t.prev)),s(t))})),this.children.forEach(l),o=(c=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),a=n(0),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,o){null!=this.formats()[r]||a.query(r,a.Scope.ATTRIBUTE)?this.isolate(t,n).format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),a=n(0),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var r=a.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=a.query(r,a.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),i=a.create(n,r);o.parent.insertBefore(i,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(4).default);t.default=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(4),a=n(0),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=s}])},"object"===s(t)&&"object"===s(e)?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))},86780:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e="America/New_York";return"object"===("undefined"==typeof Intl?"undefined":r(Intl))&&Intl.DateTimeFormat&&Intl.DateTimeFormat().resolvedOptions&&(e=Intl.DateTimeFormat().resolvedOptions().timeZone)instanceof Array&&(e=e[0]),e}},65224:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createDocument:()=>K});var r={};n.r(r),n.d(r,{messagePermissionDenied:()=>u,readAuthMessage:()=>p,writePermissionDenied:()=>d});var o=n(70494),i=n(59150),a=n(29693),s=n(53665),l=n(55529),c=n(49016),u=0,d=function(e,t){l.uE(e,u),l.uw(e,t)},p=function(e,t,n){switch(c.yg(e)){case u:n(t,c.kf(e))}},f=n(15264);n(74916),n(23123),n(66992),n(51532),n(41539),n(78783),n(33948),n(92222),n(91038),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(69826),n(57327),n(69600),n(19601),n(30489),n(12419),n(74819),n(38880),n(47042),n(68309),n(82526),n(41817),n(32165),n(60285),n(41637),n(39714),n(34553),n(40561),n(47941);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!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}}),t&&g(e,t)}(i,e);var t,n,r,o=y(i);function i(e,t,n,r,a){var s;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),s=o.call(this),e._virtualConnection=b(s),s.ws=e,s.url=t,s.isWaitingForSwitch=!1,s.switchToken=null,s.Y=n,s.encoding=r,s.decoding=a,s}return t=i,(n=[{key:"onWsMessage",value:function(e){if(this.isWaitingForSwitch){this.Y,this.encoding;var t=this.decoding,n=t.createDecoder(new Uint8Array(e.data));if(302===t.readVarUint(n)){var r=t.readVarString(n),o=null;try{o=t.readVarString(n)}catch(e){}o!==this.switchToken&&o||(r===this.url?(this.isWaitingForSwitch=!1,this.onopen&&this.onopen()):console.error("CRITICAL: switched to URL",r,"but expected",this.url,"probably a few switch requests was queued","switch token is",o))}}else this.onmessage&&this.onmessage(e)}},{key:"onWsClose",value:function(){this.onclose&&this.onclose(),this.ws._virtualConnection=null}},{key:"onWsOpen",value:function(){this.onopen&&this.onopen()}},{key:"send",value:function(){var e;if(!this.ws)return console.warn("attemp to send over closed WebsocketPooledConnection");(e=this.ws).send.apply(e,arguments)}},{key:"release",value:function(){this.ws?(this.ws._virtualConnection=null,this.ws=null,this.emit("release")):console.warn("prevented attemp to release connection twice",this.url)}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.final?(console.log("finally closing websocket connection"),this.ws&&this.ws.close&&this.ws.close()):this.release()}}])&&m(t.prototype,n),r&&m(t,r),i}(n(94092));function C(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=E(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function S(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(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 E(e,t){if(e){if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(94092);var O=0,T=0,A=function(){function e(t){var n=t.Y,r=(t.createMutex,t.encoding),o=t.decoding,i=t.syncProtocol;t.authProtocol;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.freeByHost={},this.usedByHost={},this.Y=n,this.encoding=r,this.decoding=o,this.syncProtocol=i,this.docs=[]}var t,n,r;return t=e,(n=[{key:"connect",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new URL(e),o=r.host.toLowerCase(),i=!1;this.freeByHost[o]&&this.freeByHost[o].length&&n.enableSwitch?i=!0:this.createWebsocket(e,o);var a=this.acquireFreeWebsocket(o),s=new w(a,e,this.Y,this.encoding,this.decoding),l=function e(){s.removeListener("release",e),t.runRelease(a),t.releaseWebsocket(a)};return s.on("release",l),i&&(s.isWaitingForSwitch=!0,s.switchToken=(++O).toString(),this.runSwitch(a,e,s.switchToken)),s}},{key:"setDoc",value:function(e){this.docs.push(e)}},{key:"onDocSynced",value:function(e){console.log("[editor] doc ".concat(e.docName," synced"));var t=function(t){return t.docName===e.docName},n=this.docs.find(t),r=this.docs.findIndex(t);n&&n.readyToDestroy&&(console.log("[editor] destroy doc ".concat(e.docName," after sync")),n.destroy()),-1!==r&&this.docs.splice(r,1)}},{key:"acquireFreeWebsocket",value:function(e){var t=this.freeByHost[e].pop();return this.usedByHost[e]||(this.usedByHost[e]=[]),this.usedByHost[e].push(t),t}},{key:"releaseWebsocket",value:function(e){var t=this,n=e._host;if(console.log("releasing websocket",n),console.log("Before release: count used websockets for host:",Object.keys(this.usedByHost[n]).length),console.log("Before release: count free websockets for host:",Object.keys(this.freeByHost[n]).length),!this.usedByHost[n].find((function(t){return t===e})))return console.warn("fail to release websocket: websocket is not used(probably it was deleted in the early release stage)");this.usedByHost[n]=this.usedByHost[n].filter((function(t){return t!==e})),this.freeByHost[n].push(e),console.log("released websocket",n),console.log("After release: count used websockets for host:",Object.keys(this.usedByHost[n]).length),console.log("After release: count free websockets for host:",Object.keys(this.freeByHost[n]).length);var r=[].concat(S(Object.keys(this.usedByHost).filter((function(e){return t.usedByHost[e].length}))),S(Object.keys(this.freeByHost).filter((function(e){return t.freeByHost[e].length})))),o=r.length;console.log("Count hosts with websockets:",o,r)}},{key:"deleteWebsocket",value:function(e){this.clearWebsocketMessageTimeout(e),clearInterval(e._messageTimeoutCheckInterval);var t=e._host;this.usedByHost[t]=this.usedByHost[t].filter((function(t){return t!==e})),this.freeByHost[t]=this.freeByHost[t].filter((function(t){return t!==e}))}},{key:"clearWebsocketMessageTimeout",value:function(e){e._lastMessageReceivedAt=Date.now()}},{key:"setWebsocketMessageTimeout",value:function(e){this.clearWebsocketMessageTimeout(e),e._messageTimeoutCheckInterval?console.warn("ws timeout check interval already set, skip"):e._messageTimeoutCheckInterval=setInterval((function(){Date.now()-e._lastMessageReceivedAt>6e4&&(console.warn("closing websocket because no messages in the last",6e4,"ms"),e.close())}),5e3)}},{key:"createWebsocket",value:function(e,t){console.log("[editor ws pool] creating new connection to URL",e,"for host",t);var n=new WebSocket(e);n.binaryType="arraybuffer",n._host=t,n._id=++T,n.onmessage=this.handleWebsocketMessage.bind(this,n),n.onclose=this.handleWebsocketClose.bind(this,n),n.onopen=this.handleWebsocketOpen.bind(this,n),this.freeByHost[t]||(this.freeByHost[t]=[]),this.freeByHost[t].push(n),this.closeExceedingWebsockets(n)}},{key:"getLastWsId",value:function(){return T}},{key:"getFreeSocketsCount",value:function(){var e=0;for(var t in this.freeByHost){var n,r=C(this.freeByHost[t]);try{for(r.s();!(n=r.n()).done;)n.value,e++}catch(e){r.e(e)}finally{r.f()}}return e}},{key:"closeExceedingWebsockets",value:function(e){var t=this,n=[],r=this.getFreeSocketsCount();console.log("Count sockets before exceeding closing",r);var o=0,i=r-1;for(var a in this.freeByHost){var s,l=C(this.freeByHost[a]);try{for(l.s();!(s=l.n()).done;){var c=s.value;o<i&&c!==e&&(o++,n.push({host:a,ws:c}))}}catch(e){l.e(e)}finally{l.f()}}for(var u=function(){var e=p[d],n=e.host,r=e.ws;t.freeByHost[n]=t.freeByHost[n].filter((function(e){return e!==r})),console.log("closing exceeding websocket for host",n),r.close()},d=0,p=n;d<p.length;d++)u();console.log("count sockets after exceeding closing",this.getFreeSocketsCount())}},{key:"runSwitch",value:function(e,t,n){this.Y,console.info("Switching to URL",t,"with token",n);var r=this.encoding.createEncoder();this.encoding.writeVarUint(r,301),this.encoding.writeVarString(r,t),this.encoding.writeVarString(r,n);try{e.send(this.encoding.toUint8Array(r))}catch(e){console.error(e)}}},{key:"runRelease",value:function(e){if(this.Y,e._isOpen){var t=this.encoding.createEncoder();this.encoding.writeVarUint(t,303);try{e.send(this.encoding.toUint8Array(t))}catch(e){console.error(e)}}else{console.log("closing websocket in runRelease because it is not opened yet");try{e.close()}catch(e){console.error("error while closing websocket",e)}}}},{key:"handleWebsocketMessage",value:function(e,t){this.clearWebsocketMessageTimeout(e),e._virtualConnection&&e._virtualConnection.onWsMessage(t)}},{key:"handleWebsocketClose",value:function(e){console.warn("Editor WS Pool: websocket has closed"),e._isOpen=!1,e._virtualConnection&&e._virtualConnection.onWsClose(),this.deleteWebsocket(e)}},{key:"handleWebsocketOpen",value:function(e){e._isOpen=!0,this.setWebsocketMessageTimeout(e),e._virtualConnection&&e._virtualConnection.onWsOpen()}}])&&k(t.prototype,n),r&&k(t,r),e}(),P=["error","warn","log","info"],R="info";function I(e){if(P.indexOf(e)<=P.indexOf(R)){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=console)[e].apply(t,r)}}function M(e){return P.reduce((function(t,n){return t[n]=I.bind(console,n,e),t}),{})}I.level=M.level=function(e){R=e};const N=M;var D,j=n(86780);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V(e,t,n){return(V="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Y(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return G(this,n)}}function G(e,t){if(t&&("object"===L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return W(e)}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K=function(e,t,n,r,o,i){return function(a,s){var l=N("["+s.editorId+"]"),c=(s.providerConfig||{}).getUpdateOrigin,u=void 0===c?function(e){return e}:c;D||(D=new A({Y:a,createMutex:e,encoding:t,decoding:n,syncProtocol:r,authProtocol:o}));var d=Math.pow(2,5),p=s.url.split("/"),f=s.room||p[p.length-1],h=function(){var e=t.createEncoder();return t.writeVarUint(e,0),r.writeSyncStep1(e,{store:{clients:new Map}}),t.toUint8Array(e)},m=function(e,t){return l.warn("Permission denied to access ".concat(e.url,".\n").concat(t))},g=function(e,o){var c=function(e){if(1===e.byteLength){var t=new Uint8Array(e);return[17,18].find((function(e){return e===t[0]}))}}(o);if(c)return function(e,t){17===t&&(e.ws?e.ws.send(new Uint8Array([18]).buffer):l.warn("doc.ws is not set, can not send ping reponse"))}(e,c);var u=e.ws,d=function(e,o){if(e.isExternalUpdatesPaused)return e.externalUpdatesBacklog.push(o),null;var l=n.createDecoder(o),c=t.createEncoder();switch(n.readVarUint(l)){case 0:t.writeVarUint(c,0);var u=n.peekVarUint(l);e.mux((function(){var t={};u===r.messageYjsSyncStep2&&!1!==e.conf.useV2Encoder&&(t.updateEncoderVersion=2),1===r.readSyncMessage(l,c,e,"remote",t)&&(console.timeEnd("["+s.editorId+"] editor connection-to-receive-sync-step-2"),e._initialSyncComplete||(e._initialSyncComplete=!0,e.emit("synced",[]),D.onDocSynced(e)),e._changed=!1)}));break;case 2:a.authProtocol.readAuthMessage(l,e,m);break;case 3:t.writeVarUint(c,1),t.writeVarUint8Array(c,i.encodeAwarenessUpdate(e.awareness,Array.from(e.awareness.getStates().keys())));break;case 1:i.applyAwarenessUpdate(e.awareness,n.readVarUint8Array(l),f)}return c}(e,o);d&&t.length(d)>1&&u.send(t.toUint8Array(d))},y=0,v=function e(n,o){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n.url)if(n.ws&&n.wsconnected)console.warn("setupWS was called, but ws is connected successfully for the document, skip");else{n.ws&&(console.warn("["+s.editorId+"] closing connecting websocket connection in favor of a new one"),n.ws.close()),console.time("["+s.editorId+"] editor ws connection");var c=n.url;n.url.indexOf("?")>=0?c+="&":c+="?",c+="ratempt="+y,c+="&widx="+D.getLastWsId(),c+="&encv2="+(!1!==o.useV2Encoder?"true":"false"),c+="&timezone="+(0,j.Z)(),o.startFromEmptyState&&!a&&(c+="&syncStep1="+btoa(String.fromCharCode.apply(null,new Uint8Array(h())))),console.log("["+s.editorId+"] connect websocket to",c);var u=D.connect(c,{enableSwitch:o.enableSwitch});u.binaryType="arraybuffer",n.ws=u,u.onmessage=function(e){n.ws===u?g(n,new Uint8Array(e.data)):console.warn("["+s.editorId+"] websocket received a message, but it is not the active one for document, ignore")},u.onclose=function(){if(u===n.ws){console.timeEnd("["+s.editorId+"] editor ws connection"),console.warn("websocket has closed"),n.ws=null,n.wsconnected=!1,i.removeAwarenessStates(n.awareness,Array.from(n.awareness.getStates().keys()).filter((function(e){return e!==n.clientID})),n);try{n.emit("status",[{status:"disconnected"}])}catch(e){}if(!n.destroyed){var t=!0;if(n.conf.disconnectWhenSynced&&n._initialSyncComplete&&(t=!1),t){l.log("document is still alive, will try to reconnect");var r=!0;if("undefined"!=typeof navigator&&void 0!==navigator.onLine&&!1===navigator.onLine){r=!1,l.log("postponing connection to websocket until browser is online");window.addEventListener("online",(function t(){window.removeEventListener("online",t,!1),n.destroyed||e(n,{},!0)}),!1)}if(r){var o=1e3*Math.min(Math.pow(2,y),d)+Math.round(1e3*Math.random());l.log("schedule reconnecting in",o,"ms,","attempt",y),y++,n.wsReconnectTimeout=setTimeout(e,o,n,{},!0)}}}}else console.warn("["+s.editorId+"] websocket has closed, but it is not the active one for document, ignore closing")},u.onopen=function(){if(y=0,u===n.ws){if(console.timeEnd("["+s.editorId+"] editor ws connection"),console.time("["+s.editorId+"] editor connection-to-receive-sync-step-2"),n.wsconnected=!0,n.emit("status",[{status:"connected"}]),!o.startFromEmptyState||a){var e=t.createEncoder();t.writeVarUint(e,0),r.writeSyncStep1(e,n),u.send(t.toUint8Array(e))}if(null!==n.awareness.getLocalState()){var l=t.createEncoder();t.writeVarUint(l,1),t.writeVarUint8Array(l,i.encodeAwarenessUpdate(n.awareness,[n.clientID])),u.send(t.toUint8Array(l))}}else console.warn("["+s.editorId+"] websocket has opened, but it is not the active one for document, ignore opening")},u.onerror=function(e){console.error("["+s.editorId+"] websocket error:",e,"connected before:",n.wsconnected)}}else console.info("doc.url was not set")},b=function(e,n,o){if("remote"!==u(n)){(function(e){return!e._changed&&e._dumpInited&&!e._initialSyncComplete}(o)||function(e){return!e._changed&&e._initialSyncComplete&&(!e.ws||e.ws&&!e.ws.ws)}(o))&&(o._changed=!0,o._initialSyncComplete=!1,D.setDoc(o));var i=t.createEncoder();t.writeVarUint(i,0),r.writeUpdate(i,e);var a=t.toUint8Array(i);o.wsconnected&&o.ws.send(a)}},_=function(e,t){e.wsconnected&&e.ws.send(t)};return new(function(o){!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}}),t&&z(e,t)}(p,o);var a,c,u,d=q(p);function p(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(U(this,p),Z(W(r=d.call(this,{gc:o.gc})),"_awarenessUpdateHandler",(function(n,o){var a=n.added,s=n.updated,l=n.removed,c=a.concat(s).concat(l),u=t.createEncoder();t.writeVarUint(u,1),t.writeVarUint8Array(u,i.encodeAwarenessUpdate(r.awareness,c)),_(W(r),t.toUint8Array(u)),r.mux=e(),r.on("subdocs",r.onSubDocs)})),Z(W(r),"onSubDocs",(function(t){var n=t.added,o=t.removed,i=t.loaded;if(n.size&&console.log("added subdocs",n),o.size&&console.log("removed subdocs",o),i.size){console.log("loaded subdocs",i);var a,s=B(i);try{var l=function(){var t=a.value,n=r.url.split("/");n.pop();var o=n.join("/");t.url=o+"/sub_"+t.guid,t.mux=e(),t.conf=r.conf,v(t,r.conf),t.on("update",b),t.on("synced",(function(){t.loaded=!0,setTimeout((function(){t.emit("loaded",[])}),1e3)}))};for(s.s();!(a=s.n()).done;)l()}catch(e){s.e(e)}finally{s.f()}}})),Z(W(r),"_beforeUnloadHandler",(function(){i.removeAwarenessStates(r.awareness,[r.clientID],"window unload")})),Z(W(r),"onDocSynced",(function(){r.conf.disconnectWhenSynced&&r.ws.close({final:!0})})),r.gc=void 0===o.gc||o.gc,r.url=n,r.destroyed=!1,r.wsconnected=!1,r.ws=null,r.wsReconnectTimeout=null,r.conf=o,r.docName=o.docName,r.awareness=new i.Awareness(W(r)),r.externalUpdatesBacklog=[],r.isExternalUpdatesPaused=!1,s.providerConfig&&s.providerConfig.persistence){var a=r.conf.docName,l=s.providerConfig,c=l.persistence,u=l.onAfterPersistenceBindState,f=void 0===u?null:u;c.bindState(a,W(r)).then((function(){r.url||r.emit("synced",[]),f&&f(W(r))}))}return o.hasOwnProperty("connectToSocket")&&!o.connectToSocket||v(W(r),o),r.mux=e(),r.on("update",b),r.on("synced",r.onDocSynced),r.awareness.on("update",r._awarenessUpdateHandler),"undefined"!=typeof window&&window.addEventListener("beforeunload",r._beforeUnloadHandler),r}return a=p,(c=[{key:"readBuffer",value:function(e){var o=n.createDecoder(e);r.readSyncMessage(o,t.createEncoder(),this,"remote")}},{key:"pauseExternalUpdates",value:function(){this.isExternalUpdatesPaused=!0}},{key:"resumeExternalUpdates",value:function(){this.isExternalUpdatesPaused=!1;var e,t=B(this.externalUpdatesBacklog);try{for(t.s();!(e=t.n()).done;){var n=e.value;g(this,n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"sendSyncToken",value:function(e,n){if(e)if(l.info("editor #sendSyncToken, token:",e,"url:",n),n&&(this.url=n),this.wsconnected){l.info("Sending token to the server",e);var r=t.createEncoder();t.writeVarUint(r,300),t.writeVarString(r,e);try{this.ws.send(t.toUint8Array(r))}catch(e){window.Raven&&window.Raven.captureException&&window.Raven.captureException(new Error("could not send sync token to the server: "+e.message)),console.error("could not send sync token to the server:",e)}}else{if(!n)return l.warn("sendSyncToken: ws is not connected and url is not specified, aborting");try{clearTimeout(this.wsReconnectTimeout)}catch(e){}l.info("reconnecting ws was initiated by sendSyncToken"),v(this,this.conf)}else console.error("sendSyncToken: empty token was submitted:, token:",e,"url:",n,"skip")}},{key:"sendCustomMessage",value:function(e,n){if(!this.wsconnected)return l.warn("sendCustomMessage: ws is not connected, aborting");var r=t.createEncoder();t.writeVarUint(r,304),t.writeVarString(r,JSON.stringify({type:e,body:n})),this.ws.send(t.toUint8Array(r))}},{key:"destroy",value:function(){if(l.log("[editor] destroying yDocument..."),this.destroyed=!0,V(Y(p.prototype),"destroy",this).call(this),this.ws){var e={};this.conf&&this.conf.disablePooling&&(e.final=!0),this.ws.close(e)}this.awareness.off("update",this._awarenessUpdateHandler)}},{key:"isChangedWithoutSave",value:function(){return this._changed}},{key:"wspoolHasChangedWithoutSave",value:function(){return D.docs.length}}])&&H(a.prototype,c),u&&H(a,u),p}(a.Doc))(s.url,Object.assign({},s.providerConfig,{userID:s.userID}))}}(o.M,i,a,s,r,f)},77510:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(30489),n(12419),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===o(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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!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}}),t&&s(e,t)}(u,e);var t,n,o,c=l(u);function u(){return i(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"render",value:function(){var e=this.props.height,t={};return e&&(t.height=e+"px"),(0,r.h)("div",{style:t,className:"editor-loader2-grey editor-loader-cc editor-loader-default-size"})}}])&&a(t.prototype,n),o&&a(t,o),u}(r.wA)},49096:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});n(92222),n(30489),n(12419),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=n(49190);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!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}}),t&&l(e,t)}(p,e);var t,n,i,u=c(p);function p(){var e;a(this,p);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(d(e=u.call.apply(u,[this].concat(n))),"onRef",(function(t){e.node=t})),f(d(e),"onClose",(function(t){t.preventDefault(),e.props.wantsToClose()})),f(d(e),"onMouseDown",(function(t){(t.target===e.node||t.target.closest(".popup-dialog-control"))&&t.preventDefault()})),e.node=null,e}return t=p,(n=[{key:"render",value:function(){var e=this.props,t=e.addClassName,n="";return e.noCloseButton||(n=(0,r.h)("span",{className:"close-popup popup-dialog-control",onClick:this.onClose},(0,r.h)(o.bMz,null))),(0,r.h)("div",{ref:this.onRef,onMouseDown:this.onMouseDown,className:"popup-dialog "+(t||"")},n,this.props.children)}}])&&s(t.prototype,n),i&&s(t,i),p}(r.wA)},19617:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(19601);var r=n(79758);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a;return t=e,(n=[{key:"render",value:function(){var e=this.props.addClassName,t=Object.assign({},this.props);return delete t.addClassName,(0,r.h)("div",o({},t,{className:"popup-dialog-body "+(e||"")}),this.props.children)}}])&&i(t.prototype,n),a&&i(t,a),e}()},25251:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(21249),n(47941);var r=n(79758);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=function(e){e.preventDefault(),e.stopPropagation()},(n="onMouseDown")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}var t,n,i;return t=e,(n=[{key:"onButtonClick",value:function(e,t,n){var r=this.props.wantsToClose;t.onClick&&t.onClick(n),"cancel"==e&&r&&r()}},{key:"render",value:function(){var e=this,t=this.props,n=t.addClassName,o=t.buttons,i=t.editor,a=t.revertButtons,s=void 0!==a&&a,l=i.plugins.i18n,c=(s?Object.keys(o).reverse():Object.keys(o)).map((function(t){var n=o[t],i=n.text?n.text:"";return i||(i=l.get("dialog_common.button.".concat(t))||t),(0,r.h)("span",{className:"dialog-button "+(n.style?"dialog-button-"+n.style:""),onClick:e.onButtonClick.bind(e,t,n),onMouseDown:e.onMouseDown},i)}));return(0,r.h)("div",{className:"popup-dialog-buttons "+(n||"")},c)}}])&&o(t.prototype,n),i&&o(t,i),e}()},83483:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(79758);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,(n=[{key:"render",value:function(){var e=this.props.addClassName;return(0,r.h)("div",{className:"popup-dialog-title popup-dialog-control "+(e||"")},this.props.children)}}])&&o(t.prototype,n),i&&o(t,i),e}()},10856:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});n(19601);var r=n(79758),o=n(81578),i=n(92143),a=n(28480),s=n(21791),l=n.n(s),c=n(28199);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=parseInt(o.menuItemHeight),f=parseInt(o.menuPadding),h=(0,c.ZP)("enter"),m=(0,c.ZP)("esc"),g=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"onRef",(function(e){n.domNode=e,n.props.domRef&&n.props.domRef(e),n.popper=null})),d(this,"disableRecycling",(function(){n.nextBase=null})),d(this,"onResize",(function(){n.popper.destroy(),n.createPopper()})),d(this,"onResizeDebounce",l()(this.onResize,200,{trailing:!0})),d(this,"onBodyMouseDown",(function(e){var t=e.target;t===n.domNode||n.domNode.contains(t)||n.props.wantsToClose(e)})),d(this,"onBodyKeyDown",(function(e){var t=n.props,r=t.closeOnEsc,o=t.onEnterAction,i=t.wantsToClose;if(m(e)&&r&&i){e.stopPropagation();var a=n.domNode&&n.domNode.getElementsByClassName("popup-menu");a&&0===a.length&&i(e)}else if(h(e)&&o){e.stopPropagation();var s=[e];if(n.keyNavigator){var l=n.keyNavigator.getSelected();s.push(l)}o.apply(void 0,s),i&&i()}else n.keyNavigator&&n.keyNavigator.handleEvent(e)}));var r=t.keyNavigation,o=t.keyNavigationParams,i=void 0===o?{}:o,s=Object.assign({},{popup:this,selector:".menu-item",selectedClass:"menu-item-selected"},i);this.keyNavigator=!!r&&new a.Z(s),this.resizeObserver=null}var t,n,o;return t=e,(n=[{key:"createPopper",value:function(){var e=this.props,t=e.anchorNode,n=e.anchorOptions,r=e.removeOnPopperDestroy;this.popper=(0,i.f)(t,this.domNode,Object.assign({},{removeOnDestroy:r||!1},n))}},{key:"shouldComponentUpdate",value:function(e){return!this.props.freeze&&!e.freeze}},{key:"componentDidUpdate",value:function(e){var t=this.props.anchorNode;t&&e.anchorNode!==t?(this.popper.destroy(),this.createPopper()):this.popper&&this.popper.update&&this.popper.update()}},{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.wantsToClose,r=t.anchorNode;n&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("mousedown",e.onBodyMouseDown)}),0)),document.body.addEventListener("keydown",this.onBodyKeyDown),r&&this.createPopper(),this.props.listenSizeChange&&(this.resizeObserver=new ResizeObserver(this.onResize),this.resizeObserver.observe(this.domNode),window.addEventListener("resize",this.onResizeDebounce))}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),document.body.removeEventListener("mousedown",this.onBodyMouseDown),document.body.removeEventListener("keydown",this.onBodyKeyDown),this.popper&&this.popper.destroy(),this.props.listenSizeChange&&(this.resizeObserver.disconnect(),window.removeEventListener("resize",this.onResizeDebounce)),setTimeout(this.disableRecycling)}},{key:"render",value:function(){var e=this.props,t=e.maxHeight,n=e.addClassName,o=e.customStyles,i=Object.assign({},o&&o||{});if(t){var a=Math.floor((t-f)/p)*p;i.maxHeight=a+f+("visible"===i.overflowY?f:0)+"px"}return(0,r.h)("div",{style:i,className:"popup-menu "+(n||""),ref:this.onRef,onMouseDown:this.props.onMouseDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},this.props.children)}}])&&u(t.prototype,n),o&&u(t,o),e}()},28411:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});n(69600),n(30489),n(12419),n(19601),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=n(20199),i=n(49190),a=n(49839);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=(0,n(28199).ZP)("esc"),y=function(e){!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}}),t&&u(e,t)}(h,e);var t,n,s,p=d(h);function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),m(f(t=p.call(this,e)),"disableRecycling",(function(){t.nextBase=null})),m(f(t),"onMouseEnter",(function(e){t.props.submenu&&t.setState((function(){return{submenuVisible:!0}})),t.props.onMenuItemEnter&&t.props.onMenuItemEnter(e)})),m(f(t),"onMouseLeave",(function(){t.props.submenu&&t.setState((function(){return{submenuVisible:!1}})),t.props.onMenuItemLeave&&t.props.onMenuItemLeave()})),m(f(t),"onMouseMove",(function(e){t.props.onMenuItemMouseMove&&t.props.onMenuItemMouseMove(e)})),m(f(t),"onRef",(function(e){t.domNode=e})),m(f(t),"onMouseDown",(function(e){e.preventDefault(),e.stopPropagation(),t.props.onMouseDown&&t.props.onMouseDown()})),m(f(t),"onContextMenu",(function(e){e.preventDefault()})),m(f(t),"onBodyKeyDown",(function(e){g(e)&&t.props.submenu&&(e.stopPropagation(),t.setState((function(e){if(e.submenuVisible){var n=t.props.submenu&&t.props.submenu.props&&t.props.submenu.props.anchorNode;if(n){var r=n.lastChild&&n.lastChild.firstChild&&n.lastChild.firstChild.className,o=n.getElementsByClassName("popup-menu");if(1===o.length||o.length>1&&"popup-menu"===r)return{submenuVisible:!1}}}return null})))})),t.state={submenuVisible:!1},t.domNode=null,t}return t=h,(n=[{key:"componentDidMount",value:function(){var e=this;this.props.submenu&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("keydown",e.onBodyKeyDown)}),0))}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),this.props.submenu&&document.body.removeEventListener("keydown",this.onBodyKeyDown),setTimeout(this.disableRecycling)}},{key:"render",value:function(){var e=this.state.submenuVisible,t=this.props,n=t.id,s=t.idAttr,c=t.menuStyle,u=t.disabled,d=t.submenu,p=t.text,f=t.className,h=t.isNew,m=this.props.hint,g=this.props.icon,y={};s&&(y[s]=n);var v=["menu-item"];if(f&&v.push(f),c)if("link"===c)v.shift(),v.push("link-menu-item");else{var b=c;for(var _ in"string"==typeof b&&(b=[b]),b)v.push("menu-item-"+b[_])}u&&v.push("disabled"),d&&!m&&(m=(0,r.h)(i.Ec8,null));var w=null;if(d){d.props.anchorNode=this.domNode;var C=e?d:null;w=(0,r.h)(a.Z,{transitionName:"popup-menu",transitionEnterTimeout:o.popupAppearDuration,transitionLeaveTimeout:o.popupAppearDuration},C)}var S=null;return h&&(S=(0,r.h)("span",{className:"is-new"},"New")),(0,r.h)("div",l({},y,{ref:this.onRef,"data-menu-id":n,onClick:this.props.onClick,onMouseDown:this.onMouseDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseMove:this.onMouseMove,onContextMenu:this.onContextMenu,className:v.join(" ")}),g?(0,r.h)("div",{className:"icon"},(0,r.h)(g,null)):null,(0,r.h)("div",{className:"text"},p,S),m?(0,r.h)("div",{className:"hint"},m):null,w)}}])&&c(t.prototype,n),s&&c(t,s),h}(r.wA)},2049:(e,t,n)=>{"use strict";n.r(t),n.d(t,{base64ToArrayBuffer:()=>r,getDumpByURL:()=>o});n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(26699),n(32023);function r(e){for(var t=window.atob(e),n=t.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{method:"GET"},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[200];return new Promise((function(r,o){fetch(e,t).then((function(e){return n.includes(+e.status)?e.blob():o("Status code is ".concat(e.status))})).then((function(e){var t=new FileReader;t.onloadend=function(e){r(new Uint8Array(t.result))},t.onerror=function(){throw Error("Error read file as ArrayBuffer")},t.readAsArrayBuffer(e)})).catch((function(e){console.error(e),o()}))}))}},62785:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ATTACH_GLOBAL_ID_HTML_ATTR:()=>Qv,AttachmentNotFoundError:()=>nb.default,BLOT_COUNT_TYPES:()=>gle,CHECKBOX_ELEM_CLASS:()=>Zp,FILE_NAME_HTML_ATTR:()=>Xv,IMAGE_ORIGINAL_HEIGHT_ATTR:()=>vb,IMAGE_ORIGINAL_WIDTH_ATTR:()=>yb,ToHTMLContext:()=>Lpe,initEditor:()=>Upe,yUtil:()=>g8});n(92222),n(19601),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(26833);var r=n(51718),o=n(65224),i=(n(54747),n(47042),n(26699),n(32023),n(74916),n(15306),n(39714),n(69600),n(82526),n(41817),n(32165),n(78783),n(33948),n(69826),n(26074)),a=n.n(i),s=(n(21249),n(91038),n(70189),n(57327),n(23123),n(47941),n(2707),n(9653),n(51532),n(73210),n(30489),n(12419),n(74819),n(38880),n(68309),n(13728),n(49337),n(87751),n(83753),n(40561),n(69720),n(27852),n(23157),n(43290),n(79758)),l=n(22463),c=n.n(l);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===u(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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const g=function(e){!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}}),t&&p(e,t)}(i,e);var t,n,r,o=f(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"getBlotInsertParams",value:function(e,t){return{type:this.constructor.blotName||null,initParams:{}}}}])&&d(t.prototype,n),r&&d(t,r),i}(a().Block);var y=n(40040),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t,n){return(w="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=x(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(e,t){if(t&&("object"===b(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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){!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}}),t&&C(e,t)}(i,e);var t,n,r,o=S(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isSeparableByClickApplicable=!0,t}return t=i,(n=[{key:"attach",value:function(){w(x(i.prototype),"attach",this).call(this),this.attributes=new(a().Attributor.Store)(this.domNode)}},{key:"delta",value:function(){return(new(c())).insert(this.value(),v()(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=a().query(e,a().Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,t,n){if("string"==typeof t&&t.endsWith("\n")){var r=a().create(Block.blotName);this.parent.insertBefore(r,0===e?this:this.next),r.insertAt(0,t.slice(0,-1))}else w(x(i.prototype),"insertAt",this).call(this,e,t,n)}},{key:"getBlotInsertParams",value:function(e,t){return{type:this.constructor.blotName||null,initParams:{}}}}])&&_(t.prototype,n),r&&_(t,r),i}(a().Embed);k.scope=a().Scope.BLOCK_BLOT;const O=k;var T=n(8065);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(e,t)}(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 R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(e){var t=e.children,n=(e.size,e.settings),r=e.setTableContext,o=P((0,T.eJ)(0),2),i=o[0],a=o[1],l=P((0,T.eJ)(!1),2),c=l[0],u=l[1],d=P((0,T.eJ)(!1),2),p=d[0],f=d[1],h=(0,T.qp)(LT),m=(h.editor,h.useRefs),g=h.tableExec;(0,T.d4)((function(){r(h)}),[h]);var y=function(){return v.current&&a(v.current.scrollWidth),_(),b(),!0};m.setUI("scroll",{getNode:function(){return v.current}.bind(this),scrollTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("right"===e)v.current.scrollLeft=v.current.scrollWidth-v.current.offsetWidth;else if("object"===A(e)){var n=t.offset,r=void 0===n?0:n,o=t.behavior,i=void 0===o?"auto":o,a=r+64,s=r-32,l=e.getBoundingClientRect(),c=v.current.getBoundingClientRect(),u=v.current.scrollLeft,d=l.left-c.left-a,p=l.right-c.right-s,f=!1;d<0?f=u+d:p>0&&(f=u+Math.min(p,d)),!1!==f&&v.current.scrollTo({left:Math.max(0,f),behavior:i})}else console.info("Unknown target",A(e),e)}.bind(this),updateScroll:y.bind(this)});var v=(0,T.sO)(null),b=function(){v.current&&u(v.current.scrollLeft>0)},_=function(){if(v.current){var e=v.current.getBoundingClientRect(),t=v.current.scrollWidth-e.width-v.current.scrollLeft;f(t>10)}};(0,T.d4)((function(){y()})),(0,T.d4)((function(){i&&g("render-fullwidth")}),[i]);var w=["table-scroll"];return c&&w.push("can-scroll-left"),p&&w.push("can-scroll-right"),!1===n.colHeadings&&w.push("can-hide-col-header"),(0,s.h)("div",{className:w.join(" ")},(0,s.h)("div",{className:"table-scroll-items",ref:v,onScroll:function(e){v.current&&(u(v.current.scrollLeft>0),_())}},t))}n(73689);var M={version:2,table:{settings:{wrapCells:{key:"wrapCellsMode",type:"boolean",default:!0,export:!0,permission:"nowrap"},rowHeadings:{key:"rowHeadingsMode",type:"boolean",default:!0},colHeadings:{key:"columnHeadingsMode",type:"boolean",default:!0},showSummaries:{key:"showSummaries",type:"boolean",default:!0},disableFilter:{key:"filter-disabled",type:"boolean",default:!1}},copy:["wrapCellsMode","rowHeadingsMode","columnHeadingsMode","showSummaries","fullwidthMode","embed-align","color"]},row:{indexAttr:"data-index",className:"table-head-item",props:{height:36},limit:{minHeight:36,maxHeight:1e3},attrs:["height"],copy:["type","height","color","align","valign"],transition:500},col:{indexAttr:"data-index",className:"table-head-item",props:{columnType:"none",width:180},limit:{minWidth:100,maxWidth:1e3},attrs:["width"],copy:["text","type","columnType","format","width","color","align","valign","dbSelect","summary"],updateSummary:["summary"],updateCells:["color","align","valign","dbSelect"]},cell:{props:{},attrs:{colspan:"colspan",rowspan:"rowspan",hidden:"hidden",valign:"valign",color:"data-palette-bg-rgb"},inherit:{colData:["color","valign"],rowData:["color","valign"]},updateSummary:["checked","rating","progress"],copy:["type","cellType","colspan","rowspan","hidden","timestamp","reminders","checked","users","rating","progress","selected","value","format","align","valign","color","attachments","attachmentglobalids","commentThreads"],clear:["timestamp","reminders","checked","progress","rating","users","selected","value","attachments","attachmentsType"],divide:["color","align","valign"]},child:{style:{align:{prop:"text-align",default:"left"}},copy:["align"]},selection:{timeout:50},resize:{offset:5,timeout:100},types:{width:"number",height:"number",colspan:"number",rowspan:"number",hidden:"boolean",rating:"number",progress:"number",timestamp:"number"}};n(4723);function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=F(e);if(t){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return B(this,n)}}function B(e,t){if(t&&("object"===N(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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(e){!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}}),t&&j(e,t)}(n,e);var t=L(n);function n(){return D(this,n),t.apply(this,arguments)}return n}(a().Text);var H=n(67546);function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q(e,t,n){return(q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=K(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Y(this,n)}}function Y(e,t){if(t&&("object"===V(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Z(e)}function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $=["mention","date","button","progress","dropdown-list"],Q=["button"],X=function(e){!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}}),t&&G(e,t)}(i,e);var t,n,r,o=W(i);function i(e){var t,n,r,s;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=Z(t),s=function(e,n,r){if("silent"!==r)try{var o=!1,i=t.scroll.selection.getNativeRange(),s=i.start,l=i.end,c=i.reversed,u=s.node,d=s.offset,p=l.node,f=l.offset,h=null;if(u.parentElement&&u.parentElement.parentElement===t.domNode&&u.parentElement!==t.contentNode){var m=document.createTextNode(u.textContent);u.remove(),h=m}if(u.parentElement&&u.parentElement.parentElement&&u.parentElement.parentElement.parentElement===t.domNode&&u.parentElement.parentElement!==t.contentNode){var g=document.createTextNode(u.textContent),y=u.parentElement;u.remove(),y.remove(),h=g}h&&(t.parent.insertBefore(a().create(h),Z(t)),o=!0,u=t.leftGuard,d=0),u===p&&d===f?(u===t.leftGuard&&1===d?(o=!0,u=t.rightGuard):u===t.rightGuard&&0===d?(o=!0,u=t.leftGuard):(0,H.nN)(t.contentNode,u)&&(d<t.contentNode.textContent.length/2?(o=!0,u=t.leftGuard,d=0):(o=!0,u=t.rightGuard,d=1)),o&&t.scroll.selection.setNativeRange(u,d)):(u===t.leftGuard&&1===d?(o=!0,u=t.rightGuard):u===t.rightGuard&&0===d?(o=!0,u=t.leftGuard):p===t.leftGuard&&1===f?(o=!0,p=t.rightGuard):p===t.rightGuard&&0===f&&(o=!0,p=t.leftGuard),o&&t.scroll.selection.setNativeRange(u,d,p,f,!1,c)),o&&t.scroll.selection.update("silent")}catch(e){}},(r="onSelectionChange")in n?Object.defineProperty(n,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[r]=s,t.contentNode=document.createElement("span"),t.contentNode.setAttribute("contenteditable",!1),Array.from(t.domNode.childNodes).forEach((function(e){t.contentNode.appendChild(e)})),t.setGuards(t.contentNode),t}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=q(K(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.scroll.emitter.on("selectionchange",this.onSelectionChange)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=q(K(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.scroll.emitter.off("selectionchange",this.onSelectionChange)}},{key:"index",value:function(e,t){return e===this.leftGuard?0:e===this.rightGuard?1:q(K(i.prototype),"index",this).call(this,e,t)}},{key:"setGuards",value:function(e){this.leftGuard=document.createTextNode("\ufeff"),this.rightGuard=document.createTextNode("\ufeff"),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(e),this.domNode.appendChild(this.rightGuard)}},{key:"restore",value:function(e){var t,n,r=e.data.split("\ufeff").join("");if(e===this.leftGuard)if(this.prev instanceof U){var o=this.prev.length();this.prev.insertAt(o,r),t={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(a().create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof U?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(a().create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data="\ufeff",t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"!==e.type||e.target!==n.leftGuard&&e.target!==n.rightGuard)"childList"!==e.type||e.target!==n.domNode||1!==e.removedNodes.length||e.removedNodes[0]!==n.leftGuard&&e.removedNodes[0]!==n.rightGuard||n.remove();else{var r=n.restore(e.target);r&&(t.range=r)}}))}}])&&z(t.prototype,n),r&&z(t,r),i}(a().Embed);function J(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ee(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e){for(;e&&!e.map;)e=e.parent;return e}function ne(e){for(;e&&!e.isText;)e=e.parent;return e}function re(e){if(!e)return null;var t=s5.find(e);return t||re(e.parentNode)}function oe(e,t){for(Array.isArray(t)||(t=[t]);e;){if(t.every((function(t){return e instanceof t})))return e;e=e.parent}return null}function ie(e,t){for(;e;){if(t(e))return e;e=e.parent}return null}function ae(e,t){var n=-1;for(e=e.children.head;e;){if(n++,e===t)return n;e=e.next}return-1}function se(e){return function(t){for(var n=t,r=e.length-1;r>=0;r--)n=e[r](n);return n}}function le(e,t){for(var n=0,r=0,o=e;o!==t&&null!==o;)n+=o.offsetLeft-o.scrollLeft,r+=o.offsetTop-o.scrollTop,o=o.offsetParent;return{x:n,y:r}}function ce(e,t){for(var n=e.head,r=-1;n;)t(n,++r),n=n.next}function ue(e){if(!e.length)return!1;var t,n=null,r=J(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(n){if(n!==o.constructor)return!1}else n=o.constructor}}catch(e){r.e(e)}finally{r.f()}return!0}function de(e,t){for(var n=e.children.head;n;){var r,o;if(!1===t(n))return;if("grid"===(null===(r=n.constructor)||void 0===r?void 0:r.blotName))for(var i=n.children.head;i;)de(i,t),i=i.next;"toggleWrapper"===(null===(o=n.constructor)||void 0===o?void 0:o.blotName)&&n.map.get("children").toArray().forEach((function(e){t({map:n.editor.store.blocks.get(e)})})),n=n.next}}var pe=n(407),fe=n(33103);function he(e){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"xxxxxx",t=e.replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}));return t}function ge(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())}function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.every((function(e){return t.includes(e)}))}function ve(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"object",n=arguments.length>1?arguments[1]:void 0,r=he(n);return n?"object"===t?"object"===r?e=n:(e={},"string"===r&&n.startsWith("{")&&n.endsWith("}")&&(e=JSON.parse(n))):"array"===t&&("object"===r?e=n:(e=[],"string"===r&&(e=n.startsWith("[")&&n.endsWith("]")?JSON.parse(n):n.split(",")))):"object"===t?e={}:"array"===t&&(e=[]),e}function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Se(this,n)}}function Se(e,t){if(t&&("object"===be(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ee(e)}function Ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xe(e,t,n){return(xe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ke(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(){return me("button_xxxxxxxx")}var Ae=function(e){!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}}),t&&we(e,t)}(i,e);var t,n,r,o=Ce(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Oe(Ee(t=o.call(this,e)),"onButtonClick",(function(e){e.preventDefault(),e.stopPropagation();var n=t.domNode.getAttribute("data-url"),r=t.domNode.getAttribute("data-target"),o=t.parent,i=o&&o.isBlotLocked,a=(t.editor||{}).options,s=(a&&a.blots&&a.blots.button||{}).showButtonFormat,l=void 0===s||s;t.editor.mode===fpe&&!i&&l?t.editor.emitter.emit("click-button",Ee(t)):t.editor.plugins.linkManager.processNavigation(n)||window.open(n,r,"noopener")})),Oe(Ee(t),"setSelfControlled",(function(){t.node.classList.add(fe.W$)})),Oe(Ee(t),"removeSelfControlled",(function(){t.node.classList.remove(fe.W$)})),t.node=e,t.contentNode.classList.add("button-content"),t.titleNode=t.contentNode.querySelector("b"),t}return t=i,r=[{key:"create",value:function(e){var t=xe(ke(i),"create",this).call(this,e),n=JSON.parse(e),r=n.title,o=void 0===r?pe.ZP.get("floating_toolbar.button"):r,a=n.url,s=void 0===a?"":a,l=n.target,c=void 0===l?"_blank":l,u=n.shape,d=n.background,p=n.size,f=void 0===p?"small":p,h=n.type,m=void 0===h?"3d":h,g=n.id;s=this.sanitize(s),t.classList.add("inline-button"),t.setAttribute("data-title",o),t.setAttribute("data-url",s),t.setAttribute("data-target",c),t.setAttribute("data-shape",u),t.setAttribute("data-background",d),t.setAttribute("data-size",f),t.setAttribute("data-type",m),t.setAttribute("id",g);var y=document.createTextNode(o),v=document.createElement("b");return v.appendChild(y),t.appendChild(v),t}},{key:"value",value:function(e){return JSON.stringify({title:e.getAttribute("data-title"),url:e.getAttribute("data-url"),target:e.getAttribute("data-target"),shape:e.getAttribute("data-shape"),background:e.getAttribute("data-background"),size:e.getAttribute("data-size"),type:e.getAttribute("data-type"),id:e.getAttribute("id")})}},{key:"sanitize",value:function(e){return e}},{key:"getOpText",value:function(e){var t=e.button;return(JSON.parse(t)||{}).title||""}},{key:"isAbleToConvert",value:function(e){var t=(0,fe.ZT)(e),n=t.text,r=t.delta,o=void 0===r?[{ops:[]}]:r,i=e.scroll.getSelectedBlocks()[0]instanceof YI,a=e.scroll.getSelectedBlocks().length>1||n.match(/\n/),s=""===n.trim(),l=o[0].ops.filter((function(e){return e.insert&&e.insert.button})).length;return!(s||i||a||l)}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xe(ke(i.prototype),"attach",this)).call.apply(e,[this].concat(n));var o=te(this),a=o.editor;this.editor=a,this.domNode.addEventListener("click",this.onButtonClick,!1)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xe(ke(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.domNode.removeEventListener("click",this.onButtonClick)}},{key:"changeButton",value:function(e){var t=e.title,n=e.url,r=e.target,o=e.shape,i=e.background,a=e.size,s=e.buttonType,l=e.id;this.setUrl(n),this.setTitle(t),this.setTarget(r),this.setShape(o),this.setBackground(i),this.setSize(a),this.setType(s),this.domNode.getAttribute("id")||this.domNode.setAttribute("id",l)}},{key:"setTitle",value:function(e){this.titleNode.innerText=e,this.domNode.setAttribute("data-title",e)}},{key:"setUrl",value:function(e){this.domNode.setAttribute("data-url",e)}},{key:"setTarget",value:function(e){this.domNode.setAttribute("data-target",e)}},{key:"setShape",value:function(e){this.domNode.setAttribute("data-shape",e)}},{key:"setBackground",value:function(e){this.domNode.setAttribute("data-background",e)}},{key:"setSize",value:function(e){this.domNode.setAttribute("data-size",e)}},{key:"setType",value:function(e){this.domNode.setAttribute("data-type",e)}},{key:"toHTML",value:function(e){var t=this.domNode.getAttribute("data-url"),n=this.domNode.getAttribute("data-target");return this.domNode.setAttribute("onclick","window.open('".concat(t,"', '").concat(n,"', 'noopener')")),this.domNode.outerHTML}}])&&_e(t.prototype,n),r&&_e(t,r),i}(X);function Pe(e){return function(e){if(Array.isArray(e))return Ie(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Re(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 Re(e,t){if(e){if("string"==typeof e)return Ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ie(e,t):void 0}}function Ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Me(e){return e.ops.length?new(c())(e.reduce((function(e,t){if(t.attributes){var n=Object.keys(t.attributes),r=n.filter((function(e){return e.startsWith("comment-")}));if(r.length)if(r.length!==n.length){var o,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Re(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;delete t.attributes[a]}}catch(e){i.e(e)}finally{i.f()}}else delete t.attributes}return[].concat(Pe(e),[t])}),[])):e}function Ne(e){return function(e){return e.ops.length?new(c())(e.reduce((function(e,t){if(t.insert&&t.insert.button){var n=JSON.parse(t.insert.button);n.id=Te(),t.insert.button=JSON.stringify(n)}return[].concat(Pe(e),[t])}),[])):e}(Me(e))}Ae.blotName="button",Ae.tagName="nimbus-button",Ae.SANITIZED_URL="about:blank",Ae.PROTOCOL_WHITELIST=["http","https","mailto","tel"];n(17727);var De=n(62297),je=n.n(De),Le=n(13916),Be=n(84221),Fe=n(57673),Ue=n(62775),He=n(84087),Ve=n(68055),ze=n(70133);function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(n),!0).forEach((function(t){We(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=["aqua","carrot","yellow","red","light-green","thistle","ucla-blue","blue","cherry","orange","yellow-green","green","jade","green-sea","aquamarine","dark-sky","purple","pink","cloudy","grey","brown"],Ze=["black","white"],Ke=["rose"],$e=(Object.assign([],Ye),Object.assign([],Ye),Object.assign([],Ye.concat(Ze)),{"dark-sky-blue":"#42a5f5","macaroni-and-cheese":"#fac92f",mango:"#fda639",coral:"#ed5454","turtle-green":"#8bc34a","pale-purple":"#b39ddb","stormy-blue":"#5573a7"}),Qe=Object.keys(je()).filter((function(e){return Ye.concat(Ze).includes(e)})).map((function(e){return new Object(We({},e,je()[e]))})).reduce((function(e,t){return Object.assign(e,t)}),{});var Xe=["yellow","orange","red","pink","purple","aqua","aquamarine","light-green","green-sea","ucla-blue","brown"],Je=Object.keys(Le),et=Ge({},Be),tt=Object.keys(Fe),nt=Ge({},Ue),rt=Ge({},He),ot=Ge({},Ve),it=Ge({},ze);function at(e){return(at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function st(){return null}function lt(e,t,n){if(t){var r=t.querySelector("[prender-wrapper='".concat(n,"']"));return e?(r||((r=document.createElement("span")).setAttribute("prender-wrapper",n),t.appendChild(r)),(0,s.sY)(e,r)):r&&((0,s.sY)(e,r),r.remove()),!0}return console.warn("Container is",at(t)),!1}var ct=n(49190),ut=n(41552),dt=n(49839);function pt(e){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ht(e,t){return(ht=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yt(e);if(t){var o=yt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gt(this,n)}}function gt(e,t){if(t&&("object"===pt(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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=function(e){!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}}),t&&ht(e,t)}(i,e);var t,n,r,o=mt(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={allowRenderChildren:!1},t}return t=i,(n=[{key:"componentDidMount",value:function(){this.setState((function(){return{allowRenderChildren:!0}}))}},{key:"render",value:function(){var e=this.props,t=e.transitionName,n=e.transitionEnterTimeout,r=e.transitionLeaveTimeout,o=this.state.allowRenderChildren;return(0,s.h)(dt.Z,{transitionName:t,transitionEnterTimeout:n,transitionLeaveTimeout:r},o?this.props.children:null)}}])&&ft(t.prototype,n),r&&ft(t,r),i}(s.wA),bt=n(20199);function _t(e){return(_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)}function wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kt(e);if(t){var o=kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xt(this,n)}}function xt(e,t){if(t&&("object"===_t(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 kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ot=parseInt(bt.popupAppearDuration),Tt=function(e){!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}}),t&&St(e,t)}(i,e);var t,n,r,o=Et(i);function i(){return wt(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){return(0,s.h)(vt,{transitionName:"popup-menu",transitionEnterTimeout:Ot,transitionLeaveTimeout:Ot},this.props.children)}}])&&Ct(t.prototype,n),r&&Ct(t,r),i}(s.wA),At=n(10856);function Pt(e){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function It(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Lt(e);if(t){var o=Lt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dt(this,n)}}function Dt(e,t){if(t&&("object"===Pt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return jt(e)}function jt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Bt=function(e){!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}}),t&&Mt(e,t)}(i,e);var t,n,r,o=Nt(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=jt(t),r="loadInfo",a=function(){var e,n=(e=regeneratorRuntime.mark((function e(n,r){var o,i,a,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=s.length>2&&void 0!==s[2]?s[2]:null,i=t.editor.plugins.mentionManager,a={contentLoaded:!0},e.prev=3,e.t0=n,e.next="note"===e.t0?7:"folder"===e.t0?11:"workspace"===e.t0?15:"user"===e.t0?19:23;break;case 7:return e.next=9,i.getNoteTeaser(r,o);case 9:return t.contentObject=e.sent,e.abrupt("break",23);case 11:return e.next=13,i.getFolderInfo(r,o);case 13:return t.contentObject=e.sent,e.abrupt("break",23);case 15:return e.next=17,i.getWorkspaceInfo(r);case 17:return t.contentObject=e.sent,e.abrupt("break",23);case 19:return e.next=21,i.getUserInfo(r,o);case 21:return t.contentObject=e.sent,e.abrupt("break",23);case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(3),a.loadError=e.t1;case 28:t.contentObject||(t.contentObject={}),t.setState(a);case 30:case"end":return e.stop()}}),e,null,[[3,25]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Rt(i,r,o,a,s,"next",e)}function s(e){Rt(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e,t){return n.apply(this,arguments)}}(),r in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.editor=t.props.editor,t.contentObject={},t.state={contentLoaded:!1},t.i18n=t.editor.plugins.i18n,t}return t=i,(n=[{key:"getNoteHtml",value:function(){var e="mention-note-teaser",t=!1;return this.contentObject.content||this.contentObject.previewUrl||(t=!0),(0,s.h)("div",{className:e},(0,s.h)("div",{className:e+"_content"},(0,s.h)("div",{className:e+"_body"},(0,s.h)("div",{className:e+"_body__title "+(t?"only-title":"")},this.contentObject.title),this.contentObject.createdDate||this.contentObject.content?(0,s.h)("div",{className:e+"_body__text"},this.contentObject.createdDate?(0,s.h)("span",{className:e+"_date"},this.contentObject.createdDate):null,this.contentObject.content?(this.contentObject.createdDate?" ":"")+this.contentObject.content:null):null),this.contentObject.previewUrl?(0,s.h)("div",{className:e+"_body__image"},(0,s.h)("img",{src:this.contentObject.previewUrl})):null),this.contentObject.isShared||this.contentObject.isFavorite||this.contentObject.todoCount&&this.contentObject.todoCount>0?(0,s.h)("div",{className:e+"_socials"},this.contentObject.isShared?(0,s.h)("div",{className:e+"_socials__shared"},(0,s.h)(ct.LQ1,null)):null,this.contentObject.isFavorite?(0,s.h)("div",{className:e+"_socials__favorites"},(0,s.h)(ct.dUh,null)):null,this.contentObject.todoCount&&this.contentObject.todoCount>0?(0,s.h)("div",{className:e+"_socials__tasks"},(0,s.h)(ct.ws,null),(0,s.h)("span",{className:"tasks_count"},this.contentObject.todoCount)):null):null)}},{key:"getFolderHtml",value:function(){var e=parseInt(this.contentObject.notes_count),t=parseInt(this.contentObject.subfolders_count);return(0,s.h)("div",{className:"mention-folder-info"},e+" "+this.i18n.get("mention.info.note."+Ft(e))+" / "+t+" "+this.i18n.get("mention.info.subfolder."+Ft(t)))}},{key:"getWorkspaceHtml",value:function(){var e=parseInt(this.contentObject.members_count);return(0,s.h)("div",{className:"mention-workspace-info"},e+" "+this.i18n.get("mention.info.member."+Ft(e))+" / "+this.i18n.get("mention.info.owner")+": "+this.contentObject.owner)}},{key:"getUserHtml",value:function(){var e="mention-user-info";return(0,s.h)("div",{className:e},(0,s.h)("div",{className:e+"_avatar"},this.contentObject.avatar_url?(0,s.h)("img",{src:this.contentObject.avatar_url}):(0,s.h)("div",{className:e+"_avatar__no-avatar"},this.contentObject.user_name.split("")[0].toUpperCase())),(0,s.h)("div",{className:e+"_body"},(0,s.h)("div",{className:e+"_name"},this.contentObject.user_name),(0,s.h)("div",{className:e+"_email"},this.contentObject.user_email)))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.objectId,r=e.workspaceId,o=this.state,i=o.contentLoaded,a=o.loadError,l=(0,s.h)("div",{className:"mention-info-loading"},this.i18n.get("mention.info.loading"));if(i)if(Object.keys(this.contentObject).length)switch(t){case"note":l=this.getNoteHtml();break;case"folder":l=this.getFolderHtml();break;case"workspace":l=this.getWorkspaceHtml();break;case"user":l=this.getUserHtml()}else if(a){var c=this.i18n.get("mention.info.loading_failed");a instanceof ut.default?c=a.message:console.log("got mention load error:",a," which is not CustomDisplayableError",a.constructor.name),l=c}else l=null;else this.loadInfo(t,n,r);return(0,s.h)(Tt,null,(0,s.h)(At.Z,{wantsToClose:this.props.hideInfo,anchorNode:this.props.mentionNode,anchorOptions:{placement:"bottom-start",behavior:["bottom","top","bottom"],offset:"5px, 8px",priority:["right","left"],boundariesElement:this.editor.getScrollingContainer()}},(0,s.h)("div",{className:"mention-info"},l)))}}])&&It(t.prototype,n),r&&It(t,r),i}(s.wA);function Ft(e){return(e%10==1&&(e<10||e>20)?"one":e%10>=2&&e%10<=4&&(e<10||e>20)&&"some")||"many"}function Ut(e){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ht(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Vt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ht(i,r,o,a,s,"next",e)}function s(e){Ht(i,r,o,a,s,"throw",e)}a(void 0)}))}}function zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qt(e,t){return(qt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kt(e);if(t){var o=Kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wt(this,n)}}function Wt(e,t){if(t&&("object"===Ut(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yt(e)}function Yt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zt(e,t,n){return(Zt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Kt(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Kt(e){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qt=function(e){!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}}),t&&qt(e,t)}(i,e);var t,n,r,o=Gt(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),$t(Yt(t=o.call(this,e)),"onMouseOver",(function(){if(t.getInfoByTypeMethodImplemented()){var e=t.scroll.editor.scrollingContainer.querySelector(".mention-info-popup");if(e){if(e.getAttribute("data-mention-id")===t.value().mention.id)return;t.hideInfo()}lt((0,s.h)("div",{className:"mention-info-popup","data-mention-id":t.value().mention.id},(0,s.h)(Bt,{type:t.value().mention.type,objectId:t.value().mention.object_id,workspaceId:t.value().mention.workspace_id,editor:t.scroll.editor,hideInfo:t.hideInfo,mentionNode:t.contentNode})),t.scroll.editor.scrollingContainer,"mention-popup-wrapper")}})),$t(Yt(t),"onMouseOut",(function(){t.hideInfo()})),$t(Yt(t),"onMentionClick",(function(e){e.preventDefault();var n=t.contentNode.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=e.clientX,s=e.clientY;if(s>=o&&s<=o+i&&a>=r&&a<=r+10){var l=te(Yt(t)),c=t.offset(te(Yt(t)));t.scroll.selection.setRange({index:l.offset(t.scroll)+c,length:0})}else t.scroll.editor.plugins.mentionManager&&t.scroll.editor.plugins.mentionManager.onMentionClick(t.value().mention.type,t.value().mention.object_id,t.value().mention.workspace_id)})),$t(Yt(t),"hideInfo",(function(){lt(null,t.scroll.editor.scrollingContainer,"mention-popup-wrapper")})),t.isSeparableByClickApplicable=!0,t.contentNode.classList.add("mention-link"),t.contentNode.setAttribute("data-mention-id",t.domNode.getAttribute("data-mention-id")),t.contentNode.setAttribute("data-mention-type",t.domNode.getAttribute("data-mention-type")),t.contentNode.setAttribute("data-mention-name",t.domNode.getAttribute("data-mention-name")),t.contentNode.setAttribute("data-mention-object_id",t.domNode.getAttribute("data-mention-object_id")),t.domNode.getAttribute("data-mention-workspace_id")&&t.contentNode.setAttribute("data-mention-workspace_id",t.domNode.getAttribute("data-mention-workspace_id")),t}return t=i,r=[{key:"create",value:function(e){var t=Zt(Kt(i),"create",this).call(this);return t.classList.add("mention"),t.setAttribute("data-mention-id",e.id),t.setAttribute("data-mention-type",e.type),t.setAttribute("data-mention-name",e.name),t.setAttribute("data-mention-object_id",e.object_id),e.workspace_id&&t.setAttribute("data-mention-workspace_id",e.workspace_id),t}},{key:"value",value:function(e){var t={id:e.getAttribute("data-mention-id"),type:e.getAttribute("data-mention-type"),name:e.getAttribute("data-mention-name"),object_id:e.getAttribute("data-mention-object_id")};return e.getAttribute("data-mention-workspace_id")&&(t.workspace_id=e.getAttribute("data-mention-workspace_id")),t}},{key:"getOpText",value:function(e,t,n){if(n&&n.plugins.mentionManager.cache){var r,o=null===(r=n.plugins.mentionManager.cache.get(e.mention.object_id))||void 0===r?void 0:r.name;if(o&&"string"==typeof o)return o}return e.mention.name}},{key:"getMentionName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return new Promise(function(){var r=Vt(regeneratorRuntime.mark((function r(o){var i,a,s;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=e.type,a=e.object_id,s=e.workspace_id,t&&void 0!==t&&"undefined"!==t){r.next=5;break}return r.next=4,n.plugins.mentionManager.getMentionTitle(i,a,s);case 4:t=r.sent;case 5:t?(n.plugins.mentionManager.cache.save(a,{type:i,name:t,workspace_id:s}),o(t)):o("undefined");case 6:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}())}}],(n=[{key:"attach",value:function(){for(var e,t,n,r,o=this,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];if((e=Zt(Kt(i.prototype),"attach",this)).call.apply(e,[this].concat(s)),!this.attached){this.attached=!0;var c=null===(t=this.scroll.editor.plugins.mentionManager)||void 0===t||null===(n=t.cache)||void 0===n||null===(r=n.get(this.domNode.getAttribute("data-mention-object_id")))||void 0===r?void 0:r.name;c&&void 0!==c?this.attachMentionTitle(c):i.getMentionName(this.value().mention,this.domNode.getAttribute("data-mention-name"),this.scroll.editor).then((function(e){o.attachMentionTitle(e)})).catch((function(e){})),this.contentNode.addEventListener("mouseover",this.onMouseOver,!1),this.contentNode.addEventListener("mouseout",this.onMouseOut,!1),this.contentNode.addEventListener("click",this.onMentionClick,!1)}}},{key:"attachMentionTitle",value:function(e){this.domNode.getAttribute("data-mention-name")!==e&&this.domNode.setAttribute("data-mention-name",e),this.contentNode.innerText=e}},{key:"getInfoByTypeMethodImplemented",value:function(){var e=this.scroll.editor.plugins.mentionManager.options;switch(this.value().mention.type){case"note":return e.getNoteTeaser;case"folder":return e.getFolderInfo;case"workspace":return e.getWorkspaceInfo;case"user":return e.getUserInfo}}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Zt(Kt(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.contentNode.removeEventListener("mouseover",this.onMouseOver,!1),this.contentNode.removeEventListener("mouseout",this.onMouseOut,!1),this.contentNode.removeEventListener("click",this.onMentionClick,!1),this.attached=null}},{key:"toHTML",value:function(e){var t=this.domNode.cloneNode(!0),n=e&&e.getMentionUrl&&e.getMentionUrl(t.getAttribute("data-mention-type"),t.getAttribute("data-mention-object_id"));if(n){var r=t.querySelector(".mention-link"),o=r.cloneNode(),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank");var a=document.createTextNode(this.contentNode.innerText);i.appendChild(a),o.appendChild(i),r.parentNode.replaceChild(o,r)}return t.outerHTML}}])&&zt(t.prototype,n),r&&zt(t,r),i}(X);function Xt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jt(e,t)}(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 Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function en(){return(en=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tn(e){return(tn="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)}Qt.blotName="mention",Qt.tagName="mention";var nn=Object.keys(nt);function rn(e){var t=e.delta,n=e.editor,r=t.reduce((function(t,r){var o=tn(r.insert);if("object"===o){if(r.insert.hasOwnProperty("linebreak")&&"s"===r.insert.linebreak)t.push((0,s.h)("br",{class:"separator"}));else if(r.insert.hasOwnProperty("mention")){var i=e.mentionProps,a=void 0===i?{}:i,l=r.insert.mention,c=(0,s.h)(an,{editor:n,mentionProps:a,mention:l});t.push(c)}}else if("string"===o){var u=r.insert;if(" \n"===u&&(u=(0,s.h)("br",null)),r.hasOwnProperty("attributes")){var d=Object.keys(r.attributes).sort().reverse().reduce((function(t,n){var o=r.attributes[n];switch(n){case"color":var i={};"#"===(null==o?void 0:o[0])?i.style={color:o}:i["data-font-color"]=o,t=(0,s.h)("span",en({className:"font-color"},i),t);break;case"strikethrough":t=(0,s.h)("del",null,t);break;case"bold":t=(0,s.h)("strong",null,t);break;case"italic":t=(0,s.h)("em",null,t);break;case"underline":t=(0,s.h)("u",null,t);break;case"code":t=(0,s.h)("code",{className:"inline-code"},t);break;case"background":var a=["background-color"];(tt.includes(o)||nn.includes(o))&&a.push("extra-highlight"),t=(0,s.h)("span",{className:a.join(" "),"data-highlight":o},t);break;case"placeholder":t=(0,s.h)("placeholder",null,t);break;case"link":var l=e.linkProps,c=void 0===l?{}:l;t=(0,s.h)("a",en({href:o,target:"_blank",rel:"nofollow noopener"},c),t)}return t}),u);t.push(d)}else t.push(u)}return t}),[]);return(0,s.h)(s.HY,null,r)}function on(e){var t=document.createElement("div");(0,s.sY)((0,s.h)(rn,{delta:e}),t);var n=t.innerHTML;return(0,s.sY)(null,t),n}function an(e){var t,n=(0,T.sO)(null),r=e.mentionProps,o=void 0===r?{}:r,i=e.mention,a=e.editor,l=["id","type","object_id","workspace_id"].reduce((function(e,t){return i.hasOwnProperty(t)&&(e["data-mention-"+t]=i[t]),e}),{}),c=!!a&&(null===(t=a.plugins.mentionManager.cache.get(String(i.object_id)))||void 0===t?void 0:t.name),u=Xt((0,T.eJ)(c||""),2),d=u[0],p=u[1];return(0,T.d4)((function(){o.ref&&(o.ref.current=n.current)}),[n.current]),(0,T.d4)((function(){!c&&a?Qt.getMentionName(i,i.name,a).then((function(e){n.current&&(e?p(e):i.name?p(i.name):p("undefined"))})).catch((function(e){i.name&&n.current?p(i.name):p("undefined")})).finally((function(){n.current&&n.current.setAttribute("data-mention-name",n.current.innerText)})):a&&p(c)}),[i]),(0,s.h)("span",{className:"mention-component-wrap"},(0,s.h)("span",en({contenteditable:"false",className:"mention-link"},l,o,{ref:n}),d))}function sn(){return(sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ln(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var cn=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"getFullIconSet",value:function(){return{star:{active:ct.l_R,inactive:ct.tZi,gray:ct.xnp,blue:ct._rD},flag:{active:ct.SVd,inactive:ct.$Eb,gray:ct.ffD,blue:ct.Ec4},heart:{active:ct.hjt,inactive:ct.VRy,gray:ct.CSG,blue:ct.OYV}}}},{key:"getIconSet",value:function(t){var n=e.getFullIconSet();return"heart"==t?n.heart:"flag"==t?n.flag:n.star}}],(n=null)&&ln(t.prototype,n),r&&ln(t,r),e}();function un(e){e.editor;var t=e.editable,n=e.format,r=void 0===n?{}:n,o=e.rating,i=e.onChange,a=function(e,t){i(1===e&&e===o?0:e)},l=["rating-component"];t&&l.push("rating-editable");for(var c=cn.getIconSet(r.type),u=[],d=1;d<=r.amount;d++){var p=void 0,f=["rating-item"];d<=o?(p=c.active,f.push("rating-active")):(p=c.inactive,f.push("rating-inactive"));var h={};t&&(h.onClick=a.bind(this,d)),u.push((0,s.h)("span",sn({className:f.join(" ")},h),(0,s.h)(p,null)))}return(0,s.h)("div",{className:l.join(" ")},u)}function dn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function pn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){dn(i,r,o,a,s,"next",e)}function s(e){dn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function fn(){return hn.apply(this,arguments)}function hn(){return(hn=pn(regeneratorRuntime.mark((function e(){var t,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:0,e.abrupt("return",new Promise((function(e){setTimeout((function(){e(!0)}),parseInt(t)||0)})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function mn(e){return(mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yn(e,t){return(yn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_n(e);if(t){var o=_n(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bn(this,n)}}function bn(e,t){if(t&&("object"===mn(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 _n(e){return(_n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wn=function(e){!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}}),t&&yn(e,t)}(i,e);var t,n,r,o=vn(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={status:e.status||!1},t}return t=i,(n=[{key:"componentDidUpdate",value:function(e,t){this.props.listenUpdates&&this.state.status!==e.status&&this.changeStatus(e.status,!0)}},{key:"onMouseDown",value:function(e){var t=this.state.status;"table"===this.props.mode&&e.stopPropagation(),this.changeStatus(!t)}},{key:"changeStatus",value:function(e,t){var n=this;e=!!e,this.setState((function(){return{status:e}}),(function(){t||n.onChangeAction(e)}))}},{key:"onChangeAction",value:function(e){var t=this.props.onChange;t&&t(e)}},{key:"render",value:function(){var e=this.state.status;return(0,s.h)("div",{onMouseDown:this.onMouseDown.bind(this),className:"component-toggle "+(e?"component-toggle-active ":"")+(this.props.addClassName?this.props.addClassName:"")},(0,s.h)("div",{className:"component-toggle-slider"},(0,s.h)("div",{className:"component-toggle-handler"})))}}])&&gn(t.prototype,n),r&&gn(t,r),i}(s.wA),Cn=n(28411);function Sn(e){return(Sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function En(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kn(e,t){return(kn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function On(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=An(e);if(t){var o=An(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Tn(this,n)}}function Tn(e,t){if(t&&("object"===Sn(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 An(e){return(An=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pn=function(e){!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}}),t&&kn(e,t)}(i,e);var t,n,r,o=On(i);function i(){return En(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){return(0,s.h)("div",{className:"popup-menu-separator"})}}])&&xn(t.prototype,n),r&&xn(t,r),i}(s.wA),Rn=n(28199);function In(e){return(In="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mn(){return(Mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dn(e,t){return(Dn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fn(e);if(t){var o=Fn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ln(this,n)}}function Ln(e,t){if(t&&("object"===In(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Bn(e)}function Bn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(e){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hn=(0,Rn.ZP)("enter"),Vn=(0,Rn.ZP)("esc"),zn=["m","h","d","w"],qn=function(e){!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}}),t&&Dn(e,t)}(i,e);var t,n,r,o=jn(i);function i(e){var t,n,r,a,s;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Un(Bn(s=o.call(this,e)),"onChangeItem",(function(e,t){t.stopPropagation();var n=s.props,r=n.onChange,o=n.wantsToClose;if("none"!==e){var i=(s.props.editor.plugins||{}).reminderManager;i&&i.onSetReminder&&i.onSetReminder(e)}r&&r(e),"custom"!==e&&o&&o()})),Un(Bn(s),"onInputClick",(function(e){e.stopPropagation();var t=String(s.nodes.value.value).length;t&&s.nodes.value.setSelectionRange(0,t)})),Un(Bn(s),"stopPropagation",(function(e){e.stopPropagation()})),Un(Bn(s),"onKeyDownCustom",(function(e){var t=parseInt(s.nodes.value.value)||0,n=parseInt(e.key),r=isNaN(n);(1===e.key.length&&r||t>99&&!r&&s.nodes.value.selectionStart===s.nodes.value.selectionEnd)&&e.preventDefault()})),Un(Bn(s),"onChangeCustom",(function(e){e.stopPropagation();var t=s.props,n=t.onChange,r=t.wantsToClose,o="";o+=parseInt(s.nodes.value.value)||0,o+=s.nodes.period.value,n&&n("custom",o),(Hn(e)||Vn(e))&&r&&r()})),s.nodes={},s.showCustom=(null===(t=e.editor)||void 0===t||null===(n=t.plugins)||void 0===n||null===(r=n.reminderManager)||void 0===r||null===(a=r.options)||void 0===a?void 0:a.showCustom)||!1,s}return t=i,(n=[{key:"onRef",value:function(e,t){t&&(this.nodes[e]=t)}},{key:"render",value:function(){var e,t,n,r=this,o=this.props,i=o.editor,a=o.reminder,l=o.shift,c=o.showTime,u=o.remindItemDependOnTime,d=i.plugins.i18n,p=mr.map((function(e){var t,n,o=vr(e),i=a&&e===a.value;if("none"!==e&&!i){if(o>l&&u&&(o||!c))return"";if(!c&&o>0&&o<86400)return""}return i||!a&&"none"===e?(t="done",n=ct.EZi):t="undone",(0,s.h)(Cn.Z,{id:"reminder-item-".concat(e),onClick:r.onChangeItem.bind(r,e),menuStyle:t,icon:n,text:d.get("calendar.ui.reminder.value.".concat(e))})}));if(a&&"custom"===a.value){e="done",t=ct.EZi;var f,h,m=a.text||"",g=parseInt(m)||"",y=m.replace(/\d+/,""),v=zn.map((function(e){if(!c&&e!==y&&-1!==["m","h"].indexOf(e))return"";var t={value:e};return e===y&&(t.selected="selected"),(0,s.h)("option",t,d.get("calendar.ui.reminder.period.".concat(e),null,g||0))})),b=d.get("calendar.ui.reminder.before_period"),_=d.get("calendar.ui.reminder.after_period");b&&(f=(0,s.h)("span",{className:"reminder-text"},b)),_&&(h=(0,s.h)("span",{className:"reminder-text"},_)),n=(0,s.h)("span",{className:"date-reminder-item",onMouseDown:this.stopPropagation.bind(this)},f,(0,s.h)("input",{className:"reminder-value",type:"text",value:g,ref:this.onRef.bind(this,"value"),onClick:this.onInputClick.bind(this),onKeyDown:this.onKeyDownCustom.bind(this),onKeyUp:this.onChangeCustom.bind(this)}),(0,s.h)("select",{className:"reminder-period",ref:this.onRef.bind(this,"period"),onClick:this.stopPropagation.bind(this),onChange:this.onChangeCustom.bind(this)},v),(0,s.h)(ct.BDo,null),h)}else e="undone";var w=this.showCustom?(0,s.h)(s.HY,null,(0,s.h)(Pn,null),(0,s.h)(Cn.Z,{id:"reminder-item-custom",onClick:this.onChangeItem.bind(this,"custom"),menuStyle:e,icon:t,text:d.get("calendar.ui.reminder.value.custom")}),n):null;return(0,s.h)(Tt,null,(0,s.h)(At.Z,Mn({addClassName:"popup-menu-reminders",closeOnEsc:!0},this.props),p,w))}}])&&Nn(t.prototype,n),r&&Nn(t,r),i}(s.wA),Gn=n(23497);n(15583),n(86780);function Wn(e){return e%10==1&&e%100!=11?"one":e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?"some":"many"}var Yn=function(e){var t=new Date(e);return t.setHours(0,0,0,0),t.getTime()};function Zn(){var e=(new Date).toLocaleTimeString();return-1!==e.indexOf("AM")||-1!==e.indexOf("PM")?12:24}function Kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(n),!0).forEach((function(t){sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function er(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Jn(i,r,o,a,s,"next",e)}function s(e){Jn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nr(e,t){return(nr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ar(e);if(t){var o=ar(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return or(this,n)}}function or(e,t){if(t&&("object"===lr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ir(e)}function ir(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ar(e){return(ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return(lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var cr=(0,Rn.ZP)("enter"),ur=((0,Rn.ZP)("esc"),(0,Rn.ZP)("tab")),dr=(0,Rn.ZP)("shift+tab"),pr=(0,Rn.ZP)("delete"),fr=(0,Rn.ZP)("backspace"),hr={ddmmyyyy:"dd/mm/yyyy",mmddyyyy:"mm/dd/yyyy",yyyyddmm:"yyyy/mm/dd",monthddyyyy:"month dd, yyyy"},mr=["none","0m","5m","10m","30m","1h","1d","7d","14d"],gr={type:"default",showTime:!1,timeZoneGMT:!1,timeFormat:12==Zn()?12:24};function yr(e){var t=0;return"object"===lr(e)?"ru"===e.plugins.i18n.language&&(t=1):24==Zn()&&(t=1),t}function vr(e){var t=parseInt(e)||0;return-1!==e.indexOf("m")?t*=60:-1!==e.indexOf("h")?t*=3600:-1!==e.indexOf("d")?t*=86400:-1!==e.indexOf("w")&&(t*=604800),t}var br=6e4*(new Date).getTimezoneOffset(),_r=function(e){!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}}),t&&nr(e,t)}(f,e);var t,n,r,o,i,a,l,c,u,d,p=rr(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),sr(ir(t=p.call(this,e)),"remindersLimit",5),sr(ir(t),"keysAllowed",[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105,59,111,191,186]),sr(ir(t),"keysControl",[9,27,35,36,37,38,39,40]),t.skipBlur=!1,t.skipCloseAfterBlur=!1,t.touched=!1,t.nodes={},t.reminderNodes={},t.wrap=(0,s.Vf)(),t.stringNode=null,t.newReminderId=null,t.panelDelay=null,t.state={oneHour:36e5,oneDay:864e5,ampm:"am",timeField:"",dateField:"",timeZoneSelected:f.getTimeZoneSelected(e.editor),reminderMenus:{},showPanel:!1,timeZoneReal:br},t}return t=f,n=[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.editor,r=t.active,o=t.firstWeekDay,i=t.setReturnDateString,a=t.setReturnDateComponent;this.setState((function(){return{firstWeekDay:void 0!==o?o:yr(n)}}),(function(){i&&i(e.dateString.bind(e)),a&&a(e.dateStringComponent.bind(e)),r&&e.setFocus("date",150),e.setTimeZone(),e.calculateGrid(),e.fillFields(),e.presetValue()}))}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.props.value!=e.value&&(this.calculateGrid(),this.fillFields()),this.props.firstWeekDay!=e.firstWeekDay&&this.setState((function(){return{firstWeekDay:n.props.firstWeekDay}})),this.props.timeZoneGMT!=e.timeZoneGMT&&this.setTimeZone(!0),this.props.showTime!=e.showTime&&(this.props.showTime||this.writeValue(Yn(this.props.value))),this.state.firstWeekDay!=t.firstWeekDay&&this.calculateGrid()}},{key:"onComponentResize",value:function(){var e=this.props.onResize;e&&setTimeout((function(){e()}),0)}},{key:"onInputRef",value:function(e,t){e&&t&&(this.nodes[e]=t)}},{key:"onStringRef",value:function(e){e&&(this.stringNode=e)}},{key:"onWrapMouseUp",value:function(){this.skipCloseAfterBlur=!1}},{key:"onWrapMouseDown",value:function(e){this.skipCloseAfterBlur=!0,"INPUT"!=e.target.tagName&&this.setHiddenFocus(),this.closeReminderMenu(),this.handlePanel(!1)}},{key:"setTimeZone",value:function(e){var t=this,n=this.props,r=n.value,o=n.timeZoneGMT;n.showTime,this.setState((function(n){var i=n.timeZoneReal,a=n.timeZoneSelected,s=f.getTimeZone({timeZoneReal:i,timeZoneSelected:a,timeZoneGMT:o});if(e&&r){var l=s-a;t.writeValue(r+l)}return{timeZoneSelected:s}}),(function(){t.calculateGrid()}))}},{key:"nextField",value:function(e){var t=this.props,n=t.showTime,r=t.wantsToClose;this.skipBlur=!0,this.skipCloseAfterBlur=!0,"date"===e&&n?this.setFocus("time",100):this.blurInput(e),("time"===e||"date"===e&&!n)&&r&&r()}},{key:"setFocus",value:(d=er(regeneratorRuntime.mark((function e(t,n){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fn(n);case 2:if(r=this.props.showTime,"last"===t&&(t=r?"time":"date"),!this.nodes[t]){e.next=12;break}if((o=this.nodes[t]).focus(),!o.setSelectionRange||!o.value){e.next=12;break}return i=2*o.value.length,e.next=11,fn(1);case 11:o.setSelectionRange(i,i);case 12:case"end":return e.stop()}}),e,this)}))),function(e,t){return d.apply(this,arguments)})},{key:"setHiddenFocus",value:(u=er(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!parseInt(t)){e.next=3;break}return e.next=3,fn(t);case 3:(n=this.nodes.hidden)&&n.focus();case 5:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"blurInput",value:function(e){this.nodes[e]&&this.nodes[e].blur()}},{key:"onBlur",value:function(e,t){var n=this.props,r=n.active;n.listenBlur&&(this.skipBlur?this.skipBlur=!1:r&&this.touched&&this.setFieldsDate(e),this.closeAfterBlur())}},{key:"onInputTouch",value:function(e,t){t.stopPropagation(),this.skipCloseAfterBlur=!0,this.touched=!0}},{key:"closeAfterBlur",value:(c=er(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fn(1);case 2:this.skipCloseAfterBlur&&(this.skipCloseAfterBlur=!1);case 3:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"close",value:function(e){var t=this.props.wantsToClose;t&&t(e)}},{key:"setGrid",value:function(e){var t=this.state,n=t.oneDay,r=t.firstMonthDayTime,o=t.lastMonthDayTime,i=r;"left"==e?i=r-n:"right"==e&&(i=o+n),this.calculateGrid(i)}},{key:"calculateGrid",value:function(e){var t=this,n=this.props.value;this.setState((function(r){var o=r.oneHour,i=r.oneDay,a=r.firstWeekDay,s=(r.timeZoneSelected,r.timeZoneReal,new Date),l=e||n?new Date(e||n):new Date,c=new Date(s.getFullYear(),s.getMonth(),s.getDate()),u=l.getFullYear(),d=l.getMonth(),p=new Date(u,d,1),f=new Date(u,d+1,1),h=new Date(f.getTime()-i-t.timeShift),m=Math.ceil((f.getTime()-p.getTime()-o)/i),g=p.getDay()-a;g<0&&(g=6);var y=new Date(u,d,1-g),v=6-h.getDay()+a;v>6&&(v=0);var b=new Date(h.getTime()+i*v),_=1+(b.getTime()-y.getTime())/i;return{now:s,nowTime:s.getTime()-t.timeShift,today:c,todayTime:c.getTime()-t.timeShift,firstMonthDay:p,firstMonthDayTime:p.getTime(),lastMonthDay:h,lastMonthDayTime:h.getTime(),numOfDays:m,firstGridDay:y,lastGridDay:b,gridDays:_}})),this.onComponentResize()}},{key:"dateString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.state,n=t.oneDay,r=t.timeZoneReal,o=t.timeZoneSelected;return f.dateString(this.props,{oneDay:n,timeZoneReal:r,timeZoneSelected:o,value:e.value,showTime:e.showTime,timeShift:this.timeShift})}},{key:"dateByTemplate",value:function(e,t){return f.dateByTemplate(e,t,this.props.editor)}},{key:"presetValue",value:(l=er(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this.props.value)||!isNaN(parseInt(t))){e.next=6;break}if("custom"===t){e.next=5;break}return e.next=5,fn(0);case 5:this.setDate(t,!1);case 6:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"clearEmptyDate",value:function(){var e=this.props.value;e&&!isNaN(parseInt(e))||this.clearDate()}},{key:"clearDate",value:function(){var e=this.props,t=e.mode,n=e.reminders,r=e.anchorNode,o=e.dateId,i=this.props.editor.plugins.reminderManager;if(Object.keys(n||{}).length){if("inline"===t){var a=r.__blot.blot;i.deleteReminder(a.getDateId(),{reminders:n})}"table"===t&&o&&i.deleteReminder(o,{reminders:n})}this.setDate(null,!0),"inline"===t&&this.close()}},{key:"setDate",value:function(e,t){"now"===e&&this.changeOption("showTime",!0);var n=this.props.showTime,r=this.state,o=r.oneDay,i=r.oneHour,a=r.todayTime,s=r.nowTime,l=r.timeZoneSelected;t&&this.setFocus("date",0);var c=e;if("custom"===e&&(e=""),e){if(isNaN(parseInt(e)))"now"===e||"today"===e?e=a:"tomorrow"===e?e=a+o:"yesterday"===e&&(e=a-o);else{var u=l/i-new Date(e).getTimezoneOffset()/60;u&&(e+=u*i)}if(n){var d=this.parseTime();"now"!==c||0!==d.value||d.is12?e+=d.value:e=s}}this.writeValue(e)}},{key:"setTimeIfNecessary",value:function(e){var t=this.props.value,n=this.state,r=n.oneDay,o=n.timeZoneSelected;if(t){var i=this.newDate(t,{correctEmptyTimeZone:!0}),a=this.getPiecesFromTime(i.getTime()%r),s=this.newDate(!1,{correctEmptyTimeZone:!0});a.zeroHours&&(parseInt(e)||(e=s.getTime()%r-o),this.setDate(t+e))}}},{key:"writeValue",value:function(e){var t=this.props.setValue;t&&t(e)}},{key:"setFieldsDate",value:function(e){var t=this.state.timeZoneSelected,n={},r=this.nodes.date.value,o=this.newDate(!1,{correctEmptyTimeZone:!0});if(r){var i=this.parseDate(r);n.yyyy=parseInt(i.yyyy)||o.getFullYear(),n.mm=(parseInt(i.mm)||1)-1,n.dd=parseInt(i.dd)||1}else n.yyyy=o.getFullYear(),n.mm=o.getMonth(),n.dd=o.getDate();var a=Date.UTC(n.yyyy,n.mm,n.dd)+t;this.setDate(a)}},{key:"setAmPm",value:function(e){var t=this;this.setState((function(t){var n=t.ampm;return"toggle"==e&&(e="am"==n?"pm":"am"),{ampm:e}}),(function(){t.setFieldsDate(),t.setFocus("time",50)}))}},{key:"fillFields",value:function(){var e=this,t=this.props,n=t.value,r=t.timeFormat;this.setState((function(t){var o,i=t.oneDay,a=(t.timeZoneReal,t.timeZoneSelected,e.newDate(n,{correctEmptyTimeZone:!0})),s=e.getPiecesFromTime(a.getTime()%i-(n?e.timeShift:0));return o=12==r?s.h12:s.h24,a=e.newDate(n,{correctTimeZone:!1}),{timeField:o,dateField:e.tmplDate({yyyy:a.getFullYear(),mm:f.zero(1+a.getMonth()),dd:f.zero(a.getDate())}),ampm:s.ampm}}))}},{key:"newDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.state,r=n.timeZoneReal,o=n.timeZoneSelected;return f.newDate(e,t,{timeZoneReal:r,timeZoneSelected:o})}},{key:"timeShift",get:function(){var e=this.state;return e.timeZoneReal-e.timeZoneSelected}},{key:"getMask",value:function(e){var t=this.props.type;if("time"===e)return"12:00";if("date"===e){if(t&&hr[t]&&-1===hr[t].indexOf(" "))return hr[t];var n=new Date(1e10),r=n.toLocaleDateString([],{year:"numeric",day:"2-digit",month:"2-digit"});for(var o in hr)if(this.dateByTemplate(n,hr[o])===r)return hr[o];return hr[Object.keys(hr)[0]]}return""}},{key:"inputKeyDown",value:function(e,t){var n=this.getMask(e);if(cr(t)||ur(t))t.preventDefault(),t.stopPropagation(),this.setFieldsDate(e),this.nextField(e);else if(dr(t))this.clearEmptyDate();else if(pr(t)||fr(t));else if(-1!==this.keysAllowed.indexOf(t.keyCode)){this.touched=!0;var r=this.nodes[e];r.value.length>=n.length&&r.selectionStart===r.selectionEnd&&(t.preventDefault(),t.stopPropagation())}else-1===this.keysControl.indexOf(t.keyCode)&&(t.preventDefault(),t.stopPropagation())}},{key:"inputKeyUp",value:function(e,t){pr(t)||fr(t)||this.keysAllowed.indexOf(t.keyCode)}},{key:"parseDate",value:function(e){var t=[],n={},r=this.getMask("date").split("/");if(-1!==e.indexOf("/"))t=e.split("/");else{var o,i=0,a=e.replace(/[^0-9]/g,""),s=Qn(r);try{for(s.s();!(o=s.n()).done;){var l=o.value.length,c=a.slice(i,i+l);t.push(c),i+=l}}catch(e){s.e(e)}finally{s.f()}}for(var u in r){var d=r[u],p=t[u]||("yyyy"==d?2e3:1),h=parseInt(p);h&&("mm"==d?h>12&&(p="12"):"dd"==d?h>31&&(p="31"):"yyyy"==d&&(h<30?p="20"+f.zero(h):h<100?p="19"+f.zero(h):h<1e3?p="1900":h>9999&&(p="9999"))),n[d]=p}return n.result=this.tmplDate(n),n}},{key:"tmplDate",value:function(e){var t=String(this.getMask("date"));for(var n in e){var r=e[n];t=t.replace(n,r)}return t=t.replace(/(\/|\.)+$/g,"")}},{key:"parseTime",value:function(e){var t=this.props.timeFormat,n=this.state.ampm,r=[];if(e||(e=this.nodes&&this.nodes.time&&this.nodes.time.value?this.nodes.time.value:0),-1!==String(e).indexOf(":"))r=String(e).split(":");else{var o=String(e).replace(/[^0-9]/g,"");o.length>=4?(r[0]=o.slice(0,2),r[1]=o.slice(2,4)):(r[0]=o.slice(0,2),parseInt(r[0])>23?(r[0]=o.slice(0,1),r[1]=o.slice(1,3)):r[1]=o.slice(2,3))}!r[0]||isNaN(parseInt(r[0]))?r[0]=0:parseInt(r[0])>24&&(r[0]=24),!r[1]||isNaN(parseInt(r[1]))?r[1]=0:parseInt(r[1])>59&&(r[1]=59);var i="".concat(r[0],":").concat(r[1]);if(12===t&&r[0]<=12&&(i+=" "+n.toUpperCase()),0===e&&12===t){var a=(new Date).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});i=a,r=a.split(" ")[0].split(":")}var s={str:i,hours:f.zero(r[0]),mins:f.zero(r[1]),value:this.getTimeFromString(i),is12:12===t},l=this.getPiecesFromTime(s.value);return s=$n($n({},s),l)}},{key:"getTimeFromString",value:function(e){var t=this.state.oneDay;"object"==lr(e)&&(e=(e[0]||0)+":"+(e[1]||0));var n=new Date("2000/01/01"),r=new Date("".concat("2000/01/01"," ").concat(e))-n;return isNaN(r)||r<0?r=0:r>=t&&(r=t-1),r}},{key:"getPiecesFromTime",value:function(e){var t=this.state.timeZoneSelected;return f.getPiecesFromTime(e,{timeZoneSelected:t})}},{key:"processToDeleteReminders",value:(a=er(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,l,c,u,d,p=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(c in t=[],n=this.props,r=n.reminders,o=n.editor,i=o.plugins,a=i.i18n,l=i.popupManager,r)(u=r[c].seconds)>0&&u<86400&&t.push(c);if(!t.length){e.next=9;break}return e.next=7,new Promise((function(e){d=(0,s.h)(Gn.Z,{onCancel:function(){e(!0)},onConfirm:function(){p.props.removeReminders(t),e(!1)},title:a.get("calendar.ui.reminder.push_name"),message:a.get("calendar.ui.reminder.remove_confirm_message"),confirmText:a.get("calendar.ui.reminder.remove_confirm_text"),cancelText:a.get("calendar.ui.reminder.remove_cancel_text"),editor:o}),l.dialog(d)}));case 7:d=null,l.dialog(null);case 9:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"changeOption",value:(i=er(regeneratorRuntime.mark((function e(t,n){var r,o,i,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=a.length>2&&void 0!==a[2]?a[2]:{},o=this.props.onChangeOption,"showTime"!==t){e.next=9;break}if(!n){e.next=7;break}this.setTimeIfNecessary(),e.next=9;break;case 7:return e.next=9,this.processToDeleteReminders();case 9:o&&((i={})[t]=n,o(i)),"showTime"!=t||r.noFocus||this.setFocus(n?"time":"date",10);case 11:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"onReminderRef",value:function(e,t){t&&(this.reminderNodes[e]=t)}},{key:"onChangeReminder",value:function(e,t,n){var r=this.props,o=r.reminders,i=void 0===o?{}:o,a=r.setReminder,s=r.showTime;this.state.oneHour,e===this.newReminderId&&(this.newReminderId=null),"custom"===t?n||(n=i[e]&&i[e].text?i[e].text:s?"6h":"1d"):n=t;var l=vr(n);a&&a(e,{value:t,text:n,seconds:l})}},{key:"onReminderMenuButtonClick",value:(o=er(regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.props.value,r=this.state.reminderMenus,n||this.setDate("today",!1),o=!r[t],this.closeReminderMenu(),!o){e.next=10;break}return e.next=8,fn(50);case 8:r[t]=o,this.setState((function(){return{reminderMenus:r}}));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"closeReminderMenu",value:function(){var e=this;this.setState((function(t){var n=t.reminderMenus;for(var r in n)n[r]=!1;return e.setFocus("last",0),{reminderMenus:n}}))}},{key:"newReminder",get:function(){return this.newReminderId||(this.newReminderId=me()),this.newReminderId}},{key:"reminderText",value:function(e){var t,n=this.props.editor.plugins.i18n;if(e)if("custom"!==e.value)t=n.get("calendar.ui.reminder.value.".concat(String(e.value)));else{var r=n.get("calendar.ui.reminder.before_period"),o=n.get("calendar.ui.reminder.after_period"),i=e.text||"",a=i.replace(/\d+/,""),s=parseInt(i)||0;t="",r&&(t+=r+" "),t+=String(s),t+=" "+n.get("calendar.ui.reminder.period.".concat(a),null,s),o&&(t+=" "+o)}else t=n.get("calendar.ui.reminder.value.none");return t}},{key:"reminderInfo",value:function(e){var t=this.props,n=t.value,r=t.reminderTimeToString;if(!e)return"";var o=Date.now(),i=n-1e3*e.seconds,a=this.dateString({value:i,showTime:!0});return r((i-o)/1e3)+" / "+a}},{key:"handlePanel",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e?this.panelDelay=setTimeout((function(){t.setState((function(){return{showPanel:!0}}))}),n.delay||0):(clearTimeout(this.panelDelay),this.setState((function(){return{showPanel:!1}})))}},{key:"dateStringComponent",value:function(){var e,t,n=this,r=this.props,o=r.editor,i=r.reminders,a=void 0===i?{}:i,l=r.enableReminders,c=this.state.showPanel,u=o.plugins.i18n,d=Object.keys(a);if(l&&d.length&&(e=(0,s.h)("span",{className:"input-date-bell",onMouseEnter:this.handlePanel.bind(this,!0,{delay:1e3}),onMouseLeave:this.handlePanel.bind(this,!1)},(0,s.h)(ct.YK1,null)),c)){var p=d.map((function(e,t){var r=a[e]||null;if(!r)return"";var o=u.get("calendar.ui.reminder.panel_name");t>0&&(o+=" ".concat(t+1));var i=n.reminderInfo(r);return(0,s.h)("span",{className:"reminder-item"},(0,s.h)(ct.YK1,null),(0,s.h)("span",null,o,": ",i))}));t=(0,s.h)(At.Z,{key:"reminder-panel",closeOnEsc:!0,addClassName:"reminder-panel",anchorNode:this.stringNode,anchorOptions:{placement:"top-start",priority:["top"],positionFixed:!0,boundariesElement:o.getScrollingContainer()}},(0,s.h)("span",{className:"reminder-container"},p))}return(0,s.h)("span",{className:"input-date-string",ref:this.onStringRef.bind(this)},(0,s.h)("span",{className:"input-date-text"},this.dateString()),e,t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.mode,o=n.editor,i=n.active,a=n.value,l=n.reminders,c=void 0===l?{}:l,u=n.showTime,d=n.timeFormat,p=n.enableReminders,f=this.state,h=f.oneDay,m=f.firstWeekDay,g=(f.timeZoneReal,f.timeZoneSelected,f.reminderMenus),y=(f.showPanel,f.todayTime),v=o.plugins.i18n,b="",_=Object.keys(c);if(i&&this.state.firstGridDay){var w,C,S=Array.apply(null,{length:7}).map((function(e,t){var n=t+m;return 7==n&&(n=0),(0,s.h)("span",{className:"grid-item grid-week-day"},v.get("calendar.days.short."+n))})),E=Array.apply(null,{length:this.state.gridDays}).map((function(e,n){var r=new Date(t.state.firstGridDay.getFullYear(),t.state.firstGridDay.getMonth(),t.state.firstGridDay.getDate()+n),o=r.getTime()-t.timeShift,i=!1,l="grid-item grid-day";(o<t.state.firstMonthDayTime||(o-t.state.lastMonthDayTime)/36e5>=24)&&(l+=" other-month-day"),o==t.state.todayTime&&(l+=" today"),a&&o<=a&&h+o>a&&(l+=" selected",i=!0);var c=r.getDate();return(0,s.h)("span",{className:l,onClick:i?t.close.bind(t):t.setDate.bind(t,o,!0)},c)})),x=[],k=[],O="",T=(0,s.h)("input",{type:"text",ref:this.onInputRef.bind(this,"time"),className:"calendar-input calendar-input-time",onBlur:this.onBlur.bind(this,"time"),onMouseDown:this.onInputTouch.bind(this,"time"),onKeyUp:this.inputKeyUp.bind(this,"time"),onKeyDown:this.inputKeyDown.bind(this,"time"),placeholder:this.getMask("time"),value:this.state.timeField,style:{display:u?"inline-block":"none"}});u&&"12"==d&&(O=(0,s.h)("span",{className:"ampm-container"},(0,s.h)("span",{className:"ampm-toggle",onClick:this.setAmPm.bind(this,"toggle")},v.get("calendar.ui.".concat(this.state.ampm))))),k.push((0,s.h)("div",{className:"calendar-footer-line"},(0,s.h)("span",{className:"footer-left bold"},v.get("calendar.ui.date")),(0,s.h)("span",{className:"footer-main align-right"},(0,s.h)("input",{type:"text",ref:this.onInputRef.bind(this,"date"),className:"calendar-input calendar-input-date",onBlur:this.onBlur.bind(this,"date"),onMouseDown:this.onInputTouch.bind(this,"date"),onKeyUp:this.inputKeyUp.bind(this,"date"),onKeyDown:this.inputKeyDown.bind(this,"date"),placeholder:this.getMask("date"),value:this.state.dateField}),T,O,(0,s.h)("input",{type:"text",className:"input-hidden",ref:this.onInputRef.bind(this,"hidden")}))));var A=Date.now(),P=(a-A)/1e3;if(p){var R=!0;_.length<this.remindersLimit&&_.push(this.newReminder),C=_.map((function(e,n){var r,i=c[e]||null;if(!R&&!i)return"";R=!!i;var l=v.get("calendar.ui.reminder.name");n>0&&(l+=" ".concat(n+1));var d=t.reminderText(i),p="option-reminder-name";return i||(p+=" grey"),g[e]&&(r=(0,s.h)(qn,{editor:o,reminder:i,value:a,shift:P,showTime:u,todayTime:y,anchorNode:t.reminderNodes[e],anchorOptions:{priority:["bottom"],offset:"5px, 17px",placement:"right-end",boundariesElement:o.getScrollingContainer()},onChange:t.onChangeReminder.bind(t,e),wantsToClose:t.closeReminderMenu.bind(t,e),remindItemDependOnTime:!1})),(0,s.h)("div",{className:"footer-option"},(0,s.h)("div",{className:"option-left"},l),(0,s.h)("div",{className:"option-right pointer",onClick:t.onReminderMenuButtonClick.bind(t,e)},(0,s.h)("span",{className:"option-reminder"},(0,s.h)("span",{className:p,ref:t.onReminderRef.bind(t,e)},d)),(0,s.h)(ct.BDo,null),r))})),w=(0,s.h)("div",{className:"footer-scroll"},C)}b=(0,s.h)("div",{className:"calendar-container"},x.length?(0,s.h)("div",{className:"calendar-header"},x):"",(0,s.h)("div",{className:"calendar-body"},(0,s.h)("div",{className:"month-header"},(0,s.h)("span",{className:"arrow arrow-left",onMouseDown:this.setGrid.bind(this,"left")},(0,s.h)(ct.D6v,null)),(0,s.h)("span",{className:"month-text"},v.get("calendar.months."+this.state.firstMonthDay.getMonth())," ",this.state.firstMonthDay.getFullYear()),(0,s.h)("span",{className:"arrow arrow-right",onMouseDown:this.setGrid.bind(this,"right")},(0,s.h)(ct.Ec8,null))),(0,s.h)("div",{className:"weeks-grid"},(0,s.h)("div",{className:"grid-seven grid-week"},S),(0,s.h)("div",{className:"grid-seven grid-days"},E))),(0,s.h)("div",{className:"calendar-footer"},k,(0,s.h)("div",{className:"footer-options"},(0,s.h)("div",{className:"footer-option"},(0,s.h)("div",{className:"option-left"},v.get("calendar.ui.show_time")),(0,s.h)("div",{className:"option-right"},(0,s.h)(wn,{mode:r,status:u,listenUpdates:!0,onChange:this.changeOption.bind(this,"showTime")}))),w,(0,s.h)("div",{className:"footer-option"},(0,s.h)("div",{className:"option-left"},(0,s.h)("span",{className:"footer-button",onClick:this.clearDate.bind(this)},v.get("calendar.ui.".concat(r,".clear"))))))))}return e=i?b:this.dateStringComponent(),(0,s.h)("span",{ref:this.wrap,onMouseUp:this.onWrapMouseUp.bind(this),onMouseDown:this.onWrapMouseDown.bind(this),className:"input-date "+(i?"input-date-active ":"")+(this.props.addClassName?this.props.addClassName:"")},e)}}],r=[{key:"getTimeZoneSelected",value:function(e){var t=-1;return e&&e.blotsConfig.date&&e.blotsConfig.date.hasOwnProperty("timezone")&&(t=6e4*e.blotsConfig.date.timezone),t}},{key:"getTimeZone",value:function(e){var t=e.timeZoneSelected,n=e.timeZoneReal,r=e.timeZoneGMT,o=-1!==t?t:n;return void 0!==r&&r&&(o=0),o}},{key:"zero",value:function(e){var t="0"+String(e);return t=t.slice(-2)}},{key:"dateString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.editor,r=e.value,o=e.showTime,i=e.timeFormat,a=e.dateFormat,s=t.oneDay,l=t.timeZoneReal,c=t.timeZoneSelected,u=t.timeShift,d="",p=t.value||r;if(p&&!isNaN(p)){var h=f.newDate(p,{correctTimeZone:!0},{timeZoneReal:l,timeZoneSelected:c});if(a&&hr[a]){var m=String(hr[a]);d=f.dateByTemplate(h,m,n)}else d=h.toLocaleDateString();if(o||t.showTime){var g=h.getTime()%s-u,y=f.getPiecesFromTime(g,{timeZoneSelected:c});d+=12==i?" "+y.h12full:" "+y.h24}}return d}},{key:"dateByTemplate",value:function(e,t,n){var r=n.plugins.i18n,o=String(t);return o=(o=(o=-1!==o.indexOf("month")?o.replace("month",r.get("calendar.months."+e.getMonth())):o.replace("mm",f.zero(e.getMonth()+1))).replace("yyyy",e.getFullYear())).replace("dd",f.zero(e.getDate()))}},{key:"newDate",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.timeZoneReal,i=r.timeZoneSelected;return e?n.correctTimeZone&&(e+=f.getTimeShift({timeZoneReal:o,timeZoneSelected:i})):(t=n.correctEmptyTimeZone?f.getTimeShift({timeZoneReal:o,timeZoneSelected:i}):i,e=Date.now()-t),new Date(e)}},{key:"getTimeShift",value:function(e){var t=e.timeZoneReal,n=void 0===t?6e4*(new Date).getTimezoneOffset():t,r=e.timeZoneSelected;return n-(void 0===r?-1:r)}},{key:"getPiecesFromTime",value:function(e,t){var n=t.timeZoneSelected,r=new Date("2000/01/01").getTime()+(parseInt(e)||0);n&&(r-=n);var o=new Date(r).toLocaleTimeString("en-US",{hour12:!0}),i=new Date(r).toLocaleTimeString("en-US",{hour12:!1}),a=o.split(" ");1===a.length&&(a=o.split(" "));var s,l,c=a.pop(),u=!0;return(s=a[0].split(":")).pop(),s=s.join(":"),(l=i.split(":")).pop(),"00:00"!==(l=l.join(":"))&&"24:00"!==l&&(u=!1),s=s.split(":"),parseInt(s[0])?s[0].startsWith("0")&&(s[0]=s[0].substring(1)):s[0]="12",s=s.join(":"),{ampm:c.toLowerCase(),h12full:s+" "+c,h12:s,h24:l,zeroHours:u}}}],n&&tr(t.prototype,n),r&&tr(t,r),f}(s.wA);function wr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Sr(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Cr(e){return function(e){if(Array.isArray(e))return Er(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Sr(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 Sr(e,t){if(e){if("string"==typeof e)return Er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Er(e,t):void 0}}function Er(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xr(e){return(xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce((function(e,n){return e[n]=Or({mode:n},t),e}),{})}var Pr=Ar(["none"]),Rr={common:Object.assign({},Pr,Ar(["all","empty","fill","unique","empty_percent","fill_percent","unique_percent"])),checkbox:Object.assign({},Pr,Ar(["all","checked","unchecked","checked_percent","unchecked_percent"])),number:Object.assign({},Pr,Ar(["sum","average","min","max","median"])),date:Object.assign({},Pr,Ar(["min_date","max_date","range_days","range_month"])),collaborator:Object.assign({},Pr,Ar(["all","empty","fill","unique"])),rating:Object.assign({},Pr,Ar(["min","max","average"]),Ar(["filter_rating"],{filter:"5",max:10})),progress:Object.assign({},Pr,Ar(["min","max","average"]),Ar(["filter_progress"],{filter:">50",max:100})),attachment:Object.assign({},Pr,Ar(["all","empty","fill","filesize_min","filesize_max"]))},Ir={text:["contains","is","is not","contains not","empty","not empty"],number:["=","≠",">","<","≥","≤","empty","not empty"],currency:["=","≠",">","<","≥","≤","empty","not empty"],attachment:["filetype","empty","not empty"],checkbox:["is"],singleselect:["has any of","has none of","empty","not empty"],multiselect:["has any of","has none of","empty","not empty"],mention:["contains","is","is not","contains not","empty","not empty"],collaborator:["has any of","has none of","empty","not empty"],date:["is"],link:["contains","is","is not","contains not","empty","not empty"],rating:["=","≠",">","<","≥","≤"],progress:["=","≠",">","<","≥","≤"]},Mr={dollar:"$",euro:"€",yen:"¥",yuan:"¥",rouble:"₽",pound:"£",rupee:"₹",hryvnia:"₴",won:"₩",frank:"fr",real:"R$"},Nr={tableCellText:"text",tableCellNumber:"number",tableCellCurrency:"currency",tableCellAttachment:"attachment",tableCellCheckbox:"checkbox",tableCellSelect:"singleselect",tableCellMention:"mention",tableCellCollaborator:"collaborator",tableCellDate:"date",tableCellLink:"link",tableCellRating:"rating",tableCellProgress:"progress"},Dr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cellMap,n=e.colMap,r=[],o=null==t?void 0:t.get("selected");if(o){var i;"string"==typeof o&&"["===o[0]&&(o=JSON.parse(o));var a=null==n||null===(i=n.get)||void 0===i?void 0:i.call(n,"dbSelect");if("string"==typeof o&&"{"===o[0]&&(a=JSON.parse(a)),"object"===xr(a)&&"object"===xr(o))for(var s in o){var l,c=o[s];r.push(null===(l=a[c])||void 0===l?void 0:l.name)}}return r.join(", ")},jr=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.childMap,o=n.timestamp,i=void 0!==o&&o,a=n.withType,s=void 0!==a&&a,l={},c=null==r||null===(e=r.get("characters"))||void 0===e?void 0:e.toDelta(),u=null==c||null===(t=c[0])||void 0===t?void 0:t.insert;if("object"===xr(u))if(l.mention=u.date,u.date)for(var d in i&&(l.text=u.date.value),u.date)l["data-date-".concat(d)]=u.date[d];else if(u.mention)for(var p in l.mention=u.mention,l.text=u.mention.name,s&&(l.text=u.mention.type+" "+l.text),u.mention)l["data-mention-".concat(p)]=u.mention[p];return l},Lr={none:{summaries:Rr.common},text:{typeOrder:3,icon:ct.JpT,value:{key:"characters"},summaries:Rr.common,type:"tableCellText",props:{children:"children",align:"string"},filterConditions:Ir.text},number:{typeOrder:1,icon:ct.uJ$,type:"tableCellNumber",value:{key:"characters"},summaries:Rr.number,format:{type:"number",decimal_separator:"point"},limit:{minWidth:120},style:{align:"right"},submenu:[{type:"header",i18n:"table.menu.number_format.name"},{type:"radio",prop:"type",selectedIcon:!0,values:["number","commas","percent"],i18n:"table.menu.number_format.${value}",rightText:function(e,t){return"commas"===e?"1,000":"percent"===e?"100%":"100"}},{type:"header",i18n:"table.menu.decimal_format.name",hint:"table.menu.decimal_format.hint"},{type:"radio",prop:"decimal_separator",selectedIcon:!0,values:["point","comma"],i18n:"table.menu.decimal_format.${value}"},{type:"header",i18n:"table.menu.color_numbers.name"},{type:"checkbox",prop:"colorNumbers",selectedIcon:!0,i18n:"table.menu.color_numbers.enable"}],filterConditions:Ir.number},currency:{typeOrder:2,icon:ct.SCs,type:"tableCellCurrency",value:{key:"characters"},summaries:Rr.number,format:{type:"commas",stick:"before",currency:"dollar",decimal_separator:"point",otherCurrency:"",decimals:2},limit:{minWidth:120},style:{align:"right"},className:"currency-menu",submenu:[{type:"header",i18n:"table.menu.currency_format.name"},{type:"radio",prop:"currency",selectedIcon:!0,values:[].concat(Cr(Object.keys(Mr)),["other"]),i18n:"table.menu.currency_format.${value}",rightText:function(e){return Mr[e]||!1},rightInput:function(e){return"other"===e&&{prop:"otherCurrency",maxLength:5}}},{type:"header",i18n:"table.menu.currency_format.stick"},{type:"radio",prop:"stick",selectedIcon:!0,values:["before","after"],i18n:"table.menu.currency_format.${value}"},{type:"header",i18n:"table.menu.decimal_format.name",hint:"table.menu.decimal_format.hint"},{type:"radio",prop:"decimal_separator",selectedIcon:!0,values:["point","comma"],i18n:"table.menu.decimal_format.${value}"},{type:"header",i18n:"table.menu.color_numbers.name"},{type:"checkbox",prop:"colorNumbers",selectedIcon:!0,i18n:"table.menu.color_numbers.enable"}],filterConditions:Ir.currency},attachment:{typeOrder:13,icon:ct.eI7,type:"tableCellAttachment",value:{},summaries:Rr.attachment,limit:{minWidth:228},filterConditions:Ir.attachment},checkbox:{typeOrder:4,icon:ct.STX,summaries:Rr.checkbox,type:"tableCellCheckbox",value:{key:"checked",type:"boolean"},createForce:!0,getText:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cellMap,n="table.checkbox."+(null!=t&&t.get("checked")?"checked":"not_checked");return e.i18n?e.i18n.get(n):"i18n:"+n},limit:{minWidth:60},filterConditions:Ir.checkbox},singleselect:{typeOrder:6,icon:ct.Rd8,type:"tableCellSelect",value:{key:"selected",type:"array",single:!0},summaries:Rr.common,getText:Dr,filterConditions:Ir.singleselect},multiselect:{typeOrder:7,icon:ct.zLI,type:"tableCellSelect",value:{key:"selected",type:"array"},summaries:Rr.common,getText:Dr,filterConditions:Ir.multiselect},mention:{typeOrder:11,icon:ct.vGU,type:"tableCellMention",value:{key:"characters"},summaries:Rr.common,getText:function(e){var t;return(null===(t=jr(e))||void 0===t?void 0:t.text)||""},getData:jr,filterConditions:Ir.mention},collaborator:{typeOrder:12,icon:ct.UhQ,type:"tableCellCollaborator",value:{key:"users",type:"object"},summaries:Rr.collaborator,limit:{minWidth:192},getText:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cellMap,n=[],r=null==t?void 0:t.get("users");if(r&&("string"==typeof r&&"{"===r[0]&&(r=JSON.parse(r)),"object"===xr(r)))for(var o in r)n.push(r[o].name);return n.join(", ")},filterConditions:Ir.collaborator},date:{typeOrder:8,icon:ct.Yy4,type:"tableCellDate",value:{key:"timestamp",type:"number",default:void 0},summaries:Rr.date,format:Or({},gr),getText:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.cellMap,r=t.cellLink;return null!=r&&r.getText?r.getText():null!=n&&null!==(e=n.has)&&void 0!==e&&e.call(n,"timestamp")?String(n.get("timestamp")):""},limit:{minWidth:90},submenu:[{type:"header",i18n:"calendar.ui.date_format"},{type:"radio",prop:"type",selectedIcon:!0,i18n:"calendar.date_format.${value}",values:["default"].concat(Cr(Object.keys(hr)))},{type:"header",i18n:"calendar.ui.time_format"},{type:"checkbox",prop:"showTime",keepMenu:!0,selectedIcon:!0,i18n:"calendar.ui.show_time"},{type:"radio",prop:"timeFormat",selectedIcon:!0,i18n:"calendar.ui.time_${value}",values:[12,24],condition:function(e){return e.showTime}},{type:"header",i18n:"calendar.ui.first_week_day"},{type:"radio",prop:"firstWeekDay",selectedIcon:!0,i18n:"calendar.days.full.${value}",values:[0,1]},{type:"header",i18n:"calendar.ui.time_zone",hint:"calendar.ui.use_gmt_hint",condition:function(e){return e.showTime}},{type:"checkbox",prop:"timeZoneGMT",keepMenu:!0,selectedIcon:!0,i18n:"calendar.ui.use_gmt",condition:function(e){return e.showTime}}],filterConditions:Ir.date},link:{typeOrder:5,icon:ct.$nO,type:"tableCellLink",value:{key:"characters"},summaries:Rr.common,limit:{minWidth:140},filterConditions:Ir.link},rating:{typeOrder:9,icon:ct._rK,type:"tableCellRating",value:{key:"rating",type:"number",default:0,min:0,max:5},summaries:Rr.rating,createForce:!0,format:{type:"star",amount:5},limit:{minWidth:102},submenu:[{type:"radio",prop:"type",values:["star","flag","heart"],i18n:"table.menu.rating_format.${value}",selectedIcon:!1,textIcon:function(e,t){return cn.getIconSet(e)[t?"blue":"gray"]}},{type:"number",prop:"amount",i18n:"table.menu.rating_format.amount",min:1,max:10}],filterConditions:Ir.rating},progress:{typeOrder:10,icon:ct.qlW,type:"tableCellProgress",value:{key:"progress",type:"number",default:0,min:0,max:100},summaries:Rr.progress,createForce:!0,format:{type:"colored",default:0},limit:{minWidth:155},getText:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cellMap;return((null==t?void 0:t.get("progress"))||0)+"%"},submenu:[{type:"radio",prop:"type",values:["colored","simple"],i18n:"table.menu.progress_format.${value}",selectedIcon:!0,iconPosition:"right",textIcon:function(e){return"colored"===e?ct.puQ:ct.iLV}},{type:"number",prop:"default",i18n:"table.menu.progress_format.default_amount",min:0,max:100}],filterConditions:Ir.progress}};function Br(e){return e&&Lr[e]?Lr[e]:Lr.text}function Fr(e){return Nr[e]||"text"}function Ur(e){var t;if(null!=e&&e.has("type")){var n=Nr[e.get("type")];n&&(t=n)}return t||"text"}function Hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.cellType||Ur(e),o=null;if("checkbox"===r)o=null!=e&&e.get("checked")?1:0;else if("rating"===r)o=parseInt(null==e?void 0:e.get("rating"))||0;else if("progress"===r)o=parseInt(null==e?void 0:e.get("progress"))||0;else if("date"===r)o=parseInt(null==e?void 0:e.get("timestamp"))||0;else if("collaborator"===r){var i,a;o=(null===(i=Lr[r])||void 0===i||null===(a=i.getText)||void 0===a?void 0:a.call(i,{cellMap:e}))||null}else if("mention"===r){var s,l;o=(null===(s=Lr[r])||void 0===s||null===(l=s.getText)||void 0===l?void 0:l.call(s,{childMap:t,withType:!0,timestamp:!0}))||null}else if("singleselect"===r||"multiselect"===r){var c,u;o=(null===(c=Lr[r])||void 0===c||null===(u=c.getText)||void 0===u?void 0:u.call(c,{cellMap:e,colMap:n.colMap}))||""}else if("number"===r||"currency"===r){if(null!=t&&t.has("characters")){var d=String(t.get("characters")).trim().replace(/‚/g,"").replace(",",".");isNaN(d)||(o=parseFloat(d))}}else if(null!=t&&t.has("characters")){var p=String(t.get("characters")).trim();if(p){var f=parseFloat(p);o=isNaN(f)?p:f}}return{value:o,order:Lr[r].typeOrder}}function Vr(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o={},i=null===(t=Lr[e])||void 0===t?void 0:t.value;if(null!=i&&i.key&&"characters"!==i.key){var a,s=n.hasOwnProperty(i.key)?n[i.key]:n.hasOwnProperty("value")?n.value:"";if("number"===i.type)a=isNaN(s)||null===s?i.hasOwnProperty("default")?i.default:0:parseFloat(s),i.hasOwnProperty("min")&&(a=Math.max(i.min,a)),i.hasOwnProperty("max")&&(a=Math.min(i.max,a));else if("boolean"===i.type)a=!![!0,"true",1,"1"].includes(s);else if("object"===i.type)"string"==typeof(a=n.hasOwnProperty(i.key)?n[i.key]:{})&&"{"===a[0]&&(a=JSON.parse(a));else if("array"===i.type){var l;"string"==typeof(a=n.hasOwnProperty(i.key)?n[i.key]:[])&&(a="["===a[0]?JSON.parse(a):a.split(",")),i.single&&(null===(l=a)||void 0===l?void 0:l.length)>1&&(a=[a[0]])}else a=s;o[i.key]=a}else{var u,d,p,f,h;if(null!==(u=n.delta)&&void 0!==u&&u.length||null!==(d=n.delta)&&void 0!==d&&null!==(p=d.ops)&&void 0!==p&&p.length)h=new(c())(n.delta);else if(null!==(f=n.children)&&void 0!==f&&f.length){var m=n.children[0],g=r.getMap(m);if(null!=g&&g.has("characters")){var y=g.get("characters");h=new(c())(y.toDelta())}}else n.hasOwnProperty("text")&&n.text?h=(new(c())).insert(String(n.text)):n.hasOwnProperty("value")&&0!==n.value&&(h=(new(c())).insert(String(n.value)));h&&(o.delta=zr(e,h))}return o}function zr(e,t){var n,r;if("text"===e)n=null!=t&&null!==(r=t.ops)&&void 0!==r&&r.length&&"string"!=typeof t.ops[0].insert&&!t.ops[0].insert.mention?new(c()):t;else if("number"===e||"currency"===e){var o;if(null!=t&&null!==(o=t.ops)&&void 0!==o&&o.length){var i;n=new(c());var a=null===(i=t.ops[0].insert)||void 0===i?void 0:i.trim().replace(/ /g,"").replace(",",".").replace(/^[-]+/,"-"),s=parseFloat(a);isNaN(s)||n.insert(String(s)+"\n")}}else if("link"===e){var l,u,d,p;null!=t&&null!==(l=t.ops)&&void 0!==l&&null!==(u=l[0])&&void 0!==u&&null!==(d=u.attributes)&&void 0!==d&&null!==(p=d.hasOwnProperty)&&void 0!==p&&p.call(d,"link")&&(n=t)}else n=t;return n}function qr(e,t,n){var r,o,i,a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=s.colMap,u=s.cellLink,d=s.i18n,p=void 0!==d&&d,f=e||Ur(t),h=null===(r=Lr[e])||void 0===r?void 0:r.value,m=null===(o=Lr[e])||void 0===o?void 0:o.getText,g=null===(i=Lr[e])||void 0===i?void 0:i.getData,y={params:{cellType:f},text:"",value:""};if(null!=h&&h.key&&"characters"!==h.key)if(y.value=null==t||null===(a=t.get)||void 0===a?void 0:a.call(t,h.key),"number"===h.type){var v=parseFloat(y.value);y.value=isNaN(v)?h.hasOwnProperty("default")?h.default:0:v}else"boolean"===h.type?y.value=!![1,"1",!0,"true"].includes(y.value):"array"===h.type?y.value=y.value||[]:"object"===h.type&&(y.value="");if("function"==typeof g){var b=g({cellMap:t,childMap:n,colMap:l,cellLink:u});Object.assign(y,b)}else"function"==typeof m?y.text=m({cellMap:t,childMap:n,colMap:l,cellLink:u,i18n:p}):null!=n&&n.has("characters")?y.text=on(n.get("characters").toDelta()).replace(/\n$/,""):(y.value||[0,!1].includes(y.value))&&(y.text=String(y.value));if("characters"===(null==h?void 0:h.key)&&(y.value=y.text),t){var _,w=wr(M.cell.copy);try{for(w.s();!(_=w.n()).done;){var C=_.value;t.has(C)&&(y.params[C]=t.get(C))}}catch(e){w.e(e)}finally{w.f()}if(n){var S,E=wr(M.child.copy);try{for(E.s();!(S=E.n()).done;){var x=S.value;n.has(x)&&(y.params[x]=n.get(x))}}catch(e){E.e(e)}finally{E.f()}if(n.has("characters")){var k=n.get("characters").toDelta(),O=k.reduce((function(e,t){return e.insert(t.insert,t.attributes)}),new(c()));y.params.delta=Ne(O)}}}return y}var Gr=n(95174);function Wr(){return(Wr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return(Zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $r(e,t)}(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 $r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qr(){var e=Kr((0,T.eJ)(!0),2),t=e[0],n=e[1],r=Kr((0,T.eJ)(0),2),o=r[0],i=r[1],a=(0,T.qp)(LT),l=a.data,c=a.editable,u=a.useRefs;u.setUI("cell-menu-btn",{render:function(){c&&"object"===Zr(t)&&i(o+1)}.bind(this),setTarget:n.bind(this)}),(0,T.d4)((function(){var e,n,r;"object"===Zr(t)&&t&&(t.row===l.size.rows-1&&t.col===l.size.cols-1&&(e=!0,null===(n=u.links.ui["resizer-grip"])||void 0===n||null===(r=n.setHidden)||void 0===r||r.call(n,!0)));return function(){var t,n;e&&(null===(t=u.links.ui["resizer-grip"])||void 0===t||null===(n=t.setHidden)||void 0===n||n.call(t,!1))}}),[t]);var d=null;if(c&&t){var p,f=u.links,h=null===(p=f.cell[t.row])||void 0===p?void 0:p[t.col];if(h&&h.getNode()){var m=f.ui.table.getNode().getBoundingClientRect(),g=h.getNode().getBoundingClientRect(),y={top:g.top+g.height-m.top,left:g.left+g.width-m.left};d=(0,s.h)("div",{className:"menu-btn menu-btn-cell",onMouseDown:function(e){var n,r,o;null===(n=u.links.cell[t.row])||void 0===n||null===(r=n[t.col])||void 0===r||null===(o=r.onMenuButton)||void 0===o||o.call(r,e)},style:y},(0,s.h)(ct.aXx,null))}}return d}function Xr(){var e=(0,T.qp)(LT),t=e.editable,n=e.i18n,r=null;if(t){var o,i=(Yr(o={},Gr.qZ,n.get("block_menu.tooltip")),Yr(o,Gr.aP,1),o);r=(0,s.h)("div",Wr({},i,{className:"menu-btn menu-btn-row"}),(0,s.h)(ct.aXx,null))}return r}function Jr(){var e=(0,T.qp)(LT),t=e.editable,n=e.i18n,r=null;if(t){var o,i=(Yr(o={},Gr.qZ,n.get("block_menu.tooltip")),Yr(o,Gr.aP,1),o);r=(0,s.h)("div",Wr({},i,{className:"menu-btn menu-btn-col"}),(0,s.h)(ct.aXx,null))}return r}n(64765);function eo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return to(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return to(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function to(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function no(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ro=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.params=n,this.editor=r,this.selectedBlots=[],this.cache={},this.cache.blotRange={},this.restoreSelection=!1,this.isHandledByBrowser=!1,this.keyboard=!1,this.results=[]}var t,n,r;return t=e,(n=[{key:"addResult",value:function(e){this.results.push(e)}},{key:"dontRestoreSelection",value:function(){this.restoreSelection=!1}},{key:"handleByBrowser",value:function(){this.isHandledByBrowser=!0}},{key:"getBlotRange",value:function(e){return this.cache.blotRange[e.id]||(this.cache.blotRange[e.id]=this.editor.scroll.selection.getRange({offsetBlot:e})[0]),this.cache.blotRange[e.id]}},{key:"setBlotRange",value:function(e,t){this.cache.blotRange[e.id]=t}},{key:"setSelectedBlots",value:function(e){this.selectedBlots=e}},{key:"before",value:function(){}},{key:"after",value:function(){}},{key:"run",value:function(e){if(this.allowWithoutFocus||this.editor.hasFocus()){this.before(e);var t=this.exec(e);return this.after(e),t}}},{key:"exec",value:function(e){var t=e.processingBlots,n=e.abortOnFirstProcess;this.processingBlots=t;var r,o=!1,i=eo(t);try{for(i.s();!(r=i.n()).done&&(!0!==r.value.exec(this,this.params)||(o=!0,!n)););}catch(e){i.e(e)}finally{i.f()}return o}}])&&no(t.prototype,n),r&&no(t,r),e}();function oo(e){return(oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function io(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||so(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 ao(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=so(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function so(e,t){if(e){if("string"==typeof e)return lo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lo(e,t):void 0}}function lo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function co(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uo(e,t,n){return(uo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=go(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function po(e,t){return(po=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=go(e);if(t){var o=go(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ho(this,n)}}function ho(e,t){if(t&&("object"===oo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return mo(e)}function mo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function go(e){return(go=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yo=function(e){!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}}),t&&po(e,t)}(i,e);var t,n,r,o=fo(i);function i(e,t,n){var r,a,s,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||BackspaceAction.type,r=o.call(this,e,t,n),a=mo(r),l=null,(s="rangeBefore")in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,r.restoreSelection=!0,r}return t=i,r=[{key:"removeNewLinesFromDelta",value:function(e){return new(c())(e.map((function(e){return e.insert&&"string"==typeof e.insert&&(e.insert=e.insert.replace(/\n/g,"")),e})).filter((function(e){return""!==e.insert})))}},{key:"getBlotDelta",value:function(e,t){var n=(new(c())).retain(t.length()-1).concat(i.removeNewLinesFromDelta(e.delta())),r=t.delta(),o=r.compose(n);return r.diff(o)}}],(n=[{key:"isAllTextSelected",value:function(e){return this.getBlotRange(e).length===e.length()-1}},{key:"before",value:function(e){e.processingBlots,this.rangeBefore=this.editor.scroll.selection.getRange()[0]}},{key:"after",value:function(){if(this.restoreSelection&&this.rangeBefore){var e={index:this.rangeBefore.index,length:0};this.editor.scroll.selection.setRange(e)}else if(this._blurAfter)this.editor.scroll.selection.setRange(null);else if("Chrome"===this.editor.browser||"Firefox"===this.editor.browser){var t=new CustomEvent("selectionchange",{});document.dispatchEvent(t)}}},{key:"getNextTextLineBlot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(void 0===e)return null;var n=e.next;return n?(n.isContainer&&(n=n.children.head),n&&!n.isText||!n?null:n):1===t?null:this.getNextTextLineBlot(e.container,t+1)}},{key:"getNextBlot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(void 0===e)return null;var n=e.getWrapper?e.getWrapper().next:e.next;return n?(n.isContainer?n=n.children.head:n.getInnerTextLine&&(n=n.getInnerTextLine()),n||null):1===t?null:this.getNextBlot(e.container,t+1)}},{key:"getFirstBlotDelta",value:function(e,t){var n=e.constructor.isTextBlot?e.getTextBlot():e,r=t.constructor.isTextBlot?t.getTextBlot():t,o=this.getBlotRange(e),a=n.delta(),s=a.compose((new(c())).retain(o.index).delete(o.length));if(r.isText){var l=this.getBlotRange(t),u=r.delta(),d=(new(c())).retain(o.index).concat(u.compose((new(c())).delete(l.length)));d=i.removeNewLinesFromDelta(d),s=s.compose(d)}return s=a.diff(s)}},{key:"handleFirstTextLineDelete",value:function(e){var t=e.processingBlots,n=e.firstBlot,r=e.lastBlot,o=this.getFirstBlotDelta(n,r);(t=t.slice()).shift(),(n.constructor.isTextBlot?n.getTextBlot():n).applyForCharacters(o.ops);var i,a=ao(t);try{for(a.s();!(i=a.n()).done;)i.value.remove()}catch(e){a.e(e)}finally{a.f()}}},{key:"handleDeleteBeforeTextLine",value:function(e){var t=this.getNextBlot(e);if(t){if(e.isEmpty())return e.remove(),this.rangeBefore={index:t.offset(this.editor.scroll),length:0},!0;if((t.isText||t.constructor.isTextBlot)&&!t.isBlotLocked){var n=e.constructor.isTextBlot?e.getTextBlot():e,r=t.constructor.isTextBlot?t.getTextBlot():t,o=i.getBlotDelta(r,n);return n.applyForCharacters(o.ops),t.remove(),!0}}return!1}},{key:"deleteBlotsWithTextLineCheck",value:function(e){var t,n=e.pop(),r=ao(e);try{for(r.s();!(t=r.n()).done;)t.value.remove()}catch(e){r.e(e)}finally{r.f()}n.isText||n.constructor.isTextBlot?uo(go(i.prototype),"exec",this).call(this,{processingBlots:[n]}):n.remove()}},{key:"deleteEmbedBlot",value:function(e){var t=this.getNextBlot(e.getWrapper()),n=!1;if(t)t.image?(this.rangeBefore=null,this._blurAfter=!0):n=!0;else{var r=io(this.editor.scroll.selection.getRange(),1)[0];this.rangeBefore=r?{index:r.index-1,length:0}:{index:0,length:0}}return e.remove(),n&&(this.rangeBefore={index:t.offset(this.editor.scroll),length:0}),!0}},{key:"deleteBlots",value:function(e){var t,n=ao(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.container.removeChildById(r.id)}}catch(e){n.e(e)}finally{n.f()}}},{key:"tryMergeLists",value:function(e){if(!e||!e.isListItem)return!1;var t=e.parent;if(t.children.tail===e){var n=t.next;if(n&&"list"===n.constructor.blotName){var r=n.children.map((function(e){return e.id})),o=t.getChildIndex(e.id)+1;return this.editor.store.transaction((function(){var e,i=ao(r);try{for(i.s();!(e=i.n()).done;){var a=e.value;n.removeChildById(a),o=Math.min(o,t.containerChildren.length),t.containerChildren.insert(o,[a]),o++}}catch(e){i.e(e)}finally{i.f()}})),t.render(),!0}}return!1}},{key:"tryHandleEmptyTextLineBeforeEmbeddable",value:function(e){var t=e.getWrapper().next;return!(!t||!(t.isEmbeddable||t.getWrappedBlot&&t.getWrappedBlot().isEmbeddable)||(e.remove(),0))}},{key:"exec",value:function(e){var t=this,n=e.processingBlots,r=this.rangeBefore,o=(n=n.filter((function(e){return e.canExec(t)})).filter((function(e){var t=ie(e,(function(e){return e.isCollapsibleContainer}));return!t||!t.getSelectableBlot().props.selected})))[0],a=n[n.length-1],s=!0;if(1===n.length&&o.constructor.skipDeleteAction)s=!0;else if(r&&0===r.index&&r.length===this.editor.scroll.length()-1)this.rangeBefore=null,this.deleteBlots(n),setTimeout((function(){t.editor.scroll.selection.setRange({index:0,length:0})}));else if(n.length>1&&(o.isText||o.constructor.isTextBlot))this.handleFirstTextLineDelete({processingBlots:n,firstBlot:o,lastBlot:a}),s=!0;else if(1===n.length&&(o.isText||o.constructor.isTextBlot)&&this.getBlotRange(o).index===o.length()-1&&0===this.getBlotRange(o).length)(s=this.tryMergeLists(o))||(s=this.handleDeleteBeforeTextLine(o)),!s&&o.isEmpty()&&(s=this.tryHandleEmptyTextLineBeforeEmbeddable(o));else if(1===n.length&&o.isEmbeddable&&"table"!==o.constructor.blotName)s=this.deleteEmbedBlot(o);else{if(!(n.length>1))return uo(go(i.prototype),"exec",this).call(this,{processingBlots:n});this.deleteBlotsWithTextLineCheck(n),s=!0}return s}}])&&co(t.prototype,n),r&&co(t,r),i}(ro);yo.type="delete";var vo=n(94092),bo=n.n(vo);function _o(e){return(_o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Co(e,t,n){return(Co="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ko(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function So(e,t){return(So=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Eo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ko(e);if(t){var o=ko(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xo(this,n)}}function xo(e,t){if(t&&("object"===_o(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 ko(e){return(ko=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Oo=function(e){!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}}),t&&So(e,t)}(i,e);var t,n,r,o=Eo(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(e=o.call(this)).listeners={},e}return t=i,(n=[{key:"emit",value:function(){Co(ko(i.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,o=t.handler;(e.target===r||r.contains(e.target))&&o.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}])&&wo(t.prototype,n),r&&wo(t,r),i}(bo());n(29254);function To(e){return(To="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ro(e,t,n){return(Ro="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Do(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Io(e,t){return(Io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Do(e);if(t){var o=Do(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return No(this,n)}}function No(e,t){if(t&&("object"===To(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 Do(e){return(Do=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var jo=function(e){!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}}),t&&Io(e,t)}(i,e);var t,n,r,o=Mo(i);function i(){return Ao(this,i),o.apply(this,arguments)}return t=i,r=[{key:"compare",value:function(e,t){var n=i.order.indexOf(e),r=i.order.indexOf(t);return n>=0||r>=0?n-r:e===t?0:e<t?-1:1}}],(n=[{key:"formatAt",value:function(e,t,n,r){if(i.compare(this.statics.blotName,n)<0&&a().query(n,a().Scope.BLOT)){var o=this.isolate(e,t);r&&o.wrap(n,r)}else Ro(Do(i.prototype),"formatAt",this).call(this,e,t,n,r)}},{key:"optimize",value:function(e){if(Ro(Do(i.prototype),"optimize",this).call(this,e),this.parent instanceof i&&i.compare(this.statics.blotName,this.parent.statics.blotName)>0){var t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}},{key:"getTextBase",value:function(){return this.parent instanceof Gl?this.parent:this.parent.getTextBase()}}])&&Po(t.prototype,n),r&&Po(t,r),i}(a().Inline);jo.allowedChildren=[jo,a().Embed,U,Qt],jo.order=["inline","comment","italic","bold","underline","strikethrough","color","link","background","code","placeholder"];const Lo=jo;function Bo(e){return(Bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ho(e,t,n){return(Ho="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Go(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Vo(e,t){return(Vo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Go(e);if(t){var o=Go(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qo(this,n)}}function qo(e,t){if(t&&("object"===Bo(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 Go(e){return(Go=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Wo=function(e){!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}}),t&&Vo(e,t)}(i,e);var t,n,r,o=zo(i);function i(){return Fo(this,i),o.apply(this,arguments)}return t=i,r=[{key:"value",value:function(){}}],(n=[{key:"optimize",value:function(){(this.prev||this.next)&&this.remove()}},{key:"insertInto",value:function(e,t){0===e.children.length?Ho(Go(i.prototype),"insertInto",this).call(this,e,t):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}},{key:"toHTML",value:function(){return"<br/>"}}])&&Uo(t.prototype,n),r&&Uo(t,r),i}(a().Embed);Wo.blotName="break",Wo.tagName="BR";const Yo=Wo;function Zo(e){return(Zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ko(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $o(e,t,n){return($o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ei(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Qo(e,t){return(Qo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ei(e);if(t){var o=ei(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jo(this,n)}}function Jo(e,t){if(t&&("object"===Zo(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 ei(e){return(ei=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ti=function(e){!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}}),t&&Qo(e,t)}(i,e);var t,n,r,o=Xo(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n=o.call(this,e,t),"s"===t&&e.classList.add("separator"),n}return t=i,r=[{key:"value",value:function(e){return e.classList.contains("separator")?"s":"h"}},{key:"getOpText",value:function(e){return"\n"}}],(n=[{key:"length",value:function(){return this.domNode.classList.contains("separator")?1:0}},{key:"optimize",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=$o(ei(i.prototype),"optimize",this)).call.apply(e,[this].concat(n)),"h"===this.value().linebreak&&this.next&&this.remove()}}])&&Ko(t.prototype,n),r&&Ko(t,r),i}(a().Embed);ti.blotName="linebreak",ti.tagName="BR";const ni=ti;n(83714);var ri=n(12650);function oi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||di(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 ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(n),!0).forEach((function(t){si(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function si(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function li(e){return(li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ci(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=di(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ui(e){return function(e){if(Array.isArray(e))return pi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||di(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 di(e,t){if(e){if("string"==typeof e)return pi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pi(e,t):void 0}}function pi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fi(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function hi(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){fi(i,r,o,a,s,"next",e)}function s(e){fi(i,r,o,a,s,"throw",e)}a(void 0)}))}}function mi(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function gi(e){return yi.apply(this,arguments)}function yi(){return(yi=hi(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=_.length>1&&void 0!==_[1]?_[1]:{},r=_.length>2&&void 0!==_[2]?_[2]:"addLink",o=_.length>3&&void 0!==_[3]?_[3]:"editLink",i=t.scroll,(a=i.selection).focus(),s=a.getRange(),l=oi(s,1),(c=l[0])||(a.setRange(a.savedRange),c=a.getRange()[0]),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=function(e){return e.filter((function(e){return e instanceof Gl}))};e.length||(e=i.selectedBlocks);var a,s=e.filter((function(e){return!e.isBlotLocked})),l=o(s),u={},d=ci(l);try{for(d.s();!(a=d.n()).done;){var p=a.value;u[p.id]||(u[p.id]=i.selection.getRange({offsetBlot:p})[0])}}catch(e){d.e(e)}finally{d.f()}var f,h=null,m=ci(l);try{for(m.s();!(f=m.n()).done;){var g=f.value,y=g.getFormat(u[g.id].index,u[g.id].length).link;if(!y)break;if(!h&&y)h=y;else if(h&&y!==h){h=null;break}}}catch(e){m.e(e)}finally{m.f()}n=Object.assign({},n,{range:c,linkUrl:h,singleBlock:!1,execBlots:l,cache:{blotRange:u}}),t.plugins.popupManager[r](n)},!(i.selectedBlocks.length>1)){e.next=11;break}return u(),e.abrupt("return");case 11:if((d=i.selectedBlocks[0])instanceof YI&&(p=d.getEditing())&&(d=p.blot),d instanceof Gl){e.next=20;break}if(d.hasTextLine){e.next=18;break}return e.abrupt("return");case 18:(f=d.getChildrenForAction()).length>1?u(f):d=f[0];case 20:h=i.selection.getRange({offsetBlot:d})[0],(n=Object.assign({},n,{id:d.id,execBlots:[d],singleBlock:!0,range:c,blotRange:h,text:d.getText(h.index,h.length),formats:d.getFormat(h.index,0!==h.length?h.length:1)})).formats.link&&"addLink"===r?(m=d.descendant(s5.query("link"),n.blotRange.index),g=oi(m,1),y=g[0],t.plugins.popupManager[o](y)):("addButton"===r&&(v=n.text.match(/^[\s]{1,}/),b=v&&v[0].length||0,n.formats=d.getFormat(n.blotRange.index+b,1),n.singleBlock=!1),t.plugins.popupManager[r](n));case 23:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e||e instanceof s5.Block&&!(e instanceof Gl)?t:("function"==typeof e.formats&&(t=v()(t,e.formats())),e instanceof Gl||null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:vi(e.parent,t))}function bi(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}function _i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce((function(e,n){if(1===n.insert){var r=clone(n.attributes);return delete r.image,e.insert({image:n.attributes.image},r)}if(null==n.attributes||!0!==n.attributes.list&&!0!==n.attributes.bullet||((n=clone(n)).attributes.list?n.attributes.list="ordered":(n.attributes.list="bullet",delete n.attributes.bullet)),"string"==typeof n.insert){var o=n.insert;return o=t.trimNewLines?o.replace(/[\r\n]/g,""):o.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.insert(o,n.attributes)}return e.push(n)}),new(c()))}function wi(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new(c()),o=ci(e.ops);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(i.insert&&"string"==typeof i.insert)n.removeNewLines&&(i.insert=i.insert.replace(/\n/g,"")),r=r.insert(i.insert);else if(i.insert&&"s"===i.insert.linebreak)r=r.insert(i.insert);else if(i.insert&&i.insert.hasOwnProperty("progress"))r=r.insert(" "+i.insert.progress+"%");else if(i.insert&&i.insert.hasOwnProperty("dropdown-list")){var a=s5.query("dropdown-list"),s=a.getOpText(i.insert);r=r.insert(" "+s+" ")}}}catch(e){o.e(e)}finally{o.f()}return r}function Ci(e){return e.reduce((function(e,t){if("object"===li(t.insert)){var n=s5.query(Object.keys(t.insert)[0]);if(n&&n.onConvertBlotGetOp){var r=n.onConvertBlotGetOp(t);return e.push(r)}}return e.push(t)}),new(c()))}function Si(e){if(!e.ops.length)return e.ops.push({insert:"\n"}),e;var t=e.ops[e.ops.length-1];return"string"==typeof t.insert?/\n$/.test(t.insert)||(t.insert+="\n"):e.ops.push({insert:"\n"}),e}function Ei(e){return e.length?("string"!=typeof e[e.length-1].insert?e.push({insert:"\n"}):e[e.length-1].insert=e[e.length-1].insert.replace(/\s$/,"\n"),{ops:e}):{ops:[{insert:"\n"}]}}function xi(e){var t=[],n=!0;if(!e.ops.length)return e;var r,o=ci(e.ops);try{for(o.s();!(r=o.n()).done;){var i=r.value;if("string"==typeof(i=Object.assign({},i)).insert){if(n&&(i.insert=i.insert.replace(/^\s+/,"")),i.insert=i.insert.replace(/\s+/g," "),!i.insert.length)continue;n=!!/\s$/.test(i.insert)}else"object"===li(i.insert)&&i.insert.date&&(n=!1);t.push(i)}}catch(e){o.e(e)}finally{o.f()}return Ei(t)}function ki(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[],r="Windows"===(0,ri.tz)()||t;if(!e.ops.length||!r)return e;for(var o=0;o<e.ops.length;o++){var i=Object.assign({},e.ops[o]);("string"!=typeof i.insert||(0===o&&(i.insert=i.insert.replace(/^[\s]{1}/,"")),o===e.ops.length-1&&(i.insert=i.insert.replace(/[\s]{2}\n$/,"\n")),i.insert.length))&&n.push(i)}return Ei(n)}function Oi(e,t){e=e.toLowerCase();var n,r=ci(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(e.indexOf(o)>=0)return!0}}catch(e){r.e(e)}finally{r.f()}return!1}function Ti(e){return e.filter((function(e){return e.insert}))}function Ai(e){return(Ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ri(e,t,n){return(Ri="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Di(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Ii(e,t){return(Ii=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Di(e);if(t){var o=Di(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ni(this,n)}}function Ni(e,t){if(t&&("object"===Ai(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 Di(e){return(Di=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ji=function(e){!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}}),t&&Ii(e,t)}(i,e);var t,n,r,o=Mi(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,e)).selection=t,n.textNode=document.createTextNode(i.CONTENTS),n.domNode.appendChild(n.textNode),n._length=0,n.isSeparableByClickApplicable=!0,n}return t=i,r=[{key:"value",value:function(){}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Ri(Di(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.isCursorAttached=!0}},{key:"detach",value:function(){this.isCursorAttached=!1,null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,t){if(0!==this._length)return Ri(Di(i.prototype),"format",this).call(this,e,t);for(var n=this,r=0;null!=n&&n.statics.scope!==a().Scope.BLOCK_BLOT;)r+=n.offset(n.parent),n=n.parent;null!=n&&(this._length=i.CONTENTS.length,n.optimize(),n.formatAt(r,i.CONTENTS.length,e,t),this._length=0)}},{key:"index",value:function(e,t){return e===this.textNode?0:Ri(Di(i.prototype),"index",this).call(this,e,t)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){Ri(Di(i.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(null==this.parent)return null;for(var e=this.selection.getNativeRange();null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);var t,n=this.prev instanceof U?this.prev:null,r=n?n.length():0,o=this.next instanceof U?this.next:null,s=o?o.text:"",l=this.textNode,c=l.data.split(i.CONTENTS).join("");if(l.data=i.CONTENTS,n)t=n,(c||o)&&(n.insertAt(n.length(),c+s),o&&o.remove());else if(o)t=o,o.insertAt(0,c);else{var u=document.createTextNode(c);t=a().create(u),this.parent.insertBefore(t,this)}if(this.remove(),e){var d=function(e,t){return n&&e===n.domNode?t:e===l?r+t-1:o&&e===o.domNode?r+c.length+t:null},p=d(e.start.node,e.start.offset),f=d(e.end.node,e.end.offset);if(null!==p&&null!==f)return{startNode:t.domNode,startOffset:p,endNode:t.domNode,endOffset:f}}return null}},{key:"getFormat",value:function(){for(var e=[],t=this.parent;!t.map;)e.push(t),t=t.parent;var n=[e].map((function(e){if(0===e.length)return{};for(var t=vi(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null===n)return t;t=bi(vi(n),t)}return t}));return v().apply(v(),n)}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&this.selection.setNativeRange(r.startNode,r.startOffset,r.endNode,r.endOffset)}}},{key:"value",value:function(){return""}}])&&Pi(t.prototype,n),r&&Pi(t,r),i}(a().Embed);ji.blotName="cursor",ji.className="note-cursor",ji.tagName="span",ji.CONTENTS="\ufeff";const Li=ji;n(60086);function Bi(e){return(Bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fi(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ui(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ui(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zi(e,t){return(zi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yi(e);if(t){var o=Yi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gi(this,n)}}function Gi(e,t){if(t&&("object"===Bi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Wi(e)}function Wi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yi(e){return(Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ki=function(e){return function(e){!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}}),t&&zi(e,t)}(i,e);var t,n,r,o=qi(i);function i(){var e;Hi(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zi(Wi(e=o.call.apply(o,[this].concat(n))),"removeReminders",(function(t){var n=e.getItem("reminders"),r={};for(var o in n)t.includes(o)||(r[o]=n[o]);e.setItem("reminders",r)})),e.returnDateString=null,e}return t=i,(n=[{key:"getDateId",value:function(e){var t=this.getItem("dateId")||null;return!t&&e&&(t=this.createDateId()),t}},{key:"createDateId",value:function(){var e=me();return this.setItem("dateId",e),e}},{key:"setReturnDateString",value:function(e){e&&(this.returnDateString=e)}},{key:"setReturnDateComponent",value:function(e){e&&(this.returnDateComponent=e)}},{key:"setValue",value:function(e){e?this.setItem("timestamp",e):(this.removeItem("timestamp"),this.removeItem("reminders"),this.removeItem("alerts")),this.setAlertsPending(),this.render&&this.render()}},{key:"updateFormat",value:function(e){for(var t in e)this.setItem(t,e[t],{sub:"format"});this.render()}},{key:"getReminders",value:function(){return this.getItem("reminders")||{}}},{key:"setReminder",value:function(e,t){var n=this.getReminders();"none"===t||"none"===t.value?delete n[e]:n[e]=t,this.setReminders(n)}},{key:"setReminders",value:function(e){e?this.setItem("reminders",e):this.removeItem("reminders"),this.setAlertsPending()}},{key:"getAlerts",value:function(){var e=this.getItem("alerts");return e&&e.length?e:null}},{key:"setAlertsPending",value:function(){this.needSetAlerts=!0}},{key:"setAlerts",value:function(){var e=this.scroll.editor.plugins,t=e.reminderManager,n=e.i18n;this.needSetAlerts=!1;var r=this.getReminders(),o=Object.keys(r).reduce((function(e,t){var n=r[t].seconds;return-1===e.indexOf(n)&&e.push(n),e}),[]);if(o.length?o.sort((function(e,t){return e>t?1:-1})):o=null,o){this.setItem("alerts",o);var i,a=n.get("calendar.ui.reminder.push_name"),s=this.getDateId(!0),l=this.getValue(),c=this.getText(),u={},d=Fi(o);try{for(d.s();!(i=d.n()).done;){var p=i.value;u[p]=this.getAlertText(p)}}catch(e){d.e(e)}finally{d.f()}t.setReminder(s,{timestamp:l,alerts:o,date:c,title:a,bodies:u,reminders:r})}else this.deleteAlerts()}},{key:"deleteAlerts",value:function(){var e=this.scroll.editor.plugins.reminderManager,t=this.getDateId(!0);this.getAlerts()&&e.deleteReminder(t)}},{key:"getValue",value:function(){var e=this.getItem("timestamp");return parseInt(e)||null}},{key:"getAlertText",value:function(e){return this.reminderTimeToString?this.reminderTimeToString(e):"".concat(e,"s")}},{key:"getText",value:function(){return this.returnDateString?this.returnDateString():String(this.getValue())}},{key:"getComponent",value:function(){return this.returnDateComponent?this.returnDateComponent():(0,s.h)("span",null,this.getText())}},{key:"dateConfig",get:function(){return this.scroll.editor.blotsConfig.date||{}}},{key:"reminderTimeToString",value:function(e){var t,n=this.scroll.editor.plugins.i18n;if(e<0)t=n.get("calendar.ui.reminder.until.already_been");else if(0===e)t=n.get("calendar.ui.reminder.until.now");else if(e<=60)t=n.get("calendar.ui.reminder.until.less_minute");else{t=n.get("calendar.ui.reminder.until.in");var r=Math.floor(e/86400),o=Math.floor(e%86400/3600),i=Math.round(e%3600/60);r>0&&(t+=" "+r+n.get("calendar.ui.reminder.until.d")),(o>0||r>0&&i>0)&&(t+=" "+o+n.get("calendar.ui.reminder.until.h")),i>0&&(t+=" "+i+n.get("calendar.ui.reminder.until.m"))}return t}}])&&Vi(t.prototype,n),r&&Vi(t,r),i}(e)};var $i="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Qi=$i?"metaKey":"ctrlKey";(0,Rn.rs)("mod");function Xi(e){return e[Qi]}function Ji(e){return!(0!==e.button||$i&&e.ctrlKey)}function ea(e){return(ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ta(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ra(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oa(e,t){return(oa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ia(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ca(e);if(t){var o=ca(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return aa(this,n)}}function aa(e,t){if(t&&("object"===ea(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sa(e)}function sa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function la(e,t,n){return(la="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ca(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ca(e){return(ca=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ua(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var da="data-date",pa=["dateId","timestamp","reminders","alerts"],fa={"en-US":12,"en-GB":24},ha={"en-US":"mmddyyyy","en-GB":"ddmmyyyy"},ma=function(e){!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}}),t&&oa(e,t)}(i,e);var t,n,r,o=ia(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),ua(sa(t=o.call(this,e)),"onSelectionChange",(function(e,t,n){})),ua(sa(t),"onDateClick",(function(e){if(!t.active&&!t.isBlotLocked&&Ji(e)&&(e.preventDefault(),!t.isReadOnly)){var n={type:"date",dateId:t.getItem("dateId"),timestamp:t.getItem("timestamp"),showTime:t.getItem("format-showtime"),reminders:t.getItem("reminders")};t.scroll.editor.plugins.dateManager&&t.scroll.editor.plugins.dateManager.openDatePicker(n)?console.info("Use native date picker"):t.beginEdit()}})),ua(sa(t),"beginEdit",(function(){t.isReadOnly||t.active||(t.active=!0,t.range=t.scroll.selection.getRange()[0],t.render())})),ua(sa(t),"endEdit",(function(){t.active=!1,t.render(),t.needSetAlerts&&t.setAlerts(),t.parent&&t.parent.selectCell?t.parent.selectCell({focus:!0}):t.range&&t.range.index&&t.scroll.selection.setRange(t.range),t.getItem("timestamp")||t.removeDate()})),ua(sa(t),"removeDate",(function(){t.remove(),t.parent.emptyCell&&t.parent.emptyCell({focus:!0})})),t.range={},t.needCreateId=!0,t.needBeginEdit=!1,t.contentNode=document.createElement("span"),t.contentNode.setAttribute("contenteditable",!1),e.classList.add("date-content");var n,r=ta(pa);try{for(r.s();!(n=r.n()).done;){var a=n.value,s="".concat(da,"-").concat(a),l=t.domNode.getAttribute(s);e.setAttribute(s,l),"timestamp"===a&&"custom"===l&&(t.needBeginEdit=!0),"dateId"===a&&l&&(t.needCreateId=!1)}}catch(e){r.e(e)}finally{r.f()}for(var c in gr){var u="".concat(da,"-format-").concat(c);e.setAttribute(u,t.domNode.getAttribute(u))}return Array.from(t.domNode.childNodes).forEach((function(e){t.contentNode.appendChild(e)})),t.rightGuard=document.createTextNode("\ufeff"),t.domNode.appendChild(t.contentNode),t.domNode.appendChild(t.rightGuard),t.needSetAlerts=!1,t.active=!1,t}return t=i,r=[{key:"create",value:function(e){var t=la(ca(i),"create",this).call(this);t.classList.add("date-inline"),e.timestamp=e.timestamp||e.value;var n,r=ta(pa);try{for(r.s();!(n=r.n()).done;){var o=n.value;t.setAttribute("".concat(da,"-").concat(o),e[o]||"")}}catch(e){r.e(e)}finally{r.f()}for(var a in gr){var s=e.format&&e.format.hasOwnProperty(a)?e.format[a]:gr[a];t.setAttribute("".concat(da,"-format-").concat(a),s)}return t}},{key:"value",value:function(e){var t,n={format:{}},r=ta(pa);try{for(r.s();!(t=r.n()).done;){var o=t.value;n[o]=e.getAttribute("".concat(da,"-").concat(o))}}catch(e){r.e(e)}finally{r.f()}for(var i in gr){var a=e.getAttribute("".concat(da,"-format-").concat(i));-1!==["true","false"].indexOf(a)?a="true"===a:isNaN(parseInt(a))||(a=parseInt(a)),n.format[i]=a}return n}},{key:"getOpText",value:function(e,t){var n=e.date.timestamp;return t&&t.forEach&&t.forEach((function(t){t.getDateId&&t.getDateId()===e.date.dateId&&t.returnDateString&&(n=t.returnDateString())})),n}},{key:"getDateTimeFormat",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(null==e||null===(t=e.format)||void 0===t?void 0:t.timeFormat)||gr.timeFormat,i=(null==e||null===(n=e.format)||void 0===n?void 0:n.type)||"default";if(r.timeFormat){var a=parseInt(r.timeFormat);24!==a&&12!==a||(o=a)}else r.timeLocale&&(Object.keys(fa).includes(r.timeLocale)&&(o=fa[r.timeLocale]),"default"===i&&Object.keys(ha).includes(r.timeLocale)&&(i=ha[r.timeLocale]));return{timeFormat:o,dateFormat:i}}}],(n=[{key:"parentTable",get:function(){return!(!this.parent.getBlotName||"tableMention"!==this.parent.getBlotName())&&this.parent.parentTable}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=la(ca(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),!this.attached){this.attached=!0,this.scroll.emitter.on("selectionchange",this.onSelectionChange),this.contentNode.addEventListener("mousedown",this.onDateClick,!1),this.render(),this.needCreateId&&this.createDateId();var o=this.scroll.editor.plugins.undoManager;(o.isUndoing()||o.isRedoing()||window.customDateId===this.getItem("dateId"))&&this.setAlerts(),this.needBeginEdit&&(window.customDateId&&window.customDateId===this.getItem("dateId")?(this.needBeginEdit=!1,this.beginEdit()):this.removeDate()),window.customDateId&&delete window.customDateId}}},{key:"render",value:function(){var e,t,n=this.scroll.editor.plugins.reminderManager,r=this.value().date,o=r.timestamp||!1;o&&!isNaN(parseInt(o))&&(o=parseInt(o)),this.dateConfig.readOnly||this.scroll.editor.mode===this.scroll.editor.constructor.MODE_READONLY?this.domNode.classList.add("readonly"):this.domNode.classList.remove("readonly");var a=i.getDateTimeFormat(r,this.dateConfig),l=a.timeFormat,c=a.dateFormat,u=(0,s.h)(_r,{mode:"inline",editor:this.scroll.editor,active:this.active,anchorNode:this.domNode,scrollNode:this.scroll.domNode,enableReminders:!!n.options.enabled,type:"default",showTime:r.format.showTime,timeFormat:l,dateFormat:c,firstWeekDay:r.format.firstWeekDay,timeZoneGMT:r.format.timeZoneGMT,value:o,setValue:this.setValue.bind(this),reminders:this.getReminders(),setReminder:this.setReminder.bind(this),removeReminders:this.removeReminders,listenBlur:!0,reminderTimeToString:this.reminderTimeToString.bind(this),onChangeOption:this.updateFormat.bind(this),wantsToClose:this.endEdit.bind(this),setReturnDateString:this.setReturnDateString.bind(this),setReturnDateComponent:this.setReturnDateComponent.bind(this)});this.active?(t=(0,s.h)(Tt,null,(0,s.h)(At.Z,{addClassName:"date-input-popup",wantsToClose:this.endEdit.bind(this),anchorNode:this.contentNode,closeOnEsc:!0,anchorOptions:{placement:"top-start",offset:"0px, 8px",positionFixed:!0,priority:["bottom","left","right"],boundariesElement:this.scroll.editor.getScrollingContainer(),overflowBoundariesElement:this.scroll.editor.getScrollingContainer()},listenSizeChange:!0},u)),e=(0,s.h)("div",{className:"input-date"},this.getComponent())):e=u,this.parent.isBlotLocked&&(t=null),(0,s.sY)((0,s.h)("span",{contenteditable:"false"},e,t),this.domNode)}},{key:"isReadOnly",get:function(){return!(!this.dateConfig.readOnly&&this.scroll.editor.mode===this.scroll.editor.constructor.MODE_EDIT)}},{key:"isBlotLocked",get:function(){return!(!this.parentTable||!this.parentTable.isBlotLocked)}},{key:"detach",value:function(){for(var e,t,n,r,o,a,s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];(e=la(ca(i.prototype),"detach",this)).call.apply(e,[this].concat(l));var u,d=this.scroll.editor.plugins.reminderManager;this.scroll.emitter.off("selectionchange",this.onSelectionChange),this.contentNode.removeEventListener("mousedown",this.onDateClick,!1),this.attached=null;var p="list"===(null===(t=this.parent)||void 0===t||null===(n=t.parent)||void 0===n?void 0:n.map.get("type"))||!1,f=p?null===(r=this.parent)||void 0===r||null===(o=r.parent)||void 0===o?void 0:o.parent:null===(a=this.parent)||void 0===a?void 0:a.parent,h="toggle"===(null==f?void 0:f.map.get("type"))||!1,m=h&&(null==f?void 0:f.map.get("collapsed"))||!1;if(!m){var g=this.getItem("dateId");if(this.scroll.editor.findById(this.parent.id)){var y=this.parent.map.get("characters").toDelta();u=y.find((function(e){var t=e.insert;return(null==t?void 0:t.date)&&t.date.dateId===g}))}!u&&Object.keys(this.getReminders()).length&&d.deleteReminder(g,{reminders:this.getReminders()})}}},{key:"getItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getAttrName(e,t),r=this.domNode.getAttribute(n);return r&&(-1!==["true","false"].indexOf(r)?r="true"===r:"{"===r[0]&&"}"===r[r.length-1]||"["===r[0]&&"]"===r[r.length-1]?r=JSON.parse(r):"timestamp"===e&&(r=parseInt(r))),r}},{key:"setItem",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getAttrName(e,n);"object"===ea(t)&&(t=JSON.stringify(t)),this.domNode.setAttribute(r,t),this.render&&this.render()}},{key:"removeItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getAttrName(e,t);this.domNode.removeAttribute(n),this.render&&this.render()}},{key:"getAttrName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=da;return t.sub&&(n+="-".concat(t.sub)),n+="-".concat(e)}},{key:"toHTML",value:function(e){return this.domNode.outerHTML}},{key:"handleInput",value:function(e){return 0===e.which&&"deleteContentBackward"===e.inputType&&(this.remove(),!0)}}])&&ra(t.prototype,n),r&&ra(t,r),i}(Ki(a().Embed));function ga(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ya(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ya(e,t)}(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 ya(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function va(e){var t=e.value,n=void 0===t?0:t,r=e.addClassName,o=void 0===r?"":r,i=e.onChange,a=void 0===i?function(){}:i,l=e.showProgress,c=void 0!==l&&l,u=e.readonly,d=void 0!==u&&u,p=ga((0,T.eJ)(n||0),2),f=p[0],h=p[1],m=(0,T.sO)(null),g=(0,T.sO)(null),y=(0,T.sO)(null),v=(0,T.sO)(null),b=function(e){if(!g.current)return f;var t=e.clientX,n=g.current.getBoundingClientRect();return Math.min(100,Math.max(0,Math.round(100*(t-n.left)/n.width)))},_=function(e){S(b(e))},w=function e(t){document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",e);var n=b(t);h(n),a(n)},C=function(e){return e<30?"progress-low":e<75?"progress-middle":"progress-high"},S=function(e){if(m.current){var t=C(e);m.current.className!==t&&m.current.setAttribute("class",t)}y.current&&(y.current.style.width=e+"%"),v.current&&(v.current.innerHTML=e+"%")};(0,T.d4)((function(){S(f)}),[]),(0,T.d4)((function(){S(f)}),[f]),(0,T.d4)((function(){h(n)}),[n]);var E=["input-slider",fe.W$];return o&&E.push(o),d&&E.push("readonly"),(0,s.h)(s.HY,null,(0,s.h)("div",{className:C(f),ref:m,style:{display:"flex",alignItems:"center",flexDirection:"row",width:"100%"}},(0,s.h)("div",{className:E.join(" "),onMouseDown:d?null:function(e){e.preventDefault(),Ji(e)&&(document.addEventListener("mousemove",_),document.addEventListener("mouseup",w))}},(0,s.h)("span",{className:"slider-range",ref:g},(0,s.h)("span",{className:"slider-progress",ref:y,style:{width:f+"%"}},(0,s.h)("span",{className:"slider-holder"})))),c?(0,s.h)("span",{className:"progress-value table-text-common",ref:v}):null))}function ba(e){return(ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wa(e,t){return(wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ca(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ka(e);if(t){var o=ka(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Sa(this,n)}}function Sa(e,t){if(t&&("object"===ba(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ea(e)}function Ea(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xa(e,t,n){return(xa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ka(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ka(e){return(ka=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ma.blotName="date",ma.tagName="date";var Oa=function(e){!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}}),t&&wa(e,t)}(i,e);var t,n,r,o=Ca(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Ea(t=o.call(this,e)),"onChange",(function(e){t.domNode.setAttribute("data-progress-value",e)})),t.isSeparableByClickApplicable=!0,t.contentNode.classList.add("progress-slider"),t}return t=i,r=[{key:"create",value:function(e){var t=xa(ka(i),"create",this).call(this);return t.classList.add("inline-progress"),t.setAttribute("data-progress-value",e||0),t}},{key:"value",value:function(e){return e.getAttribute("data-progress-value")}},{key:"getOpText",value:function(e,t,n){return" "+e.progress+"%"}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xa(ka(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.attached||(this.attached=!0,this.render())}},{key:"onParentRenderUpdate",value:function(){this.render()}},{key:"render",value:function(){var e=te(this);(0,s.sY)((0,s.h)(va,{addClassName:"inline-progress-slider",value:this.value().progress,onChange:this.onChange,showProgress:!0,readonly:e.isBlotLocked||this.scroll.editor.mode!==fpe}),this.contentNode)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xa(ka(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.attached=null}},{key:"toHTML",value:function(e){return this.domNode.cloneNode(!0).outerHTML}}])&&_a(t.prototype,n),r&&_a(t,r),i}(X);Oa.blotName="progress",Oa.tagName="inline-progress";n(34553),n(43371);function Ta(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Aa(e){return(Aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Ia(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 Ra(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ia(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ia(e,t){if(e){if("string"==typeof e)return Ma(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ma(e,t):void 0}}function Ma(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Na(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Da(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ja={selector:".sortable",allowDraggingSelector:null,draggingClass:"dragging-process",sortingClass:"sorting-process",phantomClass:"sortable-phantom",triggerDistance:5,onChange:function(e){},allowedSortContainerClass:null,allowPullItemsOut:!0,autoscroll:!1,autoscrollDistance:30,autoscrollStep:10,autoscrollTimeout:20};const La=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Da(this,"onContainerMouseDown",(function(e){e.stopPropagation(),r.options.allowedSortContainerClass&&!r.container.classList.contains(r.options.allowedSortContainerClass)||r.options.allowDraggingSelector&&!e.target.closest(r.options.allowDraggingSelector)||e.target.closest(r.options.selector)&&(r.mouseDownPosition={x:e.clientX,y:e.clientY},document.addEventListener("mousemove",r.onMouseDownDocumentMouseMove,!1),document.addEventListener("mouseup",r.onMouseDownDocumentMouseUp,!1))})),Da(this,"onMouseDownDocumentMouseMove",(function(e){if(r.mouseDownPosition){var t={x:e.clientX,y:e.clientY};if(Ta(t,r.mouseDownPosition)>=r.options.triggerDistance){document.removeEventListener("mousemove",r.onMouseDownDocumentMouseMove,!1),document.removeEventListener("mouseup",r.onMouseDownDocumentMouseUp,!1),r.mouseDownPosition=null;var n=e.target.closest(r.options.selector);n&&r.startSorting(n,t)}}})),Da(this,"onMouseDownDocumentMouseUp",(function(e){r.mouseDownPosition&&(document.removeEventListener("mousemove",r.onMouseDownDocumentMouseMove,!1),document.removeEventListener("mouseup",r.onMouseDownDocumentMouseUp,!1),r.mouseDownPosition=null)})),Da(this,"onDragMouseMove",(function(e){var t=e.clientX,n=e.clientY;r.tryAutoscroll(n);var o=r.draggingNode.getBoundingClientRect(),i=r.container.getBoundingClientRect(),a=parseInt(n-r.innerDraggingNodeCursorCoords.y),s=parseInt(t-r.innerDraggingNodeCursorCoords.x);r.options.allowPullItemsOut||(a<i.top-10&&(a=i.top-10),a+o.height>i.bottom+10&&(a=i.bottom+10-o.height)),r.draggingNode.style.top=a+"px",r.options.allowPullItemsOut&&(r.draggingNode.style.left=s+"px"),r.onDraggingNodePosChange()})),Da(this,"onDragMouseUp",(function(e){r.clearAutoscrollInterval(),document.removeEventListener("mousemove",r.onDragMouseMove,!1),document.removeEventListener("mouseup",r.onDragMouseUp,!1);var t=r.container.scrollTop;r.container.removeChild(r.dropPhantom),r.container.classList.remove(r.options.sortingClass),r.draggingNode.removeAttribute("style"),r.draggingNode.classList.remove(r.options.draggingClass);for(var n=Array.from(r.container.childNodes),o=0,i=n;o<i.length;o++){i[o].style.transform=""}r.dropIndex===n.length-1?r.container.appendChild(r.draggingNode):n.indexOf(r.draggingNode)>r.dropIndex?r.container.insertBefore(r.draggingNode,n[r.dropIndex]):r.container.insertBefore(r.draggingNode,n[r.dropIndex+1]),r.options.onChange&&r.options.onChange(Array.from(r.container.childNodes),{scrollTop:t}),r.draggingNode=null,r.cursorPosition=null,r.dropPhantom=null,r.dropIndex=null,r.innerDraggingNodeCursorCoords=null})),this.container=t,this.options=Object.assign({},ja,n),this.container.addEventListener("mousedown",this.onContainerMouseDown,!1)}var t,n,r;return t=e,(n=[{key:"setInnerDraggingNodeCursorCoords",value:function(e,t){var n=e.getBoundingClientRect(),r={x:t.x-n.x,y:t.y-n.y};this.innerDraggingNodeCursorCoords=Object.freeze(r)}},{key:"isMouseOverContainer",value:function(e){var t=e.x,n=e.y,r=this.container.getBoundingClientRect();return t>=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height}},{key:"prepareForDrag",value:function(e){var t=this.draggingNode.getBoundingClientRect();this.addDropPhantom(t.width,t.height);var n=e.x-t.x,r=e.y-t.y;this.draggingNode.classList.add(this.options.draggingClass),this.draggingNode.style.position="fixed",this.draggingNode.style.width=t.width+"px",this.draggingNode.style.height=t.height+"px",this.draggingNode.style.top=parseInt(e.y-r)+"px",this.draggingNode.style.left=parseInt(e.x-n)+"px",this.container.classList.add(this.options.sortingClass)}},{key:"addDropPhantom",value:function(e,t){this.dropIndex=Array.from(this.container.childNodes).indexOf(this.draggingNode),this.dropPhantom=document.createElement("div"),this.dropPhantom.classList.add(this.options.phantomClass),this.dropPhantom.style.width=e+"px",this.dropPhantom.style.paddingTop=t/2+"px",this.dropPhantom.style.paddingBottom=t/2+"px",this.container.insertBefore(this.dropPhantom,this.draggingNode)}},{key:"movePhantomToIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t.length&&this.dropIndex!==e){var n,r=t.indexOf(this.dropPhantom),o=this.dropPhantom.getBoundingClientRect().height,i=Ra(t);try{for(i.s();!(n=i.n()).done;){var a=n.value,s=t.indexOf(a);s>r?a.style.transform=s<=e?"translateY(-"+o+"px)":"translateY(0px)":s<r&&(a.style.transform=s>=e?"translateY("+o+"px)":"translateY(0px)")}}catch(e){i.e(e)}finally{i.f()}var l=0;if(r<e)for(var c=r+1;c<=e;c++)l+=t[c].getBoundingClientRect().height;else for(var u=e;u<=r-1;u++)l-=t[u].getBoundingClientRect().height;this.dropPhantom.style.transform="translateY("+l+"px)",this.dropIndex=e}}},{key:"onDraggingNodePosChange",value:function(){var e=this,t=this.draggingNode.getBoundingClientRect(),n=t.y+t.height/2,r=Array.from(this.container.childNodes).filter((function(t){return t!==e.draggingNode})),o=Pa(r.filter((function(e){var t=e.getBoundingClientRect();return n>t.y&&n<t.y+t.height})),1)[0];if(o&&o!==this.dropPhantom){var i,a=o.getBoundingClientRect();i=r.indexOf(o)>r.indexOf(this.dropPhantom)?n>a.y&&n<=a.y+a.height/2?r.indexOf(o)-1:r.indexOf(o):n>a.y&&n<=a.y+a.height/2?r.indexOf(o):r.indexOf(o)+1,this.movePhantomToIndex(i,r)}}},{key:"clearAutoscrollInterval",value:function(){"object"===Aa(this.autoscrollInterval)&&(this.autoscrollInterval.top&&(clearInterval(this.autoscrollInterval.top),this.autoscrollInterval.top=null),this.autoscrollInterval.bottom&&(clearInterval(this.autoscrollInterval.bottom),this.autoscrollInterval.bottom=null))}},{key:"setAutoscrollInterval",value:function(e,t,n){this.autoscrollInterval||(this.autoscrollInterval={}),this.autoscrollInterval[n]=setInterval(e,t)}},{key:"tryAutoscroll",value:function(e){var t=this;if(this.container.scrollHeight>this.container.clientHeight){var n=this.options,r=n.autoscroll,o=n.autoscrollDistance,i=n.autoscrollStep,a=n.autoscrollTimeout;if(r){var s=this.container.getBoundingClientRect(),l=this.container.clientHeight+this.container.scrollTop<this.container.scrollHeight,c=0!==this.container.scrollTop;if(e>s.bottom-o&&l){if(this.autoscrollInterval&&this.autoscrollInterval.bottom)return;this.setAutoscrollInterval((function(){t.container.clientHeight+t.container.scrollTop<t.container.scrollHeight?(t.container.clientHeight+t.container.scrollTop+i<=t.container.scrollHeight?t.container.scrollTop=t.container.scrollTop+i:t.container.scrollTop=t.container.scrollHeight-t.container.clientHeight+t.container.scrollTop,t.onDraggingNodePosChange()):t.clearAutoscrollInterval()}),a,"bottom")}else if(e<s.top+o&&c){if(this.autoscrollInterval&&this.autoscrollInterval.top)return;this.setAutoscrollInterval((function(){0!==t.container.scrollTop?(t.container.scrollTop>i?t.container.scrollTop=t.container.scrollTop-i:t.container.scrollTop=0,t.onDraggingNodePosChange()):t.clearAutoscrollInterval()}),a,"top")}else this.clearAutoscrollInterval()}}}},{key:"startSorting",value:function(e,t){this.draggingNode=e,this.prepareForDrag(t),this.setInnerDraggingNodeCursorCoords(e,t),document.addEventListener("mousemove",this.onDragMouseMove,!1),document.addEventListener("mouseup",this.onDragMouseUp,!1)}},{key:"destroy",value:function(){this.options=null,this.container.removeEventListener("mousedown",this.onContainerMouseDown,!1),this.container=null}}])&&Na(t.prototype,n),r&&Na(t,r),e}();var Ba=n(15461),Fa=n.n(Ba),Ua=n(24412),Ha=n.n(Ua),Va=n(52298),za=n(24508),qa=n.n(za);function Ga(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ya(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Wa(e){return function(e){if(Array.isArray(e))return Za(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ya(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 Ya(e,t){if(e){if("string"==typeof e)return Za(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Za(e,t):void 0}}function Za(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ka=new Map;function $a(e){return e.indexOf("var(--")>=0}function Qa(e){return Ka[e]||(Ka[e]=Fa()(e),Ka[e]&&Ka[e]||(console.error("could not parse color",e,"fallback to black"),Ka[e]={rgb:[0,0,0]})),Ka[e].rgb}function Xa(e,t,n){return"#"+Ja(e)+Ja(t)+Ja(n)}function Ja(e){if(e){var t=e.toString(16);return 1==t.length?"0"+t:t}return"00"}var es=Ha()((function(e){var t=Qa(e);return(0,Va.Rw)(t)}));Ha()((function(e){var t=Qa(color);return(0,Va.Rw)(t)}),{isDeepEqual:!0});function ts(e){return{L:e[0],A:e[1],B:e[2]}}var ns=Ha()((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;if("transparent"===e||!e||$a(e)||"initial"===e)return n;var o=Qa(e);if(!o)return null;var i=["#2f3738","#161A1E","#000000","#ffffff"],a=Xa.apply(void 0,Wa(o));if(a&&-1!==i.indexOf(a))return null;var s,l=(0,Va.Rw)(o),c=null,u=Number.POSITIVE_INFINITY,d=Ga(t);try{for(d.s();!(s=d.n()).done;){var p=s.value,f=es(p),h=qa().getDeltaE00(ts(l),ts(f));h<u&&h<r&&(u=h,c=p)}}catch(e){d.e(e)}finally{d.f()}return c}));function rs(e,t){if(e===t)return!0;var n=Fa()(e),r=Fa()(t);return!(!n.rgba||!r.rgba)&&n.rgba.join(",")===r.rgba.join(",")}function os(e){return"inherit"!==e}function is(e){return"string"==typeof e&&(e.startsWith("#")?4===e.length||7===e.length:e.startsWith("rgb(")||e.startsWith("rgba("))}function as(){return(as=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ss(e){var t,n,r,o=e.idAttr,i=e.selected,a=e.colorValue,l=e.colorName,c=e.mode,u=e.useNewIcons,d=(r=l,(n=o)in(t={})?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t),p={},f=["color-menu-item "];i&&f.push("active"),c&&"disabled"===c&&f.push("disabled");var h=["color-icon"];if(is(a))p.background=a;else if(c&&void 0!==c)switch(h.push("color-icon-"+c),c){case"default":case"disabled":h.push("bg-palette-".concat(a));break;case"outline":h.push("shadow-palette-".concat(a));break;case"font":h.push("bg-not-opacity-palette-".concat(a));break;case"mat-font-color":h.push("bg-material-font-color-".concat(l));break;default:h.push(l+"-"+c+"-color-icon")}else a&&h.push("bg-palette-".concat(a));return(0,s.h)("div",as({},d,{onClick:e.onClick,onMouseDown:e.onMouseDown,className:f.join(" ")}),(0,s.h)("div",{className:h.join(" "),"data-block-background":l,style:p},u?(0,s.h)("span",{className:"color-icon-label"},"A"):null))}function ls(){return(ls=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function cs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var us=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=function(e){e.preventDefault()},(n="onMouseDown")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}var t,n,r;return t=e,(n=[{key:"onItemClick",value:function(e,t){var n=this.props,r=n.mode,o=n.onColorPicked;t.preventDefault(),r&&"disabled"===r||o&&o(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.color,r=t.colors,o=t.mode,i=this.props.resetColor;void 0===i&&(i=!0);var a=(Array.isArray(r)?Array.from(r):Object.keys(r)).map((function(t){return(0,s.h)(ss,{idAttr:"data-color-name",key:t,onClick:e.onItemClick.bind(e,Array.isArray(r)?t:r[t]),onMouseDown:e.onMouseDown,colorValue:Array.isArray(r)?t:r[t],colorName:t,selected:n===(Array.isArray(r)?t:r[t]),mode:o})})),l=(0,s.h)("div",{onClick:this.onItemClick.bind(this,null),className:"color-menu-item"},(0,s.h)("div",{className:"color-icon no-color-icon"},(0,s.h)(ct.voX,null)));return(0,s.h)(At.Z,ls({addClassName:"popup-menu-colorpicker"},this.props),a,i?l:null)}}])&&cs(t.prototype,n),r&&cs(t,r),e}();function ds(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||ps(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 ps(e,t){if(e){if("string"==typeof e)return fs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fs(e,t):void 0}}function fs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var hs=[{key:"enter"},{key:"esc"},{key:"arrowup"},{key:"arrowdown"},{key:"backspace",empty:!0}];function ms(e){var t=e.onInput,n=e.onApply,r=e.value,o=e.autofocus,i=void 0!==o&&o,a=e.reset,l=e.placeholder,c=void 0===l?"":l,u=e.type,d=e.min,p=e.max,f=e.maxLength,h=ds((0,T.eJ)(""),2),m=h[0],g=h[1],y=(0,T.sO)(null),v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=String(e),null!=y&&y.current&&(y.current.textContent=e),g(e),t.cursor&&(0,H.FU)(y.current)};(0,T.d4)((function(){a&&v("")}),[a]),(0,T.d4)((function(){"string"!=typeof r&&"number"!=typeof r||v(String(r))}),[r]),(0,T.d4)((function(){i&&null!=y&&y.current&&(0,H.FU)(y.current)}),[y,r]);var b,_=function(e){var t,n={state:!1},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ps(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(hs);try{for(r.s();!(t=r.n()).done;){var o=t.value;if((0,Rn.ZP)(o.key,e)&&(!o.empty||!m)){n.state=!0,n.key=o.key;break}}}catch(e){r.e(e)}finally{r.f()}return n},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=m;return"number"===u&&(t=parseInt(t)||0,"number"==typeof d&&e.min&&(t=Math.max(t,d)),"number"==typeof p&&(t=Math.min(t,p))),e.write&&String(t)!==m&&v(t,{cursor:!0}),t},C=function(){var e=w({min:!0});null==n||n(e)},S=["input-component",fe.W$];return m||(b=(0,s.h)("span",{className:"input-placeholder editable-text"},c)),(0,s.h)("div",{className:S.join(" "),onMouseDown:function(e){e.stopPropagation()}},b,(0,s.h)("span",{ref:y,contenteditable:!0,className:"input-field",onInput:function(e){var n=y.current.textContent;g(n),"insertText"!==e.inputType&&(null==t||t(e,n))},onFocus:function(t){var n;t.stopPropagation(),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onKeyDown:function(e){var n=_(e);if(n.state)"esc"!==n.key&&e.stopPropagation(),e.preventDefault(),null==t||t(e,m);else{e.stopPropagation();var r,o=String(e.key);if(1===o.length)(f&&(null===(r=y.current)||void 0===r?void 0:r.textContent.length)>=f||"number"===u&&(isNaN(o)||p&&m.length>=String(p).length))&&e.preventDefault()}},onKeyUp:function(e){e.stopPropagation();var n=_(e);if(n.state)"enter"===n.key&&C();else{var r=w({write:!0});null==t||t(e,r)}},onClick:function(t){var n;t.stopPropagation(),null===(n=e.onClick)||void 0===n||n.call(e,t)},spellcheck:!1}))}function gs(e){if(Je.includes(e))return e;var t=Object.keys(Qe).find((function(t){return Qe[t]===e}));if(Je.includes(t))return t;var n=et[t]||et[e];return n||e}function ys(){return(ys=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vs(Object(n),!0).forEach((function(t){_s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ws(e){return function(e){if(Array.isArray(e))return Es(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ss(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 Cs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Ss(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 Ss(e,t){if(e){if("string"==typeof e)return Es(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Es(e,t):void 0}}function Es(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xs=(0,Rn.ZP)("Enter"),ks=(0,Rn.ZP)("Esc");function Os(e,t){var n=["select-label","adaptive-text"],r="bg-palette-";return t&&"default"!==t&&(n.push("fill-"+t),"outline"===t?r="shadow-palette-":"none"===t&&(r=!1)),e.color&&r&&n.push(r+e.color),n.join(" ")}function Ts(e){var t=e.labels,n=void 0===t?[]:t,r=e.selected,o=void 0===r?null:r,i=e.style,a=e.onChange,l=e.onEndEdit,c=e.ownerId,u=e.userId,d=e.getPopupParams,p=e.i18n,f=e.canEdit,h=Cs((0,T.eJ)(!1),2),m=h[0],g=h[1];(0,T.d4)((function(){n.length||c!==u||g(!0)}),[]),(0,T.d4)((function(){var t=function(t){t.target===e.domNode||e.domNode.contains(t.target)||g(!1)};return m&&document.addEventListener("mousedown",t,!1),function(){document.removeEventListener("mousedown",t,!1)}}),[m]);var y=o?n.find((function(e){return String(e.id)===String(o)})):n[0];return(0,s.h)(s.HY,null,n.length&&y?(0,s.h)("span",{className:"inline-dropdown-label",onClick:function(e){f&&(m||g(!0))}},(0,s.h)("span",{className:Os(y,i)},(0,s.h)("span",{className:"select-label-text"},y.name))):"\ufeff",m?(0,s.h)(As,{labels:n.slice(),selected:o,style:i,onCloseApply:function(e){var t;null!=e&&null!==(t=e.labels)&&void 0!==t&&t.length?a(e):a(!1)},getPopupParams:d,i18n:p,wantsToClose:function(){g(!1),setTimeout((function(){l()}),0)}}):null)}function As(e){var t=e.labels,n=e.selected,r=e.style,o=e.onCloseApply,i=e.getPopupParams,a=e.i18n,l=e.wantsToClose,c=Cs((0,T.eJ)(t),2),u=c[0],d=c[1],p=Cs((0,T.eJ)(n),2),f=p[0],h=p[1],m=Cs((0,T.eJ)(r),2),g=m[0],y=m[1],v=Cs((0,T.eJ)(""),2),b=v[0],_=v[1],w=Cs((0,T.eJ)(null),2),C=w[0],S=w[1],E=(0,T.sO)({selected:f,labels:u,style:g}),x=(0,T.sO)(null),k=(0,T.sO)(null),O=(0,T.sO)(null),A=(0,T.sO)(null),P=b?u.filter((function(e){return e.name.toLowerCase().includes(b.toLowerCase())})):u,R=function(e){return u.find((function(t){return String(t.id)===String(e)}))},I=function(e){var t={name:e,color:Je[Math.floor(Math.random()*Je.length)],id:(new Date).getTime()};d([].concat(ws(u),[t]))},M=function(e){d(e)},N=function(e){var t=e.reduce((function(e,t){var n=t.dataset.labelId,r=R(n);return r&&e.push(Object.assign({},r)),e}),[]);M(t)},D=function(e){h(e)},j=function(e){S(e)},L=function(){S(null)},B=function(e){var t=Array.from(u),n=t.findIndex((function(t){return t.id===e.id}));t.splice(n,1,e),M(t)},F=function(e){y(e)},U=function(e){var t=Array.from(u),n=t.findIndex((function(t){return t.id===e}));t.splice(n,1),f&&f===e&&h(null),M(t)};(0,T.d4)((function(){if(k.current)return O.current=new La(k.current,{selector:".inline-dropdown-component-item",allowDraggingSelector:".inline-dropdown-component-label-pin",onChange:N,allowPullItemsOut:!1,autoscroll:!0}),function(){O.current&&(O.current.destroy(),O.current=null)}}),[k.current,u]),(0,T.d4)((function(){E.current={selected:f,labels:u,style:g}}),[f,u,g]),(0,T.d4)((function(){A.current=C}),[C]),(0,T.d4)((function(){return x.current&&x.current.focus(),function(){o(E.current)}}),[]),(0,T.d4)((function(){var e=function(e){ks(e)&&(A.current?S(null):l())};return document.addEventListener("keydown",e,!1),function(){document.removeEventListener("keydown",e,!1)}}),[]);var H=["inline-dropdown-component"];u.length||b||H.push("empty");var V=i();return V.revertY&&H.push("direction-top"),V.revertX&&H.push("direction-right"),(0,s.h)("div",{className:H.join(" ")},(0,s.h)("div",{className:"inline-dropdown-component-selected"},(0,s.h)(Ps,{labels:u,selected:f,style:g,getLabel:R}),(0,s.h)("input",{className:"inline-dropdown-component-input",type:"text",ref:x,onInput:function(e){_(e.target.value.trim())},onKeyDown:function(e){if(xs(e)){e.stopPropagation(),e.preventDefault();var t=e.target.value.trim();if(t){var n=P.find((function(e){return e.name===t}));!P.length||!Boolean(n)?(I(t),_(""),setTimeout((function(){x.current.value=""}),0)):n?n.id!==f?(r=n.id,E.current={selected:r,labels:u,style:g},l()):l():P[0].id!==f&&h(P[0].id)}else l()}var r},placeholder:a?a.get("table.select.create_label"):"Type to create label"})),P.length||b.length?(0,s.h)("div",{className:"inline-dropdown-component-labels"+(P.length?"":"no-labels"),ref:k},P.length?P.map((function(e){return(0,s.h)("div",{className:"inline-dropdown-component-item","data-label-id":e.id},(0,s.h)(Rs,{label:e,style:g,onLabelSelect:D,onShowMenu:j,onCloseMenu:L,onLabelUpdate:B,onUpdateStyle:F,onLabelDelete:U,menuActive:C===e.id,i18n:a}))})):(0,s.h)("div",{className:"inline-dropdown-component-item"},(0,s.h)("span",{className:"inline-dropdown-component-create",onClick:function(){I(b),_(""),setTimeout((function(){x.current.value=""}),0)}},a?a.get("table.select.create"):"Create"," ",b))):null)}function Ps(e){var t=e.labels,n=e.selected,r=e.style,o=e.getLabel;if(!n&&!t.length)return null;var i=n?o(n):t[0];return(0,s.h)("span",{className:Os(i,r)},(0,s.h)("span",{className:"select-label-text"},i.name))}function Rs(e){var t=e.label,n=e.style,r=e.onLabelSelect,o=e.onShowMenu,i=e.onCloseMenu,a=e.onLabelUpdate,l=e.onUpdateStyle,c=e.onLabelDelete,u=e.menuActive,d=void 0!==u&&u,p=e.i18n,f=(0,T.sO)(null);return(0,s.h)(s.HY,null,(0,s.h)("span",{ref:f,className:"inline-dropdown-component-label-pin",onClick:function(e){o(t.id)}},(0,s.h)(ct.nqv,null)),(0,s.h)("span",{className:Os(t,n),onClick:function(){r(t.id)}},(0,s.h)("span",{className:"select-label-text"},t.name)),d?(0,s.h)(Is,{label:t,style:n,anchorNode:f.current,getLabelClassName:Os,wantsToClose:i,onLabelUpdate:a,onUpdateStyle:l,onLabelDelete:c,i18n:p}):null)}function Is(e){var t=this,n=e.label,r=e.style,o=e.wantsToClose,i=e.onLabelUpdate,a=e.onUpdateStyle,l=e.onLabelDelete,c=e.i18n,u=function(e){a(e),null==o||o()},d=["default","outline","none"].map((function(e){var o=[Os(n,e)];return e!==(r||"default")&&o.push("disabled"),(0,s.h)("span",{className:o.join(" "),onClick:u.bind(t,e)},(0,s.h)("span",{className:"select-label-text adaptive-text"}," A "))}));return(0,s.h)(At.Z,ys({},e,{anchorOptions:{positionFixed:!0}}),(0,s.h)("div",{className:"menu-input menu-input-wide"},(0,s.h)(ms,{autofocus:!0,value:n.name,onInput:function(e,t){if((0,Rn.ZP)("enter",e)){var r=t.trim();r&&i(bs(bs({},n),{name:r})),null==o||o()}}})),(0,s.h)("div",{className:"menu-block label-style-selection"},d),(0,s.h)(us,{resetColor:!1,mode:"none"===n.style?"disabled":n.style||"default",color:gs(n.color),colors:Je,onColorPicked:function(e){i(bs(bs({},n),{color:e})),null==o||o()},addClassName:"popup-menu-colorpicker popup-menu-wide popup-menu-builtin"}),(0,s.h)(Cn.Z,{text:c?c.get("table.select.delete"):"Delete",onClick:function(e){e.stopPropagation(),l(n.id),null==o||o()}}))}function Ms(e){return(Ms="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ns(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ds(e,t){return(Ds=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function js(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Us(e);if(t){var o=Us(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ls(this,n)}}function Ls(e,t){if(t&&("object"===Ms(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Bs(e)}function Bs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fs(e,t,n){return(Fs="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Us(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Us(e){return(Us=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vs=function(e){!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}}),t&&Ds(e,t)}(i,e);var t,n,r,o=js(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Hs(Bs(t=o.call(this,e)),"onChange",(function(e){if(e)t.domNode.dropdown=e,t.domNode.setAttribute("data-update-time",(new Date).getTime());else{var n=te(Bs(t)).scroll,r=t.offset(n);t.remove(),setTimeout((function(){n.selection.setRange({index:r,length:0})}),0)}t.render()})),Hs(Bs(t),"onEndEdit",(function(){var e=te(Bs(t)).scroll,n=t.offset(e);e.selection.setRange({index:n+1,length:0})})),Hs(Bs(t),"getPopupParams",(function(){var e,n=te(Bs(t)).editor,r=null==n||null===(e=n.getScrollingContainer())||void 0===e?void 0:e.getBoundingClientRect(),o={};if(r){var i=t.domNode.getBoundingClientRect();r.bottom-i.top<250&&(o.revertY=!0),r.right-i.left<200&&(o.revertX=!0)}return o})),Hs(Bs(t),"onSelectionChange",(function(){})),t.isSeparableByClickApplicable=!0,t.contentNode.classList.add("dropdown-list-component"),t.contentNode.classList.add(fe.W$),t}return t=i,r=[{key:"create",value:function(e){var t=Fs(Us(i),"create",this).call(this);return t.setAttribute("data-update-time",(new Date).getTime()),t.dropdown=e||{labels:[],selected:null,style:"default"},t.classList.add("inline-dropdown-list"),t}},{key:"value",value:function(e){return e.dropdown||{labels:[],selected:null,style:"default"}}},{key:"getOpText",value:function(e,t,n){var r=e["dropdown-list"],o=r.labels,i=r.selected,a=" ";if(o&&o.length){if(i){var s,l=o.findIndex((function(e){return e.id===i}));-1!==l&&(a+=(null===(s=o.splice(l,1)[0])||void 0===s?void 0:s.name)||"")}else{var c;a+=(null===(c=o.shift())||void 0===c?void 0:c.name)||""}o.length&&(a+=" "+o.map((function(e){return(null==e?void 0:e.name)||""})).join(" "))}return a}},{key:"onConvertBlotGetOp",value:function(e){return{insert:this.getOpText(e.insert)}}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Fs(Us(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.attached||(this.attached=!0,this.render())}},{key:"onParentRenderUpdate",value:function(){this.render()}},{key:"render",value:function(){var e=te(this),t=e.editor,n=this.domNode.dropdown||{labels:[],selected:null,style:"default"},r=n.labels,o=n.selected,i=n.ownerId,a=n.style;(0,s.sY)((0,s.h)(Ts,{labels:r,selected:o,style:a,domNode:this.domNode,onChange:this.onChange,onEndEdit:this.onEndEdit,ownerId:i,userId:t?t.store.userId:void 0,getPopupParams:this.getPopupParams,i18n:t?t.plugins.i18n:void 0,canEdit:t&&t.mode===fpe&&!e.isBlotLocked}),this.contentNode)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Fs(Us(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.attached=null}},{key:"optimize",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Fs(Us(i.prototype),"optimize",this)).call.apply(e,[this].concat(n))}},{key:"toHTML",value:function(e){return this.domNode.cloneNode(!0).outerHTML}}])&&Ns(t.prototype,n),r&&Ns(t,r),i}(X);Vs.blotName="dropdown-list",Vs.tagName="dropdown-list";var zs=n(23328),qs=n.n(zs),Gs=n(35234),Ws=n.n(Gs);n(15218),n(58575);function Ys(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zs(e,t)}(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 Zs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ks=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.scroll.selection.getRange(),o=Ys(n,2),i=o[0],a=o[1];if(!i)return null;var s=te(re(a.start.node)),l=te(re(a.end.node));if(t){var c=Array.from(e.scroll.selectedBlocks);s=c.shift(),l=c.length?c.pop():s}if(!s||!l||s&&!s.map||l&&!l.map)return null;var u=e.scroll.selection.getRange({offsetBlot:s,nativeRange:a,editorRange:i}),d=Ys(u,1),p=d[0].index,f=e.scroll.selection.getRange({offsetBlot:l,nativeRange:a,editorRange:i}),h=Ys(f,1),m=h[0],g=m.index,y=m.length,v=s.map.get("characters"),b=l.map.get("characters");if(!v||!b)return null;var _=r.createRelativePositionFromTypeIndex(v,p),w=r.createRelativePositionFromTypeIndex(b,g+y,-1);return{relLeft:_,relRight:w,firstBlot:s,lastBlot:l,doc:e.store.y}},$s=function(e){var t=e.relLeft,n=e.relRight,o=e.firstBlot,i=e.lastBlot,a=e.doc,s=r.createAbsolutePositionFromRelativePosition(t,a),l=r.createAbsolutePositionFromRelativePosition(n,a);return{index:o.offset(o.scroll)+s.index,length:i.offset(i.scroll)+l.index-s.index-o.offset(o.scroll)}};function Qs(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=el(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Xs(e){return function(e){if(Array.isArray(e))return tl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||el(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 Js(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||el(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 el(e,t){if(e){if("string"==typeof e)return tl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tl(e,t):void 0}}function tl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ol=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;rl(this,e),this.index=t,this.length=n},il=function(){function e(t,n){var r,o,i,a=this;rl(this,e),i=function(){a.editor.mode===ype&&a.focus({setCaretToEnd:!0})},(o="onEditorReady")in(r=this)?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,this.scroll=t,this.emitter=n,this.editor=this.scroll.editor,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode;var s=this.editor.options.render;this.cursor=s?s5.create("cursor",this):null,this.lastRange=this.savedRange=new ol(0,0),this.lastRelPosition=null,this.savedNativeRange,this.lastOffset=!1,this.lastTableSel=!1,this.lastTableCur=!1,this.savedFormats=!1,this._rangeStack=[],this.ignoringScrollUpdates=!1,this.prevSelection=null,this.updatesPaused=!1,this.hasUpdatesDuringPause=!1,s&&(this.handleComposition(),this.emitter.listenDOM("selectionchange",document,(function(){var e=a.checkUserSelecting(getSelection());a.update("user",{isUserSelecting:e})})),this.emitter.listenDOM("mousedown",document,(function(){a.prevSelection=null})),this.emitter.on("SCROLL_UPDATE",(function(){a.update("silent")}))),s&&(this.emitter.on("SCROLL_BEFORE_UPDATE",(function(){if(a.hasFocus()){var e=a.getNativeRange();null!=e&&e.native.collapsed&&a.emitter.once("SCROLL_UPDATE",(function(t,n){if(!a.ignoringScrollUpdates&&"user"===t)try{var r=a.getNativeRange();(r.start.node!==e.start.node||r.start.offset!==e.start.offset||r.end.node!==e.end.node||r.end.offset!==e.end.offset)&&a.root.contains(e.start.node)&&a.root.contains(e.end.node)&&a.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset),a.update("silent")}catch(t){console.warn("fail to set native range",e,t)}}))}})),this.emitter.on("SCROLL_OPTIMIZE",(function(e,t){if(t.range){var n=t.range,r=n.startNode,o=n.startOffset,i=n.endNode,s=n.endOffset;a.emitter.once("SCROLL_UPDATE",(function(){if(!a.ignoringScrollUpdates)try{a.setNativeRange(r,o,i,s),a.update("silent")}catch(e){console.warn("fail to set native range",t.range,e)}}))}})),this.update("silent")),this.emitter.once("editor-ready",this.onEditorReady)}var t,n,r;return t=e,(n=[{key:"containsBlot",value:function(e){return window.getSelection().containsNode(e.domNode,!0)}},{key:"pauseUpdates",value:function(){this.updatesPaused=!0,this.hasUpdatesDuringPause=!1}},{key:"resumeUpdates",value:function(){this.updatesPaused=!1,this.hasUpdatesDuringPause&&this.update()}},{key:"ignoreScrollUpdates",value:function(e){try{this.ignoringScrollUpdates=!0,e()}finally{this.ignoringScrollUpdates=!1}}},{key:"checkUserSelecting",value:function(e){var t=!1;if(this.prevSelection){var n=this.prevSelection;t="Caret"!==e.type&&n.anchor.node===e.anchorNode&&n.anchor.offset===e.anchorOffset&&(n.focus.node!==e.focusNode||n.focus.offset!==e.focusOffset)}return this.prevSelection={anchor:{node:e.anchorNode,offset:e.anchorOffset},focus:{node:e.focusNode,offset:e.focusOffset}},t}},{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"hasFocus",value:function(){return document.activeElement&&(document.activeElement===this.root||this.root.contains(document.activeElement))}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.hasFocus()&&(this.root.focus({preventScroll:!!e.preventScroll}),this.editor.isEditable())){this.root.setAttribute("contenteditable",!0);var t=!0,n=this.savedRange;if(e.setCaretToEnd)n={index:this.scroll.length()-1,length:0};else{var r=this.scroll.selection.getRange()[0];r&&this.savedRange&&r.index===this.savedRange.index&&r.length===this.savedRange.length&&(t=!1)}t&&this.setRange(n)}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r,o=this.scroll.leaf(e),i=Js(o,2),a=i[0],s=i[1];if(null==a)return null;var l=a.position(s,!0),c=Js(l,2);r=c[0],s=c[1];var u=document.createRange();if(t>0){u.setStart(r,s);var d=this.scroll.leaf(e+t),p=Js(d,2);if(a=p[0],s=p[1],null==a)return null;var f=a.position(s,!0),h=Js(f,2);return r=h[0],s=h[1],u.setEnd(r,s),u.getBoundingClientRect()}var m,g="left";return r instanceof Text?(s<r.data.length?(u.setStart(r,s),u.setEnd(r,s+1)):(u.setStart(r,s-1),u.setEnd(r,s),g="right"),m=u.getBoundingClientRect()):(m=a.domNode.getBoundingClientRect(),s>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"setCursorToEmpty",value:function(e){var t=document.createRange(),n=window.getSelection();t.setEndBefore(e,0),t.collapse(!0),n.removeAllRanges(),n.addRange(t)}},{key:"getBlotsOfSelection",value:function(){var e=function(e){return e.__blot.blot},t=window.getSelection();if("Range"==t.type){var n=t.getRangeAt(0);return{start:e(n.startContainer),end:e(n.endContainer)}}return t.type,!1}},{key:"getSelectedBlocks",value:function(e){var t=e.getStart(),n=e.getEnd(),r=[];r.push(t);for(var o=t.index+1;o<n.index;o++)r.push(this.scroll.getByIndex(o));return r}},{key:"getColsOfSelection",value:function(){var e=function(e){return e.__blot.blot},t=window.getSelection();if("Range"==t.type||"Caret"==t.type){var n=t.getRangeAt(0);return{start:e(n.startContainer),end:e(n.endContainer)}}return!1}},{key:"getScrollSelection",value:function(){var e=window.getSelection();return e.anchorNode==this.root&&e.baseNode==this.root&&e.extentNode==this.root&&e.focusNode==this.root?"embed":"block"}},{key:"clearSelection",value:function(){window.getSelection().removeAllRanges()}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var a=document&&document.getSelection()||null;if(null!=a)if(null!=e){var s=this.getNativeRange()||{},l=s.native;if(null==l||o||e!==l.startContainer||t!==l.startOffset||n!==l.endContainer||r!==l.endOffset){if("BR"==e.tagName&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),"BR"==n.tagName&&(r=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode),"mobile"===this.editor.options.keyboardMode&&t===r&&e===n)a.collapse(e,Math.min(t,(e.textContent||"").length));else{var c=document.createRange();t>=0?c.setStart(e,t):c.setStart(e,0),r>=0?c.setEnd(n,r):c.setEnd(n,0),a.removeAllRanges(),a.addRange(c)}i&&a.setBaseAndExtent(a.focusNode,a.focusOffset,a.anchorNode,a.anchorOffset)}}else a.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"nativeRangeReversed",value:function(e){var t=e.anchorNode.compareDocumentPosition(e.focusNode),n=!1;return(!t&&e.anchorOffset>e.focusOffset||t===Node.DOCUMENT_POSITION_PRECEDING)&&(n=!0),n}},{key:"getNativeRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=document&&document.getSelection()||null;if(null==t||t.rangeCount<=0)return null;var n=t.getRangeAt(0);if(null==n)return null;var r=this.normalizeNative(n);return r&&(r.reversed=this.nativeRangeReversed(t)),e(r),r}},{key:"normalizeNative",value:function(e){if(!al(this.root,e.startContainer)||!e.collapsed&&!al(this.root,e.endContainer))return null;var t=e.startContainer.nodeType===Node.TEXT_NODE?e.startContainer.parentNode:e.startContainer;if(t.closest&&t.closest("."+fe.W$))return null;var n={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[n.start,n.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),n}},{key:"pushRange",value:function(){var e=this.getRange();this._rangeStack.push(e)}},{key:"popRange",value:function(){var e=this._rangeStack.pop();this.setRange(e[0])}},{key:"getRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.nativeRange||this.getNativeRange();if(null==t)return[null,null];var n=e.editorRange||this.normalizedToRange(t);if(e.offsetBlot){var r=e.offsetBlot.offset(this.scroll),o=Math.max(n.index-r,0),i=Math.min(n.index-r+n.length,n.length),a=new ol(o,Math.min(i,e.offsetBlot.length()-o-1));n=a}return[n,t]}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=Js(e,2),r=n[0],o=n[1],i=s5.find(r,!0),a=i.offset(t.scroll);return 0===o?a:i instanceof s5.Container?a+i.length():"function"==typeof i.index?a+i.index(r,o):a+i.index})),o=Math.min(Math.max.apply(Math,Xs(r)),this.scroll.length()-1),i=Math.min.apply(Math,[o].concat(Xs(r)));return new ol(i,o-i)}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],o=this.scroll.length();return n.forEach((function(e,n){var i=e;e=Math.min(o-1,e);var a,s=Js(t.scroll.leaf(e),2),l=s[0],c=s[1];if(l&&l.position){var u=Js(l.position(c,0!==n),2);a=u[0],c=u[1]}e<i&&(c+=1),r.push(a,c)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){try{var t=this.lastRange;if(null==t)return;var n=this.getBounds(t.index,t.length);if(null==n)return;var r=this.scroll.length()-1,o=Js(this.scroll.line(Math.min(t.index,r)),1)[0],i=o;if(t.length>0&&(i=Js(this.scroll.line(Math.min(t.index+t.length,r)),1)[0]),null==o||null==i)return;var a=e.getBoundingClientRect();n.top<a.top?e.scrollTop-=a.top-n.top:n.bottom>a.bottom&&(e.scrollTop+=n.bottom-a.bottom)}catch(t){console.error("Selection.scrollIntoView has failed",e,t)}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"api";if("string"==typeof t&&(n=t,t=!1),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,Xs(r).concat([t]))}else this.setNativeRange(null);this.update(n,{fromSetRange:!0})}},{key:"format",value:function(e,t){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!s5.query(e,s5.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=s5.find(n.start.node,!1);if(null==r)return;if(r instanceof s5.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length)}}},{key:"update",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("user"===t&&this.updatesPaused)this.hasUpdatesDuringPause=!0;else{this.editor.browser;var r=this.lastRange,o=this.getRange(),i=Js(o,2),a=i[0],s=i[1];if(s&&s.native&&s.native.startContainer===this.scroll.domNode&&0===a.length&&1===this.scroll.children.length&&(!n||!n.fromSetRange))return this.setRange({index:0,length:0});this.lastRange=a,null!=this.lastRange&&(this.savedRange=this.lastRange);try{var l=function e(t,n){t.nextSibling?t.nextSibling.classList.contains("image")||t.nextSibling.classList.contains("table-wrapper")?e(t.nextSibling,n):n(t.nextSibling):n(!1)},c=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};"IMG"==t.nodeName||"TABLE"==t.nodeName?l(t.parentElement,(function(e){n(e)})):"#text"==t.nodeName?e(t.parentElement,n):t.classList.contains("note-container")?n(!1):e(t.parentElement,n)};c(s.start.node,(function(e){e&&(s.start={node:e,offset:0})}))}catch(e){}if(!this.composing&&null!=s&&s.native.collapsed&&s.start.node!==this.cursor.textNode&&s.end.node!==this.cursor.textNode)try{this.cursor.restore()}catch(e){}this.cursor&&this.cursor.isCursorAttached&&this.lastRange&&this.lastRange.length>0&&this.cursor.restore();var u,d=["selectionchange",this.lastRange,r,t,n];(e=this.emitter).emit.apply(e,["EDITOR_CHANGE"].concat(d)),"silent"!==t&&(u=this.emitter).emit.apply(u,d),"user"===t&&(this.lastRelPosition=Ks(this.editor))}}},{key:"getBlotsInRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function n(e,t,r){return r==e?null:e.firstChild&&!t?e.firstChild:e.parentNode?e.nextSibling||n(e.parentNode,!0,r):null}var r=e.native.startContainer.childNodes[e.native.startOffset]||e.native.startContainer,o=e.native.endContainer.childNodes[e.native.endOffset]||e.native.endContainer,i=null;if(t.filterLastBlotHalfSelection&&e.native.endContainer.nodeType!==Node.TEXT_NODE&&0===e.native.endOffset&&e.native.endContainer!==this.scroll.domNode){var a=!0,s=te(re(e.native.startContainer)),l=te(re(e.native.endContainer));if((s===l||l&&l.isEmbeddable)&&(a=!1),a){var c=re(i=e.native.endContainer);c&&(i=c.domNode)}}var u=null;o!==e.native.endContainer&&o!==e.native.startContainer&&(u=o);var d=[];if(r===o&&0===r.childNodes.length)d=[r];else if(e.start.node===e.end.node&&e.start.offset===e.end.offset)d=[e.start.node];else do{r===e.end.node&&r.nodeType===Node.TEXT_NODE&&0===e.end.offset||i&&(r===i||i.contains(r)||r.contains(i))||r!==u&&d.push(r)}while(r=n(r,!1,o));var p,f=d=d.map((function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e})),h=new Set,m=Qs(f);try{for(m.s();!(p=m.n()).done;){var g=p.value,y=s5.find(g,!0);h.add(y)}}catch(e){m.e(e)}finally{m.f()}return"Firefox"===this.editor.browser&&this.editor.mode===this.editor.constructor.MODE_READONLY?this.addBlotsIfNeed(Array.from(h)):Array.from(h)}},{key:"addBlotsIfNeed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=window.getSelection(),n=function(e){var n=Boolean(e.domNode),r=Boolean(e.children);return n&&t.containsNode(e.domNode)||r&&(e.children.head&&t.containsNode(e.children.head.domNode)||e.children.tail&&t.containsNode(e.children.tail.domNode))};return this.scroll.descendants((function(e){return e.isSelectable})).forEach((function(t){n(t)&&!e.some((function(e){return e.id&&e.id===t.id}))&&e.push(t)})),e}},{key:"isWithinNode",value:function(e){var t=getSelection();return!!t.rangeCount&&al(e,t.getRangeAt(0).commonAncestorContainer)}}])&&nl(t.prototype,n),r&&nl(t,r),e}();function al(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}var sl=n(34546);function ll(e){return e&&"/"===e[0]&&(e=document.location.protocol+"//"+document.location.host+e),e}function cl(e){return sl.parse(e).host}var ul=/(https?:\/\/[^\s]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,dl=/([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)/g,pl=/(?:^|\s)(([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?))(?:$|\s)/gm;function fl(e){return/^(http: \/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/g.test(e)}n(50915),n(58734);function hl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||bl(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 ml(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(n),!0).forEach((function(t){yl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ml(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e){return function(e){if(Array.isArray(e))return _l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bl(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 bl(e,t){if(e){if("string"==typeof e)return _l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_l(e,t):void 0}}function _l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wl(e){return(wl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cl(e,t){var n="";if("string"==typeof e.insert){n=e.insert,t&&t.trim&&(n=n.trim());var r=e.attributes;r&&(r.code&&(n="`"+n+"`"),r.bold&&(n="**"+n+"**"),r.italic&&(n="*"+n+"*"),r.strikethrough&&(n="~~"+n+"~~"),r.link&&(n="["+n+"]("+r.link+")"))}return"object"===wl(e.insert)&&"s"===e.insert.linebreak&&(n="\n"),n}function Sl(e,t){var n="";return e.ops.forEach((function(e){n+=Cl(e,t)})),n}function El(e){var t,n,r,o="";return e&&null!=e&&null!==(t=e.delta)&&void 0!==t&&null!==(n=t.ops)&&void 0!==n&&n.length&&null!=e&&null!==(r=e.delta)&&void 0!==r&&r.ops[0].insert.trim()&&(o+="\n\n"+Sl(e.delta).trim()+"\n\n"),o}function xl(e){for(var t=[],n=[],r=0;r<e.cols;r++){var o=e.content.columns[r].text;if(!o){var i=[],a=r||0;do{i.unshift((10+a%26).toString(36).toUpperCase()),a=Math.trunc(a/26)-1}while(a>-1);o=i.join("")}t.push(o)}for(var s=0;s<e.rows;s++){for(var l=[],c=0;c<e.cols;c++){var u,d,p=Sl((null===(u=e.content.rows[s])||void 0===u||null===(d=u.children[c])||void 0===d?void 0:d.delta)||{ops:[]},{trim:!0});l.push(p)}n.push(l)}var f="| ".concat(t.join(" | ")," |"),h="|".concat(Array(t.length).fill("---").join("|"),"|"),m=n.map((function(e){return"| ".concat(e.join(" | ")," |")})),g="\n"+[f,h].concat(vl(m)).join("\n");return"\n"+(g+=El(e.captionParams)).trim()+"\n"}function kl(e){var t,n,r=e["data-language"]||"",o="";null===(t=e.delta)||void 0===t||null===(n=t.ops)||void 0===n||n.forEach((function(e){"string"==typeof e.insert&&(o+=e.insert)}));var i="```"+r+"\n"+o.trim()+"\n```\n";return i+=El(e.captionParams)}function Ol(e){var t="";return"listItemBullet"!==e.type&&"listItemCheckbox"!==e.type||(t+="- "),"listItemNumber"===e.type&&(t+="".concat(e.params.counter,". ")),t+=Sl(e.params.delta).trim(),t+="\n","\t".repeat(e.indent||0)+t}function Tl(e){var t=Sl((null==e?void 0:e.delta)||{ops:[]})||"";return"hLarge"===e.textLineType&&(t="# "+t),"hMedium"===e.textLineType&&(t="## "+t),"hSmall"===e.textLineType&&(t="### "+t),t}function Al(e){var t,n,r="";if("textLine"===e.type)r+=Tl(gl(gl({},e.initParams),{},{textLineType:e.textLineType}))+"\n";else if("list"===e.type)r+=(t=e.items,n="",null==t||t.forEach((function(e){n+=Ol({type:e.type,indent:e.params.indent||0,params:{counter:e.params.counter,delta:e.params.delta}})})),n).trim()+"\n\n";else if("table"===e.type)r+=xl(e.initParams)+"\n";else if("syntax"===e.type)r+=kl(e.initParams);else if(["hLarge-toggle","hMedium-toggle","hSmall-toggle"].includes(e.type)){var o,i=hl(e.type.split("-"),1)[0];r+=Tl({delta:e.initParams.delta,textLineType:i}).trim(),null===(o=e.initParams.items)||void 0===o||o.forEach((function(e){r+=Al(e)}))}else{var a,s,l,c,u,d=Sl((null===(a=e.initParams)||void 0===a?void 0:a.delta)||(null===(s=e.params)||void 0===s?void 0:s.delta)||{ops:[]}).trim();if(d&&(r+=d+"\n\n"),null===(l=e.initParams)||void 0===l||null===(c=l.items)||void 0===c||c.forEach((function(e){r+=Al(e)})),null==e||null===(u=e.items)||void 0===u||u.forEach((function(e){r+=Al(e)})),e.initParams&&e.initParams.captionParams){var p=El(e.initParams.captionParams).trim();p&&(r+=p+"\n\n")}}return r}function Pl(e){return(Pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Il(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Il(e,t)}(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 Il(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ml(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nl(e,t,n){return(Nl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Fl(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Dl(e,t){return(Dl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fl(e);if(t){var o=Fl(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ll(this,n)}}function Ll(e,t){if(t&&("object"===Pl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Bl(e)}function Bl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fl(e){return(Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ul(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hl=(0,Rn.ZP)("space"),Vl=function(e){!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}}),t&&Dl(e,t)}(i,e);var t,n,r,o=jl(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Ul(Bl(t=o.call(this,e)),"mapObserver",(function(e){t.render()})),Ul(Bl(t),"execInBatch",(function(e){t.batch=!0;try{e(),t.updateBlock(null)}catch(e){throw e}finally{t.batch=!1}})),Ul(Bl(t),"textBaseOnTextChange",(function(e,n,r){if("yjs"!==r){var o=!!Ti(e)[0]&&Ti(e)[0].insert,i=t.scroll.selection.getRange({offsetBlot:Bl(t)})[0];if(1===e.changeLength()&&i){var a=Rl(t.children.find(i.index,!1),1)[0];a&&a.onTextChange&&a.onTextChange(i,o,Bl(t))}}})),t.isText=!0,t.cache={},t.batch=!1,t.emitter=new Oo,t._textLength=null,e.classList.add("editable-text"),t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.has("characters"))throw new Error("TextBase map already has characters, skip initMap");!n.align&&n.noDefaultAlign||e.set("align",n.align||"left"),e.set("characters",new t.types.Text),n.color&&e.set("color",n.color);var r=e.get("characters");n.delta?r.applyDelta(n.delta.ops):r.insert(0,"\n")}},{key:"formats",value:function(e){var t=a().query(this.blotName).tagName;if(e.tagName!==t)return a().Format.formats.call(this,e)}}],(n=[{key:"isEmpty",value:function(){return!Boolean(this.domNode.textContent)}},{key:"attach",value:function(){for(var e,t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=Nl(Fl(i.prototype),"attach",this)).call.apply(e,[this].concat(r));var a=this.scroll.editor.isEditable();!a&&this.scroll.ignoringUpdates&&this.scroll.resumeUpdates(),this._quillBinding||(this.delta(),this._quillBinding=new this.store.QuillBinding(this.map.get("characters"),this),this._quillBinding.init(),this.store.observe(this.map,this.mapObserver),this.scroll.emitter.on("SCROLL_UPDATE",(function(e,n,r){if(r.has(t)){var o=void 0;if(t.scroll.selectedBlocks.indexOf(t)>=0){var i=t.scroll.selection.getRange({relBlot:t});0===i.length&&(o=i.index)}zl.call(t,(function(){return t.updateBlock(null,n,o)}),e),t.scroll.editor.isEditable()||t.scroll.ignoringUpdates||t.scroll.ignoreUpdates()}})),this.on("text-change",this.textBaseOnTextChange))}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"off",value:function(){return this.emitter.removeListener.apply(this.emitter,arguments)}},{key:"render",value:function(){this.domNode.style.textAlign=this.textAlign}},{key:"textAlign",get:function(){return this.map.get("align")}},{key:"applyDelta",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api";return this.isEmpty(),this.length(),this.scroll.execInBatch((function(){(e=_i(e,{trimNewLines:!0})).reduce((function(e,r){var o=r.retain||r.delete||r.insert.length||1,i=r.attributes||{};if(null!=r.insert)if("string"==typeof r.insert){var s=r.insert;if(s=s.replace(/[\n]/g,"")){t.insertAt(e,s);var l=v()({},vi(t)),c=Rl(t.descendant(a().Leaf,e),1)[0];l=v()(l,vi(c)),i=qs().diff(l,i)||{},0==e&&"api"==n&&0!==s.length&&t.children.length>1&&"break"==t.children.head.constructor.blotName&&"BR"==t.domNode.firstChild.tagName&&t.domNode.firstChild.remove()}}else if("object"===Pl(r.insert)){var u=Object.keys(r.insert)[0];if(null==u)return e;t.insertAt(e,u,r.insert[u])}return Object.keys(i).forEach((function(n){t.formatAt(e,o,n,i[n])})),e+o}),0),e.reduce((function(e,n){if("number"==typeof n.delete){if(1==t.length()&&0==e){var r=a().create(t.statics.defaultChild);t.insertBefore(r,t.children.head),t.children.tail.remove()}else t.deleteAt(e,n.delete);return e}var o=n.retain||n.insert.length||1;return n.insert&&"string"==typeof n.insert&&(o=n.insert.replace(/[\n]/g,"").length),e+o}),0)}),n),this.updateBlock(e)}},{key:"delta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.cache.delta=this.descendants(a().Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),vi(t))}),new(c())).insert("\n"),e.forCopy?Ne(this.cache.delta.slice()):this.cache.delta.slice()}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api";return zl.call(this,(function(){e=new(c())(e);var r,o=t.length();r=1===o?new(c()):t.deleteAt(0,o);var i=t.applyDelta(e,n),a=i.ops[i.ops.length-1];return null!=a&&"string"==typeof a.insert&&"\n"===a.insert[a.insert.length-1]&&(t.deleteAt(t.length()-1,1),i.delete(1)),r.compose(i)}),n)}},{key:"updateContents",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"api";if(this.editor.plugins.undoManager&&this.editor.plugins.undoManager.isUndoingOrRedoing()){var n=new(c())(this.map.get("characters").toDelta()),r=this.delta().slice();if(Si(n),Si(r),0===n.diff(r).ops.length)return}var o=this.editor.scroll.selection,i=!Ws()(new(c())(this.cache.delta).compose(new(c())(e)),this.cache.delta);if(i){var a=!1;"remote"===t&&o.containsBlot(this)&&(a=!0);var s=o.lastRelPosition?$s(o.lastRelPosition):null,l=this.applyDelta(e,t);return a&&s&&o.setRange(s),this.scroll.emitter.emit("delta",{id:this.id,delta:e,source:t}),l}}},{key:"deleteAt",value:function(e,t){var n=this;return this._textLength=null,this.scroll.execInBatch((function(){if(0==e&&t==n.length()){var r=a().create(n.statics.defaultChild);n.children.forEach((function(e){e.remove()})),n.appendChild(r),n.optimize()}else Nl(Fl(i.prototype),"deleteAt",n).call(n,e,t)})),this.updateBlock((new(c())).retain(e).delete(t))}},{key:"formatAt",value:function(e,t,n,r){if(n.startsWith("comment-")&&!0===r){var o=n.split("-");n=o.shift(),r=JSON.stringify({threadId:o.shift(),color:o.length>1?o.join("-"):o.shift()})}if(Nl(Fl(i.prototype),"formatAt",this).call(this,e,t,n,r),!this.batch){var a=Ul({},n,r);return this.updateBlock((new(c())).retain(e).retain(t,a))}}},{key:"insertAt",value:function(){var e;this._textLength=null;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Nl(Fl(i.prototype),"insertAt",this)).call.apply(e,[this].concat(n))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.insertAt(e,t),Object.keys(r).forEach((function(o){n.formatText(e,t.length,o,r[o])})),this.updateBlock((new(c())).retain(e).insert(t,r))}},{key:"deleteText",value:function(e,t,n){var r=this,o=Rl(ql(e,t,n),4);return e=o[0],t=o[1],n=o[3],zl.call(this,(function(){return r.deleteAt(e,t)}),n,e,-1*t)}},{key:"formatText",value:function(e,t,n,r,o){var i,a=this,s=Rl(ql(e,t,n,r,o),4);return e=s[0],t=s[1],i=s[2],o=s[3],zl.call(this,(function(){return Rl(Object.keys(i).map((function(n){return"api"===o&&console.warn("Formatting id: "+a.id+" format: %s",e+" "+t+" "+n+" "+i[n]),a.formatAt(e,t,n,i[n])})),1)[0]}),o,e,0)}},{key:"clearFormat",value:function(e,t){var n=this,r=this.delta().slice(),o=new Set;r.forEach((function(e){if(e.attributes)for(var t=0,n=Object.keys(e.attributes);t<n.length;t++){var r=n[t];o.add(r)}})),["bold","italic","underline","strikethrough","color","size","font","link","background","code","placeholder"].forEach((function(r){o.has(r)&&n.formatText(e,t,r,!1,"user")}))}},{key:"length",value:function(){return null===this._textLength&&(this._textLength=Nl(Fl(i.prototype),"length",this).call(this)+1),this._textLength}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.descendants(a().Leaf,e,t),r=[n].map((function(e){if(0===e.length)return{};for(var t=vi(e.shift());Object.keys(t).length>0;){var n=e.shift();if(n instanceof ni&&(n=e.shift()),null==n)return t;t=bi(vi(n),t)}return t}));return v().apply(v(),r)}},{key:"getTextContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length()-t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){},o=ql(t,n),i=Rl(o,2);return t=i[0],n=i[1],this.getContents(t,n).filter((function(e){if("string"==typeof e.insert)return!0;if("object"===Pl(e.insert)){var t=a().query(Object.keys(e.insert)[0]);if(t&&t.getOpText)return!0}return!1})).map((function(t){var n=r(t);return n||a().query(Object.keys(t.insert)[0]).getOpText(t.insert,e&&e.children,e.editor)})).join("")}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length()-e;return this.getTextContent(e,t,(function(e){if("string"==typeof e.insert)return e.insert}))}},{key:"getMarkdown",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length()-e;return this.getTextContent(e,t,Cl)+"\n"}},{key:"getContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.cache.delta.slice(e,e+t);return n.forCopy?Ne(r):r}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Nl(Fl(i.prototype),"remove",this)).call.apply(e,[this].concat(n)),this._quillBinding&&this._quillBinding.destroy()}},{key:"optimize",value:function(e){this._textLength=null,this.children.length>1&&"break"===this.children.head.constructor.blotName&&(this.children.head.domNode,this.children.head.remove()),Nl(Fl(i.prototype),"optimize",this).call(this,e);var t=this.map?this.map.get("characters").toDelta():null;if(t&&0===t.length){var n=(new(c())).insert("\n");this.applyForCharacters(n.ops)}}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;"yjs"!==e&&"remote"!==e&&(Nl(Fl(i.prototype),"update",this).call(this,e,t),this.optimize())}},{key:"path",value:function(e){return Nl(Fl(i.prototype),"path",this).call(this,e,!0)}},{key:"updateBlock",value:function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this.cache.delta||new(c())([]);return this.cache.delta=this.delta(),e&&Ws()(n.compose(e),this.cache.delta)||(e=n.diff(this.cache.delta,t)),e.ops.length>0&&this.scroll.emitter.emit("BLOCK_UPDATE",{}),e}},{key:"exec",value:function(e){var t,n=!1;t=e.cache.blotRange&&e.cache.blotRange[this.id]?e.cache.blotRange[this.id]:this.selection.getRange({offsetBlot:this})[0];var r=e.params;if("set-align"===e.type)this.map.set("align",r),this.selection.focus(),n=!0;else if("clear-formatting"===e.type)this.clearFormat(t.index,t.length),n=!0;else if("add-link"===e.type){var o=r.url,i=o.match(/(?:(?:[a-z][a-z0-9+.-]*:)(?:.*))/gm),a=o;i||(a="http://"+o);var s=[{retain:t.index}];s.push({insert:r.text,attributes:{link:a}}),t.length>0?r.delete?(this.deleteText(t.index,t.length),this.map.get("characters").applyDelta(s)):this.formatText(t.index,t.length,"link",a,"user"):this.map.get("characters").applyDelta(s),r.callback&&r.callback({parent:this,range:t}),n=!0}else if("format"===e.type){var l=t.index,c=t.length,u=r.value;0===c?this.selection.format(r.style,u):this.formatText(l,c,r.style,u,"user"),n=!0}else"backspace"===e.type?n=this.textBaseProcessBackspace(e):"delete"===e.type&&(n=this.textBaseProcessDelete(e));return n}},{key:"textBaseProcessBackspace",value:function(e){var t=e.getBlotRange(this);if(t.length>0)throw new Error("textBase: Cannot process backspace on uncollapsed range");return 0!==t.index&&(e.dontRestoreSelection(),e.handleByBrowser(),!0)}},{key:"textBaseProcessDelete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0===t.allowRemove&&(t.allowRemove=!0);var n=this.length(),r=e.getBlotRange(this);return(0!==r.length||r.index!==n-1)&&(0===r.length?(e.dontRestoreSelection(),e.handleByBrowser()):this.map.get("characters").applyDelta([{retain:r.index},{delete:r.length}]),!0)}},{key:"textBaseOnSpaceKey",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.selection.getRange(),r=Rl(n,1),o=r[0];if(o&&0===o.length){var i=this.selection.getRange({offsetBlot:this}),a=Rl(i,1),s=a[0],l=this.selection.cursor.isCursorAttached&&this.selection.getNativeRange().start.node===this.selection.cursor.textNode,c=l?this.selection.cursor.getFormat():this.getFormat(s.index-1,1),u=!this.dontConvertLinks&&this.tryConvertLink(s,t),d=!1;!u&&Object.keys(c).length&&(u=!0,c.placeholder||(d=!0)),u&&(e&&e.preventDefault(),d?this.insertText(s.index," ",c):this.insertAt(s.index," "),o.index++,this.selection.setRange(o))}}},{key:"deleteAsAltBackspace",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if("string"!=typeof t)return{str:"",cursor:0};var r=t.slice(0,e),o=t.slice(e),i="";if("alt"===n){var a=r.split(" "),s=a.pop();s&&a.length&&a.push(""),i=[r=a.length?a.join(" "):"",o].join("")}else r="",i=o;return{str:i,cursor:r.length}}},{key:"handleKeyDown",value:function(e){if(Hl(e)&&"mobile"!==this.editor.options.keyboardMode)return this.textBaseOnSpaceKey(e);var t=this.getContents(0,this.length()),n=!1;if(1===t.ops.length&&(n=!0),2===t.ops.length&&"string"==typeof t.ops[1].insert&&""===t.ops[1].insert.trim()&&(n=!0),(e.altKey||e.metaKey||e.ctrlKey)&&"Backspace"===e.code&&(n||e.metaKey)){e.preventDefault();var r=this.length()-1,o=e.altKey||e.ctrlKey?"alt":"",i=Rl(this.selection.getRange(),2),a=i[0].index,s=i[1],l=s.start.offset,c=s.end.offset,u=t.ops[0].attributes,d=void 0===u?{}:u,p=this.deleteAsAltBackspace(c,t.ops[0].insert,o),f=p.str,h=p.cursor;this.map.get("characters").applyDelta([{delete:r}]),this.map.get("characters").applyDelta([{insert:f,attributes:d}]),this.selection.setRange({index:a-l+h,length:0})}}},{key:"tryConvertLink",value:function(e,t){var n=e.index,r=0;t&&n&&(n-=1);for(var o=this.getText(n-1,1);" "!==o&&"\n"!==o&&0!==n;)n--,r++,o=this.getText(n-1,1);var i=this.getText(n,r);if(this.getFormat(n,1).link)return!0;var a=i.match(ul);if(a&&a.length){0!==i.indexOf(a[0])&&(n+=i.indexOf(a[0]),r=a[0].length);var s=-1!=i.search("http")?a[0]:"http://"+i;return this.formatText(n,r,"link",s,"user"),!0}var l=i.match(dl);if(l&&l.length){var c=-1!=i.search("mailto:")?i:"mailto:"+i;return this.formatText(n,r,"link",c,"user"),!0}return!1}},{key:"applyForCharacters",value:function(e){this.map.get("characters").applyDelta(e)}},{key:"detach",value:function(){Nl(Fl(i.prototype),"detach",this).call(this),this._quillBinding&&(this._quillBinding.destroy(),this._quillBinding=null),this.store.unobserve(this.map,this.mapObserver)}},{key:"toHTML",value:function(e){if(!this.children.length)return"<br>";var t=[];return this.children.forEach((function(n){if(n instanceof U)t.push(mi(n.value()));else{var r="";n.toHTML?r=n.toHTML(e):n.domNode&&(r=n.domNode.outerHTML),t.push(r)}})),t.join("")}},{key:"getBlotInsertParams",value:function(e,t){var n=this.scroll.selectedBlocks,r=Nl(Fl(i.prototype),"getBlotInsertParams",this).call(this,e,t),o=!e||e.length<0||n.indexOf(this)!==n.length-1&&e.length<1?this.getContents(0,this.length(),{forCopy:!0}).insert("\n"):this.getContents(e.index,e.length,{forCopy:!0}).insert("\n");return o.ops[o.ops.length-1].insert.endsWith("\n\n")&&(o=o.slice(0,o.length()-1)),(0,fe.Ee)(r,{type:"textLine",initParams:{align:this.map.get("align"),delta:o}})}}])&&Ml(t.prototype,n),r&&Ml(t,r),i}(g);function zl(e,t,n,r){var o=null==n?null:this.scroll.getSelection(),i=this.cache.delta.slice(),a=e();if(null!=o&&this.scroll.update(),a.length()>0){if(1===a.ops.length&&a.ops[0].delete&&"paragraph"===this.constructor.blotName){var s=i.length();(a.ops[0].delete===s||a.ops[0].delete===s-1)&&s>2&&this.editor.plugins.debugLogger.captureException(new Error("Potentially lost user text(bug investigation process)"))}var l,c=["text-change",a,i,t];if(this.scroll.emitter.emit("delta",{id:this.id,delta:a,source:t}),"silent"!==t)(l=this.emitter).emit.apply(l,c)}return a}function ql(e,t,n,r,o){var i={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(o=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(o=r,r=n,n=t,t=0),"object"===Pl(n)?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),[e,t,i,o=o||"api"]}Vl.defaultChild="break",Vl.allowedChildren=[Yo,ni,U,Lo,Li,Qt,ma,Ae,Oa,Vs],Vl.canExecActions=["set-align","clear-formatting","add-link","format","set-background","backspace","delete","begin-mention"];const Gl=Vl;function Wl(e){return(Wl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yl(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Kl(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Zl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Kl(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 Kl(e,t){if(e){if("string"==typeof e)return $l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$l(e,t):void 0}}function $l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ql(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xl(e,t,n){return(Xl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=rc(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Jl(e,t){return(Jl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ec(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rc(e);if(t){var o=rc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tc(this,n)}}function tc(e,t){if(t&&("object"===Wl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return nc(e)}function nc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rc(e){return(rc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ic=(0,Rn.ZP)("enter"),ac=(0,Rn.ZP)("shift+enter"),sc=(0,Rn.ZP)("tab"),lc=(0,Rn.ZP)("shift+tab"),cc={bold:"**",italic:"*",strikethrough:"~",underline:"__",code:"`"},uc={hLine:"---",syntax:"```",hLarge:"#",hMedium:"##",hSmall:"###",list:{listItemBullet:["*","+","-"],listItemNumber:"1.",listItemCheckbox:"[]"},blockquote:'"'},dc=function(e){!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}}),t&&Jl(e,t)}(i,e);var t,n,r,o=ec(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),oc(nc(t=o.call(this,e)),"lastBlotHeightSet",!1),oc(nc(t),"onDocumentTextLineMouseUp",(function(e){if(!t.isBlotLocked){var n=t.editor&&t.editor.plugins&&t.editor.plugins.mentionManager;if(t.isFocusedClassSet()&&n){var r=t.scroll.selection.getRange({offsetBlot:nc(t)})[0];if(r){var o=r.index>0?t.getText(r.index-1,1):null,i=r.index>0?t.getText(r.index-2,1):null,a=t.getText(r.index,1);"@"===o&&!n.session&&t.editor.isEditable()&&(1!==r.index&&" "!==i&&"\n"!==i||" "!==a&&a&&"\n"!==a||n&&t.editor.plugins.mentionManager.start(nc(t),r))}}}})),oc(nc(t),"textLineOnTextChange",(function(e,n,r){if("yjs"!==r){var o=!!Ti(e)[0]&&Ti(e)[0].insert,i=t.scroll.selection.getRange({offsetBlot:nc(t)})[0],a=!t.disallowMarkDown;if(a&&Object.keys(t.editor.options).includes("markdown")&&(a=t.editor.options.markdown),t.editor.mode===ype&&(a=!1),a&&1===e.changeLength()&&i&&t.tryConvertMarkdown(o,i),!t.editor.plugins.mentionManager.session&&1===e.changeLength()&&i){var s=i.index>1?t.getText(i.index-2,1):null,l=t.getText(i.index,1);"\n"===l&&(l=null),"@"!==o||t.disallowMention||1!==i.index&&" "!==s&&"\n"!==s||" "!==l&&l||t.editor.plugins.mentionManager.start(nc(t),i),"/"===o&&t.editor.plugins.convertBlotManager&&t.editor.plugins.convertBlotManager.options.enabled&&(1!==i.index&&" "!==s&&"\n"!==s||" "!==l&&l||t.editor.plugins.convertBlotManager.start(nc(t),i)),1===i.index&&e.ops[0].attributes&&e.ops[0].attributes.link&&t.formatAt(0,1,"link",!1),t.editor.emitter.emit("character-input",{character:o,prev:s,next:l,blotId:t.id})}}})),t.isSeparableByClickApplicable=!0,t}return t=i,r=[{key:"initMap",value:function(e,t,n){Xl(rc(i),"initMap",this)&&Xl(rc(i),"initMap",this).call(this,e,t,n),e.has("indent")||(this.getMaxIndent?e.set("indent",Math.min(n.indent||0,this.getMaxIndent())):e.set("indent",Math.min(n.indent||0,this.textLineGetMaxIndent())))}},{key:"textLineGetMaxIndent",value:function(){return 5}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Xl(rc(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.on("text-change",this.textLineOnTextChange);var o=this.editor&&this.editor.plugins&&this.editor.plugins.mentionManager;this.domNode&&o&&this.domNode.addEventListener("mouseup",this.onDocumentTextLineMouseUp.bind(this),!1)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Xl(rc(i.prototype),"detach",this)).call.apply(e,[this].concat(n));var o=this.editor&&this.editor.plugins&&this.editor.plugins.mentionManager;this.domNode&&o&&this.domNode.removeEventListener("mouseup",this.onDocumentTextLineMouseUp,!1)}},{key:"textLineAddBlotParams",value:function(e){return e}},{key:"textLineAddNextBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.map.get("indent"),r=Object.assign(e,this.textLineAddBlotParams({indent:e.hasOwnProperty("indent")?e.indent:n,after:this.id}));return t=t||this.constructor.blotName,this.parent.addBlot(t,r)}},{key:"textLineSplit",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.selection.getRange({offsetBlot:this}),o=Zl(r,1),i=o[0],a=this.getFormat(i.index,1);Object.keys(a).map((function(e){t.selection.format(e,!1)}));var s=null,l=this.split(e,!0);l&&l!==this.next&&(l.parent=this.parent,s=l.delta(),this.scroll.update());var c={delta:s};n.focus&&(c.focus={index:0}),this.textLineAddNextBlot(c)}},{key:"textLineOnEnterKey",value:function(e){console.groupCollapsed("textLine: handle ENTER key");var t=this.scroll.selection.getNativeRange();if(t){var n=!0;if("mobile"===this.editor.options.keyboardMode&&t.start.node==t.end.node&&t.start.node.length===t.start.offset&&this.parent&&this.parent===this.scroll&&(n=!1),n&&e.preventDefault(),t.start.node==t.end.node){this.editor.plugins.undoManager.stopCapturing();var r=Zl(this.selection.getRange({offsetBlot:this}),1)[0];this.tryConvertLink(r),n&&this.textLineSplit(r.index,{focus:!0})}return console.groupEnd(),!0}e.preventDefault()}},{key:"textLineOnShiftEnterKey",value:function(e){var t=Zl(this.selection.getRange({offsetBlot:this}),1)[0],n=Zl(this.selection.getRange(),2),r=n[0],o=(n[1],this.selection.getNativeRange());if(o.start.node==o.end.node&&o.start.offset==o.end.offset)return this.tryConvertLink(t),this.map.get("characters").applyDelta([{retain:t.index},{insert:{linebreak:"s"}}]),e.preventDefault(),r.index++,this.selection.setRange(r),!0}},{key:"addTabToRange",value:function(e,t){this.map.get("characters").applyDelta([{retain:e.index},{delete:e.length},{insert:"\t"}]),this.selection.setRange({index:t.index+1,length:0})}},{key:"textLineOnTabKey",value:function(e){var t=!1,n=Zl(this.selection.getRange({offsetBlot:this}),1)[0];if((t=this.scroll.selectedBlocks.length>1)||(t=0===n.index),t)this.addIndent();else{var r=Zl(this.selection.getRange(),1)[0];this.addTabToRange(n,r)}return e.preventDefault(),!0}},{key:"textLineOnShiftTabKey",value:function(e){var t=!1,n=Zl(this.selection.getRange({offsetBlot:this}),1)[0];if((t=this.scroll.selectedBlocks.length>1)||(t=0===n.index),t)this.removeIndent();else{var r=Zl(this.selection.getRange(),1)[0];this.addTabToRange(n,r)}return e.preventDefault(),!0}},{key:"textLineOnBackspace",value:function(e){var t=!1,n=e.getBlotRange(this);if(0===n.index&&this.map.get("indent")>0&&(this.removeIndent(),e.dontRestoreSelection(),t=!0),0!==n.index&&0===n.length){var r=this.getContents(n.index-1,1).ops[0].insert,o=Zl(Object.keys(r),1)[0];r instanceof Object&&$.includes(o)&&(this.map.get("characters").applyDelta([{retain:n.index-1},{delete:1}]),t=!0)}return t}},{key:"handleInput",value:function(e){if(this.isMobileKeyDown&&this.parent&&this.parent!==this.scroll){if(e.data&&"\n"===e.data.substr(e.data.length-1,1)){this.domNode.nextSibling&&""===this.domNode.nextSibling.innerText.trim()&&(this.domNode.nextSibling.id&&this.domNode.nextSibling.id!==this.id||this.domNode.nextSibling.remove()),this.focusableFocus();var t=this.scroll.selection.getRange(this);this.scroll.selection.setRange({index:t[0].index+this.length()-1,length:0});var n=new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,key:"Enter",keyCode:13});this.domNode.dispatchEvent(n)}this.isMobileKeyDown=!1}}},{key:"handleKeyDown",value:function(e){if(!this.isBlotLocked)return"mobile"===this.editor.options.keyboardMode&&(this.isMobileKeyDown=229===e.keyCode),ic(e)?this.textLineOnEnterKey(e):ac(e)?this.blotConfig&&this.blotConfig.disableShiftEnter?this.textLineOnEnterKey(e):this.textLineOnShiftEnterKey(e):sc(e)?this.textLineOnTabKey(e):lc(e)?this.textLineOnShiftTabKey(e):Xl(rc(i.prototype),"handleKeyDown",this).call(this,e)}},{key:"render",value:function(){Xl(rc(i.prototype),"render",this).call(this);for(var e=this.map.get("indent"),t=this.constructor.textLineGetMaxIndent(),n=0;n<=t;n++){var r="indent-"+n;n===e?this.domNode.classList.add(r):this.domNode.classList.remove(r)}if(this.editor.options.setHeightForLastTextLine){var o=!0;if(this.props.focused&&this.cache&&this.cache.delta){var a=this.cache.delta;if(a.ops&&1===a.ops.length&&"\n"===a.ops[0].insert&&this.parent.children.tail===this){var s=(0,H.Dx)(this.domNode,"height","px");s&&(this.domNode.style.minHeight=s+"px",this.lastBlotHeightSet=!0,o=!1)}}o&&this.lastBlotHeightSet&&(this.domNode.style.minHeight="",this.lastBlotHeightSet=!1)}}},{key:"exec",value:function(e){return!("backspace"!==e.type||!this.textLineOnBackspace(e))||Xl(rc(i.prototype),"exec",this).call(this,e)}},{key:"appendChild",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0];this.children.tail instanceof ni&&"h"===this.children.tail.value().linebreak&&o&&o.length&&o.length()&&this.children.tail.remove(),(e=Xl(rc(i.prototype),"appendChild",this)).call.apply(e,[this].concat(n))}},{key:"split",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.children.forEachAt(e,this.length(),(function(e,r,o){e=e.split(r,t),n.appendChild(e)})),n}},{key:"getRightClickMenu",value:function(e){var t=this,n=Zl(this.selection.getRange({offsetBlot:this}),1)[0];if(n){e.push({id:"link",icon:"fa-link",title:"link...",func:function(){gi(t.editor)},commandKey:!0,keys:"K"});var r={start:this.getFormat(n.index,1),end:this.getFormat(n.index+n.length-1,1)},o=r.start,i=r.end;o.link&&o.link===i.link&&e.push.apply(e,[{id:"open-link",icon:"fa-external-link",title:"Open link",func:function(){window.open(o.link,"noopener")},commandKey:!1,keys:("Mac OS"==this.editor.platform?"Option":"Alt")+"+Enter"},{id:"copy-url",icon:"fa-clone",title:"Copy url",func:function(){t.editor.plugins.copyManager.copy(o.link)},commandKey:!1,keys:!1}]),n.length>0&&e.push({id:"clear-format",icon:"fa-trash-o",title:"clear formatting",func:function(){t.editor.exec("clear-formatting")},commandKey:!0,keys:"/"})}return e}},{key:"optimize",value:function(){Xl(rc(i.prototype),"optimize",this).call(this),this.children.tail instanceof ni&&("s"===this.children.tail.value().linebreak?this.appendChild(a().create("linebreak")):!this.children.tail.prev||this.children.tail.prev instanceof ni||this.children.tail.remove())}},{key:"tryConvertMarkdown",value:function(e,t){var n=this,r=function(){n.editor.plugins.undoManager.stopCapturing(),n.editor.plugins.undoManager.captureRange()},o=function(o){var i=cc[o].length,a=!1;if(n.length()-1<2*i+1)return!1;var s=n.getText(t.index-i,i)===cc[o];if(s){var l=n.getText(t.index-i-1,1);s=" "!==l&&(i>1||l!==e)}if(s){for(var c=n.getText(t.index-2*i,i),u=t.index-i-1;c!==cc[o]&&u>0;)u--,c=n.getText(u,i);if(c===cc[o]){var d=0!==u&&n.getText(u-1,1);if(" "!==n.getText(u+i,1)&&(0===u||" "===d)){var p=n.getText(u+i,t.index-u-2*i);p&&(r(),n.deleteAt(t.index-i,i),n.deleteAt(u,i),n.formatText(u,p.length,o,!0),n.selection.setRange({index:n.offset(n.scroll)+t.index-2*i,length:0}),n.selection.format(o,!1),a=!0)}}}return a};switch(e){case"*":o("italic")||o("bold");break;case"~":o("strikethrough");break;case"_":o("underline");break;case"`":o("code");break;case">":"-"===(t.index>1?this.getText(t.index-2,1):null)&&this.convertArrow();break;case" ":"paragraph"===this.constructor.blotName&&function(e,t){var o=n.getText().trim();for(var i in uc)if("string"==typeof uc[i]){if(o===uc[i]){r(),n.deleteAt(0,uc[i].length+1),n.container.containerConvertBlots([n],{type:i});break}}else for(var a in uc[i])if("string"==typeof uc[i][a]){if(o===uc[i][a]||"list"===i&&o.startsWith(uc[i][a]+" ")){var s=uc[i][a].length,l=t.index-s-1;if(" "===e&&0===l){r(),n.deleteAt(0,uc[i][a].length+1),n.container.containerConvertBlots([n],{type:i,items:[a]});break}}}else{var c,u=Yl(uc[i][a]);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(o===d||"list"===i&&o.startsWith(d+" ")){var p=d.length,f=t.index-p-1;if(" "===e&&0===f){r(),n.deleteAt(0,d.length+1),n.container.containerConvertBlots([n],{type:i,items:[a]});break}}}}catch(e){u.e(e)}finally{u.f()}}}(e,t)}}},{key:"convertArrow",value:function(){var e=Zl(this.scroll.selection.getRange(),1)[0],t=Zl(this.scroll.selection.getRange({offsetBlot:this}),1)[0],n=this.getFormat(t.index-1,1);this.map.get("characters").applyDelta([{retain:t.index-2},{delete:2},{insert:"→",attributes:n}]),e.index-=1,this.scroll.selection.setRange(e)}},{key:"beforeCopyContent",value:function(){this.map.get("color")&&"transparent"!==this.map.get("color")||(this.domNode.style.transition="unset",this.domNode.style.background="transparent !important"),this.scroll.selection.setRange({index:this.offset(this.scroll),length:this.length()-1})}},{key:"afterCopyContent",value:function(){this.map.get("color")&&"transparent"!==this.map.get("color")||(this.domNode.style.removeProperty("transition"),this.domNode.style.removeProperty("background"))}}])&&Ql(t.prototype,n),r&&Ql(t,r),i}(Gl);dc.defaultChild=Gl.defaultChild,dc.allowedChildren=Gl.allowedChildren,dc.canExecActions=Gl.canExecActions.slice();const pc=dc,fc={};function hc(e){return(hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bc(e,t,n){return(bc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Sc(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function _c(e,t){return(_c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sc(e);if(t){var o=Sc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Cc(this,n)}}function Cc(e,t){if(t&&("object"===hc(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 Sc(e){return(Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Ec=function(e){return function(e){!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}}),t&&_c(e,t)}(i,e);var t,n,r,o=wc(i);function i(){yc(this,i);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.call.apply(o,[this].concat(t))}return t=i,r=[{key:"setCommentThreads",value:function(e,t){if(e)if(e.map.has("commentThreads"))t.commentThreads=e.map.get("commentThreads");else if(e.editor){var n=e.editor.plugins.commentManager.comments.find((function(t){return t.blotId===e.id}));n&&(t.commentThreads=n.threadId)}}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};bc(Sc(i),"initMap",this)&&bc(Sc(i),"initMap",this).call(this,e,t,n),n.commentThreads&&e.set("commentThreads",n.commentThreads)}}],(n=[{key:"commentBlock",value:function(){var e=this,t=this.editor.plugins.commentManager;if(t&&t.openComments){var n=t.comments.find((function(t){var n=t.blotId,r=t.target;return n===e.id&&"blot"===r})),r={};n&&(r.threadId=n.threadId),t.openComments(this.id,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mc(Object(n),!0).forEach((function(t){gc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({target:"blot"},r)).then((function(n){var r=n.threadId;n.isNew&&t.constructor.addThreadToBlot(e,r)}))}}},{key:"contextMenu",get:function(){var e=this.editor.plugins.i18n,t=bc(Sc(i.prototype),"contextMenu",this);return this.editor.plugins.commentManager&&this.editor.plugins.commentManager.options.enabled&&(t.comment={label:e.get("block_menu.comment_block"),index:-21,group:0,action:"commentBlock",stackable:!1}),t}}])&&vc(t.prototype,n),r&&vc(t,r),i}(e)};function xc(e){return(xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kc(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Oc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oc(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Oc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pc(e,t){return(Pc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Dc(e);if(t){var o=Dc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ic(this,n)}}function Ic(e,t){if(t&&("object"===xc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Mc(e)}function Mc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nc(e,t,n){return(Nc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Dc(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Dc(e){return(Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lc=function e(t){return function(t){!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}}),t&&Pc(e,t)}(a,t);var n,r,o,i=Rc(a);function a(){var e;Tc(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jc(Mc(e=i.call.apply(i,[this].concat(n))),"onChildrenUpdated",(function(t){var n="remote"===t._transaction.origin;n&&e.scroll.update(),e.render(),n&&e.scroll.update(void 0,void 0,"remote");var r=new Set,o=new Set;t._transaction.changed.forEach((function(n,i){if(i instanceof e.rootStore.types.Array&&i!==t.target){var a,s=new e.rootStore.Y.YEvent(i,t._transaction),l=kc(s.changes.added);try{for(l.s();!(a=l.n()).done;){var c=a.value;c.content&&c.content.arr&&"string"==typeof c.content.arr[0]&&r.add(c.content.arr[0])}}catch(e){l.e(e)}finally{l.f()}var u,d=kc(s.changes.deleted);try{for(d.s();!(u=d.n()).done;){var p=u.value;p.content&&p.content.arr&&"string"==typeof p.content.arr[0]&&o.add(p.content.arr[0])}}catch(e){d.e(e)}finally{d.f()}}}));var i,a=kc(t.changes.added);try{for(a.s();!(i=a.n()).done;){var s=i.value.content.arr[0];o.has(s)||e.editor.emit(bpe,{id:s})}}catch(e){a.e(e)}finally{a.f()}var l,c=kc(t.changes.deleted);try{for(c.s();!(l=c.n()).done;){var u=l.value.content.arr[0];r.has(u)||e.editor.emit(vpe,{id:u})}}catch(e){c.e(e)}finally{c.f()}})),e.isContainer=!0,e._onceRenderedActions=[],e}return n=a,o=[{key:"initMap",value:function(t,n,r){Nc(Dc(a),"initMap",this)&&Nc(Dc(a),"initMap",this).call(this,t,n,r),e.initMap(t,n,r)}}],(r=[{key:"containerChildren",get:function(){var e=this.map;return this.map.has("subDoc")?this.subDoc.getArray("rootChildren"):e.get(this.getChildrenKey())}},{key:"getChildrenKey",value:function(){var e="children";return this.childrenKey&&(e=this.childrenKey),e}},{key:"setChildrenListener",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._childrenListenerSet||(this._childrenListenerSet=!0,(t=t||this.rootStore).observe(this.containerChildren,this.onChildrenUpdated))}},{key:"removeChildListener",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this._childrenListenerSet){this._childrenListenerSet=!1,t=t||this.rootStore;var n=e.get(this.containerChildren);n&&t.unobserve(n,this.onChildrenUpdated)}}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Nc(Dc(a.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.map&&this.editor.options.render&&(this.render(),this.setChildrenListener(this.map))}},{key:"detach",value:function(){for(var e,t=this.rootStore,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=Nc(Dc(a.prototype),"detach",this)).call.apply(e,[this].concat(r)),this.map&&this.editor.options.render&&this.removeChildListener(this.map,t)}},{key:"getChildrenStore",value:function(){var e=this.subDoc,t=this.rootStore;return e&&(t=this.rootStore.getSubStore(e)),t}},{key:"insertBefore",value:function(e,t){if(e.map||e.constructor.notStored)Nc(Dc(a.prototype),"insertBefore",this).call(this,e,t);else{var n=e.domNode;if(n.parentNode&&n.parentNode.removeChild(n),!this.constructor.allowedChildren||this.constructor.allowedChildren.indexOf(fc.ParagraphAbstract)<0)return;console.info("fixing blot attached not via Editor",n);var r={before:t?t.id:null},o=n.innerText&&n.innerText.trim();if("mobile"===this.editor.options.keyboardMode&&o){r.delta={ops:[{insert:o}]};var i=this.addBlot("paragraph",r).id,s=this.editor.findById(i);this.scroll.selection.setRange({index:s.offset(this.scroll)+o.length,length:0})}else this.addBlot("paragraph",r)}}},{key:"getChildIndex",value:function(e){var t,n=0,r=kc(this.containerChildren);try{for(r.s();!(t=r.n()).done;){if(e===t.value)return n;n++}}catch(e){r.e(e)}finally{r.f()}return-1}},{key:"_onceRendered",value:function(e){this._onceRenderedActions.push(e)}},{key:"removeChildById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getChildIndex(e);this.removeChildByIndex(n,t)}},{key:"addChildById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasOwnProperty("index")?t.index:-1;if(t.after){var r=this.getChildIndex(t.after);r>=0&&(n=r+1)}if(t.before){var o=this.getChildIndex(t.before);o>=0&&(n=o)}n>=0?this.containerChildren.insert(n,[e]):this.containerChildren.push([e])}},{key:"removeChildByIndex",value:function(e){e>=0&&(this.containerChildren.get(e),this.containerChildren.delete(e))}},{key:"moveChild",value:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof Object&&(e=(n=e).id);var i=e;n||(n=this.editor.findById(e));var a=this.getChildrenStore(),s=n.store;return a.transaction((function(){if(n){var l=n,c=e;if(n.beforeMove){var u=n.beforeMove(r,{index:t},o);u&&(void 0!==u.id&&(i=u.id),u.removeBlot&&(c=(l=u.removeBlot).id))}var d=r.getChildIndex(c);if(d>=0)r.containerChildren.delete(d),t>d&&t--;else{var p=l.container;p&&p.removeChildById(c,!0),a.getMap(n.map.get("id"))||a.copyBlotMap(n.map,s)}i&&(t=Math.min(t,r.containerChildren.length),r.containerChildren.insert(t,[i]))}else console.error("cant find blot for move!",e,n)})),this.render(),n.afterMove&&n.afterMove(this,{index:t},o),i}},{key:"addBlot",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.editor.plugins.limitManager,o=s5.query(e);if(o||console.error("Couldn't find blot type",e),o.verify&&o.verify(n),r&&!r.canAddBlot({type:e,alert:!0}))return!1;var i,a=this.getChildrenStore();return a.transaction((function(){var e=a.createMapForBlot(o,n),r=n.hasOwnProperty("index")?n.index:-1;if(n.after){var s=t.getChildIndex(n.after);s>=0&&(r=s+1)}if(n.before){var l=t.getChildIndex(n.before);l>=0&&(r=l)}n.focus&&t._onceRendered({id:e.get("id"),focus:n.focus}),r>=0?t.containerChildren.insert(r,[e.get("id")]):t.containerChildren.push([e.get("id")]),i=e.get("id")})),{id:i}}},{key:"onChildDetached",value:function(e){if(!this.editor.destroyed){var t=ie(e,(function(e){return e.isCollapsibleContainer}));t&&!this.editor.findById(t.id)||ie(e,(function(e){return e._removedByContainer}))||e.id&&this.removeChildById(e.id)}}},{key:"getChildrenMap",value:function(){for(var e=new Map,t=this.children.head;t;)e.set(t.id,t),t=t.next;return e}},{key:"getBlotById",value:function(e){for(var t=this.children.head;t;){if(t.id===e)return t;t=t.next}return null}},{key:"getChildBlotsForExec",value:function(){var e=[];return this.children.forEach((function(t){t.exec&&e.push(t)})),e}},{key:"containerConvertBlots",value:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.editor.plugins.limitManager,a=!1,s=s5.query(t.type),l=e.map((function(e){return e.id})),c=kc(e);try{for(c.s();!(n=c.n()).done;){var u=n.value;u.onConvertBlot&&u.onConvertBlot()}}catch(e){c.e(e)}finally{c.f()}var d=[];this.selection.pushRange();var p=!0;o.batch&&this.scroll.batchStart();var f=this.getChildrenStore();try{i&&i.freeze(),f.transaction((function(){var n=!0;if(s.convertBlots){n=!1;var o=s.convertBlots(l,f,{params:t,container:r});if("default"===o)n=!0;else if(!0===o)e.every((function(e){return e instanceof pc}))&&pc.isPrototypeOf(s)||(p=!1),a=!0;else if(o){var i,c=0!==o.removeBlots.length?r.getChildIndex(l[0]):r.getChildIndex(l[l.length-1])+1,u=kc(o.removeBlots);try{for(u.s();!(i=u.n()).done;){var h=i.value;r.editor.findById(h).container.removeChildById(h)}}catch(e){u.e(e)}finally{u.f()}var m,g=kc(o.insertBlots);try{for(g.s();!(m=g.n()).done;){var y=m.value;y?(r.containerChildren.insert(c++,[y]),d.push(y)):console.error("empty id element",y,"was passed into convert result -> insertBlots",o)}}catch(e){g.e(e)}finally{g.f()}o.focus&&(p=!1,r._onceRendered(o.focus)),a=!0}}if(n&&1===e.length){var v=e[0];f.transaction((function(){var e=Object.assign({},t);if(e.indent=v.map.get("indent"),v.isEmpty&&v.isEmpty()||e.replaceBlotId){var n=e.replaceBlotId?e.replaceBlotId:v.id,o=r.getChildIndex(n);e.index=o,r.removeChildById(n)}else e.after=v.id;Ec(Object).setCommentThreads(v,e);var i=r.addBlot(t.type,e).id;d.push(i),e.focus&&(p=!1,r._onceRendered(e.focus))})),a=!0}}))}catch(e){throw e}finally{o.batch&&this.scroll.batchEnd(),i&&i.unfreeze()}return p&&this.selection.popRange(),{processed:a,addedIds:d}}},{key:"exec",value:function(e){var t=e.selectedBlots,n=e.params,r=!!Nc(Dc(a.prototype),"exec",this)&&Nc(Dc(a.prototype),"exec",this).call(this,e);if("insert-block"===e.type)this.addBlot(n.type,n),r=!0;else if("convert-blot"===e.type){t=t.filter((function(e){return!e.isBlotLocked&&!e.isSelectableBlotChild}));var o=this.containerConvertBlots(t,n,{batch:n.batch});(r=o.processed)&&e.addResult({addedIds:o.addedIds})}return r}},{key:"renderFast",value:function(){if(this.containerChildren&&this.containerChildren.length!==this.children.length){var e,t=kc(this.containerChildren);try{for(t.s();!(e=t.n()).done;){var n=e.value,r=this.store.getMap(n),o=s5.query(r.get("type")),i=r.get("type"),a=o.createBlot?o.createBlot(this.editor):s5.create(i);a.map=r,a.scroll=this.scroll,this.insertBefore(a)}}catch(e){t.e(e)}finally{t.f()}}}},{key:"subDoc",get:function(){var e=ie(this,(function(e){return!!e.map&&e.map.has("subDoc")}));return!!e&&this.rootStore.subDocs.get(e.map.get("subDoc"))}},{key:"render",value:function(){var e=this;if(this.editor.options.render){Nc(Dc(a.prototype),"render",this)&&Nc(Dc(a.prototype),"render",this).call(this);var t=this.getChildrenStore(0);if(this.map.has("subDoc")){var n=this.subDoc;if(n.shouldLoad||n.load(),!n.loaded){if(!this.children.head){var r=s5.create("loader");this.insertBefore(r,this.children.head),n.on("loaded",(function(){e.onSubDocLoaded&&e.onSubDocLoaded(),e.render()}))}return}}if(!this.dontRenderChilden){if(this.containerFixedChildren)return this.renderFast();var o,i=this.containerChildren?this.containerChildren.toArray():[],s=this.getChildrenMap(),l=new Set,c=kc(i);try{for(c.s();!(o=c.n()).done;){var u=o.value;l.add(u)}}catch(e){c.e(e)}finally{c.f()}for(var d=this.children.head;d;)l.has(d.id)||(d._removedByContainer=!0,d.remove()),d=d.next;for(var p=0;p!=i.length;p++){var f=p>0?i[p-1]:null,h=i[p],m=s.get(h);if(m){if((m.prev?m.prev.id:null)!==f)if(null===f)this.insertBefore(m,this.children.head);else{var g=f&&s.get(f),y=g&&g.next;m!==y&&this.insertBefore(m,y)}}else{var v=t.getMap(h);if(!v){console.warn("childMap is ",v," for ",h,this.subDoc&&this.subDoc.guid,"self-heal by removing the item"),console.info(this),console.trace(),this.containerChildren.delete(p);break}var b=v.get("type");if(void 0===b){var _=JSON.stringify((null==v?void 0:v.toJSON())||"{}");this.editor.plugins.debugLogger.captureException("type for blot ".concat(null==v?void 0:v.get("id")," not found. ").concat(_)),this.containerChildren.delete(p);break}var w=s5.query(b);if(!w)return this.editor.emit(Cpe,{type:b});var C=w.createBlot?w.createBlot(this.editor):s5.create(b);C.map=v,C.scroll=this.scroll;try{if(null===f)this.insertBefore(C,this.children.head);else{var S=f&&s.get(f);this.insertBefore(C,S&&S.next)}s.set(h,C)}catch(e){if("string"==typeof e.message&&0===e.message.indexOf("[Parchment]"))return console.warn("Got error from Parchment",e.message,"blot",C,"will be removed from the container",this),void this.removeChildById(h);throw e}}}var E,x=kc(this._onceRenderedActions);try{for(x.s();!(E=x.n()).done;){var k=E.value;if(k.focus){var O=this.getBlotById(k.id);if(!O)continue;if(O.isText||O.isEmbeddable){if(O.isEmbeddable){O.embeddableFocus();continue}}else for(var T=O.children.head;T;){if(T.isText){O=T;break}T=T.next}var A={index:O.offset(this.scroll)+k.focus.index,length:k.focus.length||0};this.scroll.selection.setRange(A),this.editor.options.scrollOnNewBlotFocus&&this.editor.plugins.selectionScroller.ensureSelectionVisible()}}}catch(e){x.e(e)}finally{x.f()}this._onceRenderedActions=[]}}}}])&&Ac(n.prototype,r),o&&Ac(n,o),a}(t)};Lc.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.has("subDoc"));else if(!e.has("children")){var r=new t.types.Array;Array.isArray(n.children)&&r.push(n.children),e.set("children",r)}},Lc.canExecActions=["insert-block","convert-blot"];const Bc=Lc;function Fc(e){return(Fc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vc(e,t){return(Vc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gc(e);if(t){var o=Gc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qc(this,n)}}function qc(e,t){if(t&&("object"===Fc(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 Gc(e){return(Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Wc=function(e){return function(e){!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}}),t&&Vc(e,t)}(i,e);var t,n,r,o=zc(i);function i(){var e;Uc(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).props={},e}return t=i,(n=[{key:"setProps",value:function(e){var t=!1,n=Object.assign({},this.props);for(var r in e)e[r]!==this.props[r]&&(n[r]=e[r],t=!0);t&&(this.blotWillReceiveProps&&this.blotWillReceiveProps(n),this.props=n,this.render())}}])&&Hc(t.prototype,n),r&&Hc(t,r),i}(e)};function Yc(e){return(Yc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $c(e,t,n){return($c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=eu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Qc(e,t){return(Qc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eu(e);if(t){var o=eu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jc(this,n)}}function Jc(e,t){if(t&&("object"===Yc(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 eu(e){return(eu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const tu=function(e){return function(e){!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}}),t&&Qc(e,t)}(i,e);var t,n,r,o=Xc(i);function i(){var e;Zc(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).props={},e.batchDepth=0,e.hasBeenAttached=!1,e}return t=i,(n=[{key:"attach",value:function(){var e,t=this.hasBeenAttached;this.hasBeenAttached=!0;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=$c(eu(i.prototype),"attach",this)).call.apply(e,[this].concat(r));var a=this.id;if(!t){if(this.editor.persistedBlotsProps[a]){var s=this.editor.persistedBlotsProps[a];Object.assign(this.props,s)}this.onFirstAttach&&this.onFirstAttach()}if(a){var l=a;this.editor.options.idPrefix&&(l=this.editor.options.idPrefix+l),this.setDomNodeAttribute("id",l)}}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=$c(eu(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.hasBeenAttached=!1,this.container&&this.container.onChildDetached(this)}},{key:"clone",value:function(){var e=this.constructor.blotName;return s5.create(e)}},{key:"cloneSelf",value:function(){if(this.keepSuperCloneSelf&&$c(eu(i.prototype),"cloneSelf",this))return $c(eu(i.prototype),"cloneSelf",this).call(this)}},{key:"setDomNodeAttribute",value:function(e,t){this.domNode.setAttribute(e,t)}},{key:"getWrapper",value:function(){return this}},{key:"getWrappedBlot",value:function(){return this}},{key:"container",get:function(){for(var e=this.parent;e;){if(e.isContainer)return e;e=e.parent}return null}},{key:"blotConfig",get:function(){var e=this.constructor.blotName;return(-1!==["listItemNumber","listItemCheckbox","listItemBullet"].indexOf(e)&&this.editor.blotsConfig&&this.editor.blotsConfig.list?this.editor.blotsConfig.list[e]:this.editor.blotsConfig[e])||{}}},{key:"selection",get:function(){return this.scroll.selection}},{key:"parent_id",get:function(){return this.parent?this.parent.id:null}},{key:"id",get:function(){return this.map.get("id")}},{key:"store",get:function(){var e=ie(this,(function(e){return e.isContainer}));return e?e.getChildrenStore():this.rootStore}},{key:"rootStore",get:function(){return this.editor.store}},{key:"parentStore",get:function(){var e=ie(this.parent,(function(e){return e.isContainer}));return e?e.store:this.rootStore}},{key:"editor",get:function(){return this.scroll.editor}},{key:"index",get:function(){for(var e=this.parent;e&&!e.isContainer;)e=e.parent;return e?e.getChildIndex(this.id):-1}},{key:"contextMenu",get:function(){var e=this.editor.plugins.i18n,t={add:{label:e.get("block_menu.add.name"),index:-20,group:0,action:!1,submenu:{above:{label:e.get("block_menu.add.above"),index:0,group:0,action:"add-paragraph",actionParams:{position:"above"},actionExec:!0,stackable:!1},below:{label:e.get("block_menu.add.below"),index:1,group:0,action:"add-paragraph",actionParams:{position:"below"},actionExec:!0,stackable:!1},left:{label:e.get("block_menu.add.left"),index:0,group:1,action:"add-grid",actionParams:{position:"left"},actionExec:!0,stackable:!1},right:{label:e.get("block_menu.add.right"),index:1,group:1,action:"add-grid",actionParams:{position:"right"},actionExec:!0,stackable:!1}},stackable:!1},duplicate:{label:e.get("block_menu.duplicate"),index:1,group:0,action:"duplicate-blots",actionExec:!0,stackable:!0},copyBlocks:{label:e.get("block_menu."+(this.scroll.selectedBlocks.length>1?"copy_blocks":"copy_block")),index:2,group:0,action:"copy-blocks",actionExec:!0,stackable:!0},copyLink:{label:e.get("block_menu.copy_link"),index:3,group:0,action:"copyLink",stackable:!1},delete:{label:e.get("block_menu.delete"),index:4,group:0,action:"deleteSingeBlot",stackable:!0}};return ie(this,(function(e){return e.disallowInsideSideDrop}))&&(delete t.add.submenu.left,delete t.add.submenu.right),ie(this,(function(e){return"gridCol"===e.constructor.blotName}))&&(t.add.submenu.aboveColumn={label:e.get("block_menu.add.above_column"),index:0,group:2,action:"addParagraphAboveColumn",stackable:!1},t.add.submenu.belowColumn={label:e.get("block_menu.add.below_column"),index:1,group:2,action:"addParagraphBelowColumn",stackable:!1}),t}},{key:"setProps",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!1,r=Object.assign({},this.props),o=Object.assign({},this.props);for(var i in e)e[i]!==this.props[i]&&(r[i]=e[i],n=!0);if(n&&this.hasBeenAttached&&(this.blotWillReceiveProps&&this.blotWillReceiveProps(r),this.props=r,this.isInBatch()||(this.render(),this.blotDidUpdate&&this.blotDidUpdate(o))),t){var a=this.id;if(a){this.editor.persistedBlotsProps[a]||(this.editor.persistedBlotsProps[a]={});var s=this.editor.persistedBlotsProps[a];Object.assign(s,e)}}}},{key:"render",value:function(){var e=this;if($c(eu(i.prototype),"render",this)){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(t=$c(eu(i.prototype),"render",this)).call.apply(t,[this].concat(r))}this.descendants&&"function"==typeof this.descendants&&this.descendants((function(e){return e.onParentRenderUpdate})).forEach((function(t){t.onParentRenderUpdate(e)}))}},{key:"isBlotAttached",value:function(){return s5.find(this.domNode)}},{key:"deleteSingeBlot",value:function(){var e=this.getWrapper().next;this.isBlotLocked||this.container.removeChildById(this.id),e&&this.scroll.selection.setRange({index:e.offset(this.scroll),length:0})}},{key:"addParagraphAboveColumn",value:function(){var e=ie(this,(function(e){return"grid"===e.constructor.blotName}));e&&this.scroll.addBlot("paragraph",{focus:{index:0},before:e.id}),this.editor.plugins.selectionScroller.ensureSelectionVisible()}},{key:"addParagraphBelowColumn",value:function(){var e=ie(this,(function(e){return"grid"===e.constructor.blotName}));e&&this.scroll.addBlot("paragraph",{focus:{index:0},after:e.id}),this.editor.plugins.selectionScroller.ensureSelectionVisible()}},{key:"isInBatch",value:function(){return this.batchDepth>0}},{key:"batchPropsUpdate",value:function(e){var t,n=Object.assign({},this.props);this.batchDepth++;try{e()}catch(e){t=e}if(this.batchDepth--,t)throw t;0===this.batchDepth&&(this.render(),this.blotDidUpdate&&this.blotDidUpdate(n))}},{key:"getBlotName",value:function(){return this.constructor.blotName}},{key:"copyLink",value:function(){var e=this.editor.plugins,t=e.copyManager,n=(e.notificationManager,e.i18n,this.editor.options.baseUrl||String(window.location.origin+window.location.pathname)),r=String(n+"#"+this.id);t.copy(r)}},{key:"getBlotInsertParams",value:function(e,t){var n=$c(eu(i.prototype),"getBlotInsertParams",this).call(this,e,t);return t&&t.processBlot(this,n),n}},{key:"remove",value:function(){var e;if(this.isBlotAttached()){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=$c(eu(i.prototype),"remove",this)).call.apply(e,[this].concat(n))}}}])&&Kc(t.prototype,n),r&&Kc(t,r),i}(Wc(e))};function nu(e){return(nu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ru(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ou(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ou(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ou(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function su(e,t,n){return(su="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function lu(e,t){return(lu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pu(e);if(t){var o=pu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return uu(this,n)}}function uu(e,t){if(t&&("object"===nu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return du(e)}function du(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pu(e){return(pu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hu={left:"hover-left",top:"hover-top",right:"hover-right",bottom:"hover-bottom"},mu=Object.keys(hu).map((function(e){return hu[e]}));const gu=function(e){return function(e){!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}}),t&&lu(e,t)}(i,e);var t,n,r,o=cu(i);function i(){var e;iu(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fu(du(e=o.call.apply(o,[this].concat(n))),"onItemDragging",(function(t){if(!t._dropAcceptorHandled&&(e.scroll||console.error("no scroll for blot:",du(e)),-1==e.scroll.selectedBlocks.indexOf(du(e)))){var n=e.domNode.getBoundingClientRect(),r=n.x<t.x&&n.x+n.width>t.x,o=n.y<t.y&&n.y+n.height>t.y;(e.dropAcceptorIsBlotInGrid(du(e))||e.disallowSideDrop)&&(o=o&&r),o&&(e._removeDraggingStyles(du(e)),e.domNode.classList.contains("hover-block")||e.domNode.classList.add("hover-block"),t._dropAcceptorHandled=!0,n.x<t.x&&n.x+n.width>t.x?(n.y<t.y&&n.y+n.height/2>t.y&&(e.domNode.classList.contains("hover-top")||e.domNode.classList.add("hover-top")),n.y+n.height/2<t.y&&n.y+n.height>t.y&&(e.domNode.classList.contains("hover-bottom")||e.domNode.classList.add("hover-bottom"))):(n.x>t.x&&(e.domNode.classList.contains("hover-left")||e.domNode.classList.add("hover-left")),n.x+n.width<t.x&&(e.domNode.classList.contains("hover-right")||e.domNode.classList.add("hover-right"))))}})),e}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=su(pu(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.scroll.emitter.on("dragging",this.onItemDragging)}},{key:"isDropAcceptor",get:function(){return!0}},{key:"dropAcceptorIsBlotInGrid",value:function(e){for(;e;){if("gridCol"===e.constructor.blotName)return!0;e=e.parent}return!1}},{key:"render",value:function(){if(su(pu(i.prototype),"render",this)&&su(pu(i.prototype),"render",this).call(this),this.props.dragAndDropHover){this.domNode.classList.add("hover-block");var e=hu[this.props.dragAndDropHover];this.domNode.classList.add(e)}else{this.domNode.classList.remove("hover-block");var t,n=ru(mu);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.domNode.classList.remove(r)}}catch(e){n.e(e)}finally{n.f()}}}}])&&au(t.prototype,n),r&&au(t,r),i}(e)};function yu(e){return(yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _u(e,t){return(_u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Su(e);if(t){var o=Su(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Cu(this,n)}}function Cu(e,t){if(t&&("object"===yu(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 Su(e){return(Su=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Eu=function(e){return function(e){!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}}),t&&_u(e,t)}(i,e);var t,n,r,o=wu(i);function i(){var e;vu(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).canExecActions=new Set,e}return t=i,(n=[{key:"addCanExecActions",value:function(e){var t=this;e.forEach((function(e){return t.canExecActions.add(e)}))}},{key:"canExec",value:function(e){return this.canExecActions.has(e.type)}}])&&bu(t.prototype,n),r&&bu(t,r),i}(e)};function xu(e){return(xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ku(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ou(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tu(e,t,n){return(Tu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Iu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Au(e,t){return(Au=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Iu(e);if(t){var o=Iu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ru(this,n)}}function Ru(e,t){if(t&&("object"===xu(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 Iu(e){return(Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Mu=function(e){return function(e){!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}}),t&&Au(e,t)}(i,e);var t,n,r,o=Pu(i);function i(){var e;ku(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).isDraggable=!0,e}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Tu(Iu(i.prototype),"attach",this)).call.apply(e,[this].concat(n))}},{key:"render",value:function(){Tu(Iu(i.prototype),"render",this)&&Tu(Iu(i.prototype),"render",this).call(this),this.props.focused?this.domNode.classList.add("allow-dragging"):this.domNode.classList.remove("allow-dragging"),this.props.dragging?this.domNode.classList.add("dragging"):this.domNode.classList.remove("dragging")}}])&&Ou(t.prototype,n),r&&Ou(t,r),i}(e)};function Nu(e){return(Nu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Du(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ju(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lu(e,t,n){return(Lu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Bu(e,t){return(Bu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Hu(e);if(t){var o=Hu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Uu(this,n)}}function Uu(e,t){if(t&&("object"===Nu(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 Hu(e){return(Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Vu=function(e){return function(e){!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}}),t&&Bu(e,t)}(i,e);var t,n,r,o=Fu(i);function i(){var e;Du(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).isSelectable=!0,e}return t=i,(n=[{key:"render",value:function(){var e;Lu(Hu(i.prototype),"render",this)&&Lu(Hu(i.prototype),"render",this).call(this);var t=null===(e=this.getWrapper)||void 0===e?void 0:e.call(this);t&&(this.props.selected||this.props.highlighted?(this.domNode.classList.add("selected-block"),this.isSelectableBlotChild||t.domNode.classList.add("selected-block-wrapper")):(this.domNode.classList.remove("selected-block"),this.isSelectableBlotChild||t.domNode.classList.remove("selected-block-wrapper")))}}])&&ju(t.prototype,n),r&&ju(t,r),i}(e)};function zu(e){return(zu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wu(e,t,n){return(Wu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Yu(e,t){return(Yu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$u(e);if(t){var o=$u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ku(this,n)}}function Ku(e,t){if(t&&("object"===zu(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 $u(e){return($u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qu(e){return"indent-"+(parseInt(e)||0)}var Xu=function(e){return function(e){!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}}),t&&Yu(e,t)}(i,e);var t,n,r,o=Zu(i);function i(){var e;qu(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).indentableCurrentIndent=null,e.addCanExecActions(["indent","outdent"]),e}return t=i,r=[{key:"getMaxIndent",value:function(){return 30}}],(n=[{key:"contextMenu",get:function(){var e=Wu($u(i.prototype),"contextMenu",this);return Object.assign(e,{indent:!0}),e}},{key:"render",value:function(){Wu($u(i.prototype),"render",this).call(this);var e=this.map.get("indent"),t=this.constructor.getMaxIndent();e=Math.min(e,t),this.indentableCurrentIndent!==e&&(null!==this.indentableCurrentIndent&&this.getWrapper().domNode.classList.remove(Qu(this.indentableCurrentIndent)),this.getWrapper().domNode.classList.add(Qu(e)),this.indentableCurrentIndent=e)}},{key:"getIndent",value:function(){return this.map.get("indent")||0}},{key:"setIndent",value:function(e){this.map.set("indent",e)}},{key:"addIndent",value:function(){var e=this.map.get("indent")||0;if(e<this.constructor.getMaxIndent()){var t=e+1;this.map.set("indent",t)}return!0}},{key:"removeIndent",value:function(){var e=this.map.get("indent");if(e>0){var t=e-1;this.map.set("indent",t)}return!0}},{key:"exec",value:function(e){var t=!!Wu($u(i.prototype),"exec",this)&&Wu($u(i.prototype),"exec",this).call(this,e);return"indent"===e.type?(t=this.addIndent(),this.isEmbeddable||this.selection.focus()):"outdent"===e.type&&(t=this.removeIndent(),this.isEmbeddable||this.selection.focus()),t&&this.editor.emitter.emit("indent",{}),t}},{key:"getBlotInsertParams",value:function(e,t){var n=Wu($u(i.prototype),"getBlotInsertParams",this).call(this,e,t),r=this.map.get("indent");return r>0?(0,fe.Ee)(n,{initParams:{indent:r}}):n}},{key:"getCloneParams",value:function(){var e,t=(null===(e=Wu($u(i.prototype),"getCloneParams",this))||void 0===e?void 0:e.call(this))||{},n=this.map.get("indent");return n>0&&(t.indent=n),t}}])&&Gu(t.prototype,n),r&&Gu(t,r),i}(e)};Xu.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("indent",Math.min(n.indent||0,s5.query(e.get("type")).getMaxIndent()))};const Ju=Xu;function ed(e){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rd(e,t,n){return(rd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=sd(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function od(e,t){return(od=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function id(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sd(e);if(t){var o=sd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ad(this,n)}}function ad(e,t){if(t&&("object"===ed(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 sd(e){return(sd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ld=function e(t){return function(t){!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}}),t&&od(e,t)}(a,t);var n,r,o,i=id(a);function a(){var e;td(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).isColorable=!0,e.addCanExecActions(["set-background"]),e}return n=a,(r=[{key:"render",value:function(){rd(sd(a.prototype),"render",this).call(this);var e=this.map.get("color");this.selfColorManagement||(is(e)?(this.domNode.hasAttribute("data-block-background")&&this.domNode.removeAttribute("data-block-background"),this.domNode.style.backgroundColor=e):(this.domNode.style.backgroundColor=null,"transparent"===e?this.domNode.removeAttribute("data-block-background"):this.domNode.setAttribute("data-block-background",e)))}},{key:"getColor",value:function(){return this.map.get("color")}},{key:"contextMenu",get:function(){var e=this.editor.plugins.i18n,t=rd(sd(a.prototype),"contextMenu",this);return t["change-color"]={label:e.get("block_menu.color.background_color"),index:-1,group:0,action:"change-color",stackable:!0,submenu:"ColorPicker"},t}},{key:"exec",value:function(e){var t=!!rd(sd(a.prototype),"exec",this)&&rd(sd(a.prototype),"exec",this).call(this,e);return"set-background"===e.type&&(this.map.set("color",e.params),t=!0),t}},{key:"getBlotInsertParams",value:function(t,n){var r=rd(sd(a.prototype),"getBlotInsertParams",this).call(this,t,n),o=this.map.get("color");return o&&o!==e.defaultBgColor?(0,fe.Ee)(r,{initParams:{color:o}}):r}},{key:"getCloneParams",value:function(){var t,n=(null===(t=rd(sd(a.prototype),"getCloneParams",this))||void 0===t?void 0:t.call(this))||{},r=this.map.get("color");return r&&r!==e.defaultBgColor&&(n.color=r),n}}])&&nd(n.prototype,r),o&&nd(n,o),a}(t)};ld.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.color?e.set("color",n.color):n.noDefaultColor||e.set("color",ld.defaultBgColor)},ld.defaultBgColor="transparent";const cd=ld;function ud(e){return(ud="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fd(e,t,n){return(fd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=yd(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function hd(e,t){return(hd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function md(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yd(e);if(t){var o=yd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gd(this,n)}}function gd(e,t){if(t&&("object"===ud(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 yd(e){return(yd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vd=null;const bd=function(e){return function(e){!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}}),t&&hd(e,t)}(i,e);var t,n,r,o=md(i);function i(){var e;dd(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).isFocusable=!0,e.props.selected=!1,e}return t=i,(n=[{key:"isFocusedClassSet",value:function(){return this.domNode.classList.contains("focused-block")}},{key:"focusableFocus",value:function(){this.scroll.selection.setRange({index:this.offset(this.scroll),length:0})}},{key:"render",value:function(){fd(yd(i.prototype),"render",this)&&fd(yd(i.prototype),"render",this).call(this),this.props.focused&&!this.isFocusedClassSet()?(this.domNode.classList.add("focused-block"),this.onFocusableFocus(vd),vd=this):!this.props.focused&&this.isFocusedClassSet()&&(this.domNode.classList.remove("focused-block"),this.onFocusableBlur())}},{key:"onFocusableFocus",value:function(){fd(yd(i.prototype),"onFocusableFocus",this)&&fd(yd(i.prototype),"onFocusableFocus",this).call(this);var e=new CustomEvent("focusable-focus",{bubbles:!0});this.domNode.dispatchEvent(e)}},{key:"onFocusableBlur",value:function(){fd(yd(i.prototype),"onFocusableBlur",this)&&fd(yd(i.prototype),"onFocusableBlur",this).call(this);var e=new CustomEvent("focusable-blur",{bubbles:!0});this.domNode.dispatchEvent(e)}},{key:"remove",value:function(){this.props.focused&&this.onFocusableBlur(),fd(yd(i.prototype),"remove",this).call(this)}}])&&pd(t.prototype,n),r&&pd(t,r),i}(e)};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})(e)}function wd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sd(e,t,n){return(Sd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Td(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Ed(e,t){return(Ed=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Td(e);if(t){var o=Td(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return kd(this,n)}}function kd(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 Od(e)}function Od(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e){return(Td=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pd=function(e){return function(e){!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}}),t&&Ed(e,t)}(i,e);var t,n,r,o=xd(i);function i(){var e;wd(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ad(Od(e=o.call.apply(o,[this].concat(n))),"lockBlotAction",(function(){e.canLock?(e.map.set("blotLocked",!0),e.setProps({blotLocked:!0,contenteditable:1}),e.editor.emitter.emit("lockBlot")):e.showPopup()})),Ad(Od(e),"unlockBlotAction",(function(){e.canUnlock?(e.map.set("blotLocked",!1),e.setProps({blotLocked:!1,contenteditable:0}),e.editor.emitter.emit("unlockBlot")):e.showPopup()})),e.addCanExecActions(["lock","unlock"]),e}return t=i,(n=[{key:"canLock",get:function(){var e=this.editor.options;return e.user&&"full"===e.user.manage}},{key:"canUnlock",get:function(){var e=this.editor.options,t=e.user&&"canUnlock"===e.user.manage;return!(!this.canLock&&!t)}},{key:"manageBlotsLockConfig",get:function(){return this.editor.options.manageBlotsLock}},{key:"showPopup",value:function(){this.editor.plugins.popupManager.customAlert({type:"blots_lock_disabled_alert"})}},{key:"isBlotLocked",get:function(){return!(!this.manageBlotsLockConfig||!this.props.blotLocked)}},{key:"contextMenu",get:function(){var e=Sd(Td(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n,n=new(bo()),r=this.editor.plugins.featuresAvailabilityPlugin.getFeatureIcon("blocks-lock",n),o=this.editor.scroll.selectedBlocks,a=(0,s.h)("div",{onMouseEnter:function(){n.emit("enter",{})},onMouseLeave:function(){n.emit("leave",{})}},t.get("block_menu.blot_lock")+(o.length>1&&"en"===t.language?"s":""),r),l=t.get("block_menu.blot_unlock")+(o.length>1&&"en"===t.language?"s":"");return this.manageBlotsLockConfig&&this.canUnlock&&(this.isBlotLocked?e.blotUnlock={label:l,index:2,group:0,action:"unlockBlotAction",stackable:!0}:e.blotLock={label:a,index:2,group:0,action:"lockBlotAction",stackable:!0}),e}},{key:"renderLockAfter",value:function(){this.props.blotLocked?(this.floatingToolbarDisabled=!(this.scroll.selectedBlocks&&1!==this.scroll.selectedBlocks.length),this.domNode.setAttribute("contenteditable",!1),this.getTextBlot&&this.getTextBlot().domNode.setAttribute("contenteditable",!1)):0===this.props.contenteditable&&(this.domNode.hasAttribute("contenteditable")&&!this.isEmbeddable&&this.domNode.removeAttribute("contenteditable"),this.getTextBlot&&this.getTextBlot().domNode.setAttribute("contenteditable",!0),this.floatingToolbarDisabled&&(this.floatingToolbarDisabled=!1))}},{key:"renderLock",value:function(){this.manageBlotsLockConfig&&this.renderLockAfter()}},{key:"attach",value:function(){Sd(Td(i.prototype),"attach",this).call(this),!this.props.blotLocked&&this.map.get("blotLocked")&&(this.props.blotLocked=!0,this.props.contenteditable=1),document.oncontextmenu=function(){var e=this.editor.scroll.selectedBlocks;if(e.length>1){var t=!1;e.map((function(e){e.isBlotLocked&&(t=!0)})),t&&e.filter((function(e){return!e.isBlotLocked})).map((function(e){e.props.contenteditable=0,e.domNode.setAttribute("contenteditable",!1)}))}}.bind(this)}},{key:"render",value:function(){Sd(Td(i.prototype),"render",this)&&Sd(Td(i.prototype),"render",this).call(this),this.renderLock()}},{key:"exec",value:function(e){var t=!!Sd(Td(i.prototype),"exec",this)&&Sd(Td(i.prototype),"exec",this).call(this,e);return t||("lock"===e.type?(this.lockBlotAction(),t=!0):"unlock"===e.type&&(this.unlockBlotAction(),t=!0)),t}}])&&Cd(t.prototype,n),r&&Cd(t,r),i}(e)};function Rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Id(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rd(Object(n),!0).forEach((function(t){Md(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.blotsConfig,n=void 0===t?{hint:{},button:{}}:t,r=n.hint||{},o=r.showMenuItem,i=void 0===o||o,a=n.button||{},l=a.showButtonFormat,c=void 0===l||l,u=e.scroll.selectedBlocks.every((function(e){return!ie(e,(function(e){return"toggleContent"===e.constructor.blotName}))})),d={};return i&&(d=Id(Id({},d),{},{turnToHint:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.hint"},"Hint"),index:9,group:0,action:"convert-blot",actionParams:{type:"hint"},actionExec:!0,stackable:!0,icon:ct.qE2,hint:ri.CF+"+"+ri.$d+"+u"}})),u&&(d=Id(Id({},d),{},{turnToToggleBlock:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.toggle"},"Toggle Block"),index:3,group:0,action:"convert-blot",actionParams:{type:"toggle"},actionExec:!0,stackable:!0,icon:ct.oe4,hint:ri.CF+"+"+ri.$d+"+6"},turnToStepBlock:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.step"},"Step"),index:4,group:0,action:"convert-blot",actionParams:{type:"step"},actionExec:!0,stackable:!0,icon:ct.tuc},turnToHLargeToggle:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.large_heading_toggle"},"Collapsible Large Heading"),index:11,group:0,action:"convert-blot",actionParams:{type:"hLarge-toggle"},actionExec:!0,stackable:!0,icon:ct.THL,style:"bolder"},turnToHMediumToggle:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.medium_heading_toggle"},"Collapsible Medium Heading"),index:12,group:0,action:"convert-blot",actionParams:{type:"hMedium-toggle"},actionExec:!0,stackable:!0,icon:ct.V6h,style:"bold"},turnToHSmallToggle:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.small_heading_toggle"},"Collapsible Small Heading"),index:13,group:0,action:"convert-blot",actionParams:{type:"hSmall-toggle"},actionExec:!0,stackable:!0,icon:ct.gM0}})),{"turn-into":{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.name"},"Convert to"),index:-5,group:0,action:!1,submenu:Id(Id({turnToChecklist:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.to_do_list"},"Task"),index:0,group:0,action:"convert-blot",actionParams:{type:"list",items:["listItemCheckbox"]},actionExec:!0,stackable:!0,icon:ct.$Nx,hint:ri.CF+"+shift+c"},turnToNumberList:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.number_list"},"Number List"),index:1,group:0,action:"convert-blot",actionParams:{type:"list",items:["listItemNumber"]},actionExec:!0,stackable:!0,icon:ct.UcJ,hint:ri.CF+"+shift+7"},turnToBulletList:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.bullet_list"},"Bullet List"),index:2,group:0,action:"convert-blot",actionParams:{type:"list",items:["listItemBullet"]},actionExec:!0,stackable:!0,icon:ct.pfx,hint:ri.CF+"+shift+8"},turnToParagraph:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.paragraph"},"Paragraph"),index:4,group:0,action:"convert-blot",actionParams:{type:"paragraph"},actionExec:!0,stackable:!0,icon:ct.V_f,hint:ri.CF+"+"+ri.$d+"+7"},turnToLarge:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.large_heading"},"Large Heading"),index:5,group:0,action:"convert-blot",actionParams:{type:"hLarge"},actionExec:!0,stackable:!0,icon:ct.oIo,hint:ri.CF+"+"+ri.$d+"+1",style:"bolder"},turnToMedium:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.medium_heading"},"Medium Heading"),index:6,group:0,action:"convert-blot",actionParams:{type:"hMedium"},actionExec:!0,stackable:!0,icon:ct.L9t,hint:ri.CF+"+"+ri.$d+"+2",style:"bold"},turnToSmall:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.small_heading"},"Small Heading"),index:7,group:0,action:"convert-blot",actionParams:{type:"hSmall"},actionExec:!0,stackable:!0,icon:ct.Q2d,hint:ri.CF+"+"+ri.$d+"+3"},turnToSyntax:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.code"},"Code"),index:8,group:0,action:"convert-blot",actionParams:{type:"syntax"},actionExec:!0,stackable:!0,icon:ct.UUr,hint:ri.CF+"+"+ri.$d+"+c"},turnToBlockquote:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.quote"},"Quote"),index:9,group:0,action:"convert-blot",actionParams:{type:"blockquote",link:!0},actionExec:!0,stackable:!0,icon:ct.kVp,hint:ri.CF+"+"+ri.$d+"+y"}},c?{turnToButton:{label:(0,s.h)(pe.xv,{id:"block_menu.convert_to.button"},"Button"),index:10,group:0,action:"convert-blot",actionParams:{type:"button-single",link:!0},actionExec:!0,stackable:!1,icon:ct.hU,hint:ri.CF+"+"+ri.$d+"+5"}}:{}),d),stackable:!0},align:!0,indent:!0}}var Dd=n(49851),jd=n(21324),Ld=n.n(jd);function Bd(e){return(Bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ud(e,t){return(Ud=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qd(e);if(t){var o=qd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vd(this,n)}}function Vd(e,t){if(t&&("object"===Bd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zd(e)}function zd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qd(e){return(qd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gd=function(e){!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}}),t&&Ud(e,t)}(i,e);var t,n,r,o=Hd(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=zd(t),a=function(e){var n=t.props.blot,r=n.map.get("collapsed");n.map.set("collapsed",!r),t.setState((function(){return{state:t.state}}))},(r="onButtonClick")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.isSeparableByClickApplicable=!0,t}return t=i,(n=[{key:"render",value:function(){var e=this.props.blot.map.get("collapsed");return(0,s.h)("div",{className:"list-item-collapse-component",onClick:this.onButtonClick},(0,s.h)("div",{className:"list-collapse-icon "+(e?"collapsed":"expanded")},(0,s.h)(ct.J0H,null)))}}])&&Fd(t.prototype,n),r&&Fd(t,r),i}(s.wA);function Wd(e){for(var t=e.prev,n=e.getIndent(),r=!1;t;){var o=t.getIndent();o<n?(n=o,t.map.get("collapsed")?(r=!0,t=null):t=t.prev):t=t.prev}return r}function Yd(e){for(var t=e.prev,n=e.getIndent(),r=null;t;){var o=t.getIndent();o<n?(n=o,t.map.get("collapsed")&&!t.props.hidden?(r=t,t=null):t=t.prev):t=t.prev}return r}function Zd(e){return(Zd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Xd(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 $d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Xd(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Qd(e){return function(e){if(Array.isArray(e))return Jd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xd(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 Xd(e,t){if(e){if("string"==typeof e)return Jd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jd(e,t):void 0}}function Jd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ep(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tp(e,t){return(tp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function np(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ap(e);if(t){var o=ap(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rp(this,n)}}function rp(e,t){if(t&&("object"===Zd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return op(e)}function op(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ip(e,t,n){return(ip="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ap(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ap(e){return(ap=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var sp=parseInt(Dd.listMarginLeft),lp=parseInt(jd.blockMenuPinButtonSize),cp=((0,Rn.ZP)("tab"),(0,Rn.ZP)("backspace"),["listItemBullet","listItemCheckbox","listItemNumber"]),up=function(e){!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}}),t&&tp(e,t)}(i,e);var t,n,r,o=np(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=op(t),a=function(){t.render(),t.editor.blotsConfig.hasOwnProperty("list")&&!0===t.editor.blotsConfig.list.collapsible&&t.parent.render()},(r="onMapChanged")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.emitter=new Oo,t.emitter.setMaxListeners(999999),t.isListItem=!0,t.disallowSideDrop=!0,e.classList.add("list-item"),t.isSeparableByClickApplicable=!0,t.draggableHandleRect={x:-30,y:0,width:10,height:18},t.addCanExecActions(Qd(pc.canExecActions)),t.isMobileKeyDown=!1,t.counter=1,t}return t=i,r=[{key:"getMaxIndent",value:function(){return 29}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ip(ap(i),"initMap",this).call(this,e,t,n),Ju.initMap(e,t,n),cd.initMap(e,t,n),e.set("collapsed",n.collapsed||!1)}},{key:"getDropTarget",value:function(e,t,n,r){return n instanceof Tf?"bottom"===e?(r.skipListIndent=!0,{target:n.children.tail}):"top"===e?(r.skipListIndent=!0,{target:n.children.head}):{target:n}:{target:n}}}],(n=[{key:"beforeMove",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(e instanceof Tf)){if(!(1!==this.container.children.length||n.listWrappings&&n.listWrappings[this.container.id]))return{id:this.container.id,removeBlot:this.container};n.listWrappings||(n.listWrappings={});var r=null;if(n.listWrappings[this.container.id])n.listWrappings[this.container.id].get("children").push([this.id]);else{var o=e.store.createMap();Tf.initMap(o,this.store,{children:[this.id]}),r=o.get("id"),n.listWrappings[this.container.id]=o}var i={id:r};return i}}},{key:"attach",value:function(){var e;(ip(ap(i.prototype),"attach",this).call(this),this._listItemInitialized)||(this._listItemInitialized=!0,this.store.observe(this.map,this.onMapChanged),"listItemNumber"===this.map.get("type")&&(null===(e=this.parent)||void 0===e||e.updateChildren()),this.render())}},{key:"detach",value:function(){if(ip(ap(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=ip(ap(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserve(this.map,this.onMapChanged),this.listItemExpand()}},{key:"listItemHandleBackspace",value:function(e){var t=e.getBlotRange(this);if(0===t.index&&0===t.length)return e.dontRestoreSelection(),this.map.get("indent")>0?this.removeIndent():this.parent.splitList(this.index,{initParams:{delta:this.delta()}}),!0}},{key:"listItemHandleShiftBackspace",value:function(e){if(this.parent.children.head!==this)return!1;var t=e.getBlotRange(this);if(0===t.index&&0===t.length){var n=this.parent,r=n.prev;if(r&&"list"===r.constructor.blotName){var o=n.children.map((function(e){return e.id})),i=r.getChildIndex(r.children.tail.id)+1;return this.editor.store.transaction((function(){var e,t=$d(o);try{for(t.s();!(e=t.n()).done;){var a=e.value;n.removeChildById(a),i=Math.min(i,r.containerChildren.length),r.containerChildren.insert(i,[a]),i++}}catch(e){t.e(e)}finally{t.f()}})),r.render(),!0}}return!1}},{key:"exec",value:function(e){if("backspace"===e.type){if(e.params.shiftKey&&this.listItemHandleShiftBackspace(e))return!0;if(this.listItemHandleBackspace(e))return!0}return"indent"===e.type?((!this.prev||this.prev.getIndent()>=this.getIndent())&&(this.addIndent(),this.selection.focus()),this.editor.emitter.emit("indent",{}),!0):ip(ap(i.prototype),"exec",this).call(this,e)}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{color:this.map.get("color"),align:this.map.get("align"),indent:this.map.get("indent"),collapsed:this.map.get("collapsed"),delta:this.delta({forCopy:!0})}),e.get("id")}},{key:"listItemHandleEnterOnEmptyItem",value:function(){this.map.get("indent")<=0?this.parent.splitList(this.index):this.removeIndent()}},{key:"handleInput",value:function(e){if(this.isMobileKeyDown){if(e.data&&"\n"===e.data.substr(e.data.length-1,1)){this.focusableFocus();var t=this.scroll.selection.getRange(this);this.scroll.selection.setRange({index:t[0].index+this.length()-1,length:0});var n=new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,key:"Enter",keyCode:13});this.domNode.dispatchEvent(n)}this.isMobileKeyDown=!1}}},{key:"handleKeyDown",value:function(e){if("mobile"===this.editor.options.keyboardMode&&(this.isMobileKeyDown=229===e.keyCode),this.editor.blotsConfig.hasOwnProperty("list")&&!0===this.editor.blotsConfig.list.collapsible){var t=this.scroll.selection.getRange()[0];if(this.props.hidden&&0===t.length){var n=Yd(this);if(n)return this.scroll.selection.setRange({index:n.offset(this.scroll)+n.length()-1,length:0}),n.handleKeyDown(e)}}return 13!==e.keyCode||e.shiftKey||""!==this.domNode.textContent?ip(ap(i.prototype),"handleKeyDown",this).call(this,e):(this.listItemHandleEnterOnEmptyItem(),e.preventDefault(),!0)}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top;return t-=sp,this.editor.mode===this.editor.constructor.MODE_EDIT||this.editor.plugins.blockMenu.options.showCopyBlotButton&&!this.isEmpty()||(t+=lp),{left:t,top:n}}},{key:"addSubText",value:function(){this.map.get("characters").applyDelta([{retain:this.length()-1},{insert:{linebreak:"s"}}]),this.selection.setRange({index:this.offset(this.scroll)+this.length()-1,length:0})}},{key:"contextMenu",get:function(){var e=ip(ap(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n;Object.assign(e,Nd(this.editor)),this.isEmpty()||(e.addSubText={label:t.get("block_menu.add_sub_text"),index:-2,group:0,action:"addSubText",stackable:!1});var n=!1,r=!1;return this.getSubItems().length&&(this.isCollapsed()||(r=!0),(this.isCollapsed()||this.hasCollapsedSubItems())&&(n=!0)),this===this.parent.children.head&&(this.parent.hasCollapsedListItems()&&(n=!0),!this.getSubItems().length&&this.parent.hasExpandedListItems()&&(r=!0)),r&&(e.collapseAll={label:t.get("block_menu.collapse_all"),index:-1,group:0,action:"onCollapseAll",stackable:!1}),n&&(e.expandAll={label:t.get("block_menu.expand_all"),index:0,group:0,action:"onExpandAll",stackable:!1}),e}},{key:"textLineAddNextBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.map.get("indent"),o=n||this.id,i=Object.assign(e,this.textLineAddBlotParams({indent:e.hasOwnProperty("indent")?e.indent:r,after:o}));return t=-1!==cp.indexOf(t)?t:this.constructor.blotName,this.parent.addBlot(t,i)}},{key:"textLineSplit",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.selection.getRange({offsetBlot:this}),o=Kd(r,1),i=o[0],a=this.getFormat(i.index,1);Object.keys(a).map((function(e){t.selection.format(e,!1)}));var s=null,l=this.split(e,!0);l&&l!==this.next&&(l.parent=this.parent,s=l.delta(),this.scroll.update());var c={delta:s};n.focus&&(c.focus={index:0}),n.hasOwnProperty("indent")&&(c.indent=n.indent);var u=this.constructor.blotName,d=this.id;if(n.isEnterKeyEvent&&this.isCollapsed()){var p=this.getSubItems();p.length&&(d=p[p.length-1].id)}this.textLineAddNextBlot(c,u,d)}},{key:"textLineOnEnterKey",value:function(e){e.preventDefault(),console.groupCollapsed("listItem: handle ENTER key");var t=this.scroll.selection.getNativeRange();if(t&&t.start.node===t.end.node){this.editor.plugins.undoManager.stopCapturing();var n=Kd(this.selection.getRange({offsetBlot:this}),1)[0],r=this.getIndent();return!this.isCollapsed()&&0===n.length&&n.index===this.length()-1&&this.next&&this.next.getIndent()>r&&(r+=1),this.tryConvertLink(n),this.textLineSplit(n.index,{focus:!0,indent:r,isEnterKeyEvent:!0}),console.groupEnd(),!0}return console.groupEnd(),ip(ap(i.prototype),"textLineOnEnterKey",this).call(this,e)}},{key:"textLineOnDblClick",value:function(e,t){if(this.dblClick)return this.dblClick=void 0,!1;e.preventDefault();var n=t;if(n.next){this.editor.plugins.undoManager.stopCapturing();var r=this.constructor.blotName,o={after:n.id,delta:null,focus:{index:0},indent:0};if(this.parent.addBlot(r,o),n.indentableCurrentIndent>0){var i=n.getIndent();n.next.setIndent(i)}return this.dblClick=!0,!0}}},{key:"textLineOnTabKey",value:function(e){if(e.preventDefault(),this.prev&&this.prev.getIndent()+1===this.getIndent())return!0;if(this.isCollapsed()){console.log("add indent to sub items");var t,n=$d(this.getSubItems());try{for(n.s();!(t=n.n()).done;)t.value.addIndent()}catch(e){n.e(e)}finally{n.f()}}return this.addIndent(),this.parent.render(),!0}},{key:"textLineOnShiftTabKey",value:function(e){return e.preventDefault(),0===this.getIndent()||(this.isCollapsed()&&this.getSubItems().forEach((function(e){e.removeIndent()})),this.removeIndent(),this.parent.render()),!0}},{key:"blockMenuAddComponent",value:function(){return this.editor.blotsConfig.hasOwnProperty("list")&&!0===this.editor.blotsConfig.list.collapsible&&this.next&&this.next.getIndent()>this.getIndent()?Gd:null}},{key:"isCollapsed",value:function(){return!(!this.editor.blotsConfig.hasOwnProperty("list")||!0!==this.editor.blotsConfig.list.collapsible)&&Boolean(this.map.get("collapsed"))}},{key:"hasCollapsedSubItems",value:function(){var e,t=!1,n=$d(this.getSubItems());try{for(n.s();!(e=n.n()).done;)if(e.value.isCollapsed()){t=!0;break}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"getSubItems",value:function(){return function(e){for(var t=e.getIndent(),n=[],r=e.next;r&&r.getIndent()>t;)n.push(r),r=r.next;return n}(this)}},{key:"listItemCollapse",value:function(){var e,t=$d(this.getSubItems());try{for(t.s();!(e=t.n()).done;)e.value.setProps({hidden:!0})}catch(e){t.e(e)}finally{t.f()}}},{key:"listItemExpand",value:function(){var e,t=!1,n=null,r=$d(this.getSubItems());try{for(r.s();!(e=r.n()).done;){var o=e.value;if(t){if(o.getIndent()>n)continue;t=!1,n=null}o.map.get("collapsed")&&(t=!0,n=o.getIndent()),o.setProps({hidden:!1})}}catch(e){r.e(e)}finally{r.f()}}},{key:"render",value:function(){ip(ap(i.prototype),"render",this).call(this),this.editor.blotsConfig.hasOwnProperty("list")&&!0===this.editor.blotsConfig.list.collapsible&&(this.props.hidden?this.domNode.classList.contains("list-item-hidden")||this.domNode.classList.add("list-item-hidden"):this.domNode.classList.contains("list-item-hidden")&&this.domNode.classList.remove("list-item-hidden"),this.isCollapsed()?(this.listItemCollapse(),this.domNode.classList.contains("collapsed-list-item")||this.domNode.classList.add("collapsed-list-item")):(Wd(this)||this.listItemExpand(),this.domNode.classList.contains("collapsed-list-item")&&this.domNode.classList.remove("collapsed-list-item")))}},{key:"updateListItemPropsIfNeed",value:function(e){this.counter=e,this.next&&this.next.getIndent()<=this.getIndent()&&this.isCollapsed()?this.map.set("collapsed",!1):this.props.hidden&&!Wd(this)?this.setProps({hidden:!1}):this.render()}},{key:"addIndent",value:function(){if(this.editor.blotsConfig.hasOwnProperty("list")&&!0===this.editor.blotsConfig.list.collapsible){var e=function(e){for(var t=e.getIndent(),n=e.prev;n&&n.getIndent()!==t;)n=n.prev;return n}(this);e&&e.isCollapsed()&&e.map.set("collapsed",!1)}ip(ap(i.prototype),"addIndent",this).call(this)}},{key:"delete",value:function(){var e,t=$d(this.getSubItems());try{for(t.s();!(e=t.n()).done;)e.value.remove()}catch(e){t.e(e)}finally{t.f()}this.remove()}},{key:"onExpandAll",value:function(){if(this===this.parent.children.head)this.parent.onExpandAll();else for(var e=this.getSubItems(),t=0,n=[this].concat(Qd(e));t<n.length;t++){var r=n[t];r.isCollapsed()&&r.map.set("collapsed",!1)}}},{key:"onCollapseAll",value:function(){if(this!==this.parent.children.head||this.getSubItems().length)for(var e=this.getSubItems(),t=0,n=[this].concat(Qd(e));t<n.length;t++){var r=n[t];r.getSubItems().length&&!r.isCollapsed()&&r.map.set("collapsed",!0)}else this.parent.onCollapseAll()}},{key:"onMustSetVisible",value:function(){if(this.props.hidden)for(;this.props.hidden;){var e=Yd(this);e&&e.isCollapsed()&&e.map.set("collapsed",!1)}}},{key:"getBlotInsertParams",value:function(e,t){var n=this.scroll.selectedBlocks,r=!e||e.length-e.index==this.length()-1;if(1===n.length&&n[0]===this&&!r)return(0,fe.Ee)(ip(ap(i.prototype),"getBlotInsertParams",this).call(this,e),{type:"textLine"});var o=ip(ap(i.prototype),"getBlotInsertParams",this).call(this,e,t);o.type=this.constructor.blotName;var a=this.isCollapsed(),s=[];if(n[n.length-1]===this)if(r){if(a&&!Wd(this)){var l=this.getSubItems();if(l.length){var c,u=$d(l);try{for(u.s();!(c=u.n()).done;){var d=c.value;s.push(d.getBlotInsertParams({index:0,length:d.length()-1},t))}}catch(e){u.e(e)}finally{u.f()}}}}else a&&(a=!1);var p={};return this.getListItemInsertParams&&(p=this.getListItemInsertParams()),o.params=(0,fe.Ee)(o.initParams,{collapsed:a,counter:this.counter},p),delete o.initParams,s.length?[o].concat(s):o}},{key:"getMarkdown",value:function(){var e,t,n,r,o=(null===(e=this.map)||void 0===e?void 0:e.get("type"))||"listItemBullet",i=null===(t=this.map)||void 0===t||null===(n=t.get("characters"))||void 0===n?void 0:n.toDelta(),a=null===(r=this.map)||void 0===r?void 0:r.get("indent");return Ol({params:{counter:this.counter,delta:i&&{ops:i}||{ops:[]}},type:o,indent:a})}}])&&ep(t.prototype,n),r&&ep(t,r),i}(se([Ec,Pd,gu,Mu,cd,Ju,Vu,bd,Eu,tu])(pc));up.tagName="LI",up.blotName="listItem",up.scope=a().Scope.BLOCK_BLOT,up.defaultChild=pc.defaultChild,up.allowedChildren=pc.allowedChildren;const dp=up;function pp(e){return(pp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fp(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return hp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hp(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function hp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gp(e,t,n){return(gp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function yp(e,t){return(yp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_p(e);if(t){var o=_p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bp(this,n)}}function bp(e,t){if(t&&("object"===pp(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 _p(e){return(_p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}parseInt(Dd.listCollapseIconWidth),parseInt(Dd.spaceBetweenBulletAndText),parseInt(Dd.smallBulletSize),parseInt(Dd.normalBulletSize),parseInt(Dd.largeBulletSize);var wp=["circle","rectangle","star","dart","rounded","arrow","diamond"],Cp=[{label:(0,s.h)(pe.xv,{id:"list.type_default"}),key:"default",icon:ct.J59},{label:(0,s.h)(pe.xv,{id:"list.type_rectangle"}),key:"rectangle",icon:ct.wE3},{label:(0,s.h)(pe.xv,{id:"list.type_star"}),key:"star",icon:ct.m7c},{label:(0,s.h)(pe.xv,{id:"list.type_dart"}),key:"dart",icon:ct.gDF},{label:(0,s.h)(pe.xv,{id:"list.type_rounded"}),key:"rounded",icon:ct.yDK},{label:(0,s.h)(pe.xv,{id:"list.type_arrow"}),key:"arrow",icon:ct.Oa8},{label:(0,s.h)(pe.xv,{id:"list.type_diamond"}),key:"diamond",icon:ct.gEd}],Sp=function(e){!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}}),t&&yp(e,t)}(i,e);var t,n,r,o=vp(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isSeparableByClickApplicable=!0,t}return t=i,r=[{key:"create",value:function(){var e=gp(_p(i),"create",this).call(this);return e.classList.add("list-item-bullet"),e}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type",i.blotName),gp(_p(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"render",value:function(){gp(_p(i.prototype),"render",this).call(this);var e=this.getIndent(),t=this.parent.getBulletTemplate();if(t&&!t[e]){for(var n=t[t.length-1],r=t.slice(),o=t.length;o<=e;o++)n=wp[wp.indexOf(n)+1]||wp[0],r.push(n);this.parent.setBulletTemplate(r)}else t&&this.getListStyle()!==t[e]&&this.domNode.setAttribute("list-style",t[e])}},{key:"getListStyle",value:function(){return this.domNode.getAttribute("list-style")}},{key:"contextMenu",get:function(){var e,t=gp(_p(i.prototype),"contextMenu",this),n={},r=0,o=fp(Cp);try{for(o.s();!(e=o.n()).done;){var a=e.value,l=a.key;n[l="default"!==l?l:"circle"]={label:a.label,index:r,group:0,action:"setListStyle",actionParams:{style:l},actionExec:!1,stackable:!0,icon:a.icon,style:this.getListStyle()===l?"selected":""},r++}}catch(e){o.e(e)}finally{o.f()}return t["list-style"]={label:(0,s.h)(pe.xv,{id:"list.list_style"}),index:0,group:0,action:!1,stackable:!1,submenu:n},t}},{key:"addIndent",value:function(){var e=this.getListStyle(),t=this.parent.getBulletTemplate();if(!t[this.getIndent()+1]){var n=t.slice(),r=wp[wp.indexOf(e)+1]||wp[0];n.push(r),this.parent.setBulletTemplate(n)}return gp(_p(i.prototype),"addIndent",this).call(this)}},{key:"setListStyle",value:function(e){var t=e.style,n=this.parent.getBulletTemplate(),r=this.getIndent(),o=n.slice();o.splice(r,1,t),this.parent.setBulletTemplate(o)}}])&&mp(t.prototype,n),r&&mp(t,r),i}(dp);Sp.blotName="listItemBullet",Sp.tagName=dp.tagName,Sp.scope=dp.scope,Sp.allowedChildren=dp.allowedChildren;const Ep=Sp;function xp(e){return(xp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Op(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tp(e,t,n){return(Tp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ip(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Ap(e,t){return(Ap=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ip(e);if(t){var o=Ip(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rp(this,n)}}function Rp(e,t){if(t&&("object"===xp(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 Ip(e){return(Ip=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}parseInt(Dd.listCollapseIconWidth),parseInt(Dd.spaceBetweenNumberAndText);var Mp=function(e){!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}}),t&&Ap(e,t)}(i,e);var t,n,r,o=Pp(i);function i(){return kp(this,i),o.apply(this,arguments)}return t=i,r=[{key:"create",value:function(){var e=Tp(Ip(i),"create",this).call(this);return e.classList.add("list-item-number"),e}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type",i.blotName),Tp(Ip(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"getDraggingNode",value:function(){for(var e=this.domNode.cloneNode(!0),t=1,n=this.prev;n&&n instanceof i;)t+=1,n=n.prev;return e.setAttribute("data-counter",t),e}},{key:"render",value:function(){Tp(Ip(i.prototype),"render",this).call(this);var e=function(e){if("listItemNumber"!==e.map.get("type"))return!1;for(var t=1,n=e.getIndent(),r=e.prev;r;)n>r.getIndent()?r=null:(n===r.getIndent()&&("listItemNumber"!==r.constructor.blotName?r=null:t++),r&&(r=r.prev));return String(t)}(this);e&&1===e.length?this.domNode.classList.contains("one-cnt-sym")||this.domNode.classList.add("one-cnt-sym"):this.domNode.classList.contains("one-cnt-sym")&&this.domNode.classList.remove("one-cnt-sym")}}])&&Op(t.prototype,n),r&&Op(t,r),i}(dp);Mp.blotName="listItemNumber",Mp.tagName=dp.tagName,Mp.scope=dp.scope,Mp.allowedChildren=dp.allowedChildren;const Np=Mp;function Dp(e){return(Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Lp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lp(e,t)}(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 Lp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fp(e,t,n){return(Fp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qp(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Up(e,t){return(Up=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qp(e);if(t){var o=qp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vp(this,n)}}function Vp(e,t){if(t&&("object"===Dp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zp(e)}function zp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qp(e){return(qp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wp=[-30,-10],Yp=[5,28],Zp=(parseInt(Dd.listCollapseIconWidth),parseInt(Dd.spaceBetweenCheckboxAndText),parseInt(Dd.smallCheckboxSize),parseInt(Dd.normalCheckboxSize),parseInt(Dd.largeCheckboxSize),"list-item-checkbox"),Kp=function(e){!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}}),t&&Up(e,t)}(i,e);var t,n,r,o=Hp(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Gp(zp(t=o.call(this,e)),"onCheckboxMouseMove",(function(e){var n=e.clientX,r=e.clientY,o=t.domNode.getBoundingClientRect(),i=n-o.x,a=r-o.y;i>Wp[0]&&i<Wp[1]&&a>Yp[0]&&a<Yp[1]?t.domNode.classList.contains("mouseover-checkbox")||t.domNode.classList.add("mouseover-checkbox"):t.domNode.classList.contains("mouseover-checkbox")&&t.domNode.classList.remove("mouseover-checkbox")})),Gp(zp(t),"onCheckboxMouseLeave",(function(){t.domNode.classList.contains("mouseover-checkbox")&&t.domNode.classList.remove("mouseover-checkbox")})),Gp(zp(t),"onCheckboxMouseDown",(function(e){var n=e.clientX,r=e.clientY,o=t.domNode.getBoundingClientRect(),i=n-o.x,a=r-o.y;if(i>Wp[0]&&i<Wp[1]&&a>Yp[0]&&a<Yp[1]){if(e.preventDefault(),e.stopPropagation(),!t.parent||!t.parent.blotConfig||!t.parent.blotConfig.keepFocus)jp(t.scroll.selection.getRange(),1)[0]&&t.editor.blur();var s=!t.map.get("checked");t.map.set("checked",s)}})),t.isSeparableByClickApplicable=!0,t}return t=i,r=[{key:"create",value:function(){var e=Fp(qp(i),"create",this).call(this);return e.classList.add(Zp),e}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type",i.blotName),e.set("checked",n.hasOwnProperty("checked")&&n.checked||!1),Fp(qp(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Fp(qp(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.editor.mode!==this.editor.constructor.MODE_READONLY&&this.domNode.addEventListener("mousedown",this.onCheckboxMouseDown,!1),"Safari"===this.editor.browser&&(this.domNode.addEventListener("mousemove",this.onCheckboxMouseMove,!1),this.domNode.addEventListener("mouseleave",this.onCheckboxMouseLeave,!1))}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Fp(qp(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.domNode.removeEventListener("mousedown",this.onCheckboxMouseDown,!1),this.domNode.removeEventListener("mousemove",this.onCheckboxMouseMove,!1),this.domNode.removeEventListener("mouseleave",this.onCheckboxMouseLeave,!1)}},{key:"render",value:function(){Fp(qp(i.prototype),"render",this).call(this),this.domNode.setAttribute("data-checked",this.map.get("checked"))}},{key:"addSubTask",value:function(){this.isCollapsed()&&this.map.set("collapsed",!1),this.parent.addBlot(this.map.get("type"),{indent:this.map.get("indent")+1,after:this.id,focus:{index:0}})}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{color:this.map.get("color"),align:this.map.get("align"),indent:this.map.get("indent"),collapsed:this.map.get("collapsed"),delta:this.delta({forCopy:!0}),checked:this.map.get("checked")}),e.get("id")}},{key:"contextMenu",get:function(){var e=Fp(qp(i.prototype),"contextMenu",this);return e.addSubTask={label:this.editor.plugins.i18n.get("block_menu.add_sub_task"),index:-3,group:0,action:"addSubTask",stackable:!1},e}},{key:"getListItemInsertParams",value:function(){return{checked:this.map.get("checked")}}}])&&Bp(t.prototype,n),r&&Bp(t,r),i}(dp);Kp.blotName="listItemCheckbox",Kp.tagName=dp.tagName,Kp.scope=dp.scope,Kp.allowedChildren=dp.allowedChildren;const $p=Kp;function Qp(e){return(Qp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xp(Object(n),!0).forEach((function(t){ef(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tf(e){return function(e){if(Array.isArray(e))return rf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||nf(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 nf(e,t){if(e){if("string"==typeof e)return rf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rf(e,t):void 0}}function rf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function of(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function af(e,t){return(af=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uf(e);if(t){var o=uf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lf(this,n)}}function lf(e,t){if(t&&("object"===Qp(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 cf(e,t,n){return(cf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=uf(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function uf(e){return(uf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var df=function(e){!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}}),t&&af(e,t)}(i,e);var t,n,r,o=sf(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isText=!0,t.scroll,t.content,t.token=!1,t.align,t.color,t.savedContent="",t.lastInColumn=!1,t.domNode.classList.add("paragraph"),t.allowUpdate=!0,t.isSeparableByClickApplicable=!0,t.addCanExecActions(tf(pc.canExecActions)),t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ju.initMap(e,t,n),cd.initMap(e,t,n),cf(uf(i),"initMap",this).call(this,e,t,n)}},{key:"formats",value:function(e){var t=a().query(this.blotName).tagName;if(e.tagName!==t)return a().Format.formats.call(this,e)}},{key:"convertBlots",value:function(e,t,n){var r=this,o=n.params,i=n.container;if(!e.length)return null;o.initParams||(o.initParams={});var a=e.map((function(e){var t=i.editor.findById(e);return t||console.error("ParagraphAbstract.convertBlots could not find blot with id "+e),t}));a.every((function(e){return ie(e,(function(e){return e.isCollapsibleContainer}))}))||(a=a.filter((function(e){return!ie(e,(function(e){return e.isCollapsibleContainer}))}))),a.every((function(e){return e.container===i}))||i!==i.scroll&&(i=i.container);var s={},l=!0;return a.map((function(e){if(e instanceof pc||e instanceof Vf)if(e instanceof dp)s[e.parent.id]||(s[e.parent.id]=[]),s[e.parent.id].push(e.id);else{var t={after:e.id,delta:Ci(e.delta()),focus:{index:0},color:o.color||e.map.get("color"),align:o.align||e.map.get("align")};if(t=Jp(Jp({},t),o.initParams),r.setCommentThreads(e,t),["lineColor","borderColor"].forEach((function(n){e.map.has(n)&&(t[n]=e.map.get(n))})),e.hasChildrenContainer&&!e.isCollapsed()){var n=e.map.get("children").toArray();if(n.length){var a,c=i.getChildIndex(e.id)+1,u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=nf(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(n);try{for(u.s();!(a=u.n()).done;){var d=a.value;i.moveChild(d,c),c++}}catch(e){u.e(e)}finally{u.f()}}}i.addBlot(o.type,t),i.removeChildById(e.id)}else if(e.getTextDelta){var p=e.getTextDelta(o),f=o.focusIndex||0,h={after:e.id,delta:p,focus:{index:f}};h=Jp(Jp({},h),o.initParams),r.setCommentThreads(e,h),i.addBlot(o.type,h),i.removeChildById(e.id)}else l=!1})),Object.keys(s).map((function(e){var t=i.editor.findById(e);t.splitList(t.getChildIndex(s[e][0]),s[e].length,{initParams:o.initParams},o.type)})),l}},{key:"getMaxIndent",value:function(){return 30}}],(n=[{key:"textLineOnEnterKey",value:function(e){var t=this.scroll.selection.getRange({offsetBlot:this})[0];return t&&0===t.index&&0===t.length?(e.preventDefault(),this.container.addBlot("paragraph",{before:this.id}),this.editor.plugins.selectionScroller.triggerSelectionChange(),!0):cf(uf(i.prototype),"textLineOnEnterKey",this).call(this,e)}},{key:"textLineAddNextBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"paragraph";return cf(uf(i.prototype),"textLineAddNextBlot",this).call(this,e,t)}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=cf(uf(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this._paragraphInitialized||(this._paragraphInitialized=!0,this.render())}},{key:"render",value:function(){cf(uf(i.prototype),"render",this).call(this)}},{key:"contextMenu",get:function(){var e=cf(uf(i.prototype),"contextMenu",this);return Object.assign(e,Nd(this.editor)),e}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{color:this.map.get("color"),align:this.map.get("align"),delta:this.delta({forCopy:!0})}),e.get("id")}},{key:"exec",value:function(e){return cf(uf(i.prototype),"exec",this).call(this,e)}}])&&of(t.prototype,n),r&&of(t,r),i}(se([Ec,Pd,bd,Vu,gu,Mu,cd,Ju,Eu,tu])(pc));df.defaultChild=pc.defaultChild,df.allowedChildren=pc.allowedChildren,fc.ParagraphAbstract=df;const pf=df;var ff=n(21791),hf=n.n(ff);function mf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||bf(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 gf(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=bf(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function yf(e){return(yf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vf(e){return function(e){if(Array.isArray(e))return _f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bf(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 bf(e,t){if(e){if("string"==typeof e)return _f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_f(e,t):void 0}}function _f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cf(e,t){return(Cf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Sf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kf(e);if(t){var o=kf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ef(this,n)}}function Ef(e,t){if(t&&("object"===yf(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 xf(e,t,n){return(xf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kf(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function kf(e){return(kf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Of=function(e){!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}}),t&&Cf(e,t)}(i,e);var t,n,r,o=Sf(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isSelectable=!1,t.token=!1,t.emitter=new Oo,t.emitter.setMaxListeners(999999),t.domNode.classList.add("editor-list"),t.draggingElement,t.allowUpdate=!0,t.numberTemplateClass="number-template-decimal-all",t.domNode.classList.add(t.numberTemplateClass),t.updateChildrenDebounced=hf()(t.updateChildren,10,{trailing:!0}),t.isSeparableByClickApplicable=!0,t.addCanExecActions(vf(Bc.canExecActions)),t}return t=i,r=[{key:"normalizeParams",value:function(e){return e=Object.assign({},e),Array.isArray(e.items)&&(e.items=e.items.map((function(e){return"string"==typeof e?{type:e}:e}))),e}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(xf(kf(i),"initMap",this).call(this,e,t,n),n=this.normalizeParams(n),e.set("type","list"),n.numberTemplate?e.set("number-list-template",n.numberTemplate):e.set("number-list-template","decimal-all"),n.bulletTemplate?e.set("bullet-list-template",n.bulletTemplate):e.set("bullet-list-template",["circle"]),Array.isArray(n.items)){var r,o=gf(n.items);try{for(o.s();!(r=o.n()).done;){var s=r.value,l=t.createMap();a().query(s.type).initMap(l,t,s.params),e.get("children").push([l.get("id")])}}catch(e){o.e(e)}finally{o.f()}}}},{key:"convertBlots",value:function(e,t,n){var r=this,o=n.params,s=n.container;if(!e.length)return null;o=this.normalizeParams(o);var l={removeBlots:[],insertBlots:[]},c=e.map((function(e){return s.editor.findById(e)}));c.every((function(e){return ie(e,(function(e){return e.isCollapsibleContainer}))}))||(c=c.filter((function(e){return!ie(e,(function(e){return e.isCollapsibleContainer}))})));var u,d=gf(c);try{for(d.s();!(u=d.n()).done;){var p=u.value;if(!p)throw new Error("some of the blots passed in List#convertBlots not found");if(!(p instanceof pc||p instanceof Vf||!1===p.constructor.hasInnerTextLine))return null}}catch(e){d.e(e)}finally{d.f()}l.removeBlots=c.map((function(e){return e.id}));for(var f=o.items;f.length<e.length;){var h=Object.assign({},f[f.length-1]);f.push(h)}var m,g=function(e){var n=t.createMap(),i={items:e};return o.numberTemplate&&(i.numberTemplate=o.numberTemplate),o.bulletTemplate&&(i.bulletTemplate=o.bulletTemplate),r.initMap(n,t,i),{id:n.get("id")}},y=[],v=1,b=gf(c);try{for(b.s();!(m=b.n()).done;){var _,w=m.value,C=f.shift(),S=C.type,E=C.params||{};if(E.delta||(E.delta=Ci(w.delta())),w.map.get("indent")&&(E.indent=w.map.get("indent")),w.map.get("color")&&(E.color=w.map.get("color")),Ec(Object).setCommentThreads(w,E),y.push({type:S,params:E}),w.hasChildrenContainer&&!w.isCollapsed()&&w.map.get("children").toArray().length)l.insertBlots.push(g(y).id),(_=l.insertBlots).push.apply(_,vf(w.map.get("children").toArray())),y=[];else if(v===c.length)if(s instanceof i){o.numberTemplate&&s.map.set("number-list-template",o.numberTemplate),o.bulletTemplate&&s.map.set("bullet-list-template",o.bulletTemplate);var x,k=gf(y);try{for(k.s();!(x=k.n()).done;){var O=x.value,T=t.createMap();a().query(O.type).initMap(T,t,O.params),l.insertBlots.push(T.get("id"))}}catch(e){k.e(e)}finally{k.f()}}else l.insertBlots.push(g(y).id);v++}}catch(e){b.e(e)}finally{b.f()}return l}}],(n=[{key:"splitList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"paragraph",o={};"object"===yf(t)&&(n=t,t=1);var i=Array.from(this.map.get("children")),a=i.slice(e,e+t),s=i.slice(e+t),l=[].concat(vf(a),vf(s)),c=this.id;if(r){var u,d=gf(a);try{for(d.s();!(u=d.n()).done;){var p=u.value,f=this.editor.findById(p);if(null!==f){var h=Object.assign({},{after:c,color:f.map.get("color"),indent:f.map.get("indent"),delta:f.delta()},n.initParams);a.indexOf(p)===a.length-1&&(h.focus={index:0}),Ec(Object).setCommentThreads(f,h),c=this.parent.addBlot(r,h).id,o.id=c}}}catch(e){d.e(e)}finally{d.f()}}if(l.length===this.children.length)this.container.removeChildById(this.id);else{var m,g=gf(l);try{for(g.s();!(m=g.n()).done;){var y=m.value;this.removeChildById(y)}}catch(e){g.e(e)}finally{g.f()}}return s.length&&this.parent.addBlot("list",{after:c,children:s,bulletTemplate:this.getBulletTemplate()}),o}},{key:"splitWithBlot",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"paragraph",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],i=0,a=gf(this.map.get("children"));try{for(a.s();!(t=a.n()).done;){var s=t.value;i>e&&o.push(s),i++}}catch(e){a.e(e)}finally{a.f()}for(var l=0,c=o;l<c.length;l++){var u=c[l];this.removeChildById(u)}r.after=this.id;var d=this.parent.addBlot(n,r),p=d.id;return o.length&&this.parent.addBlot("list",{after:p,children:o,bulletTemplate:this.getBulletTemplate()}),{id:p}}},{key:"containerConvertBlots",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=a().query(t.type);if(r===dp||Object.getPrototypeOf(r)===dp||r===i||(0,fe.yG)(r).includes(pf)||r.isTextBlot||r.hasInnerTextLine||r.blotName.includes("toggle")||"step"===r.blotName||1!==e.length)return xf(kf(i.prototype),"containerConvertBlots",this).call(this,e,t,n);r.getConvertParams&&(t=r.getConvertParams(e[0],t));var o=this.splitWithBlot(this.getChildIndex(e[0].id),t.type,t),s=o.id;return t.removeOriginal&&e[0].remove(),{processed:!0,addedIds:[s]}}},{key:"moveChild",value:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof Object?e=(n=e).id:n=this.editor.findById(e);var a,s=o.relBlot;if(n instanceof dp)s&&(o.skipListIndent?o.hasOwnProperty("indentDiff")&&n.setIndent(n.getIndent()+o.indentDiff):(n.getSubItems&&n.getSubItems().length&&(o.skipListIndent=!0,o.indentDiff=s.getIndent()-n.getIndent()),n.setIndent(s.getIndent()))),a=xf(kf(i.prototype),"moveChild",this).call(this,e,t);else{if(!(n instanceof pc)){var l=this.container;return void(0===t?l.moveChild(n,l.getChildIndex(this.id),o):(t===this.children.length||this.splitList(t,0),l.moveChild(n,l.getChildIndex(this.id)+1,o)))}var c=n.delta(),u={delta:c,index:t},d="listItemBullet";s&&(u.indent=s.getIndent(),d=s.getBlotName()),this.store.transaction((function(){n.remove();var e=r.addBlot(d,u);a=e.id}))}return a}},{key:"optimize",value:function(e){var t=this;if(xf(kf(i.prototype),"optimize",this).call(this,e),this.next instanceof i&&!this._mergingBottomList&&!this.editor.plugins.undoManager.isUndoingOrRedoing()&&this.children.length&&this.next.children.length&&this.next.isAttached()){var n=!1;if(e.mutations&&Array.isArray(e.mutations)&&"remote"!==e.source){var r,o=gf(e.mutations);try{for(o.s();!(r=o.n()).done;){var a=r.value;if("childList"===a.type&&a.previousSibling===this.domNode&&a.removedNodes.length){console.log("Mutation",a,e,"current node",this.domNode,"next node",this.next.domNode.outerHTML,"next blot",Object.assign({},this.next)),n=!0;break}}}catch(e){o.e(e)}finally{o.f()}}if(n)try{var s=mf(this.scroll.selection.getRange(),1)[0];this._mergingBottomList=!0,this.scroll.execInBatch((function(){t.editor.store.transaction((function(){var e,n=t.next.children.map((function(e){return e.id})),r=t.getChildIndex(t.children.tail.id)+1,o=gf(n);try{for(o.s();!(e=o.n()).done;){var i=e.value;t.next.removeChildById(i),r=Math.min(r,t.containerChildren.length),t.containerChildren.insert(r,[i]),r++}}catch(e){o.e(e)}finally{o.f()}}))})),s&&this.scroll.selection.setRange(s)}finally{this._mergingBottomList=!1}}}},{key:"render",value:function(){xf(kf(i.prototype),"render",this).call(this);var e="number-template-"+this.map.get("number-list-template");if(this.numberTemplateClass!==e&&(this.domNode.classList.remove(this.numberTemplateClass),this.numberTemplateClass=e,this.domNode.classList.add(this.numberTemplateClass)),this.editor.blotsConfig.hasOwnProperty("list")&&!0===this.editor.blotsConfig.list.collapsible){this.editor.ready?this.updateChildrenDebounced():this.updateChildren();var t=this.editor.plugins.blockMenu?this.editor.plugins.blockMenu.anchorBlot:null;t&&-1!==this.getChildIndex(t.id)&&this.editor.plugins.blockMenu.updateBlockMenu(!0)}}},{key:"getBulletTemplate",value:function(){return this.map.get("bullet-list-template")}},{key:"setBulletTemplate",value:function(e){this.map.set("bullet-list-template",e),this.children.forEach((function(e){e.render()}))}},{key:"updateChildren",value:function(){var e={0:1};this.children.forEach((function(t){var n,r=(null===(n=t.map)||void 0===n?void 0:n.get("indent"))||0;0===r&&Object.keys(e).forEach((function(t){t>0&&delete e[t]})),e.hasOwnProperty(r)||(e[r]=1),t.updateListItemPropsIfNeed(e[r]),e[r]++}))}},{key:"hasCollapsedListItems",value:function(){return Boolean(this.children.map((function(e){return e})).filter((function(e){return e.isCollapsed()})).length)}},{key:"hasExpandedListItems",value:function(){return Boolean(this.children.map((function(e){return e})).filter((function(e){return e.getSubItems().length&&!e.isCollapsed()})).length)}},{key:"onExpandAll",value:function(){this.children.forEach((function(e){e.isCollapsed()&&e.map.set("collapsed",!1)}))}},{key:"onCollapseAll",value:function(){this.children.forEach((function(e){e.getSubItems().length&&!e.isCollapsed()&&e.map.set("collapsed",!0)}))}},{key:"update",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xf(kf(i.prototype),"update",this)).call.apply(e,[this].concat(n))}},{key:"toHTML",value:function(){return this.domNode.outerHTML}},{key:"getMarkdown",value:function(){var e="";return this.updateChildren(),this.children.forEach((function(t){e+=t.getMarkdown()})),e}}])&&wf(t.prototype,n),r&&wf(t,r),i}(tu(gu(Eu(Bc(a().Container)))));Of.blotName="list",Of.scope=a().Scope.BLOCK_BLOT,Of.tagName=["UL"],Of.defaultChild=null,Of.allowedChildren=[Ep,Np,$p];const Tf=Of;function Af(e){return(Af="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||If(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 Rf(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=If(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function If(e,t){if(e){if("string"==typeof e)return Mf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mf(e,t):void 0}}function Mf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Df(e,t,n){return(Df="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Uf(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function jf(e,t){return(jf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Uf(e);if(t){var o=Uf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bf(this,n)}}function Bf(e,t){if(t&&("object"===Af(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ff(e)}function Ff(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uf(e){return(Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hf=function(e){!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}}),t&&jf(e,t)}(i,e);var t,n,r,o=Lf(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=Ff(t),a=function(e){t.render()},(r="mapObserver")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.domNode.classList.add("primary-blot"),t}return t=i,r=[{key:"convertBlots",value:function(e,t,n){var r=n.params,o=n.container;if(!e.length)return null;var a=e.map((function(e){var t=o.editor.findById(e);return t||console.error("Primary.convertBlots could not find blot with id "+e),t}));a.every((function(e){return ie(e,(function(e){return e.isCollapsibleContainer}))}))||(a=a.filter((function(e){return!ie(e,(function(e){return e.isCollapsibleContainer}))}))),a.every((function(e){return e.container===o}))||o===o.scroll||(o=o.container);var s=!0,l={};return a.map((function(e){if(e instanceof pc||e instanceof i)if(e.container instanceof Tf)l[e.parent.id]||(l[e.parent.id]=[]),l[e.parent.id].push(e.id);else{var t=["color","align","indent","lineColor","borderColor"].reduce((function(t,n){return r.hasOwnProperty(n)?t[n]=r[n]:e.map.has(n)&&(t[n]=e.map.get(n)),t}),{after:e.id,delta:Ci(e.delta()),focus:{index:0}});if(e.hasChildrenContainer&&!e.isCollapsed()){var n=e.map.get("children").toArray();if(n.length){var a,c=o.getChildIndex(e.id)+1,u=Rf(n);try{for(u.s();!(a=u.n()).done;){var d=a.value;o.moveChild(d,c),c++}}catch(e){u.e(e)}finally{u.f()}}}o.addBlot(r.type,t),o.removeChildById(e.id)}else if(e.getTextDelta){var p=e.getTextDelta(r),f=r.focusIndex||0,h={after:e.id,delta:p,focus:{index:f}};o.addBlot(r.type,h),o.removeChildById(e.id)}else s=!1})),Object.keys(l).map((function(e){var t=o.editor.findById(e);t.splitList(t.getChildIndex(l[e][0]),l[e].length,{},r.type)})),s}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Df(Uf(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observe(this.map,this.mapObserver),this.render()}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Df(Uf(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.store.unobserve(this.map,this.mapObserver)}},{key:"isEmpty",value:function(){return!!this.hasTextLine&&this.getTextBlot().isEmpty()}},{key:"optimize",value:function(){}},{key:"update",value:function(){}},{key:"exec",value:function(e){var t,n=!1,r=Rf(this.getChildrenForAction());try{for(r.s();!(t=r.n()).done;)t.value.handleAction(e)&&(n=!0)}catch(e){r.e(e)}finally{r.f()}return n}},{key:"allowInlinePaste",get:function(){return!0}},{key:"getChildrenForAction",value:function(){var e=this;return this.children.map((function(e){return e})).filter((function(t){var n=Pf(e.scroll.selection.getRange({offsetBlot:t}),1)[0];return n&&n.index>=0&&n.length>=0}))}},{key:"getTextBlot",value:function(){return this.hasTextLine?this.children.head:null}},{key:"delta",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null===(e=this.getTextBlot())||void 0===e?void 0:e.delta(t)}},{key:"getBlotInsertParams",value:function(e,t){var n=this.constructor.blotName||null,r={},o=this.getTextBlot();if(o){var i=this.scroll.selectedBlocks,a=!e||e.length<0||i.indexOf(this)!==i.length-1&&e.length<1?o.getContents(0,o.length(),{forCopy:!0}).insert("\n"):o.getContents(e.index,e.length,{forCopy:!0}).insert("\n");a.ops[a.ops.length-1].insert.endsWith("\n\n")&&(a=a.slice(0,a.length()-1)),r.delta=a}return{type:n,initParams:r}}},{key:"renderContent",value:function(){return null}},{key:"render",value:function(){var e;null===(e=Df(Uf(i.prototype),"render",this))||void 0===e||e.call(this);var t=this.renderContent();(0,s.sY)(t,this.domNode)}},{key:"cloneSelf",value:function(){var e,t=(null===(e=this.getCloneParams)||void 0===e?void 0:e.call(this))||{};t.delta=this.delta({forCopy:!0});var n=this.store.createMap();return a().query(this.map.get("type")).initMap(n,this.store,t),n.get("id")}}])&&Nf(t.prototype,n),r&&Nf(t,r),i}(a().Block);Hf.defaultChild=null;const Vf=Hf;function zf(e){return(zf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wf(e,t,n){return(Wf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Qf(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Yf(e,t){return(Yf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qf(e);if(t){var o=Qf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kf(this,n)}}function Kf(e,t){if(t&&("object"===zf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $f(e)}function $f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qf(e){return(Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jf,eh=(0,Rn.ZP)("enter"),th=(0,Rn.ZP)("shift+enter");const nh=function(e){return function(e){!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}}),t&&Yf(e,t)}(i,e);var t,n,r,o=Zf(i);function i(){var e;qf(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Xf($f(e=o.call.apply(o,[this].concat(n))),"onEmbeddableMouseDown",(function(t){var n=!0;e.embeddableFocusableNode&&((0,H.nN)(e.embeddableFocusableNode,t.target)||(n=!1)),n?(e.embeddableFocus(t),e.props.focused||t.preventDefault()):(e.selection.clearSelection(),e.scroll.setSelectedBlots([]),t.preventDefault())})),e.isEmbeddable=!0,e.embeddableFocusableNode=null,e}return t=i,r=[{key:"addCaretTrap",value:function(e,t,n){if(e.mode!==e.constructor.MODE_EXPORT){var r=document.createElement("div");r.innerHTML="&nbsp;",r.classList.add("caret-trap"),void 0===n&&(n=Jf),!0===n?r.setAttribute("contenteditable",!0):!1===n&&r.setAttribute("contenteditable",!1);var o=t.querySelector(".caret-trap-container");o?o.appendChild(r):t.insertBefore(r,t.firstChild)}}}],(n=[{key:"attach",value:function(){Wf(Qf(i.prototype),"attach",this).call(this),this.editor&&this.editor.mode===this.editor.constructor.MODE_EDIT&&this.domNode.addEventListener("mousedown",this.onEmbeddableMouseDown,!1)}},{key:"detach",value:function(){Wf(Qf(i.prototype),"detach",this).call(this),this.domNode.removeEventListener("mousedown",this.onEmbeddableMouseDown,!1)}},{key:"handleKeyDown",value:function(e){if(!Wf(Qf(i.prototype),"handleKeyDown",this)||!Wf(Qf(i.prototype),"handleKeyDown",this).call(this,e)){var t=this.scroll&&this.scroll.selectedBlocks&&1===this.scroll.selectedBlocks.length&&this.scroll.selectedBlocks[0]===this,n=!Xi(e)&&e.key&&1===e.key.length||th(e),r=eh(e)||n&&t,o=this.scroll&&this.scroll.selectedBlocks&&this.scroll.selectedBlocks[0]!==this,a=this.scroll&&this.scroll.selectedBlocks&&this.scroll.selectedBlocks[this.scroll.selectedBlocks.length-1]===this;if(r&&e.preventDefault(),n){if(t||o&&!a)return;if(a)this.remove();else{var s=new yo(yo.type,{},this.editor);s.dontRestoreSelection(),s.run({processingBlots:this.scroll.selectedBlocks})}}else eh(e)&&this.container.addBlot("paragraph",{after:this.id,focus:{index:0}})}}},{key:"exec",value:function(e){if(!Wf(Qf(i.prototype),"exec",this)||!Wf(Qf(i.prototype),"exec",this).call(this,e)){var t=!1;return"delete-blot"===e.type&&(t=!0,this.remove()),t}}},{key:"embeddableFocus",value:function(){if(1!==this.scroll.selectedBlocks.length||this.scroll.selectedBlocks[0]!==this){var e=this.selection.getRange();if(e&&e[1]){var t=e[1].native;t.commonAncestorContainer===this.getWrapper().domNode||this.getWrapper().domNode.contains(t.commonAncestorContainer)||this.selection.clearSelection()}this.scroll.setSelectedBlots([this])}else this.editor.options.embeddableSetCaretInTrapIfFocusedAgain&&this.setCaretInTrap()}},{key:"setCaretInTrap",value:function(){var e=new Range,t=this.getWrapper().domNode.querySelector(".caret-trap");if(!t)return!1;var n=t.childNodes[0];return e.setStart(n,0),e.setEnd(n,0),getSelection().removeAllRanges(),getSelection().addRange(e),!0}},{key:"getCaretTrap",value:function(){return this.getWrapper().domNode.querySelector(".caret-trap")}},{key:"onFocusableFocus",value:function(){Wf(Qf(i.prototype),"onFocusableFocus",this)&&Wf(Qf(i.prototype),"onFocusableFocus",this).call(this);var e=this.scroll.selection.getRange()[0];e&&0!==e.length||this.setCaretInTrap()}},{key:"position",value:function(e,t){var n=null;if(0!==e);else{var r=this.getCaretTrap();r&&(n=[r.firstChild,0])}return n||(n=Wf(Qf(i.prototype),"position",this).call(this,e,t)),n}},{key:"render",value:function(){Wf(Qf(i.prototype),"render",this)&&Wf(Qf(i.prototype),"render",this).call(this)}},{key:"beforeCopyContent",value:function(){var e=this.getWrapper(),t=1;e.container.children.tail===e?t=e.container.length()-e.offset(e.container):null!==e.next&&(t=e.next.offset(this.scroll)-e.offset(this.scroll)),this.scroll.selection.setRange({index:this.offset(this.scroll),length:t})}}])&&Gf(t.prototype,n),r&&Gf(t,r),i}(e)};function rh(e){return(rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ih(e,t){return(ih=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ah(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uh(e);if(t){var o=uh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return sh(this,n)}}function sh(e,t){if(t&&("object"===rh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return lh(e)}function lh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ch(e,t,n){return(ch="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=uh(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function uh(e){return(uh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ph=bt.nimbusWhite,fh=function(e){!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}}),t&&ih(e,t)}(i,e);var t,n,r,o=ah(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),dh(lh(t=o.call(this,e)),"mapObserver",(function(e){t.render()})),dh(lh(t),"setLineType",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.hasOwnProperty("lineType")&&t.map.set("line-type",e.lineType)})),t.addCanExecActions(["set-background","delete","backspace"]),t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","hLine"),n.color&&e.set("color",n.color),n.lineType&&e.set("line-type",n.lineType)}},{key:"create",value:function(e){var t=ch(uh(i),"create",this).call(this);return t.classList.add("horizontal-line"),t.setAttribute("contenteditable",!1),t}},{key:"createBlot",value:function(e){var t=a().create("hLine");return this.addCaretTrap(e,t.domNode),t}},{key:"convertBlots",value:function(e,t,n){n.params;var r=n.container;if(!e.length)return null;var o={removeBlots:[],insertBlots:[]},i=r.editor.findById(e[e.length-1]);1===e.length?i.isEmpty&&i.isEmpty()&&(o.removeBlots=e):o.removeBlots=e;var s=t.createMap();this.initMap(s,t),o.insertBlots.push(s.get("id"));var l=i.next;if(!l||l.isEmbeddable||l.getWrappedBlot&&l.getWrappedBlot().isEmbeddable){var c=t.createMap();a().query("paragraph").initMap(c,t),o.insertBlots.push(c.get("id")),o.focus={id:c.get("id"),focus:{index:0}}}else o.focus={id:i.next instanceof Tf?i.next.children.head.id:i.next.id,focus:{index:0}};return o}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=ch(uh(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.line||(this.line=document.createElement("hr"),this.domNode.appendChild(this.line),this.store.observe(this.map,this.mapObserver),this.render(),this.domNode.addEventListener("mousedown",(function(e){e.preventDefault()})))}},{key:"detach",value:function(){if(ch(uh(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=ch(uh(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserve(this.map,this.mapObserver)}},{key:"render",value:function(){ch(uh(i.prototype),"render",this)&&ch(uh(i.prototype),"render",this).call(this);var e=this.getColor(),t=this.domNode.hasAttribute("data-line-color");e?is(e)?(t&&this.domNode.removeAttribute("data-line-color"),this.line.style.borderColor=e):(this.line.style.borderColor=null,this.domNode.setAttribute("data-line-color",e)):t&&this.domNode.removeAttribute("data-line-color"),this.map.get("line-type")!==this.line.getAttribute("data-lineType")&&this.line.setAttribute("data-lineType",this.map.get("line-type"))}},{key:"contextMenu",get:function(){var e=ch(uh(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n,n=this.getLineType();return e["change-color"]={label:t.get("block_menu.color.line_color"),index:-1,group:0,action:"change-color",stackable:!1,submenu:"ColorPicker",colorPickerParams:{closeOnChoice:!1}},e["line-type"]={label:t.get("block_menu.color.line_type"),index:-1,group:0,stackable:!1,submenu:{Solid:{label:t.get("block_menu.line_type.default"),index:0,group:0,stackable:!1,action:"setLineType",actionParams:{lineType:"solid"},icon:n?ct.EZi:ct.Zlx},Dotted:{label:t.get("block_menu.line_type.dotted"),index:1,group:0,stackable:!1,action:"setLineType",actionParams:{lineType:"dotted"},icon:n?ct.Zlx:ct.EZi}}},e.align=!1,e.indent=!1,e}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{color:this.map.get("color"),lineType:this.map.get("line-type")}),e.get("id")}},{key:"exec",value:function(e){var t=!1,n=e.params;return"set-background"===e.type?("transparent"===n&&(n=null),this.map.set("color",n),t=!0):"backspace"===e.type&&(e.dontRestoreSelection(),t=!0),t}},{key:"getColor",value:function(){return this.map.get("color")}},{key:"getLineType",value:function(){return"dotted"!==this.map.get("line-type")}},{key:"getBlotInsertParams",value:function(e,t){var n=ch(uh(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:{color:this.map.get("color"),lineType:this.map.get("line-type")}})}},{key:"getMarkdown",value:function(){return"\n\n"}}])&&oh(t.prototype,n),r&&oh(t,r),i}(se([Ec,Pd,nh,gu,Mu,Vu,bd,Eu,tu])(O));fh.blotName="hLine",fh.tagName="DIV";const hh=fh;function mh(e){return(mh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||yh(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 yh(e,t){if(e){if("string"==typeof e)return vh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vh(e,t):void 0}}function vh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _h(e,t){return(_h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xh(e);if(t){var o=xh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ch(this,n)}}function Ch(e,t){if(t&&("object"===mh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sh(e)}function Sh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eh(e,t,n){return(Eh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=xh(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function xh(e){return(xh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oh=["bold","italic","underline","strikethrough","link","background","color","comment"],Th=function(e){!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}}),t&&_h(e,t)}(i,e);var t,n,r,o=wh(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),kh(Sh(t=o.call(this,e)),"getCurrentLineColor",(function(){return t.map.get("lineColor")||t.map.get("line-color")||null})),kh(Sh(t),"onPaste",(function(e){var n=e.text,r=gh(t.scroll.selection.getRange({offsetBlot:Sh(t)}),1)[0],o=n.trim();if(fl(o))return t.editor.plugins.pasteManager.pasteUrlIntoText(Sh(t),r,o),!0;var i=(n=n.replace(/\r\n/g,"\n")).split("\n"),a=gh(t.scroll.selection.getRange(),1)[0];a.index+=n.length,a.length=0;var s=[{retain:r.index}];return r.length>0&&s.push({delete:r.length}),i.map((function(e,t){s.push({insert:e}),t!==i.length-1&&s.push({insert:{linebreak:"s"}})})),t.map.get("characters").applyDelta(s),t.scroll.selection.setRange(a),!0})),t.addCanExecActions(["set-line-color"]),t.onStartBackspaceConvertToParagraph=!0,t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","blockquote"),n.lineColor&&e.set("lineColor",n.lineColor),Eh(xh(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"getAllowedStyles",value:function(){return Oh}},{key:"contextMenu",get:function(){var e=Eh(xh(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n;return e["change-line-color"]={label:t.get("block_menu.color.line_color"),index:-1,group:0,action:"change-color",stackable:!1,submenu:"ColorPicker",colorPickerParams:{getSelectedColor:this.getCurrentLineColor,execAction:"set-line-color",defaultColor:"transparent"}},e}},{key:"render",value:function(){Eh(xh(i.prototype),"render",this).call(this),this.domNode.classList.contains("blockquote")||this.domNode.classList.add("blockquote");var e=this.getCurrentLineColor(),t=this.domNode.style.getPropertyValue("--editor-quote-line-color"),n=this.domNode.hasAttribute("data-border-color");e?is(e)?(n&&this.domNode.removeAttribute("data-border-color"),this.domNode.hasAttribute("has-line-color")||this.domNode.setAttribute("has-line-color",!0),this.domNode.style.setProperty("--editor-quote-line-color",e)):(t&&this.domNode.style.removeProperty("--editor-quote-line-color"),this.domNode.hasAttribute("has-line-color")&&this.domNode.removeAttribute("has-line-color"),this.domNode.setAttribute("data-border-color",e)):n&&this.domNode.removeAttribute("data-border-color")}},{key:"exec",value:function(e){var t=!1,n=e.params;return"set-line-color"===e.type&&("transparent"===n&&(n=null),this.map.set("lineColor",n),t=!0),t||Eh(xh(i.prototype),"exec",this).call(this,e)}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{color:this.map.get("color"),align:this.map.get("align"),lineColor:this.getCurrentLineColor(),delta:this.delta({forCopy:!0})}),e.get("id")}},{key:"toHTML",value:function(e){var t,n="",r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=yh(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(this.domNode.attributes);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.name.startsWith("data-")&&(n+=" "+o.name+'="'+o.value+'"')}}catch(e){r.e(e)}finally{r.f()}var a="";return e.options.toEmail&&(a=" padding: 5px; margin: 5px 0;"),'<blockquote class="'+this.domNode.className+'"'+n+' style="text-align:'+this.map.get("align")+";"+a+'">'+Eh(xh(i.prototype),"toHTML",this).call(this,e)+"</blockquote>"}},{key:"getBlotInsertParams",value:function(e,t){var n=Eh(xh(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{textLineType:"blockquote",initParams:{lineColor:this.getCurrentLineColor()}})}}])&&bh(t.prototype,n),r&&bh(t,r),i}(pf);Th.blotName="blockquote",Th.tagName="BLOCKQUOTE";const Ah=Th;function Ph(e){return(Ph="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rh(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ih(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ih(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ih(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dh(e,t){return(Dh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Uh(e);if(t){var o=Uh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Lh(this,n)}}function Lh(e,t){if(t&&("object"===Ph(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Bh(e)}function Bh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fh(e,t,n){return(Fh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Uh(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Uh(e){return(Uh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vh=function(e){!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}}),t&&Dh(e,t)}(i,e);var t,n,r,o=jh(i);function i(){var e,t,n;Mh(this,i);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return Hh(Bh(n=o.call.apply(o,[this].concat(a))),"paragraphMapObserver",(function(){n.render()})),Hh(Bh(n),"handleInput",(function(r){Fh((e=Bh(n),Uh(i.prototype)),"handleInput",e)&&Fh((t=Bh(n),Uh(i.prototype)),"handleInput",t).call(t,r);var o=n.editor.scroll.selection.getRange({offsetBlot:Bh(n)})[0];if(0===o.length){var a=!1;n.children.forEach((function(e){a||o.index!==e.offset(Bh(n))||e.handleInput&&(a=e.handleInput(r))}))}})),n}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","paragraph"),Fh(Uh(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"isSizeAware",get:function(){return this.props.focused}},{key:"sizeAwareUpdateSize",value:function(e){this.setProps({maxAvailableWidth:e})}},{key:"attach",value:function(){Fh(Uh(i.prototype),"attach",this).call(this),this.map.get("characters").observe(this.paragraphMapObserver)}},{key:"detach",value:function(){Fh(Uh(i.prototype),"detach",this).call(this);var e=this.map.get("characters");e&&e.unobserve(this.paragraphMapObserver),this.editor.plugins.embeddedMenu&&this.editor.plugins.embeddedMenu.hide(this)}},{key:"render",value:function(){if(Fh(Uh(i.prototype),"render",this).call(this),this.editor.mode===this.editor.constructor.MODE_EDIT){var e=this.isEmpty();e&&this.scroll.selectedBlocks.length<=1&&1===this.delta().ops.length&&this.props.focused||e&&!this.next&&!this.prev&&this.parent===this.scroll&&1===this.store.rootChildren.length&&(!this.hasOwnProperty("_removedByContainer")||!this._removedByContainer)?(this.editor.plugins.embeddedMenu.show(this,{maxWidth:this.domNode.offsetWidth}),this.domNode.classList.add("no-highlight")):(this.editor.plugins.embeddedMenu.hide(this),this.domNode.classList.contains("no-highlight")&&this.domNode.classList.remove("no-highlight"))}}},{key:"contextMenu",get:function(){var e=Fh(Uh(i.prototype),"contextMenu",this),t=this.delta().ops,n=this.editor.plugins.i18n,r=2===t.length&&t[0].attributes&&t[0].attributes.hasOwnProperty("link")&&"\n"===t[1].insert.replace(" ","");return 1===this.scroll.selectedBlocks.length&&r&&(e["turn-into"].submenu.convertToRemoteFrame={label:n.get("block_menu.convert_to.remote_frame"),index:9,group:0,action:"convert-blot",actionParams:{type:"remote-frame",src:this.delta().ops[0].attributes.link},actionExec:!0,stackable:!1,icon:ct.g9E,hint:ri.CF+"+"+ri.$d+"+m"},e["turn-into"].submenu.turnToBookmark={label:n.get("block_menu.convert_to.bookmark"),index:10,group:0,action:"convert-blot",actionParams:{type:"bookmark",src:this.delta().ops[0].attributes.link,replaceBlotId:this.id},actionExec:!0,icon:ct.BZM,hint:ri.CF+"+"+ri.$d+"+b"}),e}},{key:"toHTML",value:function(e){var t,n="",r=Rh(this.domNode.attributes);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.name.startsWith("data-")&&(n+=" "+o.name+'="'+o.value+'"')}}catch(e){r.e(e)}finally{r.f()}var a="";return e.options.toEmail&&(a=" padding: 5px; margin: 5px 0;"),'<div class="'+this.domNode.className+'"'+n+' style="text-align:'+this.map.get("align")+";"+a+'">'+Fh(Uh(i.prototype),"toHTML",this).call(this,e)+"</div>"}},{key:"getMarkdown",value:function(){return Fh(Uh(i.prototype),"getMarkdown",this).call(this)}}])&&Nh(t.prototype,n),r&&Nh(t,r),i}(pf);Vh.blotName="paragraph",Vh.tagName="DIV",Vh.allowedChildren=pf.allowedChildren;const zh=Vh;function qh(e){return(qh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wh(e,t){return(Wh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kh(e);if(t){var o=Kh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zh(this,n)}}function Zh(e,t){if(t&&("object"===qh(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 Kh(e){return(Kh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $h=function(e){!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}}),t&&Wh(e,t)}(i,e);var t,n,r,o=Yh(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,"string"==typeof t&&(t={position:t}),o.call(this,e,t,n)}return t=i,(n=[{key:"getAllowedContainer",value:function(e){return e.container.constructor.allowedChildren.some((function(e){return e.isPrototypeOf(zh)}))?{blot:e,container:e.container}:this.getAllowedContainer(e.container)}},{key:"exec",value:function(e){var t=e.processingBlots;if(0===t.length&&(t=0!==this.editor.scroll.selectedBlocks.length&&this.editor.scroll.selectedBlocks),!t)return!1;var n="above"===this.params.position?t[0]:t[t.length-1];if(n instanceof dp){var r="above"===this.params.position?n.index-1:n.index;if(n.getSubItems&&"above"!==this.params.position){var o=n.getSubItems();o.length&&(r=o[o.length-1].index)}return n.parent.splitWithBlot(r,"paragraph",{focus:{index:0}}),!0}var i=this.getAllowedContainer(n),a=i.blot,s=i.container;return"above"===this.params.position?s.addBlot("paragraph",{focus:{index:0},before:a.id}):s.addBlot("paragraph",{focus:{index:0},after:a.id}),!0}}])&&Gh(t.prototype,n),r&&Gh(t,r),i}(ro);function Qh(e){return(Qh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jh(e,t,n){return(Jh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=om(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function em(e,t){return(em=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=om(e);if(t){var o=om(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nm(this,n)}}function nm(e,t){if(t&&("object"===Qh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rm(e)}function rm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function om(e){return(om=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}$h.type="add-paragraph";var im=function(e){!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}}),t&&em(e,t)}(i,e);var t,n,r,o=tm(i);function i(e,t,n){var r,a,s,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,r=o.call(this,e,t,n),a=rm(r),l=null,(s="rangeBefore")in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,r.restoreSelection=!0,r.deleteAction=null,r.newRange=null,r.bcount=0,r}return t=i,(n=[{key:"isTextBlot",value:function(e){return e instanceof pc||e.statics.isTextBlot}},{key:"before",value:function(e){var t=e.processingBlots;this.rangeBefore=this.editor.scroll.selection.getRange()[0],this.rangeBefore&&this.rangeBefore.length>0&&(this.deleteAction=new yo(yo.type,this.params,this.editor),this.deleteAction.before({processingBlots:t}))}},{key:"after",value:function(){if(this.focusToLineblot){var e=this.prevPrevBlot.offset(this.scroll);if(this.prevBlot&&this.prevBlot instanceof yM){var t=this.prevBlot.offset(this.scroll);(this.prevPrevBlot.parent&&"gridCol"===this.prevPrevBlot.parent.constructor.blotName||this.prevPrevBlot instanceof dp)&&(t=this.rangeBefore.index-7),this.newRange=this.newRange||{index:t-1,length:0}}else if(this.prevPrevBlot&&this.prevPrevBlot instanceof dp)this.newRange=this.newRange||{index:this.rangeBefore.index-(this.bcount+1)-1,length:0};else{var n=this.prevPrevBlot.length();n>0&&(e=e+n-1),this.newRange=this.newRange||{index:e,length:0}}try{this.editor.scroll.selection.setRange(this.newRange)}catch(t){this.editor.scroll.selection.setRange({index:e,length:0})}}else this.deleteAction?this.deleteAction.after():this.restoreSelection&&this.rangeBefore&&(this.newRange=this.newRange||{index:this.rangeBefore.index-1,length:0},this.editor.scroll.selection.setRange(this.newRange));if(!("Chrome"!==this.editor.browser||this.deleteAction||this.restoreSelection&&this.rangeBefore)){var r=new CustomEvent("selectionchange",{});document.dispatchEvent(r)}}},{key:"getPrevTextLineBlot",value:function(e){var t=e.prev;return t?(t.isContainer?t=t.children.tail:t.getInnerTextLine&&(t=t.getInnerTextLine()),t&&this.isTextBlot(t)?t:null):null}},{key:"getPreviousTextLineBlot",value:function(e){if(!e)return!1;var t=!1,n=e.prev;if(!n)return null;if(this.isTextBlot(n))return n;if(n.isContainer){if(n=n.children.tail,this.isTextBlot(n))return n;t=!0}else if(n.getInnerTextLine){if(n=n.getInnerTextLine(),this.isTextBlot(n))return n;t=!0}else t=!0;return t?(this.bcount++,this.getPreviousTextLineBlot(n)):void 0}},{key:"getPrevEmbeddableBlot",value:function(e){var t=e.prev;return t?t.table||t.embed?t:(t.isContainer&&(t=t.children.tail),t&&t.isEmbeddable?t:null):null}},{key:"useDelAction",value:function(e){this.deleteAction=new yo(yo.type,this.params,this.editor),this.deleteAction.before({processingBlots:e}),this.deleteAction.exec({processingBlots:e})}},{key:"exec",value:function(e){var t=e.processingBlots;if(this.deleteAction){var n=this.deleteAction.exec({processingBlots:t});return this.deleteAction.isHandledByBrowser&&this.handleByBrowser(),n}var r=!1,o=t[0];if(o&&o.canExec&&o.canExec(this))if((r=Jh(om(i.prototype),"exec",this).call(this,{processingBlots:t}))||0!==this.getBlotRange(o).index)o instanceof hh?(this.useDelAction(t),r=!0):o instanceof Vf||(r=!0);else{var a=this.getPrevTextLineBlot(o);if(o.onStartBackspaceConvertToParagraph)this.dontRestoreSelection(),o.container.containerConvertBlots([o],{type:"paragraph",color:"transparent"}),r=!0;else if(a)if(!a.isEmpty()||a.dontRemoveWithBackspace){var s=yo.getBlotDelta(o,a);a.map.get("characters").applyDelta(s.ops),r=!0,o.remove()}else a.remove(),r=!0;else if(a=this.getPrevEmbeddableBlot(o))if(a.dontRemoveWithBackspace)r=!0;else{var l=this.getPreviousTextLineBlot(a);if(l&&this.isTextBlot(l)){var c=yo.getBlotDelta(o,l);l.map.get("characters").applyDelta(c.ops),this.focusToLineblot=!0,this.prevPrevBlot=l}a.remove(),o.remove(),r=!0}else this.dontRestoreSelection(),r=!0}return r}}])&&Xh(t.prototype,n),r&&Xh(t,r),i}(ro);function am(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[];return e.children.forEach((function(e){e.toHTML?r.push(e.toHTML(t)):n.allowRawHTML&&e.domNode&&r.push(e.domNode.outerHTML)})),r.join("")}function sm(e){return(sm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cm(e,t,n){return(cm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=hm(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function um(e,t){return(um=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hm(e);if(t){var o=hm(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pm(this,n)}}function pm(e,t){if(t&&("object"===sm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return fm(e)}function fm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hm(e){return(hm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}im.type="backspace";var gm=function(e){!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}}),t&&um(e,t)}(i,e);var t,n,r,o=dm(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),mm(fm(t=o.call(this,e)),"onImageWrapperMouseDown",(function(e){if(e.target==t.domNode){if(e.preventDefault(),e.stopPropagation(),t.embed.domNode.classList.contains("focused-block"))return!1;t.embed.embeddableFocus()}})),t.domNode.classList.add("embed-wrapper"),t.containerFixedChildren=!0,t.embed=null,t}return t=i,r=[{key:"setCaption",value:function(e,t,n){var r=t.get("caption");if(r){var o=e.store.blocks.get(r);if(o){var i=new(c())(n),a=new(c())(o.get("characters").toDelta()).diff(i);o.get("characters").applyDelta(a.ops)}}}}],(n=[{key:"id",get:function(){return this.map.get("id")}},{key:"getWrappedBlot",value:function(){return this.embed}},{key:"setDomNodeAttribute",value:function(e,t){"id"!==e&&this.domNode.setAttribute(e,t)}},{key:"buildBlot",value:function(){this.embed||(this.embed=a().create(this.map.get("type")),this.embed.map=this.map,this.appendChild(this.embed),this.domNode.addEventListener("mousedown",this.onEmbedWrapperMouseDown,!1))}},{key:"attach",value:function(){cm(hm(i.prototype),"attach",this).call(this),this.buildBlot()}},{key:"render",value:function(){}},{key:"detach",value:function(){cm(hm(i.prototype),"detach",this).call(this),this.domNode.removeEventListener("mousedown",this.onEmbedWrapperMouseDown,!1)}},{key:"addBlot",value:function(){var e;return(e=this.parent).addBlot.apply(e,arguments)}},{key:"getChildBlotsForExec",value:function(){return[this.embed]}},{key:"toHTML",value:function(e){return e.options.noAttachments?"":"<"+this.constructor.tagName+" "+(0,H.No)(this.domNode)+" "+(e.options.pdf?'style="page-break-inside: avoid;"':"")+">"+am(this,e,{allowRawHTML:!0})+"</"+this.constructor.tagName+">"}}])&&lm(t.prototype,n),r&&lm(t,r),i}(gu(tu(a().Container)));mm(gm,"serverCallable",["setCaption"]),gm.allowedChildren=[a().Embed],gm.blotName="embedWrapper",gm.tagName="DIV",gm.scope=a().Scope.BLOCK_BLOT;const ym=gm;function vm(e){return(vm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bm(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wm(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Cm(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){wm(i,r,o,a,s,"next",e)}function s(e){wm(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xm(e,t,n){return(xm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Pm(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function km(e,t){return(km=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Om(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pm(e);if(t){var o=Pm(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Tm(this,n)}}function Tm(e,t){if(t&&("object"===vm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Am(e)}function Am(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pm(e){return(Pm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Rm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Im="over-width-enabled",Mm="resize-over-width",Nm=["top-right","right","bottom-right","bottom"],Dm=function(e){return function(e){!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}}),t&&km(e,t)}(i,e);var t,n,r,o=Om(i);function i(){var e;Sm(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Rm(Am(e=o.call.apply(o,[this].concat(n))),"onResizePointsMouseDown",(function(t){t.preventDefault(),t.stopPropagation(),e.ignoringUpdateRender=!0,e.setMousePos({direction:t.target.getAttribute("data-direction"),altKey:t.altKey,ratio:e.map.get("ratio")}),e.onStartResizeBlot(),e.resizeContainer.classList.add("resize-process"),e.editor.emit("blot-resize-start"),document.addEventListener("mousemove",e.onResizeDocumentMouseMove,!1),document.addEventListener("mouseup",e.onResizeDocumentMouseUp,!1),document.addEventListener("keydown",e.onResizeDocumentKeyDown,!1),document.addEventListener("keyup",e.onResizeDocumentKeyUp,!1)})),Rm(Am(e),"onResizeDocumentMouseUp",(function(){clearInterval(e.scrollingInterval),e.ignoringUpdateRender=!1;var t=e.resizeContainer.getBoundingClientRect(),n=t.width,r=t.height;e.setMousePos(),e.onEndResizeBlot(),e.map.set("width",n),e.map.set("ratio",n/r),e.resizeContainer.classList.remove("resize-process"),e.editor.emit("blot-resize-end"),document.removeEventListener("mousemove",e.onResizeDocumentMouseMove,!1),document.removeEventListener("mouseup",e.onResizeDocumentMouseUp,!1),document.removeEventListener("keydown",e.onResizeDocumentKeyDown,!1),document.removeEventListener("keyup",e.onResizeDocumentKeyUp,!1)})),Rm(Am(e),"onResizeDocumentMouseMove",(function(t){if(e.savedMousePos){var n=e.savedMousePos,r=n.direction,o=n.ratio,i=t.clientX,a=t.clientY,s=t.altKey;e.setMousePos({x:i,y:a,direction:r,altKey:s,ratio:o})}})),Rm(Am(e),"onResizeDocumentKeyDown",(function(t){e.savedMousePos&&"bottom-right"===e.savedMousePos.direction&&"Alt"===t.key&&(t.preventDefault(),e.setMousePos(Object.assign({},e.savedMousePos,{altKey:!0})))})),Rm(Am(e),"onResizeDocumentKeyUp",(function(t){if(e.savedMousePos&&"bottom-right"===e.savedMousePos.direction&&"Alt"===t.key){t.preventDefault();var n=e.resizeContainer.getBoundingClientRect(),r=n.width,o=n.height;e.setMousePos(Object.assign({},e.savedMousePos,{altKey:!1,ratio:r/o}))}})),Rm(Am(e),"resolveAndSetContainerSize",Cm(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.map.get("width"),r=e.map.get("ratio"),n||r){t.next=9;break}if(e.getContentSize){t.next=5;break}return t.abrupt("return");case 5:e.resizeContainer.classList.add("width-is-undefined"),e.getContentSize().then((function(t){t&&(e.editor.mode===e.editor.constructor.MODE_EDIT?(t.width&&(!e.allowOverWidth&&t.width>e.maxContentWidth?e.map.set("width",e.maxContentWidth):e.map.set("width",t.width)),t.ratio&&e.map.set("ratio",t.ratio)):e.setResizeContainerSize({width:t.width,ratio:t.ratio}))})).finally((function(){e.resizeContainer.classList.remove("width-is-undefined"),e.editor.mode===e.editor.constructor.MODE_EDIT&&e.onResizeableResolveSize({width:e.map.get("width"),ratio:e.map.get("ratio")})})),t.next=10;break;case 9:!e.allowOverWidth&&n>e.maxContentWidth?e.setResizeContainerSize({width:e.maxContentWidth,ratio:r}):e.setResizeContainerSize({width:n,ratio:r});case 10:case"end":return t.stop()}}),t)})))),e.resizeable=!0,e.resizeContainer=e.createResizeContainer(),e}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xm(Pm(i.prototype),"attach",this)).call.apply(e,[this].concat(n));var o=Array.from(this.domNode.childNodes);this.domNode.insertBefore(this.resizeContainer,this.domNode.firstChild);for(var a=0,s=o;a<s.length;a++){var l=s[a];this.resizeContainer.appendChild(l)}}},{key:"maxContentWidth",get:function(){return this.getWrapper&&!this.allowOverWidth?this.getWrapper().domNode.getBoundingClientRect().width:this.container.domNode.offsetWidth}},{key:"maxContentOverWidth",get:function(){var e=55;return"mobile"===this.editor.options.deviceType&&(e=16),this.editor.scrollingContainer.offsetWidth-2*e}},{key:"allowOverWidth",get:function(){var e=this.map.get("allowOverWidth");return this.container===this.scroll&&(void 0===e||!0===e)}},{key:"isResizeAvailableGlobal",get:function(){return!(this.editor.options.blots&&this.editor.options.blots.mixins&&this.editor.options.blots.mixins.resizable&&this.editor.options.blots.mixins.resizable.hasOwnProperty("available"))||this.editor.options.blots.mixins.resizable.available}},{key:"createResizeContainer",value:function(){var e=document.createElement("div");return e.classList.add("resize-container"),e}},{key:"onResizeOverWidth",value:function(e){}},{key:"renderResizePoints",value:function(){var e=this.editor.plugins.i18n,t=document.createElement("div");t.classList.add("resize-points");var n={};this.getResizeOpts&&(n=this.getResizeOpts());var r,o=bm(Nm.filter((function(e){if(n.allowedResizePoints){if(Array.isArray(n.allowedResizePoints))return n.allowedResizePoints.includes(e);if("string"==typeof n.allowedResizePoints)return e===n.allowedResizePoints}return!0})));try{for(o.s();!(r=o.n()).done;){var i=r.value,a=document.createElement("div");if(a.classList.add("resize-point"),a.setAttribute("data-direction",i),"bottom-right"!==i)a.setAttribute(Gr.qZ,e.get("resizeable.point_tooltip.default"));else{var s=ri.$d.charAt(0).toUpperCase()+ri.$d.slice(1);a.setAttribute(Gr.qZ,e.get("resizeable.point_tooltip."+i,{altKey:s})),a.setAttribute(Gr.Bg,"resizeable-bottom-right-tooltip")}t.appendChild(a)}}catch(e){o.e(e)}finally{o.f()}t.addEventListener("mousedown",this.onResizePointsMouseDown),this.resizePointsNode?this.resizePointsNode.replaceWith(t):this.resizeContainer.appendChild(t),this.resizePointsNode=t}},{key:"render",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xm(Pm(i.prototype),"render",this)).call.apply(e,[this].concat(n));var o=this.editor.mode===this.editor.constructor.MODE_EDIT,a=this.props.isContentRendered,s=a;this.isResizeAvailableGlobal&&this.isResizeAvailable&&this.isResizeAvailable()||(s=!1);var l=!1;this.isBlotLocked&&(l=!0),!s||l?(this.resizeContainer.classList.contains("disabled-resize")||this.resizeContainer.classList.add("disabled-resize"),this.domNode.classList.contains(Im)&&this.domNode.classList.remove(Im),this.resizeContainer.classList.contains(Mm)||this.resizeContainer.classList.remove(Mm),this.onDisabledResizeAllowSize&&this.onDisabledResizeAllowSize()||this.resizeContainer.removeAttribute("style")):this.resizeContainer.classList.contains("disabled-resize")&&o&&(this.resizeContainer.classList.remove("disabled-resize"),this.renderResizePoints()),s?this.resolveAndSetContainerSize():a&&this.setResizeContainerSize({ratio:this.map.get("ratio")})}},{key:"onResizeableResolveSize",value:function(){}},{key:"setResizeContainerSize",value:function(e){var t=e.width,n=e.ratio;if(n||!this.allowResizeHeight()||(this.tryGetRatio&&(n=this.tryGetRatio()),n)){if(this instanceof kb&&!t&&"mobile"===this.editor.options.deviceType&&(t=this.map.get("width"))>this.maxContentOverWidth&&(t=this.maxContentOverWidth),t)if(t<=this.maxContentWidth||!this.allowOverWidth)this.domNode.classList.contains(Im)&&this.domNode.classList.remove(Im),this.resizeContainer.classList.contains(Mm)&&(this.resizeContainer.classList.remove(Mm),this.onResizeOverWidth(!1)),this.resizeContainer.style.width=t+"px",this.resizeContainer.style.marginLeft="",this.resizeContainer.style.maxWidth="";else{this.domNode.classList.contains(Im)||this.domNode.classList.add(Im),this.resizeContainer.classList.contains(Mm)||(this.resizeContainer.classList.add(Mm),this.onResizeOverWidth(!0)),t>this.maxContentOverWidth&&(t=this.maxContentOverWidth);var r=((t=Math.round(t))-this.maxContentWidth)/2;this.resizeContainer.style.maxWidth="unset",this.resizeContainer.style.marginLeft=-r+"px",this.resizeContainer.style.width=t+"px"}if(this.allowResizeHeight()){t||(t=Math.round(this.resizeContainer.getBoundingClientRect().width));var o=Math.round(t/n);this.resizeContainer.getAttribute("data-content-height")&&(o=this.resizeContainer.getAttribute("data-content-height")),this.resizeContainer.style.height=o+"px"}}else console.error("Resizeable#setResizeContainerSize: ratio is required")}},{key:"setMousePos",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.savedMousePos=e}},{key:"updateResizeContainerSize",value:function(){var e=this.savedMousePos,t=e.x,n=e.y,r=e.direction,o=e.altKey;if(t&&n){var i=this.resizeContainer.getBoundingClientRect(),a=i.width,s=i.height,l=i.right,c=i.bottom,u=this.scroll.domNode.getBoundingClientRect().width,d=this.constructor.minContentWidth,p=a,f=s,h=this.savedMousePos.ratio,m=!1;"bottom"!==r&&((p-=l-t)>u&&!this.map.get("allowOverWidth")&&this.map.set("allowOverWidth",!0),p<d?p=d:!this.allowOverWidth&&p>this.maxContentWidth?p=this.maxContentWidth:p>this.maxContentOverWidth&&(p=this.maxContentOverWidth),"right"===r&&(m=!0)),("bottom"===r||"bottom-right"===r&&o)&&(f-=c-n,m=!0),m&&(h=p/f),this.setResizeContainerSize({width:p,ratio:h})}}},{key:"updateContainerSizeContinuously",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=function t(){e.savedMousePos&&(e.updateResizeContainerSize(),e.updateContainerSizeFrameRequest=requestAnimationFrame(t))};t?this.updateContainerSizeFrameRequest&&cancelAnimationFrame(this.updateContainerSizeFrameRequest):n()}},{key:"onStartResizeBlot",value:function(){this.updateContainerSizeContinuously(),this.editor.emitter.emit("embed-resize-start",{})}},{key:"onEndResizeBlot",value:function(){this.updateContainerSizeContinuously(!0),this.editor.emitter.emit("embed-resize-end",{})}},{key:"allowResizeHeight",value:function(){var e={};if(this.getResizeOpts&&(e=this.getResizeOpts()),e.hasOwnProperty("allowResizeHeight"))return e.allowResizeHeight;var t=e.allowedResizePoints;if(t){"string"==typeof t&&(t=[t]);var n=!1;return Nm.filter((function(e){return"right"!==e})).forEach((function(e){t.includes(e)&&(n=!0)})),n}return!0}}])&&Em(t.prototype,n),r&&Em(t,r),i}(e)};Dm.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.hasOwnProperty("width")&&(e.set("width",n.width||null),e.set("ratio",n.ratio||null)),e.set("allowOverWidth",n.allowOverWidth||!1)};const jm=Dm;var Lm=n(50450);function Bm(e){return(Bm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fm(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Um(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Fm(i,r,o,a,s,"next",e)}function s(e){Fm(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Hm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zm(e,t,n){return(zm="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Zm(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function qm(e,t){return(qm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Zm(e);if(t){var o=Zm(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wm(this,n)}}function Wm(e,t){if(t&&("object"===Bm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ym(e)}function Ym(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zm(e){return(Zm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $m="fullwidth-mixin-enabled",Qm="fullwidth-mixin-animate",Xm="fullwidth-mixin-animate-delayed",Jm=function(e){return function(e){!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}}),t&&qm(e,t)}(s,e);var t,n,r,o,i,a=Gm(s);function s(){var e;Hm(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Km(Ym(e=a.call.apply(a,[this].concat(n))),"onEditorBodyResize",(function(){e.render()})),e.fullWidth={default:!1,wrapperNode:e.domNode,scrollNode:e.domNode,_animation:!1,_transition:parseInt(Lm.fullwidthTransition)||0,_state:!1,submenu:"layout",margins:{left:55,right:55,toolbar:37},afterFunc:function(){}},e.fullwidthMenuMargin=0,e}return t=s,(n=[{key:"attach",value:function(){zm(Zm(s.prototype),"attach",this).call(this),this.editor.emitter.on("editorBodyResize",this.onEditorBodyResize)}},{key:"detach",value:function(){zm(Zm(s.prototype),"detach",this).call(this),this.editor.emitter.off("editorBodyResize",this.onEditorBodyResize)}},{key:"fullwidthUnavailable",get:function(){return!!(this.blotConfig&&this.blotConfig.disableFullwidthMode||this.getWrapper&&this.getWrapper().parent&&"gridCol"===this.getWrapper().parent.constructor.blotName)}},{key:"fullwidthMode",get:function(){var e=!!this.fullWidth.default;if(this.fullwidthUnavailable)e=!1;else{var t=this.map.get("fullwidthMode");void 0!==t&&(e=t)}return e}},{key:"toggleFullwidth",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=t.hasOwnProperty("mode")?!!t.mode:!this.fullwidthMode,this.fullWidth._animation=!0,this.map.set("fullwidthMode",e),this.renderFullWidth()}},{key:"isResizeAvailable",value:function(){return!this.fullwidthMode&&!this.inTransition}},{key:"render",value:function(){zm(Zm(s.prototype),"render",this).call(this),this.renderFullWidth()}},{key:"inTransition",get:function(){return this._animationInProgress}},{key:"contextMenu",get:function(){var e=this.editor.plugins.i18n,t=zm(Zm(s.prototype),"contextMenu",this),n=this.fullwidthMode;if(!this.fullwidthUnavailable){var r={label:e.get("fullwidth.menu_item"),index:0,group:0,action:"toggleFullwidth",icon:!!n&&ct.EZi,style:n?"done":"undone"};this.fullWidth.submenu?t[this.fullWidth.submenu]={submenu:{fullWidth:r}}:t.fullWidth=r}return t}},{key:"fullwidthPosition",get:function(){var e=!1,t=this.editor.scroll.domNode.offsetWidth,n=this.scroll.domNode.offsetWidth,r=this.editor.scrollingContainer.offsetWidth,o=this.fullWidth.scrollNode.offsetWidth;this.fullwidthMode&&n>=t&&o+this.fullWidth.margins.toolbar>=n&&r-this.fullWidth.margins.left-this.fullWidth.margins.right>n&&(e=!0);var i={enabled:!1,width:"auto",marginLeft:0,blotScrollWidth:o,containerWidth:n,editorWidth:t};return e&&(i.enabled=!0,i.width=r-this.fullWidth.margins.left-this.fullWidth.margins.right,i.marginLeft=this.fullWidth.margins.left+(n-r)/2),i}},{key:"isFullwidth",get:function(){return this.fullwidthPosition.enabled}},{key:"animateClasses",value:(i=Um(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}this.fullWidth.wrapperNode.classList.add(Qm,Xm),e.next=8;break;case 4:return this.fullWidth.wrapperNode.classList.remove(Qm),e.next=7,fn(50);case 7:this.fullWidth.wrapperNode.classList.remove(Xm);case 8:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"renderFullWidth",value:function(){var e=this,t=this.fullwidthPosition;if(this.fullWidth._state===t.width+t.marginLeft||!1===t.enabled&&!1===this.fullWidth._state)return t.enabled&&this.calcBlotMenuMargin(t),this.fullWidth._animation=!1,t;if(this.fullWidth._animation)if(this._animationInProgress=!0,t.enabled){clearTimeout(this._animationTimeout);var n=this.fullWidth.wrapperNode.offsetWidth!==t.width;this.fullWidth._state=t.width+t.marginLeft,n&&(this.animateClasses(!0),this.fullWidth.wrapperNode.style.width=Math.max(t.editorWidth,t.blotScrollWidth)+"px"),setTimeout((function(){e.fullWidth.wrapperNode.classList.add($m),e.fullWidth.wrapperNode.style.marginLeft=t.marginLeft+"px",n&&(e.fullWidth.wrapperNode.style.width=t.width+"px")}),0),this._animationTimeout=setTimeout((function(){e.animateClasses(!1),e.fullWidth.afterFunc(),e._animationInProgress=!1,e.fullWidth._animation=!1}),n?this.fullWidth._transition:1)}else clearTimeout(this._animationTimeout),this.fullWidth._state=!1,this.animateClasses(!0),this.fullWidth.wrapperNode.style.width=t.editorWidth+"px",this.fullWidth.wrapperNode.style.marginLeft=t.marginLeft+"px",this._animationTimeout=setTimeout((function(){e.fullWidth.wrapperNode.style.width=t.width,e.fullWidth.wrapperNode.classList.remove($m),e.animateClasses(!1),e.fullWidth.afterFunc(),e._animationInProgress=!1,e.fullWidth._animation=!1}),this.fullWidth._transition);else t.enabled?(this.fullWidth.wrapperNode.classList.add($m),this.fullWidth.wrapperNode.style.marginLeft=t.marginLeft+"px",this.fullWidth.wrapperNode.style.width=t.width+"px",this.fullWidth._state=t.width+t.marginLeft):(this.fullWidth.wrapperNode.classList.remove($m),this.fullWidth.wrapperNode.style.marginLeft=t.marginLeft+"px",this.fullWidth.wrapperNode.style.width=t.width,this.fullWidth._state=!1),this.fullWidth.afterFunc();return this.calcBlotMenuMargin(t,this.fullWidth._transition+100),t}},{key:"calcBlotMenuMargin",value:(o=Um(regeneratorRuntime.mark((function e(t,n){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fn(n);case 2:return r=0,t.enabled&&(o=this.scroll.domNode.offsetWidth+this.fullWidth.margins.left,i=this.fullWidth.scrollNode.offsetWidth,r=Math.min(0,(o-i)/2)),this.setBlotMenuMargin(r),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"setBlotMenuMargin",value:function(e){this.fullwidthMenuMargin=parseInt(e)||0}},{key:"getBlotInsertParams",value:function(e,t){var n=zm(Zm(s.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:{fullwidth:this.map.get("fullwidthMode")}})}}])&&Vm(t.prototype,n),r&&Vm(t,r),s}(e)};Jm.initMap=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=["fullwidth","fullwidthmode"],o=0,i=r;o<i.length;o++){var a=i[o];n.hasOwnProperty(a)&&e.set("fullwidthMode","true"===String(n[a]))}};const eg=Jm;function tg(e){return(tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function og(e,t,n){return(og="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=cg(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ig(e,t){return(ig=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ag(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=cg(e);if(t){var o=cg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return sg(this,n)}}function sg(e,t){if(t&&("object"===tg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return lg(e)}function lg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cg(e){return(cg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ug(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dg=function(e){return function(e){!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}}),t&&ig(e,t)}(i,e);var t,n,r,o=ag(i);function i(){var e;ng(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ug(lg(e=o.call.apply(o,[this].concat(n))),"addCaption",(function(){var t=e.map.get("caption"),n=t&&e.editor.findById(t);n&&n.showCaption&&n.showCaption()})),e.isCaptionHiding=!0,e}return t=i,(n=[{key:"contextMenu",get:function(){var e=this.editor.plugins.i18n,t=og(cg(i.prototype),"contextMenu",this);return t.addCaption={label:e.get("block_menu.add_caption"),index:-3,group:0,action:"addCaption",stackable:!1},t}}])&&rg(t.prototype,n),r&&rg(t,r),i}(e)};function pg(){return(pg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mg=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),hg(this,"onClick",(function(e){t.props.onClick&&t.props.onClick()})),hg(this,"onMouseDown",(function(e){e.preventDefault()}))}var t,n,r;return t=e,(n=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.icon,r=e.active,o=e.disabled,i=this.props.tooltipAttrs;i||(i={});var a=["icon"];return r&&a.push("active"),o&&a.push("disabled"),(0,s.h)("div",pg({className:"block-menu-header-item",onMouseDown:this.onMouseDown,onClick:this.onClick,"data-menu-id":t},i),(0,s.h)("div",{className:a.join(" ")},(0,s.h)(n,null)))}}])&&fg(t.prototype,n),r&&fg(t,r),e}();function gg(e){return(gg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bg(e,t){return(bg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Cg(e);if(t){var o=Cg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wg(this,n)}}function wg(e,t){if(t&&("object"===gg(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 Cg(e){return(Cg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Sg=function(e){!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}}),t&&bg(e,t)}(i,e);var t,n,r,o=_g(i);function i(){return yg(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){return(0,s.h)("div",{className:"block-menu-group block-menu-header-menu"},this.props.children)}}])&&vg(t.prototype,n),r&&vg(t,r),i}(s.wA);function Eg(e){return(Eg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kg(e,t){return(kg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Og(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pg(e);if(t){var o=Pg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Tg(this,n)}}function Tg(e,t){if(t&&("object"===Eg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ag(e)}function Ag(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pg(e){return(Pg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Rg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ig(e){return{align:e.get("align")||"center",fullwidth:e.get("fullwidthMode")}}var Mg=function(e){!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}}),t&&kg(e,t)}(i,e);var t,n,r,o=Og(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Rg(Ag(t=o.call(this,e)),"onMapChange",(function(){var e=t.props.blot.map;t.setState(Ig(e))})),Rg(Ag(t),"setFullWidth",(function(){var e=t.props,n=e.blot,r=e.menu;n.toggleFullwidth&&n.toggleFullwidth(),r.onMenuClose()})),t.state=Ig(e.blot.map),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props.blot;e.editor.store.observe(e.map,this.onMapChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.blot;e.editor.store.unobserve(e.map,this.onMapChange)}},{key:"setAlign",value:function(e){var t=this.props,n=t.blot,r=t.blot.editor,o=t.menu;this.state.fullwidth&&n.toggleFullwidth&&n.toggleFullwidth(),r.exec("set-align",e),o.onMenuClose()}},{key:"render",value:function(){var e=this.state,t=e.align,n=e.fullwidth,r=this.props.blot.editor.plugins.i18n,o={left:Rg({},Gr.qZ,r.get("block_menu.embed_align.left")),center:Rg({},Gr.qZ,r.get("block_menu.embed_align.center")),right:Rg({},Gr.qZ,r.get("block_menu.embed_align.right")),default:Rg({},Gr.qZ,r.get("block_menu.embed_align.default")),fullWidth:Rg({},Gr.qZ,r.get("block_menu.embed_align.full_width"))};for(var i in o)o[i][Gr.Bg]="text-align-tooltip";return(0,s.h)(Sg,null,(0,s.h)(mg,{tooltipAttrs:o.left,active:"left"===t&&!n,onClick:this.setAlign.bind(this,"left"),icon:ct.sws}),(0,s.h)(mg,{tooltipAttrs:o.center,active:"center"===t&&!n,onClick:this.setAlign.bind(this,"center"),icon:ct.fm}),(0,s.h)(mg,{tooltipAttrs:o.right,active:"right"===t&&!n,onClick:this.setAlign.bind(this,"right"),icon:ct.vSI}),(0,s.h)(mg,{tooltipAttrs:o.default,active:"full"===t&&!n,onClick:this.setAlign.bind(this,"full"),icon:ct.pV3}),(0,s.h)(mg,{tooltipAttrs:o.fullWidth,active:n,onClick:this.setFullWidth,icon:ct._CN}))}}])&&xg(t.prototype,n),r&&xg(t,r),i}(s.wA);function Ng(e){return(Ng="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jg(e,t){return(jg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fg(e);if(t){var o=Fg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bg(this,n)}}function Bg(e,t){if(t&&("object"===Ng(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 Fg(e){return(Fg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ug=function(e){!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}}),t&&jg(e,t)}(i,e);var t,n,r,o=Lg(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var n=(t=o.call(this,e)).props,r=n.radius,a=n.stroke;return t.normalizedRadius=r-2*a,t.circumference=2*t.normalizedRadius*Math.PI,t}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.radius,n=e.stroke,r=e.progress,o=e.ringColor,i=e.progressColor,a=e.withPercent,l=e.animation,c=void 0!==l&&l,u=this.circumference-r/100*this.circumference,d=null;a&&(d=(0,s.h)("div",{className:"progress-ring-percent"},r+"%"));var p=["progress-ring"];return c&&p.push("progress-ring-animated"),(0,s.h)("div",{className:"editor-progress-ring"},d,(0,s.h)("svg",{height:2*t,width:2*t},(0,s.h)("circle",{className:"progress-ring",stroke:o,fill:"transparent",strokeWidth:n,"stroke-width":n,r:this.normalizedRadius,cx:t,cy:t}),(0,s.h)("circle",{className:p.join(" "),stroke:i,fill:"transparent",strokeWidth:n,strokeDasharray:this.circumference+" "+this.circumference,style:{strokeDashoffset:u},"stroke-width":n,r:this.normalizedRadius,cx:t,cy:t})))}}])&&Dg(t.prototype,n),r&&Dg(t,r),i}(s.wA);function Hg(e){return(Hg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vg(e,t){if(t&&("object"===Hg(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 zg(e){var t="function"==typeof Map?new Map:void 0;return(zg=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return qg(e,arguments,Yg(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Wg(r,e)})(e)}function qg(e,t,n){return(qg=Gg()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Wg(o,n.prototype),o}).apply(null,arguments)}function Gg(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Wg(e,t){return(Wg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yg(e){return(Yg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zg=function(e){!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}}),t&&Wg(e,t)}(o,e);var t,n,r=(t=o,n=Gg(),function(){var e,r=Yg(t);if(n){var o=Yg(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Vg(this,e)});function o(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(n=r.call(this,e)).file=t,n}return o}(zg(Error)),Kg=n(92143);function $g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xg=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Qg(this,"onRef",(function(e){t.domNode=e,t.props.domRef&&t.props.domRef(e),t.popper=null})),Qg(this,"disableRecycling",(function(){t.nextBase=null})),Qg(this,"onBodyMouseDown",(function(e){var n=e.target;n===t.domNode||t.domNode.contains(n)||t.props.wantsToClose()})),Qg(this,"onBodyKeyDown",(function(e){t.props.wantsToClose()}))}var t,n,r;return t=e,(n=[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.wantsToClose,r=t.anchorNode,o=t.anchorOptions;n&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("mousedown",e.onBodyMouseDown),document.body.addEventListener("keydown",e.onBodyKeyDown)}),0)),r&&(this.popper=(0,Kg.f)(r,this.domNode,o))}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),document.body.removeEventListener("mousedown",this.onBodyMouseDown),document.body.removeEventListener("keydown",this.onBodyKeyDown),this.popper&&this.popper.destroy(),setTimeout(this.disableRecycling)}},{key:"render",value:function(){return(0,s.h)("div",{className:"popup-notification",ref:this.onRef},this.props.children)}}])&&$g(t.prototype,n),r&&$g(t,r),e}(),Jg=n(29184),ey=n.n(Jg);function ty(e){return(ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ny(){return(ny=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ry(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iy(e,t,n){return t&&oy(e.prototype,t),n&&oy(e,n),e}function ay(e,t){return(ay=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uy(e);if(t){var o=uy(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ly(this,n)}}function ly(e,t){if(t&&("object"===ty(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cy(e)}function cy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(e){return(uy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var py=(0,Rn.ZP)("backspace"),fy=(0,Rn.ZP)("enter"),hy=(0,Rn.ZP)("esc"),my=(0,s.h)("div",{className:"no-image-content-wrapper hidden"});function gy(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=["placeholderVisible","errorNotification"],n={},r=0,o=t;r<o.length;r++){var i=o[r];n[i]=i===e}return n}var yy=function(e){!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}}),t&&ay(e,t)}(n,e);var t=sy(n);function n(e){var r;return ry(this,n),dy(cy(r=t.call(this,e)),"onPlaceholderRef",(function(e){r.domNode=e})),dy(cy(r),"onInputNodeRef",(function(e){r.inputNode=e})),dy(cy(r),"onBrowseBtnRef",(function(e){r.browseBtnNode=e})),dy(cy(r),"onBufferRef",(function(e){r.bufferNode=e})),dy(cy(r),"onDeleteRef",(function(e){r.deleteBtnNode=e})),dy(cy(r),"onAbortRef",(function(e){r.abortBtnNode=e})),dy(cy(r),"onErrorNotificationRef",(function(e){r.errorPopupNode=e})),dy(cy(r),"onPlaceholderClick",(function(e){r.errorPopupNode&&(e.target===r.errorPopupNode||r.errorPopupNode.contains(e.target))||(e.preventDefault(),e.stopPropagation(),r.clearError(),r.onFocus())})),dy(cy(r),"onDblClick",(function(e){e.preventDefault(),e.stopPropagation()})),dy(cy(r),"onBrowseClick",(function(e){e.preventDefault(),e.stopPropagation(),r.props.blot.editor.plugins.unsplashManager.hidePicker(),r.props.blot.onAttachmentChooseFile()})),dy(cy(r),"onUnsplashClick",(function(e){e.preventDefault(),e.stopPropagation(),r.props.blot.editor.plugins.unsplashManager.hidePicker(),r.props.blot.editor.plugins.unsplashManager.openPicker(r.props.blot,(function(e){r.props.blot.onImageChooseUnsplash(e)}))})),dy(cy(r),"onFocus",(function(){var e;r.inputNode&&((e=r.inputNode).focus(),e.setSelectionRange(e.value.length,e.value.length),r.focusInput=!1)})),dy(cy(r),"hasFocus",(function(){return document.activeElement===r.inputNode})),dy(cy(r),"onInputKeyDown",(function(e){e.stopPropagation(),py(e)&&""===e.target.value?(e.preventDefault(),r.props.blot.scroll.selection.setRange({index:r.props.blot.offset(r.props.blot.scroll)-1,length:0}),r.props.blot.getWrapper().parent.removeChildById(r.props.blot.id)):fy(e)&&""!==e.target.value?(e.preventDefault(),r.props.blot.onEmbedAttachment(e.target.value)):hy(e)&&(e.preventDefault(),r.props.blot.onAttachmentCancelAdd())})),dy(cy(r),"onInput",(function(e){r.setState((function(t){var n=null,o=e.target.value;r.bufferNode.innerHTML=o;var i=t.placeholderVisible,a=t.errorNotification;return r.savedInputValue=e.target.value,""!==e.target.value?(r.inputNode.style.width=r.bufferNode.clientWidth+10+"px",(i||a)&&(r.focusInput=!0,n=gy())):(r.inputNode.style.width="",i||(r.clearError(),n=gy("placeholderVisible"))),n}))})),dy(cy(r),"onPaste",(function(e){e.stopPropagation();var t=e.clipboardData.files,n=e.clipboardData.getData("text/plain");if(1===t.length)if(e.preventDefault(),t[0]&&t[0].type&&-1!==t[0].type.indexOf("image")){t=[r.props.blot.editor.plugins.attachmentManager.nFileFromWebFile(t[0])];try{r.props.blot.setHTMLFilesForUpload(t)}catch(e){r.props.blot.onSetAttachmentError(e)}}else r.props.blot.onSetAttachmentError('Please browse "image" file');else if(""!==n){n.match(/(?:(?:[a-z][a-z0-9+.-]*:)(?:.*))/g)&&(e.preventDefault(),r.savedInputValue=n,r.props.blot.onEmbedAttachment(n),r.setState(gy()))}})),dy(cy(r),"onPerformingElMouseDown",(function(e){e.preventDefault(),e.stopPropagation()})),dy(cy(r),"onInputMouseDown",(function(e){e.stopPropagation()})),dy(cy(r),"onClickDelete",(function(e){r.focusInput=!0,r.savedInputValue=null,r.clearError(),r.setState(gy("placeholderVisible"))})),dy(cy(r),"onClickAbort",(function(e){r.props.blot.onTaskAbortClick()})),dy(cy(r),"onRemoveClick",(function(e){e.preventDefault(),e.stopPropagation(),r.props.blot.remove()})),dy(cy(r),"onErrorMouseEnter",(function(e){r.setState((function(e){return e.errorNotification?null:{errorNotification:!0}}))})),dy(cy(r),"clearError",(function(){r.props.blot.props.setAttachmentError&&(r.props.blot.props.setAttachmentError=!1)})),dy(cy(r),"hideNotification",(function(){r.setState((function(e){return e.placeholderVisible?gy("placeholderVisible"):gy()}))})),r.state={placeholderVisible:!0},r.uploadByUrl=!0,r.props.onRenderPlaceholder(cy(r)),r}return iy(n,[{key:"isUnsplashEnabled",value:function(){var e,t,n,r,o;return null===(e=this.props)||void 0===e||null===(t=e.blot)||void 0===t||null===(n=t.editor)||void 0===n||null===(r=n.plugins)||void 0===r||null===(o=r.unsplashManager)||void 0===o?void 0:o.enabled}},{key:"componentDidUpdate",value:function(){this.inputNode&&this.bufferNode&&this.savedInputValue&&(this.inputNode.style.width=this.bufferNode.clientWidth+10+"px"),this.focusInput&&this.onFocus()}},{key:"componentWillUnmount",value:function(){this.props.onRenderPlaceholder()}},{key:"render",value:function(){var e,t=this.props,n=t.blot,r=t.abortable,o=this.state.placeholderVisible,i=n.editor,a=my,l=null,c=null,u=null,d="",p="",f={};if(n.props.uploading)if(p="uploading",n._previewOnLoadReady||this.props.blot.props.file){p+=" on-preview";var h=!1,m=le(n.image,n.domNode),g=n.image.width;f={position:"absolute",top:m.y+8+"px",left:m.x+6+"px"},g>=170?(d="Uploading "+n.props.progress+"%",p+=" full-loader"):g<170&&g>=80?g>=110?(d=n.props.progress+"%",p+=" medium-loader"):g<110&&(h=!0,p+=" small-loader"):p+=" hidden";var y=r?(0,s.h)("div",{className:"image-placeholder-abort",ref:this.onAbortRef,onClick:this.onClickAbort,onMouseDown:this.onPerformingElMouseDown},(0,s.h)(ct.bMz,null)):null;a=(0,s.h)("div",{className:"no-image-content-wrapper"},(0,s.h)(Ug,{radius:17,stroke:2,progress:n.props.progress,ringColor:"rgba(0, 161, 183, 0.2)",progressColor:"#00a1b7",withPercent:h}),(0,s.h)("div",{className:"no-image-text uploading-image"},d),y)}else p+=" wait",a=(0,s.h)("div",{className:"image-loading-icon"},(0,s.h)(ey(),null));else{n.props.setAttachmentError&&(p="error",n.props.setAttachmentError instanceof Zg?l=(0,s.h)("div",{className:"no-image-error with-notification",onMouseEnter:this.onErrorMouseEnter},(0,s.h)(pe.xv,{id:"image.too_large_error"})):(console.error("Unknown attachment error:",n.props.setAttachmentError),l=(0,s.h)("div",{className:"no-image-error"},(0,s.h)(pe.xv,{id:"attachment.unknown_error"}))));var v=!1;if(o)if(i.mode===i.constructor.MODE_EDIT){var b,_;this.uploadByUrl?(b=n.container&&"gridCol"===n.container.constructor.blotName?(0,s.h)(pe.xv,{id:"image.add_image_small"}):(0,s.h)(pe.xv,{id:"image.add_image"}),_=(0,s.h)(pe.xv,{id:"image.browse"})):_=(0,s.h)(pe.xv,{id:"image.browse_image"});var w=null;this.isUnsplashEnabled()&&(w=(0,s.h)(s.HY,null,(0,s.h)("span",null," ",(0,s.h)(pe.xv,{id:"image.add_image_or"})," "),(0,s.h)("span",{className:"image-browse toggle-unsplash",onMouseDown:this.onPerformingElMouseDown,onClick:this.onUnsplashClick},(0,s.h)(pe.xv,{id:"image.unsplash.name"})))),a=(0,s.h)("div",{className:"no-image-content-wrapper"},(0,s.h)("div",{className:"no-image-text add-image"},b,(0,s.h)("div",{className:"image-browse",onMouseDown:this.onPerformingElMouseDown,onClick:this.onBrowseClick,ref:this.onBrowseBtnRef},_),w,(0,s.h)("div",{className:"image-placeholder-delete ml",onClick:this.onRemoveClick},(0,s.h)(ct.IT9,null))))}else a=(0,s.h)("div",{className:"no-image-content-wrapper"},(0,s.h)("div",{className:"no-image-text add-image readonly-placeholder"},(0,s.h)(pe.xv,{id:"image.readonly_placeholder"})));else v=!0,a=my;var C=this.savedInputValue||"";this.uploadByUrl&&i.mode===i.constructor.MODE_EDIT&&(u=(0,s.h)(vy,{onDomRef:this.onInputNodeRef,onBufferDomRef:this.onBufferRef,bufferText:C,onInputKeyDown:this.onInputKeyDown,onInput:this.onInput,onPerformingElMouseDown:this.onPerformingElMouseDown,onInputMouseDown:this.onInputMouseDown,onPaste:this.onPaste,savedInputValue:this.savedInputValue,deleteButton:v,onClickDelete:this.onClickDelete}))}this.state.errorNotification&&(c=(0,s.h)(Xg,{domRef:this.onErrorNotificationRef,anchorNode:this.domNode,anchorOptions:{placement:"top-start",offset:"0, 25px"},wantsToClose:this.hideNotification},(0,s.h)("div",{className:"image-error-notification"},"You are trying to upload the image with size more than 10 Mb. You can ",(0,s.h)("a",{href:"https://nimbusweb.me/pricing.php",target:"_blank"},"upgrade your account")," for larger images.")));var S=(dy(e={contenteditable:"false"},L3,1),dy(e,"onMouseDown",this.onPlaceholderClick),dy(e,"onDblclick",this.onDblClick),e);return(0,s.h)(pe.Pj,null,(0,s.h)("div",ny({},S,{className:"no-image-wrapper "+p,ref:this.onPlaceholderRef,style:f}),l,u,(0,s.h)(dt.Z,{transitionName:"no-image-placeholder",transitionEnterTimeout:200,transitionLeave:!1},a),(0,s.h)(dt.Z,{transitionName:"image-error",transitionEnterTimeout:200,transitionLeaveTimeout:200},c)))}}]),n}(s.wA),vy=function(){function e(){var t=this;ry(this,e),dy(this,"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),dy(this,"onBufferRef",(function(e){t.bufferDomNode=e,t.props.onBufferDomRef(e)}))}return iy(e,[{key:"render",value:function(){var e=this.props.deleteButton;return(0,s.h)("div",{className:"input-wrapper"},(0,s.h)("div",{className:"image-link-buffer",ref:this.onBufferRef},this.props.bufferText),(0,s.h)("input",{className:"image-link-input",type:"text",ref:this.onRef,onKeyDown:this.props.onInputKeyDown,onInput:this.props.onInput,onMouseDown:this.props.onInputMouseDown,onPaste:this.props.onPaste,value:this.props.savedInputValue||""}),e?(0,s.h)("div",{className:"image-placeholder-delete",onClick:this.props.onClickDelete,onMouseDown:this.props.onPerformingElMouseDown},(0,s.h)(ct.IT9,null)):null)}}]),e}(),by=n(49096),_y=n(83483),wy=n(19617),Cy=n(77510);function Sy(e){return(Sy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ey(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function xy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ky(e,t){return(ky=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Py(e);if(t){var o=Py(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ty(this,n)}}function Ty(e,t){if(t&&("object"===Sy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ay(e)}function Ay(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Py(e){return(Py=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ry=function(e){!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}}),t&&ky(e,t)}(l,e);var t,n,r,o,i,a=Oy(l);function l(){var e,t,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),e=a.call(this),t=Ay(e),r=function(){var t=e.props.editor,n=(t.plugins.i18n,e.props.attachment),r=n.url,o=n.displayUrl,i=o||ll(r);t.plugins.copyManager.copy(i)},(n="onImageInfoCopyLocationClick")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e.state={imageSize:null},e}return t=l,(n=[{key:"componentDidMount",value:(o=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Iy(this.props.attachment.url);case 2:t=e.sent,this.setState({imageSize:t});case 4:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Ey(i,n,r,a,s,"next",e)}function s(e){Ey(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e,t=this;if(this.state.imageSize){var n=this.state.imageSize,r=n.width,o=n.height,i=this.props.attachment,a=i.mime,l=i.url,c=this.props.attachment.displayUrl||l,u=a&&"string"==typeof a?-1!==a.indexOf("image/")&&a.replace("image/",""):a,d=this.props.blotConfig.showImageUrlDependOfDisplayUrl,p=void 0!==d&&d,f=[{label:(0,s.h)(pe.xv,{id:"image.image_info_dialog.type"}),content:u.toUpperCase()},{label:(0,s.h)(pe.xv,{id:"image.image_info_dialog.size"}),content:r+"x"+o}];(p&&this.props.attachment.displayUrl||!p)&&f.push({label:(0,s.h)(pe.xv,{id:"image.image_info_dialog.location"}),content:function(){return(0,s.h)("div",{className:"popup-image-location"},(0,s.h)("div",{className:"image-location-url"},c),(0,s.h)("div",{className:"copy-image-url",onClick:t.onImageInfoCopyLocationClick},(0,s.h)(pe.xv,{id:"image.image_info_dialog.copy_link"})))}}),e=(0,s.h)("div",null,f.map((function(e){return(0,s.h)("div",{className:"image-info-item"},(0,s.h)("div",{className:"image-info-item-label"},e.label),(0,s.h)("div",{className:"image-info-item-info"},"function"==typeof e.content?(0,s.h)(e.content,null):e.content))})))}else e=(0,s.h)(Cy.Z,null);return(0,s.h)(At.Z,{wantsToClose:this.props.wantsToClose,addClassName:"image-info-popup"},(0,s.h)(by.Z,{wantsToClose:this.props.wantsToClose},(0,s.h)(_y.Z,null,(0,s.h)(pe.xv,{id:"image.image_info_dialog.title"})),(0,s.h)(wy.Z,{onMouseDown:function(e){return e.preventDefault()}},e)))}}])&&xy(t.prototype,n),r&&xy(t,r),l}(s.wA);function Iy(e){return new Promise((function(t){var n=new Image;n.onload=function(){var e=n.height,r=n.width;t({width:r,height:e})},n.src=e}))}function My(e){return(My="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ny(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Dy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jy(e,t){return(jy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ly(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fy(e);if(t){var o=Fy(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return By(this,n)}}function By(e,t){if(t&&("object"===My(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 Fy(e){return(Fy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Uy=function(e){!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}}),t&&jy(e,t)}(l,e);var t,n,r,o,i,a=Ly(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this)).state={text:null},e}return t=l,(n=[{key:"componentDidMount",value:(o=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=this,e.next=3,this.props.textPromise;case 3:e.t1=e.sent,e.t2={text:e.t1},e.t0.setState.call(e.t0,e.t2);case 6:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Ny(i,n,r,a,s,"next",e)}function s(e){Ny(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(e,t){var n,r=e.editor,o=t.text,i=r.plugins.i18n;return n=null===o?(0,s.h)(Cy.Z,null):!1===o?(0,s.h)("div",{className:"text-from-image-no-text"},i.get("image.text_from_image_popup.no_text")):(0,s.h)("div",{className:"text-from-image-wrap"},(0,s.h)("div",{className:"text-from-image-content"},(0,s.h)("textarea",{contenteditable:"true"},o)),(0,s.h)("span",{className:"text-from-image-copy",onMouseDown:function(e){return e.preventDefault()},onClick:function(e){e.preventDefault(),r.plugins.copyManager.copy(o)}},i.get("image.text_from_image_popup.copy"))),(0,s.h)(At.Z,{wantsToClose:this.props.wantsToClose,addClassName:"text-from-image-popup"},(0,s.h)(by.Z,{wantsToClose:this.props.wantsToClose},(0,s.h)(_y.Z,null,i.get("image.text_from_image_popup.title")),(0,s.h)(wy.Z,null,n)))}}])&&Dy(t.prototype,n),r&&Dy(t,r),l}(s.wA),Hy=n(46804);function Vy(e){return(Vy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zy(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return qy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qy(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wy(e,t){return(Wy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$y(e);if(t){var o=$y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zy(this,n)}}function Zy(e,t){if(t&&("object"===Vy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ky(e)}function Ky(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $y(e){return($y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Qy=function(e){!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}}),t&&Wy(e,t)}(i,e);var t,n,r,o=Yy(i);function i(){var e,t,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=o.call(this),t=Ky(e),r=function(t){e.canvas=t},(n="onRef")in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,e.canvas=null,e}return t=i,(n=[{key:"drawPoly",value:function(e){var t=this.canvas.getContext("2d");t.fillStyle=Hy.searchTermHighlightColor,t.beginPath(),t.moveTo(e[0].x,e[0].y);for(var n=1;n<e.length;n++)t.lineTo(e[n].x,e[n].y);t.closePath(),t.fill()}},{key:"drawHighlights",value:function(){var e,t=zy(this.props.highlights);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.drawPoly(n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"componentDidMount",value:function(){this.drawHighlights()}},{key:"componentDidUpdate",value:function(){this.drawHighlights()}},{key:"render",value:function(){var e={width:this.props.width+"px",height:this.props.height+"px"};return(0,s.h)("canvas",{style:e,width:this.props.naturalWidth,height:this.props.naturalHeight,ref:this.onRef})}}])&&Gy(t.prototype,n),r&&Gy(t,r),i}(s.wA);function Xy(e){return(Xy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jy(e){return function(e){if(Array.isArray(e))return ov(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rv(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 ev(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function tv(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ev(i,r,o,a,s,"next",e)}function s(e){ev(i,r,o,a,s,"throw",e)}a(void 0)}))}}function nv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||rv(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 rv(e,t){if(e){if("string"==typeof e)return ov(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ov(e,t):void 0}}function ov(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function av(e,t){return(av=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=dv(e);if(t){var o=dv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lv(this,n)}}function lv(e,t){if(t&&("object"===Xy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cv(e)}function cv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uv(e,t,n){return(uv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=dv(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function dv(e){return(dv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fv=(0,Rn.ZP)("space"),hv=["bold","italic","underline","strikethrough","link","background","color","comment"],mv=function(e){!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}}),t&&av(e,t)}(i,e);var t,n,r,o=sv(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),pv(cv(t=o.call(this,e)),"onObserveDeep",(function(e){if(nv(e,1)[0].transaction.local){var n=!!t.getText().trim();n!==t.hasText&&(t.map.set("show",n),t.hasText=n)}})),pv(cv(t),"mapObserver",(function(e){if(!e.transaction.local&&e.keysChanged.has("show")){var n=t.map.get("show");n?t.domNode.classList.remove("empty-caption"):t.domNode.classList.add("empty-caption"),t.setProps({show:n})}})),pv(cv(t),"onEditorReady",(function(){t.render()})),pv(cv(t),"setWidth",(function(e){t.domNode.style.width=e+"px"})),pv(cv(t),"onBlur",(function(){t.props.hiding&&""===t.domNode.innerText.trim()&&t.setProps({show:!1})})),pv(cv(t),"onFocus",(function(){if(t.props.hiding&&t.editor.mode===t.editor.constructor.MODE_EDIT){var e=t.embedBlot;e&&e.checkCaptionFocus?e.checkCaptionFocus():t.setProps({show:!0})}})),pv(cv(t),"showCaption",tv(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.editor||"mobile"!==t.editor.options.keyboardMode){e.next=6;break}return e.next=3,fn(500);case 3:n=t.embedBlot,t.editor.focus(),n&&n.focusableFocus&&n.focusableFocus();case 6:t.setProps({show:!0}),t.focusableFocus(),r=(0,H._z)(t.domNode,t.editor.plugins.scrollSaver.getScrollingContainer()),o=r.top,100,t.editor.plugins.selectionScroller.scrollTo(o>100?o-100:o);case 11:case"end":return e.stop()}}),e)})))),t.domNode.classList.add("attachment-caption"),t.addCanExecActions(Jy(pc.canExecActions)),t.dontRemoveWithBackspace=!0,t.props.show=!0,t.props.hiding=!1,t.dontProcessDragAndDrop=!0,t.isSelectableBlotChild=!0,t.hasText=null,t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","caption"),uv(dv(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=uv(dv(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.scroll.editor.mode!==gpe){var o=this.scroll.editor.plugins&&this.scroll.editor.plugins.i18n;o&&this.domNode.setAttribute("data-placeholder-text",o.get("caption.placeholder"))}if(this.editor.emitter.once("editor-ready",this.onEditorReady),this.embedBlot&&this.embedBlot.isCaptionHiding){this.prevBlot=this.embedBlot,this.hasText=!!this.getText().trim(),this.scroll.store.observeDeep(this.map,this.onObserveDeep),this.domNode.addEventListener("focusable-focus",this.onFocus),this.domNode.addEventListener("focusable-blur",this.onBlur);var a=this.blotConfig.showCaptionAfterBlotFocus,s=void 0!==a&&a;s&&(this.prevBlot.domNode.addEventListener("focusable-focus",this.onFocus),this.prevBlot.domNode.addEventListener("focusable-blur",this.onBlur)),this.setProps({show:this.domNode&&this.domNode.innerText&&""!==this.domNode.innerText.trim()||this.prevBlot.domNode.classList.contains("focused-block")&&s,hiding:!0})}}},{key:"detach",value:function(){if(this.prevBlot&&this.prevBlot.isCaptionHiding){this.scroll.store.unobserveDeep(this.map,this.onObserveDeep),this.domNode.removeEventListener("focusable-focus",this.onFocus),this.domNode.removeEventListener("focusable-blur",this.onBlur);var e=this.blotConfig.showCaptionAfterBlotFocus,t=void 0!==e&&e;this.prevBlot&&t&&(this.prevBlot.domNode.removeEventListener("focusable-focus",this.onFocus),this.prevBlot.domNode.removeEventListener("focusable-blur",this.onBlur))}}},{key:"getWrapper",value:function(){return this.parent}},{key:"getBlotForMenu",value:function(){return this.embedBlot}},{key:"textLineOnBackspace",value:function(e){var t=!1,n=e.getBlotRange(this);return 1===n.index&&0===n.length?(this.map.get("characters").applyDelta([{delete:1}]),e.dontRestoreSelection(),t=!0):0===n.index&&0===n.length&&(e.dontRestoreSelection(),t=!0),t}},{key:"textBaseProcessDelete",value:function(e){var t=this.length()-1,n=e.getBlotRange(this);return 0===n.length&&0===n.index&&1===t?(this.deleteAt(0,1),e.dontRestoreSelection(),!0):uv(dv(i.prototype),"textBaseProcessDelete",this).call(this,e)}},{key:"textLineAddNextBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.embedBlot.map.get("indent"),n=Object.assign(e,this.textLineAddBlotParams({indent:t,after:this.getWrapper().id}));return this.parent.addBlot("paragraph",n)}},{key:"handleKeyDown",value:function(e){if(fv(e)){var t=nv(this.selection.getRange({offsetBlot:this}),1)[0],n=this.length()-1;if(0===t.index&&t.length>0&&t.length===n)return e.preventDefault(),this.map.get("characters").applyDelta([{delete:n},{insert:"\n"}]),this.selection.setRange({index:this.offset(this.editor.scroll),length:0}),!1}if(uv(dv(i.prototype),"handleKeyDown",this))return uv(dv(i.prototype),"handleKeyDown",this).call(this,e)}},{key:"onPaste",value:function(e){var t=e.text;if(!t)return!1;if(!(t=t.trim()))return!1;var n=nv(this.scroll.selection.getRange({offsetBlot:this}),1)[0];if(fl(t))return this.editor.plugins.pasteManager.pasteUrlIntoText(this,n,t),!0;if(t=t.replace(/\s+/g," "),n){var r=[];n.index>0&&r.push({retain:n.index}),n.length>0&&r.push({delete:n.length}),r.push({insert:t}),this.map.get("characters").applyDelta(r);var o=n.index+t.length,i=this.offset(this.scroll);this.scroll.selection.setRange({index:i+o,length:0})}return!0}},{key:"blotDidUpdate",value:function(){this.props.show?this.domNode.classList.remove("empty-caption-hidden"):this.domNode.classList.contains("empty-caption-hidden")||this.domNode.classList.add("empty-caption-hidden")}},{key:"render",value:function(){var e=this.embedBlot;e&&e.isBlotLocked?this.props.blotLocked=!0:this.props.blotLocked&&(this.props.blotLocked=!1,this.props.contenteditable=0),uv(dv(i.prototype),"render",this).call(this),this.domNode.style.textAlign="center",this.domNode.classList.remove("indent-"+this.map.get("indent"));var t=50;if(this.embedBlot.map.get("width")&&this.embedBlot.map.get("width")>t)t=this.embedBlot.map.get("width");else{var n=this.embedBlot.domNode.getBoundingClientRect().width;n>t&&(t=n)}this.domNode.style.width=t+"px",this.isEmpty()?this.domNode.classList.contains("empty-caption")||this.domNode.classList.add("empty-caption"):this.domNode.classList.contains("empty-caption")&&this.domNode.classList.remove("empty-caption")}},{key:"getAllowedStyles",value:function(){return hv}},{key:"toHTML",value:function(){var e=this.domNode.cloneNode(!0);return this.isEmpty()||(e.classList.remove("empty-caption-hidden"),"50px"===e.style.width&&(e.style.width="100%")),e.outerHTML}},{key:"getBlotInsertParams",value:function(e,t){return e?uv(dv(i.prototype),"getBlotInsertParams",this).call(this,e,t):{delta:this.getContents(0,this.length()).insert("\n")}}}])&&iv(t.prototype,n),r&&iv(t,r),i}(Pd(bd(Vu(Eu(tu(pc))))));mv.blotName="caption",mv.tagName="DIV",mv.convertLinkOpts=["url","title"];n(60285),n(41637);var gv=n(26863),yv=n.n(gv);function vv(e){return isNaN(e)?"-":yv()(e,{base:10})}function bv(e){return(bv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cv(e,t,n){return(Cv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ov(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Sv(e,t){return(Sv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ev(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ov(e);if(t){var o=Ov(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xv(this,n)}}function xv(e,t){if(t&&("object"===bv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kv(e)}function kv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ov(e){return(Ov=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Av=function(e){!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}}),t&&Sv(e,t)}(i,e);var t,n,r,o=Ev(i);function i(){var e;_v(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Tv(kv(e=o.call.apply(o,[this].concat(n))),"onLinkClick",(function(t){t.preventDefault(),t.stopPropagation();var n=te(kv(e)).editor,r=e.domNode.getAttribute("href"),o=e.parent;n.mode!==ype?o&&o.isBlotLocked?n.plugins.linkManager.processNavigation(r)||window.open(r,"_blank","noopener"):Xi(t)?window.open(r,"_blank","noopener"):n.options.showLinkPanel?n.emitter.emit("click-link",kv(e)):n.plugins.linkManager.processNavigation(r)||window.open(r,"_blank","noopener"):window.open(r,"_blank","noopener")})),e}return t=i,r=[{key:"create",value:function(e){var t=Cv(Ov(i),"create",this).call(this,e);return e=this.sanitize(e),t.setAttribute("href",e),t.setAttribute("target","_blank"),t}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return e}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Cv(Ov(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.domNode.addEventListener("click",this.onLinkClick,!1),this.domNode.setAttribute("rel","nofollow noopener")}},{key:"changeUrl",value:function(e){var t=te(this);if(t.isText||(t=ne(this)),t){var n=this.offset(t),r=this.domNode.innerText.length;t.formatText(n,r,"link",e,"user")}}},{key:"changeText",value:function(e){var t=te(this);if(t.isText||(t=ne(this)),t){var n=this.offset(t),r={},o=this.domNode.innerText!==e;o&&(delete(r=t.getFormat(n,1)).link,this.domNode.innerText=e),t.scroll.update("user"),o&&Object.keys(r).map((function(o){t.formatText(n,e.length,o,r[o],"user")})),t.selection.setRange({index:t.offset(t.scroll)+n+e.length,length:0})}}},{key:"format",value:function(e,t){if(e!==this.statics.blotName||!t)return Cv(Ov(i.prototype),"format",this).call(this,e,t);t=this.constructor.sanitize(t),this.domNode.setAttribute("href",t)}},{key:"onCancelEditSetCaretAfter",value:function(){var e=te(this);e.selection.setRange({index:e.offset(e.scroll)+this.offset(e)+this.length(),length:0})}}])&&wv(t.prototype,n),r&&wv(t,r),i}(Lo);function Pv(e){return(Pv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rv(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Iv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mv(e,t){return(Mv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jv(e);if(t){var o=jv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dv(this,n)}}function Dv(e,t){if(t&&("object"===Pv(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 jv(e){return(jv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Av.blotName="link",Av.tagName="A",Av.SANITIZED_URL="about:blank",Av.PROTOCOL_WHITELIST=["http","https","mailto","tel"];var Lv=function(e){!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}}),t&&Mv(e,t)}(s,e);var t,n,r,o,i,a=Nv(s);function s(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),e=e||s.type,a.call(this,e,t||{},n)}return t=s,(n=[{key:"exec",value:(o=regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.processingBlots,n=t.source,r=this.params.files,o=this.params.blot,this.params.blotId&&(o=this.editor.findById(this.params.blotId)),r){e.next=12;break}if(this.editor.plugins.attachmentManager.isMethodImplemented("chooseFile")){e.next=7;break}return e.abrupt("return",console.warn("chooseFile is not implemented in the attachmentManager plugin, skip executing add-file action"));case 7:return i={multiple:!0,source:n,blotName:"file",blotId:o?o.id:void 0},this.params&&this.params.accept&&(i.accept=this.params.accept),e.next=11,this.editor.plugins.attachmentManager.chooseFile(i);case 11:r=e.sent;case 12:if(r){e.next=14;break}return e.abrupt("return",!1);case 14:return e.next=16,this.editor.plugins.attachmentManager.validateFiles(r);case 16:if(e.sent){e.next=19;break}return e.abrupt("return");case 19:if(o){e.next=35;break}if(!this.params.createFileBlot){e.next=24;break}o=this.params.createFileBlot(),e.next=35;break;case 24:if(a=this.params.detectFileType?Bv(r.length&&r[0]):"file",(s=this.editor.exec("convert-blot",{type:a})).action||console.error("res does not contain action",s),(l=s.action.results[0].addedIds).length){e.next=30;break}return e.abrupt("return",!1);case 30:if(1===l.length){e.next=33;break}return console.error("addFile expects 1 id to be in the result of convert-blot, but got",l),e.abrupt("return",!1);case 33:c=l[0],o=this.editor.findById(c);case 35:return o.clearAttachment(),o.setHTMLFilesForUpload(r,{dontPutCaretAfter:this.params.dontPutCaretAfter||!1,detectFileType:this.params.detectFileType||!1}),e.abrupt("return",!0);case 38:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Rv(i,n,r,a,s,"next",e)}function s(e){Rv(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})}])&&Iv(t.prototype,n),r&&Iv(t,r),s}(ro);function Bv(e){var t="file";return e&&"object"===Pv(e)&&e.type&&e.type.startsWith("image")&&(t="image"),t}function Fv(e){return(Fv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uv(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Hv(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Uv(i,r,o,a,s,"next",e)}function s(e){Uv(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qv(e,t){return(qv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kv(e);if(t){var o=Kv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wv(this,n)}}function Wv(e,t){if(t&&("object"===Fv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yv(e)}function Yv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zv(e,t,n){return(Zv="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Kv(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Kv(e){return(Kv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Lv.type="add-file";var Qv="data-nimbus-attachment-global-id",Xv="data-nimbus-file-name",Jv=(0,Rn.ZP)("esc");function eb(e,t){e.get("attachmentGlobalId")!==t&&(e.set("attachmentGlobalId",t),e.set("setAttachmentTime",Math.round(Date.now()/1e3)))}var tb=function(e){!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}}),t&&qv(e,t)}(a,e);var t,n,r,o,i=Gv(a);function a(){var e;Vv(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return $v(Yv(e=i.call.apply(i,[this].concat(n))),"onAttachmentTooltipClose",(function(){e.remove()})),$v(Yv(e),"onAttachmentCancelAdd",(function(){e.putCaretInEmptyParagraphAfterAttachment(),e.remove()})),$v(Yv(e),"onAttachmentChooseFile",Hv(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.editor.plugins.attachmentManager.chooseFile({accept:e.attachmentConfig.acceptFiles,multiple:!0,blotName:e.constructor.blotName});case 3:if(n=t.sent){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,e.editor.plugins.attachmentManager.validateFiles(n);case 8:if(t.sent){t.next=11;break}return t.abrupt("return");case 11:e.setHTMLFilesForUpload(n),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),e.onSetAttachmentError(t.t0);case 17:case"end":return t.stop()}}),t,null,[[0,14]])})))),$v(Yv(e),"onEmbedAttachment",(function(t){e.putCaretInNextBlotAfterAttachment(),e.embedAttachmentUrl(t)})),$v(Yv(e),"onSetAttachmentError",(function(t){console.warn("set upload attachment error",t),e.setProps({setAttachmentError:t,uploading:!1})})),$v(Yv(e),"onTaskAbortClick",(function(){e.props.saveFileTask&&(e.props.saveFileTask.abort(),e.setProps({file:null,uploading:null,progress:null,saveFileTask:null,setAttachmentError:null},!0))})),$v(Yv(e),"onAttachmentUploadProgress",(function(t){var n;e.setProps({progress:Math.min(Math.round(t.loaded/t.total*100),100),taskAbortable:null===(n=e.props.saveFileTask)||void 0===n?void 0:n.abortable},!0)})),e.messages={embed_file:"Embed File",paste_the_file_link:"Paste the file link...",choose_a_file:"Choose files"},e.attachmentConfig={allowEmbedUrl:!0},e}return t=a,n=[{key:"onAttachUploadResoursesIfNeed",value:function(){var e=this;this.editor.plugins.undoManager.skip((function(){if(e.map.get("originalRoomId")){if(e.editor.room!==e.map.get("originalRoomId")&&!e.map.get("attachmentGlobalId")){var t=e.map.get("src");t&&e.embedAttachmentUrl(t)}e.map.delete("originalRoomId")}}))}},{key:"onAttachmentResolvedUpdateMap",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.editor.plugins.undoManager.skip((function(){t.url&&e.map.get("src")!==t.url&&e.map.set("src",t.url)}))}},{key:"onFirstAttach",value:function(){this.props.saveFileTask&&this.processTask(this.props.saveFileTask,this.props.saveFileTask.getResultPromise())}},{key:"clearAttachment",value:function(){var e=this.map.get("attachmentGlobalId");e&&this.editor.emit(_pe,{attachmentGlobalId:e}),this.map.set("attachmentGlobalId",null),this.setProps({attachment:null})}},{key:"setAttachment",value:function(e){eb(this.map,e)}},{key:"getSetAttachmentTime",value:function(){return this.map.get("setAttachmentTime")}},{key:"isAttachmentMightBeUploading",value:function(){var e=this.getSetAttachmentTime();return!!e&&Math.round(Date.now()/1e3)-e<86400}},{key:"getUploadingBy",value:function(){var e=this.map.get("uploading_by");if(!e||"string"!=typeof e)return null;var t=e.split("|");return 2!==t.length?null:{userId:parseInt(t[0]),time:parseInt(t[1])}}},{key:"isUploadingByExpired",value:function(e){return(new Date).getTime()-e.time>864e5}},{key:"isUploadingByCurrentUser",value:function(e){return(new Date).getTime()-e.time>864e5}},{key:"onNoAttachmentWrapperMouseDown",value:function(e){e.preventDefault()}},{key:"clearUploadingBy",value:function(){this.map.delete("uploading_by")}},{key:"clearUploadingByIfNeeded",value:function(e){return(this.isUploadingByExpired(e)||e.userId===this.scroll.store.userId)&&(this.clearUploadingBy(),!0)}},{key:"render",value:function(){}},{key:"attachmentAdjustTooltipPosition",value:function(){if(this._tooltip){var e=this.domNode.getBoundingClientRect(),t=this.scroll.editor.scrollingContainer.getBoundingClientRect();this._tooltip.style.position="absolute",this._tooltip.style.left=e.left+"px",this._tooltip.style.top=e.top+e.height+this.scroll.editor.scrollingContainer.scrollTop-t.top+"px"}}},{key:"adjustTooltipPositionContinuously",value:function(){var e=this;!function t(){e._tooltip&&e._tooltip.parentNode&&(e.attachmentAdjustTooltipPosition(),requestAnimationFrame(t))}()}},{key:"showAttachmentToolTipIfNeeded",value:function(){if(!this.hasAttachment()&&!this.props.uploading&&!document.querySelector(".attachment-tooltip")){var e=this.renderAttachmentTooltip(this.onAttachmentChooseFile,this.onEmbedAttachment,this.onAttachmentTooltipClose,{maxFileSize:this.editor.plugins.attachmentManager.getMaxFileSize()});this._tooltip=e,this.scroll.editor.scrollingContainer.appendChild(e),this.adjustTooltipPositionContinuously()}}},{key:"attachmentRemoveTooltip",value:function(){this._tooltip&&this._tooltip.parentNode&&this._tooltip.parentNode.removeChild(this._tooltip),this._tooltip=null;try{clearInterval(this._adjustPositionInterval)}catch(e){}}},{key:"onFocusableFocus",value:function(){Zv(Kv(a.prototype),"onFocusableFocus",this)&&Zv(Kv(a.prototype),"onFocusableFocus",this).call(this)}},{key:"onFocusableBlur",value:function(){Zv(Kv(a.prototype),"onFocusableBlur",this)&&Zv(Kv(a.prototype),"onFocusableBlur",this).call(this),this.hasAttachment()||this.attachmentRemoveTooltip()}},{key:"setHTMLFileForUpload",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return console.log("setting file for upload",e),Promise.resolve().then((function(){if(!t.editor.plugins.attachmentManager.checkFileSize(e.size))throw new Zg("file is too big",e);var r;return n&&t.putCaretInNextBlotAfterAttachment(),e=t.editor.plugins.attachmentManager.beforeSaveFile(e),t.scroll.store.transaction((function(){var n=!1;e.attachmentGlobalId&&(!1===e.isUploaded||(n=!0)),n||(r=t.uploadFile(e)),e.attachmentGlobalId&&t.setAttachment(e.attachmentGlobalId)})),r})).catch(this.onSetAttachmentError)}},{key:"setHTMLFilesForUpload",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.length){e=Array.from(e);for(var r=[this],o=this.id,i=[];r.length<e.length;)this.scroll.execInBatch((function(){var i,a=(null===(i=t.container)||void 0===i?void 0:i.createAttachBlot)||t.createAttachBlot;if(a){var s=a();o=s.id,r.push(s)}else{var l;l=n.detectFileType?Bv(e[r.length]):t.constructor.blotName;var c=t.container.addBlot(l,{after:o}).id;o=c,r.push(c)}}));for(var a=0,s=r;a<s.length;a++){var l=s[a],c=e.shift();"string"==typeof l&&(l=this.editor.findById(l)),i.push(l.setHTMLFileForUpload(c,!n.dontPutCaretAfter&&0===e.length))}return Promise.all(i)}}},{key:"embedAttachmentUrl",value:function(e){var t=this;this.attachmentRemoveTooltip(),this.setProps({uploading:!0,progress:0,saveFileTask:null},!0),this.editor.plugins.attachmentManager.chooseFileFromUrl(e).then((function(e){return t.uploadFile(e)})).catch(this.onSetAttachmentError)}},{key:"uploadFile",value:function(e){var t=this;this.setProps({file:e,uploading:!0,progress:0,saveFileTask:null,setAttachmentError:null},!0),this.attachmentRemoveTooltip();var n=this.editor.plugins.attachmentManager.saveFile(e,{blotName:this.constructor.blotName,blotId:this.id});return this.editor.plugins.undoManager.skip((function(){t.map.set("uploading_by",[t.scroll.store.userId,(new Date).getTime()].join("|")),console.log("set file uploading task id",n,n.id),n.id&&t.map.set("upload_task_id",n.id)})),this.processTask(n,n.run())}},{key:"getUploadTaskId",value:function(){return this.map.get("upload_task_id")}},{key:"setUploadTask",value:(o=Hv(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setProps({file:t.file,uploading:!0,progress:0,saveFileTask:null,setAttachmentError:null},!0),e.prev=1,e.next=4,this.processTask(t,t.getResultPromise());case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),this.onSetAttachmentError(e.t0);case 9:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(e){return o.apply(this,arguments)})},{key:"processTask",value:function(e,t){var n=this;return e.onProgress=this.onAttachmentUploadProgress,console.log("processing task...",e),this.setProps({saveFileTask:e,taskAbortable:e.abortable},!0),t.then((function(e){e&&(console.log("processTask: file was uploaded successfully, received attachment info",e),n.setAttachment(e.globalId),"function"==typeof n.onFileUploaded&&n.onFileUploaded())})).then((function(){n.setProps({uploading:!1,saveFileTask:null},!0),n.editor.plugins.undoManager.skip((function(){n.map.delete("uploading_by")}))})).catch((function(t){if(e.file&&e.file.attachmentGlobalId&&n.editor.plugins.undoManager.skip((function(){n.clearAttachment()})),n.editor.plugins.undoManager.skip((function(){n.map.delete("uploading_by")})),!e.aborted)throw t;n.setProps({uploading:!1,saveFileTask:null},!0)}))}},{key:"resolveAttachment",value:function(){var e=this;this._resolveInProgress||(this._resolveInProgress=!0,this.editor.plugins.attachmentManager.resolve(this.map.get("attachmentGlobalId"),{blotName:this.constructor.blotName,blotId:this.id}).then((function(t){var n=e.map.get("attachmentGlobalId");isNaN(t.size)&&!e.editor.plugins.attachmentManager.isPseudoAttachment(n)&&console.warn("attachment",n,"resolved with incorrect size, attachment:",JSON.stringify(t)),e.setProps({attachment:t}),e.onAttachmentResolvedUpdateMap({url:t.url}),e._resolveInProgress=!1,"function"==typeof e.onAttachmentResolved&&e.onAttachmentResolved()})).catch((function(t){console.error("fail to resolve attachment",t),e._resolveInProgress=!1,e.setProps({setAttachmentError:t})})))}},{key:"hasAttachment",value:function(){return!this.props.uploading&&Boolean(this.map.get("attachmentGlobalId"))}},{key:"replaceAttachment",value:function(e){return!(!e||this.map.get("attachmentGlobalId")===e||(this.hasAttachment()&&this.clearAttachment(),this.setAttachment(e),0))}},{key:"putCaretInEmptyParagraphAfterAttachment",value:function(){if("tableCell"!=this.map.get("mode")){var e=this.getWrapper().next;if(e&&e instanceof pf&&e.isEmpty())return this.scroll.selection.setRange({index:e.offset(this.scroll),length:0}),void this.editor.plugins.selectionScroller.ensureSelectionVisible();this.parent.addBlot("paragraph",{after:this.id,focus:{index:0}})}}},{key:"putCaretInNextBlotAfterAttachment",value:function(){var e=this.getWrapper().next;e?(e instanceof Tf?this.scroll.selection.setRange({index:e.children.head.offset(this.scroll),length:0}):this.scroll.selection.setRange({index:e.offset(this.scroll),length:0}),this.editor.plugins.selectionScroller.ensureSelectionVisible()):this.putCaretInEmptyParagraphAfterAttachment()}},{key:"handleKeyDown",value:function(e){return Jv(e)?this.putCaretInNextBlotAfterAttachment():Zv(Kv(a.prototype),"handleKeyDown",this)?Zv(Kv(a.prototype),"handleKeyDown",this).call(this,e):void 0}},{key:"renderAttachmentTooltip",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=document.createElement("div");o.setAttribute(L3,1),o.classList.add("attachment-tooltip"),o.classList.add("chrome-tooltip");var i="";return r.maxFileSize&&(i='<div class="max-file-size-note">Maximum size per file '+yv()(r.maxFileSize)+"</div>"),o.innerHTML='<div class="chrome-tabs">\n      <div class="chrome-tab active" data-tab="upload">Upload</div>\n      '.concat(this.attachmentConfig.allowEmbedUrl?'<div class="chrome-tab" data-tab="link">Embed Link</div>':"",'\n    </div>\n    <div class="chrome-tab-content active" data-tab="upload">\n      <button class="chrome-button btn-choose-file">').concat(this.messages.choose_a_file,"</button>\n      ").concat(i,"\n    </div>\n    ").concat(this.attachmentConfig.allowEmbedUrl?'<div class="chrome-tab-content" data-tab="link">\n      <input type="text" class="attachment-input chrome-input" placeholder="'.concat(this.messages.paste_the_file_link,'"/>\n      <button class="chrome-button btn-embed-attachment">').concat(this.messages.embed_file,"</button>\n    </div>"):"",'\n    <div class="chrome-close">×</div>'),o.querySelector(".btn-choose-file").addEventListener("click",e,!1),this.attachmentConfig.allowEmbedUrl&&o.querySelector(".btn-embed-attachment").addEventListener("click",(function(){var e=o.querySelector(".attachment-input").value;t(e)}),!1),o.querySelector(".chrome-close").addEventListener("click",n,!1),o.addEventListener("click",(function(e){if(e.target.matches(".chrome-tab")){if(e.target.classList.contains("active"))return;var t=e.target.getAttribute("data-tab");o.querySelector(".chrome-tab.active").classList.remove("active"),o.querySelector(".chrome-tab-content.active").classList.remove("active"),o.querySelector('.chrome-tab[data-tab="'+t+'"]').classList.add("active"),o.querySelector('.chrome-tab-content[data-tab="'+t+'"]').classList.add("active"),"link"===t&&o.querySelector(".attachment-input").focus()}}),!1),this.attachmentConfig.allowEmbedUrl&&o.querySelector(".attachment-input").addEventListener("keydown",(function(e){return e.stopPropagation()}),!1),o}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Zv(Kv(a.prototype),"remove",this)).call.apply(e,[this].concat(n)),this.attachmentRemoveTooltip()}}],r=[{key:"convertBlots",value:function(e,t,n){var r=n.params,o=n.container;if(e.length>1)return"default";if(!r.attachmentGlobalId)return"default";var i=t.createMap();return o&&o.editor&&this.setCommentThreads&&o&&o.editor&&this.setCommentThreads(o.editor.findById(e[0]),r),this.initMap(i,t,r),{removeBlots:e,insertBlots:[i.get("id")]}}},{key:"setAttachment",value:function(e,t,n){eb(t,n)}}],n&&zv(t.prototype,n),r&&zv(t,r),a}(O);$v(tb,"initMap",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.room&&e.set("originalRoomId",n.room),Zv(Kv(tb),"initMap",tb)&&Zv(Kv(tb),"initMap",tb).call(tb,e,t,n)}));var nb=n(45405);function rb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ob(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ob(e,t)}(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 ob(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ib(e){return(ib="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ab(){return(ab=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function sb(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function lb(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sb(i,r,o,a,s,"next",e)}function s(e){sb(i,r,o,a,s,"throw",e)}a(void 0)}))}}function cb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ub(e,t){return(ub=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function db(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mb(e);if(t){var o=mb(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pb(this,n)}}function pb(e,t){if(t&&("object"===ib(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return fb(e)}function fb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hb(e,t,n){return(hb="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=mb(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function mb(e){return(mb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yb="original-width",vb="original-height",bb=["image/png","image/jpeg","image/gif"],_b=(0,Rn.ZP)("tab"),wb=(0,Rn.ZP)("shift+tab"),Cb=["left","center","right"],Sb={"image/png":".png","image/jpeg":".jpg","image/gif":".gif"};function Eb(e){return e.previewUrl?e.previewUrl:function(e){return(window.URL||window.webkitURL).createObjectURL(e)}(e.instance)}var xb=function(e){!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}}),t&&ub(e,t)}(i,e);var t,n,r,o=db(i);function i(e){var t,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),gb(fb(n=o.call(this,e)),"onTaskAbortClick",(function(){n.props.saveFileTask&&(n.map.get("attachmentGlobalId")&&n.clearAttachment(),n.props.saveFileTask.abort(),n.clearUploadingCache(),n._previewOnLoadReady=null,n.domNode.classList.remove("preview-image"))})),gb(fb(n),"onFileClickMenuImageShadow",(function(){var e=n.props.attachment;e.imageShadow?n.map.set("imageShadow",!1):n.map.set("imageShadow",!0),n.setProps({attachment:Object.assign({},e,{imageShadow:!e.imageShadow})})})),gb(fb(n),"onSetImageCover",(function(){var e=n.map.get("cover");n.map.set("cover",!e)})),gb(fb(n),"onRenderPlaceholder",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;n.placeholder=e})),gb(fb(n),"setPreviewImage",(function(e){if(!n._fetchingPreviewInProgress){n._fetchingPreviewInProgress=!0;var t=new Image;t.onload=function(){var r=n.map.toJSON(),o=r.width,a=r.ratio;if(!o||!a){var s=n.getWrapper().domNode.getBoundingClientRect().width,l=1;n.map.get("unsplash")&&"gridCol"!==n.getWrapper().parent.constructor.blotName&&(l=.5);var c=i.optimizeSize(t,s,l);o=c.width,a=c.ratio,n.editor.plugins.undoManager.skip((function(){n.scroll.execInBatch((function(){n.setWidthToMap(o),n.map.set("ratio",a),n.map.set("noGridWidth",o),n.map.set("originalSize",{width:c.originalWidth,height:c.originalHeight})}))}))}n.image.setAttribute("src",e),n.domNode.classList.add("preview-image"),n.setResizeContainerSize({width:o,ratio:a}),n.props.scrollToCaretOnOnload&&(n.editor.plugins.selectionScroller.triggerSelectionChange(!0),n.setProps({scrollToCaretOnOnload:null})),n._previewOnLoadReady=!0,n._fetchingPreviewInProgress=!1},t.onerror=function(e){n._fetchingPreviewInProgress=!1,n._previewOnLoadReady=!0,n.setProps({isPreviewNotAvailable:!0})},t.src=e}})),gb(fb(n),"onImageDelete",(function(){n.remove()})),gb(fb(n),"renderDeleteButton",(function(){return(0,s.h)("div",{className:"delete-image-btn",onClick:n.onImageDelete},(0,s.h)(ct.bMz,null))})),gb(fb(n),"replace",(function(){n.clearAttachment(),n.onFocusableFocus()})),gb(fb(n),"setAsPreview",(function(){n.editor.plugins.attachmentManager.setAsPreview(n.props.attachment)})),gb(fb(n),"getTextFromImage",(function(){if(n.blotConfig.processGetTextFromImage)n.blotConfig.processGetTextFromImage(n.map.get("attachmentGlobalId"));else{var e=n.blotConfig.ocr.getTextForAttachment(n.map.get("attachmentGlobalId"));if(!1!==e){var t=(0,s.h)(Uy,{textPromise:e,attachment:n.props.attachment,editor:n.editor});n.editor.plugins.popupManager.dialog(t)}}})),gb(fb(n),"download",lb(regeneratorRuntime.mark((function e(){var t,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.props.attachment,n.map.get("unsplash")&&(t.isPseudoImg=!0,(r=n.map.get("originalSize"))&&(t.width=r.width,t.height=r.height)),n.editor.plugins.attachmentManager.download(t)){e.next=7;break}return e.next=5,fetch(n.props.attachment.url).then((function(e){return e.blob()}));case 5:o=e.sent,window.saveAs(o,String(t.global_id+Sb[o.type]));case 7:case"end":return e.stop()}}),e)})))),gb(fb(n),"viewFullSize",(function(){var e=!1;n.blotConfig.processEnterFullSize&&!1!==n.blotConfig.processEnterFullSize(n.props.attachment)&&(e=!0),e||!1!==n.editor.plugins.imageManager.enterFullSize(n.props.attachment.global_id)&&(e=!0),e||n.editor.plugins.lightBox.open(n.props.attachment.url),n.scroll.setSelectedBlots([])})),gb(fb(n),"editImage",lb(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.map.get("attachmentGlobalId"),e.next=3,n.editor.plugins.attachmentManager.editImage(t);case 3:(r=e.sent)&&(n.setAttachment(r),n.resolveAttachment());case 5:case"end":return e.stop()}}),e)})))),gb(fb(n),"openInNewTab",(function(){window.open(n.props.attachment.url,"_blank","noopener")})),gb(fb(n),"imageInfo",lb(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:[],t=(0,s.h)(Ry,{attachment:n.props.attachment,editor:n.editor,blotConfig:n.blotConfig}),n.editor.plugins.popupManager.dialog(t);case 3:case"end":return e.stop()}}),e)})))),gb(fb(n),"closeInfoPopup",(function(){n.imageInfo(!1)})),gb(fb(n),"rotateImage",lb(regeneratorRuntime.mark((function e(){var r,o,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.map.get("attachmentGlobalId"),e.next=3,n.editor.plugins.attachmentManager.allowRotateImage(r);case 3:if(e.sent){e.next=6;break}return e.abrupt("return");case 6:return n.domNode.classList.add("rotate-processing"),o=n.image.getBoundingClientRect().height,a=o/n.image.getBoundingClientRect().width,n.setProps({rotateProcessing:!0}),hb((t=fb(n),mb(i.prototype)),"clearAttachment",t).call(t),n.onClearAttachmentSetProps(),e.next=14,n.editor.plugins.attachmentManager.rotateImage(r);case 14:s=e.sent,n.setAttachment(s),l=fb(n),n.editor.emitter.on("embed-loaded",(function e(t){t.id===l.id&&(l.editor.emitter.off("embed-loaded",e),l.setWidthToMap(o),l.map.set("ratio",a),l.props.rotateProcessing=null,l.detachRotateLoader(l.domNode.querySelector(".rotate-loader")))}));case 18:case"end":return e.stop()}}),e)})))),gb(fb(n),"onImageDblClick",(function(e){"doubleClick"===n.getOpenFullSize()&&(e.preventDefault(),n.viewFullSize())})),gb(fb(n),"onImageMouseDown",(function(e){"focusedClick"===n.getOpenFullSize()&&n.props.focused&&(e.preventDefault(),n.viewFullSize())})),gb(fb(n),"onImageClick",(function(e){"click"===n.getOpenFullSize()&&(e.preventDefault(),n.viewFullSize())})),gb(fb(n),"mapObserver",(function(e){n.render()})),n.domNode.classList.add("image"),n.domNode.setAttribute("contenteditable",!1),n.wrapper=n.domNode.querySelector(".image-container"),n.image=n.wrapper.firstChild,n.commentsCounter=n.addCommentsCounter(fb(n)),n.wrapper.appendChild(n.commentsCounter.node),n.placeholder=null,n.attachmentConfig.acceptFiles="image/*",Object.assign(n.messages,{}),n.isSeparableByClickApplicable=!0,n.embeddableFocusableNode=n.image,n.selfColorManagement=!0,n.addCanExecActions(["set-align","delete","backspace"]),n.fullWidth&&(n.fullWidth.afterFunc=function(){setTimeout((function(){n.render(),n.image.width&&!n.domNode.classList.contains("loading")&&n.map.set("fullWidth",n.image.width)}),0)}),n.dontRemoveWithBackspace=!0,n}return t=i,r=[{key:"getMaxIndent",value:function(){return 30}},{key:"optimizeSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e.width,o=e.height,i=r/o,a=r;return t&&r>t&&(a=t),{width:a*=n,height:a/i,ratio:i,originalWidth:r,originalHeight:o}}},{key:"createBlot",value:function(e){var t=a().create("imageWrapper");return this.addCaretTrap(e,t.domNode),t}},{key:"create",value:function(e){var t=hb(mb(i),"create",this).call(this),n=document.createElement("IMG"),r=document.createElement("div");return n.classList.add("img-hide"),r.classList.add("image-container"),r.appendChild(n),t.appendChild(r),r.setAttribute("contenteditable",!1),t}},{key:"value",value:function(e){return{alt:this.image.getAttribute("alt"),url:this.image.getAttribute("src")}}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return function(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}(e,["http","https","data"])?e:"//:0"}}],(n=[{key:"addCommentsCounter",value:function(e){var t=this,n=document.createElement("div");n.classList.add("image-comments-counter");var r=function(t){e.commentImageBlot()};return{node:n,update:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e.map.get("unsplash")&&e.editor.mode===e.editor.constructor.MODE_EDIT&&t.editor.plugins.commentManager.enabled){var i=e.map.get("width")||e.image.clientWidth,a=e.map.get("ratio")?i/e.map.get("ratio"):e.image.clientHeight;i<100||a<100?n.classList.contains("disabled")||n.classList.add("disabled"):n.classList.contains("disabled")&&n.classList.remove("disabled");var l=["comment-counter-icon"],c=["comments-count"],u="number"==typeof o&&o>0;u?(o>=10&&o<100&&c.push("over-ten"),o>=100&&c.push("over-hundred")):l.push("no-comments");var d=gb({},Gr.qZ,e.editor.plugins.i18n.get("image.comments"));(0,s.sY)((0,s.h)("div",ab({className:l.join(" "),onClick:r},d),(0,s.h)(ct.ge4,null),u?(0,s.h)("span",{className:c.join(" ")},o<100?o:"99"):null),n)}else n.classList.contains("disabled")||n.classList.add("disabled")}}}},{key:"onResizeOverWidth",value:function(e){this.editor.mode===this.editor.constructor.MODE_EDIT&&(this.map.get("isResizeOverWidth")===e||this.domNode.classList.contains("loading")||this.map.set("isResizeOverWidth",e))}},{key:"setResizeContainerSize",value:function(e){hb(mb(i.prototype),"setResizeContainerSize",this).call(this,e)}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top;n+=1;var r=this.wrapper.querySelector(".image-remote-loading-container");return r&&(t+=r.getBoundingClientRect().x-this.domNode.getBoundingClientRect().x),{left:t,top:n}}},{key:"onGetCommentPosition",value:function(e){var t=e.left,n=e.top;if(this.image&&this.image.src){var r=(0,H.vk)(this.image,this.editor.editorBody);t-=t-(r.left+r.width),n+=10}return{left:t,top:n}}},{key:"onUpdateCommentsCount",value:function(e){this.setProps&&this.setProps({commentsCount:e})}},{key:"onRemoveCommentsCount",value:function(){this.setProps&&this.setProps({commentsCount:null})}},{key:"clearAttachment",value:function(){hb(mb(i.prototype),"clearAttachment",this).call(this),this.map.set("color","transparent"),this.map.delete("width"),this.map.delete("ratio"),this.map.delete("noGridWidth"),this.map.delete("originalSize"),this.map.delete("unsplash"),this.onClearAttachmentSetProps()}},{key:"embedAttachmentUrl",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"user",r={scrollToCaretOnOnload:"user"===n||null};this.editor.plugins.attachmentManager.options.chooseFileFromUrl&&Object.assign(r,{uploading:!0,progress:0,saveFileTask:null}),this.setProps(r),this.editor.plugins.attachmentManager.chooseFileFromUrl(e).then((function(e){if(!t.editor.plugins.attachmentManager.checkFileSize(e.size))throw new Zg("file is too big",e);if(e&&e.type&&-1!==e.type.indexOf("image"))return t.setHTMLFileForUpload(e,!1,n);t.onSetAttachmentError(t.editor.plugins.i18n.get("image.unknown_error"))})).catch(this.onSetAttachmentError)}},{key:"onImageChooseUnsplash",value:function(e){var t,n,r,o=this,i=e&&(e.urls.regular||e.urls.full||e.urls.raw);i||this.onSetAttachmentError(this.editor.plugins.i18n.get("image.unknown_error"));var a={name:null===(t=e.user)||void 0===t?void 0:t.name,link:null===(n=e.user)||void 0===n||null===(r=n.links)||void 0===r?void 0:r.html};this.editor.plugins.attachmentManager.resolvePseudoAttachment(i).then((function(e){if(e&&e.attachmentGlobalId){if(o.map.set("unsplash",!0),o.setAttachment(e.attachmentGlobalId),a.name||a.link){var t,n,r,i=a.link?{link:a.link}:null,s=((null===(t=o.editor)||void 0===t||null===(n=t.plugins)||void 0===n||null===(r=n.i18n)||void 0===r?void 0:r.get("image.unsplash.caption_preffix"))||"Photo by")+" ";ym.setCaption(o.editor,o.map,[{insert:s},{insert:a.name||a.link,attributes:i}])}o.putCaretInNextBlotAfterAttachment()}else o.onSetAttachmentError(o.editor.plugins.i18n.get("image.unknown_error"))})).catch((function(e){console.error(e),o.onSetAttachmentError(e)}))}},{key:"setHTMLFileForUpload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"user";if(this.setProps({scrollToCaretOnOnload:"user"===n||null}),e.attachmentGlobalId&&e.isUploaded){var r=this.domNode.querySelector(".no-image-wrapper");r&&this.detachPlaceholder(r)}return hb(mb(i.prototype),"setHTMLFileForUpload",this).call(this,e,t)}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=hb(mb(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),!this.map.has("align")){var o=this.blotConfig.defaultAlign;o&&Cb.includes(o)||(o="center"),this.map.set("align",o)}this.store.observe(this.map,this.mapObserver),this.editor.mode===this.editor.constructor.MODE_EDIT&&this.initPopupContainer(),this.image.addEventListener("dblclick",this.onImageDblClick,!1),this.image.addEventListener("mousedown",this.onImageMouseDown,!1),this.image.addEventListener("click",this.onImageClick,!1),this.fullWidth&&(this.fullWidth=Object.assign(this.fullWidth,{wrapperNode:this.getWrapper().domNode})),this.resizeContainer=this.image.closest(".resize-container");var a=this.blotConfig,s=a.showMenuItemOpenInNewTab,l=void 0===s||s,c=a.showLeftMenuItemCopyLink,u=void 0===c||c,d=a.showMenuItemGetTextFromImage,p=void 0===d||d,f=a.showMenuItemEditImage,h=void 0!==f&&f;this.showMenuItemOpenInNewTab=l,this.showLeftMenuItemCopyLink=u,this.showMenuItemGetTextFromImage=p,this.showMenuItemEditImage=h,this.render(),this.onAttachUploadResoursesIfNeed()}},{key:"detach",value:function(){this.map&&this.store.unobserve(this.map,this.mapObserver),this.detachPlaceholder(),this.detachLoader(this.domNode.querySelector(".image-loading-icon")),this.image.removeEventListener("dblclick",this.onImageDblClick,!1),this.image.removeEventListener("mousedown",this.onImageMouseDown,!1),this.image.removeEventListener("click",this.onImageClick,!1),hb(mb(i.prototype),"detach",this).call(this)}},{key:"canDragWith",value:function(e){return!this.isBlotLocked&&e===this.image&&!this.ignoringUpdateRender}},{key:"getContentElement",value:function(){if(this.hasAttachment())return this.image}},{key:"originalSize",get:function(){return this.hasAttachment()&&this.map.get("originalSize")?this.map.get("originalSize"):null}},{key:"setWidthToMap",value:function(e){e&&("mobile"===this.editor.options.deviceType&&this.maxContentOverWidth<=e&&(e=1e3),this.map.set("width",e))}},{key:"getWrapper",value:function(){return this.parent}},{key:"fetchSizeIfNeed",value:function(){var e=this;if(!this._fetchingSizeInProgress&&(this._fetchingSizeInProgress=!0,!this.map.has("width"))){var t=this.props.attachment.url;"object"===("undefined"==typeof window?"undefined":ib(window))&&t.startsWith("/")&&(t=window.location.origin+t);var n=new Image;n.onload=function(){var t=e.getWrapper().domNode.getBoundingClientRect().width,r=1;e.map.get("unsplash")&&"gridCol"!==e.getWrapper().parent.constructor.blotName&&(r=.5);var o=i.optimizeSize(n,t,r),a=o.width,s=o.ratio,l=o.originalWidth,c=o.originalHeight;e.editor.plugins.undoManager.skip((function(){e.setWidthToMap(a),e.map.set("ratio",s),e.map.set("noGridWidth",a),e.map.set("originalSize",{width:l,height:c})})),e._fetchingSizeInProgress=!1},n.onerror=function(t){console.error("Fail to load image",t),e.onSetAttachmentError(e.editor.plugins.i18n.get("image.unknown_error")),e._fetchingSizeInProgress=!1},n.src=t}}},{key:"attachPlaceholder",value:function(){var e=this;this.domNode.classList.add("no-image"),this.parent.domNode.classList.add("no-attachment"),this.image&&(this.image.classList.forEach((function(t){return e.image.classList.remove(t)})),this.image.classList.add("img-hide")),this.setProps({attachmentLoaded:!1,isContentRendered:!1}),lt((0,s.h)(yy,{blot:this,abortable:Boolean(this.props.saveFileTask),onRenderPlaceholder:this.onRenderPlaceholder}),this.domNode,"no-image-wrapper")}},{key:"detachPlaceholder",value:function(){this.domNode.classList.remove("no-image"),this.parent.domNode.classList.remove("no-attachment"),lt(null,this.domNode,"no-image-wrapper")}},{key:"attachLoader",value:function(){if(this.editor.mode!==gpe){this.domNode.classList.add("loading");var e=this.map.get("width");if(e){!this.allowOverWidth&&e>this.maxContentWidth&&(e=this.maxContentWidth);var t=this.map.get("ratio");this.setResizeContainerSize({width:e,ratio:t})}lt((0,s.h)("div",{className:"image-loading-icon"},(0,s.h)(ey(),null)),this.wrapper,"image-loader-wrapper")}}},{key:"detachLoader",value:function(){this.domNode.classList.remove("loading"),lt(null,this.wrapper,"image-loader-wrapper")}},{key:"attachRemoteLoader",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.domNode.classList.add("remote-loading");var n={};this.map.get("width")&&(n.width=this.map.get("width")+"px",this.map.get("ratio")&&(n.height=this.map.get("width")/this.map.get("ratio")+"px"));var r=(0,s.h)(pe.xv,{id:"attachment.attachment_is_being_uploaded"}),o=null;t.isOffline?r=(0,s.h)(pe.xv,{id:"attachment.attachment_will_be_downloaded_online"}):t.isPreviewNotAvailable&&(r=(0,s.h)(pe.xv,{id:"attachment.attachment_preview_is_not_available"}),o=this.renderDeleteButton()),t.error&&(r=(0,s.h)(pe.xv,{id:"image.attachment_not_found_error"}),o=this.renderDeleteButton()),lt((0,s.h)(pe.Pj,null,(0,s.h)("div",{className:"image-remote-loading-container",style:n},(0,s.h)(ct.I19,null),(0,s.h)("div",{className:"loading-text"},r),o)),this.wrapper,"image-remote-loader-wrapper")}},{key:"detachRemoteLoader",value:function(){this.domNode.classList.remove("remote-loading"),lt(null,this.wrapper,"image-remote-loader-wrapper")}},{key:"attachRotateLoader",value:function(){this.domNode.classList.add("rotate-processing");var e=this.map.get("width"),t=this.getWrapper().domNode.getBoundingClientRect().width;e&&(e>t&&(e=t),this.setResizeContainerSize({width:e,ratio:this.map.get("ratio")}));var n="",r="";e>=170?(n=this.editor.plugins.i18n.get("image.rotate_wait.full"),r+="full-loader"):e<170&&e>=80?e>=110?(n=this.editor.plugins.i18n.get("image.rotate_wait.medium"),r+="medium-loader"):e<110&&(r+="small-loader"):r+="hidden",lt((0,s.h)("div",{className:"rotate-loader "+r},(0,s.h)("div",{className:"image-wait-icon"},(0,s.h)(ey(),null)),(0,s.h)("div",{className:"rotate-loader-wait-text"},n)),this.wrapper,"image-rotate-loader-wrapper")}},{key:"detachRotateLoader",value:function(){this.domNode.classList.remove("rotate-processing"),lt(null,this.wrapper,"image-rotate-loader-wrapper")}},{key:"clearUploadingCache",value:function(){this.setProps({file:null,uploading:null,progress:null,saveFileTask:null,setAttachmentError:null})}},{key:"renderHighlights",value:function(){var e,t=this.wrapper.querySelector(".image-highlights"),n=this.props.highlights;if(n)e=(0,s.h)("div",{className:"image-highlights"},(0,s.h)(Qy,{highlights:n,width:this.image.width,height:this.image.height,naturalWidth:this.image.naturalWidth,naturalHeight:this.image.naturalHeight}));else if(e=(0,s.h)(st,null),!t)return;(0,s.sY)(e,this.wrapper)}},{key:"render",value:function(){var e=this;if(!this.ignoringUpdateRender){hb(mb(i.prototype),"render",this).call(this),this.getWrapper().render(),this.commentsCounter.update(this.props.commentsCount);var t=this.wrapper.querySelector(".image-loading-icon"),n=this.wrapper.querySelector(".image-remote-loading-container"),r=this.domNode.querySelector(".rotate-loader"),o=this;if(this.hasAttachment())if(this.props.isPreviewNotAvailable&&this.setProps({isPreviewNotAvailable:!1}),this.props.attachment){this.detachRemoteLoader(n);var a=this.map.get("imageShadow");if(!this.props.attachment.imageShadow&&a&&(this.props.attachment.imageShadow=!0),this.props.file&&this.props.attachment&&this.image.getAttribute("src")!==this.props.attachment.url){var s=new Image;s.onload=function(){e.image.setAttribute("src",e.props.attachment.url),e.domNode.classList.remove("preview-image"),e._previewOnLoadReady=!1,e.detachPlaceholder(),e.setProps({attachmentLoaded:!0,isContentRendered:!0}),e.clearUploadingCache(),e.editor.emitter.emit("embed-loaded",{id:e.id}),e.image.classList.remove("img-hide"),e.image.classList.add("img-loaded")},s.onerror=function(e){console.error("Preview image loading error: ",e)},s.src=this.props.attachment.url}else this.fetchSizeIfNeed(),this.image.getAttribute("src")!==this.props.attachment.url&&(this.image.setAttribute("src",this.props.attachment.url),this.detachPlaceholder(),this.image.addEventListener("load",(function e(){o.image.removeEventListener("load",e,!1),o.detachLoader(t),o.setProps({attachmentLoaded:!0,isContentRendered:!0}),o.editor.emitter.emit("embed-loaded",{id:o.id}),o.image.classList.remove("img-hide"),o.image.classList.add("img-loaded")}),!1));this.props.attachment.imageShadow?this.image.classList.add("image-shadow"):this.image.classList.remove("image-shadow"),this.map.get("cover")?this.image.classList.contains("cover-image")||this.image.classList.add("cover-image"):this.image.classList.contains("cover-image")&&this.image.classList.remove("cover-image")}else{var l=!1;this.props.setAttachmentError&&this.props.setAttachmentError instanceof nb.default&&(this.detachLoader(t),this.detachPlaceholder(),l=!0,this.isAttachmentMightBeUploading()?this.attachRemoteLoader(n,{isOffline:this.props.setAttachmentError.isOffline}):this.attachRemoteLoader(n,{error:this.props.setAttachmentError})),l||(this.props.file||this.props.rotateProcessing||this.attachLoader(t),this.resolveAttachment())}else if(this.props.rotateProcessing)this.attachRotateLoader(r);else{this.props.file?this._previewOnLoadReady||this.setPreviewImage(Eb(this.props.file)):(this.image.getAttribute("src")&&this.image.removeAttribute("src"),this.props.attachment&&(this.props.attachment=null));var c=this.getUploadingBy();c&&c.userId!==this.scroll.store.userId||this.props.isPreviewNotAvailable?(this.attachRemoteLoader(n,{isPreviewNotAvailable:this.props.isPreviewNotAvailable}),this.detachPlaceholder()):(this.attachPlaceholder(),this.detachRemoteLoader(n),this.detachLoader())}this.renderHighlights()}}},{key:"onClearAttachmentSetProps",value:function(){this.props.attachmentLoaded=!1,this.props.isPreviewNotAvailable=!1}},{key:"initPopupContainer",value:function(){this.popupContainer||(this.popupContainer=document.createElement("div"),this.popupContainer.setAttribute("contenteditable",!1),this.popupContainer.setAttribute(L3,1),this.popupContainer.classList.add("image-popup-container"),this.domNode.appendChild(this.popupContainer))}},{key:"focus",value:function(){this.editor.emitter.emit("toolbar-status",{},"#FFFFFF"),[].slice.call(this.scroll.domNode.querySelectorAll(".focused-block")).map((function(e){e.classList.remove("focused-block")})),this.domNode.classList.add("focused-block"),this.scroll.selectedBlocks=[],-1==this.scroll.selectedBlocks.indexOf(this)&&this.scroll.selectedBlocks.push(this),this.scroll.domNode.setAttribute("contenteditable",!1),[].slice.call(this.scroll.domNode.getElementsByClassName("col-selected")).map((function(e){e.classList.remove("col-selected")})),[].slice.call(this.scroll.domNode.getElementsByClassName("current")).map((function(e){e.classList.remove("current")})),[].slice.call(this.scroll.domNode.getElementsByClassName("write")).map((function(e){a().find(e).children.head.domNode.removeAttribute("contenteditable"),e.classList.remove("write")})),[].slice.call(this.scroll.domNode.getElementsByClassName("change")).map((function(e){a().find(e).children.head.domNode.removeAttribute("contenteditable"),e.classList.remove("write")})),this.scroll.focused=!1,this.editor.api.allowMerge=!1,this.editor.emitter.emit("allow-merge",!1),this.editor.api.allowDivide=!1,this.editor.emitter.emit("allow-divide",!1),this.scroll.selection.clearSelection(),this.editor.emitter.emit("changed-current",{})}},{key:"handleRemove",value:function(){var e=this;document.addEventListener("keydown",(function(t){e.domNode.classList.contains("focused-block")&&(8!=t.keyCode&&46!=t.keyCode||(t.preventDefault(),t.stopPropagation(),e.remove(),e.scroll.update("user")))}))}},{key:"imageOnTabKey",value:function(e){return e.preventDefault(),this.addIndent()}},{key:"imageOnShiftTabKey",value:function(e){return e.preventDefault(),this.removeIndent()}},{key:"handleKeyDown",value:function(e){return _b(e)?this.imageOnTabKey(e):wb(e)?this.imageOnShiftTabKey(e):hb(mb(i.prototype),"handleKeyDown",this).call(this,e)}},{key:"toSelect",value:function(){this.scroll.selectedBlocks.push(this);var e=this.scroll.selection.getNativeRange();if(this.editor.api.getBlock(e.end.node)!=this){var t=function e(t){return!!t&&(null!=t.next&&void 0!==t.next?t.next:e(t.parent))}(this);t.toSelect&&t.toSelect()}}},{key:"commentImageBlot",value:function(){var e=!1;e||!1!==this.editor.plugins.imageManager.enterFullSize(this.props.attachment.global_id,{commentMode:!0})&&(e=!0),e||this.editor.plugins.lightBox.open(this.props.attachment.url)}},{key:"contextMenu",get:function(){var e=hb(mb(i.prototype),"contextMenu",this),t=this.editor.plugins,n=t.i18n,r=t.attachmentManager;this.showLeftMenuItemCopyLink||delete e.copyLink;var o=Boolean(this.map.get("attachmentGlobalId"))&&r.isPseudoAttachment(this.map.get("attachmentGlobalId"));if(this.hasAttachment()){if(o||(e["turn-into"]={label:n.get("block_menu.convert_to.name"),index:-11,group:0,action:!1,submenu:{turnToFile:{label:n.get("block_menu.convert_to.file"),index:0,group:0,action:"convert-blot",actionParams:{type:"file",attachmentGlobalId:this.map.get("attachmentGlobalId"),caption:this.map.get("caption")},actionExec:!0,icon:ct.XhR}}}),e.addCaption.index=-12,e.replace={label:n.get("block_menu.replace"),index:-10,group:0,action:"replace",stackable:!1},!o){if(e["set-as-preview"]={label:n.get("block_menu.set_as_preview"),index:-8,group:0,action:"setAsPreview",stakable:!1},void 0!==this.blotConfig.ocr&&this.showMenuItemGetTextFromImage){var a=new(bo()),l=this.editor.plugins.featuresAvailabilityPlugin.getFeatureIcon("get-text-from-image",a);e["get-text-from-image"]={label:(0,s.h)("div",{onMouseEnter:function(){a.emit("enter",{})},onMouseLeave:function(){a.emit("leave",{})}},(0,s.h)(pe.xv,{id:"block_menu.get_text_from_image"}),l),index:-7,group:0,action:"getTextFromImage",stakable:!1}}this.showMenuItemEditImage&&(e["edit-image"]={label:n.get("block_menu.edit_image"),index:-6,group:0,action:"editImage",stakable:!1})}e.download={label:n.get("block_menu.download"),index:-6,group:0,action:"download",stackable:!1},e["view-full-size"]={label:n.get("block_menu.view_full_size"),index:-5,group:0,action:"viewFullSize",stackable:!1},this.showMenuItemOpenInNewTab&&(e["open-in-new-tab"]={label:n.get("block_menu.open_in_new_tab"),index:-4,group:0,action:"openInNewTab",stackable:!1}),o||(e["image-info"]={label:n.get("block_menu.image_info"),index:-3,group:0,action:"imageInfo",stackable:!1},this.editor.plugins.attachmentManager.isMethodImplemented("rotateImage")&&this.props.attachmentLoaded&&(e.rotate={label:n.get("block_menu.rotate_image"),index:-9,group:0,action:"rotateImage",stackable:!1})),e.layout=(0,fe.Ee)(e.layout,{label:n.get("block_menu.layout"),index:-2,group:0,action:!1});var c=this.map.get("imageShadow"),u=ct.Zlx;(this.props.attachment&&this.props.attachment.imageShadow||c)&&(this.props.attachment.imageShadow||(this.props.attachment.imageShadow=!0),u=ct.EZi),e.layout.submenu||(e.layout.submenu={}),e.layout.submenu.imageShadow={icon:u,label:n.get("file.menu.shadow_image"),index:0,group:0,action:"onFileClickMenuImageShadow"},e.layout.submenu.cover={icon:this.map.get("cover")?ct.EZi:ct.Zlx,label:"Cover",index:3,group:0,action:"onSetImageCover"},e.comment&&(o?delete e.comment:e.comment.action="commentImageBlot")}else delete e.layout,delete e.comment,delete e["change-color"];return e}},{key:"delete",value:function(){var e=!1;this.scroll.selectedBlocks[this.scroll.selectedBlocks.length-1]===this&&this.getWrapper().next&&this.getWrapper().next.image&&(e=!0),this.remove(),e&&this.editor.scroll.selection.setRange(null)}},{key:"getRightClickMenu",value:function(e){return!1}},{key:"getOpenFullSize",value:function(){return this.editor.mode===this.editor.constructor.MODE_READONLY||this.editor.mode===this.editor.constructor.MODE_PREVIEW?"click":this.blotConfig.openFullSize||"doubleClick"}},{key:"onFocusableFocus",value:function(){var e=rb(this.selection.getRange(),1)[0];this.hasAttachment()||!this.placeholder||e&&0!==e.length?hb(mb(i.prototype),"onFocusableFocus",this).call(this):this.placeholder.onFocus()}},{key:"onStartResizeBlot",value:function(){hb(mb(i.prototype),"onStartResizeBlot",this).call(this),"full"===this.map.get("align")&&this.map.set("align","center")}},{key:"focusableFocus",value:function(){this.setCaretInTrap()}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t=this.store.createMap();return mv.initMap(t,this.store,{delta:this.getWrapper().caption.delta({forCopy:!0})}),a().query(this.map.get("type")).initMap(e,this.store,{src:this.map.get("src"),attachmentGlobalId:this.map.get("attachmentGlobalId"),color:this.map.get("color"),imageShadow:this.map.get("imageShadow"),align:this.map.get("align"),caption:t.get("id"),unsplash:this.map.get("unsplash"),width:this.map.get("width"),ratio:this.map.get("ratio"),noGridWidth:this.map.get("noGridWidth"),originalSize:this.map.get("originalSize")}),e.get("id")}},{key:"exec",value:function(e){var t=hb(mb(i.prototype),"exec",this).call(this,e),n=e.params;if("set-align"===e.type){if(this.map.set("align",n),"full"===n){var r=this.originalSize,o=r.width,a=r.height;this.setWidthToMap(o),this.map.set("ratio",o/a)}t=!0}else if("backspace"===e.type){var s=rb(this.scroll.selection.getRange(),1)[0],l=!1;(this.getWrapper().next&&this.getWrapper().next.image||this.getWrapper().prev&&this.getWrapper().prev.image)&&(l=!0),this.container.removeChildById(this.id),l?this.scroll.selection.setRange(null):this.scroll.selection.setRange({index:s.index-1,length:0}),e.dontRestoreSelection(),t=!0}return t}},{key:"getCopyHTML",value:function(){var e=this.editor.options.serverRoom,t=e?'data-nimbus-room="'+e+'"':"";return{html:'<img src="'+this.image.getAttribute("src")+'" '+Qv+'="'+this.map.get("attachmentGlobalId")+'" '+t+">",text:"!["+this.image.getAttribute("src")+"]("+this.image.getAttribute("src")+")"}}},{key:"getCopyParams",value:function(){var e=this.getCopyHTML();return{html:e.html,text:e.text,op:this.getBlotInsertParams(this.scroll.selection.getRange({offsetBlot:this})[0])}}},{key:"getDraggingNode",value:function(){var e,t=this.map.toJSON(),n=t.width,r=t.ratio,o=t.originalSize,i=this.container.domNode.getBoundingClientRect().width,a=o&&o.width?Math.min(n,i,o.width):Math.min(n,i);if(this.image.src&&""!==this.image.src){e=document.createElement("div");var s=this.image.cloneNode();s.style.width=a+"px",s.style.height=a/r+"px",s.style.display="block",e.appendChild(s)}else!this.hasAttachment()&&this.placeholder&&(e=this.placeholder.domNode.cloneNode(!0));return e}},{key:"getBlotMenuHeaderComponent",value:function(){return Mg}},{key:"toHTML",value:function(e){if(e.options.noAttachments)return"";if(this.props.attachment){e&&e.addAttachment&&e.addAttachment(this.props.attachment);var t=this.domNode.cloneNode(!0),n=e&&e.getAttachmentPath&&e.getAttachmentPath(this.props.attachment),r=t.querySelector("img");e.options.toEmail&&r.setAttribute("style","width:100%; height:100%;");var o=r.closest(".resize-container"),i=r.cloneNode();i.setAttribute("src",n);var a=this.map.get("fullwidthMode"),s=a?this.map.get("fullWidth"):this.map.get("width");if((a||this.map.get("isResizeOverWidth"))&&o.classList.add("resize-full-width-mode"),e.options.debug&&console.log("width:",s),s){var l=!0;if(e.options.pdf&&("gridCol"===this.getWrapper().parent.constructor.blotName||"A4"===e.options.papperFormat&&s>=600||"A5"===e.options.papperFormat&&s>=500||"A3"===e.options.papperFormat&&s>=1e3)&&(l=!1),l){o.style.width=s+"px",o.style.setProperty("--width",s+"px");var c=this.map.get("ratio");if(c){var u=s/c;o.style.height=u+"px"}}}if(e.options.toEmail){var d=o.style.width;o.style="width: "+d}if(e.options.pdf)r.parentNode.replaceChild(i,r);else{var p=document.createElement("a");p.setAttribute("href",n),p.setAttribute("target","_blank"),p.appendChild(i),r.parentNode.replaceChild(p,r)}return t.outerHTML}return""}},{key:"isResizeAvailable",value:function(){return!("function"==typeof hb(mb(i.prototype),"isResizeAvailable",this)&&!hb(mb(i.prototype),"isResizeAvailable",this).call(this))&&this.props.isContentRendered&&!this.blotConfig.disableResize}},{key:"onDisabledResizeAllowSize",value:function(){return this.domNode.classList.contains("preview-image")}},{key:"getBlotInsertParams",value:function(e,t){var n,r=hb(mb(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(r,{initParams:{src:this.map.get("src"),attachmentGlobalId:this.map.get("attachmentGlobalId"),align:this.map.get("align"),imageShadow:this.map.get("imageShadow"),width:this.map.get("width"),ratio:this.map.get("ratio"),noGridWidth:this.map.get("noGridWidth"),originalSize:this.map.get("originalSize"),captionParams:null===(n=this.getWrapper().caption)||void 0===n?void 0:n.getBlotInsertParams(),unsplash:this.map.get("unsplash"),room:this.editor.options.serverRoom}})}}])&&cb(t.prototype,n),r&&cb(t,r),i}(se([Ec,dg,Pd,jm,eg,nh,Mu,cd,Ju,Vu,bd,Eu,tu])(tb));gb(xb,"initMap",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","image"),e.set("src",n.src),n.align&&e.set("align",n.align),n.unsplash&&e.set("unsplash",n.unsplash),e.set("imageShadow",!!n.imageShadow&&n.imageShadow),n.attachmentGlobalId&&e.set("attachmentGlobalId",n.attachmentGlobalId);var r=n.caption;if(!r){var o=t.createMap();mv.initMap(o,t,n.captionParams||{}),r=o.get("id")}e.set("caption",r);var i=n.width,a=n.height,s=n.ratio,l=n.noGridWidth,c=n.originalSize;if(i&&a){var u=xb.optimizeSize({width:i,height:a});i!==u.width&&(i=u.width),s||(s=u.ratio),l||(l=u.noGridWidth),c||(c={width:u.originalWidth,height:u.originalHeight})}i&&e.set("width",i),s&&e.set("ratio",s),l&&e.set("noGridWidth",l),c&&e.set("originalSize",c),e.set("allowOverWidth",n.allowOverWidth||!1),Ju.initMap(e,t,n),cd.initMap(e,t,n),hb(mb(xb),"initMap",xb)&&hb(mb(xb),"initMap",xb).call(xb,e,t,n)})),xb.blotName="image",xb.tagName="DIV",xb.parent=tb,xb.wrapper="imageWrapper",xb.minContentWidth=50;const kb=xb;function Ob(e){return(Ob="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pb(e,t){return(Pb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Mb(e);if(t){var o=Mb(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ib(this,n)}}function Ib(e,t){if(t&&("object"===Ob(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 Mb(e){return(Mb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const Nb=function(e){return function(e){!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}}),t&&Pb(e,t)}(i,e);var t,n,r,o=Rb(i);function i(){var e;Tb(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).isSizeAware=!0,e}return t=i,(n=[{key:"sizeAwareUpdateSize",value:function(e){this.setProps({maxAvailableWidth:e})}}])&&Ab(t.prototype,n),r&&Ab(t,r),i}(e)};function Db(e){return(Db="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lb(e,t){return(Lb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ub(e);if(t){var o=Ub(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fb(this,n)}}function Fb(e,t){if(t&&("object"===Db(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 Ub(e){return(Ub=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hb=function(e){!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}}),t&&Lb(e,t)}(i,e);var t,n,r,o=Bb(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).domNode.classList.add("image-wrapper"),t.caption=null,t}return t=i,(n=[{key:"image",get:function(){return this.embed}},{key:"getInnerTextLine",value:function(){return this.caption}},{key:"sizeAwareUpdateSize",value:function(e){this.embed.setProps({maxAvailableWidth:e})}},{key:"render",value:function(){this.embed.hasAttachment()&&this.embed.props.attachment&&this.map.has("width")?(this.caption||(this.caption=a().create("caption"),this.caption.map=this.store.getMap(this.map.get("caption")),this.caption.embedBlot=this.embed,this.appendChild(this.caption)),this.caption.render()):this.caption&&(this.caption.remove(),this.caption=null);var e=this.map.get("align");"full"===e?(this.domNode.classList.contains("full-width")||this.domNode.classList.add("full-width"),this.domNode.setAttribute("data-content-align","center")):(this.domNode.classList.contains("full-width")&&this.domNode.classList.remove("full-width"),this.domNode.setAttribute("data-content-align",e));var t=this.map.get("color")||"transparent";this.domNode.setAttribute("data-block-background",t)}}])&&jb(t.prototype,n),r&&jb(t,r),i}(Nb(ym));function Vb(e){return(Vb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qb(e,t){return(qb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yb(e);if(t){var o=Yb(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wb(this,n)}}function Wb(e,t){if(t&&("object"===Vb(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 Yb(e){return(Yb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Hb.allowedChildren=[kb,mv],Hb.blotName="imageWrapper";var Zb=function(e){!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}}),t&&qb(e,t)}(i,e);var t,n,r,o=Gb(i);function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,(r=o.call(this,e,t,n)).rangeBefore=null,r.newRange=null,r.deleteBlock=!1,r}return t=i,(n=[{key:"before",value:function(e){e.processingBlots,this.rangeBefore=this.editor.scroll.selection.getRange()[0]}},{key:"after",value:function(){if(this.deleteBlock){this.newRange=this.newRange||{index:this.rangeBefore.index-(this.deleteBlock.index+1),length:0};try{this.editor.scroll.selection.setRange(this.newRange)}catch(e){this.editor.scroll.selection.setRange({index:0,length:0})}}}},{key:"exec",value:function(e){var t=!1,n=e.processingBlots[0],r=this.getBlotRange(n),o=n.prev;if(o||1!==r.index||(this.setBlotRange(n,{index:0,length:0}),r=this.getBlotRange(n)),n instanceof pc&&!(n instanceof O)){if((!o||o instanceof Ep||o instanceof Np||o instanceof $p)&&(o=n.parent.prev),o&&o.constructor&&(o instanceof Tf||o instanceof pc||"gridCol"===o.constructor.blotName||"grid"===o.constructor.blotName))n.remove(),this.deleteBlock=r;else if(!o)if("gridCol"===n.parent.constructor.blotName){var i=n.parent.parent;if(i.prev&&(i.prev instanceof O||i.prev instanceof Hb))return;n.remove(),this.deleteBlock=r}else n.remove(),this.deleteBlock=r;t=!0}return t}}])&&zb(t.prototype,n),r&&zb(t,r),i}(ro);function Kb(e){return(Kb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qb(e,t){return(Qb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=t_(e);if(t){var o=t_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jb(this,n)}}function Jb(e,t){if(t&&("object"===Kb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return e_(e)}function e_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t_(e){return(t_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Zb.type="deleteBlock";var n_=function(e){!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}}),t&&Qb(e,t)}(i,e);var t,n,r,o=Xb(i);function i(e,t,n){var r,a,s,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,r=o.call(this,e,t,n),a=e_(r),l=null,(s="rangeBefore")in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,r}return t=i,(n=[{key:"exec",value:function(){return!this.editor.plugins.undoManager.canUndo()||(this.editor.plugins.undoManager.undo(),!0)}}])&&$b(t.prototype,n),r&&$b(t,r),i}(ro);function r_(e){return(r_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i_(e,t){return(i_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c_(e);if(t){var o=c_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s_(this,n)}}function s_(e,t){if(t&&("object"===r_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l_(e)}function l_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c_(e){return(c_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n_.type="undo";var u_=function(e){!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}}),t&&i_(e,t)}(i,e);var t,n,r,o=a_(i);function i(e,t,n){var r,a,s,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,r=o.call(this,e,t,n),a=l_(r),l=null,(s="rangeBefore")in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,r}return t=i,(n=[{key:"exec",value:function(){return!this.editor.plugins.undoManager.canRedo()||(this.editor.plugins.undoManager.redo(),!0)}}])&&o_(t.prototype,n),r&&o_(t,r),i}(ro);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})(e)}function p_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f_(e,t)}(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 f_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m_(e,t,n){return(m_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b_(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function g_(e,t){return(g_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b_(e);if(t){var o=b_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v_(this,n)}}function v_(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)}function b_(e){return(b_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}u_.type="redo";var __=function(e){!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}}),t&&g_(e,t)}(i,e);var t,n,r,o=y_(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t,n)}return t=i,(n=[{key:"exec",value:function(){var e=this.editor.scroll;if(m_(b_(i.prototype),"exec",this).call(this,{processingBlots:e.selectedBlocks}))return!0;var t=e.length();if(1===e.selectedBlocks.length&&(e.selectedBlocks[0]instanceof pc||e.selectedBlocks[0]instanceof Vf)){var n=p_(e.selectedBlocks,1)[0],r=n.length()-1,o=p_(e.selection.getRange({offsetBlot:n}),1)[0];return 0===o.index&&o.length===r?(e.selection.setRange({index:0,length:t-1}),!0):(e.selection.setRange({index:n.offset(e),length:r}),!0)}return e.selection.setRange({index:0,length:t-1}),!0}}])&&h_(t.prototype,n),r&&h_(t,r),i}(ro);function w_(e){return(w_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S_(e,t){return(S_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k_(e);if(t){var o=k_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x_(this,n)}}function x_(e,t){if(t&&("object"===w_(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 k_(e){return(k_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}__.type="select-all";var O_=function(e){!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}}),t&&S_(e,t)}(i,e);var t,n,r,o=E_(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||FormatAction.type,o.call(this,e,t,n)}return t=i,(n=[{key:"exec",value:function(e){var t=e.processingBlots,n=this.editor.scroll.selection.getRange()[0];return!!n&&(n.length>0&&new yo(yo.type,{},this.editor).run({processingBlots:t}),!1)}}])&&C_(t.prototype,n),r&&C_(t,r),i}(ro);function T_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return A_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A_(e,t)}(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 A_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P_(e){return(P_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I_(e,t){return(I_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D_(e);if(t){var o=D_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N_(this,n)}}function N_(e,t){if(t&&("object"===P_(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 D_(e){return(D_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}O_.type="typingCleanup";var j_=function(e){!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}}),t&&I_(e,t)}(i,e);var t,n,r,o=M_(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"exec",value:function(){var e=this.editor.scroll.selection.getRange()[0];if(e&&0===e.length){var t=function(e){if(!e)return console.error('#getFormatsBeforeCaret: "editor" is not defined or null'),null;var t=e.scroll,n=t.selection,r=T_(n.getRange(),2),o=r[0],i=r[1];if(o){if(o.length>0)return console.error("It is impossible to get formats before caret, because editor has a selection range length "+o.length),null;var a=t.selection.getBlotsInRange(i).map((function(e){return oe(e,Gl)})).filter((function(e){return null!==e})).filter((function(e,t,n){return n.indexOf(e)===t}));if(0===a.length||a.length>1)return console.error("Selection range located in two or some blocks"),null;var s=T_(a,1)[0],l=T_(n.getRange({offsetBlot:s}),1)[0];return s.getFormat(l.index-1,1)}return console.error("Editor is not focused or selection range is not defined"),null}(this.editor);t.background?(this.editor.exec("format",{style:"background",value:!1}),t.color&&this.editor.exec("format",{style:"color",value:!1})):this.editor.plugins.floatingToolbar.applyHighlight()}else{var n=this.editor.plugins.floatingToolbar.getSelectionFormatsDetails().formats;n&&n.background?this.editor.plugins.floatingToolbar.clearHighlight():this.editor.plugins.floatingToolbar.applyHighlight()}return!0}}])&&R_(t.prototype,n),r&&R_(t,r),i}(ro);function L_(e){return(L_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return F_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F_(e,t)}(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 F_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H_(e,t){return(H_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q_(e);if(t){var o=q_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z_(this,n)}}function z_(e,t){if(t&&("object"===L_(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 q_(e){return(q_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j_.type="toggle-highlight";var G_=function(e){!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}}),t&&H_(e,t)}(i,e);var t,n,r,o=V_(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"exec",value:function(e){e.processingBlots;var t=B_(this.editor.scroll.selection.getRange(),2),n=t[0],r=t[1];return!!(n&&n.length>0)&&(r.reversed?this.editor.scroll.selection.setRange({index:n.index+n.length,length:0}):this.editor.scroll.selection.setRange({index:n.index,length:0}),!0)}}])&&U_(t.prototype,n),r&&U_(t,r),i}(ro);function W_(e){return(W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K_(e,t){return(K_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $_(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=X_(e);if(t){var o=X_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q_(this,n)}}function Q_(e,t){if(t&&("object"===W_(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 X_(e){return(X_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}G_.type="clearSelection";var J_=function(e){!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}}),t&&K_(e,t)}(i,e);var t,n,r,o=$_(i);function i(){return Y_(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.cssId,n=e.background,r=e.shape,o=e.size,i=e.target,a=e.url,l=e.buttonType,c=e.onMouseClick,u=this.props.title;return u||(u=this.props.editor.plugins.i18n.get("floating_toolbar.button")),(0,s.h)("nimbus-button",{id:t,className:"single-button","data-background":n,"data-shape":r,"data-size":o,"data-target":i,"data-url":a,"data-type":l,onClick:c},(0,s.h)("span",{className:"button-content"},(0,s.h)("b",null,u)))}}])&&Z_(t.prototype,n),r&&Z_(t,r),i}(s.wA),ew=n(29199),tw=n.n(ew);function nw(e){return(nw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ow(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rw(Object(n),!0).forEach((function(t){gw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iw(e){return function(e){if(Array.isArray(e))return aw(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)return;if("string"==typeof e)return aw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aw(e,t)}(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 aw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sw(){return(sw=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uw(e,t,n){return t&&cw(e.prototype,t),n&&cw(e,n),e}function dw(e,t){return(dw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pw(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mw(e);if(t){var o=mw(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fw(this,n)}}function fw(e,t){if(t&&("object"===nw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return hw(e)}function hw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mw(e){return(mw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yw=(0,Rn.ZP)("esc"),vw=tw().linkFormAppearDuration,bw=function(e){!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}}),t&&dw(e,t)}(n,e);var t=pw(n);function n(e){var r;return lw(this,n),gw(hw(r=t.call(this,e)),"onButtonFormRef",(function(e){r.buttonFormNode=e})),gw(hw(r),"onDisplayInputRef",(function(e){r.titleInputNode=e})),gw(hw(r),"onAdressInputRef",(function(e){r.urlInputNode=e})),gw(hw(r),"onClickOpen",(function(e){e.stopPropagation(),r.props.openLink(r.props.url)})),gw(hw(r),"onClickCopy",(function(){r.props.copyLinkUrl(r.clearUrl(r.state.url))})),gw(hw(r),"onClickEdit",(function(e){e.stopPropagation(),r.props.showEditForm()})),gw(hw(r),"onClickDelete",(function(){r.props.deleteButton(!0)})),gw(hw(r),"onInputKeydown",(function(e){13===e.keyCode&&(e.preventDefault(),e.stopPropagation(),r.onDoneClick())})),gw(hw(r),"onAdressInput",(function(e){r.setState((function(t){var n=e.target.value;r.props.setUrl(n);var o={url:n};return""!==n.trim()&&t.error_url&&(o.error_url=!1),o}))})),gw(hw(r),"onTitleInput",(function(e){var t=e.target.value;r.setState((function(e){var o=null;return t.length<=n.maxTitleSize&&(t.trim()&&r.props.setTitle(t),o={title:t}),""!==t.trim()&&e.error_title&&(o={error_title:!1}),o}),(function(){e.target.value=r.state.title}))})),gw(hw(r),"onTargetChange",(function(e){var t=e.target.checked?"_blank":"_self";r.props.setTarget(t),r.setState((function(){return{target:t}}))})),gw(hw(r),"onShapeClick",(function(e){return function(){r.props.setShape(e),r.setState((function(){return{shape:e}}))}})),gw(hw(r),"onBackgroundClick",(function(e){return function(){r.props.setBackground(e),r.setState((function(){return{background:e}}))}})),gw(hw(r),"onSizeClick",(function(e){return function(){r.props.setSize(e),r.setState((function(){return{size:e}}))}})),gw(hw(r),"onTypeChange",(function(e){return function(){r.props.setType(e),r.setState({buttonType:e})}})),gw(hw(r),"drawShapes",(function(){var e=r.state.shape;return(0,s.h)("div",{className:"button-form-shapes"},["rounded","square"].map((function(t){var n=["button-form-button"];return n.push(t),t===e&&n.push("selected"),(0,s.h)("a",{className:n.join(" "),onClick:r.onShapeClick(t)},(0,s.h)("span",null,(0,s.h)("b",null,"a")))})))})),gw(hw(r),"drawBackgroundColor",(function(){var e=r.state.background;return(0,s.h)("div",{className:"button-form-colors"},["bondi-blue","bleu-de-france","neon-carrot","sunglow","carmine-pink","dollar-bill","light-pastel-purple"].map((function(t){var n=["color-menu-item"];return t===e&&n.push("selected"),(0,s.h)("div",{className:n.join(" "),"data-color":t,onClick:r.onBackgroundClick(t)},(0,s.h)("div",{className:"color-icon",style:{backgroundColor:"var(--".concat(t,")")}}))})))})),gw(hw(r),"drawSizes",(function(){var e=r.props.editor.plugins.i18n,t=[{title:e.get("button.small"),code:"small"},{title:e.get("button.medium"),code:"medium"},{title:e.get("button.big"),code:"big"}],n=r.state.size;return(0,s.h)("div",{className:"button-form-sizes"},t.map((function(e){var t=e.title,o=e.code,i=["button-form-button","rounded"];return o===n&&i.push("selected"),(0,s.h)("a",{className:i.join(" "),onClick:r.onSizeClick(o)},(0,s.h)("span",null,(0,s.h)("b",null,t)))})))})),gw(hw(r),"drawTypes",(function(){var e=r.props.editor.plugins.i18n,t=[{title:e.get("button.3d"),code:"3d"},{title:e.get("button.withShadow"),code:"shadow"},{title:e.get("button.default"),code:"default"}],n=r.state,o=n.buttonType,i=n.id;return(0,s.h)("div",{className:"button-form-types"},t.map((function(e){var t=e.title,n=e.code;return(0,s.h)("div",{className:"button-form-type-item"},(0,s.h)("label",{className:"button-form-radio"},(0,s.h)("input",{type:"radio",name:"buttonType"+i,value:n,checked:n===o,onChange:r.onTypeChange(n)}),(0,s.h)("b",null),(0,s.h)("span",null,t)))})))})),gw(hw(r),"cancel",(function(e){r.setState((function(){return r.firstState}),(function(){r.props.setTitle(r.state.title),r.props.setUrl(r.state.url),r.props.setTarget(r.state.target),r.props.setShape(r.state.shape),r.props.setBackground(r.state.background),r.props.setSize(r.state.size),r.props.setType(r.state.buttonType),e&&e()}))})),gw(hw(r),"onCancelClick",(function(){r.newButton||r.cancel(),r.props.onCancelClick(!0)})),gw(hw(r),"onDoneClick",(function(){var e=0;r.setState((function(t){var n=null,o={},i=[];return["title","url"].forEach((function(n){""===t[n].trim()&&(o["error_"+n]=!0,i.push(n),e=1)})),e?(n=o,r[i[0]+"InputNode"].focus()):r.props.onDoneClick(),n}))})),r.state={title:r.props.title||"",url:r.props.url||"",isEmail:ge(r.clearUrl(r.props.url||"")),target:r.props.target||"_blank",shape:r.props.shape||"rounded",background:r.props.background||"bondi-blue",size:r.props.size||"small",buttonType:r.props.buttonType||"3d",id:r.props.id||Te(),error_url:!1,error_title:!1},r}return uw(n,[{key:"clearUrl",value:function(e){return e.match(/^mailto:/)?e.slice("mailto:".length):e}},{key:"parentTable",get:function(){var e=this.props.textBlot;return!(!e||!e.getBlotName||"tableLink"!==e.getBlotName())&&e.parentTable}},{key:"isBlotLocked",get:function(){return!(!this.parentTable||!this.parentTable.isBlotLocked)}},{key:"getPanelItems",value:function(){var e={link:{fn:this.onClickOpen,url:this.props.url,tooltip:this.props.url},buttons:[{id:"open",fn:this.onClickOpen,title:this.props.getIntlText(this.state.isEmail?"link.send":"link.open")},{id:"copy",fn:this.onClickCopy,title:this.props.getIntlText("link.copy")}]},t=!1;return this.isBlotLocked&&(t=!0),this.props.editor.mode!==this.props.editor.constructor.MODE_EDIT||this.props.button&&this.props.button.disableEditing||t||(e.buttons.push({id:"edit",fn:this.onClickEdit,title:this.props.getIntlText("link.edit")}),e.buttons.push({id:"remove",fn:this.onClickDelete,title:this.props.getIntlText("link.remove")})),e}},{key:"getFormItems",value:function(){return[]}},{key:"componentDidMount",value:function(){this.props.formComponentRef(this),this.props.adjustPositionContinuously(!1,this.props.form?"edit":"click"),this.props.form&&(""===this.state.title||"title"===this.props.focusField?""!==this.state.title?this.titleInputNode.select():this.titleInputNode.focus():(this.state.url,this.urlInputNode.focus())),this.firstState=JSON.parse(JSON.stringify(this.state)),this.props.button||(this.newButton=!0,this.props.changeButton(this.state,!1),this.props.setButton(this.state.id))}},{key:"componentWillUnmount",value:function(){this.props.formComponentRef(null)}},{key:"render",value:function(){var e=this.props.form,t=e?this.getFormItems():this.getPanelItems(),n=null,r=this.props.editor.plugins.i18n,o=this.state.target;if(e){var i=this.props.showSizes?(0,s.h)("div",{className:"button-form-item sizes"},(0,s.h)("div",{className:"button-form-title"},r.get("button.size")),this.drawSizes()):null,a=["button-form-input"];this.state.error_title&&a.push("button-form-input-error");var l=["button-form-input"];this.state.error_url&&l.push("button-form-input-error"),n=(0,s.h)(At.Z,{wantsToClose:this.props.hideForm(!0),closeOnEsc:!0,addClassName:"link-edit no-scroll button-edit",key:"link-form-edit",domRef:this.onButtonFormRef},(0,s.h)("div",{className:"button-form-item title"},(0,s.h)("label",{className:"button-form-title",htmlFor:"button-form-title"},r.get("button.title")),(0,s.h)("input",{id:"button-form-title",className:a.join(" "),type:"text",placeholder:r.get("floating_toolbar.button"),ref:this.onDisplayInputRef,onKeyDown:this.onInputKeydown,onInput:this.onTitleInput,value:this.state.title}),(0,s.h)("div",{class:"button-form-note"},"ID: ",(0,s.h)("span",{className:"button-form-id"},"#",this.state.id),(0,s.h)("span",{className:"button-form-question-icon","data-editor-toolip":r.get("button.id_info_tooltip"),"data-editor-toolip-small":""},(0,s.h)(ct.BS3,null)))),(0,s.h)("div",{className:"button-form-item"},(0,s.h)("label",{className:"button-form-title",htmlFor:"button-form-address"},r.get("button.address")),(0,s.h)("input",{id:"button-form-address",className:l.join(" "),type:"url",placeholder:"http://example.com",autoCapitalize:"off",ref:this.onAdressInputRef,onKeyDown:this.onInputKeydown,onInput:this.onAdressInput,value:this.state.url}),(0,s.h)("div",null,(0,s.h)("label",{className:"button-form-checkbox button-form-target"},(0,s.h)("input",{type:"checkbox",onChange:this.onTargetChange,checked:"_blank"===o}),(0,s.h)("b",null),(0,s.h)("span",null,r.get("button.open_in_new_tab"))))),(0,s.h)("div",{className:"button-form-item shapes"},(0,s.h)("div",{className:"button-form-title"},r.get("button.shape")),this.drawShapes()),(0,s.h)("div",{className:"button-form-item colors"},(0,s.h)("div",{className:"button-form-title"},r.get("button.background")),this.drawBackgroundColor()),i,(0,s.h)("div",{className:"button-form-item types"},(0,s.h)("div",{className:"button-form-title"},r.get("button.type")),this.drawTypes()),(0,s.h)("div",{className:"button-form-item actions"},(0,s.h)("div",{className:"button-form-actions"},(0,s.h)("a",{className:"button-form-button rounded button-cancel",onClick:this.onCancelClick},(0,s.h)("span",null,(0,s.h)("b",null,r.get("button.cancel")))),(0,s.h)("a",{className:"button-form-button rounded button-done",onClick:this.onDoneClick},(0,s.h)("span",null,(0,s.h)("b",null,r.get("button.done")))))))}else{var c,u=(gw(c={},Gr.qZ,t.link.tooltip),gw(c,Gr.Bg,"link-tooltip"),c);n=(0,s.h)(At.Z,{wantsToClose:this.props.hideForm(!1),closeOnEsc:!0,addClassName:"link-panel no-scroll button-panel",key:"link-form-panel",domRef:this.onButtonFormRef},(0,s.h)("div",sw({},u,{className:"link-panel-item link-panel-item-link",key:"link",onClick:t.link.fn}),(0,s.h)("a",{href:t.link.url,className:"link-text",onClick:function(e){e.preventDefault()}},t.link.url)),(0,s.h)("div",{className:"link-panel-buttons"},t.buttons.map((function(e){var t=e.id,n=e.title,r=e.fn,o={"data-button-key":t};return(0,s.h)("div",sw({className:"link-panel-item",key:t,onClick:r},o),n)}))))}return(0,s.h)("div",{className:"link-form"},(0,s.h)(dt.Z,{transitionName:"link-menu",transitionEnterTimeout:vw,transitionLeaveTimeout:vw},n))}}]),n}(s.wA);gw(bw,"maxTitleSize",50);var _w=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.button,a=t.params;lw(this,e),gw(this,"formComponentRef",(function(e){n.formComponent=e})),gw(this,"onEditorTextChange",(function(){n.hide()})),gw(this,"getNbspBeforeAfter",(function(e){var t=n.params.blotRange?n.params.blotRange:n.params.range||null;if(!t)return{left:"",right:""};var r=e?e.getText(t.index-1,1):"",o=e?e.getText(t.index+t.length,1):"";return{left:" "===r||""===r||"\n"===r?"":" ",right:" "===o||""===o||"\n"===o?"":" "}})),gw(this,"changeButton",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n.params.singleBlock)n.textBlot.changeButton(e);else if(n.button)n.button.changeButton(e);else{var r=n.editor.findById(n.params.id);!r&&n.params.execBlots&&n.params.execBlots.length&&(r=n.params.execBlots[0]);var o=n.getNbspBeforeAfter(r),i=n.params.blotRange?n.params.blotRange:n.params.range||null,a=[].concat(iw(""!==o.left?[{insert:" "}]:[]),[{insert:{button:JSON.stringify(e)}}],iw(""!==o.right?[{insert:" "}]:[])),s=[{retain:i&&i.index?i.index:0},{delete:i&&i.length?i.length:0}];r.applyForCharacters([s[0],s[1]]),r.applyForCharacters([s[0]].concat(iw(a))),n.editor.emitter.emit("add-button",{formats:e})}t&&n.hide()})),gw(this,"openLink",(function(e){var t=n.formComponent.state.target;n.editor.plugins.linkManager.processNavigation(e)||window.open(e,t,"noopener"),n.hide()})),gw(this,"copyLinkUrl",(function(e){n.editor.plugins.copyManager.copy(e),n.hide()})),gw(this,"showEditForm",(function(){n.editor.off("delta",n.onEditorTextChange),n.render(n.container),n.adjustPositionContinuously(!0),setTimeout((function(){n.show()}),vw)})),gw(this,"deleteButton",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.deleted)return!1;if(n.deleted=!0,n.editor.off("delta",n.onEditorTextChange),n.params.singleBlock)n.button.deleteButton();else if(n.button)if(n.textBlot.onEmpty)n.textBlot.onEmpty();else{var t=te(n.button),r=n.button.offset(t),o=n.button.domNode.getAttribute("data-title"),i={insert:o};n.params.formats&&(i=ow(ow({},i),{},{attributes:n.params.formats})),t.map.get("characters").applyDelta([{retain:r},{delete:1},i])}e&&n.hide()})),gw(this,"setTitle",(function(e){n.button&&n.button.setTitle(e)})),gw(this,"setUrl",(function(e){n.button&&n.button.setUrl(e)})),gw(this,"setTarget",(function(e){n.button&&n.button.setTarget(e)})),gw(this,"setShape",(function(e){n.button&&n.button.setShape(e)})),gw(this,"setBackground",(function(e){n.button&&n.button.setBackground(e)})),gw(this,"setSize",(function(e){n.button&&n.button.setSize(e)})),gw(this,"setType",(function(e){n.button&&n.button.setType(e)})),gw(this,"onDoneClick",(function(){n.hide()})),gw(this,"onCancelClick",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n.hide(!0,e)})),gw(this,"setButton",(function(e){n.params.singleBlock||(n.button=n.editor.findById(e),n.button.setSelfControlled(),n.newButton=!0)})),gw(this,"getIntlText",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.editor.plugins.i18n.get(e,t)})),gw(this,"adjustPositionContinuously",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"edit";if(e)n.popper&&n.popper.destroy();else{var r={placement:"right-start",offset:"0px, 10px",preservePosition:!1,positionFixed:!0,priority:["right","bottom","left","top"],removeOnDestroy:!1};"click"===t&&(r.placement="top-start"),n.button?n.popper=(0,Kg.f)(n.button.domNode,n.container,r):n.popper=(0,Kg.f)({getBoundingClientRect:function(){return n.button?n.button.domNode.getBoundingClientRect():{width:n.rangeParams.width,height:n.rangeParams.height,top:n.rangeParams.offsetYOrig,left:n.rangeParams.offsetXOrig,right:n.rangeParams.offsetXOrig+n.rangeParams.width,bottom:n.rangeParams.offsetYOrig+n.rangeParams.height}},clientWidth:n.rangeParams.width||1,clientHeight:n.rangeParams.height},n.container,r)}})),gw(this,"hideForm",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t){var r=!1;(void 0!==t&&yw(t)||e)&&(r=!0),n.hide(r)}})),gw(this,"cancelNewButton",(function(e){if(e){var t=n.editor.plugins.undoManager;t.canUndo()?t.undo():n.deleteButton()}})),gw(this,"afterHide",(function(){})),this.editor=r,this.scroll=o,this.params=a||null,this.button=i||null,this.textBlot=this.params&&this.params.id&&this.editor.findById(this.params.id)||this.button&&te(this.button)||this.params.execBlots&&this.params.execBlots[0],this.direction=null,this.scrollingContainer=this.editor.getScrollingContainer()}return uw(e,[{key:"render",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=Object.assign({},n);var r=bw;if(n.form){var o=this.editor.options.blots,i=o&&o.button;i&&i.buttonFormComponent&&(r=i.buttonFormComponent,n.ButtonFormComponent=bw)}(0,s.sY)((0,s.h)(dt.Z,{transitionName:"link-form",transitionEnterTimeout:vw,transitionLeaveTimeout:vw},t?(0,s.h)(r,sw({changeButton:this.changeButton,openLink:this.openLink,copyLinkUrl:this.copyLinkUrl,showEditForm:this.showEditForm,deleteButton:this.deleteButton,key:"button-form",hideForm:this.hideForm,getIntlText:this.getIntlText,adjustPositionContinuously:this.adjustPositionContinuously,editor:this.editor,button:this.button,formComponentRef:this.formComponentRef,textBlot:this.textBlot,onDoneClick:this.onDoneClick,onCancelClick:this.onCancelClick,setUrl:this.setUrl,setTitle:this.setTitle,setShape:this.setShape,setBackground:this.setBackground,setSize:this.setSize,setType:this.setType,setTarget:this.setTarget,setButton:this.setButton},n)):null),e)}},{key:"normalizePosition",value:function(e,t){var n=t,r=e,o=this.container.getBoundingClientRect(),i=this.button&&this.button.domNode.getBoundingClientRect()||{width:0,height:0,x:0,y:0},a=this.scrollingContainer!==this.editor.scrollingContainer&&le(this.editor.scrollingContainer,this.scrollingContainer)||!1,s=this.scrollingContainer.getBoundingClientRect(),l=this.formComponent.buttonFormNode.getBoundingClientRect();a&&(n-=a.y,r-=a.x),document.body.offsetWidth<s.x+s.width&&(r-=s.x+s.width-document.body.offsetWidth);s.x+r+o.width>s.x+s.width-15&&!this.correctLeft&&(this.correctLeft=s.x+r+o.width-(s.x+s.width-15)+this.editor.scrollbarWidth),this.correctLeft&&(r-=this.correctLeft);var c=0;return t+l.height>s.height+this.scrollingContainer.scrollTop&&(n-=c=t+l.height-s.height-this.scrollingContainer.scrollTop+i.height),l.y+l.height>i.y+i.height&&l.y-i.height<i.y&&this.formComponent.props.form&&c&&(r=e+i.width+l.width+40<s.width?e+i.width+3:i.x-s.x-l.width-3),r<0&&(r=e),r+l.width>s.width&&(r=s.x+s.width-l.width-40),n<20&&(n=20),{top:n,left:r}}},{key:"show",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e||this.editor.on("delta",this.onEditorTextChange);var t={};if(this.params.singleBlock)this.button&&((t=this.button.getButtonProps()).id=t.cssId,this.button.setEditForm(this));else if(this.button)t.title=this.button.domNode.getAttribute("data-title"),t.url=this.button.domNode.getAttribute("data-url"),t.target=this.button.domNode.getAttribute("data-target"),t.shape=this.button.domNode.getAttribute("data-shape"),t.background=this.button.domNode.getAttribute("data-background"),t.size=this.button.domNode.getAttribute("data-size"),t.buttonType=this.button.domNode.getAttribute("data-type"),t.id=this.button.domNode.getAttribute("id");else if(t.title=this.params.title||"",t.url=this.params.formats&&this.params.formats.link||"",!this.rangeParams){var n=this.textBlot.domNode.getBoundingClientRect(),r=window.getSelection();if(!r.rangeCount)return;for(var o=r.getRangeAt(0),i=Array.from(o.getClientRects()),a=0===i.length?n:i.shift();n.y>a.y&&0!==i.length;)a=i.shift();this.rangeParams={offsetX:a.x-n.x,offsetY:a.y-n.y,offsetXOrig:a.x,offsetYOrig:a.y,height:a.height,width:a.width}}t.form=e,t.focusField=this.params.focusField,this.container||(this.container=document.createElement("div"),this.container.classList.add("link-form-container"),this.editor.scrollingContainer.appendChild(this.container),this.render(this.container));var s=this.container;s.removeAttribute("style"),setTimeout(this.render.bind(this,s,!0,t),0)}},{key:"onHideApplyLink",value:function(){var e=this.formComponent.state.title||"",t=this.formComponent.state.url.replace(/\s/g,""),n=this.formComponent.state,r=n.target,o=n.shape,i=n.background,a=n.size,s=n.buttonType,l=n.id;if(""!==t){var c=(t=t.replace(/^(payload:)?(javascript){1,}/gi,"")).match(/(?:(?:[a-z][a-z0-9+.-]*:)(?:.*))/gm);ge(t)?t="mailto:"+t:c||/^\/[a-zA-Z0-9/_-]*$/.test(t)||(t="https://"+t),this.changeButton({title:e,url:t,target:r,shape:o,background:i,size:a,buttonType:s,id:l},!1)}else this.deleteButton()}},{key:"hide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t||this.formComponent&&this.formComponent.urlInputNode&&this.onHideApplyLink(),this.newButton||this.button&&this.button.newButton?(this.button&&this.button.removeSelfControlled&&this.button.removeSelfControlled(),this.cancelNewButton(t)):t&&!n&&this.formComponent&&this.formComponent.cancel(),this.editor.off("delta",this.onEditorTextChange);var r=this.container;setTimeout((function(){e.container=null,e.button=null,e.params=null,e.direction=null,e.correctLeft=null,e.rangeParams=null,e.render(r),r&&r.parentNode&&r.parentNode.removeChild(r)}),0)}}]),e}();function ww(e){return(ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sw(e,t){return(Sw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ew(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ow(e);if(t){var o=Ow(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xw(this,n)}}function xw(e,t){if(t&&("object"===ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return kw(e)}function kw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ow(e){return(Ow=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tw(e){return{align:e.get("embed-align")||"left"}}var Aw=function(e){!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}}),t&&Sw(e,t)}(i,e);var t,n,r,o=Ew(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=kw(t),a=function(){var e=t.props.blot.map;t.setState(Tw(e))},(r="onMapChange")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.state=Tw(e.blot.map),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props.blot;e.editor.store.observe(e.map,this.onMapChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.blot;e.editor.store.unobserve(e.map,this.onMapChange)}},{key:"setAlign",value:function(e){var t=this.props,n=t.blot.editor,r=t.menu;n.exec("set-embed-align",{align:e}),r.onMenuClose()}},{key:"render",value:function(){var e=this.state.align;return(0,s.h)(Sg,null,(0,s.h)(mg,{id:"align-left",active:"left"===e,onClick:this.setAlign.bind(this,"left"),icon:ct.sws}),(0,s.h)(mg,{id:"align-center",active:"center"===e,onClick:this.setAlign.bind(this,"center"),icon:ct.fm}),(0,s.h)(mg,{id:"align-right",active:"right"===e,onClick:this.setAlign.bind(this,"right"),icon:ct.vSI}))}}])&&Cw(t.prototype,n),r&&Cw(t,r),i}(s.wA);function Pw(e){return(Pw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Rw=["showForm"],Iw=["showSizes"];function Mw(e){return function(e){if(Array.isArray(e))return Nw(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)return;if("string"==typeof e)return Nw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nw(e,t)}(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 Nw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dw(){return(Dw=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function jw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jw(Object(n),!0).forEach((function(t){Yw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bw(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hw(e,t){return(Hw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vw(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ww(e);if(t){var o=Ww(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zw(this,n)}}function zw(e,t){if(t&&("object"===Pw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qw(e)}function qw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gw(e,t,n){return(Gw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ww(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Ww(e){return(Ww=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zw=se([Ec,Pd,nh,Mu,gu,Vu,bd,Eu,tu]),Kw=function(e){!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}}),t&&Hw(e,t)}(i,e);var t,n,r,o=Vw(i);function i(){var e;Fw(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Yw(qw(e=o.call.apply(o,[this].concat(n))),"isShowForm",(function(){return!1!==e.map.get("showForm")})),Yw(qw(e),"setAllButtonProps",(function(){var t=i.properties;e.setProps({cssId:e.map.get("cssId"),title:e.map.get("title")||t.title.def,url:e.map.get("url")||t.url.def,target:e.map.get("target")||t.target.def,shape:e.map.get("shape")||t.shape.def,background:e.map.get("background")||t.background.def,size:e.map.get("size")||t.size.def,buttonType:e.map.get("buttonType")||t.buttonType.def,showSizes:!0})})),Yw(qw(e),"mapObserver",(function(){e.setAllButtonProps(),e.render()})),Yw(qw(e),"getButtonToForm",(function(){return{setTitle:e.setTitle,setUrl:e.setUrl,setTarget:e.setTarget,setShape:e.setShape,setBackground:e.setBackground,setSize:e.setSize,setType:e.setType,getButtonProps:e.getButtonProps,deleteButton:e.deleteButton,newButton:e.isShowForm(),setEditForm:e.setEditForm,domNode:e.button}})),Yw(qw(e),"onMouseClick",(function(){var t=qw(e).editor,n=t.plugins.linkManager,r=e.map.get("url"),o=e.isBlotLocked,a=t.options,s=(a&&a.blots&&a.blots.button||{}).showButtonFormat,l=void 0===s||s;t.mode===fpe&&!o&&l?i.showEditForm(t,e.id,!1):n.processNavigation(r)||window.open(r,e.map.get("target"),"noopener")})),Yw(qw(e),"changeButton",(function(t){var n=i.properties,r=(n.showForm,Bw(n,Rw)),o=i.setMapProp;for(var a in r)o(a,r[a],e.map,t);e.render()})),Yw(qw(e),"setTitle",(function(t){e.setProps({title:t})})),Yw(qw(e),"setUrl",(function(t){e.setProps({url:t})})),Yw(qw(e),"setTarget",(function(t){e.setProps({target:t})})),Yw(qw(e),"setShape",(function(t){e.setProps({shape:t})})),Yw(qw(e),"setBackground",(function(t){e.setProps({background:t})})),Yw(qw(e),"setSize",(function(t){e.setProps({size:t})})),Yw(qw(e),"setEditForm",(function(t){e.editForm=t})),Yw(qw(e),"setType",(function(t){e.setProps({buttonType:t})})),Yw(qw(e),"deleteButton",(function(){e.props.focus=!0,e.remove()})),Yw(qw(e),"getButtonProps",(function(){return e.props})),Yw(qw(e),"onButtonRef",(function(t){e.button=t.base})),Yw(qw(e),"getAlign",(function(){return e.map.get("embed-align")||"left"})),e.addCanExecActions(["set-embed-align","delete","backspace"]),e.maxTitleSize=bw.maxTitleSize,e.editForm=null,e}return t=i,r=[{key:"createBlot",value:function(e){var t=a().create(i.blotName);return this.addCaretTrap(e,t.domNode),t}},{key:"create",value:function(e){var t=Gw(Ww(i),"create",this).call(this),n=document.createElement("div");return t.classList.add("button-single"),t.setAttribute("contenteditable",!1),n.classList.add("button-single-container"),t.appendChild(n),t}},{key:"showEditForm",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={id:t,singleBlock:!0},i=e.findById(t),a=Lw(Lw({},i.getButtonToForm()),r);new _w({editor:e,scroll:e.scroll,button:a,params:o}).show(n)}},{key:"getConvertParams",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.constructor.isTextBlot&&e.getTextBlot?e.getTextBlot():e,r={removeOriginal:!0},o=n.getText().trim().substr(0,bw.maxTitleSize),i=n.delta().ops,a=i.filter((function(e){return e.attributes&&e.attributes.link})),s=i.filter((function(e){return e.insert&&e.insert.button}));return o.trim()&&(r.title=o),this.setCommentThreads(e,r),a.length?(r.url=a[0].attributes.link,r.title===r.url&&(r.title="")):s.length&&(r=Lw(Lw({},JSON.parse(s[0].insert.button)),r)),Lw(Lw({},t),r)}},{key:"convertBlots",value:function(e,t,n){var r=n.params,o=n.container;if(o.editor,!e.length)return null;var a={removeBlots:[],insertBlots:[]},s=o.editor.findById(e[e.length-1]);e.length&&(a.removeBlots=e);var l,c=t.createMap(),u=c.get("id"),d=r;return s instanceof pc||s.constructor.isTextBlot?d=i.getConvertParams(s,r):this.setCommentThreads(s,d),this.initMap(c,t,d),a.insertBlots.push(u),s.hasChildrenContainer&&(l=a.insertBlots).push.apply(l,Mw(s.map.get("children").toArray())),a}},{key:"isAbleToConvert",value:function(e){var t=e.scroll.getSelectedBlocks();return 1===t.length&&t[0]instanceof pf&&""===t[0].getText().trim()}}],(n=[{key:"showEditForm",value:function(){i.showEditForm(this.editor,this.id,!0)}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Gw(Ww(i.prototype),"attach",this)).call.apply(e,[this].concat(n));var o=this.editor;this.htmlContainer=this.domNode.querySelector(".button-single-container"),this.editor.store.observe(this.map,this.mapObserver),this.setAllButtonProps(),this.render(),this.isShowForm()&&(i.showEditForm(o,this.id),this.map.set("showForm",!1))}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=Gw(Ww(i.prototype),"detach",this)).call.apply(e,[this].concat(n));var o=this.scroll.selection.getRange()[0];o&&this.scroll.selection.setRange(o),this.editor.store.unobserve(this.map,this.mapObserver)}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t=this.getButtonProps(),n=(t.showSizes,Bw(t,Iw));return n.showForm=!1,a().query(this.map.get("type")).initMap(e,this.store,n),e.get("id")}},{key:"getBlotMenuHeaderComponent",value:function(){return Aw}},{key:"exec",value:function(e){var t=!1,n=e.type,r=e.params,o=i.setMapProp;switch(n){case"set-embed-align":o("embed-align",{def:"left"},this.map,{"embed-align":r.align}),t=!0;break;case"backspace":this.editForm&&this.editForm.hide(!0),this.remove(),t=!0}return t||(t=Gw(Ww(i.prototype),"exec",this).call(this,e)),t}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top;n+=2;var r=this.domNode;if(r){var o=r.getBoundingClientRect().x;t+=this.button.getBoundingClientRect().x-o}return{left:t,top:n}}},{key:"contextMenu",get:function(){var e=Gw(Ww(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n;return e["edit-button"]={label:t.get("block_menu.edit"),index:-12,group:0,action:"showEditForm"},e["turn-into"]={label:t.get("block_menu.convert_to.name"),index:-11,group:0,action:!1,submenu:{turnToParagraph:{label:t.get("block_menu.convert_to.paragraph"),index:0,group:0,action:"convert-blot",actionParams:{type:"paragraph"},stackable:!1,actionExec:!0,icon:ct.V_f},turnToLink:{label:t.get("floating_toolbar.link"),index:0,group:0,action:"convert-blot",actionParams:{type:"paragraph",link:!0},stackable:!1,actionExec:!0,icon:ct.JHz},turnToChecklist:{label:t.get("block_menu.convert_to.to_do_list"),index:0,group:0,action:"convert-blot",actionParams:{type:"list",items:["listItemCheckbox"]},actionExec:!0,stackable:["Paragraph","ListItemCheckbox","ListItemBullet","ListItemNumber"],icon:ct.G40},turnToNumberList:{label:t.get("block_menu.convert_to.number_list"),index:0,group:0,action:"convert-blot",actionParams:{type:"list",items:["listItemNumber"]},stackable:!1,actionExec:!0,icon:ct.UcJ},turnToBulletList:{label:t.get("block_menu.convert_to.bullet_list"),index:0,group:0,action:"convert-blot",actionParams:{type:"list",items:["listItemBullet"]},stackable:!1,actionExec:!0,icon:ct.pfx},turnToBlockquote:{label:t.get("block_menu.convert_to.quote"),index:8,group:0,action:"convert-blot",actionParams:{type:"blockquote",link:!0},actionExec:!0,stackable:["Paragraph","ListItemCheckbox","ListItemBullet","ListItemNumber"],icon:ct.kVp},turnToBookmark:{label:t.get("block_menu.convert_to.bookmark"),index:0,group:0,action:"convert-blot",actionParams:{type:"bookmark",src:this.map.get("url"),replaceBlotId:this.id},stackable:!1,actionExec:!0,icon:ct.BZM},turnToEmbed:{label:t.get("block_menu.convert_to.remote_frame"),index:0,group:0,action:"convert-blot",actionParams:{type:"remote-frame",src:this.map.get("url"),replaceBlotId:this.id},stackable:!1,actionExec:!0,icon:ct.g9E}}},e}},{key:"getTextDelta",value:function(e){var t={insert:this.map.get("title"),attributes:{}};return e&&e.link&&(t.attributes.link=this.map.get("url")),{ops:[t]}}},{key:"delta",value:function(){return{ops:[{insert:this.map.get("title"),attributes:{link:this.map.get("url")}}]}}},{key:"getBlotInsertParams",value:function(e,t){var n=Gw(Ww(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:Lw(Lw({},this.getButtonProps()),{},{showForm:!1})})}},{key:"toHTML",value:function(e){var t=this.props.url,n=this.props.target;return this.button.setAttribute("onclick","window.open('".concat(t,"', '").concat(n,"', 'noopener')")),this.domNode.outerHTML}},{key:"render",value:function(){Gw(Ww(i.prototype),"render",this).call(this),this.htmlContainer.setAttribute("data-align",this.getAlign()),(0,s.sY)((0,s.h)(J_,Dw({editor:this.editor,ref:this.onButtonRef,onMouseClick:this.onMouseClick},this.getButtonProps())),this.htmlContainer)}}])&&Uw(t.prototype,n),r&&Uw(t,r),i}(Zw(O));function $w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Qw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qw(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Qw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Yw(Kw,"hasInnerTextLine",!1),Yw(Kw,"setMapProp",(function(e,t,n,r){var o=t.def;if(r.hasOwnProperty(e)){var i=r[e];"title"===e&&(i=i.trim().substr(0,bw.maxTitleSize)),i===o?n.get(e)&&n.delete(e):n.set(e,i)}})),Yw(Kw,"properties",{showForm:{def:!0},background:{def:"bondi-blue"},shape:{def:"rounded"},size:{def:"small"},buttonType:{def:"3d"},target:{def:"_blank"},title:{def:""},url:{def:""}}),Yw(Kw,"initMap",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Kw.setMapProp,o=Kw.properties;for(var i in e.set("cssId",Te()),e.set("type",Kw.blotName),o)r(i,o[i],e,n);Gw(Ww(Kw),"initMap",Kw)&&Gw(Ww(Kw),"initMap",Kw).call(Kw,e,t,n)})),Kw.blotName="button-single",Kw.tagName="div";var Xw=(0,Rn.ZP)("mod+c"),Jw=[{hotkey:"backspace",action:function(e){return new im(im.type,{},e)},liteMode:!0},{hotkey:"shift+backspace",action:function(e){return new im(im.type,{shiftKey:!0},e)},liteMode:!0},{hotkey:"delete",action:function(e){return new yo(yo.type,{},e)},liteMode:!0},{hotkey:"alt+shift+delete",action:function(e){return new Zb(Zb.type,{},e)},liteMode:!0},{hotkey:"mod+z",action:function(e){return new n_(n_.type,{},e)},liteMode:!0},{hotkey:"mod+shift+z",altHotkey:"mod+y",action:function(e){return new u_(u_.type,{},e)},liteMode:!0},{hotkey:"mod+a",action:function(e){return new __(__.type,{},e)},liteMode:!0},{hotkey:"enter",altHotkey:"shift+enter",action:function(e){return new O_(O_.type,{},e)},liteMode:!0},{hotkey:"escape",action:function(e){return new G_(G_.type,{},e)},liteMode:!0},{hotkey:"mod+b",action:function(e){return e.exec("format","bold"),!0}},{hotkey:"mod+i",action:function(e){return e.exec("format","italic"),!0}},{hotkey:"mod+shift+s",action:function(e){return e.exec("format","strikethrough"),!0}},{hotkey:"mod+u",action:function(e){return e.exec("format","underline"),!0}},{hotkey:"mod+k",action:function(e){return gi(e),!0}},{hotkey:"mod+option+e",action:function(e){return e.exec("format","code"),!0}},{hotkey:"mod+/",action:function(e){return e.exec("clear-formatting"),!0}},{hotkey:"mod+option+h",action:function(e){return new j_(j_.type,{},e)}},{hotkey:"mod+option+p",action:function(e){return e.exec("format","placeholder"),!0}},{hotkey:"mod+shift+1",action:function(e){return e.exec("set-align","left"),!0}},{hotkey:"mod+shift+2",action:function(e){return e.exec("set-align","center"),!0}},{hotkey:"mod+shift+3",action:function(e){return e.exec("set-align","right"),!0}},{hotkey:"mod+option+u",action:function(e){return e.exec("convert-blot",{type:"hint"}),!0}},{hotkey:"mod+opt+l",action:function(e){return e.exec("convert-blot",{type:"hLine"}),!0}},{hotkey:"mod+option+t",action:function(e){return e.exec("convert-blot",{type:"table",rows:2,cols:3,batch:!0}),!0}},{hotkey:"mod+shift+c",action:function(e){return e.exec("convert-blot",{type:"list",items:["listItemCheckbox"]}),!0}},{hotkey:"mod+shift+7",action:function(e){return e.exec("convert-blot",{type:"list",items:["listItemNumber"]}),!0}},{hotkey:"mod+shift+8",action:function(e){return e.exec("convert-blot",{type:"list",items:["listItemBullet"]}),!0}},{hotkey:"mod+opt+1",action:function(e){return e.exec("convert-blot",{type:"hLarge"}),!0}},{hotkey:"mod+opt+2",action:function(e){return e.exec("convert-blot",{type:"hMedium"}),!0}},{hotkey:"mod+opt+3",action:function(e){return e.exec("convert-blot",{type:"hSmall"}),!0}},{hotkey:"mod+opt+5",action:function(e){return Kw.isAbleToConvert(e)&&e.exec("convert-blot",{type:"button-single"}),!0}},{hotkey:"mod+opt+7",action:function(e){return e.exec("convert-blot",{type:"paragraph"}),!0}},{hotkey:"mod+opt+8",action:function(e){return e.plugins.webRTCPlugin.isExistsRecords.audio||e.exec("convert-blot",{type:"file",audioRecord:!0}),!0}},{hotkey:"mod+opt+9",action:function(e){return e.plugins.webRTCPlugin.isExistsRecords.media||"Safari"===(0,ri.Ao)()||e.plugins.webRTCPlugin.prepareMediaRecord(),!0}},{hotkey:"mod+shift+f",action:function(e){return e.exec("add-file"),!0}},{hotkey:"mod+shift+i",action:function(e){return e.plugins.attachmentManager.isMethodImplemented("chooseFile")&&e.exec("convert-blot",{type:"image"}),!0}},{hotkey:"mod+option+o",action:function(e){return e.exec("convert-blot",{type:"outline"}),!0}},{hotkey:"mod+option+m",action:function(e){return e.exec("convert-blot",{type:"remote-frame"}),!0}},{hotkey:"mod+option+g",action:function(e){return e.exec("add-remote-file",{service:"google-drive"}),!0}},{hotkey:"mod+option+b",action:function(e){return e.exec("convert-blot",{type:"bookmark"}),!0}},{hotkey:"mod+option+c",action:function(e){return e.exec("convert-blot",{type:"syntax"}),!0}},{hotkey:"mod+option+y",action:function(e){return e.exec("convert-blot",{type:"blockquote"}),!0}},{hotkey:"mod+option+6",action:function(e){return e.exec("convert-blot",{type:"toggle"}),!0}},{hotkey:"mod+option+d",action:function(e){return e.exec("convert-blot",{type:"tasks-list"}),!0}},{hotkey:"mod+f",action:function(e){return e.plugins.search.start(),!0}}];const eC=function(e,t){if((t.mode===fpe||t.mode===ype)&&!e["nedit-abort-keyboard-processing"]&&t.hasFocus()){var n=t.scroll.selectedBlocks,r=n[0];if(r&&r.isBlotLocked&&!Xw(e))return e.preventDefault(),!0;var o=!1;if(n&&n.length>0&&n.forEach((function(e){e.isBlotLocked&&(o=!0)})),o&&!Xw(e))return e.preventDefault(),!0;var i,a=null,s=$w(Jw);try{for(s.s();!(i=s.n()).done;){var l=i.value;if((0,Rn.ZP)(l.hotkey,e)||l.altHotkey&&(0,Rn.ZP)(l.altHotkey,e)){a=!(t.mode===fpe||t.mode===ype&&l.liteMode)||l.action(t);break}}}catch(e){s.e(e)}finally{s.f()}if(a){if(!(a instanceof ro))return e.preventDefault(),!0;if(a.keyboard=!0,a.run({processingBlots:n}))return a.isHandledByBrowser||e.preventDefault(),!0}return!1}};function tC(e){return(tC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rC(e,t){return(rC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sC(e);if(t){var o=sC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return iC(this,n)}}function iC(e,t){if(t&&("object"===tC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return aC(e)}function aC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sC(e){return(sC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cC=Ha().maxSize(5),uC=cC((function(e,t){return!!e.closest(t)})),dC=cC((function(e,t){return!!e.closest(t)})),pC=cC((function(e,t){return e.closest(t)})),fC=function(e){!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}}),t&&rC(e,t)}(i,e);var t,n,r,o=oC(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),lC(aC(t=o.call(this)),"onMouseMove",(function(e){if(!t.unchange||!dC(e.target,t.unchange))if(t.ignore&&uC(e.target,t.ignore))t.emit("skip");else{var n=pC(e.target,t.selector);t.emit("drag",n,e)}})),lC(aC(t),"onMouseUp",(function(){t.stop()})),t.initPoint=e.initPoint,t.selector=e.selector,t.ignore=e.ignore,t.unchange=e.unchange,t}return t=i,(n=[{key:"start",value:function(){document.body.addEventListener("mousemove",this.onMouseMove,!1),document.body.addEventListener("mouseup",this.onMouseUp,!1)}},{key:"stop",value:function(){document.body.removeEventListener("mousemove",this.onMouseMove,!1),document.body.removeEventListener("mouseup",this.onMouseUp,!1),this.emit("end")}}])&&nC(t.prototype,n),r&&nC(t,r),i}(bo());function hC(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=function r(o){e&&(Ta({x:o.clientX,y:o.clientY},e)>=t&&(document.removeEventListener("mousemove",r,!1),document.removeEventListener("mouseup",i,!1),n&&"function"==typeof n&&n()))},i=function e(t){r&&"function"==typeof r&&r(t),document.removeEventListener("mousemove",o,!1),document.removeEventListener("mouseup",e,!1)};document.addEventListener("mousemove",o,!1),document.addEventListener("mouseup",i,!1)}function mC(e){return(mC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gC(e,t){return(gC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bC(e);if(t){var o=bC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vC(this,n)}}function vC(e,t){if(t&&("object"===mC(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 bC(e){return(bC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _C=function(e){!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}}),t&&gC(e,t)}(n,e);var t=yC(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function wC(){return(wC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function CC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return EC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return EC(e,t)}(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 EC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}_C.type="move-table-column";var xC=(0,Rn.ZP)("enter"),kC=(0,Rn.ZP)("shift+enter"),OC=(0,Rn.ZP)("mod+a"),TC=(0,Rn.ZP)("esc");function AC(e){var t,n=e.pos,r=SC((0,T.eJ)({ver:0}),2),o=r[0],i=r[1],a=SC((0,T.eJ)(!1),2),l=a[0],c=a[1],u=SC((0,T.eJ)(!1),2),d=u[0],p=u[1],f=SC((0,T.eJ)({}),2),h=f[0],m=f[1],g=(0,T.qp)(LT),y=g.data,v=g.i18n,b=g.editor,_=g.editable,w=g.setProp,C=g.useRefs,S=g.useMenu,E=g.useResize,x=g.useSelection,k=g.tableExec,O=g.onTableAction,A=g.useFilter,P=g.globalConfig,R=y.colsData[n.col]||{},I=Br(R.columnType),N=Object.assign({},I.format||{},R.format||{}),D=(0,fe.Jj)();(0,T.d4)((function(){return l?((0,H.FU)(U.current),D.addEventListener("mousedown",Q)):D.removeEventListener("mousedown",Q),function(){return D.removeEventListener("mousedown",Q)}}),[l]);var j=function(e,t){M.col.props[e]===t&&(t=null),R[e]!==t&&w(e,t,{pos:n,type:"col"})},L=M.col.attrs.reduce((function(e,t){var n,r,o=null!==(n=null!==(r=R[t])&&void 0!==r?r:M.col.props[t])&&void 0!==n?n:null;return null!==o&&(e[t]=o),e}),{});for(var B in null!==(t=I.limit)&&void 0!==t&&t.minWidth&&(L.width=Math.max(L.width,I.limit.minWidth)),h)h[B]===L[B]?(delete h[B],m(h)):L[B]=h[B];var F=(0,T.sO)(null),U=(0,T.sO)(null),V=(0,T.sO)(null),z=(0,T.sO)(null),q=function(e,t){var n=x.selection,r=n.start,o=n.last;if(!e||!r||!o)return W();var i=e.getBoundingClientRect(),a=t.clientX-i.left>i.width/2?"after":"before",s=parseInt(e.getAttribute(M.col.indexAttr));if(isNaN(s)||s>=r.col&&s<=o.col||s===r.col-1&&"after"===a||s===o.col+1&&"before"===a)return W();var l,c,u=C.links.ui["moving-highlight"],d=null==u?void 0:u.sharedState;d&&d.index===s&&d.position===a||u.setSharedState({index:s,position:a,type:"col",highlightXOffset:(null===(l=C.links.col[0])||void 0===l||null===(c=l.getNode)||void 0===c?void 0:c.call(l).offsetLeft)||41})},G=function(){var e=x.selection,t=e.start,n=e.last,r=C.links.ui["moving-highlight"],o=null==r?void 0:r.sharedState;"col"===(null==o?void 0:o.type)&&t&&n&&O(new _C(_C.type,{start:t,last:n,index:"before"===o.position?o.index:o.index+1},b)),W()},W=function(){return C.links.ui["moving-highlight"].setSharedState(!1),!0},Y=function(){var e=new fC({selector:".".concat(M.col.className),ignore:"[".concat(M.col.indexAttr,'="').concat(n.col,'"]'),unchange:".vertical-move-highlight"});e.on("drag",q),e.on("end",G),e.start()},Z=function(){_&&c(!0)},K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i({ver:o.ver+1,withSummary:!!e.withSummary})};(0,T.d4)((function(){var e;o.withSummary&&(null===(e=C.links.summary[n.col])||void 0===e||e.render())}),[o]),C.setCol(n,{colData:R,colFormat:N,setSelected:p.bind(this),onCellChange:function(e){R.sortby&&k("renew-sort-order",{animate:e})}.bind(this),onResize:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=F.current.getBoundingClientRect(),o=Math.min(Math.max(Math.round(e.clientX-r.left),(null===(t=I.limit)||void 0===t?void 0:t.minWidth)||M.col.limit.minWidth));m(Object.assign({},{width:o})),n.save&&j("width",o)}.bind(this),rename:Z.bind(this),getNode:function(){return null==F?void 0:F.current}.bind(this),render:K.bind(this)});var $=function(e){var t;l&&(j("text",(null===(t=U.current)||void 0===t?void 0:t.innerText)||null),c(!1),V.current.scrollLeft=0)},Q=function(e){l&&!F.current.contains(e.target)&&$()},X=function(e){e.stopPropagation()},J=function(e){z.current&&(e.target===z.current.base||z.current.base.contains(e.target))&&S.toggleMenu(e,"col")},ee={};_&&(ee={onMouseDown:function(e){var t,r,o=x.selection,i=!1,a=(null==e?void 0:e.metaKey)||(null==e?void 0:e.ctrlKey),s=(null==e?void 0:e.metaKey)||(null==e?void 0:e.ctrlKey)||(null==e?void 0:e.shiftKey),l=(null===(t=o.start)||void 0===t?void 0:t.col)===n.col&&(null===(r=o.last)||void 0===r?void 0:r.col)===n.col;if(e.target===(null==F?void 0:F.current)){var c=F.current.getBoundingClientRect();Math.abs(c.width-e.offsetX)<=M.resize.offset&&(i=!0)}i?E.sessionStart("col",n):a&&l?x.unselectAll():a||s?x.setSelection(n,{force:!0}):(d||x.setCurrent(n,{session:!1}),_&&hC({x:e.clientX,y:e.clientY},5,Y,J))},onMouseEnter:function(e){x.setSelection(n)},onDoubleClick:function(e){e.preventDefault(),Z()},onContextMenu:function(e){!1!==P.enableMenu&&(e.preventDefault(),S.toggleMenu(e,"col"))}});var te={"max-width":L.width-44+"px"},ne=CC({},M.col.indexAttr,n.col),re=[M.col.className];d&&re.push("selected");var oe,ie,ae=[];if(R.text)oe=R.text,ae[Gr.qZ]=R.text;else{oe=[];var se=n.col||0;do{oe.unshift((10+se%26).toString(36).toUpperCase()),se=Math.trunc(se/26)-1}while(se>-1);oe=oe.join("")}l&&(re.push("edit"),ie=(0,s.h)("div",{className:"table-head-item-edit",ref:U,contenteditable:"true",onKeyDown:function(e){if(l){if(e.stopPropagation(),e["nedit-abort-keyboard-processing"]=!0,xC(e)||kC(e))$();else if(TC(e))c(!1);else if(OC(e)){e.preventDefault();var t=getSelection(),n=new Range;n.selectNodeContents(U.current),t.removeAllRanges(),t.addRange(n)}return!0}},onKeyUp:function(e){V.innerText=e.target.innerText},onPaste:X,onCopy:X,onCut:X,onBlur:function(e){if(!(V?V.innerText:R.text)){var t=b.store.blocks.get(R.id);t&&void 0!==t?t.set("text",""):console.warn("Failed to clear column header in table storage, column data: ",R),R.text="",K()}c(!1)},style:te},R.text));var le,ce,ue,de=!Boolean(y.props["filter-disabled"])&&y.props.filter&&Array.isArray(y.props.filter.filters)&&y.props.filter.filters.some((function(e){return e.colId===R.id}));if(R.sortby||de){if(R.sortby){var pe=CC({},Gr.qZ,v.get("table.sorting.".concat(R.sortby,".common")));d||(pe[Gr.qZ]+=" / "+v.get("table.sorting.change")),re.push("sorting","sorting-"+R.sortby),ce=(0,s.h)("div",wC({className:"col-sorting-icon col-sorting-icon-"+R.sortby,onMouseDown:function(e){e.preventDefault(),e.stopPropagation(),_&&k("sort-table-column",{pos:n,order:"desc"===R.sortby?"asc":"desc"})}},pe),"asc"==R.sortby?(0,s.h)(ct.HzO,null):(0,s.h)(ct.tXd,null))}if(de){var he=CC({},Gr.qZ,v.get("table.filter.by_field"));re.push("with-filter"),ue=(0,s.h)("div",wC({className:"col-filter-icon",onMouseDown:function(e){e.preventDefault(),e.stopPropagation(),A.toggleFilter(!1,{anchorCol:n.col})}},he),(0,s.h)(ct.wHY,null))}}else if(R.columnType&&I.icon){var me=["icon","col-icon-"+R.columnType];le=(0,s.h)("div",{className:me.join(" ")},(0,s.h)(I.icon,null))}return(0,s.h)("th",wC({ref:F,className:re.join(" ")},ne,L,ee),(0,s.h)("div",{className:"item-ui"},ce||ue?(0,s.h)(s.HY,null,ue,ce):le,(0,s.h)("div",wC({ref:V,className:"item-title",style:te},ae),oe),ie),!1!==P.enableMenu&&(0,s.h)(Jr,{ref:z}))}function PC(){var e=(0,T.qp)(LT),t=e.editor,n=e.tableExec,r=(0,T.sO)(null);return(0,s.h)("div",{ref:r,className:"add-row-btn",onMouseDown:function(e){n("add-row"),t.plugins.selectionScroller.ensureNodeVisible(r.current)}},(0,s.h)(ct.cpC,null))}function RC(){var e=(0,T.qp)(LT),t=e.useRefs,n=e.tableExec;return(0,s.h)("div",{className:"add-col-btn",onMouseDown:function(e){var r;n("add-col"),null===(r=t.links.ui.scroll)||void 0===r||r.scrollTo("right")}},(0,s.h)(ct.InV,null))}function IC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return MC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return MC(e,t)}(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 MC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function NC(){var e=IC((0,T.eJ)(!1),2),t=e[0],n=e[1],r=(0,T.qp)(LT),o=r.data,i=r.editable,a=r.useRefs,l=r.useSelection,c=(0,T.sO)(null);a.setUI("circle",{getNode:function(){return null==c?void 0:c.current}.bind(this),setSelected:n.bind(this)});for(var u=[],d=0;d<o.size.cols;d++)u.push((0,s.h)(AC,{pos:{col:d}}));var p;i&&(p=(0,s.h)("div",{className:"add-col"},(0,s.h)(RC,null)));var f=["table-head-start"];return t&&f.push("selected"),(0,s.h)("thead",null,(0,s.h)("tr",null,(0,s.h)("th",{className:f.join(" "),onMouseDown:function(e){t?l.unselectAll():(l.setCurrent({col:0,row:0}),l.selectAll())},ref:c},(0,s.h)("div",{className:"table-header-circle"})),(0,s.h)("th",null),u),p)}function DC(){return(DC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function jC(e){var t,n,r,o=e.pos,i=e.relPos,a=e.selected,l=e.onMouseDown,c=e.onMouseEnter,u=e.onContextMenu,d=e.onRef,p=e.rowProps,f=e.onMenuButtonRef,h=(t={},n=M.row.indexAttr,r=o.row,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t),m=(0,T.qp)(LT).globalConfig,g=[M.row.className];a&&g.push("selected"),o.row>=99&&g.push("long-name");var y=1+i;return(0,s.h)(s.HY,null,(0,s.h)("td",DC({className:g.join(" "),height:p.height,ref:d,onMouseDown:l,onMouseEnter:c,onContextMenu:u},h),(0,s.h)("div",{className:"item-ui"},(0,s.h)("div",{className:"item-title"},y,!1!==m.enableMenu&&(0,s.h)(Xr,{ref:f})))),(0,s.h)("td",null))}function LC(){return(LC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function BC(e){return(BC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function FC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return UC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return UC(e,t)}(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 UC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HC(e){var t,n=this,r=e.pos,o=e.cellRef,i=e.rowProps,a=e.cellProps,l=e.cellData,u=e.childStyle,d=e.editing,p=e.setEditing,f=(0,T.qp)(LT),h=f.data,m=f.editor,g=f.editable,y=f.startEdit,v=f.useRefs,b=f.useUtils,_=f.applyDelta,w=FC((0,T.eJ)(!1),2),C=w[0],S=w[1];C&&(l.child=Object.assign({},l.child,C));var E=function(e){null!=e&&e.toDelta&&S({delta:e.toDelta(),characters:e.toString()})},x=function(){var e;p(!1),S(!1),null===(e=v.links.col[r.col])||void 0===e||e.onCellChange(r)},k=l.child,O=[];if(null!=k&&k.delta)for(var A in k.delta){var P=k.delta[A];P&&"object"===BC(P.insert)&&P.insert.mention&&O.push(P.insert.mention)}var R=function(e){if(null!=k&&k.delta){var t=[],n=[];for(var r in k.delta){var o=k.delta[r];if(o){if(o.insert&&o.attributes&&o.attributes.link&&o.insert.trim()===e.innerText.trim()&&o.attributes.link===e.getAttribute("href")){n.push(o);break}t.push(o)}}var i=Object.keys(n[0].attributes).reduce((function(e,t){return"link"!==t&&(e[t]=n[0].attributes[t]),e}),{});return{index:new(c())(t).length(),length:new(c())(n).length(),attributes:i}}return{}},I=function(e,t){if(e.innerText!==t){var n,r=R(e),o=r.index,i=r.length,a=r.attributes;if(null!==(n=l.child)&&void 0!==n&&n.delta&&"number"==typeof o&&"number"==typeof i){var s=new(c())(l.child.delta).compose((new(c())).retain(o).delete(i).insert(t,Object.assign({link:e.getAttribute("href")},a)));D(s)}}},M=function(e,t){if(e.getAttribute("href")!==t){var n,r=R(e),o=r.index,i=r.length,a=r.attributes;if(null!==(n=l.child)&&void 0!==n&&n.delta&&"number"==typeof o&&"number"==typeof i){var s=new(c())(l.child.delta).compose((new(c())).retain(o).delete(i).insert(e.innerText,Object.assign({link:t},a)));D(s)}}},N=function(e){var t,n=R(e),r=n.index,o=n.length,i=n.attributes;if(null!==(t=l.child)&&void 0!==t&&t.delta&&"number"==typeof r&&"number"==typeof o){var a=new(c())(l.child.delta).compose((new(c())).retain(r).delete(o).insert(e.innerText,i));D(a)}},D=function(e){var t;_(e,{pos:r,replace:!0}),null===(t=v.links.col[r.col])||void 0===t||t.onCellChange(r)},j=null==k||null===(t=k.characters)||void 0===t?void 0:t.toString(),L=(!j||"\n"===j&&(null==k?void 0:k.delta))&&!O.length;v.addToCell(r,{empty:L,value:j,editCell:function(e){if(g&&!d&&y){var t,s,c,f,m,_=!h.settings.wrapCell&&b.expandCoords(r),w=(null===(t=v.links.col[r.col])||void 0===t||null===(s=t.colData)||void 0===s?void 0:s.style)||{},C=(null===(c=v.links.col[r.col])||void 0===c||null===(f=c.colData)||void 0===f?void 0:f.align)||void 0;y({type:"text",pos:r,event:e,coords:_,cellData:l,node:o.current,scrollNode:null===(m=v.links.ui.scroll)||void 0===m?void 0:m.getNode(),rowHeight:null==i?void 0:i.height,onInput:E.bind(n),endEdit:x.bind(n),style:Object.assign({},u,a),nowrap:!1===h.settings.wrapCells,textFormat:w,textAlign:C}),p(!0)}return!0}.bind(this)});var B,F=null;if(!L&&k)if(k.delta&&(k.delta.length>1||k.delta[0].hasOwnProperty("attributes")||O.length)){var U={};O.length&&(U.mentionProps={onClick:function(e){var t,n,r=m.plugins.mentionManager,o=(null==e||null===(t=e.target)||void 0===t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"data-mention-id"))||!1;for(var i in O)if(!o||o===O[i].id){"user"!==O[i].type&&r.onMentionClick(O[i].type,O[i].object_id);break}}}),U.linkProps={onClick:function(e){null==e||e.preventDefault(),null==e||e.stopPropagation();var t=e.target&&e.target.closest("a");!d&&t&&m.emitter.emit("click-link",{domNode:t,changeText:I.bind(void 0,t),changeUrl:M.bind(void 0,t),onEmpty:N.bind(void 0,t),withoutRange:!0})}},B=(0,s.h)(rn,LC({delta:k.delta,editor:m},U))}else B=k.characters;return B&&(F=(0,s.h)("div",{className:["table-text-common"].join(" "),style:u},B)),F}n(56977);function VC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zC(e,t)}(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 zC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var qC={comma:",",point:"."};function GC(e){var t,n,r=this,o=e.pos,i=e.cellType,a=e.cellRef,l=e.rowProps,c=e.cellProps,u=e.cellData,d=e.childStyle,p=e.parents,f=e.editing,h=e.setEditing,m=(0,T.qp)(LT),g=m.data,y=m.editable,v=m.startEdit,b=m.useRefs,_=m.useUtils,w=VC((0,T.eJ)(!1),2),C=w[0],S=w[1],E=Br(i),x=Object.assign({},E.format,p.colData.format||{},u.format||{}),k=x.decimal_separator&&qC[x.decimal_separator],O="commas"===x.type&&(","===k?".":","),A=x.colorNumbers,P=!1,R=!1;if("percent"===x.type)R="%";else if(x.currency){var I;I="other"===x.currency?x.otherCurrency:Mr[x.currency],"before"===x.stick?P=I:R=I}var M={symbolAfter:R,symbolBefore:P,orderSeparator:O,decimalSeparator:k,decimals:x.decimals||!1,colorNumbers:void 0!==A&&A};C&&(u.child=Object.assign({},u.child,C));var N,D=function(e){null!=e&&e.toDelta&&S({delta:e.toDelta(),characters:e.toString()})},j=function(){var e;h(!1),S(!1),null===(e=b.links.col[o.col])||void 0===e||e.onCellChange(o)},L=!1,B=0,F=null===(t=u.child)||void 0===t||null===(n=t.characters)||void 0===n?void 0:n.replace("\n","").trim(),U=F&&F.startsWith("-");if(U&&(F=F.replace("-","")),F&&/^(\d|\.|\,|‚)*$/i.test(F)){F.indexOf("‚")&&(F=F.replace(/‚/g,""));var H=F.replace(",","."),V=(N=parseFloat(H)).toString().split("e-");if(2===V.length)N=B=N.toFixed(V[1]),L=BigInt(0);else{var z=H.split(".");2===z.length&&(B=parseFloat("0.".concat(z[1]))),L=BigInt(z[0]||0),U&&(L=-L)}U&&(N&&(N=-N),B&&(B=-B))}b.addToCell(o,{value:N,bigint:L,decimal:B,empty:"number"!=typeof N,format:M,editCell:function(e){if(y&&!f&&v){var t,n,i,s=!g.settings.wrapCell&&_.expandCoords(o),p=(null===(t=b.links.col[o.col])||void 0===t||null===(n=t.colData)||void 0===n?void 0:n.align)||void 0;v({type:"number",pos:o,event:e,coords:s,cellData:u,node:a.current,scrollNode:null===(i=b.links.ui.scroll)||void 0===i?void 0:i.getNode(),rowHeight:null==l?void 0:l.height,onInput:D.bind(r),endEdit:j.bind(r),style:Object.assign({},d,c),nowrap:!1===g.settings.wrapCells,format:M,textAlign:p}),h(!0)}return!0}.bind(this)});var q,G=null;if("number"==typeof N&&(q=F,O&&(q=WC(q,O,k)),P?q=P+q:R&&(q+=R),U&&(q="-"+q)),q){var W=["table-text-common"];A&&(U?W.push("negative-number"):W.push("positive-number")),G=(0,s.h)("div",{className:W.join(" "),style:d},q)}return G}function WC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e||!t)return e;for(var r=(e+="").split(n),o=r[0],i=r.length>1?n+r[1]:"",a=/(\d+)(\d{3})/;a.test(o);)o=o.replace(a,"$1"+t+"$2");return o+i}function YC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,T.d4)((function(){var n;return t||(n=function(t){(0,Rn.ZP)("esc",t)&&(null==e||e(t))},document.addEventListener("keydown",n)),function(){n&&document.removeEventListener("keydown",n)}}),[e,t])}function ZC(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,T.bt)((function(){var r;return n||(r=function(n){null!=e&&e.current&&!e.current.contains(n.target)&&(null==t||t(n))},document.addEventListener("mousedown",r),document.addEventListener("touchstart",r)),function(){r&&(document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r))}}),[null==e?void 0:e.current,n])}function KC(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=function(e){var n,r=!0;(null==t?void 0:t.current)instanceof HTMLElement&&"function"==typeof t.current.contains?t.current.contains(e.target)&&(r=!1):(null==t||null===(n=t.current)||void 0===n?void 0:n.base)instanceof HTMLElement&&"function"==typeof t.current.base.contains&&t.current.base.contains(e.target)&&(r=!1),r&&e.preventDefault()};(0,T.bt)((function(){var t;return n||(t=e.getScrollingContainer())&&(t.addEventListener("wheel",r),t.addEventListener("mousewheel",r)),function(){t&&(t.removeEventListener("wheel",r),t.removeEventListener("mousewheel",r))}}),[n])}function $C(e){return($C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function QC(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="object"===("undefined"==typeof window?"undefined":$C(window))&&window&&"function"==typeof window.ResizeObserver;(0,T.bt)((function(){var o;if(!n&&r&&null!=e&&e.current){(o=new window.ResizeObserver((function(e){null==t||t(e)}))).observe(e.current)}return function(){o&&o.disconnect()}}),[null==e?void 0:e.current,n])}function XC(){return(XC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function JC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return eS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eS(e,t)}(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 eS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var tS=44,nS=25,rS=28,oS=40,iS=48;function aS(e){var t=e.children,n=e.container,r=e.adjustToParent,o=e.onWantsToClose,i=e.corrective,a=void 0===i?{top:-1,left:-1,right:-1}:i,l=e.disabled,c=void 0!==l&&l,u=(0,T.qp)(LT),d=u.editor,p=u.useRefs,f=JC((0,T.eJ)({}),2),h=f[0],m=f[1],g=(0,T.sO)(null),y={},v=function(){if(!c&&g){var e,t,r=null===(e=p.links.ui.scroll)||void 0===e||null===(t=e.getNode)||void 0===t?void 0:t.call(e);if(r){var o,i,a=g.current.getBoundingClientRect(),s=r.getBoundingClientRect(),l=parseInt(null===(o=g.current.style)||void 0===o?void 0:o.marginTop)||0,u=parseInt(null===(i=g.current.style)||void 0===i?void 0:i.marginLeft)||0,f=tS,h=rS,y=nS,v=oS,b=iS;r.scrollLeft>0&&(f+=y);var _={},w=a.left-s.left-u-f,C=s.right-a.right+u-h;if(w<0)_.left=-w;else if(C<0){var S=s.left-a.left+u+f;_.left=Math.max(C,S)}var E=s.top,x=s.bottom,k=d.getScrollingContainer().getBoundingClientRect(),O=k.top-v,T=k.bottom+b;O>E&&(E=O),T<x&&(x=T);var A=x-a.bottom+l-b;if(A<0){var P=E-a.top+l+v;if(_.top=Math.max(A,P),n){var R=n.getBoundingClientRect(),I=k.height-a.height-R.top+v;I<0&&(_.top=I)}}m(_)}}};if(QC(g,v,c),YC(o,c),KC(d,g,c),ZC(g,o,c),(0,T.d4)((function(){return c||p.links.ui.table.setState("float",!0),function(){c||p.links.ui.table.setState("float",!1)}}),[c]),(0,T.bt)((function(){v()}),[c,g]),!c){var b,_={};if(n)(b=r&&n.parentElement?n.parentElement.getBoundingClientRect():n.getBoundingClientRect())&&(_.top=b.top+((null==a?void 0:a.top)||-1),_.left=b.left+((null==a?void 0:a.left)||-1),_.minWidth=b.width+((null==a?void 0:a.left)+(null==a?void 0:a.right)||-2)),h.top&&(_.marginTop=h.top),h.left&&(_.marginLeft=h.left);Object.assign(y,{className:["float-component"].join(" "),style:_})}return(0,s.h)("div",XC({ref:g},y),t)}function sS(){return(sS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return cS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cS(e,t)}(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 cS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var uS=Br("date");function dS(e){var t=e.pos,n=e.cellRef,r=e.format,o=e.value,i=e.setValue,a=e.reminders,l=e.setReminder,c=e.removeReminders,u=e.onChangeFormat,d=e.editEvent,p=e.onEndEdit,f=e.dateId,h=e.deviceType,m=(0,T.qp)(LT),g=m.editor,y=m.editable,v=m.useRefs,b=(g.blotsConfig.date,lS((0,T.eJ)({}),2)),_=b[0],w=b[1],C=lS((0,T.eJ)(null),2),S=C[0],E=C[1],x=lS((0,T.eJ)(!1),2),k=x[0],O=x[1],A=!(!k||"mobile"===h);(0,T.d4)((function(){d&&y&&!k&&d!==S&&O(d||!0)}),[d]),(0,T.d4)((function(){A?n.current.classList.contains("open-date-picker")||n.current.classList.add("open-date-picker"):n.current.classList.contains("open-date-picker")&&n.current.classList.remove("open-date-picker")}),[A]);var P,R=ma.getDateTimeFormat(uS,g.blotsConfig.date||{}),I=Object.assign({},uS.format,r),M=Object.assign({},R,I,{dateFormat:I.type&&"default"!==I.type?I.type:R.dateFormat}),N=function(e){E(e),O(null),null==p||p(e)};if(v.addToCell(t,{getText:function(){return _.returnDateString?_.returnDateString():String(o)}.bind(this)}),o||A){var D,j=g.plugins.reminderManager,L=(0,s.h)(_r,sS({mode:"table",enableReminders:!(null==j||null===(D=j.options)||void 0===D||!D.enabled),active:A,editor:g,value:o,setValue:i,reminders:a,setReminder:l,removeReminders:c,onChangeOption:u,setReturnDateString:function(e){w(Object.assign(_,{returnDateString:e}))},wantsToClose:N,listenBlur:!0,dateId:f},M));P=A?(0,s.h)(aS,{container:null==n?void 0:n.current,onWantsToClose:N},L):L}return P}function pS(e){return(pS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fS(e,t){return(fS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gS(e);if(t){var o=gS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mS(this,n)}}function mS(e,t){if(t&&("object"===pS(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 gS(e){return(gS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yS=function(e){!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}}),t&&fS(e,t)}(n,e);var t=hS(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function vS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vS(Object(n),!0).forEach((function(t){_S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return CS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CS(e,t)}(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 CS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SS(e){var t=e.pos,n=e.parents,r=e.cellData,o=e.cellRef,i=e.touch,a=e.onEndEdit,l=(0,T.qp)(LT),c=l.editor,u=l.editable,d=l.setProp,p=l.useRefs,f=l.onTableAction,h=l.tableExec,m=wS((0,T.eJ)(!1),2),g=m[0],y=m[1],v=wS((0,T.eJ)(r.timestamp),2),b=v[0],_=v[1],w=wS((0,T.eJ)(),2),C=w[0],S=w[1],E=wS((0,T.eJ)(!1),2),x=E[0],k=E[1],O=Object.assign({},n.colData.format||{},r.format||{}),A=parseInt(r.timestamp)||0,P=r.reminders||{};(0,T.d4)((function(){var e=h("get-table-blot").attachedByUndo;if(x||e){var t=c.plugins.reminderManager;if(null!=r&&r.timestamp||null==r||!r.id||!b||t.deleteReminder(r.id,bS(bS({},r),{},{reminders:C})),r.timestamp&&r.reminders){var n=[];for(var o in r.reminders)n.push({id:o,dateId:r.id,timestamp:A,seconds:r.reminders[o].seconds,format:r.format,before:C||{}});n.length?YI.setInlineRemindersByArray(c,n):Object.keys(C||{}).length&&t.deleteReminder(r.id,{cellData:r,reminders:C})}}else k(!0);_(r.timestamp),S(r.reminders)}),[r]);var R=function(){var e,t,n,o=!1;if(null!==(e=c.plugins.dateManager)&&void 0!==e&&e.openDatePicker){var a=r.id;a||(a=i());var s=bS(bS({},(n=yr(),console.info("getFirstWeekDay",n),Object.assign({firstWeekDay:n},(null===(t=Br("date"))||void 0===t?void 0:t.format)||{},O))),{},{dateId:a,type:"table",timestamp:A||null,reminders:r.reminders||{}});o=c.plugins.dateManager.openDatePicker(s)}return o};return p.addToCell(t,{value:A,empty:!A,editCell:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u&&(t.isEnter||t.isMouse)&&(R()||y(e)),!0}.bind(this)}),(0,s.h)(dS,{pos:t,cellRef:o,format:O,value:A,setValue:function(e){u&&e!==r.timestamp&&d("timestamp",e,{pos:t,type:"cell"})},reminders:P,setReminder:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(u){var r=bS({},P);"none"===n.value?r.hasOwnProperty(e)&&delete r[e]:r[e]=n,d("reminders",r,{pos:t,type:"cell"})}},removeReminders:function(e){var n=(r||{}).reminders,o=void 0===n?{}:n,i={};for(var a in o)e.includes(a)||(i[a]=o[a]);d("reminders",i,{pos:t,type:"cell"})},onChangeFormat:function(e){var n=Object.keys(e);n.length&&f(new yS(yS.type,{start:t,last:t,type:"date",prop:n[0],value:e[n[0]]},c))},editEvent:g,onEndEdit:function(){var e;null===(e=p.links.col[t.col])||void 0===e||e.onCellChange(t),a.apply(void 0,arguments)},dateId:null==r?void 0:r.id})}function ES(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ES(Object(n),!0).forEach((function(t){kS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ES(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OS(e){var t,n,r=e.pos,o=e.cellRef,i=e.cellData,a=e.emptyCell,l=e.onEndEdit,c=(0,T.qp)(LT),u=c.editor,d=c.editable,p=c.useRefs,f=c.applyDelta,h=(0,T.sO)(null),m={};if(i.child)for(var g in M.child.style){var y=M.child.style[g],v=i.child[g];v&&v!==y.default&&(m[y.prop]=v)}var b=function(){var e,t,n,r,o=null;null!==(e=i.child)&&void 0!==e&&null!==(t=e.delta)&&void 0!==t&&t.length&&(o={text:null===(n=i.child.delta[0].insert)||void 0===n?void 0:n.trim(),url:null===(r=i.child.delta[0].attributes)||void 0===r?void 0:r.link});return o},_=function(e){var t=b();e&&e!==(null==t?void 0:t.text)&&C(xS(xS({},t),{text:e}))},w=function(e){var t=b();e&&e!==(null==t?void 0:t.url)?C(xS(xS({},t),{url:e})):null==l||l(null,{select:!0})},C=function(e){if(d){var t,n,o=null!==(t=i.child)&&void 0!==t&&t.delta?null===(n=i.child)||void 0===n?void 0:n.delta:[{}];o[0].insert=e.text,o[0].attributes=Object.assign(o[0].attributes||{},{link:e.url}),f(o,{pos:r,replace:!0}),null==l||l(null,{select:!0})}},S=function(e){var t=null==o?void 0:o.current.querySelector("a");t?u.emitter.emit("click-link",{domNode:t,changeText:_,changeUrl:w,onEmpty:a,disableEditing:!d,withoutRange:!0}):d&&u.plugins.popupManager.addLink({setLink:C,text:"",singleBlock:!0,anchorNode:o.current})},E=null===(t=i.child)||void 0===t||null===(n=t.characters)||void 0===n?void 0:n.toString(),x=!E||"\n"===E;p.addToCell(r,{empty:x,value:E,editCell:function(e){return S(),!0}.bind(this)});var k,O=null;if(!x&&i.child&&(k=(0,s.h)(rn,{delta:i.child.delta,editor:u,linkProps:{ref:h,onClick:function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),S()}}})),k){O=(0,s.h)("div",{className:["table-text-common"].join(" "),style:m},k)}return O}function TS(e){return(TS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RS(e,t,n){return t&&PS(e.prototype,t),n&&PS(e,n),e}function IS(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}}),t&&MS(e,t)}function MS(e,t){return(MS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function NS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jS(e);if(t){var o=jS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return DS(this,n)}}function DS(e,t){if(t&&("object"===TS(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 jS(e){return(jS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function LS(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return BS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return BS(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function BS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function FS(e){var t,n=LS(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(void 0!==r)return r}}catch(e){n.e(e)}finally{n.f()}}yS.type="format-table-cells";var US=function(e){IS(n,e);var t=NS(n);function n(){return AS(this,n),t.apply(this,arguments)}return RS(n,[{key:"componentDidMount",value:function(){this.props.transitionTimeout&&this.setState((function(){return{elemVisible:!0}}))}},{key:"render",value:function(){var e=this.props,t=e.editor,n=e.transitionLeaveTimeout,r=e.transitionTimeout,o=e.transitionName,i=this.state.elemVisible,a=(0,s.bR)(this.props.children)[0],l=null;l=r?(0,s.h)(dt.Z,{transitionName:o,transitionEnterTimeout:r,transitionLeaveTimeout:FS([n,r])},i?a:null):a;var c={},u=[],d=null==t?void 0:t.plugins.editorStyle.getTheme();if(d&&u.push("theme-"+d),this.props.styled){u.push("root-placement-styled");var p=null==t?void 0:t.plugins.editorStyle.getStyle();p&&(u.push("size-"+p.size),u.push("style-"+p.style))}return c.className=u.join(" "),(0,s.h)("div",c,l)}}]),n}(s.wA),HS=function(e){IS(n,e);var t=NS(n);function n(e){var r;return AS(this,n),(r=t.call(this,e)).container=document.createElement("div"),r}return RS(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.editor,n=e.containerNode,r=e.documentRoot,o=void 0!==r&&r,i=(e.children,e.useEditorOuterScrollingContainer);t&&(n=void 0!==i&&i?t.getScrollingContainer():t.scrollingContainer),o&&(n=document.body),n.appendChild(this.container),this.renderChildren()}},{key:"renderChildren",value:function(){var e=this.props.children;(0,s.sY)((0,s.h)(US,this.props,e),this.container)}},{key:"componentDidUpdate",value:function(){this.renderChildren()}},{key:"componentWillUnmount",value:function(){var e=this;(0,s.sY)((0,s.h)(US,this.props,null),this.container);var t=FS([this.props.transitionLeaveTimeout,this.props.transitionTimeout,0]),n=function(){(0,s.sY)((0,s.h)((function(){}),null),e.container),e.container.parentNode.removeChild(e.container)};t?setTimeout(n,t):n()}},{key:"render",value:function(){return(0,s.h)("span",null)}}]),n}(s.wA);function VS(){return(VS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function zS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return qS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qS(e,t)}(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 qS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function GS(e){var t=this,n=e.editor,r=e.editable,o=e.float,i=e.container,a=e.reset,l=e.selectedItems,c=void 0===l?{}:l,u=e.searchItems,d=void 0===u?{}:u,p=e.onInput,f=e.onSelect,h=e.onRemoveItem,m=e.onWantsToClose,g=e.placeholder,y=e.loadingMessage,v=e.noResultMessage,b=e.adjustToParent,_=e.corrective,w=void 0===_?{}:_,C=e.className,S=zS((0,T.eJ)(!0),2),E=S[0],x=S[1],k=zS((0,T.eJ)(null),2),O=k[0],A=k[1],P=(0,T.sO)(),R=(0,T.sO)(null),I=(0,T.sO)(null);YC(m),ZC(P,m),KC(n,R);var M=function(e){var t=null,n=Object.keys(d).length;n&&(t=null===O?0:"up"===e?(O>0?O:n)-1:O<n-1?O+1:0),A(t)},N=function(e){p(e),x(!1)},D=function(e,t){null==f||f(e,null)};(0,T.d4)((function(){A(null)}),[c]),(0,T.d4)((function(){null!==O&&null!=I&&I.current&&I.current.scrollIntoView({behavior:"smooth",block:"nearest"})}),[O]);var j,L={},B=["dropdown-component"];if((C&&B.push(C),o)&&(B.push("dropdown-component-float"),j=b&&null!=i&&i.parentElement?i.parentElement.getBoundingClientRect():null==i?void 0:i.getBoundingClientRect())){var F=n.getScrollingContainer().getBoundingClientRect();F.bottom-j.bottom>300?L.top=j.top+((null==w?void 0:w.top)||0):(B.push("reverse-items"),L.bottom=F.bottom-j.bottom+((null==w?void 0:w.bottom)||0)),L.left=j.left+((null==w?void 0:w.left)||0),L.minWidth=j.width+((null==w?void 0:w.left)+(null==w?void 0:w.right)||0)}var U=Object.keys(c).reduce((function(e,t){var n=c[t],r=(0,s.h)("span",{className:"dropdown-item"},n);return e.push(r),e}),[]),H=null;r&&(H=(0,s.h)(ms,{reset:a,autofocus:!0,placeholder:g,onInput:function(e,t){if((0,Rn.ZP)("enter",e)){var n=null,r=Object.keys(d);if(r.length){var o=Math.max(0,r.indexOf("create"));n=r[isNaN(parseInt(O))?o:O]}null==f||f(n,t)}else if((0,Rn.ZP)("arrowup",e))M("up");else if((0,Rn.ZP)("arrowdown",e))M("down");else if((0,Rn.ZP)("esc",e))null==m||m(e);else if((0,Rn.ZP)("backspace",e)&&!t){var i=Object.keys(c);i.length&&(null==h||h(i.pop()))}else N(t)}}));var V,z=Object.keys(d).reduce((function(e,n,r){var o=d[n],i=["dropdown-item"],a={};r===O&&(i.push("active"),a.ref=I);var l=(0,s.h)("div",VS({className:i.join(" "),onMouseDown:D.bind(t,n)},a),o);return e.push(l),e}),[]);if(z.length)V=(0,s.h)("div",{ref:R,className:"dropdown-search-items"},z);else if(y||v){var q;q=E?y||v:v||y,V=(0,s.h)("div",{className:"dropdown-message"},q)}var G=(0,s.h)("div",{className:B.join(" "),style:L},(0,s.h)("div",{ref:P,className:"dropdown-component-content"},(0,s.h)("div",{className:"dropdown-selected-items"},U,H),V));return o?(0,s.h)(HS,{editor:n,styled:!0,transitionName:"popup-menu",transitionTimeout:bt.popupAppearDuration},G):G}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZS(){return(ZS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function KS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KS(Object(n),!0).forEach((function(t){QS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return JS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JS(e,t)}(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 JS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eE(e){var t=this,n=e.editor,r=e.editable,o=e.selected,i=void 0===o?[]:o,a=e.database,l=e.nowrap,c=e.onChange,u=e.editEvent,d=e.onEndEdit,p=e.multiselect,f=n.plugins.i18n,h=XS((0,T.eJ)(""),2),m=h[0],g=h[1],y=XS((0,T.eJ)(!1),2),v=y[0],b=y[1],_=XS((0,T.eJ)(null),2),w=_[0],C=_[1],S=(0,T.sO)(null);(0,T.d4)((function(){u&&O(u)}),[u]),(0,T.d4)((function(){g("")}),[i]);var E,x=function(e,t){null==t||t.stopPropagation(),k(e)},k=function(e){if(r){var t=Object.assign([],i),n=t.indexOf(e);n>-1&&(t.splice(n,1),null==c||c(t))}},O=function(e){if(!v&&(r||l&&i.length>1)){var t=S.current.getBoundingClientRect();b(t)}},A=function(e){b(null),null==d||d(e)},P=function(e,t){t.stopPropagation(),C((null==w?void 0:w.id)===e?null:{id:e,target:t.target})},R=["select-list"],I=function(e){var t=["select-label","adaptive-text"],n="bg-palette-";return e.style&&"default"!==e.style&&(t.push("fill-"+e.style),"outline"===e.style?n="shadow-palette-":"none"===e.style&&(n=!1)),e.color&&n&&t.push(n+e.color),t.join(" ")},M=function(e){var o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=a.get[e];if(l){var c,u,d,p=I(l);r&&i.menu&&(d=(0,s.h)("span",{className:"select-label-menu",onMouseDown:P.bind(t,e)},(0,s.h)(ct.nqv,null)),(null==w?void 0:w.id)===e&&(u=(0,s.h)(tE,{editor:n,labelId:e,database:a,anchorNode:w.target,getLabelClassName:I,wantsToClose:C.bind(t,null)}))),i.remove&&(c=(0,s.h)("span",{className:"select-label-remove",onMouseDown:x.bind(t,e)},(0,s.h)(ct.WcQ,null))),o=(0,s.h)("span",{className:p},(0,s.h)("span",{className:"select-label-text searchable"},l.name),c,d,u)}return o},N=0,D=i.reduce((function(e,t,n){return l&&n>0&&!v?(N++,e):(a.get.hasOwnProperty(t)&&(e[t]=M(t,{remove:v&&r})),e)}),{});!v&&N&&(R.push("select-list-plus"),E=(0,s.h)("span",{className:"nowrap-plus"},"+",N));var j,L={};if(v){var B=Object.keys(a.get),F=String(m).toLowerCase().trim(),U=!!F.length;L=B.reduce((function(e,t){var n=a.get[t];if(n){var r,o=null===(r=n.name)||void 0===r?void 0:r.toLowerCase();F&&-1===o.indexOf(F)||(e[t]=M(t,{menu:!0})),o===F&&(U=!1)}return e}),{}),U&&(L.create=(0,s.h)("span",{className:"label-create"},(0,s.h)("span",{className:"label-create-text"},f.get("table.select.create")+" "+m)))}j=v?(0,s.h)(GS,{disabled:!!w,float:!0,reset:!m,editor:n,editable:r,onInput:function(e){g(e||"")},onSelect:function(e,t){if(!w){var n=!e;if(e){if("create"===e){var r=function(e){var t={name:String(e).trim()};if(!t.name)return!1;t.style="default";var n=Je.reduce((function(e,t){return e[t]={color:t,used:0},e}),{}),r=a.get;for(var o in r){var i=r[o];i&&(n[i.color]&&n[i.color].used++,t.style=i.style)}var s=Object.values(n);return s.sort((function(){return Math.random()-.5})),s.sort((function(e,t){return e.used-t.used})),t.color=s.shift().color,t}(m);e=a.insert(r)}else p||(n=!0);if(e&&-1===i.indexOf(e)){var o=Object.assign([],p?i:[]);o.push(e),null==c||c(o)}}n&&A()}},onRemoveItem:k,selectedItems:D,searchItems:L,placeholder:f.get("table.select.create_label"),onWantsToClose:A,container:null==S?void 0:S.current,adjustToParent:!0,corrective:{top:-1,left:-1,bottom:8},className:"dropdown-select"}):(0,s.h)("div",{className:R.join(" ")},Object.values(D),E);var H={};return v&&(H.width=v.width,H.height=v.height),(0,s.h)("div",{ref:S,style:H,className:["select-component"].join(" "),onClick:function(e){O()}},j)}function tE(e){var t=this,n=e.editor,r=e.labelId,o=e.database,i=e.getLabelClassName,a=e.wantsToClose,l=n.plugins.i18n,c=o.get[r],u=function(e){o.update(r,$S($S({},c),{style:e})),null==a||a()},d=["default","outline","none"].map((function(e){var n=[i($S($S({},c),{style:e}))];return e!==(c.style||"default")&&n.push("disabled"),(0,s.h)("span",{className:n.join(" "),onClick:u.bind(t,e)},(0,s.h)("span",{className:"select-label-text adaptive-text"}," A "))}));return(0,s.h)(At.Z,ZS({},e,{anchorOptions:{positionFixed:!0}}),(0,s.h)("div",{className:"menu-input menu-input-wide"},(0,s.h)(ms,{autofocus:!0,value:c.name,onInput:function(e,t){if((0,Rn.ZP)("enter",e)){var n=t.trim();n&&o.update(r,$S($S({},c),{name:n})),null==a||a()}}})),(0,s.h)("div",{className:"menu-block label-style-selection"},d),(0,s.h)(us,{resetColor:!1,mode:"none"===c.style?"disabled":c.style||"default",color:gs(c.color),colors:Je,onColorPicked:function(e){o.update(r,$S($S({},c),{color:e})),null==a||a()},addClassName:"popup-menu-colorpicker popup-menu-wide popup-menu-builtin"}),(0,s.h)(Cn.Z,{text:l.get("table.select.delete"),onClick:function(e){e.stopPropagation(),o.delete(r),null==a||a()}}))}var nE=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;WS(this,e),this.labels=t,this.setDatabase=n}var t,n,r;return t=e,(n=[{key:"newId",get:function(){return String(Date.now())}},{key:"get",get:function(){return this.labels}},{key:"set",set:function(e){this.labels=e,this.setDatabase(e)}},{key:"insert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.newId;return this.set=Object.assign({},this.labels,QS({},t,e)),t}},{key:"update",value:function(e,t){return this.set=Object.assign({},this.labels,QS({},e,t)),!0}},{key:"delete",value:function(e){var t=Object.assign({},this.labels);return delete t[e],this.set=t,!0}}])&&YS(t.prototype,n),r&&YS(t,r),e}();function rE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oE(e,t)}(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 oE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iE(e){var t=e.pos,n=e.parents,r=e.cellData,o=e.onEndEdit,i=(0,T.qp)(LT),a=i.data,l=i.editor,c=i.editable,u=i.setProp,d=i.useRefs,p=i.globalConfig,f=rE((0,T.eJ)(null),2),h=f[0],m=f[1],g=ve("array",r.selected),y=g.length;d.addToCell(t,{value:y,empty:0===y,editCell:function(e){return m(e),!0}.bind(this)});var v=ve("object",n.colData.dbSelect),b=new nE(v,(function(e){u("dbSelect",e,{pos:t,type:"col"})}));return y||h?(0,s.h)(eE,{editor:l,editable:c&&!p.disableNonTextCellsEdit,selected:g,database:b,editEvent:h,onChange:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c&&(u("selected",n,{pos:t,type:"cell"}),null===(e=d.links.col[t.col])||void 0===e||e.onCellChange(t))},onEndEdit:o,nowrap:!a.settings.wrapCells,multiselect:"multiselect"===r.cellType}):null}var aE=Br("rating");function sE(e){var t=e.pos,n=e.parents,r=e.cellData,o=(0,T.qp)(LT),i=o.editor,a=o.editable,l=o.setProp,c=o.useRefs,u=o.useAction,d=o.globalConfig,p=o.tableExec,f=Object.assign({},aE.format,n.colData.format||{},r.format||{}),h=r.rating||0;return c.addToCell(t,{value:h,empty:0===h,editCell:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.isEnter&&u.onAction({type:"add-row-and-move-down"}),null==e||e.preventDefault(),!0}.bind(this)}),(0,s.h)(un,{editor:i,editable:a&&!d.disableNonTextCellsEdit,onChange:function(e){var n;a&&e!==r.rating&&(l("rating",e,{pos:t,type:"cell"}),null===(n=c.links.col[t.col])||void 0===n||n.onCellChange(t),p("focus"))},rating:h,format:f})}function lE(){return(lE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function cE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cE(Object(n),!0).forEach((function(t){dE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fE(e,t)}(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 fE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hE(e){var t,n,r=this,o=e.pos,i=e.rowProps,a=e.cellRef,l=e.cellProps,c=e.cellData,u=e.emptyCell,d=e.onEndEdit,p=(0,T.qp)(LT),f=p.editor,h=p.editable,m=p.useRefs,g=p.startEdit,y=p.applyDelta,v=p.tableExec,b=pE((0,T.eJ)(!1),2),_=b[0],w=b[1],C=pE((0,T.eJ)(!1),2),S=C[0],E=C[1],x=pE((0,T.eJ)(!1),2),k=x[0],O=x[1],A=pE((0,T.eJ)(!1),2),P=A[0],R=A[1],I=(0,T.sO)(null),N=!1,D=!1,j=null===(t=c.child)||void 0===t?void 0:t.delta;null!=j&&j.length&&j[0].insert&&(j[0].insert.hasOwnProperty("mention")?n=(D=j[0].insert.mention).name:j[0].insert.hasOwnProperty("date")&&(n=(N=j[0].insert.date).value,O(N)));var L={};if(c.child)for(var B in M.child.style){var F=M.child.style[B],U=c.child[B];U&&U!==F.default&&(L[F.prop]=U)}(0,T.d4)((function(){var e=v("get-table-blot").attachedByUndo;if(P||e){var t=f.plugins.reminderManager;if(!N&&k&&t.deleteReminder(k.dateId,k),N){var n=N,r=n.dateId,o=n.value,i=n.reminders,a=n.format,s=[];for(var l in i)s.push({id:l,dateId:r,timestamp:o,seconds:i[l].seconds,before:k.reminders||{},format:a});s.length?YI.setInlineRemindersByArray(f,s):Object.keys(k.reminders||{}).length&&t.deleteReminder(r,k)}}else R(!0)}),[N]);var H=function(){var e=yr();return console.info("getFirstWeekDay",e),Object.assign({firstWeekDay:e,showTime:!1},N.format)},V=function(e){N?!function(){var e,t=!1;if(null!==(e=f.plugins.dateManager)&&void 0!==e&&e.openDatePicker){var n=N.dateId,r=uE(uE({},H()),{},{dateId:n,type:"date",timestamp:N.value||null,reminders:N.reminders||{}});t=f.plugins.dateManager.openDatePicker(r)}return t}()?E(e):console.info("Use native date picker"):D?h?w(!0):Y(e):z()},z=function(e){var t;h&&g({type:"mention",pos:o,event:e,cellData:c,node:a.current,scrollNode:null===(t=m.links.ui.scroll)||void 0===t?void 0:t.getNode(),rowHeight:null==i?void 0:i.height,endEdit:q.bind(r),style:Object.assign({},L,l)});return!0},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];null!=e&&e.length&&"date"===e[0].type&&"custom"===e[0].object_id?E({}):G(),null==d||d()},G=function(){var e;h&&(null===(e=m.links.col[o.col])||void 0===e||e.onCellChange(o))},W=function(e){h&&(N=Object.assign({},N||{},e),y([{insert:{date:N}}],{pos:o,replace:!0}))},Y=function(e){w(!1);var t=f.plugins.mentionManager;D&&"user"!==D.type&&t.onMentionClick(D.type,D.object_id,D.workspace_id)};m.addToCell(o,{value:n,empty:!n,editCell:function(e){return V(e),!0}.bind(this)});var Z,K,$=null,Q=[];D?(_&&(K=(0,s.h)(mE,{editor:f,editable:h,useRefs:m,parentRef:I,mention:D,onMentionEdit:function(e){w(!1),u()},onMentionOpen:Y,onClear:function(e){null==e||e.stopPropagation(),w(!1),u()},onWantsToClose:w.bind(this,!1)})),Z=(0,s.h)(s.HY,null,(0,s.h)(rn,{editor:f,delta:[c.child.delta[0]],mentionProps:{ref:I,onClick:function(e){null==e||e.preventDefault(),V(e)}}}),K)):N&&(Q.push("date-inline"),Z=(0,s.h)(dS,{pos:o,cellRef:a,format:N.format,value:N.value,setValue:function(e){W({value:e})},reminders:N.reminders,setReminder:function(e,t){var n=uE({},N.reminders||{});"none"===t.value?n.hasOwnProperty(e)&&delete n[e]:n[e]=t,W({reminders:n})},removeReminders:function(e){var t,n=(N||{}).reminders,r={};for(var o in n)e.includes(o)||(r[o]=n[o]);j&&null!==(t=j[0].insert)&&void 0!==t&&t.date&&(j[0].insert.date.reminders=r),W({reminders:r})},onChangeFormat:function(e){var t=Object.assign({},N.format||{},e);W({format:t})},editEvent:S,onEndEdit:function(e){G(),null==d||d()},dateId:N.dateId,deviceType:f.options.deviceType}));return Z&&($=(0,s.h)("span",{className:Q.join(" "),style:L},Z)),$}function mE(e){var t=this,n=e.editor,r=e.editable,o=e.useRefs,i=e.mention,a=e.parentRef,l=e.onMentionEdit,c=e.onMentionOpen,u=e.onClear,d=e.onWantsToClose;KC(n),(0,T.d4)((function(){return o.links.ui.table.setState("float",!0),function(){o.links.ui.table.setState("float",!1)}}),[]);var p,f,h=(p=n.plugins.i18n,f={buttons:[]},r&&f.buttons.push({id:"edit",fn:l.bind(t),title:p.get("table.menu.mention_panel.edit")}),"user"!=(null==i?void 0:i.type)&&f.buttons.push({id:"open",fn:c.bind(t),title:p.get("table.menu.mention_panel.open")}),r&&f.buttons.push({id:"clear",fn:u.bind(t),title:p.get("table.menu.mention_panel.clear")}),f);return(0,s.h)(At.Z,{key:"mention-cell-panel",addClassName:"mention-panel no-scroll",closeOnEsc:!0,wantsToClose:d,anchorNode:null==a?void 0:a.current,anchorOptions:{positionFixed:!0,offset:"0px, 0px",placement:"bottom-start",priority:["top","left","right"],overflowBoundariesElement:n.getScrollingContainer()}},(0,s.h)("div",{className:"mention-panel-buttons"},h.buttons.map((function(e){var t=e.id,n=e.title,r=e.fn,o={"data-button-key":t};return(0,s.h)("div",lE({className:"mention-panel-item",key:t,onClick:r},o),n)}))))}function gE(e){return(gE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vE(e,t){return(vE=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bE(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=CE(e);if(t){var o=CE(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _E(this,n)}}function _E(e,t){if(t&&("object"===gE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return wE(e)}function wE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CE(e){return(CE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function SE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EE=function(e){!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}}),t&&vE(e,t)}(i,e);var t,n,r,o=bE(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),SE(wE(t=o.call(this,e)),"sliding",!1),SE(wE(t),"slideDelayTimeout",!1),SE(wE(t),"skipClick",!1),SE(wE(t),"clickSlider",(function(e){var n=t.props.readonly;if(e.preventDefault(),t.skipClick||n)t.skipClick=!1;else if(t.sliding)t.sliding=!1;else{clearTimeout(t.slideDelayTimeout);var r=t.getProgress(e);t.setState((function(){return{progress:r}}),(function(){t.props.onChange&&t.props.onChange(r)}))}})),SE(wE(t),"startSlide",(function(e){var n=t.props.readonly;Ji(e)&&(n?t.skipClick=!0:(clearTimeout(t.slideDelayTimeout),t.slideDelayTimeout=setTimeout((function(){t.sliding=!0,document.addEventListener("mousemove",t.onMouseMove),document.addEventListener("onmouseout",t.stopSlide),document.addEventListener("mouseup",t.stopSlide),t.onMouseMove(e)}),125)))})),SE(wE(t),"stopSlide",(function(e){t.sliding=!1,document.removeEventListener("mousemove",t.onMouseMove),document.removeEventListener("onmouseout",t.stopSlide),document.removeEventListener("mouseup",t.stopSlide),t.props.onChange&&t.props.onChange(t.state.progress)})),SE(wE(t),"onMouseMove",(function(e){var n=t.getProgress(e);t.setState((function(){return{progress:n}}),(function(){t.props.onSlide&&t.props.onSlide(n)}))})),SE(wE(t),"getProgress",(function(e){var n=e.clientX,r=t.slider.current.getBoundingClientRect();return Math.min(100,Math.max(0,Math.round(100*(n-r.left)/r.width)))})),t.slider=(0,s.Vf)(),t.state={progress:Math.max(0,Math.min(100,parseInt(t.props.progress)||0))},t}return t=i,(n=[{key:"componentDidUpdate",value:function(e){var t=this;this.sliding||e.progress!=this.props.progress&&this.setState((function(){return{progress:t.props.progress}}))}},{key:"render",value:function(){var e=this.props,t=e.readonly,n=e.addClassName,r=this.state.progress;return(0,s.h)("div",{className:"input-slider "+(t?"readonly ":"")+(n||""),ref:this.slider,onClick:t?null:this.clickSlider,onMouseDown:this.startSlide},(0,s.h)("span",{className:"slider-range "+(this.sliding?"sliding":""),ref:this.slider},(0,s.h)("span",{className:"slider-progress",style:{width:r+"%"}},(0,s.h)("span",{className:"slider-holder"}))))}}])&&yE(t.prototype,n),r&&yE(t,r),i}(s.wA);function xE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return kE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kE(e,t)}(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 kE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var OE=Br("progress");function TE(e){var t=e.pos,n=e.parents,r=e.cellData,o=(0,T.qp)(LT),i=o.editable,a=o.setProp,l=o.useRefs,c=o.useAction,u=o.globalConfig,d=Object.assign({},OE.format,n.colData.format||{},r.format||{}),p=parseInt(r.progress)||parseInt(d.default)||0,f=xE((0,T.eJ)(p),2),h=f[0],m=f[1];(0,T.d4)((function(){var e=parseInt(r.progress)||0;h!==e&&m(e)}),[r.progress]),(0,T.d4)((function(){h!==d.default&&isNaN(r.progress)&&!isNaN(d.default)&&m(d.default)}),[d.default]);var g=function(e){i&&m(e)};l.addToCell(t,{value:h,empty:0===h,editCell:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.isEnter&&c.onAction({type:"add-row-and-move-down"}),!0}.bind(this)});var y=["table-progress"];return"colored"===d.type&&(h<30?y.push("progress-low"):h<75?y.push("progress-middle"):y.push("progress-high")),(0,s.h)("div",{className:y.join(" ")},(0,s.h)(EE,{addClassName:"table-progress-slider",readonly:!i||u.disableNonTextCellsEdit,progress:h,onChange:function(e){var n;i&&(g(e),a("progress",e,{pos:t,type:"cell"}),null===(n=l.links.col[t.col])||void 0===n||n.onCellChange(t))},onSlide:g}),(0,s.h)("span",{className:"progress-value table-text-common"},h,"%"))}function AE(e){var t=e.editable,n=e.checked,r=e.onChange,o=e.useIcon,i=void 0!==o&&o,a=["checkbox-component"];return n&&a.push("checked"),i&&a.push("checkbox-icon"),(0,s.h)("span",{className:a.join(" "),onMouseDown:function(e){e.stopPropagation(),t&&(null==r||r(!n))}},(0,s.h)("span",{className:"checkbox-component-inner"},(0,s.h)(ct.ry0,null)))}function PE(e){var t=e.pos,n=e.cellData,r=(0,T.qp)(LT),o=r.editable,i=r.setProp,a=r.useRefs,l=function(e){var n;o&&(i("checked",e,{pos:t,type:"cell"}),null===(n=a.links.col[t.col])||void 0===n||n.onCellChange(t))},c=!!n.checked,u=!c;return a.addToCell(t,{empty:u,value:c,editCell:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.isEnter&&l(!n.checked),!0}.bind(this)}),(0,s.h)(AE,{editable:o,checked:n.checked,onChange:l})}function RE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return IE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IE(e,t)}(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 IE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ME(e){var t=e.attachId,n=e.onAttachAction,r=RE((0,T.eJ)(null),2),o=r[0],i=r[1],a=RE((0,T.eJ)(null),2),l=a[0],c=a[1],u=(0,T.sO)(null),d=(0,T.qp)(LT),p=d.editor,f=d.editable,h=function(e,t,r,o){var i;(f||"click"===r)&&("click"===r?null==e||null===(i=e.onFileDownload)||void 0===i||i.call(e):null==n||n(e,t,r,o));"resolved"===r&&e.getFileKind&&c(e.getFileKind())},m=function(e){if(e&&(null!=o&&o.id&&o.id!==e&&g(),!function(){var e=[];return u&&u.current&&u.current.children&&u.current.children.forEach&&u.current.children.forEach((function(t){t&&t.classList&&t.classList.contains("file")&&e.push(t.id)})),e}().includes(e))){var t,n,r=NE(p,e,{blotAction:h});if(r&&(null==u||null===(t=u.current)||void 0===t||!t.childNodes.length))null==u||null===(n=u.current)||void 0===n||n.appendChild(r.domNode),r.attach(),i(r)}},g=function(){var e;o&&(null!==(e=o.isAttached)&&void 0!==e&&e.call(o)&&o.detach(),null!=u&&u.current&&o.domNode&&u.current.contains(o.domNode)&&u.current.removeChild(o.domNode))},y=p.isExport()?T.bt:T.d4;y((function(){return m(t),function(){g()}}),[t]),y((function(){o&&(o.parentReadOnly=!f)}),[f]);var v=["attachment-item"];return l&&v.push("is-"+l),(0,s.h)("div",{ref:u,className:v.join(" ")})}function NE(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t&&r.create){var o=a().query("file");t=(n=e.store.createMapForBlot(o,{type:"file",mode:"tableCell"})).get("id")}else(n=e.store.getMap(t))&&"tableCell"!==n.get("mode")&&n.set("mode","tableCell");if(t&&n){var i=a().create(n.get("type"));return i.map=n,i.scroll=e.scroll,i.isSelectable=!1,i.dontFileNameTrim=!0,i.dontDetachWhenDND=!0,i.dontToggleViewMode=!0,i.kindsDefaultViewModes={},r.blotAction?(i.onAttachmentResolved=r.blotAction.bind(this,i,t,"resolved"),i.onFileNameClick=r.blotAction.bind(this,i,t,"click"),i.onFileClickMenuDelete=r.blotAction.bind(this,i,t,"delete"),i.onFileDelete=r.blotAction.bind(this,i,t,"delete"),i.onCompactViewClickAction=r.blotAction.bind(this,i,t,"click")):i.parentReadOnly=!0,r.createFileBlot&&(i.createAttachBlot=r.createFileBlot),i}console.warn(t,n)}function DE(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=LE(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function jE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||LE(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 LE(e,t){if(e){if("string"==typeof e)return BE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?BE(e,t):void 0}}function BE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function FE(e){var t,n,r=e.pos,o=e.parents,i=e.cellRef,a=(0,T.qp)(LT),l=a.data,c=a.editor,u=a.editable,d=a.setProp,p=a.useRefs,f=(0,T.sO)(null),h=(0,T.sO)(null),m=(0,T.sO)(null),g=(0,T.sO)(null),y=((0,T.sO)(null),jE((0,T.eJ)({attachments:{}}),2)),v=y[0],b=(y[1],jE((0,T.eJ)(!1),2)),_=b[0],w=b[1],C=(null===(t=l.rowsData[r.row])||void 0===t?void 0:t.cellsData[r.col])||{},S=null===(n=C.attachments)||void 0===n?void 0:n.length,E=c.isExport()?T.bt:T.d4,x=function(){return h.current?Array.from(h.current.childNodes).filter((function(e){return e!==m.current})):[]},k=function(){var e,t=DE(x());try{for(t.s();!(e=t.n()).done;){var n=e.value;n.classList.contains("invisible-attachment")&&n.classList.remove("invisible-attachment")}}catch(e){t.e(e)}finally{t.f()}},O=function(){var e,t=x(),n=h.current.getBoundingClientRect().width,r=0,o=0,i=DE(t);try{for(i.s();!(e=i.n()).done;){var a=e.value;if(!(r<n))break;var s=a.getBoundingClientRect().width,l=o===t.length-1&&r+s<n?0:35;if(!(0===r||r+s<n-l))break;r+=s+10,o++}}catch(e){i.e(e)}finally{i.f()}var c,u=DE(t.slice(o));try{for(u.s();!(c=u.n()).done;){c.value.classList.add("invisible-attachment")}}catch(e){u.e(e)}finally{u.f()}if(m.current){var d=t.length-o;d?m.current.classList.contains("invisible-counter")&&m.current.classList.remove("invisible-counter"):m.current.classList.add("invisible-counter"),m.current.innerText="+"+d}},A=function(){h.current&&(k(),O())};(0,T.d4)((function(){setTimeout((function(){A()}),0)})),E((function(){h.current&&(k(),l.settings.wrapCells||_||O())}),[l.settings.wrapCells,_]),QC(f,A);var P=function(e,t,n){var o,i;if("resolved"===n){if(t&&null!=e&&null!==(o=e.props)&&void 0!==o&&o.attachment&&(N(t,null==e||null===(i=e.props)||void 0===i?void 0:i.attachment),null!=e&&e.id)){var a=ve("object",C.attachmentsType)||{},s=e.props.attachment,l=s.display_name,p=s.mime,f=s.type,h=s.type_extra;a[e.id]={display_name:l,mime:p,type:f,type_extra:ve("object",h)},d("attachmentsType",a,{pos:r,type:"cell"})}}else if("delete"===n){var m=ve("array",C.attachments),g=ve("object",C.attachmentsType),y=m.indexOf(t);u&&-1!==y&&(m.splice(y,1),delete g[t],d("attachments",m,{pos:r,type:"cell",yArray:"children"}),d("attachmentsType",g,{pos:r,type:"cell"}),c.plugins.attachmentWatcher.onBlotRemoved({id:t})),v.attachments[t]&&(delete v.attachments[t],D())}},R=function e(){var t,n,o=NE(c,!1,{create:!0,createFileBlot:e}),i=ve("array",null===(t=l.rowsData[r.row])||void 0===t||null===(n=t.cellsData[r.col])||void 0===n?void 0:n.attachments);return i.push(o.id),d("attachments",i,{pos:r,type:"cell",yArray:"children"}),o},I=ve("array",C.attachments).reduce((function(e,t){var n=(0,s.h)(ME,{attachId:t,onAttachAction:P});return e.push(n),e}),[]);p.addToCell(r,{value:S,empty:!S,editCell:function(e){if(u||S){var t,n,r=null==f||null===(t=f.current)||void 0===t||null===(n=t.getBoundingClientRect)||void 0===n?void 0:n.call(t);w({rect:r})}return!0}.bind(this),attachments:v.attachments,onDrop:R});var M,N=function(e,t){v.attachments.hasOwnProperty(e)||(v.attachments[e]=t,Object.keys(v.attachments).length===S&&D())},D=function(){var e,t,n;(p.addToCell(r,{attachments:v.attachments}),["filesize_min","filesize_max"].includes(null===(e=o.colData)||void 0===e||null===(t=e.summary)||void 0===t?void 0:t.mode))&&(null===(n=p.links.summary[r.col])||void 0===n||n.render())},j={};if(I.length||_){var L,B=c.plugins.i18n,F=["table-attachment"];l.settings.wrapCells||F.push("no-wrap-attachmens-cell"),_&&(F.push("active"),_.rect&&(j.height=_.rect.height),u&&(L=(0,s.h)("div",{className:"float-head"},(0,s.h)("div",{className:"upload-button"},(0,s.h)("div",{className:"upload-more",onClick:function(e){u&&c.exec("add-file",{dontPutCaretAfter:!0,createFileBlot:R})}},(0,s.h)("span",{className:"circle"},(0,s.h)(ct.SC9,null)),(0,s.h)("span",null,B.get("table.attachment.upload_more")))))));var U=(0,s.h)("div",{ref:h,className:F.join(" ")},I,_?null:(0,s.h)("span",{className:"nowrap-plus",ref:m}));M=(0,s.h)(aS,{container:null==i?void 0:i.current,onWantsToClose:function(){w(!1)},disabled:!_},L,U)}var H=function(e,t){var n=t.scrollTop;if(u){var o=e.map((function(e){if(e){var t=e.querySelector(".file");if(t&&t.id)return t.id}return null})).filter((function(e){return null!==e}));d("attachments",o,{pos:r,type:"cell",yArray:"children"}),D(),setTimeout((function(){h.current&&void 0!==n&&(n>h.current.scrollHeight-h.current.clientHeight&&(n=h.current.scrollHeight-h.current.clientHeight),h.current.scrollTop=n)}),50)}};return E((function(){if(h.current&&u)return g.current=new La(h.current,{selector:".attachment-item",onChange:H,allowedSortContainerClass:"active",allowPullItemsOut:!1,autoscroll:!0}),function(){g.current&&(g.current.destroy(),g.current=null)}}),[h.current]),M?(0,s.h)("div",{ref:f,style:j,className:"table-attachment-wrap"},M):null}function UE(){for(var e="",t="abcdefghijklmnopqrstuvwxyz0123456789",n=0;n<6;n++)e+=t.charAt(Math.floor(Math.random()*t.length));return e}function HE(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function VE(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=WE(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function zE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||WE(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 WE(e,t){if(e){if("string"==typeof e)return YE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?YE(e,t):void 0}}function YE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ZE=Object.keys($e);function KE(e){var t,n,r,o,i=this,a=e.editor,l=e.editable,c=e.users,u=void 0===c?{}:c,d=e.nowrap,p=e.onChange,f=e.onEndEdit,h=e.editEvent,m=a.plugins.i18n,g=GE((0,T.eJ)(!1),2),y=g[0],v=g[1],b=GE((0,T.eJ)(null),2),_=b[0],w=b[1],C=(0,T.sO)(null),S=Object.keys(u),E=function(e){var t=a.plugins.mentionManager;e!==(null==_?void 0:_.text)&&(r=e,clearTimeout(o),o=setTimeout((function(){t.searchItems(e,"user",15).then((function(t){e===r&&w(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zE(Object(n),!0).forEach((function(t){qE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({text:e},{result:t}))}))}),100))};(0,T.d4)((function(){y&&E(r||"")}),[y]),(0,T.d4)((function(){h&&A(h)}),[h]);var x,k=function(e,t){null==t||t.preventDefault(),O(e)},O=function(e){if(l){var t=Object.assign({},u);t[e]&&(delete t[e],null==p||p(t))}},A=function(e){if(!y&&(l||d&&S.length>1)){var t=C.current.getBoundingClientRect();v(t)}},P=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(null),e.next=3,fn(1);case 3:null==f||f(t);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){HE(i,r,o,a,s,"next",e)}function s(e){HE(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),R=["collaborate-list"],I=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=0,o=n.name||n.user_name;if(o){e=o[0].toUpperCase();var i,a=VE(o);try{for(a.s();!(i=a.n()).done;){var l=i.value;r+=l.charCodeAt()}}catch(e){a.e(e)}finally{a.f()}}else r=(e="?").charCodeAt();return t=$e[ZE[r%ZE.length]],(0,s.h)("span",{className:"user-avatar",style:{background:t}},e)},M=0,N=S.reduce((function(e,t,n){if(d&&n>0&&!y)return M++,e;var r,o=u[t],a=I(o),c=o.name||m.get("table.collaborator.unknown");return y&&l&&(r=(0,s.h)("span",{className:"collaborate-item-remove",onMouseDown:k.bind(i,t)},(0,s.h)(ct.WcQ,null))),e[t]=(0,s.h)("span",{"data-mention-type":"user",className:"collaborate-item","data-mention-name":c,"data-user-id":o.object_id,"data-mention-id":o.mention_id},(0,s.h)("span",{className:"collaborate-item-img"},a),(0,s.h)("span",{className:"collaborate-item-name"},(0,s.h)("span",{className:"collaborate-item-text searchable"},c)),r),e}),{});!y&&M&&(R.push("collaborate-list-plus"),x=(0,s.h)("span",{className:"nowrap-plus"},"+",M));var D,j=null==_||null===(t=_.result)||void 0===t||null===(n=t.user)||void 0===n?void 0:n.reduce((function(e,t){var n=I(t);return S.includes(String(t.object_id))||(e[t.object_id]=(0,s.h)("span",{className:"collaborate-item","data-user-id":t.object_id},(0,s.h)("span",{className:"collaborate-item-img"},n),(0,s.h)("span",{className:"collaborate-item-name"},(0,s.h)("span",{className:"collaborate-item-text"},t.name)))),e}),{});D=y?(0,s.h)(GS,{float:!0,editor:a,editable:l,onInput:function(e){E(e)},onSelect:function(e,t){if(e){var n=function(e){var t;if(e&&null!=_&&null!==(t=_.result)&&void 0!==t&&t.user){var n;e=String(e);var r,o=VE(null==_||null===(n=_.result)||void 0===n?void 0:n.user);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(null!=i&&i.object_id&&String(i.object_id)===e)return i}}catch(e){o.e(e)}finally{o.f()}}return!1}(e);if(n){var r=Object.assign({},u);r[e]=Object.assign({mention_id:UE()},n),null==p||p(r)}}else P()},onRemoveItem:O,selectedItems:N,searchItems:j,loadingMessage:m.get("table.collaborator.loading"),noResultMessage:m.get("table.collaborator.no_result"),placeholder:m.get("table.collaborator.placeholder"),onWantsToClose:P,container:null==C?void 0:C.current,adjustToParent:!0,corrective:{top:-1,left:-1}}):(0,s.h)("div",{className:R.join(" ")},Object.values(N),x);var L={};return y&&(L.width=y.width,L.height=y.height),(0,s.h)("div",{ref:C,style:L,className:["collaborate-component"].join(" "),onClick:function(e){A()}},D)}function $E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return QE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return QE(e,t)}(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 QE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XE(e){var t=e.pos,n=e.cellData,r=e.onEndEdit,o=(0,T.qp)(LT),i=o.data,a=o.editor,l=o.editable,c=o.setProp,u=o.useRefs,d=o.globalConfig,p=$E((0,T.eJ)(null),2),f=p[0],h=p[1],m=ve("object",n.users),g=Object.keys(m).length;return u.addToCell(t,{value:g,empty:0===g,editCell:function(e){return h(e),!0}.bind(this)}),g||f?(0,s.h)(KE,{editor:a,users:m,editEvent:f,editable:l&&!d.disableNonTextCellsEdit,onChange:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l&&(c("users",n,{pos:t,type:"cell"}),null===(e=u.links.col[t.col])||void 0===e||e.onCellChange(t))},onEndEdit:r,nowrap:!i.settings.wrapCells}):null}function JE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ex(){return(ex=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return nx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nx(e,t)}(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 nx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rx(e){var t,n=(0,T.qp)(LT),r=n.data,o=n.editable,i=n.useRefs,a=n.useMenu,l=n.tableExec,c=n.useResize,u=n.useSelection,d=n.globalConfig,p=n.renderWithFilter,f=n.editor,h=e.cellType,m=e.pos,g=e.rowProps,y=void 0===g?{}:g,v=(null===(t=r.rowsData[m.row])||void 0===t?void 0:t.cellsData[m.col])||{},b={colData:r.colsData[m.col]||{},rowData:r.rowsData[m.row]||{}},_=tx((0,T.eJ)({ver:0}),2),w=_[0],C=_[1],S=tx((0,T.eJ)(!1),2),E=S[0],x=S[1],k=tx((0,T.eJ)(!1),2),O=k[0],A=k[1],P=tx((0,T.eJ)(!1),2),R=P[0],I=P[1],N=tx((0,T.eJ)(!1),2),D=N[0],j=N[1],L=tx((0,T.eJ)(!1),2),B=L[0],F=L[1],U=tx((0,T.eJ)(null),2),H=U[0],V=U[1],z=Br(h),q={};for(var G in M.cell.attrs){var W,Y,Z=void 0;if(v.hasOwnProperty(G))Z=v[G];else for(var K in M.cell.inherit){var $;if(M.cell.inherit[K].includes(G))if(null!==($=b[K])&&void 0!==$&&$.hasOwnProperty(G)){Z=b[K][G];break}}null!==(Z=null!==(W=null!==(Y=Z)&&void 0!==Y?Y:M.cell.props[G])&&void 0!==W?W:null)&&(q[M.cell.attrs[G]]=Z)}if(!v.cellType){var Q=b.colData.columnType;v.cellType=Q&&"none"!==Q?Q:"text"}var X=(0,T.sO)(null),J=function(){return null==X?void 0:X.current},ee=function(e){var t=!1,n=Object.assign({},m),r=J().getBoundingClientRect(),o=Math.abs(r.width-e.offsetX),i=Math.abs(r.height-e.offsetY);return o<=M.resize.offset?(t="col",n.col+=(q.colspan||1)-1):i<=M.resize.offset&&(t="row",n.row+=(q.rowspan||1)-1),{resizeMode:t,resizePos:n}},te=function(e){var t=!1,n=(null==e?void 0:e.metaKey)||(null==e?void 0:e.ctrlKey)||(null==e?void 0:e.shiftKey);if(!n&&e.target===J()){var r=ee(e),o=r.resizeMode,i=r.resizePos;!1!==o&&(t=!0,F(!0),c.sessionStart(o,i))}t||(n?u.setSelection(m,{force:!0}):O&&2===e.button||u.setCurrent(m,{session:!0}))},ne=function(){var e;return null===(e=i.links.cell[m.row])||void 0===e?void 0:e[m.col]},re=function(){var e;null!=X&&X.current&&(null===(e=i.links.ui.scroll)||void 0===e||e.scrollTo(null==X?void 0:X.current,{offset:0}))},oe=function(e){var t,n;e.stopPropagation(),B&&(F(!1),"click"===e.type)||!1===ee(e).resizeMode&&(re(),null===(t=ne())||void 0===t||null===(n=t.editCell)||void 0===n||n.call(t,e,{isMouse:!0}))},ie=function(e){var t,n,r=null===(t=b.colData)||void 0===t?void 0:t.columnType,o=!1;r&&!["none","attachment"].includes(r)||("attachment"===v.cellType||null!==(n=ne())&&void 0!==n&&n.empty)&&(o=!0);i.setPointer("drop",!!o&&m)};(0,T.d4)((function(){var e;w.withSummary&&(null===(e=i.links.summary[m.col])||void 0===e||e.render())}),[w]);i.setCell(m,{cellProps:q,type:v.type,cellData:v,getNode:J.bind(this),render:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C({ver:w.ver+1,withSummary:!!e.withSummary})}.bind(this),setDrop:j.bind(this),setCurrent:x.bind(this),setSelected:A.bind(this),onMenuButton:function(e){u.inSelection(m)||u.setCurrent(m,{session:!1}),a.toggleMenu(e,"cell",J())}.bind(this),onDragEnter:ie.bind(this),scrollIntoView:re.bind(this),setCommentsCount:function(e){V(e)}.bind(this),getCommentsCount:function(){return H}.bind(this),getText:function(){var e=i.getCell(m),t=f.plugins.i18n.get("table.menu.type."+v.cellType);if(!["attachment","rating","progress","checkbox","singleselect","multiselect","collaborator"].includes(v.cellType)&&e&&!e.empty){var n=J().cloneNode(!0),r=n.querySelector(".table-cell-comments-counter");r&&n.removeChild(r),t=n.innerText}return t}.bind(this)});var ae=[];v.hidden||(E?ae.push("current","selected"):O&&ae.push("selected"),R&&ae.push("editing"),D&&ae.push("dnd-highlight"));var se,le=function(){var e={};if(v.child||z.style){var t=z.style||{},n=v.child||{};for(var r in M.child.style){var o,i=M.child.style[r],a=null!==(o=n[r])&&void 0!==o?o:t[r];a&&a!==i.default&&(e[i.prop]=a)}}return e},ce={pos:m,cellType:h,cellRef:X,cellData:v,cellProps:q,rowProps:y,parents:b,editing:R,setEditing:function(e){p()&&!1===e&&setTimeout((function(){l("table-selection-update")}),0),I(e)},emptyCell:function(){o&&l("clear-cells",{start:m})},onEndEdit:function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.select&&u.setCurrent(m),l("focus")}},ue=!1,de=!1,pe=!1;switch(h){case"text":de=!0,se=(0,s.h)(HC,ex({},ce,{childStyle:le()}));break;case"number":case"currency":de=!0,se=(0,s.h)(GC,ex({},ce,{childStyle:le()}));break;case"mention":ae.push("cell-mention","table-text-common"),se=(0,s.h)(hE,ce);break;case"link":pe=!0,ue=!0,se=(0,s.h)(OS,ce);break;case"checkbox":se=(0,s.h)(PE,ce);break;case"collaborator":pe=!0,ue=!0,ae.push("full-height","cell-collaborator"),se=(0,s.h)(XE,ce);break;case"singleselect":case"multiselect":pe=!0,ue=!0,ae.push("full-height","cell-select"),se=(0,s.h)(iE,ce);break;case"rating":pe=!0,se=(0,s.h)(sE,ce);break;case"progress":pe=!0,ae.push("cell-progress"),se=(0,s.h)(TE,ce);break;case"date":ae.push("cell-date","table-text-common"),se=(0,s.h)(SS,ex({},ce,{touch:function(){return l("touch",{type:"cell",pos:m})}}));break;case"attachment":pe=!0,ue=!0,ae.push("cell-attachment"),se=(0,s.h)(FE,{pos:m,cellRef:X,cellData:v,parents:b});break;default:console.warn("Unknown cell type",h)}var fe={};if(!v.hidden){var he=d.disableNonTextCellsEdit&&pe,me=d.singleTapEdit||!1,ge=de&&!me?"onDoubleClick":"onClick";o?(Object.assign(fe,d.mobile?{onTouchStart:te}:{onMouseDown:te,onMouseEnter:function(e){e.target===J()&&u.setSelection(m)}}),he||Object.assign(fe,JE({onContextMenu:function(e){!1!==d.enableMenu&&(e.preventDefault(),a.toggleMenu(e,"cell"))},ondragenter:ie},ge,oe))):ue&&(he||Object.assign(fe,JE({},ge,oe)))}ae.length&&(q.className=ae.join(" "));var ye={};return null!==H&&(ye[Gr.qZ]=f.plugins.i18n.get("table.comments.tooltip."+(1===H?"one":"more"))),(0,s.h)("td",ex({ref:X},fe,q),null!==H&&(0,s.h)("span",ex({className:"table-cell-comments-counter",onClick:function(e){e.preventDefault(),l("comment-cell",{pos:m})}},ye),H>9?"9+":H),se)}function ox(e){return(ox="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ix(e,t){return(ix=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ax(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lx(e);if(t){var o=lx(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return sx(this,n)}}function sx(e,t){if(t&&("object"===ox(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 lx(e){return(lx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var cx=function(e){!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}}),t&&ix(e,t)}(n,e);var t=ax(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function ux(){return(ux=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function dx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function px(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dx(Object(n),!0).forEach((function(t){fx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hx(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function mx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return gx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gx(e,t)}(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 gx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}cx.type="move-table-row";function yx(e){var t=e.pos,n=e.relPos,r=e.size,o=e.rowData,i=void 0===o?{}:o,a=e.colsData,l=void 0===a?{}:a,c=e.isTempRow,u=void 0!==c&&c,d=mx((0,T.eJ)({ver:0}),2),p=d[0],f=d[1],h=mx((0,T.eJ)(!1),2),m=h[0],g=h[1],y=mx((0,T.eJ)({}),2),v=y[0],b=y[1],_=mx((0,T.eJ)(!1),2),w=_[0],C=_[1],S=mx((0,T.eJ)({}),2),E=S[0],x=S[1],k=(0,T.sO)(null),O=(0,T.qp)(LT),A=O.editor,P=O.editable,R=O.setProp,I=O.useRefs,N=O.useMenu,D=O.useResize,j=O.useSelection,L=O.onTableAction,B=O.globalConfig,F=function(e,n){M.row.props[e]===n&&(n=null),i&&i[e]===n||R(e,n,{pos:t,type:"row"})},U=M.row.attrs.reduce((function(e,t){var n,r,o=null!==(n=null!==(r=i[t])&&void 0!==r?r:M.row.props[t])&&void 0!==n?n:null;return null!==o&&(e[t]=o),e}),{});for(var H in v)v[H]===U[H]?(delete v[H],b(v)):U[H]=v[H];var V=(0,T.sO)(null),z=(0,T.sO)(null),q=(0,T.sO)(null),G=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=W().getBoundingClientRect(),i=null===(n=I.links.row[t])||void 0===n||null===(r=n.getNode())||void 0===r?void 0:r.getBoundingClientRect(),o&&i){e.next=4;break}return e.abrupt("return");case 4:return C(!0),e.next=7,fn(1);case 7:return x({"--pseudo-top":i.top-o.top+"px"}),e.next=10,fn(M.row.transition);case 10:C(!1),x({});case 12:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){hx(i,r,o,a,s,"next",e)}function s(e){hx(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),W=function(){return null==V?void 0:V.current};I.setRow(t,{rowData:i,setSelected:g.bind(this),moveAnimate:G.bind(this),onResize:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=V.current.getBoundingClientRect(),r=Math.min(Math.max(Math.round(e.clientY-n.top),M.row.limit.minHeight),M.row.limit.maxHeight);b(Object.assign({},{height:r})),t.save&&F("height",r)}.bind(this),getNode:W.bind(this),render:function(){f({ver:p.ver+1})}.bind(this)});for(var Y=(0,T.I4)((function(e,t){"top"===e&&0!==t.scrollTop?t.scrollTop<10?t.scrollTop=0:t.scrollTop-=10:"bottom"===e&&(t.scrollHeight-(t.scrollTop+t.clientHeight)>10?t.scrollTop+=10:t.scrollTop=t.scrollHeight)})),Z=(0,T.I4)((function(e,t){k.current=setInterval((function(){Y(e,t)}),10)})),K=(0,T.I4)((function(){clearInterval(k.current),k.current=null})),$=(0,T.I4)((function(e){var t=e.clientY,n=A.getScrollingContainer(),r=n.getBoundingClientRect();t<=r.y+80?k.current||Z("top",n):t>=r.y+r.height-80?k.current||Z("bottom",n):k.current&&K()})),Q=function(e,t){var n=j.selection,r=n.start,o=n.last;if($(t),!e||!r||!o)return J();var i=e.getBoundingClientRect(),a=t.clientY-i.top>i.height/2?"after":"before",s=parseInt(e.getAttribute(M.row.indexAttr));if(isNaN(s)||s>=r.row&&s<=o.row||s===r.row-1&&"after"===a||s===o.row+1&&"before"===a)return J();var l=I.links.ui["moving-highlight"],c=null==l?void 0:l.sharedState;c&&c.index===s&&c.position===a||l.setSharedState({index:s,position:a,type:"row",highlightYOffset:40})},X=function(){var e=j.selection,t=e.start,n=e.last,r=I.links.ui["moving-highlight"],o=null==r?void 0:r.sharedState;"row"===(null==o?void 0:o.type)&&t&&n&&L(new cx(cx.type,{start:t,last:n,index:"before"===o.position?o.index:o.index+1},A)),J(),K()},J=function(){return I.links.ui["moving-highlight"].setSharedState(!1),!0},ee=function(){var e=new fC({selector:".".concat(M.row.className),ignore:"[".concat(M.row.indexAttr,'="').concat(t.row,'"]'),unchange:".horizontal-move-highlight"});e.on("drag",Q),e.on("end",X),e.start()},te=function(e){q.current&&(e.target===q.current.base||q.current.base.contains(e.target))&&N.toggleMenu(e,"row")},ne=[],re=0;re<r.cols;re++){var oe,ie,ae,se=void 0;if(null!==(oe=l[re])&&void 0!==oe&&oe.columnType&&"none"!==l[re].columnType)se=l[re].columnType;else se=Fr(null===(ie=i.cellsData)||void 0===ie||null===(ae=ie[re])||void 0===ae?void 0:ae.type);ne.push((0,s.h)(rx,{pos:px(px({},t),{},{col:re}),size:r,cellType:se,rowProps:U}))}var le=[];m&&le.push("selected"),w&&le.push("fade","moving"),u&&le.push("is-temp-row"),le.length&&(U.className=le.join(" "));var ce={};return P&&Object.assign(ce,{onMouseDown:function(e){var n,r,o=j.selection,i=!1,a=(null==e?void 0:e.metaKey)||(null==e?void 0:e.ctrlKey),s=(null==e?void 0:e.metaKey)||(null==e?void 0:e.ctrlKey)||(null==e?void 0:e.shiftKey),l=(null===(n=o.start)||void 0===n?void 0:n.row)===t.row&&(null===(r=o.last)||void 0===r?void 0:r.row)===t.row;if(e.target===(null==z?void 0:z.current)){var c=z.current.getBoundingClientRect();Math.abs(c.height-e.offsetY)<=M.resize.offset&&(i=!0)}i?D.sessionStart("row",t):a&&l?j.unselectAll():a||s?j.setSelection(t,{force:!0}):(m||j.setCurrent(t,{session:!1}),P&&hC({x:e.clientX,y:e.clientY},5,ee,te))}.bind(this),onMouseEnter:function(e){j.setSelection(t)}.bind(this),onContextMenu:function(e){!1!==B.enableMenu&&(e.preventDefault(),N.toggleMenu(e,"row"))}.bind(this)}),(0,s.h)("tr",ux({ref:V,style:E},U),(0,s.h)(jC,ux({pos:t,relPos:n,selected:m,rowProps:U,onRef:z,onMenuButtonRef:q},ce)),ne)}function vx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vx(Object(n),!0).forEach((function(t){_x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Cx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cx(e,t)}(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 Cx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Sx={width:M.col.props.width/2,height:M.row.props.height};function Ex(e){var t=e.size,n=wx((0,T.eJ)(!1),2),r=n[0],o=n[1],i=wx((0,T.eJ)(0),2),a=(i[0],i[1]),l=wx((0,T.eJ)(null),2),c=l[0],u=l[1],d=wx((0,T.eJ)({overflow:!1}),2),p=d[0],f=(d[1],(0,T.qp)(LT)),h=(f.editor,f.editable),m=f.useRefs,g=f.tableExec,y=(0,T.sO)(null);if(!h)return(0,s.h)("span",null);var v=function(e){S()},b=function(e){k(e)};m.setUI("resizer-grip",{setHidden:o.bind(this)}),(0,T.d4)((function(){return c&&(window.addEventListener("mouseup",v),window.addEventListener("mousemove",b)),function(){window.removeEventListener("mouseup",v),window.removeEventListener("mousemove",b)}}),[c]);var _,w,C=function(e){var n=m.links.ui.scroll.getNode().scrollLeft,r=0,o=parseFloat(n)||0,i=m.links.col.reduce((function(e,n,i){var a=["resize-cell"];if(i<t.cols){var l,c=(null===(l=n.getNode)||void 0===l?void 0:l.call(n).getBoundingClientRect()).width-1;o>=c?(r++,o-=c,c=0):o>0&&(a.push("resize-cell-cut"),c-=o-r,o=0),c&&e.push((0,s.h)("span",{className:a.join(" "),style:{width:c+"px","min-width":c+"px"}}))}return e}),[]),a=e.x,l=e.y,c=m.links.row[0].getNode().getBoundingClientRect(),d=c.top,p=c.left;u({x:a,y:l,cells:i,style:{top:d+"px",left:p+n+"px",scrollLeft:n},over:{rows:0,cols:0}})},S=function(){var e,t=O();(t.cols&&g("add-col",{count:t.cols,render:!t.rows}),t.rows&&g("add-row",{count:t.rows}),t.cols)&&(null===(e=m.links.ui.scroll)||void 0===e||e.scrollTo("right"),setTimeout((function(){var e;null===(e=m.links.ui.scroll)||void 0===e||e.scrollTo("right")})));x({}),u(null)},E=function(){var e,t;p.overflow.rows=null!==(e=p.overflow)&&void 0!==e&&e.rowsOver?p.overflow.rows+1:0,p.overflow.cols=null!==(t=p.overflow)&&void 0!==t&&t.colsOver?p.overflow.cols+1:0,a(Date.now())},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.rowsOver||e.colsOver){if(!p.overflow||e.rowsOver!==p.overflow.rows||e.colsOver!==p.overflow.cols){var t;clearInterval(null===(t=p.overflow)||void 0===t?void 0:t.interval),p.overflow=bx(bx({},e),{},{interval:setInterval(E,150),rows:p.overflow.rows||0,cols:p.overflow.cols||0})}}else p.overflow&&(clearInterval(p.overflow.interval),p.overflow=!1)},k=function(e){var t=Math.min(20,Math.max(0,Math.round((e.x-c.x)/Sx.width))),n=Math.min(100,Math.max(0,Math.floor((e.y-c.y)/Sx.height)));c.over.rows===n&&c.over.cols===t||(c.over={rows:n,cols:t},a(Date.now())),x({rowsOver:e.clientY>window.innerHeight-10,colsOver:e.clientX>window.innerWidth-10})},O=function(){var e,t;return{rows:c.over.rows+((null===(e=p.overflow)||void 0===e?void 0:e.rows)||0),cols:c.over.cols+((null===(t=p.overflow)||void 0===t?void 0:t.cols)||0)}},A=["table-grip-resizer"];if(r&&A.push("hidden"),c){A.push("resizing");for(var P=Object.assign([],c.cells),R=0;R<c.over.cols;R++)P.push((0,s.h)("span",{className:"resize-cell",style:{width:Sx.px.width}}));for(var I=[],M=t.rows+(c.over.rows||0)-1,N=0;N<=M;N++){var D=void 0;if(N<t.rows){var j,L,B=null===(j=m.links.row[N])||void 0===j||null===(L=j.getNode())||void 0===L?void 0:L.getBoundingClientRect();D=B&&B.height+"px"}I.push((0,s.h)("div",{className:"resize-row",style:{height:D||Sx.px.height}},P))}var F=O(),U=c.style,H=U.top,V=U.left;w=(0,s.h)("div",{className:"resize-grid",style:{top:H,left:V}},(0,s.h)("div",{className:"resize-info"},t.cols+F.cols,"x",t.rows+F.rows),I)}return _=(0,s.h)("div",{ref:y,className:A.join(" "),onMouseDown:function(e){C(e)}},(0,s.h)("div",{className:"resize-handle"})),(0,s.h)(s.HY,null,_,w)}function xx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return kx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kx(e,t)}(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 kx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ox(){var e=xx((0,T.eJ)(null),2),t=e[0],n=e[1],r=(0,T.qp)(LT).useRefs;if(r.setUI("moving-highlight",{sharedState:t,setSharedState:n}),(0,T.d4)((function(){t?r.links.ui.table.setState("moving",!0):null!==t&&r.links.ui.table.setState("moving",!1)}),[t]),t){var o,i=t.type,a=t.index,l=t.position,c=t.highlightYOffset,u=void 0===c?0:c,d=t.highlightXOffset,p=void 0===d?0:d,f=r.links,h=f.row,m=f.col,g=[],y=[];if("row"===i){for(var v=0,b=0;b<a;b++)h[b]&&(v+=h[b].getNode().getBoundingClientRect().height);"after"===l&&h[a]&&(v+=h[a].getNode().getBoundingClientRect().height),g.top=v+u+"px",y.push("horizontal-move-highlight"),o="M 0 0 L 300 150 L 0 300 z"}else if("col"===i){for(var _=0,w=0;w<a;w++)_+=m[w].getNode().getBoundingClientRect().width;var C=r.links.ui.scroll.getNode();"after"===l?(_+=m[a].getNode().getBoundingClientRect().width)+p>C.offsetWidth+C.scrollLeft&&r.links.ui.scroll.scrollTo(m[a].getNode()):_+p<42+C.scrollLeft&&r.links.ui.scroll.scrollTo(m[a].getNode()),g.left=_+p+"px",y.push("vertical-move-highlight"),o="M 0 0 L 300 0 L 150 300 z"}return(0,s.h)("div",{className:y.join(" "),style:g},(0,s.h)("div",{className:"highlight-pin"},(0,s.h)("svg",{viewBox:"0 0 300 300",xmlns:"http://www.w3.org/2000/svg"},(0,s.h)("path",{className:"graphic",d:o}))))}return null}function Tx(e){var t=e.data,n=t.size,r=t.rowsData,o=t.colsData,i=(0,T.qp)(LT),a=i.useRefs,l=i.useFilter,c=i.editor,u=i.useSelection,d=(0,T.sO)(null),p=(0,T.sO)(!1);QC(d,(function(){var e;null===(e=a.links.ui["cell-menu-btn"])||void 0===e||e.render()})),(0,T.d4)((function(){if(!Boolean(t.props["filter-disabled"])&&t.props.tempRow){var e=Object.keys(t.rowsData).find((function(e){return t.rowsData[e].id===t.props.tempRow})),n=u.selection,r=n.start,o=n.end;p.current?p.current=!1:e&&(r&&o&&(r.row===parseInt(e)||o.row===parseInt(e))||(u.setCurrent({row:parseInt(e)},{tempRow:!0}),p.current=!0))}}));for(var f=[],h=0,m=Boolean(t.props["filter-disabled"]),g=0;g<n.rows;g++){var y=!m&&Boolean(r[g]&&t.props.tempRow&&t.props.tempRow===r[g].id);if(m||y||l.acceptRenderRow(r[g],n.cols)){var v=(0,s.h)(yx,{pos:{row:g},relPos:h,rowData:r[g],isTempRow:y,size:n,colsData:o});f.push(v),h++}}return(0,s.h)("tbody",{ref:d,className:f.length?"":"empty-filter-result"},(0,s.h)(Ex,{size:n}),(0,s.h)(Ox,null),f.length?f:(0,s.h)(Ax,{size:n,editor:c}))}function Ax(e){var t=e.size,n=e.editor;return(0,s.h)("tr",null,(0,s.h)("td",{className:"table-head-item empty-table"}),(0,s.h)("td",null),(0,s.h)("td",{colspan:t.cols,style:{textAlign:"center",padding:"10px 0"}},n.plugins.i18n.get("table.filter.empty_table")))}Object.assign(Sx,{px:{width:Sx.width+"px",height:Sx.height+"px"}});n(74475),n(29253),n(44363),n(83112);function Px(e){return(Px="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ix(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Mx=864e5,Nx=30;const Dx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Rx(this,e),this.setProps(t)}var t,n,r;return t=e,(n=[{key:"setProps",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cache={},this.props=e}},{key:"getValue",value:function(){var e=this.props,t=e.columnType,n=e.summary,r={count:null},o=n.mode.split("_");switch(o[0]){case"all":r.count=this.all;break;case"empty":case"unchecked":r.count=this.empty;break;case"fill":case"checked":r.count=this.fill;break;case"unique":r.count=this.unique;break;case"sum":r.count=this.string(this.sum);break;case"average":r.count=this.string(this.average);break;case"min":r.count=this.string(this.min);break;case"max":r.count=this.string(this.max);break;case"median":r.count=this.string(this.median);break;case"range":r.count=this.range,"date"===t&&(r.count=this.period(r.count,o));break;case"filter":r.count=this.filter;break;case"filesize":var i=this.filesize(o[1]);r=Object.assign(r,i);break;default:console.warn("Unknown summary",n),r.count="?"}return"number"===t||"currency"===t?(r.count=this.symbol(r.count),r.classes=this.classes(r.count)):"progress"===t&&-1===o.indexOf("filter")&&(r.count=this.progress(r.count)),o.length>1&&(-1!==o.indexOf("percent")?r.count=this.percent(r.count,{mode:o}):-1!==o.indexOf("date")&&(r.count=this.date(r.count))),r}},{key:"format",get:function(){var e={};return e}},{key:"all",get:function(){return this.props.size.visibleRows}},{key:"empty",get:function(){var e=this.props,t=e.pos,n=e.links,r=e.columnType,o=0;return"progress"!==r&&n.cell.forEach((function(e){e[t.col].empty&&o++})),o}},{key:"fill",get:function(){return this.not(this.empty)}},{key:"unique",get:function(){var e=0,t=[];return this.each((function(n){-1===t.indexOf(n.value)&&(t.push(n.value),e++)})),e}},{key:"numTmpl",get:function(){return{value:0,decimal:0,bigint:BigInt(0)}}},{key:"sum",get:function(){var e=this,t=!1;return this.each((function(n){t=!1===t?n:e.math("+",t,n)})),t||this.numTmpl}},{key:"average",get:function(){var e,t=this.fill;return t&&(e=1===t?this.sum:this.math("/",this.sum,t)),e}},{key:"min",get:function(){var e,t=this,n={};return"progress"===this.props.columnType&&(n.all=!0),this.each(n,(function(n){e=t.math("min",e,n)})),e}},{key:"max",get:function(){var e,t=this;return this.each((function(n){e=t.math("max",e,n)})),e}},{key:"median",get:function(){var e,t=[];this.each((function(e){t.push(e)})),t.sort(this.sort);var n=t.length;if(n){var r=n/2;if(n%2==1)e=t[Math.floor(r)];else{var o=this.math("+",t[r-1],t[r]);e=this.math("/",o,2)}}return e}},{key:"range",get:function(){var e=this.min,t=this.max,n=null;return e&&t&&(n=t.value-e.value),n}},{key:"filter",get:function(){var e=this,t=this.props.summary,n=0,r="=",o=t.filter;if(t.filter)for(var i=0,a=["<",">"];i<a.length;i++){var s=a[i];t.filter.startsWith(s)&&(r=s,o=o.replace(s,""))}return o=parseInt(o||0),isNaN(o)||this.each({all:!0},(function(t){e.compare(r,parseInt(t.value),o)&&n++})),n}},{key:"math",value:function(e,t,n){var r={},o="object"===Px(t),i="object"===Px(n),a=o&&t.hasOwnProperty("value"),s=i&&n.hasOwnProperty("value"),l=a&&s,c=o&&t.hasOwnProperty("decimal"),u=i&&n.hasOwnProperty("decimal"),d=c&&u,p=o&&t.hasOwnProperty("bigint")&&!1!==t.bigint,f=i&&n.hasOwnProperty("bigint")&&!1!==n.bigint,h=p&&f;switch(e){case"+":l&&(r.value=this.math("+.",t.value,n.value)),d&&(r.decimal=this.math("+.",t.decimal,n.decimal)),h&&(r.bigint=t.bigint+n.bigint);break;case"+.":var m=Math.max(this.split(t).fixed,this.split(n).fixed);r=this.parseFloat(t- -n,m);break;case"/":if(a&&(t.value<Number.MAX_SAFE_INTEGER||!p)){var g=this.split(t.value);r.value=this.parseFloat(t.value/n,Math.max(3,g.fixed+1))}else p&&(r.bigint=t.bigint/BigInt(n));break;case"min":r=n,t&&(h?(t.bigint===n.bigint&&d&&t.decimal<n.decimal||t.bigint<n.bigint)&&(r=t):l&&t.value<n.value&&(r=t));break;case"max":r=n,t&&(h?(t.bigint===n.bigint&&d&&t.decimal>n.decimal||t.bigint>n.bigint)&&(r=t):l&&t.value>n.value&&(r=t));break;default:console.warn("Unknown operation",e,t,n)}return r}},{key:"split",value:function(e){var t={value:e,number:parseInt(e),fixed:0,decimal:0,decimalStr:""};if(-0===t.number&&(t.number=0),t.value!=t.number){var n=e<0,r=Math.abs(e).toString().split(".");2===r.length&&(t.fixed=r[1].length,t.decimal=this.parseFloat("0.".concat(r[1])),n&&(t.decimal=-t.decimal),t.decimalStr=r[1].toString())}return t}},{key:"parseFloat",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(-1!==(e=parseFloat(e)).toString().indexOf("e-")){var n=e.toString().split("e-");e=e.toFixed(n[1])}else!1!==t&&(e=parseFloat(e.toFixed(t)));return e}))},{key:"filesize",value:function(e){var t={count:null,tooltip:null};return this.each((function(n){if(n.attachments)for(var r in n.attachments){var o=n.attachments[r];o.hasOwnProperty("size")&&(null===t.count||"max"===e&&t.count<o.size||"min"===e&&t.count>o.size)&&(t.count=o.size,t.tooltip=o.display_name)}})),null!==t.count&&(t.count=this.formatBytes(t.count)),t}},{key:"sort",value:function(e,t){return e.hasOwnProperty("bigint")&&!1!==e.bigint&&t.hasOwnProperty("bigint")&&!1!==t.bigint?e.bigint!==t.bigint||isNaN(parseFloat(e.decimal))||isNaN(parseFloat(e.decimal))?Number(e.bigint-t.bigint):e.decimal-t.decimal:e.value-t.value}},{key:"compare",value:function(e,t,n){return{"=":function(e,t){return e===t},">":function(e,t){return e>t},"<":function(e,t){return e<t}}[e](t,n)}},{key:"string",value:function(e){var t="";if(e)if(e.hasOwnProperty("bigint")&&!1!==e.bigint)if(e.decimal){var n=this.split(e.decimal),r=Math.round(n.decimal*Math.pow(10,n.fixed)),o=e.bigint+BigInt(n.number||0),i=Number(o);i>0&&r<0?(i-=1,r=Math.pow(10,n.fixed)-Math.abs(r)):i<0&&r>0&&(i+=1,r=Math.pow(10,n.fixed)-r);var a=Math.abs(r).toString().padStart(n.fixed,"0");t=i.toString()+"."+a}else t=e.bigint.toString();else e.hasOwnProperty("value")&&(t=String(e.value));return t}},{key:"symbol",value:function(e){var t;"commas"===(null===(t=this.props.format)||void 0===t?void 0:t.type)&&(e=this.separate(e));var n=null,r=null;return this.each((function(e){e.format&&(e.format.hasOwnProperty("symbolBefore")&&(n=(null===n||n===e.format.symbolBefore)&&e.format.symbolBefore),e.format.hasOwnProperty("symbolAfter")&&(r=(null===r||r===e.format.symbolAfter)&&e.format.symbolAfter))})),n?e="string"==typeof e&&e.startsWith("-")?"-"+n+e.replace("-",""):"number"==typeof e&&e<0?"-"+n+Math.abs(e):n+e:r&&(e+=r),e}},{key:"classes",value:function(e){var t,n=[],r=null===(t=this.props.format)||void 0===t?void 0:t.colorNumbers;if(!r){var o=0;this.each((function(e){var t,n;0===o&&null!==(t=e.format)&&void 0!==t&&t.colorNumbers&&(r=!0),null!==(n=e.format)&&void 0!==n&&n.colorNumbers||(r=!1),o++}))}return r&&(String(e).startsWith("-")?n.push("negative-number"):n.push("positive-number")),n}},{key:"separate",value:function(e){return isNaN(parseFloat(e))||(e=WC(e)),e}},{key:"not",value:function(e){return this.all-e}},{key:"each",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;"function"==typeof e&&(t=e,e={});var n=this.props,r=n.pos,o=n.links;o.cell.forEach((function(n){!n[r.col]||!e.all&&n[r.col].empty||t(n[r.col])}))}},{key:"percent",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return isNaN(parseInt(e))?e:(0===(t=r.mode&&"unique"===r.mode[0]?this.fill:this.all)?n=0:(n=100*e/t,n=this.round(n,r)),n+"%")}},{key:"progress",value:function(e){return isNaN(parseInt(e))||(e+="%"),e}},{key:"round",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.hasOwnProperty("decimal")||(t.decimal=2);var n=+"1e".concat(t.decimal),r=Math.round(n*e)/n;return r}},{key:"date",value:function(e){return isNaN(parseInt(e))?e:(e=parseInt(e),this.each((function(n){!t&&n.hasOwnProperty("getText")&&parseInt(n.value)===e&&(t=n.getText())})),t||e);var t}},{key:"period",value:function(e,t){var n=this.props.editor.plugins.i18n;if(isNaN(parseInt(e)))return e;var r="day",o=1+Math.floor(e/Mx);return-1!==t.indexOf("month")&&(o=Math.floor(o/Nx),r="month"),o+=n.get("calendar.ui.postfix.".concat(r))}},{key:"formatBytes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 B";var n=1e3,r=t<0?0:t,o=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,i)).toFixed(r))+" "+o[i]}}])&&Ix(t.prototype,n),r&&Ix(t,r),e}();function jx(){return(jx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Lx(e){return function(e){if(Array.isArray(e))return Bx(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)return;if("string"==typeof e)return Bx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bx(e,t)}(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 Bx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Fx=JSON.stringify({positionFixed:!0,modifiers:{offset:{offset:"0,0"}}});function Ux(e){var t,n,r=e.pos,o=e.size,i=e.columnType,a=e.summary,l=(0,T.qp)(LT),c=l.editor,u=l.useRefs,d=new Dx({editor:c,pos:r,size:o,summary:a,columnType:i,links:u.links,format:(null===(t=u.links.col[r.col])||void 0===t?void 0:t.colFormat)||{}}).getValue(),p={};d&&(p[Gr.qZ]=d.tooltip||d.count,p[Gr.cD]=Fx);var f=["summary-value"];return d&&d.classes&&d.classes.length&&f.push.apply(f,Lx(d.classes)),(0,s.h)("div",jx({className:f.join(" "),valueLength:null==d||null===(n=d.count)||void 0===n?void 0:n.toString().length},p),null==d?void 0:d.count)}function Hx(e){return(Hx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qx(e,t){return(qx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gx(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yx(e);if(t){var o=Yx(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wx(this,n)}}function Wx(e,t){if(t&&("object"===Hx(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 Yx(e){return(Yx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zx=function(e){!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}}),t&&qx(e,t)}(i,e);var t,n,r,o=Gx(i);function i(){return Vx(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){return(0,s.h)("div",{className:"header-menu"},this.props.children)}}])&&zx(t.prototype,n),r&&zx(t,r),i}(s.wA);function Kx(e){return(Kx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xx(e,t){return(Xx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Jx(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nk(e);if(t){var o=nk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ek(this,n)}}function ek(e,t){if(t&&("object"===Kx(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tk(e)}function tk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(e){return(nk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ok=function(e){!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}}),t&&Xx(e,t)}(i,e);var t,n,r,o=Jx(i);function i(){var e;$x(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rk(tk(e=o.call.apply(o,[this].concat(n))),"onClick",(function(t){e.props.onClick&&e.props.onClick()})),rk(tk(e),"onMouseDown",(function(e){e.preventDefault()})),e}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.icon,r=e.active,o=e.disabled,i=["icon"];return r&&i.push("active"),o&&i.push("disabled"),(0,s.h)("div",{className:"header-item",onMouseDown:this.onMouseDown,onClick:this.onClick,"data-menu-id":t},(0,s.h)("div",{className:i.join(" ")},(0,s.h)(n,null)))}}])&&Qx(t.prototype,n),r&&Qx(t,r),i}(s.wA);function ik(e){var t=e.onAction;return(0,s.h)(Zx,null,(0,s.h)(ok,{onClick:t.bind(null,"align","left"),icon:ct.hID}),(0,s.h)(ok,{onClick:t.bind(null,"align","center"),icon:ct.k5Z}),(0,s.h)(ok,{onClick:t.bind(null,"align","right"),icon:ct.Qz9}),(0,s.h)(ok,{onClick:t.bind(null,"valign","top"),icon:ct.LO$}),(0,s.h)(ok,{onClick:t.bind(null,"valign","middle"),icon:ct._oX}),(0,s.h)(ok,{onClick:t.bind(null,"valign","bottom"),icon:ct.PKJ}))}function ak(){return(ak=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function sk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sk(Object(n),!0).forEach((function(t){ck(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ck(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||dk(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 dk(e,t){if(e){if("string"==typeof e)return pk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pk(e,t):void 0}}function pk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fk,hk=Array.from(Je);function mk(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.onAction,r=t.getStyle,o=(0,T.eJ)(r()),i=uk(o,2),a=i[0],l=i[1],c=[{name:"bold",icon:ct.lM8},{name:"italic",icon:ct.C9_},{name:"strikethrough",icon:ct.dZu},{name:"underline",icon:ct.xxo}],u=function(e){var t=ck({},e,!0!==(null==a?void 0:a[e])||null);n.bind(null)("style",t),l(lk(lk({},a||{}),t))},d=c.reduce((function(t,n){return t.push((0,s.h)(Cn.Z,{id:"text-formatting-".concat(n.name),icon:null!=a&&a[n.name]?ct.EZi:n.icon,onClick:u.bind(e,n.name),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.".concat(n.name)},n.name)})),t}),[]);return(0,s.h)(At.Z,t,d)}function gk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onAction;return(0,s.h)(At.Z,e,(0,s.h)(Cn.Z,{id:"halign-left",icon:ct.hID,onClick:t.bind(null,"align","left"),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.align_left"},"Left")}),(0,s.h)(Cn.Z,{id:"halign-center",icon:ct.k5Z,onClick:t.bind(null,"align","center"),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.align_center"},"Center")}),(0,s.h)(Cn.Z,{id:"halign-right",icon:ct.Qz9,onClick:t.bind(null,"align","right"),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.align_right"},"Right")}),(0,s.h)(Pn,null),(0,s.h)(Cn.Z,{id:"valign-top",icon:ct.LO$,onClick:t.bind(null,"valign","top"),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.valign_top"},"Top")}),(0,s.h)(Cn.Z,{id:"valign-middle",icon:ct._oX,onClick:t.bind(null,"valign","middle"),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.valign_center"},"Middle")}),(0,s.h)(Cn.Z,{id:"valign-bottom",icon:ct.PKJ,onClick:t.bind(null,"valign","bottom"),text:(0,s.h)(pe.xv,{id:"table.formatting_menu.valign_bottom"},"Bottom")}))}function yk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.editor,n=e.onAction,r=e.type,o=e.allowTextStyle,i=e.useRefs,a=e.selection,l=function(){var e,t,n={};if(o&&a.start)if("col"===r)n=(null===(e=i.links.col[a.start.col])||void 0===e||null===(t=e.colData)||void 0===t?void 0:t.style)||{};else if("row"===r){var s,l;n=(null===(s=i.links.row[a.start.row])||void 0===s||null===(l=s.rowData)||void 0===l?void 0:l.style)||{}}else if("cell"===r){var c,u,d,p,f=null===(c=i.links.cell[a.start.row])||void 0===c||null===(u=c[a.start.col])||void 0===u||null===(d=u.cellData)||void 0===d||null===(p=d.child)||void 0===p?void 0:p.delta;null!=f&&f.length&&(n=f[0].attributes||{})}return n},c=(0,T.eJ)(l()),u=uk(c,2),d=u[0],p=u[1],f=function(e){n("style",{color:e}),p(l())},h=[];return o&&h.push((0,s.h)(Cn.Z,{id:"text-formatting",icon:ct.lM8,text:(0,s.h)(pe.xv,{id:"table.formatting_menu.text"},"Text"),submenu:(0,s.h)(mk,{editor:t,onAction:n,getStyle:l.bind(this),anchorOptions:e.anchorOptions})})),h.push((0,s.h)(Cn.Z,{id:"align",icon:ct.k5Z,text:(0,s.h)(pe.xv,{id:"table.formatting_menu.text_align"},"Text align"),submenu:(0,s.h)(gk,{editor:t,onAction:n,anchorOptions:e.anchorOptions})})),o&&h.push((0,s.h)(Cn.Z,{id:"text-formatting-color",icon:ct.Zlx,text:(0,s.h)(pe.xv,{id:"table.formatting_menu.text_color"},"Text color"),submenu:(0,s.h)(us,{mode:"mat-font-color",resetColor:!1,color:gs(d.color)||!1,colors:hk,onColorPicked:f,addClassName:"popup-menu-colorpicker popup-menu-wide popup-menu-builtin",anchorOptions:e.anchorOptions})})),(0,s.h)(At.Z,ak({addClassName:"with-submenu"},e),h)}function vk(e){return(vk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bk(){return(bk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wk(e,t){return(wk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ck(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xk(e);if(t){var o=xk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Sk(this,n)}}function Sk(e,t){if(t&&("object"===vk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ek(e)}function Ek(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xk(e){return(xk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}hk.push.apply(hk,function(e){if(Array.isArray(e))return pk(e)}(fk=Ze)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(fk)||dk(fk)||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.")}());var kk=function(e){!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}}),t&&wk(e,t)}(i,e);var t,n,r,o=Ck(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=Ek(t),a=function(e){e&&(t.rootNode=e)},(r="onRef")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.state={open:!1},t}return t=i,(n=[{key:"render",value:function(){var e=this.props.text,t={};return t[Gr.qZ]=e,t[Gr.Bg]="hint-tooltip",t[Gr.cD]=JSON.stringify({placement:"top-start"}),(0,s.h)("div",bk({ref:this.onRef,className:"component-hint"},t),(0,s.h)(ct.BS3,null))}}])&&_k(t.prototype,n),r&&_k(t,r),i}(s.wA);function Ok(){return(Ok=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Tk(e){var t=e.menuItems,n=e.anchorNode,r=e.wantsToClose,o=e.anchorOptions,i=void 0===o?{}:o,a=(0,T.qp)(LT).editor,l=a.plugins.i18n,c=(0,T.sO)(null);KC(a,c);var u={overflowBoundariesElement:a.getScrollingContainer(),boundariesElement:a.getScrollingContainer()},d=function e(t){return Object.keys(t).reduce((function(n,o){var i=t[o];if("menu-header"===o)n.push((0,s.h)(ik,{onAction:i.onAction}));else if("separator"===o&&!0===i)n.push((0,s.h)(Pn,null));else if(i){var c={};if(i.submenu?c.submenu=(0,s.h)(At.Z,{anchorOptions:u},e(i.submenu)):"background"===o?c.submenu=(0,s.h)(us,{color:i.value,onColorPicked:i.onAction,colors:Je,addClassName:"popup-menu-colorpicker popup-menu-wide popup-menu-builtin",anchorOptions:u}):"formatting"===o&&(c.submenu=(0,s.h)(yk,{editor:a,onAction:i.onAction,type:i.type,useRefs:i.useRefs,selection:i.selection,allowTextStyle:i.allowTextStyle,anchorOptions:u})),!c.submenu&&i.onAction&&(c.onClick=function(){i.disabled||(i.keepMenu||r(),i.selected&&!i.clickOnSelected||i.onAction())}),i.text){var d={};i.hasOwnProperty("plural")&&(d.plural=i.plural,d.fields={count:parseInt(i.plural)||1});var p=(0,s.h)(pe.xv,Ok({id:i.text},d));if(i.textIcon)"right"===i.iconPosition?c.text=(0,s.h)("span",{className:"menu-item-flex"},(0,s.h)("span",{className:"left"},p),(0,s.h)("span",{className:"right"},(0,s.h)(i.textIcon,null))):c.text=(0,s.h)("span",{className:"content"},(0,s.h)("span",{className:"ico"},(0,s.h)(i.textIcon,null)),(0,s.h)("span",{className:"name"},p));else if(i.hint)c.text=(0,s.h)("span",{className:"flex"},p,(0,s.h)(kk,{text:l.get(i.hint)}));else if(i.rightText)c.text=(0,s.h)("span",{className:"menu-item-flex"},(0,s.h)("span",{className:"left"},p),(0,s.h)("span",{className:"right"},i.rightText));else if(i.rightInput){for(var f={},h=0,m=["type","value","min","max","placeholder","maxLength","onClick"];h<m.length;h++){var g=m[h];i.rightInput.hasOwnProperty(g)&&(f[g]=i.rightInput[g])}c.text=(0,s.h)("span",{className:"menu-item-flex"},(0,s.h)("span",{className:"left"},p),(0,s.h)("span",{className:"right"},(0,s.h)(ms,Ok({onApply:i.rightInput.onAction},f))))}else c.text=p}if(c.menuStyle=[],i.header&&c.menuStyle.push("header"),i.wide&&c.menuStyle.push("wide"),i.hasOwnProperty("disabled")&&c.menuStyle.push(i.disabled?"disabled":"enabled"),i.hasOwnProperty("selected")&&(c.icon=i.selected?ct.EZi:"",c.menuStyle.push(i.selected?"done":"undone")),i.hasOwnProperty("className")&&(c.className=i.className),i.type&&"number"===i.type){c.menuStyle.push("input");for(var y={},v=0,b=["type","value","min","max","placeholder"];v<b.length;v++){var _=b[v];i.hasOwnProperty(_)&&(y[_]=i[_])}c.text=(0,s.h)("span",null,c.text,(0,s.h)(ms,Ok({onApply:i.onAction},y)))}n.push((0,s.h)(Cn.Z,Ok({id:o},c)))}return n}),[])}(t);Object.assign(i,u);return(0,s.h)(HS,{editor:a,transitionName:"popup-menu",transitionTimeout:bt.popupAppearDuration},(0,s.h)(pe.Pj,null,(0,s.h)(At.Z,{ref:c,addClassName:"with-submenu position-absolute",closeOnEsc:!0,anchorNode:n,wantsToClose:r,anchorOptions:i,onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},d)))}function Ak(e){var t,n=e.columnType,r=e.summary,o=e.anchorNode,i=e.onAction,a=e.wantsToClose,l=null===(t=Lr[n])||void 0===t?void 0:t.summaries,c={};return Object.keys(l).map((function(e){var t=l[e];c[e]={text:"table.summary.name.".concat(t.mode),selected:t.mode===r.mode,onAction:i.bind(null,t)}})),(0,s.h)(Tk,{menuItems:c,wantsToClose:a,anchorNode:o,anchorOptions:{placement:"right-start",priority:["top","bottom"],positionFixed:!0}})}function Pk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Rk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rk(e,t)}(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 Rk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ik(e){var t,n=e.pos,r=e.size,o=(0,T.qp)(LT),i=o.i18n,a=o.data,l=o.setProp,c=o.useRefs,u=o.editable,d=o.globalConfig,p=a.colsData[n.col]||{},f=Pk((0,T.eJ)(0),2),h=f[0],m=f[1],g=Pk((0,T.eJ)(!1),2),y=g[0],v=g[1],b=Pk((0,T.eJ)(null),2),_=b[0],w=b[1],C=(0,T.sO)(null),S=p.columnType||M.col.props.columnType,E=_||p.summary||{mode:Object.keys(null===(t=Lr[S])||void 0===t?void 0:t.summaries)[1]},x=["summary-item"],k=["summary-name"],O=function(){m(h+1)};c.setSummary(n,{render:O.bind(this)});var A,P,R,I,N,D=function(e){u?l("summary",e,{pos:n,type:"col"}):w(e)},j=(0,T.sO)(null),L=i.get("table.summary.item.".concat(E.mode))||i.get("table.summary.name.".concat(E.mode));return-1!==L.indexOf(" ")&&k.push("overflow-ellipsis"),"none"!==E.mode?(P=":",R=(0,s.h)(Ux,{pos:n,size:r,summary:E,columnType:S}),0===E.mode.indexOf("filter")&&(A=(0,s.h)("input",{className:"summary-input",maxLength:"4",ref:j,value:E.filter,maxValue:E.max||100,onMouseDown:function(e){e.stopPropagation()},onKeyDown:function(e){[8,13,27,37,38,39,40].includes(e.keyCode)||(1!==e.key.length||isNaN(e.key)&&(j.current.value||!["<",">"].includes(e.key)))&&e.preventDefault()},onKeyUp:function(e){if((0,Rn.ZP)("enter",e)){var t=String(j.current.value);if(t!==String(E.filter)){if(E&&E.max){var n=t.replace(/[^0-9]*/g,"");n&&parseInt(n)>E.max&&(t=isNaN(parseInt(t[0]))?"".concat(t[0]).concat(E.max):E.max.toString())}D(Object.assign({},E,{filter:t})),O()}}},browser:(0,ri.Ao)()}))):x.push("fade-out"),null!=d&&d.disableSummariesMenu?x.push("hover-disabled"):(I=(0,s.h)("span",{ref:C,className:"summary-menu-icon"},y?(0,s.h)(ct.Ec8,null):(0,s.h)(ct.BDo,null)),y&&(x.push("menu-active"),N=(0,s.h)(Ak,{summary:E,columnType:S,anchorNode:null==C?void 0:C.current,onAction:D.bind(this),wantsToClose:v.bind(this,!1)}))),(0,s.h)("div",{className:["summary-wrap"].join(" ")},(0,s.h)("div",{className:x.join(" "),onMouseDown:function(e){e.preventDefault(),v(!y)},onContextMenu:function(e){e.preventDefault(),v(!y)}},(0,s.h)("span",{className:k.join(" ")},L),A,P,R,I,N))}function Mk(e){var t=e.size,n=(0,T.qp)(LT),r=n.data,o=n.editable,i=n.useRefs,a=[];for(var l in i.links.big.byCol)for(var c in i.links.big.byCol[l]){var u=i.links.big.byCol[l][c];if(u.colspan>1)for(var d=parseInt(l),p=d+parseInt(u.colspan),f=d;f<p;f++)a.includes(f)||a.push(f)}for(var h=[],m=0;m<t.cols;m++){var g=void 0;r.settings.showSummaries&&(a.includes(m)||(g=!0)),h.push((0,s.h)("td",null,g?(0,s.h)(Ik,{size:t,pos:{col:m}}):null))}return(0,s.h)("tfoot",null,(0,s.h)("tr",null,(0,s.h)("td",{className:"add-row"},o?(0,s.h)(PC,null):null),(0,s.h)("td",null),h))}function Nk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nk(Object(n),!0).forEach((function(t){jk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Bk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bk(e,t)}(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 Bk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Uk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uk(e,t)}(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 Uk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hk(e){var t=e.useRefs.links,n=Fk((0,T.eJ)({session:!1,mode:null,pos:null}),2),r=n[0],o=n[1],i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(r,e),o(Object.assign({},r))},a=function(){document.addEventListener("mouseup",s,!0),document.addEventListener("mousemove",l,!0)},s=function(e){c(e,{save:!0}),u()},l=function(e){c(e)},c=function(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("col"===r.mode)null===(n=t.col[r.pos.col])||void 0===n||n.onResize(e,o);else if("row"===r.mode){var i;null===(i=t.row[r.pos.row])||void 0===i||i.onResize(e,o)}},u=function(){document.removeEventListener("mouseup",s,!0),document.removeEventListener("mousemove",l,!0),i({pos:null,mode:null,session:!1})};return{resize:r,sessionStart:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(),i({pos:t,mode:e,session:!0})},sessionEnd:u}}function Vk(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Yk(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function zk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zk(Object(n),!0).forEach((function(t){Gk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Yk(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 Yk(e,t){if(e){if("string"==typeof e)return Zk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zk(e,t):void 0}}function Zk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kk(e){var t=e.editor,n=e.version,r=e.data,o=e.useRefs,i=e.useUtils,a=e.tableExec,s=e.renderWithFilter,l=t.plugins.selectionScroller,c=o.links,u=null,d={current:null,enter:null,start:null,end:null,last:null,mode:null},p=Wk((0,T.eJ)(qk({session:!1,mode:null},d)),2),f=p[0],h=p[1],m=Wk((0,T.eJ)(f),2),g=m[0],y=m[1],v=(0,T.sO)(!1),b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign(f,e);(0,fe.Xy)(f,t)||h(t)},_=function(){document.addEventListener("mouseup",w,!0)},w=function(){S()},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(),u=setTimeout((function(){b({session:!0})}),e.timeout?M.selection.timeout:0)},S=function(){document.removeEventListener("mouseup",w,!0),clearTimeout(u),f.session&&b({session:!1})},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.session&&C({timeout:!0}),N();var n,r,o=null;e.hasOwnProperty("row")&&e.hasOwnProperty("col")?(r=e,o="cell"):e.hasOwnProperty("col")?(o="col",r=Object.assign({row:0},e),n=Object.assign({row:c.row.length-1},e)):e.hasOwnProperty("row")&&(o="row",r=Object.assign({col:0},e),n=Object.assign({col:c.col.length-1},e),t.tempRow&&(v.current=!0)),c.cell[r.row]&&c.cell[r.row][r.col].setCurrent(!0),t.ensureCellVisible&&x(r),j(n||e,r),b({current:r,enter:r,mode:o}),O(),y(qk({},f))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.current;if(e.hasOwnProperty("row")&&e.hasOwnProperty("col")){var t,n,r,i=null===(t=(n=c.cell[e.row][e.col]).getNode)||void 0===t?void 0:t.call(n);if(i)l.ensureNodeVisible(i,{offset:Math.max(100,i.offsetHeight+20)}),null===(r=o.links.ui.scroll)||void 0===r||r.scrollTo(i)}},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;if(t.force&&!f.current)E(e);else if(f.session||t.force){var r=Object.assign({},e);if("col"===f.mode?r.row=c.row.length-1:"row"===f.mode?r.col=c.col.length-1:(r.col=r.col||0,r.row=r.row||0),r.hasOwnProperty("col")&&r.hasOwnProperty("row")){var o,i=j(r),a=i.start,s=i.end;if(b({enter:r}),t.menu)null===(o=c.ui["cell-menu-btn"])||void 0===o||o.setTarget(s);n={start:a,end:s}}}return O(e),n},O=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;f.last&&(t=f.last),null===(e=c.ui["cell-menu-btn"])||void 0===e||e.setTarget(t)},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.current,t=null;return e&&(t=c.cell[e.row][e.col]),t},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=qk({},t);if("up"===e){n.row=0;for(var r=t.row-1;r>=0;r--){var o,i,a=null===(o=c.cell[r])||void 0===o?void 0:o[t.col];if(a&&!a.empty&&(null===(i=a.cellData)||void 0===i||!i.hidden)){n.row=r;break}}}else if("down"===e){var s=c.row.length-1;n.row=s;for(var l=t.row+1;l<=s;l++){var u,d,p=null===(u=c.cell[l])||void 0===u?void 0:u[t.col];if(p&&!p.empty&&(null===(d=p.cellData)||void 0===d||!d.hidden)){n.row=l;break}}}else if("left"===e){n.col=0;for(var f=t.col-1;f>=0;f--){var h,m,g=null===(h=c.cell[t.row])||void 0===h?void 0:h[f];if(g&&!g.empty&&(null===(m=g.cellData)||void 0===m||!m.hidden)){n.col=f;break}}}else if("right"===e){var y=c.col.length-1;n.col=y;for(var v=t.col+1;v<=y;v++){var b,_,w=null===(b=c.cell[t.row])||void 0===b?void 0:b[v];if(w&&!w.empty&&(null===(_=w.cellData)||void 0===_||!_.hidden)){n.col=v;break}}}return n},R=(0,T.I4)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!1,r={row:0,col:0};t.selection&&f.enter?r=Object.assign(r,f.enter):f.current&&(r=Object.assign(r,f.current));var o,i={colspan:1,rowspan:1},a=A(r);return null!=a&&a.cellProps&&(i.rowspan=a.cellProps.rowspan?a.cellProps.rowspan:1,i.colspan=a.cellProps.colspan?a.cellProps.colspan:1),t.filled&&(o=P(e,r)),"up"===e?t.end?r.row=0:t.filled?r.row=o.row:r.row=Math.max(0,r.row-1):"down"===e?t.end?r.row=c.row.length-1:t.filled?r.row=o.row:r.row=Math.min(r.row+i.rowspan,c.row.length-1):"left"===e?(t.end?r.col=0:t.filled?r.col=o.col:r.col=Math.max(0,r.col-1),n=!0):"right"===e&&(t.end?r.col=c.col.length-1:t.filled?r.col=o.col:r.col=Math.min(r.col+i.colspan,c.col.length-1),n=!0),r=I(r),t.selection?(k(r,{force:!0}),n=!0):(0,fe.Xy)(r,f.current)&&(0,fe.Xy)(f.start,f.end)||(E(r,{ensureCellVisible:!0}),n=!0),n}),[n]),I=function(e){for(var t=null,n=e.row;n>=0;n--){for(var r=e.col;r>=0;r--){var o,i,a=null===(o=c.cell[n])||void 0===o||null===(i=o[r])||void 0===i?void 0:i.cellProps;if(!a.hidden){n+(a.rowspan||1)-1>=e.row&&r+(a.colspan||1)-1>=e.col&&(t={row:n,col:r});break}}if(t)break}return t},N=function(){if(f.current){var e,t,n,r;if(null===(e=c.cell[f.current.row])||void 0===e||null===(t=e[f.current.col])||void 0===t||t.setCurrent(!1),s())Array.from(null===(n=c.ui.table)||void 0===n||null===(r=n.getNode())||void 0===r?void 0:r.querySelectorAll("tbody tr td")).filter((function(e){return e.classList.contains("current")})).forEach((function(e){e.classList.remove("current"),e.classList.remove("selected")}));return!0}return!1},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.cell[e.row][e.col].cellProps;var t=c.cell[e.row][e.col].cellProps,n=t.rowspan,r=void 0===n?1:n,o=t.colspan,i=void 0===o?1:o,a=t.hidden,s=void 0!==a&&a,l={pos:qk({},e),rowspan:r,colspan:i,merged:r>1||i>1};if(s)for(var u=e.row;u>=0;u--){for(var d=e.col;d>=0;d--){var p=c.cell[u][d].cellProps,f=p.rowspan,h=void 0===f?1:f,m=p.colspan,g=void 0===m?1:m,y=p.hidden,v=void 0!==y&&y;if(!v){u+h-1>=e.row&&d+g-1>=e.col&&(l={pos:{row:u,col:d},rowspan:h,colspan:g,merged:h>1||g>1,main:!1});break}}if(l.pos)break}else l.main=!0;return l.end={row:l.pos.row+l.rowspan-1,col:l.pos.col+l.colspan-1},l},j=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.current,o={row:Math.min(e.row,r.row),col:Math.min(e.col,r.col)},i={row:Math.max(e.row,r.row),col:Math.max(e.col,r.col)},a={row:0,col:0},s=[],l=function(){for(var e=o.row;e<=i.row;e++)for(var n=o.col;n<=i.col;n++){var r,l;if(!t||e<=t.start.row||e>=t.end.row||n<=t.start.col||n>=t.end.col)if(null!==(r=c.cell[e])&&void 0!==r&&null!==(l=r[n])&&void 0!==l&&l.cellProps){var u=c.cell[e][n].cellProps,d=u.rowspan,p=void 0===d?1:d,f=u.colspan,h=void 0===f?1:f,m=u.hidden,g=void 0!==m&&m;if(h>1||p>1||g){var y,v=!1,b=Vk(s);try{for(b.s();!(y=b.n()).done;){var _=y.value;if(e>=_.pos.row&&e<=_.end.row&&n>=_.pos.col&&n<=_.end.col){v=!0;break}}}catch(e){b.e(e)}finally{b.f()}if(!v){var w=D({row:e,col:n});s.push(w),o.row=Math.min(o.row,w.pos.row),o.col=Math.min(o.col,w.pos.col),i.row=Math.max(i.row,w.end.row),i.col=Math.max(i.col,w.end.col)}}if(!g){var C=n+h-1;e+p-1>=a.row&&C>=a.col&&(a.row=e,a.col=n)}}}t={start:{row:o.row,col:o.col},end:{row:i.row,col:i.col}}},u=0;do{n={start:Object.assign({},o),end:Object.assign({},i)},l()}while(u++<3&&(i.col!==n.end.col||i.row!==n.end.row||o.col!==n.start.col||o.row!==n.start.row));return L({start:o,end:i}),b({start:o,end:i,last:a}),{start:o,end:i,last:a}},L=function(e){var t=e.start,n=e.end,o=t&&n,i=o&&0===t.col&&n.col===c.col.length-1,s=o&&0===t.row&&n.row===c.row.length-1,l=i&&s;if(!l&&f.start&&f.end){for(var u=f.start.row;u<=f.end.row;u++){for(var d,p=!1,h=f.start.col;h<=f.end.col;h++){var m,g;if(!o||!t.col||!n.col||h<t.col||h>n.col||u<t.row||u>n.row)null===(m=c.cell[u])||void 0===m||null===(g=m[h])||void 0===g||g.setSelected(!1),p=!0}if(p)null===(d=c.row[u])||void 0===d||d.setSelected(!1)}for(var y=f.start.col;y<=f.end.col;y++){var b;null===(b=c.col[y])||void 0===b||b.setSelected(!1)}}if(o){for(var _=t.row;_<=n.row;_++){for(var w=t.col;w<=n.col;w++){var C,S;null===(C=c.cell[_])||void 0===C||null===(S=C[w])||void 0===S||S.setSelected(!0)}var E;if(i)null===(E=c.row[_])||void 0===E||E.setSelected(!0)}if(s)for(var x=t.col;x<=n.col;x++){var k;null===(k=c.col[x])||void 0===k||k.setSelected(!0)}}else{var O,T;if(f.current)null===(O=c.cell[f.current.row])||void 0===O||null===(T=O[f.current.row])||void 0===T||T.setCurrent(!1)}if(c.ui.circle.setSelected(!!l),r.props.tempRow&&v.current){var A=Object.keys(r.rowsData).find((function(e){return r.rowsData[e].id===r.props.tempRow}));A&&(!o||t.row!==parseInt(A)&&n.row!==parseInt(A))&&(v.current=!1,a("unset-temp-row"))}},B=function(){var e=[];if(f.start&&f.end)for(var t=f.start.row;t<=f.end.row;t++)e.push(t);return e},F=function(){var e=[];if(f.start&&f.end)for(var t=f.start.col;t<=f.end.col;t++)e.push(t);return e},U=function(){f.start&&f.end&&j(f.end,f.start)};return(0,T.d4)((function(){U()}),[n]),{selection:f,selectionCache:g,extra:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},f,{rows:B().length,cols:F().length,single:!1,lastRow:!1,lastRowEnd:!1});if(f.start&&f.last){if(f.start.row===f.last.row&&f.start.col===f.last.col&&(t.single=!0),f.start.row===c.row.length-1?(t.lastRow=!0,t.lastRowEnd=!0):f.end.row===c.row.length-1&&(t.lastRowEnd=!0),e.merged&&(t.merged=i.isMerged(f.start,f.end)),e.cellsInfo){t.cellsInfo={types:[]};for(var n=f.start.row;n<=f.last.row;n++)for(var r=f.start.col;r<=f.last.col;r++){var a,s,l=null===(a=o.links.cell[n])||void 0===a?void 0:a[r],u=null==l||null===(s=l.cellData)||void 0===s?void 0:s.cellType;u&&!t.cellsInfo.types.includes(u)&&t.cellsInfo.types.push(u)}}if(e.colsInfo){t.colsInfo={sameType:null,data:{}};for(var d=f.start.col;d<=f.last.col;d++){var p=o.links.col[d];t.colsInfo.data[d]=p.colData;var h=p.colData.columnType||"none";null===t.colsInfo.sameType?t.colsInfo.sameType=h:h!==t.colsInfo.sameType&&(t.colsInfo.sameType=!1)}}}return t},recalculate:U,rows:B,cols:F,inSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=f.start,n=f.last;return!!(t&&n&&t.row<=e.row&&e.row<=n.row&&t.col<=e.col&&e.col<=n.col)},sessionStart:C,sessionEnd:S,setCurrent:E,setSelection:k,moveSelection:R,shiftSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(f.start&&f.end){var t={row:f.start.row+(e.rows||0),col:f.start.col+(e.cols||0)},n={row:f.end.row+(e.rows||0),col:f.end.col+(e.cols||0)};E(t),k(n,{force:!0})}},getFilledOrEdgeCell:P,selectAll:function(){var e={col:0,row:0},t={row:c.row.length-1,col:c.col.length-1};L({start:e,end:t}),b({start:e,end:t,last:t}),O()},unselectAll:function(){L(qk({},d)),N(),b(qk({},d)),O(null)},ensureCellVisible:x}}function $k(e){return($k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Xk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xk(e,t)}(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 Xk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Jk=[["arrowup","up"],["arrowdown","down"],["arrowright","right"],["arrowleft","left"],["tab","right"],["shift+tab","left"],["mod+arrowup","up",{filled:!0}],["mod+arrowdown","down",{filled:!0}],["mod+arrowright","right",{filled:!0}],["mod+arrowleft","left",{filled:!0}],["shift+arrowup","up",{selection:!0}],["shift+arrowdown","down",{selection:!0}],["shift+arrowright","right",{selection:!0}],["shift+arrowleft","left",{selection:!0}],["mod+shift+arrowup","up",{selection:!0,end:!0}],["mod+shift+arrowdown","down",{selection:!0,end:!0}],["mod+shift+arrowright","right",{selection:!0,end:!0}],["mod+shift+arrowleft","left",{selection:!0,end:!0}],["esc","unselect"],["enter","edit",{isEnter:!0}],["letter","edit"],["number","edit"]];function eO(e){return(eO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tO(e,t){return(tO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oO(e);if(t){var o=oO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rO(this,n)}}function rO(e,t){if(t&&("object"===eO(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 oO(e){return(oO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var iO=function(e){!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}}),t&&tO(e,t)}(n,e);var t=nO(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function aO(e){return(aO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sO(e,t){return(sO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uO(e);if(t){var o=uO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cO(this,n)}}function cO(e,t){if(t&&("object"===aO(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 uO(e){return(uO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}iO.type="copy-cells";var dO=function(e){!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}}),t&&sO(e,t)}(n,e);var t=lO(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function pO(e){return(pO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fO(e,t){return(fO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gO(e);if(t){var o=gO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mO(this,n)}}function mO(e,t){if(t&&("object"===pO(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 gO(e){return(gO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}dO.type="convert-table-cells";var yO=function(e){!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}}),t&&fO(e,t)}(n,e);var t=hO(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function vO(e){return(vO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bO(e,t){return(bO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=CO(e);if(t){var o=CO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wO(this,n)}}function wO(e,t){if(t&&("object"===vO(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 CO(e){return(CO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}yO.type="convert-table-column";var SO=function(e){!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}}),t&&bO(e,t)}(n,e);var t=_O(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function EO(e){return(EO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xO(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=PO(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function kO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function OO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kO(Object(n),!0).forEach((function(t){TO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||PO(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 PO(e,t){if(e){if("string"==typeof e)return RO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RO(e,t):void 0}}function RO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function IO(e){var t=this,n=e.editor,r=e.data,o=e.tableExec,i=e.onTableAction,a=e.useRefs,l=e.useSelection,c=e.useFilter,u=AO((0,T.eJ)(null),2),d=u[0],p=u[1],f=AO((0,T.eJ)({}),2),h=f[0],m=f[1],g=AO((0,T.eJ)({}),2),y=g[0],v=g[1],b=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null==e?void 0:e.target;w(),v(Object.assign(y,{event:e,type:t,anchor:n,props:{}})),p(!0)},_=function(){p(!1),w()},w=function(){v({}),m({})},C=function(){var e=l.selection,t=e.start,n=e.last;o("merge-cells",{start:t,last:n})&&l.setCurrent(t)},S=function(){var e=l.selection.start;o("divide-cells",{pos:e}),l.setCurrent(e)},E=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"after",i=l.extra(),a={count:null!==(e=r.props.filter)&&void 0!==e&&null!==(t=e.filters)&&void 0!==t&&t.length?1:i.rows};"after"===n?a.after=i.end.row:"before"===n&&(a.before=i.start.row),o("add-row",a),"before"===n&&l.shiftSelection({rows:i.rows})},x=function(){var e=l.selection,t=e.start,n=e.last;l.unselectAll(),o("delete-rows",{start:t,last:n})},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"after",t=l.extra(),n={count:t.cols};"after"===e?n.after=t.end.col:"before"===e&&(n.before=t.start.col),o("add-col",n),"before"===e&&l.shiftSelection({cols:t.cols})},O=function(){var e=l.extra(),t={start:{col:e.start.col},count:e.cols};o("duplicate-column",t)},A=function(){var e=l.selection,t=e.start,n=e.last;l.unselectAll(),o("delete-cols",{start:t,last:n})},P=function(){var e=l.selection,t=e.start,n=e.last;o("clear-cells",{start:t,last:n})},R=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=l.selection.start;o(e?"sort-table-column":"exit-sort-table-column",{pos:t,order:e})},I=function(e){o("comment-cell",{pos:e})},M=function(){var e=l.selection.start;o("open-filter",{col:e.col})&&c.toggleFilter(e.col,{anchorCol:e.col})},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"cell",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=l.selection,i=r.start,a=r.last;o("set-prop",{start:i,last:a,type:e,key:t,val:n})},D=function(){var e,t=l.selection.start;null===(e=a.links.col[t.col])||void 0===e||e.rename()},j=function(){var e=l.selection,t=e.start,r=e.last;i(new iO(iO.type,{start:t,last:r},n))},L=function(e,t){var r=l.selection,o=r.start,a=r.last;o&&a&&("cell"===e?i(new dO(dO.type,{start:o,last:a,type:t},n)):"col"===e&&i(new yO(yO.type,{start:o,last:a,type:t},n)))},B=function(e,t,r,o){var a=l.selection,s=a.start,c=a.last;m(OO(OO({},h),TO({},r,o))),"cell"===e?i(new yS(yS.type,{start:s,last:c,type:t,prop:r,value:o},n)):"col"===e&&i(new SO(SO.type,{start:s,last:c,type:t,prop:r,value:o},n))},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"cell",t=arguments.length>1?arguments[1]:void 0,n=l.selection,o=n.start,i=n.last,a=null;if("row"===e&&o&&i)for(var s=o.row;s<=i.row;s++){var c;if(null===(c=r.rowsData[s])||void 0===c||!c.hasOwnProperty(t)||null!==a&&a!==r.rowsData[s][t]){a=!1;break}a=r.rowsData[s][t]}return a},U=function(){};return{getMenu:function(){var e,o=null;if(d){var i,c,u,p,f,m,g=l.extra({merged:!0,cellsInfo:!0,colsInfo:!0}),v=(null===(i=g.cellsInfo)||void 0===i?void 0:i.types)||[],b=ye(v,["text","number","currency"]),w=ye(v,["text"]);if(!g.start)return console.warn("Call getMenu without selection",g),null;var T={},H={"menu-header":!!b&&{onAction:N.bind(t,y.type)},"add-row-before":!r.props.hasOwnProperty("sortableColumn")&&{text:"table.row_menu.add_row_before",plural:null!==(c=r.props.filter)&&void 0!==c&&null!==(u=c.filters)&&void 0!==u&&u.length?1:g.rows,onAction:E.bind(t,"before")},"add-row-after":!r.props.hasOwnProperty("sortableColumn")&&{text:"table.row_menu.add_row_after",plural:null!==(p=r.props.filter)&&void 0!==p&&null!==(f=p.filters)&&void 0!==f&&f.length?1:g.rows,onAction:E.bind(t,"after")},"delete-rows":{text:"table.menu.delete_row",plural:g.rows,onAction:x.bind(t)},"add-col-before":{text:"table.col_menu.add_column_before",plural:g.cols,onAction:k.bind(t,"before")},"add-col-after":{text:"table.col_menu.add_column_after",plural:g.cols,onAction:k.bind(t,"after")},"duplicate-cols":{text:"table.col_menu.duplicate_column",plural:g.cols,onAction:O.bind(t)},"delete-cols":{text:"table.menu.delete_column",plural:g.cols,onAction:A.bind(t)},rename:1===g.cols&&{text:"table.col_menu.rename",onAction:D.bind(t)},merge:!g.single&&!1!==g.colsInfo.sameType&&{text:"table.menu.merge_cells",onAction:C.bind(t)},divide:!(!g.single||null===(m=g.merged)||void 0===m||!m.cells)&&{text:"table.menu.divide_cells",onAction:S.bind(t)},background:{text:"table.menu.background_color",value:F(y.type,"color"),onAction:N.bind(t,y.type,"color")},formatting:!!b&&{allowTextStyle:w,type:y.type,selection:g,useRefs:a,text:"table.menu.formatting",onAction:N.bind(t,y.type)},copy:{text:"table.menu.copy_cell",plural:g.single?1:2,onAction:j.bind(t)},clear:{text:"table.menu.clear",onAction:P.bind(t,y.type)}};if("cell"===y.type||"col"===y.type){var V,z,q,G=function(e){var t=l.selection,n=t.start,r=t.last,o=[];if(n&&r)for(var i=n.col;i<=r.col;i++){var s,c=null===(s=a.links.col[i])||void 0===s?void 0:s.colData,u=null!=c&&c.hasOwnProperty(e)?c[e]:null;if(!o.includes(u)&&(o.push(u),o.length>1))break}return o.length?1===o.length?o[0]:"diff":null}("columnType")||"none",W=!1,Y=!1;"col"===y.type?(q=G,V=G):(z=function(e){var t=l.selection,n=t.start,r=t.last,o=[];if(n&&r)for(var i=n.row;i<=r.row;i++){for(var s=n.col;s<=r.col;s++){var c,u,d=null===(c=a.links.cell[i])||void 0===c||null===(u=c[s])||void 0===u?void 0:u.cellData,p=null!=d&&d.hasOwnProperty(e)?d[e]:null;if(!o.includes(p)&&(o.push(p),o.length>1))break}if(o.length>1)break}return o.length?1===o.length?o[0]:"diff":null}("cellType")||"text",V="none"!==G?G:z,"none"===G?q=z:(W=!0,Y=!0));var Z={};Y&&(Z.same={text:"table.menu.type.same_as_column",wide:!0,selected:!0,onAction:U}),"function"==typeof(e=function(e,n){"col"!==y.type&&"none"===e||(Z["set-type-".concat(e)]={text:"table.menu.type."+e,textIcon:n.icon,wide:!0,disabled:W,selected:e===q,onAction:L.bind(t,y.type,e)})})&&Object.keys(Lr).forEach((function(t){e(t,Lr[t])})),H["change-type"]={text:"table.menu.type.type_"+y.type,plural:1!==g.cols||1!==g.rows&&"col"!==y.type?2:1,submenu:Z};var K=Br(V);if(K.submenu&&K.format){var $="col"===y.type?function(e){var t=l.selection,n=t.start,r=t.last,o=!1;if(n&&r)for(var i=n.col;i<=r.col;i++){var s,c,u=Object.assign({},e,(null===(s=a.links.col[i])||void 0===s||null===(c=s.colData)||void 0===c?void 0:c.format)||{});if(o)for(var d in o)u[d]!==o[d]&&(o[d]=null);else o=u}return o}(K.format):function(e){var t=l.selection,n=t.start,r=t.last,o=!1;if(n&&r)for(var i=n.row;i<=r.row;i++)for(var s=n.col;s<=r.col;s++){var c,u,d,p=Object.assign({},e,(null===(c=a.links.cell[i])||void 0===c||null===(u=c[s])||void 0===u||null===(d=u.cellData)||void 0===d?void 0:d.format)||{});if(o)for(var f in o)p[f]!==o[f]&&(o[f]=null);else o=p}return o}(K.format);for(var Q in $)h.hasOwnProperty(Q)&&($[Q]=h[Q]);var X={};for(var J in K.submenu){var ee=K.submenu[J],te={text:ee.i18n||!1,hint:ee.hint||!1};if("function"!=typeof ee.condition||ee.condition($)){if(ee.keepMenu&&(te.keepMenu=ee.keepMenu),"header"===ee.type&&(X[ee.type+J]=OO({header:!0},te)),"radio"===ee.type){var ne,re=xO(ee.values);try{for(re.s();!(ne=re.n()).done;){var oe=ne.value,ie=B.bind(t,y.type,V,ee.prop,oe),ae=oe===$[ee.prop],se={};ee.textIcon&&"function"==typeof ee.textIcon&&(se.textIcon=ee.textIcon(oe,ae)),ee.selectedIcon&&(se.selected=ae),ee.iconPosition&&(se.iconPosition=ee.iconPosition),ee.hasOwnProperty("rightText")&&("function"==typeof ee.rightText?se.rightText=ee.rightText(oe,ae):se.rightText=ee.rightText,se.wide=!0),ee.hasOwnProperty("rightInput")&&(se.rightInput=ee.rightInput(oe,ae),"object"===EO(se.rightInput)&&(se.rightInput.value=$[se.rightInput.prop],se.rightInput.onClick=ie,se.rightInput.onAction=B.bind(t,y.type,V,se.rightInput.prop))),X["".concat(ee.prop,"_").concat(oe)]=OO(OO(OO({},se),te),{},{onAction:ie,text:ee.i18n.replace("${value}",oe)})}}catch(e){re.e(e)}finally{re.f()}}if("checkbox"===ee.type){var le=!!$[ee.prop],ce={};ee.selectedIcon&&(ce.selected=le),X[ee.prop]=OO(OO(OO({},ce),te),{},{clickOnSelected:!0,onAction:B.bind(t,y.type,V,ee.prop,!le)})}else"number"===ee.type&&(X[ee.prop]=OO(OO(OO({},ee),te),{},{placeholder:"?",value:$[ee.prop],onAction:B.bind(t,y.type,V,ee.prop)}))}}H["type-menu"]={text:"table.menu.".concat(V,"_format.name"),submenu:X},K.hasOwnProperty("className")&&(H["type-menu"].className=K.className)}}if("row"===y.type)for(var ue=0,de=["add-row-before","add-row-after","merge","background","formatting","delete-rows"];ue<de.length;ue++){var pe=de[ue];H[pe]&&(T[pe]=H[pe])}else if("col"===y.type){if(1===g.cols){var fe,he=(null===(fe=a.links.col[g.start.col])||void 0===fe?void 0:fe.colData.sortby)||!1;H.sorting={text:"table.sorting.name",submenu:{asc:{text:"table.sorting.asc.common",selected:"asc"===he,onAction:R.bind(t,"asc")},desc:{text:"table.sorting.desc.common",selected:"desc"===he,onAction:R.bind(t,"desc")},disable:!!he&&{text:"table.sorting.disable",selected:!1,onAction:R.bind(t,!1)}}},H.filter={text:"table.filter.by_field",onAction:M.bind(t)}}for(var me=0,ge=["change-type","type-menu","add-col-before","add-col-after","duplicate-cols","sorting","filter","rename","merge","background","formatting","delete-cols","clear"];me<ge.length;me++){var ve=ge[me];H[ve]&&(T[ve]=H[ve])}}else if("cell"===y.type){H["group-add"]={text:"table.menu.add",submenu:{"add-row-before":H["add-row-before"],"add-row-after":H["add-row-after"],separator:!1!==H["add-row-after"]||!1!==H["add-row-before"],"add-col-before":H["add-col-before"],"add-col-after":H["add-col-after"]}},H["group-delete"]={text:"table.menu.delete",submenu:{"delete-rows":H["delete-rows"],"delete-cols":H["delete-cols"]}},n.plugins.commentManager&&n.plugins.commentManager.options.enabled&&n.plugins.commentManager.options.tableCellComments&&g.single&&(H.comment={text:"table.menu.comment",onAction:I.bind(t,g.current)});for(var be=0,_e=["menu-header","comment","change-type","type-menu","group-add","group-delete","merge","divide","background","formatting","copy","clear"];be<_e.length;be++){var we=_e[be];H[we]&&(T[we]=H[we])}}o=(0,s.h)(Tk,{editor:n,menuItems:T,anchorNode:y.anchor,anchorOptions:{placement:"right-start",priority:["top","bottom","right","left"],positionFixed:!0},wantsToClose:_.bind(t)})}return o},showMenu:b,closeMenu:_,toggleMenu:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null==e?void 0:e.target;d?n===y.anchor&&_():b(e,t,n)}}}function MO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return NO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return NO(e,t)}(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 NO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}SO.type="format-table-column";var DO=(0,Rn.ZP)("Enter"),jO=(0,Rn.ZP)("Backspace"),LO=function(e){var t=e.ListComponent,n=e.filteredOptionsList,r=e.selectedValue,o=e.OptionComponent,i=e.onOptionClick,a=e.onOptionUnselect,l=e.multiselect,c=e.onSelectedItemsRef;return t?(0,s.h)("div",{className:"custom-select-list"},(0,s.h)(t,{options:n,selectedValue:r,OptionComponent:o,onSelect:i,onUnselect:a,onSelectedItemsRef:c})):(0,s.h)("div",{className:"custom-select-list"},n.length?n.map((function(e){var t=["option-item"],n=!1;return l&&Array.isArray(r)?r.find((function(t){return Ws()(t,e)}))&&(n=!0):Ws()(e,r)&&(n=!0),n&&t.push("selected"),(0,s.h)("span",{className:t.join(" "),onClick:i.bind(void 0,e)},o?(0,s.h)(o,{option:e,selected:n}):e.text)})):(0,s.h)("span",{style:{textAlign:"center"}},"No result"))};function BO(e){var t,n=e.options,r=void 0===n?[]:n,o=e.selected,i=void 0!==o&&o,a=e.disabled,l=void 0!==a&&a,c=e.onChange,u=void 0===c?function(){}:c,d=e.placeholder,p=void 0===d?"Select item":d,f=e.addClassName,h=void 0===f?"":f,m=e.search,g=e.multiselect,y=e.hideSelected,v=void 0!==y&&y,b=e.dontCloseOnSelect,_=void 0!==b&&b,w=e.optionComponent,C=void 0===w?null:w,S=e.selectedItemComponent,E=void 0===S?null:S,x=e.selectedComponent,k=void 0===x?null:x,O=e.listComponent,A=void 0===O?null:O,P=(0,T.sO)(null),R=(0,T.sO)(null),I=MO((0,T.eJ)(null),2),M=I[0],N=I[1],D=MO((0,T.eJ)(!1),2),j=D[0],L=D[1],B=MO((0,T.eJ)(!1),2),F=B[0],U=B[1],H=MO((0,T.eJ)(g?[]:{}),2),V=H[0],z=H[1],q=MO((0,T.eJ)(""),2),G=q[0],W=q[1],Y=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];z(e),t&&u(e),m&&(G&&W(""),g&&setTimeout((function(){R.current.focus()}),100))},Z=function(e,t){if(_&&t.stopPropagation(),g){var n=Array.from(V),r=n.findIndex((function(t){return Ws()(t,e)}));r>=0?n.splice(r,1):n.push(e),Y(n)}else Y(e)},K=function(e){if(g||Array.isArray(V)){var t=V.findIndex((function(t){return Ws()(t,e)}));if(t>=0){var n=Array.from(V);n.splice(t,1),Y(n)}}else console.error("it is not possible to remove the option because the multiselect parameter was not passed, or an error in the state")},$=function(e){F&&(e.target===P.current||P.current.contains(e.target)||U(!1))},Q=!(t=r.map((function(e){return"string"==typeof e?{text:e}:e}))).length&&i?"string"==typeof i?[{text:i}]:[i]:t,X=(G?Q.filter((function(e){return e.text.toLowerCase().includes(G.toLowerCase())})):Q).filter((function(e){return!v||!Array.isArray(V)||!Boolean(V.find((function(t){return Ws()(t,e)})))}));function J(){return(0,s.h)("input",{ref:R,type:"text",placeholder:Object.keys(V).length?"":p,onChange:function(e){var t=e.target.selectionStart,n=e.target.value;W(n),F||U(!0),setTimeout((function(){R.current.focus(),R.current.setSelectionRange(t,t)}),0)},onMouseDown:function(e){e.stopPropagation()},onKeyDown:function(e){if(DO(e)){e.stopPropagation();var t=e.target.value,n=X.find((function(e){return e.text.toLowerCase()===t.toLowerCase()}));n?Z(n,e):1===X.length&&Z(X[0],e)}else if(jO(e)){if(e.stopPropagation(),0===e.target.selectionStart&&Array.isArray(V)&&V.length){var r=Array.from(V);r.pop(),Y(r)}}},value:G,disabled:j})}(0,T.d4)((function(){!l&&Q.length||L(!0),i&&Y("string"==typeof i?g?[{text:i}]:{text:i}:i,!1),m&&R.current&&setTimeout((function(){R.current.focus()}),0)}),[]),(0,T.d4)((function(){if(F&&!j)return setTimeout((function(){m&&R.current&&document.activeElement!==R.current&&R.current.focus()}),0),document.addEventListener("mouseup",$,!1),function(){document.removeEventListener("mouseup",$,!1)}}),[F]),(0,T.d4)((function(){L(l)}),[l]);var ee=["custom-select",h];return F&&ee.push("open"),j&&ee.push("disabled"),(0,s.h)("div",{className:ee.join(" "),onClick:function(e){j||e.target===R.current||M&&M.current&&M.current.contains(e.target)||U(!F)},ref:P},(0,s.h)("span",{className:"selected-item"},(0,s.h)((function(){var e=null,t=!1;if(k)e=(0,s.h)(k,{ItemComponent:E,value:V,onUnselect:K,placeholder:p,disabled:j});else if(Object.keys(V).length){var n=g?", ":"";e=(g&&Array.isArray(V)?V:[V]).map((function(e,t,r){return E?(0,s.h)(E,{option:e,onUnselect:!!g&&K,disabled:j}):(0,s.h)("span",null,e.text+(r.length-1!==t?n:""))}))}else m||(e=p);return!m||!g&&Object.keys(V).length||(t=!0),(0,s.h)(s.HY,null,e,t?(0,s.h)(J,null):null)}),null)),(0,s.h)("span",{className:"custom-select-arrow"},(0,s.h)(ct.BDo,null)),F?(0,s.h)(LO,{ListComponent:A,filteredOptionsList:X,selectedValue:V,OptionComponent:C,onOptionClick:Z,onOptionUnselect:K,multiselect:g,onSelectedItemsRef:N}):null)}function FO(e){var t=e.editor.plugins.i18n,n=(0,T.sO)(null),r=e.onChange;return(0,T.d4)((function(){n.current.focus()}),[]),(0,s.h)("input",{ref:n,className:"table-filter-input",placeholder:t.get("table.filter.type_text_placeholder"),type:"text",value:e.value,onMouseDown:function(e){e.stopPropagation()},onChange:function(e){r(e.target.value)},disabled:e.disabled})}function UO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return HO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HO(e,t)}(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 HO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VO(e){var t=e.editor.plugins.i18n,n=UO((0,T.eJ)(e.value||""),2),r=n[0],o=n[1],i=UO((0,T.eJ)(),2)[1],a=(0,T.I4)((function(){return i({})}),[]),l=e.onChange,c=e.isRating,u=void 0!==c&&c,d=(0,T.sO)(null),p=u?/^([0-9]|10){1}$/:/^-?[0-9]\d*\.?\d*$/,f=function(e){o(e),l("-"===e?"":e)};return(0,T.d4)((function(){d.current.focus()}),[]),(0,s.h)("input",{ref:d,className:"table-filter-input",placeholder:t.get("table.filter.type_number_placeholder"),type:"text",value:r,onMouseDown:function(e){e.stopPropagation()},onChange:function(e){(p.test(e.target.value)||""===e.target.value||!u&&"-"===e.target.value)&&f(e.target.value),a()},disabled:e.disabled})}function zO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return qO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qO(e,t)}(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 qO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var GO={images:"png, jpg, jpeg, gif",documents:"doc, pdf, xls, html, txt",media:"mp4, mp3, mov, avi, webm",other:"all other file types"};function WO(e){var t=e.option;return(0,s.h)(s.HY,null,(0,s.h)("div",{className:"table-filter-file-option-title"},t.text),(0,s.h)("div",{className:"table-filter-file-option-description"},GO[t.value]))}function YO(e){var t=e.option,n=e.onUnselect,r=e.disabled,o=void 0!==r&&r,i=(0,T.I4)((function(e){o||(e.stopPropagation(),n(t))}),[t,n]);return(0,s.h)("span",{class:"select-label adaptive-text bg-palette-"+t.color},(0,s.h)("span",{class:"select-label-text"},t.text),n&&!o?(0,s.h)("span",{className:"select-label-remove",onMouseDown:i},(0,s.h)(ct.WcQ,null)):null)}function ZO(e){var t=e.ItemComponent,n=e.value,r=void 0===n?[]:n,o=e.onUnselect,i=void 0===o?function(){}:o,a=e.disabled,l=void 0!==a&&a,c=(0,T.sO)(null),u=r.length;if(r.length){var d=8,p=r.reduce((function(e,t){return(8===d||d>=t.text.length||d>=2&&t.text.length<=3)&&0===e?d-=t.text.length<=3?t.text.length+1:t.text.length:e++,e}),0);p>0&&(u-=p)}var f={};return r.length?f.display="contents":f.height="27px",(0,s.h)("div",{ref:c,style:f},r.slice(0,u).map((function(e){return(0,s.h)(t,{option:e,onUnselect:i,disabled:l})})),u<r.length?(0,s.h)("span",{class:"nowrap-plus"},"+",r.length-u):null)}function KO(e){var t=e.options,n=e.selectedValue,r=e.OptionComponent,o=e.onSelect,i=e.onUnselect,a=e.onSelectedItemsRef,l=(0,T.sO)(null);if((0,T.d4)((function(){a(l)}),[l.current]),t.length){var c=t.reduce((function(e,t){return n.find((function(e){return Ws()(e,t)}))?e.selected.push(t):e.list.push(t),e}),{selected:[],list:[]}),u=c.selected,d=c.list;return(0,s.h)(s.HY,null,u.length?(0,s.h)("div",{className:"table-filter-selected-labels",ref:l},u.map((function(e){return(0,s.h)("span",{className:"option-item selected"},(0,s.h)(r,{option:e,onUnselect:i}))}))):null,d.length?(0,s.h)("div",{className:"table-filter-labels-list"},d.map((function(e){return(0,s.h)("span",{className:"option-item",onClick:o.bind(void 0,e)},(0,s.h)(r,{option:e}))}))):null)}return(0,s.h)("span",{style:{textAlign:"center"}},"No result")}function $O(e){var t=e.value,n=e.colData,r=e.onChange,o=void 0===r?function(){}:r,i=e.editor,a=e.disabled,l=void 0!==a&&a,c=i.plugins.i18n,u=ve("object",n.dbSelect),d=Object.keys(u).map((function(e){return{id:e,text:u[e].name,name:u[e].name,style:u[e].style,color:u[e].color}})),p=!(!t||!t.length)&&d.filter((function(e){return t.includes(e.id)}));return(0,s.h)(BO,{addClassName:"table-filter-label-select",placeholder:c.get("table.filter.type_text_or_select_placeholder"),selectedComponent:ZO,selectedItemComponent:YO,listComponent:KO,optionComponent:YO,options:d,selected:p,multiselect:!0,search:!0,hideSelected:!1,dontCloseOnSelect:!0,onChange:function(e){o(e.map((function(e){return e.id})))},disabled:l})}function QO(e){return function(e){if(Array.isArray(e))return eT(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||JO(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 XO(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=JO(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function JO(e,t){if(e){if("string"==typeof e)return eT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eT(e,t):void 0}}function eT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var tT=Object.keys($e);function nT(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=0,o=n.name||n.user_name;if(o){e=o[0].toUpperCase();var i,a=XO(o);try{for(a.s();!(i=a.n()).done;){var l=i.value;r+=l.charCodeAt()}}catch(e){a.e(e)}finally{a.f()}}else r=(e="?").charCodeAt();return t=$e[tT[r%tT.length]],(0,s.h)("span",{className:"user-avatar",style:{background:t}},e)}function rT(e){var t=e.option,n=e.selected,r=void 0!==n&&n,o=nT(t);return(0,s.h)(s.HY,null,(0,s.h)("span",{"data-mention-type":"user",className:"collaborate-item","data-mention-name":t.name,"data-user-id":t.object_id,"data-mention-id":t.mention_id},(0,s.h)("span",{className:"collaborate-item-img"},o),(0,s.h)("span",{className:"collaborate-item-name"},(0,s.h)("span",{className:"collaborate-item-text searchable"},t.name))),r?(0,s.h)("span",{className:"collaborate-item-done"},(0,s.h)(ct.EZi,null)):null)}function oT(e){var t=e.value,n=void 0===t?[]:t,r=e.placeholder,o=void 0===r?"Select users":r;if(n.length){var i=[],a=["table-filter-selected-users"];return n.length<=2?(1===n.length?a.push("one-selected"):2===n.length&&a.push("two-selected"),i.push.apply(i,QO(n.map((function(e){return(0,s.h)(rT,{option:e})}))))):(3===n.length?a.push("some-selected"):a.push("more-selected"),i.push.apply(i,QO(n.slice(0,2).map((function(e){var t=nT(e);return(0,s.h)("span",{"data-mention-type":"user",className:"collaborate-item","data-mention-name":e.name,"data-user-id":e.object_id,"data-mention-id":e.mention_id},(0,s.h)("span",{className:"collaborate-item-img"},t))})))),i.push((0,s.h)(rT,{option:n[2]})),n.length>3&&i.push((0,s.h)("span",{className:"nowrap-plus"},"+"+String(n.length-3)))),(0,s.h)("div",{className:a.join(" ")},i)}return(0,s.h)("span",{className:"table-filter-user-select-empty"},o)}function iT(){return(iT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var aT=n(25992),sT=n.n(aT);function lT(e){var t=e.selected,n=e.onChange,r=e.startDate,o=e.endDate,i=e.selectsRange,a=e.language,l="ru"===a?"ru-RU":"en-US";return(0,s.h)("div",{className:"nim-editor-datepicker nimbus-theme"},(0,s.h)((function(){var e=r.toLocaleDateString(l,{weekday:"short",year:"numeric",month:"short",day:"numeric"}).split(" ");return e.pop(),"ru"===a&&e.pop(),e[e.length-1].endsWith(",")&&(e[e.length-1]=e[e.length-1].replace(",","")),(0,s.h)("div",{className:"datepicker-header"},(0,s.h)("span",{className:"datepicker-header-year"},r.getFullYear()),(0,s.h)("span",{className:"datepicker-header-date"},e.join(" ")))}),null),(0,s.h)(sT(),{renderCustomHeader:function(e){var t=e.date,n=e.decreaseMonth,r=e.increaseMonth,o=e.prevMonthButtonDisabled,i=e.nextMonthButtonDisabled;return(0,s.h)("div",{className:"react-datepicker-nav-header"},(0,s.h)("button",{className:"react-datepicker-nav react-datepicker-nav-prev",onClick:n,disabled:o},(0,s.h)(ct.ed9,null)),(0,s.h)("div",{className:"react-datepicker-month"},t.toLocaleDateString(l,{month:"long"})+" "+t.getFullYear()),(0,s.h)("button",{className:"react-datepicker-nav react-datepicker-nav-next",onClick:r,disabled:i},(0,s.h)(ct.VG8,null)))},selected:t,onChange:n,startDate:r,endDate:o,selectsRange:i,inline:!0}))}function cT(e){return(cT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function uT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return dT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dT(e,t)}(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 dT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var pT={text:FO,number:VO,currency:VO,attachment:function(e){var t=e.value,n=e.onChange,r=void 0===n?function(){}:n,o=e.editor,i=e.disabled,a=void 0!==i&&i,l=o.plugins.i18n,c=Object.keys(GO).map((function(e){return{text:l.get("table.filter.filetypes."+e),value:e}}));return(0,s.h)(BO,{addClassName:"table-filter-filetype-select",optionComponent:WO,options:c,selected:!!t&&{text:l.get("table.filter.filetypes."+t),value:t},onChange:function(e){r(e.value)},placeholder:l.get("table.filter.select_type_placeholder"),disabled:a})},checkbox:function(e){var t=e.value,n=e.onChange,r=void 0===n?function(){}:n,o=e.disabled,i=void 0!==o&&o,a=zO((0,T.eJ)(Boolean(t)),2),l=a[0],c=a[1],u=["checkbox-component","table-filter-checkbox-field"];return l&&u.push("checked"),i&&u.push("disabled"),(0,s.h)("span",{className:u.join(" "),onMouseDown:function(e){if(!i){e.stopPropagation();var t=!l;c(t),r(t)}}})},singleselect:$O,multiselect:$O,mention:FO,collaborator:function(e){var t=e.value,n=e.colData,r=e.onChange,o=void 0===r?function(){}:r,i=e.editor,a=e.disabled,l=void 0!==a&&a,c=i.plugins.i18n,u=ve("object",n.users),d=Object.keys(u).map((function(e){return{id:e,text:u[e].name,name:u[e].name,mention_id:u[e].mention_id,object_id:u[e].object_id}})),p=t&&t.length?d.filter((function(e){return t.includes(e.id)})):null;return(0,s.h)(BO,{addClassName:"table-filter-user-select",placeholder:c.get("table.filter.select_users_placeholder"),selectedComponent:oT,optionComponent:rT,options:d,selected:p,multiselect:!0,dontCloseOnSelect:!0,onChange:function(e){o(e.map((function(e){return e.id})))},disabled:l})},date:function(e){var t=e.value,n=e.onChange,r=void 0===n?function(){}:n,o=e.language,i=void 0===o?"en":o,a=e.editor,l=e.disabled,c=void 0!==l&&l,u=a.plugins.i18n,d=(new Date).setHours(0,0,0,0),p=new Date((new Date).setDate((new Date).getDate()-1)).setHours(0,0,0,0),f=new Date((new Date).setDate((new Date).getDate()+1)).setHours(0,0,0,0),h=uT((0,T.eJ)(t?"number"==typeof t?new Date(t):new Date(t.start):null),2),m=h[0],g=h[1],y=uT((0,T.eJ)("object"===cT(t)?new Date(t.end):null),2),v=y[0],b=y[1],_=uT((0,T.eJ)(!1),2),w=_[0],C=_[1],S=uT((0,T.eJ)(!1),2),E=S[0],x=S[1],k=uT((0,T.eJ)(!1),2),O=k[0],A=k[1],P=(0,T.sO)(null),R=(0,T.sO)(null),I=[{text:u.get("table.filter.date.today"),date:d},{text:u.get("table.filter.date.yesterday"),date:p},{text:u.get("table.filter.date.tomorrow"),date:f},{text:u.get("table.filter.date.custom"),date:"custom"}];(0,T.d4)((function(){return x(!0),document.addEventListener("mouseup",M,!1),function(){document.removeEventListener("mouseup",M,!1)}}),[]);var M=function(e){var t=e.target;R.current&&t!==R.current&&!R.current.contains(t)&&D()},N=function(e,t,n){!1===e&&t&&(n&&t.getTime()!==n.getTime()?r({start:new Date(t).setHours(0,0,0,0),end:new Date(n).setHours(0,0,0,0)}):r(new Date(t).setHours(0,0,0,0))),A(!1),C(e)},D=function(){N(!1,m,v)};return(0,s.h)("div",{className:"table-filter-date-field"},(0,s.h)(BO,{ref:P,addClassName:"table-filter-date-select",selectedItemComponent:function(e){var t=e.option;if("custom"===t.date&&m){var n=m.toLocaleDateString();return v&&m.getTime()!==v.getTime()&&(n+=" -> "+v.toLocaleDateString()),(0,s.h)(s.HY,null,t.text+": ",(0,s.h)("span",{className:"table-filter-date-range-selected"},n))}return t.text},options:I,selected:function(){if("number"==typeof t){var e=new Date(t).setHours(0,0,0,0);return e===d?I[0]:e===p?I[1]:e===f?I[2]:I[3]}return"object"===cT(t)&&I[3]}(),onChange:function(e){"custom"===e.date?(m||g(new Date),E&&N(!0)):(w&&N(!1),r(e.date))},placeholder:u.get("table.filter.select_date_placeholder"),disabled:c}),w?(0,s.h)(At.Z,{domRef:function(e){R.current=e},addClassName:"date-picker-popup no-scroll",closeOnEsc:!0,wantsToClose:D,anchorNode:P.current.base,anchorOptions:{positionFixed:!0,offset:"0px, -1px",placement:"top-start",priority:["bottom","left","right"],boundariesElement:a.getScrollingContainer(),overflowBoundariesElement:a.getScrollingContainer()}},(0,s.h)(lT,{selected:m,onChange:function(e){if(Array.isArray(e)){var t=uT(e,2),n=t[0],r=t[1];g(n),b(r),r&&N(!1,n,r)}else{g(e),v&&b(null),A(!0)}},startDate:m,endDate:v,selectsRange:O,language:i})):null)},link:FO,rating:function(e){return(0,s.h)(VO,iT({isRating:!0,disabled:e.disabled},e))},progress:function(e){var t=e.value,n=e.onChange,r=e.disabled,o=void 0!==r&&r;return(0,s.h)("div",{className:"table-filter-progress table-progress"},(0,s.h)(va,{addClassName:"table-progress-slider",value:t,onChange:function(e){n(e)},showProgress:!0,readonly:o}))}},fT={where:"table.filter.where",Or:"table.filter.or",And:"table.filter.and",contains:"table.filter.contains",is:"table.filter.is","is not":"table.filter.is_not","contains not":"table.filter.contains_not","has any of":"table.filter.has_any_of","has none of":"table.filter.has_none_of",empty:"table.filter.empty","not empty":"table.filter.not_empty",filetype:"table.filter.filetype"};function hT(e){var t=e.index,n=e.operator,r=e.column,o=e.columns,i=e.condition,a=e.value,l=e.onColumnChange,c=e.onOperatorChange,u=e.onConditionChange,d=e.onDeleteClick,p=e.onValueChange,f=e.editor,h=e.disabled,m=f.plugins.i18n;if(r){var g=pT[r.type]||"Error data",y="empty"===i||"not empty"===i;return(0,s.h)("div",{className:"table-filter-row"+(y?" without-value":"")+" "+r.type+"-filter-row"+(h?" disabled":"")},(0,s.h)("div",{className:"table-filter-col"+(t>1?" table-filter-operator":"")},0===t?m.get(fT.where):1===t?(0,s.h)(BO,{addClassName:"table-filter-operator-select",options:["Or","And"].map((function(e){return{text:m.get(fT[e]),value:e}})),selected:{text:m.get(fT[n]),value:n},onChange:c,disabled:h}):m.get(fT[n])),(0,s.h)("div",{className:"table-filter-col"},(0,s.h)(BO,{addClassName:"table-filter-column-select",options:o.map((function(e){return{text:e.colName,id:e.colId}})),selected:{text:r.colName,id:r.colId},onChange:l.bind(void 0,t),disabled:h})),(0,s.h)("div",{className:"table-filter-col"},(0,s.h)(BO,{addClassName:"table-filter-condition-select",options:r.conditions.map((function(e){return{text:fT[e]?m.get(fT[e]):e,value:e}})),selected:{text:fT[i]?m.get(fT[i]):i,value:i},onChange:u.bind(void 0,t),disabled:h||!(r.conditions.length>1)})),y?null:(0,s.h)("div",{className:"table-filter-col"},(0,s.h)(g,{value:a,onChange:p.bind(void 0,t),colData:r,language:m.language,editor:f,disabled:h})),(0,s.h)("div",{className:"table-filter-col"},(0,s.h)("span",{className:"delete-filter-row",onClick:d.bind(void 0,t)},(0,s.h)(ct.IT9,null))))}return null}function mT(){return(mT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const gT=function(e){var t=e.editor,n=void 0===t?null:t,r=e.onChange,o=void 0===r?function(){}:r,i=e.enabled,a=void 0!==i&&i,l=e.tooltip,c=void 0!==l&&l,u=e.size,d=void 0===u?"small":u,p={};return c&&(p[Gr.qZ]=c),(0,s.h)("div",mT({onClick:function(e){n&&c&&n.plugins.tooltipManager.hide(),o(!a)},className:"editor-switch-option editor-switch-option_size_"+d+" switch-option-"+(a?"on":"off")},p))};function yT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return vT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vT(e,t)}(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 vT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bT=["checkbox","progress"];function _T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){var t=Object.assign({},e);return delete t.key,t}))}function wT(e){var t=e.filterProps,n=void 0===t?{}:t,r=e.editor,o=e.useRefs,i=e.anchorNode,a=e.wantsToClose,l=e.anchorOptions,c=void 0===l?{}:l,u=e.onChange,d=e.onChangeView,p=e.filterDisabled,f=yT((0,T.eJ)([]),2),h=f[0],m=f[1],g=yT((0,T.eJ)(n.operator||"Or"),2),y=g[0],v=g[1],b=yT((0,T.eJ)(!1),2),_=b[0],w=b[1],C=(0,T.sO)(null),S=(0,T.sO)(null),E=n.columnsData,x=n.initialColumn,k=r.plugins.i18n;(0,T.d4)((function(){var e=JSON.parse(JSON.stringify(n.filters||[])),t=x?A(x):E[0];return p||!x&&e.length||e.push({colId:t.colId,type:t.type,condition:t.conditions[0],value:""}),O(e),w(!0),function(){w(!1)}}),[]),(0,T.d4)((function(){var e=h.length&&bT.includes(h[h.length-1].type)&&""===h[h.length-1].value;if(h.length&&(_||e)){var t={operator:y,filters:_T(h)};!S.current&&!e||Ws()(S.current,t)?S.current=t:(S.current=t,u(t))}else S.current&&(S.current=null)}),[y,h]);var O=function(e){for(var t=Array.from(e),n=0,r=t;n<r.length;n++){var o=r[n];o.key||(o.key="nim-table-filter-"+Math.floor(1e4*Math.random()))}m(t)},A=function(e){return E.find((function(t){return t.colId===e}))},P=function(e){Boolean(p)&&d(!0),u(null),S.current=null,O([])},R=function(e,t){var n=Array.from(h),r=A(t.id);n.splice(e,1,{colId:r.colId,type:r.type,condition:r.conditions[0],value:""}),O(n)},I=function(e){v(e.value)},M=function(e,t){var n=Array.from(h);n[e].condition=t.value,O(n)},N=function(e,t){var n=Array.from(h);n[e].value=t,O(n)},D=function(e){if(!Boolean(p)){var t=Array.from(h);0===e&&1===t.length?P():(t.splice(e,1),O(t))}},j=["table-filter"];h.length&&!h.every((function(e){return e.colId===h[0].colId}))&&j.push("multicolumn-filter");var L=(0,s.h)("div",{className:j.join(" ")},(0,s.h)("div",{className:"table-filter-header"},(0,s.h)("div",{className:"table-filter-header-switch"},k.get("table.filter.enable_filter"),(0,s.h)(gT,{editor:r,onChange:d,enabled:!p,tooltip:k.get("table.filter."+(p?"enable_filter":"disable_filter"))})),(0,s.h)("div",{className:"table-filter-header-title"},k.get("table.filter.popup_title"))),(0,s.h)("div",{className:"table-filter-close",onClick:function(e){a()}},(0,s.h)(ct.bMz,null)),h.length?h.map((function(e,t){return(0,s.h)(hT,{key:e.key,index:t,editor:r,useRefs:o,operator:y,column:A(e.colId),columns:E,condition:e.condition,value:e.value,onColumnChange:R,onOperatorChange:I,onConditionChange:M,onValueChange:N,onDeleteClick:D,disabled:Boolean(p)})})):(0,s.h)("div",{className:"table-filter-no-filter-conditions"},k.get("table.filter.empty_filters")),(0,s.h)("div",{className:"table-filter-footer"},(0,s.h)("div",{className:"table-filter-add",onClick:function(e){Boolean(p)&&d(!0);var t=Array.from(h),n=x?A(x):E[0];t.push({colId:n.colId,type:n.type,condition:n.conditions[0],value:""}),O(t)}},"+ ",k.get("table.filter.add_condition")),h.length?(0,s.h)("div",{className:"table-filter-clear",onClick:P},k.get("table.filter.clear_all")):null));return(0,s.h)(HS,{editor:r,styled:!0,transitionName:"popup-menu",transitionTimeout:bt.popupAppearDuration},(0,s.h)(pe.Pj,null,(0,s.h)(At.Z,{ref:C,addClassName:"position-absolute table-filter-component",closeOnEsc:!0,anchorNode:i,wantsToClose:a,anchorOptions:c,onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},L)))}function CT(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ST(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ST(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ST(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ET(e){return(ET="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var xT={text:OT,number:TT,currency:TT,attachment:function(e,t,n,r){var o=t&&t.attachments||[],i=t&&t.attachmentsType||{};if("empty"===e)return!Boolean(o.length);if("not empty"===e)return Boolean(o.length);{var a=o.map((function(e){return i[e]}));if(!a.length&&n)return!1;function s(e){var t=["png","jpg","jpeg","gif"];return!!e&&(e.type?"image"===e.type||t.some((function(t){return t===e.type})):e.type_extra?t.some((function(t){return t===e.type_extra.type})):e.mime?"image"===e.mime.split("/")[0]||t.some((function(t){return e.type.indexOf(t)>=0})):e.display_name?t.includes(e.display_name.split(".").pop()):void 0)}function l(e){var t=["doc","pdf","xls","html","txt"];return!!e&&(e.type?t.some((function(t){return t===e.type})):e.type_extra?t.some((function(t){return t===e.type_extra.type})):e.mime?[].concat(t,["document"]).some((function(t){return e.mime.indexOf(t)>=0})):e.display_name?t.includes(e.display_name.split(".").pop()):void 0)}function c(e){var t=["mp4","mp3","mov","avi","webm"];return!!e&&(e.type?"video"===e.type||t.some((function(t){return t===e.type})):e.type_extra?t.some((function(t){return t===e.type_extra.type})):e.mime?"video"===e.mime.split("/")[0]||t.some((function(t){return e.type.indexOf(t)>=0})):e.display_name?t.includes(e.display_name.split(".").pop()):void 0)}switch(n){case"images":return a.some((function(e){return s(e)}));case"documents":return a.some((function(e){return l(e)}));case"media":return a.some((function(e){return c(e)}));case"other":return a.some((function(e){return!s(e)&&!l(e)&&!c(e)}));default:return!0}}},checkbox:function(e,t,n,r,o){var i=Boolean(n);if(!(!1!==i||t&&void 0!==t.checked&&t.checked))return!0;if(!0===i&&t&&t.checked)return!0;return!1},singleselect:AT,multiselect:AT,mention:function(e,t,n,r){var o,i=!!t&&(null===(o=t.child)||void 0===o?void 0:o.delta),s=i?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new(c())(t).length()-n,o=t.slice(n,n+r);return o.filter((function(e){if("string"==typeof e.insert)return!0;if("object"===ET(e.insert)){var t=a().query(Object.keys(e.insert)[0]);if(t&&t.getOpText)return!0}return!1})).map((function(t){return"string"==typeof t.insert?t.insert:t.insert.date?kT(t.insert.date,e):a().query(Object.keys(t.insert)[0]).getOpText(t.insert,void 0,e)})).join("")}(r,i):"";["@","@\n"].includes(s)&&(s="");return OT(e,{child:{characters:s}},n)},collaborator:function(e,t,n){var r=t&&t.users?Object.keys(t.users):[];if("empty"===e)return!Boolean(r.length);if("not empty"===e)return Boolean(r.length);if(!Boolean(n)||!Array.isArray(n)||!n.length)return!0;if(!r.length)return!1;switch(e){case"has any of":return r.some((function(e){return n.includes(e)}));case"has none of":return n.every((function(e){return!r.includes(e)}));default:return!0}},link:function(e,t,n){var r,o,i=(t&&(null===(r=t.child)||void 0===r?void 0:r.characters)||"").replace("\n",""),a=t&&null!==(o=t.child)&&void 0!==o&&o.delta?t.child.delta.reduce((function(e,t){return t.attributes&&t.attributes.link&&e.push(t.attributes.link),e}),[]):[],s=OT(e,{child:{characters:i}},n),l=a.map((function(t){return OT(e,{child:{characters:t}},n)})).some((function(e){return!0===e}));return"is not"!==e&&"contains not"!==e?s||l:s&&(l||!a.length)},rating:function(e,t,n,r,o,i){var a,s,l=Br("rating"),c=(null===(a=r.store.getMap(i.colId).toJSON())||void 0===a||null===(s=a.format)||void 0===s?void 0:s.amount)||l.format.amount,u=t&&"number"==typeof t.rating&&!isNaN(t.rating)?t.rating>c?c:t.rating:0,d=parseInt(n);if("number"!=typeof d||isNaN(d))return!0;switch(e){case"=":return u===d;case"≠":return u!==d;case">":return u>d;case"<":return u<d;case"≥":return u>=d;case"≤":return u<=d;default:return!0}},progress:function(e,t,n){var r=parseInt(""!==n?n:0);if("number"!=typeof r||isNaN(r))return!0;var o=void 0===t||"number"!=typeof t.progress?0:t.progress;switch(e){case"=":return o===r;case"≠":return o!==r;case">":return o>r;case"<":return o<r;case"≥":return o>=r;case"≤":return o<=r;default:return!0}},date:function(e,t,n){if(Boolean(n)){if(!t||!t.timestamp)return!1;var r=Yn(t.timestamp);return"number"==typeof n?r===n:n.start<=r&&n.end>=r}return!0}};function kT(e,t){var n,r,o=br,i=_r.getTimeZone({timeZoneSelected:-1,timeZoneReal:o,timeZoneGMT:(null==e||null===(n=e.format)||void 0===n?void 0:n.timeZoneGMT)||!1}),a=ma.getDateTimeFormat(e,t.blotsConfig.date||{}),s=a.timeFormat,l=a.dateFormat;return _r.dateString({editor:t,value:e.value,showTime:(null==e||null===(r=e.format)||void 0===r?void 0:r.showTime)||!1,timeFormat:s,dateFormat:l},{oneDay:864e5,timeZoneReal:o,timeZoneSelected:i,timeShift:_r.getTimeShift({timeZoneReal:o,timeZoneSelected:i})})}function OT(e,t,n){var r=t&&t.child?t.child.characters:"";if("string"!=typeof r&&(r=""),r=r.toLowerCase().replace("\n",""),!Boolean(n)&&"empty"!==e&&"not empty"!==e)return!0;switch(e){case"contains":return r.indexOf(n.toLowerCase())>=0;case"is":return r===n.toLowerCase();case"is not":return r!==n.toLowerCase();case"contains not":return r.indexOf(n.toLowerCase())<0;case"empty":return!Boolean(r);case"not empty":return Boolean(r);default:return!0}}function TT(e,t,n){var r=t&&t.child?t.child.characters:"";"string"!=typeof r&&(r=""),r=r.toLowerCase().replace(",",".").replace("\n",""),r=!!Boolean(r)&&parseFloat(r);var o=!!String(n).length&&parseFloat(n);if("boolean"==typeof o&&"empty"!==e&&"not empty"!==e)return!0;switch(e){case"=":return"number"==typeof r&&r===o;case"≠":return"boolean"==typeof r&&!r||"number"==typeof r&&r!==o;case">":return"number"==typeof r&&r>o;case"<":return"number"==typeof r&&r<o;case"≥":return"number"==typeof r&&r>=o;case"≤":return"number"==typeof r&&r<=o;case"empty":return"boolean"==typeof r&&!r;case"not empty":return"number"==typeof r;default:return!0}}function AT(e,t,n){var r=t&&t.selected||[];if("empty"===e)return!Boolean(r.length);if("not empty"===e)return Boolean(r.length);if(!Boolean(n)||!Array.isArray(n)||!n.length)return!0;if(!r.length)return!1;switch(e){case"has any of":return r.some((function(e){return n.includes(e)}));case"has none of":return n.every((function(e){return!r.includes(e)}));default:return!0}}function PT(e,t,n,r,o){if(xT[e]){var i,a=[],s=CT(n);try{for(s.s();!(i=s.n()).done;){var l=i.value;a.push(xT[e](l.condition,t,l.value,o,n,l))}}catch(e){s.e(e)}finally{s.f()}return"And"===r?a.every((function(e){return!0===e})):a.some((function(e){return!0===e}))}return!0}function RT(e){return(RT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function IT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return MT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return MT(e,t)}(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 MT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function NT(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return DT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DT(e,t)}(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 DT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jT={N:1,M:1},LT=(0,s.kr)({});function BT(e){var t=e.editor,n=e.bench,r=e.version,o=e.editable,i=e.data,a=e.setProp,l=e.applyDelta,c=e.startEdit,u=e.globalConfig,d=void 0===u?{}:u,p=e.tableExec,f=e.onTableAction,h=e.setOnAction,m=e.setOnKeyDown,g=e.setTableContext,y=e.onTableRenderComponent,v=e.renderWithFilter,b=t.plugins.i18n,_=function(e){var t=e.data,n={ui:{},col:[],row:[],cell:[],big:{byRow:{},byCol:{}},summary:[],pointer:{}},r=Lk((0,T.eJ)(n),2),o=r[0],i=r[1];(0,T.Ye)((function(){i(n)}),[t.size.rows,t.size.cols]),(0,T.d4)((function(){if(o.row.length>t.size.rows&&(o.row=o.row.slice(0,t.size.rows),o.cell=o.cell.slice(0,t.size.rows)),o.col.length>t.size.cols)for(var e in o.col=o.col.slice(0,t.size.cols),o.row)o.cell[e]=o.cell[e].slice(0,t.size.col);i(Object.assign({},o))}),[t.size.rows,t.size.cols,t.size.visibleRows]);var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.rowspan,r=void 0===n?1:n,i=t.colspan,a=void 0===i?1:i;if(r>1||a>1){o.big.byRow[e.row]||(o.big.byRow[e.row]={}),o.big.byCol[e.col]||(o.big.byCol[e.col]={});var s={rowspan:r,colspan:a};o.big.byRow[e.row][e.col]=s,o.big.byCol[e.col][e.row]=s}else{var l,c;null!==(l=o.big.byRow[e.row])&&void 0!==l&&l[e.col]&&delete o.big.byRow[e.row][e.col],null!==(c=o.big.byCol[e.col])&&void 0!==c&&c[e.row]&&delete o.big.byCol[e.col][e.row]}};return{links:o,setUI:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o.ui[e]=t},setRow:function(e,t){var n=t.rowData,r=t.render,i=t.getNode,a=t.setSelected,s=t.onResize,l=t.moveAnimate;o.row[e.row]={rowData:n,render:r,getNode:i,setSelected:a,onResize:s,moveAnimate:l}},setCol:function(e,t){var n=t.colData,r=t.colFormat,i=t.getNode,a=t.setSelected,s=t.onCellChange,l=t.onResize,c=t.rename,u=t.render;o.col[e.col]={colData:n,colFormat:r,getNode:i,setSelected:a,onCellChange:s,onResize:l,rename:c,render:u}},setSummary:function(e,t){var n=t.render;o.summary[e.col]={render:n}},setCell:function(e,t){var n=t.render,r=t.cellData,i=t.cellProps,s=t.getNode,l=t.setCurrent,c=t.setSelected,u=t.setDrop,d=t.onMenuButton,p=t.onDragEnter,f=t.scrollIntoView,h=t.setCommentsCount,m=t.getCommentsCount,g=t.getText;o.cell[e.row]||(o.cell[e.row]=[]),o.cell[e.row][e.col]={render:n,cellData:r,cellProps:i,getNode:s,setDrop:u,setCurrent:l,setSelected:c,onMenuButton:d,onDragEnter:p,scrollIntoView:f,setCommentsCount:h,getCommentsCount:m,getText:g},r&&a(e,r)},addToCell:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=["empty","value","bigint","decimal","format","editCell","getText","attachments","onDrop"],r=0,i=n;r<i.length;r++){var a=i[r];t.hasOwnProperty(a)&&o.cell[e.row]&&o.cell[e.row][e.col]&&(o.cell[e.row][e.col][a]=t[a])}},setBigCell:a,setPointer:function(e,t){var n,r,i,a;if(o.pointer[e],null!==(n=o.pointer[e])&&void 0!==n&&n.pos){var s,l,c,u=o.pointer[e].pos;if(t&&t.col===u.col&&t.row===u.ros)return;if("drop"===e)null===(s=o.cell[u.row])||void 0===s||null===(l=s[u.col])||void 0===l||null===(c=l.setDrop)||void 0===c||c.call(l,!1)}t?(o.pointer[e]={pos:t},null===(r=o.cell[t.row])||void 0===r||null===(i=r[t.col])||void 0===i||null===(a=i.setDrop)||void 0===a||a.call(i,!0)):o.pointer[e]=null},getPointer:function(e){var t;if(null!==(t=o.pointer[e])&&void 0!==t&&t.pos){var n,r=o.pointer[e].pos;return Dk(Dk({},(null===(n=o.cell[r.row])||void 0===n?void 0:n[r.col])||{}),o.pointer[e])}return!1},getCell:function(e){var t,n;return null===(t=o.cell)||void 0===t||null===(n=t[e.row])||void 0===n?void 0:n[e.col]}}}({version:r,data:i}),w=function(e){var t=e.useRefs.links;return{expandCoords:function(){var e,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i={col:Math.min(3,t.col.length),row:Math.min(3,t.row.length)},a=0,s=0,l=0,c=0,u=t.row.length-1,d=t.col.length-1,p=(null===(e=t.cell[o.row])||void 0===e||null===(n=e[o.col])||void 0===n||null===(r=n.getNode())||void 0===r?void 0:r.getBoundingClientRect())||{width:M.col.props.width,height:M.col.props.height},f={col:[{left:a,right:s,index:0,width:p.width}],row:[{top:l,bottom:c,index:0,height:p.height}],limit:i},h=o.col,m=o.col+i.col-1;m>d&&(h=Math.max(0,o.col-(m-d)),m=d);for(var g=0,y=o.col+1;y<=m;y++){var v,b,_,w=(null===(v=t.col[y])||void 0===v||null===(b=v.getNode())||void 0===b||null===(_=b.getBoundingClientRect())||void 0===_?void 0:_.width)||M.col.props.width,C=f.col.length-1;s-=w,f.col.push({left:f.col[C].left,right:s,width:f.col[C].width+w,index:++g})}g=0;for(var S=o.col-1;S>=h;S--){var E,x,k,O=(null===(E=t.col[S])||void 0===E||null===(x=E.getNode())||void 0===x||null===(k=x.getBoundingClientRect())||void 0===k?void 0:k.width)||M.col.props.width,T=f.col.length-1;a-=O,f.col.push({left:a,right:f.col[T].right,width:f.col[T].width+O,index:--g})}var A=o.row,P=o.row+i.row-1;P>u&&(A=Math.max(0,o.row-(P-u)),P=u),g=0;for(var R=o.row+1;R<=P;R++){var I,N,D=(null===(I=t.row[R])||void 0===I||null===(N=I.getNode())||void 0===N?void 0:N.getBoundingClientRect().height)||M.row.props.height,j=f.row.length-1;c-=D,f.row.push({top:f.row[j].top,bottom:c,height:f.row[j].height+D,index:++g})}g=0;for(var L=o.row-1;L>=A;L--){var B,F,U=(null===(B=t.row[L])||void 0===B||null===(F=B.getNode())||void 0===F?void 0:F.getBoundingClientRect().height)||M.row.props.height,H=f.row.length-1;l-=U,f.row.push({top:l,bottom:f.row[H].bottom,height:f.row[H].height+U,index:--g})}return f},isMerged:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{row:0,col:0},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{row:t.row.length-1,col:t.col.length-1},r={cells:!1,rows:!1,cols:!1};if(e&&n)for(var o=e.row;o<=n.row;o++)for(var i=e.col;i<=n.col;i++){var a,s;if(null!==(a=t.cell[o])&&void 0!==a&&null!==(s=a[i])&&void 0!==s&&s.cellProps){var l=t.cell[o][i].cellProps,c=l.rowspan,u=void 0===c?1:c,d=l.colspan,p=void 0===d?1:d;u>1&&(r.cells=!0,r.rows=!0),p>1&&(r.cells=!0,r.cols=!0)}if(r.rows&&r.cols)break}return r}}}({useRefs:_}),C=Hk({useRefs:_}),S=Kk({editor:t,version:r,data:i,useRefs:_,useUtils:w,tableExec:p,renderWithFilter:v}),E=function(e){var t=this,n=e.editor,r=e.data,o=e.tableExec,i=e.useRefs,a=e.useSelection,l=IT((0,T.eJ)(null),2),c=l[0],u=l[1],d=IT((0,T.eJ)({}),2),p=d[0],f=d[1],h=IT((0,T.eJ)({}),2),m=h[0],g=h[1],y=function(e,t){var r,o,a,s,l="undefined"!==t.anchorCol&&i.links.col[t.anchorCol]?i.links.col[t.anchorCol].getNode():null===(r=i.links.ui.circle)||void 0===r?void 0:r.getNode(),c=null===(o=i.links)||void 0===o||null===(a=o.ui)||void 0===a||null===(s=a.table)||void 0===s?void 0:s.getNode();if(c){var d,p=c.getBoundingClientRect().top,f=n.getScrollingContainer().getBoundingClientRect(),h=null===(d=c.closest(".table-blot"))||void 0===d?void 0:d.id;(p>f.bottom-(f.bottom-f.top)/3||f.bottom-p<250)&&h&&n.plugins.scrollSaver.scrollToBlot(h)}g({anchor:l}),v(e),u(!0)},v=function(e){for(var t,n=(null===(t=r.props)||void 0===t?void 0:t.filter)||{operator:"Or",filters:[]},o=n.operator,a=n.filters,s=[],l=null,c=0;c<i.links.col.length;c++){var u=i.links.col[c],d=u.colData;if(d&&d.columnType&&"none"!==d.columnType){var p;"number"!=typeof e&&"string"!=typeof e||c!==parseInt(e)||(l=d.id);var h={colId:d.id};if(d.text?h.colName=d.text:h.colName=u.getNode().innerText,"singleselect"!==d.columnType&&"multiselect"!==d.columnType||!d.dbSelect||(h.dbSelect=d.dbSelect),"collaborator"===d.columnType){var m={};for(var g in r.rowsData){var y=r.rowsData[g].cellsData[c];if(y&&y.users)for(var v=0,b=Object.keys(y.users);v<b.length;v++){var _=b[v];m[_]||(m[_]=y.users[_])}}Object.keys(m).length&&(h.users=m)}h.conditions=null===(p=Br(d.columnType))||void 0===p?void 0:p.filterConditions,h.type=d.columnType,h.colIndex=e,s.push(h)}}f({operator:o,filters:a,columnsData:s,initialColumn:l})},b=function(){f({}),g({}),u(!1)},_=function(e){o("filter-disabled",{disabled:!e})},w=hf()((function(e){if(e){var t,n=e.operator,i=e.filters,a=e?i.reduce((function(e,t){return"empty"===t.condition||"not empty"===t.condition||"boolean"==typeof t.value||"number"==typeof t.value||"object"===RT(t.value)&&Object.keys(t.value).length?e.push(t):"string"==typeof t.value&&(""!==t.value?e.push(t):"checkbox"===t.type?(t.value=!1,e.push(t)):"progress"===t.type&&(t.value=0,e.push(t))),e}),[]):null;if(a.length)o("filter",{filter:{operator:n,filters:a}});else null!==(t=r.props)&&void 0!==t&&t.filter&&o("filter",{filter:null})}else o("filter",{filter:null})}),500,{trailing:!0}),C=function(e){var t=r.props.filter.filters;if(t&&e){var n=t.filter((function(t){return t.colId===e}));if(n.length)return n}return!1};return{getFilter:function(){var e=null;return c&&(e=(0,s.h)(wT,{key:"table-filter-component",filterProps:p,onChange:w,onChangeView:_,filterDisabled:Boolean(r.props["filter-disabled"]),editor:n,useRefs:i,anchorNode:m.anchor,anchorOptions:{placement:"top-start",priority:["right","left","top"],positionFixed:!0,offset:"10px, -30px",boundariesElement:n.getScrollingContainer(),overflowBoundariesElement:n.getScrollingContainer()},wantsToClose:b.bind(t)})),e},showFilter:y,toggleFilter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c?u(!1):(a.unselectAll(),y(e,t))},acceptRenderRow:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(null!==(e=r.props)&&void 0!==e&&e.filter){for(var i=t.cellsData,a=void 0===i?{}:i,s=r.props.filter.operator,l=[],c=0;c<o;c++){var u=r.colsData[c],d=C(null==u?void 0:u.id);d&&l.push(PT(null==u?void 0:u.columnType,a[c],d,s,n))}return"And"===s?l.every((function(e){return!0===e})):l.some((function(e){return!0===e}))}return!0}}}({editor:t,data:i,tableExec:p,useRefs:_,useSelection:S}),x=IO({editor:t,data:i,tableExec:p,onTableAction:f,useRefs:_,useSelection:S,useFilter:E}),k=function(e){e.data;var t=e.editable,n=e.setOnAction,r=e.tableExec,o=e.useRefs,i=e.useSelection,a=e.useUtils,s=e.useMenu,l=function(e){var n=!1;if("select-all"===e.type)i.selectAll(),n=!0;else if("select-range"===e.type){var l=e.start,c=void 0===l?{}:l,u=e.last,d=void 0===u?{}:u;null!=c&&c.hasOwnProperty("row")&&null!=c&&c.hasOwnProperty("col")&&i.setCurrent(c),null!=d&&d.hasOwnProperty("row")&&null!=d&&d.hasOwnProperty("col")&&i.setSelection(d,{force:!0}),n=!0}else if("unselect-all"===e.type)i.unselectAll(),n=!0;else if("selection"===e.type)n=i.extra({merged:!0});else if("add-row-and-move-down"===e.type){i.extra().lastRowEnd&&r("add-row"),i.moveSelection("down")}else if("delete"===e.type||"backspace"===e.type){if(t){var p=i.selection,f=p.start,h=p.last;f&&r("clear-cells",{start:f,last:h})}n=!0}else if("is-merged"===e.type)n=a.isMerged();else if("is-selection-merged"===e.type){var m=i.selection,g=m.start,y=m.last;n=a.isMerged(g,y)}else if("get-drop-cell"===e.type)n=o.getPointer("drop");else if("animate-row-sorting"===e.type){var v,b,_=e.from,w=e.to;null===(v=o.links.row[_])||void 0===v||null===(b=v.moveAnimate)||void 0===b||b.call(v,w),n=!0}else if("render"===e.type){var C=e.data,S=e.mode,E=e.start,x=void 0===E?{}:E,k=e.last,O=void 0===k?{}:k,T=e.withAllCells,A=void 0!==T&&T,P=e.withSummary,R=void 0!==P&&P,I=e.withCellsInRange,M=void 0!==I&&I;if(C&&"object"===$k(C)&&C,x.hasOwnProperty("row")||(x.row=-1),x.hasOwnProperty("col")||(x.col=-1),O.hasOwnProperty("row")||(O.row=x.row),O.hasOwnProperty("col")||(O.col=x.col),"cells"===S)for(var N=x.row;N<=O.row;N++)for(var D=x.col;D<=O.col;D++){var j,L,B,F;null===(j=o.links.cell[N])||void 0===j||null===(L=j[D])||void 0===L||null===(B=(F=L).render)||void 0===B||B.call(F,{withSummary:R})}else if("rows"===S)for(var U=x.row;U<=O.row;U++){var H,V,z;null===(H=o.links.row[U])||void 0===H||null===(V=(z=H).render)||void 0===V||V.call(z)}else if("cols"===S)for(var q=x.col;q<=O.col;q++){var G,W,Y;if(null===(G=o.links.col[q])||void 0===G||null===(W=(Y=G).render)||void 0===W||W.call(Y,{withSummary:R}),A||M)for(var Z=x.row;Z<=O.row;Z++){var K,$,Q,X;if(Z>-1)null===(K=o.links.cell[Z])||void 0===K||null===($=K[q])||void 0===$||null===(Q=(X=$).render)||void 0===Q||Q.call(X)}if(A)for(var J=o.links.row.length-1,ee=0;ee<=J;ee++){var te,ne,re,oe;if(ee<x.row||ee>O.row)null===(te=o.links.cell[ee])||void 0===te||null===(ne=te[q])||void 0===ne||null===(re=(oe=ne).render)||void 0===re||re.call(oe)}}else if("summary"===S)for(var ie=x.col;ie<=O.col;ie++){var ae;null===(ae=o.links.summary[pos.col])||void 0===ae||ae.render()}n=!0}else if("context-menu"===e.type)s.toggleMenu(e.event,e.mode);else if("get-cell"===e.type){var se,le=e.pos,ce=void 0===le?{}:le;n=null===(se=o.links.cell[ce.row])||void 0===se?void 0:se[ce.col]}else if("get-col"===e.type){var ue=e.pos,de=void 0===ue?{}:ue;n=o.links.col[de.col]}else if("scroll-update"===e.type)n=o.links.ui.scroll.updateScroll();else if("scroll-to-cell"===e.type){var pe=i.ensureCellVisible,fe=i.setCurrent;n=r("scroll-to-cell",{ensureCellVisible:pe,setCurrent:fe,blotId:e.blotId,select:e.select||!1})}else"selection-cache"===e.type&&(n=i.selectionCache);return n};return n(l),{onAction:l}}({data:i,editable:o,tableExec:p,setOnAction:h,useRefs:_,useSelection:S,useUtils:w,useMenu:x});!function(e){var t=e.setOnKeyDown,n=e.useRefs,r=e.useSelection,o=e.data;e.tableExec,t((function(e){var t,n=!1,r=e.ctrlKey||e.metaKey;if(!(null===(t=e.target)||void 0===t?void 0:t.classList.contains("editable-text")))for(var o in Jk){var a=Qk(Jk[o],3),s=a[0],l=a[1],c=a[2],u=void 0===c?{}:c;if((0,Rn.ZP)(s,e)||"letter"===s&&!r&&e.keyCode>=65&&e.keyCode<=105||"number"===s&&!r&&(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105||189===e.keyCode||109===e.keyCode||173===e.keyCode)){n=i(e,l,u);break}}return n}));var i=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=!0;switch(t){case"up":case"down":case"right":case"left":(a=r.moveSelection(t,i))&&(null==e||e.stopPropagation());break;case"unselect":a=r.unselectAll();break;case"edit":a=!1;var s=r.selection,l=s.current,c=s.mode;if("row"===c&&o.props.tempRow){var u=n.links.row[l.row];u&&u.rowData&&u.rowData.id===o.props.tempRow&&(a=!0,r.unselectAll())}if(l&&!a){var d,p,f=null===(d=n.links.cell[l.row])||void 0===d?void 0:d[l.col];null==f||null===(p=f.scrollIntoView)||void 0===p||p.call(f),a=null==f?void 0:f.editCell(e,i)}break;default:a=!1}return a&&e.preventDefault(),a}}({editable:o,setOnKeyDown:m,useRefs:_,useSelection:S,data:i,tableExec:p});var O=NT((0,T.eJ)(!1),2),A=O[0],P=O[1],R=NT((0,T.eJ)(!1),2),N=R[0],D=R[1],j=(0,T.sO)(null);_.setUI("table",{getNode:function(){return null==j?void 0:j.current}.bind(this),setState:function(e,t){"float"===e?P(!!t):"moving"===e&&D(!!t)}.bind(this)});var L=["table-component"];if(o&&L.push("editable"),C.resize.session&&L.push("resizing"),!1===i.settings.rowHeadings&&L.push("hide-row-header"),!1===i.settings.colHeadings&&L.push("hide-col-header"),!1===i.settings.wrapCells&&L.push("cells-nowrap"),A&&L.push("float-content"),N&&L.push("moving-content"),Boolean(i.props["filter-disabled"]))i.size.visibleRows=i.size.rows;else{for(var B=[],F=0;F<i.size.rows;F++)(E.acceptRenderRow(i.rowsData[F],i.size.cols)||i.rowsData[F]&&i.props.tempRow&&i.props.tempRow===i.rowsData[F].id)&&B.push(i.rowsData[F]);i.size.visibleRows=B.length}i.size.rows!==i.size.visibleRows&&(_.links.row=[],_.links.cell=[]),y((function(e){var t=e.tableBlot;i.size.visibleRows?t.domNode.classList.contains("all-records-filtered")&&t.domNode.classList.remove("all-records-filtered"):t.domNode.classList.contains("all-records-filtered")||t.domNode.classList.add("all-records-filtered")}));var U=(0,T.Ye)((function(){return console.info("Render table children (MEMO) #",jT.M++),(0,s.h)(s.HY,null,(0,s.h)(NC,null),(0,s.h)(Tx,{data:i}),(0,s.h)(Mk,{size:i.size}))}),[r]);return(0,s.h)(LT.Provider,{value:{i18n:b,bench:n,editor:t,editable:o,setProp:a,applyDelta:l,startEdit:c,tableExec:p,onTableAction:f,globalConfig:d,renderWithFilter:v,data:i,useRefs:_,useMenu:x,useUtils:w,useAction:k,useResize:C,useSelection:S,useFilter:E}},(0,s.h)(I,{size:i.size,settings:i.settings,setTableContext:g},(0,s.h)("table",{ref:j,className:L.join(" ")},o&&!1!==d.enableMenu?(0,s.h)(Qr,null):null,U)),x.getMenu(),E.getFilter())}function FT(e){return(FT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function UT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HT(e,t){return(HT=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function VT(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=WT(e);if(t){var o=WT(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zT(this,n)}}function zT(e,t){if(t&&("object"===FT(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qT(e)}function qT(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GT(e,t,n){return(GT="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=WT(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function WT(e){return(WT=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function YT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZT=function(e){!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}}),t&&HT(e,t)}(i,e);var t,n,r,o=VT(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),YT(qT(t=o.call(this,e)),"updateHeaderPos",(function(){var e=t.domNode.querySelector("thead"),n=t.tableBlot.domNode,r=t.editor.getScrollingContainer(),o=t.domNode.querySelector("tbody tr:last-child"),i=t.tableBlot.blotConfig.floatingHeaderOffset?parseInt(t.tableBlot.blotConfig.floatingHeaderOffset):0;if(e&&r){var a=r.getBoundingClientRect(),s=n.getBoundingClientRect(),l=e.getBoundingClientRect(),c=o.getBoundingClientRect(),u=a.y+i-s.y;u<0?u=0:c.y-l.height<a.top+i&&(u=c.y-s.y-l.height);var d=e.getAttribute("data-htop")||0;parseInt(d)>u?e.classList.contains("disabled-transition")||e.classList.add("disabled-transition"):e.classList.contains("disabled-transition")&&e.classList.remove("disabled-transition"),e.setAttribute("style","--htop:".concat(u,"px;")),e.setAttribute("data-htop",u)}})),YT(qT(t),"onTableRenderComponent",(function(e){"function"==typeof e&&e(qT(t))})),t.domNode.classList.add("table-embed"),t}return t=i,r=[{key:"create",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=(e=GT(WT(i),"create",this)).call.apply(e,[this].concat(n));return o}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=GT(WT(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.version=0,this.currentCell=null,this.mapToObject({render:!0}),this.editor.on("editorUpdate",this.updateHeaderPos),this.editor.getScrollingContainer().addEventListener("scroll",this.updateHeaderPos,!1)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=GT(WT(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.off("editorUpdate",this.updateHeaderPos),this.editor.getScrollingContainer().removeEventListener("scroll",this.updateHeaderPos,!1)}},{key:"_clearData",value:function(){this.table={},this.index={cell:{},child:{}}}},{key:"tableBlot",get:function(){return this.parent}},{key:"editable",get:function(){return!this.tableBlot.isBlotLocked&&this.editor.mode===fpe}},{key:"getWrappedBlot",value:function(){return this.tableBlot}},{key:"mapToObject",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.mode||(t.mode="full"),t.start&&(t.last||(t.last={}),!t.last.hasOwnProperty("row")&&t.start.hasOwnProperty("row")&&(t.last.row=t.start.row),!t.last.hasOwnProperty("col")&&t.start.hasOwnProperty("col")&&(t.last.col=t.start.col));var n,r,o=this.tableBlot.bench,i=o.mark("Embed mapToObject"),a=this.map.toJSON(),s={table:"full"===t.mode||"table"===t.mode,rows:"full"===t.mode||"rows"===t.mode||"cols_cells"===t.mode,cols:"full"===t.mode||"cols"===t.mode||"cols_cells"===t.mode};if("full"===t.mode&&(this._clearData(),this.table={colsData:{},rowsData:{}}),s.cols&&null!==(n=a.columns)&&void 0!==n&&n.length)for(var l,c,u="full"===t.mode?0:(null===(l=t.start)||void 0===l?void 0:l.col)||0,d="full"===t.mode?a.columns.length-1:(null===(c=t.last)||void 0===c?void 0:c.col)||a.columns.length-1,p=u;p<=d;p++){var f=a.columns[p];if(f){var h=this.store.getMap(f),m=h?h.toJSON():{};m.summaries&&(m.summary=m.summaries[0]),m.hasOwnProperty("dbSelect")&&(m.dbSelect=ve("object",m.dbSelect)),this.table.colsData[p]=m}}if(s.rows&&null!==(r=a.rows)&&void 0!==r&&r.length)for(var g,y,v="full"===t.mode?0:(null===(g=t.start)||void 0===g?void 0:g.row)||0,b="full"===t.mode?a.rows.length-1:(null===(y=t.last)||void 0===y?void 0:y.row)||a.rows.length-1,_=function(t){var n=a.rows[t];if(n){var r,o=e.store.getMap(n),i=o?o.toJSON():{};i.cellsData={},e.table.rowsData[t]=i,null!==(r=i.children)&&void 0!==r&&r.length&&i.children.forEach((function(n,r){n&&e.fillCellData({row:t,col:r},n)}))}},w=v;w<=b;w++)_(w);if(s.table){for(var C in a.hasOwnProperty("size")?this.table.size=a.size:this.table.size={cols:a.columns.length,rows:a.rows.length},this.table.settings={},M.table.settings){var S=M.table.settings[C];a.hasOwnProperty(S.key)?this.table.settings[C]=a[S.key]:this.table.settings[C]=S.default||!1}this.table.props={};for(var E=["sortableColumn","filter","filter-disabled"],x=0,k=E;x<k.length;x++){var O=k[x];a.hasOwnProperty(O)&&(this.table.props[O]=a[O])}this.tableBlot.props.tempRow&&(this.table.props.tempRow=this.tableBlot.props.tempRow)}o.measure(i);var T,A=t.render&&!t.fastRender;t.fastRender&&(s.rows&&!s.cols?T="rows":s.cols&&!s.rows&&(T="cols"),T&&t.start?this.fastRender(T,t.start,t.last,{withAllCells:t.withAllCells,withSummary:t.withSummary}):A=!0),A&&this.render(),this.tableBlot.updateCommentsCounters()}},{key:"fillCellData",value:function(){var e,t,n,r,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(a||(a=null===(t=this.table.rowsData)||void 0===t||null===(n=t[i.row])||void 0===n||null===(r=n.cellsData)||void 0===r||null===(o=r[i.col])||void 0===o?void 0:o.id),!a)return console.warn("cellId is",FT(a)),!1;this.table.rowsData[i.row]||this.mapToObject({mode:"rows",start:i});var l=this.store.getMap(a),c=l.toJSON();if(null!==(e=c.children)&&void 0!==e&&e.length){this.index.child[c.children[0]]=i;var u=this.store.getMap(c.children[0]);if(u&&(c.child=u.toJSON(),c.child.hasOwnProperty("characters"))){var d=u.get("characters").toDelta();c.child.delta=d}}return this.table.rowsData[i.row].cellsData[i.col]=c,this.index.cell[a]=i,s.render&&this.fastRender("cells",i,i,{withSummary:s.withSummary}),c}},{key:"updateCellById",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cell";return!(null===(t=this.index[n])||void 0===t||!t.hasOwnProperty(e)||(this.fillCellData(this.index[n][e]),0))}},{key:"getOrCreateMapId",value:function(e,t){var n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={mode:"rows",start:t,render:!1,fastRender:!1};if("col"===e)a.mode="full",a.render=!0,n=null===(r=this.table.colsData)||void 0===r||null===(o=r[t.col])||void 0===o?void 0:o.id;else if("row"===e){var s,l;a.render=!0,n=null===(s=this.table.rowsData)||void 0===s||null===(l=s[t.row])||void 0===l?void 0:l.id}else if("cell"===e){var c,u,d,p;a.fastRender=!0,n=null===(c=this.table.rowsData)||void 0===c||null===(u=c[t.row])||void 0===u||null===(d=u.cellsData)||void 0===d||null===(p=d[t.col])||void 0===p?void 0:p.id}else if("child"===e){var f,h,m,g,y;a.fastRender=!0,n=null===(f=this.table.rowsData)||void 0===f||null===(h=f[t.row])||void 0===h||null===(m=h.cellsData)||void 0===m||null===(g=m[t.col])||void 0===g||null===(y=g.child)||void 0===y?void 0:y.id}return n||(console.info("Create map",e,t,i),n=this.tableBlot.createInnerMap(e,t),i.render&&this.mapToObject(a)),n}},{key:"setProp",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(console.info("setProp",e,t,n),!this.editable)return console.info("return"),!1;var r,o=this.getOrCreateMapId(n.type,n.pos,{render:!0}),i=this.store.getMap(o);if(i){if(null===t)i.delete(e);else if(i.set(e,t),n.yArray&&"object"===FT(t)){var a=new this.store.types.Array;a.push(t),i.set(n.yArray,a)}var s;switch(n.type){case"col":var l=M.col.updateCells.includes(e);s=M.col.updateSummary.includes(e),this.mapToObject({mode:"cols",fastRender:!0,withAllCells:l,withSummary:s});break;case"row":this.mapToObject({mode:"rows",render:!0});break;case"cell":s=M.cell.updateSummary.includes(e),this.fillCellData(n.pos,!1,{render:!0,withSummary:s})}}else console.warn("map not found",o,n);["width","height","title"].includes(e)||this.tableBlot.ensureNewRowType((null===(r=n.pos)||void 0===r?void 0:r.row)||0)}},{key:"applyDelta",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.editable)return!1;var n=this.getOrCreateMapId("child",t.pos,{render:!0}),r=this.store.getMap(n);if(r){if(r.has("characters")){var o;if(t.replace){var i=new(c())(r.get("characters").toDelta());o=i.diff(new(c())(e))}else o=new(c())(e);r.get("characters").applyDelta(o.ops)}this.fillCellData(t.pos,!1,{render:!0,withSummary:!0})}else console.warn("map not found",n,t)}},{key:"startEdit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getOrCreateMapId("child",e.pos,{render:!0});return this.currentCell=e,this.tableBlot.tableBlotEditCell.startEdit(t,e)}},{key:"endEdit",value:function(e){var t=this.currentCell,n=t.pos,r=t.cellData,o=t.endEdit,i=this.editor.plugins.selectionScroller;this.fillCellData(n,r.id),this.render(),o&&o(e),null==i||i.ignoreNextSelectionChange()}},{key:"fastRender",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.withSummary,i=void 0!==o&&o,a=r.withAllCells,s=void 0!==a&&a;r.withCellsInRange,"cols_cells"===e&&(e="cols",s=!1),this.tableBlot.componentOnAction({type:"render",data:this.table,mode:e,start:t,last:n,withSummary:i,withAllCells:s})}},{key:"render",value:function(){var e=this.tableBlot,t=e.bench,n=e.tableExec,r=e.onTableAction,o=e.setOnAction,i=e.setOnKeyDown,a=e.setTableContext,l=e.renderWithFilter,c=t.mark("Embed render full"),u=Object.assign({},this.tableBlot.blotConfig,{mobile:"mobile"===this.editor.options.deviceType});(0,s.sY)((0,s.h)(BT,{editor:this.editor,bench:t,editable:this.editable,version:++this.version,data:this.table,setProp:this.setProp.bind(this),startEdit:this.startEdit.bind(this),applyDelta:this.applyDelta.bind(this),tableExec:n.bind(this.tableBlot),renderWithFilter:l.bind(this.tableBlot),onTableAction:r.bind(this.tableBlot),setOnAction:o.bind(this.tableBlot),setOnKeyDown:i.bind(this.tableBlot),globalConfig:u,setTableContext:a.bind(this.tableBlot),onTableRenderComponent:this.onTableRenderComponent}),this.domNode);var d=t.measure(c);console.info("#"+c.split("#").pop(),d)}}])&&UT(t.prototype,n),r&&UT(t,r),i}(O);ZT.blotName="tableBodyEmbed",ZT.tagName="div";n(24603);function KT(e){return(KT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return QT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return QT(e,t)}(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 QT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eA(e,t,n){return(eA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=iA(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function tA(e,t){return(tA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=iA(e);if(t){var o=iA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rA(this,n)}}function rA(e,t){if(t&&("object"===KT(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oA(e)}function oA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iA(e){return(iA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function aA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sA=(0,Rn.ZP)("enter"),lA=(0,Rn.ZP)("esc"),cA=(0,Rn.ZP)("delete"),uA=(0,Rn.ZP)("backspace"),dA=(0,Rn.ZP)("shift+backspace"),pA=(0,Rn.ZP)("shift+enter"),fA=(0,Rn.ZP)("arrowup"),hA=(0,Rn.ZP)("arrowdown"),mA=(0,Rn.ZP)("arrowleft"),gA=(0,Rn.ZP)("arrowright"),yA=(0,Rn.ZP)("mod+a"),vA=["link-form-adress"],bA=function(e){!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}}),t&&tA(e,t)}(i,e);var t,n,r,o=nA(i);function i(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(XT(this,i),aA(oA(t=o.call(this,e,n)),"onContextMenu",(function(e){e.preventDefault(),t.parentTable.componentOnAction({type:"context-menu",mode:"cell",event:e})})),aA(oA(t),"onTouchStartBound",t.onTouchStart.bind(oA(t))),aA(oA(t),"onBlur",(function(e){var n;vA.includes(null==e||null===(n=e.relatedTarget)||void 0===n?void 0:n.id)?console.info("Skip blur to",null==e?void 0:e.relatedTarget):t.preventBlur?t.setCursorTo(t.preventBlur):Date.now()-(t.started||0)>10?t.endWrite(e):console.info("Skip blur event")})),aA(oA(t),"onKeyDown",(function(e){var n=!1;if("mobile"===t.editor.options.keyboardMode&&(t.isMobileKeyDown=229===e.keyCode),sA(e))t.isMention||(e.preventDefault(),e.stopPropagation(),t.endWrite(e),t.parentTable.hasFilter()||t.parentTable.componentOnAction({type:"add-row-and-move-down"})),n=!0;else if(lA(e))t.endWrite(e),n=!0;else if(pA(e))e.preventDefault(),t.isText&&t.onShiftEnterKey(e),n=!0;else if(uA(e)||dA(e)||cA(e))e.stopPropagation(),n=!0;else if(fA(e)||hA(e))t.isMention?e.preventDefault():t.preventBlur=fA(e)?"start":"end",n=!0;else if(mA(e)||gA(e)){var r=t.scroll.selection.getRange({offsetBlot:oA(t)})[0];(0===r.index&&mA(e)||r.index===t.length()-1&&gA(e))&&(e.preventDefault(),n=!0)}else yA(e)?(e.preventDefault(),e.stopPropagation(),n=!0,t.scroll.selection.setRange({index:t.offset(t.scroll),length:t.length()-1})):e.altKey||e.ctrlKey||e.metaKey?n=!1:t.isNumber&&(n=!0);return n})),aA(oA(t),"onKeyUp",(function(e){var n=!1;return fA(e)||hA(e)?(n=!0,t.preventBlur=!1):229===e.keyCode&&"mobile"===t.editor.options.keyboardMode&&t.filterNumber(e),n})),aA(oA(t),"onBeforeInputBound",t.onBeforeInput.bind(oA(t))),aA(oA(t),"onInputBound",t.onInput.bind(oA(t))),t.addCanExecActions(Gl.canExecActions),t.keepNewLines=!0,t.dontConvertLinks=!0,t.options=n||{},t.format=n.format||{},t.textFormat=n.textFormat||{},t.type=n.type||"text",t.isMention="mention"===t.type,t.isNumber="number"===t.type,t.isText=!t.isNumber&&!t.isMention,t.floatingToolbarDisabled=!t.isText,t.disableAddNote=!0,t.preventBlur=!1,t.isMobileKeyDown=!1,t.isNumber){var r="0-9\\"+(t.format.decimalSeparator||".");t.regexTest=new RegExp("^([".concat(r,"]{1,})$")),t.regexReplace=new RegExp("[^".concat(r,"]"),"g")}return t}return t=i,(n=[{key:"attach",value:function(){for(var e,t,n=this._quillBinding,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];(e=eA(iA(i.prototype),"attach",this)).call.apply(e,[this].concat(o)),n||(!this.map.has("align")&&this.options.textAlign&&this.map.set("align",this.options.textAlign),this.started=Date.now(),this.domNode.setAttribute("data-gramm",!1),this.domNode.setAttribute("contenteditable",!0),this.domNode.classList.add("table-blot-edit-text","table-text-common","focused-block"),this.domNode.addEventListener("blur",this.onBlur,!1),this.domNode.addEventListener("keyup",this.onKeyUp,!1),this.domNode.addEventListener("keydown",this.onKeyDown,!1),this.domNode.addEventListener("input",this.onInputBound,!1),this.domNode.addEventListener("beforeinput",this.onBeforeInputBound,!1),this.domNode.addEventListener("contextmenu",this.onContextMenu,!1),null!==(t=this.parent.options)&&void 0!==t&&t.scrollNode&&this.parent.options.scrollNode.addEventListener("touchstart",this.onTouchStartBound,!1),this.beginWrite(),this.render())}},{key:"detach",value:function(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=eA(iA(i.prototype),"detach",this)).call.apply(e,[this].concat(r)),this.domNode.removeEventListener("blur",this.onBlur,!1),this.domNode.removeEventListener("keyup",this.onKeyUp,!1),this.domNode.removeEventListener("keydown",this.onKeyDown,!1),this.domNode.removeEventListener("input",this.onInputBound,!1),this.domNode.removeEventListener("beforeinput",this.onBeforeInputBound,!1),this.domNode.removeEventListener("contextmenu",this.onContextMenu,!1),null!==(t=this.parent.options)&&void 0!==t&&t.scrollNode&&this.parent.options.scrollNode.removeEventListener("touchstart",this.onTouchStartBound,!1)}},{key:"parentTable",get:function(){return this.parent.parent}},{key:"onTouchStart",value:function(e){"mobile"===this.editor.options.keyboardMode&&(null==e?void 0:e.target)!==this.domNode&&this.onBlur(e)}},{key:"onBeforeInput",value:function(e){this.testNumber(e)}},{key:"onInput",value:function(e){if(this.isMobileKeyDown){if("\n"===(e.data&&e.data.substr(e.data.length-1,1))){e.stopPropagation();var t=this.scroll.selection.getRange(this);this.scroll.selection.setRange({index:t[0].index+this.length()-1,length:0});var n=new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,key:"Enter",keyCode:13});this.domNode.dispatchEvent(n)}this.isMobileKeyDown=!1}}},{key:"testNumber",value:function(e){var t=!1;if(this.isNumber){t=!0;var n=e.data&&e.data.substr(e.data.length-1,1);if(n){var r=this.getText().trim().split(/[\.,]+/),o=/[0-9]/.test(n),i=!0,a=$T(this.selection.getRange({offsetBlot:this}),1)[0];o?(1===r.length||!this.format.decimals||r[1].length<this.format.decimals||0!==a.length||a.index<=r[0].length)&&(i=!1):1===r.length&&n===this.format.decimalSeparator?i=!1:"-"!==n||0!==a.index||r[0].startsWith("-")||(i=!1),i&&e.preventDefault()}}return t}},{key:"filterNumber",value:function(e){if(this.isNumber){var t=this.getText().trim();if(t&&!this.regexTest.test(t)){var n=t.replace(this.regexReplace,"");null==e||e.stopPropagation(),this.clear(),n.length&&this.map.get("characters").applyDelta([{retain:0},{insert:n}]),this.setCursorTo("end")}}}},{key:"onEndWriteNormalize",value:function(){var e=this,t=this.map.get("characters");if(this.isText){var n=new(c())(t.toDelta());if(!Ws()(n,this.cache.delta)){var r=n.diff(this.cache.delta);Boolean(r.ops.length)&&this.store.transaction((function(){t.applyDelta([{delete:n.length()}]),t.applyDelta(e.cache.delta.ops)}))}}else if(this.isNumber){var o=this.getText().replace("\n","");"-"===o?this.clear():"-0"===o&&t.applyDelta([{delete:1}])}}},{key:"clear",value:function(){this.map.get("characters").applyDelta([{delete:this.length()},{insert:"\n"}])}},{key:"setCursorTo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start",t=this.getText().endsWith("\n")?1:0,n=this.length()-t;e=isNaN(e)?"end"===e?n:0:Math.min(n,Math.max(0,e)),this.scroll.selection.setRange({index:this.offset(this.scroll)+e,length:0})}},{key:"onShiftEnterKey",value:function(e){var t=$T(this.selection.getRange({offsetBlot:this}),1)[0],n=$T(this.selection.getRange(),1)[0],r=this.selection.getNativeRange();if(r.start.node==r.end.node&&r.start.offset==r.end.offset){var o=[{retain:t.index},{insert:{linebreak:"s"}}];t.index===this.delta().length()-1&&o.push({insert:" "});var i=!1;this.delta().length()-t.index<3&&(i=!0),this.map.get("characters").applyDelta(o),n.index++,this.selection.setRange(n),i&&(this.domNode.scrollTop=this.domNode.scrollHeight)}}},{key:"beginWrite",value:function(){this.editing=!0,this.domNode.focus(),this.setCursorTo("end"),this.checkMention()}},{key:"endWrite",value:function(e){this.onEndWriteNormalize(),this.editing&&(this.editing=!1,this.parent.endEdit(e))}},{key:"update",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=eA(iA(i.prototype),"update",this)).call.apply(e,[this].concat(n)),this.applyColumnFormatsIfNeed(),this.render(),this.parent.childUpdate(),this.checkMention()}},{key:"render",value:function(){this.options.hasOwnProperty("text-align")&&(this.domNode.style.textAlign=this.options["text-align"]),eA(iA(i.prototype),"render",this).call(this)}},{key:"checkMention",value:function(){if(this.isMention){var e=this.editor.plugins.mentionManager;if("@"===this.getText().trim()){var t=this.scroll.selection.getRange({offsetBlot:this})[0];e.start(this,t,{mentionMode:"table",customPlaceholder:" ",onMentionEnd:this.endWrite.bind(this)})}}}},{key:"onPaste",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!0,r=String(t.text||(null===(e=t.html)||void 0===e?void 0:e.replace(/(<([^>]+)>)/gi,""))).trim();if(!r||this.isMention)n=!1;else if(this.isNumber)if(r=r.replace(",","."),isNaN(r))n=!1;else if(r.includes(".")){var o=this.format.decimalSeparator||".";this.getText().trim().includes(o)?n=!1:"."!==o&&(r=r.replace(".",o))}if(!n)return!0;var i=this.scroll.selection.getRange({offsetBlot:this})[0],a=[];i.index>0&&a.push({retain:i.index});var s=this.isNumber?[r]:r.split("\n");for(var l in s){var c={insert:s[l].trim()};fl(c.insert)&&(c.attributes={link:c.insert}),a.push(c),s.length>1&&l<s.length-1&&a.push({insert:{linebreak:"s"}})}i.length>0&&a.push({delete:i.length}),this.map.get("characters").applyDelta(a);var u=i.index+r.length,d=this.offset(this.scroll);this.scroll.selection.setRange({index:d+u,length:0}),this.parent.childUpdate()}},{key:"getCopyParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.editor.plugins.copyManager,n=t.getNativeCopyData(),r=n.html,o=n.text,i=this.scroll.selection.getRange({offsetBlot:this}),a=$T(i,1),s=a[0],l=this.getBlotInsertParams(s);return e&&t.useDeleteAction([this],this.scroll.selection.getRange()[0]),{html:r,text:o,op:l}}},{key:"applyColumnFormatsIfNeed",value:function(){var e=this,t=this.getFormat(0,this.length()-1);Object.keys(this.textFormat).forEach((function(n){t.hasOwnProperty(n)&&t[n]===e.textFormat[n]||e.formatAt(0,e.length()-1,n,e.textFormat[n])}))}}])&&JT(t.prototype,n),r&&JT(t,r),i}(Eu(tu(Gl)));function _A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return wA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wA(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function wA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function CA(e){return(CA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function SA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function EA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SA(Object(n),!0).forEach((function(t){xA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OA(e,t,n){return(OA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=RA(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function TA(e,t){return(TA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function AA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=RA(e);if(t){var o=RA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return PA(this,n)}}function PA(e,t){if(t&&("object"===CA(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 RA(e){return(RA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}bA.tagName="DIV",bA.blotName="tableBlotEditText",bA.allowedChildren=Gl.allowedChildren;var IA=function(e){!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}}),t&&TA(e,t)}(i,e);var t,n,r,o=AA(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"attach",value:function(){this.edit=!1,this.padding={width:22},this.domNode.classList.add("table-blot-edit-area")}},{key:"exec",value:function(e){var t=OA(RA(i.prototype),"exec",this).call(this,e);return"delete"===e.type||"backspace"===e.type?this.childBlot.exec(e):t}},{key:"table",get:function(){return this.parent}},{key:"isEdit",get:function(){return this.editing}},{key:"containerChildren",get:function(){return[]}},{key:"optimize",value:function(){}},{key:"startEdit",value:function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.endEdit(),this.editing=!0,this.options=i;var s=!1;"mention"===i.type?s="@":"keydown"!==(null===(t=i.event)||void 0===t?void 0:t.type)||1!==(null===(n=i.event.key)||void 0===n?void 0:n.length)||"text"!==i.type&&("number"!==i.type||"-"!==i.event.key&&isNaN(i.event.key))?"number"===i.type&&c&&-1!==c.indexOf("‚")&&(s=c.replace(/‚/g,"")):s=i.event.key,this.options.minHeight=s?i.rowHeight:Math.max(i.rowHeight,null===(r=i.node)||void 0===r?void 0:r.offsetHeight),this.expandReset(),null!==(o=i.style)&&void 0!==o&&o.valign?this.domNode.setAttribute("valign",i.style.valign):this.domNode.removeAttribute("valign"),this.domNode[i.nowrap?"setAttribute":"removeAttribute"]("nowrap",!0),this.render(),this.childBlot=a().create("tableBlotEditText",EA(EA({},i.style),{},{type:i.type,format:i.format,textFormat:"text"===i.type?i.textFormat:{},textAlign:i.textAlign})),this.childBlot.map=this.store.getMap(e);var l=this.childBlot.map.get("characters"),c=null==l?void 0:l.toString();if(s){var u=l.length;null!=c&&c.endsWith("\n")&&(u-=1);var d=[];u&&d.push({delete:u}),d.push({insert:s}),l.applyDelta(d)}this.appendChild(this.childBlot),this.table.setClass("text-editing",!0)}},{key:"endEdit",value:function(e){this.isEdit&&(this.childBlot.remove(),this.table.tableBodyEmbed.endEdit(e),this.editing=!1,this.render(),this.table.setClass("text-editing",!1),"object"===CA(e)&&("keydown"===e.type||e.object_id)&&this.table.focusableFocus())}},{key:"render",value:function(){this.isEdit?(this.domNode.classList.add("active"),this.align()):this.domNode.classList.remove("active")}},{key:"align",value:function(){this.wrapRect=this.parent.domNode.parentNode.getBoundingClientRect(),this.cellRect=this.options.node.getBoundingClientRect(),this.zero={top:Math.max(0,this.cellRect.top-this.wrapRect.top)-1,left:Math.max(0,this.cellRect.left-this.wrapRect.left)+1},this.options.nowrap?this.expand():(this.fitCell(),this.options.minHeight&&(this.domNode.style.minHeight=this.options.minHeight+"px"))}},{key:"fitCell",value:function(){this.domNode.style.top=this.zero.top+"px",this.domNode.style.left=this.zero.left-.5+"px",this.domNode.style.width=this.cellRect.width-this.padding.width+1+"px",this.domNode.style.height=this.cellRect.height+"px"}},{key:"childUpdate",value:function(){if(this.editing){var e=this.childBlot.map.get("characters");this.options.onInput&&this.options.onInput(e),this.options.nowrap?(this.domNode.style.height=M.row.props.height+"px",this.expand()):this.domNode.style.height=this.childBlot.domNode.offsetHeight+"px"}}},{key:"expand",value:function(){var e=!1;if((this.isOverflow||this.isExceedDefaultHeight||this.expandedCol&&this.expandedCol>1||this.expandedRow&&this.expandedRow>1)&&(e=!0),e){if(this.domNode.classList.add("expanded"),!this.expandedRow||1===this.expandedRow){this.domNode.classList.add("expanded-col"),this.expandedCol=0;var t,n=_A(this.options.coords.col);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(this.expandedCol++,this.domNode.style.left=this.zero.left+r.left-2+"px",this.domNode.style.width=r.width-this.padding.width+"px",!this.isOverflow&&!this.isExceedDefaultHeight)break}}catch(e){n.e(e)}finally{n.f()}}if(this.expandedRow=1,this.expandedCol===this.options.coords.limit.col){var o=!0;this.domNode.classList.add("expanded-row");var i,a=_A(this.options.coords.row);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(this.domNode.style.top=this.zero.top+s.top+"px",this.domNode.style.height=s.height+1+"px",this.expandedRow++,!this.isOverflow){o=!1;break}}}catch(e){a.e(e)}finally{a.f()}this.domNode.classList[o?"add":"remove"]("expanded-scroll")}1===this.expandedRow&&this.domNode.classList.remove("expanded-row"),1===this.expandedCol&&1===this.expandedRow&&(e=!1)}e||(this.expandReset(),this.fitCell())}},{key:"expandReset",value:function(){this.domNode.classList.remove("expanded","expanded-col","expanded-row"),this.expandedCol=1,this.expandedRow=1}},{key:"isOverflow",get:function(){return this.isOverflowX||this.isOverflowY}},{key:"isOverflowX",get:function(){return this.domNode.scrollWidth-this.domNode.offsetWidth>0}},{key:"isOverflowY",get:function(){return this.domNode.scrollHeight-this.domNode.offsetHeight>0}},{key:"isExceedDefaultHeight",get:function(){return this.domNode.offsetHeight-M.row.props.height-2>0}}])&&kA(t.prototype,n),r&&kA(t,r),i}(se([tu,Bc,Eu])(g));IA.blotName="tableBlotEditCell",IA.tagName="DIV",IA.allowedChildren=[bA];const MA=IA;n(84944);function NA(e){return(NA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var jA=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t||"id_"+Date.now().toString().substr(5),this.prefixMark="_mark_",this.prefixMeasure="_measure_",this.marks={},this.level=0,this.performance=this.getPerformance()}var t,n,r;return t=e,(n=[{key:"getPerformance",value:function(){return"object"===("undefined"==typeof performance?"undefined":NA(performance))?performance:{mark:function(){},measure:function(){},getEntriesByType:function(){return[]},getEntriesByName:function(){return[]},clearMeasures:function(){},clearMarks:function(){}}}},{key:"_mark",value:function(e){return this.marks.hasOwnProperty(e)?this.marks[e].count++:this.marks[e]={count:1,level:this.level++},"".concat(this.id).concat(this.prefixMark,"#").concat(this.marks[e].count,"_").concat(e)}},{key:"mark",value:function(e){var t=this._mark(e);return this.performance.mark(t),t}},{key:"measure",value:function(e){var t;this.level--;var n=e.replace(this.prefixMark,this.prefixMeasure);this.performance.measure(n,e);var r=this.performance.getEntriesByName(n);return(null==r||null===(t=r.pop())||void 0===t?void 0:t.duration)||null}},{key:"print",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.performance.getEntriesByType("measure").reduce((function(n,r){var o=r.name,i=r.startTime,a=r.duration;if(r.name.startsWith(e.id)){var s=(o=o.replace(e.id+e.prefixMeasure,"").trim()).split("_"),l=s.shift();o=s.join("_");var c=e.marks[o];t.flat&&(null==c?void 0:c.count)>1&&(o="".concat(l,"_").concat(o));var u=o;t.tree&&(u="-".repeat(c.level)+(c.level?" ":"")+o),t.flat||!n.hasOwnProperty(o)?n[o]={name:u,startTime:[i],duration:[a],min:a,max:a,calls:1}:(n[o].calls+=1,n[o].startTime.push(i),n[o].duration.push(a),n[o].min=Math.min(a,n[o].min),n[o].max=Math.max(a,n[o].max))}return n}),{}),r=[];for(var o in n)n[o].duration=n[o].duration.reduce((function(e,t){return e+t}),0)/n[o].duration.length,n[o].average=n[o].duration,n[o].startTime=n[o].startTime[0],r.push(n[o]);t.clear&&this.clear()}},{key:"clear",value:function(){var e=this;["measure","mark"].map((function(t){e.marks={},e.level=0,e.performance.getEntriesByType(t).forEach((function(n){n.name.startsWith(e.id)&&("measure"===t?e.performance.clearMeasures(n.name):"mark"===t&&e.performance.clearMarks(n.name))}))}))}}])&&DA(t.prototype,n),r&&DA(t,r),e}();function LA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function BA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?LA(Object(n),!0).forEach((function(t){FA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function FA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function UA(e){return(UA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function HA(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return VA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return VA(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function VA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GA(e,t,n){return(GA="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=KA(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function WA(e,t){return(WA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function YA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=KA(e);if(t){var o=KA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ZA(this,n)}}function ZA(e,t){if(t&&("object"===UA(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 KA(e){return(KA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const $A=function(e){return function(e){!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}}),t&&WA(e,t)}(i,e);var t,n,r,o=YA(i);function i(){zA(this,i);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.call.apply(o,[this].concat(t))}return t=i,(n=[{key:"nimbusOpsForbidden",get:function(){return!this.editor.isEditable()}},{key:"copySelectedCells",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.editor.plugins.i18n;e.start&&e.last;var n=this.getCopyHTML(!1);return(0,fe.qN)(n.html),this.editor.plugins.notificationManager.toast(t.get("copy.copied")),n}},{key:"getCopyHTML",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.editor.plugins.i18n,o=this.tableSize;e=n?{start:{row:0,col:0},end:{row:o.rows-1,col:o.cols-1},single:1===o.rows&&1===o.cols}:this.componentOnAction({type:"selection"});var i,a=document.createElement("table"),s=document.createElement("thead"),l=document.createElement("tbody"),c=HA(M.table.copy);try{for(c.s();!(i=c.n()).done;){var u=i.value;this.map.has(u)&&a.setAttribute(u,this.map.get(u))}}catch(e){c.e(e)}finally{c.f()}var d=document.createElement("tr");return this.eachColMap(e.start,e.end,{create:!1},(function(e,t){var n,r=document.createElement("th"),o=HA(M.col.copy);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=e&&e.has(i)?e.get(i):M.col.props[i];a&&"object"===UA(a)&&(a=Object.keys(a).length?JSON.stringify(a):void 0),null!=a&&r.setAttribute(i,a)}}catch(e){o.e(e)}finally{o.f()}d.appendChild(r)})),s.appendChild(d),this.eachRowMap(e.start,e.end,{create:!1},(function(n,o){if(t.hasFilter()){var i,a,s,c,u=null===(i=t.tableComponentContext)||void 0===i||null===(a=i.useRefs)||void 0===a||null===(s=a.links)||void 0===s||null===(c=s.row)||void 0===c?void 0:c[o.row];if(!u||!u.rowData||u.rowData.id!==n.get("id"))return}var d,p=document.createElement("tr"),f=HA(M.row.copy);try{for(f.s();!(d=f.n()).done;){var h=d.value,m=n&&n.has(h)?n.get(h):M.row.props[h];void 0!==m&&p.setAttribute(h,m)}}catch(e){f.e(e)}finally{f.f()}t.eachCellMap(Object.assign({},e.start,o),Object.assign({},e.end,o),{create:!1},(function(n,o){if(null==n||!n.get("hidden")){var i=document.createElement("td");if(n){var a,s=HA(M.cell.copy);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=n.get(l);"object"===UA(c)&&(c=JSON.stringify(c)),n.has(l)&&i.setAttribute(l,c)}}catch(e){s.e(e)}finally{s.f()}var u=t.childMapByPos(o,{cellMap:n});if(u){var d,f=HA(M.child.copy);try{for(f.s();!(d=f.n()).done;){var h=d.value;u.has(h)&&i.setAttribute(h,u.get(h))}}catch(e){f.e(e)}finally{f.f()}}var m=t.colMapByIndex(o.col),g=t.getCellType(o),y=qr(g,n,u,{colMap:m,cellLink:t.getCellLink(o),i18n:r});if("mention"===g){if(y.mention){var v=document.createElement("mention");for(var b in v.setAttribute("mention",JSON.stringify(y.mention)),v.innerText=y.text,y)b.startsWith("data-")&&v.setAttribute(b,y[b]);i.appendChild(v)}}else{var _=y.text;_&&(_.startsWith("i18n:")&&(_=r.get(_.replace("i18n:",""))),e.single||(_+=" "),i.innerHTML=_)}}p.appendChild(i)}})),p.childNodes.length&&l.appendChild(p)})),a.appendChild(s),a.appendChild(l),{html:a.outerHTML,text:a.textContent}}},{key:"getCopyParams",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.getEditing();if(r)return null===(e=(t=r.blot).getCopyParams)||void 0===e?void 0:e.call(t,n);var o=GA(KA(i.prototype),"getBlotInsertParams",this).call(this),a=this.getContent({selection:!0});a.room=this.editor.options.serverRoom;var s=n?this.onCut():this.getCopyHTML(),l=s.text,c=s.html;return(0,fe.Ee)(o,{text:l,html:c},{initParams:a})}},{key:"onCut",value:function(){var e=this.getCopyHTML(),t=e.text,n=e.html;return this.clearSelectedCells(),{text:t,html:n}}},{key:"getBlotInsertParams",value:function(e,t){var n=GA(KA(i.prototype),"getBlotInsertParams",this).call(this,e,t),r=this.getContent();return r.room=this.editor.options.serverRoom,(0,fe.Ee)(n,{initParams:r})}},{key:"getContent",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={columns:[],rows:[]},o={row:0,col:0},i={row:this.rowLast,col:this.colLast};if(n.selection){var a=this.componentOnAction({type:"selection"});a.start&&a.last&&(o=a.start,i=a.last)}this.eachColMap(o,i,{create:!1},(function(e,n){var o=t.getColCloneParams(e);r.columns.push(o)})),this.eachRowMap(o,i,{create:!1},(function(e,n){var a=t.getRowCloneParams(e);a.children=[],t.eachCellMap({row:n.row,col:o.col},{row:n.row,col:i.col},{create:!1},(function(e,n){var r=t.getCellCloneParams(n,e);a.children.push(r)})),r.rows.push(a)}));var s,l=this.tableSize,c={},u=HA(M.table.copy);try{for(u.s();!(s=u.n()).done;){var d=s.value;this.map.has(d)&&(c[d]=this.map.get(d))}}catch(e){u.e(e)}finally{u.f()}return Object.assign({},BA(BA({cols:l.cols,rows:l.rows,content:r},c),{},{lineByLine:!0,captionParams:null===(e=this.getWrapper().caption)||void 0===e?void 0:e.getBlotInsertParams()}))}},{key:"getColCloneParams",value:function(e){var t={},n=["id"];if(e){var r=e.toJSON();for(var o in r)n.includes(o)||(t[o]=r[o])}return t}},{key:"getRowCloneParams",value:function(e){var t={},n=["id","children"];if(e){var r=e.toJSON();for(var o in r)n.includes(o)||(t[o]=r[o])}return t}},{key:"getCellCloneParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=this.editor.plugins.i18n,r=this.getCellType(e),o=this.getCellLink(e),i=this.colMapByIndex(e.col),a=this.childMapByPos(e,{cellMap:t}),s=qr(r,t,a,{colMap:i,cellLink:o,i18n:n});return BA(BA({},s.params),{value:s.value,text:s.text})}},{key:"cloneSelf",value:function(){var e=this,t=this.getContent(),n=this.store.createMap();if(this.getWrapper().caption){var r=this.store.createMap();mv.initMap(r,this.store,{delta:this.getWrapper().caption.delta()}),t.caption=r.get("id")}return this.editor.store.transaction((function(){a().query(e.map.get("type")).initMap(n,e.store,t)})),n.get("id")}}])&&qA(t.prototype,n),r&&qA(t,r),i}(e)};function QA(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return XA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return XA(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function XA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function JA(e){var t=0,n=e,r=(0,H.Im)(e,"TBODY");r.length&&(n=r[0]);var o,i=(0,H.Im)(n,"tr"),a=function(e){var t,n=0,r=QA((0,H.Im)(e,"td,th"));try{for(r.s();!(t=r.n()).done;){var o=t.value;n+=parseInt(o.getAttribute("colspan"))||1}}catch(e){r.e(e)}finally{r.f()}return n},s=QA(i);try{for(s.s();!(o=s.n()).done;){var l=o.value;t=Math.max(a(l),t)}}catch(e){s.e(e)}finally{s.f()}for(var c=0,u=0;u<i.length;u++){var d=i[u],p=(0,H.Im)(d,"td,th")[0];if(p){var f=parseInt(p.getAttribute("rowspan"))||1;c+=f,(parseInt(p.getAttribute("colspan"))||1)===t||(u+=f-1)}}return{width:t,height:c}}var eP={ADDRESS:!0,ARTICLE:!0,ASIDE:!0,BLOCKQUOTE:!0,DETAILS:!0,DIALOG:!0,DD:!0,DIV:!0,DL:!0,DT:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FOOTER:!0,FORM:!0,HEADER:!0,HGROUP:!0,HR:!0,LI:!0,MAIN:!0,NAV:!0,P:!0,PRE:!0,SECTION:!0},tP={B:!0,BIG:!0,I:!0,U:!0,SMALL:!0,TT:!0,ABBR:!0,ACRONYM:!0,CITE:!0,CODE:!0,DEL:!0,DFN:!0,EM:!0,KBD:!0,STRONG:!0,SAMP:!0,VAR:!0,A:!0,BDO:!0,BR:!0,IMG:!0,MAP:!0,OBJECT:!0,Q:!0,SCRIPT:!0,SPAN:!0,SUB:!0,SUP:!0,BUTTON:!0,INPUT:!0,LABEL:!0,SELECT:!0,TEXTAREA:!0},nP={B:!0,BIG:!0,I:!0,SMALL:!0,TT:!0,ABBR:!0,ACRONYM:!0,CITE:!0,CODE:!0,DFN:!0,EM:!0,KBD:!0,STRONG:!0,SAMP:!0,VAR:!0,A:!0,BDO:!0,MAP:!0,Q:!0,SPAN:!0,SUB:!0,SUP:!0,BUTTON:!0,LABEL:!0,DIV:!0},rP={STRONG:!0,B:!0,A:!0};function oP(e){return(oP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iP(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return aP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aP(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function aP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var sP,lP={"text-decoration-line":!0};function cP(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0;n!==e.style.length;n++){var r=e.style[n];if(lP[r]){t[r]||(t[r]=[]);var o=e.style.getPropertyValue(r);t[r].indexOf(o)<0&&t[r].push(o)}else t[r]=e.style.getPropertyValue(r)}return t}function uP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e||t&&!t(e))return{};var r=uP(e.parentNode,t,n);if(n&&(r=n(e.parentNode,r)),e.style){var o=cP(e,r);n&&(o=n(e,o)),Object.assign(r,o)}return r}function dP(e){for(var t=0,n=Array.from(e.childNodes);t<n.length;t++){var r=n[t];e.parentNode.insertBefore(r,e)}e.parentNode.removeChild(e)}function pP(e){var t,n=iP(e.ops);try{for(n.s();!(t=n.n()).done;){var r=t.value;if("string"!=typeof r.insert)return!1;if(r.insert.trim())return!1}}catch(e){n.e(e)}finally{n.f()}return!0}function fP(e){return e.nodeType===Node.ELEMENT_NODE&&nP[e.tagName]&&!e.childNodes.length}function hP(e){var t,n=function(e){return"object"===oP(e.insert)&&e.insert.linebreak},r=[],o=!1,i=iP(e.ops);try{for(i.s();!(t=i.n()).done;){var a=t.value;o&&(n(a)||"string"==typeof a.insert&&!a.insert.trim())||(o=!1,r.push(a),n(a)&&(o=!0))}}catch(e){i.e(e)}finally{i.f()}return{ops:r}}function mP(e){var t=e.ops.length-2;if(t<1)return e;if("object"!==oP(e.ops[t].insert)||!e.ops[t].insert.linebreak)return e;for(var n=t-1;n>=0;){if("object"!==oP(e.ops[n].insert)||!e.ops[n].insert.linebreak){n++;break}n--}return n!==t&&e.ops.splice(n,t-n),e}function gP(e){for(var t=e.ops.length-1;t>=0;){var n=e.ops[t];if("string"==typeof n.insert&&n.insert.trim())break;if("object"===oP(n.insert)&&!n.insert.linebreak)break;t--}return e.ops=e.ops.slice(0,t+1),e}function yP(e){var t,n=0,r=iP(e.ops);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(!("object"===oP(o.insert)&&o.insert.linebreak||"string"==typeof o.insert&&!o.insert.trim()))break;n++}}catch(e){r.e(e)}finally{r.f()}return n>0&&e.ops.splice(0,n),e}function vP(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],o=n.background&&Array.isArray(n.background),i=n.color&&Array.isArray(n.color),a=iP(e.ops);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(s.attributes){var l=s.attributes,c=l.color,u=l.background,d=l.code;d?(c&&i&&n.color.includes(c)&&delete s.attributes.color,u&&o&&n.background.includes(u)&&delete s.attributes.background):c&&i&&n.color.includes(c)&&u&&o&&n.background.includes(u)&&(delete s.attributes.color,delete s.attributes.background,s.attributes.code=!0)}r.push(s)}}catch(e){a.e(e)}finally{a.f()}return{ops:r}}function bP(e){return function(e){if(Array.isArray(e))return CP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wP(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 _P(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=wP(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function wP(e,t){if(e){if("string"==typeof e)return CP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CP(e,t):void 0}}function CP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SP(e){return(SP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function EP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xP=(EP(sP={},"rgb(242, 242, 242)",!0),EP(sP,"rgb(50, 50, 50)",!0),EP(sP,"rgb(255, 255, 255)",!0),EP(sP,"rgb(0, 0, 0)",!0),EP(sP,"rgba(0, 0, 0, 0.05)",!0),EP(sP,"rgba(255, 255, 255, 0.16)",!0),sP),kP={color:[Qe.red,Qe.brown],background:["#f8d3df"]},OP=Object.values(it),TP={SPAN:function(e,t,n){if((e.classList.contains("mention")||e.classList.contains("mention-link"))&&e.getAttribute("data-mention-id")&&e.getAttribute("data-mention-type")&&e.getAttribute("data-mention-name")&&e.getAttribute("data-mention-object_id")&&!n.onlyText)return{dontProcessChildren:!0,insert:{mention:{id:UE(),type:e.getAttribute("data-mention-type"),name:e.getAttribute("data-mention-name"),object_id:e.getAttribute("data-mention-object_id")}}};if(e.classList.contains("date-inline")){var r=ma.value(e);return delete r.dateId,{dontProcessChildren:!0,insert:{date:r}}}return!0},"NIMBUS-BUTTON":function(e,t,n){return!e.classList.contains("inline-button")||{dontProcessChildren:!0,insert:{button:JSON.stringify({id:e.getAttribute("id"),title:e.getAttribute("data-title"),url:e.getAttribute("data-url"),target:e.getAttribute("data-target"),shape:e.getAttribute("data-shape"),background:e.getAttribute("data-background"),size:e.getAttribute("data-size")})}}},SMALL:!0,INS:!0,SUB:!0,SUP:!0,MARK:!0,FONT:!0,TIME:!0,LABEL:!0,A:function(e){return{attributes:{link:e.getAttribute("href")}}},BR:function(e,t,n){var r={insert:{linebreak:"s"}};return n.onlyText&&(r.insert=" "),r},I:{attributes:{italic:!0}},B:{attributes:{bold:!0}},STRONG:{attributes:{bold:!0}},U:{attributes:{underline:!0}},EM:{attributes:{italic:!0}},DEL:{attributes:{strikethrough:!0}},STRIKE:{attributes:{strikethrough:!0}},CODE:{attributes:{code:!0}},TT:{attributes:{code:!0}}},AP=["BLOCKQUOTE"];function PP(e){return Object.keys(it).find((function(t){return it[t]===e}))}function RP(e){return!!e.parentNode&&(e.parentNode.getAttribute&&e.parentNode.getAttribute("data-highlight")?e.parentNode.getAttribute("data-highlight"):RP(e.parentNode))}function IP(e){if(e.background){var t=null,n=null;for(var r in it){var o=it[r].toLowerCase();if(t||o!==e.background.toLowerCase()||(t=r),!n&&e.color&&o===e.color.toLowerCase()&&(n=r),t&&n)break}t&&(e.background=t)}}function MP(e,t,n){var r=null;return t.allowInnerTags.hasOwnProperty(e.tagName)?r=t.allowInnerTags[e.tagName]:eP[e.tagName]&&t.allowInnerTags["*BLOCK"]?r=t.allowInnerTags["*BLOCK"]:e instanceof HTMLUnknownElement&&(r=!0),"function"==typeof r&&(r=r(e,n,t)),r}function NP(e,t,n){return!(!MP(e,t,n)&&e.nodeType!==Node.TEXT_NODE)}function DP(e){for(var t=!1,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0,a=r;i<a.length;i++){var s=a[i];if(Object.keys(s).length){t=!0;break}}return t?(e.attributes=Object.assign.apply(Object,[{}].concat(r)),e):e}function jP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=uP(e,t.bubbleStylesLimitFn,t.bubbleStylesFilterFn),r=uP(e,(function(e){return!e.tagName||tP[e.tagName]})),o={};if("italic"===n["font-style"]&&(o.italic=!0),("bold"===n["font-weight"]||n["font-weight"]>400)&&(o.bold=!0),n["text-decoration-line"]&&(n["text-decoration-line"].indexOf("underline")>=0&&(o.underline=!0),n["text-decoration-line"].indexOf("line-through")>=0&&(o.strikethrough=!0)),n["text-decoration"]&&("line-through"===n["text-decoration"]&&(o.strikethrough=!0),"underline"===n["text-decoration"]&&(o.underline=!0)),r.color&&os(r.color))if(o.color=ns(r.color,OP,null),o.color){var i=PP(o.color);i&&(o.color=i)}else delete o.color;if(r["background-color"]&&!Object.keys(xP).some((function(e){return rs(e,r["background-color"])}))&&!xP[r["background-color"]]&&os(r["background-color"]))if(o.background=ns(r["background-color"],OP,null),o.background){var a=PP(o.background);a&&(o.background=a)}else delete o.background;if(!o.background&&3===e.nodeType){var s=RP(e);s&&(o.background=s)}return o.background&&os(o.background)&&IP(o,t),o}function LP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=[];if(!NP(e,t,r))return[e];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent;return(i=i.replace(/[\r\n] ?/g," "))?(r.stringOpMade=!0,!r.nonEmptyStringOpMade&&i.trim()&&(r.nonEmptyStringOpMade=!0),[DP({insert:i},n,jP(e,t))]):[]}n=Object.assign({},n);var a=MP(e,t,r),s=!1;if(a&&"object"===SP(a)&&(a.attributes&&(n=Object.assign(n,a.attributes)),a.insert&&(r.opMade=!0,"string"==typeof a.insert&&(r.stringOpMade=!0,!r.nonEmptyStringOpMade&&a.insert.trim()&&(r.nonEmptyStringOpMade=!0)),o.push({insert:a.insert})),a.dontProcessChildren&&(s=!0)),!s){var l,c=_P(e.childNodes);try{for(c.s();!(l=c.n()).done;){var u=l.value;o.push.apply(o,bP(LP(u,t,n,r)))}}catch(e){c.e(e)}finally{c.f()}}return o}function BP(e,t){var n=e.length-1;return 0!==e.length&&function(e,t){if(void 0===e&&void 0===t)return!0;for(var n in e||(e={}),t||(t={}),e)if(t[n]!==e[n])return!1;for(var r in t)if(t[r]!==e[r])return!1;return!0}(e[n].attributes,t.attributes)&&"string"==typeof t.insert&&"string"==typeof e[n].insert?e[n].insert+=t.insert:e.push(t),e}function FP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.tagName&&AP.includes(t.tagName)||(e.initParams.delta=mP(e.initParams.delta),e.initParams.delta=hP(e.initParams.delta)),e.initParams.delta=yP(e.initParams.delta),e.initParams.delta=Si(e.initParams.delta),e.initParams.delta=vP(e.initParams.delta,kP),e}function UP(e){return!!e&&(e.insert&&"s"===e.insert.linebreak)}function HP(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(n=Object.assign({},n)).allowInnerTags?n.allowInnerTags=Object.assign({},TP,n.allowInnerTags):n.allowInnerTags=TP;var r,o=[],i={},a=_P(e.childNodes);try{for(a.s();!(r=a.n()).done;){var s,l=r.value;(s=o).push.apply(s,bP(LP(l,n,{},i)))}}catch(e){a.e(e)}finally{a.f()}n.skipUnknownNodes&&(o=o.filter((function(e){return!(e instanceof Element)})));for(var c=[],u=null,d=0;d<o.length;d++){var p=o[d];if(p instanceof Element){if(fP(p))continue;u&&(BP(u.initParams.delta.ops,{insert:"\n"}),c.push(FP(u,{tagName:e.tagName})),u=null),c.push(p)}else{if(UP(p)&&UP(o[d+1])&&!AP.includes(e.tagName)){d++,u&&(BP(u.initParams.delta.ops,{insert:"\n"}),c.push(FP(u,{tagName:e.tagName})),u=null);continue}u||(u={initParams:{delta:{ops:[]}}}),BP(u.initParams.delta.ops,p)}}return u&&(BP(u.initParams.delta.ops,{insert:"\n"}),c.push(FP(u,{tagName:e.tagName}))),c}function VP(e){return function(e){if(Array.isArray(e))return WP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||GP(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 zP(e){return(zP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qP(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=GP(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function GP(e,t){if(e){if("string"==typeof e)return WP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?WP(e,t):void 0}}function WP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var YP={TABLE:{excludeClass:"highlight"}},ZP={TFOOT:!0},KP=["text","link","mention","number","currency"],$P=Object.values({"dark-sky-blue":"#42a5f5","macaroni-and-cheese":"#fac92f",mango:"#fda639",coral:"#ed5454","turtle-green":"#8bc34a","pale-purple":"#b39ddb","stormy-blue":"#5573a7","dark-sky-blue-highlight":"#cbefff","macaroni-and-cheese-highlight":"#feebd3","mango-highlight":"#ffdbd8","coral-highlight":"#f8d3df","turtle-green-highlight":"#deeed4","pale-purple-highlight":"#d9c8fe","stormy-blue-highlight":"#d2e1ff",gray:"#999999"});function QP(e){return function(e){var t=[];if(!e.length)return{ops:t};for(var n=0;n<e.length-1;n++){var r=e[n].ops.map((function(e){return Object.assign({},e)})),o=r.length-1;"\n"===r[o]?r.pop():r[o].insert=r[o].insert.replace(/\n$/,""),r.length&&t.push.apply(t,ui(r))}return t.push.apply(t,ui(e[e.length-1].ops)),{ops:t}}((e=e.filter((function(e){return e.initParams}))).map((function(e){return e.initParams.delta})))}function XP(e,t){var n,r=[],o=qP(e.childNodes);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(t){if(i.tagName===t)return XP(i)}else"TR"===i.tagName&&r.push(i)}}catch(e){o.e(e)}finally{o.f()}return r}function JP(e,t){var n=e.getAttribute(t);if(n&&"{"==n[0]){var r=document.createElement("textarea");r.innerHTML=n;try{n=JSON.parse(r.value)}catch(e){console.warn(e),n=r.value}}return n}function eR(e,t){!function(e){for(var t=0,n=Array.from(e.childNodes);t<n.length;t++){var r=n[t];ZP[r.tagName]&&dP(r)}}(e);var n=XP(e);n.length||(n=XP(e,"TBODY"));var r=XP(e,"THEAD"),o=[],i=[],a={},s=[],l=JA(e),c=l.width,u=l.height;if("object"==zP(r)&&r[0]){var d=r[0],p=Array.from(d.querySelectorAll("td,th"));p=p.filter((function(e){return e.parentNode===d}));for(var f=0;f!==c;f++){i[f]={};var h,m=p.shift(),g=qP(M.col.copy);try{for(g.s();!(h=g.n()).done;){var y=h.value,v=JP(m,y);void 0!==v&&(i[f][y]=v)}}catch(e){g.e(e)}finally{g.f()}var b=parseInt(m.getAttribute("width"))||!1;b&&(i[f].width=b),m.innerText&&(i[f].text=m.innerText.trim())}}for(var _=function(e){var r={},i=n[e];if(i.hasAttribute("height")){var l=parseInt(i.getAttribute("height"))||!1;l&&(r.height=l)}var d=Array.from(i.querySelectorAll("td,th"));d=d.filter((function(e){return e.parentNode===i}));for(var p=[],f=0;f!==c;f++)if(a[e]&&a[e][f])p.push({delta:{ops:[{insert:"\n"}]},hidden:!0,colspan:1,rowspan:1});else{var h=d.shift();if(h){var m=1,g=1,y=cP(h);if(h.getAttribute("colspan")&&h.getAttribute("colspan")>1&&(m=parseInt(h.getAttribute("colspan"))),h.getAttribute("rowspan")&&h.getAttribute("rowspan")>1&&(g=parseInt(h.getAttribute("rowspan"))),m>1||g>1)for(var v=e+g-1,b=e;b!==u&&b<=v;b++){a[b]||(a[b]={});for(var _=f+m-1,w=f;w<=_;w++)a[b][w]={}}if(m===c)for(var C=0;C<g-1;C++)n.splice(e+1,0,document.createElement("tr"));var S,E={colspan:m,rowspan:g},x=qP(M.cell.copy);try{for(x.s();!(S=x.n()).done;){var k=S.value,O=JP(h,k);void 0!==O&&O&&("true"===O&&(O=!0),"false"===O&&(O=!1),E[k]=O)}}catch(e){x.e(e)}finally{x.f()}if(!E.color&&y["background-color"]&&os(y["background-color"])){var T=ns(y["background-color"],$P,null);T&&(E.color=T)}if(E.cellType||(E.type?E.cellType=Fr(E.type):E.cellType="text"),!E.cellType||KP.includes(E.cellType)){var A,P=[],R=qP(HP(h,t,{onlyText:"mention"!==E.cellType,bubbleStylesFilterFn:function(e,t){return e&&"TD"===e.tagName&&t&&delete t["background-color"],t},allowInnerTags:{"*BLOCK":function(e,t){return!t.stringOpMade||{insert:" "}},BR:function(e,t){return{insert:{linebreak:"s"}}}}}));try{for(R.s();!(A=R.n()).done;){var I=A.value;I instanceof Element?s.push(I):P.push(I)}}catch(e){R.e(e)}finally{R.f()}var N=QP(P);N=xi(N),Object.assign(E,{delta:N})}p.push(E)}else p.push({delta:{ops:[{insert:"\n"}]},colspan:1,rowspan:1})}r.children=p,o.push(r)},w=0;w<n.length;w++)_(w);for(var C={cols:c,rows:u,lineByLine:!0,content:{rows:o,columns:i}},S=0,E=[{name:"columnHeadingsMode",type:"boolean"},{name:"rowHeadingsMode",type:"boolean"},{name:"wrapCellsMode",type:"boolean"},{name:"fullwidthMode",type:"boolean"},{name:"embedAlign",type:"string"},{name:"embed-align",type:"string"},{name:"color",type:"string"}];S<E.length;S++){var x=E[S];if(e.hasAttribute(x.name)){var k=e.getAttribute(x.name);"boolean"===x.type&&(k="true"===k||!0===k),C[x.name]=k}}return{unparsedNodes:s,table:C}}function tR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tR(Object(n),!0).forEach((function(t){rR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oR(e){return(oR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iR(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n instanceof e.types.Map&&delete(n=n.toJSON()).id;var o=!1;if("column"===t){var i=(0,fe.L6)(n,M.col.copy,M.types);o=e.createMap(!1,Object.assign(i,{type:"column"}))}else if("row"===t){var a=(0,fe.L6)(n,M.row.copy,M.types);o=e.createMap(!1,Object.assign(a,{type:"row",children:new e.types.Array}))}else if("cell"===t){var s=(0,fe.L6)(n,M.cell.copy,M.types);r.comments||delete s.commentThreads;var l=Br(n.cellType);s.type=l.type;var c,u=Vr(n.cellType,n,e);if("object"===oR(l.value)&&"characters"!==l.value.key)Object.assign(s,u);else if(s.children=new e.types.Array,r.initChild||u.delta||null!==(c=n.children)&&void 0!==c&&c.length){var d,p={};if(null!==(d=n.children)&&void 0!==d&&d.length){var f=n.children[0],h=e.getMap(f);delete(p=h.toJSON()).id,delete p.characters}var m=iR(e,"child",nR(nR(nR({},n),p),u));s.children.push([m.get("id")])}if(!r.onlyIfNecessary||Object.keys(s).length>1){for(var g=Object.assign({},s),y=0,v=["value","delta"];y<v.length;y++){var b=v[y];g.hasOwnProperty(b)&&delete g[b]}o=e.createMap(!1,g)}}else if("child"===t){var _,w=(0,fe.L6)(n,M.child.copy,M.types);_=n.cellType&&n.delta?zr(n.cellType,n.delta):n.delta||!1,o=e.createMap(!1,Object.assign(w,{type:"tableText"})),Gl.initMap(o,e,{delta:_,noDefaultAlign:!0,noDefaultColor:!0})}return o}function aR(e){return(aR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sR(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return lR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lR(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function lR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dR(e,t){return(dR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pR(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hR(e);if(t){var o=hR(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fR(this,n)}}function fR(e,t){if(t&&("object"===aR(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 hR(e){return(hR=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}const mR=function(e){return function(e){!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}}),t&&dR(e,t)}(i,e);var t,n,r,o=pR(i);function i(){cR(this,i);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.call.apply(o,[this].concat(t))}return t=i,(n=[{key:"onPaste",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},this.componentOnAction({type:"selection"}));if(!n.current)return!1;var r,o,i=this.getEditing();if(i)return null===(r=(o=i.blot).onPaste)||void 0===r||r.call(o,t),!0;var a=t.html&&-1!==t.html.indexOf("<table");if(!a&&t.text&&-1===t.text.trim().indexOf("\n")){for(var s=n.start.row;s<=n.last.row;s++)for(var l=n.start.col;l<=n.last.col;l++)this.pasteToCell({row:s,col:l},t);return!0}if(!a&&t.text&&-1!==t.text.indexOf("\n")){var c,u=document.createElement("table"),d=t.text.replace(/\r/g,"").trim().split("\n"),p=1,f=sR(d);try{for(f.s();!(c=f.n()).done;){var h=c.value,m=h.split("\t").length;p=Math.max(p,m)}}catch(e){f.e(e)}finally{f.f()}var g,y=sR(d);try{for(y.s();!(g=y.n()).done;){for(var v=g.value,b=v.split("\t"),_=document.createElement("tr"),w=0;w<p;w++){var C=document.createElement("td");b[w]&&(C.innerText=b[w]),_.append(C)}u.append(_)}}catch(e){y.e(e)}finally{y.f()}t.html=u.outerHTML}if(t.html){var S=(new DOMParser).parseFromString(t.html,"text/html"),E=S.querySelector("table");if(E){for(var x=eR(E,S),k=[],O=n.current.col;O<=n.current.col+x.table.cols-1;O++)k.push(this.getColType(O)||"none");if(!ye(k,["none"]))for(var T in x.table.content.rows)for(var A in x.table.content.rows[T].children){var P=x.table.content.rows[T].children[A],R=P.cellType||"text",I=k[A];if("none"!==I&&R!==I)if(["number","currency"].includes(I)&&"text"===R){var M,N,D,j,L=null===(M=P.delta)||void 0===M||null===(N=M.ops)||void 0===N||null===(D=N[0])||void 0===D||null===(j=D.insert)||void 0===j?void 0:j.trim();if(L&&isNaN(parseFloat(L)))return console.warn("Can't paste value \"".concat(L,'" into current column "').concat(I,'"')),!0}else if(!("text"===I&&["number","currency"].includes(R)||["number","currency"].includes(I)&&["number","currency"].includes(R)))return console.warn("Can't paste cell \"".concat(R,'" into current column "').concat(I,'"')),!0}var B=this.tableSize,F=JA(E),U=F.width,H=F.height,V={col:n.current.col+U-1,row:n.current.row+H-1},z=Math.max(0,V.col-B.cols+1);z&&this.changeSize({cols:z});var q=Math.max(0,V.row-B.rows+1);q&&this.changeSize({rows:q}),this.divideCells(n.current,V),this.store.transaction((function(){for(var t in x.table.content.rows){var r=x.table.content.rows[t],o=e.rowMapByIndex(n.current.row+parseInt(t),{create:!0,inTransaction:!0}).get("children"),i=[];for(var a in r.children){var s=r.children[a],l=!1;e.onPasteUpdateDbSelectIfNeed(n.current.col+parseInt(a),s,x.table.content.columns[a]),s&&Object.keys(s).length&&(l=iR(e.store,"cell",s,{initChild:!0}).get("id")),i.push(l)}e.mapArraySet(o,n.current.col,i)}})),this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}}return!0}},{key:"pasteToCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!1,r=!0,o=this.getCellType(e);if("text"===o){n=!0;var i=[{insert:t.text.trim()}];fl(i[0].insert)?(i[0].attributes={link:i[0].insert},i.push({insert:"\n"})):i[0].insert=i[0].insert+"\n";var a=new(c())(i);r=this.setCellDelta(e,a)}else if("number"===o||"currency"===o){n=!0;var s=t.text.trim().replace(/\s/g,"").replace(",","."),l=parseFloat(s);if(!isNaN(l)){var u=this.getCellFormat(e);"comma"===(null==u?void 0:u.decimal_separator)&&(l=String(l).replace(".",","));var d=(new(c())).insert(l+"\n");r=this.setCellDelta(e,d)}}if(r){var p=this.cellMapByPos(e);p&&this.tableBodyEmbed.fillCellData(e,p.get("id"),{render:!0,withSummary:!0})}return n}},{key:"onPasteUpdateDbSelectIfNeed",value:function(e,t,n){var r=this;"tableCellSelect"===t.type&&n.dbSelect&&function(){var o=JSON.parse(t.selected),i=r.colMapByIndex(e,{create:!0,inTransaction:!0}),a=i.get("dbSelect")||{},s=function(e){var t=Object.keys(a).find((function(t){return a[t].name===n.dbSelect[e].name}));t?-1!==o.indexOf(e)&&(o[o.indexOf(e)]=t):a[e]=n.dbSelect[e]};for(var l in n.dbSelect)s(l);t.selected=JSON.stringify(o),i.set("dbSelect",a)}()}}])&&uR(t.prototype,n),r&&uR(t,r),i}(e)};var gR=n(82360),yR=n.n(gR);function vR(e){return(vR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bR(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _R(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wR(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function CR(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){wR(i,r,o,a,s,"next",e)}function s(e){wR(i,r,o,a,s,"throw",e)}a(void 0)}))}}function SR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ER(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xR(e,t){return(xR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kR(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=AR(e);if(t){var o=AR(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return OR(this,n)}}function OR(e,t){if(t&&("object"===vR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return TR(e)}function TR(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AR(e){return(AR=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function PR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const RR=function(e){return function(e){!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}}),t&&xR(e,t)}(i,e);var t,n,r,o=kR(i);function i(){var e;SR(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return PR(TR(e=o.call.apply(o,[this].concat(n))),"onImportCsvFile",CR(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.editor.plugins.attachmentManager.isMethodImplemented("chooseFile")){t.next=2;break}return t.abrupt("return",console.warn("chooseFile is not implemented in the attachmentManager plugin, skip executing import csv file action"));case 2:return n={multiple:!1,blotName:"table",accept:".csv"},t.next=5,e.editor.plugins.attachmentManager.chooseFile(n);case 5:if(r=t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:yR().parse(r[0].instance,{header:!0,skipEmptyLines:!0,dynamicTyping:!0,complete:function(t){var n=t.data,r=t.errors,o=t.meta.fields;r.length&&e.onCsvImportHasErrors(r),e.pasteCsvImportData(o,n)}});case 9:case"end":return t.stop()}}),t)})))),e}return t=i,(n=[{key:"onCsvImportHasErrors",value:function(e){var t,n=bR(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;console.error(r)}}catch(r){n.e(r)}finally{n.f()}}},{key:"pasteCsvImportData",value:function(e,t){for(var n,r=this,o=(null===(n=this.tableBodyEmbed)||void 0===n?void 0:n.table).colsData,i=0,a=this.tableSize,s=0;s<=a.rows;s++)this.isRangeEmpty({row:s,col:0},{row:s,col:a.cols-1})||(i=s);i&&i++;for(var l=[],u=[],d=0;d<a.cols;d++){var p,f=(null===(p=o[d.toString()])||void 0===p?void 0:p.text)||"";if(f){l.push(f);var h=e.indexOf(f);if(!(h>=0))continue;e.splice(h,1)}else u.push(d)}for(var m=0,g=u;m<g.length;m++){var y=g[m];if(e.length){var v=e.shift();l.splice(y,0,v),this.tableBodyEmbed.setProp("text",v,{pos:{col:y},type:"col"})}else l.splice(y,0,"")}var b=e.length;if(b){this.changeSize({cols:b});for(var _=a.cols;_<a.cols+b;_++){var w=e.shift();l.push(w),this.tableBodyEmbed.setProp("text",w,{pos:{col:_},type:"col"})}}var C=t.length,S=i+C-1,E=Math.max(0,S-a.rows+1);E&&this.changeSize({rows:E}),this.store.transaction((function(){for(var e=0;e<t.length;e++){for(var n=r.rowMapByIndex(e+i,{create:!0,inTransaction:!0}).get("children"),o=[],s=[],u=0,d=0;d<a.cols+b;d++){var p=l[d];if(!s.includes(p)&&t[e].hasOwnProperty(p)){s.push(p);var f=t[e][p]||"",h={cellType:"text",colspan:1,delta:(new(c())).insert(f+"\n"),rowspan:1},m=!1;h&&Object.keys(h).length&&(m=iR(r.store,"cell",h,{initChild:!0}).get("id")),o.push(m)}else o.length&&(r.mapArraySet(n,u,o),o=[]),u=d+1}o.length&&r.mapArraySet(n,u,o)}})),this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}}])&&ER(t.prototype,n),r&&ER(t,r),i}(e)};function IR(e){return(IR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function MR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NR(e,t){return(NR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function DR(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=BR(e);if(t){var o=BR(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jR(this,n)}}function jR(e,t){if(t&&("object"===IR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return LR(e)}function LR(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BR(e){return(BR=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function FR(e){return{align:e.get("embed-align")||"left"}}var UR=function(e){!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}}),t&&NR(e,t)}(i,e);var t,n,r,o=DR(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=LR(t),a=function(){var e=t.props.blot.map;t.setState((function(){return FR(e)}))},(r="onMapChange")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.state=FR(e.blot.map),t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props.blot;e.editor.store.observe(e.map,this.onMapChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.blot;e.editor.store.unobserve(e.map,this.onMapChange)}},{key:"setAlign",value:function(e){var t=this.props,n=t.blot.editor,r=t.menu;n.exec("set-embed-align",{align:e}),r.onMenuClose()}},{key:"render",value:function(){var e=this.state.align;return(0,s.h)(Sg,null,(0,s.h)(mg,{id:"align-left",active:"left"===e,onClick:this.setAlign.bind(this,"left"),icon:ct.sws}),(0,s.h)(mg,{id:"align-center",active:"center"===e,onClick:this.setAlign.bind(this,"center"),icon:ct.fm}),(0,s.h)(mg,{id:"align-right",active:"right"===e,onClick:this.setAlign.bind(this,"right"),icon:ct.vSI}))}}])&&MR(t.prototype,n),r&&MR(t,r),i}(s.wA),HR=n(80453);function VR(e){return(VR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t){if(t&&("object"===VR(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 GR(e){var t="function"==typeof Map?new Map:void 0;return(GR=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return WR(e,arguments,KR(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ZR(r,e)})(e)}function WR(e,t,n){return(WR=YR()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&ZR(o,n.prototype),o}).apply(null,arguments)}function YR(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function ZR(e,t){return(ZR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function KR(e){return(KR=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var $R=function(e){!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}}),t&&ZR(e,t)}(o,e);var t,n,r=(t=o,n=YR(),function(){var e,r=KR(t);if(n){var o=KR(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return qR(this,e)});function o(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return zR(this,o),(t=r.call(this,n)).reason=e,t}return o}(GR(Error));$R.CANNOT_MOVE_MERGED_CELLS_PART=1,$R.CANNOT_MOVE_INTO_MERGED_CELL=2,$R.CANNOT_MOVE_ROW_IN_SORTABLE_TABLE=3,$R.CANNOT_MOVE_INVALID_POSITION=4,$R.CANNOT_MOVE_ROW_IN_FILTERED_TABLE=5;var QR=n(25251);function XR(e){return(XR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function JR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eI(e,t){return(eI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rI(e);if(t){var o=rI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nI(this,n)}}function nI(e,t){if(t&&("object"===XR(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 rI(e){return(rI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oI=function(e){!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}}),t&&eI(e,t)}(i,e);var t,n,r,o=tI(i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this)}return t=i,(n=[{key:"onClick",value:function(){var e=this.props,t=e.onAction,n=e.wantsToClose;t&&t(),n&&n()}},{key:"render",value:function(){var e=this.props,t=e.editor,n=e.wantsToClose,r=t.plugins.i18n;return(0,s.h)(At.Z,{wantsToClose:n,addClassName:"column-convert-popup",closeOnEsc:!0},(0,s.h)(by.Z,{wantsToClose:n,addClassName:"reduced-padding",noCloseButton:!0},(0,s.h)(_y.Z,null,r.get("table.convert_column.title")),(0,s.h)(wy.Z,{style:{"max-width":"520px"}},(0,s.h)("p",null,(0,s.h)("span",null,r.get("table.convert_column.text_before")),(0,s.h)("strong",null," ",r.get("table.convert_column.text_cmd")," "),(0,s.h)("span",null,r.get("table.convert_column.text_after")))),(0,s.h)(QR.Z,{editor:t,wantsToClose:n,buttons:{cancel:{},accept:{text:r.get("table.convert_column.accept"),style:"active",onClick:this.onClick.bind(this)}}})))}}])&&JR(t.prototype,n),r&&JR(t,r),i}(s.wA);function iI(e){return(iI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function aI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sI(e,t){return(sI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uI(e);if(t){var o=uI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cI(this,n)}}function cI(e,t){if(t&&("object"===iI(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 uI(e){return(uI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dI=function(e){!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}}),t&&sI(e,t)}(i,e);var t,n,r,o=lI(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(e=o.call(this)).state={duplicateContent:!0},e}return t=i,(n=[{key:"toggleDuplicateContent",value:function(){this.setState((function(e){return{duplicateContent:!e.duplicateContent}}))}},{key:"onClick",value:function(){var e=this.props,t=e.onAction,n=e.wantsToClose,r=this.state.duplicateContent;t&&t(r),n&&n()}},{key:"render",value:function(){var e=this.props,t=e.editor,n=e.wantsToClose,r=this.state.duplicateContent,o=t.plugins.i18n;return(0,s.h)(At.Z,{wantsToClose:n,addClassName:"column-duplicate-popup",closeOnEsc:!0},(0,s.h)(by.Z,{wantsToClose:n,addClassName:"reduced-padding",noCloseButton:!0},(0,s.h)(_y.Z,null,o.get("table.duplicate_column.title")),(0,s.h)(wy.Z,{style:{"max-width":"520px"}},(0,s.h)("p",{class:"flex"},(0,s.h)("span",null,o.get("table.duplicate_column.text_1")),(0,s.h)(wn,{status:r,onChange:this.toggleDuplicateContent.bind(this)})),(0,s.h)("p",null,o.get("table.duplicate_column.text_2"))),(0,s.h)(QR.Z,{editor:t,wantsToClose:n,buttons:{cancel:{},accept:{text:o.get("table.duplicate_column.accept"),style:"active",onClick:this.onClick.bind(this)}}})))}}])&&aI(t.prototype,n),r&&aI(t,r),i}(s.wA);function pI(e){return(pI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hI(e,t){return(hI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yI(e);if(t){var o=yI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gI(this,n)}}function gI(e,t){if(t&&("object"===pI(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 yI(e){return(yI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vI=function(e){!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}}),t&&hI(e,t)}(i,e);var t,n,r,o=mI(i);function i(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(e=o.call(this)).state={keepOrder:!1},e}return t=i,(n=[{key:"toggleKeepOrder",value:function(){this.setState((function(e){return{keepOrder:!e.keepOrder}}))}},{key:"onClick",value:function(){var e=this.props,t=e.onAction,n=e.wantsToClose,r=this.state.keepOrder;t&&t(r),n&&n()}},{key:"render",value:function(){var e=this.props,t=e.editor,n=e.wantsToClose,r=this.state.keepOrder,o=t.plugins.i18n;return(0,s.h)(At.Z,{wantsToClose:n,addClassName:"column-exit-sorting-popup",closeOnEsc:!0,onEnterAction:this.onClick.bind(this)},(0,s.h)(by.Z,{wantsToClose:n,addClassName:"reduced-padding",noCloseButton:!0},(0,s.h)(_y.Z,null,o.get("table.sorting.exit_dialog.title")),(0,s.h)(wy.Z,{style:{width:"350px"}},(0,s.h)("p",{class:"flex"},(0,s.h)("span",null,o.get("table.sorting.exit_dialog.toggle")),(0,s.h)(wn,{status:r,onChange:this.toggleKeepOrder.bind(this)}))),(0,s.h)(QR.Z,{editor:t,wantsToClose:n,buttons:{cancel:{},accept:{text:o.get("table.sorting.exit_dialog.apply"),style:"active",onClick:this.onClick.bind(this)}}})))}}])&&fI(t.prototype,n),r&&fI(t,r),i}(s.wA);function bI(e){return(bI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wI(e,t){return(wI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function CI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=EI(e);if(t){var o=EI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return SI(this,n)}}function SI(e,t){if(t&&("object"===bI(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 EI(e){return(EI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xI=function(e){!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}}),t&&wI(e,t)}(i,e);var t,n,r,o=CI(i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this)}return t=i,(n=[{key:"onClick",value:function(){var e=this.props,t=e.onAction,n=e.wantsToClose;t&&t(),n&&n()}},{key:"render",value:function(){var e=this.props,t=e.editor,n=e.wantsToClose,r=t.plugins.i18n;return(0,s.h)(At.Z,{wantsToClose:n,addClassName:"merge-cells-with-comments-popup",closeOnEsc:!0},(0,s.h)(by.Z,{wantsToClose:n,addClassName:"reduced-padding",noCloseButton:!0},(0,s.h)(_y.Z,null,r.get("table.merge_cells_with_comments.title")),(0,s.h)(wy.Z,{style:{"max-width":"520px"}},(0,s.h)("p",null,(0,s.h)("span",null,r.get("table.merge_cells_with_comments.text")))),(0,s.h)(QR.Z,{editor:t,wantsToClose:n,buttons:{cancel:{},accept:{text:r.get("table.merge_cells_with_comments.accept"),style:"active",onClick:this.onClick.bind(this)}}})))}}])&&_I(t.prototype,n),r&&_I(t,r),i}(s.wA),kI=["dateId"];function OI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function TI(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=PI(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function AI(e){return function(e){if(Array.isArray(e))return RI(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||PI(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 PI(e,t){if(e){if("string"==typeof e)return RI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RI(e,t):void 0}}function RI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function II(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function MI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?II(Object(n),!0).forEach((function(t){qI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):II(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NI(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function DI(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){NI(i,r,o,a,s,"next",e)}function s(e){NI(i,r,o,a,s,"throw",e)}a(void 0)}))}}function jI(e){return(jI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function LI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BI(e,t,n){return(BI="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zI(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function FI(e,t){return(FI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function UI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zI(e);if(t){var o=zI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HI(this,n)}}function HI(e,t){if(t&&("object"===jI(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return VI(e)}function VI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zI(e){return(zI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GI=Ki(Object),WI=function(e){!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}}),t&&FI(e,t)}(u,e);var t,n,r,o,i,l=UI(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),qI(VI(t=l.call(this,e)),"tableMapObserve",(function(){t.setAttachedByUndo()})),qI(VI(t),"onEditorContentUpdate",(function(e){var n=e.source,r=e.transaction,o=t.editor.plugins.undoManager;if(null!==n&&("remote"===n||"client"===n||null!=o&&o.isYUndoManager(n))){var i=!1,a=!1;r.changed.forEach((function(e,n){if(n.parent&&"full"!==a){var r,o,s,l,c=null===(r=n.get)||void 0===r||null===(o=r.call(n,"type"))||void 0===o?void 0:o.toLowerCase(),u=null===(s=n.parent.get("type"))||void 0===s?void 0:s.toLowerCase();if("table"===c||"table"===u)n.get("id")!==t.id&&(null===(l=n.parent)||void 0===l?void 0:l.get("id"))!==t.id||(a="full");else"column"===c?t.cols.toArray().includes(n.get("id"))&&(a="full"):"row"===c||"tablerow"===c?t.rows.toArray().includes(n.get("id"))&&(a="full"):"row"===u||"tablerow"===u?t.rows.toArray().includes(n.parent.get("id"))&&(a="full"):c&&-1!==c.indexOf("cell")?i=t.tableBodyEmbed.updateCellById(n.get("id"),"cell")||i:"tabletext"===u&&(i=t.tableBodyEmbed.updateCellById(n.parent.get("id"),"child")||i)}})),a?t.tableBodyEmbed.mapToObject({mode:a,render:!0}):i&&t.tableBodyEmbed.render()}})),qI(VI(t),"onBodyResizeBound",t.onBodyResize.bind(VI(t))),qI(VI(t),"updateCommentsCounters",(function(){if(t.tableComponentContext){var e=t.editor.plugins.commentManager;if(e&&e.options.enabled&&e.options.tableCellComments){var n=e.getTableComments(t.id);t.eachCellMap({},{},{},(function(e,r){var o=t.tableComponentContext.useRefs.getCell(r);if(o){var i=null;if(e){if(e.has("commentThreads")){var a=n&&n.length&&n.find((function(t){return t.threadId===e.get("commentThreads")}));a&&a.count&&!a.resolved&&!0!==e.get("hidden")&&o&&(i=a.count)}var s=t.getMergedCellsComments(e,r,n).count;s>0&&("number"==typeof i?i+=s:i=s)}o.getCommentsCount()!==i&&o.setCommentsCount(i)}}))}}})),qI(VI(t),"onMenuTableFilter",(function(){t.tableExec("open-filter",{})&&t.tableComponentContext.useFilter.toggleFilter()})),qI(VI(t),"fullPos",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"min",r=Object.assign({},"object"===jI(e)?e:{});return r.hasOwnProperty("row")||(r.row="min"===n?0:t.rowLast),r.hasOwnProperty("col")||(r.col="min"===n?0:t.colLast),r})),qI(VI(t),"compareCellsByValue",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"asc",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(t.value!==n.value||t.order!==n.order){var r=jI(t.value),o=jI(n.value),i="undefined"==r||null===t.value||"number"==r&&isNaN(t.value),a="undefined"==o||null===n.value||"number"==o&&isNaN(n.value);if(i&&!a)return-1;if(a&&!i)return 1;if(t.order!==n.order)return t.order-n.order>0?1:-1;if("number"==r&&"number"==o)return t.value-n.value>0?1:-1;if("string"==r&&"string"==o)return t.value.toLowerCase()>n.value.toLowerCase()?1:-1;if("number"==r&&"string"==o)return-1;if("string"==r&&"number"==o)return 1}return"desc"===e?t.row-n.row>0?-1:1:t.row-n.row>0?1:-1})),t.tableBodyEmbed=a().create("tableBodyEmbed"),t.tableBlotEditCell=a().create("tableBlotEditCell"),t.allowUpdate=!0,t.allowInsideDrop=!0,t.selfColorManagement=!0,t.isSeparableByClickApplicable=!0,t.attachedByUndo=!1,t.addCanExecActions(["add-column","add-row","duplicate-column","delete-cols","delete-rows","divide-cols","merge-cells","delete-blot","delete","backspace","convert-table-cells","convert-table-column","format-table-cells","format-table-column","select-all","set-embed-align","copy-cells","sort-table-column","exit-sort-table-column","render-fullwidth"]),t}return t=u,n=[{key:"setAttachedByUndo",value:function(){this.attachedByUndo=this.editor.plugins.undoManager.isUndoing()}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=BI(zI(u.prototype),"attach",this)).call.apply(e,[this].concat(n)),!this._initialized){this.bench=new jA(this.map.get("id"));var o=this.bench.mark("Table attach full");this._initialized=!0,this._skipFocusEvent=!1,this.domNode.setAttribute("contenteditable",!1);var i=this.bench.mark("Table attach body");this.tableBodyEmbed.map=this.map,this.tableBodyEmbed.store=this.store,this.tableBodyEmbed.editor=this.editor,this.appendChild(this.tableBodyEmbed),this.bench.measure(i),this.fullWidth&&(this.fullWidth=Object.assign(this.fullWidth,{default:!0,wrapperNode:this.getWrapper().domNode,afterFunc:this.onFullwidthChange.bind(this),scrollNode:this.getScrollItems()})),this.tableBlotEditCell.map=this.map,this.appendChild(this.tableBlotEditCell),this.editor.on("contentUpdate",this.onEditorContentUpdate),this.editor.on("editorBodyResize",this.onBodyResizeBound),this.editor.on("set-comments",this.updateCommentsCounters),this.bench.measure(o),this.bench.print({flat:!1,clear:!0,tree:!0}),"object"===("undefined"==typeof localStorage?"undefined":jI(localStorage))&&localStorage.getItem("logs")&&console.info("TABLE",this),this.store.observe(this.map,this.tableMapObserve),this.setAttachedByUndo()}}},{key:"detach",value:function(){var e;try{this.editor.off("contentUpdate",this.onEditorContentUpdate),this.editor.off("editorBodyResize",this.onBodyResizeBound),this.editor.on("set-comments",this.updateCommentsCounters),this.clearDateReminders()}catch(t){e=t}if(BI(zI(u.prototype),"detach",this).call(this),this.store.unobserve(this.map,this.tableMapObserve),e)throw e}},{key:"setDateRemineders",value:function(){var e=(this.map.toJSON()||{}).rows,t=void 0===e?[]:e;u.findReminders(this.editor,t),u.setReminders(this.editor,t)}},{key:"clearDateReminders",value:function(){var e,t,n,r;if("toggle"!==(null===(e=this.parent)||void 0===e||null===(t=e.parent)||void 0===t?void 0:t.map.get("type"))||!(null===(n=this.parent)||void 0===n||null===(r=n.parent)||void 0===r?void 0:r.map.get("collapsed"))){var o=(this.map.toJSON()||{}).rows,i=void 0===o?[]:o;u.removeReminders(this.editor,i)}}},{key:"getAttachments",value:function(){return u.getAttachments(this.editor,this.map)}},{key:"onFullwidthChange",value:function(){this.skipFullwidthChange?this.skipFullwidthChange=!1:this.tableBodyEmbed.render()}},{key:"onBodyResize",value:function(){var e;null===(e=this.componentOnAction)||void 0===e||e.call(this,{type:"scroll-update"})}},{key:"contextMenu",get:function(){var e=BI(zI(u.prototype),"contextMenu",this),t=this.editor.plugins.i18n,n=this.getMode("colHeadings"),r=this.getMode("rowHeadings"),o=this.getMode("wrapCells"),i=this.getMode("showSummaries"),a=Boolean(!this.getMode("disableFilter"));return this.getWrapper().caption&&e.hasOwnProperty("addCaption")?e.addCaption.index=-4:e.hasOwnProperty("addCaption")&&delete e.addCaption,e.layout=(0,fe.Ee)(e.layout,{label:t.get("table.menu.table_layout.name"),index:-1,group:0,stackable:!1,action:!1,submenu:{columnHeadings:{label:t.get("table.menu.table_layout.column_headings"),index:1,group:0,action:"switchMode",actionParams:"colHeadings",icon:!!n&&ct.EZi,style:n?"done":"undone"},rowHeadings:{label:t.get("table.menu.table_layout.row_headings"),index:2,group:0,action:"switchMode",actionParams:"rowHeadings",icon:!!r&&ct.EZi,style:r?"done":"undone"},wrapCells:{label:t.get("table.wrap_cells.layout_menu"),index:3,group:0,action:"switchMode",actionParams:"wrapCells",icon:!!o&&ct.EZi,style:o?"done":"undone"},summaries:{label:t.get("table.summary.layout_menu"),index:4,group:0,action:"switchMode",actionParams:"showSummaries",icon:!!i&&ct.EZi,style:i?"done":"undone"}}}),this.hasFilter()&&(e.layout.submenu.disableFilter={label:t.get("table.filter.enable_filter"),index:5,group:0,action:"switchMode",actionParams:"disableFilter",icon:!!a&&ct.EZi,style:a?"done":"undone"}),e.filter={label:t.get("table.menu.filter"),index:2,group:0,action:"onMenuTableFilter",stackable:!1},e["import-csv"]={label:t.get("table.menu.import_csv"),index:3,group:0,action:"importCsvFile",stackable:!1},e["open-help"]={label:t.get("table.menu.help"),index:4,group:0,action:"openHelpPage",stackable:!1},e.align=!1,e.indent=!1,e.copyBlocks&&(e.copyBlocks.label=t.get("table.menu.copy_table")),e}},{key:"getBlotMenuHeaderComponent",value:function(){var e;return null!==(e=this.fullwidthPosition)&&void 0!==e&&e.enabled?null:UR}},{key:"onFocusableFocus",value:function(e){if(this.editor.mode===this.editor.constructor.MODE_EDIT&&!this.isBlotLocked&&(BI(zI(u.prototype),"onFocusableFocus",this)&&BI(zI(u.prototype),"onFocusableFocus",this).call(this),this.domNode.classList.add("focused-table"),!this.getSelection.current)){var t,n={row:0,col:0};if(e===(null===(t=this.getWrapper())||void 0===t?void 0:t.next)){var r=this.getBigCell({col:0,row:this.rowLast});n.row=r.pos.row}this.selectCells(n)}}},{key:"onFocusableBlur",value:function(){BI(zI(u.prototype),"onFocusableBlur",this)&&BI(zI(u.prototype),"onFocusableBlur",this).call(this),this.domNode.classList.remove("focused-table")}},{key:"focusableFocus",value:function(){this.setCaretInTrap()}},{key:"onTableSelectionUpdate",value:function(){this.renderWithFilter()&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}},{key:"getMergedCellsComments",value:function(e,t,n){var r=this,o=0,i=[],a=parseInt(e.get("colspan")),s=parseInt(e.get("rowspan"));if(!isNaN(a)&&"number"==typeof a&&!isNaN(s)&&"number"==typeof s)for(var l=0;l<a;l++)for(var c=function(e){if(0===l&&0===e)return"continue";var a=r.cellMapByPos({col:t.col+l,row:t.row+e});if(a&&a.has("commentThreads")){var s=n&&n.length>0&&n.find((function(e){return e.threadId===a.get("commentThreads")}));s&&s.count&&!s.resolved&&(o+=s.count,i.push(s.threadId))}},u=0;u<s;u++)c(u);return{count:o,mergedThreads:i}}},{key:"onTableCommentCell",value:function(e){var t=e.pos;if(this.tableComponentContext){var n=this.editor.plugins.commentManager;if(n&&n.options.enabled&&n.options.tableCellComments){var r,o,i=t.row,a=t.col,s=this.tableComponentContext.useRefs.getCell(t),l=this.rowMapByIndex(i);if(l&&(r=this.cellMapByPos({row:i,col:a},{rowMap:l}))&&(o=r.get("id")),r||(o=this.createInnerMap("cell",{row:i,col:a,inTransaction:!1}),r=this.store.getMap(o)),o){var c=r.get("commentThreads"),u=n.getTableComments(this.id);if(c&&!u.find((function(e){return e.threadId===c}))&&(c=void 0),!c){var d=this.getMergedCellsComments(r,t,u).mergedThreads;d&&d.length&&(c=d[0])}var p=s.getNode(),f="";if(s&&(f=s.getText()),f=f.length<=50?f:f.substr(0,50)+"...",p){var h={threadId:c,text:f,targetParams:{type:"tableCell",position:t},target:"cell"};this.editor.plugins.commentManager.openComments(o,h).then((function(e){var t=e.threadId;e.isNew&&r.set("commentThreads",t)})).catch((function(e){return console.error(e)}))}}}}}},{key:"getMode",value:function(e){var t=M.table.settings[e];return null!=t&&t.hasOwnProperty("export")&&this.editor.mode===this.editor.constructor.MODE_EXPORT?t.export:this.map.has(t.key)?this.map.get(t.key):t.default}},{key:"switchMode",value:function(e){var t=this.getMode(e),n=M.table.settings[e];n.hasOwnProperty("permission")&&!this.permission(n.permission,{alert:!0})||(this.map.set(n.key,!t),this.tableBodyEmbed.mapToObject({render:!0,mode:"table"}))}},{key:"openHelpPage",value:function(){var e="https://nimbusweb.me/share/3630871/2hfp17421cshqqgnqs3z";"ru"===this.editor.plugins.i18n.language&&(e="https://nimbusweb.me/share/3610312/rmzfthr644osw5cqre3e"),window.open(e,"_blank","noopener")}},{key:"importCsvFile",value:function(){this.onImportCsvFile&&this.onImportCsvFile()}},{key:"getWrapper",value:function(){return this.parent}},{key:"getScrollItems",value:function(){var e;return null===(e=this.tableBodyEmbed.domNode.getElementsByClassName("table-scroll-items"))||void 0===e?void 0:e[0]}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top,r=this.fullwidthMenuMargin<0?-HR.toolbarMargin:0;return{left:t+this.fullwidthMenuMargin+r,top:n}}},{key:"blotWillReceiveProps",value:function(e){if(this.props.focused&&!e.focused){if(this.isBlotAttached()){var t=!0,n=this.scroll.willBeFocused;if(n)if(n===this)t=!1;else for(var r=n.parent;r;){if(r===this){t=!1;break}r=r.parent}else t=!0;t&&this.unselectAllCells()}e.tempRow&&delete e.tempRow}this.props.blotLocked!==e.blotLocked&&(e.blotLocked&&this.unselectAllCells(),this.needRenderComponent="table")}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};BI(zI(u.prototype),"render",this).call(this),this.isBlotAttached()&&(this.renderWrapper(e),this.needRenderComponent&&(this.tableBodyEmbed.mapToObject({render:!0,mode:this.needRenderComponent}),this.needRenderComponent=!1))}},{key:"forceFullRender",value:function(){this.tableBodyEmbed.mapToObject({mode:"full",render:!0})}},{key:"renderWrapper",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.getWrapper().render({align:this.map.get("embed-align"),color:this.map.get("color"),focused:this.props.focused,init:!!e.init})}},{key:"renderCaption",value:(i=DI(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,0;case 2:null===(t=this.getWrapper())||void 0===t||null===(n=t.caption)||void 0===n||null===(r=n.render)||void 0===r||r.call(n);case 3:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"setClass",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.domNode.classList[t?"add":"remove"](String(e))}},{key:"optimize",value:function(){BI(zI(u.prototype),"optimize",this).call(this)}},{key:"createInnerMap",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(){if("row"===e){var a=o.rows;!i.forceCreate&&a.get(t.row)?r=a.get(t.row):(n=o.store.createMap(!1,{type:"row",children:new o.store.types.Array}),r=n.get("id"),o.mapArraySet(a,t.row,[r]))}else if("col"===e){var s=o.cols;!i.forceCreate&&s.get(t.col)?r=s.get(t.col):(n=o.store.createMap(!1,{type:"column"}),r=n.get("id"),o.mapArraySet(s,t.col,[r]))}else if("cell"===e||"child"===e){var l=o.rows.get(t.row);l||(l=o.createInnerMap("row",t,MI(MI({},i),{},{inTransaction:!0,forceCreate:!1})));var c=o.store.getMap(l),u=o.cols.get(t.col),d=u&&o.store.getMap(u);if("cell"===e){var p=c.get("children");!i.forceCreate&&p.get(t.col)?r=p.get(t.col):(n=iR(o.store,"cell",{cellType:d&&d.get("columnType")||"text"}),r=n.get("id"),o.mapArraySet(p,t.col,[r]))}else if("child"===e){var f=c.get("children").get(t.col);f||(f=o.createInnerMap("cell",t,MI(MI({},i),{},{inTransaction:!0,forceCreate:!1})));var h=o.store.getMap(f),m=h.get("children");!i.forceCreate&&m.get(0)?r=m.get(0):(n=o.store.createMap(!1,{type:"tableText"}),r=n.get("id"),Gl.initMap(n,o.store,{noDefaultAlign:!0,noDefaultColor:!0}),h.get("children").push([r]))}}};return i.inTransaction?a():this.store.transaction((function(){a()})),r}},{key:"selectAllCells",value:function(){this.selectCells({row:0,col:0},{row:this.rowLast,col:this.colLast})}},{key:"selectCells",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!t.hasOwnProperty("row")&&e.hasOwnProperty("row")&&(t.row=e.row),!t.hasOwnProperty("col")&&e.hasOwnProperty("col")&&(t.col=e.col),this.componentOnAction({type:"select-range",start:e,last:t})}},{key:"unselectAllCells",value:function(){this.exec({type:"unselect-all"})}},{key:"eachCellMap",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;t=this.fullPos(t,"min"),n=this.fullPos(n,"max"),this.store.transaction((function(){for(var i=t.row;i<=n.row;i++)for(var a=e.rowMapByIndex(i),s=t.col;s<=n.col;s++){var l=void 0;if(a&&(l=e.cellMapByPos({row:i,col:s},{rowMap:a})),!l&&r.create){var c=e.createInnerMap("cell",{row:i,col:s,inTransaction:!0});l=e.store.getMap(c)}r.exist&&!l||null==o||o(l,{row:i,col:s},{rowMap:a})}}))}},{key:"eachRowMap",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;e&&e.hasOwnProperty("row")||(e={row:0}),t&&t.hasOwnProperty("row")||(t={row:this.tableSize.rows-1}),this.store.transaction((function(){for(var i=e.row;i<=t.row;i++){var a=n.rowMapByIndex(i,{create:r.create});!a&&r.exist||null==o||o(a,{row:i})}}))}},{key:"eachColMap",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;e&&e.hasOwnProperty("col")||(e={col:0}),t&&t.hasOwnProperty("col")||(t={col:this.tableSize.cols-1}),this.store.transaction((function(){for(var i=e.col;i<=t.col;i++){var a=n.colMapByIndex(i,{create:r.create});!a&&r.exist||null==o||o(a,{col:i})}}))}},{key:"rows",get:function(){return this.map.get("rows")}},{key:"rowLast",get:function(){return this.tableSize.rows-1}},{key:"cols",get:function(){return this.map.get("columns")}},{key:"colLast",get:function(){return this.tableSize.cols-1}},{key:"ensureNewRowType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.rowMapByIndex(e,{create:t.create});return!(!n||"row"===n.get("type")||(n.set("type","row"),0))}},{key:"rowMapByIndex",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"object"===jI(e)&&(e=e.row);var r=this.rows.get(e);return!r&&n.create&&(r=this.createInnerMap("row",{row:e,inTransaction:!!n.inTransaction})),r&&(t=this.store.getMap(r)),t}},{key:"colMapByIndex",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"object"===jI(e)&&(e=e.col);var r=this.cols.get(e);return!r&&n.create&&(r=this.createInnerMap("col",{col:e,inTransaction:!!n.inTransaction})),r&&(t=this.store.getMap(r)),t}},{key:"cellMapByPos",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.hasOwnProperty("rowMap")?n.rowMap:this.rowMapByIndex(e.row,{create:n.create});if(r){var o=r.get("children");if(o){var i=o.get(e.col);!i&&n.create&&(i=this.createInnerMap("cell",e)),i&&(t=this.store.getMap(i))}}return t}},{key:"childMapByPos",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.hasOwnProperty("cellMap")?n.cellMap:this.cellMapByPos(t,n);if(r){var o,i=r.get("children"),a=null==i||null===(o=i.get)||void 0===o?void 0:o.call(i,0);!a&&n.create&&(a=this.createInnerMap("child",t)),a&&(e=this.store.getMap(a))}return e}},{key:"handleKeyDown",value:function(e){return this.onKeyDown&&this.onKeyDown(e)}},{key:"setOnKeyDown",value:function(e){this.onKeyDown=e}},{key:"onTableAction",value:function(e){this.exec.bind(this,e)()}},{key:"exec",value:function(e){var t=BI(zI(u.prototype),"exec",this).call(this,e);return t||(t=this.tableExec(e.type,e.params,e)),t||(t=this.componentOnAction&&this.componentOnAction(e)),t}},{key:"tableExec",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};console.log(e,t,n);var r=!0;if(null!==t&&"object"===jI(t)||(t={params:t}),"copy-cells"===e)this.copySelectedCells(t);else if("add-row"===e)this.changeSize({rows:t.count||1},MI(MI({},t),{},{render:!0}));else if("add-col"===e)this.changeSize({cols:t.count||1},MI(MI({},t),{},{render:!0}));else if("duplicate-column"===e)this.duplicateCols(t.start,MI(MI({},t),{},{render:!0}));else if("merge-cells"===e)r=this.mergeCells(t.start,t.last,{render:!0,dialog:!0});else if("divide-cells"===e)this.divideCells(t.pos,t.pos,{render:!0});else if("delete-rows"===e)this.deleteRows(t.start,t.last,{render:!0});else if("delete-cols"===e)this.deleteCols(t.start,t.last,{render:!0});else if("set-prop"===e)this.setInnerMapProp(t.start,t.last,t.key,t.val,{render:!0,type:t.type});else if("clear-cells"===e)this.clearCells(t.start,t.last,{render:!0});else if("sort-table-column"===e)this.setSortableColumn(t.pos,{order:t.order,render:!0});else if("exit-sort-table-column"===e)this.exitColumnSortingDialog({render:!0});else if("renew-sort-order"===e)this.renewSortOrder({animate:t.animate,render:!0});else if("convert-table-column"===e)this.convertColumn(t.start,t.last,t.type,{dialog:!0,render:!0});else if("convert-table-cells"===e)this.convertCells(t.start,t.last,t.type,{render:!0});else if("format-table-column"===e)this.formatColumn(t.start,t.last,t.type,t.prop,t.value,{render:!0});else if("format-table-cells"===e)this.formatCells(t.start,t.last,t.type,t.prop,t.value,{render:!0});else if("set-embed-align"===e)this.map.set("embed-align",t.align),this.renderWrapper();else if("move-table-row"===e)try{this.moveRow(t.start,t.last,t.index,{render:!0}),this.onFirstDragAndDropShowToastIfNeed()}catch(e){console.warn(e)}else if("move-table-column"===e)try{this.moveCol(t.start,t.last,t.index,{render:!0}),this.onFirstDragAndDropShowToastIfNeed()}catch(e){console.warn(e)}else"delete"===e||"backspace"===e?r=this.deleteAction(n):"render-fullwidth"===e?(this.skipFullwidthChange=!0,this.renderFullWidth()):"focus"===e?this.focusableFocus():"touch"===e?r=this.touch(t.type,t.pos):"scroll-to-cell"===e?r=this.scrollToCell(t):"get-table-blot"===e?r=this:"filter"===e?this.setTableFilter(t):"open-filter"===e?r=this.openTableFilter(t):"unset-temp-row"===e?(this.props.tempRow&&(this.setProps({tempRow:null}),this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})),r=!0):"filter-disabled"===e?(t.disabled?this.map.set("filter-disabled",!0):this.map.delete("filter-disabled"),this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})):"table-selection-update"===e?this.onTableSelectionUpdate():"comment-cell"===e?this.onTableCommentCell(t):(console.info("tableExec",e,t),r=!1);return r}},{key:"onFirstDragAndDropShowToastIfNeed",value:function(){var e=this.editor.plugins,t=e.notificationManager,n=e.i18n,r=this.editor.store.root.get("tableDragAndDropFirstProcessed");void 0!==r&&r||(this.editor.store.root.set("tableDragAndDropFirstProcessed",!0),t.toast(n.get("table.first_move_column_or_row_message")))}},{key:"touch",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"cell"===e&&(n=this.cellMapByPos(r,{create:!0})),this.tableBodyEmbed.mapToObject({mode:"rows",start:MI({},r)}),null===(t=n)||void 0===t?void 0:t.get("id")}},{key:"setOnAction",value:function(e){this.componentOnAction=e}},{key:"setTableContext",value:function(e){this.tableComponentContext=e}},{key:"isAllCellsSelected",value:function(){var e=!1,t=this.componentOnAction({type:"selection"});return t&&t.start&&t.last&&0===t.start.row&&0===t.start.col&&t.last.row===this.rowLast&&t.last.col===this.colLast&&(e=!0),e}},{key:"deleteAction",value:function(e){var t=this,n=!1;if(this.isAllCellsSelected()&&e.keyboard){var r=this.componentOnAction({type:"selection"}),o=!0;this.eachCellMap(!1,!1,{exist:!0},(function(e,n){if(o){var r,i,a=t.childMapByPos(n,{cellMap:e});null!=a&&null!==(r=a.get("characters"))&&void 0!==r&&null!==(i=r.toString())&&void 0!==i&&i.trim()&&(o=!1)}})),"delete"===e.type?o&&(e.rangeBefore&&e.rangeBefore.index>0&&(e.rangeBefore.index=e.rangeBefore.index-1),this.remove(),n=!0):"backspace"===e.type&&o&&!r.single&&(this.remove(),n=!0)}return n||(this.clearSelectedCells(),n=!0),n}},{key:"permission",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.editor.plugins,o=r.i18n,i=r.popupManager,a=r.notificationManager,s=!0;if("merge-cells"===e)!1===this.getMode("wrapCells")?(s=!1,n.alert&&i.alert(o.get("table.wrap_cells.warnings.merge.title"),o.get("table.wrap_cells.warnings.merge.text"))):this.map.has("sortableColumn")?(s=!1,n.alert&&i.alert(o.get("table.sorting.warning.merge.title"),o.get("table.sorting.warning.merge.text"))):this.map.has("filter")&&null!==this.map.get("filter")&&(s=!1,n.alert&&i.alert(o.get("table.filter.warning.merge.title"),o.get("table.filter.warning.merge.text")));else if("nowrap"===e){var l=this.componentOnAction({type:"is-merged"});!(s=!(null!=l&&l.cells))&&n.alert&&i.alert(o.get("table.wrap_cells.warnings.toggle.title"),o.get("table.wrap_cells.warnings.toggle.text"))}else if("sort-column"===e){var c=this.componentOnAction({type:"is-merged"});!(s=!(null!=c&&c.rows))&&n.alert&&i.alert(o.get("table.sorting.warning.table_rowspan.title"),o.get("table.sorting.warning.table_rowspan.text"))}else if("convert"===e){var u=this.componentOnAction({type:"is-selection-merged"});!(s=!(null!=u&&u.cells))&&n.alert&&a.toast(o.get("table.warning.convert_merged"))}else if("move-row"===e||"move-col"===e){var d=!1;"move-row"===e?(!n.start.hasOwnProperty("row")||isNaN(n.index)||n.index<0||n.index>this.tableSize.rows?d="position":this.sortableColumn?d="sortable":this.renderWithFilter()&&(d="filter"),d||this.eachCellMap(n.start,n.last,{exist:!0},(function(e,r){var o=t.getBigCell(r);o.rowspan>1&&(o.pos.row<n.start.row||o.posEnd.row>n.last.row)&&(d="cells-part")})),d||this.eachCellMap({row:n.index},{row:n.index},{exist:!0},(function(e,r){var o=t.getBigCell(r);t.getBigCell(r).rowspan>1&&o.pos.row<n.index&&(d="into-merged")}))):"move-col"===e&&((!n.start.hasOwnProperty("col")||isNaN(n.index)||n.index<0||n.index>this.tableSize.cols)&&(d="position"),d||this.eachCellMap(n.start,n.last,{exist:!0},(function(e,r){var o=t.getBigCell(r);o.colspan>1&&(o.pos.col<n.start.col||o.posEnd.col>n.last.col)&&(d="cells-part")})),d||this.eachCellMap({col:n.index},{col:n.index},{exist:!0},(function(e,r){var o=t.getBigCell(r);t.getBigCell(r).colspan>1&&o.pos.col<n.index&&(d="into-merged")}))),"position"===d?(s={error:$R.CANNOT_MOVE_INVALID_POSITION},n.alert&&i.alert(o.get("table.move_row_failed.title"),o.get("table.move_row_failed.text"))):"sortable"===d?(s={error:$R.CANNOT_MOVE_ROW_IN_SORTABLE_TABLE},n.alert&&i.alert(o.get("table.move_row_cant_move_in_sortable_table.title"),o.get("table.move_row_cant_move_in_sortable_table.text"))):"cells-part"===d?(s={error:$R.CANNOT_MOVE_MERGED_CELLS_PART},n.alert&&i.alert(o.get("table.move_row_cant_move_part_of_merged_cells.title"),o.get("table.move_row_cant_move_part_of_merged_cells.text"))):"into-merged"===d?(s={error:$R.CANNOT_MOVE_INTO_MERGED_CELL},n.alert&&i.alert(o.get("table.move_row_cant_split_merged_cells.title"),o.get("table.move_row_cant_split_merged_cells.text"))):"filter"===d&&(s={error:$R.CANNOT_MOVE_ROW_IN_FILTERED_TABLE},n.alert&&i.alert(o.get("table.move_row_cant_move_in_filtered_table.title"),o.get("table.move_row_cant_move_in_filtered_table.text")))}else if("filter-table"===e){var p,f=this.componentOnAction({type:"is-merged"}),h=n.col,m="string"==typeof h&&h||"number"==typeof h,g=this.tableBodyEmbed.table.colsData,y=m?(null===(p=g[h])||void 0===p?void 0:p.columnType)&&"none"!==g[h].columnType:Object.keys(g).some((function(e){var t;return(null===(t=g[e])||void 0===t?void 0:t.columnType)&&"none"!==g[e].columnType}));y?null!=f&&f.cells&&(s=!1,n.alert&&i.alert(o.get("table.filter.warning.cells_merged.title"),o.get("table.filter.warning.cells_merged.text"))):(s=!1,n.alert&&(m?i.alert(o.get("table.filter.warning.column_multitype.title"),o.get("table.filter.warning.column_multitype.text")):i.alert(o.get("table.filter.warning.table_not_have_typed_columns.title"),o.get("table.filter.warning.table_not_have_typed_columns.text"))))}return s}},{key:"dialog",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=this.editor.plugins.popupManager;if("convert-cols"===e){var o=t.silent||this.isRangeEmpty(t.start,t.last);o?n():r.dialog((0,s.h)(oI,{editor:this.editor,onAction:n}))}else if("duplicate-cols"===e){var i=t.skipData||t.silent||this.isRangeEmpty(t.start,t.last);i?n(!t.skipData):r.dialog((0,s.h)(dI,{editor:this.editor,onAction:n}))}else if("merge-cells"===e){var a=!1;this.eachCellMap(t.start,t.last,{},(function(e){e&&e.has("commentThreads")&&(a=!0)})),a?r.dialog((0,s.h)(xI,{editor:this.editor,onAction:n})):n()}}},{key:"isRangeEmpty",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!0;return this.eachCellMap(t,n,{exist:!0},(function(t,n){r&&(t.has("children")?e.childMapByPos(n,{cellMap:t})&&(r=!1):r=!1)})),r}},{key:"setInnerMapProp",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};t&&void 0!==t||(t={}),n&&void 0!==n||(n={}),!n.hasOwnProperty("row")&&t.hasOwnProperty("row")&&(n.col=t.col),!n.hasOwnProperty("col")&&t.hasOwnProperty("col")&&(n.col=t.col);var a=M.cell.attrs.hasOwnProperty(r),s=M.child.style.hasOwnProperty(r);if(this.store.transaction((function(){var l=function(e,t){var n=e.get("style")||{};for(var r in Object.assign(n,t),n)"false"===n[r]&&delete n[r];Object.keys(n).length?e.set("style",n):e.delete("style")},c=function(){e.eachCellMap(t,n,{exist:!0},(function(t,n){if(a)null!=t&&t.has(r)&&t.delete(r);else if(s){var i=e.childMapByPos(n,{cellMap:t});null==i||i.set(r,o)}else"style"===r&&e.childEffect("style",o,n,t)}))};if("row"===i.type)for(var u=t.row;u<=n.row;u++){var d=e.rowMapByIndex(u,{create:!0,inTransaction:!0});"style"===r?l(d,o):null!==o?d.set(r,o):d.delete(r),c()}else if("col"===i.type)for(var p=t.col;p<=n.col;p++){var f=e.colMapByIndex(p,{create:!0,inTransaction:!0});"style"===r?l(f,o):null!==o?f.set(r,o):f.delete(r),c()}else e.eachCellMap(t,n,{create:!0},(function(t,n){if(!t.get("hidden"))if(a)t.set(r,o);else if(s){var i=e.childMapByPos(n,{cellMap:t});null==i||i.set(r,o)}else"style"===r&&e.childEffect("style",o,n,t)}));e.ensureNewRowType(t.row||0)})),i.render){var l="rows";"col"===i.type&&(l=a||s||"style"===r?"cols_cells":"cols"),this.tableBodyEmbed.mapToObject({mode:l,start:t,last:n,fastRender:!0,withAllCells:M.col.updateCells.includes(r),withSummary:"col"===i.type&&"summary"===r})}}},{key:"sortableColumn",get:function(){if(this.map.has("sortableColumn")){var e=this.map.get("sortableColumn");return MI({index:this.cols.toArray().indexOf(e.columnId)},e)}return!1}},{key:"rowsOrder",get:function(){return this.map.get("rowsOrder")}},{key:"setSortableColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.order,r=void 0===n?"asc":n,o=this.permission("sort-column",{alert:!0});if(o){this.exitSortableColumn();var i=this.colMapByIndex(e.col,{create:!0});i.set("sortby",r),this.map.set("sortableColumn",{columnId:i.get("id"),order:r}),this.map.has("rowsOrder")||this.map.set("rowsOrder",this.rows.toArray()),this.renewSortOrder(),t.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}}},{key:"hasFilter",value:function(){return this.map.has("filter")&&null!==this.map.get("filter")&&this.map.get("filter").filters.length>0}},{key:"renderWithFilter",value:function(){return this.hasFilter()&&!Boolean(this.map.get("filter-disabled"))}},{key:"setTableFilter",value:function(e){(!e.filter||null===e.filter||this.permission("filter-table",{alert:!0}))&&(this.map.set("filter",e.filter),this.tableBodyEmbed.mapToObject({render:!0,mode:"full"}))}},{key:"openTableFilter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.permission("filter-table",{col:e.col,alert:!0});return t}},{key:"exitColumnSortingDialog",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.editor.plugins.popupManager,r=(0,s.h)(vI,{editor:this.editor,onAction:function(n){e.exitSortableColumn(MI({keepOrder:n},t))}});n.dialog(r)}},{key:"exitSortableColumn",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.sortableColumn&&(this.eachColMap(!1,!1,{create:!1},(function(e){null!=e&&e.has("sortby")&&e.delete("sortby")})),this.store.transaction((function(){if(!t.keepOrder){var n=e.rowsOrder;n&&e.setRowsOrder(n)}e.map.delete("sortableColumn"),e.map.delete("rowsOrder")})),t.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})),!0}},{key:"renewSortOrder",value:(o=DI(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_=this,w=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=w.length>0&&void 0!==w[0]?w[0]:{},(n=this.sortableColumn)&&!(n.index<0)){e.next=4;break}return e.abrupt("return");case 4:if(!t.inRange){e.next=9;break}if(r=t.inRange,o=r.start,i=void 0===o?{}:o,a=r.last,(s=void 0===a?{}:a).hasOwnProperty("col")||(s.col=i.col),!(n.index<i.col||n.index>s.col)){e.next=9;break}return e.abrupt("return");case 9:l=[],c=n.index,u=this.colMapByIndex(c),d=u.get("columnType"),this.eachCellMap({col:c},{col:c},{create:!1},(function(e,t,n){var r=t.row,o=t.col;if(n.rowMap,e){var i=Hr(e,e&&_.childMapByPos({row:r,col:o},{cellMap:e}),{colMap:u,cellType:d});null!==i.value&&l.push(Object.assign(i,{row:r}))}})),l.sort(this.compareCellsByValue.bind(void 0,n.order)),"desc"===n.order&&l.reverse(),p=this.rows.toArray(),f=l.reduce((function(e,t){return e.push(p[t.row]),e}),[]),h=p.reduce((function(e,t){return f.includes(t)||e.push(t),e}),[]),m=[].concat(AI(f),AI(h)),g=!1,e.t0=regeneratorRuntime.keys(m);case 22:if((e.t1=e.t0()).done){e.next=29;break}if(y=e.t1.value,m[y]===p[y]){e.next=27;break}return g=!0,e.abrupt("break",29);case 27:e.next=22;break;case 29:if(!g){e.next=38;break}if(this.setRowsOrder(m),!t.animate){e.next=37;break}return v=p[t.animate.row],-1!==(b=m.indexOf(v))&&this.componentOnAction({type:"animate-row-sorting",from:t.animate.row,to:b}),e.next=37,fn(M.row.transition);case 37:t.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"});case 38:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"setRowsOrder",value:function(e){var t=this,n=this.rows.toArray();this.store.transaction((function(){var r=new t.store.types.Array;for(var o in n){var i=n[o];if(i&&-1===e.indexOf(i)){var a=e.indexOf(!1);-1!==a?e.splice(a,1,i):e.push(i)}}for(var s in e){var l=e[s];r.insert(s,[l])}t.map.set("rows",r)}))}},{key:"clearAllCells",value:function(){this.clearCells({row:0,col:0},{row:this.rowLast,col:this.colLast},{render:!0})}},{key:"clearSelectedCells",value:function(){var e=this.componentOnAction({type:"selection"});e&&e.start&&e.last&&this.clearCells(e.start,e.last,{render:!0})}},{key:"clearCells",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!n.hasOwnProperty("row")&&e.hasOwnProperty("row")&&(n.row=e.row),!n.hasOwnProperty("col")&&e.hasOwnProperty("col")&&(n.col=e.col),this.store.transaction((function(){t.eachCellMap(e,n,{create:!1},(function(e,n){n.row,n.col,t.clearCellMap(e)}))})),r.render){this.tableBodyEmbed.mapToObject({mode:"rows",fastRender:!0,start:e,last:n});var o=e.row===n.row&&{row:e.row};this.renewSortOrder({animate:o,render:!0,inRange:{start:e,last:n}})}}},{key:"clearCellMap",value:function(e){if(e){var t,n=TI(M.cell.clear);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.has(r)&&e.delete(r)}}catch(e){n.e(e)}finally{n.f()}var o=this.childMapByPos({},{cellMap:e});if(o&&o.has("characters")){var i=new(c())(o.get("characters").toDelta()),a=new(c())([{insert:"\n"}]),s=i.diff(a);o.get("characters").applyDelta(s.ops)}}}},{key:"deleteRows",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.row||(n.row=t.row),this.store.transaction((function(){e.divideCells({row:t.row},{row:n.row},{});var r={};for(var o in e.eachCellMap({row:t.row},{row:n.row},{exist:!0},(function(t,n){var o=n.row,i=n.col;if(e.removeCellReminders(t),t.get("hidden")){var a=e.getBigCell({row:o,col:i}),s=Object.entries(a.pos).toString();r[s]?r[s].decrease.includes(o)||r[s].decrease.push(o):r[s]=MI(MI({},a),{},{decrease:[o]})}})),r){var i=r[o],a=i.map.get("rowspan")-i.decrease.length||1;i.map.set("rowspan",a)}for(var s=e.rows,l=n.row;l>=t.row;l--){var c=s.get(l);if(c){var u=e.store.getMap(c),d=null==u?void 0:u.get("children");d&&d.forEach((function(t){e.deleteCellMapById(t)})),e.deleteMapById(c)}if(void 0!==c){s.delete(l);var p=e.rowsOrder;if(p)for(var f in p)if(p[f]===c){p.splice(f,1),e.map.set("rowsOrder",p);break}}}e.changeSize({rows:t.row-n.row-1})})),r.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}},{key:"deleteCols",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.col||(n.col=t.col),this.store.transaction((function(){e.divideCells({col:t.col},{col:n.col},{});var r={};for(var o in e.eachCellMap({col:t.col},{col:n.col},{exist:!0},(function(t,n){var o=n.row,i=n.col;if(e.removeCellReminders(t),t.get("hidden")){var a=e.getBigCell({row:o,col:i}),s=Object.entries(a.pos).toString();r[s]?r[s].decrease.includes(i)||r[s].decrease.push(i):r[s]=MI(MI({},a),{},{decrease:[i]})}})),r){var i=r[o],a=i.map.get("colspan")-i.decrease.length||1;i.map.set("colspan",a)}var s=e.rows,l=e.cols;s.forEach((function(r,o){var i=e.rowMapByIndex(o),a=null==i?void 0:i.get("children");if(a)for(var s=n.col;s>=t.col;s--)a.length>s&&(e.deleteCellMapById(a[s]),a.delete(s))}));for(var c=e.map.get("filter"),u=function(t){var n=l.get(t);c&&c.filters&&(c.filters=c.filters.filter((function(e){return e.colId!==n}))),l.length>t&&(e.deleteMapById(l[t]),l.delete(t))},d=n.col;d>=t.col;d--)u(d);c&&(c.filters&&!c.filters.length?e.map.delete("filter"):e.map.set("filter",c)),e.changeSize({cols:t.col-n.col-1})})),r.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}},{key:"removeCellReminders",value:function(e){var t=this,n=this.editor.plugins.reminderManager,r=null==e?void 0:e.get("type");"tableCellDate"===r&&n.deleteReminder(e.get("id"),e.toJSON()),"tableCellMention"===r&&e.toJSON().children.forEach((function(e){var r,o;((null===(r=t.editor.store.blocks)||void 0===r||null===(o=r.get(e).get("characters"))||void 0===o?void 0:o.toDelta())||[]).forEach((function(e){var t=e.insert;null!=t&&t.date&&t.date.reminders&&n.deleteReminder(t.date.dateId,t.date)}))}))}},{key:"deleteCellMapById",value:function(e){var t=this;if(e){var n=this.store.getMap(e),r=null==n?void 0:n.get("children");r&&r.forEach((function(e){t.deleteMapById(e)})),this.deleteMapById(e)}return!0}},{key:"deleteMapById",value:function(e){}},{key:"mergeCells",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e&&!t){var o=this.getSelection;if(e=o.start,t=o.end,!e||!t)return console.warn("Can't merge cells, range:",e,t),!1}var i=function(){n.store.transaction((function(){var r=[],o=n.divideCells(e,t).last;n.eachCellMap(e,o,{create:!0},(function(t,o){var i=o.row,a=o.col;if(i>e.row||a>e.col){var s=n.getCellType({row:i,col:a});if(!s||"text"===s){var l=n.childMapByPos({row:i,col:a},{cellMap:t});if(l){var c=l.get("characters");c&&c.length>1&&r.push(c.toDelta())}n.clearCellMap(t)}t.set("hidden",!0),t.delete("rowspan"),t.delete("colspan")}}));var i=n.cellMapByPos(e);i.set("rowspan",Math.max(1,1+o.row-e.row)),i.set("colspan",Math.max(1,1+o.col-e.col)),i.delete("hidden"),i.delete("mergedCol"),r.map((function(t){n.mergeDelta(e,t)})),n.ensureNewRowType(e.row||0)})),r.render&&n.tableBodyEmbed.mapToObject({render:!0,mode:"full"})},a=this.permission("merge-cells",{alert:!0});return a&&(r.dialog&&this.editor.plugins.commentManager.options.tableCellComments?this.dialog("merge-cells",{start:e,last:t},i):i()),a}},{key:"mergeDelta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.cellMapByPos(e,{create:!0}),r=n.get("cellType");if(!r||"text"===r){var o=this.childMapByPos(e,{create:!0,cellMap:n}),i=o.get("characters"),a=i.toString().endsWith("\n"),s=[{retain:i.length-(a?1:0)}];a&&s.push({delete:1}),i.length>(a?1:0)&&s.push({insert:" "}),s.push.apply(s,AI(t)),i.applyDelta(s)}}},{key:"getMergedArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},t);return this.eachCellMap(e,t,{create:!1},(function(e,t){var r=t.row,o=t.col;e&&(n.row=Math.max(n.row,r-1+(e.get("rowspan")||1)),n.col=Math.max(n.col,o-1+(e.get("colspan")||1)))})),{start:e,last:n}}},{key:"divideCells",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n||(n=MI({},t)),t=this.fullPos(t,"min"),n=this.fullPos(n,"max");var o=this.getMergedArea(t,n),i=o.last,a=["rowspan","colspan","hidden","mergedCol"];return this.store.transaction((function(){e.eachCellMap(t,n,{exist:!0},(function(t,n){var r=t.get("rowspan")||1,o=t.get("colspan")||1;(r>1||o>1)&&e.eachCellMap({row:n.row,col:n.col},{row:n.row+r-1,col:n.col+o-1},{exist:!0},(function(e,r){var o,i=TI(a);try{for(i.s();!(o=i.n()).done;){var s=o.value;e.delete(s)}}catch(e){i.e(e)}finally{i.f()}if(r.row>n.row||r.col>n.col){var l,c=TI(M.cell.divide);try{for(c.s();!(l=c.n()).done;){var u=l.value;t.has(u)&&e.set(u,t.get(u))}}catch(e){c.e(e)}finally{c.f()}}}))}))})),r.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"}),{start:t,last:i}}},{key:"tableSize",get:function(){var e={rows:1,cols:1};return this.map.has("size")?Object.assign(e,this.map.get("size")):(e.rows=this.rows.length,e.cols=this.cols.length),e}},{key:"convertColumn",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t.hasOwnProperty("row")||(t.row=0),n.hasOwnProperty("col")||(n.col=t.col),n.hasOwnProperty("row")||(n.row=this.rowLast);var i=!0;this.eachCellMap(t,n,{create:!1},(function(t,n){if(t){var r=t.get("cellType"),o=e.childMapByPos(n,{cellMap:t});if("attachment"===r){var a=t.get("attachments");a&&a.length&&(i=!1)}else if("checkbox"===r)i=!1;else if("multiselect"===r||"singleselect"===r)t.get("selected").length&&(i=!1);else if("mention"===r){var s=o.get("characters").toDelta();s.length&&"object"===jI(s[0].insert)&&(i=!1)}else if("collaborator"===r)Object.keys(t.get("users")).length&&(i=!1);else if("date"===r)t.get("timestamp")&&(i=!1);else if("rating"===r)isNaN(t.get("rating"))||(i=!1);else if("progress"===r)isNaN(t.get("progress"))||(i=!1);else if(o){var l,c;null!=o&&null!==(l=o.get("characters"))&&void 0!==l&&null!==(c=l.toString())&&void 0!==c&&c.trim()&&(i=!1)}}}));var a="none"===r,s="reset"===r?"none":r,l="reset"===r?"text":r,c=function(){var r=Br(s),i=e.map.get("filter");e.eachColMap(t,n,{create:!0},(function(e,t){e.delete("format");var n=e.get("id");if(i&&i.filters&&(i.filters=i.filters.filter((function(e){return e.colId!==n}))),e.set("columnType",s),e.has("summary")){var o=e.get("summary");o.mode&&r[o.mode]||e.delete("summary")}if(e.has("width")){var a=e.get("width");r.minColumnWidth&&a<r.minColumnWidth&&e.set("width",r.minColumnWidth)}})),i&&i.filters&&i.filters.length?e.map.set("filter",i):e.map.delete("filter"),a?o.render&&e.tableBodyEmbed.mapToObject({render:!0,mode:"full"}):e.convertCells(t,n,l,{column:!0,render:!!o.render})},u=a||this.permission("convert",{alert:!0});u&&(!o.dialog||a||i?c():this.dialog("convert-cols",{start:t,last:n},c))}},{key:"convertCells",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n||(n=MI({},t));var i=Br(r),a=!o.column||i.createForce;this.store.transaction((function(){a&&e.eachRowMap(t,n,{create:!0}),e.eachCellMap(t,n,{create:!1},(function(t,n,o){var i=n.row,s=n.col,l=o.rowMap;if(a||t){var c=e.getCellCloneParams({row:i,col:s},t),u={cellType:r};t&&t.has("commentThreads")&&(u.commentThreads=t.get("commentThreads"));var d=Object.assign({},c,u),p=iR(e.store,"cell",d,{initChild:!0,onlyIfNecessary:!a,comments:!0});e.mapArraySet(l.get("children"),s,[!!p&&p.get("id")])}})),e.ensureNewRowType(t.row||0)})),o.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}},{key:"formatColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};t.col||(t.col=e.col);var a=Br(n);a.format[r]===o&&(o=null),this.eachColMap(e,t,{create:!1},(function(e,t){if(e){var n=Object.assign({},e.get("format")||{});null!==o?n[r]=o:n.hasOwnProperty(r)&&delete n[r],Object.keys(n).length?e.set("format",n):e.delete("format")}})),this.formatCells(e,t,n,r,o,MI(MI({},i),{},{clear:!0}))}},{key:"formatCells",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};!n.hasOwnProperty("row")&&t.hasOwnProperty("row")&&(n.row=t.row),!n.hasOwnProperty("col")&&t.hasOwnProperty("col")&&(n.col=t.col),this.eachCellMap(t,n,{create:null!==o},(function(t,n){var a=n.row,s=n.col;if(t){var l=Object.assign({},t.get("format")||{});null===o||i.clear?l.hasOwnProperty(r)&&delete l[r]:l[r]=o,Object.keys(l).length?t.set("format",l):t.delete("format"),e.childEffect(r,o,{row:a,col:s},t)}})),i.render&&this.tableBodyEmbed.mapToObject({mode:"cols_cells",start:t,last:n,fastRender:!0})}},{key:"childEffect",value:function(e,t,n,r){var o=!1;if(r){var i=this.childMapByPos(n,{cellMap:r});if(i)if("decimal_separator"===e){o=!0;var a=i.get("characters");if(a){var s,l=a.toString();"comma"===t?l.indexOf(".")&&(s=l.replace(".",",")):-1!==l.indexOf(",")&&(s=l.replace(",",".")),s&&a.applyDelta([{delete:a.length-1},{insert:s}])}}else if("style"===e){var u=i.get("characters");if(u){var d,p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new(c())(e),o=r.ops.reduce((function(e,n,r){var o=Object.assign({},n);if("string"==typeof o.insert&&(0===r||"\n"!==o.insert)){var i=Object.assign({},o.attributes||{});for(var a in t)i[a]=t[a]||null;Object.keys(i).length?o.attributes=i:o.hasOwnProperty("attributes")&&delete o.attributes}return e.push(o)}),new(c()));return n.diff?r.diff(o):o}(u.toDelta(),t,{diff:!0});null!==(d=p.ops)&&void 0!==d&&d.length&&(u.applyDelta(p.ops),o=!0)}}}return o}},{key:"moveRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t.hasOwnProperty("row")||(t.row=e.row);var o=this.permission("move-row",{start:e,last:t,index:n,alert:!0});if(!0===o){var i=Math.min(this.tableSize.rows,Math.max(0,n||0)),a=t.row-e.row+1;if(this.mapArrayMove(this.rows,e.row,n,a),this.renewSortOrder(),r.render){this.tableBodyEmbed.mapToObject({render:!0,mode:"full"});var s=n<e.row?i:i-a;this.selectCells({row:s,col:0},{row:s+a-1,col:this.colLast})}}else if("object"===jI(o)&&o.error)throw new $R(o.error)}},{key:"moveCol",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n.hasOwnProperty("col")||(n.col=t.col);var i=this.permission("move-col",{start:t,last:n,index:r,alert:!0});if(!0===i){var a=Math.min(this.tableSize.cols,Math.max(0,r||0)),s=n.col-t.col+1;if(this.mapArrayMove(this.cols,t.col,r,s),this.eachRowMap(!1,!1,{exist:!0},(function(n,o){var i=n.get("children");i&&e.mapArrayMove(i,t.col,r,s)})),this.renewSortOrder(),o.render){this.tableBodyEmbed.mapToObject({render:!0,mode:"full"});var l=r<t.col?a:a-s;this.selectCells({row:0,col:l},{row:this.rowLast,col:l+s-1})}}else if("object"===jI(i)&&i.error)throw new $R(i.error)}},{key:"getBigCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=this.cellMapByPos(e);if(null!=n&&n.get("hidden"))for(var r=!1,o=e.row;o>=0;o--){for(var i=this.rowMapByIndex(o),a=e.col;a>=0;a--){var s=i&&this.cellMapByPos({row:o,col:a},{rowMap:i});if(null==s||!s.get("hidden")){var l=(null==s?void 0:s.toJSON())||{},c=l.colspan,u=void 0===c?1:c,d=l.rowspan,p=void 0===d?1:d;p+o-1>=e.row&&u+a-1>=e.col&&(Object.assign(t,{main:!1,pos:{row:o,col:a},map:s,rowspan:p,colspan:u}),r=!0);break}}if(r)break}else{var f=(null==n?void 0:n.toJSON())||{},h=f.colspan,m=void 0===h?1:h,g=f.rowspan,y=void 0===g?1:g;Object.assign(t,{main:!0,pos:e,map:n,rowspan:y,colspan:m})}return t.posEnd={row:t.pos.row+t.rowspan-1,col:t.pos.col+t.colspan-1},t.merged=t.rowspan>1||t.colspan,t}},{key:"duplicateCols",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.editor.plugins.i18n,o=parseInt(n.count)||1,i={col:t.col},a={col:t.col+o-1};this.dialog("duplicate-cols",{start:i,last:a,silent:n.silent,skipData:n.skipData},(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.store.transaction((function(){e.changeSize({cols:o},{after:a.col}),e.eachColMap(i,a,{exist:!0},(function(t,n){var i=t.toJSON();delete i.id,i.text&&(i.text+=" (".concat(r.get("table.duplicate_column.copy"),")"));var a=iR(e.editor.store,"column",i);e.mapArraySet(e.cols,n.col+o,[a.get("id")])})),t&&e.eachCellMap(i,a,{exist:!0},(function(t,n,r){var i,a=r.rowMap,s=e.cellMapByPos({row:n.row,col:n.col+o});if(null==s||null===(i=s.get)||void 0===i||!i.call(s,"hidden")){var l=iR(e.editor.store,"cell",t);e.mapArraySet(a.get("children"),n.col+o,[l.get("id")])}}))})),n.render&&e.tableBodyEmbed.mapToObject({render:!0,mode:"full"})}))}},{key:"fillRowFromFilters",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=!1;return n.length&&n.every((function(e){return"mention"!==e.type&&("is"===e.condition||"="===e.condition)}))&&this.store.transaction((function(){for(var o=t.cols.toJSON(),i=t.rowMapByIndex(e,{create:!0,inTransaction:!0}).get("children"),a=[],s=function(e){var i=!1,s=!1;if(o[e]){var l=n.find((function(t){return t.colId===o[e]}));if(l)if(s={colspan:1,rowspan:1,type:Br(l.type).type,cellType:l.type},"text"===l.type||"number"===l.type||"currency"===l.type)s.delta={ops:[{insert:l.value+"\n"}]};else if("link"===l.type){var c=!1,u=t.tableComponentContext.useRefs.links.cell.find((function(e){return Boolean(e)}));if(u&&u.length){var d,p=u[e];p&&p.cellData&&"link"===p.cellData.cellType&&null!==(d=p.cellData.child)&&void 0!==d&&d.delta&&(s.delta=p.cellData.child.delta,c=!0)}c||(s.delta={ops:[{insert:l.value,attributes:{link:l.value.startsWith("http")?l.value:"http://"+l.value}}]})}else"date"===l.type&&"object"!==jI(l.value)?s.timestamp=String(l.value):"checkbox"===l.type?s.checked=l.value:"rating"===l.type?s.rating=String(l.value):"progress"===l.type?s.progress=String(l.value):"date"===l.type&&"object"===jI(l.value)&&(s=!1)}s&&Object.keys(s).length&&(i=iR(t.store,"cell",s,{initChild:!0}).get("id"),r=!0),a.push(i)},l=0;l<o.length;l++)s(l);t.mapArraySet(i,0,a)})),r}},{key:"changeSize",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.props.tempRow){var r="table";(t.rows<0||t.cols<0)&&(r="full");var o=this.tableSize,i=!1;n.hasOwnProperty("before")?i=n.before:n.hasOwnProperty("after")&&(i=n.after+1),this.store.transaction((function(){if(e.map.set("version",M.version),t.hasOwnProperty("rows")&&!e.props.tempRow){var n,a=parseInt(t.rows)||1;if(o.rows=Math.max(0,o.rows+a),!1!==i&&e.mapArrayFillOptional(e.rows,i,a)&&(r="full",i>0)){var s={};for(var l in e.eachCellMap({row:i-1},{row:i-1},{exist:!0,inTransaction:!0},(function(t,n){var r=n.row,o=n.col;if(t.get("hidden")||t.get("colspan")>1||t.get("rowspan")>1){var l=e.getBigCell({row:r,col:o});if(l.posEnd.row>r){var c=Object.entries(l.pos).toString();s[c]=l,e.eachCellMap({row:i,col:o},{row:i+a-1,col:o},{create:!0,inTransaction:!0},(function(e){e.set("hidden",!0)}))}}})),s){var c=s[l];c.map.set("rowspan",c.rowspan+a)}}var u=null===(n=e.map.get("filter"))||void 0===n?void 0:n.filters,d=!Boolean(e.map.get("filter-disabled"));if(1===t.rows&&u&&u.length&&d){var p=!1!==i?i:o.rows-1;if(!e.fillRowFromFilters(p,u)){var f=e.rowMapByIndex(p,{create:!0,inTransaction:!0}).get("id");e.props.tempRow=f}o.visibleRows=o.visibleRows+1,r="full"}e.map.set("size",o)}if(t.hasOwnProperty("cols")){var h=parseInt(t.cols)||1;if(o.cols=Math.max(0,o.cols+h),e.map.set("size",o),!1!==i){var m=e.mapArrayFillOptional(e.cols,i,h);if(e.rows.map((function(t){if(t){var n=e.store.getMap(t);n&&(m=e.mapArrayFillOptional(n.get("children"),i,h)||m)}})),m&&(r="full",i>0)){var g={};for(var y in e.eachCellMap({col:i-1},{col:i-1},{exist:!0,inTransaction:!0},(function(t,n){var r=n.row,o=n.col;if(t.get("hidden")||t.get("colspan")>1||t.get("rowspan")>1){var a=e.getBigCell({row:r,col:o});a.posEnd.col>o&&(g["".concat(a.pos.row,":").concat(a.pos.col)]=a,e.eachCellMap({col:i,row:r},{col:i+h-1,row:r},{create:!0,inTransaction:!0},(function(e,t){e.set("hidden",!0)})))}})),g){var v=g[y];v.map.set("colspan",v.colspan+h)}}}}e.ensureNewRowType()}));var a=this.tableSize;return(t.rows<0||t.cols<0)&&this.unselectAllCells(),a.rows<1||a.cols<1?(console.info("Remove table, reason:",a),this.remove()):(n.render&&this.tableBodyEmbed.mapToObject({render:!0,mode:r}),this.renderCaption(),o)}}},{key:"mapArraySet",value:function(e,t,n){var r=t-e.length;for(var o in r>0&&e.insert(e.length,new Array(r).fill(!1)),n){if(!(e.length>t))break;e.delete(t)}return e.insert(t,n),!0}},{key:"mapArrayMove",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return!(e.length<t&&e.length<n||(this.store.transaction((function(){var o=Math.max(t,n)+r-e.length;o>0&&e.insert(e.length,new Array(o).fill(!1));var i=e.toArray().splice(t,r);e.delete(t,r);var a=t<n?n-r:n;e.insert(a,i)})),0))}},{key:"mapArrayFillOptional",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e.length>t&&(e.insert(t,new Array(n).fill(!1)),!0)}},{key:"isDropAcceptor",get:function(){return!!this.componentOnAction({type:"get-drop-cell"})}},{key:"createFileBlot",value:function(){var e,t,n=this.componentOnAction({type:"get-drop-cell"});if(null!==(e=n)&&void 0!==e&&e.pos){var r,o,i=this.colMapByIndex(n.pos.col),a=this.cellMapByPos(n.pos);if("attachment"===(null==i?void 0:i.get("columnType"))||"attachment"===(null==a?void 0:a.get("cellType")))t=null===(r=(o=n).onDrop)||void 0===r?void 0:r.call(o);else if(!i||"none"===i.get("columnType")){var s,l;this.convertCells(n.pos,n.pos,"attachment",{render:!0}),t=null===(s=(l=n=this.componentOnAction({type:"get-drop-cell"})).onDrop)||void 0===s?void 0:s.call(l)}}return t}},{key:"getEditCell",get:function(){if(this.tableBlotEditCell.isEdit&&this.tableBlotEditCell.options){var e=this.tableBlotEditCell.options.pos;return void 0===e?{}:e}return{}}},{key:"getSelection",get:function(){return this.componentOnAction({type:"selection"})}},{key:"getSelectionCache",get:function(){return this.componentOnAction({type:"selection-cache"})}},{key:"setCellDelta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=!1,r=this.childMapByPos(e,{create:!0}),o=r.get("characters"),i=new(c())(o.toDelta()).diff(t);return null!=i&&i.ops.length&&(o.applyDelta(i.ops),n=!0),n}},{key:"getColLink",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.componentOnAction({type:"get-col",pos:e})}},{key:"getColNode",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getColLink(t);return null==n||null===(e=n.getNode)||void 0===e?void 0:e.call(n)}},{key:"getCellLink",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.componentOnAction({type:"get-cell",pos:e})}},{key:"getCellNode",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getCellLink(t);return null==n||null===(e=n.getNode)||void 0===e?void 0:e.call(n)}},{key:"startEditCell",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getCellLink(t);return null==n||null===(e=n.editCell)||void 0===e?void 0:e.call(n,{})}},{key:"getColType",value:function(e){var t;if(e>this.colLast)return!1;var n=this.colMapByIndex(e);return(null==n||null===(t=n.get)||void 0===t?void 0:t.call(n,"columnType"))||"none"}},{key:"getCellType",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.cellMapByPos(t),r=null==n||null===(e=n.get)||void 0===e?void 0:e.call(n,"cellType");if(!r){var o,i=null==n||null===(o=n.get)||void 0===o?void 0:o.call(n,"type");i&&(r=Fr(i))}if(!r||"none"===r){var a,s=this.colMapByIndex(t.col),l=null==s||null===(a=s.get)||void 0===a?void 0:a.call(s,"columnType");l&&"none"!==l&&(r=l)}return r=r&&"none"!==r?r:"text"}},{key:"getCellFormat",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.getCellType(n),o=this.cellMapByPos(n),i=this.colMapByIndex(n.col),a=Br(r).format||{},s=(null==i||null===(e=i.get)||void 0===e?void 0:e.call(i,"format"))||{},l=(null==o||null===(t=o.get)||void 0===t?void 0:t.call(o,"format"))||{},c=Object.assign({},a,s,l);return c}},{key:"getCellComparisonValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getCellType(e),n=this.cellMapByPos(e),r=this.childMapByPos(e,{cellMap:n}),o=this.colMapByIndex(e.col),i=Hr(n,r,{cellType:t,colMap:o});return MI({cellType:t},i)}},{key:"getCellText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="",r=this.getCellType(e),o=this.cellMapByPos(e),i=this.childMapByPos(e,{cellMap:o}),a=this.getCellLink(e);if(["text","number","currency"].includes(r)){var s,l,c,u;n=t.delta?(null==i||null===(s=i.get)||void 0===s||null===(l=s.call(i,"characters"))||void 0===l?void 0:l.toDelta())||[{insert:n}]:(null==i||null===(c=i.get)||void 0===c||null===(u=c.call(i,"characters"))||void 0===u?void 0:u.toString())||n}else{var d=this.colMapByIndex(e.col),p=qr(r,o,i,{colMap:d,cellLink:a});n=t.delta?[{insert:p.text}]:p.text}return t.trim&&!t.delta&&(n=n.trim()),n}},{key:"getChildDelta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.childMapByPos(e);return!(null==t||!t.has("characters"))&&t.get("characters").toDelta()}},{key:"getCellValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getCellType(e),n=this.cellMapByPos(e),r=this.childMapByPos(e,{cellMap:n}),o=qr(t,n,r);return o.value}},{key:"getEditing",value:function(){var e=this.tableBlotEditCell.childBlot;if(null!=e&&e.editing){var t=this.componentOnAction({type:"selection"});return{editing:e.editing,pos:t.current,blot:e}}return!1}},{key:"scrollToCell",value:function(e){var t=e.blotId,n=e.ensureCellVisible,r=e.setCurrent,o=e.select,i=void 0!==o&&o,a=!1,s=this.tableBodyEmbed.index.cell[t];return s&&(n(s),i&&r(s,{session:!1}),a=!0),a}},{key:"getMarkdown",value:function(){for(var e,t,n,r=[],o=[],i=0;i<this.tableSize.cols;i++){var a;r.push((null===(a=this.colMapByIndex(i))||void 0===a?void 0:a.get("text"))||"")}for(var s=0;s<this.tableSize.rows;s++){for(var l={children:[]},c=0;c<this.tableSize.cols;c++){var u=this.getCellText({row:s,col:c},{delta:!0})||[];l.children.push({delta:{ops:u}})}o.push(l)}return this.map.get("caption")&&(e=null===(t=this.editor.store.blocks.get(this.map.get("caption")))||void 0===t||null===(n=t.get("characters"))||void 0===n?void 0:n.toDelta()),xl({cols:this.tableSize.cols,rows:this.tableSize.rows,captionParams:e?{delta:{ops:e}}:void 0,content:{columns:r,rows:o}})}}],r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","table"),e.set("version",M.version),e.set("size",{cols:n.cols,rows:n.rows}),n.content||(n.content={columns:[],rows:[]}),n.content.columns.length||n.content.columns.push({type:"column"}),n.content.rows.length||n.content.rows.push({type:"row"});var r=new t.types.Array,o=new t.types.Array;if(n.content){if(n.content.columns){var i,a=[],s=TI(n.content.columns);try{for(s.s();!(i=s.n()).done;){var l=i.value,c=void 0;l&&Object.keys(l).length&&(c=iR(t,"column",l)),a.push(!!c&&c.get("id"))}}catch(e){s.e(e)}finally{s.f()}r.push((0,fe.J8)(a))}if(n.content.rows){var u,d=[],p=TI(n.content.rows);try{for(p.s();!(u=p.n()).done;){var f,h=u.value,m=void 0;if(h&&Object.keys(h).length&&(m=iR(t,"row",h),null!==(f=h.children)&&void 0!==f&&f.length)){var g,y=[],v=TI(h.children);try{for(v.s();!(g=v.n()).done;){var b=g.value,_=void 0;b&&Object.keys(b).length&&(_=iR(t,"cell",b,{initChild:!0})),y.push(!!_&&_.get("id"))}}catch(e){v.e(e)}finally{v.f()}m.get("children").push((0,fe.J8)(y))}d.push(!!m&&m.get("id"))}}catch(e){p.e(e)}finally{p.f()}o.push((0,fe.J8)(d))}}e.set("columns",r),e.set("rows",o);var w,C=TI(M.table.copy);try{for(C.s();!(w=C.n()).done;){var S=w.value;n.hasOwnProperty(S)&&e.set(S,n[S])}}catch(e){C.e(e)}finally{C.f()}Ju.initMap(e,t,n),cd.initMap(e,t,MI({noDefaultColor:!0},n)),eg.initMap(e,t,n);var E=n.caption;if(!E){var x=t.createMap();mv.initMap(x,t,n.captionParams||{}),E=x.get("id")}e.set("caption",E)}},{key:"createBlot",value:function(e){var t=a().create("tableWrapper");return this.addCaretTrap(e,t.domNode),t}},{key:"getMaxIndent",value:function(){return 30}},{key:"getAttachments",value:function(e,t){var n,r=[],o=TI(t.get("rows"));try{for(o.s();!(n=o.n()).done;){var i=n.value,a=e.store.blocks.get(i);if(a){var s,l=TI(a.get("children"));try{for(l.s();!(s=l.n()).done;){var c=s.value,u=e.store.blocks.get(c);if(u){var d=u.get("attachments");d&&d.length&&r.push.apply(r,AI(d))}}}catch(e){l.e(e)}finally{l.f()}}}}catch(e){o.e(e)}finally{o.f()}return r}},{key:"findReminders",value:function(e,t){var n=e.store.blocks,r=[];return t.forEach((function(e){var t,o=(e&&(null===(t=n.get(e))||void 0===t?void 0:t.toJSON())||{}).children;(void 0===o?[]:o).forEach((function(e){var t=n.get(e);if(t&&"tableCellDate"===t.get("type")){var o=t.get("reminders");for(var i in o){var a=o[i].seconds;r.push({id:i,dateId:t.get("id"),timestamp:t.get("timestamp"),format:t.get("format"),seconds:a})}}t&&"tableCellMention"===t.get("type")&&t.toJSON().children.forEach((function(e){var t;((null===(t=n.get(e))||void 0===t?void 0:t.get("characters").toDelta())||[]).forEach((function(e){var t=e.insert;if(null!=t&&t.date&&t.date.reminders)for(var n in t.date.reminders){var o=t.date.reminders[n].seconds;r.push({id:n,dateId:t.date.dateId,timestamp:t.date.value,format:t.date.format,seconds:o})}}))}))}))})),r}},{key:"removeReminders",value:function(e,t){var n=e.plugins.reminderManager,r=u.findReminders(e,t);AI(new Set(r.map((function(e){return e.dateId})))).forEach((function(e){var t={reminders:{}};r.filter((function(t){return t.dateId===e})).forEach((function(n){t.dateId=e,t.timestamp=n.timestamp,t.reminders[n.id]={seconds:n.seconds}})),n.deleteReminder(e,t)}))}},{key:"setReminders",value:function(e,t){var n=u.findReminders(e,t);u.setInlineRemindersByArray(e,n)}},{key:"setInlineRemindersByArray",value:function(e,t){var n=e.plugins.reminderManager,r={},o=new GI;for(var i in o.scroll=e.scroll,t.forEach((function(t){var n=t.id,i=t.dateId,a=t.timestamp,s=t.seconds,l=t.format,c=t.before;if(!r[i]){var u=(l||{}).showTime,d=void 0!==u&&u,p=new Date(a),f=[p.toLocaleDateString()];d&&f.push(p.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})),r[i]={title:e.plugins.i18n.get("calendar.ui.reminder.push_name"),dateId:i,timestamp:a,alerts:[],bodies:{},reminders:{},remindersBefore:c,date:f.join(" ")}}r[i].alerts.push(s),r[i].bodies[n]=o.reminderTimeToString(s),r[i].reminders[n]={seconds:s}})),r){var a=r[i],s=a.dateId,l=OI(a,kI);n.setReminder(s,l)}}}],n&&LI(t.prototype,n),r&&LI(t,r),u}(se([Ec,$A,mR,RR,dg,Pd,eg,nh,gu,Mu,cd,Ju,Vu,bd,tu,Eu])(g));WI.blotName="table",WI.tagName="DIV",WI.wrapper="tableWrapper",WI.className="table-blot",WI.allowedChildren=[ZT,MA];const YI=WI;function ZI(e){return(ZI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function KI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $I(e,t){return($I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function QI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=JI(e);if(t){var o=JI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return XI(this,n)}}function XI(e,t){if(t&&("object"===ZI(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 JI(e){return(JI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var eM=function(e){!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}}),t&&$I(e,t)}(i,e);var t,n,r,o=QI(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isSeparableByClickApplicable=!0,t}return t=i,(n=[{key:"getBlotInsertParams",value:function(e,t){return{type:this.constructor.blotName||null,initParams:{}}}},{key:"toHTML",value:function(){return this.domNode.outerHTML}},{key:"getMarkdown",value:function(){var e="";return this.children.forEach((function(t){t.getMarkdown&&(e+=t.getMarkdown())})),e}}])&&KI(t.prototype,n),r&&KI(t,r),i}(a().Container);function tM(e){return(tM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nM(e){return function(e){if(Array.isArray(e))return iM(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oM(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 rM(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=oM(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function oM(e,t){if(e){if("string"==typeof e)return iM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iM(e,t):void 0}}function iM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sM(e,t,n){return(sM="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pM(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function lM(e,t){return(lM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cM(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pM(e);if(t){var o=pM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return uM(this,n)}}function uM(e,t){if(t&&("object"===tM(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dM(e)}function dM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pM(e){return(pM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hM=["left","center","right","full-width"];function mM(e){return"table-align-"+e}var gM=function(e){!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}}),t&&lM(e,t)}(i,e);var t,n,r,o=cM(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),fM(dM(t=o.call(this,e)),"onTableWrapperMouseDown",(function(e){if(e.target==t.domNode){if(e.preventDefault(),t.table.domNode.classList.contains("focused-block"))return t.table.unselectAllCells(),!1;t.table.embeddableFocus()}})),fM(dM(t),"renderCaptionMargin",(function(){var e=t.table.columns.length,n=t.table.domNode.parentNode,r=t.caption.domNode.classList.contains("no-summaries");if(t.table.getSummariesMode())r&&t.caption.domNode.classList.remove("no-summaries");else{var o=t.table.domNode.offsetWidth,i=t.domNode.parentNode.classList.contains("grid"),a=n&&n.offsetWidth||0,s=t.table.domNode.classList.contains("last-row-selected"),l=t.table.domNode.classList.contains("focused-table"),c=!1;o<=a&&(c=!0),!c||!(!i&&e>2||i)||s&&l||e<5&&!i&&t.domNode.offsetWidth>1e3?r&&t.caption.domNode.classList.remove("no-summaries"):r||t.caption.domNode.classList.add("no-summaries")}})),t.domNode.classList.add("embed-wrapper"),t.domNode.classList.add("table-wrapper"),t.table=null,t._animationTimeout=null,t}return t=i,(n=[{key:"id",get:function(){return this.map.get("id")}},{key:"getWrappedBlot",value:function(){return this.table}},{key:"setDomNodeAttribute",value:function(e,t){"id"!==e&&this.domNode.setAttribute(e,t)}},{key:"attach",value:function(){sM(pM(i.prototype),"attach",this).call(this),this.table||(this.table=a().create("table"),this.table.map=this.map,this.appendChild(this.table),this.map.get("caption")&&(this.caption=a().create("caption"),this.caption.map=this.store.getMap(this.map.get("caption")),this.caption.scroll=this.scroll,this.caption.embedBlot=this.table),this.caption&&this.appendChild(this.caption),this.editor.mode!==this.editor.constructor.MODE_EDIT&&!1!==this.table.wrapCellsMode||(this.mouseEvents(),this.domNode.addEventListener("mousedown",this.onTableWrapperMouseDown,!1)))}},{key:"detach",value:function(){sM(pM(i.prototype),"detach",this).call(this),this.domNode.removeEventListener("mousedown",this.onTableWrapperMouseDown,!1)}},{key:"addBlot",value:function(){var e;(e=this.parent).addBlot.apply(e,arguments)}},{key:"mouseEvents",value:function(){}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.color||"transparent",n=!e.hasOwnProperty("focused")||e.focused,r=mM(e.align||"left"),o=this.domNode.classList.contains(r),i=this.table.fullWidth&&this.table.isFullwidth;if(!o||i){var a,s=rM(hM);try{for(s.s();!(a=s.n()).done;){var l=a.value;this.domNode.classList.remove(mM(l))}}catch(e){s.e(e)}finally{s.f()}}o||i||this.domNode.classList.add(r),is(t)?this.domNode.style.backgroundColor=t:(this.domNode.style.removeProperty("background-color"),this.domNode.setAttribute("data-block-background",t)),n?this.domNode.classList.add("focused-wrap"):this.domNode.classList.remove("focused-wrap"),this.caption&&this.caption.render()}},{key:"getInnerTextLine",value:function(){return this.caption}},{key:"getChildBlotsForExec",value:function(){return[this.table]}},{key:"toHTML",value:function(e){var t=this.editor,n=this.domNode.cloneNode(!0),r=nM(n.outerHTML.matchAll(/data-file-export="(.*?)\.end"/g)),o=[];if(e.options.noAttachments||r&&r.length>0&&r.forEach((function(e){o.push(e[1])})),o.length>0&&o.forEach((function(n){var r=t.findById(n);if(r){e.addAttachment(r.props.attachment);var o=r.domNode;if(e.options.toEmail){var i=o.querySelector(".compact-view-content");i.style.display="flex",i.style.border="1px solid #c8c8c8",i.style.borderRadius="4px",o.querySelector(".file-size").remove()}var a=e.getAttachmentPath(r.props.attachment),s=document.createElement("a");s.setAttribute("href",a),s.setAttribute("target","_blank");var l=o.querySelector(".file-name");Array.from(l.childNodes).map((function(e){s.appendChild(e)})),l.appendChild(s)}})),e.options.noAttachments)for(var i=this.domNode.getElementsByClassName("table-attachment"),a=0;a<i.length;a++)i[a].innerHTML="";(n=this.domNode.cloneNode(!0)).classList.add("export"),e.options.pdf&&n.classList.add("export-pdf");var s=n.getElementsByTagName("table")[0];if(e.options.toEmail)s.style="border-spacing: 0;";else{var l=s.getElementsByTagName("colgroup")[0];if(l&&l.insertBefore)for(var c=0;c<2;c++)l.insertBefore(document.createElement("col"),l.getElementsByTagName("col")[0])}var u=n.getElementsByClassName("table-toolbar-row-header");u.length&&u[0].remove();for(var d=1,p=0,f=["tbody","tfoot"];p<f.length;p++){var h=f[p],m=void 0;if("tbody"===h)m=s.tBodies[0].rows;else if("tfoot"===h){if(!s.tFoot||!s.tFoot.rows.length)continue;m=s.tFoot.rows}var g,y=rM(m);try{for(y.s();!(g=y.n()).done;){var v=g.value,b=document.createElement("div");if(b.classList.add("cell-head-item"),b.style.whiteSpace="nowrap",e.options.pdf&&b.classList.add("border-top-width"),"tbody"===h&&(b.innerHTML=d++),e.options.toEmail)for(var _=0;_<v.children.length;_++){var w=v.children[_];"cell-head"===w.className?w.style="text-align:center; border: 1px solid #c8c8c8;":"cell-margin"!==w.className&&(w.style="border: 1px solid #c8c8c8;"),"tfoot"===h&&w.children[0]&&"summaries-group"===w.children[0].className&&(w.children[0].children[0].style="display: flex;")}}}catch(e){y.e(e)}finally{y.f()}}var C=n.getElementsByClassName("attachment-caption")[0];C&&C.textContent&&""!==C.textContent.trim()&&(C.style.width="100%",C.classList.remove("empty-caption-hidden"));var S=n.getElementsByClassName("table-toolbar-col-header");if(e.options.pdf){if(S.length){var E=n.classList.contains("hide-col-header"),x=document.createElement("tr"),k=document.createElement("td"),O=document.createElement("td");k.classList.add("col-header-pdf"),k.classList.add("cell-margin"),O.classList.add("col-header-pdf"),O.classList.add("cell-margin"),x.appendChild(k),x.appendChild(O);var T,A=rM(S[0].children);try{for(A.s();!(T=A.n()).done;){var P=T.value,R=document.createElement("td");R.classList.add("col-header-pdf"),R.innerHTML=P.innerHTML,x.appendChild(R)}}catch(e){A.e(e)}finally{A.f()}E&&x.classList.add("tr-hidden"),s.tBodies[0].insertBefore(x,s.tBodies[0].firstChild),S[0].remove()}var I=n.getElementsByTagName("tfoot"),M=I[0].children[0];M.classList.add("pdf-tr-foot"),"A5"===e.options.papperFormat&&M.classList.add("A5"),M.firstChild.classList.remove("cell-head"),M.firstChild.classList.add("cell-margin"),M.firstChild.innerHTML="",s.tBodies[0].appendChild(M,s.tBodies[0].lastChild),I[0].remove()}if(e.options.toEmail&&S.length){for(var N=s.getElementsByTagName("colgroup")[0],D=document.createElement("thead"),j=0;j<2;j++){var L=document.createElement("th");D.appendChild(L);var B=document.createElement("col");B.width=20,N.insertBefore(B,N.getElementsByTagName("col")[0])}var F,U=rM(S[0].children);try{for(U.s();!(F=U.n()).done;){var H=F.value,V=document.createElement("th");V.setAttribute("style","border: 1px solid #c8c8c8;"),V.innerHTML=H.innerHTML,D.appendChild(V)}}catch(e){U.e(e)}finally{U.f()}s.insertBefore(D,s.tBodies[0]),S[0].remove()}return n.outerHTML}}])&&aM(t.prototype,n),r&&aM(t,r),i}(se([gu,tu])(eM));gM.blotName="tableWrapper",gM.allowedChildren=[YI,mv],gM.tagName="DIV",gM.scope=a().Scope.BLOCK_BLOT;const yM=gM;function vM(e){return(vM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bM(e,t){return(bM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=CM(e);if(t){var o=CM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wM(this,n)}}function wM(e,t){if(t&&("object"===vM(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 CM(e){return(CM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var SM=function(e){!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}}),t&&bM(e,t)}(n,e);var t=_M(n);function n(e,r,o){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||n.type,t.call(this,e,r,o)}return n}(ro);function EM(e){return(EM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function TM(e,t,n){return(TM="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=IM(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function AM(e,t){return(AM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function PM(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IM(e);if(t){var o=IM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RM(this,n)}}function RM(e,t){if(t&&("object"===EM(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 IM(e){return(IM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}SM.type="set-align";var MM={action:SM.type,key:"align",default:"left",allow:["left","right","center","justify"]},NM=function(e){return function(e){!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}}),t&&AM(e,t)}(i,e);var t,n,r,o=PM(i);function i(){var e;kM(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).addCanExecActions([MM.action]),e}return t=i,(n=[{key:"contextMenu",get:function(){var e=TM(IM(i.prototype),"contextMenu",this);return Object.assign(e,{align:!0}),e}},{key:"align",get:function(){return this.map.get(MM.key)||MM.default},set:function(e){void 0===e&&(e=MM.default),MM.allow.includes(e)?e===MM.default?this.map.delete(MM.key):this.map.set(MM.key,e):console.warn("Attempt to set invalid align:",e)}},{key:"exec",value:function(e){var t=!!TM(IM(i.prototype),"exec",this)&&TM(IM(i.prototype),"exec",this).call(this,e);return e.type===MM.action&&(this.align=e.params,t=!0),t}},{key:"getBlotInsertParams",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=(e=TM(IM(i.prototype),"getBlotInsertParams",this)).call.apply(e,[this].concat(n)),a=this.align;return a!==MM.default&&(o.initParams=Object.assign(o.initParams||{},xM({},MM.key,a))),o}},{key:"getCloneParams",value:function(){var e,t=(null===(e=TM(IM(i.prototype),"getCloneParams",this))||void 0===e?void 0:e.call(this))||{},n=this.align;return n!==MM.default&&(t[MM.key]=n),t}}])&&OM(t.prototype,n),r&&OM(t,r),i}(e)};NM.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.hasOwnProperty(MM.key)&&MM.allow.includes(n[MM.key])&&e.set(MM.key,n[MM.key])};const DM=NM;function jM(e){return(jM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function LM(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return BM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return BM(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function BM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HM(e,t,n){return(HM="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=GM(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function VM(e,t){return(VM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zM(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=GM(e);if(t){var o=GM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qM(this,n)}}function qM(e,t){if(t&&("object"===jM(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 GM(e){return(GM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var WM=[{key:"borderColor",action:"set-border-color",attribute:"data-border-color",default:"transparent",i18n:"outline.context_menu.style.border_color"},{key:"lineColor",action:"set-line-color",attribute:"data-line-color",default:"transparent",i18n:"block_menu.color.line_color"}],YM=function(e){return function(e){!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}}),t&&VM(e,t)}(i,e);var t,n,r,o=zM(i);function i(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return FM(this,i),(t=o.call(this,e,n)).colorsAvailable=WM.filter((function(e){var t;return null===(t=n.colorsConfig)||void 0===t?void 0:t.includes(e.key)})),t.addCanExecActions(t.colorsAvailable.reduce((function(e,t){return e.push(t.action),e}),[])),t}return t=i,(n=[{key:"contextMenu",get:function(){var e=this,t=HM(GM(i.prototype),"contextMenu",this),n=this.editor.plugins.i18n,r=this.colorsAvailable.reduce((function(t,r){return t[r.action.replace("set","change")]={index:0,group:0,stackable:!1,action:"change-color",submenu:"ColorPicker",label:n.get(r.i18n),colorPickerParams:{execAction:r.action,defaultColor:"transparent",closeOnChoice:!1,getSelectedColor:function(){return e.colorsConfig[r.key]}}},t}),{});return Object.assign(t,r)}},{key:"colorsConfig",get:function(){var e=this;return this.colorsAvailable.reduce((function(t,n){var r,o,i;return Object.assign(t,(r={},o=n.key,i=e.map.get(n.key)||n.default,o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r)),t}),{})}},{key:"setColorConfig",value:function(e,t){console.info("setColorConfig",e,t);var n,r=LM(this.colorsAvailable);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(e===o.key){t&&t!==o.default?this.map.set(o.key,t):this.map.delete(o.key);break}}}catch(e){r.e(e)}finally{r.f()}}},{key:"render",value:function(){var e=this;HM(GM(i.prototype),"render",this).call(this);var t=this.colorsConfig;this.colorsAvailable.map((function(n){var r=t[n.key];r&&"transparent"!==r?e.domNode.setAttribute(n.attribute,r):e.domNode.removeAttribute(n.attribute)}))}},{key:"exec",value:function(e){var t,n=!!HM(GM(i.prototype),"exec",this)&&HM(GM(i.prototype),"exec",this).call(this,e),r=LM(this.colorsAvailable);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(e.type===o.action){this.setColorConfig(o.key,e.params),n=!0;break}}}catch(e){r.e(e)}finally{r.f()}return n}},{key:"getBlotInsertParams",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=(e=HM(GM(i.prototype),"getBlotInsertParams",this)).call.apply(e,[this].concat(n));return o.initParams=Object.assign(o.initParams||{},this.colorsConfig),o}},{key:"getCloneParams",value:function(){var e,t=(null===(e=HM(GM(i.prototype),"getCloneParams",this))||void 0===e?void 0:e.call(this))||{};return Object.assign(t,this.colorsConfig),t}}])&&UM(t.prototype,n),r&&UM(t,r),i}(e)};YM.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};WM.map((function(t){n.hasOwnProperty(t.key)&&e.set(t.key,n[t.key])}))};const ZM=YM;var KM=n(70494);function $M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var QM=function(e){var t=this.target,n=e.transaction.beforeState,r=this.type._item.id;if(!n||n.get(r.client)&&!(n.get(r.client)<r.clock)){var o="yjs";e.transaction.origin&&"remote"===e.transaction.origin&&(o="remote"),t.update(o),this._mutualExclude((function(){t.updateContents(e.delta,o),t.update(o)}))}},XM=function(e){var t=this;this._mutualExclude((function(){t.type.applyDelta(e.ops)}))},JM=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.target=n,this._mutualExclude=(0,KM.M)(),this.scroll=n.scroll}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this;this.type.doc.transact((function(){e.type.toDelta()})),this._typeObserver=QM.bind(this),this._quillObserver=XM.bind(this),this.type.observe(this._typeObserver),this.target.on("text-change",this._quillObserver),this._mutualExclude((function(){e.target.setContents(e.type.toDelta(),"yjs")}))}},{key:"destroy",value:function(){this.type&&this.type.unobserve(this._typeObserver),this.target&&this.target.off("text-change",this._quillObserver),this.type=null,this.target=null}}])&&$M(t.prototype,n),r&&$M(t,r),e}();function eN(e){return(eN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tN(Object(n),!0).forEach((function(t){rN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||iN(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 iN(e,t){if(e){if("string"==typeof e)return aN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aN(e,t):void 0}}function aN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lN(e,t,n){return(lN="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pN(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function cN(e,t){return(cN=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pN(e);if(t){var o=pN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dN(this,n)}}function dN(e,t){if(t&&("object"===eN(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 pN(e){return(pN=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fN=function(e){!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}}),t&&cN(e,t)}(i,e);var t,n,r,o=uN(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isText=!0,t.cache={length:null},t.emitter=new Oo,e.classList.add("editable-text"),t}return t=i,(n=[{key:"editor",get:function(){return this.scroll.editor}},{key:"selection",get:function(){return this.scroll.selection}},{key:"container",get:function(){return this.parent.container}},{key:"attach",value:function(){for(var e,t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=lN(pN(i.prototype),"attach",this)).call.apply(e,[this].concat(r)),this.characters&&(this._quillBinding=new JM(this.characters,this),this._quillBinding.init()),this.editor.isEditable()&&(this.domNode.setAttribute("contenteditable",!0),this.domNode.style.whiteSpace="pre-wrap"),this.scroll.emitter.on("SCROLL_UPDATE",(function(e,n,r){(r.has(t)||r.has(t.parent))&&mN.call(t,(function(){return t.updateBlot()}),e)}))}},{key:"applyDelta",value:function(e){var t=this;this.scroll.execInBatch((function(){var n=_i(e,{trimNewLines:!0}),r=new(c());n.reduce((function(e,n){var o=l.Op.length(n),i=n.attributes||{};if(n.insert){if(r.retain(o),"string"==typeof n.insert){var s=n.insert;if(s=s.replace(/[\n]/g,"")){t.insertAt(e,s);var c=oN(t.descendant(a().Leaf,e),1)[0],u=nN({},hN(t,c));i=l.AttributeMap.diff(u,i)||{}}}else if("object"===eN(n.insert)){var d=Object.keys(n.insert)[0];if(null===d)return e;t.insertAt(e,d,n.insert[d])}}else r.push(n);return Object.keys(i).forEach((function(n){t.formatAt(e,o,n,i[n])})),e+o}),0),r.reduce((function(e,n){return"number"==typeof n.delete?(t.deleteAt(e,n.delete),e):e+l.Op.length(n)}),0),t.delta()}))}},{key:"applyForCharacters",value:function(e){this.characters.applyDelta(e)}},{key:"clearFormat",value:function(e,t){var n,r=["comment"],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=iN(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(new Set(this.descendants(a().Inline,e,t).map((function(e){return e.statics.blotName})).filter((function(e){return!r.includes(e)}))));try{for(o.s();!(n=o.n()).done;){var i=n.value;this.formatText(e,t,i,!1)}}catch(e){o.e(e)}finally{o.f()}}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.descendants(a().Leaf,e,t);if(!n.length)return{};for(var r=hN(this,n.shift());n.length;){var o=n.shift();o instanceof ni&&(o=n.shift()),o&&(r=bi(hN(this,o),r))}return r}},{key:"getText",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length()-t,r=this.getContents(t,n);return r.filter((function(e){if("string"==typeof e.insert)return!0;if("object"===eN(e.insert)){var t=a().query(Object.keys(e.insert)[0]);if(t&&t.getOpText)return!0}return!1})).map((function(t){return"string"==typeof t.insert?t.insert:a().query(Object.keys(t.insert)[0]).getOpText(t.insert,e&&e.children,e.editor)})).join("")}},{key:"getContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.cache.delta.slice(e,e+t);return n.forCopy?Ne(r):r}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=lN(pN(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this._quillBinding&&(this._quillBinding.destroy(),this._quillBinding=null)}},{key:"delta",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.cache.delta=this.descendants(a().Leaf).reduce((function(t,n){return 0===n.length()?t:t.insert(n.value(),hN(e,n,{}))}),new(c())).insert("\n"),t.forCopy?Ne(this.cache.delta.slice()):this.cache.delta}},{key:"deleteText",value:function(e,t){var n=(new(c())).retain(e).delete(t);this.characters.applyDelta(n.ops)}},{key:"formatAt",value:function(e,t,n,r){if(n.startsWith("comment-")&&!0===r){var o=n.split("-");n=o.shift(),r=JSON.stringify({threadId:o.shift(),color:o.length>1?o.join("-"):o.shift()})}lN(pN(i.prototype),"formatAt",this).call(this,e,t,n,r)}},{key:"formatText",value:function(e,t,n,r){if("comment"===n){var o=JSON.parse(r);n=n+"-"+o.threadId+"-"+o.color,r=!0}var i=function(e,t,n,r){var o,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=new(c())(e).slice(t+n),s=n,l=ci(a.ops);try{for(l.s();!(o=l.n()).done;){var u,d,p=o.value;if(!i&&null!==(u=p.attributes)&&void 0!==u&&u[r]||i&&i!==(null===(d=p.attributes)||void 0===d?void 0:d[r]))break;p.insert&&(s+=p.insert.length)}}catch(e){l.e(e)}finally{l.f()}var f=si({},r,i||null),h=(new(c())).retain(t).retain(s,ai({},f));return h}(this.characters.toDelta(),e,t,n,r);this.characters.applyDelta(i.ops)}},{key:"isEmpty",value:function(){return!Boolean(this.domNode.textContent)}},{key:"insertText",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"string"==typeof t&&(t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"));var r=(new(c())).retain(e).insert(t,nN({},n));this.characters.applyDelta(r.ops)}},{key:"insertBefore",value:function(e,t){var n=this.children.head;lN(pN(i.prototype),"insertBefore",this).call(this,e,t),n instanceof Yo&&n.remove()}},{key:"length",value:function(){return null===this.cache.length&&(this.cache.length=lN(pN(i.prototype),"length",this).call(this)+1),this.cache.length}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"off",value:function(){return this.emitter.removeListener.apply(this.emitter,arguments)}},{key:"optimize",value:function(){var e;this.cache.length=null;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=lN(pN(i.prototype),"optimize",this)).call.apply(e,[this].concat(n));var o=this.children.tail;o instanceof ni&&"s"===o.value().linebreak&&this.appendChild(a().create("linebreak"));var s=this.characters.toDelta();if(0===s.length){var l=(new(c())).insert("\n");this.applyForCharacters(l.ops)}}},{key:"path",value:function(e){return lN(pN(i.prototype),"path",this).call(this,e,!0)}},{key:"setCharacters",value:function(e){this.characters=e}},{key:"setContents",value:function(e){e=new(c())(e);var t=this.length();1!==t&&this.deleteAt(0,t),this.applyDelta(e)}},{key:"split",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.children.forEachAt(e,this.length(),(function(e,r){e=e.split(r,t),n.appendChild(e)})),n}},{key:"updateContents",value:function(e,t){e=new(c())(e);var n=!1;if("remote"===t&&this.selection.containsBlot(this)&&(n=!0),this.applyDelta(e),n&&this.selection.lastRelPosition){var r=$s(this.selection.lastRelPosition);this.selection.setRange(r)}}},{key:"updateBlot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this.cache.delta||new(c())([]),r=this.delta();return e&&Ws()(n.compose(e),r)||(e=n.diff(this.cache.delta,t)),e.ops.length>0&&this.scroll.emitter.emit("BLOCK_UPDATE",{}),e}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;"yjs"!==e&&"remote"!==e&&lN(pN(i.prototype),"update",this).call(this,e,t)}},{key:"toHTML",value:function(e){if(!this.children.length)return"<br>";var t=[];return this.children.forEach((function(n){if(n instanceof U)t.push(mi(n.value()));else{var r="";n.toHTML?r=n.toHTML(e):n.domNode&&(r=n.domNode.outerHTML),t.push(r)}})),t.join("")}}])&&sN(t.prototype,n),r&&sN(t,r),i}(a().Block);function hN(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null==t?n:("function"==typeof t.formats&&(n=nN(nN({},n),t.formats())),null===t.parent||t.parent===e||t.parent.statics.scope!==t.statics.scope?n:hN(e,t.parent,n))}function mN(e){var t=this.cache.delta,n=e();if(n.length()>0){var r,o=["text-change",n,t];(r=this.emitter).emit.apply(r,o)}return n}function gN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yN(e,t)}(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 yN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}fN.defaultChild="break",fN.allowedChildren=[Yo,Li,ni,U,Lo,Qt,ma,Ae,Oa,Vs],fN.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.has("characters"))throw new Error("TextBase map already has characters, skip initMap");e.set("characters",new t.types.Text),n.delta?e.get("characters").applyDelta(n.delta.ops):e.get("characters").insert(0,"\n")};const vN=[{hotkey:"backspace",action:function(e){e.preventDefault();var t=gN(this.selection.getRange({offsetBlot:this}),1)[0];this.deleteText(t.index,1),this.selection.setRange({index:this.offset(this.scroll)+t.index,length:0})}},{hotkey:"enter",action:function(e){var t=gN(this.selection.getRange({offsetBlot:this}),1)[0];if("mobile"!==this.editor.options.keyboardMode){e.preventDefault(),this.tryConvertLink(t.index);var n={focus:{index:0}};if(t.index!==this.length()-1){var r=this.split(t.index,!0);n.delta=r.delta()}this.parent.addNextBlot(n)}}},{hotkey:"shift+enter",action:function(e){e.preventDefault();var t=gN(this.selection.getRange({offsetBlot:this}),1)[0];this.tryConvertLink(t.index),this.insertText(t.index,{linebreak:"s"}),this.selection.setRange({index:this.offset(this.scroll)+t.index+1,length:0})}},{hotkey:"tab",action:function(e){e.preventDefault();var t,n,r=gN(this.selection.getRange({offsetBlot:this}),1)[0];0===r.index?null===(t=(n=this.parent).addIndent)||void 0===t||t.call(n):(r.length>0&&this.deleteText(r.index,r.length),this.insertText(r.index,"\t"),this.selection.setRange({index:this.offset(this.scroll)+r.index+1,length:0}))}},{hotkey:"shift+tab",action:function(e){e.preventDefault();var t,n,r,o,i=gN(this.selection.getRange({offsetBlot:this}),1)[0];0===i.index||i.length>0?null===(t=(n=this.parent).removeIndent)||void 0===t||t.call(n):"\t"===this.getText(i.index-1,1)?(this.deleteText(i.index-1,1),this.selection.setRange({index:this.offset(this.scroll)+i.index-1,length:0})):null===(r=(o=this.parent).removeIndent)||void 0===r||r.call(o)}},{hotkey:"alt+backspace",altHotkey:["mod+backspace","ctrl+backspace"],action:function(e){var t=this.getContents(0,this.length()),n=!1;if(1===t.ops.length&&(n=!0),2===t.ops.length&&"string"==typeof t.ops[1].insert&&""===t.ops[1].insert.trim()&&(n=!0),n||e.metaKey){e.preventDefault();var r=this.length()-1,o=e.altKey||e.ctrlKey?"alt":"",i=gN(this.selection.getRange(),2),a=i[0].index,s=i[1],l=s.start.offset,c=s.end.offset,u=t.ops[0].attributes,d=void 0===u?{}:u,p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if("string"!=typeof t)return{str:"",cursor:0};var r=t.slice(0,e),o=t.slice(e),i="";if("alt"===n){var a=r.split(" "),s=a.pop();s&&a.length&&a.push(""),i=[r=a.length?a.join(" "):"",o].join("")}else r="",i=o;return{str:i,cursor:r.length}}(c,t.ops[0].insert,o),f=p.str,h=p.cursor;this.applyForCharacters([{delete:r}]),this.applyForCharacters([{insert:f,attributes:d}]),this.selection.setRange({index:a-l+h,length:0})}}}];function bN(e){return function(e){if(Array.isArray(e))return CN(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wN(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 _N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||wN(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 wN(e,t){if(e){if("string"==typeof e)return CN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CN(e,t):void 0}}function CN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SN(e){return(SN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var EN=Object.keys(uc).reduce((function(e,t){if("string"==typeof uc[t])e.push(uc[t]);else if("object"===SN(uc[t]))for(var n=0,r=Object.entries(uc[t]);n<r.length;n++){var o=_N(r[n],2)[1];"string"==typeof o?e.push(o):Array.isArray(o)&&e.push.apply(e,bN(o))}return e}),[]),xN=Object.keys(cc).map((function(e){return cc[e]}));function kN(e){e.plugins.undoManager.stopCapturing(),e.plugins.undoManager.captureRange()}function ON(e,t){var n=!this.disallowMarkDown;if(n&&Object.keys(this.editor.options).includes("markdown")&&(n=this.editor.options.markdown),this.editor.mode===ype&&(n=!1),n&&e&&t)if(" "===e){var r=this.getText().trim();if(!EN.some((function(e){return r.startsWith(e)})))return;var o=function(e){for(var t=!1,n=0,r=Object.entries(uc);n<r.length;n++){var o=_N(r[n],2),i=o[0],a=o[1];if("string"==typeof a&&a===e)t={type:i,markdown:a};else if("object"===SN(a))for(var s=0,l=Object.entries(a);s<l.length;s++){var c=_N(l[s],2),u=c[0],d=c[1];if("string"==typeof d&&e.startsWith(d+" ")||Array.isArray(d)&&d.some((function(t){return e.startsWith(t+" ")}))){(t={type:i,items:[u]}).markdown="string"==typeof d?d:d.find((function(t){return e.startsWith(t)}));break}}if(t)break}return t}(r);if(o){if(o.markdown&&"list"===o.type)if(0!==t.index-o.markdown.length-1)return;kN(this.editor),this.deleteText(0,o.markdown.length+1),delete o.markdown,this.parent.container.containerConvertBlots([this.parent],o)}}else if(xN.some((function(t){return t.startsWith(e)}))){var i=this.getText(t.index-2,1),a=i===e?i+e:e,s=t.index-a.length-1;if(s<=0)return;for(var l="";-1!==s&&!l.startsWith(a);)l=l?this.getText(s,1)+l:this.getText(s,1)+a,s--,l.startsWith(a)&&this.getText(s,1)===e&&(a=e+e);if(l.startsWith(a)&&l.endsWith(a)){var c=Object.keys(cc).find((function(e){return cc[e]===a}));c&&(kN(this.editor),this.deleteText(t.index-a.length,a.length),this.deleteText(s+1,a.length),this.formatText(s+1,l.length-2*a.length,c,!0),this.scroll.update(),this.selection.setRange({index:this.offset(this.scroll)+t.index-2*a.length,length:0}),this.selection.format(c,!1))}}}function TN(e){return(TN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AN(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=RN(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function PN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||RN(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 RN(e,t){if(e){if("string"==typeof e)return IN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?IN(e,t):void 0}}function IN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function MN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NN(e,t,n){return(NN="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=FN(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function DN(e,t){return(DN=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=FN(e);if(t){var o=FN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return LN(this,n)}}function LN(e,t){if(t&&("object"===TN(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return BN(e)}function BN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FN(e){return(FN=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var UN=function(e){!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}}),t&&DN(e,t)}(i,e);var t,n,r,o=jN(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=BN(t),a=function(e,n){if(!t.editor.plugins.mentionManager.session){var r=e.filter((function(e){return e.insert})),o=PN(t.selection.getRange({offsetBlot:BN(t)}),1)[0];if(1===r.length&&o){var i=r[0].insert,a=o.index>1?t.getText(o.index-2,1):null,s="\n"===t.getText(o.index,1)?t.getText(o.index,1):null;t.tryHandleTextChangeOnFormat(o,i),t.tryConvertMarkdown(i,o),"@"===i&&t.tryStartMention(o,a,s),">"===i&&t.tryConvertArrow(o,a)," "===i&&t.tryConvertLink(o.index-1),1===o.index&&e.ops[0].attributes&&e.ops[0].attributes.link&&t.formatText(0,1,"link",!1)}}},(r="onUserInsertText")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.isNotIndependent=!0,t}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=NN(FN(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.on("text-change",this.onUserInsertText)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=NN(FN(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.off("text-change",this.onUserInsertText)}},{key:"handleKeyDown",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!1,o=Object.keys(n),i=Object.values(n),a=AN(vN);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(!o.includes(s.hotkey)){var l=i.indexOf(s.hotkey),c=!1;if((0,Rn.ZP)(s.hotkey,e)?c=!0:s.altHotkey&&(Array.isArray(s.altHotkey)?s.altHotkey.some((function(t){return(0,Rn.ZP)(t,e)}))&&(c=!0):"string"==typeof s.altHotkey&&(0,Rn.ZP)(s.altHotkey,e)&&(c=!0)),c||-1!==l&&(0,Rn.ZP)(o[l],e)){r=!0,s.action.call(this,e);break}}}}catch(e){a.e(e)}finally{a.f()}return r}},{key:"handleAction",value:function(e){var t=!1,n=e.type,r=e.params,o=PN(this.scroll.selection.getRange({offsetBlot:this}),1)[0];if("format"===n){var i=r.style,a=r.value;this.formatText(o.index,o.length,i,a),t=!0}else if("clear-formatting"===e.type)this.clearFormat(o.index,o.length),t=!0;else if("delete"===e.type){if(0===o.length){if(o.index===this.length()-1)return!1;e.dontRestoreSelection(),e.handleByBrowser()}else this.deleteText(o.index,o.length);t=!0}return t}},{key:"tryConvertMarkdown",value:function(e,t){ON.call(this,e,t)}},{key:"tryConvertArrow",value:function(e,t){if("-"===t){var n=this.getFormat(e.index-1,1);this.deleteText(e.index-2,2),this.insertText(e.index-2,"→",n),this.scroll.selection.setRange({index:this.offset(this.scroll)+e.index-1,length:0})}}},{key:"tryConvertLink",value:function(e){if(!this.dontConvertLinks){for(var t="",n=e,r=this.getText(n-1,1);" "!==r&&"\n"!==r&&0!==n;)t=r+t,n--,r=this.getText(n-1,1);if(t){if(this.getFormat(e-t.length,1).link)return!0;var o=t.match(ul);if(o&&o.length){var i=t.indexOf(o[0]);0!==i&&(n+=i,t=o[0]);var a=-1!=t.search("http")?t:"http://"+t;return this.formatText(e-t.length,t.length,"link",a),!0}var s=t.match(dl);if(s&&s.length){var l=-1!=t.search("mailto:")?t:"mailto:"+t;return this.formatText(e-t.length,t.length,"link",l),!0}}return!1}}},{key:"tryStartMention",value:function(e,t,n){1!==e.index&&" "!==t&&"\n"!==t||" "!==n&&"\n"!==n&&n||this.editor.plugins.mentionManager.start(this,e)}},{key:"tryHandleTextChangeOnFormat",value:function(e,t){var n=PN(this.children.find(e.index,!1),1)[0];n&&n.onTextChange&&n.onTextChange(e,t,this)}}])&&MN(t.prototype,n),r&&MN(t,r),i}(fN);UN.tagName="p",UN.blotName="text-line",UN.defaultChild=fN.defaultChild,UN.allowedChildren=fN.allowedChildren,UN.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};fN.initMap(e,t,n)};const HN=UN;function VN(e){return(VN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qN(e,t){return(qN=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function GN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ZN(e);if(t){var o=ZN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return WN(this,n)}}function WN(e,t){if(t&&("object"===VN(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return YN(e)}function YN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZN(e){return(ZN=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var KN=function(e){!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}}),t&&qN(e,t)}(i,e);var t,n,r,o=GN(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=YN(t),a=function(e){t.textNode=e,t.props.onTextRef&&t.props.onTextRef(e)},(r="onTextRef")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.blot=t.createBlot(),t.state={showPlaceholder:!1},t}return t=i,(n=[{key:"createBlot",value:function(){var e=a().create("text-line");return e.setCharacters(this.props.characters),e}},{key:"componentDidMount",value:function(){var e=this.props.parent;e&&(e.appendChild(this.blot),e.hasTextLine=!0,this.textNode.appendChild(this.blot.domNode)),this.setState({showPlaceholder:!this.props.parent.props.focused&&this.blot.isEmpty()})}},{key:"componentDidUpdate",value:function(){this.state.showPlaceholder?!this.props.parent.props.focused&&this.blot.isEmpty()||this.setState({showPlaceholder:!1}):!this.props.parent.props.focused&&this.blot.isEmpty()&&this.setState({showPlaceholder:!0})}},{key:"render",value:function(e){var t=e.placeholder,n=e.align,r=this.state.showPlaceholder,o=["nimbus-text"];n&&o.push("text-align-"+n);var i=t&&r?(0,s.h)("div",{className:"nimbus-text-placeholder",contenteditable:"false"},t):null;return(0,s.h)("div",{className:o.join(" "),style:{position:"relative"},ref:this.onTextRef},i)}}])&&zN(t.prototype,n),r&&zN(t,r),i}(s.wA);function $N(e){return($N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function QN(){return(QN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function XN(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=eD(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function JN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||eD(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 eD(e,t){if(e){if("string"==typeof e)return tD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tD(e,t):void 0}}function tD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rD(e,t,n){return(rD="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=lD(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function oD(e,t){return(oD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function iD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lD(e);if(t){var o=lD(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return aD(this,n)}}function aD(e,t){if(t&&("object"===$N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sD(e)}function sD(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lD(e){return(lD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var cD=se([Ec,ZM,DM,cd,Ju,Pd,Nb,Eu,gu,Mu,bd,Vu,tu]),uD=["bold","italic","underline","strikethrough","link","background","color","comment"];function dD(e){var t=e.icon,n=e.setIcon,r=e.disabled,o=void 0!==r&&r,i=fl(t)?(0,s.h)("img",{src:t,style:{maxWidth:"24px",maxHeight:"24px"},alt:""}):t;return(0,s.h)("div",{contenteditable:"false",className:["uneditable-container","hintblock-icon"].join(" "),onClick:function(e){e.stopPropagation(),o||n(e)}},(0,s.h)("span",null,i))}var pD=function(e){!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}}),t&&oD(e,t)}(i,e);var t,n,r,o=iD(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var n,r,a;return t=o.call(this,e,{colorsConfig:["borderColor","lineColor"]}),n=sD(t),a=function(e){var n=e.text,r=JN(t.scroll.selection.getRange({offsetBlot:sD(t)}),1)[0],o=n.trim();if(fl(o))return t.editor.plugins.pasteManager.pasteUrlIntoText(t.getTextBlot(),r,o),!0;var i=(n=n.replace(/\r\n/g,"\n")).split("\n"),a=JN(t.scroll.selection.getRange(),1)[0];a.index+=n.length,a.length=0;var s=[{retain:r.index}];return r.length>0&&s.push({delete:r.length}),i.map((function(e,t){s.push({insert:e}),t!==i.length-1&&s.push({insert:{linebreak:"s"}})})),t.map.get("characters").applyDelta(s),t.scroll.selection.setRange(a),!0},(r="onPaste")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.selfColorManagement=!0,t.dontRemoveWithBackspace=!0,t.onStartBackspaceConvertToParagraph=!0,t.keepSuperCloneSelf=!0,t.domNode.classList.add("text-blot","hintblock"),t.addCanExecActions(["format","clear-formatting","delete","backspace"]),t.hotkeyReplace={enter:"shift+enter"},t}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=rD(lD(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.editor.on("grid-resize-end",this.renderContent)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=rD(lD(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.off("grid-resize-end",this.renderContent)}},{key:"contextMenu",get:function(){var e=rD(lD(i.prototype),"contextMenu",this);return Object.assign(e,Nd(this.editor)),e}},{key:"handleKeyDown",value:function(e){var t,n=!1,r=XN(this.getChildrenForAction());try{for(r.s();!(t=r.n()).done;){var o=t.value;o.handleKeyDown&&o.handleKeyDown(e,this.hotkeyReplace)&&(n=!0)}}catch(e){r.e(e)}finally{r.f()}return n}},{key:"icon",get:function(){return this.map.get("icon")||"🚩"}},{key:"setIcon",value:function(e){var t=this;this.editor.mode!==mpe&&"function"==typeof this.blotConfig.setIcon&&this.blotConfig.setIcon(this.id,e.target).then((function(e){e.icon&&t.map.set("icon",e.icon)}))}},{key:"getColor",value:function(){var e=this.map.get("color");return e&&"transparent"!==e?e:"grey"}},{key:"getAllowedStyles",value:function(){return uD}},{key:"render",value:function(){rD(lD(i.prototype),"render",this).call(this),this.domNode.setAttribute("data-block-background",this.getColor())}},{key:"renderContent",value:function(){var e=this.editor.plugins.i18n,t=this.props.maxAvailableWidth||this.domNode.offsetWidth,n=(!t||t>=300)&&e.get("embedded_menu.hint_placeholder"),r={align:this.align};return(0,s.h)(s.HY,null,(0,s.h)(dD,{icon:this.icon,setIcon:this.setIcon.bind(this),disabled:Boolean(this.props.blotLocked)}),(0,s.h)(KN,QN({parent:this,characters:this.map.get("characters"),placeholder:n},r)))}},{key:"getBlotInsertParams",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=(e=rD(lD(i.prototype),"getBlotInsertParams",this)).call.apply(e,[this].concat(n));return(0,fe.Ee)(o,{textLineType:this.constructor.blotName,initParams:{icon:this.icon}})}},{key:"toHTML",value:function(e){var t,n=this,r="",o=XN(this.domNode.attributes);try{for(o.s();!(t=o.n()).done;){var i=t.value;i.name.startsWith("data-")&&(r+=" "+i.name+'="'+i.value+'"')}}catch(e){o.e(e)}finally{o.f()}var a="";e.options.toEmail&&(a=" background-color: rgba(96,125,139,.2); padding: 5px 10px 5px 10px; margin: 5px 0;");var s=fl(this.icon)?'<img src="'.concat(this.icon,'" style="max-width: 24px; max-height: 24px" alt="" />'):this.icon,l='<div class="uneditable-container hintblock-icon"><span>'.concat(s,"</span></div>"),c=this.children.map((function(t){return'<div className="nimbus-text text-align-'.concat(n.map.get("align"),'">').concat(t.toHTML?t.toHTML(e):"","</div>")})).join("");return'<div class="'.concat(this.domNode.className,'" ').concat(r,' style="').concat(a,'">').concat(l).concat(c,"</div>")}},{key:"getCloneParams",value:function(){var e,t=(null===(e=rD(lD(i.prototype),"getCloneParams",this))||void 0===e?void 0:e.call(this))||{};return t.icon=this.icon,t}},{key:"getMarkdown",value:function(){var e;return Sl({ops:(null===(e=this.map.get("characters"))||void 0===e?void 0:e.toDelta())||[]}).trim()+"\n\n"}}])&&nD(t.prototype,n),r&&nD(t,r),i}(cD(Vf));pD.blotName="hint",pD.tagName="DIV",pD.isTextBlot=!0,pD.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type",pD.blotName),n.icon&&e.set("icon",n.icon),HN.initMap(e,t,n),DM.initMap(e,t,n),Ju.initMap(e,t,n),cd.initMap(e,t,n),ZM.initMap(e,t,n)},pD.allowedChildren=[HN];const fD=pD;function hD(e){return(hD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yD(e,t,n){return(yD="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=wD(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function vD(e,t){return(vD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wD(e);if(t){var o=wD(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _D(this,n)}}function _D(e,t){if(t&&("object"===hD(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 wD(e){return(wD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function CD(e,t){var n=(0,H._z)(t.domNode).top,r=e.pageY-n,o=(0,H._z)(t.children.tail.domNode),i=(0,H._z)(t.children.head.domNode).top-n,a=o.top-n+o.height;return r<i?{checkChild:t.children.head,position:"top"}:r>a?{checkChild:t.children.tail,position:"bottom"}:null}function SD(e){if(e.target===this.domNode&&this.children.length){var t=CD(e,this);t&&t instanceof Object&&(this.mouseDownPosition=t.position)}}function ED(e){if(this.mouseDownPosition)if(e.target===this.domNode){var t,n,r=CD(e,this);if(r&&r instanceof Object&&this.mouseDownPosition===r.position){if(t=r.checkChild,n=r.position,this.mouseDownPosition=!1,(!(t instanceof pc&&"syntax"!==t.constructor.blotName)||t instanceof fD||"top"!==n&&t.length()-1!=0)&&!(t instanceof Tf&&"top"===n||t instanceof Tf&&"bottom"===n&&t.children.tail.length()-1==0)){var o={focus:{index:0}};"top"===n&&(o.before=t.id),this.addBlot("paragraph",o),this.editor.scroll.selection.focus()}}else this.mouseDownPosition=!1}else this.mouseDownPosition=!1}const xD=function(e){return function(e){!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}}),t&&vD(e,t)}(i,e);var t,n,r,o=bD(i);function i(){var e;mD(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).clickParagraphListenerSet=!1,e.mouseDownPosition=!1,n[1]&&n[1].editor&&e.setClickParagraphListener(n[1].editor),e}return t=i,(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=yD(wD(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.editor&&this.setClickParagraphListener()}},{key:"setClickParagraphListener",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.clickParagraphListenerSet||(this.clickParagraphListenerSet=!0,(e=e||this.editor).mode===e.constructor.MODE_EDIT&&e.options.render&&(this.onClickParagraphMouseDown||(this.onClickParagraphMouseDown=SD.bind(this)),this.onDocumentClickParagraphMouseUp||(this.onDocumentClickParagraphMouseUp=ED.bind(this)),this.domNode.addEventListener("mousedown",this.onClickParagraphMouseDown,!1),document.body.addEventListener("mouseup",this.onDocumentClickParagraphMouseUp,!1)))}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=yD(wD(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.options.render&&(this.domNode.removeEventListener("mousedown",this.onClickParagraphMouseDown,!1),document.body.removeEventListener("mouseup",this.onDocumentClickParagraphMouseUp,!1))}}])&&gD(t.prototype,n),r&&gD(t,r),i}(e)};function kD(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return OD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OD(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function OD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var PD=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipContainers:[]};TD(this,e),this.scroll=t,this.options=n}var t,n,r;return t=e,(n=[{key:"getContainerContext",value:function(e){var t=e.container,n=t.constructor.blotName;if(this.options.skipContainers.includes(n))return!1;for(var r={containerId:t.id,containerType:n},o=r;t.container!==this.scroll;)n=(t=t.container).constructor.blotName,this.options.skipContainers.includes(n)||(o.containerParent={containerId:t.id,containerType:n},o=o.containerParent);return r}},{key:"processBlot",value:function(e,t){e.container!==this.scroll&&(t.context=this.getContainerContext(e)),t.context||delete t.context}},{key:"normalizeOps",value:function(e){var t=this,n=e.reduce((function(e,n){if(n.context){var r=e[e.length-1];if(r&&t.findTopLevelContainerType(n)===r.type&&t.findTopLevelContainerId(n)===r.id){var o=t.findOpContainerInLastOp(n.context.containerId,r);o?o.items.push(n):t.addOpToLastContainerOpItems(n,r)}else t.addContainerOp(n,e)}else e.push(n);return e}),[]);return this.clearOpsContext(n),n}},{key:"addContainerOp",value:function(e,t){for(var n=e;n.context;)n={type:n.context.containerType,items:[n],id:n.context.containerId,context:n.context.containerParent||null};t.push(n)}},{key:"addOpToLastContainerOpItems",value:function(e,t){for(var n=e,r=!1;n.context.containerType!==t.type;){n={type:n.context.containerType,items:[n],id:n.context.containerId,context:n.context.containerParent};var o=this.findOpContainerInLastOp(n.context.containerId,t);o&&(r=!0,o.items.push(n))}r||t.items.push(n)}},{key:"findOpContainerInLastOp",value:function(e,t){var n=!1;if(!t.items)return!1;var r,o=kD(t.items);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(n=i.id===e?i:this.findOpContainerInLastOp(e,i))break}}catch(e){o.e(e)}finally{o.f()}return n}},{key:"findTopLevelContainerType",value:function(e){for(var t=e.context,n=t.containerType;t.containerParent;)(t=t.containerParent)&&(n=t.containerType);return n}},{key:"findTopLevelContainerId",value:function(e){for(var t=e.context,n=t.containerId;t.containerParent;)(t=t.containerParent)&&(n=t.containerId);return n}},{key:"clearOpsContext",value:function(e){var t,n=kD(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.hasOwnProperty("context")&&delete r.context,r.hasOwnProperty("id")&&delete r.id,r.items&&this.clearOpsContext(r.items)}}catch(e){n.e(e)}finally{n.f()}}}])&&AD(t.prototype,n),r&&AD(t,r),e}();function RD(e){return(RD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ID(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function MD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ID(Object(n),!0).forEach((function(t){GD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ID(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ND(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=jD(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function DD(e){return function(e){if(Array.isArray(e))return LD(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jD(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 jD(e,t){if(e){if("string"==typeof e)return LD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?LD(e,t):void 0}}function LD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FD(e,t,n){return(FD="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qD(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function UD(e,t){return(UD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function HD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qD(e);if(t){var o=qD(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VD(this,n)}}function VD(e,t){if(t&&("object"===RD(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zD(e)}function zD(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e){return(qD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function GD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WD=function(e){!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}}),t&&UD(e,t)}(i,e);var t,n,r,o=HD(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),GD(zD(t=o.call(this,e)),"updatePlaceholderState",(function(){t.isEmpty()?t.domNode.classList.add("show-placeholder"):t.domNode.classList.contains("show-placeholder")&&t.domNode.classList.remove("show-placeholder")})),t.isCollapsibleContainerTextLine=!0,t.addCanExecActions(DD(pc.canExecActions)),t.hasChildrenContainer=!0,t}return t=i,r=[{key:"convertBlots",value:function(e,t,n){var r=n.params,o=n.container,i=e.map((function(e){var t=o.editor.findById(e);return t||console.error("Toggle.convertBlots could not find blot with id "+e),t}));i.every((function(e){return ie(e,(function(e){return e.isCollapsibleContainer}))}))||(i=i.filter((function(e){return!ie(e,(function(e){return e.isCollapsibleContainer}))}))),i.every((function(e){return e.container===o}))||o!==o.scroll&&(o=o.container);var a,s=ND(i);try{var l=function(){var t=a.value;if(t.constructor.blotName.includes("toggle")||"step"===t.constructor.blotName){var n=t.map.toJSON().children;o.addBlot(r.type,{after:t.id,focus:{index:0},children:n,collapsed:t.isCollapsed(),delta:Ci(t.delta())}),o.removeChildById(t.id),e=e.filter((function(e){return t.id!==e}))}};for(s.s();!(a=s.n()).done;)l()}catch(e){s.e(e)}finally{s.f()}if(e.length){var c={collapsed:!1};return r.initParams=r.initParams?MD(MD({},r.initParams),c):c,pf.convertBlots(e,t,{params:r,container:o})}return!0}},{key:"createBlot",value:function(e){return a().create("toggleWrapper")}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.set("type","toggle"),e.set("collapsed",!n.hasOwnProperty("collapsed")||n.collapsed),!e.has("children")){var r=new t.types.Array;Array.isArray(n.children)&&r.push(n.children),e.set("children",r)}if(Array.isArray(n.items)){var o,i=ND(n.items);try{for(i.s();!(o=i.n()).done;){var s=o.value,l=s.type;"textLine"===l&&(l=s.textLineType||"paragraph");var c=t.createMap(),u=Object.assign({type:l},s.initParams?s.initParams:s);a().query(l).initMap(c,t,u),e.get("children").push([c.get("id")])}}catch(e){i.e(e)}finally{i.f()}}if(e.has("characters"))throw new Error("Toggle's map already has characters, skip initMap");e.set("characters",new t.types.Text);var d=e.get("characters");n.delta?d.applyDelta(n.delta.ops):d.insert(0,"\n")}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=FD(qD(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.getTitlePlaceholder){var o=this.getTitlePlaceholder();this.domNode.setAttribute("data-placeholder",o),this.updatePlaceholderState(),this.editor.on("SCROLL_UPDATE",this.updatePlaceholderState)}this.render()}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=FD(qD(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.off("SCROLL_UPDATE",this.updatePlaceholderState)}},{key:"getWrapper",value:function(){return this.parent}},{key:"isCollapsed",value:function(){return Boolean(this.map.get("collapsed"))}},{key:"setHiddenExpanded",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setProps({isHiddenExpanded:e})}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left;return{left:t-=32,top:e.top}}},{key:"onRemoveBlot",value:function(){if(!this.isCollapsed()&&!this.content.descendants((function(e){return e.isSelectable})).every((function(e){return e.props.selected}))){var e,t=this.content.containerChildren.toArray(),n=this.container.getChildIndex(this.id),r=ND(t);try{for(r.s();!(e=r.n()).done;){var o=e.value;this.container.moveChild(o,n),n++}}catch(e){r.e(e)}finally{r.f()}}this.container.removeChildById(this.id)}},{key:"onConvertBlot",value:function(){this.isCollapsed()&&this.map.set("collapsed",!1)}},{key:"textLineAddNextBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e;return t=t||"paragraph",this.isCollapsed()?(n.after=this.id,this.container.addBlot(this.constructor.blotName,n)):!!this.content&&(n.before=this.content.children.head.id,this.content.addBlot(t,n))}},{key:"textLineOnEnterKey",value:function(e){return this.isCollapsed()&&this.isEmpty()?(e.preventDefault(),this.container.addBlot("paragraph",{before:this.id,focus:{index:0}}),this.container.removeChildById(this.id),!0):FD(qD(i.prototype),"textLineOnEnterKey",this).call(this,e)}},{key:"textLineOnTabKey",value:function(e){return!0}},{key:"textLineOnShiftTabKey",value:function(e){return!0}},{key:"textLineOnBackspace",value:function(e){var t=e.getBlotRange(this);if(0===t.index&&0===t.length)return e.dontRestoreSelection(),this.container.addBlot("paragraph",{before:this.id,delta:this.delta(),focus:{index:0}}),this.remove(),!0}},{key:"textLineOnDblClick",value:function(e,t){if(this.dblClick)return this.dblClick=void 0,!1;e.preventDefault();var n=t,r=!this.isCollapsed()&&this.content,o=r?this.content:this.container,a=r?this.content.children.head:n.getWrapper().next;if(a){var s=a.constructor.blotName===i.wrapper?this.constructor.blotName:"paragraph",l={focus:{index:0}};return r?l.before=a.id:l.after=n.id,o.addBlot(s,l),this.dblClick=!0,!0}}},{key:"renderContent",value:function(){this.content||(this.content=a().create("toggleContent"),this.content.map=this.map,this.getWrapper().appendChild(this.content)),this.content.render()}},{key:"render",value:function(){FD(qD(i.prototype),"render",this).call(this);var e=!this.isCollapsed()||this.editor.mode===gpe;this.props.isHiddenExpanded?(e=!0,this.getWrapper().domNode.classList.add("hidden-content")):this.getWrapper().domNode.classList.contains("hidden-content")&&this.getWrapper().domNode.classList.remove("hidden-content"),this.getWrapper().render(),e?this.renderContent():this.content&&(this.content.remove(),this.content=null)}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{collapsed:this.isCollapsed(),delta:this.delta({forCopy:!0}),items:this.getChildrenOps()}),e.get("id")}},{key:"getBlotInsertParams",value:function(e,t){var n=1===this.scroll.selectedBlocks.length,r=n&&!this.props.selected?e:{index:0,length:this.length()-1},o=FD(qD(i.prototype),"getBlotInsertParams",this).call(this,r,t);return n&&!this.props.selected||(o.type=this.constructor.blotName,o.initParams.collapsed=this.isCollapsed(),o.initParams.items=this.getChildrenOps()),o}},{key:"remove",value:function(){var e;this.onRemoveBlot();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=FD(qD(i.prototype),"remove",this)).call.apply(e,[this].concat(n))}},{key:"getChildrenOps",value:function(){if(this.setHiddenExpanded(),!this.content)return[];var e,t=new PD(this.content),n=[],r=ND(this.content.descendants((function(e){return e.isSelectable&&!e.isSelectableBlotChild})));try{for(r.s();!(e=r.n()).done;){var o=e.value;if(o.getBlotInsertParams){var i=o.getBlotInsertParams({index:0,length:o.length()-1},t);Array.isArray(i)?n.push.apply(n,DD(i)):n.push(i)}}}catch(e){r.e(e)}finally{r.f()}return this.setHiddenExpanded(!1),t.normalizeOps(n)}},{key:"contextMenu",get:function(){return Object.assign({},FD(qD(i.prototype),"contextMenu",this),Nd(this.editor))}},{key:"toHTML",value:function(e){return'<div class="'+this.domNode.className+'">'+FD(qD(i.prototype),"toHTML",this).call(this,e)+"</div>"}},{key:"getMarkdown",value:function(){var e,t,n=Al({initParams:{delta:{ops:(null===(e=this.map)||void 0===e||null===(t=e.get("characters"))||void 0===t?void 0:t.toDelta())||[]}},type:this.map.get("type")});return this.getChildrenOps().forEach((function(e){var t=Al(e);t.trim()&&(n+=t)})),n.trim()?n.trim()+"\n\n":""}},{key:"getDraggingNode",value:function(){return this.getWrapper().domNode.cloneNode(!0)}}])&&BD(t.prototype,n),r&&BD(t,r),i}(se([Ec,Pd,bd,Vu,Eu,tu])(pc));WD.blotName="toggle",WD.tagName="DIV",WD.className="nimbus-toggle-header",WD.wrapper="toggleWrapper";const YD=WD;function ZD(e){return(ZD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function KD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QD(e,t,n){return(QD="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=tj(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function XD(e,t){return(XD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function JD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=tj(e);if(t){var o=tj(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ej(this,n)}}function ej(e,t){if(t&&("object"===ZD(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 tj(e){return(tj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nj(e){if(e){var t=re(e);if(t&&(t=te(t))&&(t.getWrappedBlot&&!t.ignoreWrappedBlotOnSeparableByClick&&(t=t.getWrappedBlot()),t instanceof mv&&(t=t.embedBlot),t.isSeparableByClickApplicable))return t}}function rj(e){var t=this;if(e.target===this.domNode||"editor-list"===e.target.classList[0]){var n={x:e.clientX,y:e.clientY},r=(0,H.Fp)(n,"y",-1,e.clientY-100,(function(e){return e!==t.domNode})),o=nj(r),i="after";if(o||(o=nj(r=(0,H.Fp)(n,"y",1,e.clientY+100,(function(e){return e!==t.domNode}))),i="before"),o){var a,s;if(e.preventDefault(),o instanceof Tf)o.domNode.childNodes.forEach((function(t){var r=t,o=(0,H.Fp)(n,"y",-1,e.clientY-100,(function(e){return e===r}));null!==o&&(s=o)})),s&&(o=nj(s))&&(a=!0);!a&&o instanceof dp&&(o=o.parent),a||o instanceof YD?o.textLineOnDblClick(e,o):"after"===i?this.addBlot("paragraph",{after:o.id,focus:{index:0}}):"before"===i&&this.addBlot("paragraph",{before:o.id,focus:{index:0}})}}}const oj=function(e){return function(e){!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}}),t&&XD(e,t)}(i,e);var t,n,r,o=JD(i);function i(){var e;KD(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).isSeparableByClick=!0,e.separableByClickListenerSet=!1,n[1]&&n[1].editor&&e.setSeparableByClickListener(n[1].editor),e}return t=i,(n=[{key:"attach",value:function(){QD(tj(i.prototype),"attach",this).call(this),this.editor&&this.setSeparableByClickListener()}},{key:"setSeparableByClickListener",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.separableByClickListenerSet||(this.separableByClickListenerSet=!0,(e=e||this.editor).mode===e.constructor.MODE_EDIT&&e.options.render&&(this.onSeparableByClickDblClick||(this.onSeparableByClickDblClick=rj.bind(this)),this.domNode.addEventListener("dblclick",this.onSeparableByClickDblClick,!1)))}},{key:"detach",value:function(){QD(tj(i.prototype),"detach",this).call(this),this.editor.options.render&&this.domNode.removeEventListener("dblclick",this.onSeparableByClickDblClick,!1)}}])&&$D(t.prototype,n),r&&$D(t,r),i}(e)};var ij=n(27266),aj=n.n(ij);function sj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cj={light:rt,dark:ot},uj=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),lj(this,"updateCurrentTime",(function(){t.fileInterface.setAudioPlayerState({currentProgress:t.getCurrentTime()})})),lj(this,"onThemeChange",(function(e){var n=t.blot.editor.plugins.editorStyle.getTheme();"undefined"!==n&&void 0!==n||(n="light"),t.theme=n,t.updateWaveColor()})),this.WaveSurfer=n(72863),this.theme="light",this.themeColors={light:{linGrad1:bt.linGrad1,linGrad2:bt.linGrad2,progressColor:bt.progressColor,cursorColor:"transparent"},dark:{linGrad1:bt.linGrad1dark,linGrad2:bt.linGrad2,progressColor:bt.progressColor,cursorColor:"transparent"}},this.wfTimer=void 0,this.audioFile=null,this.global_id=null,this.uid=null,this.domNode=null,this.url=null,this.blot=null,this.volume=.5,this.backend="MediaElement"}var t,r,o;return t=e,(r=[{key:"initPlayer",value:function(e){this.global_id=e.global_id,this.uid=e.blot.id,this.domNode=e.domNode,this.theme=e.theme,this.url=e.url,this.blot=e.blot,this.fileInterface=e.fileInterface,this.blot.editor.emitter.on("set-theme",this.onThemeChange),this.fileInterface.onInitPlayer(),this.create()}},{key:"create",value:function(){this.audioFile=this.WaveSurfer.create({container:"#wf-audio-"+this.uid,waveColor:this.getLinGrad(this.theme),progressColor:this.getProgressColor(),cursorColor:this.themeColors[this.theme].cursorColor,barWidth:3,height:50,backend:this.backend}),this.audioFile.audio_id=this.uid,this.register()}},{key:"register",value:function(){var e=this;this.audioFile.on("ready",(function(){return e.onReady()})),this.audioFile.on("waveform-ready",(function(){return e.onWaveReady()})),this.audioFile.on("finish",(function(){return e.onFinish()})),this.audioFile.on("play",(function(){return e.onPlay()})),this.audioFile.on("error",(function(t){return e.onError(t)})),this.audioFile.on("pause",(function(){return e.onPause()})),this.audioFile.on("seek",(function(){return e.onSeek()})),this.audioFile.on("finish",(function(){return e.onFinish()})),this.loadFile(this.url)}},{key:"loadFile",value:function(e){this.audioFile.load(e)}},{key:"destroy",value:function(){try{this.audioFile.destroy()}catch(e){console.log("e",e)}delete this.blot.props.filePlaying,delete this.blot.props.audioPlayer,delete this.blot.props.isMuted}},{key:"isPlaying",value:function(){return this.audioFile.isPlaying()}},{key:"play",value:function(){this.blot.domNode.querySelector("#wf-audio-"+this.blot.id)?this.audioFile.play():this.audioFile=void 0}},{key:"pause",value:function(){this.audioFile.pause()}},{key:"onWaveReady",value:function(){"MediaElement"===this.backend&&(this.fileInterface.state.initPlayer&&this.audioDrawBuffer(),this.play())}},{key:"onReady",value:function(){"WebAudio"===this.backend&&(this.fileInterface.state.initPlayer&&this.audioDrawBuffer(),this.play())}},{key:"onError",value:function(e){"WebAudio"===this.backend?(this.backend="MediaElement",this.create()):this.blot.setProps({fileError:!0})}},{key:"onPlay",value:function(){if(this.blot.editor.scroll.activeAudioBlotId){var e=this.blot.editor.scroll.activeAudioBlotId;if(this.blot.domNode.id!==e){var t=this.getBlotById(this.blot.editor.scroll,e),n=t&&t.caption&&t.caption.embedBlot;n&&n.props.audioPlayer&&n.props.audioPlayer.pause(),this.blot.editor.scroll.activeAudioBlotId=this.blot.domNode.id}}else this.blot.editor.scroll.activeAudioBlotId=this.blot.domNode.id;this.blot.setProps({filePlaying:!0}),this.updateCurrentTime(),this.startTimer()}},{key:"onPause",value:function(){var e=this.blot.props.renaming;this.blot.setProps({filePlaying:!1}),e||this.updateCurrentTime(),this.stopTimer()}},{key:"onSeek",value:function(){var e=this.formatTime(this.audioFile.getCurrentTime());this.fileInterface.setAudioPlayerState({currentProgress:e}),this.audioFile.isPlaying()?this.audioFile.play():this.stopTimer()}},{key:"onFinish",value:function(){this.blot.setProps({filePlaying:!1}),this.updateCurrentTime(),this.stopTimer()}},{key:"startTimer",value:function(){this.wfTimer||(this.wfTimer=setInterval(this.updateCurrentTime,1e3))}},{key:"stopTimer",value:function(){this.wfTimer&&(clearInterval(this.wfTimer),this.wfTimer=void 0)}},{key:"getLinGrad",value:function(e){"brand-dark-ios"===e?e=this.theme="dark":"undefined"!==e&&void 0!==e||(e=this.theme="light");var t=document.createElement("canvas").getContext("2d").createLinearGradient(0,64,0,200);return t.addColorStop(.5,this.themeColors[e].linGrad1),t}},{key:"audioDrawBuffer",value:function(){this.fileInterface.onAudioDrawBuffer(this.getDuration()),this.drawBuffer(),this.updateCurrentTime(),this.audioFile.setVolume(this.volume)}},{key:"drawBuffer",value:function(){this.audioFile.drawBuffer()}},{key:"getCurrentTime",value:function(){var e=0;try{e=this.audioFile&&this.audioFile.getCurrentTime&&this.audioFile.getCurrentTime()}catch(e){}return this.formatTime(e)}},{key:"getDuration",value:function(){var e=this.audioFile&&this.audioFile.getDuration()||0;return this.formatTime(e)}},{key:"updateVolume",value:function(e){this.volume=e,this.audioFile.setVolume(this.volume)}},{key:"updateMute",value:function(e){this.audioFile.setMute(e)}},{key:"updateWaveColor",value:function(){var e=this.getLinGrad(this.theme);try{this.audioFile.setWaveColor(e)}catch(e){this.updateWaveColor()}this.setProgressColor()}},{key:"setProgressColor",value:function(){var e=this.getProgressColor();this.audioFile&&this.audioFile.setProgressColor(e)}},{key:"getProgressColor",value:function(){var e=this.blot&&this.blot.getSyncedInterfaceState&&gs(this.blot.getSyncedInterfaceState.audioPlayerColor),t=this.themeColors[this.theme].progressColor;return e&&cj[this.theme]&&cj[this.theme][e]&&(t=cj[this.theme][e]),"light"===this.theme&&"white"===e&&(t=this.themeColors[this.theme].progressColor),t}},{key:"formatTime",value:function(e){var t=Math.floor(e/60)||0,n=Math.floor(e-60*t)||0;return t+":"+(n<10?"0":"")+n}},{key:"getBlotById",value:function(e,t){for(var n=e.children.head;n;){if("grid"===n.constructor.blotName)for(var r=n.children.head;r;){for(var o=r.children.head;o;){if(o.id===t)return o;o=o.next}r=r.next}if(n.id===t)return n;n=n.next}return null}}])&&sj(t.prototype,r),o&&sj(t,o),e}();function dj(e){return(dj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pj(e,t){return(pj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fj(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gj(e);if(t){var o=gj(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return hj(this,n)}}function hj(e,t){if(t&&("object"===dj(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return mj(e)}function mj(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gj(e){return(gj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bj(e,t,n){return t&&vj(e.prototype,t),n&&vj(e,n),e}function _j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wj=(0,Rn.ZP)("esc"),Cj=function(){function e(t){var n=this;yj(this,e),_j(this,"onBodyKeyDown",(function(e){wj(e)&&(n.detach(),n.anchorBlot&&n.anchorBlot.focusableFocus(),n.scroll.selection.setRange(n.rangeBefore))})),_j(this,"chooseScreenCam",(function(e){if(n.lockedButton)return!1;n.chosenOption="screencam",n.render()})),_j(this,"chooseScreenOnly",(function(e){if(n.lockedButton)return!1;n.chosenOption="screenonly",n.render()})),_j(this,"chooseCamOnly",(function(e){if(n.lockedButton)return!1;n.chosenOption="camonly",n.render()})),_j(this,"cancelChoose",(function(e){if(n.lockedButton)return!1;n.detach(),n.anchorBlot&&n.anchorBlot.focusableFocus(),n.scroll.selection.setRange(n.rangeBefore)})),_j(this,"startRecording",(function(e){if(n.lockedButton)return!1;if(n.lockedButton=!0,n.anchorBlot){if("\n"!==n.anchorBlot.map.get("characters").toDelta()[0].insert){var t=n.scroll.addBlot("paragraph",{after:n.anchorBlot.id}).id;n.anchorBlot=n.editor.findById(t)}n.anchorBlot.focusableFocus()}var r=n.editor.exec("convert-blot",{type:"file",mediaRecord:!0}).action.results[0].addedIds[0],o=n.editor.findById(r),i=o.props,a=i.wrtc,s=i.mediaComponent;s.chosenOption=n.chosenOption,"screencam"===n.chosenOption?a.initMediaCam(o,n.component.chosenMicro).then((function(){o.props.wrtc=a.wrtc,s.onWrtcInited()})):"screenonly"===n.chosenOption?a.initMedia(o,n.component.chosenMicro).then((function(){o.props.wrtc=a.wrtc,s.onWrtcInited()})):"camonly"===n.chosenOption&&a.initCamera(o,n.component.chosenMicro).then((function(){o.props.wrtc=a.wrtc,s.onWrtcInited()})),n.detach()})),_j(this,"onRef",(function(e){n.component=e})),this.editor=t,this.scroll=t.scroll,this.anchorBlot=this.scroll.selectedBlocks&&1===this.scroll.selectedBlocks.length&&"paragraph"===this.scroll.selectedBlocks[0].getBlotName()?this.scroll.selectedBlocks[0]:null,this.plugin=t.plugins.webRTCPlugin;var r=this.editor.plugins.editorStyle.getTheme();this.domNode=document.createElement("div"),this.domNode.id="mediaRecordPopup",this.domNode.classList.add("media-record-popup"),this.domNode.classList.add("theme-"+r),this.mediaRecordComponent=null}return bj(e,[{key:"attach",value:function(){this.rangeBefore=this.scroll.selection.getRange()[0],document.body.appendChild(this.domNode),this.render(),document.body.addEventListener("keydown",this.onBodyKeyDown)}},{key:"detach",value:function(){document.body.removeEventListener("keydown",this.onBodyKeyDown),this.domNode.remove()}},{key:"render",value:function(){(0,s.sY)((0,s.h)(pe.Pj,null,(0,s.h)(Sj,{popup:this,ref:this.onRef})),this.domNode)}}]),e}(),Sj=function(e){!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}}),t&&pj(e,t)}(n,e);var t=fj(n);function n(e){var r;return yj(this,n),_j(mj(r=t.call(this,e)),"chooseMicro",(function(){if(r.popup.lockedButton)return!1;r.setState((function(e){var t={microChecked:!1};return e.microChecked||void 0===e.microChecked||(t.microChecked=!0),t}))})),r.popup=e.popup,r.editor=r.popup.editor,r}return bj(n,[{key:"chosenMicro",get:function(){return void 0===this.state.microChecked||this.state.microChecked}},{key:"render",value:function(){var e=this.editor.plugins.i18n,t=(0,s.h)(ct.LEv,null),n=(0,s.h)(ct.Y0K,null),r=(0,s.h)(ct.vw4,null),o=null,i=e.get("file.wrtc.enable_micro");"screencam"===this.popup.chosenOption?t=(0,s.h)(ct.RGc,null):"screenonly"===this.popup.chosenOption?n=(0,s.h)(ct.R4$,null):"camonly"===this.popup.chosenOption&&(r=(0,s.h)(ct.ShA,null));var a="disabled";if(this.popup.chosenOption){a=null;var l=!1;this.popup.lockedButton&&(l=!0),o=(0,s.h)("div",{className:"choose-micro"},(0,s.h)("input",{type:"checkbox",disabled:l,checked:this.chosenMicro,id:"choose-micro",onClick:this.chooseMicro}),(0,s.h)("label",{htmlFor:"choose-micro"},i))}return(0,s.h)("div",{className:"choose-media-content"},(0,s.h)("div",{className:"select"},e.get("file.wrtc.select_opt")),(0,s.h)("div",{className:"select-buttons"},(0,s.h)("div",{className:"select-icons",onClick:this.popup.chooseScreenCam},(0,s.h)("div",null,t),(0,s.h)("div",{className:"labels"},e.get("file.wrtc.screencam"))),(0,s.h)("div",{className:"select-icons",onClick:this.popup.chooseScreenOnly},(0,s.h)("div",null,n),(0,s.h)("div",{className:"labels"},e.get("file.wrtc.screenonly"))),(0,s.h)("div",{className:"select-icons",onClick:this.popup.chooseCamOnly},(0,s.h)("div",null,r),(0,s.h)("div",{className:"labels"},e.get("file.wrtc.camonly")))),o,(0,s.h)("div",{className:"choose-buttons"},(0,s.h)("button",{className:"choose-button",onClick:this.popup.cancelChoose},e.get("file.wrtc.cancel")),(0,s.h)("button",{className:"choose-button",disabled:a,onMouseDown:this.popup.startRecording},e.get("file.wrtc.startRecording"))))}}]),n}(s.wA),Ej=function(){function e(){yj(this,e)}return bj(e,null,[{key:"prepareMediaRecord",value:function(e){new Cj(e).attach()}},{key:"onAttach",value:function(e){this.editor=e.editor,this.scroll=this.editor.scroll,e.map.get("audioRecord")?e.audioRecord=!0:e.map.get("mediaRecord")&&(e.mediaRecord=!0),(e.audioRecord||e.mediaRecord)&&(e.domNode.addEventListener("uploadRecordEvent",e.uploadRecord),e.dontProcessDragAndDrop=!0,e.parent.disallowSideDrop=!0),e.audioRecord?(e.props.wrtc=e.editor.plugins.webRTCPlugin,e.props.wrtc.initAudio(e),e.props.wrtc=e.props.wrtc.wrtc):e.mediaRecord&&(e.props.wrtc=e.editor.plugins.webRTCPlugin)}},{key:"onDetach",value:function(e){e.props.mediaRecordPopup&&e.props.mediaRecordPopup.detach(),(e.audioRecord||e.mediaRecord)&&(!e.isChooseMedia&&e.props.wrtc&&(e.audioRecord?e.props.wrtc&&e.props.wrtc.stopAudioRecord():e.mediaRecord&&(e.props.wrtc.additionalWrtc&&e.props.wrtc.additionalWrtc.stopMediaRecord(),e.props.wrtc&&e.props.wrtc.stopMediaRecord(),e.mediaComponent&&e.mediaComponent.destroyComponent()),e.audioRecord=void 0,e.mediaRecord=void 0),e.domNode.removeEventListener("uploadRecordEvent",e.uploadRecord)),e.scroll.selection.update()}},{key:"onKeyDown",value:function(e,t){e.mediaRecord&&!0!==e.props.mediaComponent.state.countdownDisbaled&&wj(t)&&e.remove()}},{key:"uploadRecord",value:function(e,t){var n=t.detail;e.audioRecord?(e.audioRecord=!1,e.map.delete("audioRecord"),e.map.delete("recordUserId")):e.mediaRecord&&(e.mediaRecord=!1,e.map.delete("mediaRecord"),e.map.delete("recordUserId"),n.role="streaming_video"),e.domNode.removeEventListener("uploadRecordEvent",e.uploadRecord);var r=e.editor.plugins.attachmentManager.beforeSaveFile(n),o=e.editor.plugins.attachmentManager.saveFile(r,{blotName:e.constructor.blotName,blotId:e.id});e.setProps({file:o.file,uploading:!0,progress:0,saveFileTask:null,setAttachmentError:null,recordUploading:!0},!0),e.processTask(o,o.run())}}]),e}();function xj(){return(xj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function kj(e,t){return function(e){var t=[];for(var n in e){var r=Object.assign({},e[n]);r.id=n,t.push(r)}return t.sort((function(e,t){return e.index-t.index})),t}(e).map((function(e){var n={};e.action&&(n.onClick=t.onClick.bind(t.thisArg,e));var r=e.icon?e.icon:null;if(e.submenu){var o=kj(e.submenu,t),i={};if(e.submenuOptions){var a=e.submenuOptions;a.anchorOptions&&(i.anchorOptions=a.anchorOptions)}n.submenu=(0,s.h)(At.Z,i,o)}return(0,s.h)(Cn.Z,xj({key:e.id,id:e.id,text:e.label,icon:r,hint:e.hint},n))}))}function Oj(e){return(Oj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tj(){return(Tj=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Aj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pj(e,t){return(Pj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rj(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Mj(e);if(t){var o=Mj(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ij(this,n)}}function Ij(e,t){if(t&&("object"===Oj(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 Mj(e){return(Mj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Nj=function(e){!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}}),t&&Pj(e,t)}(i,e);var t,n,r,o=Rj(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"onClickItem",value:function(e,t){t&&t.stopPropagation(),this.props.parent[e.action](),this.props.wantsToClose&&this.props.wantsToClose()}},{key:"render",value:function(){var e=this.props,t=e.menu,n=e.additionalMenu,r=kj(t,{thisArg:this,onClick:this.onClickItem});return(0,s.h)(At.Z,Tj({closeOnEsc:!0,addClassName:"with-language-submenu"},this.props),n,r)}}])&&Aj(t.prototype,n),r&&Aj(t,r),i}(s.wA);function Dj(e){return(Dj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lj(e,t){return(Lj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bj(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Hj(e);if(t){var o=Hj(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fj(this,n)}}function Fj(e,t){if(t&&("object"===Dj(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Uj(e)}function Uj(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hj(e){return(Hj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zj=(0,Rn.ZP)("enter"),qj=(0,Rn.ZP)("esc"),Gj=function(e){!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}}),t&&Lj(e,t)}(i,e);var t,n,r,o=Bj(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Vj(Uj(t=o.call(this,e)),"onInputRef",(function(e){t.inputNode=e,t.props.inputRef(e)})),Vj(Uj(t),"onKeyDown",(function(e){t.isEscEvent=void 0,t.isEnterEvent=void 0,zj(e)?(t.isEnterEvent=!0,t.saveName()):qj(e)&&(t.isEscEvent=!0,t.props.onAbort())})),Vj(Uj(t),"onBlur",(function(e){t.isEscEvent||t.isEnterEvent||t.saveName()})),Vj(Uj(t),"onInput",(function(e){t.setState((function(){return{name:e.target.value}}))})),t.state={name:e.name},t.inputNode=null,t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props.name;this.inputNode.focus(),this.inputNode.setSelectionRange(0,e.length)}},{key:"saveName",value:function(){this.props.onApply(this.state.name+"."+this.props.ext,this.isEnterEvent)}},{key:"render",value:function(){return(0,s.h)("div",null,(0,s.h)("input",{contenteditable:"true",ref:this.onInputRef,type:"text",defaultValue:this.state.name,onKeyDown:this.onKeyDown,onInput:this.onInput,onBlur:this.onBlur}))}}])&&jj(t.prototype,n),r&&jj(t,r),i}(s.wA),Wj=n(26158),Yj=n(12212);function Zj(e){return(Zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qj(e,t){return(Qj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xj(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=tL(e);if(t){var o=tL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jj(this,n)}}function Jj(e,t){if(t&&("object"===Zj(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return eL(e)}function eL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tL(e){return(tL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rL=function(e){!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}}),t&&Qj(e,t)}(i,e);var t,n,r,o=Xj(i);function i(){var e;Kj(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return nL(eL(e=o.call.apply(o,[this].concat(n))),"onRef",(function(t){e.rootNode=t})),nL(eL(e),"onSizeUpdate",(function(){e._popper.scheduleUpdate()})),e}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.rootNode.parentNode.querySelector(".compact-view-content");this._popper=new Yj.Z(e,this.rootNode,{placement:"top",modifiers:{preventOverflow:{enabled:!0,priority:["left","right"]},flip:{enabled:!1}}})}},{key:"componentWillUnmount",value:function(){this._popper.destroy()}},{key:"render",value:function(){var e=(0,s.bR)(this.props.children);return e[0]&&e[0].props&&(e[0].props.onSizeUpdate=this.onSizeUpdate),(0,s.h)("div",{className:"file-action-tooltip",ref:this.onRef},e)}}])&&$j(t.prototype,n),r&&$j(t,r),i}(s.wA),oL=n(62899),iL=n.n(oL),aL=n(10097),sL=n(23398),lL=n.n(sL),cL=n(56153);function uL(e){return(uL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var dL=["text","ellipsis","style","onResizeDebounceMs","smartCopy"];function pL(){return(pL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fL(Object(n),!0).forEach((function(t){CL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mL(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function gL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yL(e,t){return(yL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wL(e);if(t){var o=wL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bL(this,n)}}function bL(e,t){if(t&&("object"===uL(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _L(e)}function _L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wL(e){return(wL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function CL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SL=function(e){!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}}),t&&yL(e,t)}(i,e);var t,n,r,o=vL(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),CL(_L(t=o.call(this,e)),"onComponentRef",(function(e){t.refComponent=e})),CL(_L(t),"onTextRef",(function(e){t.refText=e})),CL(_L(t),"onEllipsisRef",(function(e){t.refEllipsis=e})),CL(_L(t),"state",{truncatedText:t.props.text,start:t.getStartOffset(t.props.start,t.props.text),end:t.getEndOffset(t.props.end,t.props.text)}),CL(_L(t),"getTextMeasurement",(function(e){var t=(0,aL.findDOMNode)(e),n=t.textContent;return{width:{value:(0,cL.init)(t).width(n),unit:"px"}}})),CL(_L(t),"getComponentMeasurement",(function(){var e=t.refComponent;return{width:{value:e.offsetWidth,unit:"px"},height:{value:e.offsetHeight,unit:"px"}}})),t.getStartOffset=t.getStartOffset.bind(_L(t)),t.getEndOffset=t.getEndOffset.bind(_L(t)),t.onCopy=t.onCopy.bind(_L(t)),t.calculateMeasurements=t.calculateMeasurements.bind(_L(t)),t.truncateText=t.truncateText.bind(_L(t)),t.refComponent=null,t.refText=null,t.refEllipsis=null,t.textCache=null,t.initTruncateComplete=!1,t}return t=i,(n=[{key:"init",value:function(){this.initTruncateComplete||(this.onResize(),this.initTruncateComplete=!0)}},{key:"componentDidMount",value:function(){var e=this;!1!==this.props.autoTruncate&&setTimeout((function(){return e.parseTextForTruncation(e.props.text)}),0),document.fonts.ready&&document.fonts.ready.then((function(){return e.parseTextForTruncation(e.props.text)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;e.text!==this.props.text&&setTimeout((function(){return t.parseTextForTruncation(e.text)}),0),e.start!==this.props.start&&this.setState({start:this.getStartOffset(e.start,e.text)}),e.end!==this.props.end&&this.setState({end:this.getEndOffset(e.end,e.text)})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"onCopy",value:function(e){var t=this.props.smartCopy;if(t){var n=window.getSelection().toString();("partial"===t||"all"===t&&n===this.state.truncatedText)&&(e.preventDefault(),(e.clipboardData||window.clipboardData||e.originalEvent.clipboardData).setData("text/plain",this.props.text))}}},{key:"onResize",value:function(){this.parseTextForTruncation(this.props.text)}},{key:"getStartOffset",value:function(e,t){if(""===e||null===e)return 0;if(!isNaN(parseInt(e,10)))return Math.round(iL()(e));var n=new RegExp(e).exec(t);return n?n.index+n[0].length:0}},{key:"getEndOffset",value:function(e,t){if(""===e||null===e)return 0;if(!isNaN(parseInt(e,10)))return Math.round(iL()(e));var n=new RegExp(e).exec(t);return n?n[0].length:0}},{key:"calculateMeasurements",value:function(){return{component:this.getComponentMeasurement(),ellipsis:this.getTextMeasurement(this.refEllipsis),text:this.getTextMeasurement(this.refText)}}},{key:"truncateText",value:function(e){var t,n=this.props,r=n.text,o=n.ellipsis,i=this.state,a=i.start,s=i.end;if(e.component.width.value<=e.ellipsis.width.value)return o;if(this.textCache&&this.textCache.text===r&&this.textCache.componentWidth===e.component.width.value&&this.textCache.textWidth===e.text.width)return this.textCache.truncatedText;for(var l=1;l>.5;l-=.05){var c=e.text.width.value/r.length*l,u=e.text.width.value-e.component.width.value;if(u<=0){t=r;break}var d=Math.ceil(u/c/2),p=Math.round(r.length/2);if(d>=p){t="...";break}var f=r.slice(0,a),h=r.slice(a,p-d),m=r.slice(p+d,r.length-s),g=r.slice(r.length-s,r.length);t="".concat(f).concat(h).concat(o).concat(m).concat(g),this.refText.textContent=t;var y=this.getTextMeasurement(this.refText);if(this.refText.textContent=this.props.text,y.width.value<=e.component.width.value)break}return this.textCache={text:r,truncatedText:t,componentWidth:e.component.width.value,textWidth:e.text.width.value},t}},{key:"parseTextForTruncation",value:function(e){var t=this.calculateMeasurements(),n=Math.round(t.text.width.value)>Math.round(t.component.width.value)?this.truncateText(t):e;this.setState((function(){return{truncatedText:n}}))}},{key:"render",value:function(){var e=this.props,t=e.text,n=e.ellipsis,r=e.style,o=(e.onResizeDebounceMs,e.smartCopy,mL(e,dL)),i=this.state.truncatedText,a=hL(hL({},r),{},{display:"block",overflow:"hidden",whiteSpace:"nowrap"}),l={display:"none"};return delete o.onClick,(0,s.h)("div",pL({ref:this.onComponentRef,style:a,onCopy:this.onCopy},o),(0,s.h)("span",{ref:this.onTextRef,style:l},t),(0,s.h)("span",{ref:this.onEllipsisRef,style:l},n),(0,s.h)("span",{onClick:this.props.onClick,className:"truncated-text"},i))}}])&&gL(t.prototype,n),r&&gL(t,r),i}(s.wA);CL(SL,"propTypes",{className:lL().string,ellipsis:lL().string,end:lL().oneOfType([lL().number,lL().instanceOf(RegExp),lL().string]),onResizeDebounceMs:lL().number,smartCopy:lL().oneOfType([lL().oneOf(["partial","all"]),lL().bool]),start:lL().oneOfType([lL().number,lL().instanceOf(RegExp),lL().string]),style:lL().object,text:lL().string}),CL(SL,"defaultProps",{className:"",ellipsis:"...",end:0,onResizeDebounceMs:100,smartCopy:"all",start:0,style:{},text:""});const EL=SL;function xL(e){return(xL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kL(){return(kL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function OL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function TL(e,t){return(TL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function AL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IL(e);if(t){var o=IL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return PL(this,n)}}function PL(e,t){if(t&&("object"===xL(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return RL(e)}function RL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IL(e){return(IL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ML(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NL=function(e){!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}}),t&&TL(e,t)}(i,e);var t,n,r,o=AL(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),ML(RL(t=o.call(this,e)),"downloadRecord",(function(){t.blot.props.wrtc.download()})),ML(RL(t),"setSyncedInterfaceState",(function(e){t.blot.setSyncedInterfaceState(e)})),t.blot=e.blot,t.editor=t.blot.editor,t.kindsIcons={pdf:ct.szK,image:ct.Zay,video:ct.OiJ,audio:ct.PWQ,doc:ct.szK,archive:ct.mrQ,file:ct.mrQ,play:ct.YIl,pause:ct.qV0,soundOn:ct.BKE,soundOff:ct.JfY},t}return t=i,(n=[{key:"componentWillReceiveProps",value:function(){this.setState((function(e){return{ver:(e.ver||0)+1}}))}},{key:"render",value:function(){var e=this.editor.mode===fpe,t=this.props.fileContainer;if(!this.blot.hasAttachment()||this.blot.props.setAttachmentError||this.blot.getUploadingBy()){if(this.blot.props.uploading)return this.renderUploading({fileContainer:t,editMode:e});if(this.blot.props.setAttachmentError)return this.blot.props.setAttachmentError instanceof nb.default&&this.blot.isAttachmentMightBeUploading()?this.renderUploading({noProgress:!0,progress:0,otherClientUploading:!0,fileContainer:t,editMode:e,isOffline:this.blot.props.setAttachmentError.isOffline}):this.renderError(this.blot.props.setAttachmentError);var n=this.blot.getUploadingBy(),r=!1;if(n){if(this.blot.clearUploadingByIfNeeded(n))return;r=!0}return r?this.renderUploading({noProgress:!0,progress:0,otherClientUploading:r,fileContainer:t,editMode:e}):this.renderEmpty()}return this.blot.props.attachment?this.blot.props.attachment.is_fetching?this.renderFetching({fileContainer:t,progress:this.blot.props.attachment.fetching_progress}):void 0:(this.blot.resolveAttachment(),this.renderUploading({noProgress:!0,progress:100,fileContainer:t}))}},{key:"setViewMode",value:function(e,t){"compact"===e?(t.classList.remove("view-mode-full"),t.classList.add("view-mode-compact")):(t.classList.remove("view-mode-compact"),t.classList.add("view-mode-full"))}},{key:"buildMenu",value:function(){var e=this,t=null;if(this.blot.props.menuOpen){var n=this.blot.getSpecialBlotMenu(),r=this.blot.getAdditionlSpecialBlotMenu(),o=Object.keys(r).map((function(e){return Object.assign({},r[e],{key:e})})).sort((function(e,t){return e.index-t.index})).map((function(t){return(0,s.h)(Cn.Z,{key:t.key,id:"file-"+t.key,onClick:e.blot[t.action],text:t.label,submenu:t.submenu})}));t=(0,s.h)(Nj,{closeOnEsc:!0,addClassName:"file-menu position-absolute",anchorNode:this.blot.fileMenuIconNode,wantsToClose:this.blot.onMenuWantsToClose,menu:n,additionalMenu:o,parent:this.blot,anchorOptions:{placement:"left-start",boundariesElement:this.editor.scrollingContainer}})}return t}},{key:"buildSpecMenu",value:function(e){var t=this.editor.mode===fpe,n=this.editor.mode===mpe&&!this.editor.options.isShare,r=this.editor.mode===mpe&&this.editor.options.isShare,o=null;return t||n?o=(0,s.h)(Tt,null,e):r&&(this.blot.disallowFileMenuIcon||(o=(0,s.h)(Tt,null,e))),o}},{key:"renderMiddleTruncater",value:function(){var e,t,n,r=this.props.fileKind,o=this.blot.getFileViewer();if(this.blot.blotConfig.fileNameTrim||(this.blot.blotConfig.fileNameTrim="middle"),"audio"===r&&!this.blot.props.fileError&&o)this.editor.scroll.domNode.offsetWidth<700?t=(0,s.h)(EL,{autoTruncate:!1,ref:this.blot.onFileNameTruncaterRef,text:this.blot.props.attachment.display_name,onClick:this.blot.onFileNameClick}):(t=(0,s.h)("span",null,(0,s.h)("span",{className:"file-name-main"},this.blot.props.attachment.display_name)),n=this.blot.onFileNameClick),e="file-name-trim-middle";else if("middle"!==this.blot.blotConfig.fileNameTrim||this.blot.dontFileNameTrim){var i=String(this.blot.props.attachment.display_name).split("."),a=i.pop();if(i=i.join("."),this.blot.editor.mode===gpe){var l,c=null===(l=this.blot.getWrapper())||void 0===l?void 0:l.parent;i.length>10&&c&&c instanceof $1&&(i=i.substr(0,10)+"..")}t=(0,s.h)("span",null,(0,s.h)("span",{className:"file-name-main"},i,"."),(0,s.h)("span",{className:"file-name-ext"},a)),n=this.blot.onFileNameClick,e="file-name-trim-end"}else this.blot.disallowDownloading?t=(0,s.h)(EL,{autoTruncate:!1,ref:this.blot.onFileNameTruncaterRef,text:this.blot.props.attachment.display_name}):(t=(0,s.h)("span",null,(0,s.h)("span",{className:"file-name-main"},this.blot.props.attachment.display_name)),n=this.blot.onFileNameClick),e="file-name-trim-middle";return{fileNameInst:t,onFileNameClick:n,fileInfoCropNameClass:e}}},{key:"renderMenuButton",value:function(){var e=this.editor.mode===fpe,t=this.editor.mode===mpe&&this.editor.options.isShare,n=null;if(e&&!1!==this.blot.blotConfig.menuVisible){var r,o={};this.blot.isTableCell()&&(ML(r={},Gr.qZ,this.editor.plugins.i18n.get("block_menu.tooltip")),ML(r,Gr.aP,1),ML(r,Gr.xQ,300),o=r),n=(0,s.h)("div",kL({ref:this.blot.onFileMenuIconRef,className:"file-menu-icon",onClick:this.blot.onMenuButtonClick,onMouseDown:this.blot.onMenuButtonMouseDown},o),(0,s.h)(ct.nqv,null))}else t&&(this.blot.disallowFileMenuIcon||(n=(0,s.h)("div",{ref:this.blot.onFileMenuIconRef,className:"file-menu-icon",onClick:this.blot.onMenuButtonClick,onMouseDown:this.blot.onMenuButtonMouseDown},(0,s.h)(ct.nqv,null))));return this.blot.isBlotLocked&&(n=null),n}},{key:"renderDownloadButton",value:function(){return this.blot.disallowDownloading?null:(0,s.h)("div",{className:"file-download-button",onClick:this.blot.onFileDownloadClick},(0,s.h)(ct.hoH,null))}},{key:"renderAlertIcon",value:function(){return this.blot.props.attachment.alert?(0,s.h)("div",{className:"file-alert",onClick:this.blot.onFileAlertClick},(0,s.h)(ct.az_,null)):null}},{key:"renderFetchIcon",value:function(){if(!0===this.blot.props.attachment.need_fetch){var e=(0,s.h)(ct.DjJ,null);return this.blot.props.fetchingFile&&(e=(0,s.h)(Ug,{radius:11,stroke:2,progress:80,ringColor:"rgba(0, 161, 183, 0.2)",progressColor:"#00a1b7",animation:!0})),(0,s.h)("div",{className:"file-fetch",onClick:this.blot.onFileClickFetch},e)}return null}},{key:"renderFileActionContent",value:function(){var e=this.blot.getFileViewer(),t=this.props.viewMode;if(this.blot.props.isPrinting){var n=e.class.PrintAction;return(0,s.h)(rL,null,(0,s.h)(n,{onPrinted:this.blot.onFilePrinted,onAbort:this.blot.onFilePrintAbort,options:e.options,editor:this.editor,attachment:this.blot.props.attachment}))}if(this.blot.props.fullscreen&&e&&"full"!==t){var r=e.class.FullScreenAction;return(0,s.h)(rL,null,(0,s.h)(r,{options:e.options,attachment:this.blot.props.attachment,editor:this.editor,onClose:this.blot.onFullScreenClose,blot:this.blot}))}}},{key:"renderFullView",value:function(){var e=parseInt(Wj.fileBorderWidth),t=this.props.fileKind,n=this.props.fileContainer,r=this.blot.getFileViewer(),o=r.class,i=(0,H.AH)(n,["padding-left","padding-right"],"px");i=i["padding-left"]+i["padding-right"];var a=n.offsetWidth-i-2*e,l="full-view-content";return t&&(l="full-view-content full-view-"+t),(0,s.h)("div",{className:l},(0,s.h)(o,{maxWidth:a,maxHeight:600,attachment:this.blot.props.attachment,options:r.options,setSyncedState:this.blot.setViewerSyncedState,focused:this.blot.props.focused,fullscreen:this.blot.props.isViewerFullscreen,onFullScreenClose:this.blot.onFullScreenClose,onViewerGoFullScreen:this.blot.onViewerGoFullScreen,editor:this.editor,blot:this.blot,isBlotLocked:this.blot.isBlotLocked,syncedState:this.blot.getMemoizedSyncedState(this.blot.map.get("syncedViewerState").toJSON())}))}},{key:"renderRenaming",value:function(){return(0,s.h)("div",{className:"compact-view-content"},(0,s.h)("div",{className:"file-renaming "+fe.W$},(0,s.h)(Gj,{onApply:this.blot.onRenameApply,onAbort:this.blot.onRenameAbort,inputRef:this.blot.onFileFileRenameInputNodeRef,name:this.blot.props.attachment.display_name.split(".").filter((function(e,t,n){return t!==n.length-1})).join("."),ext:this.blot.props.attachment.display_name.split(".").pop()})))}},{key:"renderUploading",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.editor.plugins.i18n,n=e.noProgress,r=e.progress,o=e.otherClientUploading,i=e.fileContainer,a=(e.editMode,e.isOffline);r=r||0,n||(r=this.blot.props.progress);var l,c,u=this.blot.getSizeClass({fileContainer:i}),d=null;if(this.blot.props.file)this.blot.props.file.type&&this.blot.props.file.type.startsWith("audio/")&&(this.blot.isAudioUplading=!0),isNaN(this.blot.props.file.size)&&console.warn("invariant: file size is not a number file:",this.blot.props.file),l=(0,s.h)("div",{className:"file-info file-name-trim-end"},(0,s.h)("div",null,(0,s.h)("span",{className:"file-name"},(0,s.h)("span",{className:"file-name-main"},this.blot.props.file.name)),(0,s.h)("span",{className:"file-size"},"(",vv(this.blot.props.file.size),")")));else if(o){var p=a?(0,s.h)(pe.xv,{id:"attachment.attachment_will_be_downloaded_online"}):(0,s.h)(pe.xv,{id:"attachment.attachment_is_being_uploaded"});l=(0,s.h)("div",{className:"file-info"},(0,s.h)("span",{className:"file-info-message"},p))}else l=(0,s.h)("div",{className:"file-info"},(0,s.h)("span",{className:"file-info-message"},(0,s.h)(pe.xv,{id:"attachment.wait_resolving_without_info"})));return this.blot.props.recordUploading&&(d=(0,s.h)("div",kL({},(ML(c={},Gr.qZ,t.get("file.download_file")),ML(c,Gr.cD,JSON.stringify({positionFixed:!0})),c),{className:"file-download",onClick:this.downloadRecord}),(0,s.h)(ct.DjJ,null))),(0,s.h)("div",{className:u},(0,s.h)("div",{className:"compact-view-content file-uploading"},(0,s.h)("div",{className:"file-left loading"},(0,s.h)(Ug,{radius:17,stroke:2,progress:r,ringColor:"rgba(0, 161, 183, 0.2)",progressColor:"#00a1b7"})),l,n?null:(0,s.h)("div",{className:"file-right"},(0,s.h)("div",kL({className:"progress"},ML({},Gr.qZ,this.blot.props.file?this.blot.props.file.name:null)),(0,s.h)("span",{className:"progress-text"},t.get("file.uploading")," "),(0,s.h)("span",{className:"progress-percent"},this.blot.props.progress,"%")),d,(0,s.h)("div",{className:"file-abort",onMouseDown:this.blot.onFileAbortClick},(0,s.h)(ct.bMz,null)))))}},{key:"renderFetching",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.progress,n=e.fileContainer,r=void 0!==t,o=this.blot.getSizeClass({fileContainer:n}),i=this.blot.props.attachment;isNaN(i.size)&&console.warn("invariant: size field in attachment should be numeric, attachment:",i);var a=(0,s.h)("div",{className:"file-info"},(0,s.h)("div",null,(0,s.h)("span",{className:"file-name"},i.display_name),(0,s.h)("span",{className:"file-size"},"(",vv(i.size),")"))),l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.h)("div",{className:"file-right"},t)},c=l(this.renderFetchIcon());return(this.blot.props.fetchingFile||this.blot.props.attachment.is_fetching&&!1!==this.blot.props.fetchingFile)&&(c=l((0,s.h)("div",{className:"progress"},(0,s.h)(pe.xv,{id:"file.downloading"})," ",r?t+"%":""),(0,s.h)("div",{className:"file-abort",onClick:this.blot.onFileAbortFetchClick},(0,s.h)(ct.bMz,null)))),(0,s.h)("div",{className:o},(0,s.h)("div",{className:"compact-view-content file-fetching"},(0,s.h)("div",{className:"file-left loading"},(0,s.h)(Ug,{radius:17,stroke:2,progress:t||0,ringColor:"rgba(0, 161, 183, 0.2)",progressColor:"#00a1b7"})),a,c))}},{key:"renderError",value:function(e){var t,n=!0;if(e instanceof Zg){var r=this.blot.props.setAttachmentError.file||{};isNaN(r.size)&&console.warn("invariant: file size is not a number file:",r),t=(r.name||"File")+" "+(r.size&&"("+vv(r.size)+")"||"")+" is too big"}else e instanceof nb.default?(n=!1,t=this.editor.plugins.i18n.get("file.attachment_not_found_error")):t="Could not upload the file";return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},(0,s.h)("div",{className:"file-info"},(0,s.h)("span",{className:"file-error"},t)),(0,s.h)("div",{className:"file-spacer"}),this.editor.mode===fpe?(0,s.h)("div",{className:"file-right"},n?(0,s.h)("div",{className:"file-try-again",onClick:this.blot.onFileReplace},"Try again"):null,(0,s.h)("div",{className:"file-abort",onClick:this.blot.onFileDelete},(0,s.h)(ct.bMz,null))):null))}},{key:"renderEmpty",value:function(){return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},(0,s.h)("div",{className:"file-left"},(0,s.h)(ct.mrQ,null)),(0,s.h)("div",{className:"file-info"},(0,s.h)("span",{className:"file-name",onClick:this.blot.onFileReplace},(0,s.h)(pe.xv,{id:"attachment.choose_a_file"}))),(0,s.h)("div",{className:"file-spacer"}),(0,s.h)("div",{className:"file-right"},(0,s.h)("div",{className:"file-abort",onClick:this.blot.onFileDelete},(0,s.h)(ct.bMz,null)))))}},{key:"getSyncedInterfaceState",get:function(){return this.blot.getSyncedInterfaceState}}])&&OL(t.prototype,n),r&&OL(t,r),i}(s.wA);function DL(e){return(DL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jL(){return(jL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function LL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BL(e,t,n){return(BL="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zL(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function FL(e,t){return(FL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function UL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zL(e);if(t){var o=zL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HL(this,n)}}function HL(e,t){if(t&&("object"===DL(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return VL(e)}function VL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zL(e){return(zL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GL=function(e){!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}}),t&&FL(e,t)}(i,e);var t,n,r,o=UL(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),qL(VL(t=o.call(this,e)),"setAudioPlayerState",(function(e){0!==Object.keys(e).length&&t.setState((function(){return e}))})),qL(VL(t),"onInitPlayer",(function(){t.setAudioPlayerState({initPlayer:!0})})),qL(VL(t),"onAudioDrawBuffer",(function(e){t.setAudioPlayerState({initPlayer:!1,duration:e,drawBuffer:!0})})),qL(VL(t),"clearPlayer",(function(){t.setAudioPlayerState({initPlayer:!1,drawBuffer:!1})})),qL(VL(t),"getAudioPlayerColor",(function(){return t.getSyncedInterfaceState&&t.getSyncedInterfaceState.audioPlayerColor||"transparent"})),t}return t=i,(n=[{key:"componentDidMount",value:function(){this.blot.props.fileInterface=this}},{key:"componentWillReceiveProps",value:function(e,t){BL(zL(i.prototype),"componentWillReceiveProps",this).call(this),this.blot.props.renaming&&this.clearPlayer()}},{key:"render",value:function(){var e=this.props,t=e.fileKind,n=e.fileContainer,r=e.viewMode,o=null,i=null,a=this.blot.getFileViewer(),l=null,c=this.blot.props.renaming,u=this.blot.getSizeClass({fileContainer:n}),d=this.blot.props.attachment,p=this.getSyncedInterfaceState&&this.getSyncedInterfaceState.audioPlayerColor;if(p?this.blot.domNode.setAttribute("data-player-color",p):this.blot.domNode.removeAttribute("data-player-color"),d)if(this.blot.isAudioUplading&&(this.blot.isAudioUplading=void 0),this.editor.getScrollingContainer().removeEventListener("scroll",this.blot.onScrollVideoPlayer),l=this.buildMenu(),i=this.renderFileActionContent(),c)o=this.renderRenaming();else{var f,h,m,g=this.renderMenuButton(),y=this.renderAlertIcon(),v=this.renderFetchIcon(),b=["compact-view-content"];!0===d.need_fetch&&b.push("need-fetch"),a&&b.push("viewer-support");var _=this.renderMiddleTruncater(),w=_.fileNameInst,C=_.onFileNameClick,S=_.fileInfoCropNameClass;isNaN(this.blot.props.attachment.size)&&console.warn("invariant: size field in attachment should be numeric, attachment:",this.blot.props.attachment);var E="a-file";null!==(f=this.blot)&&void 0!==f&&null!==(h=f.isTableCell)&&void 0!==h&&h.call(f)&&(this.blot.props.fileError=!0),this.blot.props.fileError&&(E="");var x,k=this.kindsIcons[t],O="play";this.blot.props.fileError||(k=this.kindsIcons.play,x=this.kindsIcons.soundOn,this.blot.props.audioPlayer&&(this.blot.props.filePlaying&&(k=this.kindsIcons.pause,O="stop"),this.blot.props.isMuted&&(x=this.kindsIcons.soundOff)));var T=null,A=null,P=(0,s.h)("div",{className:"file-left"},(0,s.h)(k,null));if(!this.blot.props.fileError){var R,I=this.blot.getVolume();this.blot.props.audioPlayer&&(this.blot.props.isMuted||this.blot.props.audioPlayer.updateVolume(I/100));var M="wf-audio-container-"+this.blot.id,N="wf-audio-"+this.blot.id,D="wf-audio-timer-"+this.blot.id,j="wf-audio-duration-"+this.blot.id,L="wf-audio-volume-"+this.blot.id,B="wf-audio-icon-"+this.blot.id,F="wf-sound-icon-"+this.blot.id,U="width: 76%";this.editor.scroll.domNode.offsetWidth>1115?U="width: 79%":this.editor.scroll.domNode.offsetWidth>1e3&&this.editor.scroll.domNode.offsetWidth<1115?U="width: 73%":this.editor.scroll.domNode.offsetWidth>800&&this.editor.scroll.domNode.offsetWidth<=900?U="width: 70%":this.editor.scroll.domNode.offsetWidth<=800&&(U=this.editor.scroll.domNode.classList[4]&&"style-mono"===this.editor.scroll.domNode.classList[4]?"width: 64%":"width: 66%");var H=(0,s.h)("div",{className:"wf-audioWave",id:N,style:U}),V=(0,s.h)("div",{className:"wf-sound",id:F,onClick:this.blot.toogleMute},(0,s.h)(x,null)),z="wf-volume";this.editor.scroll.domNode.offsetWidth<700&&(z="wf-volume hidden");var q=(0,s.h)("div",{className:z,id:L},(0,s.h)(EE,{addClassName:"audio-volume-slider",progress:I,onChange:this.blot.updateVolume.bind(this.blot),onSlide:this.blot.updateVolume.bind(this.blot)})),G="wf-timer";this.blot.props.maxAvailableWidth<150&&(G="wf-timer hidden"),this.editor.scroll.domNode.offsetWidth<500&&(G="wf-timer wf-margin-left");var W=this.state&&this.state.currentProgress||"0:00",Y=this.state&&this.state.duration||"",Z=(0,s.h)("div",{className:G,id:D},W),K="wf-duration";(this.blot.props.maxAvailableWidth<590||this.editor.scroll.domNode.offsetWidth<500)&&(K="wf-duration hidden");var $=(0,s.h)("div",{className:K,id:j},"/ ",Y),Q=this.state.initPlayer?"audio-preloader":"audio";P=(0,s.h)("div",jL({id:B,className:"file-left "+Q,onClick:this.blot.onFilePlayClick},(qL(R={},Gr.qZ,this.blot.tooltipTextAudio(O)),qL(R,Gr.cD,JSON.stringify({positionFixed:!0})),R)),(0,s.h)(k,null));var X=(0,s.h)("div",null,V,q),J=this.state.drawBuffer?"":"hidden";T=(0,s.h)("div",{className:"wf-audioWaveContainer "+J,id:M},H,X,Z,$),A="audioInfo"}var ee="".concat(this.blot.id,".end"),te="file-name",ne=(0,s.h)("span",jL({},(qL(m={},Gr.qZ,this.blot.tooltipText()),qL(m,Gr.cD,JSON.stringify({positionFixed:!0})),m),{onClick:C,className:te,"data-file-export":ee}),w);this.blot.disallowDownloading&&(te="file-name disallow",ne=(0,s.h)("span",{className:te,"data-file-export":ee},w));var re=this.buildSpecMenu(l);A+=this.state.drawBuffer?" wf-hidden":"",o=(0,s.h)("div",{className:b.join(" "),onClick:this.blot.onCompactViewClick,onMouseDown:this.blot.onCompactViewMouseDown},P,(0,s.h)("div",{className:"file-info "+S},T,(0,s.h)("div",{className:A},ne,(0,s.h)("span",{className:"file-size "+E},"(",vv(this.blot.props.attachment.size),")"))),y,v,g,re)}return this.setViewMode(r,n),this.blot.props.attachment&&"audio"===this.blot.props.attachment.type&&(this.blot.hasMusicAttachment=!0),(0,s.h)("div",{className:u,onMouseDown:this.blot.onFileContainerMouseDown},o,null,i)}},{key:"contextMenu",get:function(){var e=this.editor.plugins.i18n,t={};return t["change-audio-player-color"]={label:e.get("block_menu.color.player_color"),index:0,group:0,action:"change-color",stackable:!1,submenu:"ColorPicker",colorPickerParams:{getSelectedColor:this.getAudioPlayerColor,execAction:"set-audio-player-color",defaultColor:"transparent",closeOnChoice:!1}},t}},{key:"exec",value:function(e){var t=!1,n=e.params;return"set-audio-player-color"===e.type&&n&&("transparent"===n?this.setSyncedInterfaceState({audioPlayerColor:!1}):this.setSyncedInterfaceState({audioPlayerColor:n}),this.blot.props.audioPlayer.setProgressColor(),t=!0),t}},{key:"interfaceState",get:function(){return{syncedInterfaceState:{audioPlayerColor:this.getSyncedInterfaceState.audioPlayerColor}}}}])&&LL(t.prototype,n),r&&LL(t,r),i}(NL),WL=n(11526);function YL(e){return(YL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ZL(){return(ZL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function KL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $L(e,t){return($L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function QL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eB(e);if(t){var o=eB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return XL(this,n)}}function XL(e,t){if(t&&("object"===YL(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return JL(e)}function JL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eB(e){return(eB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nB=function(e){!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}}),t&&$L(e,t)}(i,e);var t,n,r,o=QL(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),tB(JL(t=o.call(this,e)),"onVideoEditMouseDown",(function(e){e.stopPropagation()})),tB(JL(t),"onVideoEditClick",(function(e){e.preventDefault(),e.stopPropagation();var n=t.props.blot,r=n.editor,o=n.id,i=t.props.blot.map.get("attachmentGlobalId");r&&r.plugins.attachmentManager.editAttachment(o,i)})),tB(JL(t),"onTranscriptClick",(function(e,n){n.preventDefault(),n.stopPropagation();var r,o=t.props.blot.editor;if(o&&(null!==(r=t.props.blot.props)&&void 0!==r&&r.attachment)){var i=Object.assign({},t.props.blot.props.attachment),a=document.createElement("video");a.src=i.url,a.onloadedmetadata=function(){i.duration=a.duration,i.videoElement=a,o.plugins.attachmentManager.options.onTranscript(i,e)}}})),t}return t=i,(n=[{key:"renderEditVideoIcon",value:function(){return(0,s.h)("div",{className:"edit-video-button",onMouseDown:this.onVideoEditMouseDown,onClick:this.onVideoEditClick},(0,s.h)(ct.pj0,null))}},{key:"renderTranscriptButtons",value:function(e){var t=this.props.blot.editor.plugins.attachmentManager.options||{},n=t.isTranscriptEnabled,r=t.isGuidegenEnabled;if(!n)return null;var o=e>900;return e<550?null:(0,s.h)("div",{className:"transcript-buttons "+(o?"":"no-text")},r?(0,s.h)("button",{onClick:this.onTranscriptClick.bind(null,"guide"),className:"transcript-buttons__item"},"Guide"):null,(0,s.h)("button",{onClick:this.onTranscriptClick.bind(null,"transcript"),className:"transcript-buttons__item"},(0,s.h)(ct.aJY,{className:"colorize"}),o&&(0,s.h)(pe.xv,{id:"file.video_transcribe"})),(0,s.h)("button",{onClick:this.onTranscriptClick.bind(null,"summary"),className:"transcript-buttons__item"},(0,s.h)(ct.KLP,null),o&&(0,s.h)(pe.xv,{id:"file.video_summary"})),(0,s.h)("button",{onClick:this.onTranscriptClick.bind(null,"meeting_notes"),className:"transcript-buttons__item"},(0,s.h)(ct.S1t,null),o&&(0,s.h)(pe.xv,{id:"file.video_meeting_notes"})),(0,s.h)("button",{onClick:this.onTranscriptClick.bind(null,"ask_ai"),className:"transcript-buttons__item"},(0,s.h)(ct.nST,{className:"colorize"}),o&&(0,s.h)(pe.xv,{id:"file.video_ask_ai"})))}},{key:"render",value:function(){var e=this.props,t=e.fileKind,n=e.fileContainer,r=e.viewMode,o=e.blot,i=Boolean(o.blotConfig.showVideoEditButton)&&(0,WL.getVideoTypes)().includes(this.props.blot.props.attachment.mime)&&!this.blot.isTableCell(),a=null,l=null,c=null,u=this.blot.getFileViewer(),d=null,p=this.blot.getSyncedState(),f=this.blot.props.renaming,h=this.blot.getSizeClass({fileContainer:n}),m=n.offsetWidth,g=this.blot.props.attachment,y=this.editor.mode===gpe;if(g){if(!o.props.attachment.autoplay&&p.autoplay&&(o.props.attachment.autoplay=!0),!o.props.attachment.soundDefault&&p.mute&&(o.props.attachment.soundDefault=!0),!o.props.attachment.loop&&p.loop&&(o.props.attachment.loop=!0),o.props.attachment.hideControl||!p.hideControl&&!p.hideControls||(o.props.attachment.hideControl=!0),p.hasOwnProperty("showPanel")&&!p.showPanel||p.hideControls?o.props.attachment.showPanel=!1:o.props.attachment.showPanel=!0,!o.props.attachment.videoShadow&&p.videoShadow&&(o.props.attachment.videoShadow=!0),o.props.attachment.videoShadow?n.classList.add("video-shadow"):n.classList.remove("video-shadow"),d=this.buildMenu(),c=this.renderFileActionContent(),f)a=this.renderRenaming();else{var v,b=this.renderMenuButton(),_=this.renderAlertIcon(),w=this.renderFetchIcon(),C=null;"mobile"===this.props.blot.editor.options.deviceType||this.blot.isTableCell()||(C=this.renderDownloadButton());var S=["compact-view-content"];!0===g.need_fetch&&S.push("need-fetch"),u&&S.push("viewer-support");var E=this.renderMiddleTruncater(),x=E.fileNameInst,k=E.onFileNameClick,O=E.fileInfoCropNameClass;isNaN(this.blot.props.attachment.size)&&console.warn("invariant: size field in attachment should be numeric, attachment:",this.blot.props.attachment);var T=this.kindsIcons[t],A=(0,s.h)("div",{className:"file-left"},(0,s.h)(T,null)),P="".concat(this.blot.id,".end"),R="file-name",I=(0,s.h)("span",ZL({},(tB(v={},Gr.qZ,this.blot.tooltipText()),tB(v,Gr.cD,JSON.stringify({positionFixed:!0})),v),{onClick:k,className:R,"data-file-export":P}),x);this.blot.disallowDownloading&&(R="file-name disallow",I=(0,s.h)("span",{className:R,"data-file-export":P},x));var M=this.buildSpecMenu(d),N=i?this.renderEditVideoIcon():null,D=i?this.renderTranscriptButtons(m):null;a=(0,s.h)("div",{className:S.join(" "),onClick:this.blot.onCompactViewClick,onMouseDown:this.blot.onCompactViewMouseDown},A,(0,s.h)("div",{className:"file-info "+O},(0,s.h)("div",null,I,(0,s.h)("span",{className:"file-size"},"(",vv(this.blot.props.attachment.size),")"))),_,w,D,N,C,b,M)}!y&&u&&"full"===r&&(l=this.renderFullView())}return g&&u&&this.blot.isVideoFile()&&!this.blot.props.attachment.showPanel?(a=null,n.classList.add("border_none")):n.classList.remove("border_none"),this.setViewMode(r,n),(0,s.h)("div",{className:h,onMouseDown:this.blot.onFileContainerMouseDown},a,l,c)}}])&&KL(t.prototype,n),r&&KL(t,r),i}(NL);function rB(e){return(rB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oB(){return(oB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function iB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aB(e,t){return(aB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sB(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uB(e);if(t){var o=uB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lB(this,n)}}function lB(e,t){if(t&&("object"===rB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cB(e)}function cB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uB(e){return(uB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pB=function(e){!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}}),t&&aB(e,t)}(i,e);var t,n,r,o=sB(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),dB(cB(t=o.call(this,e)),"startRecord",(function(e){var n=t.props,r=n.wrtc,o=n.blot;r.startAudioRecord(),t.setRecordInterval(),o.render()})),dB(cB(t),"stopRecord",(function(e){var n=t.props,r=n.wrtc,o=n.blot;r.removeRecord=!0,r.stopAudioRecord(),t.timer&&clearInterval(t.timer),o.render()})),dB(cB(t),"pauseRecord",(function(e){var n=t.props,r=n.wrtc,o=n.blot;r.pauseRecord(),o.render()})),dB(cB(t),"resumeRecord",(function(e){var n=t.props,r=n.wrtc,o=n.blot;r.resumeRecord(),o.render()})),dB(cB(t),"restoreRecord",(function(e){var n=t.props.blot,r=n.props.wrtc;r.removeRecord=!0,r.restoreRecord(n)})),dB(cB(t),"deleteRecord",(function(e){var n=t.props,r=n.wrtc,o=n.blot;t.timer&&clearInterval(t.timer),r.removeRecord=!0,o.remove()})),dB(cB(t),"cancelRecord",(function(e){var n=t.props.blot.editor.plugins.i18n.get("file.wrtc.confirmCancel");confirm(n)&&t.deleteRecord()})),dB(cB(t),"openLink",(function(){var e,n=t.props,r=n.wrtc,o=n.blot.editor.plugins.i18n,i=r.stream,a=r.error;!i&&!a||a&&"macSystemError"===a?e=o.get("file.wrtc.how_to_url2"):!i&&a&&(e=o.get("file.wrtc.how_to_url")),e&&window.open(e)})),t.totalTime=0,t}return t=i,(n=[{key:"autoStartRecord",value:function(){if(this.recordInited)return!1;this.recordInited=!0;var e=this.props,t=e.wrtc,n=e.blot;t.startAudioRecord(),this.setRecordInterval(),n.render()}},{key:"setRecordInterval",value:function(){var e=this,t=this.props,n=t.wrtc,r=t.blot;this.timer&&clearInterval(this.timer),this.timer=setInterval((function(){n.recorder&&"recording"===n.recorder.state&&(e.totalTime=e.totalTime+1),n.getRecordData(e.totalTime),r.render()}),1e3)}},{key:"isManualRecord",get:function(){var e=this.props.blot,t=!1;return e.blotConfig&&e.blotConfig.wrtc&&e.blotConfig.wrtc.manualRecord&&(t=!0),t}},{key:"componentWillMount",value:function(){var e=this,t=this.props,n=t.wrtc,r=t.blot,o=r.map.get("recordUserId"),i=r.store.userId;n.checkTmpRecord(r).then((function(t){t?(e.hasTmpFile=!0,r.render()):(o===i&&e.setCanRecord(),!e.isManualRecord&&!e.recordInited&&0===e.totalTime&&n&&n.granted&&void 0===r.props.focused&&e.autoStartRecord())}))}},{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.wrtc,r=t.blot;!this.isManualRecord&&!this.recordInited&&0===this.totalTime&&r.props.focused&&n&&n.granted&&setTimeout((function(){e.autoStartRecord()}),50)}},{key:"componentWillUnmount",value:function(){var e=this.props.blot;this.timer&&clearInterval(this.timer),e.dontProcessDragAndDrop&&(e.dontProcessDragAndDrop=void 0,e.parent.disallowSideDrop=void 0)}},{key:"setCanRecord",value:function(){this.setState((function(){return{canRecord:!0}}))}},{key:"render",value:function(e,t){var n=t.canRecord,r=this.props,o=r.wrtc,i=r.blot.editor.plugins.i18n;if(this.hasTmpFile){var a=i.get("file.wrtc.hasTmpRecord"),l=i.get("file.wrtc.restore"),c=i.get("file.wrtc.delete"),u=(0,s.h)("div",{className:"file-info"},a,(0,s.h)("a",{className:"records",onClick:this.restoreRecord},l),(0,s.h)("a",{className:"records",onClick:this.deleteRecord},c));return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},u))}if(!n){var d=i.get("file.wrtc.recordOnAnotherDevice"),p=(0,s.h)("div",{className:"file-info"},d);return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},p))}var f=o.stream,h=o.error,m=o.recorder,g=null,y=null,v=null,b=null,_=o.renderTime(this.totalTime);if(!f&&h){var w=i.get("file.wrtc.rec_err_au"),C=i.get("file.wrtc.how_to_fix"),S=(0,s.h)("span",{className:"link",onMouseUp:this.openLink},C);g=(0,s.h)("div",{className:"file-info"},w," ",S)}else if(!f&&!h){var E=(0,s.h)("span",{className:"link",onMouseUp:this.openLink},(0,s.h)(ct.BS3,null)),x=i.get("file.wrtc.allow_micro");g=(0,s.h)("div",{className:"file-info"},x," ",E)}if(!g){var k,O,T=i.get("file.wrtc.startRecording"),A=i.get("file.wrtc.stopRecording"),P=(0,s.h)("div",oB({className:"record-icons",onClick:this.startRecord},(dB(k={},Gr.qZ,T),dB(k,Gr.cD,JSON.stringify({positionFixed:!0})),k)),(0,s.h)(ct.ETU,null)),R=null;if(m){var I,M;if("recording"===m.state)T=i.get("file.wrtc.pauseRecording"),P=(0,s.h)("div",oB({className:"record-icons",onClick:this.pauseRecord},(dB(M={},Gr.qZ,T),dB(M,Gr.cD,JSON.stringify({positionFixed:!0})),M)),(0,s.h)(ct.qV0,null));else if("paused"===m.state){var N;T=i.get("file.wrtc.resumeRecording"),P=(0,s.h)("div",oB({className:"record-icons",onClick:this.resumeRecord},(dB(N={},Gr.qZ,T),dB(N,Gr.cD,JSON.stringify({positionFixed:!0})),N)),(0,s.h)(ct.ETU,null))}R=(0,s.h)("div",oB({className:"record-icons",onClick:this.stopRecord},(dB(I={},Gr.qZ,A),dB(I,Gr.cD,JSON.stringify({positionFixed:!0})),I)),(0,s.h)(ct.Sui,null))}var D=i.get("file.wrtc.cancelRecording");v=(0,s.h)("div",oB({className:"record-icons",onClick:this.cancelRecord},(dB(O={},Gr.qZ,D),dB(O,Gr.cD,JSON.stringify({positionFixed:!0})),O)),(0,s.h)(ct.Jl4,null)),y=(0,s.h)("div",{className:"file-left audio records-buttons"},P,R,v),b=(0,s.h)("div",{className:"file-info"},_)}return(0,s.h)("div",{className:"compact-view-content"},g,y,b)}}])&&iB(t.prototype,n),r&&iB(t,r),i}(s.wA);function fB(e){return(fB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mB(e,t){return(mB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gB(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vB(e);if(t){var o=vB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yB(this,n)}}function yB(e,t){if(t&&("object"===fB(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 vB(e){return(vB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var bB=function(e){!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}}),t&&mB(e,t)}(i,e);var t,n,r,o=gB(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"render",value:function(){return(0,s.h)("div",null,(0,s.h)(pB,{wrtc:this.blot.props.wrtc,blot:this.blot}))}}])&&hB(t.prototype,n),r&&hB(t,r),i}(NL);function _B(e){return(_B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wB(){return(wB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function CB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function EB(e,t,n){return t&&SB(e.prototype,t),n&&SB(e,n),e}function xB(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}}),t&&kB(e,t)}function kB(e,t){return(kB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function OB(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=PB(e);if(t){var o=PB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return TB(this,n)}}function TB(e,t){if(t&&("object"===_B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return AB(e)}function AB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PB(e){return(PB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function RB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IB=function(e){xB(n,e);var t=OB(n);function n(e){var r;return CB(this,n),RB(AB(r=t.call(this,e)),"startRecord",(function(e){var t=r.props,n=t.wrtc,o=t.blot;n.startMediaRecord(),r.timer=setInterval((function(){n.recorder&&"recording"===n.recorder.state&&(r.totalTime=r.totalTime+1),n.getRecordData(r.totalTime),o.render()}),1e3),o.render()})),RB(AB(r),"stopRecord",(function(e){var t=r.props,n=t.wrtc,o=t.blot;n.removeRecord=!0,n.stopMediaRecord(),r.timer&&clearInterval(r.timer),o.render()})),RB(AB(r),"pauseRecord",(function(e){var t=r.props,n=t.wrtc,o=t.blot;n.pauseRecord(),o.render()})),RB(AB(r),"resumeRecord",(function(e){var t=r.props,n=t.wrtc,o=t.blot;n.resumeRecord(),o.render()})),RB(AB(r),"restoreRecord",(function(e){var t=r.props.blot,n=t.props.wrtc;n.removeRecord=!0,n.restoreRecord(t)})),RB(AB(r),"deleteRecord",(function(e){var t=r.props,n=t.wrtc,o=t.blot;r.timer&&clearInterval(r.timer),n.removeRecord=!0,o.remove()})),RB(AB(r),"cancelRecord",(function(e){var t=r.props.blot.editor.plugins.i18n.get("file.wrtc.confirmCancel");confirm(t)&&r.deleteRecord()})),RB(AB(r),"onWrtcInited",(function(){var e=r.props.blot;if(e&&(e.focusableFocus(),e.render()),!r.isManualRecord){var t=document.createElement("div");t.id="mediaRecordCountdown",t.classList.add("media-record-countdown"),document.body.appendChild(t),r.setState((function(){return{countdownNumber:3,countdownDisbaled:!1,countdownNode:t}}),(function(){r.checkCowntdown()}))}})),RB(AB(r),"startMoving",(function(e){var t=r.props.blot,n=e||window.event,o=r.state.videoContentBlock,i=t.scroll.domNode,a=n.clientX,s=n.clientY,l=o.style.top,c=o.style.left,u=parseInt(o.style.width),d=parseInt(o.style.height),p=parseInt(i.style.width),f=parseInt(i.style.height);l=l.replace("px","");var h=a-(c=c.replace("px","")),m=s-l;document.onmousemove=function(e){e=e||window.event;var t=document.body.clientHeight-250,n=document.body.clientWidth-250,o=e.clientX,i=e.clientY,a=o-h,s=i-m;a<20&&(a=20),s<20&&(s=20),s>t&&(s=t),a>n&&(a=n),a+u>p&&(a=p-u),s+d>f&&(s=f-d),r.move(a,s)}})),RB(AB(r),"stopMoving",(function(e){document.onmousemove=function(){}})),RB(AB(r),"onRefVideoContent",(function(e){r.setState((function(){return{videoContentBlock:e}}))})),RB(AB(r),"checkCowntdown",(function(){r.isManualRecord||void 0===r.countdown&&!0!==r.state.countdownDisbaled&&r.setCowntdown()})),RB(AB(r),"openLink",(function(){var e,t=r.props,n=t.wrtc,o=t.blot.editor.plugins.i18n,i=n.stream,a=n.error;!i&&!a||a&&"macSystemError"===a?e=o.get("file.wrtc.how_to_url2"):!i&&a&&(e=o.get("file.wrtc.how_to_url")),e&&window.open(e)})),r.totalTime=0,r}return EB(n,[{key:"move",value:function(e,t){this.setState((function(){return{videoContent:{top:t,left:e}}}))}},{key:"setCowntdown",value:function(){var e=this,t=this.props.blot;this.countdown=setInterval((function(){e.setState((function(e){var t=null;return e.countdownNumber>0&&(t={countdownNumber:e.countdownNumber-1}),t}),(function(){var n=e.state,r=n.countdownNumber,o=n.countdownNode;1===r?t.render():0===r&&(clearInterval(e.countdown),e.setState((function(){return{countdownDisbaled:!0,countdownNode:null}}),(function(){o.remove(),e.startRecord()})))}))}),1e3)}},{key:"isManualRecord",get:function(){var e=this.props.blot,t=!1;return e.blotConfig&&e.blotConfig.wrtc&&e.blotConfig.wrtc.manualRecord&&(t=!0),t}},{key:"componentWillMount",value:function(){var e=this,t=this.props,n=t.wrtc,r=t.blot;r.mediaComponent=this;var o=r.map.get("recordUserId"),i=r.store.userId;n.checkTmpRecord(r).then((function(t){t&&(r.props.wrtc=n.wrtc,e.hasTmpFile=!0),r.render()})),o===i&&this.setCanRecord()}},{key:"componentDidUpdate",value:function(){var e=this.props.wrtc;"screencam"===this.chosenOption?e.additionalWrtc&&!e.additionalWrtc.mediaElemId||e.additionalWrtc&&e.additionalWrtc.mediaElemId&&!e.additionalWrtc.mediaElem&&e.additionalWrtc.initCapture():"camonly"===this.chosenOption&&e.mediaElemId&&!e.mediaElem&&e.initCapture()}},{key:"componentWillUnmount",value:function(){this.destroyComponent()}},{key:"destroyComponent",value:function(){var e=this.props,t=e.wrtc,n=e.blot,r=this.state.countdownNode;t.additionalWrtc&&t.additionalWrtc.stopMediaRecord(),this.timer&&clearInterval(this.timer),this.countdown&&"disabled"!==this.countdown&&clearInterval(this.countdown),n.dontProcessDragAndDrop&&(n.dontProcessDragAndDrop=void 0,n.parent.disallowSideDrop=void 0),n.mediaComponent=void 0,r&&r.remove()}},{key:"setCanRecord",value:function(){this.setState((function(){return{canRecord:!0}}))}},{key:"render",value:function(e,t){var n,r,o,i,a=t.countdownNode,l=t.canRecord,c=this.props,u=c.wrtc,d=c.blot,p=c.cameraNode,f=d.props.fileInterface.props.fileContainer,h=d.editor.plugins.i18n;if(u.isPlugin?i=!0:(n=u.stream,r=u.error,o=u.recorder),this.hasTmpFile){var m=h.get("file.wrtc.hasTmpRecord"),g=h.get("file.wrtc.restore"),y=h.get("file.wrtc.delete"),v=(0,s.h)("div",{className:"file-info"},m,(0,s.h)("a",{className:"records",onClick:this.restoreRecord},g),(0,s.h)("a",{className:"records",onClick:this.deleteRecord},y));return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},v))}if(!l){var b=h.get("file.wrtc.recordOnAnotherDevice"),_=(0,s.h)("div",{className:"file-info"},b);return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},_))}var w=f.classList.contains("no-border");if(i)return w||f.classList.add("no-border"),null;var C=null,S=null,E=null,x=null,k=null,O=u.renderTime(this.totalTime);if(w&&f.classList.remove("no-border"),!n&&!r||r&&"macSystemError"===r){var T=(0,s.h)("span",{className:"link",onMouseUp:this.openLink},(0,s.h)(ct.BS3,null)),A=h.get("file.wrtc.allow_micro");C=(0,s.h)("div",{className:"file-info"},A," ",T)}else if(!n&&r){var P=h.get("file.wrtc.rec_err_vi"),R=h.get("file.wrtc.how_to_fix"),I=(0,s.h)("span",{className:"link",onMouseUp:this.openLink},R);C=(0,s.h)("div",{className:"file-info"},P," ",I)}if(!C){var M,N,D=h.get("file.wrtc.startRecording"),j=h.get("file.wrtc.stopRecording"),L=(0,s.h)("div",wB({className:"record-icons",onClick:this.startRecord},(RB(M={},Gr.qZ,D),RB(M,Gr.cD,JSON.stringify({positionFixed:!0})),M)),(0,s.h)(ct.ETU,null)),B=null;if(o){var F,U;if("recording"===o.state)D=h.get("file.wrtc.pauseRecording"),L=(0,s.h)("div",wB({className:"record-icons",onClick:this.pauseRecord},(RB(U={},Gr.qZ,D),RB(U,Gr.cD,JSON.stringify({positionFixed:!0})),U)),(0,s.h)(ct.qV0,null));else if("paused"===o.state){var H;D=h.get("file.wrtc.resumeRecording"),L=(0,s.h)("div",wB({className:"record-icons",onClick:this.resumeRecord},(RB(H={},Gr.qZ,D),RB(H,Gr.cD,JSON.stringify({positionFixed:!0})),H)),(0,s.h)(ct.ETU,null))}B=(0,s.h)("div",wB({className:"record-icons",onClick:this.stopRecord},(RB(F={},Gr.qZ,j),RB(F,Gr.cD,JSON.stringify({positionFixed:!0})),F)),(0,s.h)(ct.Sui,null))}var V=h.get("file.wrtc.cancelRecording");E=(0,s.h)("div",wB({className:"record-icons",onClick:this.cancelRecord},(RB(N={},Gr.qZ,V),RB(N,Gr.cD,JSON.stringify({positionFixed:!0})),N)),(0,s.h)(ct.Jl4,null)),S=(0,s.h)("div",{className:"file-left audio records-buttons"},L,B,E),x=(0,s.h)("div",{className:"file-info"},O);var z="mediaElem-"+d.id;"screencam"===this.chosenOption?p&&this.renderCamera():"camonly"===this.chosenOption&&(u.mediaElemId=z,k=(0,s.h)("div",{className:"full-view-content full-view-video"},(0,s.h)("video",{className:"mediaElem",id:z,autoPlay:!0,muted:!0}))),!this.isManualRecord&&a&&this.renderCountdown()}return(0,s.h)("div",null,(0,s.h)("div",{className:"compact-view-content"},C,S,x),k)}},{key:"renderCamera",value:function(){var e=this.props.cameraNode;this.renderComponent((0,s.h)(NB,{mediaRecord:this}),e)}},{key:"renderCountdown",value:function(){var e=this.state.countdownNode;this.renderComponent((0,s.h)(MB,{mediaRecord:this}),e)}},{key:"renderComponent",value:function(e,t){(0,s.sY)((0,s.h)(pe.Pj,null,e),t)}}]),n}(s.wA),MB=function(e){xB(n,e);var t=OB(n);function n(e){return CB(this,n),t.call(this,e)}return EB(n,[{key:"render",value:function(){var e=this.props.mediaRecord.state.countdownNumber,t=(0,s.h)("div",{className:"number"},e);return(0,s.h)("div",{id:"record-countdown",className:"record-countdown"},t)}}]),n}(s.wA),NB=function(e){xB(n,e);var t=OB(n);function n(e){return CB(this,n),t.call(this,e)}return EB(n,[{key:"render",value:function(){var e=this.props.mediaRecord,t=e.props,n=t.wrtc,r=t.blot,o="mediaElem-"+r.id,i="mediaElem-"+r.id+"-wrapper";n.additionalWrtc.mediaElemId=o;var a="top:"+(e.state.videoContent&&e.state.videoContent.top||document.body.clientHeight-300)+"px; left:"+(e.state.videoContent&&e.state.videoContent.left||50)+"px;";return(0,s.h)("div",{ref:e.onRefVideoContent,id:i,className:"additional-camera-content camera",style:a,onMouseDown:e.startMoving,onMouseUp:e.stopMoving},(0,s.h)("video",{className:"mediaElem camera",id:o,autoPlay:!0,muted:!0}))}}]),n}(s.wA);function DB(e){return(DB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LB(e,t){return(LB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function BB(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=VB(e);if(t){var o=VB(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return UB(this,n)}}function UB(e,t){if(t&&("object"===DB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return HB(e)}function HB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VB(e){return(VB=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zB=function(e){!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}}),t&&LB(e,t)}(i,e);var t,n,r,o=BB(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=HB(t),a=function(e){t.blot.props.mediaComponent=e},(r="onRef")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.cameraNode=document.createElement("div"),t.cameraNode.id="mediaRecordAdditionalCamera",t.cameraNode.classList.add("media-record-additional-camera"),t}return t=i,(n=[{key:"componentDidMount",value:function(){document.body.appendChild(this.cameraNode)}},{key:"componentWillUnmount",value:function(){this.cameraNode.remove()}},{key:"render",value:function(){return(0,s.h)("div",null,(0,s.h)(IB,{wrtc:this.blot.props.wrtc,blot:this.blot,cameraNode:this.cameraNode,ref:this.onRef}))}}])&&jB(t.prototype,n),r&&jB(t,r),i}(NL);function qB(e){return(qB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GB(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return WB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WB(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function WB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function YB(){return(YB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ZB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $B(e,t,n){return t&&KB(e.prototype,t),n&&KB(e,n),e}function QB(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}}),t&&XB(e,t)}function XB(e,t){return(XB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function JB(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nF(e);if(t){var o=nF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return eF(this,n)}}function eF(e,t){if(t&&("object"===qB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tF(e)}function tF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nF(e){return(nF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oF=function(e){QB(n,e);var t=JB(n);function n(e){var r;return ZB(this,n),rF(tF(r=t.call(this,e)),"renderImagePreview",(function(){return(0,s.h)(iF,{blot:r.blot,editor:r.editor,attachment:r.blot.props.attachment,icon:r.kindsIcons[r.props.fileKind]})})),r}return $B(n,[{key:"render",value:function(){var e=this.props,t=e.fileKind,n=e.fileContainer,r=e.viewMode,o=null,i=null,a=null,l=this.blot.getFileViewer(),c=null,u=this.blot.props.renaming,d=this.blot.getSizeClass({fileContainer:n}),p=this.blot.props.attachment,f=this.editor.mode===gpe;if(p){if(this.editor.getScrollingContainer().removeEventListener("scroll",this.blot.onScrollVideoPlayer),c=this.buildMenu(),a=this.renderFileActionContent(),u)o=this.renderRenaming();else{var h,m=this.renderMenuButton(),g=this.renderAlertIcon(),y=this.renderFetchIcon(),v=null;"mobile"===this.props.blot.editor.options.deviceType||this.blot.isTableCell()||(v=this.renderDownloadButton());var b=["compact-view-content"];!0===p.need_fetch&&b.push("need-fetch"),l&&b.push("viewer-support");var _=this.renderMiddleTruncater(),w=_.fileNameInst,C=_.onFileNameClick,S=_.fileInfoCropNameClass;isNaN(this.blot.props.attachment.size)&&console.warn("invariant: size field in attachment should be numeric, attachment:",this.blot.props.attachment);var E=this.kindsIcons[t];"image"===t&&this.blot.isTableCell()&&(E=this.renderImagePreview);var x=(0,s.h)("div",{className:"file-left"},(0,s.h)(E,null)),k="".concat(this.blot.id,".end"),O="file-name",T=(0,s.h)("span",YB({},(rF(h={},Gr.qZ,this.blot.tooltipText()),rF(h,Gr.cD,JSON.stringify({positionFixed:!0})),h),{onClick:C,className:O,"data-file-export":k}),w);this.blot.disallowDownloading&&(O="file-name disallow",T=(0,s.h)("span",{className:O,"data-file-export":k},w));var A=this.buildSpecMenu(c);o=(0,s.h)("div",{className:b.join(" "),onClick:this.blot.onCompactViewClick,onMouseDown:this.blot.onCompactViewMouseDown},x,(0,s.h)("div",{className:"file-info "+S},(0,s.h)("div",null,T,(0,s.h)("span",{className:"file-size"},"(",vv(this.blot.props.attachment.size),")"))),g,y,v,m,A)}!f&&l&&"full"===r&&(i=this.renderFullView())}return this.setViewMode(r,n),(0,s.h)("div",{className:d,onMouseDown:this.blot.onFileContainerMouseDown},o,i,a)}}]),n}(NL),iF=function(e){QB(n,e);var t=JB(n);function n(e){var r;return ZB(this,n),rF(tF(r=t.call(this,e)),"onRef",(function(e){r.domNode=e})),rF(tF(r),"onImageRef",(function(e){r.imageNode=e})),rF(tF(r),"onClick",(function(e){e.preventDefault(),r.state.focused||r.props.editor.mode!==fpe?r.onFocusedClick():r.setState((function(){return{focused:!0}}))})),rF(tF(r),"onMouseDown",(function(e){if(r.state.focused&&r.props.editor.mode===fpe){var t=e.clientX,n=r.domNode.getBoundingClientRect();if(t>=n.x+n.width-2&&n.x<=n.x+n.width+2){var o=r.domNode.closest(".table-attachment");o.closest("td.cell-attachment").style.pointerEvents="none",e.preventDefault(),e.stopPropagation(),r.setState((function(){var e;return{resize:{cellNode:o,maxWidth:null==o||null===(e=o.getBoundingClientRect())||void 0===e?void 0:e.width}}})),r.onStartResize()}}})),rF(tF(r),"onStartResize",(function(){document.addEventListener("mousemove",r.onResizeDocumentMouseMove,!1),document.addEventListener("mouseup",r.onResizeDocumentMouseUp,!1)})),rF(tF(r),"onResizeDocumentMouseMove",(function(e){var t=r.domNode.getBoundingClientRect(),n=e.clientX-t.x;n<r.defaultWidth&&(n=r.defaultWidth),r.state.resize.maxWidth&&n>r.state.resize.maxWidth&&(n=r.state.resize.maxWidth),r.domNode.style.width=n+"px";var o=r.imageNode.getBoundingClientRect().width;n>o+1&&(r.domNode.style.width=o+"px")})),rF(tF(r),"onResizeDocumentMouseUp",(function(e){document.removeEventListener("mousemove",r.onResizeDocumentMouseMove,!1),document.removeEventListener("mouseup",r.onResizeDocumentMouseUp,!1),r.props.blot.map.set("imagePreviewWidth",r.domNode.getBoundingClientRect().width),setTimeout((function(){r.state.resize.cellNode.closest("td.cell-attachment").style.removeProperty("pointer-events"),r.setState((function(){return{resize:!1}}))}),0)})),rF(tF(r),"onDocumentMouseUp",(function(e){r.state.resize||!r.state.focused||e.target===r.domNode||r.domNode.contains(e.target)||r.setState((function(){return{focused:!1}}))})),r.state={focused:!1,resize:!1},r.defaultWidth=40,r}return $B(n,[{key:"onFocusedClick",value:function(){var e=this.props,t=e.attachment,n=e.editor,r=!1,o=[],i=this.props.blot.domNode.closest(".table-attachment");if(i){var a=i.querySelectorAll(".attachment-item .file");if(a.length){var s,l=GB(a);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(c.id){var u,d,p=n.findById(c.id);if(p&&"image"===(null==p||null===(u=p.props)||void 0===u||null===(d=u.attachment)||void 0===d?void 0:d.type)){var f=Object.assign({},p.props.attachment);f.blotType="TableAttachment",o.push(f),p.disallowDownloading&&(f.disallowDownloading=!0)}}}}catch(e){l.e(e)}finally{l.f()}}}!1!==n.plugins.imageManager.enterFullSize(t.global_id,{onlyForAttachments:o.length?o:null})&&(r=!0),r||n.plugins.lightBox.open(t.url,{onlyForAttachments:o.length?o:null})}},{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onDocumentMouseUp,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onDocumentMouseUp,!1)}},{key:"render",value:function(){var e=this.props,t=e.attachment,n={width:(e.blot.map.get("imagePreviewWidth")||this.defaultWidth)+"px",maxWidth:"100%"};return t?(0,s.h)("div",{className:"image-attachment-wrapper"+(this.state.focused?" focused-image":""),ref:this.onRef,onMouseDown:this.onMouseDown,onClick:this.onClick,style:n},this.state.focused?(0,s.h)("div",{className:"resize-point"}):null,(0,s.h)("img",{src:t.url,style:{maxWidth:"100%",maxHeight:"100%"},ref:this.onImageRef})):this.props.icon}}]),n}(s.wA);function aF(e){return(aF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lF(e,t){return(lF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pF(e);if(t){var o=pF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return uF(this,n)}}function uF(e,t){if(t&&("object"===aF(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dF(e)}function dF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pF(e){return(pF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fF=function(e){!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}}),t&&lF(e,t)}(i,e);var t,n,r,o=cF(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=dF(t),a=function(e){var n=t.props.blot;n&&e&&(n.props.fileInterface=e)},(r="onRef")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.listComponents={audio:(0,s.h)(GL,{ref:t.onRef}),video:(0,s.h)(nB,{ref:t.onRef}),audioRecord:(0,s.h)(bB,{ref:t.onRef}),mediaRecord:(0,s.h)(zB,{ref:t.onRef}),file:(0,s.h)(oF,{ref:t.onRef}),common:(0,s.h)(NL,{ref:t.onRef})},t}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.blot,n=e.fileKind,r=this.listComponents.common;return t.hasAttachment()?t.props.attachment&&(r=this.listComponents[n]?this.listComponents[n]:this.listComponents.file,t.props.attachment.is_fetching&&!1!==t.props.fetchingFile&&(r=this.listComponents.common)):this.listComponents[n]&&(r=this.listComponents[n]),r.props=this.props,r}}])&&sF(t.prototype,n),r&&sF(t,r),i}(s.wA);function hF(e){return(hF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mF(Object(n),!0).forEach((function(t){PF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||bF(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 vF(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=bF(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function bF(e,t){if(e){if("string"==typeof e)return _F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_F(e,t):void 0}}function _F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wF(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function CF(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){wF(i,r,o,a,s,"next",e)}function s(e){wF(i,r,o,a,s,"throw",e)}a(void 0)}))}}function SF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function EF(e,t){return(EF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=AF(e);if(t){var o=AF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return kF(this,n)}}function kF(e,t){if(t&&("object"===hF(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return OF(e)}function OF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t,n){return(TF="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=AF(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function AF(e){return(AF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function PF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RF={"application/pdf":"pdf","audio/vnd.dlna.adts":"audio","audio/x-m4a":"audio","audio/mp4":"audio"},IF={pdf:"full",video:"full"},MF=["pdf","audio"],NF=se([Ec,dg,Pd,nh,Mu,Vu,bd,Eu,tu]),DF=function(e){!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}}),t&&EF(e,t)}(i,e);var t,n,r,o=xF(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),PF(OF(t=o.call(this,e)),"onEditorBodyResize",(function(){t.render(),t.reDrawBuffer()})),PF(OF(t),"onFileMenuIconRef",(function(e){t.fileMenuIconNode=e})),PF(OF(t),"onFileNameTruncaterRef",(function(e){t.fileNameTruncater=e})),PF(OF(t),"onFileFileRenameInputNodeRef",(function(e){t.fileRenameInputNode=e})),PF(OF(t),"processAvailableWidthChangeDebounced",hf()((function(){t.fileNameTruncater&&t.fileNameTruncater.onResize(),t.reDrawBuffer()}),200)),PF(OF(t),"onDrop",function(){var e=CF(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,fe.Dc)(250);case 2:n.id===t.id?t.isVideoFile()&&t.onVideoDrop():t.onOtherBlotDrop(n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),PF(OF(t),"onVideoDrop",(function(){var e,n,r=t.editor.plugins,o=r.ctaManager,i=r.i18n;((null===(e=t.editor.findById(t.id))||void 0===e||null===(n=e.parent)||void 0===n?void 0:n.parent)||null)instanceof $1&&o.getCta(t.id,t.props.attachment.global_id)&&t.processToShowDialog({title:i.get("file.menu.grid"),message:i.get("file.menu.cta_drop_in_grid")})})),PF(OF(t),"onOtherBlotDrop",function(){var e=CF(regeneratorRuntime.mark((function e(n){var r,o,a,s,l,c,u,d,p,f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=OF(t),l=s.editor,c=l.plugins,u=c.ctaManager,d=c.i18n,!(n.isVideoFile&&n.isVideoFile()&&u.getCta(n.id,null===(r=n.props)||void 0===r||null===(o=r.attachment)||void 0===o?void 0:o.global_id))){e.next=4;break}return e.abrupt("return");case 4:p=(null===(a=l.findById(n.id))||void 0===a?void 0:a.parent)||null,f=null,p instanceof $1?f=p:p&&p.parent instanceof $1&&(f=p.parent),f&&(h=[],f.prev&&h.push(f.prev),f.next&&h.push(f.next),h.forEach((function(e){e.map.get("children").forEach((function(e){var n=l.findById(e);if(n instanceof i){var r=n.props,o=n.id;n.isVideoFile()&&r.attachment&&u.getCta(o,r.attachment.global_id)&&t.processToShowDialog({title:d.get("file.menu.grid"),message:d.get("file.menu.cta_exists_in_grid")})}}))})));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),PF(OF(t),"onScrollVideoPlayer",(function(e){e&&(e.preventDefault(),e.stopPropagation()),t.editor.mode!==t.editor.constructor.MODE_EXPORT&&(t.ticking||(window.requestAnimationFrame(function(){this.getBlotPosition(),this.ticking=!1}.bind(OF(t))),t.ticking=!0))})),PF(OF(t),"onFileContainerMouseDown",(function(e){e.target!==t.fileRenameInputNode?e.preventDefault():e.stopPropagation()})),PF(OF(t),"onMenuButtonClick",(function(e){t._swallowMenuClick?t._swallowMenuClick=!1:(t.props.menuOpen||t.editor.emitter.emit("file-menu-open",{menuOpen:!t.props.menuOpen}),t.setProps({menuOpen:!t.props.menuOpen}))})),PF(OF(t),"onMenuButtonMouseDown",(function(e){if(t.isTableCell()||e.stopPropagation(),t.props.menuOpen){t._swallowMenuClick=!0;document.addEventListener("mouseup",(function e(){setTimeout((function(){return t._swallowMenuClick=!1})),document.removeEventListener("mouseup",e,!1)}),!1)}})),PF(OF(t),"onFileClickMenuDownload",(function(){t.onFileDownload(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuOpenInNewTab",(function(){t.onFileOpenInNewTab(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuLinkCopy",(function(){t.onFileLinkCopy(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuRename",(function(){t.onFileRename(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuReplace",(function(){t.onFileReplace(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuDelete",(function(){t.onFileDelete(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuSetCompactView",(function(){t.onFileSetCompactView(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuSetFullView",(function(){t.onFileSetFullView(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuGoFullScreen",(function(){t.onGoFullScreen(),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuAutoplay",(function(){var e=t.props.attachment,n=t.editor.plugins.i18n,r={};if(e.autoplay){r.autoplay=!1;var o=n.get("file.menu.autoplay")+": "+n.get("file.menu.disabled");t.editor.plugins.notificationManager.toast(o)}else{r.autoplay=!0;var i=n.get("file.menu.autoplay")+": "+n.get("file.menu.enabled");t.editor.plugins.notificationManager.toast(i)}t.setProps({attachment:Object.assign({},e,{autoplay:!e.autoplay})}),t.setViewerSyncedState(r),t.updateMotionState()})),PF(OF(t),"onFileClickMenuSoundDefault",(function(){var e=t.props.attachment,n=t.editor.plugins.i18n,r={};if(e.soundDefault){r.mute=!1;var o=n.get("file.menu.sound_default")+": "+n.get("file.menu.enabled");t.editor.plugins.notificationManager.toast(o)}else{r.mute=!0;var i=n.get("file.menu.sound_default")+": "+n.get("file.menu.disabled");t.editor.plugins.notificationManager.toast(i)}t.setProps({attachment:Object.assign({},e,{soundDefault:!e.soundDefault})}),t.setViewerSyncedState(r),t.updateMotionState()})),PF(OF(t),"onFileClickMenuSoundLoop",CF(regeneratorRuntime.mark((function e(){var n,r,o,i,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.props.attachment,r=t.editor.plugins,o=r.i18n,i=r.ctaManager,!t.isVideoFile()||!i.getCta(t.id,n.global_id)||n.loop){e.next=6;break}return e.next=5,t.processToShowDialog({title:o.get("file.menu.sound_loop"),message:o.get("file.menu.cta_loop_message")});case 5:return e.abrupt("return",e.sent);case 6:a={},n.loop?(a.loop=!1,s=o.get("file.menu.sound_loop")+": "+o.get("file.menu.disabled"),t.editor.plugins.notificationManager.toast(s)):(a.loop=!0,l=o.get("file.menu.sound_loop")+": "+o.get("file.menu.enabled"),t.editor.plugins.notificationManager.toast(l)),t.setProps({attachment:Object.assign({},n,{loop:!n.loop})}),t.setViewerSyncedState(a),t.updateMotionState();case 11:case"end":return e.stop()}}),e)})))),PF(OF(t),"onFileClickMenuSoundHideControl",(function(){var e=t.props.attachment,n=t.editor.plugins.i18n,r={};if(e.hideControl){r.hideControl=!1;var o=n.get("file.menu.sound_hideControls")+": "+n.get("file.menu.disabled");t.editor.plugins.notificationManager.toast(o)}else{r.hideControl=!0;var i=n.get("file.menu.sound_hideControls")+": "+n.get("file.menu.enabled");t.editor.plugins.notificationManager.toast(i)}t.setProps({attachment:Object.assign({},e,{hideControl:!e.hideControl})}),t.setViewerSyncedState(r),t.updateMotionState()})),PF(OF(t),"onFileClickMenuPlayerShowTopPanel",(function(){var e=t.props.attachment,n=t.editor.plugins.i18n,r={};if(e.showPanel){r.showPanel=!1;var o=n.get("file.menu.sound_showPanel")+": "+n.get("file.menu.disabled");t.editor.plugins.notificationManager.toast(o)}else{r.showPanel=!0;var i=n.get("file.menu.sound_showPanel")+": "+n.get("file.menu.enabled");t.editor.plugins.notificationManager.toast(i)}t.setProps({attachment:Object.assign({},e,{showPanel:!e.showPanel})}),t.setViewerSyncedState(r),t.updateMotionState()})),PF(OF(t),"onFileClickMenuSoundVideoShadow",(function(){var e=t.props.attachment,n=t.editor.plugins.i18n,r={};if(e.videoShadow){r.videoShadow=!1;var o=n.get("file.menu.shadow_video")+": "+n.get("file.menu.disabled");t.editor.plugins.notificationManager.toast(o)}else{r.videoShadow=!0;var i=n.get("file.menu.shadow_video")+": "+n.get("file.menu.enabled");t.editor.plugins.notificationManager.toast(i)}t.setProps({attachment:Object.assign({},e,{videoShadow:!e.videoShadow})}),t.setViewerSyncedState(r),t.updateMotionState()})),PF(OF(t),"onFileClickMenuDisallowNote",(function(){t.disallowNote?t.map.set("disallowNoteDownloading",!1):t.map.set("disallowNoteDownloading",!0),t.hideFileMenu()})),PF(OF(t),"onFileClickMenuDisallowShare",(function(){t.disallowShare?t.map.set("disallowShareDownloading",!1):t.map.set("disallowShareDownloading",!0),t.hideFileMenu()})),PF(OF(t),"processToShowDialog",function(){var e=CF(regeneratorRuntime.mark((function e(n){var r,o,i,a,l,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.title,o=n.message,i=OF(t),a=i.editor,l=a.plugins,c=l.popupManager,l.i18n,u=null,e.next=6,new Promise((function(e){u=(0,s.h)(Gn.Z,{onCancel:function(){e(!0)},onConfirm:function(){e(!1)},title:r,message:o,confirmText:"Ok",editor:a}),c.dialog(u)}));case 6:u=null,c.dialog(null);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),PF(OF(t),"onFileClickMenuPreviewVideo",CF(regeneratorRuntime.mark((function e(){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props.attachment,r=OF(t),r.id,r.editor,o=t.getSyncedState(),e.next=5,t.editor.plugins.videoPreview.onEditPreview(o.videoPreview||{videoAttachmentId:n.global_id,textOverlay:null,activePreviewType:"first_frame",previews:{}});case 5:(i=e.sent)&&(i.videoAttachmentId=n.global_id,console.log("setNewState",i),t.setViewerSyncedState({videoPreview:i}));case 7:case"end":return e.stop()}}),e)})))),PF(OF(t),"onFileClickMenuMotionVideo",CF(regeneratorRuntime.mark((function e(){var n,r,o,i,a,s,l,c,u,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.props.attachment,r=OF(t),o=r.id,i=r.editor,a=i.plugins,s=a.i18n,!a.ctaManager.getCta(o,n.global_id)||n.motionVideo){e.next=7;break}return e.next=6,t.processToShowDialog({title:s.get("file.menu.motion_video"),message:s.get("file.menu.cta_motion_video_message")});case 6:return e.abrupt("return",e.sent);case 7:n.motionVideo?(l={motionVideo:!1,autoplay:!1,mute:!1,loop:!1,videoShadow:!1,hideControl:!1,showPanel:!0},t.setViewerSyncedState(l),c=s.get("file.menu.motion_video")+": "+s.get("file.menu.disabled"),t.editor.plugins.notificationManager.toast(c),t.setProps({attachment:Object.assign({},n,l)})):(u={motionVideo:!0,autoplay:!0,mute:!0,loop:!0,videoShadow:!0,hideControl:!0,showPanel:!1},t.setViewerSyncedState(u),d=s.get("file.menu.motion_video")+": "+s.get("file.menu.enabled"),t.editor.plugins.notificationManager.toast(d),t.setProps({attachment:Object.assign({},n,u)}));case 8:case"end":return e.stop()}}),e)})))),PF(OF(t),"onFileClickMenuPrint",(function(){t.onFilePrint(),t.hideFileMenu()})),PF(OF(t),"onFileDownloadClick",(function(e){e.preventDefault(),e.stopPropagation(),t.onFileDownload()})),PF(OF(t),"onFileDownload",(function(){t.editor.plugins.attachmentManager.download(t.props.attachment)||aj()(t.props.attachment.url)})),PF(OF(t),"onFileNameClick",(function(e){!1!==t.blotConfig.allowDownloadByFileNameClick&&(e.stopPropagation(),t.onFileDownload())})),PF(OF(t),"onFileLinkCopy",(function(){t.editor.plugins.i18n;t.editor.plugins.copyManager.copy(ll(t.props.attachment.url))})),PF(OF(t),"onFileMenuClick",(function(e){e.marked="ok",t.setProps({menuOpen:!1})})),PF(OF(t),"onFileReplace",(function(){new Lv(Lv.type,{blot:OF(t),dontPutCaretAfter:!0},t.editor).run({})})),PF(OF(t),"onFileRename",(function(){t.setProps({renaming:!0})})),PF(OF(t),"onFileDelete",(function(e){new yo(yo.type,{},t.editor).run({processingBlots:[OF(t)]})})),PF(OF(t),"onFileOpenInNewTab",(function(){window.open(t.props.attachment.url,"noopener")})),PF(OF(t),"onFileSetCellView",(function(){t.map.set("view_mode","cell")})),PF(OF(t),"onFileSetCompactView",(function(){t.map.set("view_mode","compact")})),PF(OF(t),"onFileSetFullView",(function(){t.map.set("view_mode","full")})),PF(OF(t),"onFilePrint",(function(){t.setProps({isPrinting:!0})})),PF(OF(t),"onFilePrinted",(function(){t.setProps({isPrinting:!1})})),PF(OF(t),"onFilePrintAbort",(function(){t.setProps({isPrinting:!1})})),PF(OF(t),"onGoFullScreen",(function(){t.setProps({fullscreen:{enable:!0}}),t.onViewerGoFullScreen()})),PF(OF(t),"onViewerGoFullScreen",(function(){t.setProps({isViewerFullscreen:!0})})),PF(OF(t),"onFullScreenClose",(function(){t.setProps({fullscreen:null,isViewerFullscreen:!1})})),PF(OF(t),"onFullScreenKeyDown",(function(e){e.preventDefault(),e.stopPropagation(),console.log("On fullscreen keydown")})),PF(OF(t),"onCompactViewClick",(function(e){e.stopPropagation();var n=["file-alert","file-fetch","file-menu-icon","file-menu"];if(!1!==t.blotConfig.allowDownloadByFileNameClick&&(n.push("truncated-text"),n.push("file-name")),e.target.closest){var r,o=vF(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(e.target.closest("."+i))return}}catch(e){o.e(e)}finally{o.f()}}t.props.renaming||(t.isTableCell()||t.onCompactViewClickAction&&t.onCompactViewClickAction(),t.blotConfig.toggleIfFocused||t.blotConfig.disableToggleViewModeOnClick||t.onUserOpenFileIntent())})),PF(OF(t),"onCompactViewMouseDown",(function(e){t.editor&&"mobile"===t.editor.options.keyboardMode&&t.editor.blur(),t.blotConfig.toggleIfFocused&&t.props.focused&&t.onUserOpenFileIntent()})),PF(OF(t),"onFileAlertClick",(function(e){t.editor.plugins.popupManager.customAlert(t.props.attachment.alert)})),PF(OF(t),"onFileClickFetch",(function(e){t.editor.plugins.attachmentManager.fetch(t.props.attachment),t.props.fetchingFile||t.setProps({fetchingFile:!0})})),PF(OF(t),"onFileAbortClick",(function(e){e.preventDefault(),e.stopPropagation(),t.onTaskAbortClick(),t.remove()})),PF(OF(t),"onFileAbortFetchClick",(function(){t.editor.plugins.attachmentManager.abortFetch(t.props.attachment),t.props.attachment.is_fetching=!1,t.setProps({fetchingFile:!1})})),PF(OF(t),"onFilePlayClick",(function(e){var n=t.props.fileInterface;t.hasMusicAttachment&&(t.props.audioPlayer?t.props.audioPlayer.isPlaying()?t.props.audioPlayer.pause():n.state.initPlayer?(n.clearPlayer(),t.props.audioPlayer.destroy()):t.props.audioPlayer.play():t.initAudioPlayer())})),PF(OF(t),"setViewerSyncedState",(function(e){var n=t.map.get("syncedViewerState");e.hasOwnProperty("showPanel")&&n.get("hideControls")&&(n.delete("hideControls"),n.has("hideControl")||n.set("hideControl",!0)),e.hasOwnProperty("hideControl")&&n.get("hideControls")&&(n.delete("hideControls"),n.has("showPanel")||n.set("showPanel",!1));var r=n.toJSON();t.editor.store.transaction((function(){for(var t in e)r[t]!==e[t]&&n.set(t,e[t])}))})),PF(OF(t),"setSyncedInterfaceState",(function(e){var n=t.map.get("syncedInterfaceState");n||(t.map.set("syncedInterfaceState",new t.store.types.Map),n=t.map.get("syncedInterfaceState"));var r=n.toJSON();t.editor.store.transaction((function(){for(var t in e)r[t]!==e[t]&&n.set(t,e[t])}))})),PF(OF(t),"onMenuWantsToClose",(function(){t.setProps({menuOpen:!1})})),PF(OF(t),"onRenameApply",function(){var e=CF(regeneratorRuntime.mark((function e(n,r){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.props.attachment,i=!1,!n){e.next=6;break}return e.next=5,t.editor.plugins.attachmentManager.renameAttachment(o.global_id,n);case 5:i=e.sent;case 6:i?t.setProps({attachment:Object.assign({},o,{display_name:n}),renaming:!1}):t.setProps({renaming:!1}),!r&&t.scroll.selection.isWithinNode(t.domNode)&&t.setCaretInTrap();case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),PF(OF(t),"onRenameAbort",(function(){t.setProps({renaming:!1})})),PF(OF(t),"onFileMenuOpenEvent",(function(e){e.menuOpen&&t.props.menuOpen&&t.hideFileMenu()})),PF(OF(t),"getViewAs",(function(){return t.map.get("view_as")||t.viewAsDefault})),PF(OF(t),"onViewPdfAsChange",(function(e){return function(n){n&&n.stopPropagation(),t.map.set("view_as",e),t.hideFileMenu()}})),PF(OF(t),"uploadRecord",(function(e){e.detail&&Ej.uploadRecord(OF(t),e)})),PF(OF(t),"toogleMute",(function(e){e&&e.preventDefault(),t.props.audioPlayer&&(t.props.isMuted?(t.props.audioPlayer.updateMute(!1),t.setProps({isMuted:!1})):(t.props.audioPlayer.updateMute(!0),t.setProps({isMuted:!0})))})),PF(OF(t),"onFileInUploaderConvertToFile",(function(){var e=ie(OF(t),(function(e){return"uploaderWrapper"===e.constructor.blotName}));if(e){var n=e.basicBlot,r=n.container;r.moveChild(t.id,r.getChildIndex(n.id)+1)}})),PF(OF(t),"onFileConvertToImage",(function(){if(t.inUploader()){var e=ie(OF(t),(function(e){return"uploaderWrapper"===e.constructor.blotName}));if(e){var n=e.basicBlot;n.container.addBlot("image",{attachmentGlobalId:t.map.get("attachmentGlobalId"),after:n.id}),t.remove()}}else t.editor.exec("convert-blot",{type:"image",attachmentGlobalId:t.map.get("attachmentGlobalId")})})),PF(OF(t),"onGetTextFromImage",(function(){var e=t.editor.blotsConfig.image;if(e.processGetTextFromImage)e.processGetTextFromImage(t.map.get("attachmentGlobalId"));else{var n=e.ocr.getTextForAttachment(t.map.get("attachmentGlobalId"));if(!1!==n){var r=(0,s.h)(Uy,{textPromise:n,attachment:t.props.attachment,editor:t.editor});t.editor.plugins.popupManager.dialog(r),t.onMenuWantsToClose()}}})),PF(OF(t),"fileMapObserver",(function(e,n){var r=n.local,o=yF(e,1)[0].target,i=["loop","motionVideo","autoplay","videoShadow","hideControl","showPanel"];r||o.forEach((function(e,n){i.includes(n)&&(t.props.attachment[n]=e)})),t.render()})),t.attachmentConfig.allowEmbedUrl=!1,t.getMemoizedSyncedState=Ha()((function(e){return e}),{isDeepEqual:!0,maxSize:3}),t.addCanExecActions(["delete","backspace","set-audio-player-color"]),t.fileMenuIconNode=null,t.fileRenameInputNode=null,t.isSeparableByClickApplicable=!0,t.fileNameTruncater=null,t.kindsDefaultViewModes=Object.assign({},IF),t.ticking=!1,t.viewAsDefault="single",t.pdfNumPages=0,t.props.fetchingFile=null,t}return t=i,r=[{key:"createBlot",value:function(e){var t=a().create("fileWrapper");return this.addCaretTrap(e,t.domNode),t}},{key:"create",value:function(e){var t=TF(AF(i),"create",this).call(this);t.classList.add("file");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("file-container"),t.appendChild(n),t}}],(n=[{key:"blotDidUpdate",value:function(e){this.props.maxAvailableWidth!==e.maxAvailableWidth&&e.maxAvailableWidth&&(console.warn("max width updated",e.maxAvailableWidth),this.processAvailableWidthChangeDebounced()),this.props.attachment&&e.attachment&&(this.props.attachment.need_fetch!==e.attachment.need_fetch&&!1===this.props.attachment.need_fetch&&(this.setProps({fetchingFile:!1}),this.toggleViewMode("full")),this.props.attachment.is_fetching!==e.attachment.is_fetching&&!1===this.props.attachment.is_fetching&&!0===this.props.fetchingFile&&this.setProps({fetchingFile:!1}))}},{key:"reDrawBuffer",value:function(){var e=this.props.fileInterface;this.hasMusicAttachment&&this.props.audioPlayer&&e.state.drawBuffer&&this.props.audioPlayer.drawBuffer()}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=TF(AF(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observeDeep(this.map,this.fileMapObserver);var o=this.editor.getScrollingContainer();o.addEventListener("scroll",this.onScrollVideoPlayer),this.editor.on("file-menu-open",this.onFileMenuOpenEvent),this.render(),this.editor.on("editorBodyResize",this.onEditorBodyResize),setTimeout(this.getBlotPosition.bind(this),300);var a=this.blotConfig,s=a.showMenuItemOpenInNewTab,l=void 0===s||s,c=a.showRightMenuItemCopyLink,u=void 0===c||c,d=a.showLeftMenuItemCopyLink,p=void 0===d||d,f=a.showMenuItemGetTextFromImage,h=void 0===f||f;this.showMenuItemOpenInNewTab=l,this.showRightMenuItemCopyLink=u,this.showLeftMenuItemCopyLink=p,this.showMenuItemGetTextFromImage=h,Ej.onAttach(this),this.onAttachUploadResoursesIfNeed(),this.isSelectable=!this.inUploader(),this.editor.emitter.on("drop",this.onDrop)}},{key:"detach",value:function(){if(TF(AF(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=TF(AF(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserveDeep(this.map,this.fileMapObserver);var o=this.editor.getScrollingContainer();o.removeEventListener("scroll",this.onScrollVideoPlayer),this.editor.off("editorBodyResize",this.onEditorBodyResize),this.editor.off("file-menu-open",this.onFileMenuOpenEvent),Ej.onDetach(this),this.editor.emitter.off("drop",this.onDrop)}},{key:"embedAttachmentUrl",value:function(e){TF(AF(i.prototype),"embedAttachmentUrl",this).call(this,e),this.map.get("src")&&this.map.delete("src"),this.render()}},{key:"getBlotPositionShare",value:function(){this.getBlotPosition(250)}},{key:"getBlotPosition",value:function(e){if(document&&document.elementFromPoint){var t=this.editor.getScrollingContainer(),n=this.editor.scroll.domNode.getBoundingClientRect().x,r=t.getBoundingClientRect().y;n+=10,r+=e||100;for(var o=document&&document.elementFromPoint(n,r);o===this.editor.scroll.domNode;)r+=1,o=document&&document.elementFromPoint(n,r);if(o&&("video-loader"===o.className||"compact-view-content file-uploading"===o.className||"note-text-loader ng-scope"===o.className))return setTimeout(this.getBlotPosition.bind(this),200),!1;if(o&&"nns-breadcrumbs-prev"===o.className)return setTimeout(this.getBlotPositionShare.bind(this),200),!1;if(o&&"grid grid_50"===o.className){var i=o.getElementsByClassName("video-player-playpause-big")[0];if(i&&i.dataset.videoblotid)this.videoPlayAuto(i.dataset.videoblotid);else{var a=o.nextSibling;if(a){var s=a.getElementsByClassName("video-player-playpause-big")[0];s&&s.dataset.videoblotid&&this.videoPlayAuto(s.dataset.videoblotid)}}}else if(o&&"compact-view-content viewer-support"===o.className){var l=o.parentNode.getElementsByClassName("video-player-playpause-big")[0];l&&l.dataset.videoblotid&&this.videoPlayAuto(l.dataset.videoblotid)}else if(o&&"video-player-controls"===o.className){var c=o.getElementsByClassName("video-player-playpause-big")[0];c.classList.contains("hidden")&&c.classList.remove("hidden"),c&&c.dataset.videoblotid&&this.videoPlayAuto(c.dataset.videoblotid)}else!o||"video-player-playpause-big"!==o.className&&"video-player-playpause-big hidden"!==o.className?o&&!o.dataset.videoblotid&&this.videoPauseAuto():o.dataset.videoblotid&&this.videoPlayAuto(o.dataset.videoblotid)}}},{key:"videoPauseAuto",value:function(){}},{key:"videoPlayAuto",value:function(e){}},{key:"getWrapper",value:function(){return this.parent}},{key:"handleKeyDown",value:function(e){return!(!this.props.videoPlayer||!this.props.videoPlayer.handleKeyDown)&&this.props.videoPlayer.handleKeyDown(e)}},{key:"getFileViewer",value:function(){var e=this.blotConfig.viewers,t=this.props.attachment&&this.props.attachment.mime;if("audio/vnd.dlna.adts"===t&&(t="audio/aac"),e){var n,r,o=vF(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i.mime.includes(t)){if("AudioWiewer"!==i.class){n=i;break}if(i.options.audioPlayerEnabled){n=i;break}}}}catch(e){o.e(e)}finally{o.f()}return n}}},{key:"hasFileViewer",value:function(){return Boolean(this.getFileViewer())}},{key:"getFileKind",value:function(){return this.props.attachment?(RF[this.props.attachment.mime]&&(this.props.attachment.type=RF[this.props.attachment.mime]),this.props.attachment.type):this.audioRecord?"audioRecord":this.mediaRecord?"mediaRecord":"resolving"}},{key:"onFocusableBlur",value:function(){TF(AF(i.prototype),"onFocusableBlur",this)&&TF(AF(i.prototype),"onFocusableBlur",this).call(this),this.setProps({menuOpen:!1,renaming:!1})}},{key:"hideFileMenu",value:function(){this.setProps({menuOpen:!1})}},{key:"isTableCell",value:function(){return"tableCell"===this.map.get("mode")}},{key:"embeddableFocus",value:function(){this.isTableCell()||TF(AF(i.prototype),"embeddableFocus",this).call(this)}},{key:"updateMotionState",value:function(){var e=this.props.attachment,t=e.autoplay,n=e.hideControl,r=e.loop,o=e.videoShadow,i=e.motionVideo,a=e.showPanel;t&&n&&r&&o&&!i&&!a?(this.setProps({attachment:Object.assign({},e,{motionVideo:!0})}),this.setViewerSyncedState({motionVideo:!0})):i&&(this.setProps({attachment:Object.assign({},e,{motionVideo:!1})}),this.setViewerSyncedState({motionVideo:!1}))}},{key:"deleteSingeBlot",value:function(){this.onFileClickMenuDelete()}},{key:"onUserOpenFileIntent",value:function(){this.getFileViewer()?this.toggleViewMode():this.blotConfig.open&&(this.props.attachment.need_fetch||this.blotConfig.open(this.props.attachment))}},{key:"toggleViewMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!this.dontToggleViewMode&&!this.props.attachment.need_fetch){var t,n=this.getFileKind(),r=this.getFileViewer(),o=this.getFileViewMode(n);r&&(t=""!==e?e:"compact"===o?"full":"compact",this.map.set("view_mode",t))}}},{key:"clearAttachment",value:function(){var e=this;this.batchPropsUpdate((function(){e.store.transaction((function(){e.map.set("syncedViewerState",new e.store.types.Map),e.map.set("syncedInterfaceState",new e.store.types.Map),e.map.delete("imagePreviewWidth"),TF(AF(i.prototype),"clearAttachment",e).call(e)}))}))}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t={},n=this.props.fileInterface;return n&&n.interfaceState&&(t=n.interfaceState),a().query(this.map.get("type")).initMap(e,this.store,gF({attachmentGlobalId:this.map.get("attachmentGlobalId")},t)),e.get("id")}},{key:"getSyncedState",value:function(){return this.getMemoizedSyncedState(this.map.get("syncedViewerState").toJSON())}},{key:"getSyncedInterfaceState",get:function(){return this.getMemoizedSyncedState(this.map.get("syncedInterfaceState")&&this.map.get("syncedInterfaceState").toJSON())}},{key:"getFileViewMode",value:function(e){if(e=e||this.getFileKind(),this.props.attachment&&this.props.attachment.need_fetch)return"compact";var t=this.map.get("view_mode");return t||(this.blotConfig.defaultViewMode?this.blotConfig.defaultViewMode:this.kindsDefaultViewModes[e]?this.kindsDefaultViewModes[e]:"compact")}},{key:"getSizeClass",value:function(e){var t=e.fileContainer.offsetWidth;return t<160?"file-too-small":t<300?"file-small":""}},{key:"getSpecialBlotMenu",value:function(){if(!this.props.attachment)return{};var e=this.editor.plugins.i18n,t=this.getFileViewer(),n=this.getFileKind(),r=this.editor.mode===mpe,o=r&&this.editor.options.isShare,i={};if(this.disallowDownloading||(this.showMenuItemOpenInNewTab&&(i["open-in-new-tab"]={label:(0,s.h)(pe.xv,{id:"file.menu.open_in_new_tab"}),index:1,action:"onFileClickMenuOpenInNewTab"}),this.showRightMenuItemCopyLink&&(i.copyLink={label:(0,s.h)(pe.xv,{id:"file.menu.copy_link"}),index:2,action:"onFileClickMenuLinkCopy"}),i.download={label:(0,s.h)(pe.xv,{id:"file.menu.download"}),index:0,action:"onFileClickMenuDownload"}),t&&(t.class.supportsFullscreen&&("full"!==this.getFileViewMode()||this.videoError||(i["go-fullscreen"]={label:(0,s.h)(pe.xv,{id:"file.menu.expand_in_full_window"}),index:3,action:"onFileClickMenuGoFullScreen"})),t.class.printable&&!this.disallowDownloading&&(i.print={label:(0,s.h)(pe.xv,{id:"file.menu.print"}),index:4,action:"onFileClickMenuPrint"})),this.isImageFile()&&!this.isTableCell()&&(i["convert-to-image"]={label:(0,s.h)(pe.xv,{id:"file.menu.convert_to_image"}),index:5,action:"onFileConvertToImage"},void 0!==(this.editor.blotsConfig.image||{}).ocr&&this.showMenuItemGetTextFromImage)){var a=new(bo()),l=this.editor.plugins.featuresAvailabilityPlugin.getFeatureIcon("get-text-from-image",a);i["get-text-from-image"]={label:(0,s.h)("div",{onMouseEnter:function(){a.emit("enter",{})},onMouseLeave:function(){a.emit("leave",{})}},(0,s.h)(pe.xv,{id:"file.menu.get_text_from_image"}),l),index:6,action:"onGetTextFromImage"}}if(r||o||this.parentReadOnly||(this.inUploader()&&(i["convert-to-file"]={label:(0,s.h)(pe.xv,{id:"file.menu.convert_to_file"}),index:5,action:"onFileInUploaderConvertToFile"}),i.rename={label:(0,s.h)(pe.xv,{id:"file.menu.rename"}),index:7,action:"onFileClickMenuRename"},this.inUploader()||(i.replace={label:(0,s.h)(pe.xv,{id:"file.menu.replace"}),index:8,action:"onFileClickMenuReplace"}),i.delete={label:(0,s.h)(pe.xv,{id:"file.menu.delete"}),index:9,action:"onFileClickMenuDelete"}),r&&!this.disallowDownloading&&"audio"===n&&t&&(i={download:{label:(0,s.h)(pe.xv,{id:"file.menu.download"}),index:0,action:"onFileClickMenuDownload"}}),!o&&!this.parentReadOnly&&this.blotConfig.downloading&&"mobile"!==this.editor.options.keyboardMode){var c=ct.EZi,u=ct.EZi;this.disallowNote&&(c=ct.Zlx),this.disallowShare&&(u=ct.Zlx);var d={};d.for_note={label:e.get("file.menu.for_note"),index:0,group:0,action:"onFileClickMenuDisallowNote",icon:c},d.for_share={label:e.get("file.menu.for_share"),index:1,group:0,action:"onFileClickMenuDisallowShare",icon:u},i.disallowDownloading={label:e.get("file.menu.disallow_download"),index:0,submenuOptions:{anchorNode:null,anchorOptions:{boundariesElement:this.editor.getScrollingContainer()}},submenu:d}}if(this.inUploader()){var p,f=ie(this,(function(e){return"uploaderWrapper"===e.constructor.blotName}));f&&((null==f||null===(p=f.basicBlot)||void 0===p?void 0:p.isEditable())||(delete i["convert-to-image"],delete i["convert-to-file"],delete i.disallowDownloading,delete i.rename,delete i.delete))}return i}},{key:"getAdditionlSpecialBlotMenu",value:function(){var e=this.getFileViewer(),t={};return e&&e.class.hasAdditionMenuItems&&(t=gF(gF({},t),e.class.getMenuItems(this,e.options))),t}},{key:"setPdfNumPages",value:function(e){this.pdfNumPages=e}},{key:"tooltipText",value:function(){return this.editor.plugins.i18n.get("file.download_file",{name:this.props.attachment.display_name})}},{key:"tooltipTextAudio",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"play",t=this.editor.plugins.i18n;return e="stop"===e?"file.stop_file":"file.listen_file",t.get(e,{name:this.props.attachment.display_name})}},{key:"makeUid",value:function(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*r));return t}},{key:"disallowNote",get:function(){return this.map.get("disallowNoteDownloading")}},{key:"disallowShare",get:function(){return this.map.get("disallowShareDownloading")}},{key:"disallowDownloading",get:function(){return this.editor.mode!==this.editor.constructor.MODE_EDIT&&this.editor.mode!==this.editor.constructor.MODE_READONLY||this.editor.options.isShare?!(this.editor.mode!==this.editor.constructor.MODE_READONLY||!this.editor.options.isShare||!this.disallowShare):!!this.disallowNote}},{key:"disallowFileMenuIcon",get:function(){var e=this.getFileViewer(),t=this.getFileKind();return!(e&&!this.disallowDownloading&&-1!==MF.indexOf(t))}},{key:"render",value:function(){var e=this;TF(AF(i.prototype),"render",this).call(this);var t=this.getWrapper();t&&t.getBlotName()===qF.blotName&&this.getWrapper().render();var n=this.domNode.querySelector(".file-container"),r=this.getFileKind(),o=this.getFileViewMode(r),a=(0,s.h)(fF,{blot:this,fileKind:r,viewMode:o,fileContainer:n});if((0,s.sY)((0,s.h)(pe.Pj,null,a),n),this.fileNameTruncater&&!this.fileNameTruncater.initTruncateComplete&&setTimeout((function(){var t;return null===(t=e.fileNameTruncater)||void 0===t?void 0:t.init()}),0),this.hasMusicAttachment)if(this.props.audioPlayer){var l=this.domNode.querySelector("#wf-audio-"+this.props.audioPlayer.uid);l&&l.innerHTML||this.props.audioPlayer.destroy()}else{var c=this.domNode.querySelector("#wf-audio-container-"+this.id);c&&!c.classList.contains("hidden")&&(c.classList.add("hidden"),this.domNode.querySelector(".audioInfo").removeAttribute("style"))}}},{key:"afterMove",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.props.audioPlayer){var r=!1,o=this.scroll.domNode.querySelector("#wf-audio-"+this.props.audioPlayer.uid);o&&o.innerHTML||(r=!0),(0===Object.keys(n).length||e instanceof $1&&r)&&this.props.audioPlayer.destroy()}}},{key:"initAudioPlayer",value:function(){var e=this.props.fileInterface,t=this.editor.plugins.editorStyle.getTheme();"undefined"!==t&&void 0!==t||(t="light");var n={blot:this,domNode:this.domNode,global_id:this.props.attachment.global_id,theme:t,url:this.props.attachment.url,fileInterface:e};this.props.audioPlayer=new uj,this.props.audioPlayer.initPlayer(n)}},{key:"getVolume",value:function(){return this.map.get("volume")||50}},{key:"updateVolume",value:function(e){this.map.set("volume",e),e/=100,this.props.audioPlayer&&(this.props.audioPlayer.updateVolume(e),0===e?(this.props.isMuted=!1,this.toogleMute()):(this.props.isMuted=!0,this.toogleMute()))}},{key:"isImageFile",value:function(){var e=this.props.attachment;return!(!e||!e.mime||0!==e.mime.indexOf("image/"))}},{key:"isVideoFile",value:function(){var e=this.props.attachment;return!(!e||!e.mime||0!==e.mime.indexOf("video/"))}},{key:"inTableCell",value:function(){var e=this.props.attachment;return!(!e||!e.mime||0!==e.mime.indexOf("image/"))}},{key:"inUploader",value:function(){return Boolean(ie(this,(function(e){return"uploaderContent"===e.constructor.blotName})))}},{key:"isDefaultSoundAvailable",value:function(){return void 0===this.props.attachment.autoplay||!this.props.attachment.autoplay}},{key:"commentImageBlot",value:function(){var e=!1;e||!1!==this.editor.plugins.imageManager.enterFullSize(this.props.attachment.global_id,{commentMode:!0})&&(e=!0),e||this.editor.plugins.lightBox.open(this.props.attachment.url)}},{key:"contextMenu",get:function(){var e=TF(AF(i.prototype),"contextMenu",this);if(this.mediaRecord||this.audioRecord){var t={};return t.add=e.add,t.add.submenu.left=!1,t.add.submenu.right=!1,t.delete=e.delete,t}var n=this.editor.plugins.i18n,r=this.getSyncedState(),o=this.getFileViewer(),a=this.props.fileInterface;if(this.showLeftMenuItemCopyLink||delete e.copyLink,e.addCaption.index=-4,this.isImageFile()&&(e["turn-into"]={label:n.get("block_menu.convert_to.name"),index:-3,group:0,action:!1,submenu:{turnToImage:{label:n.get("block_menu.convert_to.image"),index:0,group:0,action:"convert-blot",actionParams:{type:"image",attachmentGlobalId:this.map.get("attachmentGlobalId"),caption:this.map.get("caption")},actionExec:!0,icon:ct.Zay}}}),a&&a.contextMenu&&Object.assign(e,a.contextMenu),o&&this.isVideoFile()&&this.editor.plugins.videoPreview.isEditAvailable()){var l=this.editor.plugins,c=new(bo()),u=l.featuresAvailabilityPlugin.getFeatureIcon("preview-video",c);e["video-preview"]={label:(0,s.h)("div",{onMouseEnter:function(){c.emit("enter",{})},onMouseLeave:function(){c.emit("leave",{})}},n.get("file.menu.preview_video"),u),index:2,group:0,action:"onFileClickMenuPreviewVideo"}}if(o&&this.isVideoFile()&&o.options&&o.options.motion){var d=ct.Zlx;(this.props.attachment.autoplay||r.autoplay)&&(this.props.attachment.autoplay||(this.props.attachment.autoplay=!0),d=ct.EZi);var p=ct.EZi;(this.props.attachment.soundDefault||r.mute||!this.isDefaultSoundAvailable())&&(this.props.attachment.soundDefault||(this.props.attachment.soundDefault=!0),p=ct.Zlx);var f=ct.Zlx;(this.props.attachment.loop||r.loop)&&(this.props.attachment.loop||(this.props.attachment.loop=!0),f=ct.EZi);var h=ct.Zlx;(this.props.attachment.hideControl||r.hideControls||r.hideControl)&&(this.props.attachment.hideControl||(this.props.attachment.hideControl=!0),h=ct.EZi);var m=ct.Zlx;!this.props.attachment.showPanel&&!r.showPanel||r.hideControls||(this.props.attachment.hasOwnProperty("showPanel")||(this.props.attachment.showPanel=!0),m=ct.EZi);var g=ct.Zlx;(this.props.attachment.videoShadow||r.videoShadow)&&(this.props.attachment.videoShadow||(this.props.attachment.videoShadow=!0),g=ct.EZi);var y=ct.Zlx;(this.props.attachment.motionVideo||r.motionVideo)&&(this.props.attachment.motionVideo||(this.props.attachment.motionVideo=!0),y=ct.EZi),e["video-params"]={label:n.get("file.menu.video_params"),index:2,group:0,action:!1,submenu:{motion:{icon:y,label:n.get("file.menu.motion_video"),index:1,group:0,action:"onFileClickMenuMotionVideo"},autoplay:{icon:d,label:n.get("file.menu.autoplay"),index:2,group:1,action:"onFileClickMenuAutoplay"},sound_default:{icon:p,label:n.get("file.menu.sound_default"),index:3,group:1,action:"onFileClickMenuSoundDefault",active:this.isDefaultSoundAvailable()},sound_loop:{icon:f,label:n.get("file.menu.sound_loop"),index:6,group:1,action:"onFileClickMenuSoundLoop"},videoShadow:{icon:g,label:n.get("file.menu.shadow_video"),index:7,group:1,action:"onFileClickMenuSoundVideoShadow"}}};var v=this.map.get("view_mode");this.props.videoPlayer&&"compact"!==v&&(e["video-params"].submenu.hideControl={icon:h,label:n.get("file.menu.sound_hideControls"),index:4,group:1,action:"onFileClickMenuSoundHideControl"},e["video-params"].submenu.showPanel={icon:m,label:n.get("file.menu.sound_showPanel"),index:5,group:1,action:"onFileClickMenuPlayerShowTopPanel"})}if(this.blotConfig.downloading&&"mobile"!==this.editor.options.keyboardMode){this.disallowDownloading&&(e.duplicate=void 0);var b=ct.EZi,_=ct.EZi;this.disallowNote&&(b=ct.Zlx),this.disallowShare&&(_=ct.Zlx),e.disallowDownloading={label:n.get("file.menu.disallow_download"),index:2,group:0,action:!1,submenu:{motion:{icon:b,label:n.get("file.menu.for_note"),index:1,group:0,action:"onFileClickMenuDisallowNote"},autoplay:{icon:_,label:n.get("file.menu.for_share"),index:2,group:0,action:"onFileClickMenuDisallowShare"}}}}else e.duplicate=void 0;return this.isAudioUplading&&(e.duplicate=void 0),this.isImageFile()&&e.comment&&(e.comment.action="commentImageBlot"),e}},{key:"getRightClickMenu",value:function(e){var t=this;if(!this.hasAttachment())return!1;var n=this.getFileKind(),r=this.getFileViewer(),o=[];if(r){var i=this.getFileViewMode(n);o.push({id:"file-compact-view",icon:"fa-compress",title:"Compact view",selected:"compact"===i,restoreSelection:!1,func:function(){t.onFileSetCompactView()}},{id:"file-full-view",icon:"fa-eye",title:"Full view",selected:"full"===i,restoreSelection:!1,func:function(){t.onFileSetFullView()}}),r.class.supportsFullscreen&&o.push({id:"file-full-screen",icon:"fa-arrows-alt",title:"Expand in Full Window",restoreSelection:!1,func:function(){t.onGoFullScreen()}}),r.class.printable&&o.push({id:"file-print",icon:"fa-print",title:"Print",restoreSelection:!1,func:function(){t.onFilePrint()}})}var a=[];return this.showMenuItemOpenInNewTab&&a.push({id:"file-open-new-tab",icon:"fa-external-link",title:"open in new tab",restoreSelection:!1,func:function(){t.onFileOpenInNewTab()}}),this.showRightMenuItemCopyLink&&a.push({id:"copy-file-link",icon:"fa-clone",title:"copy link",restoreSelection:!1,func:function(){t.onFileLinkCopy()}}),[{id:"download-file",icon:"fa-download",title:"download",restoreSelection:!1,func:function(){t.onFileDownload()}}].concat(a,o,[{id:"file-replace",icon:"fa-pencil",title:"replace",restoreSelection:!1,func:function(){t.onFileReplace()}},{id:"file-rename",icon:"fa-pencil-square-o",title:"rename",restoreSelection:!1,func:function(){t.onFileRename()}},{id:"file-delete",icon:"fa-trash-o",title:"delete",restoreSelection:!1,func:function(){t.onFileDelete()}}])}},{key:"exec",value:function(e){var t=TF(AF(i.prototype),"exec",this).call(this,e),n=this.props.fileInterface;return"backspace"===e.type&&(this.remove(),e.dontRestoreSelection(),t=!0),!t&&n&&n.exec&&(t=n.exec(e)),t}},{key:"getBlotMenuHeaderComponent",value:function(){return function(){return null}}},{key:"getBlotForMenu",value:function(){if(this.inUploader()){var e=ie(this,(function(e){return"uploaderWrapper"===e.constructor.blotName}));if(e)return e.basicBlot}return this}},{key:"canDragWith",value:function(e){if(this.inUploader()){var t,n=ie(this,(function(e){return"uploaderWrapper"===e.constructor.blotName}));return!(n&&!(null==n||null===(t=n.basicBlot)||void 0===t?void 0:t.isEditable()))&&this.domNode.contains(e)}return!1}},{key:"onlySingleDragging",value:function(){return this.inUploader()}},{key:"toHTML",value:function(e){if(e.options.noAttachments)return"";var t;if(this.props.attachment&&!e.options.pdf){e.addAttachment(this.props.attachment),t=this.domNode.cloneNode(!0);var n=e.getAttachmentPath(this.props.attachment),r=document.createElement("a");r.setAttribute("href",n),r.setAttribute("target","_blank");var o=t.querySelector(".file-name");Array.from(o.childNodes).map((function(e){r.appendChild(e)})),o.appendChild(r)}else t=this.domNode;if(e.options.toEmail){var i=t.querySelector(".compact-view-content");i.style.display="flex",i.style.border="1px solid #c8c8c8",i.style.padding="5px",i.style.borderRadius="4px"}return t.outerHTML}},{key:"getBlotInsertParams",value:function(e,t){var n,r=TF(AF(i.prototype),"getBlotInsertParams",this).call(this,e,t),o={},a=this.props.fileInterface;return a&&a.interfaceState&&(o=a.interfaceState),(0,fe.Ee)(r,{initParams:gF({src:this.map.get("src"),attachmentGlobalId:this.map.get("attachmentGlobalId"),viewMode:this.map.get("view_mode"),captionParams:null===(n=this.getWrapper().caption)||void 0===n?void 0:n.getBlotInsertParams(),room:this.editor.options.serverRoom},o)})}}])&&SF(t.prototype,n),r&&SF(t,r),i}(NF(tb));PF(DF,"initMap",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","file"),e.set("syncedViewerState",new t.types.Map),e.set("syncedInterfaceState",new t.types.Map),n.attachmentGlobalId&&e.set("attachmentGlobalId",n.attachmentGlobalId),n.viewMode&&e.set("view_mode",n.viewMode),n.src&&e.set("src",n.src);var r=n.caption;if(!r){var o=t.createMap();mv.initMap(o,t,n.captionParams||{}),r=o.get("id")}if(e.set("caption",r),n.audioRecord?(e.set("audioRecord",!0),e.set("recordUserId",t.userId)):n.mediaRecord&&(e.set("mediaRecord",!0),e.set("recordUserId",t.userId)),n.mode&&e.set("mode",n.mode),n.syncedInterfaceState){var i=e.get("syncedInterfaceState");for(var a in n.syncedInterfaceState)i.set(a,n.syncedInterfaceState[a])}n.disallowNoteDownloading&&e.set("disallowNoteDownloading",n.disallowNoteDownloading),n.disallowShareDownloading&&e.set("disallowShareDownloading",n.disallowShareDownloading),n.imagePreviewWidth&&e.set("imagePreviewWidth",n.imagePreviewWidth),TF(AF(DF),"initMap",DF)&&TF(AF(DF),"initMap",DF).call(DF,e,t,n)})),DF.blotName="file",DF.tagName="DIV",DF.parent=tb,DF.wrapper="fileWrapper";const jF=DF;function LF(e){return(LF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function BF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FF(e,t,n){return(FF="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=zF(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function UF(e,t){return(UF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function HF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zF(e);if(t){var o=zF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VF(this,n)}}function VF(e,t){if(t&&("object"===LF(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 zF(e){return(zF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qF=function(e){!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}}),t&&UF(e,t)}(i,e);var t,n,r,o=HF(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).domNode.classList.add("file-wrapper"),t.caption=null,t}return t=i,(n=[{key:"isDropAcceptor",get:function(){return!this.embed.inUploader()}},{key:"onFirstAttach",value:function(){this.embed&&(this.embed.setProps(this.props),this.embed.onFirstAttach())}},{key:"getInnerTextLine",value:function(){return this.caption}},{key:"sizeAwareUpdateSize",value:function(e){this.embed.setProps({maxAvailableWidth:e})}},{key:"render",value:function(){FF(zF(i.prototype),"render",this).call(this);var e=this.embed&&this.embed.hasAttachment();if(this.embed&&e&&this.embed.props.attachment?(this.caption||(this.caption=a().create("caption"),this.caption.map=this.store.getMap(this.map.get("caption")),this.caption.embedBlot=this.embed,this.appendChild(this.caption)),this.caption.render()):this.caption&&(this.caption.remove(),this.caption=null),this.embed){var t=!0;e&&this.embed.props.attachment&&(t=!1),t?this.domNode.classList.add("no-attachment"):this.domNode.classList.remove("no-attachment"),e?this.domNode.classList.remove("no-attachment-id"):this.domNode.classList.add("no-attachment-id")}}}])&&BF(t.prototype,n),r&&BF(t,r),i}(Nb(ym));function GF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}qF.allowedChildren=[jF,mv],qF.blotName="fileWrapper";var WF=function(){function e(){var t,n,r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=function(){o.props.clearFrame()},(n="onAbortClick")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}var t,n,r;return t=e,(n=[{key:"render",value:function(){var e=this.props,t=e.height,n=e.editMode,r=e.i18n,o=Boolean(t),i=null;return n?(o||(i=(0,s.h)("div",{className:"clear-frame-button",onClick:this.onAbortClick},(0,s.h)(ct.bMz,null))),(0,s.h)("div",{className:"remote-frame-loader "+(o?"full-loader":"small-loader")},r.get("remote_frame.loading"),i)):(0,s.h)("div",{className:"remote-frame-loader share-embed-loader"})}}])&&GF(t.prototype,n),r&&GF(t,r),e}();function YF(e){return(YF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ZF(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function KF(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ZF(i,r,o,a,s,"next",e)}function s(e){ZF(i,r,o,a,s,"throw",e)}a(void 0)}))}}function $F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QF(e,t){return(QF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function XF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=tU(e);if(t){var o=tU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return JF(this,n)}}function JF(e,t){if(t&&("object"===YF(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return eU(e)}function eU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(e){return(tU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rU=function(e){!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}}),t&&QF(e,t)}(i,e);var t,n,r,o=XF(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),nU(eU(t=o.call(this,e)),"onGistLoaded",(function(e){e.stylesheet&&t.addStylesheet(e.stylesheet),t.setState((function(){return{html:e.div}}))})),nU(eU(t),"onGistError",(function(e){console.error("Error HTTP: unknown error. Gist from "+e+" not loaded."),t.props.blot.setProps({setEmbedError:{errorType:"unknown",errorKey:"remote_frame.error.unknown_error"}})})),nU(eU(t),"fetchGist",KF(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.props.src,r="https://gist.github.com/"+t.getGistId(n)+".json",o="nimbusJsopCallbackGist_"+Math.floor(Math.random()*Math.floor(999)),HH(r,o,t.onGistLoaded,t.onGistError);case 4:case"end":return e.stop()}}),e)})))),t.state={html:!1},t}return t=i,(n=[{key:"getGistId",value:function(e){return(sl.parse(e).pathname||"").split("/").pop()}},{key:"addStylesheet",value:function(e){if(!Boolean(document.querySelector('link[href="'+e+'"]'))){var t=document.createElement("link");t.setAttribute("type","text/css"),t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),document.head&&document.head.appendChild(t)}}},{key:"render",value:function(){var e=this.state.html,t=null;return e?t=(0,s.h)("div",{ref:this.props.onDomRef},(0,s.h)("div",{dangerouslySetInnerHTML:{__html:e}})):(this.fetchGist(),t=(0,s.h)(WF,{editMode:this.props.editMode,i18n:this.props.i18n,clearFrame:this.props.clearFrame})),t}}])&&$F(t.prototype,n),r&&$F(t,r),i}(s.wA);function oU(e){return(oU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aU(e,t){return(aU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uU(e);if(t){var o=uU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lU(this,n)}}function lU(e,t){if(t&&("object"===oU(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cU(e)}function cU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e){return(uU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pU=function(e){!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}}),t&&aU(e,t)}(i,e);var t,n,r,o=sU(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),dU(cU(t=o.call(this,e)),"onGoFullScreen",(function(){t.setState((function(){return{fullscreen:!0}}))})),dU(cU(t),"onFullScreenClose",(function(){t.setState((function(){return{fullscreen:!1}}))})),t.state={fullscreen:!1},t}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.blot,n=e.editor,r=e.attachment;return(0,s.h)("div",{className:"embed-video-viewer"},(0,s.h)(WL.default,{blot:t,editor:n,attachment:r,onViewerGoFullScreen:this.onGoFullScreen,onFullScreenClose:this.onFullScreenClose,fullscreen:this.state.fullscreen,disallowVideoPreview:!0}))}}])&&iU(t.prototype,n),r&&iU(t,r),i}(s.wA);function fU(e){return(fU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hU(){return(hU=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function mU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gU(e,t){return(gU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_U(e);if(t){var o=_U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vU(this,n)}}function vU(e,t){if(t&&("object"===fU(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bU(e)}function bU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _U(e){return(_U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var CU=function(e){!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}}),t&&gU(e,t)}(i,e);var t,n,r,o=yU(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),wU(bU(t=o.call(this,e)),"onFrameLoad",(function(){t.setState((function(){return{loading:!1}}))})),wU(bU(t),"onFrameError",(function(){t.props.skipErrorLoading||(t.state.loading?t.props.onFrameLoadError():t.props.onInternalLinkError())})),wU(bU(t),"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),t.state={loading:!0},t}return t=i,(n=[{key:"getSrcFromHTML",value:function(e){if(!e)return!1;if(DH.test(e)){var t=FH(e.match(DH)[0]);if("string"==typeof t)return t}return!1}},{key:"renderWidget",value:function(){var e=this.props.frameOptions.component;return(0,s.h)(e,this.props)}},{key:"renderPdf",value:function(){this.setState((function(e){return e.loading?{loading:!1}:null}));var e=this.props,t=e.src,n=e.addClassName;return(0,s.h)("div",{className:n},(0,s.h)("object",{data:decodeURI(t),width:"100%",height:"100%",type:"application/pdf",ref:this.onRef}))}},{key:"renderHTML",value:function(){this.setState((function(e){return e.loading?{loading:!1}:null}));var e=this.props,t=e.html,n=e.addClassName;return(0,s.h)("div",{className:n,ref:this.onRef,dangerouslySetInnerHTML:{__html:t}})}},{key:"renderNimbusVideoPlayer",value:function(e){var t=e.match(jH);if(t&&t[1]){var n=t[1],r=e.match(/type=["|'](.*?)["|']/),o=r&&r[1]||void 0;return this.setState((function(e){return e.loading?{loading:!1}:null})),(0,s.h)(pU,{blot:this.props.blot,editor:this.props.editor,attachment:{mime:o,url:n,display_name:n}})}return this.renderHTML()}},{key:"shouldComponentUpdate",value:function(){return this.state.loading}},{key:"render",value:function(){var e=this.props,t=e.src,n=e.type,r=e.html,o=e.addClassName,i=e.frameOptions,a=e.isDirectUrl;if(i.component)return this.renderWidget();if("pdf"===n)return this.renderPdf();if(function(e,t){return(LH.test(e)||BH.test(e))&&jH.test(t)}(t,r))return this.renderNimbusVideoPlayer(r);var l=null,c=i.allowDirectUrl&&a||"unknown"===n;if(c){if(!(l=this.getSrcFromHTML(r)))return this.renderHTML()}else l=i.getFrameSrc?i.getFrameSrc(t):decodeURI(t);l=function(e){var t=document.createElement("textarea");t.innerHTML=e;var n=t.value;return t.remove(),n}(l);var u=this.state.loading,d={};return i.attributes&&!c?d=i.attributes:"other"!==n&&"unknown"!==n||(d={sandbox:"allow-scripts allow-same-origin allow-popups allow-forms"}),(0,s.h)("div",{className:o},u?(0,s.h)(WF,{height:!0,editMode:this.props.editMode,i18n:this.props.i18n,clearFrame:this.props.clearFrame}):null,(0,s.h)("iframe",hU({ref:this.onRef,src:l,allowfullscreen:"allowfullscreen",style:{border:"0",top:"0",left:"0",width:"100%",height:"100%",position:"absolute"},onLoad:this.onFrameLoad,onError:this.onFrameError},d)))}}])&&mU(t.prototype,n),r&&mU(t,r),i}(aL.PureComponent);function SU(e){return(SU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function EU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xU(e,t){return(xU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=AU(e);if(t){var o=AU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return OU(this,n)}}function OU(e,t){if(t&&("object"===SU(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return TU(e)}function TU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AU(e){return(AU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function PU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RU=function(e){!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}}),t&&xU(e,t)}(i,e);var t,n,r,o=kU(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),PU(TU(t=o.call(this,e)),"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),PU(TU(t),"onFrameNodeRef",(function(e){t.frameNode=e})),t.state={scriptReady:!1},t}return t=i,(n=[{key:"includeWidgetScript",value:function(){var e=this,t="https://embed.typeform.com/embed.js",n=document.querySelector('script[src="'+t+'"]');Boolean(n)?window.typeformEmbed?this.setState((function(){return{scriptReady:!0}})):n.addEventListener("load",(function(){e.setState((function(){return{scriptReady:!0}}))})):((n=document.createElement("script")).onload=function(){e.setState((function(){return{scriptReady:!0}}))},n.src=t,document.head&&document.head.appendChild(n))}},{key:"renderWidget",value:function(){typeformEmbed.makeWidget(this.frameNode,this.props.src),this.state.widgetReady=!0}},{key:"componentDidMount",value:function(){this.includeWidgetScript()}},{key:"componentDidUpdate",value:function(){this.state.scriptReady&&this.frameNode&&!this.state.widgetReady&&this.renderWidget()}},{key:"shouldComponentUpdate",value:function(e,t){if(this.state.widgetReady)return!1}},{key:"render",value:function(){return this.state.scriptReady?(0,s.h)("div",{ref:this.onRef,className:"typeform-embed-frame"},(0,s.h)("div",{ref:this.onFrameNodeRef})):(0,s.h)(WF,{editMode:this.props.editMode,i18n:this.props.i18n,clearFrame:this.props.clearFrame})}}])&&EU(t.prototype,n),r&&EU(t,r),i}(s.wA);function IU(e){return(IU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function MU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NU(e,t){return(NU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function DU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=BU(e);if(t){var o=BU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jU(this,n)}}function jU(e,t){if(t&&("object"===IU(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return LU(e)}function LU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BU(e){return(BU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function FU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UU=function(e){!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}}),t&&NU(e,t)}(i,e);var t,n,r,o=DU(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),FU(LU(t=o.call(this,e)),"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),FU(LU(t),"getTweetId",(function(){return(sl.parse(t.props.src).pathname||"").split("/").pop()})),FU(LU(t),"renderWidget",(function(e){e.widgets.createTweet(t.getTweetId(),t.domNode,{theme:t.props.theme})})),t}return t=i,r=[{key:"onRenderContent",value:function(e,t){var n=t.height;e&&n&&e.resizeContainer&&(e.resizeContainer.setAttribute("data-content-height",n),e.render())}}],(n=[{key:"componentDidMount",value:function(){var e=this;window.twttr?window.twttr.ready((function(t){e.renderWidget(t)})):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=function(e){var t=te(re(e.target));if(t&&t.onRenderContent){var n=e.target.querySelector("iframe");if(n)new ResizeObserver((function(){var n=e.target.parentNode.getBoundingClientRect(),r=n.width,o=n.height;t.onRenderContent("twitter",{width:r,height:o})})).observe(n);else{var r=e.target.parentNode.getBoundingClientRect(),o=r.width,i=r.height;t.onRenderContent("twitter",{width:o,height:i})}}};window.twttr=function(e,t,n){var r,o=e.getElementsByTagName(t)[0],i=window.twttr||{};return e.getElementById(n)||((r=e.createElement(t)).id=n,r.src="https://platform.twitter.com/widgets.js",o.parentNode.insertBefore(r,o),i._e=[],i.ready=function(e){i._e.push(e)}),i}(document,"script","twitter-wjs"),window.twttr.ready((function(n){n.events.bind("rendered",t),e(n)}))}(this.renderWidget)}},{key:"render",value:function(){return(0,s.h)("div",{className:"twitter-widget-container",ref:this.onRef})}}])&&MU(t.prototype,n),r&&MU(t,r),i}(s.wA);function HU(e){return(HU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function VU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zU(e,t){return(zU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=YU(e);if(t){var o=YU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return GU(this,n)}}function GU(e,t){if(t&&("object"===HU(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return WU(e)}function WU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YU(e){return(YU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ZU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var KU=function(e){!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}}),t&&zU(e,t)}(i,e);var t,n,r,o=qU(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),ZU(WU(t=o.call(this,e)),"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),ZU(WU(t),"disableRecycling",(function(){t.nextBase=null})),t.includeWidgetScript(),t}return t=i,r=[{key:"getInitialWidth",value:function(e){return new Promise((function(t,n){var r=0;!function o(){if(r>5)n();else{var i=document.querySelector('.fb-post[data-href="'+e+'"]');i&&"rendered"===i.getAttribute("fb-xfbml-state")?i.firstChild?t(i.firstChild.getBoundingClientRect().width):n():(r++,setTimeout(o,300))}}()}))}}],(n=[{key:"includeWidgetScript",value:function(){window.fbAsyncInit||(window.fbAsyncInit=function(){FB.init({appId:"Nimbus Note",xfbml:!0,version:"v9.0"})},function(e,t,n){var r,o=e.getElementsByTagName(t)[0];e.getElementById(n)||((r=e.createElement(t)).id=n,r.src="//connect.facebook.net/en_US/sdk.js",o.parentNode.insertBefore(r,o))}(document,"script","facebook-jssdk"))}},{key:"componentDidMount",value:function(){window.FB&&(this.domNode.getAttribute("fb-xfbml-state")||window.FB.XFBML.parse(this.domNode.parentNode))}},{key:"componentWillUnmount",value:function(){setTimeout(this.disableRecycling)}},{key:"render",value:function(){return(0,s.h)("div",{className:"fb-post","data-href":this.props.src,"data-show-text":!0,ref:this.onRef})}}])&&VU(t.prototype,n),r&&VU(t,r),i}(s.wA);function $U(e){return($U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function QU(){return(QU=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function XU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JU(e,t){return(JU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function eH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rH(e);if(t){var o=rH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tH(this,n)}}function tH(e,t){if(t&&("object"===$U(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return nH(e)}function nH(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rH(e){return(rH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iH=function(e){!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}}),t&&JU(e,t)}(i,e);var t,n,r,o=eH(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),oH(nH(t=o.call(this,e)),"onFrameLoad",(function(){t.setState((function(){return{loading:!1}}))})),oH(nH(t),"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),t.state={loading:!0},t}return t=i,(n=[{key:"render",value:function(){var e=this.props,t=e.src,n=e.addClassName,r=this.state.loading,o="<style>iframe { width: 100%; height: 100%; }</style>\n<div>".concat(t,"</div>");return(0,s.h)("div",{className:n},r?(0,s.h)(WF,{height:!0,editMode:this.props.editMode,i18n:this.props.i18n,clearFrame:this.props.clearFrame}):null,(0,s.h)("iframe",QU({ref:this.onRef,src:"javascript:void(0);",srcdoc:o,allowfullscreen:"allowfullscreen",style:{border:"0",top:"0",left:"0",width:"100%",height:"100%",position:"absolute"},onLoad:this.onFrameLoad},{sandbox:"allow-scripts allow-same-origin allow-popups allow-forms"})))}}])&&XU(t.prototype,n),r&&XU(t,r),i}(s.wA);function aH(e){return(aH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sH(){return(sH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cH(e,t){return(cH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fH(e);if(t){var o=fH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dH(this,n)}}function dH(e,t){if(t&&("object"===aH(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return pH(e)}function pH(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fH(e){return(fH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mH=function(e){!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}}),t&&cH(e,t)}(i,e);var t,n,r,o=uH(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),hH(pH(t=o.call(this,e)),"onFrameLoad",(function(){t.setState((function(){return{loading:!1}}))})),hH(pH(t),"onFrameError",(function(){t.props.skipErrorLoading||(t.state.loading?t.props.onFrameLoadError():t.props.onInternalLinkError())})),hH(pH(t),"onRef",(function(e){t.domNode=e,t.props.onDomRef(e)})),hH(pH(t),"imgHtmlPattern",/<img.*?s*src=["|'](.*?)["|'].*?\/>/),hH(pH(t),"imgPattern",/(https?:\/\/)?([\w\.-]+\.)?storage\.live\.com\/[^\/]+/),hH(pH(t),"frameStyles",{border:"0",top:"0",left:"0",width:"100%",height:"100%",position:"absolute"}),hH(pH(t),"frameAttrs",{sandbox:"allow-scripts allow-same-origin allow-popups allow-forms"}),t.state={loading:!0},t}return t=i,(n=[{key:"shouldComponentUpdate",value:function(){return this.state.loading}},{key:"renderImageEmbed",value:function(e){return(0,s.h)("iframe",sH({src:"data:text/html;charset=utf-8,"+encodeURI('<div style="'.concat("width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;",'">').concat(e,"</div>")),allowfullscreen:"allowfullscreen",style:this.frameStyles},this.frameAttrs))}},{key:"render",value:function(){var e=this.props.src,t=this.state.loading;if(!this.imgHtmlPattern.test(e)){if(this.imgPattern.test(e))return this.renderImageEmbed('<img style="max-width: 100%; max-height: 100%;" src="'.concat(e,'" />'));var n=e.match(DH),r=decodeURI((n&&n[1]&&n[1].length?n[1]:e).replace("/redir?","/embed?").replace(/&amp;/g,"&"));return(0,s.h)("div",{className:"onedrive-embed-frame"},t?(0,s.h)(WF,{height:!0,editMode:this.props.editMode,i18n:this.props.i18n,clearFrame:this.props.clearFrame}):null,(0,s.h)("iframe",sH({ref:this.onRef,src:r,allowfullscreen:"allowfullscreen",style:this.frameStyles,onLoad:this.onFrameLoad,onError:this.onFrameError},this.frameAttrs)))}var o=e.match(this.imgHtmlPattern);if(o[1]&&o[1].length)return this.renderImageEmbed('<img style="max-width: 100%; max-height: 100%;" src="'.concat(o[1],'" />'));this.renderImageEmbed(e)}}])&&lH(t.prototype,n),r&&lH(t,r),i}(s.wA);function gH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yH(e,t){return(yH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wH(e);if(t){var o=wH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bH(this,n)}}function bH(e,t){if(t&&("object"===EH(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _H(e)}function _H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wH(e){return(wH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function CH(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return SH(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return SH(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function SH(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function EH(e){return(EH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xH(e,t){if("object"===EH(e))if(Array.isArray(e)){var n,r=CH(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if("object"===EH(o)){var i=xH(o,t);if(i)return i}}}catch(e){r.e(e)}finally{r.f()}}else for(var a in e){if(a===t)return e[a];if("object"===EH(e[a])){var s=xH(e[a],t);if(s)return s}}}var kH=function(e){!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}}),t&&yH(e,t)}(i,e);var t,n,r,o=vH(i);function i(e){var t,n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=o.call(this,e),n=_H(t),a=function(e){t.domNode=e,t.props.onDomRef(e)},(r="onRef")in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.state={loading:!0,meta:null},t}return t=i,(n=[{key:"shouldComponentUpdate",value:function(){return this.state.loading}},{key:"componentDidMount",value:function(){var e=this,t=this.props.blot.blotConfig,n=t.iframelyHost,r=t.iframelyPort,o=n+(r?":"+r:"")+"/meta?url="+this.props.src;fetch(o).then((function(e){return e.json()})).then((function(t){e.setState((function(){return{meta:t,loading:!1}}))})).catch((function(t){e.props.onFrameLoadError()}))}},{key:"render",value:function(){var e=this.state,t=e.meta;return e.loading&&!t?(0,s.h)(WF,{height:!0,editMode:this.props.editMode,i18n:this.props.i18n,clearFrame:this.props.clearFrame}):(0,s.h)(OH,{meta:t,url:this.props.src})}}])&&gH(t.prototype,n),r&&gH(t,r),i}(s.wA);function OH(e){var t,n,r,o,i=e.meta,a=e.url,l=xH(i,"title"),c=xH(i,"site_name"),u=xH(i,"description"),d=xH(i,"author"),p=(null===(t=i.open_graph)||void 0===t||null===(n=t.images)||void 0===n?void 0:n[0])||(null===(r=i.twitter_card)||void 0===r||null===(o=r.images)||void 0===o?void 0:o[0]),f=i.favicon;return(0,s.h)("div",{className:"embed-card-wrapper"},p&&p.url&&(0,s.h)("div",{className:"embed-card-img"},(0,s.h)("a",{href:a,style:{backgroundImage:"url(".concat(p.url,")"),backgroundSize:"cover",backgroundPosition:"center",position:"absolute",top:0,left:0,display:"block",width:"100%",height:"100%"}})),(0,s.h)("div",{className:"embed-card-info"},(0,s.h)("div",{className:"embed-card-info-top"},l&&(0,s.h)("div",{className:"embed-card-title"},(0,s.h)("a",{href:a},(0,s.h)("h3",null,l))),u&&(0,s.h)("div",{className:"embed-card-description"},(0,s.h)("p",null,u))),(0,s.h)("div",{className:"embed-card-info-bottom"},(0,s.h)("a",{className:"embed-card-link",href:a},f&&(0,s.h)("img",{className:"embed-card-favicon",src:f}),(0,s.h)("span",{className:"embed-card-site"},c||a),d&&(0,s.h)("span",{className:"embed-card-author"},d)))))}var TH={googleDocs:{name:"Google Docs",pattern:/https:\/\/([\w\.-]+\.)?docs.google.com\/(document|spreadsheets)\/d\//,allowOpenOrigin:!0,allowDirectUrl:!0,errorMessageKey:"google_docs_auth_error",frameRatio:.71,attributes:{sandbox:"allow-downloads allow-forms allow-presentation allow-same-origin allow-scripts allow-modals allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation",allow:"fullscreen https://docs.google.com ; focus-without-user-activation 'none'"}},googleCalendar:{name:"Google Calendar",pattern:/https:\/\/calendar\.google\.com\/calendar\/embed/,frameRatio:3/4},googleMaps:{name:"Google Maps",pattern:/https:\/\/www.google.[a-z]{1,3}\/maps\//,frameRatio:.75,icon:ct.kXu,getFrameSrc:function(e){return function(e){var t=sl.parse(e),n=t.query||"",r=new URLSearchParams(n);if(r.has("q")){var o=r.get("q");return"https://www.google.com/maps/embed/v1/place?key="+NH+"&q="+o}if(r.has("pb"))return"https://www.google.com/maps/embed?pb="+r.get("pb");if(r.has("mid"))return"https://www.google.com/maps/d/embed?mid="+r.get("mid");var i=t.path.split("/"),a=e.match(/@(.*?),(.*?),/);if(-1!==i.indexOf("place")){var s=i[i.indexOf("place")+1];return s?"https://www.google.com/maps/embed/v1/place?q="+s+"&key="+NH:e}return a?"https://www.google.com/maps/embed/v1/view?center="+a[1]+","+a[2]+"&key="+NH+"&zoom=17":e}(e)}},googleDrive:{name:"Google Drive",pattern:/(https?:)?(\/\/)?drive.google.[a-z]{1,3}\/file\//,frameRatio:16/9,getFrameSrc:function(e){var t=e.match(/\/file\/d\/([^\/]+)/);return t&&t[0]?"https://drive.google.com"+t[0]+"/preview":e}},googleForms:{name:"Google Forms",pattern:/(https?:)?(\/\/)?docs.google.[a-z]{1,3}\/forms\/d\/e\//,frameRatio:16/9,getFrameSrc:function(e){return e}},googleDriveFolder:{name:"Google Drive Folder",pattern:/(https?:)?(\/\/)?drive.google.[a-z]{1,3}\/drive\/folders\//,frameRatio:16/9,getFrameSrc:function(e){var t=e.match(/(https?:)?(\/\/)?drive.google.[a-z]{1,3}\/drive\/folders\/([0-9A-Za-z-_]+)/);if(t&&t[3]){var n=t[3],r=e.match(/resourcekey=[0-9A-Za-z-]+/),o=r?"&"+r[0]:"";return"https://drive.google.com/embeddedfolderview?id=".concat(n).concat(o,"#list")}return e}},dailymotion:{name:"Dailymotion",pattern:/(https?:)?(\/\/)?(www\.)?dailymotion.com\/(embed\/video|video)\/[a-z,0-9]+/,allowOpenOrigin:!0,frameRatio:16/9,getFrameSrc:function(e){return"https://www.dailymotion.com/embed/video/"+(sl.parse(e).pathname||"").split("/").pop()}},figma:{name:"Figma",pattern:/https:\/\/([\w\.-]+\.)?figma.com\/(((file|proto|design)\/([0-9a-zA-Z]{22,128})(\/.*)?$)|embed\?)/,allowOpenOrigin:!0,frameRatio:16/9,icon:ct.JCH,getFrameSrc:function(e){return/https:\/\/([\w\.-]+\.)?figma.com\/embed\?/.test(e)?e:"https://www.figma.com/embed?embed_host=astra&url="+e}},vimeo:{name:"Vimeo",pattern:/(https?:)?(\/\/)?(player\.)?vimeo.com\/(video\/)?[0-9]+/,allowOpenOrigin:!0,frameRatio:16/9,icon:ct.Tz3,getFrameSrc:function(e){return/(https?:)?(\/\/)?vimeo.com\/[0-9]+/.test(e)?"https://player.vimeo.com/video/"+(sl.parse(e).pathname||"").split("/").pop():e}},youtube:{name:"YouTube",pattern:/^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/|channel\/|user\/|c\/)?)([\w\-]+)(\S+)?$/,allowOpenOrigin:!0,frameRatio:16/9,icon:ct.zA_,getFrameSrc:function(e){var t=e.match(TH.youtube.pattern),n=t[4]&&["c","user","channel"].includes(t[4].replace(/\//g,""))&&t[4].replace(/\//g,"")||"video";if(t[5]){if("video"===n){var r=VH(e);return"https://www.youtube.com/embed/"+t[5]+(r?"?start="+r:"")}return"user"===n?"https://www.youtube.com/embed?listType=user_uploads&list="+t[5]:"https://www.youtube.com/embed/videoseries?list="+t[5].replace(/^UC/,"UU")}return e},getOriginUrl:function(e){var t=e.match(TH.youtube.pattern);if(!t[4]||!["c","user","channel"].includes(t[4].replace(/\//g,""))){var n=VH(e);if(t[5])return"https://www.youtube.com/watch?v="+t[5]+(n?"?t="+n:"")}return e}},miro:{name:"Miro Board",pattern:/(https?:)?(\/\/)?(www\.)?miro\.com\/app\/board\/.+/,allowOpenOrigin:!0,frameRatio:16/9,getFrameSrc:function(e){var t=sl.parse(e).pathname.split("/")[3];return"https://miro.com/app/live-embed/".concat(t,"/?")}},canva:{name:"Canva",pattern:/(https?:\/\/)?(www\.)?(.+\.)?canva.com\/design/,allowOpenOrigin:!0,frameRatio:16/9,getFrameSrc:function(e){var t=sl.parse(e);return new URLSearchParams(t.search).has("embed")?e:"https://www.canva.com"+t.pathname.split("/").map((function(e,t,n){return t===n.length-1?"view":e})).join("/")+"?embed"}},tiktok:{name:"TikTok",pattern:/(https?:\/\/)?(m\.|www\.)?tiktok.com\/.+/,allowOpenOrigin:!0,initialWidth:605,frameRatio:.776,getFrameSrc:function(e){var t=sl.parse(e,!0).query.lang,n=e.match(/(?:https?:\/\/)?(?:www\.)?(?:tiktok\.com)(?:\/)(?:@\w+|embed|share|trending)(?:\/|\?)(?:video|user|shareId=|[\D=&]+)?(?:\/)?([0-9]+)/);if(n&&n[1])return"https://www.tiktok.com/embed/v2/"+n[1]+(t?"?lang="+t+"-"+t.toUpperCase():"")}},codepen:{name:"CodePen",pattern:/(https?:\/\/)codepen.io\/(.+)\/(pen|embed)(\/preview)?\/(\w+)/,allowOpenOrigin:!0,getFrameSrc:function(e){return qH(e)},getOriginUrl:function(e){var t=e.match(TH.codepen.pattern);return t&&t[2]&&t[5]?"https://codepen.io/"+t[2]+"/pen/"+t[5]:e}},instagram:{name:"Instagram",pattern:/(https?:\/\/)(www\.)?instagram.com\/p\/.+/,allowOpenOrigin:!0,frameRatio:.57,initialWidth:420,getFrameSrc:function(e){var t=sl.parse(e);return"https://www.instagram.com".concat(t.pathname,"embed")}},loom:{name:"Loom",pattern:/(https?:\/\/)(www\.)?loom.com\/(share|embed)\/.+/,allowOpenOrigin:!0,frameRatio:16/9,getFrameSrc:function(e){var t=e.match(/(?:share|embed)\/([^\/]+)/);return t&&t[1]?"https://www.loom.com/embed/"+t[1]:e}},appBox:{name:"AppBOX",pattern:/(https?:\/\/)([\w\.-]+\.)?app.box.com\/embed\/.+/,allowOpenOrigin:!0,attributes:{sandbox:"allow-scripts allow-same-origin allow-popups allow-forms allow-downloads"}},internalNimbus:{name:"Internal Nimbus link",pattern:/^https?:\/\/[\.a-zA-Z0-9_-]+\/ws|space\/[a-zA-Z0-9_]+\/(.+\/)?note|page\/.+/,allowOpenOrigin:!0,frameRatio:16/9,getFrameSrc:function(e){return e+"?e=cd1bb9313a696d2247e805cb3db7aa36"}},airtable:{name:"Airtable",pattern:/(https?:\/\/)?(www\.)?airtable.com\//,icon:ct.uSR,getFrameSrc:function(e){if(/(https?:\/\/)?(www\.)?airtable.com\/embed\//.test(e))return e;var t=sl.parse(e);return"https://"+t.hostname+"/embed"+t.pathname}}},AH={githubGist:{name:"GitHub Gist",pattern:/(https?:)?(\/\/)?gist\.github\.com\/([^\/]+\/)?[0-9a-f]+/,icon:ct.LC9,allowedResizePoints:"right",component:rU},typeform:{name:"Typeform",pattern:/^(https?:\/\/)?([\da-z\.-]+\.)?typeform.com\/to\/[\w]+?$/,frameRatio:2,icon:ct.qdP,component:RU},twitter:{name:"Twitter",pattern:/(https?:)?(\/\/)?twitter\.com\/[^\/]+\/status\/[^\/]+/,allowOpenOrigin:!0,disallowResize:!0,icon:ct.JDv,component:UU,onRenderContent:UU.onRenderContent},facebook:{name:"Facebook",pattern:/(https?:)?(\/\/)?facebook\.com\/[^\/]+/,allowOpenOrigin:!0,component:KU,getInitialWidth:KU.getInitialWidth,allowedResizePoints:"right"},script:{name:"Embed Script",pattern:/<script([\s\S]+)?(src="[\s\S]+")?([\s\S]+)?>([\s\S]+)?(<\/script>)?/,component:iH},onedrive:{name:"One Drive",pattern:/(https?:\/\/)?([\w\.-]+\.)?(storage|onedrive)\.live\.com\/[^\/]+/,component:mH},card:{name:"Iframely embed",component:kH}},PH={metacafe:{name:"Metacafe",pattern:/(https?:\/\/)?www.metacafe.com\/(watch|embed)\/[0-9]+/},invisionapp:{name:"InvisionApp",pattern:/(https?:\/\/)?(\w+\.)invisionapp.com\/([\w\.\/]+|overview)?\/(share|live-embed)?/,icon:ct.i2f},invisio:{name:"Invisio",pattern:/(https?:\/\/)?invis.io\/\w+/,icon:ct.i2f},litres:{name:"Litres",pattern:/(https?:\/\/)?(www\.)?litres.ru/},tableau:{name:"TableAu",pattern:/(https?:\/\/)?public\.tableau\.com\/(.+)&:embed=true/},desmos:{name:"Desmos",pattern:/(https?:\/\/)?(www\.)?desmos.com\/calculator\//},designrr:{name:"Designrr",pattern:/(https?:\/\/)?(www\.)?(.+\.)?designrr.co\//},questionscout:{name:"Questionscout",pattern:/(https?:\/\/)?(www\.)?(.+\.)?questionscout.com\//},nowalepszastrona:{name:"Nowalepszastrona",pattern:/(https?:\/\/)?(www\.)?(.+\.)?nowalepszastrona.pl\//},miniextensions:{name:"Miniextensions",pattern:/(https?:\/\/)?(.+\.)?miniextensions.com\//},redditmedia:{name:"Redditmedia",pattern:/(https?:\/\/)?(.+\.)?redditmedia.com\//},masterlyclients:{name:"Masterly",pattern:/(https?:\/\/)?(.+\.)?masterlyclients.com\//},clickup:{name:"Click-up",pattern:/(https?:\/\/)?(.+\.)?sharing.clickup.com\//},fliphtml5:{name:"FlipHtml5",pattern:/(https?:\/\/)?(.+\.)?fliphtml5.com\//},sharepoint:{name:"SharePoint",pattern:/(https?:\/\/)?(.+\.)?sharepoint.com\//},iclosed:{name:"iclosed",pattern:/(https?:\/\/)?app.iclosed.io\//},berrycast:{name:"berrycast",pattern:/^https?:\/\/.+\/conversations\/[a-zA-Z-0-9]+(\/video-player)?$/}},RH={googleSlides:{name:"Google Slides",pattern:/https:\/\/([\w\.-]+\.)?docs.google.com\/presentation\/d\//}};function IH(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return MH(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return MH(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function MH(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var NH="AIzaSyBtcUZ2bqXlsRLDA9SYkvs-xx_DkORt7yc",DH=/<iframe.*?\s*[.\s\S]*src=["|'|“]?(.*?)["|'|“| ][.\s\S]*?<\/iframe>/,jH=/<video.*?s*src=["|'|“](.*?)["|'|“].*?<\/video>/m,LH=/^https?:\/\/[\.a-zA-Z0-9_-]+(\/s)?\/share\/[0-9]+\/[a-zA-Z0-9_]+(\/.+)?/,BH=/^https?:\/\/nimb\.ws\/[a-zA-Z0-9_]+(\/)?/;function FH(e){var t=e.match(DH);return t&&t[1]&&t[1].length?t[1]:Boolean(e.match(/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$/))?Boolean(e.match(/^https?\:\/\//))?e:"http://"+e:{errorType:"url",errorKey:"remote_frame.error.is_not_link"}}function UH(e){return/^(https?:\/\/)?(www\.)?([\da-z\.-]+)\.([a-z\.]{2,6})\/[\w \.-\/%]+?\.pdf$/.test(encodeURI(e))}function HH(e,t,n,r){window.editorJsonpCallbackRegistry||(window.editorJsonpCallbackRegistry={});var o=!1,i=document.createElement("script");function a(){o||(delete window.editorJsonpCallbackRegistry[t],r(e),i.parentNode.removeChild(i))}e+=~e.indexOf("?")?"&":"?",e+="callback=editorJsonpCallbackRegistry."+t,editorJsonpCallbackRegistry[t]=function(e){o=!0,delete window.editorJsonpCallbackRegistry[t],n(e),i.parentNode.removeChild(i)},i.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,setTimeout(a,0))},i.onload=i.onerror=a,i.src=e,document.body.appendChild(i)}function VH(e){var t=sl.parse(e).search;if(t){var n=new URLSearchParams(t);return n.has("t")?n.get("t"):!!n.has("start")&&n.get("start")}return!1}function zH(e){var t=e.match(/<script.+var\slitres_fragment_book_view_id\s?=\s?(\d+);.+<\/script>/),n=t&&t[1];if(!n)return!1;var r=(t=e.match(/<script.+var\slitres_fragment_lfrom\s?=\s?(\d+);.+<\/script>/))&&t[1];return r||(r=123456),!!/(<div(\s(.+)?\s?class="litres_fragment_body"\s(.+)?><\/div>))?<script.+lw\.src\s?=\s?"https:\/\/www\.litres\.ru\/static\/widgets\/js\/fragment\.js".+<\/script>/.test(e)&&"https://www.litres.ru/pages/quickread/?art="+n+"&skin=normal&lfrom="+r+"&widget=1.00&iframe=1"}function qH(e){var t=["height","theme-id","default-tab"],n=e.match(/(https?:\/\/)?codepen.io\/(.+)\/(pen|embed)(\/preview)?\/(\w+)/),r=!1;if(n&&n[2]&&n[5]&&(r="https://codepen.io/"+n[2]+"/embed/"+(n[4]?"preview/":"")+n[5],/<p class="codepen" [\s\S]+<\/p>[\s\S]*<script async src="https:\/\/static\.codepen\.io[\s\S]+><\/script>/.test(e))){var o=e.match(/data-[\w-]+="[\w, -]+"/g),i=!1;if(o.length&&(o=o.map((function(e){return e.replace("data-","").replace('"',"")})).filter((function(e){return e.startsWith("preview")&&(i=!0),t.includes(e.split("=")[0])})),i&&(r="https://codepen.io/"+n[2]+"/embed/preview/"+n[4]),o.length)){r+="?";var a,s=IH(o);try{for(s.s();!(a=s.n()).done;){r+=a.value}}catch(e){s.e(e)}finally{s.f()}}}return r}function GH(e){return!!AH.onedrive.pattern.test(e)&&e}function WH(e){return(WH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function YH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZH(e,t){return(ZH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function KH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=XH(e);if(t){var o=XH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $H(this,n)}}function $H(e,t){if(t&&("object"===WH(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return QH(e)}function QH(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e){return(XH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function JH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eV=(0,Rn.ZP)("enter"),tV=(0,Rn.ZP)("esc"),nV=function(e){!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}}),t&&ZH(e,t)}(i,e);var t,n,r,o=KH(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),JH(QH(t=o.call(this,e)),"onInputRef",(function(e){t.inputNode=e,e&&t.props.onInputRef(e)})),JH(QH(t),"onChangeInputRef",(function(e){t.changeInputNode=e,e&&t.props.onInputRef(e)})),JH(QH(t),"onErrorInputRef",(function(e){t.errorInputNode=e,e&&t.props.onInputRef(e)})),JH(QH(t),"onBufferRef",(function(e){t.bufferNode=e})),JH(QH(t),"onPlaceholderMouseDown",(function(e){e.preventDefault(),t.inputNode.focus()})),JH(QH(t),"onAbortClick",(function(e){e.preventDefault(),e.stopPropagation(),t.setState((function(){return{savedValue:"",showError:!1}}),(function(){t.inputNode.focus()}))})),JH(QH(t),"onRemoveClick",(function(e){e.preventDefault(),e.stopPropagation(),t.props.blot.remove()})),JH(QH(t),"onErrorWrapperClick",(function(e){e.target!==t.errorInputNode&&t.errorInputNode&&t.errorInputNode.select()})),JH(QH(t),"onInput",(function(e){var n=e.target.value;t.setState((function(){return{savedValue:n,showError:!1}}))})),JH(QH(t),"onPaste",(function(e){e.preventDefault(),e.stopPropagation();var n=e.clipboardData.getData("text/plain").trim();t.setState((function(){return{savedValue:n,showError:!0}}),(function(){t.props.onApplySource(n)}))})),JH(QH(t),"onCopy",(function(e){e.stopPropagation()})),JH(QH(t),"onKeyDown",(function(e){if(e.stopPropagation(),eV(e)){if(e.preventDefault(),""===e.target.value)return;t.state.showError=!0,t.props.onApplySource(e.target.value)}tV(e)&&(e.preventDefault(),t.props.changeLink&&t.props.onEscape?t.props.onEscape(e):t.props.onSourceInputCancel&&t.props.onSourceInputCancel())})),JH(QH(t),"convertTo",(function(e){return t.props.blot.editor.exec("convert-blot",e)})),JH(QH(t),"convertToBookmark",(function(){return t.convertTo({type:"bookmark",src:t.props.blot.map.get("src"),replaceBlotId:t.props.blot.id})})),JH(QH(t),"convertToLink",(function(){return t.convertTo({type:"paragraph",focusIndex:t.props.blot.map.get("src").length})}));var n=e.blot.editor,r=n.mode===n.constructor.MODE_EDIT;return t.state={savedValue:null,showError:!1,editMode:r},t}return t=i,(n=[{key:"getPlaceholderText",value:function(){var e=this.props.blot;return"gridCol"===e.getWrapper().parent.constructor.blotName?e.editor.plugins.i18n.get("remote_frame.placeholder_small"):e.editor.plugins.i18n.get("remote_frame.placeholder_full")}},{key:"componentDidUpdate",value:function(){if(this.state.editMode&&(this.inputNode&&this.bufferNode&&!this.props.changeLink&&(this.inputNode.style.width=this.bufferNode.clientWidth+10+"px"),this.props.blot.props.focused)){var e=this.changeInputNode||this.inputNode||this.errorInputNode;document.activeElement!==e&&e.select()}}},{key:"componentDidMount",value:function(){this.errorInputNode&&this.errorInputNode.select()}},{key:"componentWillUnmount",value:function(){this.props.onInputRef(null)}},{key:"render",value:function(){var e=this.props,t=e.blot,n=e.error,r=e.src,o=e.changeLink,i=e.showConvertButtonsOnError,a=this.state,l=a.savedValue,c=a.showError,u=a.editMode,d=r||"";null!==l&&(d=l);var p=!Boolean(d),f=null,h=null,m=null,g=null,y=null;if(o)return n&&(h=(0,s.h)("div",{className:"embed-error"},t.editor.plugins.i18n.get(n.errorKey))),(0,s.h)("div",{className:"add-embed change-link"},h,(0,s.h)("div",{className:"add-embed-input"},(0,s.h)("input",{type:"text",style:{width:"100%"},ref:this.onChangeInputRef,onKeyDown:this.onKeyDown,onInput:this.onInput,onPaste:this.onPaste,onCopy:this.onCopy,value:d})));if(n&&"url"!==n.errorType)return h=(0,s.h)("div",{className:"bottom-error"+(i?" with-buttons":"")},(0,s.h)("div",{className:"error-icon"},(0,s.h)(ct.CYl,null)),(0,s.h)("div",{className:"embed-error",dangerouslySetInnerHTML:{__html:t.editor.plugins.i18n.get(n.errorKey)}}),u&&i?(0,s.h)("div",{className:"embed-buttons"},[{method:this.convertToBookmark,translate:"remote_frame.convert_bookmark"},{method:this.convertToLink,translate:"remote_frame.convert_link"}].map((function(e){var n=e.method,r=e.translate;return(0,s.h)("button",{class:"chrome-button",onClick:n},t.editor.plugins.i18n.get(r))}))):null),(0,s.h)("div",{className:"add-embed error-loading",onClick:this.onErrorWrapperClick},u?(0,s.h)("input",{type:"text",placeholder:t.editor.plugins.i18n.get("remote_frame.placeholder_full"),ref:this.onErrorInputRef,onKeyDown:this.onKeyDown,onInput:this.onInput,onPaste:this.onPaste,onCopy:this.onCopy,value:d}):(0,s.h)("div",{className:"error-loading-input-readonly"},d),h);if(m=(0,s.h)("div",{className:"buffer-text",ref:this.onBufferRef,dangerouslySetInnerHTML:{__html:mi(d).replace(/ /g,"&nbsp;")}}),p?(y=(0,s.h)("div",{className:"clear-input",onClick:this.onRemoveClick},(0,s.h)(ct.IT9,null)),f=(0,s.h)("div",{className:"embed-placeholder",onMouseDown:this.onPlaceholderMouseDown},this.getPlaceholderText(),y)):g=(0,s.h)("div",{className:"clear-input",onClick:this.onAbortClick},(0,s.h)(ct.IT9,null)),n){var v={};c||(v.display="none"),h=(0,s.h)("div",{style:v,className:"embed-error"},t.editor.plugins.i18n.get(n.errorKey))}return(0,s.h)("div",{className:"add-embed"},h,(0,s.h)("div",{className:"add-embed-input"},m,(0,s.h)("input",{type:"text",ref:this.onInputRef,onKeyDown:this.onKeyDown,onInput:this.onInput,onPaste:this.onPaste,onCopy:this.onCopy,value:d,class:"embed-input"}),g),f)}}])&&YH(t.prototype,n),r&&YH(t,r),i}(s.wA);function rV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var oV=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"render",value:function(){var e=this.props,t=e.message,n=e.onBackCkick,r=e.backButtonText;return(0,s.h)("div",{className:"add-embed error-loading internal-link-error"},(0,s.h)("div",{className:"bottom-error"},(0,s.h)("div",{className:"error-icon"},(0,s.h)(ct.CYl,null)),(0,s.h)("div",{className:"embed-error"},t),(0,s.h)("div",{className:"embed-buttons"},(0,s.h)("button",{class:"chrome-button",onClick:n},r))))}}])&&rV(t.prototype,n),r&&rV(t,r),e}();n(18264);function iV(e){return(iV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function aV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lV(e,t){if(t&&("object"===iV(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 cV(e){var t="function"==typeof Map?new Map:void 0;return(cV=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return uV(e,arguments,fV(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),pV(r,e)})(e)}function uV(e,t,n){return(uV=dV()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&pV(o,n.prototype),o}).apply(null,arguments)}function dV(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function pV(e,t){return(pV=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fV(e){return(fV=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hV(e){e=window.atob(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0,o=e.length;r<o;r++)n[r]=e.charCodeAt(r);return t}var mV=function(e){!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}}),t&&pV(e,t)}(o,e);var t,n,r=(t=o,n=dV(),function(){var e,r=fV(t);if(n){var o=fV(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return lV(this,e)});function o(){return sV(this,o),r.apply(this,arguments)}return o}(cV(Error)),gV=function(){function e(t){t.scroll,t.editor;var n,r,o,i=t.options;sV(this,e),o=mV,(r="CryptoIncompatibleError")in(n=this)?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,this.options=i||{},this.enableVerify=!1!==this.options.verify,this.publicKey=this.options.publicKey}var t,n,r;return t=e,(n=[{key:"verifySignature",value:function(e,t){var n=this;return new Promise((function(r,o){n.enableVerify||r(!0),window.crypto||o(new mV("no window.crypto")),window.crypto.subtle&&window.crypto.subtle.importKey&&window.crypto.subtle.verify||o(new mV("no window.crypto or it does not have importKey or verify methods")),window.TextEncoder||o(new mV("no window.TextEncoder")),window.Uint8Array||o(new mV("no window.Uint8Array"));var i=n.publicKey,a=(new TextEncoder).encode(e),s=hV(i);crypto.subtle.importKey("spki",s,{name:"RSASSA-PKCS1-v1_5",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:"SHA-256"},!0,["verify"]).then((function(e){var n=new Uint8Array(hV(t));window.crypto.subtle.verify({name:"RSASSA-PKCS1-v1_5",saltLength:32},e,n,a).then((function(e){r(e)})).catch((function(e){o(e)}))})).catch((function(e){o(e)}))}))}}])&&aV(t.prototype,n),r&&aV(t,r),e}();function yV(e){return(yV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bV(e,t){if(t&&("object"===yV(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 _V(e){var t="function"==typeof Map?new Map:void 0;return(_V=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return wV(e,arguments,EV(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),SV(r,e)})(e)}function wV(e,t,n){return(wV=CV()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&SV(o,n.prototype),o}).apply(null,arguments)}function CV(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function SV(e,t){return(SV=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function EV(e){return(EV=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xV=function(e){!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}}),t&&SV(e,t)}(o,e);var t,n,r=(t=o,n=CV(),function(){var e,r=EV(t);if(n){var o=EV(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return bV(this,e)});function o(){return vV(this,o),r.apply(this,arguments)}return o}(_V(Error));function kV(e){return(kV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function OV(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return TV(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TV(e,t)}(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 TV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AV(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function PV(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){AV(i,r,o,a,s,"next",e)}function s(e){AV(i,r,o,a,s,"throw",e)}a(void 0)}))}}function RV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function IV(e,t){return(IV=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function MV(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=LV(e);if(t){var o=LV(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return NV(this,n)}}function NV(e,t){if(t&&("object"===kV(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return DV(e)}function DV(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jV(e,t,n){return(jV="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=LV(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function LV(e){return(LV=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function BV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FV=(0,Rn.ZP)("escape"),UV=se([Ec,dg,Pd,eg,jm,nh,Mu,Vu,bd,Eu,tu]),HV=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null;for(var r in PH)if(PH[r].pattern&&PH[r].pattern.test(e)){n=!t||r;break}return n},VV=function(e){var t=null;for(var n in RH)if(RH[n].pattern&&RH[n].pattern.test(e)){t=n;break}return t},zV=function(e){!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}}),t&&IV(e,t)}(i,e);var t,n,r,o=MV(i);function i(e){var t,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),BV(DV(n=o.call(this,e)),"mapObserver",(function(){n.render()})),BV(DV(n),"onStartNeditSelection",(function(){n.domNode.classList.add("locked-mouseover")})),BV(DV(n),"onEndNeditSelection",(function(){n.domNode.classList.remove("locked-mouseover")})),BV(DV(n),"clearFrame",(function(){n.map.set("src",null),n.map.delete("html"),n.map.delete("embed-type"),n.map.delete("width"),n.map.delete("directUrl"),n.map.delete("originalSize"),n.map.delete("origin")})),BV(DV(n),"copyOriginal",(function(){var e=n.map.get("origin")||n.map.get("src");n.editor.plugins.copyManager.copy(e)})),BV(DV(n),"changeLink",(function(){n.setProps({changeLink:!0}),n.inputNode.select()})),BV(DV(n),"onFullSize",(function(){n.frameNode.requestFullscreen(),document.addEventListener("keydown",n.onFullSizeDocumentKeyDown,!1)})),BV(DV(n),"onFullSizeDocumentKeyDown",(function(e){FV(e)&&(e.preventDefault(),document.exitFullscreen(),document.removeEventListener("keydown",n.onFullSizeDocumentKeyDown,!1))})),BV(DV(n),"onResetSize",PV(regeneratorRuntime.mark((function e(){var t,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.map.get("originalSize")){e.next=5;break}return e.next=4,n.getContentSize();case 4:t=e.sent;case 5:o=(r=t||{ratio:16/9}).width,i=r.ratio,n.renderInBatch((function(){o?n.map.set("width",o):n.map.delete("width"),i||(i=16/9),n.map.set("ratio",i),n.setResizeContainerSize({width:o||n.scroll.domNode.getBoundingClientRect().width,ratio:i})}));case 7:case"end":return e.stop()}}),e)})))),BV(DV(n),"onApplySource",(function(e){var t=function(e){for(var t=!1,n=0,r=[zH,qH,GH];n<r.length;n++){if(t=(0,r[n])(e))break}return t}(e=e.replace(/”/g,'"'))||FH(e);if((!t||t instanceof Object)&&AH.script.pattern.test(e))return n.renderInBatch((function(){n.setProps({setEmbedError:!1,changeLink:!1}),n.map.set("embed-type","script"),n.map.delete("html"),n.map.set("src",e),n.map.delete("originalSize"),n.map.set("origin",e)})),void n.putCaretInNextBlotAfterEmbed();if(UH(t)&&n.editor.plugins.attachmentManager.options.chooseFileFromUrl){var r=n.parent.addBlot("file",{before:n.id}).id;n.editor.findById(r).embedAttachmentUrl(t),n.putCaretInNextBlotAfterEmbed(),n.remove()}else t instanceof Object?n.setProps({setEmbedError:t}):(n.renderInBatch((function(){n.setProps({setEmbedError:!1,changeLink:!1}),n.map.delete("embed-type"),n.map.delete("html"),n.map.delete("originalSize"),n.map.set("src",t),n.map.set("origin",e)})),n.putCaretInNextBlotAfterEmbed())})),BV(DV(n),"onInputRef",(function(e){n.inputNode=e})),BV(DV(n),"onFrameRef",(function(e){n.frameNode=e})),BV(DV(n),"onFrameLoadError",(function(){var e=n.map.get("embed-type"),t="content_error";TH[e]&&TH[e].errorMessageKey&&(t=TH[e].errorMessageKey),n.setProps({setEmbedError:{errorType:"content",errorKey:"remote_frame.error."+t}})})),BV(DV(n),"onPlaceholderEscapeKeyDown",(function(){n.props.changeLink&&n.setProps({changeLink:!1})})),BV(DV(n),"onInternalLinkError",(function(){n.setProps({internalLinkError:!0})})),BV(DV(n),"onInternalLinkErrorBackClick",(function(){n.setProps({internalLinkError:!1})})),BV(DV(n),"renderFrame",PV(regeneratorRuntime.mark((function e(){var t,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.map.get("embed-type"),r=n.map.get("src"),(o=TH[t])||(o=AH[t]),o||(o={}),i=n.map.get("html"),a=n.map.get("signature"),"unknown"!==t&&!n.map.get("directUrl")){e.next=22;break}return e.prev=8,e.next=11,n.editor.plugins.signature.verifySignature(i,a);case 11:if(e.sent){e.next=14;break}throw new Error("signature does not match the content");case 14:e.next=22;break;case 16:if(e.prev=16,e.t0=e.catch(8),n.editor.plugins.debugLogger.captureException(e.t0),TH[t]&&!n.map.get("directUrl")){e.next=22;break}return n.setProps({setEmbedError:{errorType:"content",errorKey:"remote_frame.error.wrong_signature"}}),e.abrupt("return",null);case 22:return e.abrupt("return",(0,s.h)(CU,{src:r,type:t,html:i,onDomRef:n.onFrameRef,addClassName:t+"-embed-frame",getFrameOriginalSizeFromHtml:n.getFrameOriginalSizeFromHtml,skipErrorLoading:HV(r),frameOptions:o,onFrameLoadError:n.onFrameLoadError,isDirectUrl:n.map.get("directUrl"),editMode:n.editor.mode===n.editor.constructor.MODE_EDIT,i18n:n.editor.plugins.i18n,clearFrame:n.clearFrame,theme:n.editor.plugins.editorStyle.getTheme(),onInternalLinkError:n.onInternalLinkError,editor:n.editor,blot:DV(n)}));case 23:case"end":return e.stop()}}),e,null,[[8,16]])})))),BV(DV(n),"render",PV(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.ignoringUpdateRender){e.next=2;break}return e.abrupt("return");case 2:if(jV((t=DV(n),LV(i.prototype)),"render",t).call(t),n.getWrapper().render(),n.map.get("src")||n.editor.mode===n.editor.constructor.MODE_EDIT){e.next=6;break}return e.abrupt("return");case 6:if(r=null,n.hasEmbed()&&!n.props.setEmbedError&&!n.props.changeLink){e.next=11;break}n.frameContainer.classList.contains("placeholder")||n.frameContainer.classList.add("placeholder"),e.next=25;break;case 11:if(n.frameContainer.classList.contains("placeholder")&&n.frameContainer.classList.remove("placeholder"),n.isTypeDefined()){e.next=17;break}r=n.renderLoader(),n.defineType(),e.next=25;break;case 17:if(!n.props.internalLinkError){e.next=21;break}r=n.renderInternalLinkError(),e.next=25;break;case 21:return e.next=23,n.renderFrame();case 23:r=e.sent,n.frameContainer.classList.add(n.map.get("embed-type")+"-embed");case 25:r?n.props.isContentRendered||n.setProps({isContentRendered:!0}):(r=n.renderPlaceholder(),n.props.isContentRendered&&n.setProps({isContentRendered:!1})),(0,s.sY)(r,n.frameContainer);case 27:case"end":return e.stop()}}),e)})))),BV(DV(n),"onSrcInputCancel",(function(){n.putCaretInEmptyParagraphAfterEmbed(),n.remove()})),BV(DV(n),"fetchIframelyEmbedHtml",function(){var e=PV(regeneratorRuntime.mark((function e(t){var r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=b.length>1&&void 0!==b[1]&&b[1],!n._iframelyFetchInProgress){e.next=3;break}return e.abrupt("return");case 3:return n._iframelyFetchInProgress=!0,o=n.map.get("embed-type"),i=n.blotConfig,a=i.iframelyHost,s=i.iframelyPort,l=a+(s?":"+s:"")+"/iframely?url="+decodeURI(t),c=a+(s?":"+s:"")+"/support-iframe?url="+decodeURI(t),u=!1,e.prev=9,e.next=12,fetch(l);case 12:if(d=e.sent,p=!1,200!==d.status){e.next=21;break}return u=!0,e.next=18,d.json();case 18:f=e.sent,h=f.html,m=f.html_signature,h&&m?(p=!0,n.renderInBatch((function(){r||n.map.set("embed-type","unknown"),n.map.set("signature",m),n.map.set("html",h)}))):(y=null==f||null===(g=f.meta)||void 0===g?void 0:g.canonical)&&AH.onedrive.pattern.test(y)&&(p=!0,n.renderInBatch((function(){n.map.set("embed-type","onedrive"),n.map.set("src",y)})));case 21:if(p){e.next=38;break}if(VV(t)){e.next=37;break}return e.next=25,fetch(c);case 25:if(200===(v=e.sent).status){e.next=28;break}throw new xV("Cannot fetch embed from Iframely, response status "+d.status);case 28:return e.next=30,v.json();case 30:if(!e.sent){e.next=34;break}throw new Error("Request did not return embed or content is corrupted, insert url into iframe as is");case 34:throw new xV("Request did not return embed and url is not supported iframe render");case 35:e.next=38;break;case 37:throw new Error("Request did not return embed or content is corrupted, insert url into iframe as is");case 38:e.next=44;break;case 40:e.prev=40,e.t0=e.catch(9),console.warn(e.t0.name+": "+e.t0.message),r?TH[o]&&TH[o].errorMessageKey&&n.setProps({setEmbedError:{errorType:"content",errorKey:"remote_frame.error."+TH[o].errorMessageKey}}):e.t0 instanceof xV?u?n.renderInBatch((function(){n.map.set("embed-type","card"),n.map.set("src",t)})):(n.onFrameLoadError(),n.map.set("embed-type","not-supported")):n.map.set("embed-type","other");case 44:return e.prev=44,n._iframelyFetchInProgress=!1,e.finish(44);case 47:case"end":return e.stop()}}),e,null,[[9,40,44,47]])})));return function(t){return e.apply(this,arguments)}}()),BV(DV(n),"openOrigin",(function(){var e=n.map.get("embed-type"),t=n.map.get("src");TH[e]&&TH[e].getOriginUrl?t=TH[e].getOriginUrl(t):AH[e]&&AH[e].getOriginUrl&&(t=AH[e].getOriginUrl(t)),n.editor.plugins.linkManager.processNavigation(t)||window.open(t,"_blank","noopener")})),BV(DV(n),"switchLayout",(function(){var e=n.map.get("directUrl");n.map.set("directUrl",!e)})),BV(DV(n),"getContentSize",PV(regeneratorRuntime.mark((function e(){var t,r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Object.assign({},TH,AH),r=n.map.get("embed-type"),!t[r]){e.next=7;break}if(t[r].initialWidth&&(o=t[r].initialWidth),t[r].frameRatio&&(i=t[r].frameRatio),!i){e.next=7;break}return e.abrupt("return",{width:o,ratio:i});case 7:if(!(a=n.map.get("html"))){e.next=14;break}return e.next=11,n.getFrameOriginalSizeFromHtml(a);case 11:if(!(s=e.sent)){e.next=14;break}return e.abrupt("return",{width:s.width,ratio:s.width/s.height});case 14:return e.abrupt("return",{ratio:16/9});case 15:case"end":return e.stop()}}),e)})))),BV(DV(n),"getFrameOriginalSizeFromHtml",(function(e){return new Promise((function(t){if(DH.test(e)){var r=document.createElement("div");r.classList.add("hidden-frame-container-for-detect-size"),r.style.width=n.scroll.domNode.getBoundingClientRect().width+"px",r.innerHTML=e;var o=r.querySelector("iframe");o.onload=function(){var e=o.getBoundingClientRect(),n=e.width,i=e.height;r.parentNode.removeChild(r),t({width:Math.ceil(n),height:Math.ceil(i)})},o.onerror=function(){r.parentNode.removeChild(r),t(null)},document.body.appendChild(r)}else t(null)}))})),BV(DV(n),"onRenderContent",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},TH,AH);r[e]&&r[e].onRenderContent&&r[e].onRenderContent(DV(n),t)})),n.isSeparableByClickApplicable=!0,n.addCanExecActions(["delete","backspace"]),n.frameContainer=n.domNode.querySelector(".remote-frame-container"),n.disallowReplace=!0,n.fullWidth&&(n.fullWidth.afterFunc=function(){setTimeout((function(){n.render()}),0)}),n}return t=i,r=[{key:"convertBlots",value:function(e,t,n){var r=n.params,o=n.container;if(!e.length||e.length>1)return null;var i=Object.assign({},r),a=o.editor.findById(e[0]);if("paragraph"===a.constructor.blotName){var s=a.delta().ops;2===s.length&&s[0].attributes&&s[0].attributes.hasOwnProperty("link")&&"\n"===s[1].insert.replace(" ","")&&(i.src=a.delta().ops[0].attributes.link)}this.setCommentThreads(a,i);var l=t.createMap();return this.initMap(l,t,i),{removeBlots:e,insertBlots:[l.get("id")]}}},{key:"createBlot",value:function(e){var t=a().create("remoteFrameWrapper");return this.addCaretTrap(e,t.domNode),t}},{key:"create",value:function(e){var t=jV(LV(i),"create",this).call(this);t.classList.add("remote-frame");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("remote-frame-container"),t.appendChild(n),t}},{key:"value",value:function(e){return{src:this.map.get("src")}}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=jV(LV(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.hasEmbed()||(this.props.placeholderVisible=!0,this.props.inputValue=""),this.props.maxAvailableWidth=this.getWrapper().domNode.getBoundingClientRect().width,this.fullWidth&&(this.fullWidth=Object.assign(this.fullWidth,{wrapperNode:this.getWrapper().domNode})),this.isNotSupportedRender()&&this.onFrameLoadError(),this.store.observe(this.map,this.mapObserver),this.editor.on("start-nedit-selection",this.onStartNeditSelection),this.editor.on("end-nedit-selection",this.onEndNeditSelection),this.render()}},{key:"detach",value:function(){if(jV(LV(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=jV(LV(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserve(this.map,this.mapObserver),this.editor.off("start-nedit-selection",this.onStartNeditSelection),this.editor.off("end-nedit-selection",this.onEndNeditSelection)}},{key:"hasEmbed",value:function(){return Boolean(this.map.get("src"))}},{key:"isTypeDefined",value:function(){return Boolean(this.map.get("embed-type"))}},{key:"hasEmbedHtml",value:function(){return Boolean(this.map.get("html"))}},{key:"isNotSupportedRender",value:function(){return"not-supported"===this.map.get("embed-type")}},{key:"onFocusableFocus",value:function(){var e=this,t=this.selection.getRange(),n=OV(t,1),r=n[0];if(this.hasEmbed()||!this.inputNode||r&&0!==r.length){for(var o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];(o=jV(LV(i.prototype),"onFocusableFocus",this)).call.apply(o,[this].concat(s))}else setTimeout((function(){e.inputNode.focus()}),0)}},{key:"onFocusableBlur",value:function(){var e;this.props.changeLink&&this.setProps({changeLink:!1});for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=jV(LV(i.prototype),"onFocusableBlur",this)).call.apply(e,[this].concat(n))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.changeLink,n=e.maxAvailableWidth,r=!n||n>=450;return(0,s.h)(nV,{blot:this,onInputRef:this.onInputRef,onApplySource:this.onApplySource,onEscape:this.onPlaceholderEscapeKeyDown,src:this.map.get("src"),error:this.props.setEmbedError,changeLink:t,onSourceInputCancel:this.onSrcInputCancel,showConvertButtonsOnError:r})}},{key:"renderLoader",value:function(){return(0,s.h)(WF,{editMode:this.editor.mode===this.editor.constructor.MODE_EDIT,i18n:this.editor.plugins.i18n,clearFrame:this.clearFrame})}},{key:"renderInternalLinkError",value:function(){var e=this.map.get("embed-type"),t=Object.assign({},TH,AH),n=t[e]&&t[e].name||cl(this.map.get("src")),r=this.editor.plugins.i18n;return(0,s.h)(oV,{message:r.get("remote_frame.error.internal_link_error",{serviceName:n}),onBackCkick:this.onInternalLinkErrorBackClick,backButtonText:r.get("remote_frame.back_button")})}},{key:"defineType",value:function(){var e=this.map.get("src"),t=!1,n=function(e){var t=null;for(var n in TH)if(TH[n].pattern&&TH[n].pattern.test(e)){t=n;break}return t}(e);n?t=!0:n=function(e){var t=null;for(var n in AH)if(AH[n].pattern&&AH[n].pattern.test(e)){t=n;break}return t}(e),n?(this.map.set("embed-type",n),t&&TH[n].allowDirectUrl&&this.fetchIframelyEmbedHtml(e,!0)):(n=HV(e))&&this.map.set("embed-type","embed"),n||(UH(e)?this.map.set("embed-type","pdf"):this.fetchIframelyEmbedHtml(e))}},{key:"contextMenu",get:function(){var e=jV(LV(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n;if(e.layout=(0,fe.Ee)(e.layout,{label:t.get("remote_frame.context_menu.layout"),index:-1,group:0,action:!1}),this.hasEmbed()&&!this.props.setEmbedError&&(e["copy-original"]={label:t.get("remote_frame.context_menu.copy_original"),index:-2,group:0,action:"copyOriginal"},e["change-link"]={label:t.get("remote_frame.context_menu.change_link"),index:0,group:0,action:"changeLink"},e["full-size"]={label:t.get("remote_frame.context_menu.full_size"),index:1,group:0,action:"onFullSize"},!this.isFullwidth)){var n=this.map.toJSON(),r=n.originalSize,o=n.width,a=n.ratio,s=Boolean(r&&r.width)||Boolean(o);(!r||s&&r.width!==o||r.ratio!==a)&&(e["reset-size"]={label:t.get("remote_frame.context_menu.reset_size"),index:1,group:0,action:"onResetSize"})}if(1===this.scroll.selectedBlocks.length&&this.hasEmbed()){e["turn-into"]={label:t.get("block_menu.convert_to.name"),index:-3,group:0,action:!1,submenu:{turnToParagraph:{label:t.get("block_menu.convert_to.paragraph"),index:0,group:0,action:"convert-blot",actionParams:{type:"paragraph"},actionExec:!0,stackable:!1,icon:ct.V_f,hint:!1},turnToLink:{label:t.get("block_menu.convert_to.link"),index:0,group:0,action:"convert-blot",actionParams:{type:"paragraph"},actionExec:!0,stackable:!1,icon:ct.JHz},turnToBookmark:{label:t.get("block_menu.convert_to.bookmark"),index:10,group:0,action:"convert-blot",actionParams:{type:"bookmark",src:this.map.get("src"),replaceBlotId:this.id},actionExec:!0,icon:ct.BZM},turnToButton:{label:t.get("floating_toolbar.button"),index:11,group:0,action:"convert-blot",actionParams:{type:"button-single",url:this.map.get("src")},actionExec:!0,stackable:!1,icon:ct.hU}}};var l=this.map.get("embed-type");("unknown"===l||"other"===l||TH[l]&&TH[l].allowOpenOrigin||AH[l]&&AH[l].allowOpenOrigin)&&(e["open-origin"]={label:t.get("remote_frame.context_menu.open_origin"),index:-3,group:0,action:"openOrigin"})}return e}},{key:"getTextDelta",value:function(){return{ops:[{insert:this.map.get("src"),attributes:{link:this.map.get("src")}},{insert:"\n"}]}}},{key:"getWrapper",value:function(){return this.parent}},{key:"getDraggingNode",value:function(){if(this.isTypeDefined()){var e=this.domNode.cloneNode(),t=this.frameContainer.getBoundingClientRect(),n=t.width,r=t.height;return e.innerHTML='<div class="remote-frame-dragging-placeholder" style="width: '+n+"px; height: "+r+'px"></div>',e}return this.domNode.cloneNode(!0)}},{key:"putCaretInEmptyParagraphAfterEmbed",value:function(){var e=this.getWrapper().next;if(e&&e instanceof pf&&e.isEmpty())return this.scroll.selection.setRange({index:e.offset(this.scroll),length:0}),void this.editor.plugins.selectionScroller.ensureSelectionVisible();this.parent.addBlot("paragraph",{after:this.id,focus:{index:0}})}},{key:"putCaretInNextBlotAfterEmbed",value:function(){var e=this.getWrapper().next;e?(this.scroll.selection.setRange({index:e.offset(this.scroll),length:0}),this.editor.plugins.selectionScroller.ensureSelectionVisible()):this.putCaretInEmptyParagraphAfterEmbed()}},{key:"renderInBatch",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];try{this.ignoringUpdateRender=!0,e()}finally{this.ignoringUpdateRender=!1,t&&this.render()}}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top;return t+=(this.frameNode&&this.frameNode.getBoundingClientRect().x||this.frameContainer.getBoundingClientRect().x)-this.domNode.getBoundingClientRect().x,this.fullwidthMenuMargin&&(t+=this.fullwidthMenuMargin-25),{left:t,top:n}}},{key:"onGetCommentPosition",value:function(e){var t=e.left,n=e.top;if(this.frameNode){var r=(0,H.vk)(this.frameNode,this.editor.editorBody);t-=t-(r.left+r.width),n+=10}return{left:t,top:n}}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t=this.store.createMap();return mv.initMap(t,this.store,{delta:this.getWrapper().caption.delta({forCopy:!0})}),a().query(this.map.get("type")).initMap(e,this.store,{src:this.map.get("src"),caption:t.get("id"),width:this.map.get("width"),ratio:this.map.get("ratio"),originalSize:this.map.get("originalSize")}),e.get("id")}},{key:"toHTML",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=document.createElement("div");t.classList.add("exported-remote-frame");var n=this.map.get("src"),r=!1;if(this.hasEmbed()&&e.options&&!e.options.pdf){var o=this.map.get("embed-type"),i=!1;if(TH[o])i=n,TH[o].getFrameSrc&&(i=TH[o].getFrameSrc(n));else if("other"===o||"embed"===o)i=n;else if("unknown"===o){var a=this.map.get("html");if(a&&DH.test(a)){var s=FH(a.match(DH)[0]);"string"==typeof s&&(i=s)}}if(i){r=!0;var l=this.map.toJSON(),c=l.width,u=l.ratio;c||(c=1e3),t.innerHTML='<iframe src="'.concat(i,'" style="width:').concat(c,"px;height:").concat(c/u,'px;border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-forms" allowfullscreen="allowfullscreen"></iframe>'),t.classList.add("as-iframe")}}if(!r){var d=new RegExp(ul),p=d.test(n);p?(t.innerHTML='<a href="'.concat(n,'">').concat(n,"</a>"),t.classList.add("as-link")):(n&&(t.innerHTML=mi(n)),t.classList.add("as-text"))}return t.outerHTML}},{key:"isResizeAvailable",value:function(){if(this.props.internalLinkError)return!1;if("function"!=typeof jV(LV(i.prototype),"isResizeAvailable",this)||jV(LV(i.prototype),"isResizeAvailable",this).call(this)){var e=this.map.get("embed-type"),t=Object.assign({},TH,AH);if("other"===e||"embed"===e)return!0;if(t[e])return!t[e].disallowResize;var n=this.map.get("html");if(n&&DH.test(n))return!0}return!1}},{key:"onResizeableResolveSize",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};jV(LV(i.prototype),"onResizeableResolveSize",this).call(this,t),this.renderInBatch((function(){e.map.set("originalSize",t)}),!1)}},{key:"getResizeOpts",value:function(){var e=this.map.get("embed-type"),t={},n=Object.assign({},TH,AH);return n[e]&&n[e].allowedResizePoints&&(t.allowedResizePoints=n[e].allowedResizePoints),t}},{key:"tryGetRatio",value:function(){var e=this.map.get("ratio");if(!e){var t=this.map.get("embed-type"),n=Object.assign({},TH,AH);n[t]&&n[t].frameRatio&&(e=n[t].frameRatio)}return e||(e=16/9),e}},{key:"getBlotInsertParams",value:function(e,t){var n,r=jV(LV(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(r,{initParams:{src:this.map.get("src"),width:this.map.get("width"),ratio:this.map.get("ratio"),originalSize:this.map.get("originalSize"),captionParams:null===(n=this.getWrapper().caption)||void 0===n?void 0:n.getBlotInsertParams()}})}}])&&RV(t.prototype,n),r&&RV(t,r),i}(UV(O));function qV(e){return(qV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WV(e,t,n){return(WV="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$V(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function YV(e,t){return(YV=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ZV(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$V(e);if(t){var o=$V(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return KV(this,n)}}function KV(e,t){if(t&&("object"===qV(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 $V(e){return($V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}BV(zV,"initMap",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","remote-frame"),e.set("src",n.src||null);var r=n.caption;if(!r){var o=t.createMap();mv.initMap(o,t,n.captionParams||{}),r=o.get("id")}e.set("caption",r),e.set("embed-type",n.embedType||null),e.set("html",n.html||null),e.set("signature",n.signature?n.signature:""),n.originalSize&&e.set("originalSize",n.originalSize),eg.initMap(e,t,n),jm.initMap(e,t,n),jV(LV(zV),"initMap",zV)&&jV(LV(zV),"initMap",zV).call(zV,e,t,n)})),zV.blotName="remote-frame",zV.tagName="DIV",zV.wrapper="remoteFrameWrapper",zV.minContentWidth=100;var QV=function(e){!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}}),t&&YV(e,t)}(i,e);var t,n,r,o=ZV(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).domNode.classList.add("remote-frame-wrapper"),t.caption=null,t}return t=i,(n=[{key:"getInnerTextLine",value:function(){return this.caption}},{key:"sizeAwareUpdateSize",value:function(e){this.embed.setProps({maxAvailableWidth:e})}},{key:"render",value:function(){WV($V(i.prototype),"render",this).call(this),this.embed.hasEmbed()&&!this.embed.props.setEmbedError&&this.embed.isTypeDefined()?(this.caption||(this.caption=a().create("caption"),this.caption.map=this.store.getMap(this.map.get("caption")),this.caption.embedBlot=this.embed,this.appendChild(this.caption)),this.caption.render()):this.caption&&(this.caption.remove(),this.caption=null)}}])&&GV(t.prototype,n),r&&GV(t,r),i}(Nb(ym));function XV(e){return(XV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function JV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ez(e,t){return(ez=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tz(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oz(e);if(t){var o=oz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nz(this,n)}}function nz(e,t){if(t&&("object"===XV(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rz(e)}function rz(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oz(e){return(oz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function iz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}QV.allowedChildren=[zV,mv],QV.blotName="remoteFrameWrapper";var az=function(e){!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}}),t&&ez(e,t)}(i,e);var t,n,r,o=tz(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),iz(rz(t=o.call(this,e)),"onMenuIconRef",(function(e){t.menuIconNode=e})),iz(rz(t),"onMenuButtonMouseDown",(function(){if(t.state.menuOpen){t._swallowMenuClick=!0;document.addEventListener("mouseup",(function e(){setTimeout((function(){return t._swallowMenuClick=!1})),document.removeEventListener("mouseup",e,!1)}),!1)}})),iz(rz(t),"onMenuButtonClick",(function(){t._swallowMenuClick?t._swallowMenuClick=!1:t.setState((function(e){return{menuOpen:!e.menuOpen}}))})),iz(rz(t),"onClickMenuExpand",(function(){t.expandPreview(),t.hideMenu()})),iz(rz(t),"onClickMenuOpenOrigin",(function(){t.openOriginal(),t.hideMenu()})),iz(rz(t),"onClickMenuDownload",(function(){var e=t.props.fileData.downloadUrl;e&&(t.editor.plugins.linkManager.processNavigation(e)||window.open(e,"_blank","noopener")),t.hideMenu()})),iz(rz(t),"onClickMenuReplaceFile",(function(){t.props.onFileReplace(),t.hideMenu()})),iz(rz(t),"onMenuWantsToClose",(function(){t.hideMenu()})),iz(rz(t),"onExpandClick",(function(e){var n=t.props.asyncContent;n&&n.preview&&t.expandPreview()})),iz(rz(t),"onInfoClick",(function(e){t.openOriginal()})),iz(rz(t),"onPreviewClick",(function(e){t.openOriginal()})),t.editor=e.editor,t.i18n=t.editor.plugins.i18n,t.state={menuOpen:!1,thumbnail:null},t}return t=i,r=[{key:"toHTML",value:function(e,t){var n=e.serviceAttachments[this.serviceName]&&e.serviceAttachments[this.serviceName].thumbnail,r=e.domNode.cloneNode(!0),o=r.querySelector(".google-drive-file-preview"),i=document.createElement("a");i.setAttribute("href",e.map.get("fileData").url),i.setAttribute("target","_blank"),i.classList.add("export-link-wrapper");var a=r.querySelector(".google-drive-file-info");if(i.appendChild(a.cloneNode(!0)),a.parentNode.replaceChild(i,a),n){t.addAttachment(n);var s=t.getAttachmentPath(n),l=document.createElement("img");if(l.setAttribute("src",s),o)o.replaceChild(l,o.firstChild);else{var c=document.createElement("div");c.classList.add("google-drive-file-preview"),c.style.height="400px",c.appendChild(l),i.parentNode.insertBefore(c,i)}}return r.outerHTML}}],(n=[{key:"expandPreview",value:function(){var e=this.props.expanded;this.props.setPreviewState(!e)}},{key:"hideMenu",value:function(){this.setState((function(){return{menuOpen:!1}}))}},{key:"openOriginal",value:function(){var e=this.props.fileData.url;e&&(this.editor.plugins.linkManager.processNavigation(e)||window.open(e,"_blank","noopener"))}},{key:"resolveThumbnail",value:function(){var e=this,t=this.props.asyncContent.preview;!this._resolveInProgress&&t&&(this._resolveInProgress=!0,this.editor.plugins.attachmentManager.resolve(t).then((function(t){e.props.onServiceAttachmentResolved(e.constructor.serviceName,"thumbnail",t),e.setState((function(){return{thumbnail:t}}),(function(){e._resolveInProgress=!1}))})).catch((function(t){console.error("fail to resolve attachment",t),e._resolveInProgress=!1,e.setState((function(){return{thumbnail:{error:t}}}))})))}},{key:"getMenu",value:function(){var e={};return this.props.fileData&&(e.openOrigin={label:this.i18n.get("google_drive.menu.open_origin"),index:1,action:"onClickMenuOpenOrigin"},e.replaceFile={label:this.i18n.get("google_drive.menu.choose_another_file"),index:3,action:"onClickMenuReplaceFile"},this.state.thumbnail&&this.state.thumbnail.url&&(e.expand={label:this.props.expanded?this.i18n.get("google_drive.menu.collapse"):this.i18n.get("google_drive.menu.expand"),index:0,action:"onClickMenuExpand"}),this.props.fileData.downloadUrl&&(e.download={label:this.i18n.get("google_drive.menu.download"),index:2,action:"onClickMenuDownload"})),e}},{key:"renderLoader",value:function(){return(0,s.h)("div",{className:"google-drive-loading"},(0,s.h)("div",{className:"google-drive-icon"},(0,s.h)(ct.dhu,null)),(0,s.h)("div",{className:"google-drive-loading-text"},this.i18n.get("google_drive.loading")))}},{key:"renderHeader",value:function(e){var t=this,n=this.state.menuOpen,r=this.props.asyncContent,o=null,i=null;if(e&&this.props.fileData&&(o=(0,s.h)("div",{className:"google-drive-menu-icon",ref:this.onMenuIconRef,onClick:this.onMenuButtonClick,onMouseDown:this.onMenuButtonMouseDown},(0,s.h)(ct.nqv,null)),n)){var a=this.getMenu(),l=Object.keys(a).map((function(e){return Object.assign({},a[e],{key:e})})).sort((function(e,t){return e.index-t.index})).map((function(e){return(0,s.h)(Cn.Z,{key:e.key,id:"google-drive-"+e.key,onClick:t[e.action],text:e.label})}));i=(0,s.h)(At.Z,{addClassName:"google-drive-menu position-absolute",anchorNode:this.menuIconNode,wantsToClose:this.onMenuWantsToClose,anchorOptions:{placement:"left-start"}},l)}return(0,s.h)("div",{className:"google-drive-header"+(r&&r.preview?"":" no-preview")},(0,s.h)("div",{className:"google-drive-block-name",onClick:this.onExpandClick,onMouseDown:function(e){e.preventDefault()}},(0,s.h)("div",{className:"google-drive-block-name-icon"},(0,s.h)(ct.dhu,null)),this.i18n.get("google_drive.block_name")),(0,s.h)("div",{className:"google-drive-right"},o,(0,s.h)(Tt,null,i)))}},{key:"renderFileInfo",value:function(){var e=this.props.fileData,t=function(e){var t,n,r=(new Date).getTime()-e;return r<6e4?(t="seconds",n=Math.round(r/1e3)):r<36e5?(t="minutes",n=Math.round(r/6e4)):r<864e5?(t="hours",n=Math.round(r/36e5)):r<2592e6?(t="days",n=Math.round(r/864e5)):r<31536e6?(t="months",n=Math.round(r/2592e6)):(t="years",n=Math.round(r/31536e6)),{unit:t,count:n,case:Wn(n)}}(e.modified_time),n=this.i18n.get("relative_time."+t.unit+"."+t.case,{count:t.count});return(0,s.h)("div",{className:"google-drive-file-info",onClick:this.onInfoClick},(0,s.h)("div",{className:"google-drive-file-name"},e.title),(0,s.h)("div",{className:"google-drive-last-modified"},this.i18n.get("google_drive.last_modified",{userName:e.user_name,time:n})),(0,s.h)("div",{className:"google-drive-file-source"},(0,s.h)("div",{className:"google-drive-file-icon"},(0,s.h)("img",{src:e.icon})),cl(e.url)))}},{key:"renderPreview",value:function(){var e=this.state.thumbnail,t=null,n={height:(this.props.height||400)+"px"};return e?e.url&&(t=(0,s.h)("div",{className:"google-drive-file-preview",style:n,onClick:this.onPreviewClick},(0,s.h)("img",{className:"google-drive-file-preview-image",src:e.url}))):(this.resolveThumbnail(),t=(0,s.h)("div",{className:"google-drive-file-preview",style:n},(0,s.h)("div",{className:"google-drive-file-preview-loader"},(0,s.h)(ey(),null)))),t}},{key:"componentDidMount",value:function(){this.props.onServiceRendered()}},{key:"render",value:function(){var e=this.props,t=e.fileData,n=e.asyncContent,r=e.expanded,o=this.editor.mode===this.editor.constructor.MODE_EDIT,i=this.editor.mode===this.editor.constructor.MODE_EXPORT,a=this.renderHeader(o),l=null,c=null;return t?(n&&n.preview&&(r||i)?l=this.renderPreview():n&&n.preview||!this.state.thumbnail||(this.state.thumbnail=null),c=this.renderFileInfo()):l=this.renderLoader(),(0,s.h)("div",{className:"google-drive-content-wrapper"},a,l,c)}}])&&JV(t.prototype,n),r&&JV(t,r),i}(s.wA);az.serviceName="google-drive";const sz=(lz={},cz=az.serviceName,uz=az,cz in lz?Object.defineProperty(lz,cz,{value:uz,enumerable:!0,configurable:!0,writable:!0}):lz[cz]=uz,lz);var lz,cz,uz;function dz(e){return(dz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pz(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function fz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hz(e,t){return(hz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mz(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yz(e);if(t){var o=yz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gz(this,n)}}function gz(e,t){if(t&&("object"===dz(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 yz(e){return(yz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vz=function(e){!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}}),t&&hz(e,t)}(s,e);var t,n,r,o,i,a=mz(s);function s(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),e=e||s.type,a.call(this,e,t||{},n)}return t=s,(n=[{key:"exec",value:(o=regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.processingBlots,n=this.params.fileData,r=this.params.blot,o=this.params.service,this.params.blotId&&(r=this.editor.findById(this.params.blotId)),!r||r instanceof Az||(this.setSelectedBlots([r]),r=null),n){e.next=10;break}return e.next=9,this.editor.plugins.remoteFileManager.chooseFile({service:o,blotId:r?r.id:void 0});case 9:n=e.sent;case 10:if(n){e.next=12;break}return e.abrupt("return",!1);case 12:if(r){e.next=27;break}if(!this.params.createRemoteFileBlot){e.next=17;break}r=this.params.createRemoteFileBlot(),e.next=27;break;case 17:if((i=this.editor.exec("convert-blot",{type:"remote-file",service:o}))&&i.action||this.selectedBlots.length&&((a=this.selectedBlots[0].container.containerConvertBlots(this.selectedBlots,{type:"remote-file",service:o}))?i={action:{results:[a]}}:console.error("res does not contain action",i)),(s=i.action.results[0].addedIds).length){e.next=22;break}return e.abrupt("return",!1);case 22:if(1===s.length){e.next=25;break}return console.error("addRemoteFile expects 1 id to be in the result of convert-blot, but got",s),e.abrupt("return",!1);case 25:l=s[0],r=this.editor.findById(l);case 27:return r.clearFileData(),r.setFileData(n),e.abrupt("return",!0);case 30:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){pz(i,n,r,a,s,"next",e)}function s(e){pz(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})}])&&fz(t.prototype,n),r&&fz(t,r),s}(ro);function bz(e){return(bz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wz(e,t){return(wz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Cz(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kz(e);if(t){var o=kz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Sz(this,n)}}function Sz(e,t){if(t&&("object"===bz(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ez(e)}function Ez(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xz(e,t,n){return(xz="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kz(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function kz(e){return(kz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}vz.type="add-remote-file";var Tz=se([Ec,dg,nh,Mu,Vu,bd,Eu,tu]),Az=function(e){!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}}),t&&wz(e,t)}(i,e);var t,n,r,o=Cz(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Oz(Ez(t=o.call(this,e)),"onFileReplace",(function(){new vz(vz.type,{blot:Ez(t),service:t.map.get("service")},t.editor).run({})})),Oz(Ez(t),"mapObserver",(function(){t.render()})),Oz(Ez(t),"setFileData",(function(e){e.fileData&&t.map.set("fileData",e.fileData),e.asyncContent&&e.asyncContent.then((function(e){t.map.set("asyncContent",e)})).catch((function(e){console.error(e)}))})),Oz(Ez(t),"onServiceAttachmentResolved",(function(e,n,r){t.serviceAttachments[e]||(t.serviceAttachments[e]={}),t.serviceAttachments[e][n]=r})),Oz(Ez(t),"onServiceRendered",(function(){t.setProps({serviceRendered:!0})})),Oz(Ez(t),"setPreviewState",(function(e){t.map.set("expanded",e)})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["delete","backspace"]),t.disallowReplace=!0,t.serviceAttachments={},t}return t=i,r=[{key:"createBlot",value:function(e){var t=a().create("remoteFileWrapper");return this.addCaretTrap(e,t.domNode),t}},{key:"create",value:function(e){var t=xz(kz(i),"create",this).call(this);t.classList.add("remote-file");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("remote-file-container"),t.appendChild(n),t}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xz(kz(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observe(this.map,this.mapObserver),this.render()}},{key:"hasFileData",value:function(){return Boolean(this.map.get("fileData"))}},{key:"hasAsyncContent",value:function(){return Boolean(this.map.get("asyncContent"))}},{key:"clearFileData",value:function(){this.map.set("fileData",null),this.map.set("asyncContent",null)}},{key:"render",value:function(){xz(kz(i.prototype),"render",this).call(this),this.getWrapper().render();var e=this.map.get("service");if(e&&this.hasFileData()){var t=this.domNode.querySelector(".remote-file-container");if(!sz[e])throw new Error('Service "'+e+'" is not supported');var n=sz[e];(0,s.sY)((0,s.h)(n,{fileData:this.map.get("fileData"),asyncContent:this.map.get("asyncContent"),onFileReplace:this.onFileReplace,expanded:this.map.get("expanded"),onServiceRendered:this.onServiceRendered,onServiceAttachmentResolved:this.onServiceAttachmentResolved,setPreviewState:this.setPreviewState,editor:this.editor}),t)}}},{key:"contextMenu",get:function(){var e=xz(kz(i.prototype),"contextMenu",this),t=(this.editor.plugins.i18n,sz[this.map.get("service")].getContextMenu);return t&&(e=t(e)),e}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t=this.store.createMap();return mv.initMap(t,this.store,{delta:this.getWrapper().caption.delta({forCopy:!0})}),a().query(this.map.get("type")).initMap(e,this.store,{service:this.map.get("service"),fileData:this.map.get("fileData"),asyncContent:this.map.get("asyncContent"),expanded:this.map.get("expanded"),caption:t.get("id")}),e.get("id")}},{key:"exec",value:function(e){var t=xz(kz(i.prototype),"exec",this).call(this,e);return"backspace"===e.type&&(e.dontRestoreSelection(),t=!0),t}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xz(kz(i.prototype),"remove",this)).call.apply(e,[this].concat(n))}},{key:"getWrapper",value:function(){return this.parent}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=xz(kz(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.store.unobserve(this.map,this.mapObserver)}},{key:"toHTML",value:function(e){var t=this.map.get("service");return t&&this.hasFileData()&&sz[t].toHTML?sz[t].toHTML(this,e):this.domNode.outerHTML}},{key:"getBlotInsertParams",value:function(e,t){var n,r=xz(kz(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(r,{initParams:{service:this.map.get("service"),fileData:this.map.get("fileData"),asyncContent:this.map.get("asyncContent"),expanded:this.map.get("expanded"),captionParams:null===(n=this.getWrapper().caption)||void 0===n?void 0:n.getBlotInsertParams()}})}}])&&_z(t.prototype,n),r&&_z(t,r),i}(Tz(O));function Pz(e){return(Pz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Iz(e,t,n){return(Iz="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=jz(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Mz(e,t){return(Mz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nz(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jz(e);if(t){var o=jz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dz(this,n)}}function Dz(e,t){if(t&&("object"===Pz(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 jz(e){return(jz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Oz(Az,"initMap",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","remote-file"),e.set("service",n.service),e.set("fileData",n.fileData||null),e.set("asyncContent",n.asyncContent||null),e.set("expanded",!n.hasOwnProperty("expanded")||n.expanded);var r=n.caption;if(!r){var o=t.createMap();mv.initMap(o,t,n.captionParams||{}),r=o.get("id")}e.set("caption",r),xz(kz(Az),"initMap",Az)&&xz(kz(Az),"initMap",Az).call(Az,e,t,n)})),Az.blotName="remote-file",Az.tagName="DIV",Az.wrapper="remoteFileWrapper";var Lz=function(e){!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}}),t&&Mz(e,t)}(i,e);var t,n,r,o=Nz(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).domNode.classList.add("remote-file-wrapper"),t.caption=null,t}return t=i,(n=[{key:"getInnerTextLine",value:function(){return this.caption}},{key:"render",value:function(){Iz(jz(i.prototype),"render",this).call(this),this.embed&&this.embed.hasFileData()&&this.embed.props.serviceRendered?(this.caption||(this.caption=a().create("caption"),this.caption.map=this.store.getMap(this.map.get("caption")),this.caption.embedBlot=this.embed,this.appendChild(this.caption)),this.caption.render()):this.caption&&(this.caption.remove(),this.caption=null)}}])&&Rz(t.prototype,n),r&&Rz(t,r),i}(ym);function Bz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Lz.allowedChildren=[Az,mv],Lz.blotName="remoteFileWrapper";const Fz=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"openImg",(function(e){t.props.editor.plugins.lightBox.open(e)}))}var t,n,r;return t=e,(n=[{key:"renderAttachment",value:function(e){var t=this;return(0,s.h)("div",{onClick:function(){e&&t.openImg(e.url)},className:"business-card-image-container"},e?(0,s.h)("img",{src:e.url}):(0,s.h)(ey(),null))}},{key:"render",value:function(){var e=this.props.hasFrontSide&&this.props.hasBackSide,t=this.props.hasFrontSide?this.renderAttachment(this.props.frontSideAttachment):null,n=this.props.hasBackSide?this.renderAttachment(this.props.backSideAttachment):null;return(0,s.h)("div",{className:"business-card-images "+(e?"two-sides":"")},t,n)}}])&&Bz(t.prototype,n),r&&Bz(t,r),e}();n(52382);function Uz(e){return(Uz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hz(Object(n),!0).forEach((function(t){zz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qz(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Wz(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 Gz(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Wz(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Wz(e,t){if(e){if("string"==typeof e)return Yz(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yz(e,t):void 0}}function Yz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kz(e,t){return(Kz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xz(e);if(t){var o=Xz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Qz(this,n)}}function Qz(e,t){if(t&&("object"===Uz(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 Xz(e){return(Xz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jz=function(e){!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}}),t&&Kz(e,t)}(i,e);var t,n,r,o=$z(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,"string"==typeof t&&(t={style:t}),o.call(this,e,t,n)}return t=i,(n=[{key:"before",value:function(e){var t,n=this,r=e.processingBlots,o=Gz(r);try{for(o.s();!(t=o.n()).done;){var i=t.value;i.beforeExec&&i.beforeExec(this)}}catch(e){o.e(e)}finally{o.f()}if(this.params.hasOwnProperty("value")){var a,s=Gz(r);try{for(s.s();!(a=s.n()).done;){var l=a.value;this.getBlotRange(l)}}catch(e){s.e(e)}finally{s.f()}}else{var c=function(e,t,r){return e.getFormat?r?e.getFormat(t,r):e.getFormat(t-1,1):e.children.map((function(e){return e})).reduce((function(e,t){if(t.getFormat){var r=qz(n.editor.scroll.selection.getRange({offsetBlot:t}),1)[0];return Vz(Vz({},e),t.getFormat(r.index,r.length))}return e}),{})},u=!0;if(1==r.length){var d=r[0],p=this.getBlotRange(d);c(d,p.index,p.length)[this.params.style]||(u=!1)}else{var f,h=Gz(r);try{for(h.s();!(f=h.n()).done;){var m=f.value,g=this.getBlotRange(m);if((!(r.length>1)||g&&g.length)&&!c(m,g.index,g.length)[this.params.style]){u=!1;break}}}catch(e){h.e(e)}finally{h.f()}}var y=!u;this.params=Object.assign({},this.params,{value:y})}this.rangeBeforeFormat=this.editor.scroll.selection.getRange()[0]}},{key:"after",value:function(){this.editor.scroll.selection.setRange(this.rangeBeforeFormat)}}])&&Zz(t.prototype,n),r&&Zz(t,r),i}(ro);function eq(e){return(eq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tq(Object(n),!0).forEach((function(t){rq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iq(e,t){return(iq=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function aq(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lq(e);if(t){var o=lq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return sq(this,n)}}function sq(e,t){if(t&&("object"===eq(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 lq(e){return(lq=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Jz.type="format";var cq=function(e){!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}}),t&&iq(e,t)}(i,e);var t,n,r,o=aq(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,"string"==typeof t&&(t={position:t}),o.call(this,e,t,n)}return t=i,(n=[{key:"getAllowedContainer",value:function(e){return{blot:e,container:e.container}}},{key:"exec",value:function(e){var t=e.processingBlots;if(0===t.length&&(t=0!==this.editor.scroll.selectedBlocks.length&&this.editor.scroll.selectedBlocks),!t)return!1;var n="above"===this.params.position?t[0]:t[t.length-1],r=this.getAllowedContainer(n),o=r.blot,i=r.container,a=this.params,s=a.tasksListId,l=a.extra,c=void 0===l?{}:l;return"above"===this.params.position?i.addBlot("tasks-list",nq({tasksListId:s,before:o.id},c)):i.addBlot("tasks-list",nq({tasksListId:s,after:o.id},c)),!0}}])&&oq(t.prototype,n),r&&oq(t,r),i}(ro);function uq(e){return(uq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dq(Object(n),!0).forEach((function(t){fq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mq(e,t){return(mq=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gq(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vq(e);if(t){var o=vq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yq(this,n)}}function yq(e,t){if(t&&("object"===uq(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 vq(e){return(vq=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}cq.type="add-tasks-list";var bq=function(e){!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}}),t&&mq(e,t)}(i,e);var t,n,r,o=gq(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,"string"==typeof t&&(t={position:t}),o.call(this,e,t,n)}return t=i,(n=[{key:"getAllowedContainer",value:function(e){return{blot:e,container:e.container}}},{key:"exec",value:function(e){var t=e.processingBlots;if(0===t.length&&(t=0!==this.editor.scroll.selectedBlocks.length&&this.editor.scroll.selectedBlocks),!t)return!1;var n="above"===this.params.position?t[0]:t[t.length-1],r=this.getAllowedContainer(n),o=r.blot,i=r.container,a=this.params,s=a.boardId,l=a.extra,c=void 0===l?{}:l;return"above"===this.params.position?i.addBlot("board",pq({boardId:s,before:o.id},c)):i.addBlot("board",pq({boardId:s,after:o.id},c)),!0}}])&&hq(t.prototype,n),r&&hq(t,r),i}(ro);function _q(e){return(_q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wq(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Cq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cq(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Cq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Eq(e,t){return(Eq=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xq(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Oq(e);if(t){var o=Oq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return kq(this,n)}}function kq(e,t){if(t&&("object"===_q(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 Oq(e){return(Oq=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}bq.type="add-board";var Tq=function(e){!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}}),t&&Eq(e,t)}(i,e);var t,n,r,o=xq(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,t&&(t=!1),o.call(this,e,t,n)}return t=i,(n=[{key:"before",value:function(e){var t,n=e.processingBlots,r=wq(n);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.beforeExec&&o.beforeExec(this)}}catch(e){r.e(e)}finally{r.f()}var i,a=wq(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;this.getBlotRange(s)}}catch(e){a.e(e)}finally{a.f()}this.rangeBeforeFormat=this.editor.scroll.selection.getRange()[0]}},{key:"after",value:function(){this.editor.scroll.selection.setRange(this.rangeBeforeFormat)}}])&&Sq(t.prototype,n),r&&Sq(t,r),i}(ro);function Aq(e){return(Aq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Iq(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 Rq(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Iq(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Iq(e,t){if(e){if("string"==typeof e)return Mq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mq(e,t):void 0}}function Mq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dq(e,t){return(Dq=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jq(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Bq(e);if(t){var o=Bq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Lq(this,n)}}function Lq(e,t){if(t&&("object"===Aq(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 Bq(e){return(Bq=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Tq.type="clear-formatting";var Fq=function(e){!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}}),t&&Dq(e,t)}(i,e);var t,n,r,o=jq(i);function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,"string"==typeof t&&(t={position:t}),(r=o.call(this,e,t,n)).setRangeInto=null,r.allowWithoutFocus=!0,r}return t=i,r=[{key:"normalizeParams",value:function(e,t){return(e=Object.assign({},e)).processingBlots&&0!==e.processingBlots.length||(e.processingBlots=0!==t.scroll.selectedBlocks.length&&t.scroll.selectedBlocks[0]),e.moveBlocks||(e.moveBlocks=!1),e.context||(e.context={}),e}}],(n=[{key:"updateBlock",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=e.getWrappedBlot();var o=this.editor.findById(t);if(o.moveChild(e,n,r),r.subListItems){var i,a=n+1,s=Rq(r.subListItems);try{for(s.s();!(i=s.n()).done;){var l=i.value;o.moveChild(l,a,r),a++}}catch(e){s.e(e)}finally{s.f()}}}},{key:"findParentGridCol",value:function(e){for(;e;){if("gridCol"===e.constructor.blotName)return e;e=e.parent}return null}},{key:"before",value:function(e){var t=this;this.editor.scroll.batchStart(),e.moveBlocks&&e.moveBlocks.length&&e.moveBlocks.map((function(e){t.getBlotRange(e)}));var n=Pq(this.editor.scroll.selection.getRange(),1)[0];this.cache.rangeLength=n?n.length:0}},{key:"after",value:function(e){this.editor.scroll.batchEnd(),this.editor.scroll.update("user"),Object.keys(this.cache.blotRange),this.setRangeInto&&this.editor.scroll.selection.setRange({index:this.setRangeInto.offset(this.editor.scroll),length:0})}},{key:"addGrid",value:function(e,t){var n,r,o,i,a=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=this.findParentGridCol(t);if("left"===e){if(c){var u=c.parent.addBlot("gridCol",{index:Math.max(0,c.index)}),d=u.id;n=this.editor.findById(d)}else{var p;if(!t.isListItem||s&&s.length)p=this.editor.scroll.addBlot("grid",{index:t.index}).id;else{var f=t.parent.getChildIndex(t.id);if(t.getSubItems){var h=t.getSubItems();h.length&&(f=t.parent.getChildIndex(h[h.length-1].id),l.subListItems=h)}p=t.parent.splitWithBlot(f,"grid").id,console.log("Split list index",f,"grid id",p)}i=this.editor.findById(p),n=i.children.head,r=i.children.head.next}if(s&&0!==s.length){var m=0;s.forEach((function(e){a.updateBlock(e,n.id,m,l),m++}))}else{var g=n.addBlot("paragraph").id;o=this.editor.findById(g)}r&&this.updateBlock(t,r.id,0,l)}else if("right"===e){if(c){var y=c.parent.addBlot("gridCol",{index:c.index+1}),v=y.id;r=this.editor.findById(v)}else{var b;if(!t.isListItem||s&&s.length)b=this.editor.scroll.addBlot("grid",{index:t.index}).id;else{var _=t.parent.getChildIndex(t.id);if(t.getSubItems){var w=t.getSubItems();w.length&&(_=t.parent.getChildIndex(w[w.length-1].id),l.subListItems=w)}b=t.parent.splitWithBlot(_,"grid").id}i=this.editor.findById(b),n=i.children.head,r=i.children.head.next}if(s&&0!==s.length){var C=0;s.forEach((function(e){a.updateBlock(e,r.id,C,l),C++}))}else{var S=r.addBlot("paragraph").id;o=this.editor.findById(S)}n&&this.updateBlock(t,n.id,0,l)}void 0!==o&&o&&(this.setRangeInto=o)}},{key:"exec",value:function(e){return 0!==(e=this.constructor.normalizeParams(e,this.editor)).moveBlocks.length&&!!e.processingBlots&&(this.addGrid(this.params.position,e.processingBlots,e.moveBlocks,e.context),!0)}}])&&Nq(t.prototype,n),r&&Nq(t,r),i}(ro);Fq.type="add-grid";const Uq=Fq;function Hq(e){return(Hq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vq(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function zq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qq(e,t){return(qq=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gq(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yq(e);if(t){var o=Yq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wq(this,n)}}function Wq(e,t){if(t&&("object"===Hq(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 Yq(e){return(Yq=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zq=function(e){!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}}),t&&qq(e,t)}(s,e);var t,n,r,o,i,a=Gq(s);function s(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),e=e||s.type,a.call(this,e,t||{},n)}return t=s,(n=[{key:"exec",value:(o=regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.source,r=this.params.files,o=this.params.blot,this.params.blotId&&(o=this.editor.findById(this.params.blotId)),r){e.next=10;break}if(this.editor.plugins.attachmentManager.isMethodImplemented("chooseFile")){e.next=7;break}return e.abrupt("return",console.warn("chooseFile is not implemented in the attachmentManager plugin, skip executing add-file action"));case 7:return e.next=9,this.editor.plugins.attachmentManager.chooseFile({multiple:!0,source:n,blotName:"image",blotId:o?o.id:void 0});case 9:r=e.sent;case 10:if(r){e.next=12;break}return e.abrupt("return",!1);case 12:return e.next=14,this.editor.plugins.attachmentManager.validateFiles(r);case 14:if(e.sent){e.next=17;break}return e.abrupt("return");case 17:if(o){e.next=28;break}if((i=this.editor.exec("convert-blot",{type:"image"})).action||console.error("res does not contain action",i),(a=i.action.results[0].addedIds).length){e.next=23;break}return e.abrupt("return",!1);case 23:if(1===a.length){e.next=26;break}return console.error("addImage expects 1 id to be in the result of convert-blot, but got",a),e.abrupt("return",!1);case 26:s=a[0],o=this.editor.findById(s);case 28:return o.clearAttachment(),o.setHTMLFilesForUpload(r,{dontPutCaretAfter:this.params.dontPutCaretAfter||!1}),e.abrupt("return",!0);case 31:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Vq(i,n,r,a,s,"next",e)}function s(e){Vq(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})}])&&zq(t.prototype,n),r&&zq(t,r),s}(ro);function Kq(e){return(Kq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $q(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Qq(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xq(e,t){return(Xq=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Jq(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=tG(e);if(t){var o=tG(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return eG(this,n)}}function eG(e,t){if(t&&("object"===Kq(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 tG(e){return(tG=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Zq.type="add-image";var nG=function(e){!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}}),t&&Xq(e,t)}(s,e);var t,n,r,o,i,a=Jq(s);function s(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),e=e||s.type,a.call(this,e,t||{},n)}return t=s,(n=[{key:"exec",value:(o=regeneratorRuntime.mark((function e(t){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processingBlots,n=this.params.frontSideAttachmentGlobalId,r=this.params.backSideAttachmentGlobalId,o=this.params.fields,i=this.params.replaceBlotId,this.editor.exec("convert-blot",{type:"businessCard",frontSideAttachmentGlobalId:n,backSideAttachmentGlobalId:r,fields:o,replaceBlotId:i}),e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){$q(i,n,r,a,s,"next",e)}function s(e){$q(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})}])&&Qq(t.prototype,n),r&&Qq(t,r),s}(ro);function rG(e){return(rG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oG(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return iG(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iG(e,t)}(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 iG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sG(e,t){return(sG=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lG(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uG(e);if(t){var o=uG(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cG(this,n)}}function cG(e,t){if(t&&("object"===rG(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 uG(e){return(uG=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}nG.type="add-business-card";var dG=function(e){!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}}),t&&sG(e,t)}(i,e);var t,n,r,o=lG(i);function i(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,(r=o.call(this,e,t,n)).rangeBefore=null,r}return t=i,(n=[{key:"getBlotsToProcess",value:function(e){return"scroll"===e[0].constructor.blotName&&(e=this.editor.scroll.selectedBlocks),e}},{key:"before",value:function(e){var t=e.processingBlots,n=this.getBlotsToProcess(t)[0],r=oG(this.editor.scroll.selection.getRange({offsetBlot:n}),1)[0];this.rangeBefore=r}},{key:"after",value:function(e){var t=e.processingBlots,n={index:this.getBlotsToProcess(t)[0].offset(this.editor.scroll)+this.rangeBefore.index,length:0};this.editor.scroll.selection.setRange(n),this.editor.plugins.selectionScroller.ensureSelectionVisible()}},{key:"exec",value:function(e){var t=e.processingBlots;if(this.editor,1!==(t=this.getBlotsToProcess(t)).length)throw new Error("processingBlots must contain only single blot");if(!["up","down"].includes(this.params.direction))throw new Error("direction must be either up or down");var n,r=t[0],o=r.getWrapper(),i=r.container;n="up"===this.params.direction?i.getChildIndex(o.prev.id):i.getChildIndex(o.next.id)+1,i.moveChild(r.id,n)}}])&&aG(t.prototype,n),r&&aG(t,r),i}(ro);function pG(e){return(pG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hG(e,t,n){return(hG="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=vG(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function mG(e,t){return(mG=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gG(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vG(e);if(t){var o=vG(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yG(this,n)}}function yG(e,t){if(t&&("object"===pG(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 vG(e){return(vG=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}dG.type="move-blot-one-step";var bG=["toggle","step","hLarge-toggle","hMedium-toggle","hSmall-toggle"],_G=function(e){!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}}),t&&mG(e,t)}(i,e);var t,n,r,o=gG(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"exec",value:function(e){return bG.includes(this.params.type)&&e.processingBlots&&(e.processingBlots=e.processingBlots.filter((function(e){return!ie(e,(function(e){return"toggleContent"===e.constructor.blotName}))}))),e.abortOnFirstProcess=!0,hG(vG(i.prototype),"exec",this).call(this,e)}}])&&fG(t.prototype,n),r&&fG(t,r),i}(ro);function wG(e){return(wG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function CG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SG(e,t){return(SG=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function EG(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kG(e);if(t){var o=kG(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xG(this,n)}}function xG(e,t){if(t&&("object"===wG(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 kG(e){return(kG=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_G.type="convert-blot";var OG=function(e){!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}}),t&&SG(e,t)}(i,e);var t,n,r,o=EG(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"after",value:function(){this.editor.scroll.selection.focus({preventScroll:!0})}}])&&CG(t.prototype,n),r&&CG(t,r),i}(ro);function TG(e){return(TG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AG(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function PG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RG(e,t){return(RG=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function IG(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=NG(e);if(t){var o=NG(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return MG(this,n)}}function MG(e,t){if(t&&("object"===TG(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 NG(e){return(NG=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}OG.type="set-background";var DG=function(e){!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}}),t&&RG(e,t)}(s,e);var t,n,r,o,i,a=IG(s);function s(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),e=e||s.type,a.call(this,e,t||{},n)}return t=s,(n=[{key:"exec",value:(o=regeneratorRuntime.mark((function e(t){var n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((n=t.processingBlots).length>1)&&n.length){e.next=3;break}return e.abrupt("return",!1);case 3:if(r=n[0],(o=this.editor.scroll.selection.getRange({offsetBlot:r})[0])&&!(o.length>0)){e.next=7;break}return e.abrupt("return",!1);case 7:return i="",0===o.index||" "===r.getText(o.index-1,1)||(i+=" "),i+="@",r.map.get("characters").applyDelta([{retain:o.index},{insert:i}]),this.editor.scroll.selection.setRange({index:r.offset(this.editor.scroll)+o.index+i.length,length:0}),a=this.editor.scroll.selection.getRange({offsetBlot:r})[0],this.editor.plugins.mentionManager.start(r,a),e.abrupt("return",!0);case 15:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){AG(i,n,r,a,s,"next",e)}function s(e){AG(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})}])&&PG(t.prototype,n),r&&PG(t,r),s}(ro);function jG(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return LG(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LG(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function LG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BG(e){return(BG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function FG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UG(e,t){return(UG=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function HG(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zG(e);if(t){var o=zG(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VG(this,n)}}function VG(e,t){if(t&&("object"===BG(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 zG(e){return(zG=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}DG.type="begin-mention";var qG=function(e){!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}}),t&&UG(e,t)}(i,e);var t,n,r,o=HG(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"getCloneIds",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e&&e.length>0&&e.map((function(e){if("list"===e.parent.constructor.blotName){var n=[];e.isCollapsed()&&(n=e.getSubItems().map((function(e){return e.id})));var r=t[t.length-1],o=e.id;n.length&&(o={blotId:e.id,subItems:n}),"object"===BG(r)&&r.listId===e.parent.id?r.children.push(o):((r={}).listId=e.parent.id,r.children=[],r.children.push(o),t.push(r))}else if("syntax"===e.parent.constructor.blotName){var i=t[t.length-1];(i={}).syntaxId=e.parent.id,i.children=[],i.children.push(e.id),t.push(i)}else t.push(e.id)})),t}},{key:"getDuplicatedBlots",value:function(){var e=this;return this.duplicatedIds&&this.duplicatedIds.length?this.duplicatedIds.map((function(t){return e.editor.findById(t)})):null}},{key:"exec",value:function(e){var t=this,n=e.processingBlots,r=this.editor.plugins.limitManager,o=n&&n.length?n:this.editor.scroll.selectedBlocks;if(r&&!r.canAddBlot({type:"any",amount:o.length,alert:!0}))return!1;o=o.filter((function(e){var t=ie(e,(function(e){return e.isCollapsibleContainer}));return!(t&&t.getSelectableBlot&&t.getSelectableBlot().props.selected||e.isBlotLocked||"caption"===e.constructor.blotName)}));var i=this.getCloneIds(o),a=[];return i.map((function(e){var n,r,o,i;if("object"!==BG(e)||void 0!==e.syntaxId)i=(r=(n="object"!==BG(e)?t.editor.findById(e):t.editor.findById(e.syntaxId)).container).getChildIndex(e),o=n.cloneSelf(),r.containerChildren.insert(i+1,[o]),a.push(o);else{r=t.editor.findById(e.listId);var s,l=jG(e.children);try{for(l.s();!(s=l.n()).done;){var c=s.value;if("object"===BG(c)?(n=t.editor.findById(c.blotId),i=r.getChildIndex(c.blotId)+1,c.subItems.length&&(i=r.getChildIndex(c.subItems[c.subItems.length-1])+1)):(n=t.editor.findById(c),i=r.getChildIndex(c)+1),o=n.cloneSelf(),r.containerChildren.insert(i,[o]),a.push(o),"object"===BG(c)&&c.subItems.length){var u,d=jG(c.subItems);try{for(d.s();!(u=d.n()).done;){var p=u.value,f=t.editor.findById(p);i++,o=f.cloneSelf(),r.containerChildren.insert(i,[o]),a.push(o),t.editor.findById(o).setProps(f.props)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){l.e(e)}finally{l.f()}}})),this.duplicatedIds=a,!0}}])&&FG(t.prototype,n),r&&FG(t,r),i}(ro);function GG(e){return(GG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function WG(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function YG(e,t){return(YG=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ZG(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$G(e);if(t){var o=$G(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return KG(this,n)}}function KG(e,t){if(t&&("object"===GG(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:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}qG.type="duplicate-blots";var QG=function(e){!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}}),t&&YG(e,t)}(i,e);var t,n,r,o=ZG(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"before",value:function(){this.savedRange=this.editor.scroll.selection.getRange()[0]}},{key:"after",value:function(){this.savedRange?this.editor.scroll.selection.setRange(this.savedRange):this.editor.scroll.selection.setRange({index:0,length:0})}},{key:"exec",value:function(){var e=this.editor.scroll.length(),t=this.editor.scroll.children.tail;return"list"===t.constructor.blotName&&(t=t.children.tail),"grid"===t.constructor.blotName&&(t=t.children.tail.children.tail),t instanceof pc&&t.isEmpty&&!t.isEmpty()&&(e-=1),this.editor.scroll.selection.setRange({index:0,length:e}),document.execCommand("copy"),this.editor.plugins.notificationManager&&this.editor.plugins.notificationManager.toast(this.editor.plugins.i18n.get("copy.copied")),!0}}])&&WG(t.prototype,n),r&&WG(t,r),i}(ro);function XG(e){return(XG="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function JG(e){return function(e){if(Array.isArray(e))return tW(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||eW(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 eW(e,t){if(e){if("string"==typeof e)return tW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tW(e,t):void 0}}function tW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rW(e,t){return(rW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=aW(e);if(t){var o=aW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return iW(this,n)}}function iW(e,t){if(t&&("object"===XG(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 aW(e){return(aW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}QG.type="copy-all";var sW=function(e){!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}}),t&&rW(e,t)}(i,e);var t,n,r,o=oW(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t,n)}return t=i,(n=[{key:"getContents",value:function(e){var t,n=[],r=[],o=[],i=new PD(this.editor.scroll,{skipContainers:["grid","gridCol","toggleContent"]}),a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=eW(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(s.getBlotInsertParams){var l=s.getBlotInsertParams(null,i);Array.isArray(l)?n.push.apply(n,JG(l)):n.push(l)}r.push(s.getWrapper().domNode.outerHTML),o.push(s.getWrapper().domNode.textContent)}}catch(e){a.e(e)}finally{a.f()}return{ops:i.normalizeOps(n),html:r.join(""),text:o.join("\n")}}},{key:"exec",value:function(){var e=this.selectedBlots.filter((function(e,t){if(e.isSelectableBlotChild&&t>0)return!1;var n=ie(e,(function(e){return e.isCollapsibleContainer}));return!(n&&n.getSelectableBlot&&n.getSelectableBlot().props.selected)})),t=this.getContents(e),n=t.text,r=t.html,o=t.ops;return this.editor.plugins.copyManager.copy(n,{html:r,ops:o}),!0}}])&&nW(t.prototype,n),r&&nW(t,r),i}(ro);sW.type="copy-blocks";const lW=JSON.parse('{"cols":5,"rows":3,"content":{"columns":[{"type":"column","text":"Text"},{"type":"column","text":"Option","columnType":"singleselect","dbSelect":{"option_id_1":{"name":"Option 1","style":"default","color":"lime"},"option_id_2":{"name":"Option 2","style":"default","color":"amber"},"option_id_3":{"name":"Option 3","style":"default","color":"pink"}}},{"type":"column","text":"Progress","columnType":"progress"},{"type":"column","text":"Checkbox","columnType":"checkbox"},{"type":"column","text":"Date","columnType":"date"}],"rows":[{"type":"row","children":[{"cellType":"text","type":"tableCellText","delta":{"ops":[{"insert":"Some text\\n"}]},"value":"Some text","text":"Some text"},{"cellType":"singleselect","type":"tableCellSelect","selected":["option_id_1"],"value":["option_id_1"],"text":"Option 1"},{"cellType":"progress","type":"tableCellProgress","progress":100,"value":100,"text":"100%"},{"cellType":"checkbox","type":"tableCellCheckbox","checked":true,"value":true,"text":"Да"},{"cellType":"date","type":"tableCellDate","timestamp":"tomorrow","value":"tomorrow","text":"tomorrow"}]},{"type":"row","children":[{"cellType":"text","type":"tableCellText","colspan":1,"rowspan":1,"delta":{"ops":[{"insert":"Some text\\n"}]},"value":"Some text","text":"Some text"},{"cellType":"singleselect","type":"tableCellSelect","selected":["option_id_2"],"value":["option_id_2"],"text":"Option 2"},{"cellType":"progress","type":"tableCellProgress","progress":64,"value":64,"text":"64%"},{"cellType":"checkbox","type":"tableCellCheckbox","checked":false,"value":false,"text":"Нет"},{"cellType":"date","type":"tableCellDate","timestamp":"tomorrow","value":"tomorrow","text":"tomorrow"}]},{"type":"row","children":[{"cellType":"text","type":"tableCellText","colspan":1,"rowspan":1,"delta":{"ops":[{"insert":"Some text\\n"}]},"value":"Some text","text":"Some text"},{"cellType":"singleselect","type":"tableCellSelect","selected":["option_id_3"],"value":["option_id_3"],"text":"Option 3"},{"cellType":"progress","value":0,"text":"0%"},{"cellType":"checkbox","value":false,"text":"Нет"},{"cellType":"date","type":"tableCellDate","timestamp":"tomorrow","value":"tomorrow","text":"tomorrow"}]}]},"lineByLine":true,"captionParams":{"delta":{"ops":[{"insert":"\\n"}]}}}'),cW=JSON.parse('{"cols":5,"rows":3,"content":{"columns":[{"type":"column","text":"Text"},{"type":"column","text":"Option","columnType":"singleselect"},{"type":"column","text":"Progress","columnType":"progress"},{"type":"column","text":"Checkbox","columnType":"checkbox"},{"type":"column","text":"Date","columnType":"date"}],"rows":[{"type":"row","children":[]},{"type":"row","children":[]},{"type":"row","children":[]}]},"lineByLine":true,"captionParams":{"delta":{"ops":[{"insert":"\\n"}]}}}');function uW(e){return(uW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dW(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return pW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pW(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function pW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hW(e,t){return(hW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yW(e);if(t){var o=yW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gW(this,n)}}function gW(e,t){if(t&&("object"===uW(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 yW(e){return(yW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vW,bW={"with-options":Object.assign({},lW),"with-column-titles":Object.assign({},cW)},_W=function(e){!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}}),t&&hW(e,t)}(i,e);var t,n,r,o=mW(i);function i(e,t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||i.type,o.call(this,e,t||{},n)}return t=i,(n=[{key:"getTimestamp",value:function(e){var t=new Date;switch(e){case"now":return t.getTime();case"tomorrow":var n=t;return n.setDate(t.getDate()+1),n.getTime();default:return t.getTime()}}},{key:"prepareTemplate",value:function(e){var t,n,r={},o=0;if(null!=e&&null!==(t=e.content)&&void 0!==t&&t.columns){var i,a=dW(e.content.columns);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(s.dbSelect)for(var l=Object.keys(s.dbSelect),c=0,u=l;c<u.length;c++){var d=u[c],p=String(Date.now()+o);s.dbSelect[p]=s.dbSelect[d],r[d]=p,delete s.dbSelect[d],o++}}}catch(e){a.e(e)}finally{a.f()}}if(null!=e&&null!==(n=e.content)&&void 0!==n&&n.rows){var f,h=dW(e.content.rows);try{for(h.s();!(f=h.n()).done;){var m=f.value;if(m.children){var g,y=dW(m.children);try{for(y.s();!(g=y.n()).done;){var v=g.value;if("singleselect"!==v.cellType&&"multiselect"!==v.cellType||(v.selected&&(v.selected=v.selected.map((function(e){return r[e]?r[e]:e}))),v.value&&(v.value=v.value.map((function(e){return r[e]?r[e]:e})))),"date"===v.cellType&&(v.timestamp&&(v.timestamp=this.getTimestamp(v.timestamp)),v.value&&(v.timestamp?v.value=v.timestamp:v.value=this.getTimestamp(v.value)),v.text)){var b=new Intl.DateTimeFormat("default",{year:"numeric",month:"2-digit",day:"2-digit"});v.timestamp?v.text=b.format(new Date(v.timestamp)):v.value?v.text=b.format(new Date(v.value)):v.text=b.format(this.getTimestamp(v.text))}}}catch(e){y.e(e)}finally{y.f()}}}}catch(e){h.e(e)}finally{h.f()}}return e}},{key:"getType",value:function(e){switch(e){case"with-options":var t=0,n=e;return localStorage.hasOwnProperty("editor-count-database-created")&&(t=localStorage.getItem("editor-count-database-created"))>=2&&(n="with-column-titles"),t++,localStorage.setItem("editor-count-database-created",t),n;default:return e}}},{key:"exec",value:function(){var e=this.getType(this.params.type);if(e&&bW[e]){var t=this.prepareTemplate(Object.assign({},bW[e])),n=!(!this.selectedBlots||!this.selectedBlots.length)&&this.selectedBlots[this.selectedBlots.length-1],r=n?n.container:this.editor.scroll,o=this.editor.isEmpty();r.addBlot("table",Object.assign({after:n&&n.id},t)),o&&!n?r.children.head.remove():n&&n.isEmpty&&n.isEmpty()&&n.remove()}}}])&&fW(t.prototype,n),r&&fW(t,r),i}(ro);function wW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_W.type="add-database";var CW=(wW(vW={},Jz.type,Jz),wW(vW,$h.type,$h),wW(vW,cq.type,cq),wW(vW,bq.type,bq),wW(vW,Tq.type,Tq),wW(vW,Uq.type,Uq),wW(vW,Lv.type,Lv),wW(vW,vz.type,vz),wW(vW,Zq.type,Zq),wW(vW,dG.type,dG),wW(vW,_G.type,_G),wW(vW,G_.type,G_),wW(vW,OG.type,OG),wW(vW,DG.type,DG),wW(vW,qG.type,qG),wW(vW,nG.type,nG),wW(vW,QG.type,QG),wW(vW,sW.type,sW),wW(vW,_W.type,_W),vW);function SW(e){return function(e){if(Array.isArray(e))return OW(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kW(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 EW(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=kW(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function xW(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||kW(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 kW(e,t){if(e){if("string"==typeof e)return OW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?OW(e,t):void 0}}function OW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var PW=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),AW(this,"onSelectionChange",(function(){var e=xW(n.selection.getRange(),2),t=(e[0],e[1]);n.toolbarEvents(t)})),AW(this,"onUndoManagerChange",(function(){var e=xW(n.selection.getRange(),2),t=(e[0],e[1]);n.toolbarEvents(t)})),this.editor=t,this.browser=this.editor.browser,this.scroll=this.editor.scroll,this.selection=this.scroll.selection,this.savedNative=!1,this.allowMerge=!1,this.allowDivide=!1,this.timerScrollChecker=!1,this.timerScroll=!1,this.editor.on("undo-manager-change",this.onUndoManagerChange),this.editor.mode===this.editor.constructor.MODE_EDIT&&this.editor.options.render&&window.addEventListener("selectionchange",this.onSelectionChange,!1)}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){window.removeEventListener("selectionchange",this.onSelectionChange,!1)}},{key:"execOnBlots",value:function(e,t){var n=function(e,t,n){return new(CW[e]?CW[e]:ro)(e,t,n)}(e,t,this.editor);console.groupCollapsed("Api: execOnBlots handler");var r=new Set,o=function e(t){var r=new Set;if(t.getChildBlotsForExec){var o,i=t.getChildBlotsForExec(),a=EW(i);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.canExec&&s.canExec(n)&&r.add(s)}}catch(e){a.e(e)}finally{a.f()}if(!r.size){var l,c=EW(i);try{for(c.s();!(l=c.n()).done;){var u=e(l.value);u.size&&(r=new Set([].concat(SW(r),SW(u))))}}catch(e){c.e(e)}finally{c.f()}}}return r},i=this.selection.getNativeRange(),a=new Set;i&&(a=new Set([].concat(SW(a),SW(this.selection.getBlotsInRange(i)))));var s,l=Array.from(document.querySelectorAll(".selected-block, .focused-block")).map((function(e){return s5.find(e)})),c=EW(document.querySelectorAll(".focused-block"));try{for(c.s();!(s=c.n()).done;){var u=s.value,d=s5.find(u);d&&a.add(d)}}catch(e){c.e(e)}finally{c.f()}var p=function(e){var t,i=new Set,a=EW(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(s.canExec&&s.canExec(n))i.add(s);else{var l=o(s);if(l.size){var c,u=EW(l);try{for(u.s();!(c=u.n()).done;){var d=c.value;i.add(d)}}catch(e){u.e(e)}finally{u.f()}}else{for(var p=!0,f=s.parent;p&&f;){var h,m=EW(e);try{for(m.s();!(h=m.n()).done;){var g=h.value;if(g!==s&&f===g){p=!1;break}}}catch(e){m.e(e)}finally{m.f()}f=f.parent}if(!p)continue;for(f=s.parent;f&&!r.has(f);){if(r.add(f),f.canExec&&f.canExec(n)){i.add(f);break}f=f.parent}}}}}catch(e){a.e(e)}finally{a.f()}return Array.from(i)}(a=Array.from(a));p=p.filter((function(e){return!e.isBlotLocked})),n.setSelectedBlots(l),n.before({processingBlots:p});var f=n.exec({processingBlots:p});return n.after({processingBlots:p}),console.groupEnd(),{isProcessed:f,action:n}}},{key:"exec",value:function(e,t){try{var n=this.execOnBlots(e,t),r=n.isProcessed,o=n.action;if(r)return{action:o}}catch(e){return console.error(e,e.stack),{error:e}}switch(e){case"insert-block":return"table"===t.type?this.addTable(t.rows,t.cols):"paragraph"===t.type?console.log('Inserting "Paragraph" from api not released'):"image"===t.type&&this.addImage(t.src);case"save-range":this.saveNativeRange();break;case"undo":new n_(n_.type,{},this.editor).run();break;case"redo":new u_(u_.type,{},this.editor).run();break;case"insert-html":this.editor.plugins.pasteManager.paste(t)}}},{key:"focusScroll",value:function(){this.scroll.domNode.setAttribute("contenteditable",!0),this.scroll.domNode.focus(),[].slice.call(this.scroll.domNode.querySelectorAll(".focused-block")).map((function(e){})),[].slice.call(this.scroll.domNode.getElementsByClassName("col-selected")).map((function(e){e.classList.remove("col-selected")})),[].slice.call(this.scroll.domNode.getElementsByClassName("current")).map((function(e){e.classList.remove("current")})),[].slice.call(this.scroll.domNode.getElementsByClassName("write")).map((function(e){s5.find(e).children.head.domNode.removeAttribute("contenteditable"),e.classList.remove("write")})),[].slice.call(this.scroll.domNode.getElementsByClassName("change")).map((function(e){s5.find(e).children.head.domNode.removeAttribute("contenteditable"),e.classList.remove("write")})),this.allowMerge=!1,this.editor.emitter.emit("allow-merge",!1),this.allowDivide=!1,this.editor.emitter.emit("allow-divide",!1)}},{key:"getBlock",value:function(e){return function e(t){return!!t&&(t instanceof zh&&"tableCell"!=t.parent.constructor.blotName||"table"==t.constructor.blotName||"image"==t.constructor.blotName?t:e(t.parent))}(s5.find(e))}},{key:"addTable",value:function(e,t){this.editor.toolbar.tableFormContainer.querySelector(".add-table-form").style.display="none";var n,r=this.selection.getNativeRange();null==r&&(r=this.savedNative);var o=this.scroll.id;if(null!=r&&0!=r){var i=this.scroll.getBlock(s5.find(r.end.node));if("grid"==i.parent.constructor.blotName)o=i.parent.id,n=i.index+1;else if(0==r.end.offset){var a=s5.find(r.end.node),s=i.descendants(s5.Leaf).indexOf(a);0==s?n=void 0!==i.prev?i.index:0:-1==s&&"break"==a.constructor.blotName?(n=i.index,i.remove()):n=i.index+1}else n=i.index+1}else n=[].slice.call(this.scroll.domNode.childNodes).length;this.scroll.token=!0,this.scroll.blocks.insert(n,[this.editor.Y.Map]);var l=this.scroll.blocks.get(n);this.scroll.emitter.emit("add-table",{source:"user",index:n,parent:o,map:l});for(var c=s5.find(document.getElementById(o)).getByIndex(n).children.head,u=l.get("rows"),d=l.get("columns"),p=0;p<t;p++){c.token=!0,d.insert(p,[this.editor.Y.Map]);var f=d.get(p);c.emitter.emit("add-column",{source:"user",index:p,map:f})}for(var h=0;h<e;h++){c.token=!0,u.insert(h,[this.editor.Y.Map]);var m=u.get(h);c.emitter.emit("add-row",{source:"user",index:h,map:m});for(var g=c.getByIndex(h),y=m.get("cols"),v=0;v<t;v++){g.token=!0,y.insert(v,[this.editor.Y.Map]);var b=y.get(v);g.emitter.emit("add-col",{source:"user",index:v,map:b});var _=g.getByIndex(v),w=_.map.get("blocks");_.token=!0,w.insert(0,[this.editor.Y.Map]);var C=w.get(0);_.emitter.emit("add-paragraph",{source:"user",index:0,map:C})}}return this.savedNative=!1,!0}},{key:"mergeCols",value:function(){}},{key:"divideCols",value:function(){}},{key:"addRow",value:function(){}},{key:"addColumn",value:function(){}},{key:"deleteRow",value:function(){}},{key:"deleteColumn",value:function(){}},{key:"addImage",value:function(e){var t=this;return new Promise((function(n){var r,o=(r=e,new RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(r));if(0==o&&n({error:"not url"}),0==(o=function(e){return null!=e.match(/\.(jpeg|jpg|gif|png)$/)}(e)))n({error:"not image url"});else{var i=new Image;i.onload=function(){if(i.width<=50||i.height<=50)n({error:"image size need largest 50x50"});else{var r,o=t.selection.getNativeRange();null==o&&(o=t.savedNative);var a=t.scroll.id;if(null!=o&&0!=o){var s=t.scroll.getBlock(s5.find(o.end.node));if("grid"==s.parent.constructor.blotName)a=s.parent.id,r=s.index+1;else if(0==o.end.offset){var l=s5.find(o.end.node),c=s.descendants(s5.Leaf).indexOf(l);0==c?r=void 0!==s.prev?s.index:0:-1==c&&"break"==l.constructor.blotName?(r=s.index,s.remove()):r=s.index+1}else r=s.index+1}else r=t.scroll.blocks._content.length;t.scroll.token=!0,t.scroll.blocks.insert(r,[t.editor.Y.Map]);var u=t.scroll.blocks.get(r);t.scroll.emitter.emit("add-image",{source:"user",index:r,parent:a,map:u,src:e}),t.savedNative=!1,n(!0)}},i.src=e}}))}},{key:"toolbarEvents",value:function(e){var t=this,n=function(){return{canUndo:t.editor.plugins.undoManager.canUndo(),canRedo:t.editor.plugins.undoManager.canRedo()}};!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t.editor.emitter.emit("toolbar-status",e,r,n())}()}},{key:"saveNativeRange",value:function(){this.savedNative=this.selection.getNativeRange()}},{key:"makeid",value:function(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<8;n++)e+=t.charAt(Math.floor(Math.random()*t.length));return e}},{key:"getCursorStyle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;switch(e){case"top-left":case"bottom-right":return"nwse-resize";case"top":case"bottom":return"ns-resize";case"top-right":case"bottom-left":return"nesw-resize";case"right":case"left":return"ew-resize";case"move":return"move";case"pointer":return"pointer";case"text":return"text";default:return"default"}}},{key:"addBlot",value:function(e,t){var n=this.selection.getNativeRange();n||(n=this.savedNative);var r=this.scroll.getContainerBlot(s5.find(n.end.node));r&&r.addBlot(e,t)}},{key:"addList",value:function(e){var t,n=this.selection.getNativeRange();null==n&&(n=this.savedNative);var r=this.scroll.id;if(null!=n&&0!=n){var o=this.scroll.getBlock(s5.find(n.end.node));if("grid"==o.parent.constructor.blotName)r=o.parent.id,t=o.index+1;else if(0==n.end.offset){var i=s5.find(n.end.node),a=o.descendants(s5.Leaf).indexOf(i);0==a?t=void 0!==o.prev?o.index:0:-1==a&&"break"==i.constructor.blotName?(t=o.index,o.remove()):t=o.index+1}else t=o.index+1}else t=[].slice.call(this.scroll.domNode.childNodes).length;this.scroll.token=!0,this.scroll.blocks.insert(t,[this.editor.Y.Map]);var s=this.scroll.blocks.get(t);this.scroll.emitter.emit("add-list",{source:"user",index:t,parent:r,map:s,type:e});var l=s5.find(document.getElementById(r)).getByIndex(t),c=s.get("items");l.token=!0,c.push([this.editor.Y.Map]);var u=c.get(0);l.emitter.emit("add-item",{source:"user",index:0,map:u,type:e});var d=l.getByIndex(0),p=u.get("blocks");d.token=!0,p.push([this.editor.Y.Map]);var f=p.get(0);d.emitter.emit("add-paragraph",{source:"user",index:0,map:f})}}])&&TW(t.prototype,n),r&&TW(t,r),e}();function RW(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[];(t&&(r=t),n)&&(e=r).push.apply(e,SW(Object.keys(n).map((function(e){return n[e]&&e})).filter((function(e){return e}))));return r.join(" ")}function IW(e){return(IW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function MW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DW(e,t,n){return t&&NW(e.prototype,t),n&&NW(e,n),e}function jW(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}}),t&&LW(e,t)}function LW(e,t){return(LW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function BW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=HW(e);if(t){var o=HW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return FW(this,n)}}function FW(e,t){if(t&&("object"===IW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return UW(e)}function UW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HW(e){return(HW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function VW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zW=function(e){return(0,s.h)("span",null,(0,s.h)("div",{className:"link-panel-item link-panel-item-link"},(0,s.h)("div",{onClick:e.menuItems[0].onClick,className:"link-text"},e.title)),(0,s.h)("div",{className:"link-panel-buttons"},e.menuItems.map((function(t){return(0,s.h)("div",{className:"link-panel-item",onClick:function(){t.onClick()}},e.t("link.".concat(t.title)))}))))},qW=function(e){jW(n,e);var t=BW(n);function n(){var e;MW(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return VW(UW(e=t.call.apply(t,[this].concat(o))),"inputNode",!1),e}return DW(n,[{key:"componentDidMount",value:function(){this.inputNode.focus()}},{key:"render",value:function(){var e=this;return(0,s.h)("span",null,(0,s.h)("div",{className:"link-form-item"},(0,s.h)("label",{for:"link-form-adress"},this.props.t("link.url_label")),(0,s.h)("input",{ref:function(t){e.inputNode=t},id:"link-form-adress",value:this.props.url,type:"url",placeholder:"http://example.com",onKeyUp:this.props.onInputKeyDown,autocapitalize:"off"})))}}]),n}(s.wA);const GW=function(e){jW(n,e);var t=BW(n);function n(){var e;MW(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return VW(UW(e=t.call.apply(t,[this].concat(o))),"t",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.props.editor.plugins.i18n.get(t,n)})),e}return DW(n,[{key:"render",value:function(){var e={title:this.props.title||this.props.url,url:this.props.url,t:this.t,menuItems:this.props.menuItems,onInputKeyDown:this.props.onInputKeyDown,setDefaultState:this.props.setDefaultState};return(0,s.h)("div",{className:"link-form-container"},(0,s.h)("div",{className:"link-form"},(0,s.h)("div",{className:RW(["popup-menu"],{"link-edit":this.props.isEdit,"link-panel no-scroll":!this.state.isEdit})},this.props.isEdit?(0,s.h)(qW,e):(0,s.h)(zW,e))))}}]),n}(s.wA);function WW(e){return(WW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function YW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZW(e,t){return(ZW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function KW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=XW(e);if(t){var o=XW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $W(this,n)}}function $W(e,t){if(t&&("object"===WW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return QW(e)}function QW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e){return(XW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function JW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eY=(0,Rn.ZP)("enter"),tY=(0,Rn.ZP)("escape"),nY=(0,Rn.ZP)("backspace"),rY=["URL","PHONE","EMAIL","SKYPE","TWITTER","INSTAGRAM","FACEBOOK","LINKEDIN","VK"];function oY(e,t){switch(e){case"PHONE":return{href:"tel:"+t};case"EMAIL":return{href:"mailto:"+t};case"SKYPE":return{href:"skype:"+t+"?call"};case"FACEBOOK":return{href:"https://www.facebook.com/"+t,target:"_blank"};case"URL":default:return{href:t,target:"_blank"}}}const iY=function(e){!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}}),t&&ZW(e,t)}(i,e);var t,n,r,o=KW(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),JW(QW(t=o.call(this,e)),"setComponentRef",(function(e){t.domNode=e,t.props.domRef(t.props.entityClass,e)})),JW(QW(t),"setInputRef",(function(e){t.inputNode=e})),JW(QW(t),"openLink",(function(){t.setDefaultState((function(){var e=oY(t.props.entityClass,t.props.value),n=document.createElement("a");n.href=e.href,e.target&&(n.target=e.target),n.click(),n.remove()}))})),JW(QW(t),"copyValue",(function(){t.setDefaultState((function(){t.props.editor.plugins.copyManager.copy(t.props.value,{noToast:!0})}))})),JW(QW(t),"toggleEditLink",(function(){t.setState((function(e){return{isEdit:!e.isEdit}}))})),JW(QW(t),"removeField",(function(){setTimeout((function(){t.setDefaultState((function(){t.props.removeField(t.props.entityClass)}))}),0)})),JW(QW(t),"onInputKeyDown",(function(e){var n=e.target.value;eY(e)&&(""===n?t.props.removeField(t.props.entityClass):t.props.changeField(t.props.entityClass,n),t.setDefaultState()),nY(e)&&0===n.length&&t.removeField(),tY(e)&&t.setDefaultState()})),JW(QW(t),"onDocumentMouseDown",(function(e){(0,H.nN)(t.inputNode.parentElement,e.target)||t.setDefaultState()})),JW(QW(t),"onMouseDown",(function(e){t.state.editMode||(e.preventDefault(),t.mouseDownPosition={x:e.clientX,y:e.clientY})})),JW(QW(t),"onMouseMove",(function(e){if(t.mouseDownPosition&&!t.state.editMode){var n={x:e.clientX,y:e.clientY};Ta(n,t.mouseDownPosition)>=5&&(t.props.businessCardStartDragSession(t.domNode,t.props.entityClass,n),t.dragSessionProcess=!0,t.mouseDownPosition=null,t.setDefaultState(),document.addEventListener("mouseup",t.onDocumentMouseUp,!1))}})),JW(QW(t),"onMouseUp",(function(e){t.mouseDownPosition=null})),JW(QW(t),"setDefaultState",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};t.setState((function(){return{editMode:!1,isEdit:!1}}),(function(){document.body.removeEventListener("mousedown",t.onDocumentMouseDown,!1),e&&"function"==typeof e&&e()}))})),JW(QW(t),"getComponentProps",(function(){return{className:"businessCardField",ref:t.setComponentRef,onMouseDown:t.onMouseDown,onMouseMove:t.onMouseMove,onMouseUp:t.onMouseUp}})),JW(QW(t),"getInputProps",(function(){return{className:"businessCardField__inputWrapper__input",value:t.props.value,ref:t.setInputRef,type:"text",disabled:!!t.isLink(),onKeyDown:t.onInputKeyDown}})),JW(QW(t),"onEdit",(function(e){t.dragSessionProcess||e.target===t.onEditBlock&&t.setState((function(){return{editMode:!0}}),(function(){t.inputNode.focus(),document.body.addEventListener("mousedown",t.onDocumentMouseDown,!1)}))})),JW(QW(t),"onDocumentMouseUp",(function(e){setTimeout((function(){t.dragSessionProcess=!1}),0),document.removeEventListener("mouseup",t.onDocumentMouseUp,!1)})),t.state={editMode:!1,isEdit:!1},t.domNode=!1,t.inputNode=!1,t.onEditBlock=!1,t.dragSessionProcess=!1,t}return t=i,(n=[{key:"getMenuItems",value:function(e){var t=[{title:"copy",onClick:this.copyValue},{title:"edit",onClick:this.toggleEditLink},{title:"remove",onClick:this.removeField}];return"PHONE"!==e&&t.unshift({title:"open",onClick:this.openLink}),t}},{key:"isLink",value:function(){return rY.includes(this.props.entityClass)}},{key:"render",value:function(){var e=this;return(0,s.h)("div",this.getComponentProps(),(0,s.h)("label",{className:"businessCardField__label"},this.props.label||this.props.editor.plugins.i18n.get("businessCard."+this.props.entityClass)),this.state.editMode?(0,s.h)("div",{className:"businessCardField__inputWrapper"+(this.isLink()?" businessCardField__inputWrapper_link":"")+("PERSON"===this.props.entityClass?" businessCardField__inputWrapper_name":"")},(0,s.h)("input",this.getInputProps()),this.isLink()?(0,s.h)(GW,{url:this.props.value,title:this.props.title,editor:this.props.editor,menuItems:this.getMenuItems(this.props.entityClass),isEdit:this.state.isEdit,onInputKeyDown:this.onInputKeyDown,setDefaultState:this.setDefaultState}):(0,s.h)(ct.IT9,{className:"businessCardField__inputWrapper__remove",onClick:this.removeField})):(0,s.h)("div",{ref:function(t){e.onEditBlock=t},className:"businessCardField__text"+(this.isLink()?" businessCardField__text_link":"")+("PERSON"===this.props.entityClass?" businessCardField__text_name":""),onClick:this.onEdit},this.props.value))}}])&&YW(t.prototype,n),r&&YW(t,r),i}(s.wA);function aY(e){return(aY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sY(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=cY(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function lY(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||cY(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 cY(e,t){if(e){if("string"==typeof e)return uY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uY(e,t):void 0}}function uY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fY(e,t,n){return t&&pY(e.prototype,t),n&&pY(e,n),e}function hY(e,t){return(hY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mY(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vY(e);if(t){var o=vY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gY(this,n)}}function gY(e,t){if(t&&("object"===aY(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yY(e)}function yY(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e){return(vY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _Y=["PERSON","ORGANIZATION","TITLE","ADDRESS","URL","PHONE","EMAIL","SKYPE","TWITTER","INSTAGRAM","FACEBOOK","LINKEDIN","VK"],wY=function(e){!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}}),t&&hY(e,t)}(n,e);var t=mY(n);function n(e){var r;return dY(this,n),bY(yY(r=t.call(this,e)),"onFieldRef",(function(e,t){r.fields[e]=t})),bY(yY(r),"onRef",(function(e){r.domNode=e})),bY(yY(r),"businessCardStartDragSession",(function(e,t,n){r.dSession=new CY({container:r.domNode,draggingNode:e,nodeKey:t,options:{draggingClass:"business-card-dragging-field",onDragContainerClass:"business-card-dragging-process",placeholderClass:"business-card-field-drop-phantom",onChange:r.onDragChange}}),r.dSession.startDragging(n)})),bY(yY(r),"onDragChange",(function(e,t){r.dSession=null,r.props.onFieldPositionChange(e,t)})),r.fields={},r.dSession=null,r}return fY(n,[{key:"render",value:function(){var e=this,t=this.props.fields;return(0,s.h)("div",{className:"business-card-fields-container",ref:this.onRef},t.map((function(t){return _Y.includes(t.entityClass)?(0,s.h)(iY,{domRef:e.onFieldRef,label:t.label,entityClass:t.entityClass,value:t.value,editor:e.props.editor,businessCardStartDragSession:e.businessCardStartDragSession,removeField:e.props.removeField,changeField:e.props.changeField}):null})))}}]),n}(s.wA),CY=function(){function e(t){var n=this,r=t.container,o=t.draggingNode,i=t.nodeKey,a=t.options;dY(this,e),bY(this,"onDragMouseMove",(function(e){var t=e.clientX,r=e.clientY,o=n.draggingNode.getBoundingClientRect(),i=n.cursorPosition.x-o.x,a=n.cursorPosition.y-o.y;if(n.draggingNode.style.top=parseInt(r-a)+"px",n.draggingNode.style.left=parseInt(t-i)+"px",n.setCursorPosition(t,r),n.isMouseOverContainer({x:t,y:r})){var s=Array.from(n.container.childNodes).filter((function(e){return e!==n.draggingNode})),l=lY(s.filter((function(e){var t=e.getBoundingClientRect();return r>t.y&&r<t.y+t.height})),1)[0];if(l&&l!==n.dropPhantom){var c,u=l.getBoundingClientRect();c=s.indexOf(l)>s.indexOf(n.dropPhantom)?r>u.y&&r<=u.y+u.height/2?s.indexOf(l)-1:s.indexOf(l):r>u.y&&r<=u.y+u.height/2?s.indexOf(l):s.indexOf(l)+1,n.movePhantomToIndex(c,s)}}})),bY(this,"onDragMouseUp",(function(e){document.removeEventListener("mousemove",n.onDragMouseMove,!1),document.removeEventListener("mouseup",n.onDragMouseUp,!1),n.container.removeChild(n.dropPhantom),n.container.classList.remove(n.options.onDragContainerClass),n.draggingNode.removeAttribute("style"),n.draggingNode.classList.remove(n.options.draggingClass);for(var t=Array.from(n.container.childNodes),r=0,o=t;r<o.length;r++){o[r].style.transform=""}n.dropIndex===t.length-1?n.container.appendChild(n.draggingNode):t.indexOf(n.draggingNode)>n.dropIndex?n.container.insertBefore(n.draggingNode,t[n.dropIndex]):n.container.insertBefore(n.draggingNode,t[n.dropIndex+1]),n.options.onChange&&n.options.onChange(n.dropIndex,n.draggingNodeKey),n.container=null,n.draggingNode=null,n.draggingNodeKey=null,n.options=null,n.cursorPosition=null,n.dropPhantom=null,n.dropIndex=null})),this.container=r,this.draggingNode=o,this.draggingNodeKey=i,this.options=Object.assign({draggingClass:"dragging",onDragContainerClass:"dragging-container",placeholderClass:"dragging-phantom"},a),this.cursorPosition=null,this.dropPhantom=null,this.dropIndex=null}return fY(e,[{key:"setCursorPosition",value:function(e,t){this.cursorPosition=Object.freeze({x:e,y:t})}},{key:"isMouseOverContainer",value:function(e){var t=e.x,n=e.y,r=this.container.getBoundingClientRect();return t>=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height}},{key:"prepareForDrag",value:function(e){var t=this.draggingNode.getBoundingClientRect(),n=e.x-t.x,r=e.y-t.y;this.draggingNode.classList.add(this.options.draggingClass),this.draggingNode.style.position="fixed",this.draggingNode.style.width=t.width+"px",this.draggingNode.style.height=t.height+"px",this.draggingNode.style.top=parseInt(e.y-r)+"px",this.draggingNode.style.left=parseInt(e.x-n)+"px",this.addDropPhantom(t.width,t.height),this.container.classList.add(this.options.onDragContainerClass)}},{key:"addDropPhantom",value:function(e,t){this.dropIndex=Array.from(this.container.childNodes).indexOf(this.draggingNode),this.dropPhantom=document.createElement("div"),this.dropPhantom.classList.add(this.options.placeholderClass),this.dropPhantom.style.width=e+"px",this.dropPhantom.style.height=t+"px",this.container.insertBefore(this.dropPhantom,this.draggingNode)}},{key:"movePhantomToIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t.length&&this.dropIndex!==e){var n,r=t.indexOf(this.dropPhantom),o=this.dropPhantom.getBoundingClientRect().height,i=sY(t);try{for(i.s();!(n=i.n()).done;){var a=n.value,s=t.indexOf(a);s>r?a.style.transform=s<=e?"translateY(-"+o+"px)":"translateY(0px)":s<r&&(a.style.transform=s>=e?"translateY("+o+"px)":"translateY(0px)")}}catch(e){i.e(e)}finally{i.f()}var l=0;if(r<e)for(var c=r+1;c<=e;c++)l+=t[c].getBoundingClientRect().height;else for(var u=e;u<=r-1;u++)l-=t[u].getBoundingClientRect().height;this.dropPhantom.style.transform="translateY("+l+"px)",this.dropIndex=e}}},{key:"startDragging",value:function(e){this.prepareForDrag(e),this.setCursorPosition(e.x,e.y),document.addEventListener("mousemove",this.onDragMouseMove,!1),document.addEventListener("mouseup",this.onDragMouseUp,!1)}}]),e}();const SY=wY;function EY(e){return(EY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xY(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||kY(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 kY(e,t){if(e){if("string"==typeof e)return OY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?OY(e,t):void 0}}function OY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AY(e,t,n){return(AY="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=NY(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function PY(e,t){return(PY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function RY(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=NY(e);if(t){var o=NY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return IY(this,n)}}function IY(e,t){if(t&&("object"===EY(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return MY(e)}function MY(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NY(e){return(NY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function DY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jY=se([nh,Mu,gu,cd,Vu,bd,Eu,Ec,tu]),LY=function(e){!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}}),t&&PY(e,t)}(i,e);var t,n,r,o=RY(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),DY(MY(t=o.call(this,e)),"mapObserver",(function(){t.render()})),DY(MY(t),"removeField",(function(e){var n=Array.from(t.map.get("fields")).filter((function(t){return t.entityClass!==e}));t.map.set("fields",n)})),DY(MY(t),"changeField",(function(e,n){for(var r=Array.from(t.map.get("fields")),o=0,i=r;o<i.length;o++){var a=i[o];a.entityClass===e&&(a.value=n)}t.map.set("fields",r)})),DY(MY(t),"onFieldPositionChange",(function(e,n){for(var r,o,i=Array.from(t.map.get("fields")),a=0,s=i;a<s.length;a++){var l=s[a];l.entityClass===n&&(r=i.indexOf(l),o=l)}void 0!==r&&(i.splice(r,1),i.splice(e,0,o),t.map.set("fields",i))})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["delete","backspace"]),t.disallowReplace=!0,t}return t=i,r=[{key:"create",value:function(e){var t=AY(NY(i),"create",this).call(this);t.classList.add("business-card");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("business-card-container"),t.appendChild(n),t}},{key:"createBlot",value:function(e){var t=a().create("businessCard");return this.addCaretTrap(e,t.domNode),t}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=AY(NY(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observe(this.map,this.mapObserver),this.render()}},{key:"detach",value:function(){if(AY(NY(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=AY(NY(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserve(this.map,this.mapObserver)}},{key:"hasFrontSideAttachment",value:function(){return Boolean(this.map.get("frontSideAttachmentGlobalId"))}},{key:"hasBackSideAttachment",value:function(){return Boolean(this.map.get("backSideAttachmentGlobalId"))}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{fields:this.map.get("fields"),frontSideAttachmentGlobalId:this.map.get("frontSideAttachmentGlobalId"),backSideAttachmentGlobalId:this.map.get("backSideAttachmentGlobalId")}),e.get("id")}},{key:"render",value:function(){AY(NY(i.prototype),"render",this)&&AY(NY(i.prototype),"render",this).call(this);var e=this.domNode.querySelector(".business-card-container");this.hasFrontSideAttachment()&&!this.props.frontSideAttachment&&this.resolveAttachment(this.map.get("frontSideAttachmentGlobalId"),"front"),this.hasBackSideAttachment()&&!this.props.backSideAttachment&&this.resolveAttachment(this.map.get("backSideAttachmentGlobalId"),"back"),(0,s.sY)((0,s.h)("div",{className:"business-card-content"},(0,s.h)(Fz,{frontSideAttachment:this.props.frontSideAttachment,backSideAttachment:this.props.backSideAttachment,hasFrontSide:this.hasFrontSideAttachment(),editor:this.editor,hasBackSide:this.hasBackSideAttachment()}),(0,s.h)(SY,{fields:this.map.get("fields"),removeField:this.removeField,changeField:this.changeField,editor:this.editor,onFieldPositionChange:this.onFieldPositionChange})),e)}},{key:"resolveAttachment",value:function(e,t){var n=this;this["_"+t+"AttachmentResolveInProgress"]||(this["_"+t+"AttachmentResolveInProgress"]=!0,this.editor.plugins.attachmentManager.resolve(e,{blotName:this.constructor.blotName}).then((function(e){n.setProps(DY({},t+"SideAttachment",e)),n["_"+t+"AttachmentResolveInProgress"]=!1})).catch((function(e){console.error("fail to resolve attachment",e),n["_"+t+"AttachmentResolveInProgress"]=!1,n.setProps(DY({},t+"AttachmentSetError",e))})))}},{key:"exec",value:function(e){return AY(NY(i.prototype),"exec",this).call(this,e)}},{key:"toHTML",value:function(e){var t=this.domNode.cloneNode(!0),n=t.querySelector(".caret-trap");n&&n.parentNode.removeChild(n);var r=xY(Array.from(t.querySelectorAll(".business-card-images img")),2),o=r[0],i=r[1];if(this.props.frontSideAttachment&&o){e.addAttachment(this.props.frontSideAttachment);var a=e.getAttachmentPath(this.props.frontSideAttachment),s=document.createElement("a");s.setAttribute("href",a),s.setAttribute("target","_blank");var l=o.cloneNode();l.setAttribute("src",a),s.appendChild(l),o.parentNode.replaceChild(s,o)}if(this.props.backSideAttachment){i||this.props.frontSideAttachment||!o||(i=o),e.addAttachment(this.props.backSideAttachment);var c=e.getAttachmentPath(this.props.backSideAttachment),u=document.createElement("a");u.setAttribute("href",c),u.setAttribute("target","_blank");var d=i.cloneNode();d.setAttribute("src",c),u.appendChild(d),i.parentNode.replaceChild(u,i)}var p,f=this.map.get("fields"),h=Array.from(t.querySelectorAll(".business-card-fields-container .businessCardField")),m=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=kY(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(f);try{for(m.s();!(p=m.n()).done;){var g=p.value;if(rY.includes(g.entityClass)){var y=h[f.indexOf(g)].querySelector(".businessCardField__text");if(y){var v=y.cloneNode(),b=document.createElement("a");b.setAttribute("href",oY(g.entityClass,g.value).href),b.setAttribute("target","_blank");var _=document.createTextNode(g.value);b.appendChild(_),v.appendChild(b),y.parentNode.replaceChild(v,y)}}}}catch(e){m.e(e)}finally{m.f()}return t.outerHTML}}])&&TY(t.prototype,n),r&&TY(t,r),i}(jY(tb));LY.blotName="businessCard",LY.tagName="DIV",LY.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","businessCard"),e.set("fields",n.fields),n.frontSideAttachmentGlobalId&&e.set("frontSideAttachmentGlobalId",n.frontSideAttachmentGlobalId),n.backSideAttachmentGlobalId&&e.set("backSideAttachmentGlobalId",n.backSideAttachmentGlobalId)};const BY=LY;function FY(e){return(FY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function UY(){return(UY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function HY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zY(e,t,n){return t&&VY(e.prototype,t),n&&VY(e,n),e}function qY(e,t){return(qY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function GY(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ZY(e);if(t){var o=ZY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return WY(this,n)}}function WY(e,t){if(t&&("object"===FY(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return YY(e)}function YY(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZY(e){return(ZY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function KY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $Y=(0,Rn.ZP)("backspace"),QY=(0,Rn.ZP)("enter"),XY=(0,Rn.ZP)("esc"),JY=function(e){!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}}),t&&qY(e,t)}(n,e);var t=GY(n);function n(e){var r;return HY(this,n),KY(YY(r=t.call(this,e)),"onRef",(function(e){r.domNode=e,r.props.onDomRef&&r.props.onDomRef(e)})),KY(YY(r),"onInputRef",(function(e){r.inputDomNode=e,r.props.onInputRef&&r.props.onInputRef(e)})),KY(YY(r),"onBufferRef",(function(e){r.bufferDomNode=e,r.props.onBufferDomRef&&r.props.onBufferDomRef(e)})),KY(YY(r),"onTrashRef",(function(e){r.trashDomNode=e})),KY(YY(r),"onMouseDownPreventDefault",(function(e){e.stopPropagation(),e.preventDefault()})),KY(YY(r),"onInputKeyDown",(function(e){var t=e.target;e.stopPropagation(),XY(e)&&r.props.onSourceInputCancel(),Boolean(t.value)?QY(e)&&(e.preventDefault(),r.onApplySource(t.value)):$Y(e)&&r.props.onEmptyValueBackspace&&r.props.onEmptyValueBackspace()})),KY(YY(r),"onInputInput",(function(e){var t=e.target;r.setState((function(e){var n=e.error,r={bufferString:t.value||""};return n&&(r.error=!1),r}))})),KY(YY(r),"onInputPaste",(function(e){if(r.props.onPaste)r.props.onPaste(e);else{e.preventDefault(),e.stopPropagation();var t=e.clipboardData.getData("text/plain");r.state.bufferString=t,r.onApplySource(t)}})),KY(YY(r),"onInputMouseDown",(function(e){var t=e.target;document.activeElement!==t?setTimeout((function(){t.select()}),0):e.stopPropagation()})),KY(YY(r),"onDeleteClick",(function(){r.setState((function(){return{bufferString:"",error:""}}),(function(){r.inputDomNode.focus()}))})),KY(YY(r),"onRemoveClick",(function(e){e.preventDefault(),e.stopPropagation(),r.props.onSourceInputRemove()})),KY(YY(r),"onApplySource",(function(e){if(r.props.onValidateSource){var t=r.props.onValidateSource(e),n=t.error,o=t.source;n?("string"!=typeof n&&(console.error(n),n="Unknown error"),r.setState((function(){return{error:n}}))):r.props.onApplySource(o)}else r.props.onApplySource(e)})),KY(YY(r),"onEditorUpdate",(function(){r.updateTrashPosition()})),r.state={bufferString:e.bufferString||""},r}return zY(n,[{key:"isEmpty",value:function(){return!Boolean(this.state.bufferString)}},{key:"updateTrashPosition",value:function(){var e=this.inputDomNode.clientWidth-this.bufferDomNode.clientWidth-30;this.trashDomNode.style.right=(e>=0?e:0)+"px"}},{key:"componentDidMount",value:function(){var e=this;this.props.onComponentRef&&this.props.onComponentRef(this),setTimeout((function(){e.inputDomNode.focus()}),0),this.props.editor&&this.props.editor.on("editorUpdate",this.onEditorUpdate)}},{key:"componentDidUpdate",value:function(){this.updateTrashPosition()}},{key:"componentWillUnmount",value:function(){this.props.editor&&this.props.editor.off("editorUpdate",this.onEditorUpdate)}},{key:"render",value:function(){var e=this.props,t=e.classNamePrefix,n=e.placeholder,r=e.autocapitalize,o=this.state,i=o.bufferString,a=o.error,l={autocapitalize:r,placeholder:n};return(0,s.h)("div",UY({className:t+"-source-input-wrapper block-source-input-wrapper",ref:this.onRef,onMouseDown:this.onDomMouseDown},KY({contenteditable:"false"},L3,1)),a?(0,s.h)("div",{className:t+"-source-input-error block-source-input-error"},a):null,(0,s.h)(eZ,UY({classNamePrefix:t,bufferString:i,onBufferRef:this.onBufferRef,onInputRef:this.onInputRef,onTrashRef:this.onTrashRef,onInputKeyDown:this.onInputKeyDown,onInputInput:this.onInputInput,onInputMouseDown:this.onInputMouseDown,onInputPaste:this.onInputPaste,onDeleteClick:this.onDeleteClick,onRemoveClick:this.onRemoveClick,onMouseDownPreventDefault:this.onMouseDownPreventDefault,isEmpty:this.isEmpty()},l)))}}]),n}(s.wA),eZ=function(){function e(){HY(this,e)}return zY(e,[{key:"render",value:function(){var e=this.props,t=e.classNamePrefix,n=e.bufferString,r=e.onBufferRef,o=e.onInputRef,i=e.onTrashRef,a=e.onInputKeyDown,l=e.onInputInput,c=e.onInputMouseDown,u=e.onInputPaste,d=e.onRemoveClick,p=e.onDeleteClick,f=e.onMouseDownPreventDefault,h=e.isEmpty,m=e.autocapitalize,g=e.placeholder,y=h?d:p;return(0,s.h)("div",{className:t+"-source-input-container block-source-input-container"},(0,s.h)("div",{className:t+"-source-input-buffer block-source-input-buffer",ref:r,dangerouslySetInnerHTML:{__html:(n||g).replace(/\s/gm,"&nbsp;")}}),(0,s.h)("input",{className:t+"-source-input-input block-source-input-input",type:"text",ref:o,onKeyDown:a,onInput:l,onMouseDown:c,onPaste:u,value:n,autocapitalize:m,placeholder:g}),(0,s.h)("div",{className:t+"-source-delete block-source-input-delete",onClick:y,onMouseDown:f,ref:i},(0,s.h)(ct.IT9,null)))}}]),e}();function tZ(e){return(tZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rZ(e,t){return(rZ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oZ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sZ(e);if(t){var o=sZ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return iZ(this,n)}}function iZ(e,t){if(t&&("object"===tZ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return aZ(e)}function aZ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sZ(e){return(sZ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cZ=function(e){!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}}),t&&rZ(e,t)}(i,e);var t,n,r,o=oZ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),lZ(aZ(t=o.call(this,e)),"onMouseDown",(function(e){3!==e.which&&2!==e.which&&(e.preventDefault(),t.processOpenLink=!0,t.props.observeStartDragging(t.onEditorStartDragging))})),lZ(aZ(t),"onMouseUp",(function(e){if(3!==e.which&&2!==e.which&&t.processOpenLink&&t.props.src){e.preventDefault();var n=t.props.editor,r=!1;if(n.options.baseUrl&&(r=cl(n.options.baseUrl)===cl(t.props.src)),r&&n&&n.plugins.linkManager.processNavigation(t.props.src))return;t.props.openInSameTab?window.location.href=t.props.src:n.plugins.linkManager.processNavigation(t.props.src)||window.open(t.props.src,"_blank","noopener")}})),lZ(aZ(t),"onEditorStartDragging",(function(){t.processOpenLink=!1,t.props.unobserveStartDragging(t.onEditorStartDragging)})),lZ(aZ(t),"onLinkClick",(function(e){e.preventDefault()})),lZ(aZ(t),"onPreviewLoad",(function(e){t.setState((function(){return{previewLoaded:!0}}))})),lZ(aZ(t),"onPreviewLoadError",(function(e){t.setState((function(){return{previewError:!0}}))})),lZ(aZ(t),"t",(function(e){return t.props.i18n.get(e)})),lZ(aZ(t),"renderLoading",(function(){var e=t.props.classPrefix;return(0,s.h)("div",{className:e+"-loading-icon"},(0,s.h)(ey(),null),(0,s.h)("span",{className:e+"-loading-icon-text"},t.t("bookmark.loading_preview")))})),t.linkRef=!1,t.state={previewLoaded:!1,previewError:!1},t.placeholderText=t.t("bookmark.placeholder"),"mobile"===e.editor.options.keyboardMode&&(t.placeholderText=t.t("bookmark.placeholder_mobile")),t}return t=i,r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.isAttachmentChangedAndLoading?{previewLoaded:!1,previewError:!1}:null}}],(n=[{key:"render",value:function(){var e=this.props,t=e.classPrefix,n=e.name,r=e.src,o=e.description,i=e.icon,a=e.viewMode,l=e.attachment,c=e.setAttachmentError,u=e.isAttachmentChangedAndLoading,d=e.isPreviewNotAvailable,p=e.maxWidth,f=e.previewBackgroundColor,h=e.editor,m=this.state,g=m.previewLoaded,y=m.previewError,v=h.mode===h.constructor.MODE_EXPORT;if(!r)return(0,s.h)(JY,{classNamePrefix:t,onValidateSource:this.props.onValidateSource,onApplySource:this.props.onApplySrc,placeholder:this.placeholderText,onEmptyValueBackspace:this.props.onPlaceholderEmptyValueBackspace,onSourceInputCancel:this.props.onSourceInputCancel,onSourceInputRemove:this.props.onSourceInputRemove,autocapitalize:"off",editor:h});if(!l&&!c&&!d)return this.renderLoading();var b=null,_=null,w=(0,s.h)("div",{className:t+"__icon"},i?(0,s.h)("img",{src:i}):(0,s.h)(ct.BZM,null));if("tile"!==a)if(_=(0,s.h)("div",{className:t+"__info__desc"},o),!l||u||y)if(d||y||c)if("cover"===a){var C=f||null;b=(0,s.h)("div",{className:t+"__preview preview-not-available","data-block-background":C},(0,s.h)("span",null,cl(r)))}else b=(0,s.h)("div",{className:t+"__preview preview-not-available"},(0,s.h)(ct.BZM,null));else b=(0,s.h)("div",{className:t+"__preview loading-preview"},(0,s.h)(ey(),null));else{var S={};g||v||(S={width:"0px",height:"0px",opacity:"0"}),b=(0,s.h)("div",{className:t+"__preview"+(g||v?"":" loading-preview")},g||v?null:(0,s.h)(ey(),null),(0,s.h)("img",{style:S,src:l.url,onLoad:this.onPreviewLoad,onError:this.onPreviewLoadError}))}return(0,s.h)("a",{href:r,onClick:this.onLinkClick,style:{display:"contents"}},(0,s.h)("div",{className:t+"-content is-"+a,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,style:{maxWidth:p+"px"}},"tile"===a?w:null,(0,s.h)("div",{className:t+"__info"},"cover"!==a?(0,s.h)("div",{className:t+"__info__name"},n):null,(0,s.h)("a",{className:t+"__info__src",href:r,onClick:this.onLinkClick},"tile"!==a?w:null,(0,s.h)("div",{className:t+"__info__src-text"+(n?"":" no-title")},"cover"===a&&n?n:r)),"cover"!==a?_:null),b))}}])&&nZ(t.prototype,n),r&&nZ(t,r),i}(s.wA);function uZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var dZ=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"onRef",(function(e){t.domNode=e,t.props.domRef(e)}))}var t,n,r;return t=e,(n=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.type,r=e.label,o=e.value,i=e.placeholder,a=e.autocapitalize,l=e.isError,c=this.props.classPrefix,u={id:c+"-"+t,type:n,onKeydown:this.props.onKeydown,placeholder:i,value:o,ref:this.onRef,onInput:this.props.onInput,className:l?"error-field":""};return a&&(u.autocapitalize=a),(0,s.h)("div",{className:c+"-item",key:t},r?(0,s.h)("label",{for:c+"-"+t},r):null,"textarea"===this.props.type?(0,s.h)("textarea",u,o):(0,s.h)("input",u))}}])&&uZ(t.prototype,n),r&&uZ(t,r),e}();function pZ(e){return(pZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fZ(){return(fZ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function hZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gZ(e,t){return(gZ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yZ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_Z(e);if(t){var o=_Z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vZ(this,n)}}function vZ(e,t){if(t&&("object"===pZ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bZ(e)}function bZ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e){return(_Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var CZ=(0,Rn.ZP)("enter"),SZ=function(e){!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}}),t&&gZ(e,t)}(i,e);var t,n,r,o=yZ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),wZ(bZ(t=o.call(this,e)),"t",(function(e){return t.props.editor.plugins.i18n.get(e)})),wZ(bZ(t),"onClick",(function(){if(t.verifyFields()){var e=t.props,n=e.onAction,r=e.wantsToClose;n&&n(t.state.fields),r&&r()}})),wZ(bZ(t),"getInputs",(function(){var e=[{id:"name",label:t.t("bookmark.title")},{id:"src",label:t.t("bookmark.address")}];return"card"===t.props.viewMode&&e.push({id:"description",label:t.t("bookmark.description"),type:"textarea"}),e})),wZ(bZ(t),"onInput",(function(e,n){t.setState((function(t){var r,o=Object.assign({},t.fields);return o[n]=e,t.errorFields&&t.errorFields.includes(n)&&(r=t.errorFields.filter((function(e){return e!==n}))),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hZ(Object(n),!0).forEach((function(t){wZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({fields:o},r?{errorFields:r}:{})}))})),wZ(bZ(t),"onBodyKeyDown",(function(e){if(CZ(e)&&t.verifyFields()){var n=t.props.onAction;n&&n(t.state.fields),t.props.wantsToClose()}})),t.state={fields:{name:"",src:"",description:""},errorFields:[]},t.nameRef=!1,t.srcRef=!1,t.descriptionRef=!1,t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.setState((function(){return{fields:{name:e.props.name,src:e.props.src,description:e.props.description}}})),this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("keydown",e.onBodyKeyDown)}),0)}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),document.body.removeEventListener("keydown",this.onBodyKeyDown)}},{key:"verifyFields",value:function(){if(this.props.validate){var e=Object.keys(this.state.fields),t=[];for(var n in this.props.validate)if(e.includes(n)){var r=this.props.validate[n](this.state.fields[n]);r&&r.error&&t.push(n)}if(t.length)return this.setState((function(){return{errorFields:t}})),!1}return!0}},{key:"render",value:function(){var e=this,t=this.props,n=t.editor,r=t.wantsToClose;return(0,s.h)(At.Z,{wantsToClose:r,addClassName:"bookmark-edit link-edit no-scroll",closeOnEsc:!0},(0,s.h)(by.Z,{wantsToClose:r,addClassName:"reduced-padding",noCloseButton:!0},(0,s.h)(_y.Z,null,this.t("bookmark.edit")),(0,s.h)(wy.Z,null,this.getInputs().map((function(t){return(0,s.h)(dZ,fZ({classPrefix:"link-form",type:"text",value:e.state.fields[t.id],placeholder:t.label,domRef:function(n){return e[t.id+"Ref"]=n},onInput:function(n){e.onInput(n.target.value,t.id)},isError:e.state.errorFields.includes(t.id)},t))}))),(0,s.h)(QR.Z,{editor:n,wantsToClose:r,buttons:{cancel:{},accept:{text:this.t("done"),style:"active",onClick:this.onClick}}})))}}])&&mZ(t.prototype,n),r&&mZ(t,r),i}(s.wA);function EZ(e){return(EZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kZ(e,t){return(kZ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function OZ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=PZ(e);if(t){var o=PZ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return TZ(this,n)}}function TZ(e,t){if(t&&("object"===EZ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return AZ(e)}function AZ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e){return(PZ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function RZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IZ=function(e){!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}}),t&&kZ(e,t)}(i,e);var t,n,r,o=OZ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),RZ(AZ(t=o.call(this,e)),"onClick",(function(e){t.props.onChangePreview(e),t.props.wantsToClose()})),RZ(AZ(t),"onUploadClick",(function(){t.props.onUploadPreviewClick(t.onUploadingSuccess,t.onUploadingProgress,t.onUploadingError)})),RZ(AZ(t),"onUploadingProgress",(function(e){t.setState((function(){return{uploadFileProgress:Math.min(Math.round(e.loaded/e.total*100),100)}}))})),RZ(AZ(t),"onUploadingError",(function(e){e instanceof Zg?t.props.notificationManager.error(t.props.i18n.get("bookmark.upload.quota_error")):t.props.notificationManager.error(t.props.i18n.get("bookmark.upload.unknown_error"))})),RZ(AZ(t),"onUploadingSuccess",(function(){t.setState((function(){return{uploadFileProgress:!1}}),(function(){t.props.wantsToClose()}))})),RZ(AZ(t),"isActive",(function(e){return e.id===t.props.currentPreviewId})),t.state={previews:[]},t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.props.getPreviews().then((function(t){var n=t.previews;n.length>0&&e.setState((function(){return{previews:n}}))}))}},{key:"render",value:function(){var e=this;return(0,s.h)(At.Z,{wantsToClose:this.props.wantsToClose,addClassName:"bookmark-gallery"+(this.state.previews.length>8?" has-scroll":""),closeOnEsc:!0,anchorNode:this.props.blot.domNode,anchorOptions:{offset:"0, -100%p",placement:"left-start",behavior:["bottom","top","right-start"],priority:["left","right","bottom","top"],boundariesElement:this.props.blot.editor.getScrollingContainer(),overflowBoundariesElement:this.props.blot.editor.getScrollingContainer()}},(0,s.h)("div",{className:"bookmark-gallery__list"},(0,s.h)((function(){var t=e.state.uploadFileProgress;return(0,s.h)("div",{className:"bookmark-gallery-upload",onClick:e.onUploadClick},(0,s.h)(ct.bCE,null),t?(0,s.h)("div",{className:"bookmark-gallery-upload-progress"},(0,s.h)("span",{style:{width:t+"%"}})):(0,s.h)("span",null,e.props.i18n.get("bookmark.upload.new_preview")))}),null),this.state.previews.map((function(t,n){return(0,s.h)("div",{key:n,className:"bookmark-gallery__list__item ".concat(e.isActive(t)?"active":""),onClick:function(){e.onClick(t)}},(0,s.h)("img",{src:t.url}))}))))}}])&&xZ(t.prototype,n),r&&xZ(t,r),i}(s.wA),MZ=n(25746),NZ=n.n(MZ);function DZ(e){return(DZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jZ(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function LZ(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){jZ(i,r,o,a,s,"next",e)}function s(e){jZ(i,r,o,a,s,"throw",e)}a(void 0)}))}}function BZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FZ(e,t,n){return(FZ="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qZ(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function UZ(e,t){return(UZ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function HZ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qZ(e);if(t){var o=qZ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VZ(this,n)}}function VZ(e,t){if(t&&("object"===DZ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zZ(e)}function zZ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qZ(e){return(qZ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function GZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WZ=se([Ec,Pd,nh,Mu,gu,Vu,bd,Eu,tu]),YZ=["card","tile","cover"],ZZ=function(e){!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}}),t&&UZ(e,t)}(i,e);var t,n,r,o=HZ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),GZ(zZ(t=o.call(this,e)),"mapObserver",(function(){t.render()})),GZ(zZ(t),"isPreviewNotAvailable",(function(){var e=t.map.get("previewId");return"no-preview"===e||e&&!t.hasAttachment()&&!t._resolveInProgress&&!t._uploadingInProgress})),GZ(zZ(t),"onDomResize",(function(){if(t.map.get("src")){var e=t.domNode.getBoundingClientRect().width;"card"===t.map.get("viewMode")&&e<320?t.domNode.classList.contains("hidden-preview")||t.domNode.classList.add("hidden-preview"):t.domNode.classList.contains("hidden-preview")&&t.domNode.classList.remove("hidden-preview")}})),GZ(zZ(t),"observeStartDragging",(function(e){e&&t.editor.emitter.on("start-dragging",e)})),GZ(zZ(t),"unobserveStartDragging",(function(e){e&&t.editor.emitter.off("start-dragging",e)})),GZ(zZ(t),"tryGetMeta",function(){var e=LZ(regeneratorRuntime.mark((function e(n){var r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!1,n.match(/(?:(?:[a-z][a-z0-9+.-]*:)(?:.*))/g)&&(r=!0),e.prev=2,o=!0,e.next=6,t.editor.plugins.bookmarkManager.getUrlInfo(n);case 6:if(i=e.sent){e.next=14;break}return o=!1,e.next=11,t.editor.plugins.bookmarkManager.getBookmarkMeta(n);case 11:i=e.sent,e.next=15;break;case 14:t.map.get("openInSameTab")&&t.map.set("openInSameTab",!0);case 15:if(!r&&i.protocol&&t.map.get("src")!==i.protocol+n&&t.map.set("src",i.protocol+n),i.name!==t.map.get("name")&&t.map.set("name",i.name),i.description!==t.map.get("description")&&t.map.set("description",i.description),i.favicon!==t.map.get("icon")&&t.map.set("icon",i.favicon),t.hasAttachment()){e.next=31;break}return e.next=22,t.tryGetPreview();case 22:if(e.sent){e.next=31;break}if((a=!(!i.preview||!i.preview.startsWith("http"))&&i.preview)||o){e.next=30;break}return e.next=28,t.editor.plugins.bookmarkManager.getBookmarkMeta(cl(n));case 28:s=e.sent,a=!(!s.preview||!s.preview.startsWith("http"))&&s.preview;case 30:a?(t.map.set("previewId","origin"),t.map.set("originPreviewUrl",a),t.uploadAttachment(a)):"no-preview"!==t.map.get("previewId")&&t.map.set("previewId","no-preview");case 31:e.next=36;break;case 33:e.prev=33,e.t0=e.catch(2),console.error("Bookmark info error",e.t0);case 36:case"end":return e.stop()}}),e,null,[[2,33]])})));return function(t){return e.apply(this,arguments)}}()),GZ(zZ(t),"onPlaceholderEmptyValueBackspace",(function(){t.container.children.head!==zZ(t)&&(t.selection.setRange({index:t.offset(t.scroll)-1,length:0}),t.getWrapper().parent.removeChildById(t.id))})),GZ(zZ(t),"onValidateSrc",(function(e){return Boolean(e)&&/^(https?:\/\/)?(www\.)?(\S*)\.(\S*)$/g.test(e)?{source:e}:{error:t.editor.plugins.i18n.get("bookmark.error.unknown_error")}})),GZ(zZ(t),"onApplySrc",(function(e){t.map.get("src")!==e&&(t.map.has("countGetAttemptsData")&&t.map.delete("countGetAttemptsData"),t.map.set("src",e),t.tryGetMeta(e)),t.container.children.tail===zZ(t)&&t.container.addBlot("paragraph",{after:t.id,focus:{index:0}})})),GZ(zZ(t),"onSrcInputCancel",(function(){t.putCaretInEmptyParagraphAfterBlot(),t.remove()})),GZ(zZ(t),"onSrcInputRemove",(function(){t.remove()})),GZ(zZ(t),"uploadAttachment",(function(e){t._uploadingInProgress||(t._uploadingInProgress=!0,t.editor.plugins.attachmentManager.chooseFileFromUrl(e).then((function(e){e=t.editor.plugins.attachmentManager.beforeSaveFile(e),t.editor.plugins.attachmentManager.saveFile(e,{blotName:t.constructor.blotName,blotId:t.id}).run().then((function(e){var n=e.globalId;t._uploadingInProgress=!1,t.map.set("attachmentGlobalId",n)})).catch((function(e){t._uploadingInProgress=!1,t.onAttachmentError(e)}))})).catch((function(e){t._uploadingInProgress=!1,t.onAttachmentError(e)})))})),GZ(zZ(t),"resolveAttachment",(function(){t._resolveInProgress||(t._resolveInProgress=!0,t.editor.plugins.attachmentManager.resolve(t.map.get("attachmentGlobalId"),{blotName:t.constructor.blotName}).then((function(e){var n=t.map.get("attachmentGlobalId");isNaN(e.size)&&!t.editor.plugins.attachmentManager.isPseudoAttachment(n)&&console.warn("attachment",n,"resolved with incorrect size, attachment:",e),t.setProps({attachment:e}),t._resolveInProgress=!1})).catch((function(e){t.onAttachmentError(e),t._resolveInProgress=!1})))})),GZ(zZ(t),"changeMode",(function(e){t.map.set("viewMode",e)})),GZ(zZ(t),"getPreviews",(function(){return t.editor.plugins.bookmarkManager.getPreviews(t.map.get("src"))})),GZ(zZ(t),"onChangePreview",(function(e){e.id!==t.map.get("previewId")&&(t.clearAttachment(),t.map.set("previewId",e.id),t.uploadAttachment(e.url))})),GZ(zZ(t),"changePreview",(function(){if(window.navigator&&!window.navigator.onLine)return t.editor.plugins.notificationManager.showError({message:"bookmarkOfflinePreview"});t.editor.plugins.popupManager.dialog((0,s.h)(IZ,{notificationManager:t.editor.plugins.notificationManager,getPreviews:t.getPreviews,onChangePreview:t.onChangePreview,currentPreviewId:t.map.get("previewId"),i18n:t.editor.plugins.i18n,blot:zZ(t),onUploadPreviewClick:t.onUploadPreviewClick}))})),GZ(zZ(t),"resetPreview",(function(){var e=t.map.get("originPreviewUrl");Boolean(e)&&t.onChangePreview({id:"origin",url:e})})),GZ(zZ(t),"deletePreview",(function(){t.map.set("previewId","no-preview"),t.map.set("attachmentGlobalId",null),t.setProps({attachment:null})})),GZ(zZ(t),"onApplyEdit",(function(e){e.src&&e.src!==t.map.get("src")&&(t.clearAttachment(),t.setProps({attachment:null}),t.onApplySrc(e.src)),Object.keys(e).forEach((function(n){"src"!==n&&t.map.get(n)!==e[n]&&t.map.set(n,e[n])}))})),GZ(zZ(t),"edit",(function(){t.editor.plugins.popupManager.dialog((0,s.h)(SZ,{editor:t.editor,onAction:t.onApplyEdit,name:t.map.get("name"),viewMode:t.map.get("viewMode"),description:t.map.get("description"),src:t.map.get("src"),validate:{src:t.onValidateSrc}}))})),GZ(zZ(t),"onUploadPreviewClick",function(){var e=LZ(regeneratorRuntime.mark((function e(n,r,o){var i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t._uploadingInProgress){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,t._uploadingInProgress=!0,e.next=6,t.editor.plugins.attachmentManager.chooseFile({accept:"image/*",multiple:!1,blotName:t.constructor.blotName});case 6:if(!(i=e.sent)){e.next=17;break}if(a=i[0],t.editor.plugins.attachmentManager.checkFileSize(a.size,{maxFileSize:t.blotConfig.maxFileSize})){e.next=11;break}throw new Zg("file is too big",a);case 11:a=t.editor.plugins.attachmentManager.beforeSaveFile(a),s=t.editor.plugins.attachmentManager.saveFile(a,{blotName:t.constructor.blotName,blotId:t.id}),r&&(s.onProgress=r),s.run().then((function(e){var r=e.globalId;t.clearAttachment(),t.map.set("previewId","custom"),t.map.set("attachmentGlobalId",r),n&&n(),t._uploadingInProgress=!1})).catch((function(e){throw e})),e.next=18;break;case 17:t._uploadingInProgress=!1;case 18:e.next=24;break;case 20:e.prev=20,e.t0=e.catch(2),o?o(e.t0):t.onAttachmentError(err),t._uploadingInProgress=!1;case 24:case"end":return e.stop()}}),e,null,[[2,20]])})));return function(t,n,r){return e.apply(this,arguments)}}()),GZ(zZ(t),"changeOpenLinkParams",(function(){var e=Boolean(t.map.get("openInSameTab"));t.map.set("openInSameTab",!e)})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["set-align","delete","backspace","set-background"]),t.disallowReplace=!0,t}return t=i,r=[{key:"createBlot",value:function(e){var t=a().create("bookmark");return this.addCaretTrap(e,t.domNode),t}},{key:"create",value:function(){var e=FZ(qZ(i),"create",this).call(this);e.classList.add("nimbus-bookmark");var t=document.createElement("div");return t.setAttribute("contenteditable",!1),t.classList.add("nimbus-bookmark-container"),e.appendChild(t),e}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","bookmark"),e.set("viewMode",n.viewMode||n.hasOwnProperty("isCard")&&!n.isCard&&YZ[1]||YZ[0]),e.set("name",n.name||null),e.set("description",n.description||null),e.set("attachmentGlobalId",n.attachmentGlobalId||null),e.set("icon",n.icon||null),e.set("src",n.src||null),e.set("color",n.color||this.getRandomPreviewBackground());var r=null;if(n.previewId)r=n.previewId;else{var o=n.hasOwnProperty("name")||n.hasOwnProperty("attachmentGlobalId")&&!n.attachmentGlobalId;o&&(r="no-preview")}e.set("previewId",r),n.openInSameTab&&e.set("openInSameTab",!0),n.originPreviewUrl&&e.set("originPreviewUrl",n.originPreviewUrl),n.room&&e.set("originalRoomId",n.room),FZ(qZ(i),"initMap",this)&&FZ(qZ(i),"initMap",this).call(this,e,t,n)}},{key:"getRandomPreviewBackground",value:function(){var e=Object.keys(Qe);return e[Math.floor(Math.random()*e.length)]}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=FZ(qZ(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.normalizeStoreParamsIfNeed(),this.editor.store.observe(this.map,this.mapObserver),this.observeResize();var o=this.map.get("src"),a=this.map.has("countGetAttemptsData")?this.map.get("countGetAttemptsData"):0;if(o&&a<3){var s=!1;this.map.get("name")&&this.map.get("description")?this.map.get("attachmentGlobalId")||this.map.get("previewId")||(this.tryGetPreview(),s=!0):(this.tryGetMeta(o),s=!0),s&&this.map.set("countGetAttemptsData",a+1)}this.render(),this.onAttachUploadResoursesIfNeed()}},{key:"onAttachUploadResoursesIfNeed",value:function(){if(this.map.get("originalRoomId")){if(this.editor.room!==this.map.get("originalRoomId")){var e=this.map.get("previewId");e&&this.setPreviewById(e)}this.map.delete("originalRoomId")}}},{key:"normalizeStoreParamsIfNeed",value:function(){if(this.map.has("isCard")){var e=this.map.get("isCard")?"card":"tile";this.map.set("viewMode",e),this.map.delete("isCard")}var t=this.map.get("name");Array.isArray(t)&&this.map.set("name",t[0])}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=FZ(qZ(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.store.unobserve(this.map,this.mapObserver),this.resizeObserver&&this.resizeObserver.disconnect()}},{key:"observeResize",value:function(){"function"==typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.onDomResize),this.resizeObserver.observe(this.domNode))}},{key:"hasAttachment",value:function(){return Boolean(this.map.get("attachmentGlobalId"))}},{key:"hasOriginPreviewUrl",value:function(){return Boolean(this.map.get("originPreviewUrl"))}},{key:"onAttachmentError",value:function(e){console.error(e),"no-preview"!==this.map.get("previewId")&&this.map.set("previewId","no-preview"),this.setProps({setAttachmentError:e})}},{key:"clearAttachment",value:function(){this.map.set("attachmentGlobalId",null),this.map.set("previewId",null),this.setProps({setAttachmentError:null})}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top,r=this.domNode.querySelector(".nimbus-bookmark-content");return r&&(t+=r.getBoundingClientRect().x-this.domNode.getBoundingClientRect().x),{left:t,top:n}}},{key:"onGetCommentPosition",value:function(e){var t=e.left,n=e.top,r=this.domNode.querySelector(".nimbus-bookmark-content");if(r){var o=(0,H.vk)(r,this.editor.editorBody);t-=t-(o.left+o.width)}return{left:t,top:n}}},{key:"canDragWith",value:function(e){return!this.isBlotLocked&&this.domNode.contains(e)}},{key:"render",value:function(){FZ(qZ(i.prototype),"render",this).call(this);var e=this.map.get("src"),t=Boolean(e);if(t||this.editor.mode===this.editor.constructor.MODE_EDIT){!this.hasAttachment()||this.props.setAttachmentError||this.props.attachment&&this.props.attachment.global_id===this.map.get("attachmentGlobalId")||this.resolveAttachment();var n=Boolean(this.props.attachment&&(!this.hasAttachment()||this.props.attachment.global_id!==this.map.get("attachmentGlobalId"))),r=this.domNode.querySelector(".nimbus-bookmark-container"),o=this.map.get("align"),a=null;o&&t&&("center"===o?a=o:"right"===o&&(a="flex-end")),r.style.justifyContent=a;var l=this.blotConfig.maxWidth;l||(l=650),"cover"===this.map.get("viewMode")&&(l=320),(0,s.sY)((0,s.h)(cZ,{name:NZ().decode(this.map.get("name")?String(this.map.get("name")):""),viewMode:this.map.get("viewMode"),icon:this.map.get("icon"),description:NZ().decode(this.map.get("description")?String(this.map.get("description")):""),src:e,classPrefix:"nimbus-bookmark",editor:this.editor,i18n:this.editor.plugins.i18n,attachment:this.props.attachment,isAttachmentChangedAndLoading:n,setAttachmentError:this.props.setAttachmentError,onApplySrc:this.onApplySrc,onPlaceholderEmptyValueBackspace:this.onPlaceholderEmptyValueBackspace,onValidateSource:this.onValidateSrc,onSourceInputCancel:this.onSrcInputCancel,onSourceInputRemove:this.onSrcInputRemove,isPreviewNotAvailable:this.isPreviewNotAvailable(),maxWidth:l,previewBackgroundColor:this.map.get("color"),observeStartDragging:this.observeStartDragging,unobserveStartDragging:this.unobserveStartDragging,openInSameTab:this.map.get("openInSameTab")}),r)}}},{key:"tryGetPreview",value:function(){var e=this;return new Promise((function(t){e.getPreviews().then((function(n){var r=n.previews;r&&r.length>0&&r[0].url?(e.uploadAttachment(r[0].url),e.map.set("previewId",r[0].id),t(!0)):t(!1)})).catch((function(e){console.error(e),t(!1)}))}))}},{key:"setPreviewById",value:function(e){var t=this;if(this.clearAttachment(),"origin"===e){var n=this.map.get("originPreviewUrl");Boolean(n)?(this.uploadAttachment(n),this.map.set("previewId",e)):this.map.set("previewId","no-preview")}else this.getPreviews().then((function(n){var r=n.previews,o=r.length&&r.find((function(t){return t.id===e}));o?(t.uploadAttachment(o.url),t.map.set("previewId",e)):t.map.set("previewId","no-preview")})).catch((function(e){return console.error(e)}))}},{key:"getTextDelta",value:function(){var e=this.map.get("src");return{ops:[{insert:e,attributes:{link:e}}]}}},{key:"cloneSelf",value:function(){var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{viewMode:this.map.get("viewMode"),name:this.map.get("name"),attachmentGlobalId:this.map.get("attachmentGlobalId"),icon:this.map.get("icon"),description:this.map.get("description"),preview:this.map.get("preview"),src:this.map.get("src"),previewId:this.map.get("previewId"),openInSameTab:this.map.get("openInSameTab")}),e.get("id")}},{key:"exec",value:function(e){var t=FZ(qZ(i.prototype),"exec",this).call(this,e),n=e.params;return"backspace"===e.type?(e.dontRestoreSelection(),t=!0):"set-align"===e.type?("center"===n||"right"===n?this.map.set("align",n):this.map.set("align",null),t=!0):"set-background"===e.type&&(this.map.set("color",n),t=!0),t}},{key:"putCaretInEmptyParagraphAfterBlot",value:function(){var e=this.getWrapper().next;if(e&&e instanceof pf&&e.isEmpty())return this.scroll.selection.setRange({index:e.offset(this.scroll),length:0}),void this.editor.plugins.selectionScroller.ensureSelectionVisible();this.container.addBlot("paragraph",{after:this.id,focus:{index:0}})}},{key:"getColor",value:function(){return this.map.get("color")}},{key:"toHTML",value:function(e){var t;if(this.props.attachment){e.addAttachment(this.props.attachment),t=this.domNode.cloneNode(!0);var n=e.getAttachmentPath(this.props.attachment),r=t.querySelector(".nimbus-bookmark__preview img");if(r){e.options.toEmail&&(r.style.height="120px");var o=r.cloneNode();o.setAttribute("src",n),r.parentNode.replaceChild(o,r)}e.options.pdf&&(t.style="page-break-inside: avoid;")}else t=this.domNode;if(e.options.toEmail){var i=t.querySelector(".nimbus-bookmark-content");i.style.height="145px",i.style.padding="12px",i.style.display="flex",i.style.border="1px solid #c8c8c8",i.style.borderRadius="4px",i.style.boxSizing="border-box";var a=t.querySelector(".nimbus-bookmark__info");a.style.minWidth="50px",a.style.flexBasis="360px",t.querySelector(".nimbus-bookmark__info__desc").style.fontSize="12px",t.querySelector(".nimbus-bookmark__icon").style.display="inline-block",t.querySelector(".nimbus-bookmark__info__src-text").style.display="inline-block";var s=t.querySelector(".nimbus-bookmark__icon img");s.style.width="16px",s.style.height="16px";var l=t.querySelector(".nimbus-bookmark__info__name");l.style.width="360px",l.style.height="20px",l.style.overflow="hidden"}return t.outerHTML}},{key:"contextMenu",get:function(){var e=this,t=this.editor.plugins.i18n,n=FZ(qZ(i.prototype),"contextMenu",this);if(this.map.get("src")){n["turn-into"]={label:t.get("block_menu.convert_to.name"),index:-11,group:0,action:!1,submenu:{turnToLink:{label:t.get("block_menu.convert_to.link"),index:0,group:0,action:"convert-blot",actionParams:{type:"paragraph"},actionExec:!0,stackable:!1,icon:ct.JHz},turnToRemoteFrame:{label:t.get("block_menu.convert_to.remote_frame"),index:1,group:0,action:"convert-blot",actionParams:{type:"remote-frame",src:this.map.get("src")},actionExec:!0,stackable:!1,icon:ct.g9E},turnToButton:{label:t.get("floating_toolbar.button"),index:1,group:0,action:"convert-blot",actionParams:{type:"button-single",title:this.map.get("name"),url:this.map.get("src")},actionExec:!0,stackable:!1,icon:ct.hU}}};var r=YZ.map((function(n,r){return{label:t.get("bookmark.block_menu.change_mode.mode_"+n),index:r,group:0,action:"changeMode",actionParams:n,actionExec:!1,stackable:!1,icon:e.map.get("viewMode")===n&&ct.EZi}})).reduce((function(e,t,n){return e[YZ[n]]=t,e}),{});n.change_mode={label:t.get("bookmark.block_menu.change_mode.menu_name"),index:-10,group:0,action:!1,stackable:!1,submenu:r},"card"!==this.map.get("viewMode")&&"cover"!==this.map.get("viewMode")||(n.change_preview={label:t.get("bookmark.block_menu.change_preview"),index:-9,group:0,action:"changePreview",stackable:!1});var o=this.blotConfig.showMenuItemParameters;(void 0===o||o)&&(n.options={label:t.get("bookmark.block_menu.options.menu_name"),index:-8,group:0,action:!1,stackable:!1,submenu:{openInSameTab:{label:t.get("bookmark.block_menu.options.open_in_same_tab"),index:0,group:0,action:"changeOpenLinkParams",actionExec:!1,stackable:!1,icon:!!this.map.get("openInSameTab")&&ct.EZi}}}),this.hasAttachment()&&(n["delete-preview"]={label:t.get("bookmark.block_menu.delete_preview"),index:-7,group:0,action:"deletePreview",stackable:!1}),"origin"!==this.map.get("previewId")&&this.hasOriginPreviewUrl()&&(n["reset-preview"]={label:t.get("bookmark.block_menu.reset_preview"),index:-6,group:0,action:"resetPreview",stackable:!1}),"cover"===this.map.get("viewMode")&&this.isPreviewNotAvailable()&&(n["change-preview-background"]={label:t.get("bookmark.block_menu.change_preview_background"),index:-5,group:0,action:"change-color",stackable:!1,submenu:"ColorPicker"}),n.edit={label:t.get("block_menu.edit"),index:-4,group:0,action:"edit",stackable:!1},n.align=["left","center","right"]}return n}},{key:"getBlotInsertParams",value:function(e,t){var n=FZ(qZ(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:{viewMode:this.map.get("viewMode"),name:this.map.get("name"),attachmentGlobalId:this.map.get("attachmentGlobalId"),icon:this.map.get("icon"),description:this.map.get("description"),preview:this.map.get("preview"),src:this.map.get("src"),previewId:this.map.get("previewId"),openInSameTab:this.map.get("openInSameTab"),originPreviewUrl:this.map.get("originPreviewUrl"),room:this.editor.options.serverRoom}})}}])&&BZ(t.prototype,n),r&&BZ(t,r),i}(WZ(O));ZZ.blotName="bookmark",ZZ.tagName="div",ZZ.allowedChildren=[];const KZ=ZZ;function $Z(e){return($Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function QZ(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return XZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return XZ(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function XZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function JZ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eK(e,t,n){return(eK="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=iK(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function tK(e,t){return(tK=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nK(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=iK(e);if(t){var o=iK(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rK(this,n)}}function rK(e,t){if(t&&("object"===$Z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return oK(e)}function oK(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iK(e){return(iK=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function aK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sK=(0,Rn.ZP)("enter"),lK=(0,Rn.ZP)("escape"),cK=se([Ec,Pd,nh,Mu,gu,Vu,bd,Eu,tu]),uK=["toggleContent"],dK=function(e){!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}}),t&&tK(e,t)}(i,e);var t,n,r,o=nK(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),aK(oK(t=o.call(this,e)),"onOutlineMenuIconRef",(function(e){t.outlineMenuIconNode=e})),aK(oK(t),"onRenameInputNodeRef",(function(e){t.renameInputNode=e})),aK(oK(t),"onDocumentOutlineMouseDown",(function(e){e.target!==t.renameInputNode&&t.props.renaming&&t.onApplyOutlineName()})),aK(oK(t),"updateOutline",(function(e){if(!t.props.renaming){var n=ie(oK(t),(function(e){return uK.includes(e.constructor.blotName)})),r=e.filter((function(e){var r=e.id,o=t.editor.findById(r);return!!o&&(n?Boolean(ie(o,(function(e){return e===n}))):!Boolean(ie(o,(function(e){return uK.includes(e.constructor.blotName)}))))}));if(n){var o=null,i=0;r=r.map((function(e){var n=t.editor.plugins.outlineManager.getListItemLvl(e.tag,o,i);return o=e.tag,i=n,Object.assign(e,{level:n})}))}t.setProps({outlineData:r})}})),aK(oK(t),"mapObserver",(function(){t.render()})),aK(oK(t),"onMenuButtonMouseDown",(function(e){if(t.props.menuOpen){t._swallowMenuClick=!0;document.addEventListener("mouseup",(function e(){setTimeout((function(){return t._swallowMenuClick=!1})),document.removeEventListener("mouseup",e,!1)}),!1)}})),aK(oK(t),"onMenuButtonClick",(function(e){t._swallowMenuClick?t._swallowMenuClick=!1:t.setProps({menuOpen:!t.props.menuOpen})})),aK(oK(t),"onMenuWantsToClose",(function(){t.setProps({menuOpen:!1})})),aK(oK(t),"onExpandClick",(function(e){t.expandOutline()})),aK(oK(t),"onOutlineClickMenuExpand",(function(e){t.expandOutline(),t.hideOutlineMenu()})),aK(oK(t),"expandOutline",(function(){var e=t.map.get("expanded");t.map.set("expanded",!e)})),aK(oK(t),"onOutlineClickMenuRename",(function(){t.setProps({menuOpen:!1,renaming:!0}),t.renameInputNode.focus(),t.renameInputNode.select()})),aK(oK(t),"onRenameInputKeyDown",(function(e){sK(e)&&t.onApplyOutlineName(),lK(e)&&t.onApplyOutlineName(!1)})),aK(oK(t),"setNumberedListStyle",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.hasOwnProperty("numbered")&&t.map.set("numbered",e.numbered)})),aK(oK(t),"toggleBordered",(function(){t.map.set("bordered",!t.map.get("bordered"))})),aK(oK(t),"getCurrentBorderColor",(function(){return t.map.get("borderColor")||"transparent"})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["delete","backspace"]),t.disallowReplace=!0,t.addCanExecActions(["set-border-color"]),t}return t=i,r=[{key:"create",value:function(e){var t=eK(iK(i),"create",this).call(this);t.classList.add("outline");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("outline-container"),t.appendChild(n),t}},{key:"createBlot",value:function(e){var t=a().create("outline");return this.addCaretTrap(e,t.domNode),t}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=eK(iK(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observe(this.map,this.mapObserver),document.addEventListener("mousedown",this.onDocumentOutlineMouseDown,!1),this.editor.emitter.on("update-outline",this.updateOutline),this.render()}},{key:"detach",value:function(){if(eK(iK(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=eK(iK(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserve(this.map,this.mapObserver),document.removeEventListener("mousedown",this.onDocumentOutlineMouseDown,!1),this.editor.emitter.off("update-outline",this.updateOutline)}},{key:"onFocusableBlur",value:function(){eK(iK(i.prototype),"onFocusableBlur",this)&&eK(iK(i.prototype),"onFocusableBlur",this).call(this),this.setProps({menuOpen:!1,renaming:!1})}},{key:"hideOutlineMenu",value:function(){this.setProps({menuOpen:!1})}},{key:"onApplyOutlineName",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.renameInputNode&&""!==this.renameInputNode.value&&this.map.set("name",this.renameInputNode.value),this.setProps({renaming:!1})}},{key:"onOutlineListItemClick",value:function(e){this.editor.plugins.scrollSaver.scrollToBlot(e,!0,!1)}},{key:"getSpecialBlotMenu",value:function(){var e={expand:{label:this.map.get("expanded")?(0,s.h)(pe.xv,{id:"outline.menu.collapse"}):(0,s.h)(pe.xv,{id:"outline.menu.expand"}),index:0,action:"onOutlineClickMenuExpand"}},t={rename:{label:(0,s.h)(pe.xv,{id:"outline.menu.rename"}),index:1,action:"onOutlineClickMenuRename"}};this.isBlotLocked&&(t={});var n=Object.assign({},e,t);return n}},{key:"render",value:function(){var e=this;eK(iK(i.prototype),"render",this).call(this);var t=this.domNode.querySelector(".outline-container"),n=this.editor.mode===this.editor.constructor.MODE_EDIT,r=this.editor.mode===this.editor.constructor.MODE_EXPORT,o=this.map.get("bordered");o&&t.classList.contains("borderless-outline")&&t.classList.remove("borderless-outline"),o||t.classList.contains("borderless-outline")||t.classList.add("borderless-outline");var a=this.map.get("borderColor");a?t.setAttribute("data-border-color",a):t.removeAttribute("data-border-color");var l=this.props.outlineData,c=null;if(l){var u,d=!Boolean(l.length),p=this.map.get("name")||this.editor.plugins.i18n.get("outline.default_name"),f=this.props.renaming,h=this.map.get("expanded"),m=null,g=null,y=null;if(m=f?(0,s.h)("div",{className:"outline-name renaming"},(0,s.h)("input",{ref:this.onRenameInputNodeRef,type:"text",onKeyDown:this.onRenameInputKeyDown,value:p})):(0,s.h)("div",{className:"outline-name",onClick:this.onExpandClick,onMouseDown:function(e){e.preventDefault()}},p),this.props.menuOpen){var v=this.getSpecialBlotMenu(d),b=Object.keys(v).map((function(e){return Object.assign({},v[e],{key:e})})).sort((function(e,t){return e.index-t.index})).map((function(t){return(0,s.h)(Cn.Z,{key:t.key,id:"outline-"+t.key,onClick:e[t.action],text:t.label})}));g=(0,s.h)(At.Z,{closeOnEsc:!0,addClassName:"outline-menu position-absolute",anchorNode:this.outlineMenuIconNode,wantsToClose:this.onMenuWantsToClose,anchorOptions:{placement:"left-start"}},b)}if(u=(0,s.h)("div",{className:"outline-header "+(f?"renaming-process":"")},(0,s.h)("div",{className:"outline-left"},(0,s.h)("div",{className:"outline-expand-icon "+(!r&&h?"expanded":""),onClick:this.onExpandClick,onMouseDown:function(e){e.preventDefault()}},r?" ":(0,s.h)(ct.VYF,null))),m,r?null:(0,s.h)("div",{className:"outline-right"},n?(0,s.h)("div",{className:"outline-menu-icon",ref:this.onOutlineMenuIconRef,onClick:this.onMenuButtonClick,onMouseDown:this.onMenuButtonMouseDown},(0,s.h)(ct.nqv,null)):null,(0,s.h)(Tt,null,n?g:null))),h||r)if(d)y=(0,s.h)("div",{className:"outline-body"},this.editor.plugins.i18n.get("outline.empty"));else{var _=this.editor.options.baseUrl,w=l.map((function(t){var n=t.id,o=t.text,i=t.level,a=t.anchor;return(0,s.h)("li",{className:"outline-list-item level-"+i,onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onClick:function(){e.onOutlineListItemClick(n)}},r?(0,s.h)("a",{href:a},o):(0,s.h)("a",{href:(_||"")+a,onClick:function(e){e.preventDefault()}},o))})),C=this.map.get("numbered");y=(0,s.h)("div",{className:"outline-body"},(0,s.h)("ul",{className:"outline-list "+(C?"outline-numbered":"")},w))}c=(0,s.h)("div",{className:"outline-content-wrapper "+(d?"empty-outline":"")},u,y)}else c=(0,s.h)("div",{className:"outline-content-wrapper"},(0,s.h)("div",{className:"outline-header loading"},(0,s.h)(ey(),null)));(0,s.sY)((0,s.h)(pe.Pj,null,c),t)}},{key:"convertOutlineToText",value:function(){var e=this,t=this.editor.plugins.limitManager,n=this.container,r=this.map.get("numbered"),o=0,i=0,a=0;t&&t.freeze();var s,l=Array.from(this.domNode.querySelector(".outline-container .outline-list").childNodes).map((function(t,n){var s=parseInt(Array.from(t.classList).filter((function(e){return 0===e.indexOf("level-")})).join("").replace("level-","")),l="";r&&(0===s?(o+=1,i=0,a=0):1===s?(i+=1,a=0):2===s&&(a+=1),l+=o+(0===s?". ":"."),l+=1===s&&i+". "||2===s&&i+"."+a+". "||"");var c={delta:{ops:[{insert:(l+=t.textContent)+"\n"}]},indent:r&&s>0?1:0};return 0===n&&Ec(Object).setCommentThreads(e,c),{type:(0===s?"hLarge":1===s&&"hMedium")||2===s&&"hSmall"||null,textLength:l.length,params:c}})),c=this.id,u=0,d=QZ(l);try{for(d.s();!(s=d.n()).done;){var p=s.value;u++,p.type&&(c=n.addBlot(p.type,Object.assign({},p.params,{after:c,focus:u===l.length&&{index:p.textLength}})).id)}}catch(e){d.e(e)}finally{d.f()}n.removeChildById(this.id),t&&t.unfreeze()}},{key:"contextMenu",get:function(){var e=eK(iK(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n,n=!this.props.outlineData||!Boolean(this.props.outlineData.length),r=this.map.get("expanded");return!n&&r&&(e.convert_to={label:t.get("block_menu.convert_to.name"),index:-21,group:0,action:!1,submenu:{turnToText:{label:t.get("outline.context_menu.convert_to.text"),index:0,group:0,action:"convertOutlineToText",actionExec:!1}}}),this.blotConfig&&this.blotConfig.disableStyleMenuItems||(e.outline_style={label:t.get("outline.context_menu.style.name"),index:0,group:0,action:!1,submenu:{listOnly:{label:t.get("outline.context_menu.style.list_only"),index:0,group:0,action:!!this.map.get("numbered")&&"setNumberedListStyle",actionParams:{numbered:!1},actionExec:!1,icon:!this.map.get("numbered")&&ct.NOm||null},numberedList:{label:t.get("outline.context_menu.style.numbered_list"),index:1,group:0,action:!this.map.get("numbered")&&"setNumberedListStyle",actionParams:{numbered:!0},actionExec:!1,icon:this.map.get("numbered")&&ct.NOm||null},bordered:{label:t.get("outline.context_menu.style.bordered"),index:0,group:1,action:"toggleBordered",actionExec:!1,icon:this.map.get("bordered")&&ct.NOm||null}}},this.map.get("bordered")&&(e["change-border-color"]={label:t.get("outline.context_menu.style.border_color"),index:0,group:0,action:"change-color",stackable:!1,submenu:"ColorPicker",colorPickerParams:{getSelectedColor:this.getCurrentBorderColor,execAction:"set-border-color",defaultColor:"transparent",closeOnChoice:!1}})),e}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t={name:this.map.get("name"),numbered:this.map.get("numbered"),expanded:this.map.get("expanded"),bordered:this.map.get("bordered")};return this.map.get("borderColor")&&(t.borderColor=this.map.get("borderColor")),a().query(this.map.get("type")).initMap(e,this.store,t),e.get("id")}},{key:"exec",value:function(e){var t=eK(iK(i.prototype),"exec",this).call(this,e),n=e.params;return"backspace"===e.type?(e.dontRestoreSelection(),t=!0):"set-border-color"===e.type&&n&&("transparent"===n?this.map.set("borderColor",null):this.map.set("borderColor",n),t=!0),t}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=eK(iK(i.prototype),"remove",this)).call.apply(e,[this].concat(n))}},{key:"toHTML",value:function(){return this.domNode.outerHTML}},{key:"getBlotInsertParams",value:function(e,t){var n=eK(iK(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:{name:this.map.get("name"),numbered:this.map.get("numbered"),expanded:this.map.get("expanded"),bordered:this.map.get("bordered"),borderColor:this.map.get("borderColor")}})}}])&&JZ(t.prototype,n),r&&JZ(t,r),i}(cK(O));function pK(e){return(pK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fK(e,t){return(fK=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hK(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gK(e);if(t){var o=gK(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mK(this,n)}}function mK(e,t){if(t&&("object"===pK(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 gK(e){return(gK=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}dK.blotName="outline",dK.tagName="DIV",dK.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","outline"),e.set("name",n.name||null),e.set("bordered",!n.hasOwnProperty("bordered")||n.bordered),e.set("numbered",!n.hasOwnProperty("numbered")||n.numbered),e.set("expanded",!n.hasOwnProperty("expanded")||n.expanded),n.borderColor&&e.set("borderColor",n.borderColor)};var yK=function(e){!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}}),t&&fK(e,t)}(n,e);var t=hK(n);function n(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),r=t.call(this,e),e.className="editor-loader-grey",e.style.width="100%",e.style.height="100px",e.style.display="block",e.style.backgroundPosition="center center",r}return n}(a().Embed);yK.blotName="loader",yK.tagName="LOADER",yK.notStored=!0;const vK=yK;function bK(e){return(bK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _K(){return(_K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function wK(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return CK(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CK(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function CK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EK(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xK(e,t,n){return t&&EK(e.prototype,t),n&&EK(e,n),e}function kK(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}}),t&&OK(e,t)}function OK(e,t){return(OK=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function TK(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=RK(e);if(t){var o=RK(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return AK(this,n)}}function AK(e,t){if(t&&("object"===bK(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return PK(e)}function PK(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e){return(RK=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function IK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MK=function(e){kK(n,e);var t=TK(n);function n(){var e;SK(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return IK(PK(e=t.call.apply(t,[this].concat(o))),"iframeNode",null),IK(PK(e),"onImgLoad",(function(){e.props.onImageLoad&&e.props.onImageLoad(e.iframeNode)})),IK(PK(e),"onDomContentLoaded",(function(){var t,n=wK(e.iframeNode.contentDocument.querySelectorAll("img"));try{for(n.s();!(t=n.n()).done;){t.value.onload=e.onImgLoad}}catch(e){n.e(e)}finally{n.f()}e.props.onDomLoad&&e.props.onDomLoad(e.iframeNode)})),IK(PK(e),"onRef",(function(t){e.iframeNode=t})),e}return xK(n,[{key:"componentDidMount",value:function(){this.iframeNode.contentDocument;this.iframeNode.contentWindow.onDomLoad=this.onDomContentLoaded}},{key:"render",value:function(){var e=this.props.frameContentHeight,t=Object.assign({},this.props),n='<script>document.addEventListener("DOMContentLoaded", window.onDomLoad)<\/script>\n<style>img {cursor: pointer}</style>'+t.srcdoc;delete t.onDomLoad,delete t.srcdoc;var r={};return"number"==typeof e?r.height=e+"px":(r.position="absolute",r.left="-1000000px",r.top="-1000000px",r.height="1000px",r.visibility="hidden"),(0,s.h)("iframe",_K({style:r,srcdoc:n,ref:this.onRef},t))}}]),n}(s.wA),NK=function(e){kK(n,e);var t=TK(n);function n(){var e;SK(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return IK(PK(e=t.call.apply(t,[this].concat(o))),"state",{}),IK(PK(e),"frameNode",null),IK(PK(e),"onContentClick",(function(t){var n=t.target,r=!1;"IMG"===n.tagName&&(r=!0,e.onImageClick(n)),r&&t.preventDefault()})),IK(PK(e),"onFrameLoad",(function(t){e.refreshFrameHeight(t),t.contentDocument.body.onclick=e.onContentClick})),IK(PK(e),"onFrameImageLoad",(function(t){e.refreshFrameHeight(t)})),IK(PK(e),"onFrameFullyLoaded",(function(t){e.refreshFrameHeight(t.target),t.target.contentDocument.body.style.overflowY="hidden"})),IK(PK(e),"onFrameRef",(function(t){e.frameNode=t})),e}return xK(n,[{key:"onImageClick",value:function(e){var t=e.src;t&&(this.props.onImageEnterFullSize&&this.props.onImageEnterFullSize(t)||this.props.lightBox&&this.props.lightBox.open(t))}},{key:"refreshFrameHeight",value:function(e){var t=e.contentWindow.document;this.setState((function(){return{frameContentHeight:t.documentElement.scrollHeight}}))}},{key:"render",value:function(){var e=this.props,t=e.content,n=e.i18n,r=e.classPrefix,o=this.state.frameContentHeight;return t?(0,s.h)("div",{className:r+"-content "+fe.W$},(0,s.h)(MK,{onLoad:this.onFrameFullyLoaded,onDomLoad:this.onFrameLoad,onImageLoad:this.onFrameImageLoad,srcdoc:t,ref:this.onFrameRef,frameContentHeight:o})):(0,s.h)("div",{className:r+"-loading"},n.get("html.loading"))}}]),n}(s.wA);function DK(e){return(DK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jK(){return(jK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BK(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FK(e,t){return(FK=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function UK(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zK(e);if(t){var o=zK(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HK(this,n)}}function HK(e,t){if(t&&("object"===DK(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return VK(e)}function VK(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zK(e){return(zK=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GK=(0,Rn.ZP)("enter"),WK=(0,Rn.ZP)("escape"),YK=function(e){!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}}),t&&FK(e,t)}(i,e);var t,n,r,o=UK(i);function i(){var e;LK(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return qK(VK(e=o.call.apply(o,[this].concat(n))),"onMenuIconRef",(function(t){e.menuIconNode=t})),qK(VK(e),"onRenameInputNodeRef",(function(t){e.renameInputNode=t})),qK(VK(e),"onHeaderClick",(function(t){e.onExpandContent()})),qK(VK(e),"onMenuButtonMouseDown",(function(t){if(e.state.menuOpen){e._swallowMenuClick=!0;document.addEventListener("mouseup",(function t(){setTimeout((function(){return e._swallowMenuClick=!1})),document.removeEventListener("mouseup",t,!1)}),!1)}})),qK(VK(e),"onMenuButtonClick",(function(t){t.stopPropagation(),e._swallowMenuClick?e._swallowMenuClick=!1:e.setState((function(e){return{menuOpen:!e.menuOpen}}))})),qK(VK(e),"onRenameInputKeyDown",(function(t){GK(t)&&e.onApplyName(),WK(t)&&e.onApplyName(!1)})),qK(VK(e),"onRenameInputClick",(function(e){e.stopPropagation()})),qK(VK(e),"onClickMenuExpand",(function(){e.onExpandContent()})),qK(VK(e),"onClickMenuRename",(function(){e.setState((function(){return{renaming:!0}}))})),qK(VK(e),"onBodyMouseDown",(function(t){var n=t.target;if(e.state.renaming){if(n===e.renameInputNode)return;e.onApplyName(!1)}})),qK(VK(e),"onExpandContent",(function(){var t=e.props.blotMap.get("expanded");e.props.blotMap.set("expanded",!t)})),qK(VK(e),"onMenuWantsToClose",(function(){e.setState((function(){return{menuOpen:!1}}))})),e}return t=i,(n=[{key:"onApplyName",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.renameInputNode&&""!==this.renameInputNode.value&&this.props.blotMap.set("name",this.renameInputNode.value),this.setState((function(){return{renaming:!1}}))}},{key:"getCollapsibleContentMenu",value:function(){var e=this.props.getSpecialBlotMenu();return this.props.isBlotLocked||(e=Object.assign({rename:{label:(0,s.h)(pe.xv,{id:"collapsible_content.menu.rename"}),index:10,action:"onClickMenuRename",defaultItem:!0}},e)),Object.assign({expand:{label:this.props.blotMap.get("expanded")?(0,s.h)(pe.xv,{id:"collapsible_content.menu.collapse"}):(0,s.h)(pe.xv,{id:"collapsible_content.menu.expand"}),index:0,action:"onClickMenuExpand",defaultItem:!0}},e)}},{key:"componentDidMount",value:function(){document.body.addEventListener("mousedown",this.onBodyMouseDown,!1)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("mousedown",this.onBodyMouseDown,!1)}},{key:"componentDidUpdate",value:function(e,t){!t.renaming&&this.state.renaming&&this.renameInputNode&&(this.renameInputNode.focus(),this.renameInputNode.select())}},{key:"render",value:function(){var e=this,t=this.props,n=t.name,r=t.wrapperClassName,o=t.headerClassName,i=t.bodyClassName,a=t.blotMap,l=t.editMode,c=t.exportMode,u=t.isHeaderHidden,d=t.isBordersHidden,p=this.state,f=p.renaming,h=p.menuOpen,m=!!c||a.get("expanded"),g=null,y=null;if(g=f?(0,s.h)("div",{className:"collapsible-content-name renaming"},(0,s.h)("input",{ref:this.onRenameInputNodeRef,type:"text",onKeyDown:this.onRenameInputKeyDown,onClick:this.onRenameInputClick,value:n})):(0,s.h)("div",{className:"collapsible-content-name"},(0,s.h)("span",jK({},qK({},Gr.qZ,n),{className:"collapsible-content-name-text"}),n)),h){var v=this.getCollapsibleContentMenu(),b=Object.keys(v).map((function(e){return Object.assign({},v[e],{key:e})})).sort((function(e,t){return e.index-t.index})).map((function(t){return(0,s.h)(Cn.Z,{key:t.key,id:"collapsible-content-"+t.key,onClick:function(n){n.stopPropagation(),e.onMenuWantsToClose(),t.defaultItem?e[t.action]():e.props.onMenuClickAction(t.action)},text:t.label})}));y=(0,s.h)(At.Z,{addClassName:"collapsible-content-menu position-absolute",anchorNode:this.menuIconNode,wantsToClose:this.onMenuWantsToClose,anchorOptions:{placement:"left-start"}},b)}var _=null;u||(_=(0,s.h)("div",{className:"collapsible-content-header "+(o||""),onClick:this.onHeaderClick},(0,s.h)("div",{className:"collapsible-content-header-left"},(0,s.h)("div",{className:"collapsible-content-expand-icon "+(m?"expanded":"")},c?" ":(0,s.h)(ct.VYF,null))),g,l?(0,s.h)("div",{className:"collapsible-content-header-right"},(0,s.h)("div",{className:"collapsible-content-menu-icon",ref:this.onMenuIconRef,onClick:this.onMenuButtonClick,onMouseDown:this.onMenuButtonMouseDown},(0,s.h)(ct.nqv,null)),(0,s.h)(Tt,null,y)):null));var w="";return d&&(w=" no-borders"),(0,s.h)(pe.Pj,null,(0,s.h)("div",{className:"collapsible-content "+(r||"")+w},_,m?(0,s.h)("div",{className:"collapsible-content-body "+(i||"")},this.props.children):null))}}])&&BK(t.prototype,n),r&&BK(t,r),i}(s.wA);function ZK(e){return(ZK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function KK(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||e$(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){return function(e){if(Array.isArray(e))return t$(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||e$(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 QK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QK(Object(n),!0).forEach((function(t){a$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QK(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JK(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=e$(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function e$(e,t){if(e){if("string"==typeof e)return t$(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t$(e,t):void 0}}function t$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n$(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function r$(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){n$(i,r,o,a,s,"next",e)}function s(e){n$(i,r,o,a,s,"throw",e)}a(void 0)}))}}function o$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i$(e,t,n){return(i$="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g$(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function a$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(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}}),t&&m$(e,t)}function c$(e){var t=h$();return function(){var n,r=g$(e);if(t){var o=g$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u$(this,n)}}function u$(e,t){if(t&&("object"===ZK(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d$(e)}function d$(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p$(e){var t="function"==typeof Map?new Map:void 0;return(p$=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f$(e,arguments,g$(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),m$(r,e)})(e)}function f$(e,t,n){return(f$=h$()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&m$(o,n.prototype),o}).apply(null,arguments)}function h$(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function m$(e,t){return(m$=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g$(e){return(g$=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y$=se([Ec,Pd,eg,nh,Mu,gu,Vu,bd,Eu,tu]),v$=function(e){l$(n,e);var t=c$(n);function n(){return s$(this,n),t.apply(this,arguments)}return n}(p$(Error)),b$=function(e){l$(i,e);var t,n,r,o=c$(i);function i(e){var t;return s$(this,i),a$(d$(t=o.call(this,e)),"mapObserver",(function(){t.render()})),a$(d$(t),"onClickMenuOpenSource",(function(){var e=t.map.get("srcLink");t.editor.plugins.linkManager.processNavigation(e)||window.open(e,"_blank","noopener")})),a$(d$(t),"onImageEnterFullSize",(function(e){if(!t.editor.plugins.imageManager.enterFullSize)return!1;var n=t.getCachedAttachmentByURL(e);return!!n&&void 0===t.editor.plugins.imageManager.enterFullSize(n.id)})),a$(d$(t),"getSpecialBlotMenu",(function(){var e={};return t.isBlotLocked||(t.hasOriginLink()&&(e.openSrc={label:(0,s.h)(pe.xv,{id:"html.menu.open_source"}),index:1,action:"onClickMenuOpenSource"}),t.blotConfig.exportBlot&&(e.exportBlot={label:(0,s.h)(pe.xv,{id:"html.menu.export_blot"}),index:2,action:"onExportBlot"})),e})),a$(d$(t),"onMenuClickAction",(function(e){t[e]()})),a$(d$(t),"resolveHtml",function(){var e=r$(regeneratorRuntime.mark((function e(n){var r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.prepareLinks(n),r=t.getAttachmentIdsFromHtml(n),o=JK(r),e.prev=3,o.s();case 5:if((i=o.n()).done){e.next=19;break}return a=i.value,e.prev=7,e.next=10,t.editor.plugins.attachmentManager.resolve(a,{blotName:"html"});case 10:s=e.sent,t.cache.attachments[a]=s,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),console.error("fail to resolve attachment",e.t0);case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t1=e.catch(3),o.e(e.t1);case 24:return e.prev=24,o.f(),e.finish(24);case 27:return e.abrupt("return",n.replace(/#attacheloc:([\w]+)#/gm,(function(e,n){return t.cache.attachments[n]?t.cache.attachments[n].url:e})));case 28:case"end":return e.stop()}}),e,null,[[3,21,24,27],[7,14]])})));return function(t){return e.apply(this,arguments)}}()),a$(d$(t),"resolveContent",r$(regeneratorRuntime.mark((function e(){var n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t._contentResolveInProgress){e.next=2;break}return e.abrupt("return");case 2:return t._contentResolveInProgress=!0,n=t.map.get("content"),r=t.map.get("signature"),o=!1,e.prev=6,e.next=9,t.editor.plugins.signature.verifySignature(n,r);case 9:e.sent?o=!0:(i=new v$("signature does not match the content"),t.editor.plugins.debugLogger.captureException(i),t.setProps({error:i})),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(6),t.editor.plugins.debugLogger.captureException(e.t0),t.setProps({error:e.t0});case 17:if(o){e.next=20;break}return t._contentResolveInProgress=!1,e.abrupt("return");case 20:return e.next=22,t.resolveHtml(n);case 22:a=e.sent,t.setProps({content:a}),t._contentResolveInProgress=!1;case 25:case"end":return e.stop()}}),e,null,[[6,13]])})))),a$(d$(t),"onShowHeader",(function(){var e=Boolean(t.map.get("isHeaderHidden"));t.map.set("isHeaderHidden",!e)})),a$(d$(t),"onShowBorders",(function(){var e=Boolean(t.map.get("isBordersHidden"));t.map.set("isBordersHidden",!e)})),t.cache={attachments:{}},t.addCanExecActions(["delete","backspace"]),t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","html"),e.set("name",n.name?n.name:null),e.set("content",n.content?n.content:""),e.set("signature",n.signature?n.signature:""),e.set("srcLink",n.srcLink?n.srcLink:null),e.set("expanded",!0),e.set("fullwidthMode",!1!==n.mode),e.set("isHeaderHidden",n.isHeaderHidden?n.isHeaderHidden:null),e.set("isBordersHidden",n.isBordersHidden?n.isBordersHidden:null)}},{key:"create",value:function(e){var t=i$(g$(i),"create",this).call(this);t.classList.add("nimbus-html");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("nimbus-html-container"),t.appendChild(n),t}},{key:"createBlot",value:function(e){var t=a().create("html");return this.addCaretTrap(e,t.domNode),t}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=i$(g$(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.editor.store.observe(this.map,this.mapObserver),this.fullWidth.default=!0,this.props.content||this.resolveContent(),this.render()}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=i$(g$(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.store.unobserve(this.map,this.mapObserver)}},{key:"hasOriginLink",value:function(){return Boolean(this.map.get("srcLink"))}},{key:"getCachedAttachmentByURL",value:function(e){var t=null;for(var n in this.cache.attachments)if(n.url===e){t=n;break}return t}},{key:"prepareLinks",value:function(e){var t=/(\s+)?target="[^>]*?(\s+)?"(\s+)?/gm;return e.replace(/<a\s+([^>]*?\s+)?href="([^"]*)"(?:\s+)?([^>]*?[\s+]?)?>/gm,(function(e,n,r,o){return'<a href="'+r+'" '+((n?n.replace(t,""):"")+(o?o.replace(t,""):""))+' target="_blank noopener">'}))}},{key:"getAttachmentIdsFromHtml",value:function(e){var t=[];return e.replace(/#attacheloc:([\w]+)#/gm,(function(e,n){return t.push(n),e})),t}},{key:"render",value:function(){i$(g$(i.prototype),"render",this).call(this);var e=this.domNode.querySelector(".nimbus-html-container"),t=this.editor.mode===this.editor.constructor.MODE_EDIT,n=this.editor.mode===this.editor.constructor.MODE_EXPORT,r=this.map.get("name");r||(r=this.editor.plugins.i18n.get("html.default_name"));var o,a=this.props,l=a.content,c=a.error;if(c){var u=this.editor.plugins.i18n.get("html.unknown_error");c instanceof mV?u=this.editor.plugins.i18n.get("html.device_cant_display_content"):c instanceof v$&&(u=this.editor.plugins.i18n.get("html.wrong_signature")),o=(0,s.h)("div",{className:"error"},u)}else o=(0,s.h)(NK,{classPrefix:"nimbus-html",content:l,i18n:this.editor.plugins.i18n,lightBox:this.editor.plugins.lightBox,onImageEnterFullSize:this.onImageEnterFullSize});(0,s.sY)((0,s.h)(YK,{name:r,wrapperClassName:"nimbus-html-wrapper",headerClassName:"nimbus-html-header",bodyClassName:"nimbus-html-body",blotMap:this.map,getSpecialBlotMenu:this.getSpecialBlotMenu,onMenuClickAction:this.onMenuClickAction,editMode:t,exportMode:n,isBlotLocked:this.isBlotLocked,isHeaderHidden:this.map.get("isHeaderHidden"),isBordersHidden:this.map.get("isBordersHidden")},o),e)}},{key:"onExportBlot",value:function(){this.blotConfig.exportBlot&&this.blotConfig.exportBlot(this.id,"html")}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top;if(this.fullwidthMenuMargin){var r=(this.fullwidthMenuMargin<0?-3:0)-25;t+=this.fullwidthMenuMargin+r}return{left:t,top:n}}},{key:"cloneSelf",value:function(){console.log("this.map.get('fullwidthMode')",this.map.get("fullwidthMode"));var e=this.store.createMap();return a().query(this.map.get("type")).initMap(e,this.store,{name:this.map.get("name"),content:this.map.get("content"),signature:this.map.get("signature"),srcLink:this.map.get("srcLink"),expanded:this.map.get("expanded"),mode:this.map.get("fullwidthMode"),isHeaderHidden:this.map.get("isHeaderHidden"),isBordersHidden:this.map.get("isBordersHidden")}),e.get("id")}},{key:"toHTML",value:function(e){var t=this,n=this.map.get("content"),r=!1;if(!e.options||!e.options.noAttachments)for(var o in this.cache.attachments)e.addAttachment(this.cache.attachments[o]),r=!0;var i=(e.options||{}).attachmentsByGlobalId;if(!r&&i)for(var a in i){var s=i[a],l=s.location,c=s.globalId;this.cache.attachments[a]=XK(XK({},i[a]),{},{url:l,global_id:c}),e.addAttachment(this.cache.attachments[a])}$K(n.matchAll(/#attacheloc:([\w]+)#/gm)).forEach((function(r){var o=KK(r,2),i=o[0],a=o[1],s=e&&e.getAttachmentPath&&e.getAttachmentPath(t.cache.attachments[a]);!s&&t.cache.attachments[a]&&(s=t.cache.attachments[a].url),s||(s=i),n=n.replace(i,s)}));var u=this.domNode.cloneNode(!0),d=u.querySelector(".nimbus-html-body");return d&&(d.innerHTML=n),u.outerHTML}},{key:"contextMenu",get:function(){var e=i$(g$(i.prototype),"contextMenu",this),t=this.editor.plugins.i18n;return delete e.copyBlocks,e.layout=(0,fe.Ee)(e.layout,{label:t.get("block_menu.layout"),index:-2,group:0,action:!1}),this.map.get("expanded")&&(e.layout.submenu||(e.layout.submenu={}),e.layout.submenu.showHeader={label:t.get("block_menu.show_header"),index:1,group:0,action:"onShowHeader",actionExec:!1,icon:!Boolean(this.map.get("isHeaderHidden"))&&ct.EZi,style:Boolean(this.map.get("isHeaderHidden"))?"undone":"done"},e.layout.submenu.showBorders={label:t.get("block_menu.show_borders"),index:1,group:0,action:"onShowBorders",actionExec:!1,icon:!Boolean(this.map.get("isBordersHidden"))&&ct.EZi,style:Boolean(this.map.get("isBordersHidden"))?"undone":"done"}),e}},{key:"getBlotInsertParams",value:function(e,t){var n=i$(g$(i.prototype),"getBlotInsertParams",this).call(this,e,t),r=this.editor.options.serverRoom;return(0,fe.Ee)(n,{initParams:{name:this.map.get("name"),content:this.map.get("content"),signature:this.map.get("signature"),srcLink:this.map.get("srcLink"),mode:this.map.get("fullwidthMode"),isHeaderHidden:this.map.get("isHeaderHidden"),isBordersHidden:this.map.get("isBordersHidden"),room:r}})}}])&&o$(t.prototype,n),r&&o$(t,r),i}(y$(O));b$.blotName="html",b$.tagName="NIMBUS-HTML",b$.allowedChildren=[];const _$=b$;n(48702);function w$(e){return(w$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S$(e,t){return(S$=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E$(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k$(e);if(t){var o=k$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x$(this,n)}}function x$(e,t){if(t&&("object"===w$(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 k$(e){return(k$=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O$=function(e){!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}}),t&&S$(e,t)}(i,e);var t,n,r,o=E$(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"onClickItem",value:function(e,t){var n=this.props.blot;e.action(e.actionParams),n.onMenuWantsToClose(),t.preventDefault(),t.stopPropagation()}},{key:"render",value:function(){var e,t=this.props.blot,n=t.editor.mode===gpe,r=t.getLanguage(),o="",i=kj(t.getSpecialBlotMenu(),{thisArg:this,onClick:this.onClickItem});t.state.menuOpen&&(o=(0,s.h)(At.Z,{closeOnEsc:!0,addClassName:"with-language-submenu",anchorNode:t.syntaxMenuIconNode,editor:t.editor,menu:t.getSpecialBlotMenu(),wantsToClose:t.onMenuWantsToClose.bind(t),anchorOptions:{boundariesElement:t.editor.scrollingContainer}},i)),!1===t.blotConfig.menuVisible||n||(e=(0,s.h)("span",{className:"syntax-control-btn",ref:t.onSyntaxMenuIconRef,onMouseDown:t.setRange.bind(t),onClick:t.onMenuClick},(0,s.h)(ct.nqv,null)));var a=null;t.props.hljsLoading&&(a=(0,s.h)("div",{className:"loading-spinner editor-loader-grey"})),t&&t.isBlotLocked&&(e=(0,s.h)("span",{className:"syntax-control-btn"}),o=null);var l="syntax-control-wrap";return n&&(l="syntax-control-wrap no-margin"),(0,s.h)("div",{className:"syntax-control-wrapper",contentEditable:"false",onClick:this.props.onSyntaxControlClick},(0,s.h)("div",{className:l,contentEditable:"false"},a,(0,s.h)("span",{className:"syntax-control-label"},t.languages[r]),e,o))}}])&&C$(t.prototype,n),r&&C$(t,r),i}(s.wA);function T$(e){function t(e){return"(?:"+e+")?"}var n="(decltype\\(auto\\)|"+t("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+t("<.*?>")+")",r={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},o={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},{begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/}]},i={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},a={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},s={className:"title",begin:t("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},l=t("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",c={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},u=[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o],d={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:c,contains:u.concat([{begin:/\(/,end:/\)/,keywords:c,contains:u.concat(["self"]),relevance:0}]),relevance:0},p={className:"function",begin:"("+n+"[\\*&\\s]+)+"+l,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:c,illegal:/[^\w\s\*&:<>]/,contains:[{begin:"decltype\\(auto\\)",keywords:c,relevance:0},{begin:l,returnBegin:!0,contains:[s],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i,r,{begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i,r]}]},r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:c,disableAutodetect:!0,illegal:"</",contains:[].concat(d,p,u,[a,{begin:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:c,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:c},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin:/</,end:/>/,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:a,strings:o,keywords:c}}}var A$,P$,R$,I$,M$,N$,D$=n(24787),j$=n.n(D$);function L$(e){return(L$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F$(e,t){return(F$=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U$(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=z$(e);if(t){var o=z$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return H$(this,n)}}function H$(e,t){if(t&&("object"===L$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V$(e)}function V$(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z$(e){return(z$=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G$(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function W$(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){G$(i,r,o,a,s,"next",e)}function s(e){G$(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Y$(){return Z$.apply(this,arguments)}function Z$(){return(Z$=W$(regeneratorRuntime.mark((function e(){var t,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=!1,A$||(t=!0,A$=Promise.resolve().then(n.t.bind(n,60311,23))),e.next=4,A$;case 4:return r=e.sent,o=r.default,t&&(P$=o).registerLanguage("c",T$),e.abrupt("return",o);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K$(){return $$.apply(this,arguments)}function $$(){return($$=W$(regeneratorRuntime.mark((function e(){var t,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!1,R$||j$()||(t=!0,R$=n.e(928).then(n.bind(n,14775))),!t){e.next=13;break}return e.next=5,R$;case 5:return r=e.sent,o=r.cmLangs,i=r.cm_module,a=r.cmy_module,o,I$=i,M$=a,e.abrupt("return",i);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}j$()&&(P$=n(60311)).registerLanguage("c",T$);var Q$=function(e){!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}}),t&&F$(e,t)}(i,e);var t,n,r,o=U$(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),q$(V$(t=o.call(this,e)),"onStopDragging",(function(e){t.render()})),q$(V$(t),"onTextAreaRef",(function(e){t.textAreaNode=e})),t.map=e.map,t.store=e.store,t.domNode=e.domNode,t.floatingToolbarDisabled=!0,t}return t=i,(n=[{key:"afterLoadScripts",value:function(){var e=this.props.blot;e.editor.findById(e.id)&&this.render()}},{key:"componentDidMount",value:function(){var e=this,t=this.props.blot;t.language=t.getLanguage(),j$()?this.props.onLoadModules(P$):P$&&I$?(this.props.onLoadModules(P$),this.initCM()):(N$||(N$=Promise.all([K$(),Y$()])),N$.then((function(){e.props.onLoadModules(P$),e.afterLoadScripts(),e.initCM()}))),t.editor.on("lockBlot",t.onLockChange),t.editor.on("unlockBlot",t.onLockChange),t.editor.on("set-theme",t.onThemeChange),t.editor.on("grid-resize-end",this.onStopDragging)}},{key:"componentWillUnmount",value:function(){var e=this.props.blot;e.editor.off("lockBlot",e.onLockChange),e.editor.off("unlockBlot",e.onLockChange),e.editor.off("set-theme",e.onThemeChange),e.editor.off("grid-resize-end",this.onStopDragging)}},{key:"render",value:function(){var e=this.props.blot;if(j$()&&e.editor.mode===gpe)return"{EXPORT_CODE}";var t="syntax-cm-"+e.id;return I$&&P$&&e.instanceCM&&e.editor.mode===fpe&&e.instanceCM.refresh(),(0,s.h)("textarea",{className:"syntax-text-anchor",key:t,ref:this.onTextAreaRef})}},{key:"getCmTextArea",get:function(){return this.textAreaNode}},{key:"initCM",value:function(){var e=this,t=this.props.blot;if(!t.instanceCM&&I$&&P$){var n=this.getCmTextArea;if(n){var r=t.editor.plugins.editorStyle.getTheme(),o=t.getTheme();"default"===o&&(o=t.cmThemes[r]);var i=!1;this.map.get("wrap")&&(i=!0);var a=!1;this.map.get("lineNumbers")&&(a=!0),this.lineNumbers=a;var s=!0;t.editor.mode===fpe&&(t.isBlotLocked||(s=!1));var l=I$.fromTextArea(n,{mode:t.mimes[t.language],tabSize:2,theme:o,styleActiveLine:!0,lineNumbers:a,lineWrapping:i,readOnly:s,resetSelectionOnContextMenu:!1,viewportMargin:1/0,autofocus:!1,inputStyle:"textarea",dragDrop:!1});this.props.onInitCM(l);var c=this.domNode.getElementsByClassName("CodeMirror-cursors")[0];if(s?c.classList.add("nocursor"):c.classList.remove("nocursor"),this.domNode.getElementsByClassName("CodeMirror-gutters")[0].setAttribute("contentEditable",!1),!this.binding){var u=this.map.get("characters"),d=u.toString;u.toString=function(){return t.getText()},this.binding=new M$(u,l),u.toString=d}if("auto"===t.language){var p=t.getText();""!==p&&t.autoDetect(p)}t.setCursorTo("goDocEnd",{focused:!0})}}t.instanceCM&&(t.instanceCM.on("change",(function(){var n=e.binding.cmDoc.getValue();t.autoDetect(n)})),t.instanceCM.on("copy",(function(e,t){t.codemirrorIgnore=!0})),t.instanceCM.on("cut",(function(e,t){t.codemirrorIgnore=!0})),t.instanceCM.on("blur",(function(t){var n=e.binding.cmDoc.getCursor();t.getSelection()&&t.setSelection({line:n.line,ch:n.ch},null,{scroll:!1})})))}}])&&B$(t.prototype,n),r&&B$(t,r),i}(s.wA),X$=n(66213),J$=n.n(X$);function eQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tQ(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=iQ(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function nQ(e){return(nQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rQ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||iQ(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 oQ(e){return function(e){if(Array.isArray(e))return aQ(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||iQ(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 iQ(e,t){if(e){if("string"==typeof e)return aQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aQ(e,t):void 0}}function aQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sQ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lQ(e,t,n){return(lQ="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=fQ(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function cQ(e,t){return(cQ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uQ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fQ(e);if(t){var o=fQ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dQ(this,n)}}function dQ(e,t){if(t&&("object"===nQ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return pQ(e)}function pQ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fQ(e){return(fQ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mQ,gQ="data-language",yQ="data-theme",vQ=function(e){!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}}),t&&cQ(e,t)}(i,e);var t,n,r,o=uQ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),hQ(pQ(t=o.call(this,e)),"onSyntaxMenuIconRef",(function(e){t.syntaxMenuIconNode=e})),hQ(pQ(t),"onMenuClick",(function(e){e.preventDefault(),e.stopPropagation(),t.state.menuOpen=!0,t.render()})),hQ(pQ(t),"onChooseLanguage",(function(e){var n=e.language;t.setLanguage(n)})),hQ(pQ(t),"onChooseTheme",(function(e){var n=e.theme;t.setTheme(n)})),hQ(pQ(t),"changeWordWrap",(function(){var e=t.map.get("wrap");t.map.set("wrap",!e),t.instanceCM.setOption("lineWrapping",!e)})),hQ(pQ(t),"changeLinesNumbers",(function(){var e=t.map.get("lineNumbers");t.map.set("lineNumbers",!e),t.instanceCM.setOption("lineNumbers",!e),t.lineNumbers=!e})),hQ(pQ(t),"changeTheme",(function(e){t.map.set("theme",e)})),hQ(pQ(t),"onInitCM",(function(e){t.instanceCM=e})),hQ(pQ(t),"onSyntaxControlClick",(function(e){e&&(e.preventDefault(),e.stopPropagation()),t.editor.mode!==fpe||t.blotConfig.dontHandleHeaderCkick||t.setCursorTo("goDocStart")})),hQ(pQ(t),"onLoadModules",(function(e){mQ=e})),hQ(pQ(t),"onCMFocus",(function(){t.domNode.classList.contains("syntax-cm-without-focus")&&t.domNode.classList.remove("syntax-cm-without-focus")})),hQ(pQ(t),"onCMBlur",(function(){(t.props.focused||t.props.selected)&&(t.domNode.classList.contains("syntax-cm-without-focus")||t.domNode.classList.add("syntax-cm-without-focus"))})),hQ(pQ(t),"mapObserver",(function(e){t.render()})),hQ(pQ(t),"onThemeChange",(function(e){var n=t.editor.plugins.editorStyle.getTheme(),r=t.getTheme();"default"===r&&t.cmThemes[n]&&(r=t.cmThemes[n]),t.instanceCM&&t.instanceCM.setOption("theme",r)})),hQ(pQ(t),"onLockChange",(function(e){var n=!0;t.editor.mode===fpe&&(t.isBlotLocked||(n=!1)),t.instanceCM.setOption("readOnly",n);var r=t.domNode.getElementsByClassName("CodeMirror-cursors")[0];n?r.classList.add("nocursor"):r.classList.remove("nocursor")})),t.hasCustomSelection=!0,t.languages={plaintext:"Plain Text",vbnet:"Highlight",x86asm:"Assembly (x86)",asciidoc:"AsciiDoc",javascript:"Javascript",cpp:"C++",cs:"C#",c:"C",scss:"CSS/SCSS",xml:"HTML/XML",json:"JSON",java:"Java",kotlin:"Kotlin",typescript:"Typescript",markdown:"Markdown",php:"PHP",python:"Python",ruby:"Ruby",sql:"SQL",bash:"Bash",shell:"Shell",powershell:"PowerShell",delphi:"Pascal",swift:"Swift",lua:"Lua",perl:"Perl",vbscript:"Vbscript",yaml:"YAML",apache:"Apache",julia:"Julia",rust:"Rust",go:"Go",dart:"Dart"},t.themes={default:"Default",darcula:"Darcula",mbo:"MBO","mdn-like":"MDN",monokai:"Monokai",neat:"Neat",neo:"NEO",nord:"Nord",yeti:"Yeti",yonce:"Yonce",zenburn:"Zenburn"},t.cmThemes={light:"default",dark:"monokai","brand-dark-ios":"monokai"},t.mimes={plaintext:null,vbnet:"text/x-vb",x86asm:{name:"gas",architecture:"x86"},asciidoc:"asciidoc",javascript:"text/javascript",cpp:"text/x-c++src",cs:"text/x-csharp",c:"text/x-csrc",scss:"text/x-scss",xml:"text/html",json:"application/json",java:"text/x-java",kotlin:"text/x-kotlin",typescript:"text/typescript",markdown:"text/x-markdown",php:"text/x-php",python:"text/x-python",ruby:"text/x-ruby",sql:"text/x-sql",bash:"text/x-sh",shell:"text/x-sh",powershell:"application/x-powershell",delphi:"text/x-pascal",swift:"text/x-swift",lua:"text/x-lua",perl:"text/x-perl",vbscript:"text/vbscript",yaml:"text/x-yaml",apache:"apache",julia:"text/x-julia",rust:"text/x-rustsrc",go:"text/x-go",dart:"application/dart"},t.relevance={min:1,max:5,textLength:60},t.relevanceLangs={scss:2,lua:3,powershell:3,markdown:1,vbscript:3,apache:3,yaml:3,julia:3},t.language="auto",t.domNode.classList.add("editor-syntax"),t.domNode.setAttribute("spellcheck",!1),t.allowUpdate=!0,t.focusOutRange=!1,t.floatingToolbarDisabled=!0,t.state={menuOpen:!1},t.syntaxMenuIconNode=null,t.addCanExecActions([].concat(oQ(pc.canExecActions),["select-all"])),t.processCutWithPlugin=!0,t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=this.normalizeParams(n),e.set("type","syntax"),e.set("setCursor",!0),n.align&&e.set("align",n.align),n[gQ]&&e.set(gQ,n[gQ]),n[yQ]&&e.set(yQ,n[yQ]),e.set("wrap",n.wrap||!1),e.set("lineNumbers",n.lineNumbers||!0),pc.initMap(e,t,n),lQ(fQ(i),"initMap",this)&&lQ(fQ(i),"initMap",this).call(this,e,t,n);var r=n.caption;if(!r){var o=t.createMap();mv.initMap(o,t,n.captionParams||{}),r=o.get("id")}e.set("caption",r)}},{key:"create",value:function(){var e=lQ(fQ(i),"create",this).call(this),t=document.createElement("div");return t.classList.add("syntax-cm-container"),e.appendChild(t),e}},{key:"createBlot",value:function(e){var t=a().create("syntaxWrapper");return"mobile"!==e.options.keyboardMode&&this.addCaretTrap(e,t.domNode),t}},{key:"normalizeParams",value:function(e){return e=Object.assign({},e),Array.isArray(e.items)&&(e.items=e.items.map((function(e){return"string"==typeof e?{type:e}:e}))),e}},{key:"convertBlots",value:function(e,t,n){var r=this,o=n.params,i=n.container;if(o.items||(o.items=[]),!e.length)return null;o=this.normalizeParams(o);var a=e.map((function(e){var t=i.editor.findById(e);return t||console.warn("blot with id not found",e),t}));a.every((function(e){return ie(e,(function(e){return e.isCollapsibleContainer}))}))||(a=a.filter((function(e){return!ie(e,(function(e){return e.isCollapsibleContainer}))})));var s,l=tQ(a);try{for(l.s();!(s=l.n()).done;){var u=s.value;if(!u)throw new Error("some of the blots passed in Syntax#convertBlots not found, all ids: "+e.join(", "));if(!(u instanceof pc||u instanceof Vf))return null}}catch(e){l.e(e)}finally{l.f()}for(var d=ie(i,(function(e){return e.isContainer&&e.constructor.allowedChildren.some((function(e){return e.blotName===r.wrapper}))})),p=(d.children.tail.getWrappedBlot?d.children.tail.getWrappedBlot().id:d.children.tail.id)===a[a.length-1].id,f=o.items;f.length<e.length;){var h=Object.assign({},f[f.length-1]);f.push(h)}var m,g=function(e,t,n){return d.addBlot("syntax",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eQ(Object(n),!0).forEach((function(t){hQ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({delta:t,after:e},n)).id},y={},v=[],b=new(c()),_=[],w=1,C=null,S=a[0],E=tQ(a);try{for(E.s();!(m=E.n()).done;){var x=m.value;x instanceof dp?(y[x.parent.id]||(y[x.parent.id]=[]),y[x.parent.id].push(x.id)):v.push(x.id);var k=f.shift().params||{};if(k.delta||(k.delta=x.delta()),b.ops.length&&(b=b.insert({linebreak:"s"})),x.map.has("commentThreads")&&_.push(x),b=b.concat(k.delta),x.hasChildrenContainer&&!x.isCollapsed()&&x.map.get("children").toArray().length){var O={};1===_.length&&this.setCommentThreads(_[0],O),b=Si(b=wi(b,{removeNewLines:!0})),Object.keys(y).map((function(e){var t=i.editor.findById(e);t.splitList(t.getChildIndex(y[e][0]),y[e].length,{},null)})),C=g(S instanceof dp?S.container.id:S.id,b,O);var T,A=x.map.get("children").toArray(),P=d.getChildIndex(C)+1,R=tQ(A);try{for(R.s();!(T=R.n()).done;){var I=T.value;d.moveChild(I,P),P++}}catch(e){R.e(e)}finally{R.f()}S={id:A[A.length-1]},b=new(c()),_=[],y={}}else if(w===a.length){var M={};1===_.length&&this.setCommentThreads(_[0],M),b=Si(b=wi(b,{removeNewLines:!0}));var N=S.id;S instanceof dp&&(y[S.container.id].length===S.container.children.length?S.container.prev&&(N=S.container.prev.id):N=S.container.id),Object.keys(y).map((function(e){var t=i.editor.findById(e);t.splitList(t.getChildIndex(y[e][0]),y[e].length,{},null)})),C=g(N,b,M)}w++}}catch(e){E.e(e)}finally{E.f()}for(var D=0,j=v;D<j.length;D++){var L=j[D],B=i.editor.findById(L);B&&B.container.removeChildById(L)}return p&&d.addBlot("paragraph",{after:C}),{removeBlots:[],insertBlots:[],focus:{id:C,focus:{index:0}}}}},{key:"normalizeDelta",value:function(e){return e.reduce((function(e,t){if("string"==typeof t.insert){var n=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(n,t.attributes)}return e.insert("\n")}),new(c()))}}],(n=[{key:"isCodeMirrorEnabled",get:function(){var e=!0;return this.blotConfig&&!1===this.blotConfig.highlight&&(e=!1),e}},{key:"onFocusableFocus",value:function(){lQ(fQ(i.prototype),"onFocusableFocus",this)&&lQ(fQ(i.prototype),"onFocusableFocus",this).call(this);var e=this.editor.scroll.selection.getRange(),t=e&&e[1]&&e[1].reversed;"auto"!==this.language||t||this.setCursorTo()}},{key:"setCursorTo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.instanceCM&&setTimeout((function(){n.focused&&!e.props.focused||(e.instanceCM.focus(),t&&e.instanceCM.execCommand(t))}),50)}},{key:"setCursorToCM",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.instanceCM.focus(),this.instanceCM.setCursor({line:e,ch:t})}},{key:"checkCaptionFocus",value:function(){var e=this.getWrapper().getInnerTextLine();!e.props.show&&e.props.hiding&&this.onFocusableFocus()}},{key:"autoDetect",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""!==n.trim()&&"plaintext"!==this.language&&"auto"===this.language&&mQ){e=mQ.highlightAuto(n,Object.keys(this.languages)),n.startsWith("<?php")&&"php"!==e.language&&(e.language="php"),n.length<=this.relevance.textLength?t=this.relevance.min:(t=this.relevance.max,this.relevanceLangs[e.language]&&(t=this.relevanceLangs[e.language]));var r=e.language;e.relevance<=t&&(r="plaintext"),this.setLanguage(r,!0)}}},{key:"formatAt",value:function(){var e;return(e=this.getInnerTextLine()).formatAt.apply(e,arguments)}},{key:"setRange",value:function(){if(!this.focusOutRange){var e=rQ(this.editor.scroll.selection.getRange(),1)[0];this.focusOutRange=e}}},{key:"restoreRange",value:function(){this.focusableFocus(),"object"==nQ(this.focusOutRange)&&this.editor.scroll.selection.setRange(this.focusOutRange),this.focusOutRange=!1}},{key:"onMenuWantsToClose",value:function(){this.state.menuOpen=!1,this.render(),this.restoreRange()}},{key:"getSpecialBlotMenu",value:function(){var e=this,t=this.editor.plugins.i18n,n={"copy-code-to-clipboard":{label:t.get("copy.copy_to_clipboard"),index:1,action:this.copyToClipboard.bind(this)},"syntax-word-wrap":{label:t.get("syntax.menu."+(this.map.get("wrap")?"unwrap":"wrap")),index:2,action:this.changeWordWrap},"syntax-line-numbers":{label:t.get("syntax.menu."+(this.map.get("lineNumbers")?"lineNumbersOff":"lineNumbersOn")),index:2,action:this.changeLinesNumbers}};if(this.editor.mode===this.editor.constructor.MODE_EDIT){var r=this.getLanguage(),o={};Object.keys(this.languages).sort((function(t,n){return e.languages[t].localeCompare(e.languages[n])})).forEach((function(t,n){var i=e.languages[t];o["lang_"+t]={label:i,index:n,group:0,action:e.onChooseLanguage,actionParams:{language:t},isActive:r===t}})),n.language={label:t.get("syntax.menu.language"),index:0,submenuOptions:{anchorOptions:{boundariesElement:this.editor.getScrollingContainer()}},submenu:o,badge:this.languages[r]};var i=this.getTheme(),a={};Object.keys(this.themes).sort((function(t,n){return e.themes[t].localeCompare(e.themes[n])})).forEach((function(t,n){var r=ct.Zlx;i===t&&(r=ct.EZi);var o=e.themes[t];a["theme_"+t]={label:o,index:n,group:0,action:e.onChooseTheme,actionParams:{theme:t},isActive:i===t,icon:r}})),n.themes={label:t.get("syntax.menu.theme"),index:0,submenuOptions:{anchorOptions:{boundariesElement:this.editor.getScrollingContainer()}},submenu:a,badge:this.themes[i]}}return n}},{key:"render",value:function(){lQ(fQ(i.prototype),"render",this).call(this);var e=this.getWrapper();e&&e.render(),this.props.focused||this.props.selected?this.instanceCM&&this.instanceCM.hasFocus()?this.domNode.classList.contains("syntax-cm-without-focus")&&this.domNode.classList.remove("syntax-cm-without-focus"):this.domNode.classList.contains("syntax-cm-without-focus")||this.domNode.classList.add("syntax-cm-without-focus"):this.domNode.classList.contains("syntax-cm-without-focus")&&this.domNode.classList.remove("syntax-cm-without-focus"),this.domNode.getAttribute("data-nimbus-language")!==this.map.get(gQ)&&this.domNode.setAttribute("data-nimbus-language",this.map.get(gQ));var t=this.map.get("data-theme");t&&this.domNode.getAttribute("data-nimbus-theme")!==t&&this.domNode.setAttribute("data-nimbus-theme",this.map.get("data-theme"));var n=this.domNode.querySelector(".syntax-cm-container"),r=(0,s.h)(O$,{blot:this,onSyntaxControlClick:this.onSyntaxControlClick}),o=(0,s.h)(Q$,{blot:this,map:this.map,domNode:this.domNode,store:this.store,onInitCM:this.onInitCM,onLoadModules:this.onLoadModules}),a=(0,s.h)("div",null,r,o);(0,s.sY)((0,s.h)(pe.Pj,null,a),n)}},{key:"update",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=lQ(fQ(i.prototype),"update",this)).call.apply(e,[this].concat(n))}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=lQ(fQ(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.render(),this.editor.store.observe(this.map,this.mapObserver),this.isCodeMirrorEnabled&&this.instanceCM&&(this.instanceCM.on("focus",this.onCMFocus),this.instanceCM.on("blur",this.onCMBlur)),!0===this.map.get("setCursor")&&(this.onSyntaxControlClick(),this.map.set("setCursor",!1))}},{key:"optimize",value:function(e){lQ(fQ(i.prototype),"optimize",this).call(this,e)}},{key:"beforeCopyContent",value:function(){return!1}},{key:"getCopyObjectFromText",value:function(e){var t=["<pre "];return this.map.get("data-language")&&t.push('data-nimbus-language="'+this.map.get("data-language")+'" '),this.map.get("data-theme")&&t.push('data-nimbus-theme="'+this.map.get("data-theme")+'" '),t.push(">"),t.push(J$()(e)),t.push("</pre>"),{html:t.join(""),text:e}}},{key:"getCopyHTML",value:function(){var e=this.instanceCM.getSelection();return e||(e=this.instanceCM.getValue()),this.getCopyObjectFromText(e)}},{key:"getCopyParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?this.onCut():this.getCopyHTML(),n=t.text,r=t.html;return Object.assign({},{text:n,html:r},{op:(0,fe.Ee)(this.getBlotInsertParams(),{initParams:{delta:(new(c())).insert(n+"\n")}})})}},{key:"handleKeyDown",value:function(e){if(!e.ctrlKey&&!e.metaKey)return e.preventDefault(),!1}},{key:"copyToClipboard",value:function(){var e=this.getText(),t=this.getCopyObjectFromText(e);this.editor.plugins.copyManager.copy(t.text,{html:t.html})}},{key:"onCut",value:function(){var e=this.getCopyHTML();return this.editor.mode===fpe&&this.instanceCM.replaceSelection(""),e}},{key:"isEmpty",value:function(){var e=!0;return""!==this.getText().trim()&&(e=!1),e}},{key:"setLanguage",value:function(e){e=e||"plaintext",this.map.set(gQ,e),this.format(this.statics.blotName,e),this.applyLanguage(e)}},{key:"applyLanguage",value:function(e){this.language=e,this.instanceCM.setOption("mode",this.mimes[e]),this.render()}},{key:"getLanguage",value:function(){return this.map.get(gQ)||"auto"}},{key:"setTheme",value:function(e){e=e||"default",this.map.set(yQ,e),this.onThemeChange()}},{key:"getTheme",value:function(){return this.map.get(yQ)||"default"}},{key:"format",value:function(e,t){e===this.statics.blotName&&t&&this.domNode.setAttribute(gQ,t)}},{key:"getTextDelta",value:function(){var e=new(c());return this.getText().split("\n").forEach((function(t){e.ops.push({insert:t}),e.ops.push({insert:{linebreak:"s"}})})),e.ops.pop(),e}},{key:"getSyntaxDelta",value:function(){var e=new(c());return e.ops=this.map.get("characters").toDelta(),e}},{key:"cloneSelf",value:function(){var e={delta:this.getSyntaxDelta()};if(e[gQ]=this.map.get(gQ)||"plaintext",e[yQ]=this.map.get(yQ)||"default",this.map.get("align")&&(e.align=this.map.get("align")),this.map.get("wrap")&&(e.wrap=this.map.get("wrap")),this.map.get("lineNumbers")&&(e.lineNumbers=this.map.get("lineNumbers")),this.getWrapper().caption){var t=this.store.createMap();mv.initMap(t,this.store,{delta:this.getWrapper().caption.delta()}),e.caption=t.get("id")}var n=this.store.createMap();return a().query(this.map.get("type")).initMap(n,this.store,e),n.get("id")}},{key:"containerConvertBlots",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a().query(t.type),lQ(fQ(i.prototype),"containerConvertBlots",this).call(this,e,t,n)}},{key:"getBlotMenuHeaderComponent",value:function(){return function(){return null}}},{key:"contextMenu",get:function(){var e=["turnToNumberList","turnToNumberList","turnToBulletList","turnToChecklist","turnToSyntax","turnToButton"],t={"turn-into":{}},n=Nd(this.editor);for(var r in n["turn-into"])if("submenu"===r){var o=0;for(var a in t["turn-into"][r]={},n["turn-into"][r])-1===e.indexOf(a)&&(t["turn-into"][r][a]=Object.assign({},n["turn-into"][r][a]),t["turn-into"][r][a].index=o++)}else t["turn-into"][r]=n["turn-into"][r];var s=lQ(fQ(i.prototype),"contextMenu",this);return Object.assign(s,t),this.getWrapper().caption&&s.hasOwnProperty("addCaption")?s.addCaption.index=-4:s.hasOwnProperty("addCaption")&&delete s.addCaption,s}},{key:"ignoreUpdates",value:function(e){var t;this._ignoreUpdates=!0;try{e()}catch(e){t=e}if(t)throw t;this._ignoreUpdates=!1}},{key:"selectAlltext",value:function(){this.instanceCM.execCommand("selectAll")}},{key:"textToLine",value:function(e){var t=e.split("\n"),n="";return t.forEach((function(e){n+=e})),n}},{key:"setText",value:function(e){var t=this.getText(),n=e.split("\n"),r=[];r.push({delete:t.length}),n.forEach((function(e){r.push({insert:e.trimRight()}),r.push({insert:{linebreak:"s"}})})),this.map.get("characters").applyDelta(r)}},{key:"getText",value:function(){var e=this.map.get("characters").toDelta(),t="";return e&&e.forEach((function(e){e.insert.linebreak?t+="\n":t+=e.insert})),t.trim()}},{key:"getMarkdown",value:function(){var e,t,n;return this.map.get("caption")&&(e=null===(t=this.editor.store.blocks.get(this.map.get("caption")))||void 0===t||null===(n=t.get("characters"))||void 0===n?void 0:n.toDelta()),kl({delta:this.getSyntaxDelta(),captionParams:e?{delta:{ops:e}}:void 0,"data-language":this.map.get("data-language")})}},{key:"getWrapper",value:function(){return this.parent}},{key:"getBlotInsertParams",value:function(e,t){var n,r,o=lQ(fQ(i.prototype),"getBlotInsertParams",this).call(this,e,t),a=this.getSyntaxDelta();return(0,fe.Ee)(o,{initParams:(r={delta:a},hQ(r,gQ,this.map.get(gQ)||"plaintext"),hQ(r,yQ,this.map.get(yQ)||"default"),hQ(r,"align",this.map.get("align")),hQ(r,"wrap",this.map.get("wrap")),hQ(r,"lineNumbers",this.map.get("lineNumbers")),hQ(r,"captionParams",null===(n=this.getWrapper().caption)||void 0===n?void 0:n.getBlotInsertParams()),r)})}},{key:"toHTML",value:function(e){var t=this.domNode.outerHTML,n=this.toHighlightHTML(),r="";return"auto"!==this.language&&""===n.trim()&&(r="min-height: 16px;"),t=t.replace("{EXPORT_CODE}",'<pre style="white-space: pre-wrap; '.concat(r,'">').concat(n,"</pre>"))}},{key:"toHighlightHTML",value:function(){var e=this.getText();return"auto"===this.language?e:mQ.highlight(this.language,e).value}}])&&sQ(t.prototype,n),r&&sQ(t,r),i}(se([Ec,dg,Pd,nh,bd,Vu,gu,Mu,Eu,tu])(O));function bQ(e){return(bQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wQ(e,t,n){return(wQ="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kQ(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function CQ(e,t){return(CQ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function SQ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kQ(e);if(t){var o=kQ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return EQ(this,n)}}function EQ(e,t){if(t&&("object"===bQ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xQ(e)}function xQ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kQ(e){return(kQ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}vQ.tagName=["SYNTAX"],vQ.blotName="syntax",vQ.className="syntax-main",vQ.wrapper="syntaxWrapper",vQ.hasInnerTextLine=!0,vQ.skipDeleteAction=!0,vQ.scope=a().Scope.BLOCK_BLOT;var OQ=function(e){!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}}),t&&CQ(e,t)}(i,e);var t,n,r,o=SQ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(xQ(t=o.call(this,e)),"onCaptionClick",(function(e){var n=t.editor.scroll.selection.getRange()[0],r=t.editor.scroll.selection.getRange({offsetBlot:t.caption})[0];r.length+1===n.length&&t.editor.scroll.selection.setRange({index:n.index,length:r.length})})),t.domNode.classList.add("syntax-wrapper"),t.caption=null,t}return t=i,(n=[{key:"getInnerTextLine",value:function(){return this.caption}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=wQ(kQ(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),!this.caption){var o=this.map.get("caption");o&&(this.caption=a().create("caption"),this.caption.map=this.store.getMap(this.map.get("caption")),this.caption.embedBlot=this.embed,this.appendChild(this.caption),this.caption.domNode.addEventListener("click",this.onCaptionClick,!1))}}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=wQ(kQ(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.caption&&this.caption.domNode.removeEventListener("click",this.onCaptionClick,!1)}},{key:"render",value:function(){wQ(kQ(i.prototype),"render",this).call(this),this.caption&&this.caption.render()}},{key:"getWrappedBlot",value:function(){return this.embed}},{key:"getMarkdown",value:function(){var e="";return this.children.forEach((function(t){t.getMarkdown&&(e+=t.getMarkdown())})),e}}])&&_Q(t.prototype,n),r&&_Q(t,r),i}(ym);OQ.allowedChildren=[vQ,mv],OQ.blotName="syntaxWrapper";var TQ=n(37733),AQ=n.n(TQ);function PQ(e){return(PQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function RQ(){return(RQ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function IQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MQ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NQ(e,t){return(NQ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function DQ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=BQ(e);if(t){var o=BQ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jQ(this,n)}}function jQ(e,t){if(t&&("object"===PQ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return LQ(e)}function LQ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(e){return(BQ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function FQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UQ=function(e){!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}}),t&&NQ(e,t)}(i,e);var t,n,r,o=DQ(i);function i(){var e;IQ(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return FQ(LQ(e=o.call.apply(o,[this].concat(n))),"onRef",(function(t){if(t&&e.props.outputs)for(var n=e.props.outputs,r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];t.addEventListener(i,n[i])}})),e}return t=i,r=[{key:"isRegisteredTasksComponent",value:function(e){var t;return(null==e||null===(t=e.plugins)||void 0===t||!t.tasksManager.options.readonly)&&document.createElement("nim-task-list").constructor!==HTMLElement}}],(n=[{key:"shouldComponentUpdate",value:function(e){return!AQ()(this.props,e)}},{key:"render",value:function(){var e=this.props.inputs;return(0,s.h)("nim-task-list",RQ({},e,{ref:this.onRef}))}}])&&MQ(t.prototype,n),r&&MQ(t,r),i}(s.wA);function HQ(){return(HQ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function VQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zQ(e){var t=e.title,n=e.tasks;return(0,s.h)("div",{className:"tasks-list-ro"},(0,s.h)("div",{className:"tasks-list-ro-title"},t),(0,s.h)("div",{className:"tasks-list-ro-tasks-wrapper"},n.map((function(e){return(0,s.h)("div",{className:"tasks-list-ro-task"+(e.done?" completed":"")},(0,s.h)("span",{className:"tasks-list-ro-task-radio"}),(0,s.h)("div",{className:"tasks-list-ro-task-details"},(0,s.h)("div",{className:"tasks-list-ro-task-info-wrapper"},(0,s.h)("div",{className:"tasks-list-ro-task-left"},(0,s.h)("p",{className:"tasks-list-ro-task-title"},e.title)),(0,s.h)("div",{className:"tasks-list-ro-task-right"},e.deadlineDate?(0,s.h)("span",{className:"tasks-list-ro-task-reminder"},new Date(e.deadlineDate).toLocaleDateString("en")):null,e.assignees&&e.assignees.length?(0,s.h)("div",{className:"tasks-list-ro-task-assignees-wrapper"},e.assignees.map((function(e){var t,n=e.displayName;n&&void 0!==n||(n="Unknown");var r=(VQ(t={},Gr.qZ,n),VQ(t,Gr.Bg,"tasks-list-ro-user-tooltip"),t);if(e.avatarUrl&&void 0!==e.avatarUrl)return(0,s.h)("div",HQ({className:"tasks-list-ro-task-assignee-user"},r),(0,s.h)("img",{src:e.avatarUrl}));var o=n.substr(0,2),i=n.split(" ");return i.length>1&&(o=i[0].at(0)+i[1].at(0)),(0,s.h)("div",HQ({className:"tasks-list-ro-task-assignee-user"},r),o)}))):null)),e.labels&&e.labels.length?(0,s.h)("div",{className:"tasks-list-ro-task-labels-wrapper"},e.labels.map((function(e){return(0,s.h)("span",{className:"tasks-list-ro-task-label bg-palette-"+e.color},e.title)}))):null))}))))}function qQ(e){return(qQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WQ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function YQ(e,t){return(YQ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ZQ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=QQ(e);if(t){var o=QQ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return KQ(this,n)}}function KQ(e,t){if(t&&("object"===qQ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $Q(e)}function $Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QQ(e){return(QQ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function XQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JQ=function(e){!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}}),t&&YQ(e,t)}(i,e);var t,n,r,o=ZQ(i);function i(){var e;GQ(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XQ($Q(e=o.call.apply(o,[this].concat(n))),"onRef",(function(t){e.props.onRef&&e.props.onRef(t,{inputs:e.props.inputs,outputs:e.props.outputs,defaultView:e.props.defaultView})})),e}return t=i,(n=[{key:"shouldComponentUpdate",value:function(e){return!1}},{key:"render",value:function(){return(0,s.h)("div",{ref:this.onRef})}}])&&WQ(t.prototype,n),r&&WQ(t,r),i}(s.wA);function eX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return tX(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tX(e,t)}(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 tX(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nX(e){return(nX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rX(Object(n),!0).forEach((function(t){hX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iX(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function aX(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){iX(i,r,o,a,s,"next",e)}function s(e){iX(i,r,o,a,s,"throw",e)}a(void 0)}))}}function sX(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lX(e,t,n){return(lX="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=fX(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function cX(e,t){return(cX=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uX(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fX(e);if(t){var o=fX(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dX(this,n)}}function dX(e,t){if(t&&("object"===nX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return pX(e)}function pX(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fX(e){return(fX=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mX=se([Ec,nh,Mu,gu,Vu,bd,Eu,tu]),gX=function(e){!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}}),t&&cX(e,t)}(f,e);var t,n,r,o,i,l,c,u,d,p=uX(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),hX(pX(t=p.call(this,e)),"mapObserver",(function(e,n){var r=n.local;e.keysChanged.has("tasksListId")&&(r||Boolean(t.tasksListId)&&void 0!==t.tasksListId&&t.setPropsForTasksList()),e.keysChanged.has("showTitle")&&t.setTitleState()})),hX(pX(t),"onOuterRendererRef",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.blotConfig.onTaskListRender&&t.blotConfig.onTaskListRender(e,t.tasksListId,"task-list",n)})),hX(pX(t),"onShowHideTitle",(function(){t.map.set("showTitle",!t.showTitle)})),hX(pX(t),"onDefaultViewChange",(function(e){var n=e.view;t.map.set("defaultView",n)})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["delete","backspace"]),t.disallowReplace=!0,t.dontRemoveWithBackspace=!0,t}return t=f,n=[{key:"contentContainer",get:function(){return this.domNode.querySelector(".task-list-container")}},{key:"tasksListId",get:function(){return this.map.get("tasksListId")}},{key:"attach",value:(d=aX(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=l.length,r=new Array(n),o=0;o<n;o++)r[o]=l[o];if((t=lX(fX(f.prototype),"attach",this)).call.apply(t,[this].concat(r)),this.store.observe(this.map,this.mapObserver),i=this.editor.plugins,a=i.undoManager,s=i.tasksManager,!a.isUndoing()&&!a.isRedoing()||!this.tasksListId){e.next=8;break}return this.editor.emitter.emit("tasksList:restore",{tasksListId:this.tasksListId}),e.next=8,s.restoreTaskList(this.tasksListId);case 8:this.map.get("origin")?(f.isProcessedByAnotherUser(this.map,this.store)||f.setUserMutex(this.map,this.store),this.tryDuplicateTasksList()):Boolean(this.tasksListId)&&void 0!==this.tasksListId?this.setPropsForTasksList():(f.isProcessedByAnotherUser(this.map,this.store)||f.setUserMutex(this.map,this.store),this.createTasksList()),this.setTitleState(),this.render();case 11:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"detach",value:function(){var e=this.scroll.editor.plugins,t=e.undoManager,n=e.tasksManager;if(t.isUndoing()){var r=this.scroll.editor,o=r.store,i=o.cache.get("task-list-from-column"),a=this.domNode.getAttribute("tasks-list-id"),s=(null==i?void 0:i.get(a))||{},l=s.boardId,c=s.beforeColumnId;l?(n.convertToColumn(l,a,c),i.delete(a)):n.taskListRemove(a)}if(lX(fX(f.prototype),"detach",this)){for(var u,d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];(u=lX(fX(f.prototype),"detach",this)).call.apply(u,[this].concat(p))}this.store.unobserve(this.map,this.mapObserver)}},{key:"setTitleState",value:function(){this.blotConfig.onTaskListRender&&(this.showTitle?this.domNode.classList.contains("hidden-title")&&this.domNode.classList.remove("hidden-title"):this.domNode.classList.contains("hidden-title")||this.domNode.classList.add("hidden-title"))}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top;return this.blotConfig.onTaskListRender&&(n+=8),{left:t,top:n}}},{key:"onGetCommentPosition",value:function(e){var t=e.left,n=e.top;return this.blotConfig.onTaskListRender&&(n+=5),{left:t,top:n}}},{key:"onTasksListCreate",value:function(e){this.editor.emitter.emit("tasksList:create",{tasksListId:e})}},{key:"tryDuplicateTasksList",value:(u=aX(regeneratorRuntime.mark((function e(){var t,n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f.isProcessedByAnotherUser(this.map,this.store)){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,t=this.map.get("origin"),n=t.id,r=t.room,e.next=6,this.editor.plugins.tasksManager.duplicateTasksList(n,r);case 6:(o=e.sent)&&(this.map.set("tasksListId",o),this.onTasksListCreate(o));case 8:return e.prev=8,this.map.delete("origin"),f.removeUserMutex(this.map),this.setPropsForTasksList(),e.finish(8);case 13:case"end":return e.stop()}}),e,this,[[2,,8,13]])}))),function(){return u.apply(this,arguments)})},{key:"createTasksList",value:(c=aX(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f.isProcessedByAnotherUser(this.map,this.store)){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,this.editor.plugins.tasksManager.createTasksList();case 5:(t=e.sent)&&(this.map.set("tasksListId",t),this.onTasksListCreate(t));case 7:return e.prev=7,f.removeUserMutex(this.map),n=oX(oX({},this.editor.plugins.tasksManager.featWorkspaceTasksInputs()),{},{nimStartCreateTaskOnInit:!0}),this.setPropsForTasksList(n),e.finish(7);case 12:case"end":return e.stop()}}),e,this,[[2,,7,12]])}))),function(){return c.apply(this,arguments)})},{key:"trySetReadOnlyProps",value:(l=aX(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.editor.plugins.tasksManager.getReadOnlyTasksList(this.tasksListId);case 2:if(!(t=e.sent)){e.next=6;break}return this.setProps({tasksListReadOnlyProps:t}),e.abrupt("return",!0);case 6:return e.abrupt("return",!1);case 7:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"waitCustomElements",value:(i=aX(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){var n=setInterval((function(){UQ.isRegisteredTasksComponent(t.editor)&&(clearInterval(n),t.editor.plugins.tasksManager.options.onCustomElementsLoaded&&t.editor.plugins.tasksManager.options.onCustomElementsLoaded(),e())}),1e3)})));case 1:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"setPropsForTasksList",value:(o=aX(regeneratorRuntime.mark((function e(){var t,n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&void 0!==r[0]?r[0]:null,!this.isSettingPropsInProcess){e.next=3;break}return e.abrupt("return");case 3:if(this.isSettingPropsInProcess=!0,!this.editor.plugins.tasksManager.options.waitCustomElements){e.next=9;break}if(this.editor.plugins.tasksManager.options.waitCustomElements(),UQ.isRegisteredTasksComponent(this.editor)){e.next=9;break}return e.next=9,this.waitCustomElements();case 9:if(e.prev=9,this.props.tasksListError=!1,Boolean(this.tasksListId)&&void 0!==this.tasksListId){e.next=13;break}throw new Error("TasksListId for blot ".concat(this.id," is undefined"));case 13:if(UQ.isRegisteredTasksComponent(this.editor)){e.next=21;break}return e.next=16,this.trySetReadOnlyProps();case 16:if(e.sent){e.next=19;break}throw new Error("Blot ".concat(this.id,": unable to get data to display TasksList on readonly mode"));case 19:e.next=27;break;case 21:if(Boolean(t)&&"object"===nX(t)&&!Array.isArray(t)){e.next=25;break}if(t=this.editor.plugins.tasksManager.featWorkspaceTasksInputs(),Boolean(t)){e.next=25;break}throw new Error("Props for tasks list is undefined or false or null: ",t);case 25:n=oX(oX({},t),{},{nimTaskListId:this.tasksListId}),this.setProps({tasksListProps:n});case 27:e.next=33;break;case 29:e.prev=29,e.t0=e.catch(9),console.error(e.t0),this.setProps({tasksListError:!0});case 33:return e.prev=33,this.tasksListId&&this.domNode.setAttribute("tasks-list-id",this.tasksListId),this.isSettingPropsInProcess=!1,e.finish(33);case 37:case"end":return e.stop()}}),e,this,[[9,29,33,37]])}))),function(){return o.apply(this,arguments)})},{key:"getDraggingNode",value:function(){var e=this.domNode.getBoundingClientRect(),t=e.width,n=e.height,r=document.createElement("div");return r.classList.add("dragging-placeholder"),r.style.width=t+"px",r.style.height=n+"px",r}},{key:"render",value:function(){var e,t=this;null===(e=lX(fX(f.prototype),"render",this))||void 0===e||e.call(this);var n={},r=ey();if(this.props.tasksListProps){if(n.inputs=this.props.tasksListProps,!n.inputs.hasOwnProperty("nimScrollContainerId")){var o=this.editor.getScrollingContainer();o.id&&""!==o.id&&(n.inputs.nimScrollContainerId=o.id)}n.outputs=this.editor.plugins.tasksManager.featWorkspaceTasksOutputs(),void 0!==this.blotConfig.onTaskListRender?(n.onRef=this.onOuterRendererRef,n.defaultView=this.map.get("defaultView")||"task-list",r=JQ):r=UQ}else this.props.tasksListReadOnlyProps?(n=oX({},this.props.tasksListReadOnlyProps),r=zQ):this.props.tasksListError&&(r=function(){return(0,s.h)("span",{className:"tasks-list-not-supported"},t.editor.plugins.i18n.get("tasks_list.not_supported"))});(0,s.sY)((0,s.h)(r,n),this.contentContainer)}},{key:"toHTML",value:function(){return this.domNode.outerHTML}},{key:"getBlotInsertParams",value:function(e,t){var n=lX(fX(f.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:{origin:this.tasksListId,room:this.editor.options.serverRoom}})}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t={origin:this.tasksListId};return a().query(this.map.get("type")).initMap(e,this.store,t),e.get("id")}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=lX(fX(f.prototype),"remove",this)).call.apply(e,[this].concat(n))}},{key:"deleteBlot",value:function(){this.editor.plugins.tasksManager.taskListRemove(this.tasksListId),lX(fX(f.prototype),"deleteSingeBlot",this).call(this)}},{key:"showTitle",get:function(){return void 0===this.map.get("showTitle")||this.map.get("showTitle")}},{key:"contextMenu",get:function(){var e=lX(fX(f.prototype),"contextMenu",this);return e.delete.action="deleteBlot",e}},{key:"exec",value:function(e){var t=!1;if("backspace"===e.type){var n=eX(this.scroll.selection.getRange(),1)[0];this.scroll.selection.setRange({index:n.index-1,length:0}),e.dontRestoreSelection(),t=!0}return t}}],r=[{key:"create",value:function(e){var t=lX(fX(f),"create",this).call(this,e);t.classList.add("tasks-list");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("task-list-container"),t.appendChild(n),t}},{key:"createBlot",value:function(e){var t=a().create("tasks-list");return this.addCaretTrap(e,t.domNode),t}},{key:"setUserMutex",value:function(e,t){e.set("createByUserId",t.userId)}},{key:"removeUserMutex",value:function(e){e.delete("createByUserId")}},{key:"isProcessedByAnotherUser",value:function(e,t){return e.get("createByUserId")&&e.get("createByUserId")!==t.userId}}],n&&sX(t.prototype,n),r&&sX(t,r),f}(mX(O));function yX(e){return(yX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vX(){return(vX=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wX(e,t){return(wX=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function CX(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xX(e);if(t){var o=xX(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return SX(this,n)}}function SX(e,t){if(t&&("object"===yX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return EX(e)}function EX(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xX(e){return(xX=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}gX.blotName="tasks-list",gX.tagName="DIV",gX.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.set("type","tasks-list"),n.origin){var r={id:n.origin};n.room&&(r.room=n.room),e.set("origin",r)}n.tasksListId&&(e.set("tasksListId",n.tasksListId),n.fromColumn&&(t.cache.get("task-list-from-column")||t.cache.set("task-list-from-column",new t.Y.Map),t.cache.get("task-list-from-column",t.Y.Map).set(n.tasksListId,{boardId:n.boardId,beforeColumnId:n.beforeColumnId})))};var OX=function(e){!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}}),t&&wX(e,t)}(i,e);var t,n,r,o=CX(i);function i(){var e;bX(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return kX(EX(e=o.call.apply(o,[this].concat(n))),"onRef",(function(t){if(t&&e.props.outputs)for(var n=e.props.outputs,r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];t.addEventListener(i,n[i])}})),e}return t=i,r=[{key:"isRegisteredBoardComponent",value:function(){return document.createElement("nim-tasks-board").constructor!==HTMLElement}}],(n=[{key:"shouldComponentUpdate",value:function(e){return!AQ()(this.props,e)}},{key:"render",value:function(){var e=this.props.inputs;return(0,s.h)("nim-tasks-board",vX({},e,{ref:this.onRef}))}}])&&_X(t.prototype,n),r&&_X(t,r),i}(s.wA);function TX(e){return(TX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PX(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RX(e,t){return(RX=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function IX(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=DX(e);if(t){var o=DX(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return MX(this,n)}}function MX(e,t){if(t&&("object"===TX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return NX(e)}function NX(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e){return(DX=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LX=function(e){!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}}),t&&RX(e,t)}(i,e);var t,n,r,o=IX(i);function i(){var e;AX(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jX(NX(e=o.call.apply(o,[this].concat(n))),"onRef",(function(t){e.props.onRef&&e.props.onRef(t,{inputs:e.props.inputs,outputs:e.props.outputs,defaultView:e.props.defaultView})})),e}return t=i,(n=[{key:"shouldComponentUpdate",value:function(e){return!1}},{key:"render",value:function(){return(0,s.h)("div",{ref:this.onRef})}}])&&PX(t.prototype,n),r&&PX(t,r),i}(s.wA);function BX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return FX(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return FX(e,t)}(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 FX(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UX(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function HX(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){UX(i,r,o,a,s,"next",e)}function s(e){UX(i,r,o,a,s,"throw",e)}a(void 0)}))}}function VX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VX(Object(n),!0).forEach((function(t){XX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qX(e){return(qX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GX(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WX(e,t,n){return(WX="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=QX(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function YX(e,t){return(YX=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ZX(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=QX(e);if(t){var o=QX(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return KX(this,n)}}function KX(e,t){if(t&&("object"===qX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $X(e)}function $X(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e){return(QX=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function XX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JX=se([Ec,nh,Mu,gu,Vu,bd,Eu,tu]),eJ="board-from-task-list",tJ={"add-new-column":!0},nJ=function(e){!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}}),t&&YX(e,t)}(p,e);var t,n,r,o,i,l,c,u,d=ZX(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),XX($X(t=d.call(this,e)),"onEditorUpdate",(function(){if("gridCol"!==t.parent.constructor.blotName){var e=t.domNode.querySelector(".task-board-column-list");if(e){var n=t.editor.scrollingContainer.getBoundingClientRect().width-110,r=e.scrollWidth,o=t.domNode.getBoundingClientRect().width,i=t.scroll.domNode.getBoundingClientRect().width;if(n<i||r<=i)t.domNode.hasAttribute("style")&&t.domNode.removeAttribute("style"),t.domNode.classList.contains(Im)&&t.domNode.classList.remove(Im);else if(o<n&&o<r||o>r&&r>i||o>n){var a=Math.min(n,r);t.domNode.style.width=a+1+"px",t.domNode.style.marginLeft=-(a-i)/2+"px",t.domNode.classList.add(Im)}}}else t.domNode.hasAttribute("style")&&t.domNode.removeAttribute("style")})),XX($X(t),"onBlotMenuUpdatePosition",(function(e){var n=e.left,r=e.top;return{left:n+parseInt(t.domNode.style.marginLeft||0),top:t.blotConfig.onKanbanRender?r+8:r}})),XX($X(t),"mapObserver",(function(e,n){var r=n.local;e.keysChanged.has("boardId")&&(r||Boolean(t.boardId)&&void 0!==t.boardId&&t.setPropsForBoard()),e.keysChanged.has("layout")&&(void 0!==t.blotConfig.onKanbanRender&&void 0!==t.blotConfig.onComponentPropsChanged?t.onOuterRendererPropsChange():t.render())})),XX($X(t),"onBoardRename",(function(){var e,n;null===(e=t.editor.plugins.boardManager)||void 0===e||null===(n=e.renameBoard)||void 0===n||n.call(e,t.boardId)})),XX($X(t),"onAddNewColumn",(function(){var e,n;null===(e=t.editor.plugins.boardManager)||void 0===e||null===(n=e.addNewColumn)||void 0===n||n.call(e,t.boardId)})),XX($X(t),"onChangeLayout",(function(e){var n=t.map.get("layout");"object"===qX(n)?n.hasOwnProperty(e)?t.map.set("layout",Object.assign({},n,XX({},e,!n[e]))):t.map.set("layout",Object.assign({},n,XX({},e,!tJ[e]))):t.map.set("layout",Object.assign({},DEFAULT_VALUE,XX({},e,!tJ[e])))})),XX($X(t),"onOuterRendererRef",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.blotConfig.onKanbanRender&&t.blotConfig.onKanbanRender(e,t.boardId,"kanban",n)})),XX($X(t),"onOuterRendererPropsChange",(function(){var e,n={};n.inputs=zX(zX({},t.props.boardProps),{},{nimShowAddColumnButton:qX(t.map.get("layout"))?null===(e=t.map.get("layout"))||void 0===e?void 0:e["add-new-column"]:tJ["add-new-column"]}),n.inputs.hasOwnProperty("nimLanguage")||(n.inputs.nimLanguage=t.editor.options.language||t.editor.plugins.i18n.language),n.outputs=t.editor.plugins.boardManager.featBoardOutputs(),t.blotConfig.onComponentPropsChanged(t.boardId,n)})),XX($X(t),"onDefaultViewChange",(function(e){var n=e.view;t.map.set("defaultView",n)})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["delete","backspace"]),t.disallowReplace=!0,t.domNode.classList.add(Mm),t.dontRemoveWithBackspace=!0,t}return t=p,n=[{key:"contentContainer",get:function(){return this.domNode.querySelector(".nimbus-board-container")}},{key:"boardId",get:function(){return this.map.get("boardId")}},{key:"attach",value:(u=HX(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=l.length,r=new Array(n),o=0;o<n;o++)r[o]=l[o];if((t=WX(QX(p.prototype),"attach",this)).call.apply(t,[this].concat(r)),this.store.observe(this.map,this.mapObserver),i=this.editor.plugins,a=i.undoManager,s=i.boardManager,!a.isUndoing()&&!a.isRedoing()||!this.boardId){e.next=8;break}return this.editor.emitter.emit("board:restore",{boardId:this.boardId}),e.next=8,s.restoreBoard(this.boardId);case 8:this.map.get("origin")?(p.isProcessedByAnotherUser(this.map,this.store)||p.setUserMutex(this.map,this.store),this.tryDuplicateBoard()):Boolean(this.boardId)&&void 0!==this.boardId?this.setPropsForBoard():(p.isProcessedByAnotherUser(this.map,this.store)||p.setUserMutex(this.map,this.store),this.createBoard()),this.render(),this.editor.on("editorUpdate",this.onEditorUpdate);case 11:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"detach",value:function(){var e=this.scroll.editor.plugins,t=e.undoManager,n=e.boardManager;if(t.isUndoing()){var r=this.scroll.editor,o=r.store,i=o.cache.get(eJ),a=this.domNode.getAttribute("board-id"),s=null==i?void 0:i.get(a);s?(n.convertBoardToTaskList(a,s),i.delete(a)):n.boardRemove(a)}if(WX(QX(p.prototype),"detach",this)){for(var l,c=arguments.length,u=new Array(c),d=0;d<c;d++)u[d]=arguments[d];(l=WX(QX(p.prototype),"detach",this)).call.apply(l,[this].concat(u))}this.editor.off("editorUpdate",this.onEditorUpdate),this.store.unobserve(this.map,this.mapObserver)}},{key:"onGetCommentPosition",value:function(e){var t=e.left,n=e.top;return this.blotConfig.onKanbanRender&&(n+=5),{left:t,top:n}}},{key:"onBoardCreate",value:function(e){this.editor.emitter.emit("board:create",{boardId:e})}},{key:"tryDuplicateBoard",value:(c=HX(regeneratorRuntime.mark((function e(){var t,n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!p.isProcessedByAnotherUser(this.map,this.store)){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,t=this.map.get("origin"),n=t.id,r=t.room,e.next=6,this.editor.plugins.boardManager.duplicateBoard(n,r);case 6:(o=e.sent)&&(this.map.set("boardId",o),this.onBoardCreate(o));case 8:return e.prev=8,this.map.delete("origin"),p.removeUserMutex(this.map),this.setPropsForBoard(),e.finish(8);case 13:case"end":return e.stop()}}),e,this,[[2,,8,13]])}))),function(){return c.apply(this,arguments)})},{key:"createBoard",value:(l=HX(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!p.isProcessedByAnotherUser(this.map,this.store)){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,this.editor.plugins.boardManager.createBoard();case 5:(t=e.sent)&&(this.map.set("boardId",t),this.onBoardCreate(t));case 7:return e.prev=7,p.removeUserMutex(this.map),n=zX({},this.editor.plugins.boardManager.featBoardInputs()),this.setPropsForBoard(n),e.finish(7);case 12:case"end":return e.stop()}}),e,this,[[2,,7,12]])}))),function(){return l.apply(this,arguments)})},{key:"waitCustomElements",value:(i=HX(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){var n=setInterval((function(){OX.isRegisteredBoardComponent(t.editor)&&(clearInterval(n),t.editor.plugins.boardManager.options.onCustomElementsLoaded&&t.editor.plugins.boardManager.options.onCustomElementsLoaded(),e())}),1e3)})));case 1:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"setPropsForBoard",value:(o=HX(regeneratorRuntime.mark((function e(){var t,n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&void 0!==r[0]?r[0]:null,!this.isSettingPropsInProcess){e.next=3;break}return e.abrupt("return");case 3:if(this.isSettingPropsInProcess=!0,!this.editor.plugins.boardManager.options.waitCustomElements){e.next=9;break}if(this.editor.plugins.boardManager.options.waitCustomElements(),OX.isRegisteredBoardComponent(this.editor)){e.next=9;break}return e.next=9,this.waitCustomElements();case 9:if(e.prev=9,this.props.boardError=!1,Boolean(this.boardId)&&void 0!==this.boardId){e.next=13;break}throw new Error("BoardId for blot ".concat(this.id," is undefined"));case 13:if(OX.isRegisteredBoardComponent()){e.next=17;break}throw new Error("Blot ".concat(this.id,": unable to get data to display Board"));case 17:if(Boolean(t)&&"object"===qX(t)&&!Array.isArray(t)){e.next=21;break}if(t=this.editor.plugins.boardManager.featBoardInputs(),Boolean(t)){e.next=21;break}throw new Error("Props for board is undefined or false or null: ",t);case 21:n=zX(zX({},t),{},{nimBoardId:this.boardId}),this.setProps({boardProps:n});case 23:e.next=29;break;case 25:e.prev=25,e.t0=e.catch(9),console.error(e.t0),this.setProps({boardError:!0});case 29:return e.prev=29,this.boardId&&this.domNode.setAttribute("board-id",this.boardId),this.isSettingPropsInProcess=!1,e.finish(29);case 33:case"end":return e.stop()}}),e,this,[[9,25,29,33]])}))),function(){return o.apply(this,arguments)})},{key:"getDraggingNode",value:function(){var e=this.domNode.getBoundingClientRect(),t=e.width,n=e.height,r=document.createElement("div");return r.classList.add("dragging-placeholder"),r.style.width=t+"px",r.style.height=n+"px",r}},{key:"render",value:function(){var e,t=this;null===(e=WX(QX(p.prototype),"render",this))||void 0===e||e.call(this);var n={},r=ey();if(this.props.boardProps){var o;if(n.inputs=zX(zX({},this.props.boardProps),{},{nimShowAddColumnButton:qX(this.map.get("layout"))?null===(o=this.map.get("layout"))||void 0===o?void 0:o["add-new-column"]:tJ["add-new-column"]}),n.inputs.hasOwnProperty("nimLanguage")||(n.inputs.nimLanguage=this.editor.options.language||this.editor.plugins.i18n.language),!n.inputs.hasOwnProperty("nimScrollContainerId")){var i=this.editor.getScrollingContainer();i.id&&""!==i.id&&(n.inputs.nimScrollContainerId=i.id)}n.outputs=this.editor.plugins.boardManager.featBoardOutputs(),void 0!==this.blotConfig.onKanbanRender?(n.onRef=this.onOuterRendererRef,n.defaultView=this.map.get("defaultView")||"task-list",r=LX):r=OX}else this.props.boardError&&(r=function(){return(0,s.h)("span",{className:"board-not-supported"},t.editor.plugins.i18n.get("board.not_supported"))});(0,s.sY)((0,s.h)(r,n),this.contentContainer)}},{key:"toHTML",value:function(){return this.domNode.outerHTML}},{key:"getBlotInsertParams",value:function(e,t){var n=WX(QX(p.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:{origin:this.boardId,room:this.editor.options.serverRoom}})}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t={origin:this.boardId};return a().query(this.map.get("type")).initMap(e,this.store,t),e.get("id")}},{key:"deleteBlot",value:function(){this.editor.plugins.boardManager.boardRemove(this.boardId),WX(QX(p.prototype),"deleteSingeBlot",this).call(this)}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=WX(QX(p.prototype),"remove",this)).call.apply(e,[this].concat(n))}},{key:"contextMenu",get:function(){var e,t=Object.assign({},WX(QX(p.prototype),"contextMenu",this));t["add-new-column"]={label:this.editor.plugins.i18n.get("board.menu.add_new_column"),index:1,group:0,action:"onAddNewColumn",stackable:!1};var n=qX(this.map.get("layout"))?null===(e=this.map.get("layout"))||void 0===e?void 0:e["add-new-column"]:tJ["add-new-column"];return t.layout={label:this.editor.plugins.i18n.get("board.menu.board_layout.name"),index:1,group:0,stackable:!1,action:!1,submenu:XX({},"show-add-new-column",{label:this.editor.plugins.i18n.get("board.menu.board_layout.show_add_new_column"),index:0,group:0,action:"onChangeLayout",actionParams:"add-new-column",icon:!!n&&ct.EZi,style:n?"done":"undone"})},t.delete.action="deleteBlot",t}},{key:"exec",value:function(e){var t=!1;if("backspace"===e.type){var n=BX(this.scroll.selection.getRange(),1)[0];this.scroll.selection.setRange({index:n.index-1,length:0}),e.dontRestoreSelection(),t=!0}return t}}],r=[{key:"create",value:function(e){var t=WX(QX(p),"create",this).call(this,e);t.classList.add("nimbus-board");var n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add("nimbus-board-container"),t.appendChild(n),t}},{key:"createBlot",value:function(e){var t=a().create("board");return this.addCaretTrap(e,t.domNode),t}},{key:"setUserMutex",value:function(e,t){e.set("createByUserId",t.userId)}},{key:"removeUserMutex",value:function(e){e.delete("createByUserId")}},{key:"isProcessedByAnotherUser",value:function(e,t){return e.get("createByUserId")&&e.get("createByUserId")!==t.userId}}],n&&GX(t.prototype,n),r&&GX(t,r),p}(JX(O));function rJ(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function oJ(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){rJ(i,r,o,a,s,"next",e)}function s(e){rJ(i,r,o,a,s,"throw",e)}a(void 0)}))}}function iJ(e){return function(e){if(Array.isArray(e))return lJ(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sJ(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 aJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||sJ(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 sJ(e,t){if(e){if("string"==typeof e)return lJ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lJ(e,t):void 0}}function lJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}nJ.blotName="board",nJ.tagName="DIV",nJ.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.set("type","board"),n.origin){var r={id:n.origin};n.room&&(r.room=n.room),e.set("origin",r)}n.boardId&&(e.set("boardId",n.boardId),n.fromTasksList&&(t.cache.get(eJ)||t.cache.set(eJ,new t.Y.Map),t.cache.get(eJ,t.Y.Map).set(n.boardId,n.tasksListId)));var o=n.layout||{};e.set("layout",Object.assign(tJ,o))};var cJ={image:ct.Zay,video:ct.OiJ,audio:ct.PWQ,doc:ct.szK,file:ct.mrQ};function uJ(e){var t=e.editable,n=e.i18n,r=e.id,o=aJ((0,T.eJ)([]),2),i=o[0],a=o[1],l=aJ((0,T.eJ)([]),2),c=l[0],u=l[1],d=aJ((0,T.eJ)([]),2),p=d[0],f=d[1],h=aJ((0,T.eJ)([]),2),m=h[0],g=h[1],y=aJ((0,T.eJ)(0),2),v=y[0],b=y[1],_=aJ((0,T.eJ)(null),2),w=_[0],C=_[1],S=(0,T.sO)({filesToUpload:i,uploadedFiles:c,errorFiles:p,tooBigFiles:m}),E=e.editor.plugins.attachmentManager,x=function(e){b(Math.min(Math.round(e.loaded/e.total*100),100))},k=function(e){return e.type&&"string"==typeof e.type?e.type.indexOf("audio")>=0?"audio":e.type.indexOf("video")>=0?"video":e.type.indexOf("image")>=0?"image":e.type.indexOf("text")>=0||e.type.indexOf("pdf")>=0||e.type.indexOf("doc")>=0?"doc":void 0:null},O=function(e){return e&&"string"==typeof e&&cJ.hasOwnProperty(e)?cJ[e]:cJ.file};(0,T.d4)((function(){if(S.current={filesToUpload:i,uploadedFiles:c,errorFiles:p,tooBigFiles:m},i.length&&!w){var t=function(e){return e=E.beforeSaveFile(e),E.saveFile(e,{blotName:"uploader",blotId:r})}(i[0]);C(function(t,n){return t.onProgress=x,n.then((function(t){t&&(console.log("processTask: file was uploaded successfully, received attachment info",t),e.onFileUploaded&&e.onFileUploaded(t.globalId,k(S.current.filesToUpload[0])))})).then((function(){b(0),C(null),S.current.filesToUpload.length>1?u([].concat(iJ(S.current.uploadedFiles),[S.current.filesToUpload.shift()])):(S.current.filesToUpload.shift(),u([]))})).catch((function(e){b(0),C(null),S.current.filesToUpload.length&&!t.aborted?f([S.current.filesToUpload.shift()].concat(iJ(S.current.errorFiles))):f(iJ(S.current.errorFiles))})),t}(t,t.run()))}}),[i,c,p,m]);var A=function(e,t){if("error"===t){var n=Array.from(p);n.splice(e,1),f(n)}else if("tooBig"===t){var r=Array.from(m);r.splice(e,1),g(r)}else{var o=Array.from(i);o.splice(e,1),0===e&&w?(i.shift(),w.abort()):a(o)}},P=function(){var e=oJ(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.filter((function(e){return!!E.checkFileSize(e.size)||(m.unshift(e),!1)})),e.next=3,E.validateFiles(t);case 3:e.sent&&a([].concat(iJ(i),iJ(n)));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=oJ(regeneratorRuntime.mark((function e(n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return r={multiple:!0,source:"user",blotName:"uploader"},e.next=5,E.chooseFile(r);case 5:(o=e.sent)&&P(o);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=i.length||p.length||m.length;return(0,s.h)("div",{className:"uploader-interface"+(I?" has-queue":"")},i.length?(0,s.h)("div",{className:"uploader-progress"},(0,s.h)("div",{className:"uploader-progress-bar"},(0,s.h)("div",{className:"uploader-progress-bar-fill",style:{width:v+"%"}})),(0,s.h)("div",{className:"uploader-progress-counter"},n.get("uploader.uploading_files")," (",n.get("uploader.counter",{current:c.length+1,total:c.length+i.length+p.length+m.length}),")"),(0,s.h)("div",{className:"uploader-progress-timer"},"(",n.get("uploader.timer"),")")):null,I?(0,s.h)("div",{className:"uploader-queue"},i.length?i.map((function(e,t){var r=O(k(e));return(0,s.h)("div",{className:"uploader-queue-item"},(0,s.h)("div",{className:"uploader-queue-item-left"},(0,s.h)("span",{className:"file-type-icon"},(0,s.h)(r,null)),(0,s.h)("span",{className:"file-name"},e.name)),(0,s.h)("div",{className:"uploader-queue-item-right"},(0,s.h)("span",{className:"file-uploading-progress"},n.get("uploader.uploading_progress",{progress:0===t?v:0})),(0,s.h)("span",{className:"file-uploading-cancel",onClick:A.bind(void 0,t)},(0,s.h)(ct.bMz,null))))})):null,p.length?p.map((function(e,t){var r=O(e.type);return(0,s.h)("div",{className:"uploader-queue-item"},(0,s.h)("div",{className:"uploader-queue-item-left"},(0,s.h)("span",{className:"file-type-icon"},(0,s.h)(r,null)),(0,s.h)("span",{className:"file-name"},e.name)),(0,s.h)("div",{className:"uploader-queue-item-right"},(0,s.h)("span",{className:"file-uploading-progress error-uploading"},n.get("uploader.errors.network")),(0,s.h)("span",{className:"file-uploading-cancel",onClick:A.bind(void 0,t,"error")},(0,s.h)(ct.bMz,null))))})):null,m.length?m.map((function(e,t){var r=O(e.type);return(0,s.h)("div",{className:"uploader-queue-item"},(0,s.h)("div",{className:"uploader-queue-item-left"},(0,s.h)("span",{className:"file-type-icon"},(0,s.h)(r,null)),(0,s.h)("span",{className:"file-name"},e.name)),(0,s.h)("div",{className:"uploader-queue-item-right"},(0,s.h)("span",{className:"file-uploading-progress too-big-file"},n.get("uploader.errors.too_big")),(0,s.h)("span",{className:"file-uploading-cancel",onClick:A.bind(void 0,t,"tooBig")},(0,s.h)(ct.bMz,null))))})):null):null,(0,s.h)("div",{className:"uploader-dropzone",onDrop:function(e){if(t&&(e.target.closest(".uploader-dropzone").classList.remove("active"),e.dataTransfer.files.length)){e.preventDefault();var n=Array.from(e.dataTransfer.files).map((function(e){return E.nFileFromWebFile(e)}));n.length&&P(n)}},onDragOver:function(e){t&&e.preventDefault()},onDragEnter:function(e){t&&e.target.closest(".uploader-dropzone").classList.add("active")},onDragLeave:function(e){t&&e.target.closest(".uploader-dropzone").classList.remove("active")}},(0,s.h)("div",{className:"uploader-dropzone-icon"},I?(0,s.h)(ct.SC9,null):(0,s.h)(ct.DjJ,null)),(0,s.h)("div",{className:"uploader-dropzone-description"},I?(0,s.h)("span",{className:"uploader-dropzone-link",onClick:R},n.get("uploader.dropzone_compact")):(0,s.h)("span",null,n.get("uploader.dropzone_full")," ",(0,s.h)("span",{className:"uploader-dropzone-link",onClick:R},n.get("uploader.browse"))))))}function dJ(e){return(dJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fJ(e,t,n){return(fJ="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=vJ(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function hJ(e,t){return(hJ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mJ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vJ(e);if(t){var o=vJ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gJ(this,n)}}function gJ(e,t){if(t&&("object"===dJ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yJ(e)}function yJ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e){return(vJ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _J=function(e){!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}}),t&&hJ(e,t)}(i,e);var t,n,r,o=mJ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),bJ(yJ(t=o.call(this,e)),"mapObserver",(function(){t.render()})),bJ(yJ(t),"onFileUploaded",(function(e,n){t.scroll.execInBatch((function(){t.containerBlot.addBlot("file",{attachmentGlobalId:e,viewMode:"image"===n?"full":"compact",disallowNoteDownloading:t.disallowNote,disallowShareDownloading:t.disallowShare})}))})),bJ(yJ(t),"onClickMenuConvertToFiles",(function(){var e=t.getAllFileBlots();e&&e.length&&t.scroll.execInBatch((function(){var n=t.container.getChildIndex(t.id)+1;e.forEach((function(e){t.container.moveChild(e.id,n),n++})),t.container.removeChildById(t.id)}))})),bJ(yJ(t),"onClickMenuDisallowNote",(function(){t.map.set("disallowNoteDownloading",!Boolean(t.disallowNote));var e=t.getAllFileBlots();e&&e.length&&e.forEach((function(e){e.map.set("disallowNoteDownloading",t.disallowNote)}))})),bJ(yJ(t),"onClickMenuDisallowShare",(function(){t.map.set("disallowShareDownloading",!Boolean(t.disallowShare));var e=t.getAllFileBlots();e&&e.length&&e.forEach((function(e){e.map.set("disallowShareDownloading",t.disallowShare)}))})),bJ(yJ(t),"onClickEnableInPublicPage",(function(){t.map.set("enabledInPublicPage",!Boolean(t.enabledInPublicPage))})),t}return t=i,r=[{key:"addUploadedFile",value:function(e,t,n,r){var o,i,a=e.store;return a.transaction((function(){i=a.createMapForBlot(jF,{attachmentGlobalId:r,viewMode:"image"===n?"full":"compact",disallowNoteDownloading:t.get("disallowNoteDownloading"),disallowShareDownloading:t.get("disallowShareDownloading")}),t.get("children").push([i.get("id")])})),{id:null===(o=i)||void 0===o?void 0:o.get("id"),globalId:r}}},{key:"createBlot",value:function(e){var t=a().create("uploaderWrapper");return this.addCaretTrap(e,t.domNode),t}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.set("type",i.blotName),!e.has("children")){var r=new t.types.Array;Array.isArray(n.children)&&r.push(n.children),e.set("children",r)}n.header&&e.set("header",n.header),n.description&&e.set("description",n.description),n.disallowNoteDownloading&&e.set("disallowNoteDownloading",n.disallowNoteDownloading),n.disallowShareDownloading&&e.set("disallowShareDownloading",n.disallowShareDownloading),n.hasOwnProperty("enabledInPublicPage")?e.set("enabledInPublicPage",n.enabledInPublicPage):e.set("enabledInPublicPage",!0)}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=fJ(vJ(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observe(this.map,this.mapObserver),this.render()}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=fJ(vJ(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.store.unobserve(this.map,this.mapObserver)}},{key:"getWrapper",value:function(){return this.parent}},{key:"getCommentsAnchorNode",value:function(){return this.getWrapper().head.domNode}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top,r=le(this.domNode,this.getWrapper().domNode);return n-=r.y,{left:t-=r.x,top:n}}},{key:"getCorrectCommentPosition",value:function(e){var t=e.top,n=e.left,r=this.getWrapper().domNode.getBoundingClientRect(),o=this.domNode.getBoundingClientRect();return{top:t-=o.top-r.top,left:n-=r.left-o.left}}},{key:"render",value:function(){fJ(vJ(i.prototype),"render",this).call(this),this.getWrapper().render();var e=this.editor.plugins.attachmentManager.isMethodImplemented("saveFile")&&(this.isEditable()||this.editor.mode===this.editor.constructor.MODE_READONLY&&!this.isBlotLocked&&this.enabledInPublicPage);(0,s.sY)((0,s.h)(uJ,{editable:e,editor:this.editor,onFileUploaded:this.onFileUploaded,i18n:this.editor.plugins.i18n,id:this.id}),this.domNode)}},{key:"isEditable",value:function(){return this.editor.mode===this.editor.constructor.MODE_EDIT&&!this.isBlotLocked}},{key:"getDraggingNode",value:function(){var e=this.getWrapper().domNode.cloneNode(!0);return e.classList.add("dragging-phantom"),e}},{key:"onDraggingGetPhantomPos",value:function(){return this.getWrapper().domNode.getBoundingClientRect()}},{key:"toHTML",value:function(){return this.domNode.outerHTML}},{key:"getAllFileBlots",value:function(){return this.containerBlot.descendants((function(e){return"file"===e.constructor.blotName}))}},{key:"disallowNote",get:function(){return this.map.get("disallowNoteDownloading")}},{key:"disallowShare",get:function(){return this.map.get("disallowShareDownloading")}},{key:"disallowDownloading",get:function(){return this.editor.mode!==this.editor.constructor.MODE_EDIT&&this.editor.mode!==this.editor.constructor.MODE_READONLY||this.editor.options.isShare?!(this.editor.mode!==this.editor.constructor.MODE_READONLY||!this.editor.options.isShare||!this.disallowShare):!!this.disallowNote}},{key:"enabledInPublicPage",get:function(){return Boolean(this.map.get("enabledInPublicPage"))}},{key:"contextMenu",get:function(){var e,t=this.editor.plugins.i18n,n=fJ(vJ(i.prototype),"contextMenu",this);delete n.duplicate,delete n.copyBlocks;var r=this.getAllFileBlots();return r&&r.length&&(n["convert-to-files"]={label:t.get("uploader.menu.convert_to_files"),index:2,group:0,action:"onClickMenuConvertToFiles"}),n.disallowDownloading={label:t.get("uploader.menu.disallow_download"),index:3,group:0,action:!1,submenu:{for_note:{icon:this.disallowNote?ct.Zlx:ct.EZi,label:t.get("uploader.menu.for_note"),index:1,group:0,action:"onClickMenuDisallowNote"},for_share:{icon:this.disallowShare?ct.Zlx:ct.EZi,label:t.get("uploader.menu.for_share"),index:2,group:0,action:"onClickMenuDisallowShare"}}},null!==(e=this.blotConfig)&&void 0!==e&&e.allowManage&&(n.allowUpload={label:t.get("uploader.menu.allow_upload"),index:3,group:0,action:!1,submenu:{enable:{icon:this.enabledInPublicPage?ct.EZi:ct.Zlx,label:t.get("uploader.menu.enable_in_public_page"),index:3,group:0,action:"onClickEnableInPublicPage"}}}),n}}])&&pJ(t.prototype,n),r&&pJ(t,r),i}(se([Ec,Pd,bd,Vu,Eu,nh,tu])(O));_J.blotName="uploader",_J.tagName="uploader",_J.className="nimbus-uploader",_J.wrapper="uploaderWrapper";const wJ=_J;function CJ(e){return(CJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function SJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function EJ(e,t,n){return(EJ="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=TJ(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function xJ(e,t){return(xJ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kJ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=TJ(e);if(t){var o=TJ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return OJ(this,n)}}function OJ(e,t){if(t&&("object"===CJ(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 TJ(e){return(TJ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var AJ=function(e){!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}}),t&&xJ(e,t)}(i,e);var t,n,r,o=kJ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isSubContainer=!0,t.disallowInsideSideDrop=!0,t}return t=i,(n=[{key:"getWrapper",value:function(){return this.parent}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=EJ(TJ(i.prototype),"attach",this)).call.apply(e,[this].concat(n))}},{key:"id",get:function(){return EJ(TJ(i.prototype),"id",this)+i.idSuffix}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=EJ(TJ(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}},{key:"render",value:function(){EJ(TJ(i.prototype),"render",this).call(this)}},{key:"getSelectableBlot",value:function(){return this.getWrapper().uploader}},{key:"toHTML",value:function(e){return'<div class="'+this.domNode.className+'">'+am(this,e,{allowRawHTML:!0})+"</div>"}},{key:"optimize",value:function(){this.children.length?this.domNode.classList.contains("empty")&&this.domNode.classList.remove("empty"):this.domNode.classList.contains("empty")||this.domNode.classList.add("empty")}}])&&SJ(t.prototype,n),r&&SJ(t,r),i}(se([Bc,tu])(g));AJ.blotName="uploaderContent",AJ.tagName="DIV",AJ.className="nimbus-uploader-content",AJ.wrapper="uploaderWrapper",AJ.idSuffix="_files",AJ.allowedChildren=[Hb,qF];const PJ=AJ;function RJ(e){return(RJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function IJ(){return(IJ=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function MJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NJ(e,t,n){return(NJ="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=FJ(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function DJ(e,t){return(DJ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jJ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=FJ(e);if(t){var o=FJ(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return LJ(this,n)}}function LJ(e,t){if(t&&("object"===RJ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return BJ(e)}function BJ(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FJ(e){return(FJ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function UJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return HJ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HJ(e,t)}(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 HJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var VJ=(0,Rn.ZP)("enter"),zJ=(0,Rn.ZP)("esc"),qJ=se([tu]),GJ={header:100,description:100};function WJ(e){var t=e.header,n=e.description,r=e.onEditEnd,o=e.editable,i=e.i18n,a=(0,T.sO)(null),l=(0,T.sO)(null),c=(0,T.sO)(!1),u=UJ((0,T.eJ)(null),2),d=u[0],p=u[1],f=function(e,t){("description"!==e||c.current)&&r&&r(e,t)},h=function e(t){var n="header"===d?a.current:l.current;n!==t.target&&(f(d,n.value),document.removeEventListener("mousedown",e,!1),p(null))},m=function(e,t){o&&setTimeout((function(){p(e)}),0)},g=function(e,t){(VJ(t)||zJ(t))&&(t.preventDefault(),t.stopPropagation(),document.removeEventListener("mousedown",h,!1),p(null),VJ(t)&&f(e,t.target.value))},y=function(e,t){"description"!==e||c.current||(c.current=!0),t.target.value.length>=GJ[e]&&(t.target.value=t.target.value.slice(0,GJ[e]))};(0,T.d4)((function(){null!==d&&(("header"===d?a.current:l.current).select(),document.addEventListener("mousedown",h,!1))}),[d]);var v=n||(o?(0,s.h)("span",{className:"uploader-head-edit-icon"},(0,s.h)(ct.yl5,null)):(0,s.h)("br",null));return(0,s.h)(s.HY,null,"header"===d?(0,s.h)("input",{className:"uploader-header-input",ref:a,value:t,onKeyDown:g.bind(void 0,"header"),onInput:y.bind(void 0,"header"),placeholder:i.get("uploader.header_placeholder",{maxChars:GJ.header})}):(0,s.h)("div",{className:"uploader-header",onMouseDown:m.bind(void 0,"header")},t,o?(0,s.h)("span",{className:"uploader-head-edit-icon"},(0,s.h)(ct.yl5,null)):null),"description"===d?(0,s.h)("input",{className:"uploader-description-input",ref:l,value:n,onKeyDown:g.bind(void 0,"description"),onInput:y.bind(void 0,"description"),placeholder:i.get("uploader.description_placeholder",{maxChars:GJ.description})}):(0,s.h)("div",{className:"uploader-description",onMouseDown:m.bind(void 0,"description")},v,o&&n?(0,s.h)("span",{className:"uploader-head-edit-icon"},(0,s.h)(ct.yl5,null)):null))}var YJ=function(e){!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}}),t&&DJ(e,t)}(i,e);var t,n,r,o=jJ(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(BJ(t=o.call(this,e)),"onEditEnd",(function(e,n){e&&t.map.get(e)!==n&&(n||(n=""),t.map.set(e,n))})),t}return t=i,(n=[{key:"defaults",get:function(){return{header:this.editor.plugins.i18n.get("uploader.header"),description:this.editor.plugins.i18n.get("uploader.description")}}},{key:"id",get:function(){return NJ(FJ(i.prototype),"id",this)+i.idSuffix}},{key:"getWrapper",value:function(){return this.parent}},{key:"render",value:function(){var e;NJ(FJ(i.prototype),"render",this)&&NJ(FJ(i.prototype),"render",this).call(this);var t={header:this.map.get("header")||this.defaults.header,description:"string"==typeof this.map.get("description")?this.map.get("description"):this.defaults.description},n=null===(e=this.uploader)||void 0===e?void 0:e.isEditable();(0,s.sY)((0,s.h)(WJ,IJ({editable:n,onEditEnd:this.onEditEnd,i18n:this.editor.plugins.i18n},t)),this.domNode)}},{key:"toHTML",value:function(){return this.domNode.outerHTML}}])&&MJ(t.prototype,n),r&&MJ(t,r),i}(qJ(O));function ZJ(e){return(ZJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function KJ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $J(e,t,n){return($J="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=e0(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function QJ(e,t){return(QJ=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function XJ(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=e0(e);if(t){var o=e0(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return JJ(this,n)}}function JJ(e,t){if(t&&("object"===ZJ(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 e0(e){return(e0=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}YJ.blotName="uploader-head",YJ.tagName="div",YJ.className="nimbus-uploader-head",YJ.wrapper="uploaderWrapper",YJ.idSuffix="_head";var t0=function(e){!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}}),t&&QJ(e,t)}(i,e);var t,n,r,o=XJ(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"buildBlot",value:function(){this.head=a().create(YJ.blotName),this.head.map=this.map,this.containerBlot=a().create(PJ.blotName),this.containerBlot.map=this.map,this.basicBlot=a().create(wJ.blotName),this.basicBlot.map=this.map,this.basicBlot.containerBlot=this.containerBlot,this.head.uploader=this.basicBlot,this.appendChild(this.head),this.appendChild(this.containerBlot),this.appendChild(this.basicBlot)}},{key:"attach",value:function(){var e;this.buildBlot();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=$J(e0(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.domNode.removeAttribute("id"),this.domNode.setAttribute("contenteditable",!1)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=$J(e0(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}},{key:"render",value:function(){$J(e0(i.prototype),"render",this).call(this),this.head.render(),this.containerBlot.render()}},{key:"getWrappedBlot",value:function(){return this.basicBlot}},{key:"toHTML",value:function(e){var t=[];return this.children.forEach((function(n){n.toHTML&&t.push(n.toHTML(e))})),'<div class="nimbus-uploader-wrapper">'+t.join("")+"</div>"}}])&&KJ(t.prototype,n),r&&KJ(t,r),i}(se([gu,tu])(a().Container));t0.blotName="uploaderWrapper",t0.tagName="DIV",t0.scope=a().Scope.BLOCK_BLOT,t0.className="nimbus-uploader-wrapper",t0.defaultChild=null,t0.allowedChildren=[YJ,PJ,wJ];const n0=t0;function r0(e){return(r0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i0(e,t,n){return(i0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u0(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function a0(e,t){return(a0=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s0(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u0(e);if(t){var o=u0(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l0(this,n)}}function l0(e,t){if(t&&("object"===r0(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c0(e)}function c0(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u0(e){return(u0=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p0=function(e){!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}}),t&&a0(e,t)}(i,e);var t,n,r,o=s0(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),d0(c0(t=o.call(this,e)),"addDefaultParagraphIfNeed",(function(){if(t.containerChildren&&!t.containerChildren.length){var e=t.store.createMap();s5.query("paragraph").initMap(e,t.store),t.containerChildren.push([e.get("id")])}})),d0(c0(t),"updatePlaceholderState",(function(){setTimeout((function(){var e=t.children.length&&t.children.head.props.focused;1===t.children.length&&"paragraph"===t.children.head.constructor.blotName&&t.children.head.isEmpty()&&!e?t.domNode.classList.add("with-placeholder"):t.domNode.classList.contains("with-placeholder")&&t.domNode.classList.remove("with-placeholder")}),0)})),t.isSubContainer=!0,t.addCanExecActions(Bc.canExecActions),t.isCollapsibleContainer=!0,t.disallowInsideSideDrop=!0,t}return t=i,(n=[{key:"getWrapper",value:function(){return this.parent}},{key:"attach",value:function(){for(var e,t,n,r,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];(e=i0(u0(i.prototype),"attach",this)).call.apply(e,[this].concat(s));var c=null!==(t=this.getWrapper())&&void 0!==t&&null!==(n=t.getWrappedBlot())&&void 0!==n&&n.getContentPlaceholder?null===(r=this.getWrapper())||void 0===r||null===(o=r.getWrappedBlot())||void 0===o?void 0:o.getContentPlaceholder():this.editor.plugins.i18n.get("toggle.placeholder");this.domNode.setAttribute("data-placeholder",c),this.addDefaultParagraphIfNeed(),this.editor.on("selectionchange",this.updatePlaceholderState)}},{key:"id",get:function(){return i0(u0(i.prototype),"id",this)+i.idSuffix}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=i0(u0(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.editor.off("selectionchange",this.updatePlaceholderState)}},{key:"onChildDetached",value:function(e){!this.map.get("collapsed")&&this.hasBeenAttached&&this.containerChildren&&(i0(u0(i.prototype),"onChildDetached",this).call(this,e),this.children.length||this.addDefaultParagraphIfNeed())}},{key:"render",value:function(){i0(u0(i.prototype),"render",this).call(this),this.updatePlaceholderState()}},{key:"getSelectableBlot",value:function(){return this.prev}},{key:"toHTML",value:function(e){return'<div class="'+this.domNode.className+'">'+am(this,e,{allowRawHTML:!0})+"</div>"}}])&&o0(t.prototype,n),r&&o0(t,r),i}(se([Eu,oj,Bc,tu])(g));p0.blotName="toggleContent",p0.tagName="DIV",p0.className="nimbus-toggle-content",p0.wrapper="toggleWrapper",p0.idSuffix="_content",p0.allowedChildren=[pf,yM,Hb,qF,QV,Lz,OQ,Tf,hh,BY,KZ,dK,_$,Kw,Vf,gX,nJ,n0];const f0=p0;function h0(e){return(h0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g0(e,t,n){return(g0="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=w0(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function y0(e,t){return(y0=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v0(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=w0(e);if(t){var o=w0(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b0(this,n)}}function b0(e,t){if(t&&("object"===h0(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _0(e)}function _0(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w0(e){return(w0=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S0=function(e){!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}}),t&&y0(e,t)}(i,e);var t,n,r,o=v0(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),C0(_0(t=o.call(this,e)),"onArrowClick",(function(e){var n=t.map.get("collapsed");t.map.set("collapsed",!n)})),C0(_0(t),"onArrowMouseDown",(function(e){e.preventDefault()})),t.createArrow(),t.isSeparableByClickApplicable=!0,t.ignoreWrappedBlotOnSeparableByClick=!0,t}return t=i,(n=[{key:"createArrow",value:function(){this.arrowNode=document.createElement("div"),this.arrowNode.classList.add("toggle-arrow"),this.domNode.appendChild(this.arrowNode)}},{key:"buildBlot",value:function(){var e=a().create(this.map.get("type"));e.map=this.map,this.appendChild(e)}},{key:"forEachChildren",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){},n=this.map.toJSON()||{},r=n.children,o=void 0===r?[]:r;o.forEach((function(n){var r=e.editor.store.blocks.get(n);t(r)}))}},{key:"deleteReminderFromDelta",value:function(e){var t=this.editor.plugins.reminderManager;e.forEach((function(e){var n=e.insert;if(null!=n&&n.date&&n.date.reminders){var r=n.date,o=r.reminders,i=r.dateId;(o="string"==typeof o?JSON.parse(o):o)&&t.deleteReminder(i,{reminders:o})}}))}},{key:"setReminderFromDelta",value:function(e){var t=this;e.forEach((function(e){var n=e.insert;if(null!=n&&n.date&&n.date.reminders){var r=n.date.reminders,o=n.date,i=o.dateId,a=o.value,s=o.timestamp,l=o.format;r="string"==typeof r?JSON.parse(r):r;var c=[];for(var u in r)c.push({id:u,dateId:i,timestamp:a||s,seconds:r[u].seconds,format:l});c.length&&YI.setInlineRemindersByArray(t.editor,c)}}))}},{key:"attach",value:function(){var e,t=this;this.buildBlot();for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=g0(w0(i.prototype),"attach",this)).call.apply(e,[this].concat(r)),this.domNode.removeAttribute("id"),this.map.get("collapsed")&&this.editor.plugins.undoManager.isUndoing()&&this.forEachChildren((function(e){var n;"table"===(null==e?void 0:e.get("type"))&&YI.setReminders(t.editor,e.get("rows")),"list"===(null==e?void 0:e.get("type"))&&e.get("children").forEach((function(e){var n=t.editor.store.blocks.get(e),r=(null==n?void 0:n.get("characters").toDelta())||[];t.setReminderFromDelta(r)}));var r=(null==e||null===(n=e.get("characters"))||void 0===n?void 0:n.toDelta())||[];t.setReminderFromDelta(r)})),this.arrowNode.classList.add(this.map.get("type"))}},{key:"detach",value:function(){for(var e,t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=g0(w0(i.prototype),"detach",this)).call.apply(e,[this].concat(r)),this.map.get("collapsed")&&this.forEachChildren((function(e){var n;"table"===(null==e?void 0:e.get("type"))&&YI.removeReminders(t.editor,e.get("rows")),"list"===(null==e?void 0:e.get("type"))&&e.get("children").forEach((function(e){var n=t.editor.store.blocks.get(e),r=(null==n?void 0:n.get("characters").toDelta())||[];t.deleteReminderFromDelta(r)}));var r=(null==e||null===(n=e.get("characters"))||void 0===n?void 0:n.toDelta())||[];t.deleteReminderFromDelta(r)}))}},{key:"getArrowTooltipText",value:function(e){var t=this.map.get("type"),n=a().query(t);return"expand"===e?n&&n.tooltipPathSuffix?this.editor.plugins.i18n.get("toggle.expand_"+n.tooltipPathSuffix):this.editor.plugins.i18n.get("toggle.expand"):"collapse"===e?n&&n.tooltipPathSuffix?this.editor.plugins.i18n.get("toggle.collapse_"+n.tooltipPathSuffix):this.editor.plugins.i18n.get("toggle.collapse"):""}},{key:"render",value:function(){g0(w0(i.prototype),"render",this).call(this);var e=this.editor.mode!==gpe&&this.map.get("collapsed");e?this.arrowNode.setAttribute(Gr.qZ,this.getArrowTooltipText("expand")):this.arrowNode.setAttribute(Gr.qZ,this.getArrowTooltipText("collapse")),(0,s.sY)((0,s.h)("div",{className:"toggle-arrow-icon"+(e?" collapsed":""),onClick:this.onArrowClick,onMouseDown:this.onArrowMouseDown},(0,s.h)(ct.J0H,null)),this.arrowNode)}},{key:"getInnerTextLine",value:function(){return this.children.head}},{key:"getWrappedBlot",value:function(){return this.getInnerTextLine()}},{key:"toHTML",value:function(e){var t=[];return this.children.forEach((function(n){n.toHTML&&t.push(n.toHTML(e))})),'<div class="nimbus-toggle"><div class="toggle-arrow">'+this.arrowNode.innerHTML+"</div>"+t.join("")+"</div>"}},{key:"getMarkdown",value:function(){var e="";return this.children.forEach((function(t){t.getMarkdown&&(e+=t.getMarkdown())})),e}}])&&m0(t.prototype,n),r&&m0(t,r),i}(se([gu,tu])(a().Container));S0.blotName="toggleWrapper",S0.tagName="DIV",S0.scope=a().Scope.BLOCK_BLOT,S0.className="nimbus-toggle",S0.defaultChild=null,S0.allowedChildren=[YD,f0];const E0=S0;var x0=n(54516),k0=n.n(x0);function O0(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function T0(e){return function(t,n){return null!=n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?O0(e.future,t):"через "+O0(e.regular,t):e.past?O0(e.past,t):O0(e.regular,t)+" назад":O0(e.regular,t)}}var A0={lessThanXSeconds:T0({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:T0({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,t){return null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:T0({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:T0({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:T0({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:T0({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:T0({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:T0({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:T0({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:T0({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:T0({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:T0({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:T0({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:T0({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:T0({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})};const P0=function(e,t,n){return A0[e](t,n)};var R0=n(26496);const I0={date:(0,R0.Z)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,R0.Z)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,R0.Z)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var M0=n(42362),N0=n(80941);function D0(e,t,n){(0,M0.Z)(2,arguments);var r=(0,N0.Z)(e,n),o=(0,N0.Z)(t,n);return r.getTime()===o.getTime()}var j0=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function L0(e){var t=j0[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}var B0={lastWeek:function(e,t,n){var r=e.getUTCDay();return D0(e,t,n)?L0(r):function(e){var t=j0[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return D0(e,t,n)?L0(r):function(e){var t=j0[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(r)},other:"P"};const F0=function(e,t,n,r){var o=B0[e];return"function"==typeof o?o(t,n,r):o};var U0=n(38645);const H0={ordinalNumber:function(e,t){var n=Number(e),r=null==t?void 0:t.unit;return n+("date"===r?"-е":"week"===r||"minute"===r||"second"===r?"-я":"-й")},era:(0,U0.Z)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,U0.Z)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,U0.Z)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,U0.Z)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,U0.Z)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})};var V0=n(92395);const z0={code:"ru",formatDistance:P0,formatLong:I0,formatRelative:F0,localize:H0,match:{ordinalNumber:(0,n(70884).Z)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,V0.Z)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,V0.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,V0.Z)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,V0.Z)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,V0.Z)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var q0=n(37758);function G0(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return W0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W0(e,t)}(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 W0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Y0(e){var t=e.selected,n=e.use12h,r=void 0!==n&&n,o=e.wantsToClose,i=e.closeOnEsc,a=e.offset,l=e.editor,c=e.anchorNode,u=e.onChange,d=r?12:24,p=G0((0,T.eJ)(parseInt(k0()(t).format(r?"hh":"HH"))),2),f=p[0],h=p[1],m=G0((0,T.eJ)(parseInt(k0()(t).format("mm"))),2),g=m[0],y=m[1],v=G0((0,T.eJ)(!!r&&k0()(t).format("A")),2),b=v[0],_=v[1],w=G0((0,T.eJ)(null),2),C=w[0],S=w[1],E=G0((0,T.eJ)(null),2),x=E[0],k=E[1],O=[-3,-2,-1,0,1,2,3].reduce((function(e,t){var n=f-t;return n<0&&(n=d+f-t),n>d&&(n-=d),r?0===n&&(n=12):n===d&&(n=0),e.push(n),e}),[]),A=[-3,-2,-1,0,1,2,3].reduce((function(e,t){var n=g-t;return n<0&&(n=60+g-t),n>60&&(n-=60),60===n&&(n=0),e.push(n),e}),[]),P=function(e){var t;e.deltaY<0?(t=f+1,r?t>d&&(t=1):t>=d&&(t=0)):(t=f-1,r?0===t&&(t=12):t<0&&(t=d+t)),h(t)},R=function(e){var t;e.deltaY<0?(t=g+1)>=60&&(t=0):(t=g-1)<0&&(t=59),y(t)};return(0,s.h)(At.Z,{addClassName:"timepicker-popup",closeOnEsc:i,wantsToClose:o,anchorNode:c,anchorOptions:{positionFixed:!0,offset:a||"0px, 0px",placement:"top",priority:["bottom","right","left"],boundariesElement:l.getScrollingContainer(),overflowBoundariesElement:l.getScrollingContainer()}},(0,s.h)("div",{className:"editor-timepicker fusebase-theme",onTouchStart:function(e){e.stopPropagation()},onTouchMove:function(e){e.preventDefault()}},(0,s.h)("div",{className:"editor-timepicker-head"},"".concat(f<10?"0"+f:f,":").concat(g<10?"0"+g:g),b?(0,s.h)("span",{className:"editor-timepicker-head-ampm"},b):null),(0,s.h)("div",{className:"editor-timepicker-body"},r?(0,s.h)("button",{className:"timepicker-ampm-change"+("AM"===b?" active":""),onClick:function(){"AM"!==b&&_("AM")}},"AM"):null,(0,s.h)("div",{className:"timepicker-hours-wheel",onMouseWheel:P,onTouchStart:function(e){S(e.touches[0])},onTouchMove:function(e){var t=C.clientY-e.touches[0].clientY;Math.abs(t)>10&&(P({deltaY:t>0?1:-1}),S(e.touches[0]))},onTouchEnd:function(e){S(null)}},O.map((function(e){return(0,s.h)("span",{className:e===f?"selected":"",onClick:function(){h(e)}},e<10?"0".concat(e):e)}))),(0,s.h)("div",{className:"timepicker-minutes-wheel",onMouseWheel:R,onTouchStart:function(e){k(e.touches[0])},onTouchMove:function(e){var t=x.clientY-e.touches[0].clientY;Math.abs(t)>10&&(R({deltaY:t>0?1:-1}),k(e.touches[0]))},onTouchEnd:function(e){k(null)}},A.map((function(e){return(0,s.h)("span",{className:e===g?"selected":"",onClick:function(){y(e)}},e<10?"0".concat(e):e)}))),r?(0,s.h)("button",{className:"timepicker-ampm-change"+("PM"===b?" active":""),onClick:function(){"PM"!==b&&_("PM")}},"PM"):null),(0,s.h)("div",{className:"editor-timepicker-footer"},(0,s.h)("button",{onClick:o},"Cancel"),(0,s.h)("button",{className:"filled",onClick:function(){var e="PM"===b&&f<12?12+f:f;"AM"===b&&12===e&&(e=0),null==u||u(k0()(t).set("hour",e).set("minute",g).toDate()),o()}},"OK"))))}function Z0(e){return function(e){if(Array.isArray(e))return Q0(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$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 K0(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||$0(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 $0(e,t){if(e){if("string"==typeof e)return Q0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q0(e,t):void 0}}function Q0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}(0,aT.registerLocale)("ru-RU",z0),(0,aT.registerLocale)("en-US",q0.Z);var X0={ddmmyyyy:"DD/MM/YYYY",mmddyyyy:"MM/DD/YYYY",yyyyddmm:"YYYY/MM/DD",monthddyyyy:"MMMM DD, YYYY"},J0=["0m","5m","10m","30m","1h","1d","7d","14d"],e1=["5m","10m","30m"];function t1(e){var t,n,r,o,i,a,l=e.selected,c=e.onChange,u=e.locale,d=void 0===u?"en-US":u,p=e.offset,f=e.editor,h=e.anchorNode,m=e.wantsToClose,g=e.type,y=void 0===g?"default":g,v=e.showTime,b=void 0!==v&&v,_=e.applyOnChange,w=void 0!==_&&_,C=e.reminders,S=void 0===C?{}:C,E=f.plugins.i18n,x="en-US"===(null===(t=f.options.blots)||void 0===t||null===(n=t.date)||void 0===n?void 0:n.timeLocale)||"en-GB"!==(null===(r=f.options.blots)||void 0===r||null===(o=r.date)||void 0===o?void 0:o.timeLocale)&&12===Zn(),k=K0((0,T.eJ)(l?b?l:k0()(l).set("hour",12).set("minute",0).set("second",0).toDate():k0()().set("hour",12).set("minute",0).set("second",0).toDate()),2),O=k[0],A=k[1],P=K0((0,T.eJ)(!Boolean(l)),2),R=P[0],I=P[1],M=K0((0,T.eJ)(b),2),N=M[0],D=M[1],j=K0((0,T.eJ)(!1),2),L=j[0],B=j[1],F=K0((0,T.eJ)(S),2),U=F[0],H=F[1],V=K0((0,T.eJ)(!1),2),z=V[0],q=V[1],G=K0((0,T.eJ)(!1),2),W=G[0],Y=G[1],Z=function(e){if(R&&I(!1),N){var t=k0()(e),n=t.hour(),r=t.minute();e=k0()(e).set("hour",n).set("minute",r).toDate()}else e=k0()(e).set("hour",12).set("minute",0).set("second",0).toDate();A(e),w&&c({date:e,reminders:U,showTime:N,timeFormat:x?12:24})};return(0,s.h)(s.HY,null,(0,s.h)(At.Z,{addClassName:"date-picker-popup no-scroll",closeOnEsc:!0,wantsToClose:function(){L||z||W||m()},anchorNode:h,anchorOptions:{positionFixed:!0,offset:p||"0px, 0px",placement:"top",priority:["bottom","right","left"],boundariesElement:f.getScrollingContainer(),overflowBoundariesElement:f.getScrollingContainer()}},(0,s.h)("div",{className:"nim-editor-datepicker nimbus-theme fusebase-theme"},(0,s.h)(sT(),{calendarClassName:"nim-editor-datetimepicker",renderCustomHeader:function(e){var t=e.date,n=e.decreaseMonth,r=e.increaseMonth,o=e.prevMonthButtonDisabled,i=e.nextMonthButtonDisabled;return(0,s.h)("div",{className:"react-datepicker-nav-header"},(0,s.h)("button",{className:"react-datepicker-nav react-datepicker-nav-prev",onClick:n,disabled:o},(0,s.h)(ct.ed9,null)),(0,s.h)("div",{className:"react-datepicker-month"},t.toLocaleDateString(d,{month:"long"})+" "+t.getFullYear()),(0,s.h)("button",{className:"react-datepicker-nav react-datepicker-nav-next",onClick:r,disabled:i},(0,s.h)(ct.VG8,null)))},selected:R?null:O,onChange:Z,locale:d,formatWeekDay:function(e){return e.substr(0,1)},inline:!0}),(0,s.h)("div",{className:"datetimepicker-footer"},(0,s.h)("span",{className:"datetimepicker-footer-left bold"},"When"),(0,s.h)("span",{className:"datetimepicker-footer-main align-right"},(0,s.h)("span",{className:"datetimepicker-date-field"},X0[y]?k0()(O).format(X0[y]):O.toLocaleDateString()),N?(0,s.h)(s.HY,null,(0,s.h)("span",{className:"datetimepicker-time-field",onClick:function(){B(!0)}},k0()(O).format(x?"hh:mm A":"HH:mm")),L?(0,s.h)(HS,{editor:f,documentRoot:!0,styled:!0,transitionName:"popup-menu",transitionTimeout:bt.popupAppearDuration,useEditorOuterScrollingContainer:!0},(0,s.h)("div",{className:"timepicker-popup-overlay"},(0,s.h)(Y0,{selected:O,use12h:x,closeOnEsc:!0,wantsToClose:function(){return B(!1)},editor:f,onChange:Z}))):null):null)),(0,s.h)("div",{className:"datetimepicker-control"},null!==(i=f.plugins.reminderManager)&&void 0!==i&&null!==(a=i.options)&&void 0!==a&&a.enabled?(0,s.h)("div",{className:"datetimepicker-reminders"},(0,s.h)("div",{className:"datetimepicker-control-row"},(0,s.h)("span",{className:"datetimepicker-control-left"},E.get("calendar.ui.reminder.name")),(0,s.h)("span",{className:"datetimepicker-control-right"},(0,s.h)(n1,{editor:f,i18n:E,reminders:U,showMenu:z,onShowMenu:q,showTime:N,onChange:function(e){R&&I(!1),H(e),w&&c({date:O,reminders:e,showTime:N,timeFormat:x?12:24})}})))):null,(0,s.h)("div",{className:"datetimepicker-control-row"},(0,s.h)("span",{className:"datetimepicker-control-left"},"Show time"),(0,s.h)("span",{className:"datetimepicker-control-right"},(0,s.h)(gT,{enabled:N,onChange:function(e){if(R&&I(!1),e){var t=k0()(O).set("hour",k0()().hour()).set("minute",k0()().minute()).set("second",k0()().second()).toDate();A(t),w&&c({date:t,reminders:U,showTime:e,timeFormat:x?12:24})}else if(function(){var e=Object.keys(U);if(e.length&&e.find((function(e){return e1.includes(U[e].value)})))return!0;return!1}())Y(!0);else{var n=k0()(O).set("hour",12).set("minute",0).set("second",0).toDate();A(n),w&&c({date:n,reminders:U,showTime:e,timeFormat:x?12:24})}D(e)},size:"large"}))),(0,s.h)("div",{className:"datetimepicker-control-row"},(0,s.h)("span",{className:"datetimepicker-control-left"},(0,s.h)("span",{className:"datetimepicker-clear",onClick:function(){I(!0),A(k0()().set("hour",12).set("minute",0).set("second",0).toDate()),D(!1),H({}),c(null)}},"Clear"))),(0,s.h)("div",{className:"datetimepicker-control-row"},(0,s.h)("span",{className:"datetimepicker-control-left"}),(0,s.h)("span",{className:"datetimepicker-control-right"},(0,s.h)("span",{className:"datetimepicker-control-buttons"},(0,s.h)("button",{onClick:function(){m()}},"Cancel"),(0,s.h)("button",{className:"filled",onClick:function(){c(R?null:{date:O,reminders:U,showTime:N}),m()}},"Done"))))))),W?(0,s.h)(HS,{editor:f,documentRoot:!0,styled:!0,transitionName:"popup-menu",transitionTimeout:bt.popupAppearDuration,useEditorOuterScrollingContainer:!0},(0,s.h)("div",{className:"root-placed-confirm-popup"},(0,s.h)(Gn.Z,{onCancel:function(){Y(!1),D(!0)},onConfirm:function(){if(Object.keys(U).length){var e={};for(var t in U)e1.includes(U[t].value)||(e[t]=U[t]);var n=k0()(O).set("hour",12).set("minute",0).set("second",0).toDate();A(n),H(e),w&&c({date:n,reminders:e,showTime:N,timeFormat:x?12:24})}Y(!1)},message:E.get("calendar.ui.reminder.remove_confirm_message"),confirmText:E.get("calendar.ui.reminder.remove_confirm_text"),cancelText:E.get("calendar.ui.reminder.remove_cancel_text"),editor:f,maxWidth:400,revertButtons:!0,addClassName:"confirm-delete-reminders"}))):null)}function n1(e){var t=e.reminders,n=e.i18n,r=e.editor,o=e.showTime,i=e.onChange,a=e.showMenu,l=e.onShowMenu,c=K0((0,T.eJ)(Object.keys(t).map((function(e){return t[e].value})).sort((function(e,t){return J0.indexOf(e)>J0.indexOf(t)?1:-1}))),2),u=c[0],d=c[1],p=(0,T.sO)(null);(0,T.d4)((function(){d(Object.keys(t).map((function(e){return t[e].value})).sort((function(e,t){return J0.indexOf(e)>J0.indexOf(t)?1:-1})))}),[t]);var f=function(e,t){!0===t?u.includes(e)||d([].concat(Z0(u),[e]).sort((function(e,t){return J0.indexOf(e)>J0.indexOf(t)?1:-1}))):u.includes(e)&&d(u.filter((function(t){return t!==e})))};return(0,s.h)(s.HY,null,(0,s.h)("span",{className:"datetimepicker-reminder"+(u.length?"":" no-value"),ref:p,onClick:function(){l(!0)}},u.length?u.map((function(e){return"0m"===e?n.get("calendar.ui.reminder.value.".concat(e)):e})).join(","):"None",(0,s.h)(ct.BDo,null)),(0,s.h)(Tt,null,a?(0,s.h)(At.Z,{addClassName:"popup-menu-reminders",closeOnEsc:!0,wantsToClose:function(){l(!1);var e=u.reduce((function(e,n){var r=Object.keys(t).find((function(e){return t[e].value===n}));return r?e[r]=t[r]:e[me()]={value:n,text:n,seconds:vr(n)},e}),{});i(e)},anchorNode:p.current,anchorOptions:{priority:["bottom"],offset:"5px, 17px",placement:"right-end",boundariesElement:r.getScrollingContainer()}},J0.map((function(e){return!o&&e1.includes(e)?null:(0,s.h)("div",{className:"datetimepicker-reminder-item"},(0,s.h)("div",{className:"datetimepicker-reminder-checkbox"},(0,s.h)(AE,{editable:!0,checked:u.includes(e),onChange:function(t){return f(e,t)},useIcon:!0})),(0,s.h)("div",{className:"datetimepicker-reminder-name",onMouseDown:function(){return f(e,!u.includes(e))}},n.get("calendar.ui.reminder.value.".concat(e))))}))):null))}function r1(e){var t=e.reminders,n=void 0===t?{}:t,r=e.editor,o=e.date,i=e.getDateString;if(!n||!Object.keys(n).length)return null;var a=r.plugins.i18n,l=(0,T.sO)(null),c=K0((0,T.eJ)(!1),2),u=c[0],d=c[1],p=u?Object.keys(n).map((function(e,t){var r=n[e],l=a.get("calendar.ui.reminder.panel_name");t>0&&(l+=" ".concat(t+1));var c=Date.now(),u=o.timestamp-1e3*r.seconds,d=i?i(u,o.format):k0()(u).format("MM/DD/YYYY".concat(o.format.showTime?" hh:mm A":"")),p=function(e){var t;if(e<0)t=a.get("calendar.ui.reminder.until.already_been");else if(0===e)t=a.get("calendar.ui.reminder.until.now");else if(e<=60)t=a.get("calendar.ui.reminder.until.less_minute");else{t=a.get("calendar.ui.reminder.until.in");var n=Math.floor(e/86400),r=Math.floor(e%86400/3600),o=Math.round(e%3600/60);n>0&&(t+=" "+n+a.get("calendar.ui.reminder.until.d")),(r>0||n>0&&o>0)&&(t+=" "+r+a.get("calendar.ui.reminder.until.h")),o>0&&(t+=" "+o+a.get("calendar.ui.reminder.until.m"))}return t}((u-c)/1e3)+" / "+d;return(0,s.h)("span",{className:"reminder-item"},(0,s.h)(ct.YK1,null),(0,s.h)("span",null,l,": ",p))})):null;return(0,s.h)(s.HY,null,(0,s.h)("span",{onMouseEnter:function(e){d(!0)},onMouseLeave:function(e){d(!1)},ref:l},(0,s.h)(ct.YK1,null)),u?(0,s.h)(At.Z,{key:"reminder-panel",closeOnEsc:!0,addClassName:"reminder-panel",anchorNode:l.current,anchorOptions:{placement:"top",priority:["right"],positionFixed:!0,boundariesElement:r.getScrollingContainer(),overflowBoundariesElement:r.getScrollingContainer()}},(0,s.h)("span",{className:"reminder-container"},p)):null)}function o1(e){return(o1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a1(e,t){return(a1=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s1(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c1(e);if(t){var o=c1(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l1(this,n)}}function l1(e,t){if(t&&("object"===o1(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 c1(e){return(c1=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u1=function(e){!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}}),t&&a1(e,t)}(i,e);var t,n,r,o=s1(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"componentDidUpdate",value:function(e){var t=this;setTimeout((function(){t.popper&&t.popper.destroy();try{t.createPopper()}catch(e){}}),0)}}])&&i1(t.prototype,n),r&&i1(t,r),i}(At.Z);function d1(e){return function(e){if(Array.isArray(e))return g1(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m1(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 p1(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f1(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){p1(i,r,o,a,s,"next",e)}function s(e){p1(i,r,o,a,s,"throw",e)}a(void 0)}))}}function h1(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||m1(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 m1(e,t){if(e){if("string"==typeof e)return g1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g1(e,t):void 0}}function g1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y1=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(e=e.trim().replace(/\s+/g," ")).slice(0,2),n=e.split(" ");return n.length>1&&(t=n[0].at(0)+n[1].at(0)),t.toUpperCase()};function v1(e){var t=e.selected,n=void 0===t?[]:t,r=e.onChange,o=e.editor,i=e.anchorNode,a=e.wantsToClose,l=e.offset,c=e.max,u=void 0===c?3:c,d=e.overMaxMessage,p=void 0===d?"You can assign up to three members.":d,f=h1((0,T.eJ)([]),2),h=f[0],m=f[1],g=h1((0,T.eJ)(n),2),y=g[0],v=g[1],b=h1((0,T.eJ)(!0),2),_=b[0],w=b[1],C=function(e){return e.sort((function(e,t){return e.name[0].toLowerCase()>t.name[0].toLowerCase()?1:-1}))};(0,T.d4)(f1(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_){e.next=13;break}if(!o.plugins.mentionManager){e.next=12;break}return e.prev=2,e.next=5,o.plugins.mentionManager.searchItems("","user");case 5:(t=e.sent).user&&t.user.length&&m(t.user.map((function(e){var t={id:String(e.object_id),name:e.name};return e.icon&&(t.icon=e.icon),t}))),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0);case 12:w(!1);case 13:case"end":return e.stop()}}),e,null,[[2,9]])}))),[]);var S=function(e){var t=y.findIndex((function(t){return t.id===e.id}));if(t<0)if(y.length<u){var n=C([].concat(d1(y),[e]));v(n),r&&r(n)}else o.plugins.notificationManager.toast(p);else{var i=C(d1(y));i.splice(t,1),v(C(i)),r&&r(C(i))}},E=C(h.filter((function(e){return!y.find((function(t){return t.id===e.id}))})));return(0,s.h)(u1,{addClassName:"user-select-popup",closeOnEsc:!0,wantsToClose:a,anchorNode:i,anchorOptions:{positionFixed:!0,offset:l||"0px, 0px",placement:"bottom",priority:["top","right","left"],boundariesElement:o.getScrollingContainer(),overflowBoundariesElement:o.getScrollingContainer()}},h.length?(0,s.h)(s.HY,null,y&&y.length?(0,s.h)("div",{className:"users-select-selected"},C(y).map((function(e){return(0,s.h)("span",{class:"users-select-item",onClick:function(){return S(e)}},(0,s.h)("span",{class:"users-select-item-avatar"},e.icon?(0,s.h)("img",{src:e.icon}):(0,s.h)("span",{class:"users-select-item-initials"},y1(e.name))),(0,s.h)("span",{class:"users-select-item-name"},e.name))}))):null,E&&E.length?(0,s.h)("div",{className:"users-select-list"},E.map((function(e){return(0,s.h)("span",{class:"users-select-item",onClick:function(){return S(e)}},(0,s.h)("span",{class:"users-select-item-avatar"},e.icon?(0,s.h)("img",{src:e.icon}):(0,s.h)("span",{class:"users-select-item-initials"},y1(e.name))),(0,s.h)("span",{class:"users-select-item-name"},e.name))}))):null):_?(0,s.h)("span",{className:"users-select-loading"},(0,s.h)(ey(),null)):(0,s.h)("span",{className:"users-select-empty"},"No members found"))}function b1(){return(b1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _1(e){var t,n=e.blot,r="ru"===(null===(t=n.editor.plugins)||void 0===t?void 0:t.i18n.language)?"ru-RU":"en-US";return n.editor.mode===fpe||n.map.get("date")?(0,s.h)("div",{className:"step-date"},(0,s.h)("div",{className:"step-date-value ".concat(n.map.get("date")?"":"empty"),ref:n.onDateRef,onMouseDown:n.onDateMouseDown},(0,s.h)(ct.jt6,null),n.map.get("date")?(0,s.h)(s.HY,null,(0,s.h)("span",{className:"step-date-string"},n.getDateString(n.map.get("date").timestamp,n.map.get("date").format)),n.map.get("reminders")?(0,s.h)(r1,{reminders:n.map.get("reminders"),editor:n.editor,date:n.map.get("date"),getDateString:n.getDateString}):null):null),n.props.datepickerOpen?(0,s.h)(t1,{selected:!!n.map.get("date")&&new Date(n.map.get("date").timestamp),showTime:n.map.get("date")&&n.map.get("date").format.showTime,onChange:n.onDateChange,offset:"0px, 0px",editor:n.editor,anchorNode:n.dateNode,wantsToClose:n.onDateTimePickerWantsToClose,locale:r,reminders:n.map.get("reminders")||{}}):null):null}function w1(e){var t=e.blot;return t.editor.mode===fpe||t.map.get("assignee")&&t.map.get("assignee").length?(0,s.h)("div",{className:"step-assignee"},(0,s.h)("div",{className:"step-assignee-value",onMouseDown:t.onAssigneeMouseDown,ref:t.onAssigneeRef},t.map.get("assignee")&&t.map.get("assignee").length?(0,s.h)("div",{className:"step-assignees"},t.map.get("assignee").map((function(e){var t=e.name;t&&void 0!==t||(t="Unknown");var n=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},Gr.qZ,t),r=t.substr(0,2),o=t.split(" ");return o.length>1&&(r=o[0].at(0)+o[1].at(0)),(0,s.h)("div",b1({className:"step-assignee-avatar"},n),e.icon&&void 0!==e.icon?(0,s.h)("img",{src:e.icon}):r)}))):(0,s.h)(ct.$4n,null)),t.props.showAssigneeSelect?(0,s.h)(v1,{editor:t.editor,selected:t.map.get("assignee")||[],onChange:t.onAssigneeChange,anchorNode:t.assigneeNode,wantsToClose:t.onAssigneeSelectWantsToClose,max:3,overMaxMessage:"You can assign up to three members to a step."}):null):null}function C1(e){return(C1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S1(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E1(e,t)}(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 E1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k1(e,t,n){return(k1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=R1(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function O1(e,t){return(O1=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T1(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=R1(e);if(t){var o=R1(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return A1(this,n)}}function A1(e,t){if(t&&("object"===C1(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P1(e)}function P1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R1(e){return(R1=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M1=se([Ec,Pd,nh,Mu,gu,Vu,bd,Eu,tu]),N1=(0,Rn.ZP)("enter"),D1=(0,Rn.ZP)("escape"),j1=function(e){!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}}),t&&O1(e,t)}(i,e);var t,n,r,o=T1(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),I1(P1(t=o.call(this,e)),"onDateRef",(function(e){t.dateNode=e})),I1(P1(t),"onAssigneeRef",(function(e){t.assigneeNode=e})),I1(P1(t),"onDocumentMouseDown",(function(e){e.target!==t.renameInputNode&&t.props.renaming&&t.onApplyName()})),I1(P1(t),"updateStepsCount",(function(){var e=t.allSteps.length;t.stepsCountNode.setAttribute("data-steps-count",e)})),I1(P1(t),"mapObserver",(function(){t.render()})),I1(P1(t),"onRenameInputNodeRef",(function(e){t.renameInputNode=e})),I1(P1(t),"onStepsCountRef",(function(e){t.stepsCountNode=e})),I1(P1(t),"onRenameInputKeyDown",(function(e){N1(e)&&t.onApplyName(),D1(e)&&t.onApplyName(!1)})),I1(P1(t),"onRenameInput",(function(e){e.target.value.length>=100&&(e.target.value=e.target.value.slice(0,100))})),I1(P1(t),"onNameClick",(function(){t.editor.mode===fpe&&(t.setProps({renaming:!0}),t.renameInputNode.focus(),t.renameInputNode.select())})),I1(P1(t),"onStepsCounterClick",(function(e){e.preventDefault();var n=S1(t.allSteps,1)[0];n&&t.editor.plugins.scrollSaver&&t.editor.plugins.scrollSaver.scrollToBlot(n.id,!0,!1)})),I1(P1(t),"onDateMouseDown",(function(e){t.editor.mode===fpe&&(e.preventDefault(),t.setProps({datepickerOpen:!0}))})),I1(P1(t),"onDateTimePickerWantsToClose",(function(){t.setProps({datepickerOpen:!1})})),I1(P1(t),"onDateChange",(function(e){if(e){var n=e.date,r=e.reminders,o=void 0===r?{}:r,i=e.showTime,a=void 0!==i&&i,s=e.timeFormat,l=void 0===s?12:s;t.map.set("date",{timestamp:n.getTime(),format:{showTime:a,timeFormat:l}}),Object.keys(o).length?t.map.set("reminders",o):t.map.get("reminders")&&t.map.delete("reminders")}else t.map.delete("date"),t.map.delete("reminders")})),I1(P1(t),"getDateString",(function(e,n){var r,o,i,a=null===(r=t.editor.plugins)||void 0===r?void 0:r.i18n.language,s=null===(o=t.editor.options.blots)||void 0===o||null===(i=o.date)||void 0===i?void 0:i.timeLocale,l="en-US"===s||"en-GB"!==s&&12===Zn();return"".concat(k0()(e).locale("ru"===a?a:"en").format("DD MMM"),"\n      ").concat(n.showTime?k0()(e).locale("en").format(l?" hh:mm A":" HH:mm"):"")})),I1(P1(t),"onAssigneeMouseDown",(function(e){t.editor.mode===fpe&&t.setProps({showAssigneeSelect:!0})})),I1(P1(t),"onAssigneeSelectWantsToClose",(function(){t.setProps({showAssigneeSelect:!1})})),I1(P1(t),"onAssigneeChange",(function(e){t.map.set("assignee",e)})),t.isSeparableByClickApplicable=!0,t.addCanExecActions(["delete","backspace"]),t.disallowReplace=!0,t.debouncedUpdateStepsCount=hf()(t.updateStepsCount,1e3,{trailing:!0}),t}return t=i,r=[{key:"create",value:function(e){var t=k1(R1(i),"create",this).call(this),n=document.createElement("div");return n.setAttribute("contenteditable",!1),n.classList.add(this.containerClassName),t.appendChild(n),t}},{key:"createBlot",value:function(e){var t=a().create("step-aggregator");return this.addCaretTrap(e,t.domNode),t}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=k1(R1(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.store.observe(this.map,this.mapObserver),document.addEventListener("mousedown",this.onDocumentMouseDown,!1),this.editor.on("SCROLL_UPDATE",this.debouncedUpdateStepsCount),this.render()}},{key:"detach",value:function(){if(k1(R1(i.prototype),"detach",this)){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=k1(R1(i.prototype),"detach",this)).call.apply(e,[this].concat(n))}this.store.unobserve(this.map,this.mapObserver),document.removeEventListener("mousedown",this.onDocumentMouseDown,!1),this.editor.off("SCROLL_UPDATE",this.debouncedUpdateStepsCount)}},{key:"allAggregators",get:function(){return this.editor.scroll.descendants((function(e){return"step-aggregator"===e.constructor.blotName}))}},{key:"allSteps",get:function(){return this.editor.scroll.descendants((function(e){return"step"===e.constructor.blotName}))}},{key:"applyForAllAggregatorsMap",value:function(e,t){this.allAggregators.forEach((function(n){n.map.set(e,t)}))}},{key:"onApplyName",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.renameInputNode){var t=this.renameInputNode.value.trim();e&&""!==t&&this.applyForAllAggregatorsMap("name",t)}this.setProps({renaming:!1})}},{key:"render",value:function(){k1(R1(i.prototype),"render",this).call(this);var e=this.domNode.querySelector("."+this.statics.containerClassName),t=this.props.renaming,n=this.map.get("name")||"About steps",r=this.editor.plugins.i18n;(0,s.sY)((0,s.h)(s.HY,null,(0,s.h)("div",{className:"step-aggregator-top"},t?(0,s.h)("div",{className:"step-aggregator-name renaming"},(0,s.h)("input",{ref:this.onRenameInputNodeRef,type:"text",onKeyDown:this.onRenameInputKeyDown,value:n,onInput:this.onRenameInput,placeholder:r.get("step.aggregator_placeholder")})):(0,s.h)("div",{className:"step-aggregator-name",onClick:this.onNameClick,onMouseDown:function(e){e.preventDefault()}},(0,s.h)("span",I1({},Gr.qZ,n),n))),(0,s.h)("div",{className:"step-aggregator-bottom"},(0,s.h)("div",{className:"step-aggregator-left"},(0,s.h)("span",{className:"steps-count",ref:this.onStepsCountRef,onClick:this.onStepsCounterClick},"Total Steps:")),(0,s.h)("div",{className:"step-aggregator-right"},(0,s.h)(_1,{blot:this}),(0,s.h)(w1,{blot:this})))),e)}},{key:"remove",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=k1(R1(i.prototype),"remove",this)).call.apply(e,[this].concat(n))}},{key:"cloneSelf",value:function(){var e=this.store.createMap(),t=this.getMapParams();return a().query(this.map.get("type")).initMap(e,this.store,t),e.get("id")}},{key:"getBlotInsertParams",value:function(e,t){var n=k1(R1(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{initParams:this.getMapParams()})}},{key:"getMapParams",value:function(){return{name:this.map.get("name")}}},{key:"onDraggingGetPhantomPos",value:function(){return this.domNode.getBoundingClientRect()}},{key:"toHTML",value:function(){return this.domNode.outerHTML}}])&&x1(t.prototype,n),r&&x1(t,r),i}(M1(O));function L1(e){return(L1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B1(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F1(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function F1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H1(e,t,n){return(H1="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=W1(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function V1(e,t){return(V1=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z1(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W1(e);if(t){var o=W1(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q1(this,n)}}function q1(e,t){if(t&&("object"===L1(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return G1(e)}function G1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W1(e){return(W1=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}j1.blotName="step-aggregator",j1.tagName="DIV",j1.className="step-aggregator",j1.containerClassName="step-aggregator-container",j1.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type",j1.blotName),n.name&&e.set("name",n.name)};var Z1=parseInt(bt.pageWidth.replace("px","")),K1=function(e){!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}}),t&&V1(e,t)}(i,e);var t,n,r,o=z1(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Y1(G1(t=o.call(this,e)),"getMaxWidth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=e;if(!e){var r=t.container.domNode.getBoundingClientRect();n=r.width}var o=t.props.width,i=2.75;return t.parent.children.head!==G1(t)&&t.parent.children.tail!==G1(t)||(i-=1),Math.floor(n*o/100)-35*i})),Y1(G1(t),"mapObserver",(function(){t.render()})),Y1(G1(t),"onMouseMove",(function(e){if(!t.scroll.props.dragSession){if(e.target!==t.domNode)return"text"!==t.scroll.domNode.style.cursor&&(t.scroll.domNode.style.cursor=t.editor.api.getCursorStyle("text")),void(t.parent.domNode.classList.contains("bordered-grid")&&t.parent.domNode.classList.remove("bordered-grid"));var n=t.container.getCols(),r=t.domNode.getBoundingClientRect(),o=e.clientX,i=e.clientY;if(r.y<i&&r.y+r.height>i){r.x<=o&&r.x+15>=o&&G1(t)!=n[0]&&(t.scroll.domNode.style.cursor=t.editor.api.getCursorStyle("left"),t.parent.domNode.classList.contains("bordered-grid")||t.parent.domNode.classList.add("bordered-grid")),r.x+r.width-15<=o&&r.x+r.width>=o&&G1(t)!=n[n.length-1]&&(t.scroll.domNode.style.cursor=t.editor.api.getCursorStyle("right"),t.parent.domNode.classList.contains("bordered-grid")||t.parent.domNode.classList.add("bordered-grid")),r.x+15<o&&r.x+r.width-15>o&&(t.scroll.domNode.style.cursor=t.editor.api.getCursorStyle("text"),t.parent.domNode.classList.contains("bordered-grid")&&t.parent.domNode.classList.remove("bordered-grid"))}}})),Y1(G1(t),"onMouseLeave",(function(e){null!=e.relatedTarget&&null!=a().find(e.relatedTarget)&&("grid"==a().find(e.relatedTarget).constructor.blotName||null!=a().find(e.relatedTarget).parent&&"grid"==a().find(e.relatedTarget).parent.constructor.blotName||(t.scroll.domNode.style.cursor=t.editor.api.getCursorStyle("text")))})),t.width,t.map,t.token=!1,t.domNode.setAttribute("data-type","grid"),t.domNode.setAttribute("data-border",null),t.domNode.classList.add("grid"),t.resize=!1,t.addCanExecActions(Bc.canExecActions),t}return t=i,(n=[{key:"needFlatten",value:function(){return(this.editor.blotsConfig.grid||{}).flatten}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=H1(W1(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this._attached||(this._attached=!0,this.needFlatten()||(this.store.observe(this.map,this.mapObserver),this.width=this.map.get("width"),this.editor.mode===this.editor.constructor.MODE_EDIT&&this.resizeHandler()))}},{key:"detach",value:function(){this.domNode.removeEventListener("mousemove",this.onMouseMove),this.domNode.removeEventListener("mouseleave",this.onMouseLeave),this.scroll.domNode.style.cursor=this.editor.api.getCursorStyle("text"),H1(W1(i.prototype),"detach",this).call(this)}},{key:"blotDidUpdate",value:function(e){e.width===this.props.width&&e.index===this.props.index||this.updateSizeAwareBlots()}},{key:"render",value:function(){if(H1(W1(i.prototype),"render",this).call(this),!this.needFlatten()){var e=["--current-width: ".concat(this.props.width,"%;"),"--max-width: ".concat(this.getMaxWidth(),"px;")];this.domNode.setAttribute("style",e.join("")),this.props.width<=50?this.domNode.classList.add("grid_50"):this.domNode.classList.remove("grid_50")}this.gridColOnceRendered&&(this.gridColOnceRendered(),this.gridColOnceRendered=null)}},{key:"updateSizeAwareBlots",value:function(){var e=this.children.head,t=this.domNode.offsetWidth,n=(0,H.AH)(this.domNode,["padding-left","padding-right"],"px");for(t-=n=n["padding-left"]+n["padding-right"];e;)e.isSizeAware&&e.sizeAwareUpdateSize(t),e=e.next}},{key:"resizeHandler",value:function(){var e=this,t=this,n=!1,r=function(e){var t=!1;return e.children.map((function(e){e instanceof Tf&&(t=!0)})),t},o=function(t){if(1==e.resize){var o=n?e.prev:e,i=o.domNode.getBoundingClientRect(),a=o.next.domNode.getBoundingClientRect(),s=o.parent.domNode.getBoundingClientRect(),l=t.clientX,c=100*i.width/s.width,u=100*a.width/s.width,d=null!==o.prev&&3500/s.width,p=null!==o.next.next&&3500/s.width,f=12e3/s.width,h=7e3/s.width,m=c+u;o.domNode.style.flexGrow=0,o.next.domNode.style.flexGrow=0;var g,y,v=f,b=f;d&&(v+=d),r(o)&&(v+=h),p&&(b+=p),r(o.next)&&(b+=h),m-(g=100*(l-i.x)/s.width)<b&&(g=m-b),g<v&&(g=v),y=m-g,e.container.onColResizing(e,n?y:g)}},i=function r(i){document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r),t.resize=!1,t.editor.emitter.emit("grid-resize-end",{}),t.parent.domNode.classList.remove("resize-grid");var a=n?e.prev:e,s=a.domNode.getBoundingClientRect(),l=a.next.domNode.getBoundingClientRect(),c=a.parent.domNode.getBoundingClientRect(),u=(i.clientX,100*s.width/c.width),d=100*l.width/c.width;e.container.onColResized(e,n?d:u),n=!1};this.domNode.addEventListener("mousemove",this.onMouseMove),this.domNode.addEventListener("mouseleave",this.onMouseLeave),this.domNode.addEventListener("mousedown",(function(r){var a=t.container.getCols(),s=t.domNode.getBoundingClientRect(),l=r.clientX,c=r.clientY;if(s.y<c&&s.y+s.height>c){var u=!1;s.x<=l+1&&s.x+15>=l&&t!=a[0]?(r.preventDefault(),r.stopPropagation(),t.resize=!0,t.editor.emitter.emit("grid-resize-start",{}),t.parent.domNode.classList.add("resize-grid"),n=!0,document.addEventListener("mousemove",o),document.addEventListener("mouseup",i),u=!0):s.x+s.width-15<=l&&s.x+s.width>=l&&t!=a[a.length-1]&&(r.preventDefault(),r.stopPropagation(),t.resize=!0,t.editor.emitter.emit("grid-resize-start",{}),t.parent.domNode.classList.add("resize-grid"),n=!1,document.addEventListener("mousemove",o),document.addEventListener("mouseup",i),u=!0),u&&e.container.onColStartResize(e,n)}}))}},{key:"removeChildById",value:function(){var e,t=this;this.gridColOnceRendered=function(){t._childHasRemoved=!0};for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];(e=H1(W1(i.prototype),"removeChildById",this)).call.apply(e,[this].concat(r))}},{key:"optimize",value:function(){0==this.children.length&&this._childHasRemoved&&(console.log("removing gridCol"),this.remove()),this._childHasRemoved=!1}},{key:"toHTML",value:function(e){var t=["flex-basis: 50%;","max-width: 50%;"],n="grid_50";return this.props.width&&(t=["--current-width: ".concat(this.props.width,"%;"),"--max-width: ".concat(this.getMaxWidth(Z1),"px;")],this.props.width>50&&(n="")),"<"+i.tagName+' data-type="grid" class="grid '+n+'" style="'+t.join("")+'" nedit-fix-column-selection="true">'+am(this,e,{allowRawHTML:!0})+"</"+i.tagName+">"}},{key:"getMarkdown",value:function(){var e="";return this.children.forEach((function(t){t.getMarkdown?e+=t.getMarkdown():t.getText&&(e+=t.getText())})),e}}])&&U1(t.prototype,n),r&&U1(t,r),i}(Bc(xD(oj(Eu(tu(g))))));K1.blotName="gridCol",K1.tagName="DIV",K1.defaultChild=null,K1.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Bc.initMap(e,t),e.set("type","gridCol"),e.set("width","auto"),Array.isArray(n.items)){var r,o=B1(n.items);try{for(o.s();!(r=o.n()).done;){var i=r.value,s=i.type;"textLine"===s&&(s=i.textLineType||"paragraph");var l=t.createMap(),c=Object.assign({type:s},i.initParams?i.initParams:i);a().query(s).initMap(l,t,c),e.get("children").push([l.get("id")])}}catch(e){o.e(e)}finally{o.f()}}},K1.allowedChildren=[pf,Hb,qF,QV,Lz,OQ,yM,Tf,hh,BY,KZ,dK,_$,Kw,E0,gX,Vf,nJ,n0,j1];const $1=K1;var Q1=n(32806);function X1(e){return(X1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function J1(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return e3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e3(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function e3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function t3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n3(e,t,n){return(n3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s3(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function r3(e,t){return(r3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o3(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s3(e);if(t){var o=s3(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return i3(this,n)}}function i3(e,t){if(t&&("object"===X1(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a3(e)}function a3(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s3(e){return(s3=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c3=function(e){!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}}),t&&r3(e,t)}(i,e);var t,n,r,o=o3(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),l3(a3(t=o.call(this,e)),"mapObserver",(function(){t.render()})),l3(a3(t),"onFocus",(function(){t.domNode.classList.add("focused-grid")})),l3(a3(t),"onBlur",(function(){t.domNode.classList.remove("focused-grid")})),l3(a3(t),"onMouseLeave",(function(e){t.domNode.classList.contains("bordered-grid")&&t.domNode.classList.remove("bordered-grid")})),t.scroll,t.domNode.classList.add("grid-wrapper"),t}return t=i,(n=[{key:"getColMaxAutoWidth",value:function(){return 100/this.children.length}},{key:"getGridColWidth",value:function(e){return this.map.get("widths").get(e.id)}},{key:"setGridColWidth",value:function(e,t){return this.map.get("widths").set(e.id,t)}},{key:"render",value:function(){var e=this;n3(s3(i.prototype),"render",this).call(this);var t=this.props.resizeWidths||[],n=100,r=0,o=2;if(ce(this.children,(function(i,a){var s=t[a]||e.getGridColWidth(i);s&&"auto"!==s?(t[a]=s,n-=s,0!==a&&a!==e.children.length-1||o--):r++})),r){var a=function(e,t,n,r){var o=Q1.gridColSidePadding/e*100,i=(e*t/100-2*Q1.gridColSidePadding*n+Q1.gridColSidePadding*r)/e*100/n;return{sideAutoColsWidth:i+o,autoColsWidth:i+2*o}}(this.domNode.getBoundingClientRect().width,n,r,o),s=a.sideAutoColsWidth,l=a.autoColsWidth;if(ce(this.children,(function(n,r){t[r]||(0===r||r===e.children.length-1?t[r]=s:t[r]=l)})),n-=s*o+l*(r-o),s<.5||l<.5)return this.resetColsWidths()}ce(this.children,(function(e,n){e.setProps({width:t[n],index:n}),e=e.next})),Math.abs(n)>=1&&this.fixColsWidth(n)}},{key:"fixColsWidth",value:function(e){var t=this;console.info("run fixing grid cols widths");var n=0;if(ce(this.children,(function(e,r){t.getGridColWidth(e)&&n++})),!n)return console.warn("Grid.fixColsWidth was called, but there were no cols with width to fix");var r=e/n;this.store.transaction((function(){ce(t.children,(function(e,n){var o=t.getGridColWidth(e);o&&t.setGridColWidth(e,o+r)}))}))}},{key:"resetColsWidths",value:function(){var e=this;this.store.transaction((function(){ce(e.children,(function(t){e.getGridColWidth(t)&&e.setGridColWidth(t,null)}))}))}},{key:"onColStartResize",value:function(e,t){var n=e.props.width,r=t?e.prev:e.next;if(r){var o=r.props.width;this.setProps({resize:{gridCol:e,origWidth:n,origRelWidth:o,relPrevious:t,index:ae(this,e),relIndex:ae(this,r)}})}}},{key:"onColResizing",value:function(e,t){var n=this.props.resize,r=n.index,o=n.relIndex,i=n.origWidth,a=n.origRelWidth,s=[];s[r]=t,s[o]=i-t+a,this.setProps({resizeWidths:s})}},{key:"onColResized",value:function(e,t){var n=this,r=this.props.resize,o=r.relPrevious,i=r.origWidth,a=r.origRelWidth,s=i-t+a,l=o?e.prev:e.next;this.store.transaction((function(){n.setGridColWidth(e,t),n.setGridColWidth(l,s)})),this.setProps({resize:null,resizeWidths:null})}},{key:"attach",value:function(){n3(s3(i.prototype),"attach",this).call(this),this._gridInitialized||(this._gridInitialized=!0,this.blotConfig.flatten?(this.domNode.classList.add("flat-grid"),this.updateSizeAwareBlots()):(this.store.observeDeep(this.map,this.mapObserver),this.editor.mode===this.editor.constructor.MODE_EDIT&&(this.handleDragging(),this.domNode.addEventListener("mouseleave",this.onMouseLeave),this.domNode.addEventListener("focusable-focus",this.onFocus),this.domNode.addEventListener("focusable-blur",this.onBlur))))}},{key:"updateSizeAwareBlots",value:function(e){e||(e=this.getCols());var t,n=J1(e);try{for(n.s();!(t=n.n()).done;)t.value.updateSizeAwareBlots()}catch(e){n.e(e)}finally{n.f()}}},{key:"toSelect",value:function(){this.children.head.toSelect()}},{key:"handleDragging",value:function(){var e=this,t=function(t){[].slice.call(e.scroll.domNode.querySelectorAll(".hover-block")).map((function(e){e!=t.domNode&&e.classList.remove("hover-block"),e.classList.remove("hover-top"),e.classList.remove("hover-bottom"),e.classList.remove("hover-left"),e.classList.remove("hover-right")}))};this.scroll.emitter.on("dragging",function(n){var r=e.domNode.getBoundingClientRect();r.y<=n.y&&r.y+10>n.y&&r.x<n.x&&r.x+r.width>n.x&&(t(e),e.domNode.classList.contains("hover-block")||e.domNode.classList.add("hover-block"),e.domNode.classList.contains("hover-top")||e.domNode.classList.add("hover-top")),r.y+r.height-10<n.y&&r.y+r.height>n.y&&r.x<n.x&&r.x+r.width>n.x&&(t(e),e.domNode.classList.contains("hover-block")||e.domNode.classList.add("hover-block"),e.domNode.classList.contains("hover-bottom")||e.domNode.classList.add("hover-bottom")),e.parent.children.tail==e&&r.y+r.height<n.y&&(t(e),e.domNode.classList.contains("hover-block")||e.domNode.classList.add("hover-block"),e.domNode.classList.contains("hover-bottom")||e.domNode.classList.add("hover-bottom"))}.bind(this))}},{key:"getCols",value:function(){var e=[];return this.children.map((function(t){e.push(t)})),e}},{key:"indexOf",value:function(e){return[].slice.call(this.domNode.childNodes).indexOf(e.domNode)}},{key:"removeChildById",value:function(){var e;this._childHasRemoved=!0;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=n3(s3(i.prototype),"removeChildById",this)).call.apply(e,[this].concat(n))}},{key:"optimize",value:function(e){var t=this;n3(s3(i.prototype),"optimize",this).call(this,e),1===this.children.length&&this._childHasRemoved&&(this._childHasRemoved=!1,this.store.transaction((function(){var e=t.index,n=t.children.head.children.head,r=t.container;for(console.log("moving gridCol content to scroll");n;)r.moveChild(n.id,e),e++,n=n.next}))),this._childHasRemoved=!1}},{key:"detach",value:function(){n3(s3(i.prototype),"detach",this).call(this),this.map.unobserveDeep(this.mapObserver),this.domNode.removeEventListener("mouseleave",this.onMouseLeave),this.domNode.removeEventListener("focusable-focus",this.onFocus),this.domNode.removeEventListener("focusable-blur",this.onBlur)}},{key:"toHTML",value:function(e){var t=[];return this.children.forEach((function(n){n.toHTML&&t.push(n.toHTML(e))})),"<"+i.tagName+' class="grid-wrapper">'+t.join("")+"</"+i.tagName+">"}},{key:"getMarkdown",value:function(){var e="";return this.children.forEach((function(t){e+=t.getMarkdown()})),e}}])&&t3(t.prototype,n),r&&t3(t,r),i}(Bc(tu(eM)));c3.allowedChildren=[$1],c3.blotName="grid",c3.tagName="SECTION",c3.scope=a().Scope.BLOCK_BLOT,c3.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Bc.initMap(e,t),e.set("type","grid"),e.set("widths",new t.types.Map),Array.isArray(n.items)){var r,o=J1(n.items);try{for(o.s();!(r=o.n()).done;){var i=r.value;if("gridCol"===i.type){var a=t.createMap();$1.initMap(a,t,i),e.get("children").push([a.get("id")])}}}catch(e){o.e(e)}finally{o.f()}}else for(var s=0;2!=s;s++){var l=t.createMap();$1.initMap(l,t,n),e.get("children").push([l.get("id")])}};const u3=c3;function d3(e){return(d3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p3(){return(p3=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f3(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return h3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h3(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function h3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g3(e,t,n){return(g3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_3(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function y3(e,t){return(y3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v3(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_3(e);if(t){var o=_3(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b3(this,n)}}function b3(e,t){if(t&&("object"===d3(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 _3(e){return(_3=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w3=function(e){!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}}),t&&y3(e,t)}(i,e);var t,n,r,o=v3(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).domNode.classList.add("text-blot"),t.addCanExecActions(["format","clear-formatting","delete"]),t}return t=i,(n=[{key:"addNextBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.statics.blotName,n=this.map.get("indent"),r=Object.assign(e,{indent:e.hasOwnProperty("indent")?e.indent:n,after:this.id});return this.parent.addBlot(t,r)}},{key:"contextMenu",get:function(){var e=g3(_3(i.prototype),"contextMenu",this);return Object.assign(e,{indent:!0}),e}},{key:"handleKeyDown",value:function(e){var t,n=!1,r=f3(this.getChildrenForAction());try{for(r.s();!(t=r.n()).done;){var o=t.value;o.handleKeyDown&&o.handleKeyDown(e)&&(n=!0)}}catch(e){r.e(e)}finally{r.f()}return n}},{key:"renderContent",value:function(){var e={align:this.align};return(0,s.h)(s.HY,null,(0,s.h)("div",{className:"uneditable-container",contenteditable:"false"},"🙂"),(0,s.h)(KN,p3({parent:this,characters:this.map.get("characters")},e)))}},{key:"getBlotInsertParams",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=(e=g3(_3(i.prototype),"getBlotInsertParams",this)).call.apply(e,[this].concat(n)),a=Object.assign(o,{textLineType:this.constructor.blotName});return a}}])&&m3(t.prototype,n),r&&m3(t,r),i}(se([DM,Ju,Eu,bd,Vu,tu])(Vf));w3.blotName="paragraph-v2",w3.tagName="DIV",w3.initMap=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type",w3.blotName),HN.initMap(e,t,n),DM.initMap(e,t,n),Ju.initMap(e,t,n)},w3.allowedChildren=[HN],w3.isTextBlot=!0;const C3=w3;function S3(e){return(S3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E3(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||O3(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 x3(e){return function(e){if(Array.isArray(e))return T3(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O3(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 k3(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=O3(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function O3(e,t){if(e){if("string"==typeof e)return T3(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T3(e,t):void 0}}function T3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P3(e,t,n){return(P3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=D3(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function R3(e,t){return(R3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I3(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=D3(e);if(t){var o=D3(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return M3(this,n)}}function M3(e,t){if(t&&("object"===S3(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return N3(e)}function N3(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D3(e){return(D3=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L3="data-editor-ignore-select";function B3(e){return e instanceof g||e instanceof O}var F3=function(e){!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}}),t&&R3(e,t)}(i,e);var t,n,r,o=I3(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),j3(N3(n=o.call(this,e,t)),"onScrollKeydown",(function(e){if(n.handlingKeydown){if(document.body.contains&&!document.body.contains(n.domNode.parentNode))return console.warn("prevent the onScrollKeydown listener to execute on a detached editor");var t=!1;if(!e||!e.target||"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName){if(eC(e,n.editor)&&(t=!0),!t){var r,o=k3(n.selectedBlocks);try{for(o.s();!(r=o.n()).done;){var i=r.value;i.handleKeyDown&&i.handleKeyDown(e)&&(t=!0)}}catch(e){o.e(e)}finally{o.f()}}t&&n.emitter.emit("keydown-processed",{key:e.keyCode})}}})),j3(N3(n),"onScrollInput",(function(e){var t,r=k3(n.selectedBlocks);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.handleInput&&o.handleInput(e)}}catch(e){r.e(e)}finally{r.f()}})),j3(N3(n),"onScrollMousedown",(function(e){n.editor&&n.editor.options&&n.editor.options.focusMode&&n.editor.isEditable()&&(n.editor.scroll.domNode.querySelector(".focus-mode")||n.editor.scroll.domNode.classList.add("focus-mode"))})),j3(N3(n),"onScrollDragStart",(function(e){e.preventDefault()})),j3(N3(n),"onSelectionChange",(function(e,t,r,o){var i=n.selection.getRange()[1];if(i){var a=n.selection.getBlotsInRange(i,{filterLastBlotHalfSelection:!o.isUserSelecting});if(a=a.map((function(e){return e.getWrappedBlot?e.getWrappedBlot():e})),n.setSelectedBlots(a),n.focused||(n.focused=!0,n.editor.emit("focus")),0===e.length&&(!t||e.index!==t.index)){var s=te(re(i.start.node));if(s&&s instanceof pc){var l=n.selection.getRange({offsetBlot:s})[0];if(l.index===s.length()-1)s.getFormat(l.index-1,1).hasOwnProperty("link")&&n.selection.format("link",!1)}}}else{var c=window.getSelection(),u=!0;if(c.anchorNode&&c.anchorNode===c.focusNode)try{var d=(0,H.B8)(c.anchorNode);d.closest&&(d.closest("["+L3+'="1"]')||d.closest("."+fe.W$))&&(u=!1)}catch(e){console.warn("got error while checking closest:",e),u=!1}u&&(n.setSelectedBlots([]),n.focused&&(n.focused=!1,n.editor.emit("blur")))}})),j3(N3(n),"mapObserver",(function(e){n.render()})),n.selectedBlocks=[],n.oldSelected=[],n.focusedBlot=null,n.store=t.store,n.rootStore=t.store,n.parentStore=t.store,n.map=t.map,n.scrolledOld=0,n.findWord=n.findWord.bind(N3(n)),n.enterFunctionAddEnter=n.enterFunctionAddEnter.bind(N3(n)),n.enterFunction=n.enterFunction.bind(N3(n)),n.enterFunctionAdd=n.enterFunctionAdd.bind(N3(n)),n.focused=!1,n.editor=t.editor,n.emitter=t.emitter,n.selection=new il(N3(n),n.emitter),n.id=e.id,n.timerFocus=!1,n.startDragDrop=!1,n.token=!1,n.batch=!1,n.batchMutations=[],n.batchCnt=0,n.loaded=!1,n.handlingKeydown=!0,n.willBeFocused=null,n.ignoringUpdates=!1,n.addCanExecActions([].concat(x3(Bc.canExecActions),["move-blot-one-step"])),n.setChildrenListener(n.map),n}return t=i,(n=[{key:"blocks",get:function(){return console.warn("this.scroll.blocks is deprecated, use this.store.blocks instead"),this.store.blocks}},{key:"fontSize",get:function(){return Array.from(this.domNode.classList).map((function(e){return-1!==e.indexOf("font-size-")?e.replace("font-size-",""):""})).join("")}},{key:"containerChildren",get:function(){return this.editor.store.rootChildren}},{key:"isEditable",get:function(){return"true"===this.domNode.getAttribute("contenteditable")}},{key:"execInBatch",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"user";this.batchStart();try{e()}catch(e){t=e}if(this.batchEnd(n),t)throw t}},{key:"batchStart",value:function(){0===this.batchCnt&&(this.batchMutations=[]),this.batchCnt++,this.batch=!0}},{key:"batchEnd",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user";if(this.batchCnt--,this.batchCnt<0&&(this.batchCnt=0),0===this.batchCnt){this.batch=!1,this.batchMutations=this.batchMutations.concat(this.observer.takeRecords());var t=this.batchMutations;this.batchMutations=[],this.update(t,null,e)}}},{key:"ignoreUpdates",value:function(){this.ignoringUpdates=!0}},{key:"resumeUpdates",value:function(){this.observer.takeRecords(),this.ignoringUpdates=!1}},{key:"unsetEditable",value:function(){if(!this.editor.isEditable())return console.warn("#unsetEditable works only in the edit mode");this.domNode.setAttribute("contenteditable",!1)}},{key:"setEditable",value:function(){if(!this.editor.isEditable())return console.warn("#setEditable works only in the edit mode");this.domNode.setAttribute("contenteditable",!0)}},{key:"stopHandlingKeydown",value:function(){this.handlingKeydown=!1}},{key:"resumeHandlingKeydown",value:function(){this.handlingKeydown=!0}},{key:"init",value:function(){var e=this;console.time("initial content render"),this.domNode.setAttribute("spellcheck",!this.editor.options||!1!==this.editor.options.spellcheck),this.editor.options.autocapitalize&&this.domNode.setAttribute("autocapitalize","on"),this.store.observe(this.store.root,this.mapObserver),this.editor.isEditable()&&(document.addEventListener("keydown",this.onScrollKeydown,!1),"mobile"===this.editor.options.keyboardMode&&document.addEventListener("input",this.onScrollInput,!1)),this.editor&&this.editor.options&&this.editor.options.focusMode&&this.editor.isEditable()&&document.addEventListener("mousedown",this.onScrollMousedown,!1),this.domNode.addEventListener("dragstart",this.onScrollDragStart),this.emitter.on("BLOCK_ADDED",(function(t){e.update(),e.selection.setNativeRange(t.children.head.domNode,0)})),this.emitter.on("start-dragging",(function(t){e.setProps({dragSession:!0})})),this.emitter.on("stop-dragging",(function(t){e.setProps({dragSession:!1})})),this.editor.emitter.on("set-focus-mode",(function(t){e.editor&&e.editor.options&&e.editor.isEditable()&&e.editor.scroll.selection.getRange()[0]&&(e.setProps({focusMode:t.mode}),t.mode?(e.editor.scroll.domNode.classList.add("focus-mode"),document.addEventListener("mousedown",e.onScrollMousedown,!1)):(e.editor.scroll.domNode.classList.remove("focus-mode"),document.removeEventListener("mousedown",e.onScrollMousedown,!1)))})),this.enable(),this.editor.emitter.emit("scroll-init"),console.timeEnd("initial content render")}},{key:"enable",value:function(){0==this.containerChildren.length?(this.addBlot("paragraph"),this.loaded=!0):(this.batchStart(),this.render(),this.batchEnd()),this.selection.emitter.on("selectionchange",this.onSelectionChange)}},{key:"detach",value:function(){P3(D3(i.prototype),"detach",this).call(this),document.removeEventListener("keydown",this.onScrollKeydown,!1),this.domNode.removeEventListener("dragstart",this.onScrollDragStart),this.editor&&this.editor.options&&this.editor.options.focusMode&&this.editor.isEditable()&&document.removeEventListener("mousedown",this.onScrollMousedown,!1)}},{key:"setSelectedBlots",value:function(e){var t,n=this.selectedBlocks;this.oldSelected=this.selectedBlocks,this.selectedBlocks=[],e.length&&(t=ie(e[0],(function(e){return e.isSelectable})),this.willBeFocused=t),this.focusedBlot&&this.focusedBlot!==t&&this.focusedBlot.setProps&&this.focusedBlot.setProps({focused:!1});var r,o=new Set;if(e.forEach((function(e){(e=ie(e,(function(e){return e.isSelectable})))&&o.add(e)})),e=Array.from(o),this.selectedBlocks=e.slice(),t&&t.setProps&&t.setProps({focused:!0}),this.focusedBlot=t,this.willBeFocused=null,e.length>1){r=x3(n).filter((function(e){return!o.has(e)}));var i,a=k3(e);try{for(a.s();!(i=a.n()).done;)i.value.setProps({selected:!0})}catch(e){a.e(e)}finally{a.f()}}else r=n;var s,l=k3(r);try{for(l.s();!(s=l.n()).done;){var c=s.value;c.setProps&&c.setProps({selected:!1})}}catch(e){l.e(e)}finally{l.f()}}},{key:"getSelectedBlocks",value:function(){return this.selectedBlocks}},{key:"findWord",value:function(e,t){if(" "===e[t-1])return new Promise((function(e,n){e(t)}));var n,r="",o=!1;return e=e.substr(0,t),new Promise((function(t,i){var a=e.split("").reverse().map((function(t,i){return" "!==t&&","!==t&&"."!==t&&":"!==t&&";"!==t&&"|"!==t&&"\\"!==t&&"/"!==t||(o=!0),o||(n=i,r+=t,n=e.length-r.length),new Promise((function(e,n){e(t)}))}));Promise.all(a).then((function(e){t(n)}))}))}},{key:"handleTab",value:function(e,t){}},{key:"enterFunctionAddEnter",value:function(e,t,n,r,o,i){var a=this;this.blocks.insert(t,[this.store.types.Map]);var s=this.blocks.get(t);this.emitter.emit("add-paragraph",{source:"user",index:t,map:s,content:i,cursor:r,parent:n.parent.id}),this.updatePositions(),clearTimeout(this.timerFocus),this.timerFocus=setTimeout((function(){var e=document.querySelector(".focused-block"),t=e.getBoundingClientRect(),n=a.domNode.getBoundingClientRect();t.top>n.top+n.height-10&&e.scrollIntoView(!1)}),100)}},{key:"enterFunctionAdd",value:function(e,t,n,r,o,i,a){this.selection.cursor.attach(),r.children.forEachAt(i.start,r.length()-i.start,(function(e){a.push(e)})),this.enterFunctionAddEnter(e,n,r,o,i,a)}},{key:"enterFunction",value:function(e,t,n,r,o,i,s){var l=this;t instanceof a().Leaf?this.findWord(t.text,e.start.offset).then((function(a){var c=t.split(e.start.offset);t.parent.insertBefore(l.selection.cursor,c),l.enterFunctionAdd(e,t,n,r,o,i,s)})):(t.insertBefore(this.selection.cursor,e.start.node),this.enterFunctionAdd(e,t,n,r,o,i,s))}},{key:"handleLinebreak",value:function(){var e=this,t=this.selection.getNativeRange();if(t.start.node==t.end.node&&t.start.offset==t.end.offset){var n=this.getBlock(a().find(t.start.node));if("tableCell"!=n.parent.constructor.blotName){var r=a().find(t.start.node,!1);if(null!=r){if(r instanceof a().Leaf){var o=r.split(t.start.offset);r.parent.insertBefore(this.selection.cursor,o)}else r.insertBefore(this.selection.cursor,t.start.node);this.selection.cursor.attach();var i=this.selection.cursor.getFormat();new Promise((function(t,n){Object.keys(i).map((function(t){e.selection.cursor.format(t,!1)})),t(e.selection.cursor)})).then((function(t){if(null==t.next){var r=a().create("linebreak");n.appendChild(r),r=a().create("linebreak"),n.appendChild(r),e.update("user"),e.selection.setNativeRange(r.domNode,0)}else{var o=a().create("linebreak");n.insertBefore(o,t.next),e.update("user"),e.selection.setNativeRange(o.next.domNode,0)}}))}}}}},{key:"setContents",value:function(){for(var e=[],t={},n=0;n<this.blocks.length;n++){var r=this.blocks.get(n);if(r.get("parent_id")==this.id)e.push(r);else{var o=r.get("parent_id");void 0===t[o]&&(t[o]=[]),t[o].push(r)}}e.sort((function(e,t){return e.get("index")-t.get("index")})),Object.keys(t).map((function(e){t[e].sort((function(e,t){return e.get("index")-t.get("index")}))}));for(var i=0;i<e.length;i++){var s=e[i],l=s.get("type"),c=void 0;"paragraph"==l?c=a().create("block"):"table"==l?c=a().create("table"):"image"==l?c=a().create("image",s.get("src")):"grid"==l?c=a().create("grid"):"list"==l&&(c=a().create("list",s.get("listType"))),c.index=s.get("index"),c.parent_id=this.id,c.map=s,c.editor=this.editor,c.scroll=this,c.enable(),"grid"==l&&c.setContents(t[s.get("id")])}this.loaded=!0,this.updatePositions(),this.update("user")}},{key:"getSelection",value:function(){return this.update(),this.selection.getRange()[0]}},{key:"setSelection",value:function(e,t,n){if(null==e)this.selection.setRange(null,t||"api");else{var r=new ol(e,t);this.selection.setRange(r,n)}}},{key:"path",value:function(e){return P3(D3(i.prototype),"path",this).call(this,e).slice(1)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(B3,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var o=[],i=r;return t.children.forEachAt(n,r,(function(t,n,r){B3(t)?o.push(t):t instanceof a().Container&&(o=o.concat(e(t,n,i))),i-=r})),o};return n(this,e,t)}},{key:"formatTextBlots",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"user";Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]);var r,o=k3(e);try{for(o.s();!(r=o.n()).done;){var i,a=r.value,s=a.blot,l=a.range,c=k3(t);try{for(c.s();!(i=c.n()).done;){var u=i.value,d=u.format,p=u.value;s.formatText(l.index,l.length,d,p,n)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}this.optimize()}},{key:"getByIndex",value:function(e){var t=[].slice.call(this.domNode.childNodes);return!(t.length<e+1)&&a().find(t[e])}},{key:"indexOf",value:function(e){return[].slice.call(this.domNode.childNodes).indexOf(e.domNode)}},{key:"getBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e?null:e instanceof zh?e:this.getBlock(e.parent)}},{key:"getContainerBlot",value:function(e){return e?e.isContainer?e:this.getContainerBlot(e.parent):null}},{key:"updatePositions",value:function(){1==this.loaded&&(this.children.forEach((function(e){e.domNode.classList.remove("first-block"),e.domNode.classList.remove("last-block")})),null!=this.children.head&&this.children.head.domNode.classList.add("first-block"),null!=this.children.tail&&this.children.tail.domNode.classList.add("last-block"))}},{key:"addDefaultParagraph",value:function(){if(this.scroll.children.length)console.warn("Scroll#addDefaultParagraph was called on not an empty scroll");else{var e={},t=this.selection.getNativeRange();t&&t.native&&t.native.startContainer===t.native.endContainer&&t.native.startContainer===this.domNode&&(e={focus:{index:0}}),console.info("all content was removed from the editor, add paragraph with opts",e),this.addBlot("paragraph",e)}}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{P3(D3(i.prototype),"optimize",this).call(this,e,t)}catch(e){console.warn(e)}0===this.children.length&&0===this.containerChildren.length&&this.addDefaultParagraph(),e.length>0&&this.emitter.emit("SCROLL_OPTIMIZE",e,t)}},{key:"remove",value:function(e){if(e)return P3(D3(i.prototype),"remove",this).call(this);this.addDefaultParagraph()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"user";if(!this.editor.destroyed&&!1!==this.editor.options.scrollUpdate&&0!=this.transaction)if(!0!==this.batch){if(!this.ignoringUpdates){var n="attributes";if("string"==typeof e&&(t=e),Array.isArray(e)||(e=this.observer.takeRecords()),"string"!=typeof e&&e.map((function(e){"attributes"!=e.type&&(n=e.type)})),"string"==typeof e||0==e.length||"attributes"!=n){(e.length>0||t)&&this.emitter.emit("SCROLL_BEFORE_UPDATE",t,e);var r=(e=e.filter((function(e){if(!e.target)return!0;var t=e.target.nodeType===Node.TEXT_NODE?e.target.parentNode:e.target;return!(t&&t.closest&&t.closest("."+fe.W$))}))).concat([]);if(P3(D3(i.prototype),"update",this).call(this,r,{mutations:r,source:t}),e.length>0||t){var o,a=new Set,s=new Map,l=k3(e);try{for(l.s();!(o=l.n()).done;){var c=o.value;if(c.target){var u=s.get(c.target);u||(u=re(c.target))&&(u=te(u)),u&&(a.add(u),s.set(c.target,u))}}}catch(e){l.e(e)}finally{l.f()}this.emitter.emit("SCROLL_UPDATE",t,e,a)}}}}else Array.isArray(e)&&(this.batchMutations=this.batchMutations.concat(e))}},{key:"render",value:function(){this.editor.options.render&&(P3(D3(i.prototype),"render",this).call(this),this.props.dragSession?this.domNode.classList.add("drag-session"):this.domNode.classList.remove("drag-session"),this.editor&&this.editor.options&&this.editor.options.focusMode&&this.editor.isEditable()&&this.editor.scroll.selection.getRange()[0]&&this.editor.scroll.domNode.classList.add("focus-mode"),this.emitter.emit("SCROLL_RENDER",{}))}},{key:"exec",value:function(e){return P3(D3(i.prototype),"exec",this).call(this,e)}},{key:"setMouseCursor",value:function(e){this.domNode.setAttribute("data-force-cursor",e)}},{key:"resetMouseCursor",value:function(){this.domNode.removeAttribute("data-force-cursor")}},{key:"setOverlay",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=document.createElement("div");for(var n in t.classList.add("editor-overlay"),e)t.style[n]=e[n];var r=this.editor.scrollingContainer;t.style.height=r.scrollHeight+"px",r.appendChild(t)}},{key:"resetOverlay",value:function(){var e=this.editor.scrollingContainer.querySelector(".editor-overlay");e&&e.parentNode.removeChild(e)}},{key:"toHTML",value:function(e){var t=am(this,e,{allowRawHTML:!0});return'<div class="'+this.domNode.className+'" id="'+this.domNode.getAttribute("id")+'">'+t+"</div>"}},{key:"getSelectedContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(t?this.descendants((function(e){return e.isSelectable})):this.selectedBlocks).filter((function(e,t){if(e.isSelectableBlotChild&&t>0)return!1;var n=ie(e,(function(e){return e.isCollapsibleContainer}));return!(n&&n.getSelectableBlot&&n.getSelectableBlot().props.selected)}));n.every((function(e){return ie(e,(function(e){return e.isCollapsibleContainer}))}))&&e.push(ie(n[0],(function(e){return e.isCollapsibleContainer})).constructor.blotName);var r,o=new PD(this,{skipContainers:e}),i=[],a=k3(n);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(s.getBlotInsertParams){var l=this.scroll.selection.getRange({offsetBlot:s}),c=E3(l,1),u=c[0],d=s.getBlotInsertParams(u,o);Array.isArray(d)?i.push.apply(i,x3(d)):i.push(d)}}}catch(e){a.e(e)}finally{a.f()}return o.normalizeOps(i)}},{key:"getSelectedContentsAsMarkdown",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t="";return this.getSelectedContents(e).forEach((function(e){t+=Al(e)})),t}},{key:"getMarkdown",value:function(){var e="";return this.children.forEach((function(t){var n="";t.getMarkdown?n=t.getMarkdown():t.getText&&(n=t.getText()),n.trim()&&(e+=n.trim()+"\n\n")})),e}}])&&A3(t.prototype,n),r&&A3(t,r),i}(se([Bc,xD,oj,Eu,Wc])(a().Scroll));F3.blotName="scroll",F3.className=bt.scrollBlotClass,F3.tagName="DIV",F3.defaultChild=null,F3.allowedChildren=[u3,pf,yM,Hb,qF,QV,Lz,OQ,Tf,hh,BY,KZ,dK,_$,Kw,E0,Vf,C3,gX,nJ,n0,j1],F3.initMap=function(e,t){Bc.initMap(e,t)};const U3=F3;function H3(e){return(H3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q3(e,t,n){return(q3="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Z3(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function G3(e,t){return(G3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W3(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Z3(e);if(t){var o=Z3(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Y3(this,n)}}function Y3(e,t){if(t&&("object"===H3(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 Z3(e){return(Z3=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K3=function(e){!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}}),t&&G3(e,t)}(i,e);var t,n,r,o=W3(i);function i(){return V3(this,i),o.apply(this,arguments)}return t=i,r=[{key:"create",value:function(){return q3(Z3(i),"create",this).call(this)}},{key:"formats",value:function(){return!0}}],(n=[{key:"optimize",value:function(e){q3(Z3(i.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}])&&z3(t.prototype,n),r&&z3(t,r),i}(Lo);K3.blotName="bold",K3.tagName=["STRONG","B"];const $3=K3;function Q3(e){return(Q3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J3(e,t){return(J3=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function e2(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=n2(e);if(t){var o=n2(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return t2(this,n)}}function t2(e,t){if(t&&("object"===Q3(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 n2(e){return(n2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var r2=function(e){!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}}),t&&J3(e,t)}(n,e);var t=e2(n);function n(){return X3(this,n),t.apply(this,arguments)}return n}($3);r2.blotName="italic",r2.tagName=["EM","I"];const o2=r2;function i2(e){return(i2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s2(e,t){return(s2=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l2(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u2(e);if(t){var o=u2(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c2(this,n)}}function c2(e,t){if(t&&("object"===i2(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 u2(e){return(u2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d2=function(e){!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}}),t&&s2(e,t)}(n,e);var t=l2(n);function n(){return a2(this,n),t.apply(this,arguments)}return n}($3);d2.blotName="underline",d2.tagName=["u"];const p2=d2;function f2(e){return(f2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m2(e,t){return(m2=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g2(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v2(e);if(t){var o=v2(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y2(this,n)}}function y2(e,t){if(t&&("object"===f2(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 v2(e){return(v2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b2=function(e){!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}}),t&&m2(e,t)}(n,e);var t=g2(n);function n(){return h2(this,n),t.apply(this,arguments)}return n}($3);b2.blotName="strikethrough",b2.tagName=["del","s"];const _2=b2;var w2=n(22492);function C2(e){return(C2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x2(e,t,n){return(x2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=A2(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function k2(e,t){return(k2=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O2(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A2(e);if(t){var o=A2(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T2(this,n)}}function T2(e,t){if(t&&("object"===C2(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 A2(e){return(A2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P2=function(e){!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}}),t&&k2(e,t)}(i,e);var t,n,r,o=O2(i);function i(){return S2(this,i),o.apply(this,arguments)}return t=i,r=[{key:"create",value:function(e){var t=x2(A2(i),"create",this).call(this,e);return e?e.startsWith("#")||e.startsWith("rgb")?(t.style.color=e,t.removeAttribute(w2.PALETTE_ATTR_FONT)):(t.style.color="",t.setAttribute(w2.PALETTE_ATTR_FONT,e)):t.removeAttribute(w2.PALETTE_ATTR_FONT),t}},{key:"formats",value:function(e){var t=e.style.color||e.getAttribute(w2.PALETTE_ATTR_FONT);return t.startsWith("rgb(")?"#"+(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join(""):t}}],(n=null)&&E2(t.prototype,n),r&&E2(t,r),i}(Lo);function R2(e){return(R2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I2(e){return function(e){if(Array.isArray(e))return M2(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)return;if("string"==typeof e)return M2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M2(e,t)}(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 M2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j2(e,t,n){return(j2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=U2(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function L2(e,t){return(L2=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B2(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=U2(e);if(t){var o=U2(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return F2(this,n)}}function F2(e,t){if(t&&("object"===R2(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 U2(e){return(U2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}P2.blotName="color",P2.className="font-color";var H2=function(e){!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}}),t&&L2(e,t)}(i,e);var t,n,r,o=B2(i);function i(){return N2(this,i),o.apply(this,arguments)}return t=i,r=[{key:"create",value:function(e){var t=j2(U2(i),"create",this).call(this,e),n=e,r=!1,o=!1;return Je.includes(e)?o=!0:tt.includes(e)?(r=!0,o=!0):Object.keys(et).includes(e)?(n=et[e],o=!0):Object.keys(nt).includes(e)&&(n=nt[e],r=!0,o=!0),t.setAttribute("data-highlight",n),r&&t.classList.add("extra-highlight"),o||console.warn('Highlight name "'.concat(e,'" is not supported by editor')),t}},{key:"formats",value:function(e){return e.getAttribute("data-highlight")}}],(n=[{key:"optimize",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=j2(U2(i.prototype),"optimize",this)).call.apply(e,[this].concat(n));var o=this.domNode.getAttribute("data-highlight"),a=[].concat(I2(tt),I2(Object.keys(nt))),s=a.includes(o);if(s){var l=!1,c=!1;this.next instanceof i&&a.includes(o)&&(l=!0,this.domNode.innerText&&!this.domNode.innerText.endsWith(" ")&&this.next.domNode.innerText&&!this.next.domNode.innerText.startsWith(" ")&&(c=!0)),l?this.domNode.classList.contains("has-next-highlight")||this.domNode.classList.add("has-next-highlight"):this.domNode.classList.contains("has-next-highlight")&&this.domNode.classList.remove("has-next-highlight"),c?this.domNode.classList.contains("next-highlight-in-current-word")||this.domNode.classList.add("next-highlight-in-current-word"):this.domNode.classList.contains("next-highlight-in-current-word")&&this.domNode.classList.remove("next-highlight-in-current-word")}}}])&&D2(t.prototype,n),r&&D2(t,r),i}(Lo);function V2(e){return(V2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q2(e,t){return(q2=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G2(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y2(e);if(t){var o=Y2(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return W2(this,n)}}function W2(e,t){if(t&&("object"===V2(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 Y2(e){return(Y2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}H2.blotName="background",H2.className="background-color";var Z2=function(e){!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}}),t&&q2(e,t)}(n,e);var t=G2(n);function n(){return z2(this,n),t.apply(this,arguments)}return n}($3);Z2.blotName="code",Z2.className="inline-code",Z2.tagName=["CODE"];const K2=Z2;function $2(e){return($2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J2(e,t,n){return(J2="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o6(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function e6(e,t){return(e6=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function t6(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o6(e);if(t){var o=o6(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return n6(this,n)}}function n6(e,t){if(t&&("object"===$2(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r6(e)}function r6(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o6(e){return(o6=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a6=function(e){!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}}),t&&e6(e,t)}(i,e);var t,n,r,o=t6(i);function i(){var e;Q2(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return i6(r6(e=o.call.apply(o,[this].concat(n))),"onMouseDown",(function(t){e.mouseDownPosition={x:t.clientX,y:t.clientY}})),i6(r6(e),"onClick",(function(t){if(Ta({x:t.clientX,y:t.clientY},e.mouseDownPosition)>=5)e.mouseDownPosition=null;else{e.mouseDownPosition=null,t.preventDefault(),t.stopPropagation();var n=te(r6(e));n.isText||(n=ne(r6(e)));var r=n.editor;"tableText"===n.constructor.blotName&&n.parent.beginWrite&&n.parent.beginWrite(),r.scroll.selection.setRange({index:n.offset(r.scroll)+e.offset(n),length:0})}})),e}return t=i,r=[{key:"create",value:function(){return J2(o6(i),"create",this).call(this)}},{key:"formats",value:function(){return!0}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=J2(o6(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.scroll.editor.mode===this.scroll.editor.constructor.MODE_EDIT&&(this.domNode.addEventListener("mousedown",this.onMouseDown,!1),this.domNode.addEventListener("click",this.onClick,!1))}},{key:"onTextChange",value:function(e,t,n){var r=n.scroll.selection.getRange()[0],o=n.getFormat(e.index,1),i=this.offset(n),a=this.length();o.placeholder=null,o.underline=null;var s=[],l=r;i<e.index?(s.push.apply(s,[{retain:i},{delete:a},{insert:t,attributes:o}]),l.index=n.offset(n.scroll)+i+1,l.length=0):s.push.apply(s,[{retain:e.index-1},{retain:1,attributes:o},{delete:a}]),n.applyForCharacters(s),n.scroll.selection.setRange(l)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=J2(o6(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.domNode.removeEventListener("mousedown",this.onMouseDown,!1),this.domNode.removeEventListener("click",this.onClick,!1)}}])&&X2(t.prototype,n),r&&X2(t,r),i}(Lo);function s6(e){return(s6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l6(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||u6(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 c6(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u6(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u6(e,t){if(e){if("string"==typeof e)return d6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d6(e,t):void 0}}function d6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h6(e,t,n){return(h6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b6(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function m6(e,t){return(m6=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g6(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b6(e);if(t){var o=b6(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y6(this,n)}}function y6(e,t){if(t&&("object"===s6(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v6(e)}function v6(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b6(e){return(b6=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}a6.blotName="placeholder",a6.tagName="placeholder";var w6=function(e){!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}}),t&&m6(e,t)}(i,e);var t,n,r,o=g6(i);function i(){var e;p6(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _6(v6(e=o.call.apply(o,[this].concat(n))),"getCommentOffset",(function(){for(var t=e.parent,n=[t];t&&!t.map;)t=t.parent,n.push(t);if((n=n.reverse())[0]===e.textBlot&&n.length>=1){var r=e.offset();return n.forEach((function(e){r+=e.offset()})),r}return e.offset()})),_6(v6(e),"removeComment",(function(){e.editor.plugins.undoManager.skip((function(){var t=e.getCommentOffset();e.textBlot.formatText(t,e.length(),"comment-".concat(e.threadId,"-").concat(e.commentColor),!1,"user")}))})),_6(v6(e),"onSetComments",(function(){var t=e.editor.plugins.commentManager.getThreadStatus(e.threadId),n=["resolved","none"].includes(t)?"true":"";e.domNode.getAttribute("data-comment-hide")!==n&&e.domNode.setAttribute("data-comment-hide",n)})),_6(v6(e),"onMouseMove",(function(t){if(!e.commentHide&&!e.isMobile){t.stopPropagation();var n,r=c6(document.querySelectorAll("comment.force-hover"));try{for(r.s();!(n=r.n()).done;){n.value.classList.remove("force-hover")}}catch(e){r.e(e)}finally{r.f()}var o,i=c6(document.querySelectorAll('comment[data-comment-threadId="'+e.threadId+'"]'));try{for(i.s();!(o=i.n()).done;){o.value.classList.add("force-hover")}}catch(e){i.e(e)}finally{i.f()}}})),_6(v6(e),"onMouseLeave",(function(){if(!e.commentHide&&!e.isMobile){var t,n=c6(document.querySelectorAll("comment.force-hover"));try{for(n.s();!(t=n.n()).done;){t.value.classList.remove("force-hover")}}catch(e){n.e(e)}finally{n.f()}}})),_6(v6(e),"onClick",(function(t){var n=(l6(e.editor.scroll.selection.getRange(),1)[0]||{}).length,r=void 0===n?0:n;if(!e.commentHide&&!r&&!e.isMobile){var o=l6(document.querySelectorAll("comment[data-comment-threadId='".concat(e.threadId,"']")),1)[0];if(o){var i=o.__blot.blot.textBlot;i instanceof fN&&(i=i.parent),i.editor.plugins.commentManager.openComments(i.id,{threadId:e.threadId,target:"text"})}}})),_6(v6(e),"onMouseClickDebounce",hf()(e.onClick,100,{trailing:!0})),_6(v6(e),"onMouseClick",(function(t){t.stopPropagation(),e.onMouseClickDebounce(t)})),e}return t=i,r=[{key:"create",value:function(e){var t=h6(b6(i),"create",this).call(this,e),n=JSON.parse(e),r=n.color,o=n.threadId;return-1!==Xe.indexOf(r)&&t.setAttribute("data-comment-color",r),t.setAttribute("data-comment-threadId",o),t.setAttribute("data-comment-hide","true"),t}},{key:"compareDeep",value:function(e,t){var n=C6(e),r=function(e){for(var t=0,n=e.parent;n.parent instanceof i;)t++,n=n.parent;return t},o=n.descendants((function(n){return n instanceof i&&n!==e&&n!==t&&(n.threadId===e.threadId||n.threadId===t.threadId)}),0,e.offset(n));if(o.length){var a=o.filter((function(t){return t.threadId===e.threadId}))[0],s=o.filter((function(e){return e.threadId===t.threadId}))[0];return a&&!s?1:!a&&s?-1:r(s)-r(a)}return 0}},{key:"isAllowToConvert",value:function(e){return!(e.scroll.getSelectedBlocks()[0]instanceof YI)}}],(n=[{key:"threadId",get:function(){return this.domNode.getAttribute("data-comment-threadId")}},{key:"commentColor",get:function(){return this.domNode.getAttribute("data-comment-color")}},{key:"commentHide",get:function(){return"true"===this.domNode.getAttribute("data-comment-hide")}},{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=h6(b6(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.domNode.addEventListener("mousemove",this.onMouseMove,!1),this.domNode.addEventListener("mouseleave",this.onMouseLeave,!1),this.domNode.addEventListener("click",this.onMouseClick,!1),this.textBlot=C6(this),this.editor=this.textBlot.editor,this.isMobile="mobile"===this.editor.options.keyboardMode,this.editor.emitter.on("set-comments",this.onSetComments),this.editor.on("SCROLL_UPDATE",this.onSetComments)}},{key:"detach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=h6(b6(i.prototype),"detach",this)).call.apply(e,[this].concat(n)),this.domNode.removeEventListener("mousemove",this.onMouseMove,!1),this.domNode.removeEventListener("mouseleave",this.onMouseLeave,!1),this.domNode.removeEventListener("click",this.onMouseClick,!1),this.onMouseClickDebounce.cancel(),this.editor.emitter.off("set-comments",this.onSetComments),this.editor.off("SCROLL_UPDATE",this.onSetComments)}},{key:"formats",value:function(){return _6({},"comment-"+this.threadId+"-"+this.commentColor,!0)}},{key:"formatAt",value:function(e,t,n,r){var o=!1;if("comment"===n&&r){var a=C6(this),s=JSON.parse(r);if(0===e&&t===this.length())s.threadId!==this.threadId?Boolean(a.descendants((function(e){return e instanceof i&&e.threadId===s.threadId}),0,this.offset(a)).length)&&(this.isolate(e,t).wrap(n,r),o=!0):o=!0;else{var l=this.offset(a);this.length()-l<e&&this.length()+l>=e+t&&s.threadId===this.threadId&&(o=!0)}}else if(n.startsWith("comment-")&&!r){var c=l6(n.split("-"),2)[1];this.threadId===c&&(this.isolate(e,t).format("comment",r),o=!0)}o||h6(b6(i.prototype),"formatAt",this).call(this,e,t,n,r)}},{key:"optimize",value:function(e){if(this.parent instanceof i&&this.parent.length()===this.length()&&i.compareDeep(this,this.parent)>0){var t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}h6(b6(i.prototype),"optimize",this).call(this,e)}}])&&f6(t.prototype,n),r&&f6(t,r),i}(Lo);function C6(e){var t=te(e);if(!t.isText)for(t=e.parent;t&&!t.isText;)t=t.parent;return t}w6.blotName="comment",w6.tagName="COMMENT";const S6=w6;function E6(e){return(E6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x6(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return k6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k6(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function k6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T6(e,t){return(T6=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A6(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I6(e);if(t){var o=I6(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P6(this,n)}}function P6(e,t){if(t&&("object"===E6(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 R6(e,t,n){return(R6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=I6(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function I6(e){return(I6=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var M6=["italic","underline","strikethrough","link","button","background","color","comment"],N6=function(e){!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}}),t&&T6(e,t)}(i,e);var t,n,r,o=A6(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isHeading=!0,t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","hLarge"),R6(I6(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"getAllowedStyles",value:function(){return M6}},{key:"toHTML",value:function(e){var t,n="",r=x6(this.domNode.attributes);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.name.startsWith("data-")&&(n+=" "+o.name+'="'+o.value+'"')}}catch(e){r.e(e)}finally{r.f()}return'<h1 class="'+this.domNode.className+'"'+n+' id="'+this.id+'" style="text-align:'+this.map.get("align")+';">'+R6(I6(i.prototype),"toHTML",this).call(this,e)+"</h1>"}},{key:"getBlotInsertParams",value:function(e,t){var n=R6(I6(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{textLineType:"hLarge"})}},{key:"getMarkdown",value:function(){var e,t,n;return Tl({delta:{ops:(null===(e=this.map)||void 0===e||null===(t=e.get("characters"))||void 0===t?void 0:t.toDelta())||[]},textLineType:null===(n=this.map)||void 0===n?void 0:n.get("type")})}}])&&O6(t.prototype,n),r&&O6(t,r),i}(pf);N6.blotName="hLarge",N6.tagName="H1",N6.className="nedit-heading";const D6=N6;function j6(e){return(j6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L6(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return B6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B6(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function B6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U6(e,t){return(U6=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H6(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q6(e);if(t){var o=q6(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V6(this,n)}}function V6(e,t){if(t&&("object"===j6(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 z6(e,t,n){return(z6="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=q6(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function q6(e){return(q6=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G6=["italic","underline","strikethrough","link","button","background","color","comment"],W6=function(e){!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}}),t&&U6(e,t)}(i,e);var t,n,r,o=H6(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isHeading=!0,t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","hMedium"),z6(q6(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"getAllowedStyles",value:function(){return G6}},{key:"toHTML",value:function(e){var t,n="",r=L6(this.domNode.attributes);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.name.startsWith("data-")&&(n+=" "+o.name+'="'+o.value+'"')}}catch(e){r.e(e)}finally{r.f()}return'<h2 class="'+this.domNode.className+'"'+n+' id="'+this.id+'" style="text-align:'+this.map.get("align")+';">'+z6(q6(i.prototype),"toHTML",this).call(this,e)+"</h2>"}},{key:"getBlotInsertParams",value:function(e,t){var n=z6(q6(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{textLineType:"hMedium"})}},{key:"getMarkdown",value:function(){var e,t,n;return Tl({delta:{ops:(null===(e=this.map)||void 0===e||null===(t=e.get("characters"))||void 0===t?void 0:t.toDelta())||[]},textLineType:null===(n=this.map)||void 0===n?void 0:n.get("type")})}}])&&F6(t.prototype,n),r&&F6(t,r),i}(pf);W6.blotName="hMedium",W6.tagName="H2",W6.className="nedit-heading";const Y6=W6;function Z6(e){return(Z6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K6(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return $6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $6(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function $6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X6(e,t){return(X6=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J6(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=n4(e);if(t){var o=n4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return e4(this,n)}}function e4(e,t){if(t&&("object"===Z6(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 t4(e,t,n){return(t4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n4(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function n4(e){return(n4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var r4=["italic","underline","strikethrough","link","button","background","color","comment"],o4=function(e){!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}}),t&&X6(e,t)}(i,e);var t,n,r,o=J6(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).isHeading=!0,t}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.set("type","hSmall"),t4(n4(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"getAllowedStyles",value:function(){return r4}},{key:"toHTML",value:function(e){var t,n="",r=K6(this.domNode.attributes);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.name.startsWith("data-")&&(n+=" "+o.name+'="'+o.value+'"')}}catch(e){r.e(e)}finally{r.f()}return'<h3 class="'+this.domNode.className+'"'+n+' id="'+this.id+'" style="text-align:'+this.map.get("align")+';">'+t4(n4(i.prototype),"toHTML",this).call(this,e)+"</h3>"}},{key:"getBlotInsertParams",value:function(e,t){var n=t4(n4(i.prototype),"getBlotInsertParams",this).call(this,e,t);return(0,fe.Ee)(n,{textLineType:"hSmall"})}},{key:"getMarkdown",value:function(){var e,t,n;return Tl({delta:{ops:(null===(e=this.map)||void 0===e||null===(t=e.get("characters"))||void 0===t?void 0:t.toDelta())||[]},textLineType:null===(n=this.map)||void 0===n?void 0:n.get("type")})}}])&&Q6(t.prototype,n),r&&Q6(t,r),i}(pf);o4.blotName="hSmall",o4.tagName="H3",o4.className="nedit-heading";const i4=o4;function a4(e){return(a4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c4(e,t,n){return(c4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f4(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function u4(e,t){return(u4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f4(e);if(t){var o=f4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p4(this,n)}}function p4(e,t){if(t&&("object"===a4(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 f4(e){return(f4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h4=function(e){!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}}),t&&u4(e,t)}(i,e);var t,n,r,o=d4(i);function i(){return s4(this,i),o.apply(this,arguments)}return t=i,r=[{key:"create",value:function(){return c4(f4(i),"create",this).call(this)}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};c4(f4(i),"initMap",this).call(this,e,t,n)}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=c4(f4(i.prototype),"attach",this)).call.apply(e,[this].concat(n))}}])&&l4(t.prototype,n),r&&l4(t,r),i}(zh);function m4(e){return(m4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v4(e,t,n){return(v4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=C4(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function b4(e,t){return(b4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C4(e);if(t){var o=C4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w4(this,n)}}function w4(e,t){if(t&&("object"===m4(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 C4(e){return(C4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}h4.blotName="listText",h4.tagName=zh.tagName,h4.allowedChildren=zh.allowedChildren;var S4=function(e){!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}}),t&&b4(e,t)}(i,e);var t,n,r,o=_4(i);function i(){return g4(this,i),o.apply(this,arguments)}return t=i,r=[{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};v4(C4(i),"initMap",this).call(this,e,t,n),e.set("type",this.blotName)}}],(n=[{key:"attach",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=v4(C4(i.prototype),"attach",this)).call.apply(e,[this].concat(n)),this.domNode.classList.add("nedit-heading")}},{key:"toHTML",value:function(e){return"<".concat(this.constructor.tagName.toLowerCase(),' class="').concat(this.domNode.className,'">').concat(v4(C4(i.prototype),"toHTML",this).call(this,e),"</").concat(this.constructor.tagName.toLowerCase(),">")}}])&&y4(t.prototype,n),r&&y4(t,r),i}(YD);function E4(e){return(E4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k4(e,t){return(k4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A4(e);if(t){var o=A4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return T4(this,n)}}function T4(e,t){if(t&&("object"===E4(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 A4(e){return(A4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}S4.blotName="hLarge-toggle",S4.tagName="H1",S4.tooltipPathSuffix="heading";var P4=function(e){!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}}),t&&k4(e,t)}(n,e);var t=O4(n);function n(){return x4(this,n),t.apply(this,arguments)}return n}(S4);function R4(e){return(R4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M4(e,t){return(M4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j4(e);if(t){var o=j4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D4(this,n)}}function D4(e,t){if(t&&("object"===R4(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 j4(e){return(j4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}P4.blotName="hMedium-toggle",P4.tagName="H2",P4.tooltipPathSuffix=S4.tooltipPathSuffix;var L4=function(e){!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}}),t&&M4(e,t)}(n,e);var t=N4(n);function n(){return I4(this,n),t.apply(this,arguments)}return n}(S4);function B4(e){return(B4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H4(e,t,n){return(H4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=W4(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function V4(e,t){return(V4=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z4(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W4(e);if(t){var o=W4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q4(this,n)}}function q4(e,t){if(t&&("object"===B4(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return G4(e)}function G4(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W4(e){return(W4=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}L4.blotName="hSmall-toggle",L4.tagName="H3",L4.tooltipPathSuffix=S4.tooltipPathSuffix;var Z4=function(e){!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}}),t&&V4(e,t)}(i,e);var t,n,r,o=z4(i);function i(){var e;F4(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Y4(G4(e=o.call.apply(o,[this].concat(n))),"onChangeLayout",(function(t){var n=e.map.get(t);e.map.set(t,!n),"show-arrow"===t&&!0===n&&e.isCollapsed()&&e.map.set("collapsed",!1)})),e}return t=i,r=[{key:"createBlot",value:function(e){return a().create("stepWrapper")}},{key:"initMap",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};H4(W4(i),"initMap",this).call(this,e,t,n),e.set("show-arrow",!0)}}],(n=[{key:"hasArrow",get:function(){return this.map.get("show-arrow")}},{key:"onRemoveBlot",value:function(){this.getWrapper().onRemoveBlot(),H4(W4(i.prototype),"onRemoveBlot",this).call(this)}},{key:"onBlotMenuUpdatePosition",value:function(e){var t=e.left,n=e.top,r=this.getWrapper();return r&&(t-=r.getInnerLeftPadding(),n-=this.domNode.getBoundingClientRect().top-r.domNode.getBoundingClientRect().top),{left:t,top:n}}},{key:"onGetCommentPosition",value:function(e){var t=e.left,n=e.top,r=this.getWrapper();return r&&(t+=r.getInnerRightPadding(),n-=this.domNode.getBoundingClientRect().top-r.domNode.getBoundingClientRect().top),{left:t,top:n}}},{key:"getTitlePlaceholder",value:function(){return this.editor.plugins.i18n.get("step.title_placeholder")}},{key:"getContentPlaceholder",value:function(){return this.editor.plugins.i18n.get("step.content_placeholder")}},{key:"contextMenu",get:function(){var e=Object.assign({},H4(W4(i.prototype),"contextMenu",this));return e.layout={label:this.editor.plugins.i18n.get("step.menu.step_layout.name"),index:1,group:0,stackable:!1,action:!1,submenu:Y4({},"show-arrow",{label:this.editor.plugins.i18n.get("step.menu.step_layout.show_arrow"),index:1,group:0,action:"onChangeLayout",actionParams:"show-arrow",icon:!0===this.map.get("show-arrow")&&ct.EZi,style:!0===this.map.get("show-arrow")?"done":"undone"})},e}},{key:"onDraggingGetPhantomPos",value:function(){return this.getWrapper().domNode.getBoundingClientRect()}}])&&U4(t.prototype,n),r&&U4(t,r),i}(S4);Z4.blotName="step",Z4.tagName="H3",Z4.tooltipPathSuffix="step";n(96011);function K4(e){return(K4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $4(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Q4(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q4(e,t)}(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 Q4(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function X4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J4(e,t,n){return(J4="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o5(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function e5(e,t){return(e5=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function t5(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o5(e);if(t){var o=o5(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return n5(this,n)}}function n5(e,t){if(t&&("object"===K4(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r5(e)}function r5(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o5(e){return(o5=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a5=function(e){!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}}),t&&e5(e,t)}(i,e);var t,n,r,o=t5(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),i5(r5(t=o.call(this,e)),"onDocumentMouseDown",(function(e){t.plusNode.contains(e.target)||t.props.showEmbeddableMenu&&t.editor.plugins.embeddedMenu&&t.editor.plugins.embeddedMenu.container&&(e.target===t.editor.plugins.embeddedMenu.container||t.editor.plugins.embeddedMenu.container.contains(e.target)||t.setProps({showEmbeddableMenu:!1}))})),i5(r5(t),"onDateRef",(function(e){t.dateNode=e})),i5(r5(t),"onAssigneeRef",(function(e){t.assigneeNode=e})),i5(r5(t),"updateState",(function(){if(t.getWrappedBlot()&&t.getWrappedBlot().scroll.domNode.contains(t.domNode)&&t.stepNode){var e=t.getStepNumber();t.stepNode.setAttribute("data-step",e+1)}})),i5(r5(t),"onEditorSelectionChange",(function(){var e=$4(t.selection.getRange(),1)[0],n=t.offset(t.scroll),r=t.length()-1;e&&e.index>=n&&e.index+e.length<=n+r?t.domNode.classList.contains("step-active")||t.domNode.classList.add("step-active"):t.domNode.classList.contains("step-active")&&t.domNode.classList.remove("step-active")})),i5(r5(t),"onAddButtonClick",(function(){var e;if(null!==(e=t.editor.plugins.embeddedMenu)&&void 0!==e&&e.enabled){var n=t.props.showEmbeddableMenu;t.setProps({showEmbeddableMenu:!n})}else t.container.addBlot("step",{after:t.id,focus:{index:0},collapsed:!1})})),i5(r5(t),"onAddButtonMouseDown",(function(e){e.preventDefault()})),i5(r5(t),"onEmbeddedMenuHide",(function(){t.setProps({showEmbeddableMenu:!1})})),i5(r5(t),"onStepNumberRef",(function(e){t.stepNode=e})),i5(r5(t),"onDateMouseDown",(function(e){t.editor.mode===fpe&&t.setProps({datepickerOpen:!0})})),i5(r5(t),"onDateTimePickerWantsToClose",(function(){t.setProps({datepickerOpen:!1})})),i5(r5(t),"onDateChange",(function(e){if(e){var n=e.date,r=e.reminders,o=void 0===r?{}:r,i=e.showTime,a=void 0!==i&&i,s=e.timeFormat,l=void 0===s?12:s;t.map.set("date",{timestamp:n.getTime(),format:{showTime:a,timeFormat:l}}),Object.keys(o).length?t.map.set("reminders",o):t.map.get("reminders")&&t.map.delete("reminders")}else t.map.delete("date"),t.map.delete("reminders")})),i5(r5(t),"getCorrectEmbeddedPos",(function(e){var n=e.top,r=e.left,o=e.width;e.height;return 36,{top:n+=t.embeddedMenuOffset().top,left:r,width:o,height:36}})),i5(r5(t),"getDateString",(function(e,n){var r,o,i,a=null===(r=t.editor.plugins)||void 0===r?void 0:r.i18n.language,s=null===(o=t.editor.options.blots)||void 0===o||null===(i=o.date)||void 0===i?void 0:i.timeLocale,l="en-US"===s||"en-GB"!==s&&12===Zn();return"".concat(k0()(e).locale("ru"===a?a:"en").format("DD MMM"),"\n      ").concat(n.showTime?k0()(e).locale("en").format(l?" hh:mm A":" HH:mm"):"")})),i5(r5(t),"onAssigneeMouseDown",(function(e){t.editor.mode===fpe&&t.setProps({showAssigneeSelect:!0})})),i5(r5(t),"onAssigneeSelectWantsToClose",(function(){t.setProps({showAssigneeSelect:!1})})),i5(r5(t),"onAssigneeChange",(function(e){t.map.set("assignee",e)})),t.domNode.classList.add("nimbus-step"),t.createInterface(),t.debouncedUpdateState=hf()(t.updateState,1e3,{trailing:!0}),t.additionalEmbeddedMenu=!0,t}return t=i,(n=[{key:"createInterface",value:function(){this.stepHeader=document.createElement("div"),this.stepHeader.classList.add("step-header"),this.stepHeader.classList.add(fe.W$),this.stepHeader.setAttribute("contenteditable",!1),this.domNode.appendChild(this.stepHeader),this.plusNode=document.createElement("div"),this.plusNode.classList.add("toggle-plus"),this.plusNode.classList.add(fe.W$),this.domNode.appendChild(this.plusNode)}},{key:"buildBlot",value:function(){var e=a().create(this.map.get("type"));e.map=this.map,this.appendChild(e),this.updateState(),this.editor.on("SCROLL_UPDATE",this.debouncedUpdateState),this.editor.on("updated-step-blot",this.updateState),this.editor.on("selectionchange",this.onEditorSelectionChange),!0===this.map.get("collapsed")&&!1===this.map.get("show-arrow")&&this.map.set("collapsed",!1),document.addEventListener("mousedown",this.onDocumentMouseDown,!1)}},{key:"onRemoveBlot",value:function(){this.editor.off("SCROLL_UPDATE",this.debouncedUpdateState),this.editor.off("updated-step-blot",this.updateState),this.editor.off("selectionchange",this.onEditorSelectionChange),document.removeEventListener("mousedown",this.onDocumentMouseDown,!1)}},{key:"getStepNumber",value:function(){var e=this;return this.editor.scroll.descendants((function(e){return"step"===e.constructor.blotName})).map((function(e){return e.id})).findIndex((function(t){return t===e.id}))}},{key:"onGetContentCommentPos",value:function(e){var t=e.left;return{top:e.top,left:t+=27}}},{key:"getInnerLeftPadding",value:function(){var e=this.domNode.getBoundingClientRect().left;return this.getWrappedBlot().domNode.getBoundingClientRect().left-e}},{key:"getInnerRightPadding",value:function(){return this.domNode.getBoundingClientRect().right-this.getWrappedBlot().domNode.getBoundingClientRect().right}},{key:"embeddedMenuOffset",value:function(){return{top:this.domNode.getBoundingClientRect().bottom-this.domNode.getBoundingClientRect().top+19,left:0}}},{key:"render",value:function(){var e;J4(o5(i.prototype),"render",this).call(this);var t=this.editor.mode===fpe;!0===this.map.get("show-arrow")?this.domNode.classList.contains("collapsible")||this.domNode.classList.add("collapsible"):this.domNode.classList.contains("collapsible")&&this.domNode.classList.remove("collapsible"),!0===this.map.get("collapsed")?this.domNode.classList.contains("is-collapsed")||this.domNode.classList.add("is-collapsed"):this.domNode.classList.contains("is-collapsed")&&this.domNode.classList.remove("is-collapsed"),this.props.showEmbeddableMenu?this.domNode.classList.contains("show-embedded-menu")||this.domNode.classList.add("show-embedded-menu"):this.domNode.classList.contains("show-embedded-menu")&&this.domNode.classList.remove("show-embedded-menu"),t&&(this.props.showEmbeddableMenu?this.editor.plugins.embeddedMenu.show(this,{maxWidth:446,containerAddClassName:"step-embedded-menu",addFullViewMenuItems:["add-step"]}):this.editor.plugins.embeddedMenu.hide(this));var n=null!==(e=this.props.maxAvailableWidth)&&void 0!==e?e:this.domNode.offsetWidth;n<230?this.stepHeader.classList.contains("no-padding")||this.stepHeader.classList.add("no-padding"):this.stepHeader.classList.contains("no-padding")&&this.stepHeader.classList.remove("no-padding");var r=t||this.map.get("date")||this.map.get("assignee")&&this.map.get("assignee").length;(0,s.sY)((0,s.h)(s.HY,null,(0,s.h)("div",{className:"step-header-left"},(0,s.h)("div",{className:"step-number toggle-step",ref:this.onStepNumberRef})),r?(0,s.h)("div",{className:"step-header-right"+(n<480?" right-full-width":"")},(0,s.h)(_1,{blot:this}),(0,s.h)(w1,{blot:this})):null),this.stepHeader),(0,s.sY)((0,s.h)(s.HY,null,(0,s.h)("span",{className:"toggle-plus-icon",onClick:this.onAddButtonClick,onMouseDown:this.onAddButtonMouseDown},(0,s.h)(ct.SC9,null))),this.plusNode)}},{key:"toHTML",value:function(e){var t=[];this.children.forEach((function(n){n.toHTML&&t.push(n.toHTML(e))}));var n=!0===this.map.get("show-arrow")?'<div class="toggle-arrow step">'+this.arrowNode.innerHTML+"</div>":"",r=["nimbus-toggle","nimbus-step"];!0===this.map.get("show-arrow")&&r.push("collapsible"),!0===this.map.get("show-border")&&r.push("is-bordered");var o=!0===this.map.get("show-number")?'<div class="toggle-step" data-step="'+(this.getStepNumber()+1)+'"></div>':"";return'<div class="'+r.join(" ")+'">'+n+o+t.join("")+"</div>"}}])&&X4(t.prototype,n),r&&X4(t,r),i}(se([Nb])(E0));a5.blotName="stepWrapper",a().register(U3),a().register(zh),a().register(D6),a().register(Y6),a().register(i4),a().register(Ah),a().register(fD),a().register(Yo),a().register(ni),a().register(U),a().register(Li),a().register(Lo),a().register($3),a().register(o2),a().register(p2),a().register(_2),a().register(P2),a().register(H2),a().register(Kw),a().register(Av),a().register(K2),a().register(a6),a().register(S6),a().register(yM),a().register(YI),a().register(ZT),a().register(MA),a().register(bA),a().register(kb),a().register(Hb),a().register(jF),a().register(qF),a().register(mv),a().register(zV),a().register(QV),a().register(Az),a().register(Lz),a().register(u3),a().register($1),a().register(Tf),a().register(h4),a().register(Ep),a().register(Np),a().register($p),a().register(hh),a().register(OQ),a().register(vQ),a().register(ma),a().register(Qt),a().register(Ae),a().register(Oa),a().register(Vs),a().register(BY),a().register(KZ),a().register(dK),a().register(_$),a().register(vK),a().register(YD),a().register(E0),a().register(f0),a().register(Vf),a().register(C3),a().register(HN),a().register(gX),a().register(nJ),a().register(S4),a().register(P4),a().register(L4),a().register(wJ),a().register(YJ),a().register(n0),a().register(PJ),a().register(Z4),a().register(a5),a().register(j1),a().findById=function(e){var t=document.getElementById(e);return a().find(t)},a().setFindByTagFn((function(e){return"DIV"===e?zh:null}));const s5=a();n(27207),n(88692);var l5=n(60764),c5=n.n(l5);function u5(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new Promise((function(r,o){var i=new XMLHttpRequest;i.open(e,t),i.onload=function(){var e;try{e=JSON.parse(i.responseText)}catch(e){return o(e)}r(e)},i.onerror=function(e){o(e)},"string"==typeof n&&i.setRequestHeader("Content-Type","application/json"),i.send(n)}))}var d5=n(2049);n(76922);function p5(e){return(p5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h5(e,t)}(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 h5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m5(Object(n),!0).forEach((function(t){k5(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m5(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y5(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function v5(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){y5(i,r,o,a,s,"next",e)}function s(e){y5(i,r,o,a,s,"throw",e)}a(void 0)}))}}function b5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w5(e,t){return(w5=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C5(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x5(e);if(t){var o=x5(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S5(this,n)}}function S5(e,t){if(t&&("object"===p5(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E5(e)}function E5(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x5(e){return(x5=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O5={buttonNode:null,formNode:null,show:!1},T5=["bondi-blue","bleu-de-france","neon-carrot","sunglow","carmine-pink","dollar-bill","light-pastel-purple"],A5=function(){return(0,s.h)("button",{onClick:function(){return P5(!0)}},"Add CTA")},P5=function(e){(0,s.sY)((0,s.h)(R5,{show:e}),O5.formNode)},R5=function(e){!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}}),t&&w5(e,t)}(i,e);var t,n,r,o=C5(i);function i(){var e;b5(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return k5(E5(e=o.call.apply(o,[this].concat(n))),"state",{whenToShow:"pause",type:"button",title:"Try it for free for 2 weeks!",buttonId:"ctabutton_bac1c8da",address:"https://nimbusweb.me",background:T5[0],buttonShape:"rounded",buttonSize:"small",description:"You don't have to specify the card right away 😉\nSome text after!",imageUrl:"https://media.springernature.com/full/springer-cms/rest/v1/img/18893370/v1/height/700",imageName:"",showPlayAgain:!1}),k5(E5(e),"onSave",v5(regeneratorRuntime.mark((function t(){var n,r,o,i,a,s,l,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=window.gEditor,r=n.store.blocks.toJSON(),o=[],t.t0=regeneratorRuntime.keys(r);case 4:if((t.t1=t.t0()).done){t.next=26;break}if(i=t.t1.value,"file"!==(a=n.store.blocks.get(i)).get("type")){t.next=24;break}if(null==(s=n.findById(i))||!s.isVideoFile()){t.next=24;break}if(!(l=s.map.get("syncedViewerState")).get("motionVideo")&&!l.get("loop")){t.next=23;break}return P5(!1),t.next=15,e.processToShowDialog(n,{title:"Motion/Loop (".concat(i,")"),message:"Для видео включен режим Motion/Loop. CTA не будет работать при таком режиме. Отключите опцию, чтобы активировать CTA."});case 15:if(!t.sent){t.next=22;break}c={motionVideo:!1,loop:!1,autoplay:!1,hideControls:!1,videoShadow:!1},s.setViewerSyncedState(c),s.props.attachment=g5(g5({},s.props.attachment),c),t.next=23;break;case 22:return t.abrupt("continue",4);case 23:o.push(g5({blotId:i,attachmentGlobalId:a.get("attachmentGlobalId")},e.state));case 24:t.next=4;break;case 26:n.plugins.ctaManager.setCta(o),P5(!1);case 28:case"end":return t.stop()}}),t)})))),k5(E5(e),"processToShowDialog",function(){var e=v5(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.title,o=n.message,i=t.plugins,a=i.popupManager,i.i18n,l=null,e.next=5,new Promise((function(e){l=(0,s.h)(Gn.Z,{onCancel:function(){e(!1)},onConfirm:function(){e(!0)},title:r,message:o,confirmText:"Отключить Motion/Loop",cancelText:"Отмена",editor:t}),a.dialog(l)}));case 5:return c=e.sent,l=null,a.dialog(null),e.abrupt("return",c);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),k5(E5(e),"onFieldChange",(function(t){return function(n){e.setState(k5({},t,n.target.value))}})),k5(E5(e),"getRadio",(function(t,n,r){return n.map((function(n){var o=n.title,i=n.value;return(0,s.h)("label",null,(0,s.h)("input",{type:"radio",name:t,value:i,onChange:e.onFieldChange(t),checked:i===r})," ",o)}))})),k5(E5(e),"getBackground",(function(t){return T5.map((function(n){var r=["toolbar-cta-form__bg"];return n===t&&r.push("toolbar-cta-form__bg_active"),(0,s.h)("div",{className:r.join(" "),onClick:function(){return e.onFieldChange("background")({target:{value:n}})},style:{backgroundColor:"var(--".concat(n,")")}})}))})),k5(E5(e),"onFileChange",(function(t){var n=new FileReader;n.onloadend=function(){var r=t.target.files[0],o=r.size,i=f5(r.name.split(/\.([^.]+)$/i),2)[1];if(o/1024>5e3||!["png","jpeg","jpg"].includes(i))return alert("Max file size 5M"),e.setState({imageName:"",imageUrl:""}),!1;e.setState({imageUrl:n.result,imageName:t.target.files[0].name})},t.target.files.length?n.readAsDataURL(t.target.files[0]):e.setState({imageUrl:"",imageName:"",imageBase64:null})})),e}return t=i,(n=[{key:"render",value:function(){var e=this;if(!this.props.show)return null;var t=this.state,n=t.whenToShow,r=t.type,o=t.title,i=t.background,a=t.buttonShape,l=t.buttonSize,c=t.description,u=t.address,d=t.imageUrl,p=t.showPlayAgain;return(0,s.h)("div",{className:"toolbar-cta-form"},(0,s.h)("div",{className:"toolbar-cta-form__form toolbar-cta-form__body_".concat(r)},(0,s.h)("div",{className:"toolbar-cta-form-title"},"Call to Action"),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Time"),this.getRadio("whenToShow",[{title:"During a pause",value:"pause"},{title:"At the end",value:"end"}],n)),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Type"),this.getRadio("type",[{title:"Button",value:"button"},{title:"Image",value:"image"}],r)),(0,s.h)("div",{className:"toolbar-cta-form__type toolbar-cta-form__type_button"},(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Title"),(0,s.h)("input",{type:"text",name:"title",onInput:this.onFieldChange("title"),value:o,className:"toolbar-cta-form__input"})),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Link"),(0,s.h)("input",{type:"text",name:"address",onInput:this.onFieldChange("address"),value:u,className:"toolbar-cta-form__input"})),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Shape"),this.getRadio("buttonShape",[{title:"Rouded",value:"rounded"},{title:"Square",value:"square"}],a)),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Background"),(0,s.h)("div",null,this.getBackground(i))),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Size"),this.getRadio("buttonSize",[{title:"Small",value:"small"},{title:"Medium",value:"medium"},{title:"Big",value:"big"}],l)),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Description"),(0,s.h)("textarea",{rows:"6",name:"description",onInput:this.onFieldChange("description"),value:c,className:"toolbar-cta-form__input"}))),(0,s.h)("div",{className:"toolbar-cta-form__type toolbar-cta-form__type_image"},(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("input",{type:"file",onChange:this.onFileChange,name:"image"})),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("img",{src:d,className:"toolbar-cta-form__image"})),(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("div",{className:"toolbar-cta-form__row-title"},"Link"),(0,s.h)("input",{type:"text",name:"link",onInput:this.onFieldChange("address"),value:u,className:"toolbar-cta-form__input"}))),"end"===n?(0,s.h)("div",{className:"toolbar-cta-form__row"},(0,s.h)("label",null,(0,s.h)("input",{type:"checkbox",onChange:function(t){e.onFieldChange("showPlayAgain")({target:{value:t.target.checked}})},checked:p}),' Show "Play again" button')):null,(0,s.h)("div",{className:"toolbar-cta-form__row toolbar-cta-form__buttons"},(0,s.h)("button",{onClick:function(){return P5(!1)}},"Cancel"),(0,s.h)("button",{onClick:this.onSave},"Save Call-to-Action"))))}}])&&_5(t.prototype,n),r&&_5(t,r),i}(s.wA);function I5(){return(I5=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function M5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return N5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N5(e,t)}(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 N5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D5=function(e){var t=e.availability,n=e.type,r=e.editor,o=e.emitter,i=(0,T.sO)(null),a=M5((0,T.eJ)(null),2),l=a[0],c=a[1];(0,T.d4)((function(){var e=i.current,a=lottie.loadAnimation({container:e,autoplay:!1,loop:!1,renderer:"svg",path:r.plugins.featuresAvailabilityPlugin.options.animationPath[n],rendererSettings:{viewBoxOnly:!0}});return c(a),t===F5.trial&&a.addEventListener("data_ready",(function(){a.goToAndStop(6,!0)})),function(){o.off("enter",u),o.off("leave",d)}}),[]);var u=(0,T.I4)((function(){l&&(t===F5.notAvailable&&l.playSegments([0,6],!0),t===F5.trial&&l.playSegments([0,6],!0))}),[l]),d=(0,T.I4)((function(){l&&t===F5.notAvailable&&l.playSegments([6,0],!1)}),[l]);return(0,T.d4)((function(){o&&l&&(o.on("enter",u),o.on("leave",d))}),[o,l]),(0,s.h)("div",I5({className:"feature-availability-icon"},function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},Gr.qZ,r.plugins.i18n.get("feature_availability.".concat(n,".").concat(t)))),(0,s.h)("div",{className:"feature-availability-icon__icon",ref:i}))};function j5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var F5={available:"available",notAvailable:"not-available",trial:"trial"},U5={plus:"plus",team:"team",business2023:"business2023"},H5=function(){function e(t){var n=t.scroll,r=t.editor,o=t.options,i=void 0===o?{}:o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=r,this.scroll=n,this.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j5(Object(n),!0).forEach((function(t){L5(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j5(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({enabled:!1,animationPath:{plus:"https://nimbus-upload.s3.amazonaws.com/diamond-animation/animation-blue.json",team:"https://nimbus-upload.s3.amazonaws.com/diamond-animation/animation-yellow.json",business2023:"https://nimbus-upload.s3.amazonaws.com/diamond-animation/animation-yellow.json"}},i),this.features=i.features||{}}var t,n,r;return t=e,(n=[{key:"setFeatures",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.features=e}},{key:"getFeature",value:function(e){return this.features[e]}},{key:"getFeatureIcon",value:function(e,t){if(!this.options.enabled)return!1;var n=this.getFeature(e),r=null;return n&&n.status&&n.status!==F5.available&&(r=(0,s.h)(D5,{type:n.type,availability:n.status,editor:this.editor,emitter:t})),r}}])&&B5(t.prototype,n),r&&B5(t,r),e}();function V5(e){return(V5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z5(e){return function(e){if(Array.isArray(e))return q5(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)return;if("string"==typeof e)return q5(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return q5(e,t)}(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 q5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function G5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W5(e,t){return(W5=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y5(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$5(e);if(t){var o=$5(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z5(this,n)}}function Z5(e,t){if(t&&("object"===V5(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return K5(e)}function K5(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e){return($5=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Q5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q5(Object(n),!0).forEach((function(t){J5(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q5(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var e8={buttonNode:null,formNode:null,show:!1},t8=function(){return(0,s.h)("button",{onClick:n8(!0)},"Features Availability")},n8=function(e){return function(t){var n={top:t.clientY+"px",left:t.clientX+"px"};(0,s.sY)((0,s.h)(i8,{show:e,position:n}),e8.formNode)}},r8="dev-toolbar-features-availability",o8={"get-text-from-image":{status:F5.available,type:U5.plus,privilege:"canOCR"},"blocks-lock":{status:F5.available,type:U5.team,privilege:"canAccessBlotLocking"},"preview-video":{status:F5.available,type:U5.plus,privilege:"canGenerateVideoPreview"}},i8=function(e){!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}}),t&&W5(e,t)}(i,e);var t,n,r,o=Y5(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),J5(K5(t=o.call(this,e)),"formRef",null),J5(K5(t),"onRef",(function(e){t.formRef=e})),J5(K5(t),"onDocumentClick",(function(e){t.props.show&&t.formRef&&!t.formRef.contains(e.target)&&n8(!1)({})})),J5(K5(t),"componentDidMount",(function(){document.addEventListener("mousedown",t.onDocumentClick)})),J5(K5(t),"onCloseClick",(function(){n8(!1)({})})),J5(K5(t),"loadFeatures",(function(){var e=function(){var e=window.localStorage.getItem(r8)||null,t=o8;return e&&(t=X5(X5({},o8),JSON.parse(e))),t}();t.setState({features:e}),window.gEditor.plugins.featuresAvailabilityPlugin.setFeatures(e)})),J5(K5(t),"onChange",(function(e,n){return function(r){var o=r.target.value,i=X5(X5({},t.state.features[e]),{},J5({},n,"null"!==o?o:null));t.setState({features:X5(X5({},t.state.features),{},J5({},e,i))},(function(){t.onSave(!1)()}))}})),J5(K5(t),"onSave",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(){var n=X5(X5({},o8),t.state.features);window.localStorage.setItem(r8,JSON.stringify(n)),window.gEditor.plugins.featuresAvailabilityPlugin.setFeatures(n),e&&t.onCloseClick()}})),J5(K5(t),"getFeatures",(function(){return[{title:"Get text from image",code:"get-text-from-image"},{title:"Lock block",code:"blocks-lock"},{title:"Preview video",code:"preview-video"}].map((function(e){var n=[].concat(z5(Object.values(F5)),["null"]).map((function(n){return{value:n,selected:t.state.features[e.code].status===("null"===n?null:n)}})),r=z5(Object.values(U5)).map((function(n){return{value:n,selected:t.state.features[e.code].type===n}}));return(0,s.h)("div",{className:"dev-toolbar-form__row",key:e.code},(0,s.h)("span",{className:"dev-toolbar-form__row-title"},e.title,": "),(0,s.h)("select",{name:"dev-toolbal-".concat(e.code,"-status"),onChange:t.onChange(e.code,"status")},n.map((function(e){return(0,s.h)("option",{value:e.value,selected:e.selected},e.value)}))),(0,s.h)("select",{name:"dev-toolbal-".concat(e.code,"-type"),onChange:t.onChange(e.code,"type")},r.map((function(e){return(0,s.h)("option",{value:e.value,selected:e.selected},e.value)}))))}))})),t.loadFeatures(),t}return t=i,(n=[{key:"render",value:function(){return this.props.show?(0,s.h)("div",{className:"dev-toolbar-form",style:this.props.position,ref:this.onRef},(0,s.h)("div",{className:"dev-toolbar-form__wrapper"},(0,s.h)("button",{className:"dev-toolbar-form__close",onClick:this.onCloseClick},(0,s.h)("span",null,"x")),(0,s.h)("div",{className:"dev-toolbar-form__form"},this.getFeatures(),(0,s.h)("div",{className:"dev-toolbar-form__footer"},(0,s.h)("button",{onClick:this.onSave(!0)},"Ok"))))):null}}])&&G5(t.prototype,n),r&&G5(t,r),i}(s.wA);function a8(e){return function(e){if(Array.isArray(e))return c8(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l8(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 s8(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l8(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l8(e,t){if(e){if("string"==typeof e)return c8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c8(e,t):void 0}}function c8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u8(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d8(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u8(i,r,o,a,s,"next",e)}function s(e){u8(i,r,o,a,s,"throw",e)}a(void 0)}))}}function p8(e){return(p8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h8(e,t){var n={};localStorage&&(localStorage.hasOwnProperty("editor-custom-settings")&&(n=JSON.parse(localStorage.getItem("editor-custom-settings"))),n[e]=t,localStorage.setItem("editor-custom-settings",JSON.stringify(n)))}const m8=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"appendItem",(function(e){var t=document.createElement("div");t.classList.add("toolbar-item"),t.append(e),n.toolbarContainer.appendChild(t)})),this.editor=t,this.scroll=this.editor.scroll,this.selection=this.scroll.selection,this.container=document.createElement("div"),this.toolbarContainer=document.createElement("div"),this.tableFormContainer=document.createElement("div"),this.toolbarContainer.classList.add("toolbar-container"),this.toolbarContainer.setAttribute("collapsed",!0),this.container.appendChild(this.toolbarContainer),this.init(),this.editor.isEditable()&&document.addEventListener("click",(function(){n.setUndoState({canUndo:n.editor.plugins.undoManager.canUndo(),canRedo:n.editor.plugins.undoManager.canRedo()})}),!1),this.editor.on("toolbar-status",(function(e,t,r){r&&n.setUndoState(r)}))}var t,r,o;return t=e,(r=[{key:"setUndoState",value:function(e){var t=document.querySelector('a[data-button="undo"]'),n=document.querySelector('a[data-button="redo"]');t&&n&&(e.canUndo?t.classList.remove("disabled"):t.classList.add("disabled"),e.canRedo?n.classList.remove("disabled"):n.classList.add("disabled"))}},{key:"init",value:function(){var e;this.container.classList.add("toolbar"),this.editor.container.insertBefore(this.container,this.editor.scrollingContainer),this.addCollapsedButton(),this.addFontSize(),this.addFontFamily(),this.addEditorTheme(),this.addEditorLanguage(),this.editor.isEditable()&&this.addUndoRedoButtons(),this.addModeSelect(),this.addModeSelectSize(),this.addCreateTableButton(),this.addLazyTableMode(),this.addBlotLimiter(),this.addFocusMode(),this.addAdminMode(),this.addMarkdownOption(),this.addGlobalSearch(),this.addBusinessCard(),this.addHtmlObject(),this.addSetTestComments(),this.addCopyAllButton(),this.addListCollapsibleMode(),this.addDownloadHTML(),this.addDownloadPDF(),this.addImportEnex(),this.addLoadDump(),e=this.appendItem,O5.buttonNode=document.createElement("div"),O5.formNode=document.createElement("div"),(0,s.sY)((0,s.h)(A5,null),O5.buttonNode),e(O5.buttonNode),document.body.appendChild(O5.formNode),function(e){var t=e.appendItem;e8.buttonNode=document.createElement("div"),e8.formNode=document.createElement("div"),(0,s.sY)((0,s.h)(t8,null),e8.buttonNode),t(e8.buttonNode),document.body.appendChild(e8.formNode)}(this),this.addTestTextBlot(),this.addTaskList(),this.setTimeDateFormat(),this.addDumpLoadInterface(),this.addGrammarlySwitch(),this.addUseAi(),this.addShowRateEditor()}},{key:"addCollapsedButton",value:function(){var e=this,t=document.createElement("div");t.classList.add("toolbar-collapse-button"),t.innerHTML="&#8681",this.container.appendChild(t),t.addEventListener("click",(function(n){e.toolbarContainer.hasAttribute("collapsed")?(e.toolbarContainer.removeAttribute("collapsed"),t.innerHTML="&#8679"):(e.toolbarContainer.setAttribute("collapsed",!0),t.innerHTML="&#8681")}))}},{key:"addTableVersion",value:function(){var e="object"===("undefined"==typeof localStorage?"undefined":p8(localStorage))&&localStorage.getItem("table-version")||"v2",t=document.createElement("select");t.id="editor-table-version",t.style.width="80px",["v1","v2"].map((function(n){var r=document.createElement("option");r.value=n,r.innerText="Table "+n,e===n&&(r.selected="selected"),t.appendChild(r)})),this.appendItem(t),t.addEventListener("change",this.tableVersionHandler.bind(this))}},{key:"tableVersionHandler",value:function(e){if(e.preventDefault(),e.isTrusted){var t=e.target.value;localStorage.setItem("table-version",t),document.body.remove(),document.location.reload()}}},{key:"addCreateTableButton",value:function(){var e=document.createElement("div"),t=document.createElement("input");t.setAttribute("type","button"),t.value="Table";var r=document.createElement("select");r.style.marginRight="0px",r.style.width="80px",r.style.height="22px",["4x5","10x30","10x100","10x500","10x1000","10x2000","30x50","5x500","5x1000","5x2000","5x3000","20x1000","20x2000"].map((function(e){var t=document.createElement("option");t.value=e,t.innerText=e,r.appendChild(t)})),e.appendChild(t),e.appendChild(r),this.appendItem(e),t.addEventListener("click",(function(){var e=r.value.split("x"),o={cols:parseInt(e[0]),rows:parseInt(e[1])};if(confirm("Заполнить таблицу?")){var i=JSON.parse(n(46673));o.content={columns:[],rows:[]};for(var a=i.length-1,s=0;s<o.rows;s++){for(var l=[],u=0;u<o.cols;u++){var d=new(c());d.insert(i[Math.ceil(a*Math.random())]),l.push({cellType:"text",delta:d})}o.content.rows.push({type:"row",children:l})}}t.setAttribute("disabled",!0);var p=performance.now();gEditor.scroll.addBlot("table",o);var f=performance.now()-p;t.removeAttribute("disabled");var h="Таблица ".concat("v2"," ").concat(r.value,", ")+Math.round(f)/1e3+" с.";gEditor.plugins.notificationManager.toast(h),console.info(h)}))}},{key:"addLazyTableMode",value:function(){}},{key:"addBlotLimiter",value:function(){var e=this.editor.plugins.limitManager,t=document.createElement("span");t.classList.add("toolbar-blot-limiter"),t.innerText="Limit:";var n=document.createElement("span");n.setAttribute("name","blot-count"),n.innerText="0/",n.style.display="none";var r=document.createElement("input");r.setAttribute("name","blot-limit"),r.setAttribute("type","number"),r.setAttribute("min",0),r.value=0,r.style.display="none";var o=document.createElement("input");o.setAttribute("type","button"),o.value=" Test ",t.appendChild(o),t.appendChild(n),t.appendChild(r),this.appendItem(t);var i=function(t){e.options.enabled=!0,e.options.limit=t};o.onclick=function(t){o.style.display="none",n.style.display="inline",r.style.display="inline",n.innerText="1/",r.value=10,i(10),e.options.count=1,e.listeners()},r.onchange=function(t){i(r.value),console.info(e.options)}}},{key:"addImportEnex",value:function(){var e=document.createElement("button");e.innerHTML="Import .enex",e.addEventListener("click",(function(e){t.click()})),this.appendItem(e);var t=document.createElement("input");t.setAttribute("type","file"),this.appendItem(t),t.style.display="none";var n=document.createElement("span");this.appendItem(n),t.onchange=d8(regeneratorRuntime.mark((function e(){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.files[0],(r=new FormData).append("file",n),e.next=5,fetch("/import-enex",{method:"POST",body:r}).then((function(e){return e.json()}));case 5:o=e.sent,i=new CustomEvent("enex-import-done",{detail:o}),window.dispatchEvent(i);case 8:case"end":return e.stop()}}),e)})))}},{key:"addLoadDump",value:function(){var e=document.createElement("button");e.innerHTML="load dump",e.addEventListener("click",(function(e){t.click()})),this.appendItem(e);var t=document.createElement("input");t.setAttribute("type","file"),this.appendItem(t),t.style.display="none";var n=document.createElement("input");n.setAttribute("type","checkbox");var r=document.createElement("label");r.appendChild(n),r.appendChild(document.createTextNode(" Play")),this.appendItem(r);var o=document.createElement("span");this.appendItem(o);var i=document.createElement("input");i.setAttribute("placeholder","Max steps (60 default)"),i.setAttribute("hidden","true"),this.appendItem(i);var a=document.createElement("input");a.setAttribute("placeholder","Step timeout (1000 default)"),a.setAttribute("hidden","true"),this.appendItem(a);var s=document.createElement("input");s.setAttribute("placeholder","Go to step and the by one operation"),s.setAttribute("hidden","true"),this.appendItem(s);var l=60,c=1e3,u=!1;n.onchange=function(){n.checked?(i.removeAttribute("hidden"),a.removeAttribute("hidden"),s.removeAttribute("hidden")):(i.setAttribute("hidden","true"),a.setAttribute("hidden","true"),s.setAttribute("hidden","true"))},t.onchange=function(){var e=t.files[0],r=new FileReader,d="csv"===String(e.name).split(".").pop().toLowerCase();r.onload=function(e){var t,p=!1;i.value&&(l=parseInt(i.value)||l),a.value&&(c=parseInt(a.value)||c),s.value&&(u=parseInt(s.value)||u);var f=document.createElement("button");f.textContent="Stop",f.addEventListener("click",(function(){p=!0,(t=document.createElement("button")).textContent="Next",t.addEventListener("click",(function(){g()})),f.parentNode.replaceChild(t,f)})),o.parentNode.insertBefore(f,o);var h=r.result.split("\n");h=n.checked?c5()(h,Math.ceil(h.length/l)):[h],console.log("processing parts",h.length);var m=1;function g(){if(n.checked&&(o.textContent="Playing "+m+"/"+l),u==m){p=!0,f.click();var e,r=[],i=s8(h);try{for(i.s();!(e=i.n()).done;){var a,s=s8(e.value);try{for(s.s();!(a=s.n()).done;){var y=a.value;r.push(y)}}catch(e){s.e(e)}finally{s.f()}}}catch(e){i.e(e)}finally{i.f()}return h=c5()(r,1),m=0,void(l=h.length)}m++;var v=h.shift(),b=[];try{gEditor.store.transaction((function(){var e,t=s8(v);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(d){if(-1!==(b=n.replaceAll('"',"").split(","))[0].indexOf("docName")||!b[2])continue;n=b[2],console.info(new Date(parseInt(b[1].split("#")[0])).toUTCString())}if(n=n.trim()){console.log("PART",n);var r=(0,d5.base64ToArrayBuffer)(n);try{console.log("reading..."),gEditor.store.y.readBuffer(r)}catch(e){throw console.error("failed to import",n),e}}}}catch(e){t.e(e)}finally{t.f()}}),"remote")}catch(e){console.error("transaction has failed:",e.message,e.stack)}if(!h.length)return console.log("import end"),o.textContent="",void(f.parentNode&&(f.parentNode.removeChild(f),t&&t.parentNode.removeChild(t)));p||setTimeout(g,c)}g()},r.readAsText(e)}}},{key:"addBusinessCard",value:function(){var e=this,t=document.createElement("button");t.innerHTML="businessCard",t.addEventListener("click",(function(t){var n=e.scroll.focusedBlot||!1,r={focus:{index:0},frontSideAttachmentGlobalId:!1,backSideAttachmentGlobalId:!1},o=document.createElement("div");function i(e){gEditor.plugins.attachmentManager.chooseFile().then((function(t){var n=t[0];n&&(a.classList.add("business-cardModalWrapper__modal_loading"),gEditor.plugins.attachmentManager.saveFile(n).run().then((function(t){r[e]=t.globalId,a.classList.remove("business-cardModalWrapper__modal_loading")})))}))}o.id="businesscardmodal",o.classList="business-cardModalWrapper";var a=document.createElement("div");a.classList="business-cardModalWrapper__modal";var s=document.createElement("button");s.innerHTML="frontSideAttachmentGlobalId",s.style.marginBottom="5px",s.addEventListener("click",(function(){i("frontSideAttachmentGlobalId")})),a.appendChild(s),(s=document.createElement("button")).innerHTML="backSideAttachmentGlobalId",s.style.marginBottom="5px",s.addEventListener("click",(function(){i("backSideAttachmentGlobalId")})),a.appendChild(s);var l=[{type:"text",name:"Name",entityClass:"PERSON",default:"John Smith"},{type:"text",name:"Position",entityClass:"ADDRESS",default:"Marketing Expert"},{type:"text",name:"Company",entityClass:"ORGANIZATION",default:"E-commerce"},{type:"text",name:"Phone",entityClass:"PHONE",default:"+55 555-555-555"},{type:"text",name:"Email",entityClass:"EMAIL",default:"johnsmith@example.com"},{type:"text",name:"Facebook",entityClass:"FACEBOOK",default:"j.smith"}];l.forEach((function(e){var t=document.createElement("input");t.name=e.name,t.type=e.type,t.setAttribute("data-entity",e.entityClass),e.default&&(t.value=e.default),a.appendChild(t)})),(s=document.createElement("button")).innerHTML="apply",s.style.marginBottom="5px",s.addEventListener("click",(function(){var e=[],t=document.querySelector("#businesscardmodal");l.forEach((function(n){console.log(n);var r=t.querySelector('input[name="'+n.name+'"]');e.push({value:r.value,entityClass:n.entityClass})})),r.fields=e,n&&(r.after=n.id),gEditor.scroll.addBlot("businessCard",r),document.querySelector("#businesscardmodal").remove(),n=!1})),a.appendChild(s),(s=document.createElement("button")).innerHTML="cancel",s.style.marginBottom="5px",s.addEventListener("click",(function(){document.querySelector("#businesscardmodal").remove()})),a.appendChild(s),o.appendChild(a),document.body.appendChild(o)})),this.appendItem(t)}},{key:"addFontSize",value:function(){var e=this,t=document.createElement("select");t.id="font-size-change",t.style.cursor="pointer",t.style.marginRight="5px",["small","normal","large"].map((function(n){var r=document.createElement("option");r.value=n,n===e.editor.plugins.editorStyle._getCurrentStyles().size&&r.setAttribute("selected","selected"),r.innerText=n.split("").map((function(e,t){return 0===t?e.toUpperCase():e})).join(""),r.style.cursor="pointer",t.appendChild(r)})),this.appendItem(t),t.addEventListener("change",this.sizeEventHandler.bind(this))}},{key:"sizeEventHandler",value:function(e){if(e.preventDefault(),e.isTrusted){var t=e.target.value;this.editor.plugins.editorStyle.setStyle({size:t},!0),this.scroll.selection.focus(),h8("size",t)}}},{key:"addFontFamily",value:function(){var e=this,t=document.createElement("select");t.id="font-family-change",t.style.cursor="pointer",t.style.marginRight="5px",t.style.width="68px",["normal","serif","handwritten","mono"].map((function(n){var r=document.createElement("option");r.value=n,n===e.editor.plugins.editorStyle._getCurrentStyles().style&&r.setAttribute("selected","selected"),r.innerText=n.split("").map((function(e,t){return 0===t?e.toUpperCase():e})).join(""),r.style.cursor="pointer",t.appendChild(r)})),this.appendItem(t),t.addEventListener("change",this.familyEventHandler.bind(this))}},{key:"familyEventHandler",value:function(e){if(e.preventDefault(),e.isTrusted){var t=e.target.value;this.editor.plugins.editorStyle.setStyle({style:t},!0),this.scroll.selection.focus(),h8("style",t)}}},{key:"addEditorTheme",value:function(){var e=this,t=document.createElement("select");t.id="editor-theme-change",t.style.cursor="pointer",t.style.marginRight="5px",t.style.width="60px",["light","dark","brand-dark-ios"].map((function(n){var r=document.createElement("option");r.value=n,e.editor.container.classList.contains("theme-"+n)&&(r.setAttribute("selected","selected"),document.body.classList.add("nim-theme-"+n)),r.innerText=n.split("").map((function(e,t){return 0===t?e.toUpperCase():e})).join(""),r.style.cursor="pointer",t.appendChild(r)})),this.appendItem(t),t.addEventListener("change",this.themeEventHandler.bind(this))}},{key:"themeEventHandler",value:function(e){if(e.preventDefault(),e.isTrusted){var t=e.target.value;this.editor.plugins.editorStyle.setTheme(t),this.editor.container.style.backgroundColor=-1!==String(t).indexOf("dark")?"#323232":"transparent",this.scroll.selection.focus(),h8("theme",t),document.body.classList.remove("nim-theme-light"),document.body.classList.remove("nim-theme-dark"),document.body.classList.add("nim-theme-"+t)}}},{key:"addEditorLanguage",value:function(){var e=this,t=document.createElement("select");t.id="editor-language-change",t.style.cursor="pointer",t.style.marginRight="5px",t.style.width="50px",["ua","en","ru","de","it","es","tr"].map((function(n){var r=document.createElement("option");r.value=n,e.editor.plugins.i18n.language===n&&r.setAttribute("selected","selected"),r.innerText=n.split("").map((function(e,t){return 0===t?e.toUpperCase():e})).join(""),r.style.cursor="pointer",t.appendChild(r)})),this.appendItem(t),t.addEventListener("change",this.languageEventHandler.bind(this))}},{key:"languageEventHandler",value:function(e){if(e.preventDefault(),e.isTrusted){var t=e.target.value;h8("language",t),this.editor.emitter.emit("reinit-editor",{language:t})}}},{key:"addUndoRedoButtons",value:function(){var e=this,t=function(e){return"I"==e.tagName?e.parentNode:e},n=document.createElement("a");n.setAttribute("href","#"),n.setAttribute("data-button","undo"),n.classList.add("disabled"),n.style.cursor="pointer";var r=document.createElement("i");r.classList.add("fa","fa-undo"),n.appendChild(r),this.appendItem(n),n.addEventListener("click",(function(n){n.preventDefault(),t(n.target).classList.contains("disabled")||e.editor.exec("undo")})),(n=document.createElement("a")).setAttribute("href","#"),n.setAttribute("data-button","redo"),n.classList.add("disabled"),n.style.cursor="pointer",(r=document.createElement("i")).classList.add("fa","fa-repeat"),n.appendChild(r),this.appendItem(n),n.addEventListener("click",(function(n){n.preventDefault(),t(n.target).classList.contains("disabled")||e.editor.exec("redo")}))}},{key:"addModeSelect",value:function(){var e=this,t=document.createElement("select");t.id="editor-mode-change",t.style.cursor="pointer",[fpe,hpe,mpe,gpe,"share",ype].map((function(n){var r=document.createElement("option");r.value=n,n!==e.editor.mode||e.editor.options.isShare?"share"===n&&e.editor.options.isShare&&r.setAttribute("selected","selected"):r.setAttribute("selected","selected"),r.innerText=n,r.style.cursor="pointer",t.appendChild(r)})),this.appendItem(t),t.addEventListener("change",(function(t){"share"===t.target.value?(h8("mode","readonly"),h8("isShare",!0)):(h8("mode",t.target.value),h8("isShare",!1)),e.editor.emitter.emit("reinit-editor",{mode:t.target.value})}))}},{key:"addGlobalSearch",value:function(){var e=this,t=document.createElement("button"),n=document.createElement("div");n.classList.add("dev-global-search-container"),t.textContent="Start global search",t.onclick=function(){var t=prompt("Enter queries comma separated").split(",").map((function(e){return e.trim()}));e.editor.plugins.globalSearch.start(t)};var r=document.createElement("div");r.classList.add("dev-global-search-hk-message"),r.textContent="Alt+← or Alt+→ to navigate between matches",r.style.display="none",this.appendItem(t),this.appendItem(n),this.appendItem(r)}},{key:"addListCollapsibleMode",value:function(){var e=this,t=document.createElement("div");t.classList.add("editor-list-collapsible");var n=document.createElement("input");n.setAttribute("type","checkbox"),n.id="editor-list-collapsible-mode",n.style.cursor="pointer",n.checked=!!this.editor.blotsConfig.list&&this.editor.blotsConfig.list.collapsible;var r=document.createElement("label");r.setAttribute("for","editor-list-collapsible-mode"),r.innerText="Collapsible list",t.appendChild(n),t.appendChild(r),this.appendItem(t),n.addEventListener("change",(function(t){h8("collapsibleList",Boolean(n.checked)),document.getElementById("editor-admin"),e.editor.emitter.emit("reinit-editor",{list:{collapsible:Boolean(n.checked)}})}))}},{key:"addDownloadHTML",value:function(){var e=this,t=document.createElement("form");t.setAttribute("method","POST"),t.setAttribute("target","_blank");var n=document.createElement("button");n.innerText="Download HTML",t.appendChild(n);var r=document.createElement("div");r.appendChild(t),this.appendItem(r);var o=document.createElement("div");o.classList.add("editor-list-collapsible");var i=document.createElement("input");i.setAttribute("type","checkbox"),i.id="editor-to-email",i.style.cursor="pointer",i.checked=!1;var a=document.createElement("label");a.setAttribute("for","editor-to-email"),a.innerText="To Email",o.appendChild(i),o.appendChild(a);var s=document.createElement("input");s.setAttribute("type","checkbox"),s.id="editor-no-attach",s.style.cursor="pointer",s.checked=!1;var l=document.createElement("label");l.setAttribute("for","editor-no-attach"),l.innerText="No Attaches",o.appendChild(s),o.appendChild(l),this.appendItem(o),n.addEventListener("click",(function(n){n.preventDefault();var r=document.location.pathname.substring(1),o=e.editor.plugins.i18n.language,a=(new Date).getTimezoneOffset(),l=e.editor.plugins.editorStyle.getStyle(),c=l.size,u=l.style,d="",p="";i.checked&&(d="&to_email=1"),s.checked&&(p="&no_attaches=1"),t.setAttribute("action","/export-to-html/?room=".concat(r,"&ln=").concat(o,"&size=").concat(c,"&style=").concat(u,"&timezone=").concat(a).concat(d).concat(p)),t.submit(),t.removeAttribute("action")}))}},{key:"addDownloadPDF",value:function(){var e=this,t=document.createElement("button");t.innerText="Download PDF";var n=document.createElement("div");n.classList.add("pdf-export"),n.appendChild(t);var r=document.createElement("div"),o=document.createElement("div"),i=document.createElement("div"),a=document.createElement("div");r.classList.add("pdf-export-options");var s=document.createElement("label");s.classList.add("pdf-export-format-label"),s.innerText="Select papper format";var l=document.createElement("select");l.classList.add("pdf-export-format"),l.innerHTML=["A1","A2","A3","A4","A5"].map((function(e){return"<option value="+e+("A4"===e?" selected":"")+">"+e+"</option>"})).join("\n");var c=document.createElement("input");c.classList.add("pdf-export-landscape"),c.type="checkbox";var u=document.createElement("label");u.classList.add("pdf-export-landscape-label"),u.innerText="Landscape";var d=document.createElement("form");d.setAttribute("method","POST"),d.setAttribute("target","_blank");var p=document.createElement("button");p.innerText="Download",o.appendChild(s),o.appendChild(l),i.appendChild(c),i.appendChild(u),a.appendChild(d),a.appendChild(p),r.appendChild(o),r.appendChild(i),r.appendChild(a),n.appendChild(r),this.appendItem(n),t.addEventListener("click",(function(e){e.preventDefault(),r.classList.contains("open")?r.classList.remove("open"):r.classList.add("open")})),p.addEventListener("click",(function(t){t.preventDefault();var n=document.location.pathname.substring(1),r=e.editor.plugins.i18n.language,o=(new Date).getTimezoneOffset(),i=e.editor.plugins.editorStyle.getStyle(),a=i.size,s=i.style,u=l.value,p=Boolean(c.checked);d.setAttribute("action","/export-to-pdf/?room=".concat(n,"&ln=").concat(r,"&size=").concat(a,"&style=").concat(s,"&timezone=").concat(o,"&papperFormat=").concat(u,"&landscape=").concat(p)),d.submit(),d.removeAttribute("action")}))}},{key:"addMarkdownOption",value:function(){var e=this,t=document.createElement("div");t.classList.add("editor-allow-markdown");var n=document.createElement("input");n.setAttribute("type","checkbox"),n.id="editor-allow-markdown-mode",n.style.cursor="pointer",n.checked=!Object.keys(this.editor.options).includes("markdown")||this.editor.options.markdown;var r=document.createElement("label");r.setAttribute("for","editor-allow-markdown-mode"),r.innerText="Markdown",t.appendChild(n),t.appendChild(r),this.appendItem(t),n.addEventListener("change",(function(t){h8("markdown",Boolean(n.checked)),e.editor.emitter.emit("reinit-editor",{markdown:Boolean(n.checked)})}))}},{key:"addFocusMode",value:function(){var e=this,t=document.createElement("div");t.classList.add("editor-allow-focus-mode");var n=document.createElement("input");n.setAttribute("type","checkbox"),n.id="editor-allow-focus-mode",n.style.cursor="pointer",n.checked=!!Object.keys(this.editor.options).includes("focusMode")&&this.editor.options.focusMode;var r=document.createElement("label");r.setAttribute("for","editor-allow-focus-mode"),r.innerText="Focus",t.appendChild(n),t.appendChild(r),this.appendItem(t),n.addEventListener("change",(function(t){var r=Boolean(n.checked);h8("focusMode",r),e.editor.emitter.emit("set-focus-mode",{mode:r})}))}},{key:"addAdminMode",value:function(){var e=this,t=document.createElement("div");t.classList.add("editor-admin");var n=document.createElement("input");n.setAttribute("type","checkbox"),n.id="editor-admin",n.style.cursor="pointer",n.checked=!(!this.editor.options||!this.editor.options.user)&&this.editor.options.user.manage;var r=document.createElement("label");r.setAttribute("for","editor-admin"),r.innerText="Admin",t.appendChild(n),t.appendChild(r),this.appendItem(t),n.addEventListener("change",(function(t){h8("manage",Boolean(n.checked)),e.editor.emitter.emit("reinit-editor",{user:{manage:Boolean(n.checked)}})}))}},{key:"addModeSelectSize",value:function(){var e=this,t=document.createElement("select");t.id="editor-size-change",t.style.cursor="pointer",["1000px","900px","800px","700px","100%"].map((function(e){var n=document.createElement("option");n.value=e,n.innerText=e,n.style.cursor="pointer","1000px"===e&&n.setAttribute("selected","selected"),t.appendChild(n)})),this.appendItem(t),t.addEventListener("change",(function(t){document.getElementById(e.editor.root.id).style.maxWidth=t.target.value}))}},{key:"addCopyAllButton",value:function(){var e=this,t=document.createElement("button");t.innerHTML="Copy All",t.addEventListener("click",(function(t){e.editor.exec("copy-all")})),this.appendItem(t)}},{key:"addHtmlObject",value:function(){var e=document.createElement("button");e.innerHTML="HTML Object",e.addEventListener("click",(function(e){var t=document.createElement("div");t.id="businesscardmodal",t.classList="business-cardModalWrapper";var n=document.createElement("div");n.classList="business-cardModalWrapper__modal";var r=document.createElement("label");r.innerText="Url to origin",n.appendChild(r);var o=document.createElement("input");o.type="url",n.appendChild(o);var i=document.createElement("label");i.innerText="HTML",n.appendChild(i);var a=document.createElement("textarea");a.style.width="100%",a.style.height="500px",n.appendChild(a);var s=document.createElement("button");s.innerHTML="Apply",s.style.marginBottom="5px",s.addEventListener("click",d8(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.value,e.next=3,u5("POST","/sign-html",JSON.stringify({content:t}));case 3:n=e.sent,r=n.signature,gEditor.scroll.addBlot("html",{content:t,srcLink:o.value,signature:r}),document.querySelector("#businesscardmodal").remove();case 7:case"end":return e.stop()}}),e)})))),n.appendChild(s);var l=document.createElement("button");l.innerHTML="Cancel",l.style.marginBottom="5px",l.addEventListener("click",(function(){document.querySelector("#businesscardmodal").remove()})),n.appendChild(l),t.appendChild(n),document.body.appendChild(t)})),this.appendItem(e)}},{key:"addSetTestComments",value:function(){var e=this;function t(e){return Math.floor(Math.random()*Math.floor(e))}var n=document.createElement("button");n.innerHTML="Comments",n.addEventListener("click",(function(n){for(var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.children.reduce((function(t,n){return n.isContainer?[].concat(a8(t),a8(e(n))):[].concat(a8(t),[n.getWrappedBlot().id])}),n)}(e.scroll),o=t(r.length),i=[],a=0;a<o;a++)i.push({target:"blot",blotId:r.splice(t(r.length-1),1)[0],count:t(150)});e.editor.plugins.commentManager&&e.editor.plugins.commentManager.setThreads(i),e.testComments=i})),this.appendItem(n)}},{key:"openPicker",value:function(e){e.preventDefault()}},{key:"addTestTextBlot",value:function(){var e=this,t=document.createElement("button");t.innerHTML="Add test text",t.addEventListener("click",(function(t){e.editor.scroll.addBlot("paragraph-v2")})),this.appendItem(t)}},{key:"addTaskList",value:function(){var e=this,t=document.createElement("button");t.innerHTML="Add Tasks list",t.addEventListener("click",(function(t){e.editor.scroll.addBlot("tasks-list")})),this.appendItem(t)}},{key:"setTimeDateFormat",value:function(){var e=this,t=document.createElement("select");t.id="editor-datetime-format-change",t.style.cursor="pointer",t.style.marginRight="5px",t.style.width="100px";var n={"Автоопределение":!1,"Американский М/Д/Г (12-часовой)":"en-US","Британский Д/М/Г (24-часовой)":"en-GB"};Object.keys(n).map((function(r){var o,i,a,s=document.createElement("option");s.value=n[r],(null===(o=e.editor.options)||void 0===o||null===(i=o.blots)||void 0===i||null===(a=i.date)||void 0===a?void 0:a.timeLocale)===n[r]&&s.setAttribute("selected","selected"),s.innerText=r,s.style.cursor="pointer",t.appendChild(s)})),this.appendItem(t),t.addEventListener("change",(function(t){if(t.preventDefault(),t.isTrusted){var n=t.target.value;h8("datetime-format",n),e.editor.emitter.emit("reinit-editor",{"datetime-format":n})}}))}},{key:"addDumpLoadInterface",value:function(){function e(e,t){var n={};localStorage&&(localStorage.hasOwnProperty("editor-load-from-dump")&&(n=JSON.parse(localStorage.getItem("editor-load-from-dump"))),n[e]=t,localStorage.setItem("editor-load-from-dump",JSON.stringify(n)))}var t,n=(t={},localStorage&&localStorage.hasOwnProperty("editor-load-from-dump")&&(t=JSON.parse(localStorage.getItem("editor-load-from-dump"))),t),r=document.createElement("div");r.classList.add("load-with-remote-dump");var o=document.createElement("input");o.setAttribute("type","checkbox"),o.id="connect-to-socket",o.style.cursor="pointer",o.checked=!n.hasOwnProperty("connect-to-socket")||n["connect-to-socket"];var i=document.createElement("label");i.setAttribute("for","connect-to-socket"),i.innerText="Connect to socket",r.appendChild(o),r.appendChild(i);var a=document.createElement("input");a.setAttribute("type","checkbox"),a.id="load-editor-from-dump",a.style.cursor="pointer",a.checked=n["load-dump"];var s=document.createElement("label");s.setAttribute("for","load-editor-from-dump"),s.innerText="Load from dump",r.appendChild(a),r.appendChild(s);var l=document.createElement("input");l.setAttribute("type","url"),l.id="load-dump-url",l.placeholder="Paste dump URL";var c=document.createElement("input");c.setAttribute("type","text"),c.placeholder="everhelper-session-id",n["load-dump"]&&(r.appendChild(l),r.appendChild(c)),n.url&&(l.value=n.url),n.everhelperSessionId&&(c.value=n.everhelperSessionId),o.addEventListener("change",(function(){e("connect-to-socket",Boolean(o.checked))})),a.addEventListener("change",(function(){a.checked?(r.appendChild(l),e("load-dump",!0)):(r.contains(l)&&r.removeChild(l),e("load-dump",!1),e("url",null))})),l.addEventListener("input",(function(){e("url",l.value||null)})),c.addEventListener("input",(function(){e("everhelperSessionId",c.value||null)})),this.appendItem(r)}},{key:"addGrammarlySwitch",value:function(){var e=this,t=document.createElement("button"),n=function(){return e.editor.scroll.domNode.parentElement!==e.editor.editorBody};setTimeout((function(){var e=n()?"Disable grammarly":"Enable grammarly";t.innerText=e}),500),t.addEventListener("click",(function(r){n()?(e.editor.plugins.grammarlyManager.disconnect(),t.innerText="Enable grammarly"):(e.editor.plugins.grammarlyManager.connect(),t.innerText="Disable grammarly")})),this.appendItem(t)}},{key:"addUseAi",value:function(){var e=this,t=document.createElement("button");t.innerHTML="Use AI for page",t.addEventListener("click",(function(t){e.editor.plugins.aiManager&&e.editor.plugins.aiManager.promptForPage()})),this.appendItem(t)}},{key:"addShowRateEditor",value:function(){var e=document.createElement("select");e.id="rate-editor-show",e.style.cursor="pointer",e.style.marginRight="5px";var t=this.editor.plugins.editorRate.isEnabled();["hide rate editor","show rate editor"].map((function(n){var r=document.createElement("option");r.value=n,t&&"show rate editor"===n?r.setAttribute("selected","selected"):t||"hide rate editor"!==n||r.setAttribute("selected","selected"),r.innerText=n,r.style.cursor="pointer",e.appendChild(r)})),this.appendItem(e),e.addEventListener("change",this.showRateEditorEventHandler.bind(this))}},{key:"showRateEditorEventHandler",value:function(e){e.preventDefault(),e.isTrusted&&(h8("rate-editor-show",e.target.value),document.location.reload())}}])&&f8(t.prototype,r),o&&f8(t,o),e}();var g8=n(64467);function y8(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v8(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function v8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b8(e){return(b8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var w8=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.y=t.y,this.Y=t.Y,this.types={Map:this.Y.Map,Array:this.Y.Array,Text:this.Y.Text},this.QuillBinding=JM,this.root=this.y.get("root",this.types.Map),this.rootChildren=this.y.get("rootChildren",this.types.Array),this.blocks=this.y.get("blocks",this.types.Map),this.subDocs=this.y.get("subDocs",this.types.Map),this.cache=this.y.get("cache",this.types.Map)}var t,n,o;return t=e,(n=[{key:"destroy",value:function(){this.y.destroy()}},{key:"getSubStore",value:function(t){return new e({Y:this.Y,y:t})}},{key:"createSubDocument",value:function(){var e=new this.Y.Doc;return e.loaded=!0,e.load(),this.subDocs.set(e.guid,e),e}},{key:"userId",get:function(){return this.y.clientID}},{key:"getExceptionSafeObserver",value:function(e){return function(){try{e.apply(void 0,arguments)}catch(e){setTimeout((function(){throw new Error("got an exception in yjs observer, that was handled gracefully, original stack trace: "+e.stack)}),0)}}}},{key:"observe",value:function(e,t){if(t._exceptionSafeObserver)throw new Error("editor internal error: fn already has _exceptionSafeObserver, consider making observers dynamically created functions");return t._exceptionSafeObserver=this.getExceptionSafeObserver(t),e.observe.call(e,t._exceptionSafeObserver)}},{key:"unobserve",value:function(e,t){var n=t;return t._exceptionSafeObserver&&(n=t._exceptionSafeObserver,delete t._exceptionSafeObserver),e.unobserve.call(e,n)}},{key:"observeDeep",value:function(e,t){return t._exceptionSafeObserver=this.getExceptionSafeObserver(t),e.observeDeep.call(e,t._exceptionSafeObserver)}},{key:"unobserveDeep",value:function(e,t){var n=t;return t._exceptionSafeObserver&&(n=t._exceptionSafeObserver),e.unobserveDeep.call(e,n)}},{key:"createMap",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new this.types.Map;if(e=e||"b"+this.y.clientID+"_"+(0,r.getState)(this.y.store,this.y.clientID),n.set("id",e),"object"===b8(t))for(var o in t)n.set(o,t[o]);return this.blocks.set(e,n),n}},{key:"createMapForBlot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.createMap();return e.initMap(n,this,t),n}},{key:"transaction",value:function(e,t){return this.y.transact(e,t)}},{key:"getMap",value:function(e){return this.blocks.get(e)}},{key:"pauseExternalUpdates",value:function(){this.y.pauseExternalUpdates()}},{key:"resumeExternalUpdates",value:function(){this.y.resumeExternalUpdates()}},{key:"copyBlotMap",value:function(e,t){var n=["children","caption"];console.log("Copy map",n,e.toJSON());var r=s5.query(e.get("type"));r&&r.getChildrenKeys&&(n=r.getChildrenKeys());var o=this.createMap(e.get("id"));try{(0,g8.copyMap)(e,o,this)}catch(e){throw e}var i,a=y8(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(e.has(s)){var l=e.get(s);l instanceof this.types.Array||(l=[l]);var c,u=y8(l);try{for(u.s();!(c=u.n()).done;){var d=c.value,p=t.getMap(d);this.copyBlotMap(p,t)}}catch(e){u.e(e)}finally{u.f()}}}}catch(e){a.e(e)}finally{a.f()}}}])&&_8(t.prototype,n),o&&_8(t,o),e}();function C8(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S8(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function S8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var x8=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.blots=t.blots,this.hoverBlots=null,this.scroll=t.scroll,this.editor=t.editor,this.action=null,this.touch=t.touch,this.disablePhantoms=t.disablePhantoms,this.cursorPosition=null,this.initCursorPosition=null,this.minSideDropDistance=t.minSideDropDistance,this.isControlled=t.isControlled||!1,this.phantoms=null,this._scrollRect=null,this._gridColPaddingFirst=null,this._gridColPaddingLast=null,this._nodesRects=new Map,this._wholeContainersDragging=null,this.blots){var n,r=C8(this.blots);try{for(r.s();!(n=r.n()).done;){n.value.setProps({dragging:!0})}}catch(e){r.e(e)}finally{r.f()}}}var t,n,r;return t=e,(n=[{key:"getEventsNames",value:function(){return this.touch?{pointermove:"touchmove",pointerup:"touchend"}:{pointermove:"mousemove",pointerup:"mouseup"}}},{key:"setBlots",value:function(e){if(!this.isControlled)throw new Error("DragSession#setBlots can only be called within a controlled session");this.blots=e}},{key:"setCursorPosition",value:function(e,t){this.cursorPosition=Object.freeze({x:e,y:t})}},{key:"setInitCursorPosition",value:function(e,t){this.initCursorPosition=Object.freeze({x:e,y:t})}},{key:"setPhantoms",value:function(e){this.phantoms=e}},{key:"cleanup",value:function(){this.clearAction();var e,t=C8(this.blots);try{for(t.s();!(e=t.n()).done;){var n,r,o=e.value;o.setProps({dragging:!1}),null===(n=this.editor)||void 0===n||null===(r=n.emitter)||void 0===r||r.emit("drop",o)}}catch(e){t.e(e)}finally{t.f()}}},{key:"clearAction",value:function(){this.action&&(this.action=null,this.hoverBlots=null,this.clearDrawBorders())}},{key:"clearDrawBorders",value:function(){var e,t=C8(document.querySelectorAll(".dnd-border"));try{for(t.s();!(e=t.n()).done;){var n=e.value;n.parentNode.removeChild(n)}}catch(e){t.e(e)}finally{t.f()}var r,o=C8(document.querySelectorAll(".on-blot-drop"));try{for(o.s();!(r=o.n()).done;)r.value.classList.remove("on-blot-drop")}catch(e){o.e(e)}finally{o.f()}}},{key:"getLeftDropBorder",value:function(e,t){var n,r,o,i=ie(e,(function(e){return e instanceof $1}));if(i){var a=this.getGridColPadding(i),s=i.domNode.getBoundingClientRect();n=s.x+a.left-this.minSideDropDistance,o=s.height-a.bottom-a.top,r=i.children.head.domNode.getBoundingClientRect().y}else{n=t.x-this.minSideDropDistance;var l=e.domNode.getBoundingClientRect();r=l.y,o=l.height,e.domNode.classList.add("on-blot-drop")}return[n,r,0,o]}},{key:"getRightDropBorder",value:function(e,t){var n,r,o,i=ie(e,(function(e){return e instanceof $1}));if(i){var a=i.domNode.getBoundingClientRect();n=(o=i.children.head.domNode.getBoundingClientRect()).y;var s=this.getGridColPadding(i);r=a.height-s.bottom-s.top}else n=(o=e.domNode.getBoundingClientRect()).y,r=o.height,e.domNode.classList.add("on-blot-drop");return[o.x+o.width+this.minSideDropDistance,n,0,r]}},{key:"drawDropBorders",value:function(e,t){var n,r=this.getScrollRect(),o="";if("left"===e)n=this.getLeftDropBorder(t,r),o="vertical";else if("right"===e)n=this.getRightDropBorder(t,r),o="vertical";else if("top"===e){var i=t.domNode.getBoundingClientRect();n=[i.x,i.y-0,i.width,0],o="horizontal"}else if("bottom"===e){var a=t.domNode.getBoundingClientRect();n=[a.x,a.y+a.height+0,a.width,0],o="horizontal"}else if("inside"===e){var s,l=t.domNode.getElementsByClassName("dnd-highlight");n=[(s=l.length?l[0].getBoundingClientRect():t.domNode.getBoundingClientRect()).x-1,s.y-1,s.width-2,s.height-2],o="inside"}var c=n.join("."),u=document.querySelector(".dnd-border");if(u){if(u.getAttribute("data-props")===c)return;u.parentNode.removeChild(u)}var d,p=document.createElement("div");d="top"===e||"bottom"===e?Math.max(n[0],r.left):n[0];var f=Math.min(r.width+r.left-d,n[2]);p.setAttribute("data-props",c);var h=this.editor.scrollingContainer.getBoundingClientRect();p.style.position="absolute",p.style.left=this.editor.scrollingContainer.scrollLeft+d-h.x+"px",p.style.top=this.editor.scrollingContainer.scrollTop+n[1]-h.y+"px",p.style.width=f+"px",p.style.height=n[3]+"px",p.classList.add("dnd-border"),p.classList.add(o),this.editor.scrollingContainer.appendChild(p)}},{key:"setAction",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.action={action:e,blot:t},this.drawDropBorders(e,t,n.parentGridCol)}},{key:"getAction",value:function(){return this.action}},{key:"getScrollRect",value:function(){return this._scrollRect?this._scrollRect:this.scroll.domNode.getBoundingClientRect()}},{key:"getGridColPadding",value:function(e){var t="_gridColPaddingFirst";if(e.prev&&(t="_gridColPaddingLast"),null===this[t]){var n=(0,H.AH)(e.domNode,["paddingLeft","paddingTop","paddingBottom","paddingRight"],"px");this[t]={left:n.paddingLeft,top:n.paddingTop,right:n.paddingRight,bottom:n.paddingBottom}}return this[t]}},{key:"getNodeRect",value:function(e){return this._nodesRects.has(e)||this._nodesRects.set(e,e.getBoundingClientRect()),this._nodesRects.get(e)}},{key:"getInGridColPosition",value:function(e,t){var n=this.getGridColPadding(e).left,r=this.getNodeRect(e.domNode),o=t-r.x;return o<=n?"paddingLeft":o>=r.width-n?"paddingRight":"body"}},{key:"getWholeContainersDragging",value:function(){if(this._wholeContainersDragging)return this._wholeContainersDragging;this._wholeContainersDragging=[];var e,t={},n={},r=C8(this.blots);try{for(r.s();!(e=r.n()).done;){var o=e.value.container,i=o.id;t[i]||(t[i]=o),n[i]||(n[i]=0),n[i]++}}catch(e){r.e(e)}finally{r.f()}var a=[];for(var s in t){var l=t[s];n[s]===l.children.length&&a.push(l)}return this._wholeContainersDragging=a,this._wholeContainersDragging}},{key:"getMoveContext",value:function(){return{}}}])&&E8(t.prototype,n),r&&E8(t,r),e}();function k8(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O8(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function O8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T8(e){return(T8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A8(e){var t=[];return e.map((function(e){t.indexOf(-1==e.constructor.blotName)&&t.push(e.constructor.blotName)})),t}function P8(e){var t=Array.from(e),n=t[0]&&t[0].constructor.blotName;t.shift();for(var r=0,o=t;r<o.length;r++){if(o[r].constructor.blotName!==n)return!1}return!0}function R8(e){var t={},n=!0,r=!0,o=null,i=!1;if(e.map((function(e){var a=e.contextMenu;null!==o&&o!==oe(e,$1)&&(n=!1,r=!1),o=oe(e,$1),e.isBlotLocked&&(i=!0),Object.keys(a).map((function(e){t[e]||(t[e]=a[e])}))})),i){var a=0,s=0,l=0;e.map((function(e){e instanceof zh||e instanceof D6||e instanceof Y6||e instanceof i4||e instanceof Ah||e instanceof fD?a++:e instanceof Ep||e instanceof Np||e instanceof $p?s++:(console.log("block",e),l++)})),e.length===a?t["turn-into"]&&(t["turn-into"].submenu.turnToChecklist=!1,t["turn-into"].submenu.turnToNumberList=!1,t["turn-into"].submenu.turnToBulletList=!1,t["turn-into"].submenu.turnToSyntax=!1):e.length===s?t["turn-into"]&&(t["turn-into"].submenu.turnToParagraph=!1,t["turn-into"].submenu.turnToLarge=!1,t["turn-into"].submenu.turnToMedium=!1,t["turn-into"].submenu.turnToSmall=!1,t["turn-into"].submenu.turnToBlockquote=!1,t["turn-into"].submenu.turnToHint=!1,t["turn-into"].submenu.turnToSyntax=!1):(a>0&&s>0||l>0)&&delete t["turn-into"]}return!n&&t["turn-into"]&&delete t["turn-into"],!r&&t.duplicate&&delete t.duplicate,t}function I8(e){var t={};for(var n in Object.keys(e).map((function(n){"object"!==T8(e[n])||Array.isArray(e[n])||(e[n].id=n,t[e[n].group]||(t[e[n].group]=[]),t[e[n].group].push(e[n]))})),t)t[n]=t[n].sort((function(e,t){return e.index-t.index}));return t}function M8(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(n&&1===n.length)return!0;var r=!0;return e.stackable?Array.isArray(e.stackable)&&t.map((function(t){-1==e.stackable.indexOf(t)&&(r=!1)})):r=!1,r}var N8=n(33141),D8=n.n(N8);function j8(e){return(j8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L8(e){return function(e){if(Array.isArray(e))return B8(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)return;if("string"==typeof e)return B8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B8(e,t)}(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 B8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U8(e,t){return(U8=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H8(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=z8(e);if(t){var o=z8(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V8(this,n)}}function V8(e,t){if(t&&("object"===j8(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 z8(e){return(z8=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}De.opacityLight,De.opacityDark,De.opacityDark;var q8=function(e){!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}}),t&&U8(e,t)}(i,e);var t,n,r,o=H8(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={selectedColor:e.defaultColor},t}return t=i,(n=[{key:"onClickColor",value:function(e,t){var n=this.props,r=n.execAction,o=n.closeOnChoice,i=n.onMenuItemExec,a={};!1===o&&(a.close=!1),t.preventDefault(),i(r,e,a),a.close||this.setState((function(){return{selectedColor:e}}))}},{key:"render",value:function(){var e=this,t=gs(this.state.selectedColor),n=this.props,r=n.onMouseDown,o=n.onSubmenuRef,i=n.noColor,a=D8().clone(Je);a.push.apply(a,L8(Ke));var l=(0,s.h)("div",{onClick:this.onClickColor.bind(this,i),className:"color-menu-item"},(0,s.h)("div",{className:"color-icon"},(0,s.h)(ct.voX,null)));return(0,s.h)(At.Z,{addClassName:"block-menu-color-picker",key:"block-menu-color-picker",domRef:o},a.map((function(n){return(0,s.h)(ss,{idAttr:"data-color-name",key:n,onClick:e.onClickColor.bind(e,n),onMouseDown:r,colorName:n,selected:t===n})})),l)}}])&&F8(t.prototype,n),r&&F8(t,r),i}(s.wA);function G8(){return(G8=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function W8(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Y8(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){W8(i,r,o,a,s,"next",e)}function s(e){W8(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Z8(e){return(Z8="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K8(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return $8(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $8(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function $8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J8(e,t){return(J8=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function e7(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=r7(e);if(t){var o=r7(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return t7(this,n)}}function t7(e,t){if(t&&("object"===Z8(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n7(e)}function n7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e){return(r7=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i7=(0,Rn.ZP)("esc"),a7=Ld().blockMenuListAppearDuration;function s7(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=["submenuVisible"],n={},r=0,o=t;r<o.length;r++){var i=o[r];n[i]=i===e}return n}var l7=function(e){!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}}),t&&J8(e,t)}(i,e);var t,n,r,o=e7(i);function i(){var e;Q8(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return o7(n7(e=o.call.apply(o,[this].concat(n))),"onMouseDown",(function(e){e&&(e.preventDefault(),e.stopPropagation())})),o7(n7(e),"onRef",(function(t){e.domNode=t})),o7(n7(e),"onSubmenuRef",(function(t){if(e.submenuNode=t,t){var n=!0,r={};e.submenuPopper=new Yj.Z(e.domNode,t,{placement:"right-start",removeOnDestroy:!0,onCreate:function(){n=!1},modifiers:{flip:{behavior:["right","left","right"],fn:function(e,t){return n?(e=Yj.Z.Defaults.modifiers.flip.fn(e,t),r={flipped:e.flipped,placement:e.placement,offsets:e.offsets},e):Object.assign(e,r)},boundariesElement:e.props.scrollingContainer},offset:{offset:"-11px, 0"},preventOverflow:{priority:["bottom","top"]}}})}else e.submenuPopper&&(e.submenuPopper.destroy(),e.submenuPopper=null)})),o7(n7(e),"renderItem",(function(t,n){var r=!1;n.action&&!n.submenu&&(r=n.actionExec?function(t){t.preventDefault(),t.stopPropagation(),e.onMenuItemExec(n.action,n.actionParams)}:function(t){t.preventDefault(),t.stopPropagation(),e.onMenuItemAction(n.action,n.actionParams)});var o=!1;if("turn-into"===e.props.id){var i=e.props.getSelectedBlocks(),a=1===i.length&&e.props.blot.constructor.blotName||P8(i)&&e.props.blot.constructor.blotName||!1;a&&(n.actionParams.type===a||"list"===n.actionParams.type&&n.actionParams.items[0]===a)&&(o=!0)}return(0,s.h)(Cn.Z,{idAttr:e.props.idAttr,id:t,disabled:!(!1!==n.active&&!o),menuStyle:n.style||null,onClick:!1!==n.active&&!o&&r,onMouseDown:e.onMouseDown,icon:n.icon||null,text:n.label,hint:n.hint||null})})),o7(n7(e),"renderColorPicker",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.h)(q8,{execAction:t.execAction||"set-background",defaultColor:t.getSelectedColor?t.getSelectedColor():e.getCurrentBackground(),noColor:t.hasOwnProperty("defaultColor")?t.defaultColor:cd.defaultBgColor,closeOnChoice:t.closeOnChoice,onMenuItemExec:e.onMenuItemExec,onMouseDown:e.onMouseDown,onSubmenuRef:e.onSubmenuRef,theme:e.props.theme,blot:e.props.blot})})),o7(n7(e),"getCurrentBackground",(function(){var t,n=!1,r=K8(e.props.selectedBlocks);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o.getColor)if(n){if(n!==o.getColor()){n=!1;break}}else n=o.getColor()}}catch(e){r.e(e)}finally{r.f()}return n!==cd.defaultBgColor&&n})),o7(n7(e),"renderGroup",(function(t){var n=function(t){return t.filter((function(t){return!!e.props.singleBlock||e.props.verifyItem(t)}))}(t);return(0,s.h)("div",{className:"block-menu-group"},n.map((function(t){return e.renderItem(t.id,t)})))})),o7(n7(e),"groupItems",(function(e){var t={};for(var n in Object.keys(e).map((function(n){"object"===Z8(e[n])&&(e[n].id=n,t[e[n].group]||(t[e[n].group]=[]),t[e[n].group].push(e[n]))})),t)t[n]=t[n].sort((function(e,t){return e.index-t.index}));return t})),o7(n7(e),"onMouseEnter",(function(t){e.setState((function(e){return s7(!e.submenuVisible&&"submenuVisible")}))})),o7(n7(e),"onMouseLeave",(function(t){e.setState((function(){return s7()}))})),o7(n7(e),"onBodyKeyDown",(function(t){i7(t)&&e.props.submenu&&(t.stopPropagation(),e.setState((function(t){if(t.submenuVisible){var n=e.domNode.lastChild&&e.domNode.lastChild.firstChild&&e.domNode.lastChild.firstChild.className,r=e.domNode.getElementsByClassName("popup-menu");if(1===r.length||r.length>1&&"popup-menu"===n)return{submenuVisible:!1}}return null})))})),o7(n7(e),"onMenuItemExec",function(){var t=Y8(regeneratorRuntime.mark((function t(n){var r,o,i=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.length>1&&void 0!==i[1]?i[1]:{},o=i.length>2&&void 0!==i[2]?i[2]:{},o=Object.assign({close:!0},o),"convert-blot"!==n||!r){t.next=13;break}if("bookmark"!==r.type){t.next=7;break}if(!window.navigator||window.navigator.onLine){t.next=7;break}return t.abrupt("return",editor.plugins.notificationManager.showError({message:"bookmarkOfflineAdd"}));case 7:if("syntax"!==r.type&&"button-single"!==r.type){t.next=13;break}return t.next=10,(0,fe.Wv)(e.props.blot.editor,e.props.wantsToClose,r.type);case 10:if(!t.sent){t.next=13;break}return t.abrupt("return",!1);case 13:e.props.onExec(n,r),o.close&&e.props.wantsToClose();case 15:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),o7(n7(e),"onMenuItemAction",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.props.onAction(t,n),e.props.wantsToClose()})),e}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this;this.props.submenu&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("keydown",e.onBodyKeyDown)}),0))}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),this.props.submenu&&document.body.removeEventListener("keydown",this.onBodyKeyDown)}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.idAttr,o=t.menuStyle,i=t.disabled,a=t.submenu,l=t.colorPickerParams,c=this.props.icon,u=o7({},r,n),d=o?" menu-item-"+o:"";i&&(d+=" disabled");var p=null;if(this.state.submenuVisible&&a)if("object"===Z8(a)){var f=this.groupItems(a);p=(0,s.h)(At.Z,{addClassName:"block-menu-submenu",key:"block-menu-submenu",domRef:this.onSubmenuRef},Object.keys(f).map((function(t){return e.renderGroup(f[t])})))}else p="ColorPicker"===a?this["render"+a](l):this["render"+a]();return(0,s.h)("div",G8({},u,{"data-menu-id":n,onClick:this.props.onClick,onMouseDown:this.onMouseDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,className:"menu-item"+d,ref:this.onRef}),c?(0,s.h)("div",{className:"icon"},(0,s.h)(c,null)):null,(0,s.h)("div",{className:"text"},this.props.text),this.props.hint?(0,s.h)("div",{className:"hint"},this.props.hint):null,(0,s.h)(dt.Z,{transitionName:"block-menu",transitionEnterTimeout:a7,transitionLeaveTimeout:a7},p))}}])&&X8(t.prototype,n),r&&X8(t,r),i}(s.wA),c7=n(36372),u7=n.n(c7);function d7(e){return(d7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f7(e,t){return(f7=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h7(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y7(e);if(t){var o=y7(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m7(this,n)}}function m7(e,t){if(t&&("object"===d7(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g7(e)}function g7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y7(e){return(y7=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b7=function(e){!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}}),t&&f7(e,t)}(i,e);var t,n,r,o=h7(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),v7(g7(t=o.call(this,e)),"onRef",(function(e){t.domNode=e})),v7(g7(t),"onArrowClick",(function(e){e.preventDefault(),e.stopPropagation();var n=t.props.collapsible,r=n&&"object"===d7(n)&&!Array.isArray(n)&&n.collapsed;if(t.props.onExpandCollapse){var o=t.props.name||t.domRef;t.props.onExpandCollapse(o,!r)}})),v7(g7(t),"onArrowMouseDown",(function(e){e.preventDefault(),e.stopPropagation()}));var n=e.collapsible;return t.state={collapsed:n&&"object"===d7(n)&&!Array.isArray(n)&&n.collapsed},t}return t=i,(n=[{key:"render",value:function(){var e=this.props.collapsible,t=e&&"object"===d7(e)&&!Array.isArray(e)&&e.collapsed,n=["header-menu"],r=null;return e&&(t&&n.push("collapsed"),r=(0,s.h)("span",{className:"header-menu-arrow",onClick:this.onArrowClick,onMouseDown:this.onArrowMouseDown},(0,s.h)(ct.v92,null))),this.props.className&&n.push(this.props.className),(0,s.h)("div",{className:n.join(" "),ref:this.onRef},(0,s.h)("span",{className:"header-menu-title"},this.props.children),r)}}])&&p7(t.prototype,n),r&&p7(t,r),i}(s.wA);function _7(e){return(_7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S7(e,t){return(S7=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E7(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O7(e);if(t){var o=O7(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x7(this,n)}}function x7(e,t){if(t&&("object"===_7(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return k7(e)}function k7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O7(e){return(O7=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A7=function(e){!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}}),t&&S7(e,t)}(i,e);var t,n,r,o=E7(i);function i(){var e;w7(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T7(k7(e=o.call.apply(o,[this].concat(n))),"onClick",(function(t){t.preventDefault(),t.stopPropagation();var n=e.props,r=n.targetBlank,o=n.url;r?window.open(o,"_blank"):window.open(o)})),T7(k7(e),"onMouseDown",(function(e){e.preventDefault(),e.stopPropagation()})),e}return t=i,(n=[{key:"render",value:function(){return(0,s.h)("div",{onClick:this.onClick,onMouseDown:this.onMouseDown,className:"link-menu-item"},this.props.children)}}])&&C7(t.prototype,n),r&&C7(t,r),i}(s.wA);const P7=JSON.parse('{"paragraph":{"preview":"","url":""},"todo":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Checkbox_list.gif","url":"","for":"management"},"numberedlist":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Number_list.gif","url":"","for":"management"},"bulletlist":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Bullet_list.gif","url":"","for":"management"},"table":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Table.gif","url":"","for":"management"},"image":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Image.gif","url":"","for":"management"},"file":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Files.gif","url":"","for":"management"},"largeheading":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_heading_large.gif","url":"","for":"management"},"mediumheading":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_heading_medium.gif","url":"","for":"management"},"smallheading":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_heading_small.gif","url":"","for":"management"},"tasks-list":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Task_list.gif","url":"","for":"collaboration"},"hline":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Section_Break.gif","url":"","for":"management"},"link":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Link.gif","url":"","for":"management"},"syntax":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Code.gif","url":"","for":"collaboration"},"link-page":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Link_page.gif","url":"","for":"management"},"date":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Date.gif","url":"","for":"management"},"mention":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Member.gif","url":"","for":"collaboration"},"blockquote":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Quote.gif","url":"","for":"management"},"hint":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Hint.gif","url":"","for":"management"},"toggle":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Toggle_list.gif","url":"","for":"management"},"outline":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Outline.gif","url":"","for":"management"},"lock-blot":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Lock_Block.gif","url":"","for":"collaboration"},"embed":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Embed.gif","url":""},"figma":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Figma.gif","url":""},"miro":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_two_column.gif","url":""},"columns":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Miro.gif","url":""},"meeting-notes":{"preview":"","url":""},"marketing-brief":{"preview":"","url":""},"content-plan":{"preview":"","url":""},"integrations":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Embed.gif","url":""},"google-drive":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Google_drive.gif","url":""},"google-sheets":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Google_sheet.gif","url":""},"bookmark":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Bookmark.gif","url":"","for":"collaboration"},"audioRec":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Audio_Record.gif","url":"","for":"collaboration"},"videoRec":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Video_Record.gif","url":"","for":"collaboration"},"button":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Button.gif","url":"","for":"collaboration"},"largeheading-toggle":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_CollHead_Large.gif","url":"","for":"management"},"mediumheading-toggle":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_CollHead_Middle.gif","url":"","for":"management"},"smallheading-toggle":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_CollHead_Small.gif","url":"","for":"management"},"database-with-options":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Table.gif","url":""},"board":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Task_Board.gif","url":"","for":"collaboration"},"progress":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Progress.gif","url":"","for":"collaboration"},"uploader":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_File_Uploader.gif","url":"","for":"management"},"dropdown-list":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Dropdown_List.gif","url":"","for":"collaboration"},"use-ai":{"preview":"https://nimbusweb.me/editor-tips/238x138px_pm_4106_Use_Ai_new.gif","url":"","for":"collaboration"}}');var R7={placement:"left",behavior:["left","right"],priority:["left","right","bottom","top"],positionFixed:!0,offset:"0, 12px"};function I7(e){var t=e.editor,n=e.id,r=e.onRef,o=e.anchorNode,i=e.anchorOptions,a=void 0===i?{}:i,l=e.i18n;if(!n)return null;var c=l.get("convert_menu_tooltips."+n+".title"),u=l.get("convert_menu_tooltips."+n+".description");if(!P7[n]&&!c&&!u)return null;var d=(0,T.sO)(null),p=P7[n]&&P7[n].for&&l.get("convert_menu_tooltips.labels."+P7[n].for),f=!(!P7[n]||!Boolean(P7[n].preview))&&P7[n].preview,h=document.createElement("div");h.classList.add("convert-menu-tooltip-arrow"),(0,T.d4)((function(){if(d.current&&d.current.domNode){var e=d.current.domNode.querySelector(".convert-menu-tooltip-arrow");e&&d.current.domNode.removeChild(e),d.current.domNode.appendChild(h);var t=d.current.domNode.getBoundingClientRect(),n=o.getBoundingClientRect().top-t.top;h.style.top=n+8+"px"}}),[d.current]);var m=Object.assign({boundariesElement:t.getScrollingContainer(),overflowBoundariesElement:t.getScrollingContainer(),arrow:{element:h}},R7,a);return(0,s.h)(At.Z,{ref:d,domRef:r,anchorNode:o,anchorOptions:m,addClassName:"convert-menu-tooltip",onMouseDown:function(e){e.stopPropagation()},onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},c?(0,s.h)("div",{className:"convert-menu-tooltip-title"},c):null,u?(0,s.h)("div",{className:"convert-menu-tooltip-description"},u):null,p?(0,s.h)("div",{className:"convert-menu-tooltip-label"+(P7[n]&&P7[n].url?" link-label":""),onClick:function(){P7[n]&&P7[n].url&&window.open(P7[n].url,"_blank","noopener")}},p):null,f?(0,s.h)("div",{className:"convert-menu-tooltip-preview"},(0,s.h)("img",{loading:"lazy",src:f})):null)}function M7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N7="editor_menu_header_state";function D7(e){return(D7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j7(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return L7(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L7(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function L7(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function B7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F7(e,t){return(F7=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U7(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=z7(e);if(t){var o=z7(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return H7(this,n)}}function H7(e,t){if(t&&("object"===D7(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return V7(e)}function V7(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z7(e){return(z7=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G7={placement:"bottom-start",behavior:["bottom","top","bottom"],offset:"0, 0",priority:["left","right"],boundariesElement:"viewport"},W7=[];function Y7(e){var t=e.onClick,n=e.onClose;return(0,s.h)("div",{className:"rate-editor-in-menu",onClick:t,onMouseDown:function(e){return e.preventDefault()}},(0,s.h)(ct.GK,{className:"icon-star"}),(0,s.h)("div",{className:"rate-editor-title"},"Rate the Page Editor"),(0,s.h)(ct.VG8,{className:"icon-chevron-right"}),(0,s.h)(ct.bMz,{className:"icon-close",onClick:n}))}var Z7=function(e){!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}}),t&&F7(e,t)}(i,e);var t,n,r,o=U7(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),q7(V7(t=o.call(this,e)),"onRef",(function(e){t.domNode=e,t.props.domRef&&t.props.domRef(e)})),q7(V7(t),"onTooltipRef",(function(e){t.tooltipNode=e})),q7(V7(t),"onEnterAction",(function(e,n){e.preventDefault();var r=n.getAttribute("data-menu-id"),o=t.props.items.find((function(e){return e.id===r}));o&&t.props.onChooseItem(o.fn)})),q7(V7(t),"onMenuItemMouseMove",(function(e){var t=e.target.closest(".menu-item");t&&(t.classList.contains("menu-item-selected")||(Array.from(t.closest(".popup-menu").querySelectorAll(".menu-item")).forEach((function(e){e.classList.remove("menu-item-selected")})),t.classList.add("menu-item-selected")))})),q7(V7(t),"onMenuItemMouseEnter",(function(e){clearTimeout(t.tooltipShowTimeout),clearTimeout(t.tooltipHideTimeout),t.state.tooltip&&t.setState((function(){return{tooltip:null}}));var n=e.target.closest(".menu-item");if(n){var r=n.getAttribute("data-menu-id");t.tooltipShowTimeout=setTimeout((function(){t.setState((function(){return{tooltip:{id:r,anchor:n}}}))}),1e3)}})),q7(V7(t),"onMenuMouseLeave",(function(e){clearTimeout(t.tooltipShowTimeout),t.state.tooltip&&(t.tooltipHideTimeout=setTimeout((function(){t.setState((function(){return{tooltip:null}}))}),1e3))})),q7(V7(t),"onTooltipMouseEnter",(function(e){clearTimeout(t.tooltipHideTimeout)})),q7(V7(t),"onTooltipMouseLeave",(function(e){clearTimeout(t.tooltipShowTimeout),t.state.tooltip&&(t.tooltipHideTimeout=setTimeout((function(){t.setState((function(){return{tooltip:null}}))}),1e3))})),q7(V7(t),"onExpandCollapse",(function(e,n){t.setState((function(){return q7({},e,{collapsed:n})})),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(localStorage.hasOwnProperty(N7))try{var n=JSON.parse(localStorage.getItem(N7)),r=Object.assign({},n,M7({},e,n[e]?Object.assign({},n[e],t):t));localStorage.setItem(N7,JSON.stringify(r))}catch(e){}else localStorage.setItem(N7,JSON.stringify(M7({},e,t)))}(e,{collapsed:n})})),q7(V7(t),"onRateEditorClick",(function(e){e.stopPropagation(),t.setState({rateEditorVisible:!1}),t.props.onRateEditorClick()})),q7(V7(t),"onRateEditorCloseClick",(function(e){e.stopPropagation(),t.setState({rateEditorVisible:!1}),t.props.onRateEditorCloseClick()}));var n,r={},a=j7(t.props.items);try{for(a.s();!(n=a.n()).done;){var s=n.value;"header"===s.type&&s.collapsible&&(r[s.name]={collapsed:s.collapsible.collapsed})}}catch(e){a.e(e)}finally{a.f()}return r.rateEditorVisible=!0,t.state=r,t}return t=i,(n=[{key:"selectFirstItem",value:function(){var e=this.domNode;if(this.props.containerNode&&(e=this.props.containerNode),e){var t=Array.from(e.querySelectorAll(".menu-item"));t.length&&(t.forEach((function(e){return e.classList.remove("menu-item-selected")})),t[0].classList.add("menu-item-selected"))}}},{key:"componentDidMount",value:function(){this.selectFirstItem()}},{key:"componentDidUpdate",value:function(e){e.items.length!==this.props.items.length&&this.selectFirstItem()}},{key:"render",value:function(){var e=this,t=this.props,n=t.wantsToClose,r=t.menuMaxHeight,o=t.styles,i=t.items,a=t.onChooseItem,l=t.anchorNode,c=t.anchorOptions,u=t.updatePosition,d=t.i18n,p=this.state.tooltip,f=r;(!f||f<0)&&(f=340);var h=u?u1:At.Z,m=((0,s.h)("div",{className:"convert-menu-footer"},(0,s.h)("div",{className:"convert-menu-footer-top"},d.get("embedded_menu.footer_top")),(0,s.h)("div",{className:"convert-menu-footer-bottom"},d.get("embedded_menu.footer_bottom"),(0,s.h)("a",{href:"https://support.nimbusweb.co/portal/en/newticket",target:"_blank"},d.get("embedded_menu.footer_link")))),!1),g=0,y=null;return this.props.showEditorRate&&(y=this.state.rateEditorVisible&&(0,s.h)(Y7,{key:"rate-editor",onClick:this.onRateEditorClick,onClose:this.onRateEditorCloseClick})),(0,s.h)(s.HY,null,(0,s.h)(h,{wantsToClose:n,closeOnEsc:!0,maxHeight:f,domRef:this.onRef,customStyles:o,anchorNode:l,anchorOptions:Object.assign({},G7,c),keyNavigation:!0,keyNavigationParams:{stickyHeader:!0,headerHeight:48},onEnterAction:this.onEnterAction,onMouseLeave:this.onMenuMouseLeave},y,i.map((function(t){if(!t.type){if(m)return null;var n=t.id,r=t.Icon,o=t.hint,i=t.title,l=t.fn,c=t.menuStyle,u=t.isNew;return(0,s.h)(Cn.Z,{idAttr:"data-menu-id",id:n,menuStyle:c,key:n,onClick:a.bind(null,l),icon:r,text:i,hint:o,isNew:u,onMenuItemMouseMove:e.onMenuItemMouseMove,onMenuItemEnter:e.onMenuItemMouseEnter,onMenuItemLeave:e.onMenuItemMouseLeave})}if("header"===t.type)return m=!(!e.state[t.name]||!e.state[t.name].collapsed),(0,s.h)(b7,{className:0==g++?"first-header":"",name:t.name,collapsible:e.state[t.name]||!1,onExpandCollapse:e.onExpandCollapse},t.title);if("link"===t.type){if(m)return null;var d=t.title,p=t.url,f=t.targetBlank;return(0,s.h)(A7,{targetBlank:f,url:p},d)}}))),p&&!W7.includes(p.id)?(0,s.h)(I7,{id:p.id,anchorNode:p.anchor,onRef:this.onTooltipRef,i18n:d,editor:this.props.editor,onMouseEnter:this.onTooltipMouseEnter,onMouseLeave:this.onTooltipMouseLeave}):null)}}])&&B7(t.prototype,n),r&&B7(t,r),i}(s.wA);function K7(e){return function(e){if(Array.isArray(e))return $7(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)return;if("string"==typeof e)return $7(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $7(e,t)}(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 $7(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Q7={suggestions:{collapsible:!0,items:["board","tasks-list","step","step-aggregator","uploader","use-ai","mediumheading-toggle","link-page","audioRec","videoRec","integrations"]},basic:{items:["largeheading","mediumheading","smallheading","paragraph","table","numberedlist","bulletlist","todo","toggle","link","hline","file","outline","lock-blot"]},advanced:{items:["syntax","tasks-list","step","board","hint","progress","dropdown-list","blockquote","link-page","date","mention","button","largeheading-toggle","mediumheading-toggle","smallheading-toggle"]},media:{items:["image","audioRec","videoRec","bookmark","unsplash"]},embed:{items:["embed","google-drive","google-sheets","figma","miro","more-integrations"]},views:{items:["columns","database-with-options"]},templates:{items:["meeting-notes","marketing-brief","content-plan","more-templates"]},helpful_links:{items:["get-feedback","contact-support","learn-nimbus"]}};function X7(e,t){var n=Object.keys(Q7).reduce((function(t,n){return t[n]=e.filter((function(e){return Q7[n].items.includes(e.id)})).sort((function(e,t){return Q7[n].items.indexOf(e.id)>Q7[n].items.indexOf(t.id)?1:Q7[n].items.indexOf(e.id)<Q7[n].items.indexOf(t.id)?-1:0})),t}),{});return Object.keys(n).reduce((function(e,r){return n[r].length&&(e.push(Object.assign({type:"header",title:t.plugins.i18n.get("convert_menu_groups."+r),name:r},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={collapsible:!!t.collapsible&&{collapsed:!1}};if(localStorage.hasOwnProperty(N7))try{var r=JSON.parse(localStorage.getItem(N7));r[e]&&r[e].collapsed&&(n.collapsible={collapsed:!0})}catch(e){}return n}(r,Q7[r]))),e.push.apply(e,K7(n[r]))),e}),[])}function J7(e){return(J7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e9(e){return function(e){if(Array.isArray(e))return t9(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)return;if("string"==typeof e)return t9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t9(e,t)}(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 t9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o9(e,t){return(o9=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i9(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l9(e);if(t){var o=l9(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a9(this,n)}}function a9(e,t){if(t&&("object"===J7(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s9(e)}function s9(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l9(e){return(l9=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u9=function(e){!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}}),t&&o9(e,t)}(i,e);var t,n,r,o=i9(i);function i(){var e;n9(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return c9(s9(e=o.call.apply(o,[this].concat(n))),"onRef",(function(t){e.domRef=t,e.props.onDomRef&&e.props.onDomRef(t)})),c9(s9(e),"convertBlot",(function(t){e.props.convertBlot(t)})),c9(s9(e),"onClickUseAi",(function(){e.props.onUseAi()})),c9(s9(e),"onClickParagraph",(function(){e.convertBlot({type:"paragraph"})})),c9(s9(e),"onClickCheckboxList",(function(){e.convertBlot({type:"list",items:["listItemCheckbox"]})})),c9(s9(e),"onClickNumberList",(function(){e.convertBlot({type:"list",items:["listItemNumber"]})})),c9(s9(e),"onClickBulletList",(function(){e.convertBlot({type:"list",items:["listItemBullet"]})})),c9(s9(e),"onClickTable",(function(){e.convertBlot({type:"table",rows:2,cols:3,batch:!0})})),c9(s9(e),"onClickImage",(function(){e.props.addImage()})),c9(s9(e),"onClickFile",(function(){e.props.addFile()})),c9(s9(e),"onClickTasksList",(function(){e.convertBlot({type:"tasks-list"})})),c9(s9(e),"onClickAudioRec",(function(){e.props.editor.plugins.webRTCPlugin.isExistsRecords.audio?e.props.editor.plugins.notificationManager.toast(e.props.i18n.get("embedded_menu.recordExist")):e.convertBlot({type:"file",audioRecord:!0})})),c9(s9(e),"onClickVideoRec",(function(){e.props.editor.plugins.webRTCPlugin.isExistsRecords.media?e.props.editor.plugins.notificationManager.toast(e.props.i18n.get("embedded_menu.recordExist")):(e.props.wantsToClose&&e.props.wantsToClose(),e.props.editor.plugins.webRTCPlugin.prepareMediaRecord())})),c9(s9(e),"onClickLargeHeading",(function(){e.convertBlot({type:"hLarge"})})),c9(s9(e),"onClickMediumHeading",(function(){e.convertBlot({type:"hMedium"})})),c9(s9(e),"onClickSmallHeading",(function(){e.convertBlot({type:"hSmall"})})),c9(s9(e),"onClickBlockquote",(function(){e.convertBlot({type:"blockquote"})})),c9(s9(e),"onClickHint",(function(){e.convertBlot({type:"hint"})})),c9(s9(e),"onClickSyntax",(function(){e.convertBlot({type:"syntax"})})),c9(s9(e),"onClickHLine",(function(){e.convertBlot({type:"hLine"})})),c9(s9(e),"onClickLink",(function(t){e.props.addLink(t)})),c9(s9(e),"onClickMention",(function(t){e.props.addMention()})),c9(s9(e),"onClickProgress",(function(t){e.props.addProgress()})),c9(s9(e),"onClickDropdownList",(function(t){e.props.addDropdownList()})),c9(s9(e),"onClickOutline",(function(){e.convertBlot({type:"outline"})})),c9(s9(e),"onClickEmbed",(function(){e.convertBlot({type:"remote-frame"})})),c9(s9(e),"onClickBookmark",(function(){if(window.navigator&&!window.navigator.onLine)return e.props.editor.plugins.notificationManager.showError({message:"bookmarkOfflineAdd"});e.convertBlot({type:"bookmark"})})),c9(s9(e),"onClickUnsplash",(function(){e.props.addUnsplashImage()})),c9(s9(e),"onClickButton",(function(){e.convertBlot({type:"button-single"})})),c9(s9(e),"onClickGoogleDrive",(function(){e.props.addRemoteFile("google-drive")})),c9(s9(e),"onClickToggle",(function(){e.convertBlot({type:"toggle"})})),c9(s9(e),"onClickStep",(function(){e.convertBlot({type:"step"})})),c9(s9(e),"onClickStepAggregator",(function(){e.props.addStepsAggregator()})),c9(s9(e),"onClickLargeHeadingToggle",(function(){e.convertBlot({type:"hLarge-toggle"})})),c9(s9(e),"onClickMediumHeadingToggle",(function(){e.convertBlot({type:"hMedium-toggle"})})),c9(s9(e),"onClickSmallHeadingToggle",(function(){e.convertBlot({type:"hSmall-toggle"})})),c9(s9(e),"onClickLockBlot",(function(){e.props.lockBlot()})),c9(s9(e),"onClickColumns",(function(){e.props.addColumns()})),c9(s9(e),"onClickUrlItem",(function(e){window.open(e,"_blank")})),c9(s9(e),"onClickDataBase",(function(){e.props.addDatabase("with-options")})),c9(s9(e),"onClickMoreTemplates",(function(t){var n,r,o=null===(n=e.props.editor)||void 0===n||null===(r=n.plugins)||void 0===r?void 0:r.emptyFeatures;o&&o.isMethodImplemented("useTemplate")&&o.options.useTemplate(t)})),c9(s9(e),"onClickBoard",(function(t){e.convertBlot({type:"board"})})),c9(s9(e),"onClickUploader",(function(t){e.convertBlot({type:"uploader"})})),e}return t=i,(n=[{key:"getItems",value:function(){var e,t,n,r,o,i=this,a=this.props.editor,l=a.blotsConfig,c=void 0===l?{hint:{},button:{},uploader:{}}:l,u=a.plugins,d=a.options,p=(c.hint||{}).showMenuItem,f=void 0===p||p,h=(c.uploader||{}).showMenuItem,m=void 0===h||h,g=(c.button||{}).showButtonFormat,y=void 0===g||g,v=[{id:"paragraph",fn:this.onClickParagraph,title:this.props.i18n.get("embedded_menu.paragraph"),hint:!1,Icon:ct.LU4},{id:"todo",fn:this.onClickCheckboxList,title:this.props.i18n.get("embedded_menu.todo"),hint:ri.CF+"+shift+c",Icon:ct.bM7},{id:"numberedlist",fn:this.onClickNumberList,title:this.props.i18n.get("embedded_menu.numbered_list"),hint:ri.CF+"+shift+7",Icon:ct.UcJ},{id:"bulletlist",fn:this.onClickBulletList,title:this.props.i18n.get("embedded_menu.bullet_list"),hint:ri.CF+"+shift+8",Icon:ct.pfx},{id:"table",fn:this.onClickTable,title:this.props.i18n.get("embedded_menu.table"),hint:ri.CF+"+"+ri.$d+"+t",Icon:ct.fqO},this.props.editor.plugins.attachmentManager.isMethodImplemented("chooseFile")?{id:"image",fn:this.onClickImage,title:this.props.i18n.get("embedded_menu.image"),hint:ri.CF+"+shift+i",Icon:ct.Zay}:null,this.props.editor.plugins.attachmentManager.isMethodImplemented("chooseFile")?{id:"file",fn:this.onClickFile,title:this.props.i18n.get("embedded_menu.file"),hint:ri.CF+"+shift+f",Icon:ct.F2P}:null,{id:"largeheading",fn:this.onClickLargeHeading,title:this.props.i18n.get("embedded_menu.large_heading"),hint:ri.CF+"+"+ri.$d+"+1",Icon:ct.oIo},{id:"mediumheading",fn:this.onClickMediumHeading,title:this.props.i18n.get("embedded_menu.medium_heading"),hint:ri.CF+"+"+ri.$d+"+2",Icon:ct.L9t},{id:"smallheading",fn:this.onClickSmallHeading,title:this.props.i18n.get("embedded_menu.small_heading"),hint:ri.CF+"+"+ri.$d+"+3",Icon:ct.Q2d},{id:"tasks-list",fn:this.onClickTasksList,title:this.props.i18n.get("embedded_menu.tasks_list"),hint:ri.CF+"+"+ri.$d+"+d",Icon:ct.$Nx},{id:"hline",fn:this.onClickHLine,title:this.props.i18n.get("embedded_menu.section_break"),hint:ri.CF+"+"+ri.$d+"+l",Icon:ct.uVN},{id:"link",fn:this.onClickLink,title:this.props.i18n.get("embedded_menu.link"),hint:ri.CF+"+k",Icon:ct.n4p},{id:"syntax",fn:this.onClickSyntax,title:this.props.i18n.get("embedded_menu.code"),hint:ri.CF+"+"+ri.$d+"+c",Icon:ct.UUr},{id:"link-page",fn:this.onClickMention,title:this.props.i18n.get("embedded_menu.link_page"),Icon:ct.n4p},{id:"date",fn:this.onClickMention,title:this.props.i18n.get("embedded_menu.date"),Icon:ct.jt6},{id:"mention",fn:this.onClickMention,title:this.props.i18n.get("embedded_menu.mention"),hint:"@",Icon:ct.fan},{id:"blockquote",fn:this.onClickBlockquote,title:this.props.i18n.get("embedded_menu.quote"),hint:ri.CF+"+"+ri.$d+"+y",Icon:ct.kVp}].concat(e9(f?[{id:"hint",fn:this.onClickHint,title:this.props.i18n.get("embedded_menu.hint"),hint:ri.CF+"+"+ri.$d+"+u",Icon:ct.qE2}]:[]),[{id:"toggle",fn:this.onClickToggle,title:this.props.i18n.get("embedded_menu.toggle"),hint:ri.CF+"+"+ri.$d+"+6",Icon:ct.oe4},{id:"outline",fn:this.onClickOutline,title:this.props.i18n.get("embedded_menu.outline"),hint:ri.CF+"+"+ri.$d+"+o",Icon:ct.RS2},{id:"embed",fn:this.onClickEmbed,title:this.props.i18n.get("embedded_menu.remote_frame"),hint:ri.CF+"+"+ri.$d+"+m",Icon:ct.g9E},{id:"figma",fn:this.onClickEmbed,title:"Figma",hint:ri.CF+"+"+ri.$d+"+m",Icon:ct.JCH},{id:"miro",fn:this.onClickEmbed,title:"Miro",hint:ri.CF+"+"+ri.$d+"+m",Icon:ct.k8B},{id:"more-integrations",type:"link",title:this.props.i18n.get("embedded_menu.more_integrations"),url:"https://nimbusweb.me/share/4194126/vnl68c44bszs9pqiwpip"},{id:"columns",fn:this.onClickColumns,title:this.props.i18n.get("embedded_menu.two_columns"),Icon:ct.eYc},{id:"meeting-notes",fn:function(){i.onClickUrlItem("https://nimbusweb.me/note-templates/detail.php?id=6HHaR2aS7r0WbNxV")},title:this.props.i18n.get("embedded_menu.meeting_notes"),Icon:ct._9F},{id:"marketing-brief",fn:function(){i.onClickUrlItem("https://nimbusweb.me/note-templates/detail.php?id=FgNTM4G6sUvELk4c")},title:this.props.i18n.get("embedded_menu.marketing_brief"),Icon:ct._9F},{id:"content-plan",fn:function(){i.onClickUrlItem("https://nimbusweb.me/note-templates/detail.php?id=yql2nKLoxs4AQazr")},title:this.props.i18n.get("embedded_menu.content_plan"),Icon:ct._9F},{id:"more-templates",title:this.props.i18n.get("embedded_menu.more_templates"),fn:this.onClickMoreTemplates,menuStyle:"link"},{id:"get-feedback",fn:function(){i.onClickUrlItem("https://support.nimbusweb.co/portal/en/newticket")},title:this.props.i18n.get("embedded_menu.get_feedback"),Icon:ct.Rz4},{id:"contact-support",fn:function(){i.onClickUrlItem("https://support.nimbusweb.co/portal/en/newticket")},title:this.props.i18n.get("embedded_menu.contact_support"),Icon:ct.M64},{id:"learn-nimbus",fn:function(){i.onClickUrlItem("https://nimbusweb.me/s/share/4196282/063i1t5kiqlf3gcgm5ny")},title:this.props.i18n.get("embedded_menu.learn_nimbus"),Icon:ct.jhZ},{id:"integrations",fn:this.onClickEmbed,title:this.props.i18n.get("embedded_menu.integrations"),hint:ri.CF+"+"+ri.$d+"+m",Icon:ct.g9E},{id:"database-with-options",fn:this.onClickDataBase,title:this.props.i18n.get("embedded_menu.database_with_options"),Icon:ct.OQ8}]);if(this.props.editor.plugins.remoteFileManager.isServiceSupported("google-drive")&&(o=v).push.apply(o,[{id:"google-drive",fn:this.onClickGoogleDrive,title:this.props.i18n.get("embedded_menu.google_drive"),hint:ri.CF+"+"+ri.$d+"+g",Icon:ct.dhu},{id:"google-sheets",fn:this.onClickGoogleDrive,title:this.props.i18n.get("embedded_menu.google_sheets"),hint:ri.CF+"+"+ri.$d+"+g",Icon:ct.dhu}]),v.push({id:"bookmark",fn:this.onClickBookmark,title:this.props.i18n.get("bookmark.name"),hint:ri.CF+"+"+ri.$d+"+b",Icon:ct.BZM}),this.props.editor.plugins.unsplashManager.enabled&&v.push({id:"unsplash",fn:this.onClickUnsplash,title:"Unsplash",hint:!1,Icon:ct.Zay,isNew:!0}),this.props.editor.plugins.attachmentManager.isMethodImplemented("chooseFile")&&(v.push({id:"audioRec",fn:this.onClickAudioRec,title:this.props.i18n.get("embedded_menu.audioRec"),hint:ri.CF+"+"+ri.$d+"+8",Icon:ct.kFg}),"Safari"!==(0,ri.Ao)()&&v.push({id:"videoRec",fn:this.onClickVideoRec,title:this.props.i18n.get("embedded_menu.videoRec"),hint:ri.CF+"+"+ri.$d+"+9",Icon:ct.cx1})),y&&v.push({id:"button",fn:this.onClickButton,title:this.props.i18n.get("floating_toolbar.button"),hint:ri.CF+"+"+ri.$d+"+5",Icon:ct.hU}),(e=v).push.apply(e,[{id:"largeheading-toggle",fn:this.onClickLargeHeadingToggle,title:this.props.i18n.get("embedded_menu.large_heading_toggle"),hint:!1,Icon:ct.THL},{id:"mediumheading-toggle",fn:this.onClickMediumHeadingToggle,title:this.props.i18n.get("embedded_menu.medium_heading_toggle"),hint:!1,Icon:ct.V6h},{id:"smallheading-toggle",fn:this.onClickSmallHeadingToggle,title:this.props.i18n.get("embedded_menu.small_heading_toggle"),hint:!1,Icon:ct.gM0}]),null!==(t=this.props.editor.plugins.boardManager)&&void 0!==t&&null!==(n=t.options)&&void 0!==n&&n.enabled&&v.push({id:"board",fn:this.onClickBoard,title:this.props.i18n.get("embedded_menu.board"),hint:!1,Icon:ct.ve2,isNew:!0}),v.push({id:"progress",fn:this.onClickProgress,title:this.props.i18n.get("embedded_menu.progress"),hint:!1,Icon:ct.Gw5,isNew:!0},{id:"dropdown-list",fn:this.onClickDropdownList,title:this.props.i18n.get("embedded_menu.dropdown_list"),hint:!1,Icon:ct.Rd8,isNew:!0}),m&&v.push({id:"uploader",fn:this.onClickUploader,title:this.props.i18n.get("embedded_menu.uploader"),hint:!1,Icon:ct.DjJ,isNew:!0}),this.props.editor.plugins.aiManager.enabled&&v.push({id:"use-ai",fn:this.onClickUseAi,title:this.props.i18n.get("embedded_menu.use_ai"),hint:!1,Icon:ct.nST,isNew:!0}),v.push({id:"step",fn:this.onClickStep,title:this.props.i18n.get("embedded_menu.step"),hint:!1,Icon:ct.tuc,isNew:!0},{id:"step-aggregator",fn:this.onClickStepAggregator,title:"Step outliner",hint:!1,Icon:ct.tuc,isNew:!0}),d.manageBlotsLock&&"full"===(null===(r=d.user)||void 0===r?void 0:r.manage)||u.featuresAvailabilityPlugin&&u.featuresAvailabilityPlugin.enabled){var b=new(bo()),_=u.featuresAvailabilityPlugin.getFeatureIcon("blocks-lock",b);v.push({id:"lock-blot",fn:this.onClickLockBlot,title:(0,s.h)("div",{onMouseEnter:function(){b.emit("enter",{})},onMouseLeave:function(){b.emit("leave",{})}},this.props.i18n.get("embedded_menu.lock_blot"),_),Icon:ct._V1})}return this.props.excludeItems&&this.props.excludeItems.length&&(v=v.filter((function(e){return!i.props.excludeItems.includes(e.id)}))),X7(v,this.props.editor)}},{key:"render",value:function(){var e=this.props,t=e.wantsToClose,n=e.menuKey,r=e.onChooseMenuItem,o=e.anchorNode,i=e.anchorOptions,a=e.getStyles,l=e.updatePosition,c=e.containerNode,u=e.i18n,d=this.getItems(),p=a(d.length),f=p.menuMaxHeight,h=p.overflowY,m=p.offset;return m&&(i.offset=m),(0,s.h)(Z7,{wantsToClose:t,menuMaxHeight:f,key:n,domRef:this.onRef,styles:{overflowY:h},items:d,onChooseItem:r,anchorNode:o,anchorOptions:i,updatePosition:l,containerNode:c,i18n:u,editor:this.props.editor,onRateEditorClick:this.props.onRateEditorClick,onRateEditorCloseClick:this.props.onRateEditorCloseClick,showEditorRate:this.props.showEditorRate})}}])&&r9(t.prototype,n),r&&r9(t,r),i}(s.wA);function d9(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p9(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function p9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m9(e){return"psimg:"+e}function g9(e){return 0===e.indexOf("psimg:")}var y9=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),h9(this,"rotateImage",(function(e){return n.options.rotateImage(e)})),h9(this,"allowRotateImage",(function(e){return!n.isMethodImplemented("allowRotateImage")||n.options.allowRotateImage(e)})),h9(this,"editImage",(function(e){return!!n.options.editImage&&n.options.editImage(e)})),this.editor=o,this.scroll=r,this.options=i||{}}var t,n,r;return t=e,(n=[{key:"isPseudoAttachment",value:function(e){return g9(e)}},{key:"getMaxFileSize",value:function(){return this.options.maxFileSize}},{key:"checkFileSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.maxFileSize?e<t.maxFileSize:!(this.options.maxFileSize&&e>this.options.maxFileSize)}},{key:"nFileFromWebFile",value:function(e){return{instance:e,name:e.name,size:e.size,type:e.type}}},{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"resolve",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.indexOf&&this.isPseudoAttachment(e)){var n=e.substring("psimg:".length);return Promise.resolve({global_id:e,url:n,type:"image"})}return this.options.resolve(e,t)}},{key:"chooseFile",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.options.chooseFile(e)}},{key:"chooseFileFromUrl",value:function(e){return this.options.chooseFileFromUrl?this.options.chooseFileFromUrl(e):new Promise((function(t,n){var r=new Image;r.onload=function(){t({attachmentGlobalId:m9(e),type:"image/unknown"})},r.onerror=function(){n(new Error("Couldn't load the link content"))},r.src=e}))}},{key:"resolvePseudoAttachment",value:function(e){return new Promise((function(t,n){t({attachmentGlobalId:m9(e),type:"image/unknown"})}))}},{key:"beforeSaveFile",value:function(e){if(!this.options.beforeSaveFile)return e;var t=this.options.beforeSaveFile(e);return t||(t=e),t}},{key:"saveFile",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.options.saveFile(e,t)}},{key:"renameAttachment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.options.renameAttachment(e,t)}},{key:"download",value:function(e){var t=!1;return this.options.download&&!1!==this.options.download(e)&&(t=!0),t}},{key:"setAsPreview",value:function(e){return!!this.options.download&&this.options.setAsPreview(e)}},{key:"fetch",value:function(e){var t=!1;return this.options.fetch&&!1!==this.options.fetch(e)&&(t=!0),t}},{key:"abortFetch",value:function(e){var t=!1;return this.options.abortFetch&&!1!==this.options.abortFetch(e)&&(t=!0),t}},{key:"validateFiles",value:function(e){return this.options.validateFiles?this.options.validateFiles(e):Promise.resolve(!0)}},{key:"setAttachmentForBlot",value:function(e,t){var n=this.editor.findById(e);return!(!n||!n.replaceAttachment)&&n.replaceAttachment(t)}},{key:"editAttachment",value:function(e,t){return!!this.options.editAttachment&&this.options.editAttachment(e,t)}},{key:"setAttachment",value:function(e){var t=this.findBlotsWithAttachment(e.global_id);t.length||console.warn("no blots with attachment",e.global_id);var n,r=d9(t);try{for(r.s();!(n=r.n()).done;){var o=n.value.blot,i=o;if(o.map){var a=gEditor.findById(o.map.get("id"));if(!a)continue;i=a}i.getWrappedBlot&&i.getWrappedBlot()!==i&&(i=o.getWrappedBlot()),i.setProps({attachment:e})}}catch(e){r.e(e)}finally{r.f()}}},{key:"findBlotsWithAttachment",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=[],r={};if(t){var o=t;Array.isArray(o)||(o=[o]);var i,a=d9(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;r[s]=!0}}catch(e){a.e(e)}finally{a.f()}}var l=new Set;return this.scroll.descendants((function(o){if(o.map){var i,a;if(l.has(o.map.get("id")))return;if(l.add(o.map.get("id")),"table"===o.map.get("type")){var s,c=d9(o.getWrappedBlot().getAttachments());try{for(c.s();!(s=c.n()).done;){var u=s.value,d=e.editor.store.getMap(u);d&&n.push({blot:null,blotName:d.get("type"),attachmentGlobalId:d.get("attachmentGlobalId")})}}catch(e){c.e(e)}finally{c.f()}}var p=o.map.get("attachmentGlobalId");if(!p)return;if(t&&!r[p])return;o=o.getWrappedBlot&&o.getWrappedBlot()||o,n.push({blot:o,blotName:(null===(i=o.constructor)||void 0===i?void 0:i.blotName)||(null===(a=o.map)||void 0===a?void 0:a.get("type"))||"",attachmentGlobalId:p})}})),n}}])&&f9(t.prototype,n),r&&f9(t,r),e}();function v9(e){return(v9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b9(Object(n),!0).forEach((function(t){N9(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b9(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w9(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function C9(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){w9(i,r,o,a,s,"next",e)}function s(e){w9(i,r,o,a,s,"throw",e)}a(void 0)}))}}function S9(){return(S9=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function E9(e){return function(e){if(Array.isArray(e))return x9(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)return;if("string"==typeof e)return x9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x9(e,t)}(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 x9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T9(e,t,n){return t&&O9(e.prototype,t),n&&O9(e,n),e}function A9(e,t){return(A9=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P9(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M9(e);if(t){var o=M9(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R9(this,n)}}function R9(e,t){if(t&&("object"===v9(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return I9(e)}function I9(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M9(e){return(M9=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D9=u7().moreItemsMenuAppearDuration,j9=u7().embeddedMenuAppearDuration,L9="data-embedded-menu-for-id";function B9(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=["moreItemsVisible"],n={},r=0,o=t;r<o.length;r++){var i=o[r];n[i]=i===e}return n}var F9=function(e){!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}}),t&&A9(e,t)}(n,e);var t=P9(n);function n(){var e;k9(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return N9(I9(e=t.call.apply(t,[this].concat(o))),"onMouseDown",(function(t){(0,H.nN)(e.moreItemsBtnNode,t.target)?(e.setState((function(e){return B9(!e.moreItemsVisible&&"moreItemsVisible")})),e.props.onMoreItemsBtnClick()):e.moreItemsMenuNode&&(0,H.nN)(e.moreItemsMenuNode,t.target)||e.setState((function(){return B9()}),(function(){e.props.onMouseDown&&e.props.onMouseDown()})),t.preventDefault()})),N9(I9(e),"onMoreItemsMenuWantsToClose",(function(){e.setState((function(){return B9()}))})),N9(I9(e),"inputText",(function(t){e.props.inputText(t)})),N9(I9(e),"onMoreItemsBtnRef",(function(t){e.moreItemsBtnNode=t})),N9(I9(e),"onMoreItemsMenuRef",(function(t){e.moreItemsMenuNode=t})),N9(I9(e),"onInputPromptRef",(function(t){e.inputPromptRef=t})),N9(I9(e),"convertBlot",(function(t){e.props.convertBlot(t)})),N9(I9(e),"onClickUseAi",(function(t){e.props.onUseAi()})),N9(I9(e),"onClickCheckboxList",(function(){e.convertBlot({type:"list",items:["listItemCheckbox"]})})),N9(I9(e),"onClickNumberList",(function(){e.convertBlot({type:"list",items:["listItemNumber"]})})),N9(I9(e),"onClickBulletList",(function(){e.convertBlot({type:"list",items:["listItemBullet"]})})),N9(I9(e),"onClickTable",(function(){e.convertBlot({type:"table",rows:2,cols:3,batch:!0})})),N9(I9(e),"onClickImage",(function(){e.props.addImage()})),N9(I9(e),"onClickFile",(function(){e.props.addFile()})),N9(I9(e),"onClickAddNote",(function(){e.props.addNote()})),N9(I9(e),"onClickMediumHeading",(function(){e.convertBlot({type:"hMedium"})})),N9(I9(e),"onClickAddStep",(function(){e.convertBlot({type:"step"})})),N9(I9(e),"addLink",(function(t){e.setState((function(){return B9()}),(function(){e.props.addLink(t)}))})),N9(I9(e),"onMouseEnter",(function(){e.props.onMouseEnter()})),N9(I9(e),"onMouseLeave",(function(){e.props.onMouseLeave()})),N9(I9(e),"onRateEditorClick",(function(){e.setEditorRated(),e.props.editor.plugins.editorRate.onRateEditorClick()})),N9(I9(e),"onRateEditorCloseClick",(function(){e.setEditorRated()})),e}return T9(n,[{key:"getItems",value:function(){return[this.props.addFullViewMenuItems&&this.props.addFullViewMenuItems.includes("add-step")?{id:"add-step",fn:this.onClickAddStep,title:"Add step",Icon:function(){return(0,s.h)("div",{className:"add-step-button",style:{pointerEvents:"none"}},(0,s.h)("span",null,"+"),"Add step")}}:null,this.props.isUseAiSupported&&!this.props.editor.plugins.aiManager.isRequestActive?{id:"use-ai",fn:this.onClickUseAi,title:this.props.i18n.get("embedded_menu.use_ai"),hint:!1,Icon:ct.nST}:null,{id:"todo",fn:this.onClickCheckboxList,title:this.props.i18n.get("embedded_menu.todo"),hint:ri.CF+"+shift+c",Icon:"full"===this.props.viewType&&ct.bM7||ct.$Nx},{id:"numberedlist",fn:this.onClickNumberList,title:this.props.i18n.get("embedded_menu.numbered_list"),hint:ri.CF+"+shift+7",Icon:ct.UcJ},{id:"bulletlist",fn:this.onClickBulletList,title:this.props.i18n.get("embedded_menu.bullet_list"),hint:ri.CF+"+shift+8",Icon:ct.pfx},{id:"table",fn:this.onClickTable,title:this.props.i18n.get("embedded_menu.table"),hint:ri.CF+"+"+ri.$d+"+t",Icon:ct.fqO},this.props.isImageSupported?{id:"image",fn:this.onClickImage,title:this.props.i18n.get("embedded_menu.image"),hint:ri.CF+"+shift+i",Icon:ct.Zay}:null,this.props.isFileSupported?{id:"file",fn:this.onClickFile,title:this.props.i18n.get("embedded_menu.file"),hint:ri.CF+"+shift+f",Icon:ct.XhR}:null,this.props.isAddNoteSupported?{id:"add-note",fn:this.onClickAddNote,title:this.props.i18n.get("embedded_menu.add_note"),Icon:ct.uyk}:null,{id:"mediumheading",fn:this.onClickMediumHeading,title:this.props.i18n.get("embedded_menu.medium_heading"),hint:ri.CF+"+"+ri.$d+"+2",Icon:ct.L9t,menuStyle:"bold"}].filter((function(e){return null!==e}))}},{key:"checkInputPromptOverflow",value:function(){var e=this.inputPromptRef,t=this.props.maxWidth;this.setState((function(n){var r=n.overflowingWidth;if(e){if(e.scrollWidth>e.clientWidth)return{isInputPrompOverflowing:!0,overflowingWidth:t};if(r&&t>r)return{isInputPrompOverflowing:!1,overflowingWidth:null}}return null}))}},{key:"setEditorRated",value:function(){return this.props.editor.plugins.editorRate.setEditorRated()}},{key:"isEditorRated",value:function(){return this.props.editor.plugins.editorRate.isEditorRated()}},{key:"componentDidMount",value:function(){this.checkInputPromptOverflow()}},{key:"componentDidUpdate",value:function(e){e.maxWidth!==this.props.maxWidth&&this.checkInputPromptOverflow()}},{key:"render",value:function(){var e,t=this,n=this.state,r=n.moreItemsVisible,o=n.isInputPrompOverflowing,i=this.props,a=i.viewType,l=i.i18n,c=null,u=ct.v92,d={},p=[];if("full"===a?(p=this.getItems(),e=this.props.editor.testMode?"Type":l.get("embedded_menu.start_typing_full")):(e=l.get("embedded_menu.start_typing"),u=ct.SC9),r){var f=["paragraph","lock-blot"].concat(E9(this.props.excludeItems)),h=this.props.moreMenuAnchorOptions?this.props.moreMenuAnchorOptions:{behavior:["top","bottom","top"]};this.props.addMoreMenuAnchorOptions&&(h=Object.assign({},h,this.props.addMoreMenuAnchorOptions)),c=(0,s.h)(u9,{editor:this.props.editor,i18n:this.props.i18n,onDomRef:this.onMoreItemsMenuRef,wantsToClose:this.onMoreItemsMenuWantsToClose,menuKey:"more-items-menu",getStyles:this.props.getMoreItemsMenuMaxHeightAndOverflow,onChooseMenuItem:this.props.onChooseMenuItem,anchorNode:this.moreItemsBtnNode,scrollingContainer:this.props.scrollingContainer,convertBlot:this.props.convertBlot,onUseAi:this.props.onUseAi,addImage:this.props.addImage,addFile:this.props.addFile,addLink:this.addLink,addMention:this.props.addMention,addProgress:this.props.addProgress,addDropdownList:this.props.addDropdownList,addRemoteFile:this.props.addRemoteFile,addColumns:this.props.addColumns,addDatabase:this.props.addDatabase,lockBlot:this.props.lockBlot,addUnsplashImage:this.props.addUnsplashImage,excludeItems:f,anchorOptions:h,onRateEditorClick:this.onRateEditorClick,onRateEditorCloseClick:this.onRateEditorCloseClick,showEditorRate:!this.isEditorRated()&&this.props.editor.plugins.editorRate.isEnabled(),addStepsAggregator:this.props.addStepsAggregator})}var m={maxWidth:this.props.maxWidth+"px"},g={};o&&(g={display:"none"});var y={};return r||(y[Gr.qZ]="full"===a?l.get("embedded_menu.more_items"):l.get("embedded_menu.add_an_element")),(0,s.h)("div",{style:m,className:"embedded-menu embedded-menu-"+a,onMouseDown:this.onMouseDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave},(0,s.h)("div",{ref:this.onInputPromptRef,className:"input-prompt overlay-text",style:g},e),(0,s.h)("div",{className:"right-content"},p.length?(0,s.h)("div",{className:"inline-icons"},p.map((function(e){var n,r=e.id,o=e.Icon,i=e.hint,a=e.title,l=e.fn,c=(N9(n={},"data-menu-id",r),N9(n,Gr.qZ,a),N9(n,Gr.BY,i),n);return(0,s.h)("div",S9({},c,{className:"icon "+(d[r]?"active":""),onClick:t.props.onChooseMenuItem.bind(null,l)}),(0,s.h)(o,null))}))):null,(0,s.h)("div",{className:"more-items "+(r?"active":"")},(0,s.h)("div",S9({},y,{ref:this.onMoreItemsBtnRef,className:"more-items-btn"+("full"===a?" view-full":"")}),(0,s.h)(u,null)),(0,s.h)(dt.Z,{transitionName:"menu",transitionEnterTimeout:D9,transitionLeaveTimeout:D9},c))))}}]),n}(s.wA),U9=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;k9(this,e),N9(this,"convertBlot",(function(e){n.anchorBlot.additionalEmbeddedMenu&&n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}),n.hide(n.anchorBlot),n.editor.exec("convert-blot",e)})),N9(this,"onUseAi",(function(){var e=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var t=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;e=n.editor.findById(t)}n.editor.plugins.aiManager.show(e),n.hide(n.anchorBlot)})),N9(this,"inputText",(function(e){if(n.anchorBlot){var t=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var r=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;t=n.editor.findById(r)}var o={index:t.offset(n.scroll),length:0};n.scroll.selection.setRange(o),n.editor.exec("insert-html",{html:e}),o.index+=e.length,n.scroll.selection.setRange(o)}})),N9(this,"addLink",(function(e){n.anchorBlot.additionalEmbeddedMenu&&(n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}),n.hide(n.anchorBlot)),gi(n.editor)})),N9(this,"addMention",(function(){var e=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var t=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;e=n.editor.findById(t),n.hide(n.anchorBlot)}e.insertAt(0,"@"),n.scroll.selection.setRange({index:e.offset(n.scroll)+1,length:0})})),N9(this,"addProgress",(function(){var e=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var t=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;e=n.editor.findById(t),n.hide(n.anchorBlot)}e.applyForCharacters([{insert:{progress:0}},{insert:" "}]),n.scroll.selection.setRange({index:e.offset(n.scroll)+2,length:0})})),N9(this,"addDropdownList",(function(){var e=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var t=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;e=n.editor.findById(t),n.hide(n.anchorBlot)}e.applyForCharacters([{insert:N9({},"dropdown-list",{ownerId:n.editor.store.userId})},{insert:" "}]),n.scroll.selection.setRange({index:e.offset(n.scroll)+2,length:0})})),N9(this,"addFile",(function(e){n.anchorBlot.additionalEmbeddedMenu&&(n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}),n.hide(n.anchorBlot)),n.editor.exec("add-file")})),N9(this,"addImage",(function(e){n.convertBlot({type:"image"})})),N9(this,"addRemoteFile",(function(e){var t=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var r=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;t=n.editor.findById(r),n.hide(n.anchorBlot)}n.hide(n.anchorBlot),n.editor.exec("add-remote-file",{service:e,blot:t})})),N9(this,"addNote",C9(regeneratorRuntime.mark((function e(){var t,r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.anchorBlot,n.anchorBlot.additionalEmbeddedMenu&&(r=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}),o=r.id,t=n.editor.findById(o),n.hide(n.anchorBlot)),i=n.editor.plugins.i18n.get("embedded_menu.add_note")||"New page",e.next=5,n.editor.plugins.mentionManager.createAndResolveNote(i);case 5:if(a=e.sent){e.next=9;break}return n.scroll.selection.setRange({index:t.offset(n.scroll),length:0}),e.abrupt("return");case 9:s={insert:{mention:{type:"note",object_id:a.object_id,name:a.name||i,id:UE()}}},a.workspace_id&&(s.insert.mention.workspace_id=a.workspace_id),t.applyForCharacters([s,{insert:" "}]),n.scroll.selection.setRange({index:t.offset(n.scroll)+2,length:0});case 13:case"end":return e.stop()}}),e)})))),N9(this,"lockBlot",(function(){n.anchorBlot&&(n.anchorBlot.isBlotLocked?n.anchorBlot.lockBlotAction&&n.anchorBlot.lockBlotAction():n.anchorBlot.unlockBlotAction&&n.anchorBlot.unlockBlotAction()),n.hide(n.anchorBlot)})),N9(this,"addColumns",(function(){n.anchorBlot.additionalEmbeddedMenu&&(n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}),n.hide(n.anchorBlot)),n.editor.exec("add-grid",{position:"left"})})),N9(this,"addDatabase",(function(e){n.anchorBlot.additionalEmbeddedMenu&&n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}),n.hide(n.anchorBlot),n.editor.exec("add-database",{type:e})})),N9(this,"addUnsplashImage",(function(){var e=n.anchorBlot;if(n.anchorBlot.additionalEmbeddedMenu){var t=n.anchorBlot.container.addBlot("paragraph",{after:n.anchorBlot.id,focus:{index:0}}).id;e=n.editor.findById(t)}n.hide(n.anchorBlot),n.editor.plugins.unsplashManager.openPicker(e,(function(t){var r=t&&(t.urls.regular||t.urls.full||t.urls.raw);if(r){var o,i,a,s=m9(r),l={name:null===(o=t.user)||void 0===o?void 0:o.name,link:null===(i=t.user)||void 0===i||null===(a=i.links)||void 0===a?void 0:a.html},c=null;if(l.name||l.link){var u,d,p,f=l.link?{link:l.link}:null;c={ops:[{insert:((null===(u=n.editor)||void 0===u||null===(d=u.plugins)||void 0===d||null===(p=d.i18n)||void 0===p?void 0:p.get("image.unsplash.caption_preffix"))||"Photo by")+" "},{insert:l.name||l.link,attributes:f}]}}e.container.addBlot("image",{after:e.id,unsplash:!0,attachmentGlobalId:s,captionParams:{delta:c}}),e.container.removeChildById(e.id)}else console.error("Unsplash image has no correct url")}))})),N9(this,"addStepsAggregator",(function(){var e=n.scroll.descendants((function(e){return"step"===e.constructor.blotName})),t=e.length?e[0]:n.scroll.children.head,r=n.scroll.descendants((function(e){return"step-aggregator"===e.constructor.blotName})),o={before:t.id,focus:{index:0}};r.length&&(o=_9(_9({},r[0].getMapParams()),o)),t.container.addBlot("step-aggregator",o),n.hide(n.anchorBlot)})),N9(this,"onMouseDown",(function(){n.anchorBlot&&n.scroll.selection.setRange({index:n.anchorBlot.offset(n.scroll),length:0})})),N9(this,"onMouseEnter",(function(){})),N9(this,"onMouseLeave",(function(){})),N9(this,"onMoreItemsBtnClick",(function(){n.editor.plugins.tooltipManager.hide(),n.anchorBlot.additionalEmbeddedMenu||n.scroll.selection.hasFocus()||n.scroll.selection.setRange({index:n.anchorBlot.offset(n.scroll),length:0})})),N9(this,"onChooseMenuItem",(function(e){e(),n.editor.plugins.selectionScroller.ensureSelectionVisible()})),N9(this,"getMoreItemsMenuMaxHeightAndOverflow",(function(e){if(!n.anchorBlot)return{menuMaxHeight:34,overflowY:"scroll"};var t=!(!n.anchorBlot.additionalEmbeddedMenu&&ie(n.anchorBlot,(function(e){return e instanceof $1}))),r=n.anchorBlot.domNode.getBoundingClientRect(),o=n.editor.getScrollingContainer().getBoundingClientRect(),i=n.container.offsetHeight,a={},s=n.anchorBlot.embeddedMenuOffset?n.anchorBlot.embeddedMenuOffset():{top:0,left:0};return r.y+s.top-o.y>o.y+o.height-(r.y+s.top+i)?a.menuMaxHeight=r.y+s.top-o.y:a.menuMaxHeight=o.y+o.height-(r.y+s.top+i),!t&&a.menuMaxHeight>340?(a.menuMaxHeight=340,a.overflowY="scroll"):a.overflowY=t&&a.menuMaxHeight>34*e?"visible":"scroll",a})),this.options=Object.assign({enabled:!0},i),this.scroll=r,this.editor=o,this.anchorBlot=null,this.container=null,this.allowAppearAnimation=!0,this.enabled=this.options.enabled,this.preloadTooltipPreviews()}return T9(e,[{key:"preloadTooltipPreviews",value:function(){var e=document.createElement("div");e.classList.add("editor-menu-tooltips");for(var t=0,n=Object.keys(P7);t<n.length;t++){var r=n[t];if(Boolean(P7[r].preview)){var o=document.createElement("img");o.setAttribute("loading","lazy"),o.setAttribute("src",P7[r].preview),e.appendChild(o)}}this.editor.editorBody.appendChild(e)}},{key:"adjustPositionContinuously",value:function(){var e=this;!function t(){e.anchorBlot&&e.anchorBlot.domNode.parentNode&&(e.adjustPosition(),requestAnimationFrame(t))}()}},{key:"adjustPosition",value:function(){var e=this.anchorBlot.domNode.getBoundingClientRect(),t=this.editor.scrollingContainer.getBoundingClientRect();this.container.style.position="absolute";var n=e.top+this.scroll.editor.scrollingContainer.scrollTop-t.top,r=e.left-t.left,o=e.width,i=e.height;if(this.anchorBlot.getCorrectEmbeddedPos){var a=this.anchorBlot.getCorrectEmbeddedPos({top:n,left:r,width:o,height:i});n=a.top,r=a.left,o=a.width,i=a.height}this.container.style.top=n+"px",this.container.style.left=r+"px",this.container.style.width=o+"px",this.container.style.height=i+"px"}},{key:"render",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;(0,s.sY)((0,s.h)(dt.Z,{transitionName:"embedded-menu",transitionEnterTimeout:j9,transitionLeave:!1,transitionEnter:this.allowAppearAnimation},t?(0,s.h)(F9,S9({onMouseDown:this.onMouseDown,onMoreItemsBtnClick:this.onMoreItemsBtnClick,convertBlot:this.convertBlot,onUseAi:this.onUseAi,addLink:this.addLink,addMention:this.addMention,addProgress:this.addProgress,addDropdownList:this.addDropdownList,addFile:this.addFile,addImage:this.addImage,addRemoteFile:this.addRemoteFile,addColumns:this.addColumns,addDatabase:this.addDatabase,addNote:this.addNote,lockBlot:this.lockBlot,addUnsplashImage:this.addUnsplashImage,inputText:this.inputText,viewportSize:this.editor.getViewportSize(),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onChooseMenuItem:this.onChooseMenuItem,i18n:this.editor.plugins.i18n,isFileSupported:this.editor.plugins.attachmentManager.isMethodImplemented("chooseFile"),isImageSupported:this.editor.plugins.attachmentManager.isMethodImplemented("chooseFile"),isAddNoteSupported:!Boolean(this.editor.options.disableAddNote),scrollingContainer:this.editor.getScrollingContainer(),getMoreItemsMenuMaxHeightAndOverflow:this.getMoreItemsMenuMaxHeightAndOverflow,editor:this.editor,isUseAiSupported:this.editor.plugins.aiManager.enabled,moreMenuAnchorOptions:this.options.moreMenuAnchorOptions,addStepsAggregator:this.addStepsAggregator},n)):null),e)}},{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.enabled){t=Object.assign(t),this.anchorBlot&&this.anchorBlot!==e&&this.hide(this.anchorBlot),t.viewType="full";var n=ie(e,(function(e){return e instanceof $1}));e.additionalEmbeddedMenu||n&&(t.viewType="short");var r=[];"toggleContent"===e.container.constructor.blotName&&r.push.apply(r,["toggle","largeheading-toggle","mediumheading-toggle","smallheading-toggle","columns","step","step-aggregator"]),n&&(r.includes("columns")||r.push("columns"),r.includes("use-ai")||r.push("use-ai")),this.editor.plugins.aiManager.isRequestActive&&r.push("use-ai"),t.excludeItems=r,t.emojiManager=this.editor.plugins.emojiManager,e.additionalEmbeddedMenu&&(t.addMoreMenuAnchorOptions={offset:"0, 10px"}),this.container||(this.anchorBlot=e,this.container=document.createElement("div"),this.container.classList.add("embedded-menu-container"),this.anchorBlot.additionalEmbeddedMenu&&this.container.classList.add("additional-embedded-menu"),t.containerAddClassName&&this.container.classList.add(t.containerAddClassName),this.editor.scrollingContainer.appendChild(this.container),this.render(this.container),this.adjustPositionContinuously(),this.container.setAttribute(L9,e.id));var o=this.container;this.allowAppearAnimation?setTimeout(this.render.bind(this,o,!0,t),0):this.render(o,!0,t)}}},{key:"hide",value:function(e){var t=this;if(this.anchorBlot&&this.anchorBlot===e){this.anchorBlot.additionalEmbeddedMenu&&this.anchorBlot.onEmbeddedMenuHide&&this.anchorBlot.onEmbeddedMenuHide();var n=this.container;this.anchorBlot;this.anchorBlot=null,this.container=null,this.render(n),n.parentNode.removeChild(n),this.hideNoAnimTimeout&&clearTimeout(this.hideNoAnimTimeout),this.allowAppearAnimation=!1,this.hideNoAnimTimeout=setTimeout((function(){t.allowAppearAnimation=!0}),j9)}}}]),e}();function H9(e){return(H9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V9(e){return function(e){if(Array.isArray(e))return G9(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||q9(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 z9(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=q9(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function q9(e,t){if(e){if("string"==typeof e)return G9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G9(e,t):void 0}}function G9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function W9(){return(W9=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K9(e,t,n){return t&&Z9(e.prototype,t),n&&Z9(e,n),e}function $9(e,t){return($9=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q9(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eee(e);if(t){var o=eee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return X9(this,n)}}function X9(e,t){if(t&&("object"===H9(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return J9(e)}function J9(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eee(e){return(eee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nee=Ld().blockMenuPinAppearDuration,ree=Ld().blockMenuListAppearDuration,oee={left:ct.hID,center:ct.k5Z,right:ct.Qz9,justify:ct.ypk},iee={left:ri.CF+"+shift+1",center:ri.CF+"+shift+2",right:ri.CF+"+shift+3"},aee={indent:ct._Og,outdent:ct.lC3},see=[$m,Mm];function lee(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=["menuVisible"],n={},r=0,o=t;r<o.length;r++){var i=o[r];n[i]=i===e}return n}var cee=function(e){return(0,s.h)("span",null,e.children)},uee=function(e){!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}}),t&&$9(e,t)}(n,e);var t=Q9(n);function n(){var e;Y9(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return tee(J9(e=t.call.apply(t,[this].concat(o))),"onMouseDown",(function(e){})),tee(J9(e),"onClick",(function(t){t.preventDefault(),e.props.menu.anchorBlot&&e.setState((function(n){var r=n.menuVisible;return(0,H.nN)(e.buttonNode,t.target)?(r?(e.props.onButtonClickClose(),e.selectedBlocks=[]):(e.props.onMenuOpen(),e.props.setSelectedBlock(e.props.blot),e.selectedBlocks=e.props.getSelectedBlocks(),e.selectedBlocks.length||e.selectedBlocks.push(e.props.blot)),lee(!r&&"menuVisible")):null}))})),tee(J9(e),"onCopyLinkButtonClick",(function(t){t.preventDefault(),e.props.menu.anchorBlot&&(0,H.nN)(e.buttonNode,t.target)&&e.props.onCopyLinkButtonClick()})),tee(J9(e),"onUnlockBlockButtonClick",(function(t){if(t.preventDefault(),e.props.menu.anchorBlot){if((0,H.nN)(e.buttonNode,t.target)){var n=e.props.blot.editor.scroll.selectedBlocks;if(n.length>1)n.filter((function(e){return e.isBlotLocked})).map((function(e){e.unlockBlotAction()}));else e.props.blot.unlockBlotAction()}e.closeMenu()}})),tee(J9(e),"onButtonRef",(function(t){e.buttonNode=t})),tee(J9(e),"onMenuRef",(function(t){if(t){e.mainMenuNode=t;var n=!0,r={},o={placement:"bottom-end",onCreate:function(){n=!1},modifiers:{flip:{behavior:["bottom","top","right-start"],fn:function(e,t){return n?(e=Yj.Z.Defaults.modifiers.flip.fn(e,t),r={flipped:e.flipped,placement:e.placement,offsets:e.offsets},e):Object.assign(e,r)},boundariesElement:e.props.scrollingContainer},preventOverflow:{priority:["left","right","bottom","top"]}}};e.props.dontRenderOutOfEditorBody&&(o.modifiers.flip.boundariesElement=e.props.editor.editorBody,o.modifiers.preventOverflow.boundariesElement=e.props.editor.editorBody),e.mainMenuPopper=new Yj.Z(e.buttonNode,t,o)}else e.mainMenuPopper&&(e.mainMenuPopper.destroy(),e.mainMenuPopper=null)})),tee(J9(e),"onMenuWantsToClose",(function(){e.closeMenu()})),tee(J9(e),"onMenuItemExec",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.props.onExec(t,n),e.onMenuWantsToClose()})),tee(J9(e),"onMenuItemAction",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.props.onAction(t,n),e.onMenuWantsToClose()})),tee(J9(e),"onHeaderMenuItemExec",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.props.onExec(t,n),e.onMenuWantsToClose()})),tee(J9(e),"groupItems",(function(e){return I8(e)})),tee(J9(e),"renderItem",(function(t,n){var r=!1;n.action&&!n.submenu&&(r=n.actionExec?function(t){t.preventDefault(),t.stopPropagation(),e.onMenuItemExec(n.action,n.actionParams)}:function(t){t.preventDefault(),t.stopPropagation(),e.onMenuItemAction(n.action,n.actionParams)});var o=e.props;return(0,s.h)(pe.Pj,null,(0,s.h)(l7,W9({id:t,idAttr:"data-menu-id",menuStyle:n.style||null,disabled:!1===n.active,onClick:r,text:n.label,hint:n.submenu&&(0,s.h)(ct.Ec8,null)||n.hint||null,icon:n.icon||null,verifyItem:e.verifyItem,submenu:n.submenu,colorPickerParams:n.colorPickerParams||{},wantsToClose:e.onMenuWantsToClose,singleBlock:1===e.selectedBlocks.length,selectedBlocks:e.selectedBlocks},o)))})),tee(J9(e),"renderGroup",(function(t){var n=1===e.selectedBlocks.length,r=function(t){return t.filter((function(t){return!!n||e.verifyItem(t)}))}(t);return r.length?(0,s.h)("div",{className:"block-menu-group"},r.map((function(t){return e.renderItem(t.id,t)}))):null})),tee(J9(e),"verifyItem",(function(t){return M8(t,e.getSelectedBlocksNames(e.selectedBlocks))})),e}return K9(n,[{key:"closeMenu",value:function(){var e=this;this.setState((function(e){return lee(e)}),(function(){e.props.onMenuClose()}))}},{key:"getSelectedBlocksNames",value:function(e){return A8(e)}},{key:"getCurrentBlocksAlign",value:function(){return function(e){var t,n=!1,r=k8(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(n){if(n!==o.map.get("align")){n="left";break}}else n=o.map.get("align")}}catch(e){r.e(e)}finally{r.f()}return n||(n="left"),n}(this.selectedBlocks)}},{key:"getBlocksIndent",value:function(){return function(e){var t,n=0,r=0,o=k8(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(1===e.length&&!i.getIndent)break;if(i.getIndent){n<i.getIndent()&&(n=i.getIndent());var a=i.constructor.getMaxIndent();r<a&&(r=a)}}}catch(e){o.e(e)}finally{o.f()}return{current:n,max:r}}(this.selectedBlocks)}},{key:"getItems",value:function(){return this.selectedBlocks.indexOf(this.props.blot)<0?(this.selectedBlocks=[this.props.blot],this.props.blot.contextMenu):R8(this.selectedBlocks)}},{key:"getHeaderMenu",value:function(e){var t=this,n=e.align,r=e.indent,o=e.currentIndents,i=this.props,a=i.blot,l=i.menu,c=this.props.menu.editor.plugins.i18n;if(1===this.selectedBlocks.length&&a.getBlotMenuHeaderComponent){var u=a.getBlotMenuHeaderComponent();return u?(0,s.h)(u,{blot:a,menu:l}):null}if(n||r){var d=oee;if(Array.isArray(n)){d={};var p,f=z9(n);try{for(f.s();!(p=f.n()).done;){var h=p.value;d[h]=oee[h]}}catch(e){f.e(e)}finally{f.f()}}return(0,s.h)("div",{className:"block-menu-group block-menu-header-menu"},n?Object.keys(d).map((function(e){var n,r=d[e],o="align-"+e,i=(tee(n={},Gr.qZ,c.get("block_menu.align."+e)+(iee[e]?"\n"+iee[e]:"")),tee(n,Gr.Bg,"text-align-tooltip"),n);return(0,s.h)("div",{className:"block-menu-header-item",onClick:function(n){n.preventDefault(),n.stopPropagation(),t.onHeaderMenuItemExec("set-align",e)},"data-menu-id":o},(0,s.h)("div",W9({},i,{className:"icon "+(t.getCurrentBlocksAlign()===e?"active":"")}),(0,s.h)(r,null)))})):null,r?Object.keys(aee).map((function(e){var n=aee[e],r="indent"===e&&o.current===o.max||"outdent"===e&&0===o.current,i=tee({},Gr.qZ,c.get("block_menu.indent."+e));return(0,s.h)("div",{className:"block-menu-header-item",onClick:!r&&function(n){n.preventDefault(),n.stopPropagation(),t.onHeaderMenuItemExec(e)},"data-menu-id":e},(0,s.h)("div",W9({},i,{className:"icon "+(r?"disabled":"")}),(0,s.h)(n,null)))})):null)}return null}},{key:"render",value:function(){var e=this,t={},n=!1;if(this.props.blot&&this.props.blot.isBlotLocked&&(n=!0),!this.props.editMode&&this.props.showCopyBlotButton)return t[Gr.qZ]=this.props.tooltip,(0,s.h)("div",{className:"block-menu",onClick:this.onCopyLinkButtonClick},(0,s.h)("div",W9({className:"block-menu-copy-pin",ref:this.onButtonRef},t),(0,s.h)(ct.JHz,null)));if(n){var r=this.props.menu.editor.plugins.i18n;if(this.props.blot&&this.props.blot.canUnlock){var o=r.get("block_menu.blot_locked_admin");return this.props.blot.editor.scroll.selectedBlocks.length>1&&(o=r.get("block_menu.blot_locked_admins")),t[Gr.qZ]=o,(0,s.h)("div",{className:"block-menu",onClick:this.onUnlockBlockButtonClick},(0,s.h)("div",W9({className:"block-menu-locked-pin",ref:this.onButtonRef},t),(0,s.h)(ct.TSJ,null)))}return t[Gr.qZ]=r.get("block_menu.blot_locked_user"),(0,s.h)("div",{className:"block-menu"},(0,s.h)("div",W9({className:"block-menu-locked-pin"},t),(0,s.h)(ct.TSJ,null)))}var i=(0,s.h)("span",{key:"block-menu-main"}),a=this.state.menuVisible;if(a){var l,c=this.getItems(),u=this.groupItems(c),d=c.align,p=c.indent,f=this.getBlocksIndent();l=this.getHeaderMenu({align:d,indent:p,currentIndents:f}),i=(0,s.h)(At.Z,{wantsToClose:this.onMenuWantsToClose,closeOnEsc:!0,addClassName:"block-menu-list block-menu-main",key:"block-menu-main",domRef:this.onMenuRef},l,Object.keys(u).map((function(t){return e.renderGroup(u[t])})))}else t[Gr.qZ]=this.props.tooltip,t[Gr.aP]=1,t[Gr.xQ]=300;return(0,s.h)("div",{className:"block-menu",onClick:this.onClick,onMouseDown:this.onMouseDown},(0,s.h)("div",W9({className:dee.BUTTON_CLASS+(a?" active":""),ref:this.onButtonRef},t),(0,s.h)(ct.aXx,null)),(0,s.h)(dt.Z,{transitionName:"block-menu",transitionEnterTimeout:ree,transitionLeaveTimeout:ree},i))}}]),n}(s.wA),dee=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;Y9(this,e),tee(this,"onStartDragging",(function(e){n.dragging=!0,n.open=!1,n.anchorBlot&&n.anchorBlot.domNode.classList.remove("block-menu-open"),n.hide(!0)})),tee(this,"onStopDragging",(function(e){n.dragging=!1})),tee(this,"onMouseMove",(function(e){if((0,H.nN)(n.container,e.target))clearTimeout(n.timer);else if(!n.open&&!n.dragging){var t=e.clientX,r=e.clientY;n.savedMousePos={x:t,y:r};var o=n.scroll.domNode.getBoundingClientRect(),i=e.target!=n.editor.scrollingContainer;if(t<=o.x-150){var a=!0,s=see.reduce((function(e,t){return[].concat(V9(e),V9(Array.from(n.scroll.domNode.getElementsByClassName(t))))}),[]);if(s){var l,c=z9(s);try{for(c.s();!(l=c.n()).done;){var u=l.value.getBoundingClientRect();if(r>=u.top&&r<=u.top+u.height){t>=u.x-150&&(a=!1);break}}}catch(e){c.e(e)}finally{c.f()}}if(a)return void n.hide()}if(t>=o.x+o.width)n.hide();else{var d=o.x+o.width-5,p=document.elementFromPoint(d,r),f=re(p=n.getCorrectNodeIfOverlayingScroll(p,d,r));if(f&&f.getInnerRightPadding&&0!==f.getInnerRightPadding()&&(d-=f.getInnerRightPadding(),p=document.elementFromPoint(d,r),f=re(p=n.getCorrectNodeIfOverlayingScroll(p,d,r))),f||(f=n.findBlotForEmbeddedMenu(p)),f!==n.scroll&&f){if(f=ie(f,(function(e){return e.isFocusable}))||f,ie(f,(function(e){return e instanceof $1}))){var h,m=oe(f,u3);if(!i&&m)h=m.children.head;else{var g=re(e.target);g||(g=n.findBlotForEmbeddedMenu(e.target)),h=oe(g,$1)}if(!h)return void n.hide();var y=h.domNode.getBoundingClientRect(),v=y.x+y.width-(m.children.tail!==h?35:0)-5,b=r,_=document.elementFromPoint(v,b);if((f=re(_=n.getCorrectNodeIfOverlayingScroll(_,v,b)))&&f.getInnerRightPadding&&0!==f.getInnerRightPadding()&&(_=document.elementFromPoint(v-f.getInnerRightPadding(),b),f=re(_=n.getCorrectNodeIfOverlayingScroll(_,v,b))),(f=f?ie(f,(function(e){return e.isFocusable||"tableWrapper"===e.constructor.blotName||"uploaderWrapper"===e.constructor.blotName})):n.findBlotForEmbeddedMenu(_))===h)return void n.hide()}var w=f&&f.getWrappedBlot?f.getWrappedBlot():f;if((!w||w.isFocusable)&&(!w||!w.inTransition)){if(f&&f.isTableCell&&f.isTableCell())try{var C=ie(re(f.domNode.parentNode),(function(e){return"table"===e.constructor.blotName}));C&&(f=C)}catch(e){}f&&f!==n.anchorBlot&&(f.getWrappedBlot&&(f=f.getWrappedBlot()),f.getBlotForMenu&&(f=f.getBlotForMenu()),n.show(f,{blot:f}))}}else n.hide()}}})),tee(this,"onEmbedLoaded",(function(e){if(!n.anchorBlot)return console.warn("no anchorBlot for menu");e.id===n.anchorBlot.id&&n.show(n.anchorBlot,{blot:n.anchorBlot})})),tee(this,"onKeyDown",(function(e){-1===[9,16,17,18,91,27].indexOf(e.keyCode)&&n.onMenuClose()})),tee(this,"onMenuOpen",(function(){n.anchorBlot&&(n.open=!0,n.anchorBlot.domNode.classList.add("block-menu-open"),n.editor.plugins.tooltipManager.hide(),n.editor.emitter.emit("block-menu-open"))})),tee(this,"onMenuClose",(function(){n.anchorBlot&&n.anchorBlot.domNode.classList.remove("block-menu-open"),n.hide(!0),setTimeout((function(){n.open=!1,n.editor.emitter.emit("block-menu-close")}),ree)})),tee(this,"onButtonClickClose",(function(){n.anchorBlot&&n.anchorBlot.domNode.classList.remove("block-menu-open"),setTimeout((function(){n.open=!1,n.editor.emitter.emit("block-menu-close")}),ree)})),tee(this,"onCopyLinkButtonClick",(function(){var e=n.editor.plugins.copyManager,t=n.editor.options.baseUrl||String(window.location.origin+window.location.pathname),r=String(t+"#"+n.anchorBlot.id);e.copy(r)})),tee(this,"onExec",(function(e,t){n.editor.exec(e,t)})),tee(this,"onAction",(function(e,t){n.scroll.selectedBlocks.map((function(n){n[e](t)}))})),tee(this,"setSelectedBlock",(function(e){var t=!1;n.scroll.selectedBlocks.indexOf(e)<0?(e.isFocusable?e.focusableFocus():n.scroll.selection.setRange({index:e.offset(n.scroll),length:0}),t=!0):1===n.scroll.selectedBlocks.length&&(t=!0),t&&setTimeout((function(){e.setProps({selected:!0})}),100)})),tee(this,"getSelectedBlocks",(function(){return n.scroll.selectedBlocks})),tee(this,"updatePosition",(function(){n.anchorBlot.domNode.getBoundingClientRect();var e=n.anchorBlot.domNode;n.anchorBlot.getBlotMenuAnchorNode&&(e=n.anchorBlot.getBlotMenuAnchorNode());var t,r,o=le(e,n.editor.scrollingContainer);if(n.anchorBlot instanceof Gl){var i=parseInt(window.getComputedStyle(n.anchorBlot.domNode).lineHeight);t=o.y+(i/2-12)}else t=o.y-1;var a=n.anchorBlot.domNode.scrollLeft||0;if(n.anchorBlot instanceof kb&&(n.anchorBlot.hasAttachment()||n.anchorBlot.image.src&&""!==n.anchorBlot.image.src)&&n.anchorBlot.wrapper&&!n.anchorBlot.domNode.classList.contains("loading")?(o=le(n.anchorBlot.wrapper,n.editor.scrollingContainer),n.container.style.left=o.x-26+"px"):(o.x<n.scroll.domNode.offsetLeft&&(o.x=n.scroll.domNode.offsetLeft,a=0),r=o.x-26+a),n.anchorBlot.onBlotMenuUpdatePosition){var s=n.anchorBlot.onBlotMenuUpdatePosition({left:r,top:t});r=s.left,t=s.top}n.container.style.top=t+"px",n.container.style.left=r+"px"})),i=Object.assign({enabled:!0},i),this.scroll=r,this.editor=o,this.anchorBlot=null,this.container=null,this.open=!1,this.dragging=!1,this.hidden=!0,this.enabled=i.enabled,this.options=i,this.init()}return K9(e,[{key:"init",value:function(){this.enabled&&(this.container=document.createElement("div"),this.container.classList.add("block-menu-container"),this.editor.scrollingContainer.appendChild(this.container),this.render(this.container),this.editor.scrollingContainer.addEventListener("mousemove",this.onMouseMove),this.editor.scrollingContainer.addEventListener("keydown",this.onKeyDown),this.editor.emitter.on("embed-loaded",this.onEmbedLoaded),this.editor.emitter.on("start-dragging",this.onStartDragging),this.editor.emitter.on("stop-dragging",this.onStopDragging),this.editor.emitter.on("grid-resize-start",this.onStartDragging),this.editor.emitter.on("grid-resize-end",this.onStopDragging),this.editor.emitter.on("embed-resize-start",this.onStartDragging),this.editor.emitter.on("embed-resize-end",this.onStopDragging),this.editor.emitter.on("start-nedit-selection",this.onStartDragging),this.editor.emitter.on("end-nedit-selection",this.onStopDragging))}},{key:"getCorrectNodeIfOverlayingScroll",value:function(e,t,n){var r=this;if(e===this.editor.scrollingContainer)e=(0,H.Fp)({x:t,y:n},"x",-1,t-20,(function(e){return e!==r.editor.scrollingContainer}));else if(!e&&t>window.innerWidth){var o=window.innerWidth-1,i=document.elementFromPoint(o,n);return this.getCorrectNodeIfOverlayingScroll(i,o,n)}return e}},{key:"findBlotForEmbeddedMenu",value:function(e){if(e){var t=e.closest&&e.closest("["+L9+"]");if(t){var n=t.getAttribute(L9);return this.editor.findById(n)}}return null}},{key:"tryUpdateAnchorBlot",value:function(){if(this.savedMousePos){var e=document.elementFromPoint(this.savedMousePos.x,this.savedMousePos.y);this.onMouseMove({clientX:this.savedMousePos.x,clientY:this.savedMousePos.y,target:e})}}},{key:"adjustPositionContinuously",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=function t(){e.anchorBlot&&((0,H.S5)(e.anchorBlot.domNode)?e.container&&(e.updatePosition(),requestAnimationFrame(t)):e.tryUpdateAnchorBlot())};t?cancelAnimationFrame(n):n()}},{key:"render",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=null;t&&this.anchorBlot&&this.anchorBlot.blockMenuAddComponent&&(r=this.anchorBlot.blockMenuAddComponent());var o=dt.Z,i=this.editor.mode!==this.editor.constructor.MODE_EDIT;i&&this.options.showCopyBlotButton&&(i=!!(this.anchorBlot instanceof Gl&&this.anchorBlot.isEmpty())),i&&(t=!1,o=cee);var a=null;this.editor.plugins.i18n&&(a=this.editor.mode===this.editor.constructor.MODE_EDIT?this.editor.plugins.i18n.get("block_menu.tooltip"):this.editor.plugins.i18n.get("block_menu.copy_tooltip")),(0,s.sY)((0,s.h)(o,{transitionName:"block-menu",transitionEnterTimeout:nee,transitionLeaveTimeout:nee},t?(0,s.h)(uee,W9({tooltip:a,onMenuOpen:this.onMenuOpen,onMenuClose:this.onMenuClose,onButtonClickClose:this.onButtonClickClose,onCopyLinkButtonClick:this.onCopyLinkButtonClick,onExec:this.onExec,onAction:this.onAction,setSelectedBlock:this.setSelectedBlock,updatePosition:this.updatePosition,menu:this,getSelectedBlocks:this.getSelectedBlocks,scrollingContainer:this.editor.getScrollingContainer?this.editor.getScrollingContainer():document.body,theme:this.editor.plugins.editorStyle?this.editor.plugins.editorStyle.getTheme():"light",editMode:this.editor.mode===this.editor.constructor.MODE_EDIT,showCopyBlotButton:this.options.showCopyBlotButton,dontRenderOutOfEditorBody:this.editor.options.disallowInterfacesOutOfEditor,editor:this.editor},n)):null,r?(0,s.h)(r,{blot:this.anchorBlot}):null),e)}},{key:"updateBlockMenu",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?this.show(this.anchorBlot,{blot:this.anchorBlot}):this.tryUpdateAnchorBlot()}},{key:"show",value:function(e,t){clearTimeout(this.timer),this.adjustPositionContinuously(!0),this.hidden=!1,this.anchorBlot=e,this.container.setAttribute("data-block-menu-for-id",t.blot.id),this.adjustPositionContinuously(),setTimeout(this.render(this.container,!0,t),0)}},{key:"hide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];clearTimeout(this.timer),t?(this.adjustPositionContinuously(!0),this.hidden=!0,this.anchorBlot=null,this.render(this.container)):this.timer=setTimeout((function(){e.hidden=!0,e.anchorBlot=null,e.render(e.container)}),nee)}}]),e}();function pee(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return fee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fee(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function fee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}dee.BUTTON_CLASS="block-menu-pin-button";var gee=(0,Rn.ZP)("escape"),yee=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.doc,a=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),mee(this,"onEditorMouseDown",(function(e){if(3!==e.which){var t=e.target,r=re(t);if(!n.options.allowDragOnMultiSelect||!n.isMouseInSelectedArea(e))return r&&r.canDragWith&&r.canDragWith(t)?(n.mouseDownPosition={x:e.clientX,y:e.clientY},void(r.onlySingleDragging&&r.onlySingleDragging()&&(n.mouseDownTargetBlot=r))):void(t.closest("."+dee.BUTTON_CLASS)&&(n.mouseDownPosition={x:e.clientX,y:e.clientY}));n.mouseDownPosition={x:e.clientX,y:e.clientY}}})),mee(this,"onEditorMouseMove",(function(e){if(n.mouseDownPosition&&Ta({x:e.clientX,y:e.clientY},n.mouseDownPosition)>=5){var t={};n.blotsToDradOnMultiSelect&&n.blotsToDradOnMultiSelect.length>2&&(t.blots=Array.from(n.blotsToDradOnMultiSelect)),n.mouseDownTargetBlot&&(t.targetBlot=n.mouseDownTargetBlot,t.blots=[n.mouseDownTargetBlot]),n.startDragSession(t),n.mouseDownPosition=null,n.blotsToDradOnMultiSelect=null,n.mouseDownTargetBlot=null}})),mee(this,"onEditorMouseUp",(function(e){n.mouseDownPosition&&(n.mouseDownTargetBlot=null,n.mouseDownPosition=null,n.blotsToDradOnMultiSelect=null)})),mee(this,"onEditorKeyDown",(function(e){if(n.session&&gee(e)){var t=n.session.getEventsNames();n.session.isControlled||(n.document.removeEventListener(t.pointermove,n.onDragMouseMove),n.document.removeEventListener(t.pointerup,n.onDragMouseUp)),n.session.disablePhantoms||(n.editor.clipboard.innerHTML=""),n.editor.scrollingContainer.classList.remove("drag-session"),n.clearTimerScroll(),n.session.clearAction(),n.session.cleanup(),n.session=null,n.editor.emitter.emit("stop-dragging")}})),mee(this,"findBlotByDomNode",(function(e){for(var t=s5.find(e);!t&&e;)e=e.parentNode,t=s5.find(e);return t})),mee(this,"onDragMove",(function(e){var t=n.findBlotByDomNode(e.target);if(!(t=n.getBlotFromEventTargetBlot(t,e))){var r=n.session.getScrollRect();if(e.x<r.x){if((t=n.searchBlot(r.x,e.y,5,r.x+Math.min(r.width,1e3)))instanceof $1){var o=t.children.head,i=o.domNode.getBoundingClientRect();n.leftDropCondition(e.x-i.x,i)&&(t=o)}t=ie(t,(function(e){return e.isDropAcceptor&&!e.disallowSideDrop}))}else if(e.x>r.x+r.width){if((t=n.searchBlot(r.x+r.width,e.y,-5,r.x))instanceof $1){var a=t.children.head,s=a.domNode.getBoundingClientRect();n.rightDropCondition(e.x-s.x,s)&&(t=a)}t=ie(t,(function(e){return e.isDropAcceptor&&!e.disallowSideDrop}))}if(!t&&n.scroll.children){var l=n.scroll.children.tail.domNode.getBoundingClientRect();e.y>l.y+l.height&&(t=n.scroll.children.tail)}}if(t){var c=n.getGridColForBlot(t),u=n.session.blots.indexOf(t.getWrapper())>=0||n.session.blots.indexOf(t.getWrappedBlot())>=0;if(c||!u)if(ie(t,(function(e){return e.isCollapsibleContainer}))&&n.session.blots.some((function(e){return-1!==e.constructor.blotName.indexOf("toggle")||-1!==e.constructor.blotName.indexOf("step")})))n.session.clearAction();else{var d=t.domNode.getBoundingClientRect(),p=(!t.container||!t.container.disallowInsideSideDrop)&&(!t.disallowSideDrop||Boolean(c)),f=(!t.container||!t.container.disallowInsideSideDrop)&&!t.disallowSideDrop,h=!t.disallowUpAndDownDrop,m=!t.disallowUpAndDownDrop,g=!!t.allowInsideDrop,y=e.x-d.x,v=e.y-d.y,b=null;p&&n.leftDropCondition(y,d)?b="left":f&&n.rightDropCondition(y,d,c)?b="right":h&&v<=Math.min(d.height/2,20)?b="top":m&&v>=d.height-Math.min(20,d.height/2)?b="bottom":g&&(b="inside"),u&&["top","bottom"].indexOf(b)>=0&&(b=null),c&&["left","right"].indexOf(b)>=0&&u&&1===c.children.length&&(b=null),b&&!n.willPositionChange(b,t,c)&&(b=null),b?n.session.setAction(b,t):n.session.clearAction()}else n.session.clearAction()}else n.session.clearAction()})),mee(this,"dropForTop",(function(e,t,r,o){if(e.length){var i=e[e.length-1].getWrapper(),a=t.index;i!==t.prev&&e.forEach((function(e){var i=e.index,s=e.getWrapper().parent_id!=t.parent_id;n.updateBlock(e,t.parent_id,r,o)&&(s||a<i)&&r++}))}})),mee(this,"dropForBottom",(function(e,t,r,o){e.length&&(e[0].getWrapper()!==t.next&&(r++,e.forEach((function(e){var i=e.index,a=e.getWrapper().parent_id!=t.parent_id;n.updateBlock(e,t.parent_id,r,o)&&(i>t.index||a)&&r++}))))})),mee(this,"duplicate",(function(e,t,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){};if(e.length){var a=new qG(qG.type,{},n.editor),s=e.map((function(e){return{blot:e,index:e.index}})).filter((function(e){var t=e.blot;return t.isListItem?!t.props.hidden:t}));a.exec({processingBlots:s.map((function(e){return e.blot}))});var l=a.getDuplicatedBlots();s[0].index<r&&(r+=l.length),i(l,t,r,o)}})),mee(this,"onDragMouseMove",(function(e){event=n.formatPointerEvent(e),n.session.touch||event.preventDefault(),n.session.phantoms&&n.session.phantoms.forEach((function(e,t){var r=parseFloat(e.getAttribute("data-init-left")),o=parseFloat(e.getAttribute("data-init-top")),i=r+(event.clientX-n.session.initCursorPosition.x),a=o+(event.clientY-n.session.initCursorPosition.y);e.style.transform="translate("+i+"px, "+a+"px)"})),n.session.setCursorPosition(event.clientX,event.clientY),n.session.isControlled||n.scrollIfNeed(event.clientX,event.clientY),n.onDragMove(event)})),mee(this,"onDragMouseUp",(function(e){if(n.session){var t=n.session.getEventsNames();n.session.isControlled||(e.preventDefault(),e.stopPropagation(),n.document.removeEventListener(t.pointermove,n.onDragMouseMove),n.document.removeEventListener(t.pointerup,n.onDragMouseUp)),n.scroll.batchStart();try{n.editor.clipboard.innerHTML="";var r={};(function(e){return e&&e.altKey})(e)&&(r.duplicateOnDrop=!0),n.onDrop(r),n.scroll.selection.clearSelection()}catch(e){throw e}finally{n.scroll.batchEnd(),n.scroll.update("user"),n.editor.scrollingContainer.classList.remove("drag-session"),n.clearTimerScroll(),n.editor.emitter.emit("stop-dragging")}}})),this.scroll=r,this.editor=o,this.options=a||{},this.document=i||document,this.session=null,this.mouseDownPosition=null,this.editor.container.addEventListener("mousedown",this.onEditorMouseDown,!1),this.editor.container.addEventListener("mousemove",this.onEditorMouseMove,!1),this.editor.container.addEventListener("mouseup",this.onEditorMouseUp,!1),document.addEventListener("keydown",this.onEditorKeyDown,!1)}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this.editor.container.removeEventListener("mousedown",this.onEditorMouseDown,!1),this.editor.container.removeEventListener("mousemove",this.onEditorMouseMove,!1),this.editor.container.removeEventListener("mouseup",this.onEditorMouseUp,!1),document.removeEventListener("keydown",this.onEditorKeyDown,!1)}},{key:"getGridColForBlot",value:function(e){for(;e;){if(e instanceof $1)return e;e=e.parent}return null}},{key:"isMouseInSelectedArea",value:function(e){if(this.scroll.selectedBlocks.length<2)return!1;var t,n=e.clientX,r=e.clientY,o=!1,i=pee(this.scroll.selectedBlocks);try{for(i.s();!(t=i.n()).done;){var a=t.value.domNode.getBoundingClientRect(),s=a.x,l=a.y,c=a.width,u=a.height;if(n>s&&n<s+c&&r>l&&r<l+u){o=!0;break}}}catch(e){i.e(e)}finally{i.f()}return o&&(this.blotsToDradOnMultiSelect=Array.from(this.scroll.selectedBlocks)),o}},{key:"addSubListItemsToDrag",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[],r=pee(t);try{for(r.s();!(e=r.n()).done;){var o=e.value;if(-1===n.indexOf(o))if(o.isListItem){if(n.push(o),o.getSubItems){var i,a=o.getSubItems(),s=pee(a);try{for(s.s();!(i=s.n()).done;){var l=i.value;n.push(l)}}catch(e){s.e(e)}finally{s.f()}}}else n.push(o)}}catch(e){r.e(e)}finally{r.f()}return n}},{key:"startDragSession",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.targetBlot||this.editor.plugins.blockMenu.anchorBlot,n=e.blots||(this.scroll.selectedBlocks.indexOf(t)<0?[t]:this.scroll.selectedBlocks);return n=n.filter((function(e){return e&&!e.isBlotLocked})),n=(n=this.addSubListItemsToDrag(n)).filter((function(e){return e&&!e.dontProcessDragAndDrop})),this.session=new x8({blots:n,scroll:this.scroll,editor:this.editor,minSideDropDistance:20,isControlled:e.isControlled,touch:e.touch,disablePhantoms:e.disablePhantoms}),this.startDragging(e.mousePosition||this.mouseDownPosition),this.editor.emitter.emit("start-dragging"),this.session}},{key:"searchBlotAxis",value:function(e,t,n,r,o,i){for(var a=function(){if(r>0){if("x"===n)return function(e,t){return e<o};if("y"===n)return function(e,t){return t<o}}else{if("x"===n)return function(e,t){return e>o};if("y"===n)return function(e,t){return t>o}}}(),s=t,l=e;a(l,s);"x"===n?l+=r:s+=r){var c=te(re(this.document.elementFromPoint(l,s)));if(c&&i(c))return{blot:c,x:l,y:s}}}},{key:"searchBlot",value:function(e,t,n,r){for(var o=n>0?function(e){return e<r}:function(e){return e>r},i=e;o(i);i+=n){var a=re(this.document.elementFromPoint(i,t));if(a&&(a=ie(a,(function(e){return e.isDropAcceptor||e instanceof $1}))))return a}return null}},{key:"willPositionChange",value:function(e,t,n){if("left"===e||"right"===e)return!(this.session.getWholeContainersDragging().includes(t)&&!n);if("top"===e){var r=this.session.blots[this.session.blots.length-1];if(r&&r.getWrapper&&t.getWrapper().prev===r.getWrapper())return!1}else if("bottom"===e){var o=this.session.blots[0];if(o&&o.getWrapper&&t.getWrapper().next===o.getWrapper())return!1}return!0}},{key:"searchBlotForGridCol",value:function(e,t){var n=(0,H._z)(t.domNode),r=function(e){return!(e instanceof $1)&&ie(e.container,(function(e){return e===t}))},o=function(t){return t.map((function(t){return t?{dist:Math.abs(e.clientY-t.y),blot:t.blot}:{dist:Number.POSITIVE_INFINITY}})).sort((function(e,t){return e.dist-t.dist}))[0].blot},i=o([this.searchBlotAxis(e.clientX,e.clientY,"y",-5,n.top,r),this.searchBlotAxis(e.clientX,e.clientY,"y",5,e.clientY+20,r)]);if(i)return i;var a=o([this.searchBlotAxis(e.clientX,e.clientY,"x",-5,n.left,r),this.searchBlotAxis(e.clientX,e.clientY,"x",5,n.left+n.width,r)]);return a||null}},{key:"normalizeToDropAcceptor",value:function(e){return e&&this.session.blots.indexOf(e)>=0&&(e=ie(e.parent,(function(e){return e.isDropAcceptor}))),e&&(e=ie(e,(function(e){return e.isDropAcceptor}))),e}},{key:"findDropAcceptorForDraggingBlots",value:function(e){return this.normalizeToDropAcceptor(e)}},{key:"getBlotFromEventTargetBlot",value:function(e,t){if(e instanceof $1){var n=this.searchBlotForGridCol(t,e);if(n)e=n,e=this.normalizeToDropAcceptor(e);else{var r=e.children.head,o=(r=this.normalizeToDropAcceptor(r))&&r.domNode&&r.domNode.getBoundingClientRect()||0,i=t.x-o.x;(this.leftDropCondition(i,o)||this.rightDropCondition(i,o,e))&&(e=r)}}else e=this.findDropAcceptorForDraggingBlots(e);return e}},{key:"leftDropCondition",value:function(e,t){return e<=-20}},{key:"rightDropCondition",value:function(e,t,n){return(!n||n.parent.children.tail===n)&&e>t.width&&e-t.width>=20}},{key:"updateBlock",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=e.getWrappedBlot(),r.relBlot&&r.relBlot.id===t&&(t=r.relBlot.getWrapper().parent_id);var o=this.editor.findById(t);if(o&&o.moveChild){var i=o.moveChild(e,n,r);return this.editor.emitter.emit(Epe),i}return console.warn("parentBlot is not node-root or gridCol"),!1}},{key:"onDrop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.session.getAction(),n=this.session.getMoveContext();if(this.session.clearAction(),this.session.cleanup(),t){var r=t.action,o=t.blot,i=o,a=e.duplicateOnDrop;if(i&&i instanceof $1&&("top"===r?i=this.normalizeToDropAcceptor(i.children.head):"bottom"===r&&(i=this.normalizeToDropAcceptor(i.children.tail))),i&&"grid"===i.constructor.blotName&&("left"===r?i=this.normalizeToDropAcceptor(i.children.head.children.head):"right"===r&&(i=this.normalizeToDropAcceptor(i.children.tail.children.head))),ue(this.session.blots)){var s=this.session.blots[0].constructor;if(s.getDropTarget){var l=s.getDropTarget(r,this.session.blots,i,n);i=l.target}}var c=i.index;if(n.relBlot=i,"top"===r&&(a?this.duplicate(this.session.blots,i,c,n,this.dropForTop):this.dropForTop(this.session.blots,i,c,n)),"bottom"===r&&(a?this.duplicate(this.session.blots,i,c,n,this.dropForBottom):this.dropForBottom(this.session.blots,i,c,n)),"left"===r||"right"===r){var u=new Uq(Uq.type,r,this.editor);if(a){var d=new qG(qG.type,{},this.editor);d.exec({processingBlots:this.session.blots});var p=d.getDuplicatedBlots();u.run({processingBlots:i,moveBlocks:p,context:n})}else u.run({processingBlots:i,moveBlocks:this.session.blots,context:n})}this.session=null}}},{key:"addBlotsToClipboard",value:function(){var e=this,t=[];return this.session.blots.forEach((function(n){var r,o=n.domNode.getBoundingClientRect();n.onDraggingGetPhantomPos&&(o=n.onDraggingGetPhantomPos()),(r=n.getDraggingNode?n.getDraggingNode():n.domNode.cloneNode(!0)).id="";var i,a=pee(r.querySelectorAll("*"));try{for(a.s();!(i=a.n()).done;)i.value.id=""}catch(e){a.e(e)}finally{a.f()}r.style.left="0px",r.style.top="0px",r.style.transform="translate("+o.x+"px, "+o.y+"px)",r.setAttribute("data-init-left",o.x),r.setAttribute("data-init-top",o.y),r.style.width=parseInt(o.width)+"px",r.style.textAlign=n.map.get("align")||"left",n.props&&n.props.hidden&&(r.style.display="none"),e.editor.clipboard.appendChild(r),t.push(r)})),t}},{key:"formatPointerEvent",value:function(e){return e.touches?{target:document.elementFromPoint(e.touches[0].clientX,e.touches[0].clientY),clientX:e.touches[0].clientX,clientY:e.touches[0].clientY,x:e.touches[0].clientX,y:e.touches[0].clientY}:e}},{key:"scrollIfNeed",value:function(e,t){var n=this.options.maxAutoScrollTopDistance||20,r=this.options.maxAutoScrollBottomDistance||20,o=this.editor.plugins.selectionScroller.getScrollingContainer(),i=(0,H.qL)(o),a=o.offsetHeight,s=i.top,l=t<s+n,c=t>a+s-r,u=l?-5:c?5:0;l||c?this.timerScroll||(this.timerScroll=setInterval((function(){o.scrollBy(0,u)}),10)):this.clearTimerScroll()}},{key:"clearTimerScroll",value:function(){this.timerScroll&&(clearInterval(this.timerScroll),this.timerScroll=null)}},{key:"startDragging",value:function(e){var t=this.session.getEventsNames();this.session.setCursorPosition(e.x,e.y),this.session.setInitCursorPosition(e.x,e.y),this.session.disablePhantoms||this.session.setPhantoms(this.addBlotsToClipboard()),this.session.isControlled||(this.document.addEventListener(t.pointermove,this.onDragMouseMove),this.document.addEventListener(t.pointerup,this.onDragMouseUp)),this.editor.scrollingContainer.classList.add("drag-session")}}])&&hee(t.prototype,n),r&&hee(t,r),e}();function vee(e){return(vee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _ee(e,t)}(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 _ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cee(e,t){return(Cee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function See(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kee(e);if(t){var o=kee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Eee(this,n)}}function Eee(e,t){if(t&&("object"===vee(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xee(e)}function xee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kee(e){return(kee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}yee.TOP_BOTTOM_DROP_MAX_DISTANCE=20,yee.TRIGGER_DISTANCE=5,yee.MIN_SIDE_DROP_DISTANCE=20;var Tee=function(e){!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}}),t&&Cee(e,t)}(a,e);var t,n,o,i=See(a);function a(e){var t,n=e.editor,o=e.options;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Oee(xee(t=i.call(this)),"init",(function(){var e=t.editor.store,n=Object.assign({captureTimeout:400,trackedOrigins:new Set([null])},t.options);t.yUndoManager=new r.UndoManager([e.blocks,e.rootChildren],n),t.rangeToRestore=null,t.lastRanges=[],t.mouseDown=!1,t.selectionChangedWhenMouseDown=!1,t.editor.mode===t.editor.constructor.MODE_EDIT&&(t.yUndoManager.on("stack-item-added",t.onUndoBufferPush),t.yUndoManager.on("stack-item-popped",t.onUndoRedoBufferPop),document.addEventListener("selectionchange",t.onSelectionChange,!1),document.addEventListener("mousedown",t.onMouseDown,!1),document.addEventListener("mouseup",t.onMouseUp,!1))})),Oee(xee(t),"onUndoBufferPush",(function(e){var n,r=e.stackItem;e.type,e.origin;t.lastRanges.length&&(n=t.lastRanges[t.lastRanges.length-1]),n&&(r.meta.has("_nmbEditorRange")||r.meta.set("_nmbEditorRange",n)),t.editor.emitter.emit("undo-manager-change")})),Oee(xee(t),"onUndoRedoBufferPop",(function(e){var n=e.stackItem;e.type;n&&(t.rangeToRestore=n.meta.get("_nmbEditorRange")),t.editor.emitter.emit("undo-manager-change")})),Oee(xee(t),"onMouseDown",(function(){t.mouseDown=!0,t.selectionChangedWhenMouseDown=!1})),Oee(xee(t),"onMouseUp",(function(){t.mouseDown=!1,t.selectionChangedWhenMouseDown&&t.onSelectionChange()})),Oee(xee(t),"onSelectionChange",(function(e){if(t.mouseDown)t.selectionChangedWhenMouseDown=!0;else{var n=bee(t.editor.scroll.selection.getRange(),1)[0];t.lastRanges.push(n),t.lastRanges.length>2&&t.lastRanges.shift()}})),t.editor=n,t.options=o,t.editor.emitter.once("scroll-init",t.init),t}return t=a,(n=[{key:"destroy",value:function(){this.editor.mode===this.editor.constructor.MODE_EDIT&&(document.removeEventListener("selectionchange",this.onSelectionChange,!1),document.removeEventListener("mousedown",this.onMouseDown,!1),document.removeEventListener("mouseup",this.onMouseUp,!1))}},{key:"stopCapturing",value:function(){this.yUndoManager.stopCapturing()}},{key:"captureRange",value:function(){var e=bee(this.editor.scroll.selection.getRange(),1)[0];e&&this.lastRanges.push(e)}},{key:"canUndo",value:function(){return this.yUndoManager.undoStack.length>0}},{key:"canRedo",value:function(){return this.yUndoManager.redoStack.length>0}},{key:"restoreRange",value:function(){this.editor.scroll.selection.setRange(this.rangeToRestore),this.rangeToRestore=null}},{key:"undo",value:function(){var e=this;if(this.canUndo()){var t;this._undoing=!0;try{var n=this.editor.scroll.selection.getRange()[0];this.yUndoManager.once("redo-push",(function(e){e._nmbEditorRange=n})),this.editor.scroll.execInBatch((function(){return e.yUndoManager.undo()})),this.restoreRange(),this.captureRange()}catch(e){t=e}this._undoing=!1;var r=(this.options||{}).throwExceptionWhenError;if((void 0===r||r)&&t)throw t;this.editor.emitter.emit("undo-manager-change"),this.editor.emitter.emit("undo")}}},{key:"redo",value:function(){var e=this;if(this.canRedo()){var t;this._redoing=!0;try{this.editor.scroll.execInBatch((function(){return e.yUndoManager.redo()})),this.restoreRange(),this.captureRange()}catch(e){t=e}if(this._redoing=!1,t)throw t;this.editor.emitter.emit("undo-manager-change"),this.editor.emitter.emit("redo")}}},{key:"isUndoingOrRedoing",value:function(){return this._undoing||this._redoing}},{key:"skip",value:function(e){this.editor.store.transaction((function(){e()}),"undo-skip")}},{key:"clear",value:function(){this.yUndoManager._undoBuffer=[],this.yUndoManager._redoBuffer=[],this.yUndoManager._lastTransactionWasUndo=!1}},{key:"undoState",get:function(){return{canUndo:this.canUndo(),canRedo:this.canRedo()}}},{key:"isYUndoManager",value:function(e){return null!==e&&"object"===vee(e)&&e===this.yUndoManager}},{key:"isUndoing",value:function(){return this._undoing}},{key:"isRedoing",value:function(){return this._redoing}}])&&wee(t.prototype,n),o&&wee(t,o),a}(bo());function Aee(e){return(Aee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pee(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ree(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ree(e,t){if(e){if("string"==typeof e)return Iee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Iee(e,t):void 0}}function Iee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mee=["#161616","#f5f5f5"],Nee=function(e){return function(e){if(Array.isArray(e))return Iee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ree(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.")}()}(Object.values(Qe)).filter((function(e){return!Mee.includes(e)})),Dee={P:!0,DIV:!0,DD:!0,DT:!0,DL:!0,H1:{textLineType:"hLarge"},H2:{textLineType:"hMedium"},H3:{textLineType:"hSmall"},H4:{textLineType:"hSmall"},H5:{textLineType:"hSmall"},H6:{textLineType:"hSmall"},BLOCKQUOTE:{textLineType:"blockquote"}},jee=["BLOCKQUOTE","P","DIV","DD","DT","DL","DFN"];function Lee(e){e.innerHTML=e.innerHTML.replace(/\n/g,"<BR>")}function Bee(e){return 2===e.ops.length&&e.ops[0].insert.linebreak&&"\n"===e.ops[1].insert&&e.ops.shift(),e}function Fee(e){var t=e.match(/\bindent-([0-9]+)/,e);return t?parseInt(t[1]):null}function Uee(e){return function(e){if(Array.isArray(e))return zee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Vee(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 Hee(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Vee(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Vee(e,t){if(e){if("string"==typeof e)return zee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zee(e,t):void 0}}function zee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var qee={UL:!0,OL:!0};function Gee(e){if(e.classList.contains("nn-checkbox-list"))return!0;var t,n=!1,r=Hee(e.childNodes);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o.classList&&o.classList.contains("nn-checked")){n=!0;break}}}catch(e){r.e(e)}finally{r.f()}return n}function Wee(e){if(!e.length)return[];for(var t=[],n=0;n<e.length-1;n++){var r=e[n],o=r.ops.length-1;o<0||("\n"===r.ops[o]?r.ops.pop():r.ops[o].insert=r.ops[o].insert.replace(/\n$/,""),t.push.apply(t,Uee(r.ops)))}return t.push.apply(t,Uee(e[e.length-1].ops)),{ops:t}}function Yee(e){var t=e.match(/\bindent-([0-9]+)/,e);return t?parseInt(t[1]):null}var Zee={IMG:!0},Kee=/^https?:\/\//i;var $ee=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"NIMBUS-FILE",!0);var Qee={HR:!0};var Xee=n(34111),Jee=n.n(Xee);function ete(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return tte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tte(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function tte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var nte={PRE:!0,TABLE:{acceptClass:"highlight"}};function rte(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ote(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ote(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ote(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ite={IFRAME:!0},ate=["youtube","googleCalendar"];function ste(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return lte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lte(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function lte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var cte=/id="docs\-internal\-guid/,ute=["H1","H2","H3","H4","H5","H6","P"],dte=["434343","67, 67, 67"];function pte(e,t){for(var n=0,r=!0,o=0,i=Array.from(e.childNodes);o<i.length;o++){var a=i[o];if(a.childNodes.length&&("SPAN"===a.firstChild.tagName&&a.firstChild.classList.contains("Apple-tab-span")||"    "===a.innerText))if(r)n+=1,e.removeChild(a);else{var s=t.createTextNode("\t");a.replaceWith(s)}else r&&(r=!1)}e.classList.add("indent-"+n)}const fte={prepareDocument:function(e){(function(e){return Boolean(e.match(cte))})(e.body.innerHTML)&&(!function e(t,n){for(var r=0,o=Array.from(t.childNodes);r<o.length;r++){var i=o[r];i.tagName&&(ute.indexOf(i.tagName)>=0?pte(i,n):e(i,n))}}(e.body,e),function e(t,n){if(t.childNodes)for(var r=0,o=Array.from(t.childNodes);r<o.length;r++){var i=o[r];if(i.style&&i.style.color){var a,s=ste(dte);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(i.style.color.includes(l)){i.style.removeProperty("color");break}}}catch(e){s.e(e)}finally{s.f()}}e(i,n)}}(e.body,e),function e(t,n){if(t.childNodes)for(var r=0,o=Array.from(t.childNodes);r<o.length;r++){var i=o[r];if("SPAN"===t.tagName&&t.style&&"26pt"===t.style["font-size"]){var a=t.parentNode;if(a&&"P"===a.tagName&&a.style&&"3pt"===a.style["margin-bottom"]){var s=n.createElement("h1");s.appendChild(t),a.parentNode.insertBefore(s,a),a.parentNode.removeChild(a)}}e(i,n)}}(e.body,e))}};function hte(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return mte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mte(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function mte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gte(e,t){if(t.parentNode===e.body&&3===t.nodeType&&""===t.textContent.trim()&&t.parentNode.removeChild(t),3!==t.nodeType&&function(e){for(var t=!1,n=0,r=Array.from(e.classList);n<r.length;n++){if(-1!==r[n].indexOf("MsoListParagraph")){t=!0;break}}return t}(t)){var n="UL",r=Array.from(t.querySelectorAll('[style="mso-list:Ignore"]'));if(r&&r.length){var o,i=hte(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;/\d+[.)]/.test(t.textContent)&&(n="OL"),a.parentNode.removeChild(a)}}catch(e){i.e(e)}finally{i.f()}}t.textContent||"OL"===t.previousSibling.tagName&&(n="OL");var s=function(e,t){for(var n=Array.from(t.childNodes),r=e.createElement("li"),o=0,i=n;o<i.length;o++){var a=i[o];r.appendChild(a)}return r}(e,t);if(t.previousSibling&&t.previousSibling.tagName===n)t.previousSibling.appendChild(s);else{var l=e.createElement(n);l.appendChild(s),t.parentNode.insertBefore(l,t)}t.parentNode.removeChild(t)}else for(var c=0,u=Array.from(t.childNodes);c<u.length;c++){gte(e,u[c])}}const yte={prepareDocument:function(e){(function(e){return/MsoListParagraph/gm.test(e.body.innerHTML)})(e)&&gte(e,e.body)}};function vte(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return bte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bte(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function bte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const _te={prepareDocument:function(e){var t,n=vte(e.body.querySelectorAll(".yt-formatted-string"));try{for(n.s();!(t=n.n()).done;){var r=t.value,o=document.createElement("div");r.hasAttribute("style")&&(o.setAttribute("style",r.getAttribute("style")),r.removeAttribute("style"),r.innerHTML=r.innerHTML.replace(/(?:\r\n|\r|\n)/g,"<br>")),(0,H.PB)(r,o)}}catch(e){n.e(e)}finally{n.f()}}};function wte(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Cte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cte(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Cte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const Ste={prepareDocument:function(e){(function(e){return!!e.body.querySelectorAll("blockquote.gmail_quote").length})(e)&&function e(t,n){for(var r=0,o=Array.from(n.childNodes);r<o.length;r++){var i=o[r];if(i.tagName&&"BLOCKQUOTE"===i.tagName&&i.previousSibling&&"BLOCKQUOTE"===i.previousSibling.tagName){var a=t.createElement("br");i.previousSibling.appendChild(a);for(var s=0,l=Array.from(i.childNodes);s<l.length;s++){var c=l[s];i.previousSibling.appendChild(c)}i.parentNode.removeChild(i)}if(i){var u=Array.from(i.childNodes);if(u.length){var d,p=wte(u);try{for(p.s();!(d=p.n()).done;){e(t,d.value)}}catch(e){p.e(e)}finally{p.f()}}}}}(e,e.body)}};function Ete(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return xte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xte(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function xte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kte(e,t){if(e.textContent&&""===e.textContent.replace(/\s|&nbsp;/,""))e.parentNode.removeChild(e);else if(e instanceof Comment)e.parentNode.removeChild(e);else{if(!e.previousSibling||"SPAN"===e.tagName&&e.previousSibling.classList.contains("slack-paragraph-wrapper")&&"SPAN"===e.previousSibling.lastChild.tagName){var n=t.createElement("div");n.classList.add("slack-paragraph-wrapper"),e.parentNode.insertBefore(n,e),n.appendChild(e)}else{if("BR"!==e.previousSibling.lastChild.tagName){var r=t.createTextNode(" ");e.previousSibling.appendChild(r)}e.previousSibling.appendChild(e)}!function e(t){if(t.style&&t.style.removeProperty("background-color"),t.childNodes&&t.childNodes.length){var n,r=Ete(t.childNodes);try{for(r.s();!(n=r.n()).done;){e(n.value)}}catch(e){r.e(e)}finally{r.f()}}}(e)}}function Ote(e,t){if(!e.classList||!e.classList.contains("c-mrkdwn__br")){var n=!1;if(e.previousSibling?e.previousSibling.classList&&e.previousSibling.classList.contains("c-mrkdwn__br")&&(n=!0,e.parentNode.removeChild(e.previousSibling)):n=!0,n){var r=t.createElement("div");e.parentNode.insertBefore(r,e),r.appendChild(e)}else e.previousSibling.appendChild(e)}}const Tte={prepareDocument:function(e){if(function(e){return Array.from(e.body.querySelectorAll("*")).some((function(e){return e.style&&e.style.getPropertyValue("font-family").includes("Slack")}))}(e))if(function(e){return Boolean(e.body.querySelector("div.c-message_kit__blocks")||e.body.querySelector(".c-message__sender")||e.body.querySelector("span.c-mrkdwn__br"))}(e)){var t=e.body.querySelector(".c-message__message_blocks .p-rich_text_section");if(t)for(var n=0,r=Array.from(t.childNodes);n<r.length;n++){Ote(r[n],e)}}else for(var o=0,i=Array.from(e.body.childNodes);o<i.length;o++){kte(i[o],e)}}};function Ate(e){return function(e){if(Array.isArray(e))return Ite(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rte(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 Pte(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Rte(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Rte(e,t){if(e){if("string"==typeof e)return Ite(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ite(e,t):void 0}}function Ite(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mte=["file","image","bookmark"];function Nte(e,t){if(e.initParams&&e.initParams.content&&(!t.editorRoom||!e.initParams.room||e.initParams.room!==t.editorRoom)){var n=e.initParams.content.rows;if(!Array.isArray(n)||!n.length)return;var r,o=Pte(n);try{for(o.s();!(r=o.n()).done;){var i=r.value.children;if(i&&i.length){var a,s=Pte(i);try{for(s.s();!(a=s.n()).done;){var l=a.value;"attachment"===l.cellType&&delete l.attachmentGlobalIds}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){o.e(e)}finally{o.f()}}}function Dte(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Pte(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;Mte.includes(o.type)&&(n.editorRoom&&o.initParams.room&&o.initParams.room===n.editorRoom||!o.initParams.attachmentGlobalId||g9(o.initParams.attachmentGlobalId)?o.initParams.attachmentGlobalId&&o.initParams.room&&delete o.initParams.room:delete o.initParams.attachmentGlobalId),o.items&&Array.isArray(o.items)?Dte(o.items,n):o.initParams&&o.initParams.items?Dte(o.initParams.items,n):"table"===o.type&&Nte(o,n)}}catch(e){r.e(e)}finally{r.f()}}function jte(e){var t,n=Pte(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=r.initParams,i=o||{},a=i.delta;if(a&&a.ops){var s,l=Pte(a.ops);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(c.insert&&c.insert.button){var u=JSON.parse(c.insert.button);u.id=Te(),c.insert.button=JSON.stringify(u)}}}catch(e){l.e(e)}finally{l.f()}}}}catch(e){n.e(e)}finally{n.f()}}function Lte(e){for(var t=[];e.length;){var n=e.shift();if("grid"===n.type){var r,o=Pte(n.items);try{for(o.s();!(r=o.n()).done;){var i=r.value;t.push.apply(t,Ate(i.items))}}catch(e){o.e(e)}finally{o.f()}}else t.push(n)}return t}function Bte(e){for(var t=[];e.length;){var n=e.shift();if("grid"===n.type&&n.items.length<2){var r,o=Pte(n.items);try{for(o.s();!(r=o.n()).done;){var i=r.value;t.push.apply(t,Ate(i.items))}}catch(e){o.e(e)}finally{o.f()}}else t.push(n)}return t}function Fte(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Bte(e);var n=t.focusedBlot,r=t.scrollBlot,o=n?n.container:r;return o instanceof Tf&&(o=o.container),o!==r&&(e=Lte(e)),Dte(e,t),jte(e,t),e}function Ute(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Wte(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 Hte(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vte(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hte(Object(n),!0).forEach((function(t){Zte(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hte(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zte(e){return function(e){if(Array.isArray(e))return Yte(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wte(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 qte(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gte(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Wte(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Wte(e,t){if(e){if("string"==typeof e)return Yte(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yte(e,t):void 0}}function Yte(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kte={ARTICLE:!0,HEADER:!0,FIGURE:!0,SECTION:!0,FONT:!0,MAIN:!0},$te={UL:!0,LI:!0},Qte={"EN-TABLE":!0},Xte=Zte({},"NIMBUS-FILE",!0),Jte=[{parent:"A",tag:"WBR"},{parent:"DIV",className:"table-toolbar"}],ene=["style","class"],tne={text:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.tagName;if(!Dee.hasOwnProperty(r))return null;"PRE"===e.tagName&&Lee(e);var o=jee.indexOf(e.tagName);if(o>=0){var i=jee.slice(o+1);if(i.length>0){var a,s=e.querySelectorAll(i.join(",")),l=Pee(s);try{for(l.s();!(a=l.n()).done;){var c=a.value,u=(0,H.d9)(c,(function(e){return e.nodeType!==Node.TEXT_NODE||(n.raw?e.textContent:e.textContent.trim())}));if(u){var d=document.createElement("br");c.parentNode.insertBefore(d,c.nextSibling)}(0,H.XL)(c)}}catch(e){l.e(e)}finally{l.f()}}}var p,f=HP(e,t,{}),h=!1,m=!1,g=Pee(f);try{for(g.s();!(p=g.n()).done;){var y=p.value;if(y instanceof Element)Dee[y.tagName]&&(h=!0);else{y.type="textLine";var v=void 0;v=n.keepIndents||n.raw?ki(y.initParams.delta):xi(y.initParams.delta),m||pP(v)||(m=!0),v=Bee(v),y.initParams.delta=v,"object"===Aee(Dee[r])&&(Dee[r].initParams&&Object.assign(y.initParams,Dee[r].initParams),Dee[r].textLineType&&(y.textLineType=Dee[r].textLineType,["hSmall","hMedium","hLarge"].indexOf(y.textLineType)>=0&&(y.initParams.delta=gP(y.initParams.delta),y.initParams.delta=Si(y.initParams.delta))))}}}catch(e){g.e(e)}finally{g.f()}if(!m&&h)f=f.filter((function(e){return e instanceof Element}));else if(f.length&&f[0].initParams){var b=Fee(e.className),_=cP(e);if(e.hasAttribute("data-block-background"))f[0].initParams.color=e.getAttribute("data-block-background");else if(_["background-color"]&&os(_["background-color"])&&!xP[_["background-color"]]){var w=ns(_["background-color"],Nee,null);if(w){var C=Object.keys(Qe).filter((function(e){return Qe[e]===w}))[0];C&&(f[0].initParams.color=C)}}_["text-align"]&&-1!==["left","right","center","justify"].indexOf(_["text-align"])&&(f[0].initParams.align=_["text-align"]),e.classList.contains("hintblock")&&(f[0].textLineType="hint",e.hasAttribute("data-icon")&&(f[0].initParams.icon=e.getAttribute("data-icon"))),f[0].initParams.indent=b}return f},list:function(e,t){var n=e.tagName;if(!qee.hasOwnProperty(n))return null;var r=function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],a=Gee(t),s=[],l=Hee(t.childNodes);try{for(l.s();!(r=l.n()).done;){var c=r.value,u="UL"===t.tagName?"listItemBullet":"listItemNumber",d=o,p=null;if("LI"===c.tagName){c.classList.contains(Zp)||a?u="listItemCheckbox":c.classList.contains("list-item-number")&&(u="listItemNumber");var f=Yee(c.className);f&&(d=f),c.hasAttribute("data-block-background")&&(p=c.getAttribute("data-block-background"));var h,m=HP(c,n,{allowInnerTags:{"*BLOCK":function(e,t){return!t.nonEmptyStringOpMade||{insert:{linebreak:"s"}}}}}),g=[],y=[],v=Hee(m);try{for(v.s();!(h=v.n()).done;){var b=h.value;b instanceof Element?qee[b.tagName]?y.push(b):s.push(b):g.push(b.initParams.delta)}}catch(e){v.e(e)}finally{v.f()}var _={indent:d};p&&(_.color=p),"listItemCheckbox"!==u||!c.classList.contains("nn-checked")&&"true"!==c.getAttribute("data-checked")||(_.checked=!0),g.length&&(_.delta=xi(Wee(g)),i.push({params:_,type:u}));for(var w=0,C=y;w<C.length;w++){var S=C[w],E=e(S,n,o+1),x=E.resItems,k=E.unparsedItems;i.push.apply(i,Uee(x)),s.push.apply(s,Uee(k))}}else if(qee[c.tagName]){var O=e(c,n,o+1),T=O.resItems,A=O.unparsedItems;i.push.apply(i,Uee(T)),s.push.apply(s,Uee(A))}}}catch(e){l.e(e)}finally{l.f()}return{resItems:i,unparsedItems:s}}(e,t),o=r.resItems,i=r.unparsedItems;return[{type:"list",initParams:{items:o}}].concat(Uee(i))},image:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.tagName;if(!Zee.hasOwnProperty(r))return null;var o=e.getAttribute("src");if(!(o&&Kee.test(o)||e.hasAttribute(Qv)))return null;var i,a,s,l="center",c=uP(e);if("left"!==c["text-align"]&&"right"!==c["text-align"]||(l=c["text-align"]),e.hasAttribute(Qv)&&(e.hasAttribute("data-nimbus-room")?n.editorRoom&&e.getAttribute("data-nimbus-room")===n.editorRoom&&(i=e.getAttribute(Qv)):i=e.getAttribute(Qv)),e.hasAttribute(yb))a=e.getAttribute(yb);else if(c.width){var u=parseInt(c.width);isNaN(u)||(a=u)}if(e.hasAttribute(vb))s=e.getAttribute(vb);else if(c.height){var d=parseInt(c.height);isNaN(d)||(s=d)}var p={align:l};a&&(p.width=a),s&&(p.height=s),i&&(p.attachmentGlobalId=i);var f={type:"image",initParams:p};if(!i){if(!o)return null;f.onBlot=function(e){e.embedAttachmentUrl(o,"api")}}return[f]},file:function(e,t){var n=e.tagName;return $ee.hasOwnProperty(n)&&e.hasAttribute(Qv)?[{type:"file",initParams:{attachmentGlobalId:e.getAttribute(Qv)}}]:null},syntax:function(e,t){var n=e.tagName;if(!nte.hasOwnProperty(n))return null;if("TABLE"==n&&!e.classList.contains(nte.TABLE.acceptClass))return null;var r=HP(e=function(e){var t,n=ete(e.querySelectorAll("code"));try{for(n.s();!(t=n.n()).done;){var r=t.value;(0,H.XL)(r)}}catch(e){n.e(e)}finally{n.f()}var o,i=ete(e.querySelectorAll("div,p"));try{for(i.s();!(o=i.n()).done;){var a=o.value;a.parentNode.insertBefore(document.createElement("br"),a.nextSibling),(0,H.XL)(a)}}catch(e){i.e(e)}finally{i.f()}e.innerHTML=e.innerHTML.replace(/<br[^>]*>/gi,"\n").replace(/<\/tr>/gi,"\n").replace(/\n$/,"");for(var s=document.createElement("PRE"),l=0,c=["data-nimbus-language","data-nimbus-theme"];l<c.length;l++){var u=c[l];e.getAttribute(u)&&s.setAttribute(u,e.getAttribute(u))}return s.innerHTML=Jee()(e.textContent).replace(/(\n)+/g,"<BR>"),s}(e),t,{}),o={ops:[]};r.length&&(o=function(e){return 2===e.ops.length&&e.ops[0].insert.linebreak&&"\n"===e.ops[1].insert&&e.ops.shift(),e}(r[0].initParams.delta));var i=e.getAttribute("data-nimbus-language"),a=e.getAttribute("data-nimbus-theme");return[{type:vQ.blotName,initParams:{delta:o,"data-language":i,"data-theme":a}}]},table:function(e,t){var n=e.tagName;if(!YP.hasOwnProperty(n))return null;if(e.classList.contains(YP.TABLE.excludeClass))return null;var r=eR(e,t);if(!r)return null;var o=[];return r.table&&o.push({type:"table",initParams:r.table}),o.push.apply(o,VP(r.unparsedNodes)),o},hLine:function(e,t){var n=e.tagName;if(!Qee.hasOwnProperty(n))return null;var r=ph,o=uP(e);return o["background-color"]===r&&"rgb(199, 199, 199)"===o["background-color"]||(r=o["background-color"]),[{type:"hLine",initParams:{color:r}}]},frame:function(e,t){var n=e.tagName;if(!ite.hasOwnProperty(n))return null;if(!e.getAttribute("src"))return null;var r,o=e.getAttribute("src"),i=!1,a=rte(ate);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(TH[s]&&TH[s].pattern&&TH[s].pattern.test(o)){i=!0;break}}}catch(e){a.e(e)}finally{a.f()}return i?[{type:"remote-frame",initParams:{src:o}}]:null}},nne={googleDocs:fte,gmail:Ste,mso:yte,youtube:_te,slack:Tte};function rne(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=(e.body,!1),i=Gte(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.nodeType!==Node.TEXT_NODE||a.textContent.trim()){o=!0;break}}}catch(e){i.e(e)}finally{i.f()}if(o){var s=e.createElement(r);t[0].parentNode.insertBefore(s,t[0]);var l,c=Gte(t);try{for(c.s();!(l=c.n()).done;){var u=l.value;s.appendChild(u)}}catch(e){c.e(e)}finally{c.f()}}}var one=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Zte(this,"onPaste",(function(e){var t,r;if(n.editor.hasFocus()){var o=n.editor.plugins.limitManager;if(!(e.target&&e.target.matches&&e.target.matches("textarea, input")||(0,fe.SP)(e.target)))if(e.preventDefault(),e.stopPropagation(),"lite"!==n.editor.mode){if(o&&!o.canAddBlot({type:"any",amount:1,freeze:!0,alert:!0,checkForce:!0}))return!1;var i=e.clipboardData.getData("nimbus/ops");i&&(i=JSON.parse(i)),n.paste({files:e.clipboardData.files,html:e.clipboardData.getData("text/html"),text:e.clipboardData.getData("text/plain"),nimbusOps:i,event:e,delaySetSelection:n.options.delaySetSelection,dontParseMarkdowns:!Boolean(null===(t=n.editor)||void 0===t||null===(r=t.options)||void 0===r?void 0:r.markdown)}),o&&o.unfreeze()}else n.paste({text:e.clipboardData.getData("text/plain")})}})),this.editor=o,this.scroll=r,this.options=i||{},document.addEventListener("paste",this.onPaste)}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){document.removeEventListener("paste",this.onPaste,!1)}},{key:"prepareDocumentNodeUnwrapAndRemove",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=t.tagName,i=Gte(Jte);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(t.parentNode&&t.parentNode.tagName===a.parent){if(a.tag&&o===a.tag){t.parentNode.removeChild(t);break}if(a.className&&t.classList&&t.classList.contains(a.className)){t.parentNode.removeChild(t);break}}}}catch(e){i.e(e)}finally{i.f()}if(t.childNodes)if(t instanceof Comment)t.parentNode.removeChild(t);else{var s=Array.from(t.childNodes),l=Array.from(t.childNodes);if(Kte[o]||(0,H.Jl)(t)&&!Qte[o]&&!Xte[o]||1===r&&t instanceof HTMLUnknownElement){var c,u=Gte(s);try{for(u.s();!(c=u.n()).done;){var d=c.value;t.parentNode.insertBefore(d,t)}}catch(e){u.e(e)}finally{u.f()}t.parentNode.removeChild(t)}if(Qte[o]){var p,f=e.createElement("div"),h=Gte(s);try{for(h.s();!(p=h.n()).done;){var m=p.value;f.appendChild(m)}}catch(e){h.e(e)}finally{h.f()}t.parentNode.insertBefore(f,t),t.parentNode.removeChild(t)}for(var g=0;g<s.length-1;g++){var y=s[g];if("BR"===y.tagName&&s[g+1].nodeType===Node.TEXT_NODE&&!s[g+1].textContent.trim()){var v=s[g+1];v.parentNode&&v.parentNode.removeChild(v),g++}}for(var b=0,_=l;b<_.length;b++){var w=_[b];this.prepareDocumentNodeUnwrapAndRemove(e,w,r+1)}}}},{key:"prepareDocumentNodeWrapInline",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=function e(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n?t.previousSibling:t.nextSibling;return r?r.nodeType!==Node.TEXT_NODE||r.textContent.trim()?r:e(r,n):null},o=Array.from(t.childNodes),i=o.find((function(e){return e.tagName&&eP[e.tagName]}));if(i||0===n){for(var a=[],s=function(){a.length&&(rne(e,a,"div"),a=[])},l=0;l<o.length;l++){var c=o[l],u=void 0,d=void 0;rP[c.tagName]&&(u=r(c,!0),d=r(c,!1)),!rP[c.tagName]||u&&"BR"!==u.tagName||d&&"BR"!==d.tagName?tP[c.tagName]||c.nodeType===Node.TEXT_NODE?a.push(c):s():(s(),rne(e,[c],"div"))}s()}for(var p=0,f=o;p<f.length;p++){var h=f[p];this.prepareDocumentNodeWrapInline(e,h,n+1)}}},{key:"prepareDocumentNumberedListNodeMergeSiblings",value:function(e,t){var n=Array.from(t.childNodes);if("OL"===t.tagName&&t.nextElementSibling&&"OL"===t.nextElementSibling.tagName&&t.nextElementSibling.getAttribute("start"))for(var r=t.getAttribute("start")&&parseInt(t.getAttribute("start"))||1;t.nextElementSibling&&"OL"===t.nextElementSibling.tagName&&parseInt(t.nextElementSibling.getAttribute("start"))-1===r;){for(var o=0,i=Array.from(t.nextElementSibling.childNodes);o<i.length;o++){var a=i[o];3===a.nodeType&&"\n"===a.nodeValue||(t.appendChild(a),r++)}t.nextElementSibling.parentNode.removeChild(t.nextElementSibling)}for(var s=0,l=n;s<l.length;s++){var c=l[s];this.prepareDocumentNumberedListNodeMergeSiblings(e,c)}}},{key:"prepareDocumentNodeOtherTagsInList",value:function(e,t){if("LI"!==t.tagName&&3!==t.nodeType){var n=Array.from(t.childNodes);if($te[t.parentNode.tagName]&&!$te[t.tagName]&&t.parentNode.parentNode){for(var r=t.parentNode,o=r.cloneNode(),i=r.cloneNode(),a=!1,s=0,l=Array.from(r.childNodes);s<l.length;s++){var c=l[s];c!==t?a?i.appendChild(c):o.appendChild(c):a=!0}if(o.childNodes.length&&r.parentNode.insertBefore(o,r),t instanceof HTMLUnknownElement){var u,d=e.createElement("div"),p=Gte(n);try{for(p.s();!(u=p.n()).done;){var f=u.value;d.appendChild(f)}}catch(e){p.e(e)}finally{p.f()}r.parentNode.insertBefore(d,r)}else r.parentNode.insertBefore(t,r);i.childNodes.length&&r.parentNode.insertBefore(i,r),r.remove()}for(var h=0,m=n;h<m.length;h++){var g=m[h];this.prepareDocumentNodeOtherTagsInList(e,g)}}}},{key:"putSpansToTextNodes",value:function(e,t){var n,r=Gte(t.querySelectorAll("span"));try{for(r.s();!(n=r.n()).done;){var o=n.value,i=(0,H.Nj)(o);(0,H.XL)(o);var a,s=new Map,l=Gte(ene);try{for(l.s();!(a=l.n()).done;){var c=a.value;o.hasAttribute(c)&&s.set(c,o.getAttribute(c))}}catch(e){l.e(e)}finally{l.f()}for(var u=o.attributes.length,d=0;d<u;d++)0===o.attributes[d].name.indexOf("data")&&s.set(o.attributes[d].name,o.attributes[d].value);var p,f=Gte(i);try{var h=function(){var e=p.value,t=document.createElement("span");s.forEach((function(e,n){t.setAttribute(n,e)})),(0,H.PB)(e,t)};for(f.s();!(p=f.n()).done;)h()}catch(e){f.e(e)}finally{f.f()}}}catch(e){r.e(e)}finally{r.f()}}},{key:"prepareSyntaxNodes",value:function(e,t){var n=Array.from(t.querySelectorAll(".editor-syntax"));if(n.length){var r,o=Gte(n);try{for(o.s();!(r=o.n()).done;){var i=r.value,a=i.getAttribute("data-nimbus-language"),s=i.getAttribute("data-nimbus-theme"),l=document.createElement("pre");a&&l.setAttribute("data-nimbus-language",a),s&&l.setAttribute("data-nimbus-theme",s);var c=Array.from(i.querySelectorAll("pre"));c.length&&(l.innerText=c.map((function(e){return e.innerText})).join("\n"));var u=document.createElement("div");u.appendChild(l),i.parentNode.replaceChild(u,i)}}catch(e){o.e(e)}finally{o.f()}}}},{key:"prepareDocumentNode",value:function(e,t){this.prepareSyntaxNodes(e,t),this.prepareDocumentNodeUnwrapAndRemove(e,t),this.putSpansToTextNodes(e,t),this.prepareDocumentNodeWrapInline(e,t),this.prepareDocumentNumberedListNodeMergeSiblings(e,t),this.prepareDocumentNodeOtherTagsInList(e,t)}},{key:"prepareDocument",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.body,r=[],o=Array.from(n.childNodes),i=0,a=o;i<a.length;i++){var s=a[i];if(t.disallowDeleteEmptyStrings){if(""===s.innerHTML&&0===s.childNodes.length){s.innerHTML="\n";continue}}else if(fP(s)){s.parentNode.removeChild(s);continue}"LI"===s.tagName?r.push(s):r.length&&(rne(e,r,"ul"),r=[])}for(var l in r.length&&rne(e,r,"ul"),nne)nne[l].prepareDocument&&nne[l].prepareDocument(e);return this.prepareDocumentNode(e,e.body),e}},{key:"deserializeNode",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[];for(var o in n.editorRoom=this.editor&&this.editor.options&&this.editor.options.serverRoom,tne)if(!n.deserializer||n.deserializer==o){var i=tne[o],a=i(e,t.body,n);if(a){var s,l=Gte(a);try{for(l.s();!(s=l.n()).done;){var c=s.value;c instanceof Element?r.push.apply(r,zte(this.deserializeNode(c,t,n))):r.push(c)}}catch(e){l.e(e)}finally{l.f()}}}return r}},{key:"processCurrentTextLine",value:function(e,t){if(e&&e.textLineAddNextBlot&&"textLine"===t.type&&(!t.textLineType||!(e instanceof zh))&&!e.isCollapsibleContainerTextLine){var n=e.textLineAddNextBlot(t.initParams,t.textLineType).id;return{addedBlots:[this.editor.findById(n)],lastTextLineBlotId:n,lastTextLineBlotLength:new(c())(t.initParams.delta).length()}}}},{key:"processInsertListInListItem",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"html";if(e instanceof dp&&"list"===t.type){var r,o,i,a="html"===n?t.initParams.items:t.items,s=e,l=[],u=Gte(a);try{for(u.s();!(i=u.n()).done;){var d=i.value,p=s.textLineAddNextBlot(d.params,d.type).id;r=p,o=new(c())(d.params.delta).length();var f=this.editor.findById(p);s=f,l.push(f)}}catch(e){u.e(e)}finally{u.f()}return{addedBlots:l,lastTextLineBlotId:r,lastTextLineBlotLength:o}}}},{key:"findContainerForAdd",value:function(e,t){if(!t.container)return null;e.wrapper&&(e="string"==typeof e.wrapper?s5.query(e.wrapper):e.wrapper);var n=t.container,r=n.constructor,o=(0,fe.yG)(e);return r.allowedChildren.indexOf(e)>=0||r.allowedChildren.indexOf(e.parent)>=0||r.allowedChildren.some((function(e){return o.includes(e)}))?{container:n,after:t}:this.findContainerForAdd(e,n)}},{key:"processAddContainer",value:function(e,t){var n=t.type,r=this.findContainerForAdd(s5.query(n),e);if(!r)throw new Error("Fail process addition of a blot during paste: "+n+", target blot: "+e.id);var o=r.container,i=r.after,a=o.addBlot(n,{after:i.id,items:t.items}).id,s=this.editor.findById(a);!function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r&&r.length)for(var o=0;o<r.length;o++){var i=n.containerChildren.get(o),a=t.findById(i),s=r[o];s.onBlot&&s.onBlot(a),a.isContainer&&s.items&&s.items.length&&e(t,a,s.items)}}(this.editor,s,t.items);for(var l=s;!l.isSelectable;)l=l.children.tail;return{addedBlots:[s],lastTextLineBlotId:l.id,lastTextLineBlotLength:l.length()}}},{key:"processAddBlot",value:function(e,t){var n=t.type;"textLine"===n&&(n=t.textLineType||"paragraph");var r=this.findContainerForAdd(s5.query(n),e);if(!r)throw new Error("Fail process addition of a blot during paste: "+n+", target blot: "+e.id);var o=r.container,i=r.after;if(t.items&&t.items.length)return this.processAddContainer(e,t);var a=o.addBlot(n,Object.assign({after:i.id},t.initParams)).id,s=this.editor.findById(a);return t.onBlot&&t.onBlot(s),{addedBlots:[s],lastTextLineBlotId:s.id,lastTextLineBlotLength:s.length()}}},{key:"parseHTML",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new DOMParser,r=n.parseFromString(e,"text/html");this.prepareDocument(r,t);var o,i=[],a=Gte(r.body.childNodes);try{for(a.s();!(o=a.n()).done;){var s=o.value;i.push.apply(i,zte(this.deserializeNode(s,r,t)))}}catch(e){a.e(e)}finally{a.f()}return i}},{key:"getBlotNameForFile",value:function(e){return bb.indexOf(e.type)>=0?"image":"file"}},{key:"pasteFiles",value:function(e,t){var n=t||this.scroll.focusedBlot,r=n;n.container&&!n.container.constructor.allowedChildren.includes(qF)&&(n=ie(n,(function(e){return e.container.constructor.allowedChildren.includes(qF)})));var o,i=n.container,a=!1,s=null,l=Gte(e);try{for(l.s();!(o=l.n()).done;){var c=o.value,u=this.getBlotNameForFile(c);a=!0;var d=i.addBlot(u,{after:n.id}).id,p=this.editor.findById(d);p&&(p.uploadFile(this.editor.plugins.attachmentManager.nFileFromWebFile(c)),n=p)}}catch(e){l.e(e)}finally{l.f()}return a&&(r&&r.isEmpty&&r.isEmpty()&&r.remove(),s={blotId:n.id}),s}},{key:"pasteHTML",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0===t.keepIndents&&(t.keepIndents=!0);var n=this.parseHTML(e,Vte(Vte({},t),{},{keepIndents:t.keepIndents}));return this.blotsDataHandler(n)}},{key:"filterHtmlBlot",value:function(e){var t=this.editor.options.serverRoom;return!("html"===e.type&&(!e.initParams.room||e.initParams.room!==t))}},{key:"filterHtml",value:function(e){var t=this;return e=e.filter((function(e){return"grid"===e.type?(e.items=e.items.filter((function(e){return e.items=e.items.filter((function(e){return t.filterHtmlBlot(e)})),e})),e):t.filterHtmlBlot(e)})),e=this.filterEmptyGrid(e)}},{key:"filterEmptyGrid",value:function(e){return e=e.filter((function(e){return"grid"===e.type?(e.items=e.items.filter((function(e){return e.items.length>0&&e})),e.items.length>0&&e):e}))}},{key:"pasteNimbusOps",value:function(e){return e=this.filterHtml(e),this.blotsDataHandler(e,"nimbus")}},{key:"addTextFormatsIfNeed",value:function(e){if(1===this.scroll.selectedBlocks.length&&this.scroll.focusedBlot instanceof pc){var t={},n=Object.assign({},this.scroll.selection.getRange({offsetBlot:this.scroll.focusedBlot})[0]);n={index:0!==n.index?n.index-1:0,length:1},(t=this.scroll.focusedBlot.getFormat(n.index,n.length)).link&&delete t.link,Object.keys(t).length&&1===e.length&&"textLine"===e[0].type&&(1!==e[0].initParams.delta.ops.length||e[0].initParams.delta.ops[0].hasOwnProperty("attributes")||(e[0].initParams.delta.ops[0].attributes=t))}}},{key:"blotsDataHandler",value:function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html";if(e.length&&!this.tryPasteUrlIntoText(e)){var i=this.scroll.focusedBlot;if(!(i||this.editor.mode===fpe||(i=this.scroll.children.tail)instanceof pc&&i.isEmpty())){var a=this.scroll.addBlot("paragraph",{after:i.id}).id;i=this.editor.findById(a)}"nimbus"===o&&(e=Fte(e,{focusedBlot:i,editorRoom:this.editor.room,scrollBlot:this.scroll})),this.addTextFormatsIfNeed(e);var s=this.editor.scroll.selection.getRange(),l=Ute(s,1),u=l[0];if(u&&u.length>0){var d=new yo(yo.type,{},this.editor),p=this.editor.scroll.selectedBlocks;d.run({processingBlots:p})}var f=e[0],h=null;if(1===e.length&&"textLine"===f.type&&"\n"===(null===(t=f.initParams)||void 0===t||null===(n=t.delta)||void 0===n||null===(r=n.ops[0])||void 0===r?void 0:r.insert))return null;if(i&&(i instanceof pc||i.allowInlinePaste)&&(!i.isEmpty()||!f.textLineType)){var m=this.scroll.selection.getRange({offsetBlot:i}),g=Ute(m,1),y=g[0];if(y||(y={index:i.offset(this.scroll)+i.length()-1,length:0}),["textLine",C3.blotName].includes(f.type)){e.shift();var v=[{retain:y.index}],b=f.initParams.delta.ops.map((function(e){return Object.assign({},e)}));i.isEmpty()&&(f.initParams.color&&i.map.set("color",f.initParams.color),f.initParams.indent&&f.initParams.indent>i.getIndent()&&i.map.set("indent",f.initParams.indent)),y.index===i.length()-1?v.push({delete:1}):"\n"===b[b.length-1].insert?b.pop():b[b.length-1].insert=b[b.length-1].insert.replace(/\n$/,""),v.push.apply(v,zte(b)),i.map.get("characters").applyDelta(v),y.index+=new(c())(f.initParams.delta).length()-1,h={blotId:i.id,index:y.index}}if(y.index<i.length()-1&&e.length){var _,w,C=!1;(i instanceof zh||"textLine"===e[0].type)&&(C=!0),C&&(null===(_=(w=i).textLineSplit)||void 0===_||_.call(w,y.index))}}var S,E=i,x=Gte(e);try{for(x.s();!(S=x.n()).done;){var k=S.value,O=this.processCurrentTextLine(E,k);O||(O=this.processInsertListInListItem(E,k,o)),O||(O=this.processAddBlot(E,k)),O&&(h={blotId:O.lastTextLineBlotId,index:O.lastTextLineBlotLength-1},E=O.addedBlots[O.addedBlots.length-1])}}catch(e){x.e(e)}finally{x.f()}return i.isEmpty&&i.isEmpty()&&i.remove(),h}}},{key:"getHTMLFromParams",value:function(e){var t=e.html;return t||(t=function(e){var t=!1;if(e.match(/^<iframe.*?><\/iframe>/)){var n,r=FH(e),o=rte(ate);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(TH[i]&&TH[i].pattern&&TH[i].pattern.test(r)){t=!0;break}}}catch(e){o.e(e)}finally{o.f()}}return!!t&&e}(e.text)),t||(t=mi(e.text))&&(t=t.replace(pl,(function(e,t){return(e.startsWith(" ")?" ":"")+'<a href="mailto:'+t+'">'+t+"</a>"+(e.endsWith(" ")?" ":"")})),t=e.dontParseMarkdowns?"<div>"+(t=t.replace(ul,(function(e){return'<a href="'+e+'">'+e+"</a>"}))).trim().replace(/\n/g,"</div><div>")+"</div>":"<div>"+function(e){for(var t=["h1","h2","h3"],n=function(e){return e.replace(/\\([(){}[\]#*+\-.!_\\])/g,(function(e,t){return String.fromCharCode(1,"\\[!]#{()}*+-._".indexOf(t)+16)})).replace(/(^|[\s*_`~><])(\*\*)(\S(?:[\s\S]*?\S)?)(\*\*)($|[\s*_`~><])/g,(function(e,t,n,r,o,i){return t+"<strong>"+r+"</strong>"+i})).replace(/(^|[\s*_~><])(\`)(\S(?:[\s\S]*?\S)?)(\`)($|[\s*_~><])/g,(function(e,t,n,r,o,i){return t+"<code>"+r+"</code>"+i})).replace(/(^|[\s_`~><])(\*)(\S(?:[\s\S]*?\S)?)(\*)($|[\s_`~><])/g,(function(e,t,n,r,o,i){return t+"<em>"+r+"</em>"+i})).replace(/(^|[\s*`~><])(\_)(\S(?:[\s\S]*?\S)?)(\_)($|[\s*`~><])/g,(function(e,t,n,r,o,i){return t+"<u>"+r+"</u>"+i})).replace(/(^|[\s*_`><])(\~)(\S(?:[\s\S]*?\S)?)(\~)($|[\s*_`><])/g,(function(e,t,n,r,o,i){return t+"<del>"+r+"</del>"+i}))},r=function(e){e.length&&(e[e.length-1]=e[e.length-1].replace("\n",""))},o=e.replace("\r\n","\n").split("\n"),i=[],a=!1,s=!1,l=!1,c=0;c<o.length;c++){var u=o[c];if(u=u.trim())if(u.startsWith(":PARSED:"))i.push(u.replace(":PARSED:",""));else{var d=u,p="",f=(d=(d=d.replace(/!\[(.*?)\]\(([^\s{]+)\)(\{.+?\})?/g,(function(e,t,n,r){return r=r?r.substr(1).substr(0,r.length-2).replace(/&quot;/g,'"'):"",'\n:PARSED:<img src="'+n+'" alt="'+t.replace('"','\\"')+'" '+r+"/>\n"}))).replace(/:iframe\[(.+?)\]\{(.+?)\}/g,(function(e,t,n){return n=n.replace(/&quot;/g,'"'),'\n:PARSED:<iframe title="'+t.replace('"','\\"')+'" '+n+"></iframe>\n"}))).split("\n");if(f.length>1){for(var h=1;h<f.length;h++)o.splice(c+h,0,f[h]);d=f[0]}if(d=(d=n(d)).replace(ul,(function(e){return'<a href="'+e+'">'+e+"</a>"})),/^\s*(\/\*)/.test(d))s||(r(i),p+="<pre>",s=!0),p+=d,/(\*\/)$/.test(d)&&(p+="</pre>",s=!1),i.push(p);else{/(\*\/)$/.test(d)&&(p+="</pre>",s=!1);var m=/^(\s*)(?:[\*\-\+]|(\d+[.)])|(\[\])) (.+)/.exec(o[c]);if(m){var g=0;if(m[1].length?(l?m[1].length>l.spaces?g=l.indent+1:m[1].length<l.spaces?g=l.indent-1:m[1].length===l.spaces&&(g=l.indent):g=1,l={spaces:m[1].length,indent:g}):l&&(l=!1),g<0&&(g=0),a||!m[2]||m[2].startsWith("1")){a||(r(i),p+="<ul>",a=!0);var y="bullet";m[2]?y="number":m[3]&&(y="checkbox");var v="list-item-".concat(y);g>0&&(v+=" indent-".concat(g)),p+='<li class="'+v+'">'+m[4]+"</li>",i.push(p);continue}}a&&(p+="</ul>",a=!1,l&&(l=!1));var b=/^\s{0,3}(\#{1,3})\s+(.*?)\s*#*\s*$/.exec(d);if(b)r(i),p+="<"+t[b[1].length-1]+">"+b[2]+"</"+t[b[1].length-1]+">",i.push(p);else{var _=/^\s{0,3}(?:[\"]|&quot;) (.+)$/.exec(d);_?(r(i),p+="<blockquote>"+_[1]+"</blockquote>",i.push(p)):/^\s{0,3}([-])(\s*\1){2,}\s*$/.test(d)?(r(i),p+="<hr/>",i.push(p)):(p+=d+"\n",i.push(p))}}}}return function(e){return e.replace(/\x01([\x0f-\x1c])/g,(function(e,t){return"\\[!]#{()}*+-._".charAt(t.charCodeAt(0)-16)}))}(i.join(""))}(t).trim().replace(/\n/g,"</div><div>")+"</div>"),t}},{key:"tryPasteUrlIntoText",value:function(e){if(1===this.scroll.selectedBlocks.length){var t=function(e){if(e.filter((function(e){return"textLine"!==e.type||e.initParams.delta.ops.filter((function(e){return"\n"!==e.insert})).length>1})).length)return!1;var t=e.filter((function(e){return"\n"!==e.initParams.delta.ops[0].insert}));if(t.length>1||0===t.length)return!1;var n=t[0].initParams.delta.ops[0];return(n.hasOwnProperty("attributes")&&n.attributes.hasOwnProperty("link")&&n.insert.trim()===n.attributes.link||!!(n.insert&&n.insert.trim&&fl(n.insert.trim())))&&n.insert.trim()}(e),n=this.scroll.focusedBlot;if(t){if(n.hasTextLine&&(n=n.getTextBlot()),!(n instanceof pc||n instanceof HN)){var r=this.editor.scroll.addBlot("paragraph").id;n=this.editor.scroll.getBlotById(r)}var o=Ute(this.scroll.selection.getRange({offsetBlot:n}),1)[0];return this.pasteUrlIntoText(n,o,t),!0}}return!1}},{key:"pasteUrlIntoText",value:function(e,t,n){if(t.length>0)e.formatText(t.index,t.length,"link",n),this.scroll.selection.setRange({index:e.offset(this.editor.scroll)+t.index+t.length,length:0}),this.editor.emitter.emit("paste");else{var r=e.getFormat(t.index-1,1),o=e.getFormat(t.index,1),i=r.link&&!o.link,a=!r.link&&!o.link;if(i||a){var s={index:t.index+n.length,length:0},l={index:e.offset(this.editor.scroll)+t.index+n.length,length:0},c=[];i?(c.push.apply(c,[{retain:t.index},{insert:" "},{insert:n,attributes:{link:n}}]),s.index+=1,l.index+=1):c.push.apply(c,[{retain:t.index},{insert:n,attributes:{link:n}}]),e.applyForCharacters(c),this.scroll.selection.setRange(l),this.editor.blotsConfig.link&&this.editor.blotsConfig.link.disallowConvertLink||this.editor.plugins.convertLinkManager.onPasteLink(e,s,n),this.editor.emitter.emit("paste")}}}},{key:"paste",value:function(e){var t=this;if(this.scroll.selection.getRange()[0]||this.scroll.selectedBlocks.length){var n=this.editor.plugins.limitManager;if(n&&!n.canAddBlot({type:"any",amount:1,freeze:!0,alert:!0,checkForce:!0}))return!1;if(e.text&&"string"==typeof e.text&&e.text.normalize&&(e.text=e.text.normalize()),e.html&&"string"==typeof e.html&&e.html.normalize&&(e.html=e.html.normalize()),void 0===e.keepIndents&&(e.keepIndents=!0),1===this.editor.scroll.selectedBlocks.length){var r=this.editor.scroll.selectedBlocks[0];if(r.onPaste&&r.onPaste(e))return void this.editor.emitter.emit("paste")}if(!function(e){return/schemas-microsoft-com:office/gm.test(e)}(e.html)&&e.files&&e.files.length){var o=this.pasteFiles(e.files);if(o)return void this.setCursorToLastElement(o.blotId)}var i=e.nimbusOps||null,a=this.getHTMLFromParams(e);e&&e.text&&e.text.match(/\|\|code/g)&&(a=e.text);var s,l={raw:e.raw,keepIndents:e.keepIndents},c=i?function(){s=t.pasteNimbusOps(i,l)}:function(){s=t.pasteHTML(a,l)};if(e.delaySetSelection?this.editor.scroll.selection.ignoreScrollUpdates(c):c(),s){var u=function(){!1!==e.setCursorToLastElement&&t.setCursorToLastElement(s.blotId,s.index||0),t.editor.plugins.selectionScroller.clearLastInteractionTime(),t.editor.plugins.selectionScroller.scheduleEnsureSelectionVisible({behavior:"auto"})};e.delaySetSelection?setTimeout((function(){return u()}),0):u()}this.editor.emitter.emit("paste"),n&&n.unfreeze()}}},{key:"setCursorToLastElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.editor.findById(e);if(n){var r=n.offset(this.scroll);n.isEmbeddable?n instanceof kb&&n.container.children.tail!==n.getWrapper()?this.scroll.selection.setRange({index:r,length:0}):n.container.addBlot("paragraph",{after:e,focus:{index:0}}):this.scroll.selection.setRange({index:r+t,length:0})}}}])&&qte(t.prototype,n),r&&qte(t,r),e}();function ine(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ane(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ane(e,t)}(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 ane(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cne=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),lne(this,"onScrollMouseDown",(function(){n.lastMouseDownTime=(new Date).getTime()})),lne(this,"onScrollKeyDown",(function(){n.lastMouseDownTime=0,n.lastUserInteractionTime=(new Date).getTime()})),lne(this,"onSelectionChange",(function(){n.isIgnoreSelectionChangeNeeded()||n.ensureSelectionVisible()})),this.editor=o,this.scroll=r,this.options=i||{},this.scheduleEnsureSelectionVisibleTimeout=null,this.bottomMargin=this.options.bottomMargin||0,this.lastMouseDownTime=0,this.lastUserInteractionTime=0,this.isSmoothScrollingDisabled=!1,this.ignoreSelectionChangeOnce=!1,this.onSelectionChangeDebounced=hf()(this.onSelectionChange,10,{trailing:!0}),!1!==this.options.enabled&&(this.editor.options.render&&(this.scroll.domNode.addEventListener("mousedown",this.onScrollMouseDown,!1),this.scroll.domNode.addEventListener("keydown",this.onScrollKeyDown,!1)),this.scroll.selection.emitter.on("selectionchange",this.onSelectionChangeDebounced))}var t,n,r;return t=e,(n=[{key:"disableSmoothScrolling",value:function(){this.isSmoothScrollingDisabled=!0}},{key:"clearLastInteractionTime",value:function(){this.lastUserInteractionTime=0}},{key:"triggerSelectionChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?this.ensureSelectionVisible():this.onSelectionChange()}},{key:"isNodeInEditor",value:function(e){return e===this.scroll.domNode||this.scroll.domNode.contains(e)}},{key:"isRangeInEditor",value:function(e){return this.isNodeInEditor(e.startContainer)&&this.isNodeInEditor(e.endContainer)}},{key:"getCaretRect",value:function(){this.getScrollingContainer();var e=window.getSelection();if(e.rangeCount){var t=e.getRangeAt(0);if(this.isRangeInEditor(t)&&(this.options.allowScrollToNonZeroSelection||t.startContainer===t.endContainer&&t.startOffset===t.endOffset)){var n,r=t.getClientRects(),o=0;if(r.length)o=(n=r[0]).width;else{if(t.startContainer===this.editor.scroll.domNode)return;if(0===t.startContainer.childNodes.length&&t.startContainer.getBoundingClientRect)n=t.startContainer.getBoundingClientRect();else{var i=t.startContainer.childNodes[t.startOffset];i&&"BR"===i.tagName&&(n=i.getBoundingClientRect())}}if(n){var a=n.y-this.getScrollingContainerBoundingClientRect().y;return{x:n.x,y:a,width:o,height:n.height}}}}}},{key:"scrollTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getScrollingContainer(),r={top:e},o=t.behavior||this.options.behavior||this.isSmoothScrollingDisabled?"auto":"smooth";o&&(r.behavior=o),n.scrollTo(r),this.options.disableDoubleScroll||setTimeout((function(){n.scrollTo(r)}),50)}},{key:"getSingleFocusedBlot",value:function(){if(1===this.scroll.selectedBlocks.length)return this.scroll.selectedBlocks[0]}},{key:"isCaretInTrap",value:function(){var e=ine(this.scroll.selection.getRange(),2)[1];if(!e)return!1;var t=(0,H.qn)(e.native.commonAncestorContainer,3,(function(e){return e.classList&&e.classList.contains("caret-trap")}));return Boolean(t)}},{key:"ignoreNextSelectionChange",value:function(){this.ignoreSelectionChangeOnce=!0}},{key:"isIgnoreSelectionChangeNeeded",value:function(){if(this.ignoreSelectionChangeOnce)return this.ignoreSelectionChangeOnce=!1,!0;var e=(new Date).getTime();return!!(this.isCaretInTrap()&&e-this.lastMouseDownTime<300)||e-this.lastUserInteractionTime>500}},{key:"getScrollingContainer",value:function(){return this.editor.getScrollingContainer()}},{key:"getScrollingContainerBoundingClientRect",value:function(){var e,t=this.getScrollingContainer();if("BODY"===t.tagName||"HTML"===t.tagName){var n=window.innerWidth,r=window.innerHeight;e={left:0,right:n,top:0,bottom:r,x:0,y:0,width:n,height:r}}else{var o=t.getBoundingClientRect();e={left:o.left,right:o.right,top:o.top,bottom:o.bottom,x:o.x,y:o.y,width:o.width,height:o.height}}return this.bottomMargin&&(e.bottom-=this.bottomMargin,e.height-=this.bottomMargin),e}},{key:"scheduleEnsureSelectionVisible",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.scheduleEnsureSelectionVisibleTimeout=setTimeout((function(){e.scheduleEnsureSelectionVisibleTimeout=null,e.ensureSelectionVisible(t)}),100)}},{key:"getCaretOcclusionDetails",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getScrollingContainer(),n=this.getScrollingContainerBoundingClientRect(),r=this.getSingleFocusedBlot(),o=null;if(r&&r.hasCustomSelection?r.getSelectionRect&&(o=r.getSelectionRect())&&(o.y-=n.y):o=e.node?e.node.getBoundingClientRect():this.getCaretRect(),o){var i=e.hasOwnProperty("scrollTop")?e.scrollTop:t.scrollTop,a=n.height,s=o.y+i,l=o.y+o.height,c=o.y<0,u=o.y>a||l>a,d=c||u;return{caretRect:o,maxY:a,absY:s,bottom:l,scrollingContainerRect:n,isOccludedTop:c,isOccludedBottom:u,isOccluded:d}}}},{key:"ensureSelectionVisible",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!1!==this.options.enabled){this.scheduleEnsureSelectionVisibleTimeout&&(clearTimeout(this.scheduleEnsureSelectionVisibleTimeout),this.scheduleEnsureSelectionVisibleTimeout=null);var t=this.getCaretOcclusionDetails(e);if(t){var n=t.isOccludedTop,r=t.isOccludedBottom,o=t.caretRect,i=(t.maxY,t.absY),a=(t.bottom,t.scrollingContainerRect);if(r){var s=o.height+4*o.height,l=i-a.height+s;return this.scrollTo(l,e),l}if(n){var c=o.height+4*o.height,u=i-c;return this.scrollTo(u,e),u}return null}}}},{key:"ensureNodeVisible",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){var n=t.offset,r=void 0===n?100:n,o=t.behavior,i=void 0===o?"auto":o,a=this.getScrollingContainer(),s=(0,H._z)(e,a),l=s.top,c=a.offsetHeight,u=a.scrollHeight,d=a.scrollTop,p=d+c,f=!1;return l-r<d?f=Math.max(l-r,0):l+r>p&&(f=Math.min(l+r-c,u-c)),!1!==f&&this.scrollTo(f,{behavior:i}),f}}}])&&sne(t.prototype,n),r&&sne(t,r),e}();n(65449);function une(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=pne(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function dne(e){return function(e){if(Array.isArray(e))return fne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pne(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 pne(e,t){if(e){if("string"==typeof e)return fne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fne(e,t):void 0}}function fne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hne(e){return(hne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mne(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function gne(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){mne(i,r,o,a,s,"next",e)}function s(e){mne(i,r,o,a,s,"throw",e)}a(void 0)}))}}function yne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bne=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),vne(this,"getPreviews",(function(e){return!!n.isMethodImplemented("getPreviews")&&n.options.getPreviews(e)})),vne(this,"getBookmarkMeta",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!n.options.iframelyHost||!e)&&new Promise((function(r,o){if(t)var i=setTimeout((function(){o(new Error("Connection timed out"))}),t);fetch(n.options.iframelyHost+(n.options.iframelyPort?":"+n.options.iframelyPort:"")+"/iframely?url="+decodeURI(e)+(n.allowExtendedRequest?"&meta=true":"")).then(function(){var e=gne(regeneratorRuntime.mark((function e(t){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:o=e.sent,r(n.prepareBookmarkMeta(o));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){o(e)})).finally((function(){t&&i&&clearTimeout(i)}))}))})),this.editor=o,this.scroll=r,this.options=i||{},this.allowExtendedRequest=!Object.keys(this.options).includes("extendedMetaRequest")||this.options.extendedMetaRequest}var t,n,r;return t=e,(n=[{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"getUrlInfo",value:function(e){return!!this.isMethodImplemented("getUrlInfo")&&this.options.getUrlInfo(e)}},{key:"prepareBookmarkMeta",value:function(e){var t=e.links,n=e.meta,r=e.context,o=t;Array.isArray(o)||"object"===hne(o)&&(o=Object.keys(o).reduce((function(e,t){return Array.isArray(o[t])?[].concat(dne(e),dne(o[t])):e}),[]));var i={};if(o&&o.length){var a,s=une(o);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(l.rel&&l.rel.includes("thumbnail")){i.preview=l.href;break}}}catch(e){s.e(e)}finally{s.f()}var c,u=1,d=une(o);try{for(d.s();!(c=d.n()).done;){var p=c.value;if(p.rel&&p.rel.includes("icon")){if(o[u]&&o[u].rel&&o[u].rel.includes("icon")&&p.media&&p.media.width&&o[u].media&&o[u].media.width&&p.media.width>o[u].media.width&&o[u].media.width>=16){u++;continue}i.favicon=p.href;break}u++}}catch(e){d.e(e)}finally{d.f()}}return r&&r.meta&&r.meta["html-title"]&&(i.name=r.meta["html-title"]),!i.name&&n&&(n.title?i.name=n.title:n.site&&(i.name=n.site)),i.name&&(Array.isArray(i.name)?i.name=i.name[0]:i.name=i.name.trim()),n&&n.description&&(i.description=n.description),i.protocol=function(){var e=!1;if(n&&n.canonical&&n.canonical.startsWith("https://"))e=!0;else if(r){var t=r.meta;t&&t.og&&(t.og.url&&t.og.url.startsWith("https://")||t.og.image_src&&t.og.image_src.startsWith("https://"))&&(e=!0)}else o&&o.length&&o[0].href&&o[0].href.startsWith("https://")&&(e=!0);return e}()?"https://":"http://",i}}])&&yne(t.prototype,n),r&&yne(t,r),e}();function _ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var wne=function(){function e(t){var n=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=n||{}}var t,n,r;return t=e,(n=[{key:"toast",value:function(e,t){this.options.toast?this.options.toast(e,t):alert(e)}},{key:"error",value:function(e){this.options.error?this.options.error(e):alert(e)}},{key:"showError",value:function(e){this.options.showError?this.options.showError(e):alert(e.message)}}])&&_ne(t.prototype,n),r&&_ne(t,r),e}();(0,Rn.ZP)("escape"),(0,Rn.ZP)("enter");function Cne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sne(e){return(Sne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ene(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xne(e,t){return(xne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Tne(e);if(t){var o=Tne(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return One(this,n)}}function One(e,t){if(t&&("object"===Sne(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 Tne(e){return(Tne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ane=[{key:"C",text:"for copy"},{key:"X",text:"for cut"},{key:"V",text:"for paste"}],Pne=function(e){!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}}),t&&xne(e,t)}(i,e);var t,n,r,o=kne(i);function i(e){var t,n=e.editor,r=e.name,a=e.params;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,{editor:n,name:r,params:a})).platform=t.editor.platform,t.addContent(),t}return t=i,(n=[{key:"addContent",value:function(){var e=this,t="";"Mac OS"==this.platform?t="⌘":"Windows"!=this.platform&&"Linux"!=this.platform||(t="Ctrl");var n=document.createElement("div");n.innerText="These actions are unaviable via the Edit menu, but you can still use:",n.classList.add("clipboard-hotkeys-head"),this.container.appendChild(n);var r=document.createElement("div");r.classList.add("clipboard-help-content"),!1===this.params.format&&r.classList.add("without-formats"),Ane.map((function(n){var o=document.createElement("div");o.classList.add("clipboard-help-item");var i=document.createElement("div");i.classList.add("clipboard-help-item-combination"),i.innerText=t+" + "+("V"==n.key&&0==e.params.format?"Shift + ":"")+n.key;var a=document.createElement("div");a.classList.add("clipboard-help-item-label"),a.innerText="V"==n.key&&0==e.params.format?"for paste without formatting":n.text,o.appendChild(i),o.appendChild(a),r.appendChild(o)})),this.container.appendChild(r),this.addCloseButton()}},{key:"addCloseButton",value:function(){var e=document.createElement("button");e.classList.add("clipboard-help-close"),e.innerText="Close",e.addEventListener("click",this.onClose),this.container.appendChild(e)}}])&&Ene(t.prototype,n),r&&Ene(t,r),i}(function(){function e(t){var n=this,r=t.editor,o=t.name,i=t.params;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"onClose",(function(e){e.preventDefault(),n.destroy(!0)})),this.editor=r,this.range=this.editor.scroll.selection.getRange()[0],this.name=o,this.params=i,this.overlay=this.createOverlay(),this.wrapper=this.createWrapper(),this.header=this.createHeader(),this.container=this.createContainer(),this.buildWindow()}var t,n,r;return t=e,(n=[{key:"buildWindow",value:function(){this.wrapper.appendChild(this.header),this.wrapper.appendChild(this.container),this.overlay.appendChild(this.wrapper),this.editor.scrollingContainer.appendChild(this.overlay)}},{key:"createOverlay",value:function(){var e=this,t=document.createElement("div");return t.classList.add("note-popup-overlay"),t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation(),e.destroy()})),t.addEventListener("keydown",(function(e){e.stopPropagation()})),t}},{key:"createWrapper",value:function(){var e=document.createElement("div");return e.id=this.id,e.classList.add("note-popup-wrapper"),e.addEventListener("click",(function(e){e.stopPropagation()})),e}},{key:"createHeader",value:function(){var e=document.createElement("div");e.classList.add("note-popup-header");var t=document.createElement("h3");t.innerText=this.name;var n=document.createElement("button");return n.classList.add("close-popup"),n.innerText="x",n.addEventListener("click",this.onClose),e.appendChild(t),e.appendChild(n),e}},{key:"createContainer",value:function(){var e=document.createElement("div");return e.classList.add("note-popup-content"),e}},{key:"destroy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.overlay.remove(),e&&this.editor.scroll.selection.setRange(this.range)}}])&&Cne(t.prototype,n),r&&Cne(t,r),e}());function Rne(e){return(Rne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ine(){return(Ine=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dne(e,t,n){return t&&Nne(e.prototype,t),n&&Nne(e,n),e}function jne(e,t){return(jne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Une(e);if(t){var o=Une(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bne(this,n)}}function Bne(e,t){if(t&&("object"===Rne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Fne(e)}function Fne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Une(e){return(Une=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vne=(0,Rn.ZP)("esc"),zne=tw().linkFormAppearDuration,qne=function(e){!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}}),t&&jne(e,t)}(n,e);var t=Lne(n);function n(){var e;Mne(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Hne(Fne(e=t.call.apply(t,[this].concat(o))),"onMouseDown",(function(t){t.stopPropagation();var n=!0;((0,H.nN)(e.displayInputNode,t.target)||(0,H.nN)(e.adressInputNode,t.target))&&(n=!1),n&&t.preventDefault()})),Hne(Fne(e),"onLinkFormRef",(function(t){e.linkFormNode=t})),Hne(Fne(e),"onDisplayInputRef",(function(t){e.displayInputNode=t})),Hne(Fne(e),"onAdressInputRef",(function(t){e.adressInputNode=t})),Hne(Fne(e),"onClickOpen",(function(t){t.stopPropagation(),e.props.openLink(e.props.url)})),Hne(Fne(e),"onClickCopy",(function(t){var n=e.props.url.startsWith("mailto:")?e.props.url.slice("mailto:".length):e.props.url;e.props.copyLinkUrl(n)})),Hne(Fne(e),"onClickEdit",(function(t){t.stopPropagation(),e.props.showEditForm()})),Hne(Fne(e),"onClickDelete",(function(t){e.props.deleteLink(!0)})),Hne(Fne(e),"onClickCancel",(function(t){t.preventDefault(),t.stopPropagation(),e.props.cancel()})),Hne(Fne(e),"onClickDone",(function(t){e.props.hideForm()})),Hne(Fne(e),"onInputKeydown",(function(t){13===t.keyCode&&(t.preventDefault(),t.stopPropagation(),e.props.hideForm())})),Hne(Fne(e),"onAdressInput",(function(t){e.changedDisplay||e.displayInputNode&&""===e.props.text&&(e.displayInputNode.value=e.adressInputNode.value)})),Hne(Fne(e),"onDisplayInput",(function(t){""!==t.target.value?e.changedDisplay||(e.changedDisplay=!0):e.changedDisplay=!1})),e}return Dne(n,[{key:"applyLink",value:function(){var e=this.displayInputNode&&this.displayInputNode.value||"",t=this.adressInputNode.value;""!==t?(t.match(/(?:(?:[a-z][a-z0-9+.-]*:)(?:.*))/gm)||(t="http://"+t),""===e&&(e=t),this.props.singleBlock?this.props.changeLink(e,t):this.props.formatMoreBlots(t)):this.props.deleteLink()}},{key:"parentTable",get:function(){var e=this.props.textBlot;return!(!e||!e.getBlotName||"tableLink"!==e.getBlotName())&&e.parentTable}},{key:"isBlotLocked",get:function(){return!(!this.parentTable||!this.parentTable.isBlotLocked)}},{key:"getPanelItems",value:function(){var e={link:{fn:this.onClickOpen,url:this.props.url,tooltip:this.props.url},buttons:[{id:"open",fn:this.onClickOpen,title:this.props.getIntlText(this.props.isEmail?"link.send":"link.open")},{id:"copy",fn:this.onClickCopy,title:this.props.getIntlText("link.copy")}]},t=!1;return this.isBlotLocked&&(t=!0),this.props.editor.mode!==this.props.editor.constructor.MODE_EDIT||this.props.link&&this.props.link.disableEditing||t||(e.buttons.push({id:"edit",fn:this.onClickEdit,title:this.props.getIntlText("link.edit")}),e.buttons.push({id:"remove",fn:this.onClickDelete,title:this.props.getIntlText("link.remove")})),e}},{key:"getFormItems",value:function(){return{fields:[{id:"display",type:"text",label:this.props.getIntlText("link.text_label"),value:this.props.text,placeholder:"Link",fn:this.onInputKeydown,ref:this.onDisplayInputRef,onInput:this.onDisplayInput,active:this.props.singleBlock},{id:"adress",type:"url",label:this.props.getIntlText(this.props.isEmail?"link.email_label":"link.url_label"),value:this.props.url,placeholder:"http://example.com",fn:this.onInputKeydown,ref:this.onAdressInputRef,onInput:this.onAdressInput,active:!0,autocapitalize:"off"}],buttons:[{id:"cancel",fn:this.onClickCancel,title:this.props.getIntlText("link.cancel")},{id:"done",fn:this.onClickDone,title:this.props.getIntlText("link.done")}]}}},{key:"componentDidMount",value:function(){this.props.formComponentRef(this),this.props.adjustPositionContinuously(),this.props.form&&this.adressInputNode.focus()}},{key:"componentWillUnmount",value:function(){this.props.formComponentRef(null)}},{key:"render",value:function(){var e=this,t=this.props.form,n=t?this.getFormItems():this.getPanelItems(),r=null;if(t)r=(0,s.h)(At.Z,{wantsToClose:this.props.hideForm,closeOnEsc:!0,addClassName:"link-edit no-scroll "+fe.W$,key:"link-form-edit",domRef:this.onLinkFormRef},n.fields.map((function(e){var t=e.id,n=e.type,r=e.label,o=e.value,i=e.placeholder,a=e.fn,l=e.ref,c=e.onInput,u=e.active,d=e.autocapitalize;return u?(0,s.h)(dZ,{classPrefix:"link-form",id:t,type:n,label:r,value:o,placeholder:i,onKeydown:a,autocapitalize:d,domRef:l,onInput:c}):null})),(0,s.h)("div",{className:"link-form-buttons"},n.buttons.map((function(t){var n=t.id,r=t.title,o=t.fn,i={"data-button-key":n};return(0,s.h)("div",Ine({className:"link-form-button",key:n,onClick:o,onMouseDown:e.onMouseDown},i),r)}))));else{var o,i=(Hne(o={},Gr.qZ,n.link.tooltip),Hne(o,Gr.Bg,"link-tooltip"),o);r=(0,s.h)(At.Z,{wantsToClose:this.props.hideForm,closeOnEsc:!0,addClassName:"link-panel no-scroll",key:"link-form-panel",domRef:this.onLinkFormRef},(0,s.h)("div",Ine({},i,{className:"link-panel-item link-panel-item-link",key:"link",onClick:n.link.fn,onMouseDown:this.onMouseDown}),(0,s.h)("a",{href:n.link.url,className:"link-text",onClick:function(e){e.preventDefault()}},n.link.url)),(0,s.h)("div",{className:"link-panel-buttons"},n.buttons.map((function(t){var n=t.id,r=t.title,o=t.fn,i={"data-button-key":n};return(0,s.h)("div",Ine({className:"link-panel-item",key:n,onClick:o,onMouseDown:e.onMouseDown},i),r)}))))}return(0,s.h)("div",{className:"link-form",onMouseDown:this.onMouseDown},(0,s.h)(dt.Z,{transitionName:"link-menu",transitionEnterTimeout:zne,transitionLeaveTimeout:zne},r))}}]),n}(s.wA),Gne=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.link,a=t.params;Mne(this,e),Hne(this,"formComponentRef",(function(e){n.formComponent=e})),Hne(this,"onEditorTextChange",(function(){n.hide()})),Hne(this,"changeLink",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n.link)n.link.changeUrl(t),n.link.changeText(e),n.editor.emitter.emit("edit-link",{text:e,url:t});else if(n.params.setLink)n.params.setLink({text:e,url:t});else{var o,i=n.params.id?n.editor.findById(n.params.id):n.textBlot;if(n.params.text!==e)(o=n.textBlot.parentTable?[{retain:n.params.blotRange&&n.params.blotRange.index?n.params.blotRange.index:0}]:[{retain:n.params.blotRange.index}]).push({insert:e,attributes:{link:t}}),0!==n.params.blotRange.length&&i.deleteText(n.params.blotRange.index,n.params.blotRange.length),i.map.get("characters").applyDelta(o),n.scroll.formatTextBlots({blot:i,range:{index:n.params.blotRange.index,length:n.params.blotRange.index+e.length}},Object.keys(n.params.formats).map((function(e){return{format:e,value:n.params.formats[e]}})),"user");else n.scroll.formatTextBlots({blot:i,range:n.params.blotRange},{format:"link",value:t},"user");if(n.textBlot.parentTable){var a,s=null===(a=n.textBlot.parent.options)||void 0===a?void 0:a.pos;s&&n.textBlot.parentTable.selectCells(s)}n.scroll.selection.setRange({index:n.textBlot.offset(n.scroll)+n.params.blotRange.index+e.length,length:0}),n.editor.emitter.emit("add-link",{text:e,url:t})}r&&n.hide()})),Hne(this,"formatMoreBlots",(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.params.linkUrl!==e&&(n.scroll.formatTextBlots(n.params.execBlots.map((function(e){return{blot:e,range:n.params.cache.blotRange[e.id]}})),{format:"link",value:e},"user"),n.scroll.selection.setRange(n.params.range)),t&&n.hide()})),Hne(this,"openLink",(function(e){n.editor.plugins.linkManager.processNavigation(e)||window.open(e,"_blank","noopener"),n.hide()})),Hne(this,"copyLinkUrl",(function(e){n.editor.plugins.copyManager.copy(e),n.hide()})),Hne(this,"showEditForm",(function(){n.editor.off("delta",n.onEditorTextChange),n.render(n.container),n.adjustPositionContinuously(!0),setTimeout((function(){n.show()}),zne)})),Hne(this,"hideForm",(function(e){var t=!1;void 0!==e&&Vne(e)&&(t=!0),n.hide(t)})),Hne(this,"deleteLink",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.editor.off("delta",n.onEditorTextChange),n.link)if(n.link.onEmpty)n.link.onEmpty();else if(n.textBlot.onEmpty)n.textBlot.onEmpty();else{var t=te(n.link);t.isText||(t=ne(n.link));var r=n.link.offset(t),o=n.link.domNode.innerText.length;t.formatText(r,o,"link",!1,"user"),n.scroll.selection.setRange({index:t.offset(n.scroll)+r+o,length:0})}e&&n.hide()})),Hne(this,"getIntlText",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.editor.plugins.i18n.get(e,t)})),Hne(this,"adjustPositionContinuously",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=function e(){n.container&&(n.link?n.setLinkedPosition():n.setRangedPosition(),n.adjustPositionAnimationFrameRequest=requestAnimationFrame(e))};e?n.adjustPositionAnimationFrameRequest&&(cancelAnimationFrame(n.adjustPositionAnimationFrameRequest),n.direction=null,n.correctLeft=null):t()})),Hne(this,"setLinkedPosition",(function(){var e=n.container.getBoundingClientRect(),t=le(n.link.domNode,n.scrollingContainer),r=n.scrollingContainer.getBoundingClientRect();n.link.domNode.getBoundingClientRect().y-e.height<r.y&&!n.direction?n.direction="bottom":n.direction||(n.direction="top");var o,i=t.x;o="bottom"===n.direction?t.y+n.link.domNode.offsetHeight:t.y-e.height;var a=n.normalizePosition(i,o),s=a.top,l=a.left;n.container.style.top=s+"px",n.container.style.left=l+"px"})),Hne(this,"setRangedPosition",(function(){var e=n.scrollingContainer.getBoundingClientRect(),t=n.scrollingContainer.scrollTop,r=n.scrollingContainer.scrollLeft;if(!n.params.anchorNode&&n.rangeParams){var o=n.container.getBoundingClientRect(),i=n.textBlot.domNode.getBoundingClientRect(),a=le(n.textBlot.domNode,n.scrollingContainer);a.x+=n.rangeParams.offsetX,a.y+=n.rangeParams.offsetY,i.y-o.height<e.y&&!n.direction?n.direction="bottom":n.direction||(n.direction="top");var s,l=a.x;s="bottom"===n.direction?a.y+n.rangeParams.height:a.y-o.height;var c=n.normalizePosition(l,s),u=c.top,d=c.left;n.container.style.top=u+"px",n.container.style.left=d+"px"}else{var p=n.params.anchorNode.getBoundingClientRect()||n.textBlot.domNode.getBoundingClientRect();n.container.style.top=p.top-e.top+t+"px";var f=p.left-e.left+r;n.container.style.left=Math.min(f,e.right-e.left-n.container.offsetWidth-30)+"px"}})),this.editor=r,this.scroll=o,this.params=a||null,this.link=i||null,this.textBlot=this.params&&this.params.id&&this.editor.findById(this.params.id)||this.link&&te(this.link)||this.params.execBlots&&this.params.execBlots[0],this.textBlot&&!this.textBlot.isText&&this.link&&(this.textBlot=ne(this.link)),this.direction=null,this.scrollingContainer=this.editor.scrollingContainer}return Dne(e,[{key:"render",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r=Object.assign({},r);var o=qne;if(r.form){var i=this.editor.options.blots,a=i&&i.link;a&&a.linkFormComponent&&(o=a.linkFormComponent,r.LinkFormComponent=qne)}(0,s.sY)((0,s.h)(dt.Z,{transitionName:"link-form",transitionEnterTimeout:zne,transitionLeaveTimeout:zne},n?(0,s.h)(o,Ine({changeLink:this.changeLink,formatMoreBlots:this.formatMoreBlots,openLink:this.openLink,copyLinkUrl:this.copyLinkUrl,showEditForm:this.showEditForm,deleteLink:this.deleteLink,key:"link-form",hideForm:this.hideForm,getIntlText:this.getIntlText,adjustPositionContinuously:this.adjustPositionContinuously,editor:this.editor,link:this.link,formComponentRef:this.formComponentRef,textBlot:this.textBlot,cancel:function(){t.hide(!0)}},r)):null),e)}},{key:"normalizePosition",value:function(e,t){var n=t,r=e,o=this.container.getBoundingClientRect(),i=this.scrollingContainer!==this.editor.scrollingContainer&&le(this.editor.scrollingContainer,this.scrollingContainer)||!1,a=this.scrollingContainer.getBoundingClientRect();i&&(n-=i.y,r-=i.x),document.body.offsetWidth<a.x+a.width&&(r-=a.x+a.width-document.body.offsetWidth);return a.x+r+o.width>a.x+a.width-15&&!this.correctLeft&&(this.correctLeft=a.x+r+o.width-(a.x+a.width-15)+this.editor.scrollbarWidth),this.correctLeft&&(r-=this.correctLeft),this.editor.isMobileDevice()&&this.formComponent.props.form&&(r=(a.width-o.width)/2),{top:n,left:r}}},{key:"show",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e||this.editor.on("delta",this.onEditorTextChange);var t={};if(this.link)t.text=this.link.domNode.innerText,t.url=this.link.domNode.getAttribute("href");else if(this.params.singleBlock&&(t.text=this.params.text),t.url=this.params.linkUrl||"",!this.rangeParams&&this.textBlot){var n=this.textBlot.domNode.getBoundingClientRect(),r=window.getSelection();if(!r.rangeCount)return;for(var o=r.getRangeAt(0),i=Array.from(o.getClientRects()),a=0===i.length?n:i.shift();n.y>a.y&&0!==i.length;)a=i.shift();this.rangeParams={offsetX:a.x-n.x,offsetY:a.y-n.y,height:a.height}}t.form=e,t.singleBlock=!!this.link||this.params.singleBlock,t.isEmail=t.url.startsWith("mailto:"),this.container||(this.container=document.createElement("div"),this.container.classList.add("link-form-container"),this.editor.scrollingContainer.appendChild(this.container),this.render(this.container));var s=this.container;s.removeAttribute("style"),setTimeout(this.render.bind(this,s,!0,t),0)}},{key:"onHideApplyLink",value:function(){var e=this.formComponent.displayInputNode&&this.formComponent.displayInputNode.value||"",t=this.formComponent.adressInputNode.value.replace(/\s/g,"");if(""!==t){(t=t.replace(/^(payload:)?(javascript){1,}/g,"")).match(/(?:(?:[a-z][a-z0-9+.-]*:)(?:.*))/gm)||/^\/[a-zA-Z0-9/_-]*$/.test(t)||(t="https://"+t),""===e&&(e=t),!!this.link||this.params.singleBlock?this.changeLink(e,t,!1):this.formatMoreBlots(t,!1)}else this.deleteLink()}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e){var t=this.params.range;t?this.editor.scroll.selection.setRange(t):this.link&&this.link.onCancelEditSetCaretAfter&&this.link.onCancelEditSetCaretAfter()}else this.formComponent.adressInputNode&&this.onHideApplyLink();this.editor.off("delta",this.onEditorTextChange);var n=this.container;this.container=null,this.link=null,this.params=null,this.direction=null,this.correctLeft=null,this.rangeParams=null,this.render(n),setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n)}),zne)}}]),e}();function Wne(e){return(Wne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zne(e,t)}(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 Zne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xne(e,t,n){return t&&Qne(e.prototype,t),n&&Qne(e,n),e}function Jne(e,t){return(Jne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ere(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nre(e);if(t){var o=nre(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tre(this,n)}}function tre(e,t){if(t&&("object"===Wne(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 nre(e){return(nre=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rre={"clipboard-hotkeys":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Pne({editor:e,name:"Copying and pasting",params:t})}},ore=(s.wA,function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options;$ne(this,e),Kne(this,"onClickButton",(function(e){new _w({editor:n.editor,scroll:n.scroll,button:e,params:{}}).show(!1)})),Kne(this,"editButton",(function(e){new _w({editor:n.editor,scroll:n.scroll,button:e,params:{}}).show()})),Kne(this,"addButton",(function(e){e.title=e.text,new _w({editor:n.editor,scroll:n.scroll,params:e}).show()})),Kne(this,"onClickLink",(function(e){var t=Yne(n.scroll.selection.getRange(),1)[0];(e.withoutRange||!t&&n.editor.mode!==n.editor.constructor.MODE_EDIT||t&&0===t.length)&&new Gne({editor:n.editor,scroll:n.scroll,link:e,params:{}}).show(!1)})),Kne(this,"editLink",(function(e){new Gne({editor:n.editor,scroll:n.scroll,link:e,params:{}}).show()})),Kne(this,"addLink",(function(e){new Gne({editor:n.editor,scroll:n.scroll,params:e}).show()})),Kne(this,"onHelp",(function(e){rre[e.form](n.editor,e.params)})),Kne(this,"_dialogComponentWantsToClose",(function(){n.rootDialogComponent=null,n._renderDialog()})),this.editor=r,this.scroll=o,this.emitter=this.editor.emitter,this.options=i||{},this.rootDialogComponent=null,this.editor.options.render&&(this.rootDialogContainer=document.createElement("div"),this.rootDialogContainer.classList.add("editor-root-dialog"),this.rootDialogContainer.classList.add("theme-"+this.editor.options.theme),document.body.appendChild(this.rootDialogContainer)),this.emitter.on("click-link",this.onClickLink),this.emitter.on("click-button",this.onClickButton),this.emitter.on("help",this.onHelp)}return Xne(e,[{key:"alert",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){if(this.options.alert)return this.options.alert(e,t);alert("Title: "+e+"\nText: "+t)}))},{key:"customAlert",value:function(e){if(this.options.customAlert)return this.options.customAlert(e);console.warn("the customAlert method is not implemented by popupManager, skipping showing the message with params:",e)}},{key:"_renderDialog",value:function(){var e=this.rootDialogComponent;e?(e.props.wantsToClose=this._dialogComponentWantsToClose,this.rootDialogContainer.classList.add("open"),this.options.onPopupShow&&this.options.onPopupShow()):(this.rootDialogContainer.classList.remove("open"),this.options.onPopupHide&&this.options.onPopupHide()),(0,s.sY)((0,s.h)("div",null,(0,s.h)(pe.Pj,null,e)),this.rootDialogContainer)}},{key:"dialog",value:function(e){this.rootDialogComponent=e,this._renderDialog()}}]),e}());function ire(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return are(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return are(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function are(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sre(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function lre(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cre(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ure=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),cre(this,"onDrop",function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x,k;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.editor.scroll,o=n.editor.plugins,i=o.pasteManager,a=o.dragAndDrop,s=o.attachmentManager,n.dragSession){e.next=5;break}return t.preventDefault(),e.abrupt("return",null);case 5:if(l=n.dragSession.action,!t.dataTransfer.files.length){e.next=43;break}return c=t.dataTransfer.files,t.preventDefault(),e.next=11,s.validateFiles(Array.from(c).map((function(e){return s.nFileFromWebFile(e)})));case 11:if(!e.sent){e.next=41;break}if(u=[],d=[],l){l.blot.prepareToDropAttach&&(l.blot=l.blot.prepareToDropAttach()),(p=l.blot.store)||(f=te(l.blot))&&(p=f.store),p||(p=n.editor.store),h=ire(c);try{for(h.s();!(m=h.n()).done;)g=m.value,y=void 0,l.blot.createFileBlot?y=l.blot.createFileBlot():(v=i.getBlotNameForFile(g),b=s5.query(v),_=p.createMapForBlot(b),(y=b.createBlot?b.createBlot(n.editor):s5.create(v)).map=_,y.scroll=r,y.buildBlot&&y.buildBlot()),u.push(y),d.push({file:g,blot:y})}catch(e){h.e(e)}finally{h.f()}n.dragSession.setBlots(u)}if(a.onDragMouseUp(),!l){e.next=39;break}w=ire(d),e.prev=19,w.s();case 21:if((C=w.n()).done){e.next=31;break}if(S=C.value,E=S.file,x=S.blot,k=void 0,x.dontDetachWhenDND?k=x:(x.detach(),k=n.editor.findById(x.id)),k){e.next=28;break}return console.error("could not find the file blot that should be rendered already",x),e.abrupt("continue",29);case 28:k.setHTMLFileForUpload(s.nFileFromWebFile(E));case 29:e.next=21;break;case 31:e.next=36;break;case 33:e.prev=33,e.t0=e.catch(19),w.e(e.t0);case 36:return e.prev=36,w.f(),e.finish(36);case 39:e.next=43;break;case 41:n.dragSession.cleanup(),a.onDragMouseUp();case 43:n.endDragSession();case 44:case"end":return e.stop()}}),e,null,[[19,33,36,39]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sre(i,r,o,a,s,"next",e)}function s(e){sre(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()),cre(this,"onDragOver",(function(e){var t=n.editor.plugins.dragAndDrop;if(e.dataTransfer.types.includes("Files")){s5.find(e.target,!0);n.dragSession&&t.onDragMouseMove(e),n.dragSession&&n.dragSession.action&&e.preventDefault()}})),cre(this,"onDragEnter",(function(e){n.cntElementsActive++,e.dataTransfer.types.includes("Files")&&(n.dragSession||(n.dragSession=n.editor.plugins.dragAndDrop.startDragSession({targetBlot:{},blots:[],mousePosition:{x:e.clientX,y:e.clientY},isControlled:!0})))})),cre(this,"onDragLeave",(function(e){var t=n.editor.plugins.dragAndDrop;n.cntElementsActive--,n.cntElementsActive<=0&&(n.cntElementsActive=0,n.endDragSession(),t.onDragMouseUp())})),this.editor=o,this.scroll=r,i=Object.assign({enabled:!0},i),this.enabled=i.enabled,this.enabled&&(this.cntElementsActive=0,this.dragSession=null,this.scroll.domNode.addEventListener("drop",this.onDrop,!1),this.scroll.domNode.addEventListener("dragover",this.onDragOver,!1),this.scroll.domNode.addEventListener("dragenter",this.onDragEnter,!1),this.scroll.domNode.addEventListener("dragleave",this.onDragLeave,!1))}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this.enabled&&(this.scroll.domNode.removeEventListener("drop",this.onDrop,!1),this.scroll.domNode.removeEventListener("dragover",this.onDragOver,!1),this.scroll.domNode.removeEventListener("dragenter",this.onDragEnter,!1),this.scroll.domNode.removeEventListener("dragleave",this.onDragLeave,!1))}},{key:"endDragSession",value:function(){this.dragSession&&(this.dragSession=null)}}])&&lre(t.prototype,n),r&&lre(t,r),e}();function dre(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return pre(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pre(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function pre(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fre(e){for(var t=Array.from(e.childNodes),n=t.some((function(e){return e.classList.contains("list-item-number")}))?document.createElement("ol"):e.cloneNode(),r=n,o=r,i=0,a=0,s=t;a<s.length;a++){var l=s[a],c=Number(Array.from(l.classList).find((function(e){return e.startsWith("indent-")})).replace("indent-",""));if(c>i)for(;i!==c;){i++;var u=n.cloneNode();o.appendChild(u),o=u}else if(c<i)for(;i!==c;)i--,o.parentNode&&(o=o.parentNode);o.appendChild(l)}e.parentNode.replaceChild(r,e)}function hre(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return mre(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mre(e,t)}(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 mre(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gre(e){return(gre="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yre(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vre(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bre={nimbusOpsEnabled:!1};const _re=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),vre(this,"onCopy",(function(e){if(n.editor.hasFocus())if(n.copyText)"object"===gre(n.copyText)&&(n.copyText.text&&e.clipboardData.setData("text/plain",n.copyText.text),n.copyText.html&&e.clipboardData.setData("text/html",n.copyText.html),n.copyText.ops&&e.clipboardData.setData("nimbus/ops",JSON.stringify(n.copyText.ops)),e.preventDefault());else{var t=!1,r=hre(n.scroll.selection.getRange(),2),o=r[0],i=r[1],a=n.scroll.selectedBlocks;1===a.length&&a[0].nimbusOpsForbidden||(n.options.nimbusOpsEnabled&&(t=n.processWriteClipborad(e,a,{nativeRange:i})),t||o&&0===o.length&&1===a.length&&(a[0].isEmbeddable||a[0].getCopyHTML)&&(t=!0,n._setBlotHtmlToEvent(e,a[0]))),t&&e.preventDefault()}})),vre(this,"onCut",(function(e){if(n.editor.hasFocus()){var t=!1,r=hre(n.scroll.selection.getRange(),2),o=r[0],i=r[1],a=n.scroll.selectedBlocks;if(n.options.nimbusOpsEnabled&&(t=n.processWriteClipborad(e,a,{nativeRange:i,cut:!0}))&&(1===a.length&&a[0].onCut||n.useDeleteAction(a,o)),!t)if(o&&0===o.length){if(1===a.length&&a[0].isEmbeddable)t=!0,n._setBlotHtmlToEvent(e,a[0],!0).cutProcessedByBlot||n.scroll.selectedBlocks[0].remove()}else a.find((function(e){return e.processCutWithPlugin}))&&(t=n.processWriteClipborad(e,a,{nativeRange:i,cut:!0,withoutOps:!0}),n.useDeleteAction(a,o));t&&e.preventDefault()}})),this.editor=o,this.scroll=r,this.sandbox=!1,this.copyText=!1,this.options=Object.assign({},bre,a),document.addEventListener("copy",this.onCopy,!1),document.addEventListener("cut",this.onCut,!1)}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){document.removeEventListener("copy",this.onCopy,!1),document.removeEventListener("cut",this.onCut,!1)}},{key:"_setBlotHtmlToEvent",value:function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i={};if(o&&t.onCut?(n=t.onCut(),i.cutProcessedByBlot=!0):n=t.getCopyHTML?t.getCopyHTML():this.scroll.selectedBlocks[0].domNode.outerHTML,"object"===gre(n)){var a=n;n=a.html,r=a.text}return e.clipboardData.setData("text/html",n),r&&e.clipboardData.setData("text/plain",r),i}},{key:"_setBlotCopyParamsToEvent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.getCopyParams(n),o=r.html,i=r.text,a=r.op;o&&e.clipboardData.setData("text/html",o),i&&e.clipboardData.setData("text/plain",i),a&&e.clipboardData.setData("nimbus/ops",JSON.stringify([a]))}},{key:"processWriteClipborad",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.nativeRange,o=n.cut,i=n.withoutOps;if(r&&t.length){if(1===t.length&&t[0].getCopyParams)this._setBlotCopyParamsToEvent(e,t[0],o);else{var a=this.getNativeCopyData(),s=a.html,l=a.text;if(e.clipboardData.setData("text/html",s),e.clipboardData.setData("text/plain",l),!i){var c=JSON.stringify(this.scroll.getSelectedContents());e.clipboardData.setData("nimbus/ops",c)}}return!0}return!1}},{key:"getNativeCopyData",value:function(){var e=this.scroll.selection.getRange()[1],t=document.createElement("div");return t.appendChild(e.native.cloneContents()),function(e){var t=Array.from(e.querySelectorAll("ul"));if(t.length){var n,r=dre(t);try{for(r.s();!(n=r.n()).done;)fre(n.value)}catch(e){r.e(e)}finally{r.f()}}else{var o=Array.from(e.querySelectorAll("li"));if(o.length){for(var i=[document.createElement("ul")],a=0,s=0;s<o.length;s++){var l=i[a];s===o.length-1?o[s].parentNode.insertBefore(l,o[s]):o[s].nextElementSibling&&"LI"!==o[s].nextElementSibling.tagName&&(o[s].parentNode.insertBefore(l,o[s]),i.push(document.createElement("ul")),a++),l.appendChild(o[s])}for(var c=0,u=i;c<u.length;c++)fre(u[c])}}}(t),{html:t.innerHTML,text:window.getSelection().toString()}}},{key:"useDeleteAction",value:function(e,t){if(this.editor.mode===fpe){var n=0!==t.index||t.length!==this.scroll.length()-1,r=new yo(yo.type,{},this.editor);r.before({processingBlots:e}),r.exec({processingBlots:e}),n&&this.scroll.selection.setRange({index:t.index,length:0})}}},{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.editor.plugins.i18n;this.copyText=!0,t.html&&(this.copyText={text:e,html:t.html},t.ops&&(this.copyText.ops=t.ops));var r=!1;try{var o=document.createElement("textarea");o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px";var i=document.getSelection(),a=!1;i.rangeCount>0&&(a=i.getRangeAt(0)),document.body.appendChild(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;try{r=document.execCommand("copy")}catch(e){console.error("Error in CopyManager, #copy() (execCommand): ",e)}document.body.removeChild(o),a&&(i.removeAllRanges(),i.addRange(a)),t.noToast||this.editor.plugins.notificationManager.toast(n.get("copy.copied"))}catch(e){console.error("Error in CopyManager, #copy(): ",e)}finally{this.copyText=!1}return r}}])&&yre(t.prototype,n),r&&yre(t,r),e}();function wre(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Cre(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cre(e,t)}(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 Cre(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sre(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ere(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xre=(0,Rn.ZP)("esc"),kre=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ere(this,"onContainerClick",(function(e){n.onClose(e)})),Ere(this,"onImageBoxClick",(function(e){e.stopPropagation()})),Ere(this,"onBodyKeyDown",(function(e){xre(e)&&n.onClose(e)})),Ere(this,"onThemeChange",(function(e){if(n.wrapper){var t=wre(Array.from(n.wrapper.classList).filter((function(e){return 0===e.indexOf("theme-")})),1)[0];n.wrapper.classList.remove(t),n.wrapper.classList.add("theme-"+e.theme)}})),Ere(this,"onClose",(function(e){e&&(e.preventDefault(),e.stopPropagation()),document.body.removeEventListener("keydown",n.onBodyKeyDown,!1);var t=n.image;n.image=null,t.parentNode.removeChild(t),n.wrapper.classList.remove("open"),n.wrapper.classList.remove("visible"),n.wrapper.classList.remove("horizontal-scroll"),n.wrapper.classList.remove("vertical-scroll"),n.onlyForAttachments&&(n.onlyForAttachments=null)})),Ere(this,"onClickNext",(function(e){e.preventDefault(),e.stopPropagation();var t=n.editor.plugins.imageManager.getNextImageAttachment(n.image.getAttribute("src"),n.onlyForAttachments);t&&(n.image.setAttribute("src",t.url),n.fetchScrolls())})),Ere(this,"onClickPrev",(function(e){e.preventDefault(),e.stopPropagation();var t=n.editor.plugins.imageManager.getPrevImageAttachment(n.image.getAttribute("src"),n.onlyForAttachments);t&&(n.image.setAttribute("src",t.url),n.fetchScrolls())})),this.editor=r,this.scroll=o,this.options=i||{},this.editor.emitter.on("set-theme",this.onThemeChange),this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.wrapper=this.createWrapper(),this.wrapper.classList.add("theme-"+this.editor.plugins.editorStyle.getTheme()),this.container=this.createContainer(),this.imageBox=this.createImageBox(),this.container.addEventListener("click",this.onContainerClick,!1),this.imageBox.addEventListener("click",this.onImageBoxClick,!1)}},{key:"createWrapper",value:function(){var e=document.createElement("div");if(e.id="note-lightbox",e.classList.add("note-lightbox"),this.options.container)if(this.options.container instanceof HTMLElement)this.options.container.appendChild(e);else{var t=document.getElementById(this.options.container);t?t.appendChild(e):(console.warn("failed to get container "+this.options.container+", lightbox placed into body"),document.body.appendChild(e))}else document.body.appendChild(e);return e}},{key:"createContainer",value:function(){var e=document.createElement("div");e.classList.add("note-lightbox-content"),this.wrapper.appendChild(e);var t=document.createElement("button");t.classList.add("note-lightbox-close");var n=document.createElement("div");n.classList.add("lightbox-close-icon");var r=document.createElement("span"),o=document.createElement("span");n.appendChild(r),n.appendChild(o),t.appendChild(n),t.addEventListener("click",this.onClose),e.appendChild(t);var i=document.createElement("button");(0,s.sY)((0,s.h)(ct.VG8,null),i),i.classList.add("note-lightbox-next"),i.addEventListener("click",this.onClickNext);var a=document.createElement("button");return(0,s.sY)((0,s.h)(ct.ed9,null),a),a.classList.add("note-lightbox-prev"),a.addEventListener("click",this.onClickPrev),e.appendChild(i),e.appendChild(a),e}},{key:"createImageBox",value:function(){var e=document.createElement("div");return e.classList.add("note-lightbox-image"),this.container.appendChild(e),e}},{key:"getImageSize",value:function(){if(!this.image)throw new Error("Unable to get image");return{width:this.image.width,height:this.image.height}}},{key:"fetchScrolls",value:function(){var e=this.getImageSize(),t=(0,ri.S5)(),n=100*e.width/t.width,r=100*e.height/t.height;n>100||r>100?(n>100?this.wrapper.classList.add("horizontal-scroll"):this.wrapper.classList.contains("horizontal-scroll")&&this.wrapper.classList.remove("horizontal-scroll"),r>100?this.wrapper.classList.add("vertical-scroll"):this.wrapper.classList.contains("vertical-scroll")&&this.wrapper.classList.remove("vertical-scroll")):(this.wrapper.classList.contains("vertical-scroll")&&this.wrapper.classList.remove("vertical-scroll"),this.wrapper.classList.contains("horizontal-scroll")&&this.wrapper.classList.remove("horizontal-scroll"))}},{key:"open",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e&&(this.image=document.createElement("img"),this.image.setAttribute("src",e),this.imageBox.appendChild(this.image),this.fetchScrolls(),this.wrapper.classList.add("open"),setTimeout((function(){t.wrapper.classList.add("visible")}),100),document.body.addEventListener("keydown",this.onBodyKeyDown,!1),n.onlyForAttachments&&(this.onlyForAttachments=n.onlyForAttachments))}},{key:"destroy",value:function(){this.editor.emitter.off("set-theme",this.onThemeChange),this.container.removeEventListener("click",this.onContainerClick,!1),this.imageBox.removeEventListener("click",this.onImageBoxClick,!1);var e=this.wrapper;this.image&&this.onClose(),this.wrapper=null,this.container=null,this.imageBox=null,this.editor=null,this.scroll=null,e.parentNode.removeChild(e)}}])&&Sre(t.prototype,n),r&&Sre(t,r),e}();function Ore(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Tre=function(){function e(t){var n=this,r=t.editor,o=t.scroll;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"addEmoji",(function(e){var t=n.scroll.selection.savedRange;n.scroll.selection.setRange(t),n.editor.exec("insert-html",{html:e.native}),t.index+=e.native.length,n.scroll.selection.setRange(t),n.close()})),this.editor=r,this.scroll=o,this.container=document.createElement("div")}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.container.classList=["emoji-picker hidden"],this.render()}},{key:"state",get:function(){return{open:!this.container.classList.contains("hidden")}}},{key:"wrapper",set:function(e){e.appendChild(this.container),this.init()}},{key:"render",value:function(){}},{key:"getComponent",value:function(e){}},{key:"show",value:function(){this.container.classList.remove("hidden")}},{key:"close",value:function(){this.container.classList.add("hidden")}}])&&Ore(t.prototype,n),r&&Ore(t,r),e}(),Are=n(84806),Pre=n.n(Are);function Rre(e){return(Rre="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ire(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mre(e,t){return(Mre=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nre(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Lre(e);if(t){var o=Lre(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dre(this,n)}}function Dre(e,t){if(t&&("object"===Rre(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return jre(e)}function jre(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lre(e){return(Lre=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Bre(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fre=function(e){!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}}),t&&Mre(e,t)}(i,e);var t,n,r,o=Nre(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Bre(jre(t=o.call(this,e)),"onMouseDown",(function(e){e.preventDefault()})),Bre(jre(t),"onClickHandler",(function(e){t.props.onClickHandler(e)})),t.props.onCreateToolbar(jre(t)),t}return t=i,(n=[{key:"getItems",value:function(){var e=this.props.i18n;return[{name:e.get("embedded_menu.helper"),fn:this.onClickHandler.bind(void 0,"custom"),Icon:ct.nST},{name:e.get("embedded_menu.summarize"),fn:this.onClickHandler.bind(void 0,"summarize"),Icon:ct.vO},{name:e.get("embedded_menu.explain"),fn:this.onClickHandler.bind(void 0,"explain"),Icon:ct.j0X},{name:e.get("embedded_menu.improve"),fn:this.onClickHandler.bind(void 0,"improve"),Icon:ct.F6w},{name:e.get("embedded_menu.spelling"),fn:this.onClickHandler.bind(void 0,"fix"),Icon:ct.Lan},{name:e.get("embedded_menu.cta"),fn:this.onClickHandler.bind(void 0,"tasks"),Icon:ct.qHO},{name:e.get("embedded_menu.shorter"),fn:this.onClickHandler.bind(void 0,"shorter"),Icon:ct.rXf},{name:e.get("embedded_menu.longer"),fn:this.onClickHandler.bind(void 0,"longer"),Icon:ct.Z8B}]}},{key:"render",value:function(){var e=this.getItems();return(0,s.h)(At.Z,{key:"floating-toolbar-ai-menu",domRef:this.onFloatingToolbarRef,onMouseDown:this.onMouseDown,addClassName:"floating-toolbar-ai-menu",wantsToClose:this.props.wantsToClose,closeOnEsc:!0},e.map((function(e){var t=e.name,n=e.fn,r=e.Icon;return(0,s.h)("div",{className:"ai-menu-item",onClick:n},(0,s.h)("div",null,(0,s.h)(r,null),(0,s.h)("div",{className:"title"},t)))})))}}])&&Ire(t.prototype,n),r&&Ire(t,r),i}(s.wA);function Ure(e){return(Ure="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hre(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Vre(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Hre(i,r,o,a,s,"next",e)}function s(e){Hre(i,r,o,a,s,"throw",e)}a(void 0)}))}}function zre(){return(zre=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gre(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wre(e,t,n){return t&&Gre(e.prototype,t),n&&Gre(e,n),e}function Yre(e,t){return(Yre=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zre(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qre(e);if(t){var o=Qre(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kre(this,n)}}function Kre(e,t){if(t&&("object"===Ure(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $re(e)}function $re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qre(e){return(Qre=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xre(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jre(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=noe(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function eoe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||noe(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 toe(e){return function(e){if(Array.isArray(e))return roe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||noe(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 noe(e,t){if(e){if("string"==typeof e)return roe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?roe(e,t):void 0}}function roe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ooe=Pre().floatingToolbarHeight,ioe=Pre().floatingToolbarAppearDuration,aoe=Pre().colorPickerAppearDuration,soe=Array.from(Je);soe.push.apply(soe,toe(Ke)),soe.push.apply(soe,toe(Ze));var loe=["bold","italic","underline","strikethrough","code","button","comment","link","background","color","placeholder"],coe=["placeholder"];function uoe(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=["colorPicker"],n={},r=0,o=t;r<o.length;r++){var i=o[r];n[i]=i===e}return n}var doe=function(e){!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}}),t&&Yre(e,t)}(n,e);var t=Zre(n);function n(e){var r;return qre(this,n),Xre($re(r=t.call(this,e)),"onMouseDown",(function(e){r.setState((function(t){var n=t.colorPicker;return(0,H.nN)(r.colorIconNode,e.target)?uoe(!n&&"colorPicker"):null})),e.preventDefault()})),Xre($re(r),"formatText",(function(e){r.props.formatText(e)})),Xre($re(r),"onFloatingToolbarRef",(function(e){r.floatingToolbarNode=e})),Xre($re(r),"onColorPickerRef",(function(e){r.colorPickerNode=e})),Xre($re(r),"onBoldIconRef",(function(e){r.boldIconNode=e})),Xre($re(r),"onItalicIconRef",(function(e){r.italicIconNode=e})),Xre($re(r),"onUnderlineIconRef",(function(e){r.underlineIconNode=e})),Xre($re(r),"onStrikethroughIconRef",(function(e){r.strikethroughIconNode=e})),Xre($re(r),"onClearFormattingRef",(function(e){r.clearFormattingIconNode=e})),Xre($re(r),"onCommentIconRef",(function(e){r.commentIconNode=e})),Xre($re(r),"onPlaceholderIconRef",(function(e){r.placeholderIconNode=e})),Xre($re(r),"onCodeIconRef",(function(e){r.codeIconNode=e})),Xre($re(r),"onButtonIconRef",(function(e){r.buttonIconNode=e})),Xre($re(r),"onLinkIconRef",(function(e){r.linkIconNode=e})),Xre($re(r),"onHighlightIconRef",(function(e){r.highlightIconNode=e})),Xre($re(r),"onColorIconRef",(function(e){r.colorIconNode=e})),Xre($re(r),"onCreateNoteRef",(function(e){r.createNoteNode=e})),Xre($re(r),"onAIIconRef",(function(e){r.createNoteNode=e})),Xre($re(r),"onColorPickerWantsToClose",(function(){r.setState((function(){return uoe()}))})),Xre($re(r),"onClickBold",(function(){r.formatText("bold")})),Xre($re(r),"onClickItalic",(function(){r.formatText("italic")})),Xre($re(r),"onClickUnderline",(function(){r.formatText("underline")})),Xre($re(r),"onClickStrikethrough",(function(){r.formatText("strikethrough")})),Xre($re(r),"onClickPlaceholder",(function(){r.formatText("placeholder")})),Xre($re(r),"onClickCode",(function(){r.formatText("code")})),Xre($re(r),"onClickButton",(function(e){var t=r.props.editor,n=t.plugins,o=n.notificationManager,i=n.i18n;(0,fe.ZT)(t).text.length>bw.maxTitleSize?o.toast(i.get("button.length_error")):r.props.addButton(e)})),Xre($re(r),"onClickLink",(function(e){r.props.addLink(e)})),Xre($re(r),"onClickHighlight",(function(){r.props.formats&&r.props.formats.background?r.props.clearHighlight():(r.props.formats&&r.props.formats.color&&(r.props.saveColor(!1),r.formatText({style:"color",value:!1})),r.props.applyHighlight())})),Xre($re(r),"onClickColor",(function(){})),Xre($re(r),"onColorChoosen",(function(e){e&&r.props.formats&&r.props.formats.background&&(r.props.saveHighlight(!1),r.formatText({style:"background",value:!1})),r.props.saveColor(e),r.formatText({style:"color",value:e}),r.onColorPickerWantsToClose&&r.onColorPickerWantsToClose()})),Xre($re(r),"onHighlightChoosen",(function(e){e&&r.props.formats&&r.props.formats.color&&(r.props.saveColor(!1),r.formatText({style:"color",value:!1})),r.props.saveHighlight(e),r.formatText({style:"background",value:e}),r.onColorPickerWantsToClose&&r.onColorPickerWantsToClose()})),Xre($re(r),"onClearAllChoosen",(function(){r.props.saveColor(!1),r.props.saveHighlight(!1),r.formatText({style:"color",value:!1}),r.formatText({style:"background",value:!1}),r.onColorPickerWantsToClose&&r.onColorPickerWantsToClose()})),Xre($re(r),"onClearFormats",(function(){r.props.clearFormats()})),Xre($re(r),"onClickCreateNote",(function(){r.props.createNoteMention()})),Xre($re(r),"onClickComment",(function(){r.props.onClickComment()})),Xre($re(r),"onClickUseAI",(function(){r.props.onClickUseAI()})),r.props.onCreateToolbar($re(r)),r}return Wre(n,[{key:"getItems",value:function(){var e,t=this.props.i18n,n=this.props.formats&&this.props.formats.color,r=this.props.formats&&this.props.formats.background;"string"!=typeof n&&(n=!1),"string"!=typeof r&&(r=!1);var o=(this.props.editor||{}).options,i=(o&&o.blots&&o.blots.button||{}).showButtonFormat,a=void 0===i||i,l=this.props.editor.scroll.getSelectedBlocks(),c=1===l.length&&"table"===(null===(e=l[0].map)||void 0===e?void 0:e.get("type")),u=[{id:"bold",fn:this.onClickBold,title:t.get("floating_toolbar.bold"),selected:!(!this.props.formats||!this.props.formats.bold),hint:ri.CF+"+b",Icon:ct.lM8,ref:this.onBoldIconRef,disabled:this.props.allowedStyles.indexOf("bold")<0,tooltip:!0},{id:"italic",fn:this.onClickItalic,title:t.get("floating_toolbar.italic"),selected:!(!this.props.formats||!this.props.formats.italic),hint:ri.CF+"+i",Icon:ct.C9_,ref:this.onItalicIconRef,disabled:this.props.allowedStyles.indexOf("italic")<0,tooltip:!0},{id:"underline",fn:this.onClickUnderline,title:t.get("floating_toolbar.underline"),selected:!(!this.props.formats||!this.props.formats.underline),hint:ri.CF+"+u",Icon:ct.xxo,ref:this.onUnderlineIconRef,disabled:this.props.allowedStyles.indexOf("underline")<0,tooltip:!0},{id:"strikethrough",fn:this.onClickStrikethrough,title:t.get("floating_toolbar.strikethrough"),selected:!(!this.props.formats||!this.props.formats.strikethrough),hint:ri.CF+"+shift+s",Icon:ct.dZu,ref:this.onStrikethroughIconRef,disabled:this.props.allowedStyles.indexOf("strikethrough")<0,tooltip:!0},{id:"clear-formatting",fn:this.onClearFormats,title:t.get("floating_toolbar.clear"),selected:!1,hint:ri.CF+"+/",Icon:ct.SnY,ref:this.onClearFormattingRef,tooltip:!0}];this.props.showAIBtn&&!c&&u.unshift({id:"nimbusAi",fn:this.onClickUseAI,title:t.get("empty_features.use_ai"),selected:!1,hint:!1,Icon:function(){return(0,s.h)("div",null,(0,s.h)(ct.nST,null)," ",(0,s.h)("span",null,"Use AI"))},ref:this.onAIIconRef,disabled:!this.props.isUseAiSupported,tooltip:!0});var d=this.props.getFormatKeysInRange();return d.every((function(e){return!e.startsWith("comment-")}))&&u.push({id:"placeholder",fn:this.onClickPlaceholder,title:t.get("floating_toolbar.placeholder"),selected:!(!this.props.formats||!this.props.formats.placeholder),hint:ri.CF+"+"+ri.$d+"+p",Icon:ct.bzs,ref:this.onPlaceholderIconRef,disabled:this.props.allowedStyles.indexOf("placeholder")<0,tooltip:!0}),u.push.apply(u,[{id:"code",fn:this.onClickCode,title:t.get("floating_toolbar.code"),selected:!(!this.props.formats||!this.props.formats.code),hint:ri.CF+"+"+ri.$d+"+e",Icon:ct.seM,ref:this.onCodeIconRef,disabled:this.props.allowedStyles.indexOf("code")<0,tooltip:!0}].concat(toe(a?[{id:"button",fn:this.onClickButton,title:t.get("floating_toolbar.button"),selected:!(!this.props.formats||!this.props.formats.button),hint:!1,Icon:ct.hU,ref:this.onButtonIconRef,disabled:this.props.allowedStyles.indexOf("button")<0,tooltip:!0}]:[]),[{id:"link",fn:this.onClickLink,title:t.get("floating_toolbar.link"),selected:!(!this.props.formats||!this.props.formats.link),hint:ri.CF+"+k",Icon:ct.JHz,ref:this.onLinkIconRef,disabled:this.props.allowedStyles.indexOf("link")<0,tooltip:!0},{id:"highlight",fn:this.onClickHighlight,title:t.get("floating_toolbar.highlight"),selected:!(!this.props.formats||!this.props.formats.background),hint:ri.CF+"+"+ri.$d+"+h",Icon:ct.NDg,ref:this.onHighlightIconRef,disabled:this.props.allowedStyles.indexOf("background")<0,tooltip:!0},{id:"color",fn:this.onClickColor,title:t.get("floating_toolbar.color"),selected:!(!this.props.formats||!this.props.formats.color),hint:!1,Icon:function(){var e="",t=!1,o={},i={};return n?is(n)?o.color=n:(e=n+"-color",e+=" bg-material-font-color-"+n):r?is(r)?i.backgroundColor=r:e=r+"-highlight":(e="default-theme-color",t=!0),(0,s.h)("div",{className:"floating-toolbar-color-icon "+e,"data-block-background":r,style:i},t?(0,s.h)(ct.eOv,null):(0,s.h)("span",{className:"color-icon-label",style:o},"A"))},ref:this.onColorIconRef,disabled:this.props.allowedStyles.indexOf("color")<0,tooltip:!0}])),this.props.inlineCommentsEnabled&&d.every((function(e){return!coe.includes(e)}))&&this.props.allowedStyles.indexOf("comment")>0&&u.push({id:"comment",fn:this.onClickComment,title:t.get("floating_toolbar.add_comment"),selected:!1,hint:!1,Icon:ct.CZw,ref:this.onCommentIconRef,tooltip:!0}),this.props.getCreateNoteMentionDetails&&this.props.getCreateNoteMentionDetails()&&(this.props.editor.options.disableAddNote||u.push({id:"create-note",fn:this.onClickCreateNote,title:t.get("floating_toolbar.create_note"),selected:!1,hint:!1,Icon:ct.uyk,ref:this.onCreateNoteRef,tooltip:!0})),this.props.filterMenuItems(u)}},{key:"render",value:function(){var e=this,t=this.getItems();if(t.length){var n=this.state.colorPicker,r=this.props,o=(r.editor,r.i18n),i=r.theme,a=null,l=null;this.props.formats&&(this.props.formats.color?"string"==typeof this.props.formats.color&&(l=gs(this.props.formats.color)):l=this.props.defaultTextColor);var c=null;if(this.props.formats&&(this.props.formats.background?"string"==typeof this.props.formats.background&&(c=gs(this.props.formats.background)):c=!1),n){var u=(0,s.h)("div",{onClick:function(t){e.onColorChoosen(!1)},className:"color-menu-item default-color-item"+(l?"":" active")},(0,s.h)("div",{className:"color-icon"},(0,s.h)(ct.eOv,null))),d=soe.map((function(t){return(0,s.h)(ss,{idAttr:"data-color-name",key:t,onClick:function(){e.onColorChoosen(t!==e.props.defaultTextColor&&t)},colorName:t,mode:"mat-font-color",selected:l===t,useNewIcons:!0})}));d.splice(d.length-1,0,u),a=(0,s.h)(At.Z,{addClassName:"floating-toolbar-color-picker with-highlights theme-"+i,wantsToClose:this.onColorPickerWantsToClose,anchorNode:this.floatingToolbarNode,anchorOptions:{offset:"0, 3px",behavior:["right","bottom","top"],priority:["bottom","top","right","left"]},key:"color-picker",domRef:this.onColorPickerRef},(0,s.h)("div",{className:"floating-toolbar-color-picker-label no-margin-top"},(0,s.h)("span",null,o.get("floating_toolbar.text")),(0,s.h)("span",{className:"clear-all",onClick:this.onClearAllChoosen},o.get("floating_toolbar.clear_all"))),d,(0,s.h)("div",{className:"floating-toolbar-color-picker-label"},o.get("floating_toolbar.highlight")),[].concat(toe(Je),toe(Ke)).map((function(t){return(0,s.h)(ss,{idAttr:"data-color-name",key:t+"-highlight",onClick:function(){e.onHighlightChoosen(t)},colorName:t,selected:c===t,mode:"highlight",useNewIcons:!0})})),(0,s.h)("div",{className:"floating-toolbar-color-picker-label"},o.get("floating_toolbar.extraHighlight")),tt.map((function(t){return(0,s.h)(ss,{idAttr:"data-color-name",key:t+"-highlight",onClick:function(){e.onHighlightChoosen(t)},colorValue:t,colorName:t,selected:c===t,mode:"highlight",useNewIcons:!0})})))}return(0,s.h)(At.Z,{key:"floating-toolbar",domRef:this.onFloatingToolbarRef,onMouseDown:this.onMouseDown,addClassName:"floating-toolbar",wantsToClose:this.props.wantsToClose,closeOnEsc:!0},t.map((function(e){var t=e.id,n=e.Icon,r=e.hint,o=e.title,i=e.fn,a=e.selected,l=e.ref,c=e.disabled,u=e.tooltip,d=Xre({},"data-menu-id",t);return u&&(d[Gr.qZ]=o,d[Gr.BY]=r),(0,s.h)("div",zre({},d,{className:"icon "+(a&&!c?"active":"")+(c?"disabled":""),onClick:c?function(){}:i,ref:l}),(0,s.h)(n,null))})),(0,s.h)(dt.Z,{transitionName:"color-picker",transitionEnterTimeout:aoe,transitionLeaveTimeout:aoe},a))}}}]),n}(s.wA),poe=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;qre(this,e),Xre(this,"onCreateToolbar",(function(e){n.toolbarComponent=e})),Xre(this,"onSelectionChangeDebounce",hf()((function(){n.onSelectionChange()}),10,{trailing:!0})),Xre(this,"onDocumentMouseDown",(function(e){var t=e.clientX,r=e.clientY;e.target!==n.container&&(n.mouseDownPosition={x:t,y:r})})),Xre(this,"onDocumentMouseMove",(function(e){var t=e.clientX,r=e.clientY;n.mouseDownPosition&&(Ta({x:t,y:r},n.mouseDownPosition)>=5&&(n.ignoreSelectionChangeUpdates=!0,n.hide(),n.mouseDownPosition=null))})),Xre(this,"onDocumentMouseUp",(function(){n.ignoreSelectionChangeUpdates?(n.ignoreSelectionChangeUpdates=!1,n.onSelectionChange()):n.mouseDownPosition=null})),Xre(this,"onCreateToolbar",(function(e){n.toolbarComponent=e})),Xre(this,"onSelectionChange",(function(){if(!(n.ignoreSelectionChangeUpdates||n.editor.plugins.aiManager&&n.editor.plugins.aiManager.isVisible)){n.adjustPositionContinuously(!0);var e=eoe(n.scroll.selection.getRange(),2),t=e[0],r=e[1];if(n.lastNativeRange=r&&r.native,n.range!==t){n.range;if(n.range=t,t&&t.length>0){var o=n.getSelectionFormatsDetails();if(o){var i=o.textBlotsInRange,a=o.formats,s=o.allowedStyles,l=o.defaultTextColor;n.anchorBlot=i[0],n.lastTextBlot=i[i.length-1],n.show({formats:a,allowedStyles:s,defaultTextColor:l})}}else n.hide()}else n.hide()}})),Xre(this,"onHandlerHide",(function(){n.hide()})),Xre(this,"formatText",(function(e){n.editor.exec("format",e)})),Xre(this,"onClickComment",(function(){!function(e){var t=Ks(e,!0),n=eoe(e.scroll.getSelectedBlocks(),1)[0].id,r=e.plugins.commentManager;r.onCreateInlineComment(n).then((function(n){var o,i=n.threadId,a=e.plugins.commentManager.onCreateInlineCommentGetColor(),s=$s(t),l=s.index,c=s.length,u=e.scroll.descendants((function(e){return e instanceof Gl||e instanceof fN}),l,c),d=new Map,p=Jre(u);try{for(p.s();!(o=p.n()).done;){var f=o.value,h=f.offset(e.scroll),m=f.length(),g=Math.max(l-h,0),y=Math.min(l-h+c,c);d.set(f,{index:g,length:Math.min(y,m-g-1)})}}catch(e){p.e(e)}finally{p.f()}e.plugins.undoManager.skip((function(){var e,t=[],n=Jre(d.entries());try{for(n.s();!(e=n.n()).done;){var o=eoe(e.value,2),s=o[0],l=o[1];s.formatText(l.index,l.length,"comment",JSON.stringify({threadId:i,color:a}),"user"),t.push({blotId:s.id,params:[l.index,l.length,Xre({},"comment-".concat(i,"-").concat(a),!0)]})}}catch(e){n.e(e)}finally{n.f()}r.onFormatToCommentThread(t)}))}))}(n.editor)})),Xre(this,"onClickUseAI",(function(){n.showAIMenu=!0,n.showTimer&&clearTimeout(n.showTimer);var e=n.container;n.toolbarComponent=null,n.adjustPositionContinuously(!0),n.render(e)})),Xre(this,"showAIPrompt",(function(e){var t={action:e,context:"",offset:n.promtOffset,blots:[],range:n.scroll.selection.getRange()[0]};t.context=n.scroll.getSelectedContentsAsMarkdown();var r,o=n.scroll.getSelectedBlocks(),i=Jre(o);try{for(i.s();!(r=i.n()).done;){var a=r.value,s=n.scroll.selection.getRange({offsetBlot:a})[0],l=s.index,c=s.length,u={};u[a.id]={index:l,length:c},t.blots.push(u)}}catch(e){i.e(e)}finally{i.f()}n.editor.plugins.aiManager.show(n.lastTextBlot||o[0],{type:"range",options:t}),n.hide()})),Xre(this,"getFormatKeysInRange",(function(){var e=eoe(n.scroll.selection.getRange(),1)[0];return e?n.scroll.descendants(a().Inline,e.index,e.length).reduce((function(e,t){return[].concat(toe(e),toe(Object.keys(t.formats())))}),[]):[]})),Xre(this,"clearFormats",(function(){n.editor.exec("clear-formatting")})),Xre(this,"addButton",(function(){gi(n.editor,{},"addButton","editButton")})),Xre(this,"addLink",(function(e){gi(n.editor)})),Xre(this,"saveColor",(function(e){n.savedColor=e||!1})),Xre(this,"saveHighlight",(function(e){n.savedHighlight=e||"yellow"})),Xre(this,"clearHighlight",(function(){n.editor.exec("format",{style:"background",value:!1})})),Xre(this,"applyHighlight",(function(){n.editor.exec("format",{style:"background",value:n.savedHighlight})})),Xre(this,"getCreateNoteMentionDetails",(function(){var e=n.getSelectionFormatsDetails();if(!e)return null;var t=e.textBlotsInRange;if(1!==t.length)return null;var r,o=Jre(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i&&i.disableAddNote)return null}}catch(e){o.e(e)}finally{o.f()}var s=eoe(t,1)[0],l=eoe(n.scroll.selection.getRange({offsetBlot:s}),1)[0];return s.descendants(a().Embed,l.index,l.length).length?null:{blot:s,index:l.index,length:l.length}})),Xre(this,"createNoteMention",Vre(regeneratorRuntime.mark((function e(){var t,r,o,i,a,s,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){console.error("Failed to create note mention.")},r=n.getCreateNoteMentionDetails()){e.next=4;break}return e.abrupt("return",t());case 4:return o=r.blot,i=r.index,a=r.length,s=o.getText(i,a),e.next=8,n.editor.plugins.mentionManager.createAndResolveNote(s);case 8:if(l=e.sent){e.next=12;break}return n.scroll.selection.setRange({index:o.offset(n.scroll)+i+a,length:0}),e.abrupt("return",t());case 12:c={insert:{mention:{type:"note",object_id:l.object_id,name:l.name||s,id:UE()}}},l.workspace_id&&(c.insert.mention.workspace_id=l.workspace_id),o.applyForCharacters([{retain:i},{delete:a},c]),n.scroll.selection.setRange({index:o.offset(n.scroll)+i+1,length:0});case 16:case"end":return e.stop()}}),e)})))),Xre(this,"filterMenuItems",(function(e){return n.editor.mode!==fpe&&n.options.hasOwnProperty("showItems")&&n.options.showItems.length?e.filter((function(e){return n.options.showItems.includes(e.id)})):e})),i=Object.assign({enabled:o.mode===fpe||Boolean(i&&i.hasOwnProperty("enabled")&&i.enabled)},i),this.enabled=i.enabled,this.scroll=r,this.editor=o,this.container=null,this.anchorBlot=null,this.emitter=this.editor.emitter,this.range=null,this.showTimer=null,this.visible=!1,this.allowFlip=!0,this.adjustPositionAnimationFrameRequest=null,this.lastNativeRange=null,this.savedColor=!1,this.savedHighlight="yellow",this.scrollingContainer=this.editor.scrollingContainer,this.options=i,this.showAIMenu=!1,this.init()}return Wre(e,[{key:"promtOffset",get:function(){var e=Array.from(this.lastNativeRange.getClientRects()).pop();if(this.lastTextBlot&&e){var t=this.lastTextBlot.domNode.getBoundingClientRect(),n=e.y+e.height-t.y;return{left:e.x+e.width-t.x,top:n}}return null}},{key:"init",value:function(){var e=this;this.enabled&&(this.emitter.on("selectionchange",this.onSelectionChangeDebounce),this.emitter.on("start-dragging",this.onHandlerHide),this.emitter.on("block-menu-open",(function(){e.hide()})),this.emitter.on("block-menu-close",(function(){e.onSelectionChange()})),this.emitter.on("set-theme",(function(){e.onSelectionChange()})),this.container=document.createElement("div"),this.container.classList.add("floating-toolbar-container"),this.editor.scrollingContainer.appendChild(this.container),this.render(this.container),document.addEventListener("mousedown",this.onDocumentMouseDown,!1),document.addEventListener("mousemove",this.onDocumentMouseMove,!1),document.addEventListener("mouseup",this.onDocumentMouseUp,!1))}},{key:"destroy",value:function(){this.emitter.off("selectionchange",this.onSelectionChangeDebounce),this.emitter.off("start-dragging",this.onHandlerHide),document.removeEventListener("mousedown",this.onDocumentMouseDown,!1),document.removeEventListener("mousemove",this.onDocumentMouseMove,!1),document.removeEventListener("mouseup",this.onDocumentMouseUp,!1)}},{key:"adjustPositionContinuously",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=function t(){if(e.anchorBlot)if(e.anchorBlot.domNode.parentNode)if(e.container){var n=eoe(e.scroll.selection.getRange(),1)[0];n&&0!==n.length||!e.visible?(e.adjustPosition(),e.adjustPositionAnimationFrameRequest=requestAnimationFrame(t)):e.hide()}else e.hide();else e.hide();else e.hide()};t?this.adjustPositionAnimationFrameRequest&&cancelAnimationFrame(this.adjustPositionAnimationFrameRequest):n()}},{key:"adjustPosition",value:function(){if(this.lastNativeRange){var e=this.anchorBlot.domNode.getBoundingClientRect(),t=this.anchorBlot.domNode.scrollTop,n=this.scrollingContainer.getBoundingClientRect(),r=this.container.getBoundingClientRect().width,o=Array.from(this.lastNativeRange.getClientRects()),i=o.shift(),a=o.pop()||i;if(i){for(var s=this.scrollingContainer!==this.editor.scrollingContainer&&le(this.editor.scrollingContainer,this.scrollingContainer)||{x:0,y:0};e.y>i.y&&0!==o.length;)i=o.shift();var l=i.x-e.x,c=i.y-e.y,u=le(this.anchorBlot.domNode,this.scrollingContainer),d=Math.ceil(u.y+c+t-s.y-ooe-15),p=u.x+l,f=!1;if(d-this.scrollingContainer.scrollTop<0&&this.lastTextBlot){f=!0;var h=this.lastTextBlot.domNode.getBoundingClientRect(),m=le(this.lastTextBlot.domNode,this.editor.scrollingContainer);c=a.y-h.y,d=Math.ceil(m.y+c+a.height+15),p=m.x+a.x-h.x,a.width>r&&(p+=a.width-r)}f?n.x+n.width-a.x<r&&(p-=r-(n.x+n.width-a.x)+this.editor.scrollbarWidth):n.x+n.width-i.x<r&&(p-=r-(n.x+n.width-i.x)+this.editor.scrollbarWidth);var g=this.editor.options.scale,y=void 0!==g&&0!==g?p/g:p;this.container.style.top=d+"px",this.container.style.left=y+"px"}}}},{key:"getRangeFormats",value:function(e){var t=this,n={};return e.map((function(e,r){var o=eoe(t.scroll.selection.getRange({offsetBlot:e}),1)[0],i=e.getFormat(o.index,o.length);0===r?n=i:Object.keys(n).map((function(e){i[e]||delete n[e]}))})),n}},{key:"getSelectionFormatsDetails",value:function(){var e=this,t=eoe(this.scroll.selection.getRange(),2),n=t[0],r=t[1];if(!n||0===n.length)return null;var o=this.scroll.selection.getBlotsInRange(r);if(o.filter((function(e){return $.includes(e.constructor.blotName)&&!Q.includes(e.constructor.blotName)})).length)return null;var i=o.map((function(e){var t=oe(e,Gl),n=oe(e,HN);return t||(n||void 0)})).filter((function(e){return null!=e})).filter((function(e,t,n){return n.indexOf(e)===t})).filter((function(t){return 0!==eoe(e.scroll.selection.getRange({offsetBlot:t}),1)[0].length}));if(i.some((function(e){return!!(e.isNotIndependent?e.parent:e).floatingToolbarDisabled}))&&(i=[]),0===i.length)return null;var a=this.getRangeFormats(i),s=loe,l=!1;return 1===i.length&&(i[0].getAllowedStyles&&(s=i[0].getAllowedStyles()),i[0].getDefaultTextColor&&(l=i[0].getDefaultTextColor())),a.link&&(s=s.filter((function(e){return"underline"!==e}))),Ae.isAbleToConvert(this.editor)||(s=s.filter((function(e){return"button"!==e}))),S6.isAllowToConvert(this.editor)||(s=s.filter((function(e){return"comment"!==e}))),{formats:a,allowedStyles:s,defaultTextColor:l,textBlotsInRange:i}}},{key:"render",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2?arguments[2]:void 0,i=this.editor.plugins.editorStyle.getTheme(),a=!1;this.editor.plugins.commentManager&&(a=this.editor.plugins.commentManager.options.inlineComments),e&&(0,s.sY)((0,s.h)(dt.Z,{transitionName:"floating-toolbar",transitionEnterTimeout:ioe,transitionLeaveTimeout:ioe},this.showAIMenu?(0,s.h)(Fre,{onCreateToolbar:this.onCreateToolbar,onClickHandler:this.showAIPrompt,theme:i,i18n:this.editor.plugins.i18n,key:"ai-menu"}):r?(0,s.h)(doe,zre({editor:this.editor,formatText:this.formatText,addButton:this.addButton,addLink:this.addLink,clearFormats:this.clearFormats,saveColor:this.saveColor,saveHighlight:this.saveHighlight,applyHighlight:this.applyHighlight,clearHighlight:this.clearHighlight,onCreateToolbar:this.onCreateToolbar,noColorTextColor:"light"===i?"#161616":"rgba(255, 255, 255, 0.87)",getCreateNoteMentionDetails:this.getCreateNoteMentionDetails,createNoteMention:this.createNoteMention,onClickComment:this.onClickComment,theme:i,i18n:this.editor.plugins.i18n,key:"menu",options:this.options,wantsToClose:this.onHandlerHide,inlineCommentsEnabled:a,getFormatKeysInRange:this.getFormatKeysInRange,isUseAiSupported:(null===(t=this.editor.plugins.aiManager)||void 0===t?void 0:t.enabled)&&!this.editor.plugins.aiManager.isRequestActive,showAIBtn:null===(n=this.editor.plugins.aiManager)||void 0===n?void 0:n.enabled,onClickUseAI:this.onClickUseAI,filterMenuItems:this.filterMenuItems},o)):(0,s.h)("span",{key:"menu"})),e)}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign(e)).formats.color&&this.savedColor!==e.formats.color&&this.saveColor(e.formats.color),e.formats.background&&this.savedHighlight!==e.formats.background&&this.saveHighlight(e.formats.background),e.savedColor=this.savedColor,e.savedHighlight=this.savedHighlight;var t=this.container;this.showTimer=setTimeout(this.render.bind(this,t,!0,e),0),this.adjustPositionContinuously(),this.visible=!0}},{key:"hide",value:function(){this.showTimer&&clearTimeout(this.showTimer);var e=this.container;this.anchorBlot=null,this.lastTextBlot=null,this.toolbarComponent=null,this.adjustPositionContinuously(!0),this.showAIMenu=!1,this.render(e),this.visible=!1}}]),e}();function foe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hoe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function moe(e){return"_editor_scroll_saver:"+e}var goe=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),hoe(this,"onScroll",(function(e){var t=n.getScrollingContainer();if(0===t.scrollTop)n.removeId();else{var r=n.scroll.domNode.getBoundingClientRect().x,o=n.getScrollingContainerBoundingClientRect().y;r+=10,o+=10;for(var i=document.elementFromPoint(r,o);i===n.scroll.domNode;)o+=1,i=document.elementFromPoint(r,o);var a=re(i);if(a instanceof Tf){var s=null;i.querySelectorAll("li").forEach((function(e){s||e.offsetTop+i.offsetTop>=t.scrollTop&&(s=e)})),s&&(a=re(s),n.setId(a.id))}else{var l=ie(a,(function(e){return e.parent===n.scroll}));l&&n.setId(l.id)}}})),hoe(this,"onHighlightedNodeDocumentClick",(function(e){if(n.highlightTimeout){clearTimeout(n.highlightTimeout),n.highlightTimeout=null;var t=n.scroll.domNode.querySelector(".highlighted-block");t&&t.classList.remove("highlighted-block")}document.removeEventListener("click",n.onHighlightedNodeDocumentClick,!1)})),this.editor=o,this.scroll=r,this.storage=localStorage,this.room=this.editor.room,this.options=i||{},this.onScrollDebounced=hf()(this.onScroll,500,{trailing:!0}),this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this.storage.getItem(moe(this.room));e&&this.scrollToSavedId(e);var t=this.getScrollingContainer();t!==document.body&&t!==document.documentElement||(t=window),t.addEventListener("scroll",this.onScrollDebounced)}},{key:"getScrollingContainer",value:function(){return this.editor.getScrollingContainer()}},{key:"getScrollingContainerBoundingClientRect",value:function(){var e,t=this.getScrollingContainer();if("BODY"===t.tagName||"HTML"===t.tagName){var n=window.innerWidth,r=window.innerHeight;e={left:0,right:n,top:0,bottom:r,x:0,y:0,width:n,height:r}}else e=t.getBoundingClientRect();return e}},{key:"setId",value:function(e){this.storage.setItem(moe(this.room),e)}},{key:"removeId",value:function(){this.storage.removeItem(moe(this.room))}},{key:"scrollToSavedId",value:function(e){var t=this;this.editor.emitter.once("editor-ready",(function(){t.scrollToBlot(e)}))}},{key:"scrollToBlot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.getScrollingContainer(),o=document.getElementById(e)||this.editor.scroll.domNode.querySelector(e);if(o){var i=re(o);i.props.hidden&&i.onMustSetVisible&&i.onMustSetVisible();var a=i.getWrapper(),s=this.options.addOffsetTop;(0,H.dp)(r,a.domNode,t&&{node:a.domNode,highlightClass:"highlighted-block",timeout:3e3}||!1,n,s)}}},{key:"destroy",value:function(){var e=this.getScrollingContainer();e!==document.body&&e!==document.documentElement||(e=window),e.removeEventListener("scroll",this.onScrollDebounced)}}])&&foe(t.prototype,n),r&&foe(t,r),e}();function yoe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var voe=function(){function e(t){var n=t.editor,r=t.scroll,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=n,this.scroll=r,this.options=o||{}}var t,n,r;return t=e,(n=[{key:"processNavigation",value:function(e){return!!this.options.processNavigation&&this.options.processNavigation(e)}}])&&yoe(t.prototype,n),r&&yoe(t,r),e}();function boe(e){return(boe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function woe(e,t){return(woe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Coe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xoe(e);if(t){var o=xoe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Soe(this,n)}}function Soe(e,t){if(t&&("object"===boe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Eoe(e)}function Eoe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xoe(e){return(xoe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function koe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ooe=(0,Rn.ZP)("Esc"),Toe=(0,Rn.ZP)("Enter");function Aoe(e){return{query:e.session.queryUninitialized||"",activeMatchIndex:-1,totalMatches:0}}var Poe=function(e){!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}}),t&&woe(e,t)}(i,e);var t,n,r,o=Coe(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),koe(Eoe(t=o.call(this,e)),"onSessionMark",(function(){var e=t.props.session;t.setState((function(){return{totalMatches:e.markers.length}}))})),koe(Eoe(t),"onSessionHighlight",(function(e){t.setState((function(){return{activeMatchIndex:e}}))})),koe(Eoe(t),"onInputDomNodeRef",(function(e){t.inputDomNode=e})),koe(Eoe(t),"onChangeQuery",(function(e){var n=e.target.value;t.setState((function(){return{query:n}}),(function(){t.props.onQueryChange(n)}))})),koe(Eoe(t),"onKeyDown",(function(e){if(Ooe(e))t.props.wantsToClose();else if(Toe(e)){if(t.searchInitQuery())return;t.props.session.goToNextMarker()}})),koe(Eoe(t),"onPrevMatchClick",(function(e){e.preventDefault(),t.searchInitQuery()||t.props.session.goToPrevMarker()})),koe(Eoe(t),"onNextMatchClick",(function(e){e.preventDefault(),t.searchInitQuery()||t.props.session.goToNextMarker()})),koe(Eoe(t),"onCloseClick",(function(){t.props.wantsToClose()})),t.inputDomNode=null,t.state=Aoe(e),t.attachSessionListeners(e),t}return t=i,(n=[{key:"attachSessionListeners",value:function(e,t){e.session.on("mark",this.onSessionMark),e.session.on("highlight",this.onSessionHighlight),t&&(t.session.removeListener("mark",this.onSessionMark),t.session.removeListener("highlight",this.onSessionHighlight))}},{key:"searchInitQuery",value:function(){return!!this.props.session.queryUninitialized&&(this.props.onQueryChange(this.props.session.queryUninitialized),!0)}},{key:"focusOnInput",value:function(){var e=this;setTimeout((function(){e.inputDomNode.focus(),e.props.session.queryUninitialized&&e.inputDomNode.select()}),0)}},{key:"componentDidMount",value:function(){this.focusOnInput()}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.session!==e.session&&(this.attachSessionListeners(this.props,e),this.setState((function(){return Aoe(t.props)}),(function(){t.focusOnInput()})))}},{key:"render",value:function(){var e=this.state,t=e.query,n=e.activeMatchIndex,r=e.totalMatches;return(0,s.h)(At.Z,{addClassName:"editor-search-panel"},(0,s.h)(ct.jVj,{class:"search-icon"}),(0,s.h)("div",{className:"editor-search-input"},(0,s.h)(pe.Cf,null,(0,s.h)("input",{onKeyDown:this.onKeyDown,value:t,onInput:this.onChangeQuery,placeholder:(0,s.h)(pe.xv,{id:"search.placeholder"}),type:"text",ref:this.onInputDomNodeRef}))),(0,s.h)("div",{className:"matches-switch"},(0,s.h)(ct.ed9,{onClick:this.onPrevMatchClick,className:"hl-icon search-panel-btn"}),(0,s.h)("div",{className:"matches-numbers"},n+1,"/",r),(0,s.h)(ct.VG8,{onClick:this.onNextMatchClick,className:"hl-icon search-panel-btn"})),(0,s.h)(ct.bMz,{onClick:this.onCloseClick,className:"hl-icon search-panel-btn"}))}}])&&_oe(t.prototype,n),r&&_oe(t,r),i}(s.wA),Roe=n(57115),Ioe=n.n(Roe);function Moe(e){return(Moe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Noe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Doe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Doe(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Doe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function joe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Loe(e,t){return(Loe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Boe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Uoe(e);if(t){var o=Uoe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Foe(this,n)}}function Foe(e,t){if(t&&("object"===Moe(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 Uoe(e){return(Uoe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hoe=function(e){!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}}),t&&Loe(e,t)}(i,e);var t,n,r,o=Boe(i);function i(e){var t,n=e.editor,r=e.relRange,a=e.queryUninitialized,s=e.cantEndByAction;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this)).editor=n,t.scroll=n.scroll,t.relRange=r,t.cantEndByAction=s;var l=t.scroll.domNode.getAttribute("id");return t.marker=new(Ioe())(["editable-text","searchable","table-text-common"].reduce((function(e,t){return e.push("#".concat(l," .").concat(t)),e}),[]).join(", ")),t.scroll.ignoreUpdates(),t.editor.store.pauseExternalUpdates(),t.markers=[],t.currentMarkerIdx=-1,t.queryUninitialized=a,t}return t=i,(n=[{key:"mark",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.queryUninitialized=!1,this.unmark(),e){var n=[];this.marker.mark(e,{className:"editor-search-term",acrossElements:!0,separateWordSearch:!1,each:function(e){return n.push(e)}}),this.markers=n,this.markers.sort((function(e,t){var n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_PRECEDING?1:n&Node.DOCUMENT_POSITION_FOLLOWING?-1:0})),this.markers.forEach((function(e){var t=te(re(e));t&&t.onMustSetVisible&&t.onMustSetVisible()})),this.currentMarkerIdx=-1,t&&this.goToMarker()}else this.emit("highlight",-1);this.emit("mark")}},{key:"unmark",value:function(){var e,t=function e(t){if(!t)return null;var n=a().find(t);return n&&n.build?n:e(t.parentNode)},n=new Set,r=Noe(this.markers);try{for(r.s();!(e=r.n()).done;){var o=e.value,i=t(o);i?n.add(i):console.warn("node",o,o.parentNode,"does not have a buildable blot, this may lead to saving content issues")}}catch(e){r.e(e)}finally{r.f()}this.marker.unmark();var s,l=Noe(n);try{for(l.s();!(s=l.n()).done;)s.value.build()}catch(e){l.e(e)}finally{l.f()}this.markers=[]}},{key:"_getFirstMarkerAfterRange",value:function(e){var t,n=Noe(this.markers);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=new Range;o.selectNode(r);var i=o.compareBoundaryPoints(Range.START_TO_START,e);if(0===i||1===i)return r}}catch(e){n.e(e)}finally{n.f()}return null}},{key:"goToMarker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.markers.length){var t=this.currentMarkerIdx;if(null===e)if(this.relRange){var n=this.relRange.native,r=this._getFirstMarkerAfterRange(n);e=r?this.markers.indexOf(r):0}else e=0;t>=0&&this.markers[t].classList.remove("editor-search-term-active"),e>=0&&(this.markers[e].classList.add("editor-search-term-active"),this.markers[e].scrollIntoView({block:"center",behavior:"auto"})),this.currentMarkerIdx=e,this.emit("highlight",e)}}},{key:"goToNextMarker",value:function(){var e=this.currentMarkerIdx+1;e>=this.markers.length&&(e=0),this.goToMarker(e)}},{key:"goToPrevMarker",value:function(){var e=this.currentMarkerIdx-1;e<0&&(e=this.markers.length-1),this.goToMarker(e)}},{key:"destroy",value:function(){this.unmark(),this.scroll.resumeUpdates(),this.editor.store.resumeExternalUpdates()}}])&&joe(t.prototype,n),r&&joe(t,r),i}(bo());function Voe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zoe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zoe(e,t)}(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 zoe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qoe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Goe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Woe=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Goe(this,"onThemeChange",(function(e){if(n.searchContainer){var t=Voe(Array.from(n.searchContainer.classList).filter((function(e){return 0===e.indexOf("theme-")})),1)[0];n.searchContainer.classList.remove(t),n.searchContainer.classList.add("theme-"+e.theme)}})),Goe(this,"onQueryChange",(function(e){n.query=e,n.markQueryDebounced(e)})),Goe(this,"markQuery",(function(e){n.session.mark(e)})),Goe(this,"markQueryDebounced",hf()(this.markQuery,300,{trailing:!0})),Goe(this,"onSearchPanelWantsToClose",(function(){n.end("user")})),Goe(this,"onEditorFocus",(function(){n.end("user")})),Goe(this,"onEditorMouseDown",(function(){n.end("user")})),this.editor=o,this.scroll=r,this.options=i||{},this.session=null,this.query="",this.scroll.domNode.addEventListener("focus",this.onEditorFocus,!1),this.scroll.domNode.addEventListener("mousedown",this.onEditorMouseDown,!1),this.editor.emitter.on("set-theme",this.onThemeChange),this.render()}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this.options.container||(this.render(),this.searchContainer.parentNode.removeChild(this.searchContainer))}},{key:"getSearchContainerNode",value:function(){return this.searchContainer||(this.options.hasOwnProperty("container")?(this.searchContainer=this.options.container,"function"==typeof this.searchContainer&&(this.searchContainer=this.searchContainer())):(this.searchContainer=document.createElement("div"),this.searchContainer.classList.add("editor-search-container"),this.editor.scrollingContainer.appendChild(this.searchContainer))),this.searchContainer&&this.searchContainer.classList.add("theme-"+this.editor.plugins.editorStyle.getTheme()),this.searchContainer}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getSearchContainerNode();if(t){var n=null;e&&(n=(0,s.h)(Poe,{onQueryChange:this.onQueryChange,wantsToClose:this.onSearchPanelWantsToClose,session:this.session})),(0,s.sY)((0,s.h)(pe.Pj,null,n),t)}}},{key:"end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"api";this.session&&(this.session.destroy(),this.session=null,this.options.onSearchEnd&&this.options.onSearchEnd(this,e))}},{key:"start",value:function(){var e=Voe(this.scroll.selection.getRange(),2)[1];if(e&&e.native){var t=e.native;if(!t.collapsed){var n=t.toString().trim();n&&(this.query=n)}}this.session=new Hoe({editor:this.editor,relRange:e,queryUninitialized:this.query}),this.editor.blur(),this.render(!0),this.options.onSearchStart&&this.options.onSearchStart(this)}}])&&qoe(t.prototype,n),r&&qoe(t,r),e}();function Yoe(e){return(Yoe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zoe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Koe(e,t){return(Koe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Joe(e);if(t){var o=Joe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Qoe(this,n)}}function Qoe(e,t){if(t&&("object"===Yoe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Xoe(e)}function Xoe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Joe(e){return(Joe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tie=function(e){!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}}),t&&Koe(e,t)}(i,e);var t,n,r,o=$oe(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),eie(Xoe(t=o.call(this,e)),"onSessionMark",(function(){var e=t.props.session;t.setState((function(){return{totalMatches:e.markers.length}}))})),eie(Xoe(t),"onSessionHighlight",(function(e){t.setState((function(){return{activeMatchIndex:e}}))})),eie(Xoe(t),"onPrevMatchClick",(function(e){e.preventDefault(),t.props.session.goToPrevMarker()})),eie(Xoe(t),"onNextMatchClick",(function(e){e.preventDefault(),t.props.session.goToNextMarker()})),t.state={activeMatchIndex:-1,totalMatches:0},t.attachSessionListeners(e),t}return t=i,(n=[{key:"attachSessionListeners",value:function(e,t){e.session.on("mark",this.onSessionMark),e.session.on("highlight",this.onSessionHighlight),t&&(t.session.removeListener("mark",this.onSessionMark),t.session.removeListener("highlight",this.onSessionHighlight))}},{key:"componentDidUpdate",value:function(e){this.props.session!==e.session&&this.attachSessionListeners(this.props,e)}},{key:"render",value:function(){var e=this.state,t=(e.query,e.activeMatchIndex),n=e.totalMatches;return(0,s.h)(At.Z,{addClassName:"editor-search-navigation-panel"},(0,s.h)(pe.xv,{id:"search.matches"}),(0,s.h)("div",{className:"matches-switch"},(0,s.h)(ct.ed9,{onClick:this.onPrevMatchClick,className:"hl-icon search-panel-btn"}),(0,s.h)("div",{className:"matches-numbers"},t+1,"/",n),(0,s.h)(ct.VG8,{onClick:this.onNextMatchClick,className:"hl-icon search-panel-btn"})))}}])&&Zoe(t.prototype,n),r&&Zoe(t,r),i}(s.wA);function nie(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return rie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rie(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function rie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aie=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),iie(this,"onEndByAction",(function(){n.session&&(n.session.cantEndByAction||n.end())})),iie(this,"onEditorFocus",(function(){n.onEndByAction()})),iie(this,"onEditorMouseDown",(function(){n.onEndByAction()})),this.editor=o,this.scroll=r,this.options=i||{},this.session=null,this.query="",this.searchContainer=null,this.scroll.domNode.addEventListener("focus",this.onEditorFocus,!1),this.scroll.domNode.addEventListener("mousedown",this.onEditorMouseDown,!1)}var t,n,r;return t=e,(n=[{key:"getContainerNode",value:function(){return this.searchContainer||(this.searchContainer=this.options.container,"function"==typeof this.searchContainer&&(this.searchContainer=this.searchContainer()),this.searchContainer||(this.searchContainer=document.createElement("div"),this.searchContainer.classList.add("editor-global-search-container"),this.editor.scrollingContainer.appendChild(this.searchContainer))),this.searchContainer}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getContainerNode(),n=null;e&&(n=(0,s.h)(tie,{onQueryChange:this.onQueryChange,wantsToClose:this.onSearchPanelWantsToClose,session:this.session}));var r=null;if(e)r=(0,s.h)(pe.Pj,null,n);else{var o=function(){};r=(0,s.h)(o,null)}(0,s.sY)(r,t)}},{key:"destroy",value:function(){!this.options.container&&this.searchContainer&&this.searchContainer.parentNode&&this.searchContainer.parentNode.removeChild(this.searchContainer)}},{key:"nextMatch",value:function(){this.session&&this.session.goToNextMarker()}},{key:"prevMatch",value:function(){this.session&&this.session.goToPrevMarker()}},{key:"searchInAnnotation",value:function(e,t){var n,r=[],o=nie(e);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=i.description,s=i.poly;"<fulltext>"!==a&&Oi(a,t)&&r.push(s)}}catch(e){o.e(e)}finally{o.f()}return r}},{key:"start",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.end(),this.session=new Hoe({editor:this.editor,cantEndByAction:t.cantEndByAction}),this.render(!1!==t.showSearchPanel),this.session.mark(e,!0!==t.disableNavigation),!t.dontStartIfNoMarkers||this.session.markers.length){if(t.images){var n={};for(var r in t.images){var o=t.images[r].textDetailed,i=this.searchInAnnotation(o,e);i.length&&(n[r]=i)}var a=Object.keys(n);if(a.length){var s,l=this.editor.findBlotsWithAttachment(a),c=nie(l);try{for(c.s();!(s=c.n()).done;){var u=s.value,d=u.blot,p=u.attachmentGlobalId;d.setProps({highlights:n[p]})}}catch(e){c.e(e)}finally{c.f()}this.highlightedBlots=l}}this.options.onSearchStart&&this.options.onSearchStart(this)}}},{key:"end",value:function(){if(this.session){if(this.highlightedBlots){var e,t=nie(this.highlightedBlots);try{for(t.s();!(e=t.n()).done;)e.value.blot.setProps({highlights:null})}catch(e){t.e(e)}finally{t.f()}}this.highlightedBlots=null,this.session.destroy(),this.session=null,this.options.onSearchEnd&&this.options.onSearchEnd(this)}}}])&&oie(t.prototype,n),r&&oie(t,r),e}();function sie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||cie(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 lie(e){return(lie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cie(e,t){if(e){if("string"==typeof e)return uie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uie(e,t):void 0}}function uie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function die(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var pie=function(){function e(t){var n=this,r=t.anchor,o=t.queryStartIndex,i=t.manager;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"onBlotTextChange",(function(e){if(1===n.queryStartIndex&&1===e.length()&&"@"===e.ops[0].insert||1===n.queryStartIndex&&"@\n"===n.anchorBlot.getText()||fie(e)>=n.queryStartIndex&&fie(e)<=n.queryStartIndex+n.queryLength){var t,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=cie(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.ops);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o.insert){if("object"===lie(o.insert)||" "===o.insert)return void n.manager.end();n.queryLength+=o.insert.length}else o.delete&&(n.queryLength-=o.delete)}}catch(e){r.e(e)}finally{r.f()}n.queryString=n.anchorBlot.getText(n.queryStartIndex,n.queryLength)||"";var i=n.queryString.toLowerCase();n.onMentionQueryDebounced(i,n.viewAll),n.renderPlaceholderIfNeed()}else n.manager.end()})),this.anchorBlot=r,this.manager=i,this.queryStartIndex=o,this.queryLength=0,this.queryString="",this.viewAll=null,this.onMentionQueryDebounced=hf()(this.manager.onMentionQuery,500,{trailing:!0,maxWait:1e3}),this.anchorBlot.on("text-change",this.onBlotTextChange),this.renderPlaceholderIfNeed()}var t,n,r;return t=e,(n=[{key:"renderPlaceholderIfNeed",value:function(){if(!ie(this.anchorBlot,(function(e){return e instanceof $1}))){var e=sie(this.manager.scroll.selection.getRange(),2),t=e[0],n=e[1];this.anchorBlot.length()-1==1&&0===this.queryLength&&t.index===this.anchorBlot.offset(this.manager.scroll)+1&&0===t.length?this.attachPlaceholder(n):this.detachPlaceholder()}}},{key:"attachPlaceholder",value:function(e){var t=this.manager.editor.scrollingContainer,n={position:"absolute"},r=this.anchorBlot.domNode.getBoundingClientRect(),o=le(this.anchorBlot.domNode,t),i=Array.from(e.native.getClientRects())[0];n.top=o.y+"px",n.left=o.x+(i.x-r.x)+2+"px",n.height=r.height+"px";var a=this.manager.params.customPlaceholder||this.manager.editor.plugins.i18n.get("mention.placeholder");lt((0,s.h)("div",{className:"mention-search-placeholder",style:n},a),this.manager.editor.scrollingContainer,"mention-search-placeholder-wrapper")}},{key:"detachPlaceholder",value:function(){lt(null,this.manager.editor.scrollingContainer,"mention-search-placeholder-wrapper")}},{key:"destroy",value:function(){this.anchorBlot.off("text-change",this.onBlotTextChange),this.detachPlaceholder()}}])&&die(t.prototype,n),r&&die(t,r),e}();function fie(e){var t=e.filter((function(e){return e.retain}))[0];return t&&t.retain||-1}function hie(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return mie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mie(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function mie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var yie=new RegExp("^".concat("mention-")),vie=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=t,this.store=this.editor.store.cache,this.editor.once("editor-ready",this.clear.bind(this))}var t,n,r;return t=e,(n=[{key:"save",value:function(e,t){var n=this.get("mention-"+e);n&&AQ()(n,t)||this.store.set("mention-"+e,t)}},{key:"get",value:function(e){return this.store.get("mention-"+e)}},{key:"remove",value:function(e){this.store.delete("mention-"+e)}},{key:"getAll",value:function(){var e,t={},n=hie(this.store);try{for(n.s();!(e=n.n()).done;){var r=e.value;r[0].startsWith("mention-")&&(t[r[0].replace(yie,"")]=r[1])}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"update",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(t).length&&this.editor.store.transaction((function(){for(var n in t)e.save(n,t[n])}))}},{key:"clear",value:function(){var e=this;this.editor.store.transaction((function(){var t=e.getAll();for(var n in t)e.editor.scroll.domNode.querySelector('[data-mention-object_id="'.concat(n,'"]'))||e.remove(n)}))}}])&&gie(t.prototype,n),r&&gie(t,r),e}();function bie(e){return(bie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wie(e,t){if(t&&("object"===bie(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 Cie(e){var t="function"==typeof Map?new Map:void 0;return(Cie=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Sie(e,arguments,kie(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),xie(r,e)})(e)}function Sie(e,t,n){return(Sie=Eie()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&xie(o,n.prototype),o}).apply(null,arguments)}function Eie(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function xie(e,t){return(xie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kie(e){return(kie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oie=function(e){!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}}),t&&xie(e,t)}(o,e);var t,n,r=(t=o,n=Eie(),function(){var e,r=kie(t);if(n){var o=kie(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return wie(this,e)});function o(){return _ie(this,o),r.apply(this,arguments)}return o}(Cie(Error)),Tie=n(9281),Aie=n.n(Tie);function Pie(e){return(Pie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rie(){return(Rie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Iie(e){return function(e){if(Array.isArray(e))return Die(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nie(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 Mie(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Nie(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Nie(e,t){if(e){if("string"==typeof e)return Die(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Die(e,t):void 0}}function Die(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lie(e,t){return(Lie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Hie(e);if(t){var o=Hie(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fie(this,n)}}function Fie(e,t){if(t&&("object"===Pie(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Uie(e)}function Uie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hie(e){return(Hie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zie=(0,Rn.ZP)("esc"),qie=(0,Rn.ZP)("up"),Gie=(0,Rn.ZP)("shift+up"),Wie=(0,Rn.ZP)("down"),Yie=(0,Rn.ZP)("shift+down"),Zie=(0,Rn.ZP)("enter"),Kie=Aie().mentionListMaxHeight,$ie=(Aie().mentionListPadding,["user","folder","workspace","note"]);var Qie=function(e){!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}}),t&&Lie(e,t)}(i,e);var t,n,r,o=Bie(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Vie(Uie(t=o.call(this,e)),"disableRecycling",(function(){t.nextBase=null})),Vie(Uie(t),"onDomRef",(function(e){t.domNode=e})),Vie(Uie(t),"onScrollNodeRef",(function(e){t.scrollNode=e})),Vie(Uie(t),"onContainerNodeRef",(function(e){t.containerNode=e})),Vie(Uie(t),"onMentionRef",(function(e,t,n){e&&(e.mentionType=t,e.mentionId=n.object_id,e.mentionName=n.name,n.workspace_id&&(e.mentionWorkspaceId=n.workspace_id))})),Vie(Uie(t),"onMouseDown",(function(e){e.preventDefault(),e.stopPropagation()})),Vie(Uie(t),"onItemMouseClick",(function(e){var n=e.target.closest(".mention-item");if("Mac OS"===t.props.platform&&e.metaKey||"Mac OS"!==t.props.platform&&e.ctrlKey)n.querySelector(".mention-item-name")&&"custom"!==n.querySelector(".mention-item-name").getAttribute("data-mention-object_id")&&t.selectItem(n,!0);else{var r=[];if(t.selectedItems.includes(n)){var o,i=Mie(t.selectedItems);try{for(i.s();!(o=i.n()).done;){var a=o.value,s={type:a.mentionType,object_id:a.mentionId,name:a.mentionName};a.mentionWorkspaceId&&(s.workspace_id=a.mentionWorkspaceId),r.push(s)}}catch(e){i.e(e)}finally{i.f()}}else{var l={type:n.mentionType,object_id:n.mentionId,name:n.mentionName};n.mentionWorkspaceId&&(l.workspace_id=n.mentionWorkspaceId),r=[l]}t.props.pasteMention(r)}})),Vie(Uie(t),"onItemMouseMove",(function(e){e.shiftKey&&t.selectedItems.length>1||"Mac OS"===t.props.platform&&e.metaKey||"Mac OS"!==t.props.platform&&e.ctrlKey||t.selectedItems.includes(e.target.closest(".mention-item"))||t.selectItem(e.target.closest(".mention-item"))})),Vie(Uie(t),"onBodyMouseDown",(function(e){var n=e.target;n===t.domNode||t.domNode.contains(n)||t.props.wantsToClose()})),Vie(Uie(t),"onBodyKeyDown",(function(e){var n=!1;if(zie(e)&&(e.stopPropagation(),t.props.wantsToClose()),!t.isLoading()&&!t.isOffline()){if(qie(e)||Gie(e)){n=!0;if(t.selectedItems.length>1&&e.shiftKey&&"bottom"===t.selectKeyDirection)t.selectItem(t.selectedItems[t.selectedItems.length-1],!0,!0);else{t.selectKeyDirection="up";var r=t.selectedItems.length&&t.selectedItems[0],o=!1;if(r&&(o=t.getPrevItemToSelect(r,e.shiftKey)),o){var i=!1;e.shiftKey&&r&&!r.classList.contains("no-multiselect")&&(i=!0),t.selectItem(o,i,!0)}}}if(Wie(e)||Yie(e)){n=!0;if(t.selectedItems.length>1&&e.shiftKey&&"up"===t.selectKeyDirection)t.selectItem(t.selectedItems[0],!0,!0);else{t.selectKeyDirection="bottom";var a=t.selectedItems.length&&t.selectedItems[t.selectedItems.length-1],s=!1;if(a&&(s=t.getNextItemToSelect(a,e.shiftKey)),s){var l=!1;e.shiftKey&&a&&!a.classList.contains("no-multiselect")&&(l=!0),t.selectItem(s,l,!0)}}}if(Zie(e))if(t.selectedItems.length>0){n=!0;var c=t.props.query;if(1===t.selectedItems.length&&t.selectedItems[0].classList.contains("mention-view-all-items-button")){var u=t.selectedItems[0].getAttribute("data-category")||null;t.props.onViewAll(c,u)}else if(t.selectedItems[0].classList.contains("create-note-button"))t.props.onCreateAndPasteMention("note",c);else if(t.selectedItems[0].classList.contains("create-folder-button"))t.props.onCreateAndPasteMention("folder",c);else{var d,p=[],f=Mie(t.selectedItems);try{for(f.s();!(d=f.n()).done;){var h=d.value,m={type:h.mentionType,object_id:h.mentionId,name:h.mentionName};h.mentionWorkspaceId&&(m.workspace_id=h.mentionWorkspaceId),p.push(m)}}catch(e){f.e(e)}finally{f.f()}t.props.pasteMention(p)}}else setTimeout((function(){t.props.wantsToClose()}),0)}n&&(e.stopPropagation(),e.preventDefault())})),Vie(Uie(t),"onListScroll",(function(e){if(!(t.isLoading()||t.isOffline()||t.props.recent||t.state.loadingNotes||t.state.allNotesLoaded)){var n=t.props,r=n.items,o=n.query;if(r.note&&!(r.note.length<t.props.maxNotesPerQuery)){var i=t.domNode.clientHeight-(t.domNode.scrollHeight-t.domNode.scrollTop);if(i>=0&&i<10){var a=r.note.length+t.state.nextNotes.length;t.setState((function(){return{loadingNotes:!0}}),(function(){t.props.getNextNotes(o,a,t.props.maxNotesPerQuery).then((function(e){0===e.length?t.setState((function(t){return{nextNotes:[].concat(Iie(t.nextNotes),Iie(e)),loadingNotes:!1,allNotesLoaded:!0}})):t.setState((function(t){return{nextNotes:[].concat(Iie(t.nextNotes),Iie(e)),loadingNotes:!1}}))})).catch((function(e){console.log(e)}))}))}}}})),Vie(Uie(t),"onListMouseWheel",(function(e){(0,H.AI)(t.domNode)&&(t.domNode.scrollHeight-t.domNode.scrollTop===t.domNode.clientHeight&&e.deltaY>0||0===t.domNode.scrollTop&&e.deltaY<0)&&(e.preventDefault(),e.stopPropagation())})),Vie(Uie(t),"onListMouseDown",(function(e){e.preventDefault()})),Vie(Uie(t),"onCreateNoteMouseClick",(function(e){var n=t.props,r=n.query,o=n.queryString;t.props.onCreateAndPasteMention("note",o||r)})),Vie(Uie(t),"onCreateFolderMouseClick",(function(e){var n=t.props,r=n.query,o=n.queryString;t.props.onCreateAndPasteMention("folder",o||r)})),t.selectedItems=[],t.selectKeyDirection=null,t.lastQuery=t.props.query,t.state={query:t.props.query,nextNotes:[],loadingNotes:!1,allNotesLoaded:!1},t}return t=i,r=[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.query&&e.query!==t.query||!e.query&&!e.viewAll?{nextNotes:[],query:e.query,loadingNotes:!1,allNotesLoaded:!1}:null}}],(n=[{key:"isLoading",value:function(){return this.props.loading&&!this.props.items}},{key:"isOffline",value:function(){return this.props.items instanceof Oie}},{key:"getUserAvatar",value:function(e){return this.props.getUserAvatar(e)}},{key:"getMentionIcon",value:function(e,t,n){switch(e){case"note":return(0,s.h)(ct.F1B,null);case"folder":return(0,s.h)(ct.PUC,null);case"workspace":return(0,s.h)("div",{className:"workspace-mention-icon"},t.split("")[0]);case"user":return(0,s.h)("div",{className:"user-mention-avatar"},this.getUserAvatar(n)||t.split("")[0]);default:return(0,s.h)("div",null)}}},{key:"highlightQueryInName",value:function(e,t){for(var n=[],r=e.toLowerCase(),o=0;r;){var i=r.indexOf(t);i>-1?(0!==i&&n.push({h:!1,string:e.slice(o,o+i)}),n.push({h:!0,string:e.slice(o+i,o+i+t.length)}),o+=i+t.length,r=e.toLowerCase().slice(o,e.length)):(n.push({h:!1,string:e.slice(o,e.length)}),r=!1)}return(0,s.h)("span",null,n.map((function(e){return e.h?(0,s.h)("span",{className:"mention-highlight"},e.string):e.string})))}},{key:"selectItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t){if(this.selectedItems.length){var r,o=Mie(this.selectedItems);try{for(o.s();!(r=o.n()).done;){var i=r.value;i.classList.contains("no-multiselect")&&i.classList.remove("selected-mention")}}catch(e){o.e(e)}finally{o.f()}}}else if(this.selectedItems.length>0){var a,s=Mie(this.selectedItems);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.classList.remove("selected-mention")}}catch(e){s.e(e)}finally{s.f()}}e&&(t&&this.selectedItems.includes(e)?e.classList.remove("selected-mention"):e.classList.add("selected-mention")),this.selectedItems=Array.from(this.domNode.querySelectorAll(".mention-item.selected-mention")),n&&this.onSelectItemScrollIfNeed(e)}},{key:"sortMentionCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(e.length){var t=Array.from(e);return t.sort((function(e,t){return $ie.indexOf(e)<$ie.indexOf(t)?-1:$ie.indexOf(e)>$ie.indexOf(t)?1:0})),t}return e}},{key:"onViewAllClick",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!("Mac OS"===this.props.platform&&e.metaKey||"Mac OS"!==this.props.platform&&e.ctrlKey)){var n=this.props.query;this.props.onViewAll(n,t)}}},{key:"onSelectItemScrollIfNeed",value:function(e){var t=!e.previousSibling&&e.closest(".mention-category")===this.containerNode.getElementsByClassName("mention-category")[0],n=le(e,this.domNode),r=e.getBoundingClientRect().height;t?this.domNode.scrollTop=0:n.y+r>this.domNode.clientHeight+this.domNode.scrollTop?this.domNode.scrollTop+=n.y+2*r-(this.domNode.clientHeight+this.domNode.scrollTop):n.y<this.domNode.scrollTop&&(this.domNode.scrollTop-=this.domNode.scrollTop-n.y+r)}},{key:"getNextItemToSelect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Array.from(this.containerNode.querySelectorAll(".mention-item"));if(!e)return n[0];var r=n.indexOf(e)+1,o=n[r];if(t)for(;o&&o.classList.contains("no-multiselect");)o=n[++r];return o}},{key:"getPrevItemToSelect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Array.from(this.containerNode.querySelectorAll(".mention-item"));if(!e)return n[0];var r=n.indexOf(e)-1,o=n[r];if(t)for(;o&&o.classList.contains("no-multiselect");)o=n[r-=1];return o}},{key:"componentWillUnmount",value:function(){this.dispatchEventTimeout&&clearTimeout(this.dispatchEventTimeout),document.body.removeEventListener("mousedown",this.onBodyMouseDown,!1),document.body.removeEventListener("keydown",this.onBodyKeyDown,!1),setTimeout(this.disableRecycling)}},{key:"componentDidMount",value:function(){var e=this;this.props.wantsToClose&&(this.dispatchEventTimeout=setTimeout((function(){document.body.addEventListener("mousedown",e.onBodyMouseDown,!1),document.body.addEventListener("keydown",e.onBodyKeyDown,!1)}),0))}},{key:"componentDidUpdate",value:function(){this.isLoading()||this.isOffline()?this.selectItem():this.lastQuery===this.props.query&&0!==this.selectedItems.length||(this.lastQuery=this.props.query,this.selectItem(Array.from(Array.from(this.domNode.childNodes)[0].querySelectorAll(".mention-item"))[0])),this.scrollToLoadingViewIfNeed(),this.normalizeScrollHeight(),this.selectKeyDirection=null}},{key:"scrollToLoadingViewIfNeed",value:function(){this.state.loadingNotes&&(this.domNode.scrollTop=this.domNode.scrollHeight)}},{key:"normalizeScrollHeight",value:function(){if(!1!==this.props.normalizeHeight){var e=this.domNode.scrollHeight;this.scrollNode.style.height=e<Kie?e+2+"px":""}}},{key:"render",value:function(){var e=this,t=this.props,n=t.editor,r=t.loading,o=t.query,i=t.viewAll,a=t.totalAmount,l=t.queryString,c=this.state,u=c.nextNotes,d=c.loadingNotes,p=null,f="";if(r)p=(0,s.h)("span",{className:"mention-no-result"},(0,s.h)(ey(),null)),f="loading";else if(this.props.items instanceof Oie)p=(0,s.h)("span",{className:"mention-no-result"},this.props.i18n.get("mention.offline_message")),f="message";else{var h,m,g=Object.assign({},this.props.items);if(g.note||i||(g.note=[]),g.folder||i||(g.folder=[]),!o&&!i){var y=[{object_id:"now",name:this.props.i18n.get("calendar.insert.now")},{object_id:"today",name:this.props.i18n.get("calendar.insert.today")},{object_id:"tomorrow",name:this.props.i18n.get("calendar.insert.tomorrow")}];n.blotsConfig.date&&n.blotsConfig.date.readOnly||y.push({object_id:"custom",name:this.props.i18n.get("calendar.insert.custom")}),h=(0,s.h)("div",{className:"mention-category"},(0,s.h)("div",{className:"mention-category-header"},(0,s.h)("label",{className:"mention-category-label"},this.props.i18n.get("calendar.insert.category_name"))),(0,s.h)("div",{className:"mention-category-list"},y.map((function(t){return(0,s.h)("div",{className:"mention-item"+("custom"===t.object_id?" no-multiselect":""),ref:function(n){e.onMentionRef(n,"date",t)},onClick:e.onItemMouseClick,onMouseMove:e.onItemMouseMove},(0,s.h)("div",{className:"mention-item-icon"},(0,s.h)(ct.jt6,null)),(0,s.h)("div",{className:"mention-item-name","data-mention-object_id":t.object_id},t.name))}))))}i&&(m=(0,s.h)("div",{className:"mention-category mention-back-button"},(0,s.h)("div",{className:"mention-item mention-view-all-items-button no-multiselect",onClick:function(t){t.preventDefault(),e.onViewAllClick(t)},onMouseMove:this.onItemMouseMove},(0,s.h)("div",{className:"mention-item-icon"},(0,s.h)(ct.$fB,null)),(0,s.h)("div",{className:"mention-item-name"},this.props.i18n.get("mention.back_button")))));var v=(0,s.h)("div",{className:"mention-item no-multiselect create-note-button",onClick:this.onCreateNoteMouseClick,onMouseMove:this.onItemMouseMove},(0,s.h)("div",{className:"mention-item-icon"},(0,s.h)(ct.uyk,null)),(0,s.h)("div",{className:"mention-item-name"},this.props.i18n.get("mention.create_note_for")+" ",(0,s.h)("strong",null,l||o))),b=(0,s.h)("div",{className:"mention-item no-multiselect create-folder-button",onClick:this.onCreateFolderMouseClick,onMouseMove:this.onItemMouseMove},(0,s.h)("div",{className:"mention-item-icon"},(0,s.h)(ct.e4s,null)),(0,s.h)("div",{className:"mention-item-name"},this.props.i18n.get("mention.create_folder_for")+" ",(0,s.h)("strong",null,l||o))),_=!1;o&&n&&!n.options.disableAddNote&&(_=!0),p=(0,s.h)("div",{className:"mention-list-container",ref:this.onContainerNodeRef},m,h,this.sortMentionCategories(Object.keys(g)).map((function(t){return(0,s.h)("div",{className:"mention-category"},i?null:(0,s.h)("div",{className:"mention-category-header"},(0,s.h)("label",{className:"mention-category-label"},e.props.i18n.get("mention."+t))),(0,s.h)("div",{className:"mention-category-list"},g[t].map((function(n){var r="note"===t&&n.path?Vie({},Gr.qZ,n.path):{},o={className:"mention-item-icon"};return n.color&&(o.style={backgroundColor:"#"+n.color},"fac92f"!==n.color.toLowerCase()&&(o.className+=" colored-mention-icon")),(0,s.h)("div",Rie({},r,{className:"mention-item",ref:function(r){e.onMentionRef(r,t,n)},onClick:e.onItemMouseClick,onMouseMove:e.onItemMouseMove}),(0,s.h)("div",o,n.icon?(0,s.h)("img",{className:"mention-item-icon-image",src:n.icon}):e.getMentionIcon(t.toLowerCase(),n.name,n.object_id)),(0,s.h)("div",{className:"mention-item-name","data-mention-object_id":n.object_id},n.name))})),"note"===t&&u.length>0?u.map((function(n){var r=n.path?Vie({},Gr.qZ,n.path):{};return(0,s.h)("div",Rie({},r,{className:"mention-item",ref:function(r){e.onMentionRef(r,t,n)},onClick:e.onItemMouseClick,onMouseMove:e.onItemMouseMove}),(0,s.h)("div",{className:"mention-item-icon"},e.getMentionIcon(t.toLowerCase(),n.name,n.object_id)),(0,s.h)("div",{className:"mention-item-name","data-mention-object_id":n.object_id},n.name))})):null,_&&"note"===t?v:null,_&&"folder"===t?b:null),""===o&&i!==t&&(!a[t]||a[t]>g[t].length)?(0,s.h)("div",{className:"mention-item mention-view-all-items-button no-multiselect","data-category":t,onClick:function(n){n.preventDefault(),e.onViewAllClick(n,t)},onMouseMove:e.onItemMouseMove},(0,s.h)("div",{className:"mention-item-icon"},function(e){switch(e){case"user":return(0,s.h)(ct.GPC,null);case"workspace":return(0,s.h)(ct.FOt,null);case"folder":return(0,s.h)(ct.PUC,null);case"note":return(0,s.h)(ct.F1B,null)}}(t.toLowerCase())),(0,s.h)("div",{className:"mention-item-name"},e.props.i18n.get("user"===t?"mention.show_all_users":"mention.show_all"))):null)})),d?(0,s.h)("span",{className:"next-notes-loader"},(0,s.h)(ey(),null)):null),f="list"}return(0,s.h)("div",{className:"mention-search-scroll "+f,ref:this.onScrollNodeRef},(0,s.h)("div",{className:"mention-list",ref:this.onDomRef,onScroll:this.onListScroll,onMouseDown:this.onListMouseDown,onMouseWheel:this.onListMouseWheel},p))}}])&&jie(t.prototype,n),r&&jie(t,r),i}(s.wA);function Xie(){return(Xie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Jie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jie(Object(n),!0).forEach((function(t){aae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tae(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return nae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nae(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function nae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rae(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function oae(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){rae(i,r,o,a,s,"next",e)}function s(e){rae(i,r,o,a,s,"throw",e)}a(void 0)}))}}function iae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sae(e){var t={};for(var n in e){var r=e[n];r.length>0&&(t[n]=r)}return t}var lae=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),aae(this,"getLastItems",oae(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.options.getLastItems();case 2:return t=e.sent,r={},t.totalAmount&&(r=Object.assign({},t.totalAmount),delete t.totalAmount),e.abrupt("return",{items:sae(t),totalAmount:r});case 6:case"end":return e.stop()}}),e)})))),aae(this,"searchItems",function(){var e=oae(regeneratorRuntime.mark((function e(t){var r,o,i,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=a.length>1&&void 0!==a[1]?a[1]:null,o=a.length>2&&void 0!==a[2]?a[2]:n.maxNotesPerQuery,n.options.searchItems){e.next=4;break}return e.abrupt("return",{});case 4:return e.next=6,n.options.searchItems(t,r,o);case 6:return i=e.sent,e.abrupt("return",sae(i));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),aae(this,"getNextNotes",(function(e,t,r){return n.options.getNextNotes(e,t,r)})),aae(this,"getUserAvatar",(function(e){return null})),aae(this,"onMentionClick",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;n.isMethodImplemented("onMentionClick")&&n.options.onMentionClick(e,t,r)})),aae(this,"onViewAll",(function(e,t){var r=n.container;n.render(r,!0,{loading:!0}),n.session.viewAll=t,e||t?n.searchItems(e.toLowerCase(),t).then((function(o){n.render(r,!0,{items:o,query:e,viewAll:t})})).catch((function(e){e instanceof Oie?n.render(r,!0,{items:e}):console.log(e)})):n.getLastItems().then((function(t){n.render(r,!0,{items:t.items,query:e,recent:!0,totalAmount:t.totalAmount}),n.onMentionsResolve(t.items)})).catch((function(e){e instanceof Oie?(n.render(r,!0,{items:e}),n.onMentionsResolve(e)):console.log(e)}))})),aae(this,"onMentionQuery",(function(e,t){if(n.session){var r=n.container;n.render(r,!0,{loading:!0}),""!==e||t?n.searchItems(e.toLowerCase(),t).then((function(o){n.render(r,!0,{items:o,query:e,viewAll:t}),n.onMentionsResolve(o)})).catch((function(e){e instanceof Oie?(n.render(r,!0,{items:e}),n.onMentionsResolve(e)):console.log(e)})):n.getLastItems().then((function(t){n.render(r,!0,{items:t.items,query:e,recent:!0,totalAmount:t.totalAmount}),n.onMentionsResolve(t.items)})).catch((function(e){e instanceof Oie?(n.render(r,!0,{items:e}),n.onMentionsResolve(e)):console.log(e)}))}})),aae(this,"pasteMention",(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=n.session.anchorBlot,o=n.session.queryStartIndex-1,i=n.session.queryLength+1,a=[{retain:o},{delete:i}],s=[],l=[],c={},u=tae(t);try{for(u.s();!(e=u.n()).done;){var d=e.value;if(d.object_id){if(-1!==l.indexOf(d.object_id))continue;l.push(d.object_id)}if("date"===d.type)"custom"===d.object_id&&n.editor.plugins.dateManager&&n.editor.plugins.dateManager.openDatePicker()?console.info("Use native date picker"):(window.customDateId=me(),s.push({insert:{date:{dateId:window.customDateId,value:n.getDateTimestamp(d.object_id),format:"now"===d.object_id?{showTime:!0}:null,name:d.name}}}));else{var p={type:d.type,object_id:d.object_id,id:UE(),name:d.name};c[d.object_id]={type:d.type,name:d.name},d.workspace_id&&(p.workspace_id=d.workspace_id,c[d.object_id].workspace_id=d.workspace_id);var f={insert:{mention:p}};s.push(f)}n.params.mentionMode&&"table"===n.params.mentionMode||s.push({insert:" "})}}catch(e){u.e(e)}finally{u.f()}if(a.push.apply(a,s),n.cache.update(c),r.applyForCharacters(a),!n.params.mentionMode||"table"!==n.params.mentionMode){var h={index:r.offset(n.scroll)+o+2*t.length,length:0};n.scroll.selection.setRange(h)}n.end(t)})),aae(this,"scrollToMention",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.scrollingContainer,o=n.scroll.domNode.querySelector('[data-mention-id="'+e+'"]');if(!o)return console.warn("Could not find mention with id",e);var i=re(o);if(!i)return console.warn("Could not find blot for node",o);var a=(i=te(i)).getWrapper().domNode,s={node:a,highlightClass:"highlighted-block",timeout:3e3};(0,H.dp)(r,o,t&&s||!1,!0)})),aae(this,"onCreateAndPasteMention",function(){var e=oae(regeneratorRuntime.mark((function e(t,r){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o="note"===t?"createAndResolveNote":"createAndResolveFolder",e.next=3,n[o](r);case 3:(i=e.sent)?n.pasteMention([{type:t,object_id:i.object_id,name:i.name||r}]):n.end();case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),aae(this,"end",(function(e){n.session&&n.session.destroy(),n.session=null,n.failedQuery=0,n.renderListCoords=null;var t=n.container;n.render(t),n.directionOfFirstRender=null,"function"==typeof n.params.onMentionEnd&&n.params.onMentionEnd(e),setTimeout((function(){t.removeAttribute("style")}),200)})),aae(this,"start",function(){var e=oae(regeneratorRuntime.mark((function e(t,r){var o,i,a,s,l,c,u,d,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=p.length>2&&void 0!==p[2]?p[2]:{},n.options.enabled){e.next=3;break}return e.abrupt("return");case 3:i=n.scroll.selection.getRange()[1].native,n.params=o,n.session=new pie({anchor:t,queryStartIndex:r.index,manager:n}),i&&(a=t.domNode.getBoundingClientRect(),(s=Array.from(i.getClientRects())[0])&&a&&(l=s.x-a.x,c=s.y-a.y,u=le(t.domNode,n.scrollingContainer),n.renderListCoords={x:u.x+l,y:u.y+c,lineHeight:s.height},n.adjustPositionContinuously()),d=n.container,n.render(d,!0,{loading:!0}),n.getLastItems().then((function(e){n.render(d,!0,{items:e.items,query:"",recent:!0,totalAmount:e.totalAmount})})).catch((function(e){e instanceof Oie?n.render(d,!0,{items:e}):console.log(e)})));case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),aae(this,"updateCache",oae(regeneratorRuntime.mark((function e(){var t,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.cache.getAll(),console.log("Cached mentions: ",t),!n.isMethodImplemented("updateMentionTitles")){e.next=7;break}return e.next=5,n.options.updateMentionTitles(t);case 5:if((r=e.sent)&&Object.keys(r).length){for(i in o={},t)r[i]&&(o[i]=eae(eae({},t[i]),{},{name:r[i]}));n.cache.update(o)}case 7:case"end":return e.stop()}}),e)})))),this.editor=o,this.scroll=r,this.options=a,this.cache=new vie(this.editor),void 0===this.options.enabled&&(this.options.enabled=!0),this.MentionListComponent=this.options.MentionListComponent||Qie,this.session=null,this.failedQuery=0,this.initContainer(),this.maxNotesPerQuery=20,this.renderListCoords=null,this.scrollingContainer=this.editor.getScrollingContainer(),this.updateCache()}var t,n,r;return t=e,(n=[{key:"initContainer",value:function(){this.container||(this.container=document.createElement("div"),this.container.id="mentions-search-container",this.editor.scrollingContainer.appendChild(this.container),this.render(this.container))}},{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"getUserInfo",value:function(e,t){return this.isMethodImplemented("getUserInfo")?this.options.getUserInfo(e,t):null}},{key:"getFolderInfo",value:function(e,t){return this.isMethodImplemented("getFolderInfo")?this.options.getFolderInfo(e,t):null}},{key:"getNoteTeaser",value:function(e,t){return this.isMethodImplemented("getNoteTeaser")?this.options.getNoteTeaser(e,t):null}},{key:"getWorkspaceInfo",value:function(e){return this.isMethodImplemented("getWorkspaceInfo")?this.options.getWorkspaceInfo(e):null}},{key:"createAndResolveNote",value:function(e){return this.isMethodImplemented("createNote")?this.options.createNote(e):null}},{key:"createAndResolveFolder",value:function(e){return this.isMethodImplemented("createFolder")?this.options.createFolder(e):null}},{key:"onMentionsResolve",value:function(e){if(e instanceof Oie&&this.failedQuery>=0)this.end();else if(!Object.keys(e).length){if(this.failedQuery>=2)return void this.end();this.failedQuery++}}},{key:"getDateTimestamp",value:function(e){var t=Date.now(),n=Yn(t);return"now"===e?t:"today"===e?n:"tomorrow"===e?n+864e5:e}},{key:"getMentionTitle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return!!this.isMethodImplemented("getMentionTitle")&&this.options.getMentionTitle(e,t,n)}},{key:"render",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.MentionListComponent;(0,s.sY)((0,s.h)(dt.Z,{transitionName:"mention-list",transitionEnterTimeout:200,transitionLeaveTimeout:200},t&&this.session?(0,s.h)(r,Xie({queryString:this.session.queryString,getUserAvatar:this.getUserAvatar,pasteMention:this.pasteMention,maxNotesPerQuery:this.maxNotesPerQuery,searchItems:this.searchItems,wantsToClose:this.end,editor:this.editor,i18n:this.editor.plugins.i18n,platform:this.editor.platform,onViewAll:this.onViewAll,session:this.session,getNextNotes:this.getNextNotes,onCreateAndPasteMention:this.onCreateAndPasteMention},n,{options:this.options})):null),e)}},{key:"adjustPositionContinuously",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=function t(){e.renderListCoords&&e.container&&(e.updatePosition(),requestAnimationFrame(t))};t?cancelAnimationFrame(n):n()}},{key:"updatePosition",value:function(){var e=this.scrollingContainer!==this.editor.scrollingContainer&&le(this.editor.scrollingContainer,this.scrollingContainer)||{x:0,y:0},t=this.renderListCoords,n=t.x,r=t.y,o=t.lineHeight;n-=e.x,r-=e.y;var i=this.container.getBoundingClientRect(),a=i.width,s=i.height,l=this.scrollingContainer.getBoundingClientRect(),c=l.height+this.scrollingContainer.scrollTop-e.y-r-o,u=r-this.scrollingContainer.scrollTop;u+=this.scrollingContainer.scrollTop>=e.y&&e.y||0;var d=l.width-n,p=this.container.querySelector(".mention-search-scroll");"top"===this.directionOfFirstRender||u>c&&!this.directionOfFirstRender?(u<s?p&&!p.style.maxHeight&&(p.style.maxHeight=u+"px",this.container.style.top=r-u+"px"):this.container.style.top=r-s+"px",this.directionOfFirstRender="top"):(c<s&&p&&!p.style.maxHeight&&(p.style.maxHeight=c+"px"),this.container.style.top=r+o+"px",this.directionOfFirstRender="bottom"),this.container.style.left=n>d&&n>a&&d<a?n-a+"px":n+"px"}}])&&iae(t.prototype,n),r&&iae(t,r),e}();function cae(e){return function(e){if(Array.isArray(e))return pae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||dae(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 uae(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=dae(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function dae(e,t){if(e){if("string"==typeof e)return pae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pae(e,t):void 0}}function pae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mae=function(){function e(t){var n=this,r=(t.scroll,t.editor);t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),hae(this,"yjsMapsObserver",(function(e){var t,r=uae(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o.keysChanged&&o.keysChanged.has("attachmentGlobalId")){var i=o.target;if(i&&i.get){var a=i.get("attachmentGlobalId");a&&n.addedIds.add(a)}}}}catch(e){r.e(e)}finally{r.f()}})),hae(this,"onBlotRemoved",(function(e){var t=e.id;try{var r=n.editor.store.getMap(t);if(!r)return;var o=[];if("table"===r.get("type")){var i,a=uae(n.editor.parchment.query("table").getAttachments(n.editor,r));try{for(a.s();!(i=a.n()).done;){var s=i.value,l=n.editor.store.getMap(s);if(l){var c=l.get("attachmentGlobalId");c&&(o.push(c),n.removedIds.add(c))}}}catch(e){a.e(e)}finally{a.f()}}var u=r.get("attachmentGlobalId");u&&(n.removedIds.add(u),o.push(u)),o.length&&n.emitAttachmentsUpdates([u],{emitRestore:!1})}catch(e){console.error("Error in AttachmentWatcher.onBlotRemoved: ",e)}})),hae(this,"onEditorExec",(function(e){var t=e.action,r=e.params;"convert-blot"===t&&r.attachmentGlobalId&&(n.changedIds.set(r.attachmentGlobalId,r.type),n.emitAttachmentsUpdates())})),hae(this,"onEditorUndoRedo",(function(){var e,t=Array.from(new Set([].concat(cae(n.removedIds),cae(n.changedIds),cae(n.addedIds)))),r=n.editor.findBlotsWithAttachment(t),o=new Set,i=uae(r);try{for(i.s();!(e=i.n()).done;){var a=e.value.attachmentGlobalId;o.add(a)}}catch(e){i.e(e)}finally{i.f()}var s,l=uae(n.addedIds);try{for(l.s();!(s=l.n()).done;){var c=s.value;o.has(c)||n.removedIds.add(c)}}catch(e){l.e(e)}finally{l.f()}n.emitAttachmentsUpdates(void 0,{blotsWithAttachments:r})})),hae(this,"onAttachmentCleared",(function(e){var t=e.attachmentGlobalId;n.removedIds.add(t)})),this.editor=r,this.removedIds=new Set,this.changedIds=new Map,this.addedIds=new Set,this.editor.on(vpe,this.onBlotRemoved),this.editor.on(_pe,this.onAttachmentCleared),this.editor.on("exec",this.onEditorExec),this.editor.on("undo",this.onEditorUndoRedo),this.editor.on("redo",this.onEditorUndoRedo),this.editor.store.blocks.observeDeep(this.yjsMapsObserver)}var t,n,r;return t=e,(n=[{key:"emitAttachmentsUpdates",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.editor.emitter.listenerCount(wpe)){var n=this.getAttachmentsUpdates(e,t);Object.keys(n).length>0&&this.editor.emitter.emit(wpe,n)}}},{key:"getAttachmentsUpdates",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new Set(this.removedIds),r={};e=e||Array.from(new Set([].concat(cae(this.removedIds),cae(this.changedIds))));var o,i=t.blotsWithAttachments||this.editor.findBlotsWithAttachment(e),a=uae(i);try{for(a.s();!(o=a.n()).done;){var s=o.value,l=s.attachmentGlobalId,c=s.blotName;n.delete(l),this.removedIds.has(l)&&!1!==t.emitRestore&&(r[l]={type:"restore"}),this.changedIds.has(l)&&(r[l]={type:"blotChange",blotName:c})}}catch(e){a.e(e)}finally{a.f()}var u,d=uae(n.values());try{for(d.s();!(u=d.n()).done;){var p=u.value;r[p]={type:"delete"}}}catch(e){d.e(e)}finally{d.f()}return r}}])&&fae(t.prototype,n),r&&fae(t,r),e}();function gae(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yae(e,t)}(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 yae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var bae=["light","dark","brand-dark-ios"],_ae=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"scrollMapObserver",(function(){if(!n._localSaved){var e=n._getCurrentStyles(),t=n.scroll.map.get("style"),r=n.scroll.map.get("size");t===e.style&&r===e.size||n._applyStyles({size:r||e.size,style:t||e.style})}})),this.editor=o,this.scroll=r,this.options=i||{},this._localSaved=!1,this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this.options.style||this.scroll.map.get("style")||"normal",t=this.options.size||this.scroll.map.get("size")||"normal";this._applyStyles({size:t,style:e}),this.editor.store.observe(this.scroll.map,this.scrollMapObserver)}},{key:"_getCurrentStyles",value:function(){for(var e,t,n=0,r=Array.from(this.scroll.domNode.classList);n<r.length;n++){var o=r[n];0===o.indexOf("size-")&&(e=o.replace("size-","")),0===o.indexOf("style-")&&(t=o.replace("style-",""))}return{size:e,style:t}}},{key:"_applyStyles",value:function(e){var t=e.size,n=e.style,r=this._getCurrentStyles();r.size&&this.scroll.domNode.classList.remove("size-"+r.size),r.style&&this.scroll.domNode.classList.remove("style-"+r.style),this.scroll.domNode.classList.add("size-"+t),this.scroll.domNode.classList.add("style-"+n),this.editor.emit(Spe,{size:t,style:n})}},{key:"getStyle",value:function(){return this._getCurrentStyles()}},{key:"setStyle",value:function(e){var t=this,n=e.size,r=e.style,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._applyStyles({size:n&&n.toLowerCase()||this._getCurrentStyles().size||"normal",style:r&&r.toLowerCase()||this._getCurrentStyles().style||"normal"}),o?this.editor.store.transaction((function(){n&&t.scroll.map.get("size")!==n&&t.scroll.map.set("size",n),r&&t.scroll.map.get("style")!==r&&t.scroll.map.set("style",r)}),{action:"setStyle"}):this._localSaved=!0}},{key:"setTheme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";if(bae.includes(e)){var t=document.body.getElementsByClassName("editor-root-dialog")[0],n=Array.from(this.editor.container.classList).filter((function(e){return 0===e.indexOf("theme-")})),r=gae(n,1),o=r[0];o&&(this.editor.container.classList.remove(o),t&&t.classList.remove(o)),this.editor.container.classList.add("theme-"+e),t&&t.classList.add("theme-"+e),this.editor.emitter.emit("set-theme",{theme:e})}else console.error('Theme "'+e+'" is not supported with editor')}},{key:"getTheme",value:function(){var e=gae(Array.from(this.editor.container.classList).filter((function(e){return 0===e.indexOf("theme-")})),1)[0],t=e&&e.replace("theme-","")||null;return t&&"undefined"!==t&&void 0!==t||(t=document.body.children[0]&&document.body.children[0].classList[1]&&document.body.children[0].classList[1].replace("theme-","")||"light"),t}},{key:"setFocusMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];console.log("Focus mode: ",e),this.editor.emitter.emit("set-focus-mode",{mode:e})}},{key:"getFocusMode",value:function(){var e=this.editor.scroll.props.focusMode;return void 0===e&&(e=!1),e}}])&&vae(t.prototype,n),r&&vae(t,r),e}(),wae=n(14016);function Cae(e){return(Cae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Sae(){return(Sae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kae(e,t,n){return t&&xae(e.prototype,t),n&&xae(e,n),e}function Oae(e,t){return(Oae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Rae(e);if(t){var o=Rae(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Aae(this,n)}}function Aae(e,t){if(t&&("object"===Cae(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Pae(e)}function Pae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rae(e){return(Rae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Iae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mae=parseInt(wae.professionTransitionDuration),Nae=function(e){!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}}),t&&Oae(e,t)}(n,e);var t=Tae(n);function n(){var e;return Eae(this,n),Iae(Pae(e=t.call(this)),"onProfessionChange",(function(t){e.setState((function(){return{profession:t.target.value}}))})),Iae(Pae(e),"onSubmit",(function(){e.props.onSubmit(e.state.profession)})),Iae(Pae(e),"onCancel",(function(){e.props.onCancel()})),Iae(Pae(e),"preventDefault",(function(e){e.preventDefault})),e.state={profession:""},e}return kae(n,[{key:"render",value:function(){var e=this.props.i18n,t=this.state.profession,n={};return t||(n.disabled=!0),(0,s.h)(pe.Pj,null,(0,s.h)("div",{className:"profession-ask"},(0,s.h)("div",{className:"close",onMouseDown:this.preventDefault,onClick:this.onCancel},(0,s.h)(ct.WcQ,null)),(0,s.h)("div",{className:"left-part"},(0,s.h)("div",{className:"icon-templates"},(0,s.h)(ct.guv,null))),(0,s.h)("div",{className:"right-part"},(0,s.h)("div",{className:"title"},(0,s.h)(pe.xv,{id:"profession_ask.title"})),(0,s.h)("div",{className:"text"},(0,s.h)(pe.xv,{id:"profession_ask.text"})),(0,s.h)("div",{className:"input"},(0,s.h)("div",{className:"pre-text"},(0,s.h)(pe.xv,{id:"profession_ask.i_am_a"})),(0,s.h)("input",{onInput:this.onProfessionChange,value:t,className:"dialog-input",type:"text",placeholder:e.get("profession_ask.placeholder")})),(0,s.h)("div",{className:"button-container"},(0,s.h)("button",Sae({className:"button button-primary"},n,{onClick:this.onSubmit}),(0,s.h)(pe.xv,{id:"profession_ask.request_template"}))))))}}]),n}(s.wA),Dae=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;Eae(this,e),Iae(this,"onScrollUpdate",(function(){n.container&&(n.editor.isEmpty()||n.hide())})),Iae(this,"onSubmit",(function(e){if(n.hide(),!n.options.onSubmit)return console.warn("professionAsk.onSubmit is not set, skipping");n.options.onSubmit(e),n.editor.plugins.notificationManager.toast(n.editor.plugins.i18n.get("profession_ask.sucess_message"))})),Iae(this,"onCancel",(function(){if(n.hide(),!n.options.onCancel)return console.warn("professionAsk.onCancel is not set, skipping");n.options.onCancel()})),this.editor=o,this.scroll=r,this.options=i||{},this.container=null,this.animationFrameRequest=null,!0===this.options.enable&&(this.editor.emitter.once("editor-ready",(function(){n.show()})),this.editor.on("SCROLL_UPDATE",this.onScrollUpdate))}return kae(e,[{key:"adjustPosition",value:function(){var e=this.editor.scroll.domNode.getBoundingClientRect(),t=this.editor.container.getBoundingClientRect();this.container.style.left=e.left-t.left-16+"px"}},{key:"adjustPositionContinuously",value:function(){var e=this;this.animationFrameRequest=requestAnimationFrame((function t(){e.container&&(e.adjustPosition(),e.animationFrameRequest=requestAnimationFrame(t))}))}},{key:"hide",value:function(){var e=this;this.editor.off("SCROLL_UPDATE",this.onScrollUpdate),this.container.classList.add("hidden"),setTimeout((function(){e.container.parentNode.removeChild(e.container),e.container=null}),Mae)}},{key:"show",value:function(){this.editor.isEmpty()&&(this.container=document.createElement("div"),this.container.classList.add("profession-ask-container"),this.editor.editorBody.appendChild(this.container),(0,s.sY)((0,s.h)(Nae,{i18n:this.editor.plugins.i18n,onSubmit:this.onSubmit,onCancel:this.onCancel}),this.container),this.adjustPositionContinuously())}},{key:"destroy",value:function(){}}]),e}();function jae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Lae=function(){function e(t){var n=t.editor,r=t.options,o=void 0===r?{}:r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=n,this.options=o||{}}var t,n,r;return t=e,(n=[{key:"setReminder",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.options.setReminder?this.options.setReminder(e,t):console.warn("has no setReminder function",e,t)}},{key:"onSetReminder",value:function(e){this.options.onSetReminder?this.options.onSetReminder(e):console.warn("has no onSetReminder function",e)}},{key:"deleteReminder",value:function(e,t){!0!==this.editor.destroyed&&(this.options.deleteReminder?this.options.deleteReminder(e,t):console.warn("has no deleteReminder function",e))}}])&&jae(t.prototype,n),r&&jae(t,r),e}();function Bae(e){return(Bae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fae(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Hae(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Uae(e){return function(e){if(Array.isArray(e))return Vae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hae(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 Hae(e,t){if(e){if("string"==typeof e)return Vae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vae(e,t):void 0}}function Vae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var qae="ImageBlot",Gae="FileBlot",Wae="HTMLBlot",Yae="TableAttachment",Zae=function(){function e(t){var n=t.editor,r=t.scroll,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=n,this.scroll=r,this.options=o||{}}var t,n,r;return t=e,r=[{key:"getTableImageAttachments",value:function(e,t){var n,r=null===(n=e.getContent())||void 0===n?void 0:n.content,o=[];if(r){var i=r.rows;if(i&&i.length){var a,s=Fae(i);try{for(s.s();!(a=s.n()).done;){var l=a.value.children;if(l&&l.length){var c,u=Fae(l);try{for(u.s();!(c=u.n()).done;){var d=c.value;if("attachment"===d.cellType&&d.attachments&&d.attachments.length){var p,f=Fae(d.attachments);try{for(f.s();!(p=f.n()).done;){var h,m,g=p.value,y=t.findById(g);if(y&&"image"===(null==y||null===(h=y.props)||void 0===h||null===(m=h.attachment)||void 0===m?void 0:m.type)){var v=Object.assign({},y.props.attachment);v.blotType=Yae,y.disallowDownloading&&(v.disallowDownloading=!0),o.push(v)}}}catch(e){f.e(e)}finally{f.f()}}}}catch(e){u.e(e)}finally{u.f()}}}}catch(e){s.e(e)}finally{s.f()}}}return o}},{key:"normalize",value:function(e,t){var n=null;if("object"!==Bae(e)||Array.isArray(e)||(e.global_id?n=e.global_id:console.error('ImageManager error: attachment object has no value with key "global_id"')),"string"!=typeof e)console.error("ImageManager error: attachmentGlobalId must be a string");else if(fl(e)||e.startsWith("/box/attachment/")){var r=t.find((function(t){return t.url===e}));if(!r)return void console.error('ImageManager error: attachment with url "'.concat(e,'" not found'));n=r.global_id}else n=e;return n||console.error("ImageManager error: first argument must be an attachment object or attachmentGlobalId string or image url"),n}}],(n=[{key:"getAllImageAttachmnets",value:function(){var t=this;return this.scroll.descendants((function(e){return e instanceof kb||e instanceof _$||e instanceof jF||e instanceof YI})).reduce((function(n,r){if(r instanceof kb&&r.props&&r.props.attachment){var o=Object.assign({},r.props.attachment);o.blotType=qae;var i=r.getWrapper().caption;if(i.props.show&&(o.caption=i.getText()),r.disallowDownloading&&(o.disallowDownloading=!0),r.map.get("unsplash")){o.isPseudoImg=!0;var a=r.map.get("originalSize");a&&(o.width=a.width,o.height=a.height)}n.push(o)}if(r instanceof jF&&r.props&&r.props.attachment&&"image"===r.props.attachment.type){var s=Object.assign({},r.props.attachment);s.blotType=Gae;var l=r.getWrapper().caption;l.props.show&&(s.caption=l.getText()),r.disallowDownloading&&(s.disallowDownloading=!0),n.push(s)}if(r instanceof YI){var c=e.getTableImageAttachments(r,t.editor);c&&c.length&&n.push.apply(n,Uae(c))}if(r instanceof _$){for(var u=Object.values(r.cache.attachments),d=0,p=u;d<p.length;d++)p[d].blotType=Wae;n.push.apply(n,u)}return n}),[])}},{key:"getNextImageAttachment",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n&&n.length?n:this.getAllImageAttachmnets(),o=e.normalize(t,r);if(o){var i=r.findIndex((function(e){return e.global_id===o}));if(!(i<0)){var a=i===r.length-1?0:i+1;return r[a]}console.error('ImageManager error: attachment with global_id "'.concat(o,'" not found'))}}},{key:"getPrevImageAttachment",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=n&&n.length?n:this.getAllImageAttachmnets(),o=e.normalize(t,r);if(o){var i=r.findIndex((function(e){return e.global_id===o}));if(!(i<0)){var a=0===i?r.length-1:i-1;return r[a]}console.error('ImageManager error: attachment with global_id "'.concat(o,'" not found'))}}},{key:"enterFullSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!1;return this.options.enterFullSize&&void 0===(n=this.options.enterFullSize(e,t))&&(n=!0),n}}])&&zae(t.prototype,n),r&&zae(t,r),e}();function Kae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var $ae=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"isServiceSupported",(function(e){return!!(n.options.supportedServices&&n.options.supportedServices instanceof Array)&&n.options.supportedServices.includes(e)})),this.editor=o,this.scroll=r,this.options=i||{}}var t,n,r;return t=e,(n=[{key:"chooseFile",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.service?this.isServiceSupported(e.service)?this.options.chooseFile(e):(console.error('Service "'+e.service+'" is not supported'),!1):(console.error("#RemoteFileManager.chooseFile: sevice parameter in options required"),!1)}}])&&Kae(t.prototype,n),r&&Kae(t,r),e}(),Qae=n(28480);function Xae(e){return(Xae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jae(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||ese(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 ese(e,t){if(e){if("string"==typeof e)return tse(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tse(e,t):void 0}}function tse(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ose=tw().linkFormAppearDuration,ise={note:"link_to_note",folder:"link_to_folder",workspace:"link_to_workspace"},ase=Object.assign({},TH,AH,PH),sse=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rse(this,"onEditorDeltaChange",(function(e){"user"===e.source&&n.hide()})),rse(this,"onUndo",(function(){n.hide()})),rse(this,"onChooseUrl",(function(){var e=n.props,t=e.blot,r=e.linkBlot,o=e.blotRange,i=e.url,a=n.props;if(n.hide(),function(e){return/^https?.*$/g.test(e)}(i)){var s=[{retain:o.index},{insert:" "}];t.applyForCharacters(s),n.scroll.selection.setRange({index:t.offset(n.scroll)+o.index+1,length:0})}else n.setLoading(a),n.editor.plugins.bookmarkManager.getBookmarkMeta(i,5e3).then((function(e){var o=e.protocol?e.protocol+i:"http://"+i;n.changeLinkWithCorrectRange(t,r,o,o,!0)})).catch((function(e){n.editor.plugins.notificationManager.toast(n.editor.plugins.i18n.get("convert_link.convert_error")),console.error(e)})).finally((function(){n.setLoading(a,!1)}))})),rse(this,"onChooseTitle",(function(){var e=n.props,t=e.blot,r=e.linkBlot,o=e.url,i=n.props;n.hide(),n.setLoading(i),n.editor.plugins.bookmarkManager&&n.editor.plugins.bookmarkManager.getBookmarkMeta(o,5e3).then((function(e){if(e.name&&e.name!==o){var i=e.name;n.changeLinkWithCorrectRange(t,r,i,o,!0)}})).catch((function(e){n.editor.plugins.notificationManager.toast(n.editor.plugins.i18n.get("convert_link.convert_error")),console.error(e)})).finally((function(){n.setLoading(i,!1)}))})),rse(this,"onChooseMention",(function(){var e=n.props,t=e.blot,r=e.linkBlot,o=e.url,i=e.convertMentionParams,a=i&&i.type?i.type:"mention",s=n.props;n.hide(),n.isMethodImplemented("convertUrl")&&(n.setLoading(s),n.options.convertUrl(o,a).then((function(e){var o=r.offset(n.scroll),i=r.offset(t),a=r.domNode.innerText,s=Jae(n.scroll.selection.getRange(),1)[0];s.index&&s.index>o&&(s.index-=a.length-2);var l={insert:{mention:{type:e.type,object_id:e.object_id,name:e.name,id:UE()}}};e.workspace_id&&(l.insert.mention.workspace_id=e.workspace_id);var c=[{retain:i},{delete:a.length},l,{insert:" "}];t.map.get("characters").applyDelta(c),n.scroll.selection.setRange(s)})).catch((function(e){n.editor.plugins.notificationManager.toast(n.editor.plugins.i18n.get("convert_link.convert_error")),console.error(e)})).finally((function(){n.setLoading(s,!1)})))})),rse(this,"onChooseEmbed",(function(){n.convertLinkTo("remote-frame"),n.hide()})),rse(this,"onChooseBookmark",(function(){n.convertLinkTo("bookmark"),n.hide()})),rse(this,"onChooseButton",(function(){var e=n.props,t=e.blot,r=e.linkBlot,o=e.url,i=r.offset(t),a=n.editor.plugins.i18n.get("convert_link.button"),s=[{retain:i},{delete:r.length()}],l=[{retain:i},{insert:a,attributes:{link:o}}];t.applyForCharacters(s),t.applyForCharacters(l),n.scroll.selection.setRange({index:t.offset(n.scroll)+i,length:a.length}),gi(n.editor,{focusField:"title"},"addButton","editButton"),n.hide()})),rse(this,"onMenuItemEnter",(function(e){if(n.container){var t=e.target.closest(".menu-item"),r={domNode:n.container};new Qae.Z({popup:r,selector:".menu-item",selectedClass:"menu-item-selected"}).selectItems(t)}})),rse(this,"onEnterKeyAction",(function(e,t){e.preventDefault(),t&&t.hasAttribute("data-convert-to")&&n.getItems()[t.getAttribute("data-convert-to")].action()})),rse(this,"wantsToClose",(function(){n.hide()})),this.editor=r,this.scroll=o,this.options=i||{}}var t,n,r;return t=e,(n=[{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"onPasteLink",value:function(e,t,n){if(!(0,ri.s9)()){var r=Jae(e.descendant(Av,t.index-1),1)[0];if(r){var o=r.domNode,i=!1;for(var a in ase)if(ase[a].pattern&&ase[a].pattern.test(n)){i=a;break}this.props={blot:e,blotRange:t,url:n,linkNode:o,linkBlot:r,service:i},this.show()}}}},{key:"changeLinkWithCorrectRange",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=t.offset(this.scroll),a=t.offset(e),s=t.domNode.innerText,l=this.scroll.selection.getRange(),c=Jae(l,1),u=c[0];if(u.index&&u.index>i){var d=s.length-n.length;u.index-=d,o&&(u.index+=1)}var p=[{retain:a},{insert:n,attributes:{link:r}}];o&&p.push({insert:" "}),e.statics.isTextBlot?e.deleteText(a,s.length):e.deleteAt(a,s.length),e.applyForCharacters(p),this.scroll.selection.setRange(u)}},{key:"convertLinkTo",value:function(e){if(e){var t,n=this.editor.plugins.limitManager,r=this.props,o=r.blot,i=r.blotRange,a=r.url,s=r.service,l=o.length()-1===a.length;if(n&&n.freeze(),!l){var c=[{retain:i.index-a.length},{delete:a.length}];o.applyForCharacters(c)}t=o instanceof dp?o.container.splitWithBlot(o.index,e,{src:a,embedType:s&&!PH[s]?s:null}).id:o.container.addBlot(e,{src:a,embedType:s&&!PH[s]?s:null,after:o.id}).id,l&&(o.parent.getTextBlot&&o.parent.getTextBlot()===o?o.parent.remove():o.remove());var u=this.editor.findById(t).getWrapper(),d=u.next;if(d instanceof Tf&&(d=d.children.head),!(d&&d instanceof pc)){var p=u.container.addBlot("paragraph",{after:t}).id;d=this.editor.findById(p)}this.scroll.selection.setRange({index:d.offset(this.scroll),length:0}),n&&n.unfreeze()}}},{key:"getMenuItemParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.editor.plugins.i18n;if("object"!==Xae(e)||!e.type||!e.params||!e.params.type)return!1;switch(e.type){case"mention":return this.props.convertMentionParams=e.params,{title:t.get("convert_link."+ise[e.params.type]),action:this.onChooseMention,icon:ct.ooQ};default:return!1}}},{key:"getItems",value:function(){var e,t,n=this,r=!(!this.isMethodImplemented("getConvertOptionsForUrl")||null===(e=this.props)||void 0===e||!e.url)&&this.options.getConvertOptionsForUrl(this.props.url),o=this.editor.plugins.i18n,i={url:{title:o.get("convert_link.url"),action:this.onChooseUrl,icon:ct.j4Y},title:{title:o.get("convert_link.title"),action:this.onChooseTitle,icon:ct.Rwf},embed:{title:o.get("convert_link.embed"),action:this.onChooseEmbed,icon:null!==(t=n.props)&&void 0!==t&&t.service&&ase[n.props.service].icon?ase[n.props.service].icon:ct.JVE},bookmark:{title:o.get("convert_link.bookmark"),action:this.onChooseBookmark,icon:ct.BZM},button:{title:o.get("convert_link.button"),action:this.onChooseButton,icon:ct.hU}};if(r){var a,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ese(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=this.getMenuItemParams(l);c&&(i[l.type]=c)}}catch(e){s.e(e)}finally{s.f()}}return Array.isArray(this.props.blot.constructor.convertLinkOpts)?Object.keys(i).reduce((function(e,t){return n.props.blot.constructor.convertLinkOpts.includes(t)&&(e[t]=i[t]),e}),{}):i}},{key:"createContainer",value:function(){var e=document.createElement("div");return e.classList.add("convert-link-container"),this.editor.scrollingContainer.appendChild(e),e}},{key:"setLoading",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.linkNode;t?n.classList.add("convert-loading"):n&&(console.log(n),n.classList.remove("convert-loading"))}},{key:"show",value:function(){this.container||(this.container=this.createContainer(),this.render(this.container));var e=this.container;setTimeout(this.render.bind(this,e,!0),0),this.editor.on("delta",this.onEditorDeltaChange),this.editor.on("undo",this.onUndo)}},{key:"hide",value:function(){if(this.editor.off("delta",this.onEditorDeltaChange),this.editor.off("undo",this.onUndo),this.container){var e=this.container;this.container=null,this.render(e),this.props=null,setTimeout((function(){e.parentNode.removeChild(e)}),ose)}}},{key:"render",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var r=this.getItems();if(!Object.keys(r).length)return this.hide();(0,s.sY)((0,s.h)(dt.Z,{transitionName:"link-form",transitionEnterTimeout:ose,transitionLeaveTimeout:ose},n?(0,s.h)(At.Z,{wantsToClose:this.wantsToClose,closeOnEsc:!0,addClassName:"convert-link",anchorNode:this.props.linkNode,anchorOptions:{offset:"1px, 10px",placement:"right-start",behavior:["bottom","top","right-start"],priority:["right","left","bottom","top"],boundariesElement:this.editor.getScrollingContainer(),overflowBoundariesElement:this.editor.getScrollingContainer()},removeOnPopperDestroy:!0,keyNavigation:!0,onEnterAction:this.onEnterKeyAction},Object.keys(r).map((function(e){return(0,s.h)(Cn.Z,{id:e,idAttr:"data-convert-to",icon:r[e].icon,text:r[e].title,menuStyle:"url"===e?"selected":"",onMouseDown:r[e].action,onMenuItemEnter:t.onMenuItemEnter})}))):null),e)}}}])&&nse(t.prototype,n),r&&nse(t,r),e}();function lse(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cse(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lse(Object(n),!0).forEach((function(t){mse(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lse(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function use(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||dse(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 dse(e,t){if(e){if("string"==typeof e)return pse(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pse(e,t):void 0}}function pse(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fse(e){return(fse="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gse=function(){function e(t){var n=t.editor,r=t.scroll,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),mse(this,"getDateFormat",(function(e,t){return t.hasOwnProperty("showTime")&&("string"==typeof e&&(e=JSON.parse("format")),e.showTime=!!t.showTime),e})),this.editor=n,this.scroll=r,this.options=o||{},this.savedPosition=null}var t,n,r;return t=e,(n=[{key:"openDatePicker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!!this.options.openDatePicker&&(this.savedPosition={blot:this.editor.scroll.focusedBlot,range:this.editor.scroll.selection.getRange()[0],blotRange:this.editor.scroll.focusedBlot?this.editor.scroll.selection.getRange({offsetBlot:this.editor.scroll.focusedBlot})[0]:null},this.options.openDatePicker(e))}},{key:"getReminders",value:function(e){var t=e.type,n="table"!==(void 0===t?"":t),r={},o=[];if(e.hasOwnProperty("reminders"))for(var i in e.reminders){var a=e.reminders[i].seconds,s=a/60+"m",l=s;a>=3600&&(l=s=a/3600+"h"),a>=86400&&(l=s=a/86400+"d"),o.push(a),r[i]={value:s,text:l,seconds:a}}return{reminders:o.length?n?JSON.stringify(r):r:"",alerts:o.length?n?JSON.stringify(o):o:""}}},{key:"insertDate",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.info("insertDate",t);var n=["paragraph","listItemBullet","listItemNumber","listItemCheckbox"],r=this.editor,o=this.getReminders(t),i=o.reminders,a=o.alerts;if(t.reminders=i,t.alerts=a,!t.timestamp||!parseInt(t.timestamp))return console.info("params.timestamp is required",t),!1;if(t.dateId){var s=this.getDateBlot(t.dateId);if(this.editor.store.getMap(t.dateId),s&&s.setValue&&!s._isMap)s.setValue(parseInt(t.timestamp)),s.updateDateFormat?s.updateDateFormat(t):t.hasOwnProperty("showTime")&&s.updateFormat({showTime:!!t.showTime}),s.setItem&&("string"!=typeof t.reminders&&"object"!==fse(t.reminders)||(s.setItem("reminders","{}"),s.setItem("alerts","[]"),s.setItem("reminders",t.reminders||{}),s.setItem("alerts",t.alerts||{})));else{if(!s._isMap)return!1;"string"==typeof t.reminders&&(t.reminders=JSON.parse(t.reminders||"{}")),this.editor.store.transaction((function(){if(s.map){s.map.set("timestamp",t.timestamp),t.reminders&&s.map.set("reminders",t.reminders);var n=e.getDateFormat(s.map.get("format")||{},t);s.map.set("format",n)}if(s.ytext){var r=use(s.ytext.toDelta(),1)[0],o=e.getDateFormat(r.insert.date.format||{},t);s.ytext.applyDelta([{delete:1},{insert:{date:cse(cse({},r.insert.date),{},{format:o,timestamp:t.timestamp,value:t.timestamp,reminders:t.reminders})}}])}}),"client")}}else{var l=this.savedPosition&&this.savedPosition.blot||r.scroll.focusedBlot;if(l instanceof YI){var c=l.getSelectionCache.current,u=r.findById(l.id).cellMapByPos(c).get("id"),d=l.childMapByPos(c).get("characters"),p=me();return d.applyDelta([{delete:1},{insert:{date:{dateId:p,format:{showTime:!!t.hasOwnProperty("showTime")&&!!t.showTime},timestamp:parseInt(t.timestamp),value:parseInt(t.timestamp),alerts:t.alerts||[],reminders:"string"==typeof t.reminders?JSON.parse(t.reminders||"{}"):t.reminders||{}}}}]),l.focusableFocus(),l.tableBodyEmbed.fillCellData(c,u,{render:!0}),l.componentOnAction({type:"scroll-to-cell",blotId:u,select:!0}),!0}if(!l)return console.info("No blot focused"),!1;if(!n.includes(l.constructor.blotName))return console.info("Focused blot is not in ".concat(n.join(", "),":"),l.constructor.blotName),!1;var f=this.savedPosition&&this.savedPosition.range||this.editor.scroll.selection.getRange()[0],h=this.savedPosition&&this.savedPosition.blotRange||this.editor.scroll.selection.getRange({offsetBlot:l})[0],m=[];h.index>1&&m.push({retain:h.index-1});var g=me();window.customDateId=g,m.push({insert:{date:{dateId:g,timestamp:parseInt(t.timestamp),format:{showTime:!!t.hasOwnProperty("showTime")&&!!t.showTime},alerts:t.alerts,reminders:t.reminders}}}),l.applyDelta(m),f.index+=2,this.editor.scroll.selection.setRange(f),this.savedPosition=null}return!0}},{key:"deleteDate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.dateId){var t=this.getDateBlot(e.dateId);if(t&&t.removeDate)return t.removeDate(),!0;var n=this.editor.store.getMap(e.dateId);console.info("map",n),n&&this.editor.store.transaction((function(){n.delete("timestamp"),n.delete("reminders")}),"client")}else console.info("params.dateId is required",e);return this.savedPosition=null,!1}},{key:"getDateBlot",value:function(e){var t,n=this.editor;if(e&&!(t=n.findById(e))){var r=n.scroll.domNode.getElementsByClassName("date-content");if(r.length){var o,i=!1,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=dse(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(a.s();!(o=a.n()).done;){var s=o.value;i||s.getAttribute("data-date-dateid")!==e||(i=!0,t=s.__blot&&s.__blot.blot)}}catch(e){a.e(e)}finally{a.f()}}if(!t){var l=n.store.blocks.get(e);if(l){var c=l.get("reminders")||{},u=[];for(var d in c)u.push(c[d].seconds);t=cse(cse({},l.toJSON()),{},{map:l,getReminders:function(){return c},getAlerts:function(){return u.sort()},_isMap:!0})}}t||function(){var r=n.scroll.children.map((function(e){return e})).filter((function(e){return e instanceof yM}));n.scroll.children.map((function(e){return e})).filter((function(e){return e instanceof E0})).forEach((function(e){e.map.get("children").toArray().forEach((function(e){var t=n.findById(e);n.findById(e)instanceof YI&&r.push(t)}))}));var o=[],i=function(e){var t=r[e].id;n.store.blocks.get(t).get("rows").toArray().forEach((function(e){n.store.blocks.get(e).get("children").toArray().forEach((function(e){return e&&o.push({cellId:e,tableId:t})}))}))};for(var a in r)i(a);var s=[];o.forEach((function(e){var t=e.cellId,r=e.tableId,o=n.store.blocks.get(t);"tableCellMention"===o.get("type")&&"mention"===o.get("cellType")&&o.get("children").toArray().forEach((function(e){s.push({ytext:n.store.blocks.get(e).get("characters"),cellId:t,tableId:r})}))})),s.forEach((function(r){var o=r.ytext,i=r.cellId,a=r.tableId,s=n.findById(a).tableBodyEmbed.index.cell[i],l=use(o.toDelta()||[],1)[0],c=(l=void 0===l?{}:l).insert;if(!t&&c&&c.date&&c.date.dateId===e){var u=c.date.reminders||{},d=[];for(var p in u)d.push(u[p].seconds);t=cse(cse({},c.date),{},{getReminders:function(){return c.date.reminders||{}},getAlerts:function(){return d.sort()},_isMap:!0,ytext:o,cellId:i,removeDate:function(){var e;o.applyDelta([{retain:1},{delete:1}]),null===(e=n.findById(a))||void 0===e||e.clearCells(s,{},{render:!0})}})}}))}()}return t||console.info("Date blot not found, dateId:",e),t}},{key:"scrollToDate",value:function(e){var t=this.getDateBlot(e)||{},n=((null==t?void 0:t.parent)||{}).id;if(n&&!t._isMap){this.editor.plugins.scrollSaver.scrollToBlot(n);var r=this.editor.findById(n);r.props.selected=!0,r.render()}else if(t._isMap){var o=this.editor.scroll.children.map((function(e){return e})).filter((function(e){return e instanceof yM}));for(var i in o){var a,s=t.ytext?t.cellId:e;if(null!==(a=this.editor.findById(o[i].id))&&void 0!==a&&a.componentOnAction({type:"scroll-to-cell",blotId:s,select:!0})){n=o[i].id;break}}}return n||console.info("Cant find blot for dateId ".concat(e)),n}}])&&hse(t.prototype,n),r&&hse(t,r),e}();function yse(e){return(yse="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _se(e,t,n){return t&&bse(e.prototype,t),n&&bse(e,n),e}function wse(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}}),t&&Cse(e,t)}function Cse(e,t){return(Cse=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Sse(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kse(e);if(t){var o=kse(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ese(this,n)}}function Ese(e,t){if(t&&("object"===yse(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xse(e)}function xse(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kse(e){return(kse=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ose(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tse=function(e){wse(n,e);var t=Sse(n);function n(){var e;vse(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ose(xse(e=t.call.apply(t,[this].concat(o))),"state",{comments:[]}),e}return _se(n,[{key:"groupCommentsById",value:function(){var e=this.props,t=e.comments,n=e.tableComments,r={},o=[];for(var i in t.filter((function(e){return"cell"!==e.target})).forEach((function(e){var t=e.blotId,n=e.threadId,o=e.target,i=e.count,a=e.resolved,s=e.notFound,l=void 0!==s&&s,c=e.unreadComments,u=void 0===c?0:c;a||l||(r[t]||(r[t]={count:0,treads:[],hasUnread:!1}),"blot"===o&&(r[t].threadId=n),r[t].count+=i,r[t].treads.push(n),u>0&&!r[t].hasUnread&&(r[t].hasUnread=!0))})),r){var a=r[i].threadId;r[i].threadId||(a=r[i].treads[0]),o.push({blotId:i,count:r[i].count,threadId:a,hasUnread:r[i].hasUnread})}var s=function(e){if(!n[e].length)return"continue";var t=n[e].reduce((function(e,t){return e.count+=t.count,!e.hasUnread&&t.unreadComments>0&&(e.hasUnread=!0),e}),{count:0,hasUnread:!1}),r=o.find((function(t){return t.blotId===e}));r?(r.count+=t.count,r.hasUnread||(r.hasUnread=t.hasUnread)):o.push({blotId:e,count:t.count,threadId:n[e][0].threadId,hasUnread:t.hasUnread})};for(var l in n)s(l);this.setState({comments:o})}},{key:"componentDidMount",value:function(){this.groupCommentsById()}},{key:"componentDidUpdate",value:function(e,t,n){e.comments!==this.props.comments&&this.groupCommentsById()}},{key:"render",value:function(){var e=this.props,t=e.editor,n=e.onCommentClick,r=e.countersStyle,o=this.state.comments;return(0,s.h)("div",{className:"comments-counters"},o.map((function(e){return(0,s.h)(Ase,Object.assign({},e,{editor:t,onCommentClick:n,countersStyle:r}))})))}}]),n}(s.wA),Ase=function(e){wse(n,e);var t=Sse(n);function n(e){var r;return vse(this,n),Ose(xse(r=t.call(this,e)),"disableRecycling",(function(){r.nextBase=null})),Ose(xse(r),"onRef",(function(e){r.domNode=e})),Ose(xse(r),"onMouseEnter",(function(){if(!r.editor.editorBody.classList.contains("drag-session")){var e=r.editor.findById(r.props.blotId);e.domNode.classList.contains("highlighted-block")||e.domNode.classList.add("highlighted-block")}})),Ose(xse(r),"onMouseLeave",(function(){var e=r.editor.findById(r.props.blotId);e.domNode.classList.contains("highlighted-block")&&e.domNode.classList.remove("highlighted-block")})),Ose(xse(r),"setCommentPosition",(function(){var e=r.editor.findById(r.props.blotId);if(!e)return console.warn("No blot found with identifier ".concat(r.props.blotId," to update comments counter position"));var t=r.getCommentPosition(e);if(!t.top||!t.left)return console.error("Failed to set the correct position for comment counter of blot ".concat(r.props.blotId));var n=r.editor.options.scale,o=void 0!==n&&0!==n?t.top/n:t.top,i=void 0!==n&&0!==n?t.left/n:t.left;r.domNode.style.top=o+"px",r.domNode.style.left=i+"px"})),r.editor=e.editor,r}return _se(n,[{key:"onCommentClick",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.props.onCommentClick(e,t)}},{key:"getCommentPosition",value:function(e){var t=e.getWrapper().domNode,n=(0,H.vk)(t,this.editor.editorBody),r=n.top,o=n.left+n.width;if(e.onGetCommentPosition){var i=e.onGetCommentPosition({top:r,left:o});r=i.top,o=i.left}if(e.container instanceof f0&&e.container.getWrapper()&&e.container.getWrapper().onGetContentCommentPos){var a=e.container.getWrapper().onGetContentCommentPos({top:r,left:o});r=a.top,o=a.left}return{top:r+=4,left:o+=5}}},{key:"componentDidMount",value:function(){this.setCommentPosition();var e=this.editor.findById(this.props.blotId);e&&e.onUpdateCommentsCount&&e.onUpdateCommentsCount(this.props.count)}},{key:"componentDidUpdate",value:function(){this.setCommentPosition();var e=this.editor.findById(this.props.blotId);e&&e.onUpdateCommentsCount&&e.onUpdateCommentsCount(this.props.count)}},{key:"componentWillUnmount",value:function(){setTimeout(this.disableRecycling);var e=this.editor.findById(this.props.blotId);e&&e.onRemoveCommentsCount&&e.onRemoveCommentsCount()}},{key:"getIcon",value:function(){var e=this.props,t=e.count,n=e.hasUnread,r=["comments-count"];return t>=10&&t<100&&r.push("over-ten"),t>=100&&r.push("over-hundred"),(0,s.h)("div",{className:"comment-counter-icon"+(n?" has-unread-comments":"")},(0,s.h)(ct.zxW,null),(0,s.h)("span",{className:r.join(" ")},t<100?t:"99"))}},{key:"render",value:function(){var e=this,t=this.props,n=t.blotId,r=t.threadId,o=t.countersStyle;if(!this.editor.findById(n))return null;var i=this.getIcon(),a=["comment-counter"];return"mobile"===o&&a.push("comment-counter-mobile"),(0,s.h)("div",{ref:this.onRef,className:a.join(" "),"data-comments-for-blot":n,onClick:function(){e.onCommentClick(n,{threadId:r})},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave},i)}}]),n}(s.wA);function Pse(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Nse(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Rse(){return(Rse=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ise(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Nse(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 Mse(e){return function(e){if(Array.isArray(e))return Dse(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nse(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 Nse(e,t){if(e){if("string"==typeof e)return Dse(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dse(e,t):void 0}}function Dse(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bse={renderCounters:!0,countersStyle:"default",enabled:!1,inlineComments:!1,tableCellComments:!1},Fse=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Lse(this,"onEditorUpdate",(function(){n.ignoreUpdatesRender||(n.comments=n.sortThreads(n.setBlotsForComments(n.comments)),n.render())})),Lse(this,"onEditorProcessResize",(function(){n.ignoreUpdatesRender=!0,n.relIconContainer.classList.add("hidden-rel-icon"),n.render(!1)})),Lse(this,"onEditorProcessResizeEnd",(function(){n.ignoreUpdatesRender=!1,n.relIconContainer.classList.remove("hidden-rel-icon"),n.render()})),Lse(this,"getBlotInlineComments",(function(e){return e.descendants?e.descendants(S6):[]})),Lse(this,"getBlotsWithComments",(function(){var e=[];return function t(r){r.forEach((function(r){if(r.map&&r.map.has("commentThreads")&&e.push({blotId:r.id,threadId:r.map.get("commentThreads")}),function(e){return e instanceof Tf||"toggleWrapper"===e.constructor.blotName||"toggleContent"===e.constructor.blotName||"grid"===e.constructor.blotName||"gridCol"===e.constructor.blotName}(r))t(r.children);else{var o=n.getBlotInlineComments(r).map((function(e){return{blotId:r.id,threadId:e.threadId}}));e=[].concat(Mse(e),Mse(o))}}))}(n.editor.scroll.children),e})),Lse(this,"setBlotsForComments",(function(e){var t=n.getBlotsWithComments(),r=n.scroll.descendants((function(e){return"image"===e.constructor.blotName||"file"===e.constructor.blotName&&e.isImageFile()})),o=Object.values(n.getAllTablesComments(e)).reduce((function(e,t){return e.push.apply(e,Mse(t)),e}),[]);return e.map((function(e){var i=t.find((function(t){return t.threadId===e.threadId}));if(!i&&"image-point"===e.target&&e.attachmentId){var a=Ise(r.filter((function(t){return t.props&&t.props.attachment&&t.props.attachment.global_id===e.attachmentId})),1)[0];a&&(i={blotId:a.id})}return i?(e.blotId=i.blotId,e.notFound=!1):"cell"===e.target&&o.some((function(t){return t.threadId===e.threadId}))?e.notFound=!1:n.editor.findById(e.blotId)&&"text"!==e.target&&"cell"!==e.target||(e.notFound=!0),e}))})),Lse(this,"onEditorMouseMove",(function(e){var t=e.clientX,r=e.clientY,o=n.scroll.domNode.getBoundingClientRect(),i=o.left,a=o.right;t=a<=t?a-1:t;var l=document.elementFromPoint(t,r);if(l===n.scroll.domNode||t<i&&!n.scroll.domNode.contains(l))n.renderCommentIcon(null);else{var c=re(l);if(c){if((c=te(c)).parentTable&&(c=c.parentTable),c&&c.getInnerRightPadding&&0!==c.getInnerRightPadding()){var u=document.elementFromPoint(t-c.getInnerRightPadding(),r);(c=re(u))&&(c=te(c))}if(c&&"gridCol"===c.constructor.blotName&&(c=re(document.elementFromPoint(t-35,r)))&&c.getInnerRightPadding&&0!==c.getInnerRightPadding()&&(c=re(document.elementFromPoint(t-35-c.getInnerRightPadding(),r))),c){c.getWrapper&&c.getWrapper()&&(c=c.getWrapper().getWrappedBlot());var d=!0;if(c.isContainer&&(d=!1),c.map&&"image"===c.map.get("type"))if(c.hasAttachment()){var p=c.map.get("width")||c.image.clientWidth,f=c.map.get("ratio")?p/c.map.get("ratio"):c.image.clientHeight;p>=100&&f>=100&&(d=!1)}else d=!1;if(c.isEmpty&&c.isEmpty()&&(d=!1),d)if(c.map&&"table"===c.map.get("type")&&(c=ie(c,(function(e){return"table"===e.constructor.blotName}))),n.comments.length&&n.comments.find((function(e){return e.blotId===c.map.get("id")&&!0!==e.notFound})))n.renderCommentIcon(null);else if(c.map&&"table"===c.map.get("type")&&n.getTableComments(c.map.get("id")).length)n.renderCommentIcon(null);else{var h=le(c.domNode,n.editor.scrollingContainer),m=h.x,g=h.y,y={left:m+c.domNode.getBoundingClientRect().width,top:g},v=c.onGetCommentPosition?c.onGetCommentPosition(y):c.getCorrectCommentPosition?c.getCorrectCommentPosition(y):y,b=v.left,_=v.top,w="list"===c.container.constructor.blotName?c.container.container:c.container;if(w instanceof f0&&w.getWrapper()&&w.getWrapper().onGetContentCommentPos){var C=w.getWrapper().onGetContentCommentPos({left:b,top:_});b=C.left,_=C.top}var S=n.editor.options.scale,E={top:_+"px",left:(void 0!==S&&0!==S?b/S:b)+"px"},x=void 0===S||0===S?Lse({},Gr.qZ,n.editor.plugins.i18n.get("floating_toolbar.add_comment")):{};n.renderCommentIcon((0,s.h)("span",Rse({key:"comment-rel-icon",onClick:function(e){e.preventDefault(),n.scroll.selectedBlocks.includes(c)||n.scroll.selection.setRange({index:c.offset(n.scroll),length:0}),"image"===c.map.get("type")||"file"===c.map.get("type")&&c.isImageFile()?c.commentImageBlot():c.commentBlock(),n.renderCommentIcon(null)},className:"rel-comment-icon",style:E},x),(0,s.h)(ct.ge4,null)))}else n.renderCommentIcon(null)}}}})),this.editor=o,this.scroll=r,this.options=Object.assign({},Bse,a),this.enabled=this.options.enabled,this.comments=[],this.nextInlineCommentColor=Xe[0],this.options.enabled&&this.initRelIcon()}var t,n,r;return t=e,r=[{key:"addThreadToBlot",value:function(e,t){e.map.set("commentThreads",t)}}],(n=[{key:"initRelIcon",value:function(){this.relIconContainer=document.createElement("div"),this.relIconContainer.id="nedit-comments-rel-container",this.editor.editorBody.appendChild(this.relIconContainer),this.editor.scrollingContainer.addEventListener("mousemove",this.onEditorMouseMove,!1)}},{key:"initContainer",value:function(){return this.container||(this.container=document.createElement("div"),this.container.id="nedit-comments-container",this.editor.editorBody.appendChild(this.container),this.initObservers()),this.container}},{key:"initObservers",value:function(){this.editor.on("editorUpdate",this.onEditorUpdate),this.editor.on("start-dragging",this.onEditorProcessResize),this.editor.on("stop-dragging",this.onEditorProcessResizeEnd),this.editor.on("grid-resize-start",this.onEditorProcessResize),this.editor.on("grid-resize-end",this.onEditorProcessResizeEnd),this.editor.on("blot-resize-start",this.onEditorProcessResize),this.editor.on("blot-resize-end",this.onEditorProcessResizeEnd)}},{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"onCreateInlineComment",value:function(e){if(this.isMethodImplemented("createInlineComment")){var t=(0,fe.ZT)(this.editor).text;return this.options.createInlineComment(e,{text:t})}}},{key:"onCreateInlineCommentGetColor",value:function(){var e=this.nextInlineCommentColor,t=Xe.indexOf(e),n=-1!==t&&t<Xe.length-1?t+1:0;return this.nextInlineCommentColor=Xe[n],e}},{key:"onCommentOpenThread",value:function(e){return console.log("Open thread: "+e),!1}},{key:"getBlotTextPreview",value:function(e){var t=this.editor&&this.editor.findById(e),n=t&&t.getText&&t.getText();return n?n.length<=50?n:n.substr(0,50)+"...":""}},{key:"openComments",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.editor.findById(e);if(n&&("image"===n.constructor.blotName||"file"===n.constructor.blotName&&n.isImageFile())){var r=!1;r||!1!==this.editor.plugins.imageManager.enterFullSize(n.props.attachment.global_id,{commentMode:!0})&&(r=!0),r||this.editor.plugins.lightBox.open(n.props.attachment.url)}else if(this.isMethodImplemented("openComments")){if(!t.text)if(t.threadId){var o=this.getThreadPreview(t.threadId),i=o.text;t.text=i}else t.text=this.getBlotTextPreview(e);return this.options.openComments(e,t)}}},{key:"setThreads",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!Array.isArray(t))return console.error("#setThreads first argument must be an array");if(this.comments=this.sortThreads(t),this.render(!!t.length),setTimeout((function(){e.editor.emitter.emit("set-comments")}),100),t.length){var n=this.comments.filter((function(e){return!0===e.notFound}));return{notFoundBlots:n}}}},{key:"sortBlots",value:function(e){var t=[];return function e(n){n.forEach((function(n){t.push(n.id),n instanceof Tf&&e(n.children)}))}(this.editor.scroll.children),t.filter((function(t){return e.includes(t)}))}},{key:"sortThreads",value:function(e){var t=[],n=this.setBlotsForComments(e).filter((function(e){return!0!==e.notFound})),r=this.getAllTablesComments(e),o=Object.keys(r).filter((function(e){return r[e].length})),i=n.map((function(e){return e.blotId})).filter((function(e,t,n){return n.indexOf(e)===t}));i.push.apply(i,Mse(o)),i.filter((function(e,t,n){return n.indexOf(e)===t}));var a=this.sortBlots(i);document.querySelectorAll("comment").forEach((function(e){return t.push(e.__blot.blot.threadId)})),t=t.filter((function(e,t,n){return n.indexOf(e)===t}));var s=a.length+t.length+10;return a.forEach((function(e,i){n.forEach((function(t,r){t.blotId===e&&(n[r].sort=s*(i+1))})),t.forEach((function(t,r){var o=n.findIndex((function(n){return n.threadId===t&&n.blotId===e}));o>=0&&(n[o].sort=s*(i+1)+r+1)})),o.includes(e)&&r[e].forEach((function(e,t){var r=n.findIndex((function(t){return t.threadId===e.threadId}));r>=0&&(n[r].sort=s*(i+1)+t+1)}))})),e.sort((function(e,t){return e.sort!==t.sort&&e.sort&&t.sort?e.sort>t.sort?1:-1:0})),e}},{key:"getTableComments",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n&&n.length||(n=this.comments);var r=[],o=this.editor.store.getMap(e);if(o){var i=o.get("rows");if(i.length){var a,s=Pse(i);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=this.editor.store.getMap(l);if(c){var u=c.get("children");if(u.length){var d,p=Pse(u);try{var f=function(){var e=d.value,o=t.editor.store.getMap(e);if(o&&o.has("commentThreads")){var i=n.find((function(e){return e.threadId===o.get("commentThreads")}));i&&r.push(i)}};for(p.s();!(d=p.n()).done;)f()}catch(e){p.e(e)}finally{p.f()}}}}}catch(e){s.e(e)}finally{s.f()}}}return r}},{key:"getAllTablesComments",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.scroll.descendants((function(e){return"table"===e.constructor.blotName})).reduce((function(n,r){return n[r.id]=e.getTableComments(r.id,t),n}),{})}},{key:"getTableCellNodeByThreadId",value:function(e){var t=this;return this.editor.scroll.descendants((function(e){return"table"===e.constructor.blotName})).reduce((function(n,r){if(n)return n;var o=t.getTableComments(r.id),i=r.map.get("rows").toJSON();if(i.length)for(var a=0;a<i.length;a++)if(i[a]){var s=t.editor.store.getMap(i[a]);if(s&&s.has("children")){var l=s.get("children").toJSON();if(l.length)for(var c=0;c<l.length;c++)if(l[c]){var u=t.editor.store.getMap(l[c]);if(u){if(o&&o.length&&r.getMergedCellsComments(u,{row:a,col:c},o).mergedThreads.includes(e)){var d=r.getCellLink({row:a,col:c});if(d)return d}if(u.has("commentThreads")&&u.get("commentThreads")===e){var p=r.getCellLink({row:a,col:c});if(p)return p}}}}}return n}),null)}},{key:"getThreadPreview",value:function(e){var t={},n=[],r=this.comments.find((function(t){return t.threadId===e}));if("blot"===r.target){var o=this.getBlotTextPreview(r.blotId),i=this.editor.findById(r.blotId);return i?{text:o,type:i.constructor.blotName}:{text:o,type:""}}for(var a in document.querySelectorAll('comment[data-comment-threadId="'.concat(e,'"]')).forEach((function(e){var n=e.__blot.blot,r=n.textBlot.id;t[r]||(t[r]=[]),t[r].push(n)})),t){var s=t[a],l=s[0],c=s[s.length-1],u=l.getCommentOffset()-l.textBlot.offset(),d=u<0?l.getCommentOffset():u,p=c.getCommentOffset()-l.getCommentOffset()+c.length();n.push(l.textBlot.getText(d,p))}return{text:n.join(" "),type:"text"}}},{key:"getThreadStatus",value:function(e){var t=this.comments.find((function(t){return t.threadId===e})),n="none";return t&&(n=t.resolved?"resolved":"active"),n}},{key:"removeThread",value:function(e){document.querySelectorAll('comment[data-comment-threadid="'.concat(e,'"]')).forEach((function(e){e.__blot&&e.__blot.blot.removeComment()}))}},{key:"render",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.options.renderCounters){var n=this.initContainer(),r=null;t&&(r=(0,s.h)(Tse,{editor:this.editor,onCommentClick:function(t,n){return e.openComments(t,n)},comments:this.comments,tableComments:this.getAllTablesComments(),countersStyle:this.options.countersStyle})),(0,s.sY)(r,n)}}},{key:"renderCommentIcon",value:function(e){var t=this;e?(this.hideTimout&&(clearTimeout(this.hideTimout),this.hideTimout=null),(0,s.sY)((0,s.h)(s.HY,null,e),this.relIconContainer)):this.hideTimout||(this.hideTimout=setTimeout((function(){(0,s.sY)((0,s.h)(s.HY,null,e),t.relIconContainer)}),500))}},{key:"correctStepContentBlotPos",value:function(e){}},{key:"onFormatToCommentThread",value:function(e){if(this.isMethodImplemented("formatToCommentThread"))return this.options.formatToCommentThread(e)}},{key:"destroy",value:function(){this.editor.off("editorUpdate",this.onEditorUpdate),this.editor.off("start-dragging",this.onEditorProcessResize),this.editor.off("stop-dragging",this.onEditorProcessResizeEnd),this.editor.off("grid-resize-start",this.onEditorProcessResize),this.editor.off("grid-resize-end",this.onEditorProcessResizeEnd),this.editor.off("blot-resize-start",this.onEditorProcessResize),this.editor.off("blot-resize-end",this.onEditorProcessResizeEnd),this.editor.scrollingContainer.removeEventListener("mousemove",this.onEditorMouseMove,!1),this.isMethodImplemented("destroy")&&this.options.destroy()}}])&&jse(t.prototype,n),r&&jse(t,r),e}();function Use(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vse=function(){function e(t){var n=this,r=(t.scroll,t.editor),o=(t.doc,t.options);!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Hse(this,"onDelta",(function(e){var t="";try{t=JSON.stringify(e)}catch(e){return}n.captureBreadcrumb({message:"Input delta",category:"editor",data:{delta:t}})})),Hse(this,"onExec",(function(e){n.captureBreadcrumb({message:"Editor exec",category:"editor",data:{action:e.action}})})),this.options=o||{},this.editor=r,r.on("delta",this.onDelta),r.on("exec",this.onExec)}var t,n,r;return t=e,(n=[{key:"callMethod",value:function(e){for(var t,n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];if(this.options[e])return(n=this.options)[e].apply(n,o);window.Raven&&(t=window.Raven)[e].apply(t,o)}},{key:"captureBreadcrumb",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callMethod.apply(this,["captureBreadcrumb"].concat(t))}},{key:"captureException",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callMethod.apply(this,["captureException"].concat(t))}},{key:"destroy",value:function(){this.editor.off("delta",this.onDelta),this.editor.off("exec",this.onExec)}}])&&Use(t.prototype,n),r&&Use(t,r),e}();function zse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qse(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gse,Wse,Yse,Zse,Kse=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),qse(this,"onEditorReady",(function(){n.editor.mode!==gpe?(n.updateOutlineData(),n.debouncedUpdateOutline()):n.updateOutlineData(),n.editor.emitter.on("SCROLL_UPDATE",n.debouncedUpdateOutline)})),qse(this,"updateOutlineData",(function(){var e=n.getOutlineData();n.editor.emitter.emit("update-outline",e),n.options.updateOutlineData&&n.options.updateOutlineData(e)})),this.editor=o,this.scroll=r,this.options=i||{},this.outline_heading_priority=["H1","H2","H3"],this.update_timeout=1e3,this.debouncedUpdateOutline=hf()(this.updateOutlineData,this.update_timeout,{trailing:!0}),this.editor.emitter.once("editor-ready",this.onEditorReady)}var t,n,r;return t=e,(n=[{key:"getOutlineRawList",value:function(){var e=Array.from(this.scroll.domNode.querySelectorAll(".nedit-heading")).filter((function(e){return""!==e.textContent}));return e.length&&e.map((function(e){return{id:e.id,tag:e.tagName,text:e.textContent}}))||{}}},{key:"getListItemLvl",value:function(e,t,n){if(!t)return 0;var r=this.outline_heading_priority;if(0===r.indexOf(e))return 0;var o=n;return r.indexOf(e)>r.indexOf(t)?o+=1:r.indexOf(e)<r.indexOf(t)&&(o-=1),o>=0&&o||0}},{key:"getOutlineData",value:function(){var e=this,t=this.getOutlineRawList();if(t&&0!==Object.keys(t).length){var n=null,r=0;return t.map((function(t){var o=e.getListItemLvl(t.tag,n,r);return n=t.tag,r=o,{id:t.id,tag:t.tag,text:t.text,level:o,anchor:"#"+t.id}}))}return[]}}])&&zse(t.prototype,n),r&&zse(t,r),e}(),$se=n(81999),Qse=n.n($se);function Xse(e){return function(e){if(Array.isArray(e))return Jse(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)return;if("string"==typeof e)return Jse(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jse(e,t)}(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 Jse(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ele(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nle(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rle(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function ole(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){rle(i,r,o,a,s,"next",e)}function s(e){rle(i,r,o,a,s,"throw",e)}a(void 0)}))}}function ile(){return(ile=ole(regeneratorRuntime.mark((function e(){var t,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=!1,Gse||(t=!0,Gse=n.e(997).then(n.bind(n,54519))),e.next=4,Gse;case 4:return r=e.sent,o=r.fsjs,i=r.ebmljs,t&&(Wse=o,Yse=i),e.abrupt("return",o);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Zse=j$()?new Promise((function(e){return e()})):Promise.all([function(){return ile.apply(this,arguments)}()]);var ale=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ele(this,e),nle(this,"launchStream",(function(e){t.stream&&(t.additionalWrtc&&t.additionalWrtc.stream&&!0===t.additionalWrtc.chooseMicro&&(t.combinedStream=new MediaStream([].concat(Xse(t.stream.getVideoTracks()),Xse(t.additionalWrtc.stream.getAudioTracks())))),t.combinedStream?t.connectStream(t.combinedStream,e):t.connectStream(t.stream,e))})),this.constraints=n.constraints||{video:{cursor:"always"},audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100}},this.stream=null,this.error=null,this.mediaElem=null,this.mediaElemId=n.mediaElemId||null,this.recordInstance=null,this.AudioRecordFileName="Audio_Record",this.MediaRecordFileName="Media_Record",this.removeRecord=!1}var t,n,r,o,i,a,s;return t=e,(n=[{key:"init",value:(s=ole(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.type=t,e.next=3,this.initStream();case 3:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"initStream",value:(a=ole(regeneratorRuntime.mark((function e(){var t,n,r,o,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!navigator||!navigator.mediaDevices){e.next=28;break}if(e.prev=1,"media"!==this.type){e.next=12;break}if(t=this.blot.map.get("recordUserId"),n=this.blot.store.userId,t!==n){e.next=10;break}return e.next=8,navigator.mediaDevices.getDisplayMedia(this.constraints);case 8:this.stream=e.sent,this.stream.getVideoTracks()[0].onended=function(){i.recorder&&"inactive"!==i.recorder.state?i.stopMediaRecord():i.recorder||i.blot&&i.blot.remove()};case 10:e.next=20;break;case 12:if(void 0!==this.chooseMicro&&!1===this.chooseMicro&&(this.constraints.audio=!1),r=this.blot.map.get("recordUserId"),o=this.blot.store.userId,r!==o){e.next=20;break}return e.next=18,navigator.mediaDevices.getUserMedia(this.constraints);case 18:this.stream=e.sent,this.granted=!0;case 20:this.error=null,this.additionalWrtc&&this.additionalWrtc.error?this.stream&&(this.stream.getTracks().forEach((function(e){return e.stop()})),this.stream=null):this.initCapture(),e.next=28;break;case 24:e.prev=24,e.t0=e.catch(1),"the object can not be found here."===e.t0.message.toLowerCase()||"permission denied by system"===e.t0.message.toLowerCase()?this.error="macSystemError":this.error=e.t0.message,console.warn(this.error);case 28:this.blot&&this.blot.render();case 29:case"end":return e.stop()}}),e,this,[[1,24]])}))),function(){return a.apply(this,arguments)})},{key:"initCapture",value:function(){if(this.mediaElemId){var e=document.getElementById(this.mediaElemId);e.srcObject=this.stream,this.mediaElem=e}}},{key:"startMediaRecord",value:function(e){var t=this;"Firefox"===(0,ri.Ao)()?setTimeout((function(){return t.launchStream(e)}),100):this.launchStream(e)}},{key:"connectStream",value:function(e,t){var n=this,r=[],o={mimeType:"video/webm;codecs=vp9"};"Firefox"===(0,ri.Ao)()&&(o={mimeType:"video/webm;codecs:vp9"}),this.recorder=new MediaRecorder(e,o);var i=Date.now();this.recorder.ondataavailable=function(e){e.data&&e.data.size>0&&r.push(e.data),n.chunks=r},this.recorder.onstop=function(e){var o=Date.now()-i,a={type:"video/webm;codecs=vp9"};n.getSeekableBlob(new Blob(r,a),a,(function(e){Qse()(e,o,(function(r){n.blob=r,n.blot&&n.uploadFile(e,"video"),t&&t(n.blob)}))}))},e.active?this.recorder.start():this.stopMediaRecord()}},{key:"restartMediaRecord",value:(i=ole(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.initStream().then((function(){t.error?t.blot&&(t.stream=null,t.blot.render()):t.startMediaRecord()}));case 2:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"stopMediaRecord",value:function(){this.recorder&&("inactive"!==this.recorder.state&&this.recorder.stop(),this.recorder=void 0,this.chunks=void 0),this.stream&&this.stream.getTracks().forEach((function(e){return e.stop()})),this.combinedStream&&this.combinedStream.getTracks().forEach((function(e){return e.stop()})),this.additionalWrtc&&this.additionalWrtc.stream&&this.additionalWrtc.stream.getTracks().forEach((function(e){return e.stop()})),this.mediaElem&&this.mediaElem.srcObject&&(this.mediaElem.srcObject.getTracks().forEach((function(e){return e.stop()})),this.mediaElem.srcObject=null),this.removeRecord&&this.removeFileFromCache()}},{key:"startAudioRecord",value:function(e){var t=this;if(this.stream){var n=[],r={mimeType:"audio/webm"};"Safari"===(0,ri.Ao)()&&(r={mimeType:"audio/mp4"}),this.recorder=new MediaRecorder(this.stream,r),this.recorder.ondataavailable=function(e){e.data&&e.data.size>0&&n.push(e.data),t.chunks=n},this.recorder.onstop=function(r){var o={type:"audio/mpeg"};"Safari"===(0,ri.Ao)()?(o={mimeType:"audio/mp4"},t.blob=new Blob(n,o),t.blot&&t.uploadFile(t.blob,"audio"),e&&e(t.blob)):t.getSeekableBlob(new Blob(n,o),o,(function(n){t.blob=n,t.blot&&t.uploadFile(n,"audio"),e&&e(t.blob)}))},this.recorder.start()}}},{key:"stopAudioRecord",value:function(){this.recorder&&(this.recorder.stop(),this.recorder=void 0,this.chunks=void 0),this.stream&&this.stream.getTracks().forEach((function(e){return e.stop()})),this.removeRecord&&this.removeFileFromCache()}},{key:"pauseRecord",value:function(){this.recorder&&this.recorder.pause()}},{key:"resumeRecord",value:function(){this.recorder&&this.recorder.resume()}},{key:"restoreRecord",value:function(e){var t=this;this.blot=e,Wse&&this.blot&&Wse.readString(this.blot.id).then((function(e){var n=null;e.type.startsWith("video")?n="video":e.type.startsWith("audio")&&(n="audio"),t.uploadFile(e,n)}))}},{key:"checkTmpRecord",value:(o=ole(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Wse){e.next=3;break}return e.next=3,Zse();case 3:if(!Wse||!this.blot){e.next=9;break}return e.next=6,Wse.readString(this.blot.id).then((function(e){return e}),(function(e){return!1}));case 6:return e.abrupt("return",e.sent);case 9:return e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"getRecordData",value:function(e){var t=this;if(this.recorder&&"inactive"!==this.recorder.state){var n=this.recorder.requestData();if(Wse&&this.blot&&this.chunks&&this.chunks.length>0){var r={type:null};if("audio"===this.type?r={type:"audio/mpeg"}:"media"!==this.type&&"camera"!==this.type&&"mediaCam"!==this.type||(r={type:"video/webm;codecs=vp9"}),r.type&&this.blot){var o=this.blot.editor.plugins.webRTCPlugin.getLimitRecord();o>0&&e>=o?("audio"===this.type?this.stopAudioRecord():"media"!==this.type&&"camera"!==this.type&&"mediaCam"!==this.type||this.stopMediaRecord(),this.blot.editor.plugins.webRTCPlugin.maxRecordTimeExceeded(o)):"Safari"===(0,ri.Ao)()?(r={mimeType:"audio/mp4"},Wse.writeFile(this.blot.id,new Blob(this.chunks,r))):this.getSeekableBlob(new Blob(this.chunks,r),r,(function(e){Wse.writeFile(t.blot.id,e)}))}}return n}}},{key:"getRecordSize",value:function(){var e=0;return this.chunks&&this.chunks.length>0&&this.chunks.forEach((function(t){e+=t.size})),e}},{key:"renderTime",value:function(e){var t=e,n=Math.floor(t/3600);t%=3600;var r=Math.floor(t/60),o=t%60;return r=String(r).padStart(2,"0"),(n=String(n).padStart(2,"0"))+":"+r+":"+(o=String(o).padStart(2,"0"))}},{key:"getTimeStamp",value:function(){var e=new Date,t=e.getDate(),n=e.getMonth()+1;return e.getFullYear()+"_"+n+"_"+t+"_"+e.getHours()+"_"+e.getMinutes()}},{key:"uploadFile",value:function(e,t){if(e){var n=null;if("audio"===t){var r=this.AudioRecordFileName+"_"+this.getTimeStamp()+".mp3";e.name=r,n={name:r,size:e.size,type:e.type,instance:e}}else if("video"===t){var o=this.MediaRecordFileName+"_"+this.getTimeStamp()+".webm";e.name=o,n={name:o,size:e.size,type:e.type,instance:e}}if(n)if(this.blot){var i=new CustomEvent("uploadRecordEvent",{detail:n});this.blot.domNode.dispatchEvent(i)}else this.recordInstance=n}}},{key:"removeFileFromCache",value:function(){this.blot&&Wse&&Wse.removeFile(this.blot.id)}},{key:"getSeekableBlob",value:function(e,t,n){var r=new Yse.Reader,o=new Yse.Decoder,i=Yse.tools,a=new FileReader;a.onload=function(e){o.decode(this.result).forEach((function(e){"unknown"!==e.type&&r.read(e)})),r.stop();var a=i.makeMetadataSeekable(r.metadatas,r.duration,r.cues),s=this.result.slice(r.metadataSize),l=new Blob([a,s],t);n(l)},a.readAsArrayBuffer(e)}},{key:"download",value:function(){var e=this;this.blob&&this.chunks&&this.chunks.length>0?"Safari"===(0,ri.Ao)()?this.buildDownloadUrl(new Blob(this.chunks,{type:this.blob.type})):this.getSeekableBlob(new Blob(this.chunks,{type:this.blob.type}),{type:this.blob.type},(function(t){e.buildDownloadUrl(t)}),!0):this.checkTmpRecord().then((function(t){t&&e.buildDownloadUrl(t)}))}},{key:"buildDownloadUrl",value:function(e){var t;t=this.blob?this.blob.name:"video/webm;codecs=vp9"===e.type?this.MediaRecordFileName+"_"+this.getTimeStamp()+".webm":this.AudioRecordFileName+"_"+this.getTimeStamp()+".mp3";var n=URL.createObjectURL(e),r=window.document.createElement("a");r.href=n,r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}])&&tle(t.prototype,n),r&&tle(t,r),e}();function sle(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function lle(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sle(i,r,o,a,s,"next",e)}function s(e){sle(i,r,o,a,s,"throw",e)}a(void 0)}))}}function cle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ule=function(){function e(t){var n=t.scroll,r=t.editor,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=r,this.scroll=n,this.options=o||{},this.isPlugin=!0}var t,n,r,o,i,a,s,l,c;return t=e,(n=[{key:"prepareMediaRecord",value:function(){Ej.prepareMediaRecord(this.editor)}},{key:"setMediaOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options.mediaOptions=e}},{key:"isInit",get:function(){return!!this.wrtc&&(!this.wrtc.error||this.wrtc.error)}},{key:"initAudio",value:(c=lle(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init("audio",t,!0);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"initMedia",value:(l=lle(regeneratorRuntime.mark((function e(t){var n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=!(r.length>1&&void 0!==r[1])||r[1],e.next=3,this.init("media",t,n);case 3:return e.abrupt("return",!0);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"initCamera",value:(s=lle(regeneratorRuntime.mark((function e(t){var n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=!(r.length>1&&void 0!==r[1])||r[1],e.next=3,this.init("camera",t,n);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"initMediaCam",value:(a=lle(regeneratorRuntime.mark((function e(t){var n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=!(r.length>1&&void 0!==r[1])||r[1],e.next=3,this.init("mediaCam",t,n);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"init",value:(i=lle(regeneratorRuntime.mark((function e(){var t,n,r,o=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:null,n=o.length>1&&void 0!==o[1]?o[1]:null,r=!(o.length>2&&void 0!==o[2])||o[2],"audio"!==t){e.next=11;break}return this.wrtc=new ale(this.options.mediaOptions),this.wrtc.constraints.video=!1,n&&(this.wrtc.blot=n),e.next=9,this.wrtc.init(t);case 9:e.next=39;break;case 11:if("media"!==t&&"camera"!==t){e.next=28;break}if(this.wrtc=new ale(this.options.mediaOptions),!n){e.next=24;break}if(this.wrtc.blot=n,"camera"===t&&(r||(this.wrtc.constraints.audio=!1)),"media"!==t||!r){e.next=24;break}return this.wrtc.additionalWrtc=new ale,this.wrtc.additionalWrtc.constraints.video=!1,this.wrtc.chooseMicro=r,this.wrtc.additionalWrtc.blot=n,this.wrtc.additionalWrtc.chooseMicro=r,e.next=24,this.wrtc.additionalWrtc.init("camera");case 24:return e.next=26,this.wrtc.init(t);case 26:e.next=39;break;case 28:if("mediaCam"!==t){e.next=38;break}return this.wrtc=new ale(this.options.mediaOptions),this.wrtc.additionalWrtc=new ale,n&&(this.wrtc.blot=n,this.wrtc.chooseMicro=r,this.wrtc.additionalWrtc.blot=n,this.wrtc.additionalWrtc.chooseMicro=r),e.next=34,this.wrtc.additionalWrtc.init("camera");case 34:return e.next=36,this.wrtc.init("media");case 36:e.next=39;break;case 38:return e.abrupt("return",!1);case 39:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"startAudioRecord",value:function(e){this.wrtc&&this.wrtc.type&&this.wrtc.startAudioRecord(e)}},{key:"stopAudioRecord",value:function(){this.wrtc&&this.wrtc.type&&(wrtc.removeRecord=!0,this.wrtc.stopAudioRecord())}},{key:"startMediaRecord",value:function(e){this.wrtc&&this.wrtc.type&&this.wrtc.startMediaRecord(e)}},{key:"stopMediaRecord",value:function(){this.wrtc&&this.wrtc.type&&(wrtc.removeRecord=!0,this.wrtc.stopMediaRecord())}},{key:"pauseRecord",value:function(){this.wrtc&&this.wrtc.type&&this.wrtc.pauseRecord()}},{key:"resumeRecord",value:function(){this.wrtc&&this.wrtc.type&&this.wrtc.resumeRecord()}},{key:"isExistsRecords",get:function(){var e=!1,t=!1;return de(this.scroll,(function(n){n.embed&&n.embed.mediaRecord?t=!0:n.embed&&n.embed.audioRecord&&(e=!0)}),{inTables:!1}),t||this.editor.container.querySelector("#mediaRecordPopup")&&(t=!0),{audio:e,media:t}}},{key:"checkTmpRecord",value:(o=lle(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.wrtc=new ale,t&&(this.wrtc.blot=t),e.next=4,this.wrtc.checkTmpRecord();case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"maxFileSizeExceeded",value:function(e){this.isMethodImplemented("maxFileSizeExceeded")&&e&&this.options.maxFileSizeExceeded(e)}},{key:"maxRecordTimeExceeded",value:function(e){this.isMethodImplemented("maxRecordTimeExceeded")&&e&&this.options.maxRecordTimeExceeded(e)}},{key:"getLimitRecord",value:function(){return this.options.limitRecord?parseInt(this.options.limitRecord):0}}])&&cle(t.prototype,n),r&&cle(t,r),e}();function dle(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ple(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dle(Object(n),!0).forEach((function(t){hle(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dle(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hle(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mle=["paragraph","blockquote","hint","outline","hLarge","hMedium","hSmall","hLine","listItemBullet","listItemNumber","listItemCheckbox","image","syntax","remote-frame","bookmark","tableRow","row","button-single","toggle"],gle={limit:[].concat(mle,["file"]),count:[].concat(mle,["file","list","table","uploader"]),skip_inner:["tableRow","row"]},yle={count:0,inited:!1,limitTypes:["any"].concat(mle),limitFunc:{table:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={allow:!1,amount:0};return e.map&&e.map.has("rows")&&e.map.get("rows").forEach((function(n){e.ignoreIds&&e.ignoreIds.includes(n)||(t.allow=!0,t.amount++)})),t},list:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={allow:!0,amount:1};return e.map&&e.map.has("children")&&(t.amount=e.map.get("children").length),t},file:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={allow:!0,amount:1};return e.map&&"tableCell"===e.map.get("mode")&&(t.allow=!1,t.amount=0),t}}},vle=function(){function e(t){var n=this,r=t.editor,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),hle(this,"listeners",(function(){n.listen||(n.listen=!0,n.editor.on(bpe,n.onBlotAdded),n.editor.on(vpe,n.onBlotRemoved))})),hle(this,"onBlotAdded",(function(e){var t=e.id;try{var r=n.editor.store.getMap(t);r&&r.has("type")&&n.increase({id:t,map:r,type:r.get("type")})}catch(e){console.warn("Error in LimitManager.onBlotAdded: ",e)}})),hle(this,"onBlotRemoved",(function(e){var t=e.id;try{var r={id:t},o=n.editor.store.getMap(t);o&&(r.map=o,o.has("type")&&(r.type=o.get("type"))),n.decrease(r)}catch(e){console.warn("Error in LimitManager.onBlotRemoved: ",e)}})),this.editor=r,this.options=Object.assign({},yle,o),this.cache={allowed:{},removed:[]},this.options.enabled&&this.listeners()}var t,n,r;return t=e,(n=[{key:"inited",get:function(){return!this.options.inited&&this.editor&&this.editor.scroll.children.length>0&&(this.options.inited=!0),this.options.inited}},{key:"isTypeAllowed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.options,n=t.limitTypes,r=t.limitFunc,o={allow:!1};if(e.type){if(n.includes(e.type))o.allow=!0;else if(e.useFunc&&r[e.type]){var i=r[e.type](e);i.allow&&(o.allow=i.allow,i.amount&&(o.amount=i.amount))}e.id&&e.cache&&o.allow&&(this.cache.allowed[e.id]=o.amount||1)}else e.id&&this.cache.allowed[e.id]&&(o={allow:!0,amount:this.cache.allowed[e.id]});return o}},{key:"canAddBlot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.options;if(t.enabled&&!this.frozen&&(this.inited||e.checkForce)){if(this.isTypeAllowed(e).allow){var n=t.count+(e.hasOwnProperty("amount")?e.amount:1);if(n>t.limit)return console.warn("Limit:",n,"/",t.limit),e.alert&&t.alert&&t.alert({limit:t.limit,count:n}),!1}e.freeze&&this.freeze()}return!0}},{key:"freeze",value:function(){this.options.enabled&&(this.frozen=!0)}},{key:"unfreeze",value:function(){this.options.enabled&&(this.frozen=!1)}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.isTypeAllowed(ple({cache:!0,useFunc:!0},e));if(this.inited&&t.allow){if(this.options.count+=e.amount||t.amount||1,e.id){var n=this.cache.removed.indexOf(e.id);-1!==n&&this.cache.removed.splice(n,1)}this.onChange()}}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.isTypeAllowed(ple({ignoreIds:this.cache.removed,useFunc:!0},e));this.inited&&t.allow&&(this.options.count-=e.amount||t.amount||1,e.id&&this.cache.removed.push(e.id),this.onChange())}},{key:"onChange",value:function(){this.options.onChange&&this.options.onChange(this.options.count)}}])&&fle(t.prototype,n),r&&fle(t,r),e}();function ble(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||wle(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 _le(e){return(_le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wle(e,t){if(e){if("string"==typeof e)return Cle(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cle(e,t):void 0}}function Cle(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ele(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xle=function(){function e(t,n,r,o){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ele(this,"onBlotTextChange",(function(e){if(1===i.index&&1===e.length()&&"/"===e.ops[0].insert||1===i.index&&"/\n"===i.blot.getText()||kle(e)>=i.index&&kle(e)<=i.index+i.length){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=wle(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.ops);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.insert){if("object"===_le(r.insert))return void i.manager.end();i.length+=r.insert.length}else r.delete&&(i.length-=r.delete)}}catch(e){n.e(e)}finally{n.f()}i.query=i.blot.getText(i.index,i.length)||"";var o=i.query.toLowerCase();i.onQuery(o)}else i.manager.end()})),Ele(this,"onEditorSelectionChange",(function(){var e=ble(i.manager.scroll.selection.getRange({offsetBlot:i.blot}),1)[0];(!e||e.index<i.index||e.index>i.index+i.length)&&i.manager.end()})),this.manager=t,this.blot=n,this.index=r,this.startRangePos=o,this.length=0,this.query="",this.blot.on("text-change",this.onBlotTextChange),this.manager.editor.on("selectionchange",this.onEditorSelectionChange)}var t,n,r;return t=e,(n=[{key:"onQuery",value:function(e){this.manager.onQuery(e)}},{key:"clearQuery",value:function(){this.blot.map.get("characters").applyDelta([{retain:this.index-1},{delete:this.length+1}])}},{key:"destroy",value:function(){this.blot.off("text-change",this.onBlotTextChange),this.manager.editor.off("selectionchange",this.onEditorSelectionChange)}}])&&Sle(t.prototype,n),r&&Sle(t,r),e}();function kle(e){var t=e.filter((function(e){return e.retain}))[0];return t&&t.retain||-1}const Ole=JSON.parse('{"paragraph":["paragraph","text","параграф","текст"],"tasks-list":["task","list","task list","todo","задачи","задача","список задач"],"todo":["checklist","checkbox","checkboxes","чеклист","список"],"numberedlist":["number list","numbers","lists","цифрованный список","список"],"bulletlist":["bullet list","bullet","lists","маркированный список","список"],"table":["table","database","excel","таблица","база данных"],"image":["image","picture","картинка","изображение"],"file":["file","attachment","video","audio","archive","файл","вложение","видео","аудио","архив"],"largeheading":["large","large heading","headers","большой","большой заголовок","заголовки"],"mediumheading":["medium","medium heading","headers","средний","средний заголовок","заголовки"],"smallheading":["small","small heading","headers","маленький","маленький заголовок","заголовки"],"hline":["line","section","break","линия","разделитель"],"link":["link","url","ссылка"],"syntax":["code","код","js","php","python"],"link-page":["mention","note","ссылка","страница"],"date":["mention","date","дата"],"mention":["mention","date","person","user","note","folder","workspace","упоминание","дата","юзер","участник","заметка","папка","проект"],"blockquote":["quote","цитата"],"hint":["hint","tip","callout","примечание","совет"],"outline":["outline","table of contents","оглавление","содержание"],"lock-blot":["lock","block","запретить","редактирование","блок"],"embed":["embed","vimeo","figma","github","объект","интеграция","ютуб","вставка"],"figma":["embed","figma","объект","интеграция","вставка"],"miro":["embed","miro","объект","интеграция","вставка"],"more-integrations":["embed","объект","интеграция","вставка"],"google-drive":["google drive","google","drive","гугл диск","гугл","диск"],"google-sheets":["google drive","google","drive","таблица","гугл диск","гугл","диск","таблица"],"bookmark":["bookmark","link","url","закладка","букмарк","ссылка"],"button":["button","link","url","кнопка","ссылка"],"audioRec":["webrtc","audio","record","аудио","запись"],"videoRec":["webrtc","video","record","видео","запись"],"toggle":["collapsible","toggle","spoiler","lists","тоггл","cпойлер","список","сворачиваемый список"],"largeheading-toggle":["collapsible","toggle","spoiler","тоггл","cпойлер","large","large heading","headers","большой","большой заголовок","заголовки","сворачиваемый заголовок"],"mediumheading-toggle":["collapsible","toggle","spoiler","тоггл","cпойлер","medium","medium heading","headers","средний","средний заголовок","заголовки","сворачиваемый заголовок"],"smallheading-toggle":["collapsible","toggle","spoiler","тоггл","cпойлер","small","small heading","headers","маленький","маленький заголовок","заголовки","сворачиваемый заголовок"],"columns":["2","2 columns","columns","two","колонки"],"meeting-notes":["template","note","page","шаблон","заметка","страница"],"marketing-brief":["template","note","page","шаблон","заметка","страница"],"content-plan":["template","note","page","шаблон","заметка","страница"],"more-templates":["template","note","page","шаблон","заметка","страница"],"get-feedback":["link","help","помощь","ссылка"],"contact-support":["link","help","помощь","ссылка"],"learn-nimbus":["link","help","помощь","ссылка"],"integrations":["integrations","embed","vimeo","figma","github","объект","интеграция","ютуб","вставка"],"database-with-options":["table","database","excel","таблица","база данных"],"board":["board","tasks","tasks list","tasks board","todo","kanban","задачи","доска","канбан","доска задач"],"progress":["progress","percent","прогресс","процент"],"dropdown-list":["dropdown list","labels","дропдаун","лейблы","выпадающий список"],"uploader":["uploader","files","загрузчик","файлы","загрузка"],"unsplash":["image","picture","картинка","изображение","unsplash"],"use-ai":["fusebase ai","use ai","use fusebase ai","использовать fusebase ai","искуственный интелект"],"step":["collapsible","toggle","spoiler","lists","step","тоггл","cпойлер","список","сворачиваемый список","шаг"],"step-aggregator":["step","aggregator","outline","шаг","агрегатор","оглавление"]}');function Tle(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ale(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ale(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ale(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ple(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rle(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ple(Object(n),!0).forEach((function(t){Mle(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ple(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ile(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mle(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nle=u7().moreItemsMenuAppearDuration,Dle=["paragraph","listItemCheckbox","listItemNumber","listItemBullet","hLarge","hMedium","hSmall","blockquote","hint","syntax","toggle","hLarge-toggle","hMedium-toggle","hSmall-toggle","step"],jle=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Mle(this,"convertBlot",(function(e){var t=n.session,r=t.blot,o=t.index,i="list"===e.type?e.items[0]:e.type;if(r.constructor.blotName!==i){var a=Dle.includes(i)?{index:r.offset(n.scroll)+o-1,length:0}:{index:r.offset(n.scroll)+o,length:0};n.session.clearQuery(),n.editor.exec("convert-blot",e),n.scroll.selection.setRange(a)}n.end()})),Mle(this,"onUseAi",(function(){n.session.clearQuery();var e=n.session.blot,t=e;if(t.isListItem){var r=t.index;if(t.isEmpty()){var o=t.parent.splitList(r).id;t=n.editor.findById(o)}else{var i=t.parent.splitWithBlot(r).id;t=n.editor.findById(i)}}else if(!t.isEmpty()){var a=e.container.addBlot("paragraph",{after:e.id}).id;t=n.editor.findById(a)}n.editor.plugins.aiManager.show(t),n.end()})),Mle(this,"addFile",(function(){n.session.clearQuery(),n.editor.exec("add-file"),n.end()})),Mle(this,"addLink",(function(){n.session.clearQuery();var e=n.session,t=e.blot,r=e.index;n.scroll.selection.setRange({index:t.offset(n.scroll)+r-1,length:0}),gi(n.editor),n.end()})),Mle(this,"addMention",(function(){n.session.clearQuery();var e=n.session,t=e.blot,r=e.index;t.map.get("characters").applyDelta([{retain:r-1},{insert:"@"}]),n.scroll.selection.setRange({index:t.offset(n.scroll)+r,length:0}),n.editor.plugins.mentionManager.start(t,{index:r,length:0}),n.end()})),Mle(this,"addProgress",(function(){n.session.clearQuery();var e=n.session,t=e.blot,r=e.index;t.map.get("characters").applyDelta([{retain:r-1},{insert:{progress:0}},{insert:" "}]),n.scroll.selection.setRange({index:t.offset(n.scroll)+r+1,length:0}),n.end()})),Mle(this,"addDropdownList",(function(){n.session.clearQuery();var e=n.session,t=e.blot,r=e.index;t.map.get("characters").applyDelta([{retain:r-1},{insert:Mle({},"dropdown-list",{ownerId:n.editor.store.userId})},{insert:" "}]),n.scroll.selection.setRange({index:t.offset(n.scroll)+r+1,length:0}),n.end()})),Mle(this,"addRemoteFile",(function(e){var t=n.session.blot;n.editor.exec("add-remote-file",{service:e,blot:t}),n.end()})),Mle(this,"addImage",(function(){n.convertBlot({type:"image"})})),Mle(this,"lockBlot",(function(){if(n.session){var e=n.session.blot;n.session.clearQuery(),n.editor.scroll.selection.setRange(null),e&&e.lockBlotAction&&e.lockBlotAction(),n.end()}})),Mle(this,"addColumns",(function(){if(n.session){var e=n.session.blot;if(n.session.clearQuery(),!e.isEmpty()){var t=e.container.addBlot("paragraph",{after:e.id}).id,r=n.editor.findById(t);n.scroll.selection.setRange({index:r.offset(n.scroll),length:0})}n.editor.exec("add-grid",{position:"left"})}})),Mle(this,"addDatabase",(function(e){n.session.clearQuery(),n.editor.exec("add-database",{type:e}),n.editor.scroll.selection.setRange(null),n.end()})),Mle(this,"addUnsplashImage",(function(){if(n.session){var e=n.session.blot;n.session.clearQuery(),n.editor.plugins.unsplashManager.openPicker(e,(function(t){var r=t&&(t.urls.regular||t.urls.full||t.urls.raw);if(r){var o,i,a,s=m9(r),l={name:null===(o=t.user)||void 0===o?void 0:o.name,link:null===(i=t.user)||void 0===i||null===(a=i.links)||void 0===a?void 0:a.html},c=null;if(l.name||l.link){var u,d,p,f=l.link?{link:l.link}:null;c={ops:[{insert:((null===(u=n.editor)||void 0===u||null===(d=u.plugins)||void 0===d||null===(p=d.i18n)||void 0===p?void 0:p.get("image.unsplash.caption_preffix"))||"Photo by")+" "},{insert:l.name||l.link,attributes:f}]}}e.container.addBlot("image",{after:e.id,unsplash:!0,attachmentGlobalId:s,captionParams:{delta:c}}),e.isEmpty()&&e.container.removeChildById(e.id)}else console.error("Unsplash image has no correct url")}))}})),Mle(this,"addStepsAggregator",(function(){n.session.clearQuery();var e=n.scroll.descendants((function(e){return"step"===e.constructor.blotName})),t=e.length?e[0]:n.scroll.children.head,r=n.scroll.descendants((function(e){return"step-aggregator"===e.constructor.blotName})),o={before:t.id,focus:{index:0}};r.length&&(o=Rle(Rle({},r[0].getMapParams()),o)),t.container.addBlot("step-aggregator",o),n.end()})),Mle(this,"onChooseMenuItem",(function(e){e(),n.editor.plugins.selectionScroller.ensureSelectionVisible()})),Mle(this,"onMenuWantsToClose",(function(){n.end()})),Mle(this,"onRateEditorClick",(function(){n.setEditorRated(),n.editor.plugins.editorRate.onRateEditorClick(),n.end()})),Mle(this,"onRateEditorCloseClick",(function(){n.setEditorRated()})),Mle(this,"getMenuPositionParams",(function(e){var t=n.session,r=t.blot,o=t.startRangePos,i=r.domNode.getBoundingClientRect(),a=n.editor.getScrollingContainer().getBoundingClientRect(),s={offset:o.x-i.x+"px, "};return n.menuPlacement||(n.menuPlacement=n.calcMenuDirection(o)),"top-start"===n.menuPlacement?(s.menuMaxHeight=o.y-a.y,s.offset+=i.y-o.y+"px"):(s.menuMaxHeight=a.y+a.height-(o.y+o.height),s.offset+=o.y+o.height-(i.y+i.height)+"px"),s.menuMaxHeight>340?(s.menuMaxHeight=340,s.overflowY=s.menuMaxHeight>34*e?"visible":"scroll"):s.overflowY="scroll",s})),this.options=Object.assign({enabled:!0},i),this.scroll=r,this.editor=o,this.initContainer(),this.scrollingContainer=this.editor.getScrollingContainer()}var t,n,r;return t=e,(n=[{key:"initContainer",value:function(){this.container||(this.container=document.createElement("div"),this.container.id="convert-blot-manager",this.editor.scrollingContainer.appendChild(this.container),this.render(this.container))}},{key:"onQuery",value:function(e){var t,n=Object.keys(Ole).filter((function(t){return Ole[t].every((function(t){return!t.startsWith(e)}))})),r=Tle(this.excludeToggleItemsIfNeed());try{for(r.s();!(t=r.n()).done;){var o=t.value;n.includes(o)||n.push(o)}}catch(e){r.e(e)}finally{r.f()}this.editor.plugins.aiManager.isRequestActive&&n.push("use-ai"),n.length===Object.keys(Ole).length?this.end():this.render(this.container,!0,{excludeItems:n})}},{key:"setEditorRated",value:function(){return this.editor.plugins.editorRate.setEditorRated()}},{key:"isEditorRated",value:function(){return this.editor.plugins.editorRate.isEditorRated()}},{key:"calcMenuDirection",value:function(e){var t=this.editor.getScrollingContainer().getBoundingClientRect();return e.y-t.y>t.y+t.height-(e.y+e.height)?"top-start":"bottom-start"}},{key:"excludeToggleItemsIfNeed",value:function(){return ie(this.session.blot,(function(e){return"toggleContent"===e.constructor.blotName}))?["toggle","largeheading-toggle","mediumheading-toggle","smallheading-toggle","columns","step","step-aggregator"]:[]}},{key:"render",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null;if(t&&this.session){var o="top-start"===this.menuPlacement?["top","bottom","top"]:["bottom","top","bottom"],i=n.excludeItems&&n.excludeItems.length?n.excludeItems:this.excludeToggleItemsIfNeed();ie(this.session.blot,(function(e){return"gridCol"===e.constructor.blotName}))&&i.push("columns"),this.editor.plugins.aiManager.isRequestActive&&i.push("use-ai"),r=(0,s.h)(u9,{editor:this.editor,i18n:this.editor.plugins.i18n,wantsToClose:this.onMenuWantsToClose,menuKey:"convert-block-menu",getStyles:this.getMenuPositionParams,onChooseMenuItem:this.onChooseMenuItem,anchorNode:this.session.blot.domNode,convertBlot:this.convertBlot,onUseAi:this.onUseAi,addImage:this.addImage,addFile:this.addFile,addLink:this.addLink,addMention:this.addMention,addProgress:this.addProgress,addDropdownList:this.addDropdownList,addRemoteFile:this.addRemoteFile,addColumns:this.addColumns,addDatabase:this.addDatabase,lockBlot:this.lockBlot,addUnsplashImage:this.addUnsplashImage,excludeItems:i,anchorOptions:{placement:this.menuPlacement,boundariesElement:this.scrollingContainer,behavior:o},containerNode:this.container,updatePosition:!0,onRateEditorClick:this.onRateEditorClick,onRateEditorCloseClick:this.onRateEditorCloseClick,showEditorRate:!this.isEditorRated()&&this.editor.plugins.editorRate.isEnabled(),addStepsAggregator:this.addStepsAggregator})}(0,s.sY)((0,s.h)(dt.Z,{transitionName:"menu",transitionEnterTimeout:Nle,transitionLeaveTimeout:Nle},r),e)}},{key:"start",value:function(e,t){if(this.options.enabled){var n=this.scroll.selection.getRange()[1].native.getBoundingClientRect();this.menuPlacement=this.calcMenuDirection(n),this.session=new xle(this,e,t.index,n),this.render(this.container,!0)}}},{key:"end",value:function(){if(this.session){var e=this.container;this.render(e),this.session.destroy(),this.session=null,this.menuPlacement=null}}}])&&Ile(t.prototype,n),r&&Ile(t,r),e}(),Lle=n(60119),Ble=n.n(Lle),Fle=n(88131);function Ule(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hle(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hle(e,t)}(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 Hle(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zle(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qle=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),zle(this,"updateCursor",(function(e,t,n,r){e&&e.cursor&&t!==n.clientID?r.plugins.awarenessPlugin.moveCursor(e,t,n):r.plugins.awarenessPlugin.removeCursor(e,t,n)})),zle(this,"_awarenessObserver",(function(e,t){if(r.awareness){var n=Ule(r.scroll.selection.getRange(),2),o=n[0],i=n[1];if(o&&null!==o.index){var a=Ks(r.editor);if(a){var s=r.editor.store.Y.relativePositionToJSON(a.relLeft),l=r.editor.store.Y.relativePositionToJSON(a.relRight);o.relLeft=s,o.relRight=l,o.firstBlot=a.firstBlot.id,o.lastBlot=a.lastBlot.id}o.reversed=i&&i.reversed,e&&(o.eventType=e,t&&(o.blotId=t)),r.awareness.setLocalStateField("cursor",{sel:o})}else null!==r.awareness.getLocalState()&&r.awareness.setLocalStateField("cursor",null);r.updateRemoteCursors(e,t)}})),zle(this,"_awarenessChange",(function(e){var t=e.added,n=e.removed,o=e.updated,i=r.awareness.getStates();t.forEach((function(e){r.updateCursor(i.get(e),e,r.awdoc,r.editor)})),o.forEach((function(e){var t=i.get(e);t.cursor&&t.cursor.sel&&(t.cursor.sel.typing||t.cursor.sel.blotId)&&(t.cursor.sel.remote=!0),r.updateCursor(i.get(e),e,r.awdoc,r.editor)})),n.forEach((function(e){r.editor.plugins.awarenessPlugin.removeCursor(i.get(e),e,r.awdoc)}))})),zle(this,"onTypeObserverDebounce",hf()((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t&&t[0];r._awarenessObserver("typeObserver",null,o)}),0,{trailing:!0})),zle(this,"onCursorChangeDebounce",hf()((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t&&t[0];r._awarenessObserver("selectionchange",null,o)}),0,{trailing:!0})),zle(this,"onDragChangeDebounce",hf()((function(){r._awarenessObserver(Epe)}),0,{trailing:!0})),zle(this,"onBlotAddDebounce",hf()((function(){for(var e=null,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];n&&n[0]&&n[0].id&&(e=n[0].id),r._awarenessObserver(bpe,e)}),0,{trailing:!0})),zle(this,"onBlotRemoveDebounce",hf()((function(){r._awarenessObserver(vpe)}),0,{trailing:!0})),this.editor=t,this.scroll=t.scroll,this.awdoc=n&&n.doc,this.awareness=n}var t,n,r;return t=e,(n=[{key:"updateRemoteCursors",value:function(e,t){var n=this;this.awareness.getStates().forEach((function(t,r){e&&t&&t.cursor&&t.cursor.sel&&(t.cursor.sel.eventType=e),n.updateCursor(t,r,n.awdoc,n.editor)}))}}])&&Vle(t.prototype,n),r&&Vle(t,r),e}();function Gle(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Wle(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wle(e,t)}(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 Wle(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Yle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Zle=[YI.className],Kle=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"onEditorBodyResize",(function(){var e=n.neditRoot.getBoundingClientRect().width;n.cursorsContainer.setAttribute("style","--editor-max-width:".concat(e,"px;"))})),this.editor=o,this.scroll=r,this.options=i||{},this._awBinding=null,this.neditRoot=null,this.initBinding()}var t,n,r;return t=e,(n=[{key:"initBinding",value:function(){var e=this.scroll.editor.mode===fpe;if(this.neditRoot=this.editor.getScrollingContainer().querySelector(".nedit-root"),e&&this.isEnabled){var t=this.editor.store.y.awareness,n=t&&t.getLocalState();if(n&&!n.user){var r=this.getCurrentUser();t.setLocalStateField("user",r),this._awBinding=new qle(this.editor,t)}this.initEvents()}}},{key:"initEvents",value:function(){var e=this;this._awBinding&&(this.editor.on(vpe,(function(){e._awBinding.onBlotRemoveDebounce()})),this.editor.on(bpe,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e._awBinding.onBlotAddDebounce(n)})),this.editor.on("selectionchange",(function(){e._awBinding.onCursorChangeDebounce()})),this.editor.on(Epe,(function(){e._awBinding.onDragChangeDebounce()})),this._awBinding.awareness.on("change",this._awBinding._awarenessChange)),this.editor.emitter.on("editorBodyResize",this.onEditorBodyResize)}},{key:"isEnabled",get:function(){return this.options.enabled}},{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"getCurrentUser",value:function(){return this.isMethodImplemented("getCurrentUser")?this.options.getCurrentUser():null}},{key:"cursorsContainer",get:function(){return this.editor.scrollingContainer.querySelector("#editor-cursors")}},{key:"userCursorContainer",value:function(e){var t=this.getContainerId(e);return this.cursorsContainer.querySelector("#"+t)}},{key:"getContainerId",value:function(e){return"ed-cursor-"+e}},{key:"selectionGetBounds",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.scroll.length();e=Math.min(e,r-1),n=Math.min(e+n,r-1)-e;var o=this.scroll.leaf(e),i=Gle(o,2),a=i[0],s=i[1];if(!a||void 0===a)return null;if("function"==typeof a.position){var l=a.position(s,!0),c=Gle(l,2);t=c[0],s=c[1]}var u=document.createRange();if(n>0){if(u.setStart(t,s)[s]=this.scroll.leaf(e+n),!a||void 0===a)return null;if("function"==typeof a.position){var d=a.position(s,!0),p=Gle(d,2);t=p[0],s=p[1]}else if(!t)return null;return u.setEnd(t,s),u.getBoundingClientRect()}var f,h="left";return a.isEmbeddable?((f=a.domNode.getBoundingClientRect()).height=0,s>0&&(h="right")):t instanceof Text?(s<t.data.length?(u.setStart(t,s),u.setEnd(t,s+1)):(u.setStart(t,s-1),u.setEnd(t,s),h="right"),f=u.getBoundingClientRect()):(f=a.domNode.getBoundingClientRect(),s>0&&(h="right")),{bottom:f.top+f.height,height:f.height,left:f[h],right:f[h],top:f.top,width:0}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null;if(!(n="number"==typeof e?this.selectionGetBounds(e,t):this.selectionGetBounds(e.index,e.length)))return null;var r=this.editor.scroll.domNode.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"updateRemoteCursors",value:function(e){this._awBinding.updateRemoteCursors(e)}},{key:"ignoreCursor",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;if(null!==(e=n.cursor)&&void 0!==e&&null!==(t=e.sel)&&void 0!==t&&t.hasOwnProperty("index")){var o=this.scroll.leaf(n.cursor.sel.index),i=Gle(o,2),a=i[0],s=i[1];if(a){var l=a.position(s,!0),c=Gle(l,1),u=c[0];null!=u&&u.classList&&u.classList.forEach((function(e){Zle.includes(e)&&(r=!0)}))}}return r}},{key:"moveCursor",value:function(e,t,n){if(this.ignoreCursor(e))this.removeCursor(e,t);else{var r=this.userCursorContainer(t);if(e.cursor.sel.relLeft){var o={firstBlot:this.editor.findById(e.cursor.sel.firstBlot),lastBlot:this.editor.findById(e.cursor.sel.lastBlot),doc:n,relLeft:this.editor.store.Y.createRelativePositionFromJSON(e.cursor.sel.relLeft),relRight:this.editor.store.Y.createRelativePositionFromJSON(e.cursor.sel.relRight)};try{var i=$s(o);e.cursor.sel.index=i.index}catch(e){}}if(r){var a=parseInt(r.getAttribute("data-index")),s=e.cursor.sel.remote,l=(this.getSelIndex(e),e.cursor.sel.eventType),c=e.cursor.sel.blotId;s&&"selectionchange"===l&&(e.cursor.sel.index=a,e.cursor.sel.remote=!1);var u=!1;if(l&&"selectionchange"===l&&(u=!0),l&&"blot-added"===l&&c){var d=this.editor.findById(c);if(d&&d.isEmbeddable)return r.remove(),!1}if(e.cursor.sel.index===a&&u)return!1;r.remove()}this.createCursor(e,t)}}},{key:"removeCursor",value:function(e,t,n){var r=this.getContainerId(t),o=this.cursorsContainer.querySelector("#"+r);o&&o.remove()}},{key:"createCursor",value:function(e,t){var n=e.user||{},r=n.color||{},o=r.background,i=void 0===o?"#ffa500":o,a=r.font,s=void 0===a?"#fff":a,l=n.name||"User: ".concat(t),c=this.getContainerId(t),u=this.cursorsContainer,d=this.getSelIndex(e),p=this.scroll.length(),f=this.getBounds(d);if(!f||0===f.height)return!1;var h=document.createElement("div");h.id=c,h.classList.add("ed-cursor"),h.setAttribute("data-index",d),h.setAttribute("data-scrollLength",p);var m=document.createElement("span");m.classList.add("ed-cursor-caret-container"),m.style.top=f.top+"px",m.style.left=f.left+"px",m.style.height=f.height+"px";var g=document.createElement("span");g.classList.add("ed-cursor-caret"),g.style.backgroundColor=i,m.append(g);var y=document.createElement("div");y.classList.add("ed-cursor-flag"),y.style.backgroundColor=i;var v=document.createElement("small");v.textContent=l,v.style.color=s,y.append(v),y.style.top=f.top+"px",y.style.left=f.left+"px",h.append(m),h.append(y),u.append(h)}},{key:"getSelIndex",value:function(e){var t=e.cursor.sel.index;return e.cursor.sel.reversed||(t=e.cursor.sel.index+e.cursor.sel.length),t<0&&(t=0),t}},{key:"_getLeaf",value:function(e){var t=e.cursor.sel.index,n=e.cursor.sel.index+e.cursor.sel.length;return{startLeaf:this.getLeaf(t),endLeaf:this.getLeaf(n)}}},{key:"createSelection",value:function(e,t,n){var r=this._getLeaf(e),o=this._lineRanges(e,r.startLeaf,r.endLeaf);o&&o[0]&&o[0].endContainer.classList&&"attachment-caption"===o[0].endContainer.classList[1]&&(e.cursor.sel.index=e.cursor.sel.index-2,e.cursor.sel.length=e.cursor.sel.length+2,r=this._getLeaf(e),o=this._lineRanges(e,r.startLeaf,r.endLeaf));var i=o.reduce((function(e,t){return e.concat(Array.from(Fle.getClientRects(t)))}),[]),a=this.editor.scroll.domNode.getBoundingClientRect();this.updateSelection(e,i,a,n)}},{key:"updateSelection",value:function(e,t,n,r){var o=this,i=t||[];i=Array.from(i),i=this._sanitize(i),(i=this._sortByDomPosition(i)).forEach((function(t){return o._addSelection(e,t,n,r)}))}},{key:"_addSelection",value:function(e,t,n,r){var o=this._selectionBlock(e,t,n);r.appendChild(o)}},{key:"_selectionBlock",value:function(e,t,n){var r=(e.user||{}).color||"#ffa500",o=document.createElement("span");return o.classList.add("ed-cursor-selection-block"),o.style.top="".concat(t.top-n.top,"px"),o.style.left="".concat(t.left-n.left,"px"),o.style.width="".concat(t.width,"px"),o.style.height="".concat(t.height,"px"),o.style.backgroundColor=Ble()(r).setAlpha(.1).toString(),o}},{key:"_sanitize",value:function(e){var t=this,n=new Set;return e.filter((function(e){if(!e.width||!e.height)return!1;var r=t._serialize(e);return!n.has(r)&&(n.add(r),!0)}))}},{key:"_serialize",value:function(e){return["top:".concat(e.top),"right:".concat(e.right),"bottom:".concat(e.bottom),"left:".concat(e.left)].join(";")}},{key:"_sortByDomPosition",value:function(e){return e.sort((function(e,t){return e.top===t.top?e.left-t.left:e.top-t.top}))}},{key:"_lineRanges",value:function(e,t,n){var r=this._getLines(e.cursor.sel);return r.reduce((function(e,o,i){if(!o.children){var a=document.createRange();return a.selectNode(o.domNode),e.concat(a)}var s=Gle(0===i?t:o.path(0).pop(),2),l=s[0],c=s[1],u=Gle(i===r.length-1?n:o.path(o.length()-1).pop(),2),d=u[0],p=u[1],f=document.createRange();return l.domNode.nodeType===Node.TEXT_NODE?f.setStart(l.domNode,c):f.setStartBefore(l.domNode),d.domNode.nodeType===Node.TEXT_NODE?f.setEnd(d.domNode,p):f.setEndAfter(d.domNode),e.concat(f)}),[])}},{key:"_getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"destroy",value:function(){this.editor.emitter.off("editorBodyResize",this.onEditorBodyResize)}}])&&Yle(t.prototype,n),r&&Yle(t,r),e}();function $le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qle(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xle(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Jle=function(){function e(t){var n=t.scroll,r=t.editor,o=t.options,i=void 0===o?{}:o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=r,this.scroll=n,this.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$le(Object(n),!0).forEach((function(t){Qle(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({enabled:!1},i),this.items={}}var t,n,r;return t=e,(n=[{key:"setCta",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.items={},t.forEach((function(t){e.items[t.blotId+"_"+t.attachmentGlobalId]=t})),this.editor.emitter.emit("set-cta")}},{key:"getCta",value:function(e,t){return this.options.enabled&&this.items[e+"_"+t]||null}}])&&Xle(t.prototype,n),r&&Xle(t,r),e}();function ece(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function tce(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return nce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nce(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function nce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var oce=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=o,this.scroll=r,this.options=i||{},this.options.editor=this.editor,this.editor.on(vpe,(function(e){var t=e.id,r=n.editor.store.getMap(t);if(r&&void 0!==r&&"tasks-list"===r.get("type")&&r.has("tasksListId")){var o=r.get("tasksListId");setTimeout((function(){n.editor.findById(t)||n.editor.emitter.emit("tasksList:remove",{tasksListId:o})}))}}))}var t,n,r,o,i;return t=e,(n=[{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"createTasksList",value:function(){return!!this.isMethodImplemented("createTasksList")&&this.options.createTasksList()}},{key:"duplicateTasksList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return!!this.isMethodImplemented("duplicateTasksList")&&this.options.duplicateTasksList(e,t)}},{key:"getReadOnlyTasksList",value:function(e){return!!this.isMethodImplemented("getReadOnlyTasksList")&&this.options.getReadOnlyTasksList(e)}},{key:"featWorkspaceTasksInputs",value:function(){return this.options.featWorkspaceTasksInputs}},{key:"featWorkspaceTasksOutputs",value:function(){return this.options.featWorkspaceTasksOutputs}},{key:"syncFeatWorkspaceTasksInputs",value:function(){var e,t=this.scroll.descendants(gX),n=this.featWorkspaceTasksInputs(),r=tce(t);try{for(r.s();!(e=r.n()).done;)e.value.setPropsForTasksList(n)}catch(e){r.e(e)}finally{r.f()}}},{key:"getState",value:function(e,t){if(this.options.getState)return this.options.getState(e,t);console.info("has no TasksManager.getState function")}},{key:"sendEvent",value:function(e,t){if(this.options.sendEvent)return this.options.sendEvent(e,t);console.info("has no TasksManager.sendEvent function")}},{key:"emitEvent",value:function(e,t){if(this.options.emitEvent)return this.options.emitEvent(e,t);console.info("has no TasksManager.emitEvent function")}},{key:"listenEvents",value:function(e){this.options.listenEvents?this.options.listenEvents(e):console.info("has no TasksManager.listenEvents function")}},{key:"deleteTaskList",value:function(e){if(this.options.deleteTaskList)return this.options.deleteTaskList(e);console.info("has no TasksManager.deleteTaskList function")}},{key:"restoreTaskList",value:(o=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.options.restoreTaskList){e.next=4;break}return e.abrupt("return",this.options.restoreTaskList(t));case 4:console.info("has no TasksManager.restoreTaskList function");case 5:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){ece(i,n,r,a,s,"next",e)}function s(e){ece(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})},{key:"findBlot",value:function(e){var t=this.editor,n=Object.values(t.store.blocks.toJSON()).find((function(n){return"tasks-list"===n.type&&n.tasksListId===e&&t.findById(n.id)}));return n?t.findById(n.id):null}},{key:"convertToBoard",value:function(e,t){var n=this.findBlot(t);n&&(n.focusableFocus(),this.editor.exec("add-board",{position:"below",boardId:e,extra:{fromTasksList:!0,tasksListId:t}}),n.map.set("tskip",!0),n.remove())}},{key:"convertToColumn",value:function(e,t,n){return!!this.isMethodImplemented("convertToColumn")&&this.options.convertToColumn(e,t,n)}},{key:"taskListRemove",value:function(e){if(this.isMethodImplemented("taskListRemove")){var t=this.findBlot(e);return null==t||t.map.set("tskip",!0),this.options.taskListRemove(e)}}},{key:"taskListRemoved",value:function(e){var t=this.findBlot(e);t&&(null==t||t.map.set("tskip",!0),t.remove())}},{key:"undoTaskList",value:function(e){this.isMethodImplemented("undoTaskList")&&this.options.undoTaskList(e)}},{key:"destroy",value:function(){this.isMethodImplemented("destroy")&&this.options.destroy()}}])&&rce(t.prototype,n),r&&rce(t,r),e}();function ice(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ace=function(){function e(t){var n=t.scroll,r=t.editor,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=r,this.scroll=n,this.options=o||{}}var t,n,r;return t=e,(n=[{key:"onEditPreview",value:function(e){return console.log("onEditPreview",e),this.options.onEditPreview?this.options.onEditPreview(e):Promise.resolve(null)}},{key:"isEditAvailable",value:function(){return!!this.options.onEditPreview}}])&&ice(t.prototype,n),r&&ice(t,r),e}();function sce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cce=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),lce(this,"onEditorUpdate",(function(){n.editor.isEmpty()&&!n.editor.plugins.aiManager.session?n.render(!0):n.container.childNodes.length&&n.render()})),lce(this,"onMouseDown",(function(e){e.preventDefault(),e.stopPropagation()})),lce(this,"onUseTemplateClick",(function(e){n.options.useTemplate(e)})),lce(this,"onImportClick",(function(e){n.options.import(e)})),lce(this,"onAddDatabaseClick",(function(e){n.editor.exec("add-database",{type:"with-options"})})),lce(this,"onAddBoardClick",(function(e){n.editor.scroll.selection.setRange({index:0,length:0}),n.editor.exec("convert-blot",{type:"board"})})),lce(this,"onUseAiClick",(function(e){n.editor.plugins.aiManager.show(n.editor.scroll.children.head)})),this.editor=o,this.scroll=r,this.options=i||{},this.enabled=this.options.enabled,this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.enabled&&(this.container=document.createElement("div"),this.container.classList.add("empty-editor-features"),this.editor.scrollingContainer.appendChild(this.container),this.editor.on("editorUpdate",this.onEditorUpdate))}},{key:"isMethodImplemented",value:function(e){return Boolean(this.options[e])}},{key:"getPosition",value:function(){var e=le(this.scroll.domNode,this.editor.editorBody),t=e.x;return{top:e.y+90+"px",left:t+2+"px"}}},{key:"renderFeature",value:function(e,t,n){return(0,s.h)("div",{classList:"empty-feature-item",onClick:n},(0,s.h)("span",{className:"empty-feature-icon"},(0,s.h)(t,null)),(0,s.h)("span",{className:"empty-feature-title"},e))}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;if(e){var n=null,r=null;this.isMethodImplemented("useTemplate")&&(n=this.renderFeature(this.editor.plugins.i18n.get("empty_features.use_template"),ct._9F,this.onUseTemplateClick)),this.isMethodImplemented("import")&&(r=this.renderFeature(this.editor.plugins.i18n.get("empty_features.import"),ct.hoH,this.onImportClick));var o="add_database_with_options";localStorage.hasOwnProperty("editor-count-database-created")&&localStorage.getItem("editor-count-database-created")>=2&&(o="add_database");var i=this.renderFeature(this.editor.plugins.i18n.get("empty_features."+o),ct.OQ8,this.onAddDatabaseClick),a=this.renderFeature(this.editor.plugins.i18n.get("empty_features.add_board"),ct.ve2,this.onAddBoardClick),l=this.editor.plugins.aiManager.enabled?this.renderFeature(this.editor.plugins.i18n.get("empty_features.use_ai"),ct.nST,this.onUseAiClick):null;t=(0,s.h)("div",{className:"empty-features",onMouseDown:this.onMouseDown,style:this.getPosition()},n,r,i,a,l?(0,s.h)("span",{className:"empty-features-divider"}):null,l)}(0,s.sY)(t,this.container)}},{key:"destroy",value:function(){if(this.editor.off("editorUpdate",this.onEditorUpdate),this.enabled){var e=this.container;this.container=null,e.parentNode.removeChild(e)}}}])&&sce(t.prototype,n),r&&sce(t,r),e}();function uce(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function dce(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return pce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pce(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function pce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var hce=function(){function e(t){var n=this,r=t.scroll,o=t.editor,i=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=o,this.scroll=r,this.options=i||{},this.options.hasOwnProperty("enabled")||(this.options.enabled=!1),this.options.editor=this.editor,this.editor.on(vpe,(function(e){var t=e.id,r=n.editor.store.getMap(t);if(r&&void 0!==r&&"board"===r.get("type")&&r.has("boardId")){var o=r.get("boardId");setTimeout((function(){n.editor.findById(t)||n.editor.emitter.emit("board:remove",{boardId:o})}))}}))}var t,n,r,o,i;return t=e,(n=[{key:"isMethodImplemented",value:function(e){var t=Boolean(this.options[e]);return t||console.info("has no BoardManager."+e+" function"),t}},{key:"createBoard",value:function(){return!!this.isMethodImplemented("createBoard")&&this.options.createBoard()}},{key:"duplicateBoard",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return!!this.isMethodImplemented("duplicateBoard")&&this.options.duplicateBoard(e,t)}},{key:"renameBoard",value:function(e){this.isMethodImplemented("renameBoard")&&this.options.renameBoard(e)}},{key:"addNewColumn",value:function(e){this.isMethodImplemented("addNewColumn")&&this.options.addNewColumn(e)}},{key:"featBoardInputs",value:function(){return this.options.featBoardInputs}},{key:"featBoardOutputs",value:function(){return this.options.featBoardOutputs}},{key:"syncFeatBoardInputs",value:function(){var e,t=this.scroll.descendants(nJ),n=this.featBoardInputs(),r=dce(t);try{for(r.s();!(e=r.n()).done;)e.value.setPropsForBoard(n)}catch(e){r.e(e)}finally{r.f()}}},{key:"deleteBoard",value:function(e){return!!this.isMethodImplemented("deleteBoard")&&this.options.deleteBoard(e)}},{key:"restoreBoard",value:(o=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isMethodImplemented("restoreBoard")){e.next=2;break}return e.abrupt("return",this.options.restoreBoard(t));case 2:return e.abrupt("return",!1);case 3:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){uce(i,n,r,a,s,"next",e)}function s(e){uce(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return i.apply(this,arguments)})},{key:"findBlot",value:function(e){var t=this.editor,n=Object.values(t.store.blocks.toJSON()).find((function(n){return"board"===n.type&&n.boardId===e&&t.findById(n.id)}));return n?t.findById(n.id):null}},{key:"convertColumnToTaskList",value:function(e,t,n){var r=this.editor,o=this.findBlot(e);o&&(r.findById(o.id).focusableFocus(),r.exec("add-tasks-list",{position:"below",tasksListId:t,extra:{fromColumn:!0,boardId:e,beforeColumnId:n}}))}},{key:"convertBoardToTaskList",value:function(e,t){this.isMethodImplemented("convertBoardToTaskList")&&this.options.convertBoardToTaskList(e,t)}},{key:"boardRemove",value:function(e){if(this.isMethodImplemented("boardRemove")){var t=this.findBlot(e);null==t||t.map.set("tskip",!0),this.options.boardRemove(e)}}},{key:"undoBoard",value:function(e){this.isMethodImplemented("undoBoard")&&this.options.undoBoard(e)}},{key:"destroy",value:function(){this.isMethodImplemented("destroy")&&this.options.destroy()}}])&&fce(t.prototype,n),r&&fce(t,r),e}(),mce=(n(33161),n(13650));function gce(e){return(gce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yce(){return(yce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vce(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var bce=wce((function(e){return"string"==typeof e?e:null})),_ce=function(e){return null!=e};function wce(e){return function(t){return _ce(e(t))}}var Cce=function(e){return Object.keys(e).reduce((function(t,n){var r,o=e[n];return yce({},t,_ce(o)?((r={})[n]=o,r):{})}),{})};function Sce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length-1;return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];for(var i=t[0].apply(this,n),a=1;a<=r;a++)i=t[a].call(this,i);return i}}var Ece,xce,kce=wce((function(e){return _ce(e)&&"object"===gce(e)&&!Array.isArray(e)?e:null})),Oce=wce((function(e){return Array.isArray(e)&&e.every(bce)&&function(e){return e.length>0}(e)?e:null})),Tce=wce((function(e){return kce(e)&&"errors"in e&&Oce(e.errors)?{errors:e.errors}:null})),Ace=function(e){this.message=e},Pce=function(e){if(function(e){var t=e.headers.get("content-type");return _ce(t)&&"application/json"===(0,mce.Q)(t).type}(e))return e.json().catch((function(e){throw new Ace("unable to parse JSON response.")}));throw new Ace("expected JSON response from server.")},Rce=function(e){return function(t){return(t.ok?e({response:t}).then((function(e){return{type:"success",status:t.status,response:e,originalResponse:t}})):Pce(t).then((function(e){return yce({type:"error",status:t.status},function(e){return Tce(e)?{errors:e.errors,source:"api"}:{errors:["Responded with a status code outside the 2xx range, and the response body is not recognisable."],source:"decoding"}}(e),{originalResponse:t})}))).catch((function(e){if(e instanceof Ace)return{type:"error",source:"decoding",status:t.status,originalResponse:t,errors:[e.message]};throw e}))}},Ice=function(){return function(e){var t=e.response;return Pce(t)}},Mce=function(e){var t=e.pathname,n=e.query;return function(e){var r=new URL(e);return function(e){return function(t){"/"===t.pathname?t.pathname=e:t.pathname+=e}}(t)(r),function(e){return function(t){Object.keys(e).forEach((function(n){return t.searchParams.set(n,e[n].toString())}))}}(n)(r),r.toString()}},Nce=function(e){return function(t,n){void 0===n&&(n={});var r=e(t),o=r.headers,i=r.query;return yce({},vce(r,["headers","query"]),n,{query:i,headers:yce({},o,n.headers)})}},Dce=function(e){return e},jce=function(e){var t=e.accessKey,n=e.apiVersion,r=void 0===n?"v1":n,o=e.apiUrl,i=void 0===o?"https://api.unsplash.com":o,a=e.headers,s=e.fetch,l=vce(e,["accessKey","apiVersion","apiUrl","headers","fetch"]);return function(e){var n=e.handleResponse;return Sce(e.handleRequest,(function(e){var o=e.pathname,c=e.query,u=e.method,d=void 0===u?"GET":u,p=e.headers,f=e.body,h=e.signal,m=Mce({pathname:o,query:c})(i),g=yce({method:d,headers:yce({},a,p,{"Accept-Version":r},_ce(t)?{Authorization:"Client-ID "+t}:{}),body:f,signal:h},l);return(null!=s?s:fetch)(m,g).then(Rce(n))}))}},Lce=function(e){var t=e.headers.get("x-total");if(_ce(t)){var n=parseInt(t);if(Number.isInteger(n))return n;throw new Ace("expected x-total header to be valid integer.")}throw new Ace("expected x-total header to exist.")},Bce=function(){return function(e){var t=e.response;return Ice()({response:t}).then((function(e){return{results:e,total:Lce(t)}}))}},Fce=function(e){return _ce(e)?{collections:e.join()}:{}},Uce=function(e){return _ce(e)?{topics:e.join()}:{}},Hce=function(e){var t=e.page,n=e.perPage,r=e.orderBy;return Cce({per_page:n,order_by:r,page:t})},Vce=function(){var e=function(e){return"/collections/"+e.collectionId+"/photos"};return{getPathname:e,handleRequest:Nce((function(t){var n=t.collectionId,r=t.orientation,o=vce(t,["collectionId","orientation"]);return{pathname:e({collectionId:n}),query:Cce(yce({},Hce(o),{orientation:r}))}})),handleResponse:Bce()}}(),zce=function(){var e=function(e){return"/collections/"+e.collectionId};return{getPathname:e,handleRequest:Nce((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:Ice()}}(),qce=function(){var e=function(){return"/collections"};return{getPathname:e,handleRequest:Nce((function(e){return void 0===e&&(e={}),{pathname:"/collections",query:Hce(e)}})),handleResponse:Bce()}}(),Gce=function(){var e=function(e){return"/collections/"+e.collectionId+"/related"};return{getPathname:e,handleRequest:Nce((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:Ice()}}(),Wce=function(){return{getPathname:function(e){return"/photos"},handleRequest:Nce((function(e){return void 0===e&&(e={}),{pathname:"/photos",query:Cce(Hce(e))}})),handleResponse:Bce()}}(),Yce=function(){var e=function(e){return"/photos/"+e.photoId};return{getPathname:e,handleRequest:Nce((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:Ice()}}(),Zce=function(){var e=function(e){return"/photos/"+e.photoId+"/statistics"};return{getPathname:e,handleRequest:Nce((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:Ice()}}(),Kce=function(){var e=function(){return"/photos/random"};return{getPathname:e,handleRequest:Nce((function(e){var t=void 0===e?{}:e,n=t.collectionIds,r=t.contentFilter,o=t.topicIds,i=vce(t,["collectionIds","contentFilter","topicIds"]);return{pathname:"/photos/random",query:Cce(yce({},i,{content_filter:r},Fce(n),Uce(o))),headers:{"cache-control":"no-cache"}}})),handleResponse:Ice()}}(),$ce={handleRequest:Nce((function(e){var t=function(e){var t=new URL(e),n=t.pathname;return{query:function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}(t.searchParams),pathname:"/"===n?void 0:n}}(e.downloadLocation),n=t.pathname,r=t.query;if(!_ce(n))throw new Error("Could not parse pathname from url.");return{pathname:n,query:Cce(r)}})),handleResponse:Ice()},Qce=function(){return{getPathname:function(e){return"/search/photos"},handleRequest:Nce((function(e){var t=e.query,n=e.page,r=e.perPage,o=e.orderBy,i=e.collectionIds,a=e.lang,s=e.contentFilter,l=vce(e,["query","page","perPage","orderBy","collectionIds","lang","contentFilter"]);return{pathname:"/search/photos",query:Cce(yce({query:t,content_filter:s,lang:a,order_by:o},Hce({page:n,perPage:r}),Fce(i),l))}})),handleResponse:Ice()}}(),Xce=function(){return{getPathname:function(e){return"/search/collections"},handleRequest:Nce((function(e){var t=e.query,n=vce(e,["query"]);return{pathname:"/search/collections",query:yce({query:t},Hce(n))}})),handleResponse:Ice()}}(),Jce=function(){return{getPathname:function(e){return"/search/users"},handleRequest:Nce((function(e){var t=e.query,n=vce(e,["query"]);return{pathname:"/search/users",query:yce({query:t},Hce(n))}})),handleResponse:Ice()}}(),eue=function(){var e=function(e){return"/users/"+e.username};return{getPathname:e,handleRequest:Nce((function(t){var n=t.username;return{pathname:e({username:n}),query:{}}})),handleResponse:Ice()}}(),tue=function(){var e=function(e){return"/users/"+e.username+"/photos"};return{getPathname:e,handleRequest:Nce((function(t){var n=t.username,r=t.stats,o=t.orientation,i=vce(t,["username","stats","orientation"]);return{pathname:e({username:n}),query:Cce(yce({},Hce(i),{orientation:o,stats:r}))}})),handleResponse:Bce()}}(),nue=function(){var e=function(e){return"/users/"+e.username+"/likes"};return{getPathname:e,handleRequest:Nce((function(t){var n=t.username,r=t.orientation,o=vce(t,["username","orientation"]);return{pathname:e({username:n}),query:Cce(yce({},Hce(o),{orientation:r}))}})),handleResponse:Bce()}}(),rue=function(){var e=function(e){return"/users/"+e.username+"/collections"};return{getPathname:e,handleRequest:Nce((function(t){var n=t.username,r=vce(t,["username"]);return{pathname:e({username:n}),query:Hce(r)}})),handleResponse:Bce()}}(),oue=function(e){return"/topics/"+e.topicIdOrSlug},iue=Dce({getPathname:oue,handleRequest:function(e){var t=e.page,n=e.perPage,r=e.orderBy,o=e.topicIdsOrSlugs;return{pathname:"/topics",query:Cce(yce({},Hce({page:t,perPage:n}),{ids:null==o?void 0:o.join(","),order_by:r}))}},handleResponse:Bce()}),aue=Dce({getPathname:oue,handleRequest:function(e){var t=e.topicIdOrSlug;return{pathname:oue({topicIdOrSlug:t}),query:{}}},handleResponse:Ice()}),sue=function(){var e=Sce(oue,(function(e){return e+"/photos"}));return{getPathname:e,handleRequest:function(t){var n=t.topicIdOrSlug,r=t.orientation,o=vce(t,["topicIdOrSlug","orientation"]);return{pathname:e({topicIdOrSlug:n}),query:Cce(yce({},Hce(o),{orientation:r}))}},handleResponse:Bce()}}();!function(e){e.Afrikaans="af",e.Amharic="am",e.Arabic="ar",e.Azerbaijani="az",e.Belarusian="be",e.Bulgarian="bg",e.Bengali="bn",e.Bosnian="bs",e.Catalan="ca",e.Cebuano="ceb",e.Corsican="co",e.Czech="cs",e.Welsh="cy",e.Danish="da",e.German="de",e.Greek="el",e.English="en",e.Esperanto="eo",e.Spanish="es",e.Estonian="et",e.Basque="eu",e.Persian="fa",e.Finnish="fi",e.French="fr",e.Frisian="fy",e.Irish="ga",e.ScotsGaelic="gd",e.Galician="gl",e.Gujarati="gu",e.Hausa="ha",e.Hawaiian="haw",e.Hindi="hi",e.Hmong="hmn",e.Croatian="hr",e.HaitianCreole="ht",e.Hungarian="hu",e.Armenian="hy",e.Indonesian="id",e.Igbo="ig",e.Icelandic="is",e.Italian="it",e.Hebrew="iw",e.Japanese="ja",e.Javanese="jw",e.Georgian="ka",e.Kazakh="kk",e.Khmer="km",e.Kannada="kn",e.Korean="ko",e.Kurdish="ku",e.Kyrgyz="ky",e.Latin="la",e.Luxembourgish="lb",e.Lao="lo",e.Lithuanian="lt",e.Latvian="lv",e.Malagasy="mg",e.Maori="mi",e.Macedonian="mk",e.Malayalam="ml",e.Mongolian="mn",e.Marathi="mr",e.Malay="ms",e.Maltese="mt",e.Myanmar="my",e.Nepali="ne",e.Dutch="nl",e.Norwegian="no",e.Nyanja="ny",e.Oriya="or",e.Punjabi="pa",e.Polish="pl",e.Pashto="ps",e.Portuguese="pt",e.Romanian="ro",e.Russian="ru",e.Kinyarwanda="rw",e.Sindhi="sd",e.Sinhala="si",e.Slovak="sk",e.Slovenian="sl",e.Samoan="sm",e.Shona="sn",e.Somali="so",e.Albanian="sq",e.Serbian="sr",e.Sesotho="st",e.Sundanese="su",e.Swedish="sv",e.Swahili="sw",e.Tamil="ta",e.Telugu="te",e.Tajik="tg",e.Thai="th",e.Turkmen="tk",e.Filipino="tl",e.Turkish="tr",e.Tatar="tt",e.Uighur="ug",e.Ukrainian="uk",e.Urdu="ur",e.Uzbek="uz",e.Vietnamese="vi",e.Xhosa="xh",e.Yiddish="yi",e.Yoruba="yo",e.ChineseSimplified="zh",e.ChineseTraditional="zh-TW",e.Zulu="zu"}(Ece||(Ece={})),function(e){e.LATEST="latest",e.POPULAR="popular",e.VIEWS="views",e.DOWNLOADS="downloads",e.OLDEST="oldest"}(xce||(xce={}));var lue=Sce(jce,(function(e){return{photos:{get:e(Yce),list:e(Wce),getStats:e(Zce),getRandom:e(Kce),trackDownload:e($ce)},users:{getPhotos:e(tue),getCollections:e(rue),getLikes:e(nue),get:e(eue)},search:{getCollections:e(Xce),getPhotos:e(Qce),getUsers:e(Jce)},collections:{getPhotos:e(Vce),get:e(zce),list:e(qce),getRelated:e(Gce)},topics:{list:e(iue),get:e(aue),getPhotos:e(sue)}}}));function cue(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function uue(e){var t=e.setQuery,n=e.query,r=e.onSearch,o=e.i18n,i=(0,T.sO)(null),a=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.preventDefault(),r(n);case 2:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){cue(i,r,o,a,s,"next",e)}function s(e){cue(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,T.d4)((function(){i.current&&i.current.focus()}),[]),(0,s.h)("form",{onSubmit:a},(0,s.h)("input",{className:"unsplash-image-picker-input",placeholder:o.get("image.unsplash.placeholder"),type:"text",name:"search",value:n,onInput:function(e){t(e.target.value)},ref:i}),(0,s.h)("button",{type:"submit"},o.get("image.unsplash.search")))}function due(){return(due=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pue(e,t){return(pue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fue=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,pue(t,n);var o=r.prototype;return o.getColumns=function(){var e=this.props,t=e.children,n=e.columnsCount,r=Array.from({length:n},(function(){return[]}));return aL.default.Children.forEach(t,(function(e,t){e&&aL.default.isValidElement(e)&&r[t%n].push(e)})),r},o.renderColumns=function(){var e=this.props.gutter;return this.getColumns().map((function(t,n){return aL.default.createElement("div",{key:n,style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignContent:"stretch",flex:1,width:0,gap:e}},t.map((function(e){return e})))}))},o.render=function(){var e=this.props,t=e.gutter,n=e.className,r=e.style;return aL.default.createElement("div",{style:due({display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"stretch",boxSizing:"border-box",width:"100%",gap:t},r),className:n},this.renderColumns())},r}(aL.default.Component);fue.propTypes={},fue.defaultProps={columnsCount:3,gutter:"0",className:null,style:{}};const hue=fue;"undefined"!=typeof window?aL.useLayoutEffect:aL.useEffect;const mue=hue;n(37268);function gue(e){var t=e.image,n=e.onSelect,r=void 0===n?function(){}:n;return(0,s.h)("div",{className:"unsplash-image-picker-image",key:t.id,onClick:function(){r(t)}},(0,s.h)("img",{src:t.urls.thumb,alt:t.alt_description}),(0,s.h)("div",{className:"unsplash-image-picker-overlay"},(0,s.h)("div",{className:"unsplash-image-picker-author"},(0,s.h)("img",{className:"unsplash-image-picker-author-avatar",src:t.user.profile_image.small,alt:t.user.username}),(0,s.h)("span",{className:"unsplash-image-picker-author-name"},t.user.name))))}function yue(e){var t=e.isRandom,n=void 0!==t&&t,r=e.isLoading,o=void 0!==r&&r,i=e.isLoadingMore,a=void 0!==i&&i,l=e.images,c=e.total,u=e.onSelect,d=e.onLoadMore,p=e.i18n,f=(0,T.Ye)((function(){return(0,s.Vf)()}),[]),h=Array.isArray(l)&&l.length>0,m={minHeight:"350px"};return o&&(m.height="350px"),(0,s.h)("div",{className:"unsplash-image-picker-list",style:m},o?(0,s.h)("div",{className:"unsplash-image-picker-loading"},(0,s.h)(ey(),null)):(0,s.h)(s.HY,null,h&&(0,s.h)("div",{className:"unsplash-image-picker-grid",style:{maxHeight:"350px"},ref:f,onScroll:function(){if(!n&&f.current){var e=f.current,t=e.scrollTop;e.scrollHeight-(t+e.clientHeight)<20&&d()}}},(0,s.h)(mue,{columnsCount:4,gutter:"10px"},l.map((function(e){return(0,s.h)(gue,{key:e.id,image:e,onSelect:u})}))),a&&(0,s.h)("div",{className:"unsplash-image-picker-loading-more"},(0,s.h)(ey(),null)),n&&(0,s.h)("div",{className:"unsplash-image-picker-bottom-description"},p.get("image.unsplash.description"))),!h&&0===c&&(0,s.h)("div",{className:"unsplash-image-picker-no-result"},p.get("image.unsplash.no_result"))))}function vue(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function bue(e){return function(e){if(Array.isArray(e))return Cue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wue(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 _ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||wue(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 wue(e,t){if(e){if("string"==typeof e)return Cue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cue(e,t):void 0}}function Cue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sue(e){var t=e.unsplashAccessKey,n=e.initialQuery,r=void 0===n?"":n,o=e.onImageSelect,i=e.onClose,a=e.i18n,l=_ue((0,T.eJ)([]),2),c=l[0],u=l[1],d=_ue((0,T.eJ)(),2),p=d[0],f=d[1],h=_ue((0,T.eJ)(""),2),m=h[0],g=h[1],y=_ue((0,T.eJ)(!1),2),v=y[0],b=y[1],_=_ue((0,T.eJ)(!1),2),w=_[0],C=_[1],S=_ue((0,T.eJ)(1),2),E=S[0],x=S[1],k=(0,T.sO)(null),O=lue({accessKey:t});(0,T.d4)((function(){""!==r?(g(r),A(1,r)):P()}),[]);var A=(0,T.I4)((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];v||w||(1===e?b(!0):C(!0),x(e),O.search.getPhotos({page:e,perPage:30,query:t}).then((function(e){var t,r=null==e||null===(t=e.response)||void 0===t?void 0:t.results;if(r){var o=r;n||(o=[].concat(bue(c),bue(r))),u(o),f(e.response.total)}b(!1),C(!1)})))})),P=(0,T.I4)((function(){v||(b(!0),O.photos.getRandom({count:30}).then((function(e){var t=null==e?void 0:e.response;t&&u(t),b(!1)})))})),R=(0,T.I4)((function(){u([]),m?A(1,m,!0):P()})),I=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o(t),i();case 2:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){vue(i,r,o,a,s,"next",e)}function s(e){vue(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,s.h)("div",{className:"unsplash-image-picker-container",ref:k},(0,s.h)("div",{className:"unsplash-image-picker"},(0,s.h)("div",{className:"unsplash-image-picker-header"},a.get("image.unsplash.header")),(0,s.h)("div",{className:"unsplash-image-picker-search"},(0,s.h)(uue,{query:m,setQuery:g,onSearch:R,i18n:a})),(0,s.h)(yue,{isRandom:!m,total:p,images:c,isLoading:v,isLoadingMore:w,onLoadMore:function(){A(E+1,m)},onSelect:I,i18n:a})))}function Eue(){return(Eue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function xue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oue=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),kue(this,"onMenuWantsToClose",(function(){n.hidePicker()})),kue(this,"hidePicker",(function(){n.render()})),this.editor=r,this.scroll=o,this.options=a,this.container=this.renderContainer(),this.enabled=this.options.enabled,this.render()}var t,n,r;return t=e,(n=[{key:"renderContainer",value:function(){var e=document.createElement("div");return e.id="unsplash-manager-container",this.editor.editorBody.appendChild(e),e}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,s.sY)(t?(0,s.h)(At.Z,{addClassName:"unsplash-image-picker-popup",wantsToClose:this.onMenuWantsToClose,closeOnEsc:!0,anchorNode:e.blot.domNode,anchorOptions:{positionFixed:!0,offset:"0px, 0px",placement:"bottom-start",priority:["top","left","right"],overflowBoundariesElement:e.blot.editor.getScrollingContainer(),boundariesElement:e.blot.editor.getScrollingContainer()}},(0,s.h)(Sue,Eue({},e,{unsplashAccessKey:"W3etiemiYh2fPKvdya7JAqliRY2LnqpLEAr7GUpCQZM",initialQuery:"",onClose:this.hidePicker,i18n:this.editor.plugins.i18n}))):null,this.container)}},{key:"openPicker",value:function(e,t){var n={blot:e,onImageSelect:t};this.render(n,!0)}}])&&xue(t.prototype,n),r&&xue(t,r),e}(),Tue=n(15806),Aue=n(60311),Pue=n.n(Aue),Rue=n(8707),Iue=new(n.n(Rue)())({breaks:!0,highlight:function(e,t){if(t&&Pue().getLanguage(t))try{return'<pre class="hljs"><code class="language-'+t+' hljs-code">'+Pue().highlight(e,{language:t,ignoreIllegals:!0}).value+"</code></pre>"}catch(e){}return'<pre class="hljs"><code class="language-'+t+' hljs-code">'+Iue.utils.escapeHtml(e)+"</code></pre>"}});function Mue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Nue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nue(e,t)}(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 Nue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Due=[{name:"Sales email",preffix:"Write sales email about"},{name:"Proposal",preffix:"Write proposal about"},{name:"Newsletter",preffix:"Write newsletter about"},{name:"Blog post",preffix:"Create a Blog post about"},{name:"Brainstorm ideas",preffix:"Write brainstorm ideas about"},{name:"Social media post",preffix:"Create a social media post about"},{name:"Content Calendar",preffix:"Generate a content calendar about"},{name:"Step by Step Guide",preffix:"Write a step by step guide to instruct how to"},{name:"Follow up email",preffix:"Create a follow up about"}],jue=["s","m","l"];function Lue(e){var t=Mue((0,T.eJ)(0),2),n=t[0],r=t[1],o=(0,T.sO)(null),i=e.draftsEnabled,a=void 0===i||i,l=e.activeDraft,c=void 0===l?null:l,u=e.onDraftClick,d=(e.outputLength,e.onOutputLengthClick,e.onToneInputRef),p=e.contextEnabled,f=e.onContextEnabledChange,h=Mue((0,T.eJ)(p),2),m=h[0],g=h[1];(0,T.d4)((function(){d&&d(o.current),o.current?r(o.current.value.length):r(0)}),[o.current]);return(0,s.h)("div",{className:"ai-promt-options"},(0,s.h)("div",{className:"ai-promt-options-header ai-promt-options__use-page-context"},(0,s.h)("span",null,"Use page context"),(0,s.h)(gT,{onChange:function(){var e=!m;g(e),f&&f(e)},enabled:m,size:"large"})),a?(0,s.h)(s.HY,null,(0,s.h)("div",{className:"ai-promt-options-header"},"Draft with Fusebase AI"),Due.map((function(e){return(0,s.h)("span",{className:"ai-promt-options-item"+(c===e.preffix?" active":""),onClick:u.bind(void 0,e.preffix)},(0,s.h)("span",{className:"ai-promt-options-item-icon"},(0,s.h)(ct.pj0,null)),e.name)}))):null,null,(0,s.h)("div",{className:"ai-promt-options-header"},"Tone of voice"),(0,s.h)("div",{className:"ai-promt-options-tone"},(0,s.h)("input",{type:"text",className:"ai-promt-options-tone-input",onInput:function(e){var t=o.current.value;t.length>60&&(o.current.value=t.substring(0,60)),r(o.current.value.length)},ref:o,placeholder:"Witty, serious, etc."}),(0,s.h)("span",{className:"ai-promt-options-tone-count"},n,"/60")))}function Bue(e){return function(e){if(Array.isArray(e))return Fue(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)return;if("string"==typeof e)return Fue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fue(e,t)}(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 Fue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uue(e){var t,n,r=e.session,o=e.i18n,i=e.onActionClick,a=e.onTryAgainClick,l=e.onDiscardClick,c=e.onApplyContent,u=e.onCopyClick,d=function(){r.applyContent&&r.applyContent("before"),c()},p=function(){r.applyContent&&r.applyContent("after"),c()},f=[];"tasks"!==(null===(t=r.options)||void 0===t?void 0:t.action)?("range"===r.type||"page"===r.type?(["range"].includes(r.type)&&f.push({key:"replace",name:o.get("ai_manager.manage.replace")||"Replace",Icon:ct.hFX,callback:function(){r.applyContent&&r.applyContent("replace"),c()},group:0}),["page"].includes(r.type)||f.push.apply(f,[{key:"above",name:o.get("ai_manager.manage.insert_above")||"Insert above",Icon:ct.WLL,callback:d,group:0},{key:"below",name:o.get("ai_manager.manage.insert_below")||"Insert below",Icon:ct.DKw,callback:p,group:0}]),["page"].includes(r.type)&&f.push.apply(f,[{key:"done",name:o.get("ai_manager.manage.done")||"Done",Icon:ct.QPj,callback:p,group:0}])):f.push({key:"done",name:o.get("ai_manager.manage.done")||"Done",Icon:ct.QPj,callback:d,group:1}),f.push.apply(f,[{key:"continue",name:o.get("ai_manager.manage.continue")||"Continue writing",Icon:ct.pj0,callback:i.bind(void 0,"continue"),group:1},{key:"shorter",name:o.get("ai_manager.manage.shorter")||"Make shorter",Icon:ct.rXf,callback:i.bind(void 0,"shorter"),group:1},{key:"longer",name:o.get("ai_manager.manage.longer")||"Make longer",Icon:ct.Z8B,callback:i.bind(void 0,"longer"),group:1}])):f.push.apply(f,[{key:"insertText",name:o.get("ai_manager.manage.insert_as_text")||"Insert as text",Icon:ct.DKw,callback:p,group:1}].concat(Bue(null!==(n=r.tasks)&&void 0!==n&&n.length?[{key:"insertTaskList",name:o.get("ai_manager.manage.insert_as_task_list")||"Insert as task list",Icon:ct.DKw,callback:function(){r.insertTaskList(),c()},group:1},{key:"insertCheckboxList",name:o.get("ai_manager.manage.insert_as_checkbox_list")||"Insert as checkbox list",Icon:ct.DKw,callback:function(){r.insertCheckboxList(),c()},group:1}]:[])));return f.push.apply(f,[{key:"copy",name:o.get("ai_manager.manage.copy")||"Copy",Icon:ct.vUr,callback:u,group:2},{key:"try-again",name:o.get("ai_manager.manage.try_again")||"Try again",Icon:ct.JKM,callback:a,group:2},{key:"discard",name:o.get("ai_manager.manage.discard")||"Discard",Icon:ct.IT9,callback:l,group:2}]),(0,s.h)("div",{className:"ai-promt-options ai-promt-moderate"},f.map((function(e,t){var n=e.Icon;return(0,s.h)(s.HY,null,f[t-1]&&e.group>f[t-1].group?(0,s.h)("span",{className:"ai-promt-options-divider"}):null,(0,s.h)("span",{className:"ai-promt-options-item",onClick:e.callback},(0,s.h)("span",{className:"ai-promt-options-item-icon"},n?(0,s.h)(n,null):""),e.name))})))}function Hue(e){var t=e.onAiHelperClick,n=e.onActionClick,r=e.i18n,o=e.actions,i=[{key:"custom",name:r.get("ai_manager.actions.custom")||"Ai helper",Icon:ct.nST},{key:"summarize",name:r.get("ai_manager.actions.summarize")||"Summarize",Icon:ct.vO},{key:"explain",name:r.get("ai_manager.actions.explain")||"Explain",Icon:ct.j0X},{key:"improve",name:r.get("ai_manager.actions.improve")||"Improve",Icon:ct.F6w},{key:"fix",name:r.get("ai_manager.actions.fix")||"Fix spelling and grammar",Icon:ct.Lan},{key:"tasks",name:r.get("ai_manager.actions.tasks")||"Call to actions",Icon:ct.qHO},{key:"shorter",name:r.get("ai_manager.actions.shorter")||"Make shorter",Icon:ct.rXf},{key:"longer",name:r.get("ai_manager.actions.longer")||"Make longer",Icon:ct.Z8B}];return o&&o.length||(o=i.map((function(e){return e.key}))),(0,s.h)("div",{className:"ai-promt-options ai-promt-actions"},o.map((function(e){var r=i.find((function(t){return t.key===e}));if(r){var o=r.Icon,a="custom"===e?t:n;return(0,s.h)("span",{className:"ai-promt-options-item",onClick:a.bind(void 0,r.key)},(0,s.h)("span",{className:"ai-promt-options-item-icon"},(0,s.h)(o,null)),r.name)}return null})))}function Vue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zue(e,t)}(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 zue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var que=(0,Rn.ZP)("Enter");function Gue(e){var t=e.manager,n=e.session,r=e.pos,o=e.draftsEnabled,i=void 0!==o&&o,a=e.contextEnabled,l=void 0===a||a,c=e.onContextEnabledChange,u=e.onPromtContainerRef,d=e.onPromtInputRef,p=e.onRendered,f=(0,T.sO)(null),h=(0,T.sO)(null),m=(0,T.sO)(null),g=(0,T.sO)(null),y=Vue((0,T.eJ)(!1),2),v=y[0],b=y[1],_=Vue((0,T.eJ)(jue[0]),2),w=_[0],C=_[1],S=Vue((0,T.eJ)(!1),2),E=S[0],x=S[1],k=Vue((0,T.eJ)(!1),2),O=k[0],A=k[1],P=Vue((0,T.eJ)(null),2),R=P[0],I=P[1],M=Vue((0,T.eJ)(!1),2),N=M[0],D=M[1],j=(0,T.sO)(!1),L=t.editor.plugins.i18n;(0,T.d4)((function(){"range"===n.type&&"custom"!==n.options.action&&G({},n.options.action),h.current&&h.current.focus(),q(),p&&p()}),[]),(0,T.d4)((function(){d&&d(h.current),u&&u(f.current)}),[h.current,f.current]),(0,T.d4)((function(){if(E){var e=t.editor.getScrollingContainer();return addEventListener("beforeunload",B,{capture:!0}),e.addEventListener("wheel",F,!1),function(){removeEventListener("beforeunload",B,{capture:!0}),e.removeEventListener("wheel",F,!1),j.current=!1}}}),[E]);var B=function(e){return e.preventDefault(),e.returnValue=L.get("ai_manager.unload_message")},F=function(e){j.current||(j.current=!0)},U={top:r.top+"px",left:r.left+"px",width:r.width+"px"},H=t.getUserHistory(),V=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m.current&&(e?m.current.classList.contains("has-content")||m.current.classList.add("has-content"):(m.current.innerHTML="",m.current.classList.contains("has-content")&&m.current.classList.remove("has-content")))},z=function(e){V(!0),m.current.innerHTML=function(e){return Iue.render(e)}(e),j.current||q()},q=function(){if(f.current){var e=t.editor.scroll.domNode.getBoundingClientRect(),n=f.current.getBoundingClientRect().bottom-(e.bottom-30);n>0&&(t.editor.getScrollingContainer().scrollTop+=n)}},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom";n.isRequestActive||(x(!0),b(!1),I(null),n.options||(n.options={}),n.options.action="continue"!==t?t:"custom","continue"!==t?V():D(!1),n.generate(e,t,z).finally((function(){n.content&&(n.content.ops&&n.content.ops.length?(A(!0),x(!1)):n.content.markdown?n.saveContent().then((function(){A(!0)})).finally((function(){x(!1)})):x(!1)),"range"!==n.type&&"page"!==n.type||n.restoreRange(),setTimeout((function(){q()}),0)})))},W=function(){var e,n=h.current.value;t.options.getUserHistory||n&&t.addUserHistoryLocal(n);var r={promt:n,outputLength:w,voiceTone:(null==g||null===(e=g.current)||void 0===e?void 0:e.value)||""};G(r,N?"continue":"custom")},Y=function(e){h.current.value=e,h.current.focus(),b(!0)},Z=function(e){"continue"===e?(D(!0),setTimeout((function(){h.current&&h.current.focus()}),0)):G({},e)},K=function(){h.current&&h.current.focus()},$=null;E||($=O?(0,s.h)(Uue,{session:n,i18n:t.editor.plugins.i18n,onActionClick:Z,onCopyClick:function(){var e=m.current.textContent,r=m.current.innerHTML,o=!!(n.content&&n.content.ops&&n.content.ops.length)&&n.content.ops;t.editor.plugins.copyManager.copy(e,{html:r,ops:o})},onTryAgainClick:function(){var e,t=n.content&&n.content.params?Object.assign({},n.content.params):{},r=(null==n||null===(e=n.options)||void 0===e?void 0:e.action)||"custom";G(t,r)},onDiscardClick:function(){V(),A(!1)},onApplyContent:function(){V(),A(!1)}}):"page"===n.type?(0,s.h)(Hue,{onActionClick:Z,onAiHelperClick:K,actions:["custom","summarize","fix","tasks"],i18n:t.editor.plugins.i18n}):"range"===n.type?(0,s.h)(Hue,{onActionClick:Z,onAiHelperClick:K,i18n:t.editor.plugins.i18n}):(0,s.h)(Lue,{draftsEnabled:i,activeDraft:R,onDraftClick:function(e){h.current.value=e+" ",h.current.focus(),I(e),b(!1)},outputLength:w,contextEnabled:l,onOutputLengthClick:function(e){C(e)},onToneInputRef:function(e){g.current=e},onContextEnabledChange:c}));var Q="Ask Fusebase AI to edit or generate...";return N?Q="Tell Fusebase AI what to do next...":l&&(Q="Ask Fusebase AI to edit or generate with page context…"),(0,s.h)("div",{className:"ai-prompt-container",style:U,ref:f},(0,s.h)("div",{className:"ai-print-content",ref:m}),(0,s.h)("div",{className:"ai-promt"},(0,s.h)("span",{className:"ai-promt-icon"+(E?" ai-writing":"")},E?null:(0,s.h)(ct.nST,null)),E?(0,s.h)(s.HY,null,(0,s.h)("div",{className:"ai-promt-input"},(0,s.h)("span",{className:"ai-promt-input-preffix"},"AI is writing...")),(0,s.h)("button",{className:"ai-promt-try-again",onClick:function(){var e=n.content&&n.content.params?Object.assign({},n.content.params):{},t=n.content&&n.content.action||"custom";n.stopGenerate(!0),setTimeout((function(){G(e,t)}),0)}},"Try again"),(0,s.h)("button",{className:"ai-promt-stop",onClick:function(){n.stopGenerate(),setTimeout((function(){x(!0),n.saveContent().then((function(){A(!0)})).finally((function(){x(!1)}))}))}},"Stop")):(0,s.h)(s.HY,null,(0,s.h)("div",{className:"ai-promt-input"},(0,s.h)(Tue.Z,{ref:h,onChange:function(){h.current.value?R?h.current.value.startsWith(R)?h.current.value.trim()===R?v&&b(!1):v||b(!0):(I(null),v||b(!0)):""!==h.current.value.trim()?v||b(!0):v&&b(!1):v&&b(!1)},placeholder:Q,onKeyDown:function(e){que(e)&&(e.preventDefault(),v&&W())}})),(0,s.h)("button",{className:"ai-promt-enter"+(v?" active":""),onClick:function(e){v&&W()}},(0,s.h)(ct.$fB,null)))),H&&H.length&&!E&&!O&&"custom"===n.type?(0,s.h)("div",{className:"ai-user-history"},H.map((function(e){return(0,s.h)("span",{className:"ai-history-item",onClick:Y.bind(void 0,e)},e.length>25?e.substring(0,25)+"...":e)}))):null,!E&&O?(0,s.h)("div",{className:"ai-learn-more"},(0,s.h)(ct.c3b,null),(0,s.h)("span",{className:"ai-learn-more-desc"},"AI responses can be inaccurate or misleading"),(0,s.h)("div",{className:"ai-learn-more-links"},(0,s.h)("span",{onClick:function(){t.onLearnMoreClick&&t.onLearnMoreClick()}},"Learn more"),(0,s.h)("span",{onClick:function(){t.onIdeaClick&&t.onIdeaClick()}},"Have an idea?"))):null,$)}function Wue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wue(Object(n),!0).forEach((function(t){Zue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kue(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Que(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function $ue(e){return function(e){if(Array.isArray(e))return Xue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Que(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 Que(e,t){if(e){if("string"==typeof e)return Xue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xue(e,t):void 0}}function Xue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jue(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function ede(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Jue(i,r,o,a,s,"next",e)}function s(e){Jue(i,r,o,a,s,"throw",e)}a(void 0)}))}}function tde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var nde=function(){function e(t){var n=t.blot,r=t.editor,o=t.manager,i=t.context,a=t.params,s=void 0===a?{}:a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.blot=n,this.editor=r,this.manager=o,this.content=null,this.sessionId=me(),this.context=i||"",this.type=s.type||"custom",this.options=s.options||{},this.tasks=[]}var t,n,r,o;return t=e,(n=[{key:"getPromtPos",value:function(){var e=le(this.blot.domNode,this.editor.editorBody),t=e.y,n=e.x,r=this.blot.domNode.getBoundingClientRect().width;return this.options.offset&&(t+=this.options.offset.top),{top:t-=2,left:n,width:r}}},{key:"generate",value:function(e){var t=this,n=e.promt,r=void 0===n?"":n,o=e.outputLength,i=void 0===o?"s":o,a=e.voiceTone,s=void 0===a?"":a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(!this.isRequestActive){this.isRequestActive=!0,this.tasks=[];var u=function(e){t.content.markdown+=e,c(t.content.markdown)};return new Promise(function(){var e=ede(regeneratorRuntime.mark((function e(n){var o,a,c,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o=null!==t.content&&"continue"===l,t.content=o?Object.assign({},t.content,{action:l,markdown:t.content.markdown+"\n"}):{params:{promt:r,outputLength:i,voiceTone:s},action:"continue"===l?"custom":l,markdown:""},t.getMessageTask=t.manager.getMessage({sessionId:t.sessionId,action:"continue"===l?"custom":l,promt:r,outputLength:i,voiceTone:s,onMessage:u,context:t.options.context||t.context}),e.next=6,t.getMessageTask.run();case 6:a=e.sent,c=a.content,d=a.tasks,t.tasks=d,o?(p=t.content.ops).push.apply(p,$ue(c)):t.content.ops=c,setTimeout((function(){t.editor.plugins.scrollSaver.scrollToBlot(t.blot.id)}),0),n(!0),t.isRequestActive=!1,e.next=23;break;case 16:e.prev=16,e.t0=e.catch(0),console.error(e.t0),["AbortError","LimitError"].includes(e.t0.name)||t.editor.plugins.notificationManager.toast(t.editor.plugins.i18n.get("ai_manager.generate_error")),n(!0),t.isRequestActive=!1,t.getMessageTask=null;case 23:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t){return e.apply(this,arguments)}}())}}},{key:"saveContent",value:function(){var e=this;return new Promise((function(t,n){var r=e.content.markdown;r&&r.length?e.manager.addMessage({sessionId:e.sessionId,markdown:r}).then((function(n){e.content.ops=n,t(!0)})).catch((function(e){console.error(e),n(e)})):n(new Error("No saved markdown"))}))}},{key:"stopGenerate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.getMessageTask&&this.getMessageTask.abort(),e&&(this.content=null)}},{key:"getBlotIdOnInsertInList",value:function(e){var t,n=e.blot,r=e.pos;if(!n.next&&"after"===r||!n.prev&&"before"===r)t=n.container.id;else{var o="before"===r?n.index-1:n.index;t=n.container.splitWithBlot(o).id}return t}},{key:"applyContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"before",n=this.content.ops;if("replace"===t&&this.options.range)this.restoreRange(),"paragraph"===n[0].type&&(n[0].type="textLine"),this.manager.editor.plugins.pasteManager.pasteNimbusOps(n);else{var r={pos:t},o=this.blot.id;"range"===this.type&&this.options.blots.length?"before"===t&&(o=Object.keys(this.options.blots[0])[0]):"page"===this.type&&"before"===t&&(o=this.manager.editor.scroll.children.head.id);var i=this.manager.editor.findById(o);i.isListItem&&(o=this.getBlotIdOnInsertInList({blot:i,pos:t}));var a=this.manager.editor.findById(o).container;r.id=o;var s,l=Kue(n);try{for(l.s();!(s=l.n()).done;){var c=s.value;if(c.initParams){var u=a.addBlot(c.type,Object.assign({},c.initParams,Zue({},r.pos,r.id))),d=u.id;"after"===r.pos&&(r.id=d)}else{var p=a.addBlot(c.type,Object.assign({},c,Zue({},r.pos,r.id))),f=p.id;"after"===r.pos&&(r.id=f)}}}catch(e){l.e(e)}finally{l.f()}}"page"===this.type||"range"===this.type?this.manager.hide():(this.content=null,setTimeout((function(){e.manager.render(!0)}),0))}},{key:"insertTaskList",value:(o=ede(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.manager.options.createTasks){e.next=3;break}return console.log("createTasks method is not defined"),e.abrupt("return");case 3:if(this.tasks.length){e.next=6;break}return console.log("tasks is empty"),e.abrupt("return");case 6:if(t=this.blot.id,this.blot.isListItem&&(t=this.getBlotIdOnInsertInList({blot:this.blot,pos:"after"})),n=this.manager.editor.findById(t).container,(r=this.manager).hide(),e.prev=11,!(o=this.tasks.map((function(e){return((t=e.params.delta).ops?t.ops:t).reduce((function(e,t){return t.insert&&("string"==typeof t.insert?e+=" "+t.insert.trim():"linebreak"in t.insert?e+="\n":e+=""),e}),"").trim();var t})).filter((function(e){return e.trim()}))).length){e.next=19;break}return e.next=16,r.options.createTasks(o);case 16:i=e.sent,a=i.taskListId,n.addBlot("tasks-list",{tasksListId:a,after:t});case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(11),console.log("can't insert task list",e.t0);case 24:case"end":return e.stop()}}),e,this,[[11,21]])}))),function(){return o.apply(this,arguments)})},{key:"insertCheckboxList",value:function(){var e=this.blot.id;this.blot.isListItem&&(e=this.getBlotIdOnInsertInList({blot:this.blot,pos:"after"})),this.manager.editor.findById(e).container.addBlot("list",{items:this.tasks.map((function(e){return Yue(Yue({},e),{},{type:"listItemCheckbox"})})),after:e}),this.manager.hide()}},{key:"restoreRange",value:function(){"page"===this.type?this.manager.editor.scroll.selection.setRange({index:0,length:this.manager.editor.scroll.length()-1},!0):"range"===this.type&&this.options.range&&this.manager.editor.scroll.selection.setRange(this.options.range,!0)}},{key:"clear",value:function(){this.stopGenerate(),this.blot=null,this.editor=null,this.manager=null,this.content=null}}])&&tde(t.prototype,n),r&&tde(t,r),e}();function rde(e){var t=e.editor,n=e.wantsToClose,r=t.plugins.i18n;return(0,s.h)(At.Z,{wantsToClose:n,addClassName:"hide-ai-popup",closeOnEsc:!0},(0,s.h)(by.Z,{wantsToClose:n,addClassName:"reduced-padding",noCloseButton:!0},(0,s.h)(_y.Z,null,r.get("ai_manager.dialog.title")),(0,s.h)(wy.Z,{style:{"max-width":"520px"}},(0,s.h)("p",null,(0,s.h)("span",null,r.get("ai_manager.dialog.body")))),(0,s.h)(QR.Z,{editor:t,wantsToClose:n,buttons:{cancel:{onClick:function(){var t=e.onCancel;t&&t()}},accept:{text:r.get("ai_manager.dialog.accept"),style:"active",onClick:function(t){t.preventDefault(),t.stopPropagation();var n=e.onAction,r=e.wantsToClose;n&&n(),r&&r()}}}})))}function ode(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ide(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ide(e,t)}(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 ide(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ade(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sde(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ade(Object(n),!0).forEach((function(t){cde(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ade(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ude=(0,Rn.ZP)("Esc"),dde={contextEnabled:!0},pde=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),cde(this,"onEditorUpdate",(function(){n.session&&!n.scroll.domNode.contains(n.session.blot.domNode)?n.hide():n.render(!0)})),cde(this,"onDocumentKeyDown",(function(e){ude(e)&&n.onWantsToClose(!0)})),cde(this,"onDocumentMouseDown",(function(e){n.isRequestActive||(n.promtContainerRef?n.promtContainerRef.contains(e.target)?e.target===n.promtContainerRef&&(e.preventDefault(),e.stopPropagation(),n.onWantsToClose(!0)):n.scroll.domNode.contains(e.target)?n.onWantsToClose():n.onWantsToClose(!0):n.container.contains(e.target)||n.onWantsToClose())})),cde(this,"onLearnMoreClick",(function(){try{if(!n.options.learnMoreUrl)throw new Error;window.open(n.options.learnMoreUrl,"_blank","noopener")}catch(e){n.editor.plugins.notificationManager.toast(n.editor.plugins.i18n.get("ai_manager.unknown_error"))}})),cde(this,"onIdeaClick",(function(){try{if(!n.options.haveAnIdeaUrl)throw new Error;window.open(n.options.haveAnIdeaUrl,"_blank","noopener")}catch(e){n.editor.plugins.notificationManager.toast(n.editor.plugins.i18n.get("ai_manager.unknown_error"))}})),cde(this,"onPromtContainerRef",(function(e){n.promtContainerRef=e})),cde(this,"onPromtInputRef",(function(e){n.promtInputRef=e})),cde(this,"onContextEnabledChange",(function(e){n.aiManagerSettings.contextEnabled=e;var t=n.session.blot,r=e?n.editor.scroll.getMarkdown():"",o={type:n.session.type||"custom"},i=sde(sde({},n.session.options||{}),{},{context:r}),a=n.session.content;n.session=new nde({blot:t,editor:n.editor,manager:n,params:o}),n.session.context=r,n.session.options=i,n.session.content=a,n.render(!0),n.saveLocalStorage()})),this.editor=r,this.scroll=o,this.options=a,this.enabled=this.options.enabled,this.aiManagerSettings=dde,this.loadLocalStorage()}var t,n,r;return t=e,(n=[{key:"initContainer",value:function(){var e=document.createElement("div");return e.id="nedit-ai-plugin-container",this.editor.editorBody.appendChild(e),e}},{key:"isRequestActive",get:function(){return Boolean(this.session)&&this.session.isRequestActive}},{key:"isVisible",get:function(){return Boolean(this.session)}},{key:"addUserHistoryLocal",value:function(e){var t=localStorage.getItem("nimbus-ai-history");if(t){var n=JSON.parse(t);if(n.includes(e)){var r=n.indexOf(e);0!==r&&(n.splice(r,1),n.unshift(e))}else n.length>=5&&n.pop(),n.unshift(e);localStorage.setItem("nimbus-ai-history",JSON.stringify(n))}else{var o=[e];localStorage.setItem("nimbus-ai-history",JSON.stringify(o))}}},{key:"getUserHistory",value:function(){if(this.options.getUserHistory)return this.options.getUserHistory();var e=localStorage.getItem("nimbus-ai-history");return e?JSON.parse(e):void 0}},{key:"onWantsToClose",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.scroll.selection.getRange(),r=ode(n,1),o=r[0];if(this.promtInputRef&&this.promtInputRef.value){var i=function(){e.hide(t),t||setTimeout((function(){e.scroll.selection.setRange(o)}),0)};this.editor.plugins.popupManager.dialog((0,s.h)(rde,{editor:this.editor,onAction:i,onCancel:function(){e.promtInputRef.focus()}}))}else if(this.session&&this.session.content&&this.session.content.ops){var a=function(){e.hide(t)};this.editor.plugins.popupManager.dialog((0,s.h)(rde,{editor:this.editor,onAction:a}))}else this.hide(t)}},{key:"getMessage",value:function(e){if(this.options.getMessage)return this.options.getMessage(e)}},{key:"addMessage",value:function(e){if(this.options.addMessage)return this.options.addMessage(e)}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=null;if(e&&this.session){var r=this.session.getPromtPos();n=(0,s.h)(Gue,{manager:this,session:this.session,pos:r,draftsEnabled:!0,contextEnabled:this.aiManagerSettings.contextEnabled,onPromtContainerRef:this.onPromtContainerRef,onPromtInputRef:this.onPromtInputRef,onRendered:t,onContextEnabledChange:this.onContextEnabledChange})}(0,s.sY)(n,this.container)}},{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.session=new nde({blot:e,editor:this.editor,manager:this,params:t}),(this.aiManagerSettings.contextEnabled||"custom"!==this.session.type)&&(this.session.context=this.editor.scroll.getMarkdown()),this.container||(this.container=this.initContainer()),this.editor.emit("editorUpdate"),this.render(!0,t.onRendered),this.editor.on("editorUpdate",this.onEditorUpdate),document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("mousedown",this.onDocumentMouseDown,!1)}},{key:"hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.session.blot;this.session.clear(),this.session=null,this.editor.off("editorUpdate",this.onEditorUpdate),document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("mousedown",this.onDocumentMouseDown,!1),this.editor.emit("editorUpdate"),this.render(),e&&this.editor.scroll.selection.setRange({index:t.offset(this.scroll),length:0})}},{key:"promptForPage",value:function(){var e,t=this,n=this.editor.scroll,r=n.children.tail;r&&"paragraph"===r.getBlotName()&&r.isEmpty()?e=r:(n.addBlot("paragraph",{after:null==r?void 0:r.id}),e=n.children.tail),this.show(e,{type:this.editor.scroll.getMarkdown().trim()?"page":"custom",onRendered:function(){t.editor.plugins.floatingToolbar.ignoreSelectionChangeUpdates=!0,setTimeout((function(){t.editor.plugins.scrollSaver.scrollToBlot(e.id),t.promtInputRef&&t.promtInputRef.focus()}),0)}})}},{key:"loadLocalStorage",value:function(){var e,t=null===(e=localStorage)||void 0===e?void 0:e.getItem("nimbus-ai");t&&(this.aiManagerSettings=JSON.parse(t||"{}"))}},{key:"saveLocalStorage",value:function(){var e;null===(e=localStorage)||void 0===e||e.setItem("nimbus-ai",JSON.stringify(this.aiManagerSettings))}}])&&lde(t.prototype,n),r&&lde(t,r),e}();n(4129);function fde(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function hde(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){fde(i,r,o,a,s,"next",e)}function s(e){fde(i,r,o,a,s,"throw",e)}a(void 0)}))}}function mde(e){return(mde="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yde(e,t){if(t&&("object"===mde(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vde(e)}function vde(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bde(e){var t="function"==typeof Map?new Map:void 0;return(bde=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _de(e,arguments,Sde(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Cde(r,e)})(e)}function _de(e,t,n){return(_de=wde()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Cde(o,n.prototype),o}).apply(null,arguments)}function wde(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Cde(e,t){return(Cde=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Sde(e){return(Sde=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ede(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xde=new Map,kde=function(e){!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}}),t&&Cde(e,t)}(s,e);var t,n,r,o,i,a=(t=s,n=wde(),function(){var e,r=Sde(t);if(n){var o=Sde(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return yde(this,e)});function s(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Ede(vde(n=a.call(this)),"args",void 0),Ede(vde(n),"code",void 0),Ede(vde(n),"url",void 0),Ede(vde(n),"_c",void 0);var r=new URL("https://developer.grammarly.com/docs/error-explainer");return r.searchParams.set("code",e.toString()),t.forEach((function(e){return r.searchParams.append("args",function(e){if(e instanceof Error)return e.message+"\n"+String(e.stack);if(null==e)return"null";if("object"==mde(e))try{return Object.prototype.toString.call(e)}catch(e){}return String(e)}(e))})),null!=n.stack&&r.searchParams.set("trace",n.stack),n.message="Minified error #".concat(e,": See ").concat(r.toString()," for details."),n.args=t,n.code=e,n.url=r.toString(),n}return r=s,i=[{key:"setMessages",value:function(e){xde=e}},{key:"create",value:function(e,t,n,r){null!=r&&t.push(r);var o=new s(e,t,n);return o.stack=null==r?void 0:r.stack,o._m=n,o}}],(o=[{key:"toUserMessage",value:function(){var e=xde.get("".concat(this.code));if(null==e)return[this];var t=new Map(this.args.map((function(e,t){return["${".concat(t,"}"),e]})));return e.split(/(\${\d+})/).filter((function(e){return""!==e})).map((function(e){var n;return null!==(n=t.get(e))&&void 0!==n?n:e}))}},{key:"toJSON",value:function(){return{name:"InvariantError",message:this.message,description:this._m,code:this.code,args:this.args,stack:this.stack}}}])&&gde(r.prototype,o),i&&gde(r,i),s}(bde(Error)),Ode=new WeakMap;function Tde(e,t){return Ade.apply(this,arguments)}function Ade(){return(Ade=hde(regeneratorRuntime.mark((function e(t,n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(r=Ode.get(t))){e.next=5;break}return e.next=4,r;case 4:return e.abrupt("return",e.sent);case 5:return function(e){null==e.Grammarly&&(e.Grammarly={})}(t),o=new Promise((function(e,r){try{var o=function(e,t){return e.document.querySelectorAll('script[src^="'.concat(t.replace(/\?.*$/,""),'"]'))[0]}(t,n);null!=o?i():((o=function(e,t){var n=e.document.createElement("script");return n.src=t,e.document.head.appendChild(n),n}(t,n)).addEventListener("load",i),o.addEventListener("error",(function(){try{throw new kde(23,[])}catch(e){r(e)}})))}catch(e){return r(e)}function i(){try{if(null==t.Grammarly||"function"!=typeof t.Grammarly.EditorSDK)throw new kde(22,[]);e(t.Grammarly)}catch(e){r(e)}}})),Ode.set(t,o),e.next=10,o;case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pde(e,t,n){return Rde.apply(this,arguments)}function Rde(){return(Rde=hde(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ide("@grammarly/editor-sdk",t,n,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ide(e,t,n,r){return Mde.apply(this,arguments)}function Mde(){return(Mde=hde(regeneratorRuntime.mark((function e(t,n,r,o){var i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"!=typeof window||void 0!==o){e.next=2;break}throw new kde(21,[]);case 2:return"null"===(i=function(e){return"null"!==e.location.origin?e.location.origin:"null"!==e.origin?e.origin:"null"}(null!=o?o:window))&&(null!=o?o:window).top!==(null!=o?o:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element."),a=new URL("https://js.grammarly.com/grammarly-editor-sdk@2.4",i),null!=n&&a.searchParams.set("clientId",n),a.searchParams.set("packageName",t),e.next=8,Tde(null!=o?o:window,a.toString());case 8:if(s=e.sent,null==n){e.next=11;break}return e.abrupt("return",new s.EditorSDK(n,r));case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Nde(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Dde(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Nde(i,r,o,a,s,"next",e)}function s(e){Nde(i,r,o,a,s,"throw",e)}a(void 0)}))}}function jde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Lde={enabled:!1},Bde=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=r,this.scroll=o,this.options=Object.assign({},Lde,a),this.enabled=this.options.enabled&&this.options.apiKey,this.options.connectOnDefault&&this.editor.once("editor-ready",Dde(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.initPlugin();case 2:n.instance=e.sent,n.instance&&n.connect();case 4:case"end":return e.stop()}}),e)}))))}var t,n,r,o;return t=e,(n=[{key:"isConnected",get:function(){return Boolean(this.pluginElement)}},{key:"initPlugin",value:function(){var e=this;return new Promise(function(){var t=Dde(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.enabled){t.next=14;break}return t.prev=1,t.next=4,Pde(e.options.apiKey);case 4:r=t.sent,n(r),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),console.error(t.t0),n(!1);case 12:t.next=15;break;case 14:n(!1);case 15:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e){return t.apply(this,arguments)}}())}},{key:"connect",value:(o=Dde(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.instance){e.next=4;break}return e.next=3,this.initPlugin();case 3:this.instance=e.sent;case 4:this.instance&&(this.pluginElement=this.instance.addPlugin(this.scroll.domNode,{documentDialect:"british"}));case 5:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"disconnect",value:function(){this.pluginElement&&this.pluginElement.disconnect(),this.pluginElement=null}},{key:"destroy",value:function(){this.disconnect()}}])&&jde(t.prototype,n),r&&jde(t,r),e}();function Fde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ude=function(){function e(t){var n=t.scroll,r=t.editor,o=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=Object.assign({enabled:!1},o),this.scroll=n,this.editor=r}var t,n,r;return t=e,(n=[{key:"isEnabled",value:function(){return this.options.enabled}},{key:"setEditorRated",value:function(){localStorage.setItem("editor_rate_editor","true")}},{key:"isEditorRated",value:function(){return"true"===localStorage.getItem("editor_rate_editor")}},{key:"onRateEditorClick",value:function(){this.options.onRateEditorClick()}}])&&Fde(t.prototype,n),r&&Fde(t,r),e}();function Hde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zde={enabled:!1,panelClassNames:"change-button-panel",undoClassNames:"change-panel-undo",redoClassNames:"change-panel-redo",editClassNames:"change-edit-button",eyeClassNames:"change-button-eye",editButtonText:"Enable client’s editing"},qde=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options,a=void 0===i?{}:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Vde(this,"onUndoClick",(function(e){n.editor.exec("undo")})),Vde(this,"onRedoClick",(function(e){n.editor.exec("redo")})),Vde(this,"onEditClick",(function(e){if(!n.options.onEditClick||!n.options.onEditClick(n.editor)){var t=n.editor.mode===fpe;n.editor.emit("reinit-editor",{mode:t?"readonly":"edit"})}})),this.editor=r,this.scroll=o,this.options=Object.assign({},zde,a),this.container=this.init(),this.render()}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=document.createElement("div");return e.id="editor-change-button",this.editor.editorBody.appendChild(e),e}},{key:"setOption",value:function(e,t){this.options=Object.assign({},this.options,Vde({},e,t)),this.render()}},{key:"setOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=Object.assign({},this.options,e),this.render()}},{key:"render",value:function(){var e=this.options,t=e.enabled,n=e.panelClassNames,r=e.undoClassNames,o=e.redoClassNames,i=e.editClassNames,a=e.showEyeIcon,l=void 0!==a&&a,c=e.eyeIconClosed,u=void 0===c||c,d=e.eyeClassNames,p=e.editButtonText,f=this.editor.mode===fpe;(0,s.sY)(t?(0,s.h)("div",{className:"change-button-panel-sticky "+n},f?(0,s.h)(s.HY,null,(0,s.h)("button",{className:r,onClick:this.onUndoClick},(0,s.h)(ct.WL1,null)),(0,s.h)("button",{className:"change-panel-button-reversed "+o,onClick:this.onRedoClick},(0,s.h)(ct.M1S,null))):null,l?(0,s.h)("span",{className:d,onClick:this.onEditClick},u?(0,s.h)(ct.SMA,null):(0,s.h)(ct.kyG,null)):null,(0,s.h)("button",{className:i,onClick:this.onEditClick},f?"Done":(0,s.h)(s.HY,null,(0,s.h)(ct.TRY,null)," ",p))):null,this.container)}}])&&Hde(t.prototype,n),r&&Hde(t,r),e}();function Gde(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Wde={willChange:"top, left, bottom, right, width, height",top:0,left:0,position:"absolute",backgroundColor:"#00A1B7",opacity:"0.15"},Yde={overflow:"hidden",position:"fixed",pointerEvents:"none",transform:"translate3d(0, 0, 0)",zIndex:"1"};function Zde(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in t)"number"==typeof t[n]?e.style[n]=t[n]+"px":e.style[n]=t[n]}var Kde=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t.scroll,this.editor=t.editor,this.scrollingContainer=t.scrollingContainer||this.editor.getScrollingContainer(),this.initCursorPosition=null,this.cursorPosition=null,this.scrollPosition=null}var t,n,r;return t=e,(n=[{key:"setCursorPosition",value:function(e,t){this.cursorPosition=Object.freeze({x:e,y:t}),this._drawOverlay()}},{key:"setInitCursorPosition",value:function(e,t){this.initCursorPosition=Object.freeze({x:e,y:t})}},{key:"setScrollPosition",value:function(e,t){this.scrollPosition=Object.freeze({left:e,top:t}),this._drawOverlay()}},{key:"_createOverlay",value:function(){var e=document.createElement("div");return e.classList.add("nedit-selection-overlay"),this._overlay=document.createElement("div"),e.appendChild(this._overlay),e}},{key:"_drawOverlay",value:function(){if(!this._overlayContainer){this._overlayContainer=this._createOverlay(),Zde(this._overlayContainer,Yde),Zde(this._overlay,Wde);var e=this.scrollingContainer.getBoundingClientRect(),t={top:e.top,left:e.left,width:e.width,height:e.height};Zde(this._overlayContainer,t);var n={marginTop:-e.top,marginLeft:-e.left};Zde(this._overlay,n),this.editor.container.appendChild(this._overlayContainer)}var r={top:Math.min(this.initCursorPosition.y,this.cursorPosition.y),left:Math.min(this.initCursorPosition.x,this.cursorPosition.x),width:Math.max(this.initCursorPosition.x,this.cursorPosition.x)-Math.min(this.initCursorPosition.x,this.cursorPosition.x),height:Math.max(this.initCursorPosition.y,this.cursorPosition.y)-Math.min(this.initCursorPosition.y,this.cursorPosition.y)};Zde(this._overlay,r)}},{key:"cleanup",value:function(){if(this._overlayContainer){var e=this._overlayContainer;this._overlayContainer=null,this._overlay=null,e.parentNode.removeChild(e)}}}])&&Gde(t.prototype,n),r&&Gde(t,r),e}();function $de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xde={enabled:!0,webkitEnableFixColumnSelection:!0},Jde=function(){function e(t){var n=this,r=t.editor,o=t.scroll,i=t.options,a=t.doc;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Qde(this,"onEditorMouseDown",(function(e){var t=e.clientX,r=e.clientY,o=e.target;if(n.options.enabled){var i=o===n.editor.editorBody;if(!i&&n.options.webkitEnableFixColumnSelection)if(o.hasAttribute("nedit-fix-column-selection"))t<o.getBoundingClientRect().left&&(i=!0);i&&n.startSelectionSession(t,r)}})),Qde(this,"onEditorDragStart",(function(e){n.options.enabled&&e.target===n.editor.editorBody&&e.preventDefault()})),Qde(this,"onDocumentMouseMove",(function(e){var t=e.clientX,r=e.clientY;n.session.setCursorPosition(t,r)})),Qde(this,"onDocumentMouseUp",(function(){n.endSelectionSession()})),Qde(this,"onScrollingContainerScroll",(function(){var e=n.scrollingContainer,t=e.scrollTop,r=e.scrollLeft,o=n.session.scrollPosition,i=r-o.left,a=t-o.top,s=n.session.initCursorPosition,l=s.x,c=s.y;l-=i,c-=a,n.session.setInitCursorPosition(l,c),n.session.setScrollPosition(r,t)})),Qde(this,"onEditorUpdate",(function(){n.options.enabled&&n.options.webkitEnableFixColumnSelection&&n.fixWebkitColumnSelection()})),this.editor=r,this.scroll=o,this.options=Object.assign({},Xde,i),this.document=a||document,this.scrollingContainer=this.editor.getScrollingContainer(),this.session=null,this.editor.editorBody.addEventListener("mousedown",this.onEditorMouseDown,!1),this.editor.editorBody.addEventListener("dragstart",this.onEditorDragStart,!1),this.editor.on("editorUpdate",this.onEditorUpdate)}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this.editor.editorBody.removeEventListener("mousedown",this.onEditorMouseDown,!1),this.editor.editorBody.removeEventListener("dragstart",this.onEditorDragStart,!1),this.editor.on("editorUpdate",this.onEditorUpdate)}},{key:"startSelectionSession",value:function(e,t){"Firefox"!==this.editor.browser&&this.editor.mode===fpe&&this.scroll.domNode.setAttribute("contenteditable",!1),this.session=new Kde({scroll:this.scroll,editor:this.editor,scrollingContainer:this.scrollingContainer});var n=this.scrollingContainer,r=n.scrollLeft,o=n.scrollTop;this.session.setInitCursorPosition(e,t),this.session.setCursorPosition(e,t),this.session.setScrollPosition(r,o),this.document.addEventListener("mousemove",this.onDocumentMouseMove,!1),this.document.addEventListener("mouseup",this.onDocumentMouseUp,!1),this.scrollingContainer.addEventListener("scroll",this.onScrollingContainerScroll,!1),this.editor.emit("start-nedit-selection")}},{key:"endSelectionSession",value:function(){"Firefox"!==this.editor.browser&&this.editor.mode===fpe&&this.scroll.domNode.setAttribute("contenteditable",!0),this.session.cleanup(),this.session=null,this.document.removeEventListener("mousemove",this.onDocumentMouseMove,!1),this.document.removeEventListener("mouseup",this.onDocumentMouseUp,!1),this.scrollingContainer.removeEventListener("scroll",this.onScrollingContainerScroll,!1),this.editor.emit("end-nedit-selection")}},{key:"fixWebkitColumnSelection",value:function(){if("Firefox"!==this.editor.browser){var e=Array.from(this.scroll.domNode.querySelectorAll('.grid[data-type="grid"]:first-child:not([nedit-fix-column-selection="true"])'));if(e.length)for(var t=0,n=e;t<n.length;t++)n[t].setAttribute("nedit-fix-column-selection",!0)}}}])&&$de(t.prototype,n),r&&$de(t,r),e}(),epe=n(59150);function tpe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var npe=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=t,this.contentNode=this.editor.scroll.domNode,this.onUpdateCallback=n,this.mutationObserver=new MutationObserver(this.onUpdate.bind(this,"mutation")),this.mutationObserver.observe(this.contentNode,{childList:!0,subtree:!0}),"function"==typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.onUpdate.bind(this,"resize")),this.resizeObserver.observe(this.editor.editorBody),this.resizeObserver.observe(this.contentNode))}var t,n,r;return t=e,(n=[{key:"onUpdate",value:function(e,t){"function"==typeof this.onUpdateCallback&&this.onUpdateCallback(e,t)}},{key:"destroy",value:function(){this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect()}}])&&tpe(t.prototype,n),r&&tpe(t,r),e}(),rpe=n(53665);function ope(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ipe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ape(e){return(ape="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var spe=["selectionchange","mousedown","mouseup","click"],lpe={editorStyle:_ae,dragAndDrop:yee,undoManager:Tee,pasteManager:one,selectionScroller:cne,attachmentManager:y9,bookmarkManager:bne,notificationManager:wne,popupManager:ore,dropManager:ure,copyManager:_re,lightBox:kre,embeddedMenu:U9,emojiManager:Tre,tooltipManager:Gr.ZP,floatingToolbar:poe,scrollSaver:goe,blockMenu:dee,linkManager:voe,i18n:pe.ZP,search:Woe,globalSearch:aie,mentionManager:lae,attachmentWatcher:mae,professionAsk:Dae,reminderManager:Lae,remoteFileManager:$ae,imageManager:Zae,convertLinkManager:sse,debugLogger:Vse,dateManager:gse,commentManager:Fse,outlineManager:Kse,webRTCPlugin:ule,selectionManager:Jde,signature:gV,limitManager:vle,convertBlotManager:jle,awarenessPlugin:Kle,ctaManager:Jle,tasksManager:oce,videoPreview:ace,emptyFeatures:cce,featuresAvailabilityPlugin:H5,boardManager:hce,unsplashManager:Oue,aiManager:pde,grammarlyManager:Bde,editorRate:Ude,changeButton:qde},cpe={dragAndDrop:!0,pasteManager:!1,selectionScroller:!1,attachmentManager:!1,bookmarkManager:!1,popupManager:!1,dropManager:!0,copyManager:!1,lightBox:!1,embeddedMenu:!0,emojiManager:!0,tooltipManager:!1,scrollSaver:!1,blockMenu:!1,i18n:!1,editorStyle:!1,professionAsk:!0,outlineManager:!1,webRTCPlugin:!1,awarenessPlugin:!0,emptyFeatures:!0,unsplashManager:!0,aiManager:!0},upe={showLinkPanel:!0,theme:"light",focusMode:!1,baseUrl:"object"===("undefined"==typeof window?"undefined":ape(window))&&"object"===ape(window.location)?window.location.origin+window.location.pathname:""},dpe=function(e,t){var n={blockMenu:function(){return!!(t.blots&&t.blots.list&&t.blots.list.collapsible)}};return!!n.hasOwnProperty(e)&&n[e]()},ppe=function(){function e(t){var r=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ipe(this,"onBlotNotSupported",(function(e){if(r.scroll&&r.scroll.domNode.parentNode){r.scroll.observer.disconnect(),r.scroll.domNode.parentNode.removeChild(r.scroll.domNode);var t=document.createElement("div");t.classList.add("content-not-supported-message"),t.textContent=r.plugins.i18n.get("content_not_supported"),r.scrollingContainer.appendChild(t)}})),ipe(this,"domEventsListener",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".note-container")).forEach((function(e){var n;e.__note&&e.__note.emitter&&(n=e.__note.emitter).handleDOM.apply(n,t)}))})),ipe(this,"onStoreUpdate",(function(e,t,n,o){r.emitter.emit("contentUpdate",{source:t,transaction:o})})),ipe(this,"onBodyResize",(function(){r.emitter.emit("editorBodyResize")})),ipe(this,"onEditorChange",(function(e,t){r.emitter.emit("editorUpdate",{type:e,records:t})})),console.info("[".concat(t.editorId,'] initializing new Editor instance, elem: "').concat(t.elem,'"')),"undefined"!=typeof window&&window.gEditor&&!window.gEditor.destroyed&&console.warn("there is a not destroyed editor available, consider calling destroy on every editor you do not need anymore"),this.options=Object.assign({},upe,t),this.browser=this.browser(),this.destroyed=!1,this.store=new w8({y:t.y,Y:t.yjs}),this.blotsConfig=t.blots||{},this.room=t.serverRoom,this.mode=t.mode||e.MODE_EDIT,this.editorId=t.editorId,this.scrollbarWidth=t.render?(0,H.np)():null,this.editorBody=null,this.persistedBlotsProps={},"undefined"==typeof window&&(n.g.MutationObserver=H.Mn,n.g.Node=H.Ct),void 0!==t.caretTrapContentEditable&&function(e){Jf=e}(t.caretTrapContentEditable),!t.render||this.initElements(t)){this.emitter=new Oo,this.emitter.setMaxListeners(999999),this.emitter.on(Cpe,this.onBlotNotSupported);var o=s5.query("scroll");o.initMap(this.store.root,this.store);var i={editor:this,emitter:this.emitter,store:this.store,map:this.store.root};if(t.render)this.scroll=s5.create(this.root,i);else{var a=new H.Ct;"undefined"!=typeof document&&document.hasOwnProperty("createElement")&&(a=document.createElement("div")),this.scroll=new o(a,i)}this.api=new PW(this),t.render&&spe.forEach((function(e){return document.addEventListener(e,r.domEventsListener,!1)})),t.render?this.initPlugins(t):this.plugins={},1==t.toolbar&&(this.toolbar=new m8(this)),t.mode!==fpe&&t.mode!==ype&&this.scroll.ignoreUpdates(),t.render&&this.scroll.init(),this.store.y.on("update",this.onStoreUpdate),t.render&&"function"==typeof ResizeObserver&&(this._bodyObserver=new ResizeObserver(this.onBodyResize),this._bodyObserver.observe(this.editorBody),this._bodyObserver.observe(this.scroll.domNode),this.changeObserver=new npe(this,this.onEditorChange)),this.emitter.emit("editor-ready"),this.ready=!0,t.applyTemplate&&"function"==typeof t.applyTemplate&&t.applyTemplate(this),document.addEventListener("mousedown",kpe,!1)}}var t,r,o;return t=e,(r=[{key:"hasFocus",value:function(){return this.mode===fpe?this.scroll.selection.hasFocus()&&null!==this.scroll.selection.getRange()[0]:null!==this.scroll.selection.getRange()[0]}},{key:"initPlugins",value:function(t){var n=t.plugins||{};for(var r in this.plugins={},lpe)(t.mode!==ype||e.LITE_MODE_PLUGINS.includes(lpe[r]))&&(t.mode!==fpe&&t.mode!==ype&&cpe[r]&&!dpe(r,t)||(this.plugins[r]=new lpe[r]({scroll:this.scroll,editor:this,options:n[r]})))}},{key:"initElements",value:function(e){if(e.elem instanceof Node?this.container=e.elem:"string"==typeof e.elem&&(this.container=document.querySelector(e.elem)),!this.container)return console.warn("Get impossible container for editor initiation, option 'elem': "+e.elem),!1;this.container.classList.add("note-container"),this.container.classList.add("theme-"+this.options.theme),this.assignEnvInfo(),this.container.style.position="relative",this.isMobileDevice()&&this.container.classList.add("is-mobile-device"),this.container.__note=this,this.scrollingContainer=document.createElement("div"),this.editorBody=this.scrollingContainer,this.scrollingContainer.classList.add("editor-body"),this.getScrollingContainer()!==this.scrollingContainer&&this.scrollingContainer.classList.add("no-vertical-scroll"),this.container.appendChild(this.scrollingContainer),this.root=document.createElement("div"),this.root.classList.add(this.mode+"-mode"),this.scrollingContainer.appendChild(this.root),this.root.classList.add(bt.scrollBlotClass),this.root.classList.add("notranslate"),this.root.setAttribute("translate","no");var t="note-"+me();this.root.id=e.idPrefix?e.idPrefix+t:t,this.isEditable()&&this.root.setAttribute("contenteditable",!0),this.clipboard=document.createElement("div"),this.clipboard.classList.add("clipboard"),this.container.appendChild(this.clipboard),this.contextMenu=document.createElement("div"),this.contextMenu.classList.add("context-menu","hidden"),this.container.appendChild(this.contextMenu);var n,r=document.createElement("div");return r.id="editor-cursors",r.classList.add("editor-cursors"),this.scrollingContainer.prepend(r),e.scrollingContainer&&(n="string"==typeof e.scrollingContainer?document.getElementById(e.scrollingContainer):e.scrollingContainer)&&(n.classList.add("nedit-scrolling-container"),n.id&&""!==n.id||(n.id="nedit-scrolling-container")),!0}},{key:"assignEnvInfo",value:function(){var e=this.browser;"Firefox"===e?this.container.classList.add("is-ff"):"Chrome"===e?this.container.classList.add("is-chrome"):"Safari"===e&&this.container.classList.add("is-safari");var t=this.platform;t&&this.container.classList.add("os-"+t.replace(" ","").toLowerCase())}},{key:"getViewportSize",value:function(){return{width:this.scrollingContainer.offsetWidth,height:this.scrollingContainer.offsetHeight}}},{key:"getScrollingContainer",value:function(){var e;return this.options.scrollingContainer&&(e="string"==typeof this.options.scrollingContainer?document.getElementById(this.options.scrollingContainer):this.options.scrollingContainer),e||(e=this.scrollingContainer),e}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"emit",value:function(){var e;return(e=this.emitter).emit.apply(e,arguments)}},{key:"exec",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.api.exec(e,t);return null!=t&&null==n&&"function"==typeof t&&(n=t),null!=n&&n(r),this.emit("exec",{action:e,params:t}),r}},{key:"browser",value:function(){return xpe()}},{key:"getRawText",value:function(e){for(var t="",n=this.scroll.domNode.querySelectorAll(".editable-text"),r=0;r<n.length;r++)t&&(t+=" "),(t+=n[r].innerText.replace(/(\s?\n)/gi," ")).length>=e&&n[r+1]&&(t+=" "+n[r+1].innerText.replace(/(\s?\n)/gi," "));return e&&t.length>e&&(t=t.substring(0,e)+"..."),t}},{key:"arrayHandler",value:function(e){return e.get("content").toString()}},{key:"textHandler",value:function(e){return e.toString()}},{key:"platform",get:function(){return(0,ri.tz)()}},{key:"destroy",value:function(){var e=this;if(this.destroyed)return console.warn("["+this.editorId+"]","Editor has already been destroyed");for(var t in console.info("["+this.editorId+"]","destroying Editor instance"),this.destroyed=!0,spe.forEach((function(t){return document.removeEventListener(t,e.domEventsListener,!1)})),this.plugins){var n=this.plugins[t];n.destroy&&n.destroy()}for(this.scroll.detach();this.container.firstChild;)this.container.removeChild(this.container.firstChild);this.store.y.off("update",this.onStoreUpdate),this.store.destroy(),this.api.destroy(),this._bodyObserver&&this._bodyObserver.disconnect(),this.changeObserver&&this.changeObserver.destroy(),document.removeEventListener("mousedown",kpe,!1)}},{key:"focus",value:function(){var e=this.scroll.selection.getNativeRange();e&&this.container.contains(e.start.node)&&this.container.contains(e.end.node)||this.scroll.domNode.focus()}},{key:"blur",value:function(){this.scroll.domNode.blur()}},{key:"findById",value:function(e){return this.options.idPrefix&&(e=this.options.idPrefix+e),s5.findById(e)}},{key:"findBlotsWithAttachment",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.plugins.attachmentManager.findBlotsWithAttachment(e)}},{key:"setAttachmentUploadTask",value:function(e){de(this.scroll,(function(t){if(t.getWrappedBlot&&(t=t.getWrappedBlot()).getUploadTaskId&&t.getUploadTaskId()===e.id)return t.setUploadTask(e),!1}))}},{key:"setAttachment",value:function(e){return this.plugins.attachmentManager.setAttachment(e)}},{key:"getEmptyEncodedStateVector",value:function(){var e=epe.createEncoder();return epe.writeVarUint(e,0),epe.toUint8Array(e)}},{key:"createSnapshot",value:function(){var e=epe.createEncoder();return rpe.writeSyncStep2(e,this.store.y,this.getEmptyEncodedStateVector()),epe.toBuffer(e)}},{key:"restoreSnapshot",value:function(e){(0,g8.restoreDump)({doc:this.store.y,Y:this.store.Y,buffer:e})}},{key:"isEmpty",value:function(){return 1===this.scroll.children.length&&"paragraph"===this.scroll.children.head.constructor.blotName&&!!this.scroll.children.head.isEmpty()}},{key:"isEditable",value:function(){return this.mode===fpe||this.mode===ype}},{key:"isExport",value:function(){return this.mode===gpe}},{key:"isMobileDevice",value:function(){return this.options.isMobileDevice}},{key:"toHTML",value:function(e){var t=[];return e.options.pdf&&this.scrollingContainer.classList.add("e-body-pdf"),t.push("<div "+(0,H.No)(this.container)+">"),t.push("<div "+(0,H.No)(this.scrollingContainer)+">"),t.push(this.scroll.toHTML(e)),t.push("</div>"),t.push("</div>"),t.join("\n")}},{key:"parchment",get:function(){return s5}},{key:"getContents",value:function(){return this.scroll.getSelectedContents([],!0)}},{key:"applyContents",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.scroll&&null!==(t=this.plugins)&&void 0!==t&&t.pasteManager){var r=this.scroll.selection;if(!n.start&&!n.end||n.end)r.setRange({index:this.scroll.length()-1,length:0});else if(n.start)r.setRange({index:0,length:0});else if(n.before||n.after){var o=n.before||n.after,i=this.findById(o);i?n.before?r.setRange({index:i.offset(this.scroll),length:0}):r.setRange({index:i.offset(this.scroll)+i.length()-1,length:0}):(console.error("Could not find a blot with id: ",o),r.setRange({index:this.scroll.length()-1,length:0}))}this.plugins.pasteManager.pasteNimbusOps(e)}}}])&&ope(t.prototype,r),o&&ope(t,o),e}(),fpe="edit",hpe="preview",mpe="readonly",gpe="export",ype="lite",vpe="blot-removed",bpe="blot-added",_pe="attachment-cleared",wpe="attachments-update",Cpe="blot-not-supported",Spe="style-changed",Epe="blot-drag-stopped";function xpe(){return(0,ri.Ao)()}function kpe(e){var t;(e.target.closest("nim-tasks-reminder-dialog")||null!==(t=e.target.classList)&&void 0!==t&&t.contains("cdk-overlay-backdrop"))&&(e.preventDefault(),e.stopPropagation())}ppe.MODE_EDIT=fpe,ppe.MODE_PREVIEW=hpe,ppe.MODE_READONLY=mpe,ppe.MODE_EXPORT=gpe,ppe.MODE_LITE=ype,ppe.LITE_MODE_BLOTS=["paragraph"],ppe.LITE_MODE_PLUGINS=[one,lae,_ae,pe.ZP,Tee,cne];var Ope=n(95148),Tpe=["error","warn","log","info"],Ape="info";function Ppe(e){if(Tpe.indexOf(e)<=Tpe.indexOf(Ape)){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=console)[e].apply(t,r)}}function Rpe(e){return Tpe.reduce((function(t,n){return t[n]=Ppe.bind(console,n,e),t}),{})}Ppe.level=Rpe.level=function(e){Ape=e};const Ipe=Rpe;var Mpe=n(56289);function Npe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dpe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jpe={"image/jpeg":"jpeg","image/png":"png","image/gif":"gif"},Lpe=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Dpe(this,"attachments",{}),Dpe(this,"assetsDir","./assets"),this.options=t}var t,n,r;return t=e,(n=[{key:"getAttachmentPath",value:function(e){if(g9(e.global_id))return e.url;if(!e||!this.attachments[e.global_id])return"";var t,n=String(e.display_name).split(".");n.length>1&&(t=n.pop());var r=e.mime&&jpe[e.mime.toLowerCase()];return!t&&r&&(t=r),this.assetsDir+"/"+e.global_id+"."+t}},{key:"addAttachment",value:function(e){this.attachments[e.global_id]||(this.attachments[e.global_id]=e)}},{key:"getMentionUrl",value:function(e,t){var n=this.options.mentionUrlTemplates;return!(!n||!n[e])&&n[e].replace(/\{id\}/g,t)}}])&&Npe(t.prototype,n),r&&Npe(t,r),e}(),Bpe=n(83285);console.info("Editor",Bpe.version);var Fpe=0;function Upe(e){var t,n=!1,i=++Fpe,a=Ipe("["+i+"]");return a.log('Initializing new editor, room: "'.concat(e.serverRoom,'", elem: "').concat(e.elem,'"')),(t=new Ope((function(s,l,c){var u;function d(r,o){if(n)return a.log("cancel editor init, because the editor already initialized");if(void 0!==t&&t.isCanceled)return a.log("skipping onYReady because initEditor was canceled");var l=Object.assign({elem:e.elem,render:!0,editorId:i},e,{y:r,yjs:o}),c=new ppe(l);"undefined"!=typeof window&&(window.gEditor=c),a.info("editor successfully initialized"),n=!0,s(c)}if(c((function(){a.info("editor initialization is cancelling"),void 0!==h&&(a.info("destroy y for non initialized yet editor"),h.destroy()),e.y&&e.y.destroy(),u&&(a.info("destroy yReadyTimeout for non initialized yet editor"),clearTimeout(u)),l(new Mpe.default("editor initialization has been canceled"))})),e.y){if(!e.Y)throw new Error("If you set y you also have to set Y");return d(e.y,e.Y)}var p=e.url,f=e.room,h=(e.createDocument||o.createDocument)(r,{editorId:i,url:p,room:f,userID:e.cid,providerConfig:e.providerConfig});if(h.on("synced",(function(){u=setTimeout((function(){d(h,r)}),0)})),e.dump||e.providerConfig&&e.providerConfig.hasOwnProperty("connectToSocket")&&!e.providerConfig.connectToSocket)try{e.dump&&!h._initialSyncComplete&&((0,g8.restoreDump)({doc:h,buffer:new Uint8Array(Object.values(e.dump)),Y:r}),h._dumpInited=!0,console.log("[".concat(i,"] restored by dump"))),h.emit("synced",[])}catch(t){var m,g,y,v;null===(m=e.plugins)||void 0===m||null===(g=m.metricsManager)||void 0===g||g.measureSet("editor_init_dump_error",1),null===(y=e.plugins)||void 0===y||null===(v=y.errorsManager)||void 0===v||v.captureException(t),console.error("[".concat(i,"] can't restore dump"),t)}}))).editorId=i,t}"undefined"!=typeof window&&(window.initEditor=Upe)},45405:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(30489),n(41539),n(39714),n(12419),n(66992),n(51532),n(78783),n(33948),n(82526),n(41817),n(32165);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(t&&("object"===r(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 a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}function s(e,t,n){return(s=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&c(o,n.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!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}}),t&&c(e,t)}(a,e);var t,n,r=(t=a,n=l(),function(){var e,r=u(t);if(n){var o=u(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return i(this,e)});function a(){return o(this,a),r.apply(this,arguments)}return a}(a(Error))},41552:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});n(92222),n(30489),n(41539),n(39714),n(12419),n(66992),n(51532),n(78783),n(33948),n(82526),n(41817),n(32165);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)})(e)}function l(e,t,n){return(l=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&u(o,n.prototype),o}).apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){!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}}),t&&u(e,t)}(s,e);var t,n,r=(t=s,n=c(),function(){var e,r=d(t);if(n){var o=d(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return i(this,e)});function s(){var e;o(this,s);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return p(a(e=r.call.apply(r,[this].concat(n))),"name","CustomDisplayableError"),e}return s}(s(Error))},56289:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(30489),n(41539),n(39714),n(12419),n(66992),n(51532),n(78783),n(33948),n(82526),n(41817),n(32165);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(t&&("object"===r(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 a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}function s(e,t,n){return(s=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&c(o,n.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!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}}),t&&c(e,t)}(a,e);var t,n,r=(t=a,n=l(),function(){var e,r=u(t);if(n){var o=u(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return i(this,e)});function a(){return o(this,a),r.apply(this,arguments)}return a}(a(Error))},407:(e,t,n)=>{"use strict";n.d(t,{Pj:()=>J,Cf:()=>P,xv:()=>T,ZP:()=>ee});n(30489),n(12419),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=(n(74916),n(23123),n(69600),n(73210),n(4723),n(15306),n(40561),n(21249),n(19601),n(8065)),i=n(50172),a=n.n(i);n(68309),n(57327),n(47941);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l,c={};function u(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==u.options.trim){var o=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==u.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===u.options.trim||o?"":" "))||" "===r)&&n.length>1&&o)return null}return r}if(1!==e.nodeType)return null;var i=String(e.nodeName).toLowerCase();if("script"===i&&!u.options.allowScripts)return null;var a,s,l=u.h(i,function(e){var t=e&&e.length;if(!t)return null;for(var n={},r=0;r<t;r++){var o=e[r],i=o.name,a=o.value;"on"===i.substring(0,2)&&u.options.allowEvents&&(a=new Function(a)),n[i]=a}return n}(e.attributes),(s=(a=e.childNodes)&&Array.prototype.map.call(a,u).filter(p))&&s.length?s:null);return u.visitor&&u.visitor(l),l}var d,p=function(e){return e},f={};function h(e){var t=(e.type||"").toLowerCase(),n=h.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}const m=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){d=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,o=e.type,i=e.markup,a=e.components,p=e.reviver,m=e.onError,g=e["allow-scripts"],y=e["allow-events"],v=e.trim,b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),_=p||this.reviver||this.constructor.prototype.reviver||d||r.h;this.setComponents(a);var w={allowScripts:g,allowEvents:y,trim:v};try{n=function(e,t,n,r,o){var i=function(e,t){var n,r,o,i,a="html"===t?"text/html":"application/xml";"html"===t?(i="body",o="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(i="xml",o='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(o,a)}catch(e){r=e}if(n||"html"!==t||((n=l||(l=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(o),n.close()),n){var s=n.getElementsByTagName(i)[0],c=s.firstChild;return e&&!c&&(s.error="Document parse failed."),c&&"parsererror"===String(c.nodeName).toLowerCase()&&(c.removeChild(c.firstChild),c.removeChild(c.lastChild),s.error=c.textContent||c.nodeValue||r||"Unknown error",s.removeChild(c)),s}}(e,t);if(i&&i.error)throw new Error(i.error);var a=i&&i.body||i;h.map=r||f;var s=a&&function(e,t,n,r){return u.visitor=t,u.h=n,u.options=r||c,u(e)}(a,h,n,o);return h.map=null,s&&s.props&&s.props.children||null}(i,o,_,this.map,w)}catch(e){m?m({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var C=b.hasOwnProperty("className")?"className":"class",S=b[C];return S?S.splice?S.splice(0,0,"markup"):"string"==typeof S?b[C]+=" markup":"object"==s(S)&&(S.markup=!0):b[C]="markup",_("div",b,n||null)},t}(r.wA);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=(0,r.kr)({intl:{}});function v(e){return null!=e}function b(e,t){for(var n in t)e[n]=t[n];return e}var _=/[?&#]intl=show/;function w(e){var t=e.scope,n=e.mark,i=e.definition,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["scope","mark","definition"]),s=b({},(0,o.qp)(y).intl||{});return t&&(s.scope=t),i&&(s.dictionary=function e(t,n){var r=b({},t);for(var o in n)n.hasOwnProperty(o)&&(t[o]&&n[o]&&"object"===g(t[o])&&"object"===g(n[o])?r[o]=e(t[o],n[o]):r[o]=t[o]||n[o]);return r}(s.dictionary||{},i)),(n||"undefined"!=typeof location&&String(location).match(_))&&(s.mark=!0),(0,r.h)(y.Provider,{value:{intl:s}},a.children)}function C(e,t){if(arguments.length<2)return t=e,function(e){return C(e,t)};function n(n){return(0,r.h)(w,t||{},(0,r.h)(e,n))}return n.getWrappedComponent=e&&e.getWrappedComponent||function(){return e},n}var S={};function E(e,t,n,r){return e&&e.replace(/\{\{([\w.-]+)\}\}/g,x.bind(null,t||S,n,r))}function x(e,t,n,r,o){for(var i=o.split("."),a=e,s=0;s<i.length;s++){if(null==(a=a[i[s]]))return"";if(a&&a.type===T)return k(a.props.id,t,n,a.props.fields,a.props.plural,a.props.fallback)}return"string"==typeof a&&a.match(/\{\{/)&&(a=E(a,e)),a}function k(e,t,n,r,o,i){t&&(e=t+"."+e);var s=n&&a()(n,e);return(o||0===o)&&s&&"object"===g(s)&&(s=s.splice?s[o]||s[0]:0===o&&v(s.none||s.zero)?s.none||s.zero:1===o&&v(s.one||s.singular)?s.one||s.singular:s.some||s.many||s.plural||s.other||s),s&&E(s,r,t,n)||i||null}function O(e){var t=e.value,n=e.id,i=(0,o.qp)(y).intl;if(i&&i.mark){var s="dictionary"+(i&&i.scope?"."+i.scope:"")+"."+n;return(0,r.h)("mark",{style:{background:t?a()(i,s)?"rgba(119,231,117,.5)":"rgba(229,226,41,.5)":"rgba(228,147,51,.5)"},title:n},t)}return t}function T(e){var t=e.id,n=e.children,i=e.plural,a=e.fields,s=(0,o.qp)(y).intl,l=k(t,s&&s.scope,s&&s.dictionary,a,i,n);return(0,r.h)(O,{id:t,value:l})}function A(e,t,n){var r={};for(var o in t=t||{},e=function(e){if("string"==typeof(e=e||{})&&(e=e.split(",")),"join"in e){for(var t={},n=0;n<e.length;n++){var r=e[n].trim();r&&(t[r.split(".").pop()]=r)}return t}return e}(e))if(e.hasOwnProperty(o)&&e[o]){var i=e[o];n||"string"!=typeof i?i.type===T&&(i=b({fallback:i.props.children},i.props),r[o]=k(i.id,t.scope,t.dictionary,i.fields,i.plural,i.fallback)):r[o]=k(i,t.scope,t.dictionary)}return r}function P(e){var t=e.children,n=(0,o.qp)(y).intl;return t&&t.length?t.map((function(e){return(0,r.Tm)(e,A(e.props,n,!0))})):t&&(0,r.Tm)(t,A(t.props,n,!0))}function R(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}function I(e){var t=e.html,n=e.id,o=R(e,["html","id"]);return(0,r.h)(O,{id:n,value:t?"string"==typeof t?(0,r.h)(m,Object.assign({},{type:"html",trim:!1},o,{markup:t})):(0,r.h)("span",null,t):t})}C.intl=C,C.IntlContext=y,C.IntlProvider=w,C.Text=T,C.MarkupText=function(e){var t=e.id,n=e.fields,o=e.plural,i=e.children,a=R(e,["id","fields","plural","children"]);return(0,r.h)(P,null,(0,r.h)(I,Object.assign({},{html:(0,r.h)(T,{id:t,fields:n,plural:o,children:i}),id:t},a)))},C.Localizer=P,C.withText=function(e){return function(t){function n(n,i){var a=(0,o.qp)(y).intl,s=A("function"==typeof e?e(n,{intl:a}):e,a);return(0,r.h)(t,b(b({},n),s))}return n.getWrappedComponent=t&&t.getWrappedComponent||function(){return t},n}},C.useText=function(e){var t=(0,o.qp)(y).intl;return A("function"==typeof e?e({intl:t}):e,t)},C.translate=k;function M(e){return null!=e}var N=(0,r.kr)({intl:{}});n(92222);function D(e){var t=e.value,n=e.id,i=(0,o.qp)(N).intl;if(i&&i.mark){var s="dictionary".concat(i&&i.scope?".".concat(i.scope):"",".").concat(n);return(0,r.h)("mark",{style:{background:t?a()(i,s)?"rgba(119,231,117,.5)":"rgba(229,226,41,.5)":"rgba(228,147,51,.5)"},title:n},t)}return t}function j(e){var t=e.id,n=e.children,i=e.plural,a=e.fields,s=(0,o.qp)(N).intl,l=H(t,s&&s.scope,s&&s.dictionary,a,i,n);return(0,r.h)(D,{id:t,value:l})}var L={};function B(e,t,n,r){return e&&e.replace(/\{\{([\w.-]+)\}\}/g,F.bind(null,t||L,n,r))}function F(e,t,n,r,o){for(var i=o.split("."),a=e,s=0;s<i.length;s++){if(null==(a=a[i[s]]))return"";if(a&&a.type===j)return H(a.props.id,t,n,a.props.fields,a.props.plural,a.props.fallback)}return"string"==typeof a&&a.match(/\{\{/)&&(a=B(a,e)),a}function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t,n,r,o,i){t&&(e=t+"."+e);var s=n&&a()(n,e);return(o||0===o)&&s&&"object"===U(s)&&(s=s.splice?s[o]||s[0]:0===o&&M(s.none||s.zero)?s.none||s.zero:1===o&&M(s.one||s.singular)?s.one||s.singular:s.some||s.many||s.plural||s.other||s),s&&B(s,r,t,n)||i||null}const V=JSON.parse('{"table":{"common":{"column":"Column"},"move_column_cant_split_merged_cells":{"title":"Unable to move column","text":"Cannot move a column into a merged cell. Unmerge then try again."},"move_column_cant_move_part_of_merged_cells":{"title":"Unable to move column","text":"The column you\'re trying to move contains part of a merged cell. If you want to move the column, unmerge the cells first."},"move_column_failed":{"title":"Unable to move column","text":"An unexpected error has occured while moving a column, plese try again."},"move_row_cant_split_merged_cells":{"title":"Unable to move row","text":"Cannot move a row into a merged cell. Unmerge then try again."},"move_row_cant_move_part_of_merged_cells":{"title":"Unable to move row","text":"The row you\'re trying to move contains part of a merged cell. If you want to move the row, unmerge the cells first."},"move_row_cant_move_in_sortable_table":{"title":"Unable to move row","text":"Cannot move a row in a sortable table. Cancel sorting then try again."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Unable to move row","text":"An unexpected error has occured while moving a row, plese try again."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Delete","help":"Help","delete_column":{"one":"Delete column","many":"Delete {{count}} columns"},"delete_row":{"one":"Delete row","many":"Delete {{count}} rows"},"add":"Add","add_row_before":{"one":"Row above","many":"{{count}} rows above"},"add_row_after":{"one":"Row below","many":"{{count}} rows below"},"add_col_before":{"one":"Column left","many":"{{count}} columns left"},"add_col_after":{"one":"Column right","many":"{{count}} columns right"},"copy_cell":{"one":"Copy cell","many":"Copy cells"},"copy_table":"Copy table","table_layout":{"name":"Table layout","column_headings":"Column headings","row_headings":"Row headings"},"import_csv":"Import from CSV","merge_cells":"Merge cells","insert_checkbox":"Insert checkbox","background_color":"Background color","formatting":"Formatting","clear":"Clear","reset":"Reset","divide_cells":"Unmerge cells","type":{"name_cell":"Cell type","name_cells":"Cells type","name_column":"Column type","name_columns":"Columns type","type_cell":{"one":"Cell type","many":"Cells type"},"type_col":{"one":"Column type","many":"Columns type"},"same_as_column":"Same as column","reset_cells":"Reset cells to default","none":"Multi type","text":"Text","textline":"Text","number":"Number","attachment":"Files","checkbox":"Checkbox","multiselect":"Multiple select","singleselect":"Single select","collaborator":"Collaborator","currency":"Currency","date":"Date","link":"Link","rating":"Rating","progress":"Progress","mention":"Mention"},"number_format":{"name":"Number format","number":"Number","commas":"Number with commas","percent":"Percent"},"currency_format":{"name":"Currency type","dollar":"Dollar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rouble","pound":"Pound","rupee":"Rupee","hryvnia":"Hryvnia","won":"Won","frank":"Frank","real":"Real","other":"Other","stick":"Show symbol","before":"Before","after":"After"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Progress options","simple":"Simple","colored":"Colored","start_from":"Start from (0-100)","default_amount":"Default amount (0-100)"},"rating_format":{"name":"Rating options","star":"Star","flag":"Flag","heart":"Heart","amount":"Amount (1-10)"},"date_format":{"name":"Date/Time format"},"mention_panel":{"open":"Open","edit":"Edit","clear":"Clear"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Comment"},"formatting_menu":{"align_left":"Left","align_center":"Center","align_right":"Right","valign_top":"Top","valign_center":"Middle","valign_bottom":"Bottom","text":"Text","text_align":"Text align","text_color":"Text color","bold":"Bold","italic":"Italic","strikethrough":"Strikethrough","underline":"Underline"},"col_menu":{"add_column_after":{"one":"Add column right","many":"Add {{count}} columns right"},"add_column_before":{"one":"Add column left","many":"Add {{count}} columns left"},"duplicate_column":{"one":"Duplicate column","many":"Duplicate columns"},"rename":"Rename"},"row_menu":{"add_row_after":{"one":"Add row below","many":"Add {{count}} rows below"},"add_row_before":{"one":"Add row above","many":"Add {{count}} rows above"}},"warning":{"merge_different":"Can\'t merge different types of objects","convert_merged":"Can\'t convert merged cells"},"select":{"create_list":"Type to create a list","create_item":"Type to create an item","create_option":"Type to create option","create_label":"Type to create label","create":"Create","delete":"Delete"},"attachment":{"upload_more":"Upload file(s)","downloading":"Downloading"},"collaborator":{"placeholder":"Type to add people","no_result":"No results","loading":"Loading...","unknown":"Unknown Person"},"checkbox":{"checked":"Yes","not_checked":"No"},"sorting":{"name":"Sorting","sort":"Sort","disable":"Remove sort","change":"Click for change","asc":{"common":"Ascending","text":"Sort A-Z","number":"Sort 1-9","checkbox":"Unselected first"},"desc":{"common":"Descending","text":"Sort Z-A","number":"Sort 9-1","checkbox":"Selected first"},"warning":{"column_merged":{"title":"Unable to sort column","text":"Can\'t sort column with merged cells"},"table_rowspan":{"title":"Unable to sort column","text":"Can\'t sort table with merged rows"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Sort warning","text":"You\'re using different currencies in one column. Sorting may be incorrect."}},"exit_dialog":{"title":"Remove sort","toggle":"Keep sorted","text_keep":"Keep sorted","text_no_keep":"Column order will be restored to its initial order before sorting was applied","apply":"Apply"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Wrap cells","warnings":{"merge":{"title":"Unable to merge cells","text":"Unable to merge cells in nowrap mode"},"toggle":{"title":"Unable to switch option","text":"The table contains merged cells"}}},"duplicate_column":{"title":"Duplicate column","text_1":"Duplicate column content","text_2":"You can duplicate the whole column containing data or leave duplicated column empty","accept":"Duplicate","copy":"copy"},"convert_column":{"title":"Change column type","text_before":"This column contains values. Changing the column type will erase some of the values. Use","text_cmd":"undo","text_after":"command to reverse changes if needed.","accept":"Change type"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Show calculation bar","name":{"none":"None","all":"All","empty":"Empty","fill":"Filled","unique":"Unique","empty_percent":"Percent empty","fill_percent":"Percent filled","unique_percent":"Percent unique","sum":"Sum","average":"Average","min":"Min","max":"Max","median":"Median","min_date":"Earliest date","max_date":"Latest date","range_days":"Date range (days)","range_month":"Date range (month)","checked":"Checked","unchecked":"Unchecked","checked_percent":"Percent checked","unchecked_percent":"Percent unchecked","filter_rating":"With rating:","filter_progress":"With progress:","filesize_min":"Min size","filesize_max":"Max size"},"item":{"none":"Calculate","min_date":"Earliest","max_date":"Latest","range_days":"Range (days)","range_month":"Range (month)","checked_percent":"Checked","unchecked_percent":"Unchecked","filter_rating":"With rating","filter_progress":"With progress"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Couldn\'t load the image"},"download_file":"Download {{name}}","listen_file":"Play {{name}}","stop_file":"Stop {{name}}","uploading":"Uploading","wrtc":{"how_to_fix":"How to fix it?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Recording error. No microphone access.","rec_err_vi":"Recording error. No access to microphone/webcam. ","allow_micro":"Allow Access to microphone","allow_media":"Select the window you want to record","select_opt":"What will be recorded","screenonly":"Screen only","camonly":"Cam only","screencam":"Screen + Cam","enable_micro":"Enable microphone","startRecording":"Start recording","stopRecording":"Stop recording","pauseRecording":"Pause recording","resumeRecording":"Resume recording","cancelRecording":"Сancel recording","confirmCancel":"Are you sure you want to cancel the video recording?","cancel":"Сancel","prepareUpload":"Please wait, preparing to upload record","hasTmpRecord":"The recording was interrupted but not lost","restore":"Restore","delete":"Delete","recordOnAnotherDevice":"Recording is in progress on another device ..."},"menu":{"enabled":"Enabled","disabled":"Disabled","open_in_new_tab":"Open in new tab","copy_link":"Copy link to file","expand_in_full_window":"Expand in Full Window","autoplay":"Autoplay","sound_default":"Sound by default","sound_loop":"Loop","sound_hideControls":"Hide controls","sound_showPanel":"Show top panel","shadow_video":"Shadow for video","video_params":"Video settings","disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Print","convert_to_image":"Convert to image","convert_to_file":"Convert to file","style":"Style","shadow_image":"Shadow for image","rename":"Rename","replace":"Replace","delete":"Delete","download":"Download","get_text_from_image":"Get text from image","view_as":"View as","single_page":"Single page","all_pages":"All pages","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Downloading","attachment_not_found_error":"Error while uploading","pdf_viewer":{"initializing_full_window_view":"Initializing Full Window view","preparing_document_for_printing":"Preparing document for printing...","printing_initialization":"Printing initialization...","abort":"abort","set_page_as_default":"Set page as default","unset_page_as_default":"Default page. Click to make the page normal."},"video_just_uploaded_codec_error":"You are trying to upload a video that has been encoded with the {codec} codec. We do not guarantee the correct playback of this video on all browsers. We recommend converting the video to another format and uploading it again.","video_codec_error":"This video is encoded with {codec} codec, which is not supported in your browser.","safari_webm_not_support":"Currently, Safari browsers do not support WEBM format. Try to open the page in another browser, such as Google Chrome or Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Text from image","no_text":"There is no text","copy":"Copy all text"},"unknown_error":"The link is wrong","add_image":"Paste link or ","add_image_or":"or","add_image_small":"Paste or ","browse":"browse","browse_image":"Browse image","too_large_error":"The image size is too large","image_info_dialog":{"title":"Image info","type":"Type","size":"Size","location":"Location","copy_link":"Copy link"},"rotate_wait":{"full":"Please wait","medium":"Wait"},"attachment_not_found_error":"An unexpected error has occured with the image","readonly_placeholder":"Empty image","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Something went wrong, try choosing another file","attachment_is_being_uploaded":"A file is being uploaded on another device...","attachment_will_be_downloaded_online":"The file will be downloaded when you are online.","attachment_preview_is_not_available":"Preview is not available.","choose_a_file":"Choose files","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Play","pause":"Pause","volume":"Volume","fullscreen_on":"Fullscreen","fullscreen_off":"Exit Fullscreen","watch_again":"Watch again"}},"search":{"placeholder":"Find in page","matches":"Matches:"},"copy":{"copied":"Copied!","copy_to_clipboard":"Copy to clipboard"},"apply":"Apply","done":"Done","block_menu":{"align":{"left":"Left align","center":"Center align","right":"Right align","justify":"Justify"},"indent":{"indent":"Increase indent","outdent":"Decrease indent"},"tooltip":"Drag to move\\n<span>Click to open menu</span>","copy_tooltip":"Copy link","color":{"background_color":"Background color","color":"Color","line_color":"Line color","line_type":"Line type","player_color":"Player\'s color"},"line_type":{"default":"Standart line","dotted":"Dots"},"add":{"name":"Add block","above":"Above","below":"Below","left":"Left","right":"Right","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Convert to","to_do_list":"Checklist","number_list":"Number List","bullet_list":"Bullet List","paragraph":"Paragraph","large_heading":"Large Heading","medium_heading":"Medium Heading","small_heading":"Small Heading","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Code","quote":"Quote","hint":"Hint","image":"Image","file":"File","remote_frame":"Embed","link":"Link","bookmark":"Bookmark","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Comment","edit":"Edit","duplicate":"Duplicate","copy_block":"Copy block","copy_blocks":"Copy blocks","copy_link":"Copy Link","delete":"Delete","replace":"Replace","blot_lock":"Lock block","blot_unlock":"Unlock block","set_as_preview":"Set as preview","get_text_from_image":"Get text from image","edit_image":"Edit image","download":"Download","view_full_size":"View full size","open_in_new_tab":"Open in new tab","image_info":"Image info","rotate_image":"Rotate","add_sub_task":"Add subtask","add_sub_text":"Add subtext","layout":"Layout","embed_align":{"left":"Left align","center":"Center align","right":"Right align","default":"Default size","full_width":"Full width"},"expand_all":"Expand all","collapse_all":"Collapse all","add_caption":"Add caption","blot_locked_admin":"Editing of the block is denied. Click to unlock it.","blot_locked_admins":"Editing of the blocks is denied. Click to unlock it.","blot_locked_user":"You don’t have permission to edit this bock. Contact your organization admin.","show_header":"Show top bar","show_borders":"Show borders","rename":"Rename"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Integrations","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"More items...","add_an_element":"Add an element","paragraph":"Paragraph","todo":"Checkbox list","numbered_list":"Numbered list","bullet_list":"Bullet list","table":"Table","image":"Image","file":"File","audioRec":"Audio Record","videoRec":"Video Record","recordExist":"You cannot start a new recording until the previous one is completed. End or delete the previous record to start a new one.","large_heading":"Heading 1","medium_heading":"Heading 2","small_heading":"Heading 3","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Line","link":"Link","code":"Code","quote":"Quote","hint":"Hint","hint_placeholder":"Type something","mention":"Mention member","outline":"Outline","remote_frame":"Embed: Link, iFrame, JS Code","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Toggle block","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Marketing Strategy","marketing_brief":"Marketing Quarterly Planning ","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"This ID can be used in the future when editing the CSS file.","address":"URL or Email","open_in_new_tab":"Open in new tab","shape":"Button shape","background":"Background","size":"Button size","small":"Small","medium":"Medium","big":"Big","cancel":"Cancel","done":"Done","length_error":"The text is too large for the button. Try selecting less text (no more than 50 characters).","type":"Button type","default":"Default","withShadow":"Button with shadow","3d":"3d button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Open","send":"Send","copy":"Copy","edit":"Edit","remove":"Remove","text_label":"Text","url_label":"Link","email_label":"Address","copied":"Link copied to clipboard","cancel":"Cancel","done":"Done"},"syntax":{"menu":{"language":"Language","theme":"Theme","wrap":"Enable wrap","unwrap":"Disable wrap","lineNumbersOn":"Show line numbers","lineNumbersOff":"Hide line numbers"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"List style","type_default":"Default","type_rectangle":"Rectangle","type_star":"Star","type_dart":"Dart","type_rounded":"Rounded","type_arrow":"Arrow","type_diamond":"Diamond"},"caption":{"placeholder":"Add caption"},"mention":{"show_all":"Show all","show_all_users":"Show all","placeholder":"Showing recent or type to search","user":"People","workspace":"Workspaces","folder":"Folders","note":"Pages","no_results":"No results","offline_message":"Mention only works with active connection. Turn on the Internet and try again.","info":{"note":{"one":"page","some":"pages","many":"pages"},"subfolder":{"one":"subfolder","some":"subfolders","many":"subfolders"},"member":{"one":"member","some":"members","many":"members"},"owner":"owner","loading":"Loading preview...","loading_failed":"Loading failed","not_loaded":"Page has not been loaded yet"},"back_button":"Back","create_note_for":"Create Page:","create_folder_for":"Create Folder:"},"calendar":{"ui":{"date":"Date","am":"AM","pm":"PM","date_format":"Date format","show_time":"Show time","time_format":"Time format","time_12":"12H","time_24":"24H","first_week_day":"First day of the week","time_zone":"Time zone","use_gmt":"Use GMT for all members","use_gmt_hint":"Use the same time zone (GMT) for all collaborators","table":{"clear":"Clear"},"inline":{"clear":"Delete"},"reminder":{"name":"Alert","panel_name":"Alert","push_name":"Reminder of the event","remove_confirm_message":"You have set reminders that are tied to the time. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Do not delete","before_period":"","after_period":"before","period":{"m":{"one":"minute","many":"minutes"},"h":{"one":"hour","many":"hours"},"d":{"one":"day","many":"days"},"w":{"one":"week","many":"weeks"}},"value":{"none":"None","0m":"On start","1m":"1 minute before","5m":"5 min before","10m":"10 minutes before","15m":"15 minutes before","30m":"30 minutes before","1h":"Hour before","2h":"2 hours before","1d":"Day before","2d":"2 days before","7d":"Week before","10d":"10 days before","14d":"2 weeks before","custom":"Custom"},"until":{"in":"In","d":"d","h":"h","m":"min","already_been":"Already been","less_minute":"Less than a minute","now":"Now"}},"postfix":{"day":"d","month":"m"}},"insert":{"category_name":"Date","custom":"Custom","now":"Now","today":"Today","tomorrow":"Tomorrow"},"date_format":{"ddmmyyyy":"dd/mm/yyyy","mmddyyyy":"mm/dd/yyyy","yyyyddmm":"yyyy/mm/dd","monthddyyyy":"Month dd, yyyy","default":"Match browser format"},"months":{"0":"January","1":"February","2":"March","3":"April","4":"May","5":"June","6":"July","7":"August","8":"September","9":"October","10":"November","11":"December"},"days":{"short":{"0":"Su","1":"Mo","2":"Tu","3":"We","4":"Th","5":"Fr","6":"Sa"},"full":{"0":"Sunday","1":"Monday","2":"Tuesday","3":"Wednesday","4":"Thursday","5":"Friday","6":"Saturday"}}},"content_not_supported":"This page is not supported on your version of the FuseBase app. Try updating it or use another client with the latest version.","profession_ask":{"title":"Save time by using templates to create new pages","text":"Type in your occupation and our team will create templates for you. It’s free, with no hidden charges","i_am_a":"I am a","placeholder":"e.g. designer, teacher, sales agent, etc.","request_template":"Request template","sucess_message":"Thank you! Your occupation will be added into our queue."},"bookmark":{"name":"Bookmark","edit":"Edit bookmark","title":"Title","address":"Address","description":"Description","placeholder":"Paste or write link with https://...","placeholder_mobile":"Paste or write link","loading_preview":"Loading preview…","block_menu":{"change_mode":{"menu_name":"View as","mode_tile":"Tile","mode_card":"Card","mode_cover":"Cover"},"change_preview":"Change preview","delete_preview":"Delete preview","reset_preview":"Reset preview","change_preview_background":"Preview background","options":{"menu_name":"Options","open_in_same_tab":"Open in same tab"}},"error":{"unknown_error":"Something went wrong, try enter another URL","preview_notfound":"Previews not found"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Name","ORGANIZATION":"Company","TITLE":"Title","ADDRESS":"Position","URL":"Site","PHONE":"Phone","EMAIL":"Email","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Cancel"}},"outline":{"default_name":"Outline","menu":{"expand":"Expand","collapse":"Collapse","rename":"Rename"},"context_menu":{"convert_to":{"text":"Text"},"style":{"name":"Outline style","list_only":"List only","numbered_list":"Numbered list","bordered":"Show border","border_color":"Border color"}},"empty":"Add Headlines to your page and they will appear as links here"},"floating_toolbar":{"bold":"Bold","italic":"Italic","underline":"Underline","strikethrough":"Strikethrough","clear":"Clear Formatting","code":"Code","button":"Button","link":"Link","highlight":"Highlight","extraHighlight":"Text labels","color":"Color and highlight","text":"Text","clear_all":"Clear all","placeholder":"Placeholder","adapts":{"dark":"Adapts to a dark theme","light":"Adapts to a light theme"},"create_note":"Create page","add_comment":"Add comment"},"remote_frame":{"placeholder_small":"Embed URL","placeholder_full":"Embed any URL, like YouTube, Github, Maps, Twitter, etc.","loading":"Loading...","context_menu":{"change_link":"Change link","full_size":"Full screen","reset_size":"Reset size","open_origin":"Open original","layout":"Layout","show_toolbar":"Show editing toolbar","copy_original":"Copy link to original"},"error":{"is_not_link":"Link or code is incorrect","content_error":"This URL is not supported or invalid. <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">Contact us</a> if you think that this URL can be embedded.","unknown_error":"Something went wrong, try enter another URL","wrong_signature":"This content is corrupted and cannot be displayed","google_docs_auth_error":"Most likely you can\'t embed Google Docs/Sheets/Slide file because you don\'t have access to it. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Please read our guide.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Convert to bookmark","convert_link":"Convert to link","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Loading...","menu":{"expand":"Expand","collapse":"Collapse","open_origin":"Open in Google Drive","download":"Download","change_account":"Change account","choose_another_file":"Choose another file"},"last_modified":"Last modified by {{userName}} {{time}} ago","browse":"Browse file","login":"Sign in with Google","login_text":"Browse files and add from Google Drive"},"html":{"default_name":"HTML","loading":"Loading...","menu":{"open_source":"Open source link","export_blot":"Save HTML"},"unknown_error":"Unknown error","device_cant_display_content":"Your device can\'t display this content","wrong_signature":"This content is corrupted and cannot be displayed"},"relative_time":{"seconds":{"one":"{{count}} second","some":"{{count}} seconds","many":"{{count}} seconds"},"minutes":{"one":"{{count}} minute","some":"{{count}} minutes","many":"{{count}} minutes"},"hours":{"one":"{{count}} hour","some":"{{count}} hours","many":"{{count}} hours"},"days":{"one":"{{count}} day","some":"{{count}} days","many":"{{count}} days"},"months":{"one":"{{count}} month","some":"{{count}} months","many":"{{count}} months"},"years":{"one":"{{count}} year","some":"{{count}} years","many":"{{count}} years"}},"collapsible_content":{"menu":{"expand":"Expand","collapse":"Collapse","rename":"Rename"}},"convert_link":{"url":"URL","title":"Title","embed":"Embed","bookmark":"Bookmark","button":"Button","link_to_note":"Link to page","link_to_folder":"Link to folder","link_to_workspace":"Link to workspace","convert_error":"Error occurred while converting the URL"},"fullwidth":{"menu_item":"Full width"},"resizeable":{"point_tooltip":{"default":"Resize","bottom-right":"Resize\\n(press and hold the {{altKey}} button for free resize)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}');function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t,n){return t&&G(e.prototype,t),n&&G(e,n),e}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$(e);if(t){var o=$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K(this,n)}}function K(e,t){if(t&&("object"===z(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 $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q,X={ru:JSON.parse('{"table":{"common":{"column":"Колонка"},"move_column_cant_split_merged_cells":{"title":"Невозможно перенести колонку","text":"Невозможно перенести колонку в ячейки, которые были объединены. Сначала, уберите объединение."},"move_column_cant_move_part_of_merged_cells":{"title":"Невозможно перенести колонку","text":"В колонке, которую вы хотите перенести есть объедененные ячейки. Сначала, вам нужно убрать объеденение."},"move_column_failed":{"title":"Невозможно перенести колонку","text":"Ошибка при переносе колонки. Попробуйте снова."},"move_row_cant_split_merged_cells":{"title":"Невозможно перенести строку","text":"Невозможно перенести строку в ячейки, которые были объединены. Сначала, уберите объединение."},"move_row_cant_move_part_of_merged_cells":{"title":"Невозможно перенести строку","text":"В строке, которую вы хотите перенести есть объедененные ячейки. Сначала, вам нужно убрать объеденение."},"move_row_cant_move_in_sortable_table":{"title":"Невозможно перенести строку","text":"Невозможно перенести строку, если есть активная сортировка. Отключите сортировку и попробуйте снова."},"move_row_cant_move_in_filtered_table":{"title":"Невозможно перенести строку","text":"Невозможно перенести строку, если есть активные фильтры. Отключите фильтры и попробуйте снова."},"move_row_failed":{"title":"Невозможно перенести строку","text":"Ошибка при переносе строки. Попробуйте снова"},"first_move_column_or_row_message":"Вы можете выделить несколько строк или колонок, если зажмёте CTRL и будете кликать на нужные строки или колонки.","menu":{"delete":"Удалить","help":"Инструкция","delete_column":{"one":"Удалить колонку","many":"Удалить {{count}} колонки"},"delete_row":{"one":"Удалить строку","many":"Удалить {{count}} строки"},"add":"Добавить","add_row_before":{"one":"Добавить строку выше","many":"Добавить {{count}} строки выше"},"add_row_after":{"one":"Добавить строку ниже","many":"Добавить {{count}} строки ниже"},"add_col_before":{"one":"Добавить колонку слева","many":"Добавить {{count}} колонки слева"},"add_col_after":{"one":"Добавить колонку справа","many":"Добавить {{count}} колонки справа"},"copy_cell":{"one":"Копировать ячейку","many":"Копировать ячейки"},"copy_table":"Копировать таблицу","table_layout":{"name":"Стиль таблицы","column_headings":"Показывать колонтитул колонки","row_headings":"Показывать колонтитул строки"},"import_csv":"Импорт из CSV","merge_cells":"Объединить ячейки","insert_checkbox":"Вставить чекбокс","background_color":"Цвет фона","formatting":"Форматирование","clear":"Очистить","reset":"Сбросить значения","divide_cells":"Разъединить ячейки","type":{"name_cell":"Тип ячейки","name_cells":"Тип ячеек","name_column":"Тип колонки","name_columns":"Тип колонок","type_cell":{"one":"Тип ячейки","many":"Тип ячеек"},"type_col":{"one":"Тип колонки","many":"Тип колонок"},"same_as_column":"Как колонка","reset_cells":"Сбросить формат ячеек","none":"Общий тип","text":"Текст","textline":"Текст","number":"Числа","attachment":"Файлы","checkbox":"Чекбоксы","multiselect":"Много опций","singleselect":"Одна опция","collaborator":"Участники","currency":"Валюта","date":"Дата","link":"Ссылки","rating":"Рейтинг","progress":"Прогресс","mention":"Упоминание"},"number_format":{"name":"Формат числа","number":"Число","commas":"С разделителями","percent":"Проценты"},"currency_format":{"name":"Валюта","dollar":"Доллар","euro":"Евро","yen":"Иена","yuan":"Юань","rouble":"Рубль","pound":"Фунт","rupee":"Рупия","hryvnia":"Гривна","won":"Вона","frank":"Франк","real":"Риал","other":"Другая","stick":"Символ валюты","before":"До","after":"После"},"decimal_format":{"name":"Десятичный разделитель","comma":"Запятая","point":"Точка","hint":"Разделитель используется для десятичных разрядов. Например, если запятая, то будет такой вид: 1.000,99, а если точка, то: 1,000.99"},"progress_format":{"name":"Настройки прогресса","simple":"Простой","colored":"Цветной","start_from":"Начать с (0-100)","default_amount":"По умолчанию (0-100)"},"rating_format":{"name":"Настройки рейтинга","star":"Звезда","flag":"Флаг","heart":"Сердце","amount":"Число (1-10)"},"date_format":{"name":"Настройки даты и времени"},"mention_panel":{"open":"Открыть","edit":"Изменить","clear":"Удалить"},"color_numbers":{"name":"Цветные цифры","enable":"Включить цветные цифры"},"filter":"Фильтрация","comment":"Комментарий"},"formatting_menu":{"align_left":"Лево","align_center":"Центр","align_right":"Право","valign_top":"Верх","valign_center":"Середина","valign_bottom":"Низ","text":"Текст","text_align":"Выравнивание текста","text_color":"Цвет текста","bold":"Жирный","italic":"Наклонный","strikethrough":"Перечеркнутый","underline":"Подчеркнутый"},"col_menu":{"add_column_after":{"one":"Добавить колонку справа","many":"Добавить {{count}} колонки справа"},"add_column_before":{"one":"Добавить колонку слева","many":"Добавить {{count}} колонки слева"},"duplicate_column":{"one":"Дублировать колонку","many":"Дублировать колонки"},"rename":"Переименовать"},"row_menu":{"add_row_after":{"one":"Добавить строку снизу","many":"Добавить {{count}} строки снизу"},"add_row_before":{"one":"Добавить строку сверху","many":"Добавить {{count}} строки сверху"}},"warning":{"merge_different":"Невозможно объединить разные типы объектов","convert_merged":"Невозможно конвертировать объединенные ячейки"},"select":{"create_list":"Напишите, чтобы создать список","create_item":"Напишите, чтобы создать опцию","create_option":"Напишите, чтобы создать опцию","create_label":"Напишите лейбл","create":"Создать","delete":"Удалить"},"attachment":{"upload_more":"Загрузить файлы","downloading":"Загрузка"},"collaborator":{"placeholder":"Введите имя","no_result":"Не найдено","loading":"Загрузка...","unknown":"Неизвестный"},"checkbox":{"checked":"Да","not_checked":"Нет"},"sorting":{"name":"Сортировка","sort":"Сортировка","disable":"Отключить сортировку","change":"Клик, чтобы поменять","asc":{"common":"По возрастанию","text":"От А до Я","number":"От 1 до 9","checkbox":"Сначала неотмеченные"},"desc":{"common":"По убыванию","text":"От Я до А","number":"От 9 до 1","checkbox":"Сначала отмеченные"},"warning":{"column_merged":{"title":"Не удалось отсортировать колонку","text":"Невозможно отсортировать колонку с объединенными ячейками"},"table_rowspan":{"title":"Не удалось отсортировать колонку","text":"Невозможно отсортировать таблицу с объединенными строками"},"merge":{"title":"Нельзя объединять ячейки","text":"Нельзя объединять ячейки при активной сортировке колонки. Отключите сортировку и попробуйте снова."},"different_currencies":{"title":"Предупреждение","text":"Вы используете разные валюты в ячейках, в связи с этим данные сортировки могут быть некорректными."}},"exit_dialog":{"title":"Отключение сортировки","toggle":"Сохранить текущий порядок строк","text_keep":"Будет сохранен порядок строк, который получился при сортировке.","text_no_keep":"Будет возвращен порядок строк, который был ДО включения сортировки.","apply":"Готово"}},"filter":{"by_field":"Фильтрация по колонке","empty_table":"Все записи отфильтрованы","popup_title":"Показать строки","empty_filters":"Нет применённых фильтров для базы данных","where":"Где","or":"Или","and":"И","add_condition":"Добавить условие","clear_all":"Очистить всё","contains":"содержит","is":"совпадает","is_not":"не совпадает","contains_not":"не содержит","has_any_of":"один из","has_none_of":"не содержит ни одного из","empty":"пустая","not_empty":"не пустая","filetype":"тип файлов","select_users_placeholder":"Выберите пользователей","type_text_placeholder":"Введите текст","type_text_or_select_placeholder":"Введите текст или выберите","type_number_placeholder":"Введите число","select_type_placeholder":"Выберите тип","select_date_placeholder":"Выберите дату","date":{"today":"Сегодня","yesterday":"Вчера","tomorrow":"Завтра","custom":"Другая"},"filetypes":{"images":"Изображения","documents":"Документы","media":"Медиа","other":"Другие"},"warning":{"cells_merged":{"title":"Не удалось применить фильтры","text":"Невозможно отфильтровать таблицу с объединенными ячейками"},"merge":{"title":"Нельзя объединять ячейки","text":"Нельзя объединять ячейки при активном фильтре колонки. Отключите фильтры и попробуйте снова."},"column_multitype":{"title":"Не удалось применить фильтры","text":"Нельзя фильтровать колонки с типом Общий тип. Сконвертируйте в другой тип и попробуйте снова."},"table_not_have_typed_columns":{"title":"Не удалось применить фильтры","text":"Нет доступных колонок для фильтрации."}},"enable_filter":"Включить фильтр","disable_filter":"Выключить фильтр"},"wrap_cells":{"layout_menu":"Разбиение ячеек","warnings":{"merge":{"title":"Объединение невозможно","text":"Невозможно объединить ячейки в режиме \'без разбиения\'"},"toggle":{"title":"Невозможно использовать опцию","text":"Таблица содержит объединенные ячейки"}}},"duplicate_column":{"title":"Дублировать колонку","text_1":"Дублировать содержимое ячеек","text_2":"В ячейке колонки есть данные. Вы можете их дублировать тоже или дублировать пустую колонку.","accept":"Дублировать","copy":"копия"},"convert_column":{"title":"Смена типа колонки","text_before":"Колонка содержит данные. При смене типа колонки данные будут удалены. Используйте клавиши","text_cmd":"ctrl+z","text_after":"чтобы отменить изменения.","accept":"Изменить тип"},"merge_cells_with_comments":{"title":"Объединение ячеек","text":"Ячейки будут объединены слева направо и к новой ячейке будет показан комментарий от левой ячейки.","accept":"Объединить"},"summary":{"layout_menu":"Показать панель подсчёта","name":{"none":"Без подсчёта","all":"Всего","empty":"Пустые ячейки","fill":"Заполненные ячейки","unique":"Уникальные ячейки","empty_percent":"Пустые в процентах","fill_percent":"Заполненные в процентах","unique_percent":"Уникальные в процентах","sum":"Сумма","average":"Среднее","min":"Минимальное","max":"Максимальное","median":"Медиана","min_date":"Самая ранняя","max_date":"Самая поздняя","range_days":"Промежуток в днях","range_month":"Промежуток в месяцах","checked":"Отмеченные","unchecked":"Неотмеченные","checked_percent":"Отмеченные в процентах","unchecked_percent":"Неотмеченные в процентах","filter_rating":"С рейтингом:","filter_progress":"С прогрессом:","filesize_min":"Минимальный размер","filesize_max":"Максимальный размер"},"item":{"none":"Подсчёт","empty":"Пустые","fill":"Заполненные","unique":"Уникальные","empty_percent":"Пустые","fill_percent":"Заполненные","unique_percent":"Уникальные","min_date":"Ранняя","max_date":"Поздняя","range_days":"Промежуток","range_month":"Промежуток","checked_percent":"Отмеченные","unchecked_percent":"Неотмеченные","filter_rating":"С рейтингом","filter_progress":"С прогрессом","filesize_min":"Мин. размер","filesize_max":"Макс. размер","min":"Мин","max":"Макс"}},"comments":{"tooltip":{"one":"Комментарий","more":"Комментарии"}}},"file":{"image_viewer":{"could_not_load_image":"Не получилось загрузить картинку"},"download_file":"Скачать {{name}}","listen_file":"Прослушать {{name}}","stop_file":"Остановить {{name}}","uploading":"Загружаем","wrtc":{"how_to_fix":"Как это исправить?","how_to_url":"https://nimbusweb.me/s/share/5441213/cwwryo2477pssn2sgkww","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Ошибка записи. Нет доступа к микрофону","rec_err_vi":"Ошибка записи. Нет доступа к микрофону/вебкамере ","allow_micro":"Разрешите доступ к микрофону","allow_media":"Выберите окно, которое надо записать","select_opt":"Что будем записывать","screenonly":"Только экран","camonly":"Только камера","screencam":"Экран + Камера","enable_micro":"Запись с микрофона","startRecording":"Начать запись","stopRecording":"Остановить запись","pauseRecording":"Приостановить запись","resumeRecording":"Возобновить запись","cancelRecording":"Отменить запись","confirmCancel":"Вы действительно хотите отменить запись видео?","cancel":"Отмена","prepareUpload":"Подождите, идет подготовка к загрузке записи","hasTmpRecord":"Запись была прервана, но не потеряна","restore":"Восстановить","delete":"Удалить","recordOnAnotherDevice":"Идет запись на другом устройстве..."},"menu":{"enabled":"Включено","disabled":"Выключено","open_in_new_tab":"Открыть в новой вкладке","copy_link":"Копировать ссылку на файл","expand_in_full_window":"Просмотр на весь экран","autoplay":"Автопроигрывание","sound_default":"Звук по умолчанию","sound_loop":"Зацикливание","sound_hideControls":"Скрыть управление","sound_showPanel":"Показывать верхнюю панель","shadow_video":"Тень для видео","video_params":"Настройки видео","disallow_download":"Скачивание","for_note":"Участники проекта","for_share":"Публичная страница","motion_video":"Motion видео","preview_video":"Сменить превью","preview_video_btn":"Превью","print":"Печать","convert_to_image":"Конвертировать в изображение","convert_to_file":"Конвертировать в файл","style":"Стиль","shadow_image":"Тень для картинки","rename":"Переименовать","replace":"Заменить","delete":"Удалить","download":"Скачать","get_text_from_image":"Получить текст изображения","view_as":"Отображать как","single_page":"Одна страница","all_pages":"Все страницы","cta_motion_video_message":"Для видео включен CTA. Невозможно одновременно использовать CTA и Motion видео. Отключите CTA и попробуйте снова включить Motion видео.","cta_loop_message":"Для видео включен CTA. Невозможно одновременно использовать CTA и Зацикливание. Отключите CTA и попробуйте снова включить Зацикливание.","grid":"Колонка","cta_drop_in_grid":"В видео включен CTA. Мы рекомендуем проверить правильность отображения CTA после переноса в колонку.","cta_exists_in_grid":"В колонке есть видео с активным CTA. Проверьте его правильность после переноса."},"downloading":"Скачивание...","attachment_not_found_error":"Ошибка загрузки файла","pdf_viewer":{"initializing_full_window_view":"Инициализация полного окна","preparing_document_for_printing":"Подготовка документа для печати...","printing_initialization":"Инициализация печати...","abort":"отменить","set_page_as_default":"Показывать страницу по умолчанию","unset_page_as_default":"Страница по умолчанию. Кликните, чтобы сделать страницу обычной."},"video_just_uploaded_codec_error":"Вы пытаетесь загрузить видео, которое было закодировано кодеком {codec} Мы не гарантируем корректное воспроизведение данного видео на всех браузерах. Рекомендуем конвертировать видео в другой формат и загрузить снова.","video_codec_error":"Данное видео закодировано кодеком {codec}, который не поддерживается в вашем браузере.","safari_webm_not_support":"На данный момент, браузер Safari не поддерживает формат WEBM. Попробуйте открыть страницу в другом браузере, например Google Chrome или Mozilla Firefox.","video_transcribe":"Транскрипт","video_summary":"Сводка","video_meeting_notes":"Заметки с встречи","video_ask_ai":"Спросить AI"},"image":{"text_from_image_popup":{"title":"Получить текст с картинки","no_text":"Не удалось получить текст","copy":"Копировать текст"},"unknown_error":"Не верная ссылка","add_image":"Вставьте ссылку или выберите ","add_image_or":"или","add_image_small":"Вставьте или выберите ","browse":"с диска","browse_image":"Выбрать изображение","too_large_error":"Изображение слишком большое","image_info_dialog":{"title":"Информация об изображении","type":"Тип","size":"Размер","location":"Адрес","copy_link":"Копировать"},"rotate_wait":{"full":"Немного терпения","medium":"Подождите"},"attachment_not_found_error":"Произошла ошибка при загрузке изображения","readonly_placeholder":"Пустое изображение","unsplash":{"name":"Unsplash","header":"Выберите картинку","placeholder":"Поиск изображения","search":"Поиск","description":"Выполните поиск, чтобы найти больше результатов.","no_result":"Изображения не найдены.","caption_preffix":"Автор"},"comments":"Комментарии"},"attachment":{"unknown_error":"Что-то пошло не так, попробуйте выбрать другой файл","attachment_is_being_uploaded":"Идет загрузка на другом устройстве...","attachment_will_be_downloaded_online":"Файл будет загружен когда вы будете онлайн.","attachment_preview_is_not_available":"Предпросмотр недоступен.","choose_a_file":"Выберите файлы","wait_resolving_without_info":"Немного терпения..."},"video":{"player":{"play":"Играть видео","pause":"Пауза","volume":"Громкость","fullscreen_on":"Во весь экран","fullscreen_off":"Выйти из режима Весь экран","watch_again":"Воспроизвести повторно"}},"search":{"placeholder":"Поиск на странице","matches":"Совпадений:"},"copy":{"copied":"Скопировано!","copy_to_clipboard":"Копировать в буфер обмена"},"apply":"Готово","done":"Готово","block_menu":{"align":{"left":"Выровнять по левому краю","center":"Выровнять по центру","right":"Выровнять по правому краю","justify":"Выровнять по ширине"},"indent":{"indent":"Увеличить отступ","outdent":"Уменьшить отступ"},"tooltip":"Потяните для перемещения\\n<span>Кликните для открытия меню</span>","copy_tooltip":"Скопировать ссылку","color":{"background_color":"Цвет фона","color":"Цвет","line_color":"Цвет линии","line_type":"Тип линии","player_color":"Цвет плеера"},"line_type":{"default":"Обычная линия","dotted":"Точки"},"add":{"name":"Добавить блок","above":"Сверху","below":"Снизу","left":"Слева","right":"Справа","above_column":"Над колонкой","below_column":"Под колонкой"},"convert_to":{"name":"Конвертировать в","to_do_list":"Чеклист","number_list":"Нумерованный список","bullet_list":"Маркированный список","paragraph":"Параграф","large_heading":"Большой заголовок","medium_heading":"Средний заголовок","small_heading":"Малый заголовок","large_heading_toggle":"Сворачиваемый заголовок 1","medium_heading_toggle":"Сворачиваемый заголовок 2","small_heading_toggle":"Сворачиваемый заголовок 3","code":"Код","quote":"Цитата","hint":"Примечание","image":"Изображение","file":"Файл","remote_frame":"Объект/Embed","link":"Ссылка","bookmark":"Закладка","button":"Кнопка","toggle":"Сворачиваемый блок","step":"Steps"},"comment_block":"Комментарий","edit":"Редактировать","duplicate":"Дублировать","copy_block":"Копировать содержимое блока","copy_blocks":"Копировать содержимое блоков","copy_link":"Копировать ссылку","delete":"Удалить","replace":"Заменить","blot_lock":"Запретить редактирование","blot_unlock":"Разрешить редактирование","set_as_preview":"Установить как превью","get_text_from_image":"Получить текст изображения","edit_image":"Редактировать изображение","download":"Скачать","view_full_size":"Открыть в полный размер","open_in_new_tab":"Открыть в новой вкладке","image_info":"Информация об изображении","rotate_image":"Повернуть","add_sub_task":"Добавить подзадачу","add_sub_text":"Добавить подтекст","layout":"Стиль","embed_align":{"left":"Выравнивание слева","center":"Выравнивание по центру","right":"Выравнивание справа","default":"Исходный размер","full_width":"На всю ширину"},"expand_all":"Развернуть все","collapse_all":"Свернуть все","add_caption":"Добавить подпись","blot_locked_admin":"Блок запрещён для редактирования. Кликните, чтобы разблокировать.","blot_locked_admins":"Блоки запрещены для редактирования. Кликните, чтобы разблокировать.","blot_locked_user":"У Вас нет прав на редактирование данного блока. Обратитесь к вашему администратору.","show_header":"Показывать верхнюю панель","show_borders":"Показывать рамки","rename":"Переименовать"},"convert_menu_groups":{"suggestions":"Рекомендуем","basic":"Базовые","advanced":"Продвинутые","media":"Медиа","embed":"Embed","views":"Сложные объекты","templates":"Шаблоны","helpful_links":"Полезные ссылки"},"embedded_menu":{"start_typing":"Напишите \\"/\\" или добавьте","start_typing_full":"Напишите \\"/\\", \\"@\\" или добавьте","more_items":"Больше элементов...","add_an_element":"Добавить элемент","paragraph":"Параграф","todo":"Чеклист","numbered_list":"Нумерованный список","bullet_list":"Маркированный список","table":"Таблица","image":"Изображение","file":"Файл","audioRec":"Аудиозапись","videoRec":"Видеозапись","recordExist":"Вы не можете начать новую запись пока не завершена предыдущая. Завершите или удалите предыдущую запись, чтобы начать новую.","large_heading":"Заголовок 1","medium_heading":"Заголовок 2","small_heading":"Заголовок 3","large_heading_toggle":"Сворачиваемый заголовок H1","medium_heading_toggle":"Сворачиваемый заголовок H2","small_heading_toggle":"Сворачиваемый заголовок H3","section_break":"Линия","link":"Ссылка","code":"Код","quote":"Цитата","hint":"Примечание","hint_placeholder":"Напишите желаемый текст","mention":"Упоминание","outline":"Содержание","remote_frame":"Объект/Embed","integrations":"Интеграции","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Сворачиваемый блок","tasks_list":"Список задач","lock_blot":"Запретить редактирование","link_page":"Ссылка на страницу","date":"Дата","more_integrations":"другие интеграции","two_columns":"2 колонки","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"другие шаблоны","get_feedback":"Обратная связь","contact_support":"Служба поддержки","learn_nimbus":"Инструкция","footer_top":"Введите текст, чтобы искать объекты.","footer_bottom":"Есть вопросы? Мы с удовольствием на них","footer_link":"ответим!","add_note":"Новая страница","database_with_options":"База данных","board":"Канбан / Доска задач","progress":"Прогресс","dropdown_list":"Выпадающий список","uploader":"Загрузчик файлов","use_ai":"Использовать Fusebase AI","helper":"AI помощник","summarize":"Резюмировать","explain":"Объяснить","improve":"Улучшить","spelling":"Исправить орфографию и грамматику","cta":"Призывы к действию","shorter":"Сделать короче","longer":"Сделать длиннее","step":"Steps"},"button":{"title":"Заголовок","id_info_tooltip":"Данный ID в будущем можно будет использовать при редактировании CSS файла.","address":"Адрес или Email","open_in_new_tab":"Открывать в новой вкладке","shape":"Форма кнопки","background":"Задний фон","size":"Размер","small":"Малый","medium":"Средний","big":"Большой","cancel":"Отмена","done":"Готово","length_error":"Слишком большой текст для кнопки. Попробуйте выделить меньшее количество текста (до 50 символов).","type":"Тип кнопки","default":"Обычная","withShadow":"Кнопка с тенью","3d":"3D кнопка","convert":{"popup_title":"Конвертировать в кнопку"}},"link":{"open":"Открыть","send":"Отправить","copy":"Копировать","edit":"Изменить","remove":"Удалить","text_label":"Текст","url_label":"Ссылка","email_label":"Адрес","copied":"Ссылка скопирована в буфер обмена","cancel":"Отмена","done":"Готово"},"syntax":{"menu":{"language":"Язык","theme":"Тема","wrap":"Включить перенос строк","unwrap":"Выключить перенос строк","lineNumbersOn":"Показать нумерацию строк","lineNumbersOff":"Скрыть нумерацию строк"},"convert":{"popup_title":"Ковертировать в код","blots_have_comments":"В тексте есть комментарии, которые будут удалены при конвертации.","text_has_inline_comments":"Внутри текста есть комментарии, которые будут удалены при конвертации.","confirm":"Конвертировать"}},"list":{"list_style":"Стиль списка","type_default":"По умолчанию","type_rectangle":"Квадрат","type_star":"Звезда","type_dart":"Дротик","type_rounded":"Круг","type_arrow":"Стрела","type_diamond":"Ромб"},"caption":{"placeholder":"Добавить описание"},"mention":{"show_all":"Показать все","show_all_users":"Показать всех","placeholder":"Напишите или выберите из списка","user":"Участники","workspace":"Проекты","folder":"Папки","note":"Страницы","no_results":"Нет результатов","offline_message":"Упоминания работают только при активном соединении. Включите Интернет и попробуйте снова.","info":{"note":{"one":"страница","some":"страницы","many":"страниц"},"subfolder":{"one":"подпапка","some":"подпапки","many":"подпапок"},"member":{"one":"участник","some":"участника","many":"участников"},"owner":"владелец","loading":"Загрузка превью...","loading_failed":"Ошибка загрузки","not_loaded":"Страница ещё не загрузилась"},"back_button":"Назад","create_note_for":"Создать страницу:","create_folder_for":"Создать папку:"},"calendar":{"ui":{"date":"Дата","am":"AM","pm":"PM","date_format":"Формат даты","show_time":"Показывать время","time_format":"Формат времени","time_12":"12ч","time_24":"24ч","first_week_day":"Первый день недели","time_zone":"Часовой пояс","use_gmt":"Время по Гринвичу","use_gmt_hint":"Один часовой пояс для всех участников","table":{"clear":"Очистить"},"inline":{"clear":"Удалить"},"reminder":{"name":"Напоминание","panel_name":"Напоминание","push_name":"Напоминание о событии","remove_confirm_message":"У вас установлены алерты, которые привязаны ко времени. Вы хотите удалить эти напоминания?","remove_confirm_text":"Удалить","remove_cancel_text":"Не удалять напоминания","before_period":"за","after_period":"","period":{"m":{"one":"минуту","many":"минуты"},"h":{"one":"час","many":"часа"},"d":{"one":"день","many":"дня"},"w":{"one":"неделю","many":"недели"}},"value":{"none":"Нет","0m":"При наступлении","1m":"за 1 минуту","5m":"за 5 минут","10m":"за 10 минут","15m":"за 15 минут","30m":"за 30 минут","1h":"за 1 час","2h":"за 2 часа","1d":"за 1 день","2d":"за 2 дня","7d":"за 7 дней","10d":"за 10 дней","14d":"за 14 дней","custom":"Другое"},"until":{"in":"Через","d":"д.","h":"ч.","m":"мин.","already_been":"Уже было","less_minute":"Меньше минуты","now":"Сейчас"}},"postfix":{"day":"д","month":"мес"}},"insert":{"category_name":"Дата","custom":"Другая","now":"Сейчас","today":"Сегодня","tomorrow":"Завтра"},"date_format":{"ddmmyyyy":"дд/мм/гггг","mmddyyyy":"мм/дд/гггг","yyyyddmm":"гггг/мм/дд","monthddyyyy":"Месяц дд, гггг","default":"Формат браузера"},"months":{"0":"Январь","1":"Февраль","2":"Март","3":"Апрель","4":"Май","5":"Июнь","6":"Июль","7":"Август","8":"Сентябрь","9":"Октябрь","10":"Ноябрь","11":"Декабрь"},"days":{"short":{"0":"Вс","1":"Пн","2":"Вт","3":"Ср","4":"Чт","5":"Пт","6":"Сб"},"full":{"0":"Воскресенье","1":"Понедельник","2":"Вторник","3":"Среда","4":"Четверг","5":"Пятница","6":"Суббота"}}},"content_not_supported":"На странице есть контент, который не поддерживается версией редактора на вашем клиенте. Обновите клиент для полноценной работы.","profession_ask":{"title":"Сохраните время, используя шаблоны при создании новых страниц","text":"Введите вашу должность и наша комманда создаст шаблон для вас. Это бесплатно, никаких скрытых платежей.","i_am_a":"Моя должность - ","placeholder":"например дизайнер, учитель, агент, и т.д.","request_template":"Запросить шаблон","sucess_message":"Спасибо! Ваша должность добавлена в обработку."},"bookmark":{"name":"Закладка","edit":"Редактировать закладку","title":"Заголовок","address":"Ссылка","description":"Описание","placeholder":"Вставьте, или напишите ссылку с https://...","placeholder_mobile":"Вставьте, или напишите ссылку","loading_preview":"Загрузка превью…","block_menu":{"change_mode":{"menu_name":"Отобразить как","mode_tile":"Плитка","mode_card":"Карточка","mode_cover":"Обложка"},"change_preview":"Изменить превью","delete_preview":"Удалить превью","reset_preview":"Сбросить превью","change_preview_background":"Фон превью","options":{"menu_name":"Параметры","open_in_same_tab":"Открывать в текущей вкладке"}},"error":{"unknown_error":"Что-то пошло не так, попробуйте ввести другой URL","preview_notfound":"Превью не найдены"},"upload":{"new_preview":"Загрузить картинку","quota_error":"Размер файла превышает допустимый размер в 3MB. Попробуйте другой файл.","unknown_error":"Неизвестная ошибка. Попробуйте другой файл."}},"businessCard":{"PERSON":"Имя","ORGANIZATION":"Организация","TITLE":"Описание","ADDRESS":"Адрес","URL":"Сайт","PHONE":"Телефон","EMAIL":"Электронная почта","SKYPE":"Скайп","TWITTER":"Твиттер","INSTAGRAM":"Инстаграм","FACEBOOK":"Фейсбук","LINKEDIN":"LinkedIn","VK":"ВКонтакте"},"dialog_common":{"button":{"ok":"Да","cancel":"Отмена"}},"outline":{"default_name":"Содержание","menu":{"expand":"Развернуть","collapse":"Свернуть","rename":"Переименовать"},"context_menu":{"convert_to":{"text":"Текст"},"style":{"name":"Стиль содержания","list_only":"Список","numbered_list":"Нумерованный список","bordered":"Показать рамку","border_color":"Цвет рамки"}},"empty":"Добавьте Заголовки к своей странице, и они будут отображаться здесь как ссылки"},"floating_toolbar":{"bold":"Жирный","italic":"Курсив","underline":"Подчеркнутый","strikethrough":"Перечеркнутый","clear":"Очистить форматирование","code":"Код","button":"Кнопка","link":"Ссылка","highlight":"Маркер","extraHighlight":"Маркеры с рамкой","color":"Цвет и выделение текста","text":"Текст","clear_all":"Очистить всё","placeholder":"Заполнитель","adapts":{"dark":"Адаптировать к темной теме","light":"Адаптировать к светлой теме"},"create_note":"Создать страницу","add_comment":"Добавить комментарий"},"remote_frame":{"placeholder_small":"Вставьте URL","placeholder_full":"Вставьте ссылку с YouTube, Github, Maps, Twitter и т.д.","loading":"Загрузка...","context_menu":{"change_link":"Сменить ссылку","full_size":"На весь экран","reset_size":"Сбросить размер","open_origin":"Перейти к источнику","layout":"Стиль","show_toolbar":"Показать тулбар","copy_original":"Копировать ссылку на оригинал"},"error":{"is_not_link":"Ссылка или код неверные","content_error":"Данная ссылка не поддерживается или является некорректной. Напишите в <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">нашу службу поддержки</a>, если вы считаете, что произошла ошибка.","unknown_error":"Что-то пошло не так, попробуйте ввести другой URL","wrong_signature":"Неверная ссылка или контент эмбеда повреждён","google_docs_auth_error":"Скорее всего нет прав доступа к этому документу. У нас есть небольшая <a href=\\"https://nimbusweb.me/s/share/4246032/x9umr2emrgvf4xxa45vy\\" target=\\"_blank\\">инструкция</a>, которая подскажет, как поменять права на документ.","internal_link_error":"{{serviceName}} запретил переход по внутренним ссылкам. Нажмите на Назад, чтобы вернуться на предыдущую страницу."},"convert_bookmark":"Конвертировать в закладку","convert_link":"Конвертировать в ссылку","back_button":"Назад"},"google_drive":{"block_name":"Google Drive","loading":"Загрузка...","menu":{"expand":"Развернуть","collapse":"Свернуть","open_origin":"Открыть в Google Drive","download":"Скачать","change_account":"Сменить аккаунт","choose_another_file":"Выбрать другой файл"},"last_modified":"Последнее изменение {{userName}} {{time}} назад","browse":"Выбрать файл","login":"Sign in with Google","login_text":"Выберите и добавьте файл из Google Drive"},"html":{"default_name":"HTML","loading":"Загрузка...","menu":{"open_source":"Открыть оригинал","export_blot":"Сохранить HTML"},"unknown_error":"Неизвестная ошибка","device_cant_display_content":"Данное содержимое не может быть отображено на вашем устройстве","wrong_signature":"Данное содержимое повреждено и не может быть показано"},"relative_time":{"seconds":{"one":"{{count}} секунду","some":"{{count}} секунды","many":"{{count}} секунд"},"minutes":{"one":"{{count}} минуту","some":"{{count}} минуты","many":"{{count}} минут"},"hours":{"one":"{{count}} час","some":"{{count}} часа","many":"{{count}} часов"},"days":{"one":"{{count}} день","some":"{{count}} дня","many":"{{count}} дней"},"months":{"one":"{{count}} месяц","some":"{{count}} месяца","many":"{{count}} месяцев"},"years":{"one":"{{count}} год","some":"{{count}} года","many":"{{count}} лет"}},"collapsible_content":{"menu":{"expand":"Развернуть","collapse":"Свернуть","rename":"Переименовать"}},"convert_link":{"url":"URL","title":"Ссылка+Имя","embed":"Объект/Embed","bookmark":"Закладка","button":"Кнопка","link_to_note":"Ссылка на страницу","link_to_folder":"Ссылка на папку","link_to_workspace":"Ссылка на проект","convert_error":"Возникла ошибка конвертации URL"},"fullwidth":{"menu_item":"На всю ширину"},"resizeable":{"point_tooltip":{"default":"Изменить размер","bottom-right":"Изменить размер\\n(зажмите {{altKey}} для свободного изменения)"}},"toggle":{"placeholder":"Кликните сюда или перенесите блок","expand":"Развернуть блок","collapse":"Свернуть блок","expand_heading":"Развернуть заголовок","collapse_heading":"Свернуть заголовок","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Мы не можем в данный момент отобразить список задач, так как он не поддерживается в данном типе страниц.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Мы не можем в данный момент отобразить канбан, так как он не поддерживается в данном типе страниц.","menu":{"add_new_column":"Новая колонка","board_layout":{"name":"Стиль","show_add_new_column":"Показывать Новая колонка"}}},"empty_features":{"use_template":"Использовать шаблон","import":"Импорт","add_database":"База данных","add_database_with_options":"База данных","add_board":"Канбан / Доска задач","use_ai":"Использовать Fusebase AI"},"ai_manager":{"generate_error":"К сожалению, нет результата по вашему запросу. Попробуйте другой запрос.","unload_message":"Идет генерация контента Fusebase AI, вы действительно хотите выйти?","unknown_error":"Неизвестная ошибка. Попробуйте позже или обратитесь в службу поддержки.","dialog":{"title":"Удалить черновик","body":"Вы действительно хотите удалить черновик?","accept":"Да, удалить"},"manage":{"insert_as_text":"Вставить как текст","insert_as_task_list":"Вставить как список задач","insert_as_checkbox_list":"Вставить как чеклист","try_again":"Попробовать еще раз","discard":"Удалить черновик","done":"Вставить","insert_above":"Вставить выше","insert_below":"Вставить ниже","continue":"Продолжить","shorter":"Короче","longer":"Длиннее","translate":"Перевести","replace":"Заменить","copy":"Копировать"}},"uploader":{"header":"Загрузка файлов","description":"Здесь вы можете добавить полезную информацию о загрузке файлов","dropzone_full":"Перетащите файл(ы) сюда или","browse":"нажмите для загрузки","dropzone_compact":"Добавить файлы","uploading":"Загрузка {{progress}}%","uploading_files":"Загрузка файлов","counter":"{{current}} из {{total}}","timer":"осталось менее 1 минуты","header_placeholder":"Введите заголовок не более {{maxChars}} символов","description_placeholder":"Введите описание не более {{maxChars}} символов","errors":{"network":"Не удалось загрузить файл","too_big":"Файл слишком большой"},"menu":{"disallow_download":"Скачивание","for_note":"Участники проекта","for_share":"Публичная страница","convert_to_files":"Конвертировать в файлы","allow_upload":"Загрузка","enable_in_public_page":"Разрешить в публичной странице"}},"convert_menu_tooltips":{"labels":{"management":"Подходит для базы знаний","collaboration":"Групповая работа"},"paragraph":{"title":"Идеально для основного контента","description":"Это основной блок для наполнения страницы контентом."},"todo":{"title":"Идеально для простых задач","description":"Создается пустой пункт чеклиста, который можно заполнить, а потом закрыть."},"numberedlist":{"title":"Раз, два, три!","description":"Cписок, в котором каждый пункт стоит по порядковым номерам."},"bulletlist":{"title":"Маркеры, которые помогают","description":"Список, в котором каждый пункт отмечен специальным маркером (вид маркера можно менять)."},"table":{"title":"Расширьте возможности страницы","description":"Структурируйте и организуйте вашу информацию через таблицу."},"image":{"title":"Разбавим серые будни!","description":"Добавьте на страницу картинки, чтобы добавить больше контекста. Картинкам можно менять размер, можно их комментировать и т.д."},"file":{"title":"Файлы здесь, файлы там, файлы везде!","description":"Загружайте с компьютера файлы разных типов: документы, медиа, архивы и т.д."},"largeheading":{"title":"Идеально для больших разделов","description":"На странице есть несколько больших секций? Выделите их с помощью больших заголовков!"},"mediumheading":{"title":"Для второстепенных разделов","description":"Добавьте саб-секции на страницу с помощью средних заголовков."},"smallheading":{"title":"Идеально для небольших разделов","description":"Привлеките внимание к нужному блоку страницы с помощью маленьких заголовков!"},"tasks-list":{"title":"Задачи, с которыми удобно работать","description":"Создавайте задачи, назначайте ответственных и устанавливайте дедлайны, чтобы отслеживать прогресс."},"hline":{"title":"Давайте, поставим... линию!","description":"Горизонтальная линия, разделяющая части страницы."},"link":{"title":"Ссылки... просто ссылки","description":"Добавьте ссылку на внешний сайт или внутреннюю страницу."},"syntax":{"title":"Кода много не бывает ;)","description":"Добавьте на страницу сниппет с кодом. Мы распознаём большинство популярных языков программирования."},"link-page":{"title":"Создайте свою структуру","description":"Добавьте ссылку на любую страницу или папку в текущем проекте."},"date":{"title":"Просто укажите дату и время","description":"Добавьте дату и время прямо в текст страницы. При желании, можно добавить напоминание к выбранной дате."},"mention":{"title":"Вам важно об этом знать!","description":"Упомяните нужного участника или участницу проекта, чтобы привлечь их внимание к странице."},"blockquote":{"title":"Слова, которые важны","description":"Подчеркните важность ваших слов с помощью оформленной цитаты."},"hint":{"title":"Обратите внимание!","description":"Выделите важный для вас текст в специальном блоке с иконкой, которую вы можете выбрать сами."},"toggle":{"title":"Скройте лишнее!","description":"Сворачивает и разворачивает выбранное содержимое страницы (текст, картинки и т.д)."},"outline":{"title":"Достаточно одного взгляда!","description":"На странице много секций с заголовками? Оглавление позволит лучше ориентироваться в таком разнообразии!"},"lock-blot":{"title":"Здесь правила устанавливаю Я!","description":"Запретите редактировать и никто не сможет изменить содержимое блока!"},"embed":{"title":"Больше, чем просто ссылка","description":"Отобразит содержимое с других сервисов. Поддерживаем тысячи сервисов!"},"figma":{"title":"Держите дизайн рядом!","description":"Обсуждайте макеты и дизайнерские решения из Figma прямо на странице Nimbus Note."},"miro":{"title":"Новая вершина командной работы!","description":"Делаете проект? Создайте его прототип в Miro и обсуждайте прямо на странице Nimbus Note!"},"columns":{"title":"Одна хорошо, но две лучше ;)","description":"Разделите вашу страницу или блок на странице на колонки в один клик!"},"meeting-notes":{"title":"Зафиксируйте цели и двигайтесь дальше!","description":"Обсудили с командой важные моменты? Зафиксируйте результаты в нашем шаблоне."},"marketing-brief":{"title":"Воплощайте фантазии в жизнь","description":"Используйте данный шаблон для быстрого создания дизайнерского брифа."},"content-plan":{"title":"Создайте план и контролируйте его","description":"Мы подготовили для вас прототип контент плана. Вам осталось только его заполнить ;)"},"integrations":{"title":"Больше, чем просто ссылка","description":"Отобразит содержимое с других сервисов. Поддерживаем тысячи сервисов!"},"google-drive":{"title":"Далеко ходить не надо","description":"Подключите свой аккаунт Google Drive и добавьте с него файлы прямо на вашу страницу Nimbus Note."},"google-sheets":{"title":"Минус одна вкладка в браузере","description":"Отобразите содержимое ваших Google таблиц прямо на странице Nimbus Note!"},"bookmark":{"title":"Прочь, скучные ссылки!","description":"Вставьте ссылку и мы её покажем в красивом блоке с названием страницы, её описанием и логотипом."},"audioRec":{"title":"Вам нужно это услышать!","description":"Запишите аудио сообщение прямо со страницы."},"videoRec":{"title":"Вам нужно это увидеть!","description":"Запишите видео с вебкамеры или запишите происходящее на странице не выходя с Nimbus Note."},"button":{"title":"Пришли, увидели и нажали :)","description":"Не подходят обычные ссылки? Добавьте кнопку, которая украсит вашу страницу и позволит открывать нужные ссылки."},"largeheading-toggle":{"title":"Идеально для больших разделов","description":"Спрячьте лишнее и упростите внешний вид вашей страницы с помощью больших сворачиваемых заголовков."},"mediumheading-toggle":{"title":"Упростите внешний вид страницы","description":"Добавьте саб-секции на страницу и спрячьте в них содержимое с помощью средних сворачиваемых заголовков."},"smallheading-toggle":{"title":"Идеально для второстепенных разделов","description":"Скрывайте контент страницы с помощью маленьких сворачиваемых заголовков."},"database-with-options":{"title":"Таблица превращается... в базу данных","description":"Оцените всю мощь наших таблиц в специально подготовленном для Вас шаблоне базы данных!"},"board":{"title":"Наглядное управление вашими задачами!","description":"Создавайте и редактируйте карточки задач на доске Канбан."},"progress":{"title":"Оцените ваш прогресс!","description":"Выберите цель и двигайтесь к ней! Используйте прогресс бар для оценки выполненных задач и других активностей."},"uploader":{"title":"Скажите \\"НЕТ\\" файловому беспорядку!","description":"Собирайте файлы с клиентов и агрегируйте их по одной теме, чтобы ничего не упустить!"},"dropdown-list":{"title":"Выберите нужную опцию","description":"Составьте список и позвольте участникам команды выбрать нужную опцию."},"use-ai":{"title":"Добавьте волшебства!","description":"Наш AI помощник напишет вам текст любой сложности и по любой теме, проанализует содержимое страницы и на ее основе создаст саммари или список задач и даже укажет грамматические ошибки (если они конечно есть 😉)."}},"feature_availability":{"plus":{"not-available":"Доступно для Plus, Team и Business плана","trial":"Премиум функционал доступный на время триала"},"team":{"not-available":"Доступно для Team и Business плана","trial":"Бизнес функционал доступный на время триала"},"business2023":{"not-available":"Доступно для Business плана","trial":"Бизнес функционал доступный на время триала"}}}'),en:V,de:JSON.parse('{"table":{"common":{"column":"Spalte"},"move_column_cant_split_merged_cells":{"title":"Spalte kann nicht verschoben werden","text":"Eine Spalte kann nicht in eine verbundene Zelle verschoben werden. Bitte Verbindung aufheben und dann erneut versuchen."},"move_column_cant_move_part_of_merged_cells":{"title":"Spalte kann nicht verschoben werden","text":"Die Spalte, die verschoben werden soll, enthält einen Teil einer verbundenen Zelle. Wenn die Spalte verschoben werden soll, bitte zuerst die Zellen voneinander trennen."},"move_column_failed":{"title":"Spalte kann nicht verschoben werden","text":"Beim Verschieben einer Spalte ist ein unerwarteter Fehler aufgetreten, bitte erneut versuchen."},"move_row_cant_split_merged_cells":{"title":"Zeile kann nicht verschoben werden","text":"Eine Zeile kann nicht in eine verbundene Zelle verschoben werden. Bitte Verbindung aufheben und dann erneut versuchen."},"move_row_cant_move_part_of_merged_cells":{"title":"Zeile kann nicht verschoben werden","text":"Die Zeile, die verschoben werden soll, enthält einen Teil einer verbundenen Zelle. Wenn die Spalte verschoben werden soll, bitte zuerst die Zellen voneinander trennen."},"move_row_cant_move_in_sortable_table":{"title":"Zeile kann nicht verschoben werden","text":"Eine Zeile kann nicht in einer sortierbaren Tabelle verschoben werden. Bitte Sortierung aufheben und erneut versuchen."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Zeile kann nicht verschoben werden","text":"Beim Verschieben einer Zeile ist ein unerwarteter Fehler aufgetreten, bitte erneut versuchen."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Löschen","help":"Hilfe","delete_column":{"one":"Spalte löschen","many":"{{count}} Spalten löschen"},"delete_row":{"one":"Zeile löschen","many":"Delete {{count}} Zeilen löschen"},"add":"Hinzufügen","add_row_before":{"one":"Zeile nach oben","many":"{{count}} Zeilen nach oben"},"add_row_after":{"one":"Zeile nach unten","many":"{{count}} Zeilen nach unten"},"add_col_before":{"one":"Spalte nach links","many":"{{count}} Spalten nach links"},"add_col_after":{"one":"Spalte nach rechts","many":"{{count}} Spalten nach rechts"},"copy_cell":{"one":"Zelle kopieren","many":"Zellen kopieren"},"copy_table":"Tabelle kopieren","table_layout":{"name":"Tabellen Layout","column_headings":"Spaltenüberschriften","row_headings":"Zeilenüberschriften"},"import_csv":"Import from CSV","merge_cells":"Zellen verbinden","insert_checkbox":"Markierungsfeld einfügen","background_color":"Hintergrundfarbe","formatting":"Formatierung","clear":"Entfernen","reset":"Zurücksetzen","divide_cells":"Zellenverbindung entfernen","type":{"name_cell":"Zellentyp","name_cells":"Zellentyp","name_column":"Spaltentyp","name_columns":"Spaltentyp","type_cell":{"one":"Zellentyp","many":"Zellentyp"},"type_col":{"one":"Spaltentyp","many":"Spaltentyp"},"same_as_column":"Gleich wie Spalte","reset_cells":"Zellen auf Standard zurücksetzen","none":"Mehrfachtyp","text":"Text","textline":"Text","number":"Zahl","attachment":"Anhang","checkbox":"Markierungsfeld","multiselect":"Mehrfachauswahl","singleselect":"Einzelauswahl","collaborator":"Mitarbeiter","currency":"Währung","date":"Datum","link":"Link","rating":"Bewertung","progress":"Fortschritt","mention":"Erwähnung"},"number_format":{"name":"Zahlenformat","number":"Zahl","commas":"Zahl mit Kommas","percent":"Prozent"},"currency_format":{"name":"Währungstyp","dollar":"Dollar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rubel","pound":"Pfund","rupee":"Rupie","hryvnia":"Hryvnia","won":"Won","frank":"Franken","real":"Real","other":"Sonstiges","stick":"Symbol anzeigen","before":"Vorher","after":"Nachher"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Fortschrittsoptionen","simple":"Einfach","colored":"Farbig","start_from":"Beginnt von (0-100)","default_amount":"Standardbetrag  (0-100)"},"rating_format":{"name":"Bewertungsoptionen","star":"Stern","flag":"Fahne","heart":"HERZ","amount":"Betrag (1-10)"},"date_format":{"name":"Datum Uhrzeit Format"},"mention_panel":{"open":"Öffnen","edit":"Bearbeiten","clear":"Entfernen"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Kommentar"},"formatting_menu":{"align_left":"Links","align_center":"Zentriert","align_right":"Rechts","valign_top":"Oben","valign_center":"Mitte","valign_bottom":"Unten","text":"Text","text_align":"Text ausrichten","text_color":"Textfarbe","bold":"Fett","italic":"Kursiv","strikethrough":"Durchgestrichen","underline":"Untergestrichen"},"col_menu":{"add_column_after":{"one":"Spalte rechts hinzufügen","many":"{{count}} Spalten rechts hinzufügen"},"add_column_before":{"one":"Spalte links hinzufügen","many":"Add {{count}} Spalten links hinzufügen"},"duplicate_column":{"one":"Spalte duplizieren","many":"Spalten duplizieren"},"rename":"Umbenennen"},"row_menu":{"add_row_after":{"one":"Zeile unten hinzufügen","many":"{{count}} Zeilen unten hinzufügen"},"add_row_before":{"one":"Zeile oben hinzufügen","many":"{{count}} Zeilen oben hinzufügen"}},"warning":{"merge_different":"Unterschiedliche Objekttypen können nicht verbunden werden","convert_merged":"Verbundene Zellen können nicht konvertiert werden"},"select":{"create_list":"Tippe zum Erstellen einer Liste","create_item":"Tippe zum Erstellen eines Eintrags","create_option":"Tippe zum Erstellen einer Option","create_label":"Tippe zum Erstellen einer Beschriftung","create":"Erstellen","delete":"Löschen"},"attachment":{"upload_more":"Datei(en) hochladen","downloading":"Herunterladen"},"collaborator":{"placeholder":"Typ zum Hinzufügen von Personen","no_result":"Keine Ergebnisse","loading":"Wird geladen...","unknown":"Unbekannte Person"},"checkbox":{"checked":"Ja","not_checked":"Nein"},"sorting":{"name":"Sortierung","sort":"Sortieren","disable":"Sortierung entfernen","change":"Zum Ändern anklicken","asc":{"common":"Aufsteigend","text":"Sortieren nach A-Z","number":"Sortieren nach 1-9","checkbox":"Nicht ausgewählte zuerst"},"desc":{"common":"Absteigend","text":"Sortieren nach Z-A","number":"Sortieren nach 9-1","checkbox":"Ausgewählte zuerst"},"warning":{"column_merged":{"title":"Spalte kann nicht sortiert werden","text":"Spalte mit verbundenen Zellen kann nicht sortiert werden"},"table_rowspan":{"title":"Spalte konnte nicht sortiert werden","text":"Tabelle mit verbundenen Zeilen kann nicht sortiert werden"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Sortierwarnung","text":"Es gibt verschiedene Währungen in einer Spalte. Die Sortierung ist möglicherweise falsch."}},"exit_dialog":{"title":"Sortierung entfernen","toggle":"Sortierung beibehalten","text_keep":"Sortierung beibehalten","text_no_keep":"Spaltenreihenfolge wird in der ursprünglichen Reihenfolge wiederhergestellt, in der sie vor Anwendung der Sortierung bestand","apply":"Anwenden"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Zeilenumbruch","warnings":{"merge":{"title":"Zellen können nicht verbunden werden","text":"Zellen können nur im Zeilenumbruch Modus zusammengeführt werden"},"toggle":{"title":"Option kann nicht geändert werden","text":"Tabelle enthält verbundene Zellen"}}},"duplicate_column":{"title":"Spalte duplizieren","text_1":"Spalteninhalt duplizieren","text_2":"Sie können die gesamte Spalte inklusive Daten duplizieren oder die duplizerte Spalte leer lassen","accept":"Duplizieren","copy":"Kopieren"},"convert_column":{"title":"Spaltentyp ändern","text_before":"Diese Spalte enthält Werte. Wenn der Spaltentyp geändert wird, werden einige der Werte gelöscht. Anwenden","text_cmd":"Rückgängig machen","text_after":"Befehl, um Änderungen bei Bedarf rückgängig zu machen.","accept":"Typ ändern"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Berechnungsleiste anzeigen","name":{"none":"Keine","all":"Alle","empty":"Leer","fill":"Nicht leer","unique":"Einmalig","empty_percent":"Prozent leer","fill_percent":"Prozent nicht leer","unique_percent":"Prozent einmalig","sum":"Summe","average":"Durchschnitt","min":"Min","max":"Max","median":"Mittelwert","min_date":"Frühestes Datum","max_date":"Spätestes Datum","range_days":"Datumsbereich (Tage)","range_month":"Datumsbereich (Monat)","checked":"Geprüft","unchecked":"Nicht geprüft","checked_percent":"Prozent geprüft","unchecked_percent":"Prozent nicht geprüft","filter_rating":"Mit Bewertung:","filter_progress":"Mit Fortschritt:","filesize_min":"Minimale Größe","filesize_max":"Maximale Größe"},"item":{"none":"Berechnen","min_date":"Frühestens","max_date":"Spätestens","range_days":"Bereich (Tage)","range_month":"Bereich (Monat)","checked_percent":"Geprüft","unchecked_percent":"Nicht geprüft","filter_rating":"Mit Bewertung","filter_progress":"Mit Fortschritt"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Bild konnte nicht geladen werden"},"download_file":"{{name}} herunterladen","listen_file":"{{name}} abspielen","stop_file":"{{name}} aufhören","uploading":"Hochladen","wrtc":{"how_to_fix":"Wie lässt sich das beheben?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Fehler bei der Aufnahme. Kein Zugriff auf das Mikrofon.","rec_err_vi":"Fehler bei der Aufnahme. Kein Zugriff auf Mikrofon/Webcam.","allow_micro":"Zugriff auf das Mikrofon erlauben","allow_media":"Wählen Sie das Fenster aus, das Sie aufnehmen möchten","select_opt":"Was wird aufgenommen","screenonly":"Nur Bildschirm","camonly":"Nur Kamera","screencam":"Bildschirm + Kamera","enable_micro":"Mikrofon einschalten","startRecording":"Aufnahme starten","stopRecording":"Aufnahme beenden","pauseRecording":"Aufnahme anhalten","resumeRecording":"Aufnahme fortsetzen","cancelRecording":"Aufnahme abbrechen","confirmCancel":"Sind Sie sicher, dass Sie die Videoaufzeichnung abbrechen möchten?","cancel":"Abbrechen","prepareUpload":"Bitte warten, das Hochladen der Aufnahme wird vorbereitet","hasTmpRecord":"Die Aufnahme wurde unterbrochen, ging aber nicht verloren","restore":"Wiederherstellen","delete":"Löschen","recordOnAnotherDevice":"Die Aufnahme läuft auf einem anderen Gerät ..."},"menu":{"enabled":"Aktiviert","disabled":"Deaktiviert","open_in_new_tab":"In neuem Tab öffnen","copy_link":"Link in Datei kopieren","expand_in_full_window":"Vollfenster anzeigen","autoplay":"Autoplay","sound_default":"Sound standardmäßig","sound_loop":"Schleifen","sound_hideControls":"Steuerelemente ausblenden","sound_showPanel":"Show top panel","shadow_video":"Schatten für video","video_params":"Video-Parameter","disallow_download":"Herunterladbar für","for_note":"Arbeitsbereich-Benutzer","for_share":"Öffentlichen Seiten","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Drucken","convert_to_image":"In Bild umwandeln","convert_to_file":"Convert to file","style":"Stil","shadow_image":"Schatten für Bild","rename":"Umbenennen","replace":"Ersetzen","delete":"Löschen","download":"Herunterladen","get_text_from_image":"Text vom Bild holen","view_as":"Ansicht als","single_page":"Einzelseite","all_pages":"Alle Seiten","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Herunterladen","attachment_not_found_error":"Fehler beim Hochladen","pdf_viewer":{"initializing_full_window_view":"Vollfensteransicht einstellen","preparing_document_for_printing":"Dokument für den Druck vorbereiten...","printing_initialization":"Druckeinstellung...","abort":"Abbrechen","set_page_as_default":"Seite als Standard festlegen","unset_page_as_default":"Standardseite. Klicken Sie, um die Seite zu normalisieren."},"video_just_uploaded_codec_error":"Sie versuchen, ein Video hochzuladen, das mit dem Codec {codec} kodiert wurde. Wir können nicht garantieren, dass dieses Video auf allen Browsern korrekt wiedergegeben wird. Wir empfehlen, das Video in ein anderes Format zu konvertieren und es erneut hochzuladen.","video_codec_error":"Dieses Video ist mit dem Codec {codec} kodiert, der in Ihrem Browser nicht unterstützt wird.","safari_webm_not_support":"Zurzeit unterstützt der Safari-Browser das WEBM-Format nicht. Versuchen Sie, die Notiz in einem anderen Browser zu öffnen, z. B. in Google Chrome oder Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Text aus Bild","no_text":"Es gibt keinen Text","copy":"Gesamten Text kopieren"},"unknown_error":"Der Link ist falsch","add_image":"Bildlink einfügen oder ","add_image_or":"oder","add_image_small":"Einfügen oder ","browse":"durchblättern","browse_image":"Bild durchsuchen","too_large_error":"Bildgröße ist zu groß","image_info_dialog":{"title":"Bildinfo","type":"Typ","size":"Größe","location":"Standort","copy_link":"Link kopieren"},"rotate_wait":{"full":"Bitte warten","medium":"Warten"},"attachment_not_found_error":"Ein unerwarteter Fehler ist beim Bild aufgetreten","readonly_placeholder":"Leeres Bild","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Etwas ist schief gelaufen, bitte versuchen, eine andere Datei auszuwählen","attachment_is_being_uploaded":"Datei wird hochgeladen...","attachment_will_be_downloaded_online":"Datei wird heruntergeladen, sobald Sie online sind.","attachment_preview_is_not_available":"Vorschau ist nicht verfügbar.","choose_a_file":"Dateien auswählen","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Abspielen","pause":"Pause","volume":"Lautstärke","fullscreen_on":"Vollbild","fullscreen_off":"Vollbild beenden","watch_again":"Nochmals ansehen."}},"search":{"placeholder":"In der Notiz finden","matches":"Treffer:"},"copy":{"copied":"Kopiert!","copy_to_clipboard":"In die Zwischenablage kopieren"},"apply":"Anwenden","done":"Erledigt","block_menu":{"align":{"left":"Links ausrichten","center":"Mittig ausrichten","right":"Rechts ausrichten","justify":"Blocksatz"},"indent":{"indent":"Einzug vergrößern","outdent":"Einzug verkleinern"},"tooltip":"Ziehen um zu Verschieben\\n<span>Zum Öffnen des Menüs klicken</span>","copy_tooltip":"Link kopieren","color":{"background_color":"Hintergrundfarbe","color":"Farbe","line_color":"Linienfarbe","line_type":"Zeilentyp","player_color":"Farbe des Players"},"line_type":{"default":"Standardlinie","dotted":"Punkte"},"add":{"name":"Block hinzufügen","above":"Oben","below":"Unten","left":"Links","right":"Rechts","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Konvertieren zu","to_do_list":"Checklist","number_list":"Nummerierte Liste","bullet_list":"Aufzählungsliste","paragraph":"Absatz","large_heading":"Große Überschrift","medium_heading":"Mittlere Überschrift","small_heading":"Kleine Überschrift","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Code","quote":"Zitat","hint":"Hinweis","image":"Bild","file":"Datei","remote_frame":"Einbetten","link":"Link","bookmark":"Lesezeichen","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Kommentar","edit":"Bearbeiten","duplicate":"Duplizieren","copy_block":"Block kopieren","copy_blocks":"Blöcke kopieren","copy_link":"Link kopieren","delete":"Löschen","replace":"Ersetzen","blot_lock":"Block sperren","blot_unlock":"Block entsperren","set_as_preview":"Als Vorschau festlegen","get_text_from_image":"Text vom Bild holen","edit_image":"Edit image","download":"Herunterladen","view_full_size":"Ansicht in voller Größe","open_in_new_tab":"In neuem Tab öffnen","image_info":"Bildinfo","rotate_image":"Drehen","add_sub_task":"Unteraufgabe hinzufügen","add_sub_text":"Untertext hinzufügen","layout":"Layout","embed_align":{"left":"Links ausrichten","center":"Mittig ausrichten","right":"Rechts ausrichten","default":"Standardgröße","full_width":"Volle Breite"},"expand_all":"Alle ausklappen","collapse_all":"Alle einklappen","add_caption":"Titelzeile hinzufügen","blot_locked_admin":"Die Bearbeitung des Blocks ist gesperrt. Klicken Sie, um die Sperre aufzuheben.","blot_locked_admins":"Die Bearbeitung der Blöcke ist gesperrt. Klicken Sie, um die Sperre aufzuheben.","blot_locked_user":"Sie haben keine Berechtigung, diesen Bock zu bearbeiten. Wenden Sie sich an den Administrator Ihrer Organisation.","show_header":"Obere Leiste anzeigen","show_borders":"Rahmen anzeigen","rename":"Umbenennen"},"convert_menu_groups":{"suggestions":"Vorgeschlagen","basic":"Grundlegendes","advanced":"Erweitert","media":"Medien","embed":"Integrationen","views":"Ansichten","templates":"Vorlagen","helpful_links":"Hilfreiche Links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Mehr Einträge...","add_an_element":"Element hinzufügen","paragraph":"Absatz","todo":"Checkbox-Liste","numbered_list":"Nummerierte Liste","bullet_list":"Aufzählungsliste","table":"Tabelle","image":"Bild","file":"Datei","audioRec":"Audio Aufnahme","videoRec":"Video Aufnahme","recordExist":"Sie können eine neue Aufnahme erst beginnen, wenn die vorherige abgeschlossen ist. Beenden oder löschen Sie die vorherige Aufnahme, um eine neue zu beginnen.","large_heading":"Überschrift 1","medium_heading":"Überschrift 2","small_heading":"Überschrift 3","large_heading_toggle":"Einklappbare Überschrift 1","medium_heading_toggle":"Einklappbare Überschrift 2","small_heading_toggle":"Einklappbare Überschrift 3","section_break":"Abschnittsumbruch","link":"Link","code":"Code","quote":"Zitat","hint":"Hinweis","hint_placeholder":"Schreibe etwas","mention":"Mitglieder erwähnen","outline":"Inhaltsübersicht","remote_frame":"Einbetten: Link, iFrame, JS Code","integrations":"Integrationen","google_drive":"Google Drive","google_sheets":"Google-Tabellen","html":"HTML","toggle":"Umschalter","tasks_list":"Aufgabenliste","lock_blot":"Block sperren","link_page":"Seiten-Link","date":"Datum","more_integrations":"weitere Integrationen","two_columns":"Zwei Spalten","meeting_notes":"Marketing-Strategie","marketing_brief":"Marketing-Quartalsplanung","content_plan":"Inhaltliche Planung","more_templates":"weitere Vorlagen","get_feedback":"Feedback einholen","contact_support":"Kontakt zum Support","learn_nimbus":"Nimbus kennenlernen","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Datenbank","board":"Aufgabentafel","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"Diese ID kann in Zukunft bei der Bearbeitung der CSS-Datei verwendet werden.","address":"URL oder E-Mail","open_in_new_tab":"In neuem Tab öffnen","shape":"Form des Buttons","background":"Hintergrund","size":"Größe des Buttons","small":"Klein","medium":"Mittel","big":"Groß","cancel":"Abbrechen","done":"Fertig","length_error":"Der Text ist zu groß für den Button. Versuchen Sie, weniger Text auszuwählen (nicht mehr als 50 Zeichen).","type":"Button-Typ","default":"Standard","withShadow":"Button mit Schatten","3d":"3d Button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Öffnen","send":"Senden","copy":"Kopieren","edit":"Bearbeiten","remove":"Entfernen","text_label":"Text","url_label":"Link-Adresse","email_label":"E-Mail-Adresse","copied":"Link in die Zwischenablage kopiert","cancel":"Abbrechen","done":"Fertig"},"syntax":{"menu":{"language":"Sprache","theme":"Theme","wrap":"Zeilenumbruch aktivieren","unwrap":"Zeilenumbruch deaktivieren","lineNumbersOn":"Zeilennummern anzeigen","lineNumbersOff":"Zeilennummern verbergen"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"Listenstil","type_default":"Voreinstellung","type_rectangle":"Rechteck","type_star":"Stern","type_dart":"Dart","type_rounded":"Abgerundet","type_arrow":"Pfeil","type_diamond":"Diamant"},"caption":{"placeholder":"Titelzeile hinzufügen"},"mention":{"show_all":"Alle anzeigen","show_all_users":"Alle anzeigen","placeholder":"Letzten anzeigen oder Typ zu suchen","user":"Personen","workspace":"Arbeitsbereiche","folder":"Ordner","note":"Notizen","no_results":"Keine Ergebnisse","offline_message":"Erwähnung funktioniert nur bei aktiver Verbindung. Bitte Internet einschalten und erneut versuchen.","info":{"note":{"one":"Notiz","some":"Notizen","many":"Notizen"},"subfolder":{"one":"Unterordner","some":"Unterordner","many":"Unterordner"},"member":{"one":"Mitglied","some":"Mitglieder","many":"Mitglieder"},"owner":"Besitzer","loading":"Vorschau wird geladen...","loading_failed":"Laden fehlgeschlagen","not_loaded":"Notiz wurde noch nicht geladen"},"back_button":"Zurück","create_note_for":"Notiz erstellen","create_folder_for":"Ordner erstellen"},"calendar":{"ui":{"date":"Datum","am":"AM","pm":"PM","date_format":"Datumsformat","show_time":"Uhrzeit anzeigen","time_format":"Zeitformat","time_12":"12H","time_24":"24H","first_week_day":"Erster Tag der Woche","time_zone":"Zeitzone","use_gmt":"GMT für alle Mitglieder verwenden","use_gmt_hint":"Dieselbe Zeitzone (GMT) für alle Mitarbeiter verwenden","table":{"clear":"Entfernen"},"inline":{"clear":"Löschen"},"reminder":{"name":"Warnung","panel_name":"Warnung","push_name":"Event Erinnerung","remove_confirm_message":"You have alerts that are time-bound. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Don\'t delete reminders","before_period":"","after_period":"vorher","period":{"m":{"one":"Minute","many":"Minuten"},"h":{"one":"Stunde","many":"Stunden"},"d":{"one":"Tag","many":"Tage"},"w":{"one":"Woche","many":"Wochen"}},"value":{"none":"Keine","0m":"Beim Start","1m":"1 Minute vorher","5m":"5 Minuten vorher","10m":"10 Minuten vorher","15m":"15 Minuten vorher","30m":"30 Minuten vorher","1h":"1 Stunde vorher","2h":"2 Stunden vorher","1d":"1 Tag vorher","2d":"2 Tage vorher","7d":"7 Tage vorher","10d":"10 Tage vorher","14d":"14 Tage vorher","custom":"Benutzerdefiniert"},"until":{"in":"In","d":"T","h":"S","m":"Min","already_been":"Schon gewesen","less_minute":"Weniger als eine Minute","now":"Jetzt"}},"postfix":{"day":"T","month":"M"}},"insert":{"category_name":"Datum","custom":"Benutzerdefiniert","now":"Jetzt","today":"Heute","tomorrow":"Morgen"},"date_format":{"ddmmyyyy":"dd/mm/yyyy","mmddyyyy":"mm/dd/yyyy","yyyyddmm":"yyyy/mm/dd","monthddyyyy":"Monat dd, yyyy","default":"Browser Format anpassen"},"months":{"0":"Januar","1":"Februar","2":"März","3":"April","4":"Mai","5":"Juni","6":"Juli","7":"August","8":"September","9":"Oktober","10":"November","11":"Dezember"},"days":{"short":{"0":"So","1":"Mo","2":"Di","3":"Mi","4":"Do","5":"Fr","6":"Sa"},"full":{"0":"Sonntag","1":"Montag","2":"Dienstag","3":"Mittwoch","4":"Donnerstag","5":"Freitag","6":"Samstag"}}},"content_not_supported":"Diese Notiz wird von Ihrer Version der FuseBase App nicht unterstützt. Versuchen Sie, sie zu aktualisieren oder verwenden Sie einen anderen Client in der neuesten Version.","profession_ask":{"title":"Zeit sparen durch die Verwendung von Vorlagen zur Erstellung neuer Notizen","text":"Geben Sie Ihren Beruf ein, und unser Team erstellt Vorlagen für Sie. Es ist kostenlos, ohne versteckte Kosten","i_am_a":"Ich bin","placeholder":"e.g. Designer, Lehrer, Verkäufer, usw.","request_template":"Template anfordern","sucess_message":"Vielen Dank! Dieser Beruf wird in unsere Warteliste aufgenommen."},"bookmark":{"name":"Lesezeichen","edit":"Lesezeichen bearbeiten","title":"Titel","address":"Adresse","description":"Beschreibung","placeholder":"Link mit https:// einfügen oder schreiben...","placeholder_mobile":"Paste or write link","loading_preview":"Vorschau wird geladen...","block_menu":{"change_mode":{"menu_name":"Ansicht als","mode_tile":"Kachel","mode_card":"Karte","mode_cover":"Einband"},"change_preview":"Vorschau ändern","delete_preview":"Vorschau löschen","reset_preview":"Vorschau zurücksetzen","change_preview_background":"Preview background","options":{"menu_name":"Optionen","open_in_same_tab":"Im gleichen Tab öffnen"}},"error":{"unknown_error":"Etwas ist schief gelaufen, bitte eine andere URL einzugeben","preview_notfound":"Vorschau nicht gefunden"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Name","ORGANIZATION":"Unternehmen","TITLE":"Titel","ADDRESS":"Standort","URL":"Webseite","PHONE":"Telefon","EMAIL":"E-Mail","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Abbrechen"}},"outline":{"default_name":"Inhaltsübersicht","menu":{"expand":"Ausklappen","collapse":"Einklappen","rename":"Umbenennen"},"context_menu":{"convert_to":{"text":"Text"},"style":{"name":"Stil der Inhaltsübersicht","list_only":"Einfache Liste","numbered_list":"Nummerierte Liste","bordered":"Rahmen anzeigen","border_color":"Border color"}},"empty":"Fügen Sie Ihrer Notiz Überschriften hinzu, dann erscheinen diese hier als Links"},"floating_toolbar":{"bold":"Fett","italic":"Kursiv","underline":"Unterstrichen","strikethrough":"Durchgestrichen","clear":"Formatierung entfernen","code":"Code","button":"Button","link":"Link","highlight":"Hervorhebung","extraHighlight":"Kontrastreiche Hervorhebung","color":"Farbe für Text und Hervorhebung","text":"Textfarbe","clear_all":"Alle zurücksetzen","placeholder":"Platzhalter","adapts":{"dark":"Passt sich einem dunklen Thema an","light":"Passt sich einem hellen Thema an"},"create_note":"Notiz erstellen","add_comment":"Kommentar hinzufügen"},"remote_frame":{"placeholder_small":"URL einbinden","placeholder_full":"Jede URL einbinden, wie YouTube, Github, Maps, Twitter usw.","loading":"Wird geladen...","context_menu":{"change_link":"Link ändern","full_size":"Vollbild","reset_size":"Größe zurücksetzen","open_origin":"Original öffnen","layout":"Layout","show_toolbar":"Bearbeitungsleiste anzeigen","copy_original":"Copy link to original"},"error":{"is_not_link":"Link ist nicht korrekt","content_error":"Die folgende Domain wird nicht unterstützt oder die URL ist falsch. Bitte <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">unseren Support kontaktieren</a> und wir werden den Link bearbeiten.","unknown_error":"Etwas ist schief gelaufen, bitte eine andere URL eingeben","wrong_signature":"Dieser Inhalt ist fehlerhaft und kann nicht angezeigt werde","google_docs_auth_error":"Höchstwahrscheinlich kann die Google Dokumenten/Tabellen/Präsentations Datei nicht eingebettet werden, weil kein Zugriff darauf möglich ist.  <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Bitte unsere Anleitung lesen.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"In Lesezeichen umwandeln","convert_link":"In Link umwandeln","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Wird geladen...","menu":{"expand":"Ausklappen","collapse":"Einklappen","open_origin":"In Google Drive öffnen","download":"Herunterladen","change_account":"Konto ändern","choose_another_file":"Andere Datei auswählen"},"last_modified":"Zuletzt geändert von {{userName}} vor {{time}}","browse":"Datei durchsuchen","login":"Bei Google anmelden","login_text":"Dateien durchsuchen und von Google Drive hinzufügen"},"html":{"default_name":"HTML","loading":"Wird geladen...","menu":{"open_source":"Quell-Link öffnen","export_blot":"HTML speichern"},"unknown_error":"Unbekannter Fehler","device_cant_display_content":"Gerät kann diesen Inhalt nicht anzeigen","wrong_signature":"Dieser Inhalt ist fehlerhaft und kann nicht angezeigt werden"},"relative_time":{"seconds":{"one":"{{count}} Sekunde","some":"{{count}} Sekunden","many":"{{count}} Sekunden"},"minutes":{"one":"{{count}} Minute","some":"{{count}} Minuten","many":"{{count}} Minuten"},"hours":{"one":"{{count}} Stunde","some":"{{count}} Stunden","many":"{{count}} Stunden"},"days":{"one":"{{count}} Tag","some":"{{count}} Tage","many":"{{count}} Tage"},"months":{"one":"{{count}} Monat","some":"{{count}} Monate","many":"{{count}} Monate"},"years":{"one":"{{count}} Jahr","some":"{{count}} Jahre","many":"{{count}} Jahre"}},"collapsible_content":{"menu":{"expand":"Aufklappen","collapse":"Einklappen","rename":"Umbenennen"}},"convert_link":{"url":"URL","title":"Titel","embed":"Einbinden","bookmark":"Lesezeichen","button":"Button","link_to_note":"Link zur Notiz","link_to_folder":"Link zum Ordner","link_to_workspace":"Link to workspace","convert_error":"Bei der Konvertierung der URL ist ein Fehler aufgetreten"},"fullwidth":{"menu_item":"Volle Breite"},"resizeable":{"point_tooltip":{"default":"Größe ändern","bottom-right":"Größe ändern\\n(halten Sie die Taste {{altKey}} gedrückt, um die Größe frei zu ändern)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Aufgabentafel","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Gut geeignet für Wissensmanagement","collaboration":"Perfekt für die Zusammenarbeit"},"paragraph":{"title":"Am besten für den Hauptinhalt","description":"Dies ist der Hauptblock zum Schreiben von Seiteninhalten."},"todo":{"title":"Eine Liste für kleine Aufgaben? Einfach abhaken!","description":"Schreib kleine Besorgungen und Routineaufgaben auf, die zu erledigen sind."},"numberedlist":{"title":"In einer Reihe aufstellen: Eins, zwei, drei!","description":"Erhöhe die Lesbarkeit Deiner Inhalte und zeige sie in einer Reihefolge an."},"bulletlist":{"title":"Aufzählungspunkte machen alles klarer","description":"Du kannst eine Liste erstellen, die sich von anderen Inhalten abhebt."},"table":{"title":"Erfreue Dich an der Strukturierung","description":"Organisiere Deine Informationen in einer Tabelle, um einen ganzheitlichen Blick auf Deine Arbeit zu erhalten."},"image":{"title":"Wir müssen es sehen - füge ein Bild hinzu","description":"Gestalte Deine Seiten attraktiver, indem Du Bilder eines beliebigen Dateityps hinzufügst, verschiebst oder in der Größe veränderst."},"file":{"title":"Dateien hier, Dateien dort, Dateien überall!","description":"Erstelle eine Datenbank für Dein Projekt, indem Du Dateien mit verschiedenen Erweiterungen zu Deiner Seite hinzufügst."},"largeheading":{"title":"Am besten geeignet für die Hauptabschnitte der Seite","description":"Dies ist die größte Überschrift, die Du hinzufügen kannst. Du lenkst damit die Aufmerksamkeit auf den wichtigsten Teil Deiner Seite und erleichterst die Navigation."},"mediumheading":{"title":"Am besten geeignet für die sekundären Abschnitte der Seite","description":"Dies ist eine mittelgroße Überschrift, die Du hinzufügen kannst. Unterteile damit Deine Seite in Abschnitte um alles, was Du brauchst, leicht zu finden."},"smallheading":{"title":"Am besten geeignet für starke Ideen in Unterabschnitten","description":"Dies ist eine kleine Überschrift, die Du hinzufügen kannst, die aber dennoch hervorsticht. Verwende sie, um Deine Seite in Unterabschnitte zu unterteilen."},"tasks-list":{"title":"Organisiere Deine Arbeit mit Nimbus Tasks","description":"Hier kannst Du Deine Aufgaben in Aufgabenlisten gruppieren. Weise Deinen Teammitgliedern Aufgaben zu, setze Fristen und füge den Status für eine einfache Verfolgung hinzu."},"hline":{"title":"Lass uns die Inhalte trennen","description":"Trenne verschiedene Teile eines Projekts oder unterteile Deine Beispiele und Ideen für das Projekt."},"link":{"title":"Pflastere den Weg mit Links","description":"Wann immer Du eine Idee für Dein Projekt hast, füge einen Link hinzu und benenne ihn."},"syntax":{"title":"Vergiss den Code nicht","description":"Du kannst Code direkt auf Deiner Seite hinzufügen und dabei zwischen Themen, Sprachen und mehr wechseln!"},"link-page":{"title":"Dein nächster Halt ist eine andere Seite","description":"Verlinke eine andere Seite, die mit diesem Projekt verbunden ist, um sofort darauf zuzugreifen."},"date":{"title":"Sag einfach, wann","description":"Lege eine Frist für Dein Projekt fest oder markiere den genauen Zeitpunkt, an dem Du mit der Arbeit an einer Seite begonnen hast."},"mention":{"title":"Beziehe Dein Team mit ein","description":"Deine Teammitglieder erhalten E-Mail-Benachrichtigungen, um eine bestimmte Seite zu öffnen und dort mitzuarbeiten."},"blockquote":{"title":"Und ich zitiere","description":"Du kannst wichtige Worte Deiner Kunden hervorheben oder eine motivierende Phrase herausstellen."},"hint":{"title":"Lass uns einen Hinweis geben","description":"Wähle ein Emoji und eine Hintergrundfarbe, um Warnungen, Haftungsausschlüsse oder Benachrichtigungen auf Deiner Seite hervorzuheben."},"toggle":{"title":"Textblöcke zusammenklappen und ausklappen","description":"Sortiere und verberge zusätzliche Informationen auf Deinen Seiten, um die Navigation und den Zugriff zu erleichtern."},"outline":{"title":"Sehen, was Dich auf der Seite erwartet","description":"Erstelle ein Inhaltsverzeichnis für eine einfache Navigation auf langen Seiten oder Wikis."},"lock-blot":{"title":"Keiner kann ihn bearbeiten","description":"Du kannst einen bestimmten Informationsblock auf Deiner Seite unangetastet und schreibgeschützt lassen."},"embed":{"title":"Weniger Tabs mit Google-Tabellen","description":"Halte Deine Daten mit anderen Projektdetails an einem Ort, um leichter Ergebnisse erzielen zu können."},"figma":{"title":"Bleibe an Deinem Bildmaterial noch näher dran","description":"Füge Figma hinzu, um die Entwicklung von Projektvisualisierungen in Echtzeit zu verfolgen."},"miro":{"title":"Dein Miro-Board befindet sich an einem sicheren Ort","description":"Entwickle eine Layout-Strategie oder einen Fahrplan für Dein Projekt und setze dann die Arbeit an Deiner Seite fort."},"columns":{"title":"Zwei Spalten sind besser als eine","description":"Unterteile Deine Seite in zwei Spalten, um dort mehr Inhalt hinzuzufügen und Deine Seite übersichtlicher zu gestalten."},"meeting-notes":{"title":"Ziele setzen und vorankommen","description":"Verwende diese Vorlage, um eine Marketingstrategie zu erstellen und alle Details an einem Ort zu speichern."},"marketing-brief":{"title":"Groß träumen, vierteljährlich planen","description":"Verwende diese Vorlage, um einen Marketingplan nach Quartalen zu erstellen."},"content-plan":{"title":"Kontrolliere und führe Deine Arbeit","description":"Verwende diese Vorlage, um alles, was Dir durch den Kopf geht, auf einen Tisch zu legen, wo Du alle Teile visualisieren und Aufgaben verwalten kannst."},"integrations":{"title":"Weniger Tabs mit Google-Tabellen","description":"Halte Deine Daten mit anderen Projektdetails an einem Ort, um leichter Ergebnisse erzielen zu können."},"google-drive":{"title":"Lade Deine Dateien von Google Drive","description":"Du kannst Dein Google Drive-Konto einbinden und Links zu Deinen Drive-Dateien für einen schnellen Zugriff einfügen."},"google-sheets":{"title":"Google Sheet Registerkarte","description":"Halte Deine Daten zusammen mit anderen Projektdetails an einem Ort, um leichter Schlüsse ziehen zu können."},"bookmark":{"title":"Kennzeichne Deinen Link durch einen neuen Look","description":"Verwende Lesezeichen, um den Titel Deines Links, eine kleine Beschreibung und ein Vorschaubild der Website anzuzeigen."},"audioRec":{"title":"Sprechen statt schreiben","description":"Verleihe der Zusammenarbeit eine menschliche Note, indem Du Sprachfeedback zu den Inhalten auf Deiner Seite aufnimmst."},"videoRec":{"title":"Zeigen statt schreiben","description":"Nimm eine visuelle Erklärung auf, was zu tun ist, oder gib explizites Feedback anhand eines Videobeispiels."},"button":{"title":"Gekommen, gesehen, geklickt","description":"Füge ein CTA-Element hinzu, das die Aufmerksamkeit auf wichtige Links auf Deinen Seiten lenkt."},"largeheading-toggle":{"title":"Verstecke zusätzlichen Inhalt in einer großformatigen einklappbaren Überschrift","description":"Definiere den wichtigsten Teil Deiner Seite und verbirg dort Informationen, um einfach darauf zuzugreifen."},"mediumheading-toggle":{"title":"Verkürze Deine Abschnitte","description":"Erstelle Abschnitte mit einer mittelgroßen einklappbaren Überschrift und verstecke dort einen Teil Deines Inhalts."},"smallheading-toggle":{"title":"Verkürze Deine Unterabschnitte","description":"Erstelle auf Deinen Seiten Unterabschnitte mit einer kleinen einklappbaren Überschrift, um dort zusätzliche Informationen zu verbergen."},"database-with-options":{"title":"Von der Tabelle zur Datenbank","description":"Erstelle eine Datenbank für Dein Projekt und passe sie an, indem Du verschiedene Arten von Spalten und Zeilen auswählst, die Hintergrundfarbe änderst und vieles mehr."},"board":{"title":"Sag Hallo zu Deinen Aufgaben auf einer Tafel","description":"Zeige Deine Aufgaben als Karten auf einem Kanban-Board an. Damit hast Du immer einen Gesamtüberblick."},"progress":{"title":"Sieh, wie weit Du gekommen bist!","description":"Wähle Deinen Wert und schätze ihn. Bewerte und kommentiere Deine hinzugefügten Inhalte, Aufgaben oder anderen Aktivitäten."},"uploader":{"title":"Sage Auf Wiedersehen zum Dateichaos!","description":"Kläre, welche Dateien deine Kunden und/oder dein Team senden müssen. Mit dem Datei-Uploader kannst du genau das bekommen, was du benötigst und alles an einem Ort aufbewahren."},"dropdown-list":{"title":"Gib uns Optionen","description":"Platziere Antwortoptionen an beliebiger Stelle im Text und lass andere sofort Feedback geben."},"use-ai":{"title":"Arbeite intelligent, nicht hart","description":"Nutze KI, um deine Inhalte zu erstellen und zu verbessern, neue Ideen zu bekommen und personalisierte Empfehlungen zu erhalten. Arbeite mit einem KI-Assistenten in deinem Arbeitsbereich."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),it:JSON.parse('{"table":{"common":{"column":"Colonna"},"move_column_cant_split_merged_cells":{"title":"Impossibile spostare la colonna","text":"Impossibile spostare una colonna in una cella unita. Separale e riprova."},"move_column_cant_move_part_of_merged_cells":{"title":"Impossibile spostare la colonna","text":"La colonna che stai tentando di spostare contiene parte di una cella unita. Se vuoi spostare la colonna, separa prima le celle."},"move_column_failed":{"title":"Impossibile spostare la colonna","text":"Si è verificato un errore imprevisto durante lo spostamento di una colonna, riprova."},"move_row_cant_split_merged_cells":{"title":"Impossibile spostare la riga","text":"Impossibile spostare una riga in una cella unita. Separale e riprova."},"move_row_cant_move_part_of_merged_cells":{"title":"Impossibile spostare la riga","text":"La riga che stai tentando di spostare contiene parte di una cella unita. Se desideri spostare la riga, separa prima le celle."},"move_row_cant_move_in_sortable_table":{"title":"Impossibile spostare la riga","text":"Impossibile spostare una riga in una tabella ordinabile. Annulla l\'ordinamento e riprova."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Impossibile spostare la riga","text":"Si è verificato un errore imprevisto durante lo spostamento di una riga, riprova."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Elimina","help":"Aiuto","delete_column":{"one":"Elimina colonna","many":"Elimina {{count}} colonne"},"delete_row":{"one":"Elimina riga","many":"Elimina {{count}} righe"},"add":"Inserisci","add_row_before":{"one":"Riga sopra","many":"{{count}} righe sopra"},"add_row_after":{"one":"Riga sotto","many":"{{count}} righe sotto"},"add_col_before":{"one":"Colonna a sinistra","many":"{{count}} colonne a sinistra"},"add_col_after":{"one":"Colonna a destra","many":"{{count}} colonne a destra"},"copy_cell":{"one":"Copia cella","many":"Copia celle"},"copy_table":"Copia tabella","table_layout":{"name":"Layout della tabella","column_headings":"Intestazioni di colonna","row_headings":"Intestazioni di riga"},"import_csv":"Import from CSV","merge_cells":"Unisci celle","insert_checkbox":"Inserisci casella di controllo","background_color":"Colore di sfondo","formatting":"Formattazione","clear":"Cancella","reset":"Ripristina","divide_cells":"Dividi le celle","type":{"name_cell":"Tipo di cella","name_cells":"Tipo di celle","name_column":"Tipo di colonna","name_columns":"Tipo di colonne","type_cell":{"one":"Tipo di cella","many":"Tipo di celle"},"type_col":{"one":"Tipo di colonna","many":"Tipo di colonne"},"same_as_column":"Uguale alla colonna","reset_cells":"Ripristina le celle ai valori predefiniti","none":"Multi tipo","text":"Testo","textline":"Testo","number":"Numero","attachment":"Allegato","checkbox":"Casella di controllo","multiselect":"Selezione multipla","singleselect":"Selezione singola","collaborator":"Collaboratore","currency":"Valuta","date":"Data","link":"Link","rating":"Valutazione","progress":"Progresso","mention":"Citazione"},"number_format":{"name":"Formato numero","number":"Numero","commas":"Numero con virgole","percent":"Percentuale"},"currency_format":{"name":"Tipo di valuta","dollar":"Dollaro","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rublo","pound":"Sterlina","rupee":"Rupia","hryvnia":"Grivnia","won":"Won","frank":"Franco","real":"Real","other":"Altro","stick":"Mostra il simbolo","before":"Prima","after":"Dopo"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Opzioni di avanzamento","simple":"Semplice","colored":"Colorato","start_from":"Inizia da (0-100)","default_amount":"Quantità predefinita (0-100)"},"rating_format":{"name":"Opzioni di valutazione","star":"Stella","flag":"Bandiera","heart":"Cuore","amount":"Quantità (1-10)"},"date_format":{"name":"Formato Data/Ora"},"mention_panel":{"open":"Apri","edit":"Modifica","clear":"Cancella"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Comment"},"formatting_menu":{"align_left":"Sinistra","align_center":"Centro","align_right":"Destra","valign_top":"Superiore","valign_center":"Medio","valign_bottom":"Inferiore","text":"Testo","text_align":"Allineamento del testo","text_color":"Colore del testo","bold":"Grassetto","italic":"Corsivo","strikethrough":"Barrato","underline":"Sottolineato"},"col_menu":{"add_column_after":{"one":"Aggiungi colonna a destra","many":"Aggiungi {{count}} colonne a destra"},"add_column_before":{"one":"Aggiungi colonna a sinistra","many":"Aggiungi {{count}} colonne a sinistra"},"duplicate_column":{"one":"Duplica colonna","many":"Duplica colonne"},"rename":"Rinomina"},"row_menu":{"add_row_after":{"one":"Aggiungi riga sotto","many":"Aggiungi {{count}} righe sotto"},"add_row_before":{"one":"Aggiungi riga sopra","many":"Aggiungi {{count}} righe sopra"}},"warning":{"merge_different":"Non è possibile unire diversi tipi di oggetti","convert_merged":"Non è possibile convertire celle unite"},"select":{"create_list":"Digita per creare un elenco","create_item":"Digita per creare un elemento","create_option":"Digita per creare un\'opzione","create_label":"Digita per creare un\'etichetta","create":"Crea","delete":"Elimina"},"attachment":{"upload_more":"Carica file","downloading":"Download in corso"},"collaborator":{"placeholder":"Digita per aggiungere persone","no_result":"Nessun risultato","loading":"Caricamento in corso...","unknown":"Persona sconosciuta"},"checkbox":{"checked":"Sì","not_checked":"No"},"sorting":{"name":"Ordinamento","sort":"Ordina","disable":"Rimuovi ordinamento","change":"Fai clic per modificare","asc":{"common":"Ascendente","text":"Ordina A-Z","number":"Ordina 1-9","checkbox":"Prima non selezionato"},"desc":{"common":"Discendente","text":"Ordina Z-A","number":"Ordina 9-1","checkbox":"Prima selezionato"},"warning":{"column_merged":{"title":"Impossibile ordinare la colonna","text":"Impossibile ordinare la colonna con celle unite"},"table_rowspan":{"title":"Impossibile ordinare la colonna","text":"Impossibile ordinare la tabella con righe unite"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Avviso di ordinamento","text":"Stai utilizzando diverse valute in una colonna. L\'ordinamento potrebbe non essere corretto."}},"exit_dialog":{"title":"Rimuovi ordinamento","toggle":"Mantieni ordinato","text_keep":"Mantieni ordinato","text_no_keep":"L\'ordine delle colonne verrà ripristinato al suo ordine iniziale prima dell\'applicazione dell\'ordinamento","apply":"Applica"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"A capo automatico","warnings":{"merge":{"title":"Impossibile unire le celle","text":"Impossibile unire le celle in modalità non a capo"},"toggle":{"title":"Impossibile cambiare opzione","text":"La tabella contiene celle unite"}}},"duplicate_column":{"title":"Duplica colonna","text_1":"Duplica il contenuto della colonna","text_2":"Puoi duplicare l\'intera colonna contenente i dati o lasciare vuota la colonna duplicata","accept":"Duplica","copy":"copia"},"convert_column":{"title":"Cambia il tipo di colonna","text_before":"Questa colonna contiene valori. Cambiare il tipo di colonna cancellerà alcuni valori. Usa il comando","text_cmd":"annulla","text_after":"per annullare le modifiche se necessario.","accept":"Cambia tipo"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Mostra la barra di calcolo","name":{"none":"Nessuna","all":"Tutte","empty":"Vuote","fill":"Riempite","unique":"Uniche","empty_percent":"Percentuale vuote","fill_percent":"Percentuale riempite","unique_percent":"Percentuale uniche","sum":"Somma","average":"Media","min":"Min","max":"Max","median":"Mediana","min_date":"Prima data","max_date":"Ultima data","range_days":"Intervallo di date (giorni)","range_month":"Intervallo di date (mese)","checked":"Selezionate","unchecked":"Deselezionate","checked_percent":"Percentuale selezionate","unchecked_percent":"Percentuale deselezionate","filter_rating":"Con valutazione:","filter_progress":"Con progresso:","filesize_min":"Dimensione minima","filesize_max":"Dimensione massima"},"item":{"none":"Calcola","min_date":"Prima","max_date":"Ultima","range_days":"Intervallo (giorni)","range_month":"Intervallo (mese)","checked_percent":"Selezionate","unchecked_percent":"Deselezionate","filter_rating":"Con valutazione","filter_progress":"Con progresso"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Impossibile caricare l\'immagine"},"download_file":"Scarica {{name}}","listen_file":"Play {{name}}","stop_file":"Stop {{name}}","uploading":"Caricamento in corso","wrtc":{"how_to_fix":"How to fix it?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Recording error. No microphone access.","rec_err_vi":"Recording error. No access to microphone/webcam. ","allow_micro":"Allow Access to microphone","allow_media":"Select the window you want to record","select_opt":"What will be recorded","screenonly":"Screen only","camonly":"Cam only","screencam":"Screen + Cam","enable_micro":"Enable microphone","startRecording":"Start recording","stopRecording":"Stop recording","pauseRecording":"Pause recording","resumeRecording":"Resume recording","cancelRecording":"Сancel recording","confirmCancel":"Are you sure you want to cancel the video recording?","cancel":"Сancel","prepareUpload":"Please wait, preparing to upload record","hasTmpRecord":"The recording was interrupted but not lost","restore":"Restore","delete":"Delete","recordOnAnotherDevice":"Recording is in progress on another device ..."},"menu":{"enabled":"Abilitato","disabled":"Disabilitato","open_in_new_tab":"Apri in una nuova scheda","copy_link":"Copia il collegamento al file","expand_in_full_window":"Espandi a finestra intera","autoplay":"Riproduzione automatica","sound_default":"Suono per impostazione predefinita","sound_loop":"Ciclo","sound_hideControls":"Nascondi controlli","sound_showPanel":"Show top panel","shadow_video":"Ombra per il video","video_params":"Parametri video","disallow_download":"Download in corso","for_note":"For workspaces users","for_share":"Public page","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Stampa","convert_to_image":"Converti in immagine","convert_to_file":"Convert to file","style":"Stile","shadow_image":"Ombra per l\'immagine","rename":"Rinomina","replace":"Sostituisci","delete":"Elimina","download":"Scarica","get_text_from_image":"Ottieni testo dall\'immagine","view_as":"View as","single_page":"Single page","all_pages":"All pages","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Download in corso","attachment_not_found_error":"Errore durante il caricamento","pdf_viewer":{"initializing_full_window_view":"Inizializzazione della visualizzazione a finestra intera","preparing_document_for_printing":"Preparazione del documento per la stampa ...","printing_initialization":"Inizializzazione della stampa ...","abort":"abortire","set_page_as_default":"Set page as default","unset_page_as_default":"Default page. Click to make the page normal."},"video_just_uploaded_codec_error":"You are trying to upload a video that has been encoded with the {codec} codec. We do not guarantee the correct playback of this video on all browsers. We recommend converting the video to another format and uploading it again.","video_codec_error":"This video is encoded with {codec} codec, which is not supported in your browser.","safari_webm_not_support":"Currently, Safari browsers do not support WEBM format. Try to open the note in another browser, such as Google Chrome or Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Testo da immagine","no_text":"Non c\'è testo","copy":"Copia tutto il testo"},"unknown_error":"Il collegamento è errato","add_image":"Incolla il link dell\'immagine o ","add_image_or":"o","add_image_small":"Incolla o ","browse":"sfoglia","browse_image":"Sfoglia immagine","too_large_error":"La dimensione dell\'immagine è troppo grande","image_info_dialog":{"title":"Informazioni sull\'immagine","type":"Tipo","size":"Dimensione","location":"Posizione","copy_link":"Copia link"},"rotate_wait":{"full":"Attendere prego","medium":"Aspetta"},"attachment_not_found_error":"Si è verificato un errore imprevisto con l\'immagine","readonly_placeholder":"Immagine vuota","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Qualcosa è andato storto, prova a scegliere un altro file","attachment_is_being_uploaded":"A file is being uploaded on another device...","attachment_will_be_downloaded_online":"Il file verrà scaricato quando sarai online.","attachment_preview_is_not_available":"L\'anteprima non è disponibile.","choose_a_file":"Scegliere i file","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Riproduci","pause":"Pausa","volume":"Volume","fullscreen_on":"A schermo intero","fullscreen_off":"Esci dalla modalità schermo intero","watch_again":"Watch again"}},"search":{"placeholder":"Trova nella nota","matches":"Risultati:"},"copy":{"copied":"Copiato!","copy_to_clipboard":"Copia negli appunti"},"apply":"Applica","done":"Fatto","block_menu":{"align":{"left":"Allinea a sinistra","center":"Allinea al centro","right":"Allinea a destra","justify":"Giustifica"},"indent":{"indent":"Aumenta il rientro","outdent":"Riduci il rientro"},"tooltip":"Trascina per spostare\\n<span>Fai clic per aprire il menu</span>","copy_tooltip":"Copy link","color":{"background_color":"Colore di sfondo","color":"Colore","line_color":"Colore della linea","line_type":"Tipo di linea","player_color":"Player\'s color"},"line_type":{"default":"Linea standard","dotted":"Punti"},"add":{"name":"Aggiungi blocco","above":"Sopra","below":"Sotto","left":"Sinistra","right":"Destra","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Convertire in","to_do_list":"Checklist","number_list":"Elenco numerato","bullet_list":"Elenco puntato","paragraph":"Paragrafo","large_heading":"Intestazione grande","medium_heading":"Intestazione media","small_heading":"Intestazione piccola","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Codice","quote":"Citazione","hint":"Hint","image":"Immagine","file":"File","remote_frame":"Incorporamento","link":"Link","bookmark":"Segnalibro","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Comment","edit":"Modifica","duplicate":"Duplica","copy_block":"Copy block","copy_blocks":"Copy blocks","copy_link":"Copia link","delete":"Elimina","replace":"Sostituisci","blot_lock":"Lock block","blot_unlock":"Unlock block","set_as_preview":"Imposta come anteprima","get_text_from_image":"Ottieni testo dall\'immagine","edit_image":"Edit image","download":"Scarica","view_full_size":"Visualizza a grandezza naturale","open_in_new_tab":"Apri in una nuova scheda","image_info":"Informazioni sull\'immagine","rotate_image":"Ruota","add_sub_task":"Aggiungi attività secondaria","add_sub_text":"Aggiungi sottotesto","layout":"Disposizione","embed_align":{"left":"Left align","center":"Center align","right":"Right align","default":"Default size","full_width":"Full width"},"expand_all":"Expand all","collapse_all":"Collapse all","add_caption":"Aggiungi didascalia","blot_locked_admin":"Editing of the block is denied. Click to unlock it.","blot_locked_admins":"Editing of the blocks is denied. Click to unlock it.","blot_locked_user":"You don’t have permission to edit this bock. Contact your organization admin.","show_header":"Show top bar","show_borders":"Show borders","rename":"Rinomina"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Embed","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Altri elementi ...","add_an_element":"Aggiungi un elemento","paragraph":"Paragraph","todo":"Checklist","numbered_list":"Elenco numerato","bullet_list":"Elenco puntato","table":"Tabella","image":"Immagine","file":"File","audioRec":"Audio Record","videoRec":"Video Record","recordExist":"You cannot start a new recording until the previous one is completed. End or delete the previous record to start a new one.","large_heading":"Intestazione 1","medium_heading":"Intestazione 2","small_heading":"Intestazione 3","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Interruzione di sezione","link":"Link","code":"Codice","quote":"Citazione","hint":"Hint","hint_placeholder":"Type something","mention":"Mention member","outline":"Scaletta","remote_frame":"Incorporamento","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Toggle block","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"This ID can be used in the future when editing the CSS file.","address":"URL or Email","open_in_new_tab":"Open in new tab","shape":"Button shape","background":"Background","size":"Button size","small":"Small","medium":"Medium","big":"Big","cancel":"Cancel","done":"Done","length_error":"The text is too large for the button. Try selecting less text (no more than 50 characters).","type":"Button type","default":"Default","withShadow":"Button with shadow","3d":"3d button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Apri","send":"Invia","copy":"Copia","edit":"Modifica","remove":"Rimuovi","text_label":"Testo","url_label":"Link","email_label":"Indirizzo","copied":"Link copiato negli appunti","cancel":"Cancel","done":"Done"},"syntax":{"menu":{"language":"Lingua","theme":"Theme","wrap":"Abilita a capo","unwrap":"Disabilita a capo","lineNumbersOn":"Show line numbers","lineNumbersOff":"Hide line numbers"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"Stile elenco","type_default":"Predefinito","type_rectangle":"Rettangolo","type_star":"Stella","type_dart":"Dardo","type_rounded":"Arrotondato","type_arrow":"Freccia","type_diamond":"Losanga"},"caption":{"placeholder":"Aggiungi didascalia"},"mention":{"show_all":"Mostra tutto","show_all_users":"Mostra tutti","placeholder":"Mostra recenti o digita per cercare","user":"Persone","workspace":"Spazi di lavoro","folder":"Cartelle","note":"Appunti","no_results":"Nessun risultato","offline_message":"La menzione funziona solo con connessione attiva. Accendi Internet e riprova.","info":{"note":{"one":"nota","some":"note","many":"note"},"subfolder":{"one":"sottocartella","some":"sottocartelle","many":"sottocartelle"},"member":{"one":"membro","some":"membri","many":"membri"},"owner":"proprietario","loading":"Caricamento anteprima ...","loading_failed":"Caricamento fallito","not_loaded":"Note has not been loaded yet"},"back_button":"Indietro","create_note_for":"Create Note","create_folder_for":"Create Folder"},"calendar":{"ui":{"date":"Data","am":"AM","pm":"PM","date_format":"Formato data","show_time":"Mostra orario","time_format":"Formato orario","time_12":"12 ore","time_24":"24 ore","first_week_day":"Primo giorno della settimana","time_zone":"Fuso orario","use_gmt":"Usa GMT per tutti i membri","use_gmt_hint":"Utilizza lo stesso fuso orario (GMT) per tutti i collaboratori","table":{"clear":"Cancella"},"inline":{"clear":"Elimina"},"reminder":{"name":"Avviso","panel_name":"Avviso","push_name":"Promemoria dell\'evento","remove_confirm_message":"You have alerts that are time-bound. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Don\'t delete reminders","before_period":"","after_period":"prima","period":{"m":{"one":"minuto","many":"minuti"},"h":{"one":"ora","many":"ore"},"d":{"one":"giorno","many":"giorni"},"w":{"one":"settimana","many":"settimane"}},"value":{"none":"Nessuno","0m":"All\'inizio","1m":"1 minuto prima","5m":"5 minuti prima","10m":"10 minuti prima","15m":"15 minuti prima","30m":"30 minuti prima","1h":"1 ora prima","2h":"2 ore prima","1d":"1 giorno prima","2d":"2 giorni prima","7d":"7 giorni prima","10d":"10 giorni prima","14d":"14 giorni prima","custom":"Personalizzato"},"until":{"in":"Tra","d":"g","h":"o","m":"min","already_been":"Già stato","less_minute":"Meno di un minuto","now":"Adesso"}},"postfix":{"day":"g","month":"m"}},"insert":{"category_name":"Data","custom":"Personalizzato","now":"Now","today":"Oggi","tomorrow":"Domani"},"date_format":{"ddmmyyyy":"gg/mm/aaaa","mmddyyyy":"mm/gg/aaaa","yyyyddmm":"aaaa/mm/gg","monthddyyyy":"Mese gg, aaaa","default":"Adatta al formato del browser"},"months":{"0":"Gennaio","1":"Febbraio","2":"Marzo","3":"Aprile","4":"Maggio","5":"Giugno","6":"Luglio","7":"Agosto","8":"Settembre","9":"Ottobre","10":"Novembre","11":"Dicembre"},"days":{"short":{"0":"Do","1":"Lu","2":"Ma","3":"Me","4":"Gi","5":"Ve","6":"Sa"},"full":{"0":"Domenica","1":"Lunedì","2":"Martedì","3":"Mercoledì","4":"Giovedì","5":"Venerdì","6":"Sabato"}}},"content_not_supported":"Questa nota non è supportata sulla tua versione dell\'app FuseBase. Prova ad aggiornarla o utilizza un altro client con l\'ultima versione.","profession_ask":{"title":"Risparmia tempo utilizzando i modelli per creare nuove note","text":"Inserisci la tua occupazione e il nostro team creerà dei modelli per te. È gratuito, senza costi nascosti","i_am_a":"Sono un","placeholder":"per esempio. designer, insegnante, agente di vendita, ecc.","request_template":"Richiedi modello","sucess_message":"Grazie! La tua occupazione verrà aggiunta alla nostra coda di attesa."},"bookmark":{"name":"Segnalibro","edit":"Modifica segnalibro","title":"Titolo","address":"Indirizzo","description":"Descrizione","placeholder":"Incolla o scrivi il link con https://...","placeholder_mobile":"Paste or write link","loading_preview":"Caricamento anteprima ...","block_menu":{"change_mode":{"menu_name":"Visualizza come","mode_tile":"Tessera","mode_card":"Cartolina","mode_cover":"Cover"},"change_preview":"Cambia anteprima","delete_preview":"Elimina anteprima","reset_preview":"Reimposta anteprima","change_preview_background":"Preview background","options":{"menu_name":"Options","open_in_same_tab":"Open in same tab"}},"error":{"unknown_error":"Qualcosa è andato storto, prova a inserire un altro URL","preview_notfound":"Anteprime non trovate"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Nome","ORGANIZATION":"Azienda","TITLE":"Titolo","ADDRESS":"Posizione","URL":"Sito","PHONE":"Telefono","EMAIL":"E-mail","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Annulla"}},"outline":{"default_name":"Scaletta","menu":{"expand":"Espandi","collapse":"Collassa","rename":"Rinomina"},"context_menu":{"convert_to":{"text":"Testo"},"style":{"name":"Stile scaletta","list_only":"Solo elenco","numbered_list":"Elenco numerato","bordered":"Mostra bordo","border_color":"Border color"}},"empty":"Aggiungi Intestazioni alla tua nota e appariranno come link qui"},"floating_toolbar":{"bold":"Grassetto","italic":"Corsivo","underline":"Sottolineato","strikethrough":"Barrato","clear":"Cancella Formattazione","code":"Codice","button":"Button","link":"Link","highlight":"Evidenzia","extraHighlight":"High contrast highlights","color":"Colore","text":"Testo","clear_all":"Clear all","placeholder":"Segnaposto","adapts":{"dark":"Adatta a un tema scuro","light":"Adatta a un tema chiaro"},"create_note":"Create note","add_comment":"Add comment"},"remote_frame":{"placeholder_small":"Incorpora URL","placeholder_full":"Incorpora qualsiasi URL, come YouTube, Github, Maps, Twitter, ecc.","loading":"Caricamento in corso...","context_menu":{"change_link":"Cambia link","full_size":"Dimensione originale","reset_size":"Reset size","open_origin":"Apri originale","layout":"Disposizione","show_toolbar":"Mostra barra di modifica","copy_original":"Copy link to original"},"error":{"is_not_link":"Il collegamento non è corretto","content_error":"Il seguente dominio non è supportato o l\'URL non è corretto. Contatta il <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">nostro supporto</a> ed elaboreremo il tuo collegamento.","unknown_error":"Qualcosa è andato storto, prova a inserire un altro URL","wrong_signature":"Questo contenuto è danneggiato e non può essere visualizzato","google_docs_auth_error":"Molto probabilmente non puoi incorporare il Documento/Foglio/Presentazione Google perché non hai accesso ad esso.<a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Leggi la nostra guida.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Converti in segnalibro","convert_link":"Converti in link","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Caricamento in corso...","menu":{"expand":"Espandi","collapse":"Collassa","open_origin":"Apri in Google Drive","download":"Scarica","change_account":"Cambia account","choose_another_file":"Scegli un altro file"},"last_modified":"Ultima modifica di {{userName}} {{time}} fa","browse":"Sfoglia file","login":"Accedi con Google","login_text":"Sfoglia i file e aggiungi da Google Drive"},"html":{"default_name":"HTML","loading":"Caricamento in corso...","menu":{"open_source":"Collegamento open source","export_blot":"Save HTML"},"unknown_error":"Errore sconosciuto","device_cant_display_content":"Il tuo dispositivo non può visualizzare questo contenuto","wrong_signature":"Questo contenuto è danneggiato e non può essere visualizzato"},"relative_time":{"seconds":{"one":"{{count}} secondo","some":"{{count}} secondi","many":"{{count}} secondi"},"minutes":{"one":"{{count}} minuto","some":"{{count}} minuti","many":"{{count}} minuti"},"hours":{"one":"{{count}} ora","some":"{{count}} ore","many":"{{count}} ore"},"days":{"one":"{{count}} giorno","some":"{{count}} giorni","many":"{{count}} giorni"},"months":{"one":"{{count}} mese","some":"{{count}} mesi","many":"{{count}} mesi"},"years":{"one":"{{count}} anno","some":"{{count}} anni","many":"{{count}} anni"}},"collapsible_content":{"menu":{"expand":"Espandi","collapse":"Collassa","rename":"Rinomina"}},"convert_link":{"url":"URL","title":"Titolo","embed":"Incorpora","bookmark":"Segnalibro","button":"Button","link_to_note":"Link alla nota","link_to_folder":"Collegamento alla cartella","link_to_workspace":"Link to workspace","convert_error":"Si è verificato un errore durante la conversione dell\'URL"},"fullwidth":{"menu_item":"Larghezza intera"},"resizeable":{"point_tooltip":{"default":"Resize","bottom-right":"Resize\\n(press and hold the {{altKey}} button for free resize)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),es:JSON.parse('{"table":{"common":{"column":"Columna"},"move_column_cant_split_merged_cells":{"title":"No se puede mover la columna","text":"No se puede mover la columna a una celda combinada. Primero divídela e inténtalo de nuevo."},"move_column_cant_move_part_of_merged_cells":{"title":"No se puede mover la columna","text":"La columna que estás intentando mover contiene parte de una celda combinada. Si quieres mover la columna, divide las celdas primero."},"move_column_failed":{"title":"No se puede mover la columna","text":"Ha ocurrido un error inesperado al mover una columna. Por favor, inténtalo de nuevo."},"move_row_cant_split_merged_cells":{"title":"No se puede mover la fila","text":"No se puede mover la fila a una celda combinada. Primero divídela e inténtalo de nuevo."},"move_row_cant_move_part_of_merged_cells":{"title":"No se puede mover la fila","text":"TLa fila que estás intentado mover contiene parte de una celda combinada. Si quieres mover la fila, divide las celdas primero."},"move_row_cant_move_in_sortable_table":{"title":"No se puede mover la fila","text":"No se pueden mover fila en una tabla ordenada. Borra los ajustes de ordenación primero e inténtalo de nuevo."},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"No se puede mover la fila","text":"Ha ocurrido un error inesperado al mover una fila. Por favor, inténtalo de nuevo."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Eliminar","help":"Ayuda","delete_column":{"one":"Eliminar columna","many":"Eliminar {{count}} columnas"},"delete_row":{"one":"Eliminar fila","many":"Eliminar {{count}} filas"},"add":"Añadir","add_row_before":{"one":"Fila arriba","many":"{{count}} filas arriba"},"add_row_after":{"one":"Fila debajo","many":"{{count}} Filas debajo"},"add_col_before":{"one":"Columna a la izquierda","many":"{{count}} columnas a la izquierda"},"add_col_after":{"one":"Columna a la derecha","many":"{{count}} columnas a la derecha"},"copy_cell":{"one":"Copiar celda","many":"Copiar celdas"},"copy_table":"Copiar tabla","table_layout":{"name":"Diseño de tablat","column_headings":"Encabezados de columnas","row_headings":"Encabezados de filas"},"import_csv":"Import from CSV","merge_cells":"Combinar celdas","insert_checkbox":"Insertar casilla de verificación","background_color":"Color de fondo","formatting":"Formato","clear":"Borrar","reset":"Restaurar","divide_cells":"Dividir celdas","type":{"name_cell":"Tipo de celda","name_cells":"Tipo de celdas","name_column":"Tipo de columna","name_columns":"Tipo de columnas","type_cell":{"one":"Tipo de celda","many":"Tipo de celdas"},"type_col":{"one":"Tipo de columna","many":"Tipo de columnas"},"same_as_column":"Igual que la columna","reset_cells":"Restaurar celdas a los ajustes por defecto","none":"Mútiple","text":"Texto","textline":"Texto","number":"Número","attachment":"Adjunto","checkbox":"Casilla de verificación","multiselect":"Selección múltiple","singleselect":"Selección única","collaborator":"Persona","currency":"Moneda","date":"Fecha","link":"Enlace","rating":"Valoración","progress":"Progreso","mention":"Mención"},"number_format":{"name":"Formato de número","number":"Número","commas":"Número con comas","percent":"Porcentaje"},"currency_format":{"name":"Tipo de moneda","dollar":"Dólar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rublo","pound":"Libra","rupee":"Rupia","hryvnia":"Grivna","won":"Won","frank":"Franco","real":"Real","other":"Otra","stick":"Mostrar símbolo","before":"Antes","after":"Después"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"Opciones de progreso","simple":"Simple","colored":"A color","start_from":"Empezar desde (0-100)","default_amount":"Cantidad por defecto (0-100)"},"rating_format":{"name":"Opciones de valoración","star":"Estrellas","flag":"Banderas","heart":"Corazones","amount":"Cantidad (1-10)"},"date_format":{"name":"Formato de fecha y hora"},"mention_panel":{"open":"Abrir","edit":"Editar","clear":"Borrar"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Comment"},"formatting_menu":{"align_left":"Izquierda","align_center":"Centrar","align_right":"Derecha","valign_top":"Arriba","valign_center":"Centro","valign_bottom":"Abajo","text":"Texto","text_align":"Alineación del texto","text_color":"Color del texto","bold":"Negrita","italic":"Cursiva","strikethrough":"Tachado","underline":"Subrayado"},"col_menu":{"add_column_after":{"one":"Añadir columna a la derecha","many":"Añadir {{count}} columnas a la derecha"},"add_column_before":{"one":"Añadir columna a la izquierda","many":"Añadir {{count}} columnas a la izquierda"},"duplicate_column":{"one":"Duplicar columna","many":"Duplicar columnas"},"rename":"Renombrar"},"row_menu":{"add_row_after":{"one":"Añadir fila debajo","many":"Añadir {{count}} filas debajo"},"add_row_before":{"one":"Añadir fila arriba","many":"Añadir {{count}} filas arriba"}},"warning":{"merge_different":"No se pueden combinar diferentes tipos de objetos","convert_merged":"No se pueden convertir las celdas combinadas"},"select":{"create_list":"Escribe para crear una lista","create_item":"Escribe para crear un elemento","create_option":"Escribe para crear una opción","create_label":"Escribe para crear una etiqueta","create":"Crear","delete":"Eliminar"},"attachment":{"upload_more":"Subir archivo(s)","downloading":"Descargando"},"collaborator":{"placeholder":"Escribe para añadir personas","no_result":"Sin resultados","loading":"Cargando...","unknown":"Persona desconocida"},"checkbox":{"checked":"Sí","not_checked":"No"},"sorting":{"name":"Ordenar","sort":"Ordenar","disable":"Eliminar orden","change":"Haz click para cambiar","asc":{"common":"Ascendente","text":"Ordenar de la A-Z","number":"Ordenar del 1-9","checkbox":"No seleccionados primero"},"desc":{"common":"Descendente","text":"Ordenar de la Z-A","number":"Ordenar del 9-1","checkbox":"Seleccionados primero"},"warning":{"column_merged":{"title":"No se pueden ordenar la columna","text":"No se puede ordenar columnas con celdas combinadas"},"table_rowspan":{"title":"No se puede ordenar la columna","text":"No se puede ordenar columnas con filas combinadas"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Advertencia de ordenación","text":"Estás utilizando diferentes monedas en una misma columna. El orden puede no aplicarse correctamente."}},"exit_dialog":{"title":"Eliminar orden","toggle":"Mantener ordenado","text_keep":"Mantener ordenado","text_no_keep":"El orden de la columna se restaurará a sus ajustes por defecto","apply":"Aplicar"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Ajustar celdas","warnings":{"merge":{"title":"No se pueden combinar las celdas","text":"No se puede combinar celdas que estén en el modo \\"no ajustar\\""},"toggle":{"title":"No se puede cambiar el ajuste","text":"La tabla contiene celdas combinadas"}}},"duplicate_column":{"title":"Duplicar columna","text_1":"Duplicar el contenido de la columna","text_2":"Puedes duplicar la columna al completo, incluyendo su contenido o duplicar la columna sin contenido","accept":"Duplicar","copy":"copiar"},"convert_column":{"title":"Cambiar el tipo de columna","text_before":"Esta columna contiene valores. Cambiar el tipo de columna eliminará alguno de esos valores. Usa","text_cmd":"deshacer","text_after":"para revertir los cambios si fuese necesario.","accept":"Cambiar tipo"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Mostrar barra de cálculos","name":{"none":"Nada","all":"Todo","empty":"Las vacías","fill":"Las que tienen datos","unique":"Las que son diferentes","empty_percent":"Sin porcentaje","fill_percent":"Con porcentaje","unique_percent":"Con porcentajes diferentes","sum":"Suma","average":"Media","min":"Mín.","max":"Máx.","median":"Mediana","min_date":"La fecha más antigua","max_date":"La fecha más reciente","range_days":"Rango de fechas (días)","range_month":"Rango de fechas (mes)","checked":"Marcadas","unchecked":"Sin marcar","checked_percent":"Porcentaje completado","unchecked_percent":"Porcentaje sin completar","filter_rating":"Con valoración:","filter_progress":"Con progreso:","filesize_min":"Tamaño mín.","filesize_max":"Tamaño máx."},"item":{"none":"Calcular","min_date":"La más antigua","max_date":"La más reciente","range_days":"Rango (días)","range_month":"Rango (mes)","checked_percent":"Marcadas","unchecked_percent":"Sin marcar","filter_rating":"Con valoración","filter_progress":"Con progreso"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"No se pudo cargar la imagen"},"download_file":"Descargar {{name}}","listen_file":"Play {{name}}","stop_file":"Stop {{name}}","uploading":"Subiendo","wrtc":{"how_to_fix":"How to fix it?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Recording error. No microphone access.","rec_err_vi":"Recording error. No access to microphone/webcam. ","allow_micro":"Allow Access to microphone","allow_media":"Select the window you want to record","select_opt":"What will be recorded","screenonly":"Screen only","camonly":"Cam only","screencam":"Screen + Cam","enable_micro":"Enable microphone","startRecording":"Start recording","stopRecording":"Stop recording","pauseRecording":"Pause recording","resumeRecording":"Resume recording","cancelRecording":"Сancel recording","confirmCancel":"Are you sure you want to cancel the video recording?","cancel":"Сancel","prepareUpload":"Please wait, preparing to upload record","hasTmpRecord":"The recording was interrupted but not lost","restore":"Restore","delete":"Delete","recordOnAnotherDevice":"Recording is in progress on another device ..."},"menu":{"enabled":"Enabled","disabled":"Disabled","open_in_new_tab":"Abrir en una pestaña nueva","copy_link":"Copiar enlace al archivo","expand_in_full_window":"Abrir en pantalla completa","autoplay":"Autoplay","sound_default":"Sound by default","sound_loop":"Loop","sound_hideControls":"Hide controls","sound_showPanel":"Show top panel","shadow_video":"Shadow for video","video_params":"Video settings","disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","motion_video":"Motion video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Imprimir","convert_to_image":"Convertir en imagen","convert_to_file":"Convert to file","style":"Style","shadow_image":"Shadow for image","rename":"Renombrar","replace":"Reemplazar","delete":"Eliminar","download":"Descargar","get_text_from_image":"Extraer texto de imagen","view_as":"View as","single_page":"Single page","all_pages":"All pages","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"Descargando","attachment_not_found_error":"Error al subir","pdf_viewer":{"initializing_full_window_view":"Iniciando la vista a pantalla completa","preparing_document_for_printing":"Preparando el documento para la impresión...","printing_initialization":"Iniciando la impresión...","abort":"abortar","set_page_as_default":"Set page as default","unset_page_as_default":"Default page. Click to make the page normal."},"video_just_uploaded_codec_error":"You are trying to upload a video that has been encoded with the {codec} codec. We do not guarantee the correct playback of this video on all browsers. We recommend converting the video to another format and uploading it again.","video_codec_error":"This video is encoded with {codec} codec, which is not supported in your browser.","safari_webm_not_support":"Currently, Safari browsers do not support WEBM format. Try to open the note in another browser, such as Google Chrome or Mozilla Firefox.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Texto de imagen","no_text":"No hay texto","copy":"Copiar todo el texto"},"unknown_error":"El enlace no es correcto","add_image":"Pegar el enlace de la imagen o ","add_image_or":"o","add_image_small":"Pegar o ","browse":"explorar","browse_image":"Explorar imagen","too_large_error":"El tamaño de la imagen es demasiado grande","image_info_dialog":{"title":"Información de la imagen","type":"Tipo","size":"Tamaño","location":"Ubicación","copy_link":"Copiar enlace"},"rotate_wait":{"full":"Por favor, espera","medium":"Espera"},"attachment_not_found_error":"Ha ocurrido un error inesperado con la imagen","readonly_placeholder":"Imagen vacía","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Algo ha ido mal. Prueba eligiendo otro archivo","attachment_is_being_uploaded":"A file is being uploaded on another device...","attachment_will_be_downloaded_online":"El archivo se descargará cuando estés conectado.","attachment_preview_is_not_available":"La vista previa no está disponible.","choose_a_file":"Elegir archivos","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Reproducir","pause":"Pausar","volume":"Volumen","fullscreen_on":"Pantalla completa","fullscreen_off":"Salir de pantalla completa","watch_again":"Watch again"}},"search":{"placeholder":"Buscar en la nota","matches":"Coincidencias:"},"copy":{"copied":"¡Copiado!","copy_to_clipboard":"Copiar al portapapeles"},"apply":"Aplicar","done":"Hecho","block_menu":{"align":{"left":"Alinear a la izquierda","center":"Centrar","right":"Alinear a la derecha","justify":"Justificar"},"indent":{"indent":"Aumentar sangría","outdent":"Reducir sangría"},"tooltip":"Arrastra para mover\\n<span>Haz click para abrir el menú</span>","copy_tooltip":"Copy link","color":{"background_color":"Color de fondo","color":"Color","line_color":"Color de la línea","line_type":"Tipo de línea","player_color":"Player\'s color"},"line_type":{"default":"Línea estándar","dotted":"Puntos"},"add":{"name":"Añadir bloque","above":"Arriba","below":"Abajo","left":"A la izquierda","right":"A la derecha","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"Convertir en","to_do_list":"Checklist","number_list":"Lista numerada","bullet_list":"Lista con viñetas","paragraph":"Párrafo","large_heading":"Título grande","medium_heading":"Título mediano","small_heading":"Título pequeño","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Código","quote":"Cita","hint":"Hint","image":"Imagen","file":"Archivo","remote_frame":"Insertar","link":"Enlace","bookmark":"Marcador","button":"Button","toggle":"Toggle Block","step":"Steps"},"comment_block":"Comment","edit":"Editar","duplicate":"Duplicar","copy_block":"Copy block","copy_blocks":"Copy blocks","copy_link":"Copiar enlace","delete":"Eliminar","replace":"Reemplazar","blot_lock":"Lock block","blot_unlock":"Unlock block","set_as_preview":"Establecer como miniatura","get_text_from_image":"Extraer texto de imagen","edit_image":"Edit image","download":"Descargar","view_full_size":"Ver a tamaño completo","open_in_new_tab":"Abrir en una pestaña nueva","image_info":"Información de la imagen","rotate_image":"Rotar","add_sub_task":"Añadir subtarea","add_sub_text":"Añadir subtexto","layout":"Layout","embed_align":{"left":"Left align","center":"Center align","right":"Right align","default":"Default size","full_width":"Full width"},"expand_all":"Expand all","collapse_all":"Collapse all","add_caption":"Añadir pie","blot_locked_admin":"Editing of the block is denied. Click to unlock it.","blot_locked_admins":"Editing of the blocks is denied. Click to unlock it.","blot_locked_user":"You don’t have permission to edit this bock. Contact your organization admin.","show_header":"Show top bar","show_borders":"Show borders","rename":"Renombrar"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Embed","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"Type \\"/\\" or add","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Más elementos...","add_an_element":"Añadir un elemento","paragraph":"Paragraph","todo":"Checklist","numbered_list":"Lista numerada","bullet_list":"Lista con viñetas","table":"Tabla","image":"Imagen","file":"Archivo","audioRec":"Audio Record","videoRec":"Video Record","recordExist":"You cannot start a new recording until the previous one is completed. End or delete the previous record to start a new one.","large_heading":"Título 1","medium_heading":"Título 2","small_heading":"Título 3","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Separador","link":"Enlace","code":"Código","quote":"Cita","hint":"Hint","hint_placeholder":"Type something","mention":"Mention member","outline":"Tabla de contenido","remote_frame":"Insertar","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Toggle block","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Title","id_info_tooltip":"This ID can be used in the future when editing the CSS file.","address":"URL or Email","open_in_new_tab":"Open in new tab","shape":"Button shape","background":"Background","size":"Button size","small":"Small","medium":"Medium","big":"Big","cancel":"Cancel","done":"Done","length_error":"The text is too large for the button. Try selecting less text (no more than 50 characters).","type":"Button type","default":"Default","withShadow":"Button with shadow","3d":"3d button","convert":{"popup_title":"Convert to button"}},"link":{"open":"Abrir","send":"Enviar","copy":"Copiar","edit":"Editar","remove":"Eliminar","text_label":"Texto","url_label":"Enlace","email_label":"Correo electrónico","copied":"Enlace copiado al portapapeles","cancel":"Cancel","done":"Done"},"syntax":{"menu":{"language":"Idioma","theme":"Theme","wrap":"Activar ajustar","unwrap":"Desactivar ajustar","lineNumbersOn":"Show line numbers","lineNumbersOff":"Hide line numbers"},"convert":{"popup_title":"Convert to code","blots_have_comments":"There are comments in the text that will be deleted during conversion.","text_has_inline_comments":"There are comments inside the text that will be deleted during conversion.","confirm":"Convert"}},"list":{"list_style":"Estilo de lista","type_default":"Por defecto","type_rectangle":"Rectángulos","type_star":"Estrellas","type_dart":"Dardos","type_rounded":"Círculos","type_arrow":"Flechas","type_diamond":"Diamantes"},"caption":{"placeholder":"Añadir pie"},"mention":{"show_all":"Mostrar todo","show_all_users":"Mostrar todo","placeholder":"Mostrando los recientes o escribe para buscar","user":"Personas","workspace":"Espacios de trabajo","folder":"Carpetas","note":"Notas","no_results":"Sin resultados","offline_message":"Las menciones solo funcionan con una conexión a internet activa. Conéctate a internet e inténtalo de nuevo.","info":{"note":{"one":"nota","some":"notas","many":"notas"},"subfolder":{"one":"subcarpeta","some":"subcarpetas","many":"subcarpetas"},"member":{"one":"miembro","some":"miembros","many":"miembros"},"owner":"propietario","loading":"Cargando previsualización...","loading_failed":"La carga ha fallado","not_loaded":"Note has not been loaded yet"},"back_button":"Volver","create_note_for":"Create Note","create_folder_for":"Create Folder"},"calendar":{"ui":{"date":"Fecha","am":"AM","pm":"PM","date_format":"Formato de fecha","show_time":"Mostrar hora","time_format":"Formato de hora","time_12":"12H","time_24":"24H","first_week_day":"Primer día de la semana","time_zone":"Zona horaria","use_gmt":"Usar GMT para todos los miembros","use_gmt_hint":"Usa la misma zona horaria (GMT) para todos los colaboradores","table":{"clear":"Borrar"},"inline":{"clear":"Eliminar"},"reminder":{"name":"Alerta","panel_name":"Alerta","push_name":"Recordatorio del evento","remove_confirm_message":"You have alerts that are time-bound. Do you want to delete these reminders?","remove_confirm_text":"Delete","remove_cancel_text":"Don\'t delete reminders","before_period":"","after_period":"antes","period":{"m":{"one":"minuto","many":"minutos"},"h":{"one":"hora","many":"horas"},"d":{"one":"día","many":"días"},"w":{"one":"semana","many":"semanas"}},"value":{"none":"Ninguno","0m":"A la hora de inicio","1m":"1 minuto antes","5m":"5 minutos antes","10m":"10 minutos antes","15m":"15 minutos antes","30m":"30 minutos antes","1h":"1 hora antes","2h":"2 horas antes","1d":"1 día antes","2d":"2 días antes","7d":"7 días antes","10d":"10 días antes","14d":"14 días antes","custom":"Personalizado"},"until":{"in":"En","d":"d","h":"h","m":"min","already_been":"Ya ha sido","less_minute":"Menos de un minuto","now":"Ahora"}},"postfix":{"day":"d","month":"m"}},"insert":{"category_name":"Fecha","custom":"Personalizado","now":"Now","today":"Hoy","tomorrow":"Mañana"},"date_format":{"ddmmyyyy":"dd/mm/aaaa","mmddyyyy":"mm/dd/aaaa","yyyyddmm":"aaaa/mm/dd","monthddyyyy":"Mes dd, aaaa","default":"Coincidir con el formato del navegador"},"months":{"0":"Enero","1":"Febrero","2":"Marzo","3":"Abril","4":"Mayo","5":"Junio","6":"Julio","7":"Agosto","8":"Septiembre","9":"Octubre","10":"Noviembre","11":"Diciembre"},"days":{"short":{"0":"Do","1":"Lu","2":"Ma","3":"Mi","4":"Ju","5":"Vi","6":"Sá"},"full":{"0":"Domingo","1":"Lunes","2":"Martes","3":"Miércoles","4":"Jueves","5":"Viernes","6":"Sábado"}}},"content_not_supported":"Esta nota no es compatible con la versión de tu aplicación FuseBase. Prueba actualizándola o usa otro cliente con la última versión.","profession_ask":{"title":"Ahorra tiempo usando plantillas para crear notas nuevas","text":"Escribe tu ocupación y nuestro equipo creará plantillas para ti. Es totalmente gratis, sin ningún tipo de coste","i_am_a":"Soy","placeholder":"por ejemplo, diseñador, profesores, agente de ventas, etc.","request_template":"Solicitar plantilla","sucess_message":"¡Gracias! Tu solicitud se añadirá a la cola."},"bookmark":{"name":"Marcador","edit":"Editar marcador","title":"Título","address":"Dirección","description":"Descripción","placeholder":"Pega o escribe el enlace con https://...","placeholder_mobile":"Paste or write link","loading_preview":"Cargando previsualización…","block_menu":{"change_mode":{"menu_name":"Ver como","mode_tile":"Mosaico","mode_card":"Tarjeta","mode_cover":"Cover"},"change_preview":"Cambiar miniatura","delete_preview":"Eliminar miniatura","reset_preview":"Restaurar miniatura","change_preview_background":"Preview background","options":{"menu_name":"Options","open_in_same_tab":"Open in same tab"}},"error":{"unknown_error":"Algo ha ido mal. Prueba introduciendo otra URL","preview_notfound":"No se han encontrado miniaturas"},"upload":{"new_preview":"Upload New","quota_error":"The file is larger than the 3MB allowed. Try another file.","unknown_error":"Unknown error. Try another file."}},"businessCard":{"PERSON":"Nombre","ORGANIZATION":"Empresa","TITLE":"Título","ADDRESS":"Posición","URL":"Sitio web","PHONE":"Teléfono","EMAIL":"Correo electrónico","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Aceptar","cancel":"Cancelar"}},"outline":{"default_name":"Tabla de contenido","menu":{"expand":"Expandir","collapse":"Contraer","rename":"Renombrar"},"context_menu":{"convert_to":{"text":"Texto"},"style":{"name":"Estilo de la tabla de contenido","list_only":"Solo lista","numbered_list":"Lista numerada","bordered":"Mostrar borde","border_color":"Border color"}},"empty":"Añade títulos a tu nota y aparecerán aquí automáticamente como enlaces"},"floating_toolbar":{"bold":"Negrita","italic":"Cursiva","underline":"Subrayado","strikethrough":"Tachado","clear":"Limpiar formato","code":"Código","button":"Button","link":"Enlace","highlight":"Resaltar","extraHighlight":"High contrast highlights","color":"Color","text":"Texto","clear_all":"Clear all","placeholder":"Marcador","adapts":{"dark":"Se adapta al modo oscuro","light":"Se adapta al modo claro"},"create_note":"Create note","add_comment":"Add comment"},"remote_frame":{"placeholder_small":"Insertar URL","placeholder_full":"Inserta cualquier URL como YouTube, Github, Maps, Twitter, etc.","loading":"Cargando...","context_menu":{"change_link":"Cambiar enlace","full_size":"Tamaño completo","reset_size":"Reset size","open_origin":"Abrir original","layout":"Diseño","show_toolbar":"Mostrar barra de edición","copy_original":"Copy link to original"},"error":{"is_not_link":"El enlace no es correcto","content_error":"El dominio no se soporta o la URL no es correcta. Por favor, escribe a nuestro <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">equipo de soporte</a> y nosotros procesaremos tu enlace.","unknown_error":"Algo ha ido mal. Intenta insertar otra URL","wrong_signature":"Este contenido está corrupto o no se puede mostrar","google_docs_auth_error":"Probablemente no puedas insertar documentos, presentaciones u hojas de cálculo de Google porque no tienes acceso a ellos. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Por favor, lee nuestra guía.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Convertir en marcador","convert_link":"Convertir en enlace","back_button":"Back"},"google_drive":{"block_name":"Google Drive","loading":"Cargando...","menu":{"expand":"Expandir","collapse":"Contraer","open_origin":"Abrir en Google Drive","download":"Descargar","change_account":"Cambiar cuenta","choose_another_file":"Elegir otro archivo"},"last_modified":"Modificado por última vez por {{userName}}, hace {{time}}","browse":"Seleccionar archivo","login":"Iniciar sesión con Google","login_text":"Selecciona archivos y añádelos desde Google Drive"},"html":{"default_name":"HTML","loading":"Cargando...","menu":{"open_source":"Abrir origen del enlace","export_blot":"Save HTML"},"unknown_error":"Error desconocido","device_cant_display_content":"Tu dispositivo no puede mostrar este contenido","wrong_signature":"Este contenido está corrupto y no puede mostrarse"},"relative_time":{"seconds":{"one":"{{count}} segundo","some":"{{count}} segundos","many":"{{count}} segundos"},"minutes":{"one":"{{count}} minuto","some":"{{count}} minutos","many":"{{count}} minutos"},"hours":{"one":"{{count}} hora","some":"{{count}} horas","many":"{{count}} horas"},"days":{"one":"{{count}} día","some":"{{count}} días","many":"{{count}} días"},"months":{"one":"{{count}} mes","some":"{{count}} meses","many":"{{count}} meses"},"years":{"one":"{{count}} año","some":"{{count}} años","many":"{{count}} años"}},"collapsible_content":{"menu":{"expand":"Expandir","collapse":"Contraer","rename":"Renombrar"}},"convert_link":{"url":"URL","title":"Título","embed":"Insertar","bookmark":"Marcador","button":"Button","link_to_note":"Enlace a nota","link_to_folder":"Enlace a carpeta","link_to_workspace":"Link to workspace","convert_error":"Ha ocurrido un error al convertir la URL"},"fullwidth":{"menu_item":"Ancho completo"},"resizeable":{"point_tooltip":{"default":"Resize","bottom-right":"Resize\\n(press and hold the {{altKey}} button for free resize)"}},"toggle":{"placeholder":"Click here to create or move a block","expand":"Expand toggle","collapse":"Collapse toggle","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),tr:JSON.parse('{"table":{"common":{"column":"Sütun"},"move_column_cant_split_merged_cells":{"title":"Sütun taşınamıyor.","text":"Sütunlar Birleştirilmiş bir hücre içine taşınamaz. Birleştirmeyi iptal edip tekrar deneyiniz."},"move_column_cant_move_part_of_merged_cells":{"title":"Sütun taşınamıyor.","text":"Sütun birleştirilmiş bir hücrenin parçasını içermekte. Sütun\'u taşımak için hücreden ayırın."},"move_column_failed":{"title":"Sütun taşınamıyor.","text":"Sütun taşınırken beklenmeyen bir hata oluştu. Lütfen tekrar deneyiniz."},"move_row_cant_split_merged_cells":{"title":"Satır Taşınamıyor!","text":"Satırlar Birleştirilmiş bir hücre içine taşınamaz. Birleştirmeyi iptal edip tekrar deneyiniz."},"move_row_cant_move_part_of_merged_cells":{"title":"Satır Taşınamıyor!","text":"Satırlar birleştirilmiş bir hücrenin parçasını içermekte. Satırı taşımak için hücreden ayırın."},"move_row_cant_move_in_sortable_table":{"title":"Satır Taşınamıyor!","text":"Sıralanabilir bir tablodaki satır taşınamaz. Sıralamayı İptal Edip Tekrar Deneyiniz"},"move_row_cant_move_in_filtered_table":{"title":"Unable to move row","text":"Cannot move a row in a filtered table. Cancel filter then try again."},"move_row_failed":{"title":"Satır Taşınamıyor!","text":"Satır taşınırken beklenmeyen bir hata oluştu. Lütfen tekrar deneyiniz."},"first_move_column_or_row_message":"You can select multiple rows or columns by holding down the CTRL button and clicking on the desired rows or columns.","menu":{"delete":"Sil","help":"Yardım","delete_column":{"one":"Sütunu Sil","many":"{{count}} Sütunu Sil"},"delete_row":{"one":"Satırı Sil","many":"{{count}} Satırı Sil"},"add":"Ekle","add_row_before":{"one":"Yukarı Satır","many":"{{count}} Yukarı Satır"},"add_row_after":{"one":"Aşağı Satır","many":"{{count}} Aşağı Satır"},"add_col_before":{"one":"Sol Sutun","many":"{{count}} Sol Sütun"},"add_col_after":{"one":"Sağ Sütun","many":"{{count}} Sağ Sütun"},"copy_cell":{"one":"Hücreyi Kopyala","many":"Hücreleri Kopyala"},"copy_table":"Tabloyu Kopyala","table_layout":{"name":"Tablo Düzeni","column_headings":"Sütun Başlıkları","row_headings":"Satır Başlıkları"},"import_csv":"Import from CSV","merge_cells":"Hücreleri Birleştir","insert_checkbox":"Onay Kutusu Ekle","background_color":"Arkaplan Rengi","formatting":"Biçimlendir","clear":"Açık","reset":"Sıfırla","divide_cells":"Birleştirilmiş Hücreleri Ayır","type":{"name_cell":"Hücre Tipi","name_cells":"Hücrelerin Tipi","name_column":"Sütun Tipi","name_columns":"Sütunların Tipi","type_cell":{"one":"Hücre Tipi","many":"Hücrelerin Tipi"},"type_col":{"one":"Sutun Tipi","many":"Sutunların Tipi"},"same_as_column":"Sütunlar Aynı","reset_cells":"Hücreleri Varsayılana Döndür","none":"Çoklu Tip","text":"Metin","textline":"Metin","number":"Numara","attachment":"Ek Dosya","checkbox":"Onay Kutusu","multiselect":"Çoklu Seçim","singleselect":"Tek Seçim","collaborator":"Ortak Alan","currency":"Para Birimi","date":"Tarih","link":"Link","rating":"Değerlendirme","progress":"İlerleme","mention":"Bahsetme"},"number_format":{"name":"Sayı Formatları","number":"Sayılar","commas":"Virgül İçeren Sayılar","percent":"Yüzde"},"currency_format":{"name":"Para Tipleri","dollar":"Dollar","euro":"Euro","yen":"Yen","yuan":"Yuan","rouble":"Rouble","pound":"Pound","rupee":"Rupee","hryvnia":"Hryvnia","won":"Won","frank":"Frank","real":"Gerçek","other":"Diğer","stick":"Sembol göster","before":"Önce","after":"Sonra"},"decimal_format":{"name":"Decimal separator","comma":"Comma","point":"Point","hint":"The separator is used for decimal places. Comma decimal separators will look like 1.000,99, and point separators look like 1,000.99"},"progress_format":{"name":"İlerleme Seçenekleri","simple":"Basit","colored":"Renk","start_from":"Şuradan Başla(0-100)","default_amount":"Varsayılan Miktar (0-100)"},"rating_format":{"name":"Değerlendirme Seçenekleri","star":"Yıldız","flag":"Bayrak","heart":"Kalp","amount":"Tutar (1-10)"},"date_format":{"name":"Tarih / Saat Biçimi"},"mention_panel":{"open":"Aç","edit":"Düzenle","clear":"Temizle"},"color_numbers":{"name":"Color numbers","enable":"Enable color numbers"},"filter":"Filter","comment":"Yorum"},"formatting_menu":{"align_left":"Sol","align_center":"Orta","align_right":"Alt","valign_top":"Üst","valign_center":"Orta","valign_bottom":"Alt","text":"Metin","text_align":"Metni Hizala","text_color":"Metin Rengi","bold":"Kalın","italic":"İtalik","strikethrough":"Üstü Çizili","underline":"Altı Çizili"},"col_menu":{"add_column_after":{"one":"Sağa sütun ekle","many":"Sağa {{count}} Sütun Ekle"},"add_column_before":{"one":"Sola sütun ekle","many":"Sola {{count}} Sütun Ekle"},"duplicate_column":{"one":"Sutunu Kopyala","many":"Sutunları Kopyala"},"rename":"Adını Değiştir"},"row_menu":{"add_row_after":{"one":"Aşağı satır ekle","many":"Aşağıya {{count}} satır ekle"},"add_row_before":{"one":"Yukarıya satır ekle","many":"Yukarıya {{count}} satır ekle"}},"warning":{"merge_different":"Farklı nesne türleri birleştirilemez","convert_merged":"Birleştirilmiş hücreler dönüştürülemiyor"},"select":{"create_list":"Liste oluşturmak için tıkla","create_item":"Bir öğe oluştur","create_option":"Bir seçenek oluştur","create_label":"Etiket oluşturmak için yazın","create":"Oluştur","delete":"Sil"},"attachment":{"upload_more":"Dosya(lar) yükleniyor","downloading":"Yükleniyor"},"collaborator":{"placeholder":"kişi eklemek için tıkla","no_result":"Sonuç yok","loading":"Yükleniyor...","unknown":"bilinmeyen kişi"},"checkbox":{"checked":"Evet","not_checked":"Hayır"},"sorting":{"name":"Sıralama","sort":"Sırala","disable":"Sıralamayı sil","change":"Değiştirmek için tıkla","asc":{"common":"Artan","text":"Sırala A-Z","number":"Sırala 1-9","checkbox":"Önce seçilmemiş"},"desc":{"common":"Azalan","text":"Sırala Z-A","number":"Sırala 9-1","checkbox":"Önce seçilmiş"},"warning":{"column_merged":{"title":"Sütunu sıralayamıyor","text":"Birleştirilmiş satırlara sahip tablo sıralanamıyor"},"table_rowspan":{"title":"Sütunu sıralayamıyor","text":"Birleştirilmiş satırlara sahip tablo sıralanamıyor"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while column sorting is active. Disable sorting and try again."},"different_currencies":{"title":"Sıralama uyarısı","text":"Bir sütunda farklı para birimleri kullanıyorsunuz. Sıralama yanlış olabilir."}},"exit_dialog":{"title":"Sıralamayı kaldır","toggle":"Sıralamayı bırak","text_keep":"Sıralama kalsın","text_no_keep":"Sütun sırası, sıralama uygulanmadan önce baştaki sırasına geri yüklenecektir","apply":"Uygula"}},"filter":{"by_field":"Filter by this field","empty_table":"All records are filtered","popup_title":"In this table, show records","empty_filters":"No conditions are applied to this database","where":"Where","or":"Or","and":"And","add_condition":"Add condition","clear_all":"Clear all","contains":"contains","is":"is","is_not":"is not","contains_not":"contains not","has_any_of":"has any of","has_none_of":"has none of","empty":"empty","not_empty":"not empty","filetype":"filetype","select_users_placeholder":"Select users","type_text_placeholder":"Type text","type_text_or_select_placeholder":"Type text or select","type_number_placeholder":"Type number","select_type_placeholder":"Select type","select_date_placeholder":"Select date","date":{"today":"Today","yesterday":"Yesterday","tomorrow":"Tomorrow","custom":"Custom"},"filetypes":{"images":"Images","documents":"Documents","media":"Media","other":"Other"},"warning":{"cells_merged":{"title":"Unable to filter table","text":"Can\'t filter column with merged cells"},"merge":{"title":"Cells cannot be merged","text":"Cells cannot be merged while table filter is active. Disable filter and try again."},"column_multitype":{"title":"Unable to filter table","text":"There is no such possibility to filter columns with Multi type. Please, try to convert to another type and try again."},"table_not_have_typed_columns":{"title":"Unable to filter table","text":"No columns available for filtering."}},"enable_filter":"Enable filter","disable_filter":"Disable filter"},"wrap_cells":{"layout_menu":"Hücreleri birleştir","warnings":{"merge":{"title":"Satırları birleştiremiyor","text":"Nowrap modunda hücreler birleştirilemiyor"},"toggle":{"title":"Seçenek değiştirilemiyor","text":"Tablo birleştirilmiş hücreler içeriyor"}}},"duplicate_column":{"title":"Sütunu çoğalt","text_1":"Sütunun içeriğini çoğalt","text_2":"Veri içeren sütunun tamamını çoğaltabilir veya çoğaltılan sütunu boş bırakabilirsiniz","accept":"Çoğalt","copy":"Kopyala"},"convert_column":{"title":"Sütün türünü diğiştir","text_before":"Bu sütun değerler içerir. Sütun türünü değiştirmek bazı değerleri silecektir","text_cmd":"Geri al","text_after":"Gerekirse değişiklikleri geri alma emrini verebilirsiniz","accept":"Türü değiştir"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Hesaplama çubuğunu göster","name":{"none":"Hiçbiri","all":"Tümü","empty":"Boşalt","fill":"Dolu","unique":"Benzersiz","empty_percent":"Boş yüzde","fill_percent":"Yüzde doldur","unique_percent":"Benzersiz yüzde","sum":"Toplam","average":"Ortalama","min":"Minimum","max":"Maksimum","median":"Orta değer","min_date":"En erken tarih","max_date":"En geç tarih","range_days":"Tarih Aralığı (gün)","range_month":"Tarih aralıgı (ay)","checked":"Kontrol edilmiş","unchecked":"Kontrol edilmemiş","checked_percent":"İşaretlenmiş yüzde","unchecked_percent":"İşaretlenmemiş yüzde","filter_rating":"Derecelendirme ile:","filter_progress":"İlerleme ile:","filesize_min":"Minimum hacim","filesize_max":"Maksimum hacim"},"item":{"none":"Hesapla","min_date":"En erken","max_date":"En geç","range_days":"Aralık (gün)","range_month":"Mesafe (ay)","checked_percent":"Kontrol edildi","unchecked_percent":"Kontrol edilmedi","filter_rating":"Aralıkta","filter_progress":"Gelişmekte"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Fotoğraf yüklenemiyor"},"download_file":"Yükle {{isim}}","listen_file":"Oynat {{name}}","stop_file":"Durdur {{name}}","uploading":"Yükleniyor","wrtc":{"how_to_fix":"Nasıl düzeltilir?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Kayıt hatası. Mikrofon erişimi yok.","rec_err_vi":"Kayıt hatası. Mikrofona/web kamerasına erişim yok. ","allow_micro":"Mikrofona Erişim İzni Ver","allow_media":"Kaydetmek istediğiniz pencereyi seçin","select_opt":"Ne kaydedilecek","screenonly":"Yalnızca ekran","camonly":"Yalnızca kamera","screencam":"Ekran + Kamera","enable_micro":"Mikrofonu etkinleştir","startRecording":"Kaydı başlat","stopRecording":"Kaydı durdur","pauseRecording":"Kaydı duraklat","resumeRecording":"Kaydı devam ettir","cancelRecording":"Kaydı iptal et","confirmCancel":"Video kaydını iptal etmek istediğinizden emin misiniz?","cancel":"İptal","prepareUpload":"Lütfen bekleyin, kayıt yüklemeye hazırlanıyor","hasTmpRecord":"Kayıt kesintiye uğradı ancak kaybolmadı","restore":"Geri yükle","delete":"Sil","recordOnAnotherDevice":"Başka bir cihazda kayıt yapılıyor ..."},"menu":{"enabled":"Etkin","disabled":"Devre dışı","open_in_new_tab":"Yeni sekmede aç","copy_link":"Linki dosyaya kopyala","expand_in_full_window":"Tüm ekrenda göster","autoplay":"Otomatik oynat","sound_default":"Varsayılan olarak ses","sound_loop":"Döngü","sound_hideControls":"Kontrolleri gizle","sound_showPanel":"Show top panel","shadow_video":"Video için gölge","video_params":"Video ayarları","disallow_download":"İndiriliyor","for_note":"Çalışma alanları kullanıcıları için","for_share":"Herkese açık sayfa","motion_video":"Hareketli video","preview_video":"Change preview","preview_video_btn":"Preview","print":"Yazdır","convert_to_image":"Fotoğrafa dönüştür","convert_to_file":"Convert to file","style":"Stil","shadow_image":"Resim için gölge","rename":"Yeniden adlandır","replace":"Yerine koy","delete":"Sil","download":"Yükle","get_text_from_image":"Fotoğraftan yazı çıkar","view_as":"Farklı görüntüle","single_page":"Tek sayfa","all_pages":"Tüm sayfalar","cta_motion_video_message":"CTA is enabled for videos. You cannot use CTA and Motion video at the same time. Disable CTA and try enabling Motion video again.","cta_loop_message":"CTA is enabled for videos. You cannot use CTA and Loop at the same time. Disable CTA and try enabling Loop again.","grid":"Grid","cta_drop_in_grid":"CTA is enabled for videos. We recommend checking the correctness of the CTA display after transferring the video into a grid column.","cta_exists_in_grid":"The grid column has a video with an active CTA. Please check if it is correct after the transfer."},"downloading":"yükleniyor","attachment_not_found_error":"Yüklenirken bir hata oluştu","pdf_viewer":{"initializing_full_window_view":"Tam Pencere görünümünü başlatma","preparing_document_for_printing":"Dosya yazdırılımak için hazırlanıyor...","printing_initialization":"Baskı başlatma...","abort":"iptal et","set_page_as_default":"Sayfayı varsayılan olarak ayarla","unset_page_as_default":"Varsayılan sayfa. Sayfayı normal yapmak için tıklayın."},"video_just_uploaded_codec_error":"{codec} codec bileşeniyle kodlanmış bir video yüklemeye çalışıyorsunuz. Bu videonun tüm tarayıcılarda doğru oynatılacağını garanti etmiyoruz. Videoyu başka bir biçime dönüştürmenizi ve yeniden yüklemenizi öneririz.","video_codec_error":"Bu video, tarayıcınızda desteklenmeyen {codec} codec bileşeniyle kodlanmıştır.","safari_webm_not_support":"Şu anda Safari tarayıcıları WEBM biçimini desteklememektedir. Notu Google Chrome veya Mozilla Firefox gibi başka bir tarayıcıda açmayı deneyin.","video_transcribe":"Transcribe","video_summary":"Summary","video_meeting_notes":"Meeting Notes","video_ask_ai":"Ask AI"},"image":{"text_from_image_popup":{"title":"Fotoğraftan yazı","no_text":"Yazı yok","copy":"Tüm metni kopyala"},"unknown_error":"Hatalı link","add_image":"Fotoğraf linkini yapıştır ya da ","add_image_or":"ya da","add_image_small":"Yapıştır ya da ","browse":"Göz at","browse_image":"Resme göz atın","too_large_error":"Görüntü boyutu çok büyük","image_info_dialog":{"title":"Resim bilgisi","type":"Tür","size":"Hacim","location":"Konum","copy_link":"Link kopyala"},"rotate_wait":{"full":"Lütfen bekleyin","medium":"Bekleyin"},"attachment_not_found_error":"Görüntüde beklenmeyen bir hata oluştu","readonly_placeholder":"Boş fotoğraf","unsplash":{"name":"Unsplash","header":"Search image","placeholder":"Search for an image","search":"Search","description":"Search to find more results.","no_result":"No images found.","caption_preffix":"Photo by"},"comments":"Comments"},"attachment":{"unknown_error":"Yanlış giden bir şey var, başka dosya seçmeyi dene","attachment_is_being_uploaded":"dosya yüleniyor...","attachment_will_be_downloaded_online":"Çeivirimiçi olduğunda bu dosya yüklenecek.","attachment_preview_is_not_available":"Önizleme mevcut değil.","choose_a_file":"Dosyaları seç","wait_resolving_without_info":"Please wait..."},"video":{"player":{"play":"Oynat","pause":"Durdur","volume":"Ses","fullscreen_on":"Tam ekren","fullscreen_off":"Tam ekrenden çık","watch_again":"Tekrar izle"}},"search":{"placeholder":"Notta bul","matches":"Eşleşmeler:"},"copy":{"copied":"Kopyalandı!","copy_to_clipboard":"Panoya kopyala"},"apply":"Uygula","done":"Tamam","block_menu":{"align":{"left":"Sola hizala","center":"Ortaya hizala","right":"Sağa hizala","justify":"Doğrula"},"indent":{"indent":"Girintiyi artır","outdent":"Girintiyi azalt"},"tooltip":"Taşımak için sürükleyin\\n<span>Menude açmak için tıkla</span>","copy_tooltip":"Linki kopyala","color":{"background_color":"Arkaplan rengi","color":"Renk","line_color":"Satır rengi","line_type":"Satır türü","player_color":"Oyuncunun rengi"},"line_type":{"default":"Standart Satır","dotted":"Nokta"},"add":{"name":"Engel ekle","above":"Üst","below":"Alt","left":"Sol","right":"Sağ","above_column":"Above column","below_column":"Under column"},"convert_to":{"name":"\'ya dönüştür","to_do_list":"Checklist","number_list":"Numara listesi","bullet_list":"Bullet List","paragraph":"Paragraf","large_heading":"Büyük Başlık","medium_heading":"Orta Başlık","small_heading":"Küçük başlık","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","code":"Kod","quote":"Alıntı","hint":"İpucu","image":"Fotoğraf","file":"Dosya","remote_frame":"Yerleştir","link":"Link","bookmark":"Yer imi","button":"Buton","toggle":"Geçiş Bloğu","step":"Steps"},"comment_block":"Yorum","edit":"Düzenle","duplicate":"Çiftle","copy_block":"Bloğu kopyala","copy_blocks":"Blokları kopyala","copy_link":"Linki kopyala","delete":"Sil","replace":"Yerine yerleştir","blot_lock":"Bloğu kilitle","blot_unlock":"Blok kilidini aç","set_as_preview":"Önizleme olarak ayarla","get_text_from_image":"Fotoğraftan yazıyı çıkar","edit_image":"Fotoğrafı düzenle","download":"İndir","view_full_size":"Tam boyutu gör","open_in_new_tab":"Yeni sekmede aç","image_info":"Fotoğraf bilgileri","rotate_image":"Dönüştür","add_sub_task":"Alt görev ekle","add_sub_text":"Alt metin ekle","layout":"Düzen","embed_align":{"left":"Sola hizala","center":"Ortaya hizala","right":"Sağa hizala","default":"Varsayılan boyut","full_width":"Tam genişlik"},"expand_all":"Tümünü genişlet","collapse_all":"Tümünü daralt","add_caption":"Alt yazı ekle","blot_locked_admin":"Bloğun düzenlenmesi reddedildi. Kilidi açmak için tıklayın.","blot_locked_admins":"Blokların düzenlenmesi reddedildi. Kilidi açmak için tıklayın.","blot_locked_user":"Bu bloğu düzenleme izniniz yok. Kuruluş yöneticinizle iletişime geçin.","show_header":"Üst çubuğu göster","show_borders":"Kenarlıkları göster","rename":"Yeniden adlandır"},"convert_menu_groups":{"suggestions":"Suggestions","basic":"Basic","advanced":"Advanced","media":"Media","embed":"Embed","views":"Views","templates":"Templates","helpful_links":"Helpful links"},"embedded_menu":{"start_typing":"\\"/\\" yaz yada ekle","start_typing_full":"Start writing or type \\"/\\", \\"@\\"","more_items":"Daha fazla öğe...","add_an_element":"Öğe ekle","paragraph":"Paragraf","todo":"Checklist","numbered_list":"Numara listesi","bullet_list":"Madde listesi","table":"Ta,ü","image":"fotoğraf","file":"Dosya","audioRec":"Ses Kaydı","videoRec":"Video Kaydı","recordExist":"Bir önceki kayıt tamamlanana kadar yeni bir kayıt başlatamazsınız. Yeni bir kayıt başlatmak için önceki kaydı sonlandırın veya silin.","large_heading":"Büyük Başlık","medium_heading":"Orta Başlık","small_heading":"Küçük başlık","large_heading_toggle":"Collapsible Large Heading","medium_heading_toggle":"Collapsible Medium Heading","small_heading_toggle":"Collapsible Small Heading","section_break":"Bölüm ayırıcı","link":"Link","code":"Kod","quote":"Alıntı","hint":"İpucu","hint_placeholder":"Birşeyler yaz","mention":"Mention member","outline":"Anahat","remote_frame":"Yerleştir","integrations":"Integrations","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Aç/Kapat Bloğu","tasks_list":"Task list","lock_blot":"Lock block","link_page":"Link page / Create","date":"Date","more_integrations":"more integrations","two_columns":"2 columns","meeting_notes":"Meeting notes","marketing_brief":"Marketing Brief","content_plan":"Content plan","more_templates":"more templates","get_feedback":"Get a feedback","contact_support":"Contact support","learn_nimbus":"Learn Nimbus","footer_top":"Did you know? You can start typing to search the list","footer_bottom":"Can’t find smth you want?","footer_link":"Tell us","add_note":"New page","database_with_options":"Database","board":"Kanban / Task Board","progress":"Progress","dropdown_list":"Dropdown list","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI helper","summarize":"Summarize","explain":"Explain","improve":"Improve","spelling":"Fix spelling and grammar","cta":"Call to actions","shorter":"Make shorter","longer":"Make longer","step":"Steps"},"button":{"title":"Başlık","id_info_tooltip":"Bu kimlik gelecekte CSS dosyasını düzenlerken kullanılabilir.","address":"URL yada E-posta","open_in_new_tab":"Yeni sekmede aç","shape":"Buton şekli","background":"Arkaplan","size":"Buton boyutu","small":"Küçük","medium":"Orta","big":"Büyük","cancel":"İptal et","done":"Tamamlandı","length_error":"Metin, düğme için çok büyük. Daha az metin seçmeyi deneyin (en fazla 50 karakter).","type":"Buton tipi","default":"Varsayılan","withShadow":"Gölgeli Buton","3d":"3d buton","convert":{"popup_title":"Butona dönüştür"}},"link":{"open":"Aç","send":"Gönder","copy":"Kopyala","edit":"Değiştir","remove":"Kaldır","text_label":"Metin","url_label":"Link","email_label":"Adres","copied":"Link panoya kopyalandı","cancel":"İptal et","done":"Tamamlandı"},"syntax":{"menu":{"language":"Dil","theme":"Theme","wrap":"Sarmayı etkinleştir","unwrap":"Sarmayı iptal et","lineNumbersOn":"Satır numaralarını göster","lineNumbersOff":"Satır numaralarını gizle"},"convert":{"popup_title":"Koda Dönüştür","blots_have_comments":"Metin içerisinde dönüştürme sırasında silinecek yorumlar var.","text_has_inline_comments":"Metnin içerisinde dönüştürme sırasında silinecek yorumlar var.","confirm":"Dönüştür"}},"list":{"list_style":"Liste stili","type_default":"Varsayılan","type_rectangle":"Dikdörtgen","type_star":"Başlat","type_dart":"Dart","type_rounded":"Yuvarlak","type_arrow":"Ok","type_diamond":"Elmas"},"caption":{"placeholder":"Altyazı ekle"},"mention":{"show_all":"Tümünü göster","show_all_users":"Tümünü göster","placeholder":"En son oluşturulanlar gösteriliyor yada aramak için birşeyler yazın","user":"Kişiler","workspace":"Çalışma alanı","folder":"Klasörler","note":"Nolar","no_results":"Sonuç yok","offline_message":"Bahsetme yalnızca aktif bağlantı ile çalışır. İnterneti açın ve tekrar deneyin.","info":{"note":{"one":"not","some":"not","many":"not"},"subfolder":{"one":"Alt dosya","some":"Alt dosya","many":"Alt dosya"},"member":{"one":"Üye","some":"Üye","many":"Üye"},"owner":"sahip","loading":"Önizleme yükleniyor...","loading_failed":"Yükleme başarısız oldu","not_loaded":"Not henüz yüklenmedi"},"back_button":"Geri dön","create_note_for":"Not Oluştur:","create_folder_for":"Klasör oluştur:"},"calendar":{"ui":{"date":"Tarih","am":"sabah","pm":"öğleden sonra","date_format":"Tarih formatı","show_time":"Zamanı göster","time_format":"Zaman formatı","time_12":"12S","time_24":"24S","first_week_day":"Haftanın ilk günü","time_zone":"Saat dilimi","use_gmt":"Bütün üyeler için GMT kullan","use_gmt_hint":"Tüm ortak çalışanlar için aynı saat dilimini (GMT) kullanın","table":{"clear":"Temizle"},"inline":{"clear":"Temizle"},"reminder":{"name":"Uyarı","panel_name":"Uyarı","push_name":"Olay için hatırlatıcı","remove_confirm_message":"Zamana bağlı uyarılarınız var. Bu hatırlatıcıları silmek istiyor musunuz?","remove_confirm_text":"Sil","remove_cancel_text":"Hatırlatıcıları silme","before_period":"","after_period":"Önce","period":{"m":{"one":"dakika","many":"dakika"},"h":{"one":"saat","many":"saat"},"d":{"one":"gün","many":"gün"},"w":{"one":"hafta","many":"hafta"}},"value":{"none":"Hiçbiri","0m":"Başlangıçta","1m":"1 dakika önce","5m":"5 dakika önce","10m":"10 dakika önce","15m":"15 dakika önce","30m":"30 dakika önc","1h":"1 saat öcce","2h":"2 saat öcce","1d":"1 gün önce","2d":"2 gün önce","7d":"7 gün önce","10d":"10 gün önce","14d":"14 gün önce","custom":"Özel"},"until":{"in":"--","d":"g","h":"s","m":"dk","already_been":"oldu","less_minute":"Bir dakikadan az","now":"Şimdi"}},"postfix":{"day":"g","month":"a"}},"insert":{"category_name":"Tarih","custom":"Özel","now":"Şimdi","today":"Bugün","tomorrow":"Yarın"},"date_format":{"ddmmyyyy":"gg/aa/yyyy","mmddyyyy":"aa/gg/yyyy","yyyyddmm":"yyyy/aa/gg","monthddyyyy":"Ay gg, yyyy","default":"Tarayıcı formatını eşleştir"},"months":{"0":"Ocak","1":"Şubat","2":"Mart","3":"Nisan","4":"Mayıs","5":"Haziran","6":"Temmuz","7":"Ağustos","8":"Eylül","9":"Ekim","10":"Kasım","11":"Aralık"},"days":{"short":{"0":"Pa","1":"Pt","2":"Sa","3":"Ça","4":"Pe","5":"Cu","6":"Ct"},"full":{"0":"Pazar","1":"Pazartesi","2":"Salı","3":"Çarşamba","4":"Perşembe","5":"Cuma","6":"Cumartesi"}}},"content_not_supported":"FuseBase uygulaması sürümünüzde desteklenmiyor. Güncellemeyi deneyin veya en son sürüme sahip başka bir istemci kullanın.","profession_ask":{"title":"Yeni notlar oluşturmak için şablonları kullanarak zaman kazanın","text":"Mesleğinizi yazın, ekibimiz sizin için şablonlar oluştursun. Ücretsizdir ve hiçbir gizli ücreti yoktur","i_am_a":"Ben bir:","placeholder":"Ör. tasarımcı, öğretmen, satış temsilcisi vb.","request_template":"Şablon iste","sucess_message":"Teşekkürler! Mesleğiniz kuyruğumuza eklenecek."},"bookmark":{"name":"Yer imi","edit":"Yer imini düzenle","title":"Başlık","address":"Adres","description":"Açıklama","placeholder":" https://... ile bir link yaz veya yapıştır","placeholder_mobile":"Bağlantıyı yapıştırın veya yazın","loading_preview":"Önizleme yükleniyor…","block_menu":{"change_mode":{"menu_name":"Görüntüle","mode_tile":"Tuğla","mode_card":"Kart","mode_cover":"Kapak"},"change_preview":"Önizlemeyi değiştir","delete_preview":"Önizlemeyi sil","reset_preview":"Önizlemeyi sıfırla","change_preview_background":"Önizleme için arka planı değiştir","options":{"menu_name":"Seçenekler","open_in_same_tab":"Aynı sekmede aç"}},"error":{"unknown_error":"Bir hata oluştu, lütfen başka bir URL girmeyi deneyin","preview_notfound":"Önizlemeler bulunamadı"},"upload":{"new_preview":"Yeni Yükle","quota_error":"Dosya izin verilen 3MB\'den daha büyük. Başka bir dosya deneyin.","unknown_error":"Bilinmeyen hata. Başka bir dosya deneyin."}},"businessCard":{"PERSON":"İsim","ORGANIZATION":"Şirket","TITLE":"Başlık","ADDRESS":"Adres","URL":"Site","PHONE":"Telefon","EMAIL":"Email","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"VK"},"dialog_common":{"button":{"ok":"Tamam","cancel":"İptal et"}},"outline":{"default_name":"Anahat","menu":{"expand":"Genişlet","collapse":"Daralt","rename":"Yeniden adlandır"},"context_menu":{"convert_to":{"text":"Yazı"},"style":{"name":"Anahat türü","list_only":"Sadece liste","numbered_list":"Numaralanmış liste","bordered":"Kenarlığı göster","border_color":"Kenar rengi"}},"empty":"Notunuza Başlıklar ekleyin, burada bağlantılar olarak görünecektir"},"floating_toolbar":{"bold":"Kalın","italic":"İtalik","underline":"Altı çizgili","strikethrough":"Üstü çizili","clear":"Formatı temizle","code":"Kod","button":"Buton","link":"Link","highlight":"Vurgulama","extraHighlight":"Metin etiketleri","color":"Renk","text":"Yazı","clear_all":"Hepsini temizle","placeholder":"Yer tutucu","adapts":{"dark":"Karanlık temaya uyumla","light":"Aydınlık temaya uyumla"},"create_note":"Not oluştur","add_comment":"Yorum ekle"},"remote_frame":{"placeholder_small":"URL yerleştir","placeholder_full":"YouTube, Github, Haritalar, Twitter vb. Gibi herhangi bir URL\'yi yerleştirin.","loading":"Yükleniyor...","context_menu":{"change_link":"Linki değiştir","full_size":"Tam hacim","reset_size":"Boyutu sıfırla","open_origin":"Orjinali aç","layout":"Düzen","show_toolbar":"Düzenleme araç çubuğunu göster","copy_original":"Copy link to original"},"error":{"is_not_link":"Yanlış link","content_error":"Aşağıdaki alan desteklenmiyor veya URL yanlış. Lütfen <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">destek ekibimiz ile</a> iletişime geçin.","unknown_error":"Yanlışlık var, Başka URL gir","wrong_signature":"Bu içerik bozuk ve gosterilemez","google_docs_auth_error":"Erişiminiz olmadığı için büyük olasılıkla Google Dokümanlar / E-Tablolar / Slayt dosyasını yerleştiremezsiniz. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\">Lütfen kılavuzumuzu okuyun.</a>","internal_link_error":"{{serviceName}} has forbidden following internal links. Click on Back to return to the previous page."},"convert_bookmark":"Yer imine dönüştür","convert_link":"Linke dönüştür","back_button":"Geri dön"},"google_drive":{"block_name":"Google Drive","loading":"Yükleniyor...","menu":{"expand":"Genişlet","collapse":"Daralt","open_origin":"Google Drive\'da aç","download":"Yükle","change_account":"Hesabı değiştir","choose_another_file":"Başka dosya seç"},"last_modified":"En son {{userName}} tarafından {{time}} önce değiştirildi","browse":"Dosyada ara","login":"Google ile giriş yap","login_text":"Dosyalara göz atın ve Google Drive\'dan ekleyin"},"html":{"default_name":"HTML","loading":"Yükleniyor...","menu":{"open_source":"Ana linki aç","export_blot":"HTML\'i kaydet"},"unknown_error":"Bilinmeyen hata","device_cant_display_content":"Cihazınız bu içeriği gösteremiyor","wrong_signature":"Bu içerik bozuk ve gösterilemez"},"relative_time":{"seconds":{"one":"{{count}} saniye","some":"{{count}} saniye","many":"{{count}} saniye"},"minutes":{"one":"{{count}} Dakika","some":"{{count}} Dakika","many":"{{count}} Dakika"},"hours":{"one":"{{count}} Saat","some":"{{count}} Saat","many":"{{count}} Saat"},"days":{"one":"{{count}} Gün","some":"{{count}} Gün","many":"{{count}} Gün"},"months":{"one":"{{count}} Ay","some":"{{count}} Ay","many":"{{count}} Ay"},"years":{"one":"{{count}} Yıl","some":"{{count}} Yıl","many":"{{count}} Yıl"}},"collapsible_content":{"menu":{"expand":"Genişlet","collapse":"Daralt","rename":"Yeniden adlandır"}},"convert_link":{"url":"URL","title":"Başlık","embed":"Yerleştir","bookmark":"Yer imi","button":"Button","link_to_note":"Nota bağla","link_to_folder":"Dosyaya bağla","link_to_workspace":"Çalışma alanına bağla","convert_error":"URL dönüştürürken bir yanlışlık oldu"},"fullwidth":{"menu_item":"Tam genişlik"},"resizeable":{"point_tooltip":{"default":"Yeniden boyutlandır","bottom-right":"Yeniden boyutlandır\\n(ücretsiz yeniden boyutlandırma için {{altKey}} düğmesini basılı tutun)"}},"toggle":{"placeholder":"Bir blok oluşturmak veya taşımak için buraya tıklayın","expand":"Geçişi genişlet","collapse":"Geçişi daralt","expand_heading":"Expand heading","collapse_heading":"Collapse heading","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Currently, we cannot display the task list as it is not supported in this type of pages.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Currently, we cannot display the task board as it is not supported in this type of pages.","menu":{"add_new_column":"New column","board_layout":{"name":"Layout","show_add_new_column":"Show Add column"}}},"empty_features":{"use_template":"Use a template","import":"Import","add_database":"Add database","add_database_with_options":"Add database with options","add_board":"Kanban / Task Board","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":"Great for knowledge management","collaboration":"Great for collaboration"},"paragraph":{"title":"Best for main content","description":"This is the main block for writing page content."},"todo":{"title":"A List For Small Tasks? Check!","description":"Write down small errands and routine tasks that need to be done."},"numberedlist":{"title":"Let\'s Line Up: One, Two, Three!","description":"Make your content easy-to-read and display it in a series."},"bulletlist":{"title":"Points Make Everything Clearer","description":"You can create a list that will stand out from other content."},"table":{"title":"Rejoice the Formatting","description":"Organize your information in a table to get a holistic view on your work."},"image":{"title":"We Need To See It — Add An Image","description":"Make your pages more attractive by adding pictures of any file type, moving them and resizing."},"file":{"title":"Files Here, Files There, Files Everywhere!","description":"Create a database for your project by adding files with different types of extensions to your page."},"largeheading":{"title":"Best for Primary Sections of Page","description":"This is the biggest heading you can add. Attract attention to the most vital part of your page and ease up your navigation."},"mediumheading":{"title":"Best for Secondary Section of Page","description":"This is a middle-size heading you can add. Divide your page into sections with it and easily find what you need."},"smallheading":{"title":"Best For Great Ideas In Subsections","description":"This is a small-size heading you can add, but still it stands out. Use it to divide your page into subsections."},"tasks-list":{"title":"Organize Your Work With Nimbus Tasks","description":"Here you can group your tasks in task lists. Assign tasks to your team members, set deadlines and add statuses for easy tracking."},"hline":{"title":"Let\'s Make A Break","description":"Separate different parts of a project or divide your examples and ideas for it."},"link":{"title":"Pave A Path with Links","description":"Whenever you\'ve got an idea for your project, add a link to it and name it."},"syntax":{"title":"Don\'t Forget About Code","description":"You can add code right on your page, switching between themes, languages and more!"},"link-page":{"title":"Your Next Stop Is Another Page","description":"Link another page connected to this project and easily access it right away."},"date":{"title":"Just Say When","description":"Set a deadline for your project or mark the precise time when you started to work on a page."},"mention":{"title":"Get Your Team Involved","description":"Your team members will get email notifications to open a particular page and collaborate there."},"blockquote":{"title":"And I Quote","description":"You can highlight important words from your clients or single out a motivational phrase."},"hint":{"title":"Let\'s Drop A Hint","description":"Choose an emoji and background color to highlight warnings, disclaimers or notifications on your page."},"toggle":{"title":"Hide & Seek Expand Text Block","description":"Sort and hide additional information on your pages for easier navigation and access."},"outline":{"title":"See What Awaits You On The Page","description":"Create a table of contents for easy navigation on long pages or wikis."},"lock-blot":{"title":"No One Can Edit It","description":"You can leave a particular information block on your page untouched and read-only."},"embed":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"figma":{"title":"Keep Your Visuals Even Closer","description":"Add Figma to see how project visuals are designed in real time."},"miro":{"title":"Your Miro Board Is In A Safe Space","description":"Check a layout strategy or a road map for your project and work further on your page."},"columns":{"title":"Two columns are better than one","description":"Divide your page in two columns to add more content there and make your page look neater."},"meeting-notes":{"title":"Set Goals And Move Forward","description":"Use this template to build a marketing strategy and keep all details in one place."},"marketing-brief":{"title":"Dream Big, Plan Quarter By Quarter","description":"Use this template to build a marketing plan by quarters."},"content-plan":{"title":"Control And Lead Your Work","description":"Use this template to take everything inside your head to a table where you can visualize all parts and manage tasks."},"integrations":{"title":"Add More Than Just A Link","description":"You can integrate other tools on your page to keep them all in one place and automatically updated."},"google-drive":{"title":"Drive Your Files From Google Drive","description":"You can connect your Google Drive account and insert links to your drive files for quick access."},"google-sheets":{"title":"Minus Google Sheet Tab","description":"Keep your data in one place with other project details to draw conclusions more easily."},"bookmark":{"title":"Mark Your Link With A New Look","description":"Use a bookmark to show the title of your link, a small description and a preview picture of the website."},"audioRec":{"title":"Say It, Don\'t Write it","description":"Add a human touch to your collaboration, recording voice feedback to the content on your page."},"videoRec":{"title":"Show it, Don\'t Write It","description":"Record a visual explanation of what should be done or give explicit feedback with a video example."},"button":{"title":"Came, Saw, Clicked","description":"Add a CTA element that will drag attention to important links on your pages."},"largeheading-toggle":{"title":"Hide More In A Large-Sized Collapsible Heading","description":"Define the most vital part of your page and hide information there for easy access."},"mediumheading-toggle":{"title":"Make Your Sections Shorter","description":"Create sections with a middle-sized collapsible heading and hide part of your content there."},"smallheading-toggle":{"title":"Make Your Subsections Shorter","description":"Create subsections with a small-sized collapsible heading on your pages and hide additional information there."},"database-with-options":{"title":"Oh How The Tables Have Turned","description":"Create a database for your project and customize it by selecting different types of columns and rows, changing background color and more."},"board":{"title":"Welcome Your Tasks On a Board","description":"Display tasks as cards on a Kanban board to get a bird’s eye view."},"progress":{"title":"See How Far You\'ve Come!","description":"Choose your value and estimate it. Rate and comment on your added content, tasks or other activities."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Available for Plus & Team & Business plans","trial":"This is open as a trial Plus feature for you"},"team":{"not-available":"Available for Team & Business plans","trial":"This is open as a trial Team feature for you"},"business2023":{"not-available":"Available for Business plan","trial":"This is open as a trial Business feature for you"}}}'),ua:JSON.parse('{"table":{"common":{"column":"Колонка"},"move_column_cant_split_merged_cells":{"title":"Неможливо перемістити колонку","text":"Не вдається перемістити колонку в об\'єднану клітинку. Від\'єднайте і спробуйте ще раз."},"move_column_cant_move_part_of_merged_cells":{"title":"Неможливо перемістити колонку","text":"Колонка, яку ви намагаєтеся перемістити, містить частину об\'єднаної клітинки. Якщо ви хочете перемістити колонку, спочатку роз\'єднайте клітинки."},"move_column_failed":{"title":"Неможливо перемістити колонку","text":"Виникла несподівана помилка під час переміщення колонки, будь ласка, спробуйте ще раз."},"move_row_cant_split_merged_cells":{"title":"Неможливо перемістити рядок","text":"Не вдається перемістити рядок в об\'єднану клітинку. Від\'єднайте і спробуйте ще раз."},"move_row_cant_move_part_of_merged_cells":{"title":"Неможливо перемістити рядок","text":"Рядок, який ви намагаєтеся перемістити, містить частину об\'єднаної клітинки. Якщо ви хочете перемістити рядок, спочатку роз\'єднайте клітинки."},"move_row_cant_move_in_sortable_table":{"title":"Неможливо перемістити рядок","text":"Не вдається перемістити рядок у відсортованій таблиці. Скасуйте сортування і повторіть спробу."},"move_row_cant_move_in_filtered_table":{"title":"Неможливо перемістити рядок","text":"Неможливо перемістити рядок у відфільтрованій таблиці. Скасуйте фільтр і повторіть спробу."},"move_row_failed":{"title":"Неможливо перемістити рядок","text":"Під час переміщення рядка сталася несподівана помилка, будь ласка, спробуйте ще раз."},"first_move_column_or_row_message":"Ви можете вибрати кілька рядків або колонок, утримуючи кнопку CTRL і клікаючи на потрібні рядки або колонки","menu":{"delete":"Видалити","help":"Допомогти","delete_column":{"one":"Видалити колонку","many":"Видалити {{count}} колонки"},"delete_row":{"one":"Видалити рядок","many":"Видалити {{count}} рядки"},"add":"Додати","add_row_before":{"one":"Рядок вище","many":"{{count}} Рядки вище"},"add_row_after":{"one":"Рядок нижче","many":"{{count}} рядки нижче"},"add_col_before":{"one":"Колонка зліва","many":"{{count}} колонки зліва"},"add_col_after":{"one":"Колонка справа","many":"{{count}} колонки справа"},"copy_cell":{"one":"Скопіювати клітинку","many":"Скопіювати клітинки"},"copy_table":"Скопіювати таблицю","table_layout":{"name":"Розмітка таблиці","column_headings":"Заголовки колонки","row_headings":"Заголовки рядків"},"import_csv":"Імпорт із CSV","merge_cells":"Об\'єднати клітинки","insert_checkbox":"Вставити вибіркове поле","background_color":"Фоновий колір","formatting":"Форматування","clear":"Очистити","reset":"Скинути","divide_cells":"Роз\'єднати клітинки","type":{"name_cell":"Тип клітинки","name_cells":"Тип клітинок","name_column":"Тип колонки","name_columns":"Тип колонок","type_cell":{"one":"Тип клітинки","many":"Тип клітинок"},"type_col":{"one":"Тип колонки","many":"Тип колонок"},"same_as_column":"Те саме, що колонка","reset_cells":"Скинути клітинки до значень за замовчуванням","none":"Багатофункціональний тип","text":"Текст","textline":"Текст","number":"Число","attachment":"Файли","checkbox":"Вибіркове поле","multiselect":"Кілька варіантів вибору","singleselect":"Один вибір","collaborator":"Відповідальний","currency":"Валюта","date":"Дата","link":"Посилання","rating":"Оцінка","progress":"Прогрес","mention":"Згадка"},"number_format":{"name":"Формат числа","number":"Число","commas":"Число з комами","percent":"Відсоток"},"currency_format":{"name":"Тип валюти","dollar":"Долар","euro":"Євро","yen":"Єна","yuan":"Юань","rouble":"Рубль","pound":"Фунт","rupee":"Рупія","hryvnia":"Гривня","won":"Вон","frank":"Франк","real":"Реал","other":"Інша","stick":"Показати символ","before":"До","after":"Після"},"decimal_format":{"name":"Роздільник десяткової частини","comma":"Кома","point":"Крапка","hint":"Роздільник використовується для десяткових знаків. Роздільники десяткових частин з комою виглядатимуть ось так 1000,99, а крапкові роздільники так 1000.99"},"progress_format":{"name":"Варіанти прогресу","simple":"Простий","colored":"Кольоровий","start_from":"Почати із(0-100)","default_amount":"Кількість за замовчуванням(0-100)"},"rating_format":{"name":"Варіанти оцінки","star":"Зірка","flag":"Прапорець","heart":"Сердечко","amount":"Кількість(1-10)"},"date_format":{"name":"Формат Дата/Час"},"mention_panel":{"open":"Відкрити","edit":"Редагувати","clear":"Очистити"},"color_numbers":{"name":"Кольорові номери","enable":"Увімкнути кольорові номери"},"filter":"Фільтр","comment":"Коментар"},"formatting_menu":{"align_left":"Зліва","align_center":"По центру","align_right":"Справа","valign_top":"Зверху","valign_center":"Посередині","valign_bottom":"Внизу","text":"Текст","text_align":"Вирівнювання тексту","text_color":"Колір тексту","bold":"Жирний","italic":"Курсив","strikethrough":"Закреслити","underline":"Підкреслити"},"col_menu":{"add_column_after":{"one":"Додати колонку справа","many":"Додати{{count}} колонок справа"},"add_column_before":{"one":"Додати колонку зліва","many":"Додати {{count}} колонок зліва"},"duplicate_column":{"one":"Дублювати колонку","many":"Дублювати колонки"},"rename":"Перейменувати"},"row_menu":{"add_row_after":{"one":"Додати рядок знизу","many":"Додати{{count}} рядки знизу"},"add_row_before":{"one":"Додати рядок зверху","many":"Додати {{count}} рядки зверху"}},"warning":{"merge_different":"Неможливо об\'єднати різні типи об\'єктів","convert_merged":"Не вдається перетворити об\'єднані клітинки"},"select":{"create_list":"Введіть текст, щоб створити список","create_item":"Введіть текст, щоб створити об\'єкт","create_option":"Введіть текст, щоб створити варіант","create_label":"Введіть текст","create":"Створити","delete":"Видалити"},"attachment":{"upload_more":"Завантажити файл(и)","downloading":"Скачати"},"collaborator":{"placeholder":"Введіть текст, щоб додати людей","no_result":"Немає результатів","loading":"Завантаження...","unknown":"Невідома особа"},"checkbox":{"checked":"Так","not_checked":"Ні"},"sorting":{"name":"Сортування","sort":"Сортувати","disable":"Прибрати сортування","change":"Клікніть, щоб змінити","asc":{"common":"За зростанням","text":"Сортувати від А до Я","number":"Сортувати від 1 до 9","checkbox":"Невибране спершу"},"desc":{"common":"За спаданням","text":"Сортувати від Я до А","number":"Сортувати від 9 до 1","checkbox":"Вибране спершу"},"warning":{"column_merged":{"title":"Неможливо відсортувати колонку","text":"Неможливо відсортувати колонку з об\'єднаними клітинками"},"table_rowspan":{"title":"Неможливо відсортувати колонку","text":"Не вдається відсортувати таблицю з об\'єднаними рядками"},"merge":{"title":"Клітинки не можна об\'єднати","text":"Неможливо об\'єднати клітинки, коли активне сортування у колонках. Вимкніть сортування і спробуйте ще раз."},"different_currencies":{"title":"Важливо!","text":"Ви використовуєте різні валюти в одній колонці. Сортування може бути некоректним."}},"exit_dialog":{"title":"Прибрати сортування","toggle":"Залишити сортування","text_keep":"Залишити сортування","text_no_keep":"Перед сортуванням порядок колонок буде відновлено до початкового","apply":"Застосувати"}},"filter":{"by_field":"Фільтрувати за цим полем","empty_table":"Всі записи відфільтровано","popup_title":"У цій таблиці показувати записи","empty_filters":"До цієї бази даних не застосовуються жодні умови","where":"Де","or":"Або","and":"І","add_condition":"Додати умову","clear_all":"Очистити все","contains":"містить","is":"є","is_not":"не є","contains_not":"містить не","has_any_of":"має деякі","has_none_of":"немає жодних","empty":"пустий","not_empty":"не пустий","filetype":"тип файлу","select_users_placeholder":"Вибрати користувачів","type_text_placeholder":"Ввести текст","type_text_or_select_placeholder":"Ввести текст або вибрати","type_number_placeholder":"Тип цифри","select_type_placeholder":"Вибрати тип","select_date_placeholder":"Вибрати дату","date":{"today":"Сьогодні","yesterday":"Вчора","tomorrow":"Завтра","custom":"Індивідуальний"},"filetypes":{"images":"Зображення","documents":"Документи","media":"Медіа","other":"Інше"},"warning":{"cells_merged":{"title":"Неможливо відфільтрувати таблицю","text":"Неможливо відфільтрувати колонку з об\'єднаними клітинками"},"merge":{"title":"Клітинки не можна об\'єднати","text":"Клітинки не можна об\'єднати, поки активний фільтр таблиці. Вимкніть фільтр і спробуйте ще раз."},"column_multitype":{"title":"Неможливо відфільтрувати таблицю","text":"Немає можливості фільтрувати стовпці з багатофункціональним типом. Будь ласка, спробуйте перетворити в інший тип і спробуйте ще раз."},"table_not_have_typed_columns":{"title":"Неможливо відфільтрувати таблицю","text":"Немає колонок для фільтрації."}},"enable_filter":"Увімкнути фільтр","disable_filter":"Вимкнути фільтр"},"wrap_cells":{"layout_menu":"Згорнути клітинки","warnings":{"merge":{"title":"Неможливо об\'єднати клітинки","text":"Неможливо об\'єднати клітинки в режимі незгортання"},"toggle":{"title":"Не вдається переключити опцію","text":"Таблиця містить об\'єднані клітинки"}}},"duplicate_column":{"title":"Дублювати колонку","text_1":"Дублювати вміст колонки","text_2":"Ви можете продублювати всю колонку з даними або залишити дублікат пустим","accept":"Дублювати","copy":"копіювати"},"convert_column":{"title":"Змінити тип колонки","text_before":"Ця колонка містить значення. Зміна типу колонки призведе до видалення деяких значень. Застосувати","text_cmd":"Скасувати","text_after":"команда для відміни змін, якщо потрібно.","accept":"Змінити тип"},"merge_cells_with_comments":{"title":"Merging cells","text":"The cells will be merged from left to right and the new cell will show a comment from the left cell.","accept":"Merge"},"summary":{"layout_menu":"Показати панель розрахунків","name":{"none":"Жодної","all":"Всі","empty":"Пусті","fill":"Заповнені","unique":"Унікальні","empty_percent":"Відсоток пустих","fill_percent":"Відсоток заповнених","unique_percent":"Відсоток унікальних","sum":"Сума","average":"Середнє","min":"Мін","max":"Макс","median":"Медіанне значення","min_date":"Найдавніша дата","max_date":"Найновіша дата","range_days":"Діапазон дат (дні)","range_month":"Діапазон дат (місяці)","checked":"Відмічено","unchecked":"Невідмічено","checked_percent":"Відсоток відмічених","unchecked_percent":"Відсоток невідмічених","filter_rating":"Із оцінкою:","filter_progress":"Із прогресом:","filesize_min":"Мін розмір","filesize_max":"Макс розмір"},"item":{"none":"Порахувати","min_date":"Найдавніша","max_date":"Найновіша","range_days":"Діапазон(день)","range_month":"Діапазон (місяць)","checked_percent":"Відмічено","unchecked_percent":"Невідмічено","filter_rating":"Із оцінкою","filter_progress":"Із прогресом"}},"comments":{"tooltip":{"one":"Comment","more":"Comments"}}},"file":{"image_viewer":{"could_not_load_image":"Неможливо завантажити зображення"},"download_file":"Скачати {{name}}","listen_file":"Грати {{name}}","stop_file":"Зупинити {{name}}","uploading":"Завантажити","wrtc":{"how_to_fix":"Як це виправити?","how_to_url":"https://nimbusweb.me/s/share/5441210/4qccr41slk6wsw61h5fb","how_to_url2":"https://nimbusweb.me/s/share/5607239/l55bgak2ivs9bfptruka#b1995924032_670","rec_err_au":"Помилка запису. Немає доступу до мікрофона.","rec_err_vi":"Помилка запису. Немає доступу до мікрофона/вебкамери. ","allow_micro":"Дозволити доступ до мікрофона","allow_media":"Виберіть вікно, яке хочете записати","select_opt":"Що буде записано","screenonly":"Тільки екран","camonly":"Тільки камера","screencam":"Екран + Камера","enable_micro":"Увімкнути мікрофон","startRecording":"Почати запис","stopRecording":"Зупинити запис","pauseRecording":"Призупинити запис","resumeRecording":"Продовжити запис","cancelRecording":"Скасувати запис","confirmCancel":"Ви впевнені, що хочете скасувати відеозапис?","cancel":"Скасувати","prepareUpload":"Будь ласка, зачекайте, запис готується до завантаження","hasTmpRecord":"Запис було перервано, але не втрачено","restore":"Відновити","delete":"Видалити","recordOnAnotherDevice":"Йде запис на іншому пристрої ..."},"menu":{"enabled":"Увімкнути","disabled":"Вимкнути","open_in_new_tab":"Відкрити у новій вкладці","copy_link":"Скопіювати посилання до файлу","expand_in_full_window":"Розгорнути у повному вікні","autoplay":"Автовідтворення","sound_default":"Звук за замовчуванням","sound_loop":"Цикл","sound_hideControls":"Сховати елементи керування","sound_showPanel":"Показати верхню панель","shadow_video":"Тінь для відео","video_params":"Налаштування відео","disallow_download":"Скачування","for_note":"Для користувачів просторів","for_share":"Зовнішня сторінка","motion_video":"Моушн відео","preview_video":"Змінити попередній перегляд","preview_video_btn":"Попередній перегляд","print":"Роздрукувати","convert_to_image":"Перетворити на зображення","convert_to_file":"Перетворити на файл","style":"Стиль","shadow_image":"Тінь для зображення","rename":"Перейменувати","replace":"Замінити","delete":"Видалити","download":"Скачати","get_text_from_image":"Отримати текст із зображення","view_as":"Переглянути як","single_page":"Одна сторінка","all_pages":"Всі сторінки","cta_motion_video_message":"Заклик до дії ввімкнено для відео. Ви не можете використовувати заклик до дії та моушн відео одночасно. Вимкніть заклик до дії і спробуйте ввімкнути моушн відео знову.","cta_loop_message":"Заклик до дії ввімкнено для відео. Ви не можете використовувати заклик до дії та цикл одночасно. Вимкніть заклик до дії і спробуйте ввімкнути цикл знову.","grid":"Сітка","cta_drop_in_grid":"Заклик до дії ввімкнено для відео. Рекомендуємо перевірити коректність відображення заклика до дії після перенесення відео в колонку сітки.","cta_exists_in_grid":"У колонці сітки є відео з активним закликом до дії. Будь ласка, перевірте його коректність після переходу."},"downloading":"Скачування","attachment_not_found_error":"Помилка під час завантаження","pdf_viewer":{"initializing_full_window_view":"Ініціалізація повноекранного перегляду","preparing_document_for_printing":"Підготовка документа до друку...","printing_initialization":"Ініціалізація друку...","abort":"перервати","set_page_as_default":"Установити сторінку за замовчуванням","unset_page_as_default":"Сторінка за замовчуванням. Натисніть, щоб зробити сторінку звичайною."},"video_just_uploaded_codec_error":"Ви намагаєтеся завантажити відео, яке було закодовано кодеком {codec}. Ми не гарантуємо коректне відтворення цього відео у всіх браузерах. Ми рекомендуємо конвертувати відео в інший формат і завантажити його знову.","video_codec_error":"Це відео закодовано кодеком {codec}, який не підтримується вашим браузером.","safari_webm_not_support":"Наразі браузери Safari не підтримують формат WEBM. Спробуйте відкрити сторінку в іншому браузері, наприклад, Google Chrome або Mozilla Firefox.","video_transcribe":"Транскрипт","video_summary":"Сводка","video_meeting_notes":"Заметки с встречи","video_ask_ai":"Спросить AI"},"image":{"text_from_image_popup":{"title":"Текст із зображення","no_text":"Немає тексту","copy":"Скопіювати ввесь текст"},"unknown_error":"Посилання неправильне","add_image":"Вставте посилання на зображення або ","add_image_or":"або","add_image_small":"Вставте або ","browse":"шукати","browse_image":"Шукати зображення","too_large_error":"Завеликий розмір зображення","image_info_dialog":{"title":"Інформація про зображення","type":"Тип","size":"Розмір","location":"Розташування","copy_link":"Скопіювати посилання"},"rotate_wait":{"full":"Будь ласка, зачекайте","medium":"Зачекайте"},"attachment_not_found_error":"Виникла несподівана помилка із зображенням","readonly_placeholder":"Пусте зображення","unsplash":{"name":"Unsplash","header":"Виберіть картинку","placeholder":"Пошук зображення","search":"Пошук","description":"Виконайте пошук, щоб знайти більше результатів.","no_result":"Зображення не знайдено.","caption_preffix":"Автор"},"comments":"Comments"},"attachment":{"unknown_error":"Щось пішло не так, спробуйте вибрати інший файл","attachment_is_being_uploaded":"Файл завантажується на інший пристрій...","attachment_will_be_downloaded_online":"Файл завантажиться, коли ви будете онлайн.","attachment_preview_is_not_available":"Попередній перегляд недоступний.","choose_a_file":"Вибрати файли","wait_resolving_without_info":"Будь ласка, зачекайте..."},"video":{"player":{"play":"Відтворити","pause":"Зупинити","volume":"Звук","fullscreen_on":"На увесь екран","fullscreen_off":"Вийти із повноекранного режиму","watch_again":"Переглянути знову"}},"search":{"placeholder":"Знайти у сторінці","matches":"Відповідає:"},"copy":{"copied":"Скопійовано!","copy_to_clipboard":"Скопіювати в буфер обміну"},"apply":"Застосувати","done":"Готово","block_menu":{"align":{"left":"Вирівняти по лівому краю","center":"Вирівняти по центру","right":"Вирівняти по правому краю","justify":"Виправдати"},"indent":{"indent":"Збільшити відступ","outdent":"Зменшити відступ"},"tooltip":"Перетягніть, щоб перемістити\\n<span>Клікніть, щоб відкрити меню</span>","copy_tooltip":"Скопіювати посилання","color":{"background_color":"Фоновий колір","color":"Колір","line_color":"Колір лінії","line_type":"Тип лінії","player_color":"Колір програвача"},"line_type":{"default":"Звичайна лінія","dotted":"Пунктирна"},"add":{"name":"Додати блок","above":"Зверху","below":"Знизу","left":"Зліва","right":"Справа","above_column":"Вище колонки","below_column":"Нижче колонки"},"convert_to":{"name":"Конвертувати до","to_do_list":"Чек-лист","number_list":"Пронумерований список","bullet_list":"Маркований список","paragraph":"Абзац","large_heading":"Заголовок H1","medium_heading":"Заголовок H2","small_heading":"Заголовок H3","large_heading_toggle":"Заголовок, що згортається H1","medium_heading_toggle":"Заголовок, що згортається H2","small_heading_toggle":"Заголовок, що згортається H3","code":"Код","quote":"Цитата","hint":"Підказка","image":"Зображення","file":"Файл","remote_frame":"Вставка","link":"Посилання","bookmark":"Закладка","button":"Кнопка","toggle":"Блок, що згортається","step":"Steps"},"comment_block":"Коментар","edit":"Редагувати","duplicate":"Дублювати","copy_block":"Копіювати блок","copy_blocks":"Копіювати блоки","copy_link":"Копіювати посилання","delete":"Видалити","replace":"Замінити","blot_lock":"Замкнути блок","blot_unlock":"Відкрити блок","set_as_preview":"Встановити для попереднього перегляду","get_text_from_image":"Отримати текст із зображення","edit_image":"Редагувати зображення","download":"Скачати","view_full_size":"Переглянути в повному розмірі","open_in_new_tab":"Відкрити в новій вкладці","image_info":"Інформацію про зображення","rotate_image":"Покрутити","add_sub_task":"Додати підзадачу","add_sub_text":"Додати підтекст","layout":"Розмітка","embed_align":{"left":"Вирівняти по лівому краю","center":"Вирівняти по центру","right":"Вирівняти по правому краю","default":"Розмір за замовчуванням","full_width":"На всю ширину"},"expand_all":"Розгорнути повністю","collapse_all":"Згорнути повністю","add_caption":"Додати підпис","blot_locked_admin":"Редагування блоку заборонено. Натисніть, щоб дозволити.","blot_locked_admins":"Редагування блоків заборонено. Натисніть, щоб дозволити.","blot_locked_user":"Ви не маєте права редагувати цей блок. Зверніться до адміністратора вашої організації.","show_header":"Показати верхню панель","show_borders":"Показати межі","rename":"Перейменувати"},"convert_menu_groups":{"suggestions":"Рекомендації","basic":"Основні","advanced":"Просунуті","media":"Медіа","embed":"Інтерграції","views":"Види","templates":"Шаблони","helpful_links":"Корисні посилання"},"embedded_menu":{"start_typing":"Введіть \\"/\\" або додайте","start_typing_full":"Почніть писати або введіть \\"/\\", \\"@\\"","more_items":"Більше позицій...","add_an_element":"Додати елемент","paragraph":"Абзац","todo":"Список чек-лист","numbered_list":" Нумерований список","bullet_list":"Маркований список","table":"Таблиця","image":"Зображення","file":"Файл","audioRec":"Запис аудіо","videoRec":"Запис відео","recordExist":" Ви не можете почати новий запис, поки не завершиться попередній. Завершіть або видаліть попередній запис, щоб почати новий.","large_heading":"Заголовок H1","medium_heading":"Заголовок H2","small_heading":"Заголовок H3","large_heading_toggle":"Заголовок, що згортається H1","medium_heading_toggle":"Заголовок, що згортається H2","small_heading_toggle":"Заголовок, що згортається H3","section_break":"Лінія","link":"Посилання","code":"Код","quote":"Цитата","hint":"Підказка","hint_placeholder":"Напишіть щось","mention":"Згадати учасника","outline":"Зміст","remote_frame":"Вставка: Посилання, iFrame, JS-код","integrations":"Інтеграції","google_drive":"Google Drive","google_sheets":"Google sheets","html":"HTML","toggle":"Блок, що згортається","tasks_list":"Список задач","lock_blot":"Замкнути блок","link_page":"Перелінкувати сторінки / Створити","date":"Дата","more_integrations":"більше інтеграцій","two_columns":"2 колонки","meeting_notes":"Marketing Strategy","marketing_brief":"Marketing Quarterly PlanningВ ","content_plan":"Content plan","more_templates":"більше шаблонів","get_feedback":"Отримати відгук","contact_support":"Зв’язатися із підтримкою","learn_nimbus":"Дізнатися про Nimbus","footer_top":" А ви знали, що можете почати вводити текст, щоб здійснити пошук у списку","footer_bottom":"Не можете знайти що шукаєте?","footer_link":"Поділіться з нами","add_note":"Нова сторінка","database_with_options":"База даних","board":"Kanban / Дошка задач","progress":"Прогрес","dropdown_list":"Список, що випадає","uploader":"File uploader","use_ai":"Use Fusebase AI","helper":"AI помічник","summarize":"Підсумувати","explain":"Пояснити","improve":"Поліпшити","spelling":"Виправити правопис і граматику","cta":"Заклик до дії","shorter":"Зробити коротше","longer":"Зробити довше","step":"Steps"},"button":{"title":"Назва","id_info_tooltip":" Цей ідентифікатор можна використовувати в майбутньому при редагуванні CSS-файлу.","address":"URL-адреса або електронна пошта","open_in_new_tab":"Відкрити у новій вкладці","shape":" Форма кнопки","background":"Фон","size":"Розмір кнопки","small":"Малий","medium":"Середній","big":"Великий","cancel":"Скасувати","done":"Готово","length_error":" Текст завеликий для кнопки. Спробуйте вибрати менший (не більше 50 символів).","type":"Вид кнопки","default":"За завмовчуванням","withShadow":"Кнопка з тінню","3d":"3D кнопка","convert":{"popup_title":"Перетворити у кнопку"}},"link":{"open":"Відкрити","send":"Надіслати","copy":"Скопіювати","edit":"Редагувати","remove":"Прибрати","text_label":"Текст","url_label":"Посилання","email_label":"Адреса електронної пошти","copied":" Посилання скопійовано в буфер обміну","cancel":"Скасувати","done":"Готово"},"syntax":{"menu":{"language":"Мова","theme":"Тема","wrap":"Увімкнути згортання","unwrap":"Вимкнути згортання","lineNumbersOn":" Показати номери рядків","lineNumbersOff":" Сховати номери рядків"},"convert":{"popup_title":"Перетворити у код","blots_have_comments":"У тексті є коментарі, які будуть видалені під час конвертації.","text_has_inline_comments":"Всередині тексту є коментарі, які будуть видалені під час конвертації.","confirm":"Конвертувати"}},"list":{"list_style":"Стиль списку","type_default":"За завмовчуванням","type_rectangle":"Прямокутник","type_star":"Зірка","type_dart":"Дротик","type_rounded":"Заокруглення","type_arrow":"Стрілка","type_diamond":"Діамант"},"caption":{"placeholder":"Додати підпис"},"mention":{"show_all":"Показати все","show_all_users":"Показати все","placeholder":" Показати нещодавні або ввести для пошуку","user":"Люди","workspace":"Простори","folder":"Папки","note":"Сторінки","no_results":"Немає результатів","offline_message":" Згадка працює лише при активному з\'єднанні. Увімкніть Інтернет і спробуйте ще раз.","info":{"note":{"one":"сторінка","some":"сторінок","many":"сторінок"},"subfolder":{"one":"підпапка","some":"підпапок","many":"підпапок"},"member":{"one":"учасник","some":"учасників","many":"учасників"},"owner":"власник","loading":"Завантаження попереднього перегляду...","loading_failed":"Не вдалося завантажити","not_loaded":"Сторінка ще не завантажилася"},"back_button":"Назад","create_note_for":"Створити сторінку:","create_folder_for":"Створити папку:"},"calendar":{"ui":{"date":"Дата","am":"AM","pm":"PM","date_format":"Формат дати","show_time":"Показати час","time_format":"Формат часу","time_12":"12год","time_24":"24год","first_week_day":"Перший день тижня","time_zone":"Часовий пояс","use_gmt":"Застосувати GMT для всіх учасників","use_gmt_hint":"Застосувати однаковий часовий пояс (GMT) для всіх учасників","table":{"clear":"Очистити"},"inline":{"clear":"Видалити"},"reminder":{"name":"Нагадування","panel_name":" Нагадування","push_name":" Нагадування про подію","remove_confirm_message":" У вас є нагадування з прив\'язкою до часу. Ви хочете видалити ці нагадування?","remove_confirm_text":"Видалити","remove_cancel_text":"Не видаляти нагадування","before_period":"До","after_period":"Після","period":{"m":{"one":"хвилина","many":"хвилин"},"h":{"one":"година","many":"годин"},"d":{"one":"день","many":"днів"},"w":{"one":"тиждень","many":"тижнів"}},"value":{"none":"Жодного","0m":"На початку","1m":"За 1 хвилину до","5m":"За 5 хвилин до","10m":"За 10 хвилин до","15m":"За 15 хвилин до","30m":"За 30 хвилин до","1h":"За 1 годину до","2h":"За 2 години до","1d":"За 1 день до","2d":"За 2 дні до","7d":"За 7 днів до","10d":"За 10 днів до","14d":"За 14 днів до","custom":"Індивідуально"},"until":{"in":"в","d":"д","h":"г","m":"хв","already_been":"Вже було","less_minute":"Менш ніж за хвилину","now":"Зараз"}},"postfix":{"day":"д","month":"м"}},"insert":{"category_name":"Дата","custom":"Інша","now":"Зараз","today":"Сьогодні","tomorrow":"Завтра"},"date_format":{"ddmmyyyy":"дд/мм/рік","mmddyyyy":"мм/дд/рік","yyyyddmm":"рік/мм/дд","monthddyyyy":"Місяць дд, рік","default":"Згідно з форматом браузера"},"months":{"0":"Січень","1":"Лютий","2":"Березень","3":"Квітень","4":"Травень","5":"Червень","6":"Липень","7":"Серпень","8":"Вересень","9":"Жовтень","10":"Листопад","11":"Грудень"},"days":{"short":{"0":"Нд","1":"Пн","2":"Вт","3":"Ср","4":"Чт","5":"Пт","6":"Сб"},"full":{"0":"неділя","1":"понеділок","2":"вівторок","3":"середа","4":"четвер","5":"п’ятниця","6":"субота"}}},"content_not_supported":" Ця сторінка не підтримується у вашій версії програми FuseBase. Спробуйте оновити її або використайте інший клієнт з останньою версією.","profession_ask":{"title":" Збережіть час, використовуйте шаблони для створення нових сторінок ","text":"Введіть свою професію, і наша команда створить для вас шаблони. Це безкоштовно, без жодних прихованих платежів","i_am_a":"Я","placeholder":" наприклад, дизайнер, вчитель, торговий агент тощо","request_template":"Створити запит на шаблон","sucess_message":" Дякую! Ваш запит буде додано до черги."},"bookmark":{"name":"Закладка","edit":"Редагувати закладку","title":"Назва","address":"Адреса","description":"Опис","placeholder":"Вставте або напишіть посилання з https://...","placeholder_mobile":" Вставте або напишіть посилання","loading_preview":"Завантаження попереднього перегляду¦","block_menu":{"change_mode":{"menu_name":"Переглянути як","mode_tile":"Назва","mode_card":"Картка","mode_cover":"Обкладинка"},"change_preview":"Змінити попередній перегляд","delete_preview":"Видалити попередній перегляд","reset_preview":"Перевстановити попередній перегляд","change_preview_background":"Попереднього переглянути фон","options":{"menu_name":"Варіанти","open_in_same_tab":" Відкрити в тій самій вкладці"}},"error":{"unknown_error":" Щось пішло не так, спробуйте ввести іншу URL-адресу","preview_notfound":" Попередній перегляд не знайдено"},"upload":{"new_preview":"Завантажити нове","quota_error":"Розмір файлу перевищує дозволені 3 МБ. Спробуйте інший файл.","unknown_error":"Невідома помилка. Спробуйте інший файл."}},"businessCard":{"PERSON":"Ім’я","ORGANIZATION":"Компанія","TITLE":"Назва","ADDRESS":"Посада","URL":"Вебсайт","PHONE":"Номер телефону","EMAIL":"Електронна адреса","SKYPE":"Skype","TWITTER":"Twitter","INSTAGRAM":"Instagram","FACEBOOK":"Facebook","LINKEDIN":"LinkedIn","VK":"Vk"},"dialog_common":{"button":{"ok":"Ok","cancel":"Відмінити"}},"outline":{"default_name":"Зміст","menu":{"expand":"Розгорнути","collapse":"Згорнути","rename":"Перейменувати"},"context_menu":{"convert_to":{"text":"Текст"},"style":{"name":"Стиль змісту","list_only":"Тільки список","numbered_list":"Нумерований список","bordered":"Показати межу","border_color":"Колір межі"}},"empty":"Додайте заголовки на свою сторінку, і вони з\'являться тут у вигляді посилань"},"floating_toolbar":{"bold":"Жирний","italic":"Курсив","underline":"Підкреслити","strikethrough":"Закреслити","clear":"Прибрати форматування","code":"Код","button":"Кнопка","link":"Посилання","highlight":"Виділити","extraHighlight":"Мітки для текстів","color":"Розфарбувати та виділити","text":"Текст","clear_all":"Очистити все","placeholder":"Заповнювач","adapts":{"dark":" Адаптується до темної теми","light":" Адаптується до світлої теми"},"create_note":"Створити сторінку","add_comment":"Додати коментар"},"remote_frame":{"placeholder_small":"Вкласти URL-адресу","placeholder_full":"Вставте будь-яку URL-адресу, наприклад, YouTube, Github, Maps, Twitter, тощо","loading":"Завантаження...","context_menu":{"change_link":"Змінити посилання","full_size":" На весь екран","reset_size":"Скинути розмір","open_origin":"Відкрити оригінал","layout":"Розмітка","show_toolbar":"Показати панель інструментів редагування","copy_original":"Copy link to original"},"error":{"is_not_link":"Посилання або код неправильні","content_error":" Ця URL-адреса не підтримується або недійсна. <a href=\\"https://nimbusweb.me/contact-us.php\\" target=\\"_blank\\">Зв’яжіться з нами </a> якщо ви вважаєте, що цю URL-адресу можна вкласти.","unknown_error":" Щось пішло не так, спробуйте ввести іншу URL-адресу","wrong_signature":" Цей вміст пошкоджений і не може бути відображений","google_docs_auth_error":" Швидше за все, ви не можете вставити файл Google Docs/Sheets/Slides, тому що у вас немає до нього доступу. <a href=\\"http://nimb.ws/EkX87M\\" target=\\"_blank\\"> Будь ласка, прочитайте наш гайд.</a>","internal_link_error":"{{serviceName}} заборонив переходити за внутрішніми посиланнями. Натисніть на кнопку Назад, щоб повернутися на попередню сторінку."},"convert_bookmark":"Перетворити у закладку","convert_link":"Перетворити у посилання","back_button":"Назад"},"google_drive":{"block_name":"Google Drive","loading":"Завантаження...","menu":{"expand":"Розгорнути","collapse":"Згорнути","open_origin":"Відкрити в Google Drive","download":"Скачати","change_account":"Змінити обліковий запис","choose_another_file":"Вибрати інший файл"},"last_modified":"Востаннє змінено {{userName}} {{time}} тому","browse":"Шукати файл","login":"Увійдіть за допомогою Google","login_text":"Переглядайте та додавайте файли з Google Диску"},"html":{"default_name":"HTML","loading":"Завантаження...","menu":{"open_source":"Відкрити посилання на джерело","export_blot":"Зберегти HTML"},"unknown_error":"Невідома помилка","device_cant_display_content":"Ваш пристрій не може відобразити цей вміст","wrong_signature":"Цей вміст пошкоджений і не відображається"},"relative_time":{"seconds":{"one":"{{count}} секунда","some":"{{count}} секунд","many":"{{count}} секунд"},"minutes":{"one":"{{count}} хвилина","some":"{{count}} хвилин","many":"{{count}} хвилин"},"hours":{"one":"{{count}} година","some":"{{count}} годин","many":"{{count}} годин"},"days":{"one":"{{count}} день","some":"{{count}} днів","many":"{{count}} днів"},"months":{"one":"{{count}} місяць","some":"{{count}} місяців","many":"{{count}} місяців"},"years":{"one":"{{count}} рік","some":"{{count}} років","many":"{{count}} років"}},"collapsible_content":{"menu":{"expand":"Розгорнути","collapse":"Згорнути","rename":"Перейменувати"}},"convert_link":{"url":"URL-адреса","title":"Назва","embed":"Вкладка","bookmark":"Закладка","button":"Кнопка","link_to_note":"Посилання на сторінку","link_to_folder":"Посилання на папку","link_to_workspace":"Посилання на простір","convert_error":"Виникла помилка при перетворенні URL-адреси"},"fullwidth":{"menu_item":"На всю ширину"},"resizeable":{"point_tooltip":{"default":"Змінити розмір","bottom-right":" Змінити розмір\\n(натисніть і утримуйте клавішу {{altKey}} для зміни розміру)"}},"toggle":{"placeholder":"Натисніть тут, щоб створити або перемістити блок","expand":"Розгорнути блок","collapse":"Згорнути блок","expand_heading":"Розгорнути заголовок","collapse_heading":"Згорнути заголовок","expand_step":"Expand step","collapse_step":"Collapse step"},"step":{"content_placeholder":"Click here to create description to the step","title_placeholder":"Enter a short title to describe this step","aggregator_placeholder":"Enter a short descriptive title","menu":{"step_layout":{"name":"Layout","show_number":"Show number","show_arrow":"Show arrow","show_border":"Show border"}}},"tasks_list":{"not_supported":"Наразі ми не можемо відобразити список задач, оскільки він не підтримується в цьому типі сторінок.","menu":{"show_title":"Show task list name","view":"Default view","task_list_view":"Task list","calendar_view":"Calendar","kanban_view":"Kanban"}},"board":{"not_supported":"Наразі ми не можемо відобразити дошку задач, оскільки вона не підтримується в цьому типі сторінок.","menu":{"add_new_column":"Нова колонка","board_layout":{"name":"Розмітка","show_add_new_column":"Показати Додати колонку"}}},"empty_features":{"use_template":"Використати шаблон","import":"Імпортувати","add_database":"Додати базу даних","add_database_with_options":"Додати базу даних із опціями","add_board":"Kanban / Дошка задач","use_ai":"Use Fusebase AI"},"ai_manager":{"generate_error":"Unfortunately, there are no results for your request. Please try another request.","unload_message":"Fusebase AI content is being generated. Are you sure you want to exit?","unknown_error":"Unknown error. Try again later or contact support.","dialog":{"title":"Discard draft","body":"Do you want to discard draft?","accept":"Yes, discard"}},"uploader":{"header":"Upload files","description":"Here, you can add some helpful information about file uploading","dropzone_full":"Drag file(s) here or","browse":"click to upload","dropzone_compact":"Add more files","uploading_progress":"Uploading {{progress}}%","uploading_files":"Uploading files","counter":"{{current}} of {{total}}","timer":"less than 1 minute remaining","header_placeholder":"Write a title, max {{maxChars}} characters","description_placeholder":"Write a description, max {{maxChars}} characters","errors":{"network":"Failed uploading file","too_big":"File is too big"},"menu":{"disallow_download":"Downloading","for_note":"For workspaces users","for_share":"Public page","convert_to_files":"Convert to files","allow_upload":"Uploading","enable_in_public_page":"Enable in public page"}},"convert_menu_tooltips":{"labels":{"management":" Підходить для управління знаннями","collaboration":"Підходить для взаємодії"},"paragraph":{"title":"Найкраще для найважливішого","description":" Це основний блок для написання контенту сторінки."},"todo":{"title":"Список для дрібних задач? Сюди!","description":"Записуйте невеликі доручення та рутинні завдання, які потрібно виконати."},"numberedlist":{"title":" Шикуймося: раз, два, три!","description":" Зробіть свій контент зручним для читання та показуйте його у вигляді списку."},"bulletlist":{"title":"Зробіть все зрозумілішим","description":"Ви можете створити список, який буде виділятися серед іншого контенту."},"table":{"title":"Форматуйте з радістю","description":" Організуйте інформацію в таблицю, щоб отримати цілісне уявлення про роботу."},"image":{"title":"Нам потрібно це побачити!Додайте зображення","description":" Зробіть свої сторінки привабливішими. Додавайте зображення будь-якого типу, переміщуйте їх і змінюйте розмір."},"file":{"title":" Файли тут, файли там, файли всюди!","description":" Створіть базу даних для вашого проєкту. Додайте на сторінку файли з різними типами розширень."},"largeheading":{"title":"Найкраще для основних розділів сторінки","description":" Це найбільший заголовок, який ви можете додати. Приверніть увагу до найважливої частини вашої сторінки та полегшіть навігацію."},"mediumheading":{"title":"Найкраще для другорядної інформації","description":"Це заголовок середнього розміру, який ви можете додати. За допомогою нього ви можете розділити сторінку на розділи і легко знайти те, що вам потрібно."},"smallheading":{"title":" Найкраще для чудових ідей у підсекціях","description":" Це найменший за розміром заголовок, який ви можете додати, але він все одно виділяється. Використовуйте його, щоб розділити сторінку на підсекції."},"tasks-list":{"title":"Організуйте свою роботу із задачами","description":"Тут ви можете групувати задачі в списки задач. Призначайте задачі учасникам, встановлюйте дедлайни та додавайте статуси для легкого відстеження."},"hline":{"title":"Проведімо лінію","description":"Відокремлюйте різні частини проєкту або розмежовуйте приклади та ідеї для нього."},"link":{"title":"Залиште посилання","description":"Щоразу, коли у вас з\'являється ідея для проєкту, додайте посилання на неї і дайте їй назву."},"syntax":{"title":"Не забувайте про код","description":"Ви можете додавати код прямо на своїй сторінці, перемикатися між темами, мовами тощо!"},"link-page":{"title":"Наступна зупинка - інша сторінка","description":"Посилайтесь на іншу сторінку, пов\'язану з проєктом, і легко переходьте на неї."},"date":{"title":"Просто скажіть коли","description":"Встановіть дедлайн для проєкту або позначте точний час, коли ви почали працювати над сторінкою."},"mention":{"title":"Залучайте свою команду","description":"Учасники вашої команди отримуватимуть сповіщення на електронну пошту, щоб відкрити певну сторінку та працювати на ній."},"blockquote":{"title":"І я цитую","description":"Ви можете виділити важливі слова ваших клієнтів або позначити мотиваційну фразу."},"hint":{"title":"Дайте підказку","description":"Виберіть емодзі та колір фону, щоб виділити попередження, застереження або сповіщення на сторінці."},"toggle":{"title":"Заховайте ваші блоки","description":"Сортуйте та приховуйте додаткову інформацію на сторінках для легшої навігації та доступу."},"outline":{"title":"Перегляньте, що чекає на вас","description":"Створіть зміст для зручної навігації на довгих сторінках або вікі."},"lock-blot":{"title":"Не для редагування","description":"Ви можете залишити певні інформаційні блоки на своїй сторінці лише для читання."},"embed":{"title":"Більше, ніж просто посилання","description":"Ви можете інтегрувати різні інструменти на сторінку. Зберігайте все в одному місці з автоматичним оновленням."},"figma":{"title":"Ваші дизайни на одній сторінці","description":"Додайте Figma на сторінку. Дивіться як створюються дизайни для проєкту в реальному часі."},"miro":{"title":"Ваша Miro Board у безпечному місці","description":"Ознайомтеся із довгостроковою стратегією вашого проєкту і враховуйте її у створенні сторінки."},"columns":{"title":"Одна колонка – добре, дві – краще!","description":"Розділіть сторінку на дві колонки, щоб додати туди більше контенту і зробити сторінку охайнішою."},"meeting-notes":{"title":"Ставте цілі та рухайтеся вперед","description":"Використовуйте цей шаблон, щоб побудувати маркетингову стратегію і тримати всі деталі в одному місці."},"marketing-brief":{"title":" Мрійте про велике, плануйте квартал за кварталом","description":"Використовуйте цей шаблон для побудови маркетингового плану по кварталах."},"content-plan":{"title":"Контролюйте та керуйте своєю роботою","description":"Використовуйте цей шаблон, щоб відтворити свої плани у таблиці. Візуалізуйте процес і керуйте задачами."},"integrations":{"title":"Більше, ніж просто посилання","description":"Ви можете інтегрувати різні інструменти на сторінку. Зберігайте все в одному місці з автоматичним оновленням."},"google-drive":{"title":"Зберіть всі файли з Google Drive","description":"Ви можете підключити свій обліковий запис Google Drive і вставити посилання на файли на диску для швидкого доступу до них."},"google-sheets":{"title":"Мінус одна вкладка з Google Sheet","description":"Зберігайте дані в одному місці з іншими деталями проекту, щоб легше проводити аналіз."},"bookmark":{"title":"Новий вид посилання тут","description":"Використовуйте закладку, щоб показати назву вашого посилання, невеликий опис і зображення сайту із попереднім переглядом."},"audioRec":{"title":"Не пишіть, краще скажіть","description":"Персоналізуйте вашу роботу. Запишіть голосовий відгук до матеріалів на сторінці."},"videoRec":{"title":"Не пишіть, краще покажіть","description":" Запишіть відео пояснення того, що потрібно зробити, або надайте чіткий зворотній зв\'язок."},"button":{"title":"Прийшов, побачив, клікнув","description":"Додайте елемент заклику до дії, який привертатиме увагу до важливих посилань на ваших сторінках."},"largeheading-toggle":{"title":"Заховайте більше у заголовку, що згортається H1","description":"Визначте найбільш важливу частину вашої сторінки та сховайте там інформацію для легкого доступу."},"mediumheading-toggle":{"title":"Зробіть ваші розділи ще коротшими","description":"Створюйте розділи із заголовком, що згортається H2 і ховайте в них частину контенту."},"smallheading-toggle":{"title":"Зробіть ваші підрозділи ще коротшими","description":"Створюйте розділи із заголовком, що згортається H3 і ховайте в них додаткову інформацію."},"database-with-options":{"title":"Оце так таблиці!","description":" Створіть базу даних для проєкту та налаштуйте її. Вибирайте різні типи колонок і рядків, змінюйте колір фону, тощо."},"board":{"title":"До дошки!","description":"Відображайте задачі у вигляді карток на дошці Kanban, щоб мати цілісне уявлення."},"progress":{"title":"Оцініть ваш прогрес!","description":"Виберіть мету і рухайтеся до неї! Використовуйте прогрес бар для оцінки виконаних завдань та інших активностей."},"uploader":{"title":"Say Goodbye to the File Mess!","description":"Clarify what files your clients and/or team need to send. With the file uploader, you can get what you want and keep it all in one place."},"dropdown-list":{"title":"Drop Your Options","description":"Place answer options anywhere in the text & let others give instant feedback."},"use-ai":{"title":"Work Smart, Not Hard","description":"Use AI to create and improve your content, get new ideas, and make personalized recommendations. Work with an AI assistant in your workspace."}},"feature_availability":{"plus":{"not-available":"Доступно для Plus, Team та Business планів","trial":"Вам доступний функціонал на час пробного періоду"},"team":{"not-available":"Доступно для Team та Business планів","trial":"Вам доступний функціонал на час пробного періоду плану Team"},"business2023":{"not-available":"Доступно для Business плану","trial":"Вам доступний функціонал на час пробного періоду плану Business"}}}')},J=function(e){!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}}),t&&Y(e,t)}(n,e);var t=Z(n);function n(){return q(this,n),t.apply(this,arguments)}return W(n,[{key:"render",value:function(){if(!Q)throw new Error("i18n plugin must be initialized prior to any usage of IntlProvider");return(0,r.h)(w,{definition:Q.getCurrentDefinition()},this.props.children)}}]),n}(r.wA),ee=function(){function e(t){t.editor,t.scroll;var n=t.options;q(this,e),this.options=n||{},this.language="en",this.options.language&&X.hasOwnProperty(this.options.language)&&(this.language=this.options.language),Q=this}return W(e,[{key:"getCurrentDefinition",value:function(){return X[this.language]}},{key:"get",value:function(e,t,n,r){return H(e,"",this.getCurrentDefinition(),t,n,r)}}]),e}()},23497:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(79758),o=n(10856),i=n(49096),a=n(83483),s=n(19617),l=n(25251);const c=function(e){var t=e.onCancel,n=e.onConfirm,c=e.title,u=e.message,d=e.confirmText,p=e.cancelText,f=e.editor,h=e.maxWidth,m=void 0===h?520:h,g=e.revertButtons,y=void 0!==g&&g,v=e.addClassName,b=void 0===v?"column-convert-popup":v,_={};return p&&(_.cancel={text:p}),d&&(_.accept={text:d,style:"active",onClick:n}),(0,r.h)(o.Z,{wantsToClose:t,addClassName:b,closeOnEsc:!0},(0,r.h)(i.Z,{wantsToClose:t,addClassName:"reduced-padding",noCloseButton:!0},(0,r.h)(a.Z,null,c),(0,r.h)(s.Z,{style:{"max-width":m+"px"}},(0,r.h)("p",null,(0,r.h)("span",null,u))),(0,r.h)(l.Z,{editor:f,wantsToClose:t,buttons:_,revertButtons:y})))}},95174:(e,t,n)=>{"use strict";n.d(t,{qZ:()=>c,aP:()=>u,BY:()=>d,xQ:()=>p,Bg:()=>f,cD:()=>h,ZP:()=>y});n(19601);var r=n(12212),o=n(29650);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c="data-editor-toolip",u="data-editor-tooltip-html",d="data-editor-toolip-small",p="data-editor-tooltip-delay",f="data-editor-tooltip-class",h="data-editor-tooltip-options",m=parseInt(o.transitionDuration),g=function(){function e(t,n){var r=this;i(this,e),l(this,"onMouseOver",(function(e){e.target===r.node||r.node.contains(e.target)||(clearTimeout(r.timer),r.isShown?r.destroy():r.removeMouseOverListener())})),l(this,"removeMouseOverListener",(function(){document.body.removeEventListener("mouseover",r.onMouseOver,!1)})),l(this,"onBodyMouseDown",(function(e){r.destroy()})),this.opts=n,this.node=t,this.tooltipNode=null,this.container=n.container||document.body,this.popper=null,this.isShown=!1,this.destroyed=!1,document.body.addEventListener("mouseover",this.onMouseOver,!1),this.timer=setTimeout((function(){r.show()}),this.opts.timeout)}return s(e,[{key:"runTransition",value:function(e,t,n){e.classList.add("editor-tooltip-"+n),setTimeout((function(){e.classList.add("editor-tooltip-"+n+"-active")}),100),setTimeout((function(){e.classList.remove("editor-tooltip-"+n)}),t)}},{key:"show",value:function(){var e=this;this.isShown=!0;var t=document.createElement("div");t.classList.add("editor-tooltip"),this.tooltipNode=t,this.opts.addClass&&this.tooltipNode.classList.add(this.opts.addClass);var n=document.createElement("span"),o=this.opts.html?"innerHTML":"textContent";n[o]=this.opts.text;var i=null;this.opts.textSmall&&((i=document.createElement("small"))[o]=this.opts.textSmall);var a=document.createElement("div");a.classList.add("editor-tooltip-arrow"),t.appendChild(n),i&&t.appendChild(i),t.appendChild(a);var s=Object.assign({},{placement:"top",positionFixed:!0,modifiers:{offset:{offset:"0,10"},arrow:{element:a},preventOverflow:{boundariesElement:this.opts.scrollingContainer},flip:{boundariesElement:this.opts.scrollingContainer}}},this.opts.options?JSON.parse(this.opts.options):{});s.onCreate=function(){e.runTransition(t,m,"enter")},this.container.appendChild(t),this.popper=new r.Z(this.node,this.tooltipNode,s),document.addEventListener("mousedown",this.onBodyMouseDown)}},{key:"destroy",value:function(){this.destroyed||(clearTimeout(this.timer),document.removeEventListener("mousedown",this.onBodyMouseDown),this.destroyed=!0,this.popper&&this.popper.destroy(),this.tooltipNode&&this.tooltipNode.parentNode.removeChild(this.tooltipNode),this.removeMouseOverListener())}}]),e}(),y=function(){function e(t){var n=this,r=t.scroll,o=t.editor,a=t.options;i(this,e),l(this,"onMouseOver",(function(e){if((void 0===n.editor.options.scale||0===n.editor.options.scale)&&e.target.closest){var t=e.target.closest("["+c+"]");if(t){n.tooltip&&n.tooltip.destroy();var r=new g(t,{text:t.getAttribute(c),textSmall:t.getAttribute(d),container:n.editor.scrollingContainer,timeout:t.getAttribute(p)||200,addClass:t.getAttribute(f),options:t.getAttribute(h),html:"1"===t.getAttribute(u),scrollingContainer:n.editor.getScrollingContainer()});n.tooltip=r}}})),a=Object.assign({enabled:!0},a),this.editor=o,this.scroll=r,this.tooltip=null,this.enabled=a.enabled,this.init()}return s(e,[{key:"init",value:function(){this.enabled&&this.editor.container.addEventListener("mouseover",this.onMouseOver,!1)}},{key:"hide",value:function(){this.tooltip&&this.tooltip.destroy()}},{key:"destroy",value:function(){this.editor.container.removeEventListener("mouseover",this.onMouseOver,!1)}}]),e}()},49190:(e,t,n)=>{"use strict";n.d(t,{Zlx:()=>Xo.a,bM7:()=>o.a,UcJ:()=>a.a,pfx:()=>l.a,fqO:()=>u.a,Zay:()=>p.a,I19:()=>h.a,XhR:()=>g.a,aXx:()=>v.a,Q2d:()=>_.a,L9t:()=>C.a,oIo:()=>E.a,uVN:()=>k.a,JHz:()=>T.a,SC9:()=>P.a,UrD:()=>I.a,lM8:()=>N.a,C9_:()=>j.a,xxo:()=>B.a,dZu:()=>U.a,NDg:()=>V.a,IT9:()=>q.a,yl5:()=>W.a,D6v:()=>Z.a,Ec8:()=>$.a,BDo:()=>X.a,V_f:()=>ee.a,voX:()=>ne.a,hID:()=>oe.a,k5Z:()=>ae.a,Qz9:()=>le.a,ypk:()=>ue.a,LO$:()=>pe.a,_oX:()=>he.a,PKJ:()=>ge.a,_Og:()=>ve.a,lC3:()=>_e.a,SnY:()=>Ce.a,J59:()=>Ee.a,wE3:()=>ke.a,m7c:()=>Te.a,gDF:()=>Pe.a,yDK:()=>Ie.a,Oa8:()=>Ne.a,gEd:()=>je.a,sws:()=>Be.a,fm:()=>Ue.a,vSI:()=>Ve.a,pV3:()=>qe.a,cpC:()=>We.a,InV:()=>Ze.a,bMz:()=>$e.a,kVp:()=>Xe.a,PWQ:()=>et.a,szK:()=>nt.a,OiJ:()=>ot.a,nqv:()=>at.a,mrQ:()=>lt.a,seM:()=>ut.a,ed9:()=>pt.a,VG8:()=>ht.a,jVj:()=>gt.a,kFg:()=>vt.a,cx1:()=>_t.a,EZi:()=>Ct.a,STX:()=>Et.a,SCs:()=>kt.a,zLI:()=>Tt.a,uJ$:()=>Pt.a,qlW:()=>It.a,Rd8:()=>Nt.a,JpT:()=>jt.a,UhQ:()=>Ut.a,vGU:()=>Bt.a,Yy4:()=>Vt.a,eI7:()=>qt.a,$nO:()=>Wt.a,_rK:()=>Zt.a,iLV:()=>$t.a,puQ:()=>Xt.a,tZi:()=>en.a,xnp:()=>nn.a,l_R:()=>on.a,_rD:()=>sn.a,$Eb:()=>cn.a,ffD:()=>dn.a,SVd:()=>fn.a,Ec4:()=>mn.a,VRy:()=>yn.a,CSG:()=>bn.a,hjt:()=>wn.a,OYV:()=>Sn.a,WcQ:()=>xn.a,az_:()=>On.a,DjJ:()=>An.a,F1B:()=>Rn.a,PUC:()=>Mn.a,FOt:()=>Dn.a,LQ1:()=>Ln.a,dUh:()=>Fn.a,ws:()=>Hn.a,UUr:()=>zn.a,guv:()=>Gn.a,BS3:()=>Yn.a,HzO:()=>Kn.a,tXd:()=>Qn.a,fan:()=>Jn.a,G40:()=>tr.a,RS2:()=>rr.a,NOm:()=>ir.a,VYF:()=>sr.a,YK1:()=>cr.a,jt6:()=>dr.a,CYl:()=>fr.a,g9E:()=>mr.a,dhu:()=>yr.a,GPC:()=>br.a,$fB:()=>wr.a,v92:()=>Sr.a,J0H:()=>xr.a,bzs:()=>Or.a,BZM:()=>Ar.a,j4Y:()=>Rr.a,Rwf:()=>Mr.a,JVE:()=>Dr.a,zA_:()=>Lr.a,kXu:()=>Fr.a,uSR:()=>Hr.a,i2f:()=>zr.a,JCH:()=>Gr.a,LC9:()=>Yr.a,JDv:()=>Kr.a,qdP:()=>Qr.a,Tz3:()=>Jr.a,ooQ:()=>to.a,bCE:()=>ro.a,YIl:()=>io.a,qV0:()=>so.a,ETU:()=>co.a,Sui:()=>ho.a,Jl4:()=>po.a,Y0K:()=>go.a,LEv:()=>_o.a,vw4:()=>vo.a,R4$:()=>Co.a,RGc:()=>ko.a,ShA:()=>Eo.a,BKE:()=>To.a,JfY:()=>Po.a,_CN:()=>Io.a,DgX:()=>No.a,uII:()=>jo.a,TSJ:()=>Uo.a,_V1:()=>Bo.a,uyk:()=>Vo.a,e4s:()=>qo.a,ge4:()=>Wo.a,qE2:()=>Zo.a,hU:()=>$o.a,pj0:()=>ei.a,LU4:()=>ni.a,CZw:()=>oi.a,_Ts:()=>ai.a,oe4:()=>li.a,$Nx:()=>ui.a,hoH:()=>pi.a,THL:()=>hi.a,V6h:()=>gi.a,gM0:()=>vi.a,eYc:()=>_i.a,eOv:()=>Ci.a,_9F:()=>Ei.a,F2P:()=>ki.a,n4p:()=>Ti.a,Rz4:()=>Pi.a,M64:()=>Ii.a,jhZ:()=>Ni.a,k8B:()=>ji.a,OQ8:()=>Bi.a,wHY:()=>Ui.a,ve2:()=>Vi.a,Gw5:()=>qi.a,zxW:()=>Wi.a,nST:()=>Zi.a,JKM:()=>$i.a,QPj:()=>Xi.a,c3b:()=>ea.a,qHO:()=>na.a,j0X:()=>oa.a,F6w:()=>aa.a,Z8B:()=>la.a,rXf:()=>ua.a,Lan:()=>pa.a,vO:()=>ha.a,hFX:()=>ga.a,WLL:()=>va.a,DKw:()=>_a.a,vUr:()=>Ca.a,tuc:()=>Ea.a,aJY:()=>ka.a,KLP:()=>Ta.a,S1t:()=>Pa.a,GK:()=>Ia.a,WL1:()=>Na.a,M1S:()=>ja.a,TRY:()=>Ba.a,kyG:()=>Ua.a,SMA:()=>Va.a,$4n:()=>qa.a,ry0:()=>Wa.a});n(79758);var r=n(98892),o=n.n(r),i=n(47238),a=n.n(i),s=n(95161),l=n.n(s),c=n(20913),u=n.n(c),d=(n(37620),n(50375)),p=n.n(d),f=n(80648),h=n.n(f),m=n(7086),g=n.n(m),y=n(4421),v=n.n(y),b=n(70191),_=n.n(b),w=n(41701),C=n.n(w),S=n(1305),E=n.n(S),x=n(28444),k=n.n(x),O=n(60623),T=n.n(O),A=n(36520),P=n.n(A),R=n(31958),I=n.n(R),M=n(69425),N=n.n(M),D=n(34061),j=n.n(D),L=n(78555),B=n.n(L),F=n(27501),U=n.n(F),H=n(81740),V=n.n(H),z=n(77242),q=n.n(z),G=n(13783),W=n.n(G),Y=n(61177),Z=n.n(Y),K=n(83675),$=n.n(K),Q=n(19379),X=n.n(Q),J=n(36419),ee=n.n(J),te=n(42477),ne=n.n(te),re=(n(99562),n(36771),n(35596)),oe=n.n(re),ie=n(87163),ae=n.n(ie),se=n(4802),le=n.n(se),ce=n(36842),ue=n.n(ce),de=n(10226),pe=n.n(de),fe=n(52725),he=n.n(fe),me=n(59146),ge=n.n(me),ye=n(11894),ve=n.n(ye),be=n(7306),_e=n.n(be),we=n(57872),Ce=n.n(we),Se=n(30350),Ee=n.n(Se),xe=n(56987),ke=n.n(xe),Oe=n(60965),Te=n.n(Oe),Ae=n(35235),Pe=n.n(Ae),Re=n(74107),Ie=n.n(Re),Me=n(12479),Ne=n.n(Me),De=n(59481),je=n.n(De),Le=n(54970),Be=n.n(Le),Fe=n(55782),Ue=n.n(Fe),He=n(51093),Ve=n.n(He),ze=n(47529),qe=n.n(ze),Ge=n(30245),We=n.n(Ge),Ye=n(22032),Ze=n.n(Ye),Ke=(n(91323),n(66995)),$e=n.n(Ke),Qe=n(67308),Xe=n.n(Qe),Je=n(4817),et=n.n(Je),tt=n(41286),nt=n.n(tt),rt=(n(93034),n(22220)),ot=n.n(rt),it=n(46605),at=n.n(it),st=n(51392),lt=n.n(st),ct=n(47778),ut=n.n(ct),dt=n(47904),pt=n.n(dt),ft=n(16186),ht=n.n(ft),mt=n(26350),gt=n.n(mt),yt=(n(29828),n(63821),n(26143),n(1250),n(69710)),vt=n.n(yt),bt=n(27237),_t=n.n(bt),wt=(n(46015),n(69499),n(4311),n(84005),n(80347),n(91177)),Ct=n.n(wt),St=n(64631),Et=n.n(St),xt=n(325),kt=n.n(xt),Ot=n(12154),Tt=n.n(Ot),At=n(39046),Pt=n.n(At),Rt=n(92702),It=n.n(Rt),Mt=n(56486),Nt=n.n(Mt),Dt=n(85265),jt=n.n(Dt),Lt=n(66339),Bt=n.n(Lt),Ft=n(33753),Ut=n.n(Ft),Ht=n(24655),Vt=n.n(Ht),zt=n(93858),qt=n.n(zt),Gt=n(52124),Wt=n.n(Gt),Yt=n(21685),Zt=n.n(Yt),Kt=n(49962),$t=n.n(Kt),Qt=n(14211),Xt=n.n(Qt),Jt=n(4735),en=n.n(Jt),tn=n(75851),nn=n.n(tn),rn=n(76936),on=n.n(rn),an=n(37322),sn=n.n(an),ln=n(98763),cn=n.n(ln),un=n(80764),dn=n.n(un),pn=n(55009),fn=n.n(pn),hn=n(8507),mn=n.n(hn),gn=n(16030),yn=n.n(gn),vn=n(85625),bn=n.n(vn),_n=n(61335),wn=n.n(_n),Cn=n(71138),Sn=n.n(Cn),En=n(33597),xn=n.n(En),kn=n(32577),On=n.n(kn),Tn=n(27317),An=n.n(Tn),Pn=n(8386),Rn=n.n(Pn),In=n(32472),Mn=n.n(In),Nn=n(7294),Dn=n.n(Nn),jn=n(31665),Ln=n.n(jn),Bn=n(84581),Fn=n.n(Bn),Un=n(88536),Hn=n.n(Un),Vn=n(18294),zn=n.n(Vn),qn=n(62171),Gn=n.n(qn),Wn=n(40286),Yn=n.n(Wn),Zn=n(17884),Kn=n.n(Zn),$n=n(59681),Qn=n.n($n),Xn=n(94384),Jn=n.n(Xn),er=n(12216),tr=n.n(er),nr=n(68234),rr=n.n(nr),or=n(21855),ir=n.n(or),ar=n(61093),sr=n.n(ar),lr=n(11803),cr=n.n(lr),ur=n(74985),dr=n.n(ur),pr=n(71185),fr=n.n(pr),hr=n(26258),mr=n.n(hr),gr=n(55551),yr=n.n(gr),vr=n(53686),br=n.n(vr),_r=n(86306),wr=n.n(_r),Cr=n(16357),Sr=n.n(Cr),Er=n(98854),xr=n.n(Er),kr=n(7393),Or=n.n(kr),Tr=n(22793),Ar=n.n(Tr),Pr=n(29672),Rr=n.n(Pr),Ir=n(76094),Mr=n.n(Ir),Nr=n(99474),Dr=n.n(Nr),jr=n(46921),Lr=n.n(jr),Br=n(517),Fr=n.n(Br),Ur=n(88098),Hr=n.n(Ur),Vr=n(13669),zr=n.n(Vr),qr=n(83763),Gr=n.n(qr),Wr=n(71492),Yr=n.n(Wr),Zr=n(35783),Kr=n.n(Zr),$r=n(61615),Qr=n.n($r),Xr=n(89713),Jr=n.n(Xr),eo=n(92688),to=n.n(eo),no=n(26798),ro=n.n(no),oo=n(51195),io=n.n(oo),ao=n(10231),so=n.n(ao),lo=n(14698),co=n.n(lo),uo=n(88170),po=n.n(uo),fo=n(14345),ho=n.n(fo),mo=n(30315),go=n.n(mo),yo=n(21088),vo=n.n(yo),bo=n(80562),_o=n.n(bo),wo=n(77142),Co=n.n(wo),So=n(31887),Eo=n.n(So),xo=n(61762),ko=n.n(xo),Oo=n(10653),To=n.n(Oo),Ao=n(24570),Po=n.n(Ao),Ro=n(89129),Io=n.n(Ro),Mo=n(88398),No=n.n(Mo),Do=n(29300),jo=n.n(Do),Lo=n(72102),Bo=n.n(Lo),Fo=n(8941),Uo=n.n(Fo),Ho=n(44744),Vo=n.n(Ho),zo=n(13532),qo=n.n(zo),Go=n(3641),Wo=n.n(Go),Yo=n(82052),Zo=n.n(Yo),Ko=(n(58191),n(60681)),$o=n.n(Ko),Qo=n(91027),Xo=n.n(Qo),Jo=n(97393),ei=n.n(Jo),ti=n(69435),ni=n.n(ti),ri=n(44859),oi=n.n(ri),ii=n(77445),ai=n.n(ii),si=n(33277),li=n.n(si),ci=n(36598),ui=n.n(ci),di=n(25637),pi=n.n(di),fi=n(78018),hi=n.n(fi),mi=n(37871),gi=n.n(mi),yi=n(71571),vi=n.n(yi),bi=(n(89883),n(97368)),_i=n.n(bi),wi=n(28824),Ci=n.n(wi),Si=n(64268),Ei=n.n(Si),xi=(n(44819),n(62012)),ki=n.n(xi),Oi=n(4718),Ti=n.n(Oi),Ai=n(23953),Pi=n.n(Ai),Ri=n(62428),Ii=n.n(Ri),Mi=n(76767),Ni=n.n(Mi),Di=n(26934),ji=n.n(Di),Li=n(23996),Bi=n.n(Li),Fi=n(80124),Ui=n.n(Fi),Hi=n(38096),Vi=n.n(Hi),zi=n(54958),qi=n.n(zi),Gi=n(7688),Wi=n.n(Gi),Yi=n(38312),Zi=n.n(Yi),Ki=n(82481),$i=n.n(Ki),Qi=n(99635),Xi=n.n(Qi),Ji=n(60251),ea=n.n(Ji),ta=n(86766),na=n.n(ta),ra=n(44461),oa=n.n(ra),ia=n(79058),aa=n.n(ia),sa=n(10812),la=n.n(sa),ca=n(67906),ua=n.n(ca),da=n(89959),pa=n.n(da),fa=n(65216),ha=n.n(fa),ma=n(36039),ga=n.n(ma),ya=n(79611),va=n.n(ya),ba=n(91527),_a=n.n(ba),wa=(n(60302),n(67012)),Ca=n.n(wa),Sa=(n(5952),n(57551)),Ea=n.n(Sa),xa=n(47137),ka=n.n(xa),Oa=n(42020),Ta=n.n(Oa),Aa=n(77586),Pa=n.n(Aa),Ra=n(42941),Ia=n.n(Ra),Ma=n(69206),Na=n.n(Ma),Da=n(20065),ja=n.n(Da),La=n(68278),Ba=n.n(La),Fa=n(75259),Ua=n.n(Fa),Ha=n(47346),Va=n.n(Ha),za=n(24327),qa=n.n(za),Ga=n(41614),Wa=n.n(Ga)},33103:(e,t,n)=>{"use strict";n.d(t,{W$:()=>m,SP:()=>g,Dc:()=>y,qN:()=>v,Ee:()=>b,Xy:()=>w,ZT:()=>C,yG:()=>S,Wv:()=>E,L6:()=>k,J8:()=>O,Jj:()=>T});n(87751),n(41539),n(57327),n(47042),n(74916),n(15306),n(39714),n(19601),n(92222),n(36210),n(66992),n(70189),n(78783),n(33948),n(54747),n(47941),n(69600),n(30489),n(26699),n(32023),n(40561),n(21249),n(82526),n(41817),n(32165),n(68309),n(91038);var r=n(79758),o=n(67546),i=n(23497);function a(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){a(i,r,o,s,l,"next",e)}function l(e){a(i,r,o,s,l,"throw",e)}s(void 0)}))}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||d(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 c(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(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 u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m="self-controlled-content";function g(e){return!!(e=(0,o.B8)(e))&&Boolean(e.closest("."+m))}function y(e){return new Promise((function(t){setTimeout(t,e)}))}function v(e){"object"==h(e)&&(e=e.outerHTML);var t=document.createElement("div");t.innerHTML=e,t.style.position="fixed",t.style.pointerEvents="none",t.style.opacity=0;Array.prototype.slice.call(document.styleSheets).filter((function(e){return!e.disabled}));document.body.appendChild(t),window.getSelection().removeAllRanges();var n=document.createRange();return n.selectNode(t),window.getSelection().addRange(n),document.execCommand("copy"),document.body.removeChild(t),!0}function b(e){e||(e={});for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();if(_(e)&&_(o))for(var i in o)_(o[i])?(e[i]||Object.assign(e,f({},i,{})),b(e[i],o[i])):Object.assign(e,f({},i,o[i]));return b.apply(void 0,[e].concat(n))}function _(e){return e&&"object"===h(e)&&!Array.isArray(e)}function w(e,t){if("object"!==h(e)||"object"!==h(t))return e===t;if(null===e||null===t||void 0===e||void 0===t)return e===t;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);if(n.length!==r.length)return!1;var o,i=u(n);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(!w(e[a],t[a]))return!1}}catch(e){i.e(e)}finally{i.f()}return!0}function C(e){var t=e.scroll.getSelectedBlocks().reduce((function(e,t){return t.hasTextLine?[].concat(c(e),c(t.getChildrenForAction())):[].concat(c(e),[t])}),[]),n=[],r=[{ops:[]}];return t.forEach((function(t){var o=l(e.scroll.selection.getRange({offsetBlot:t}),1)[0],i="",a={ops:[]};o&&t&&t.getText&&t.getContents&&(i=t.getText(o.index,o.length),a=t.getContents(o.index,o.length),n.push(i),r.push(a))})),{text:n.join("\n"),delta:r}}function S(e){for(var t=[],n=Object.getPrototypeOf(e);null!==n;)n&&t.push(n),n=Object.getPrototypeOf(n);return t}function E(e,t,n){return x.apply(this,arguments)}function x(){return(x=s(regeneratorRuntime.mark((function e(t,n,o){var a,s,l,c,u,d,p,f,h,m,g,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=[],s=[],l=[],c=t.plugins,u=c.popupManager,d=c.commentManager,p=c.i18n,t.scroll.getSelectedBlocks().forEach((function(e){e.map.has("commentThreads")&&s.push(e),d.getBlotInlineComments(e).length&&l.push(e),a.push(e)})),f=(s.length>1||l.length)&&"syntax"===o,h=l.length&&"button-single"===o,!f&&!h){e.next=19;break}return m=p.get("syntax.convert.popup_title"),g=l.length?p.get("syntax.convert.text_has_inline_comments"):p.get("syntax.convert.blots_have_comments"),h&&(m=p.get("button.convert.popup_title")),n&&n(),e.next=14,new Promise((function(e){var n;n=(0,r.h)(i.Z,{onCancel:function(){e(!0)},onConfirm:function(){t.scroll.setSelectedBlots(a),e(!1)},title:m,message:g,confirmText:p.get("syntax.convert.confirm"),editor:t}),u.dialog(n)}));case 14:if(y=e.sent,confirm=null,u.dialog(null),!y){e.next=19;break}return e.abrupt("return",!0);case 19:return e.abrupt("return",!1);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={},i=u(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;e.hasOwnProperty(a)&&("number"===r[a]?o[a]=parseInt(e[a]):"boolean"===r[a]||"true"===e[a]||"false"===e[a]?"false"===e[a]?o[a]=!1:o[a]=!!e[a]:o[a]=e[a])}}catch(e){i.e(e)}finally{i.f()}return o}function O(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[!1,"undefined"],n=e.length-1;n>=0;n--){var r=h(e[n]);if(!t.includes(r)&&!t.includes(e[n]))break;e.splice(n,1)}return e}"undefined"!=typeof window&&(window.EPRFL={_times:{},_starts:{},_callTimes:{},start:function(e){this._starts[e]=(new Date).getTime()},end:function(e){this._times[e]||(this._times[e]=0,this._callTimes[e]=0),this._times[e]+=(new Date).getTime()-this._starts[e],this._callTimes[e]++},show:function(){for(var e in this._times)console.info(e,this._times[e]/1e3,", called",this._callTimes[e],"times")}});var T=function(){return"object"===("undefined"==typeof window?"undefined":h(window))?window:(console.log("window was not found"),{addEventListener:function(){},removeEventListener:function(){}})}},12650:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>r,tz:()=>o,S5:()=>i,s9:()=>a,CF:()=>s,$d:()=>l});n(41539),n(39714);function r(){if("undefined"==typeof window)return"NodeJS";var e=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,t="undefined"!=typeof InstallTrigger,n=/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),r=!!document.documentMode,o=!r&&!!window.StyleMedia,i=!!window.chrome;return e?"Opera":t?"Firefox":n?"Safari":r?"IE":o?"Edge":i?"Chrome":"Unkown Browser"}function o(){if("undefined"==typeof window)return"NodeJS";var e=window.navigator.userAgent,t=window.navigator.platform,n=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?n="Mac OS":-1!==["iPhone","iPad","iPod"].indexOf(t)?n="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?n="Windows":/Android/.test(e)?n="Android":!n&&/Linux/.test(t)&&(n="Linux"),n}function i(){return{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}}function a(){return navigator&&!navigator.onLine}var s="Mac OS"===o()?"⌘":"ctrl",l="Mac OS"===o()?"⌥":"alt"},67546:(e,t,n)=>{"use strict";n.d(t,{qL:()=>p,_z:()=>f,Dx:()=>h,AH:()=>m,qn:()=>g,gx:()=>y,S5:()=>v,nN:()=>b,vk:()=>_,B8:()=>w,Fp:()=>C,np:()=>S,AI:()=>E,Im:()=>x,Jl:()=>k,Ct:()=>O,Mn:()=>T,dp:()=>A,Nj:()=>P,XL:()=>R,PB:()=>I,d9:()=>M,No:()=>N,FU:()=>D});n(74916),n(15306),n(9653),n(19601),n(26699),n(32023),n(69600),n(47042),n(41539),n(68309),n(91038),n(78783),n(82526),n(41817),n(32165),n(66992),n(33948);var r=n(66213),o=n.n(r);function i(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){var t;if("BODY"===e.tagName||"HTML"===e.tagName){var n=window.innerWidth,r=window.innerHeight;t={left:0,right:n,top:0,bottom:r,x:0,y:0,width:n,height:r}}else t=e.getBoundingClientRect();return t}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.getBoundingClientRect(),r=e,o=n.top+window.scrollY,i=n.left+window.scrollX;if(t){o=0,i=0;do{o+=r.offsetTop||0,i+=r.offsetLeft||0,(r=r.offsetParent)===t&&(r=null)}while(r)}return{left:i,top:o,width:n.width,height:n.height}}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=window.getComputedStyle(e)[t];return"string"==typeof r&&n&&(r=parseFloat(r.replace(n,""))),r}function m(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=window.getComputedStyle(e),i={},a=c(t);try{for(a.s();!(n=a.n()).done;){var s=n.value,l=o[s];"string"==typeof l&&r&&(l=parseFloat(l.replace(r,""))),i[s]=l}}catch(e){a.e(e)}finally{a.f()}return i}function g(e,t,n){"function"==typeof t&&(n=t,t=Number.POSITIVE_INFINITY);for(var r=0;e;){if(n(e))return e;if(e=e.parentNode,++r>t)return null}return null}function y(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function v(e){return void 0!==e.isConnected?e.isConnected:document.body.contains(e)}function b(e,t){return e===t||!!e&&(!!e.contains&&e.contains(t))}function _(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o={left:n.left-r.left,top:n.top+t.scrollTop-r.top,width:n.width,height:n.height};return o.right=o.left+o.width,o.bottom=o.top+o.height,o}function w(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e}function C(e,t,n,r,o){for(var i=Object.assign({},e);n>0?i[t]<r:i[t]>r;i[t]+=n){var a=document.elementFromPoint(i.x,i.y);if(o(a))return a}return null}function S(){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),t-r}function E(e){return e.clientHeight<e.scrollHeight}function x(e,t){var n,r=[],o=c(e.childNodes);try{for(o.s();!(n=o.n()).done;){var i=n.value;i.matches&&i.matches(t)&&r.push(i)}}catch(e){o.e(e)}finally{o.f()}return r}function k(e){return e.tagName&&e.tagName.includes("-")}var O=function(){function e(){a(this,e),this.childNodes=[]}return l(e,[{key:"appendChild",value:function(){}},{key:"insertBefore",value:function(){}},{key:"setAttribute",value:function(){}},{key:"getAttribute",value:function(){}}]),e}(),T=function(){function e(){a(this,e)}return l(e,[{key:"observe",value:function(){}}]),e}();function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{node:t,highlightClass:"highlighted-block",timeout:3e3},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=window.getComputedStyle(e).scrollBehavior,a=null,s=function(e,t){for(var n=0,r=0,o=e;o!==t&&null!==o;)n+=o.offsetLeft-o.scrollLeft,r+=o.offsetTop-o.scrollTop,o=o.offsetParent;return{x:n,y:r}},l=function e(t){a&&(clearTimeout(a),a=null,n.node.classList.remove(n.highlightClass)),document.removeEventListener("click",e,!1)},c=s(t,e);if(r||(e.style.scrollBehavior="auto"),e.scrollTop=c.y-10-o,e.style.scrollBehavior=i,n){if(a)try{clearTimeout(a)}catch(e){}n.node.classList.add(n.highlightClass),a=setTimeout((function(){n.node.classList.remove(n.highlightClass),document.removeEventListener("click",l,!1)}),n.timeout),setTimeout((function(){document.addEventListener("click",l,!1)}),0)}}function P(e,t){var n=[];if(e)for(var r=e.childNodes,o=r.length;o--;){var a=r[o],s=a.nodeType;3==s?t&&!t(a,e)||n.push(a):1!=s&&9!=s&&11!=s||n.push.apply(n,i(P(a,t)))}return n}function R(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function I(e,t){e.parentNode.insertBefore(t,e),t.appendChild(e)}function M(e,t){if(!t)return e.nextSibling;for(var n=e.nextSibling;n&&!t(n);)n=n.nextSibling;return n}function N(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],i=c(e.getAttributeNames());try{for(i.s();!(t=i.n()).done;){var a=t.value;n.indexOf(a)>=0||r.push(a+'="'+o()(e.getAttribute(a))+'"')}}catch(e){i.e(e)}finally{i.f()}return r.join(" ")}function D(e){if(e){e.focus();var t=window.getSelection(),n=new Range;n.selectNodeContents(e),n.collapse(),t.removeAllRanges(),t.addRange(n)}}},59150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Encoder:()=>g,IncUintOptRleEncoder:()=>Y,IntDiffEncoder:()=>z,IntDiffOptRleEncoder:()=>K,RleEncoder:()=>V,RleIntDiffEncoder:()=>q,StringEncoder:()=>$,UintOptRleEncoder:()=>W,ab2str:()=>X,createEncoder:()=>y,length:()=>v,set:()=>w,setUint16:()=>x,setUint32:()=>T,setUint8:()=>S,str2ab:()=>J,toBuffer:()=>Q,toUint8Array:()=>b,write:()=>_,writeAny:()=>H,writeBigInt64:()=>B,writeBigUint64:()=>F,writeBinaryEncoder:()=>I,writeFloat32:()=>j,writeFloat64:()=>L,writeOnDataView:()=>D,writeUint16:()=>E,writeUint32:()=>k,writeUint32BigEndian:()=>O,writeUint8:()=>C,writeUint8Array:()=>M,writeVarInt:()=>P,writeVarString:()=>R,writeVarUint:()=>A,writeVarUint8Array:()=>N});n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(18264),n(79841),n(47941),n(69600),n(82526),n(41817),n(32165),n(78783),n(33948),n(30489),n(12419);var r=n(83322),o=n(23862),i=(n(44363),n(9653),n(55994),n(33161),n(44048),n(6686)),a=(Number.MAX_SAFE_INTEGER,Number.MIN_SAFE_INTEGER,i.RP,Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&o.GW(e)===e});Number.isNaN;function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}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}}),t&&u(e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===h(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var g=function e(){m(this,e),this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]},y=function(){return new g},v=function(e){for(var t=e.cpos,n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t},b=function(e){for(var t=new Uint8Array(v(e)),n=0,o=0;o<e.bufs.length;o++){var i=e.bufs[o];t.set(i,n),n+=i.length}return t.set(r.Te(e.cbuf.buffer,0,e.cpos),n),t},_=function(e,t){var n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(2*n),e.cpos=0),e.cbuf[e.cpos++]=t},w=function(e,t,n){for(var r=null,o=0;o<e.bufs.length&&null===r;o++){var i=e.bufs[o];t<i.length?r=i:t-=i.length}null===r&&(r=e.cbuf),r[t]=n},C=_,S=w,E=function(e,t){_(e,t&i.x),_(e,t>>>8&i.x)},x=function(e,t,n){w(e,t,n&i.x),w(e,t+1,n>>>8&i.x)},k=function(e,t){for(var n=0;n<4;n++)_(e,t&i.x),t>>>=8},O=function(e,t){for(var n=3;n>=0;n--)_(e,t>>>8*n&i.x)},T=function(e,t,n){for(var r=0;r<4;r++)w(e,t+r,n&i.x),n>>>=8},A=function(e,t){for(;t>i.jS;)_(e,i.x1|i.jS&t),t>>>=7;_(e,i.jS&t)},P=function(e,t){var n=o.GR(t);for(n&&(t=-t),_(e,(t>i.$2?i.x1:0)|(n?i.rc:0)|i.$2&t),t>>>=6;t>0;)_(e,(t>i.jS?i.x1:0)|i.jS&t),t>>>=7},R=function(e,t){var n=unescape(encodeURIComponent(t)),r=n.length;A(e,r);for(var o=0;o<r;o++)_(e,n.codePointAt(o))},I=function(e,t){return M(e,b(t))},M=function(e,t){var n=e.cbuf.length,r=e.cpos,i=o.VV(n-r,t.length),a=t.length-i;e.cbuf.set(t.subarray(0,i),r),e.cpos+=i,a>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(o.Fp(2*n,a)),e.cbuf.set(t.subarray(i)),e.cpos=a)},N=function(e,t){A(e,t.byteLength),M(e,t)},D=function(e,t){!function(e,t){var n=e.cbuf.length;n-e.cpos<t&&(e.bufs.push(r.Te(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(2*o.Fp(n,t)),e.cpos=0)}(e,t);var n=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,n},j=function(e,t){return D(e,4).setFloat32(0,t,!1)},L=function(e,t){return D(e,8).setFloat64(0,t,!1)},B=function(e,t){return D(e,8).setBigInt64(0,t,!1)},F=function(e,t){return D(e,8).setBigUint64(0,t,!1)},U=new DataView(new ArrayBuffer(4)),H=function e(t,n){switch(h(n)){case"string":_(t,119),R(t,n);break;case"number":a(n)&&n<=i.RP?(_(t,125),P(t,n)):(c=n,U.setFloat32(0,c),U.getFloat32(0)===c?(_(t,124),j(t,n)):(_(t,123),L(t,n)));break;case"bigint":_(t,122),B(t,n);break;case"object":if(null===n)_(t,126);else if(n instanceof Array){_(t,117),A(t,n.length);for(var r=0;r<n.length;r++)e(t,n[r])}else if(n instanceof Uint8Array)_(t,116),N(t,n);else{_(t,118);var o=Object.keys(n);A(t,o.length);for(var s=0;s<o.length;s++){var l=o[s];R(t,l),e(t,n[l])}}break;case"boolean":_(t,n?120:121);break;default:_(t,127)}var c},V=function(e){c(n,e);var t=d(n);function n(e){var r;return m(this,n),(r=t.call(this)).w=e,r.s=null,r.count=0,r}return l(n,[{key:"write",value:function(e){this.s===e?this.count++:(this.count>0&&A(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}]),n}(g),z=function(e){c(n,e);var t=d(n);function n(e){var r;return m(this,n),(r=t.call(this)).s=e,r}return l(n,[{key:"write",value:function(e){P(this,e-this.s),this.s=e}}]),n}(g),q=function(e){c(n,e);var t=d(n);function n(e){var r;return m(this,n),(r=t.call(this)).s=e,r.count=0,r}return l(n,[{key:"write",value:function(e){this.s===e&&this.count>0?this.count++:(this.count>0&&A(this,this.count-1),this.count=1,P(this,e-this.s),this.s=e)}}]),n}(g),G=function(e){e.count>0&&(P(e.encoder,1===e.count?e.s:-e.s),e.count>1&&A(e.encoder,e.count-2))},W=function(){function e(){m(this,e),this.encoder=new g,this.s=0,this.count=0}return l(e,[{key:"write",value:function(e){this.s===e?this.count++:(G(this),this.count=1,this.s=e)}},{key:"toUint8Array",value:function(){return G(this),b(this.encoder)}}]),e}(),Y=function(){function e(){m(this,e),this.encoder=new g,this.s=0,this.count=0}return l(e,[{key:"write",value:function(e){this.s+this.count===e?this.count++:(G(this),this.count=1,this.s=e)}},{key:"toUint8Array",value:function(){return G(this),b(this.encoder)}}]),e}(),Z=function(e){if(e.count>0){var t=e.diff<<1|(1===e.count?0:1);P(e.encoder,t),e.count>1&&A(e.encoder,e.count-2)}},K=function(){function e(){m(this,e),this.encoder=new g,this.s=0,this.count=0,this.diff=0}return l(e,[{key:"write",value:function(e){this.diff===e-this.s?(this.s=e,this.count++):(Z(this),this.count=1,this.diff=e-this.s,this.s=e)}},{key:"toUint8Array",value:function(){return Z(this),b(this.encoder)}}]),e}(),$=function(){function e(){m(this,e),this.sarr=[],this.s="",this.lensE=new W}return l(e,[{key:"write",value:function(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}},{key:"toUint8Array",value:function(){var e=new g;return this.sarr.push(this.s),this.s="",R(e,this.sarr.join("")),M(e,this.lensE.toUint8Array()),b(e)}}]),e}();function Q(e){return b(e)}function X(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function J(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint8Array(t),r=0,o=e.length;r<o;r++)n[r]=e.charCodeAt(r);return t}},92143:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});n(19601),n(47941),n(82526),n(57327),n(38880),n(54747),n(49337);var r=n(12212);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=!0,a={},s=null;return(n=Object.assign({placement:"right-start",preservePosition:!0,removeOnDestroy:!0,behavior:"flip",priority:["bottom","top"],offset:"-11px, 0",boundariesElement:"viewport"},n)).preservePosition&&(s=function(e,t){return o?(e=r.Z.Defaults.modifiers.flip.fn(e,t),a={flipped:e.flipped,placement:e.placement,offsets:e.offsets},e):Object.assign(e,a)}),new r.Z(e,t,{positionFixed:n.positionFixed,placement:n.placement,removeOnDestroy:n.removeOnDestroy,onCreate:function(){o=!1},modifiers:i({flip:{behavior:n.behavior,fn:s,boundariesElement:n.boundariesElement},offset:{offset:n.offset},preventOverflow:i({priority:n.priority},n.overflowBoundariesElement?{boundariesElement:n.overflowBoundariesElement}:{})},n.arrow?n.arrow:{})})}},28480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(57327),n(91038),n(78783),n(47042),n(41539),n(68309),n(82526),n(41817),n(32165),n(66992),n(33948);var r=n(28199);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=(0,r.ZP)("down"),l=(0,r.ZP)("up"),c=(0,r.ZP)("mod+down"),u=(0,r.ZP)("mod+up"),d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.props=t,this.popup=t.popup,this.selector=t.selector,this.selectedClass=t.selectedClass,this.allowMultipleSelect=!!t.hasOwnProperty("allowMultipleSelect")&&t.allowMultipleSelect}var t,n,r;return t=e,(n=[{key:"items",get:function(){return this.popup.domNode?Array.from(this.popup.domNode.querySelectorAll(this.selector)).filter((function(e){return!e.classList.contains("hidden")})):[]}},{key:"getSelected",value:function(){var e=this,t=null,n=this.items.filter((function(t){return t.classList.contains(e.selectedClass)}));return this.allowMultipleSelect?n:(1===n.length&&(t=n[0]),t)}},{key:"selectNext",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[e.length-1]:e,n=this.items.indexOf(t),r=n===this.items.length-1?this.items[0]:this.items[n+1];r.classList.add(this.selectedClass),this.scrollIntoView(r),t.classList.remove(this.selectedClass)}else this.items[0].classList.add(this.selectedClass)}},{key:"selectPrev",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[0]:e,n=this.items.indexOf(t),r=0===n?this.items[this.items.length-1]:this.items[n-1];r.classList.add(this.selectedClass),this.scrollIntoView(r),t.classList.remove(this.selectedClass)}else this.items[this.items.length-1].classList.add(this.selectedClass)}},{key:"selectFirst",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[0]:e;if(0===this.items.indexOf(t))return;var n=this.items[0];n.classList.add(this.selectedClass),this.scrollIntoView(n),t.classList.remove(this.selectedClass)}else this.items[0].classList.add(this.selectedClass)}},{key:"selectLast",value:function(){var e=this.getSelected();if(e){var t=Array.isArray(e)?e[0]:e;if(this.items.indexOf(t)===this.items.length-1)return;var n=this.items[this.items.length-1];n.classList.add(this.selectedClass),this.scrollIntoView(n),t.classList.remove(this.selectedClass)}else this.items[this.items.length-1].classList.add(this.selectedClass)}},{key:"scrollIntoView",value:function(e){var t=this.popup.domNode;if(t){var n=e.getBoundingClientRect().height,r=t.getBoundingClientRect().height,o=null;e.offsetTop+n>r+t.scrollTop?o=e.offsetTop+n-r:e.offsetTop<t.scrollTop&&(o=e.offsetTop),this.props.stickyHeader&&this.props.headerHeight&&(null!==o?e.offsetTop-o<this.props.headerHeight&&(o=e.offsetTop-o):e.offsetTop-t.scrollTop<this.props.headerHeight&&(o=t.scrollTop-this.props.headerHeight)),null!==o&&(t.scrollTop=o)}}},{key:"selectItems",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.getSelected(),n=Array.isArray(t);if(n){var r,i=o(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.classList.remove(this.selectedClass)}}catch(e){i.e(e)}finally{i.f()}}else t.classList.remove(this.selectedClass);if(e)if(Array.isArray(e)&&e.length)if(1===e.length)e[0].classList.add(this.selectedClass);else if(this.allowMultipleSelect){var s,l=o(e);try{for(l.s();!(s=l.n()).done;){var c=s.value;c.classList.add(this.selectedClass)}}catch(e){l.e(e)}finally{l.f()}}else console.error("Multiple select items is not allowed");else e.classList&&e.classList.add(this.selectedClass)}},{key:"handleEvent",value:function(e){var t=!1;return s(e)?(t=!0,this.selectNext()):l(e)?(t=!0,this.selectPrev()):c(e)?(t=!0,this.selectLast()):u(e)&&(t=!0,this.selectFirst()),t&&(e.preventDefault(),e.stopPropagation()),t}}])&&a(t.prototype,n),r&&a(t,r),e}()},64467:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createMutex:()=>s.M,AbsolutePosition:()=>l.AbsolutePosition,AbstractConnector:()=>l.AbstractConnector,AbstractStruct:()=>l.AbstractStruct,AbstractType:()=>l.AbstractType,Array:()=>l.Array,ContentAny:()=>l.ContentAny,ContentBinary:()=>l.ContentBinary,ContentDeleted:()=>l.ContentDeleted,ContentEmbed:()=>l.ContentEmbed,ContentFormat:()=>l.ContentFormat,ContentJSON:()=>l.ContentJSON,ContentString:()=>l.ContentString,ContentType:()=>l.ContentType,Doc:()=>l.Doc,GC:()=>l.GC,ID:()=>l.ID,Item:()=>l.Item,Map:()=>l.Map,PermanentUserData:()=>l.PermanentUserData,RelativePosition:()=>l.RelativePosition,Snapshot:()=>l.Snapshot,Text:()=>l.Text,Transaction:()=>l.Transaction,UndoManager:()=>l.UndoManager,XmlElement:()=>l.XmlElement,XmlFragment:()=>l.XmlFragment,XmlHook:()=>l.XmlHook,XmlText:()=>l.XmlText,YArrayEvent:()=>l.YArrayEvent,YEvent:()=>l.YEvent,YMapEvent:()=>l.YMapEvent,YTextEvent:()=>l.YTextEvent,YXmlEvent:()=>l.YXmlEvent,applyUpdate:()=>l.applyUpdate,applyUpdateV2:()=>l.applyUpdateV2,cleanupYTextFormatting:()=>l.cleanupYTextFormatting,compareIDs:()=>l.compareIDs,compareRelativePositions:()=>l.compareRelativePositions,convertUpdateFormatV1ToV2:()=>l.convertUpdateFormatV1ToV2,convertUpdateFormatV2ToV1:()=>l.convertUpdateFormatV2ToV1,createAbsolutePositionFromRelativePosition:()=>l.createAbsolutePositionFromRelativePosition,createDeleteSet:()=>l.createDeleteSet,createDocFromSnapshot:()=>l.createDocFromSnapshot,createID:()=>l.createID,createRelativePositionFromJSON:()=>l.createRelativePositionFromJSON,createRelativePositionFromTypeIndex:()=>l.createRelativePositionFromTypeIndex,createSnapshot:()=>l.createSnapshot,decodeRelativePosition:()=>l.decodeRelativePosition,decodeSnapshot:()=>l.decodeSnapshot,decodeSnapshotV2:()=>l.decodeSnapshotV2,decodeStateVector:()=>l.decodeStateVector,decodeUpdate:()=>l.decodeUpdate,decodeUpdateV2:()=>l.decodeUpdateV2,diffUpdate:()=>l.diffUpdate,diffUpdateV2:()=>l.diffUpdateV2,emptySnapshot:()=>l.emptySnapshot,encodeRelativePosition:()=>l.encodeRelativePosition,encodeSnapshot:()=>l.encodeSnapshot,encodeSnapshotV2:()=>l.encodeSnapshotV2,encodeStateAsUpdate:()=>l.encodeStateAsUpdate,encodeStateAsUpdateV2:()=>l.encodeStateAsUpdateV2,encodeStateVector:()=>l.encodeStateVector,encodeStateVectorFromUpdate:()=>l.encodeStateVectorFromUpdate,encodeStateVectorFromUpdateV2:()=>l.encodeStateVectorFromUpdateV2,equalSnapshots:()=>l.equalSnapshots,findIndexSS:()=>l.findIndexSS,findRootTypeKey:()=>l.findRootTypeKey,getItem:()=>l.getItem,getState:()=>l.getState,getTypeChildren:()=>l.getTypeChildren,isDeleted:()=>l.isDeleted,isParentOf:()=>l.isParentOf,iterateDeletedStructs:()=>l.iterateDeletedStructs,logType:()=>l.logType,logUpdate:()=>l.logUpdate,logUpdateV2:()=>l.logUpdateV2,mergeUpdates:()=>l.mergeUpdates,mergeUpdatesV2:()=>l.mergeUpdatesV2,parseUpdateMeta:()=>l.parseUpdateMeta,parseUpdateMetaV2:()=>l.parseUpdateMetaV2,readUpdate:()=>l.readUpdate,readUpdateV2:()=>l.readUpdateV2,relativePositionToJSON:()=>l.relativePositionToJSON,snapshot:()=>l.snapshot,transact:()=>l.transact,tryGc:()=>l.tryGc,typeListToArraySnapshot:()=>l.typeListToArraySnapshot,typeMapGetSnapshot:()=>l.typeMapGetSnapshot,syncProtocol:()=>r,awarenessProtocol:()=>o,messageSync:()=>p,messageAwareness:()=>f,messageAuth:()=>h,getEmptyStateSet:()=>m,getStateVector:()=>g,createDeleteSetFromStructStore:()=>y,copyMap:()=>v,copyArray:()=>b,copyText:()=>_,restoreDump:()=>w});n(66992),n(51532),n(41539),n(78783),n(33948),n(54747),n(26699),n(83753),n(47042),n(68309),n(91038),n(82526),n(41817),n(32165);var r=n(53665),o=n(15264),i=n(29693),a=n(59150),s=n(70494),l=n(51718);function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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 u(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=0,f=1,h=2,m=function(){var e=a.createEncoder();return a.writeVarUint(e,p),r.writeSyncStep1(e,{store:{clients:new Map}}),a.toUint8Array(e)},g=function(e){var t=new Map;return e.clients.forEach((function(e,n){var r=e[e.length-1];t.set(n,r.id.clock+r.length)})),t},y=function(e){var t=[];return e.clients.forEach((function(e,n){for(var r=0;r<e.length;r++){var o=e[r];if(o.deleted){var i=o.id.clock,a=o.length;if(r+1<e.length)for(var s=e[r+1];r+1<e.length&&s.id.clock===i+a&&s.deleted;s=e[1+ ++r])a+=s.length;t.push([n,i,a])}}})),t};function v(e,t,n){e.forEach((function(e,r){if(e instanceof n.types.Map){var o=new n.types.Map;v(e,o,n),t.set(r,o)}else if(e instanceof n.types.Array){var i=new n.types.Array;b(e,i,n),t.set(r,i)}else if(e instanceof n.types.Text){var a=new n.types.Text;_(e,a,n),t.set(r,a)}else t.set(r,e)}))}function b(e,t,n){var r,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i instanceof n.types.Map){var a=new n.types.Map;v(i,a,n),t.push([a])}else if(i instanceof n.types.Array){var s=new n.types.Array;b(i,s,n),t.push([s])}else if(i instanceof n.types.Text){var l=new n.types.Text;_(i,l,n),t.push([l])}else t.push([i])}}catch(e){o.e(e)}finally{o.f()}}function _(e,t,n){t.applyDelta(e.toDelta())}function w(e){var t,n,o,s=e.doc,l=e.buffer,u=e.Y,d=i.createDecoder(l),p=a.createEncoder(),f=c(s.get("rootChildren",u.Array)||[]),h=0===f.length;1===f.length&&(["\n",""].includes(null===(t=s.get("blocks"))||void 0===t||null===(n=t.get(f[0]))||void 0===n||null===(o=n.get("characters"))||void 0===o?void 0:o.toJSON())&&(h=!0));if(!h)throw console.log("blots",f),new Error("can't restoreDump doc is not empty");r.readSyncMessage(d,p,s)}},5371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});n(30489),n(12419),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var r=n(79758),o=(n(29197),n(77510)),i=n(407);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return"file_info:"+e}var m=function(e){!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}}),t&&l(e,t)}(p,e);var t,n,a,u=c(p);function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),f(d(t=u.call(this,e)),"onImgLoad",(function(e){var n=t.props,r=(n.syncedState,n.setSyncedState),o=n.attachment;t.getStoredFileInfo()||r(f({},h(o.file_uuid),{width:e.target.width,height:e.target.height})),t.setState((function(){return{imgLoaded:!0}}))})),f(d(t),"onImgClick",(function(e){var n=t.props,r=n.editor,o=n.attachment,i=n.blot;e.preventDefault();var a={};i&&i.disallowDownloading&&(a.disallowDownloading=!0);var s=!1;!1!==r.plugins.imageManager.enterFullSize(o.global_id,a)&&(s=!0),s||r.plugins.lightBox.open(o.url)})),f(d(t),"onImgError",(function(e){t.setState((function(){return{imgError:!0}}))})),t.state={imgLoaded:!1,imgError:!1},t}return t=p,(n=[{key:"componentDidMount",value:function(){var e=this.props.attachment,t=new Image;t.onload=this.onImgLoad,t.onerror=this.onImgError,t.src=e.url}},{key:"getStoredFileInfo",value:function(){var e=this.props;return e.syncedState[h(e.attachment.file_uuid)]}},{key:"render",value:function(){var e,t,n,a=this.props,s=a.attachment,l=a.maxWidth,c=a.maxHeight,u=(a.syncedState,this.state),d=u.imgLoaded,p=u.imgError,f={maxWidth:l+"px",maxHeight:c+"px"},h=this.getStoredFileInfo();if(h){var m=h.width,g=h.height;if(m>l||g>c){var y=Math.max(m/l,g/c);t=m/y,n=g/y}else t=m,n=g}if(d)f.width=t+"px",f.height=n+"px",e=(0,r.h)("img",{style:f,src:s.url,onLoad:this.onImgLoad,onClick:this.onImgClick.bind(this)});else if(p)e=(0,r.h)("div",{className:"img-error"},(0,r.h)(i.xv,{id:"file.image_viewer.could_not_load_image"}));else{var v={};n&&(v.height=n),e=(0,r.h)(o.Z,v)}return(0,r.h)("div",{className:"image-viewer"},e)}}])&&s(t.prototype,n),a&&s(t,a),p}(r.wA);m.viewerName="ImageViewer"},71372:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>mr});n(87751),n(33161),n(9653),n(69600),n(21249),n(30489),n(12419),n(47941),n(82526),n(57327),n(38880),n(54747),n(49337),n(41539),n(19601),n(41817),n(32165),n(66992),n(78783),n(33948);var r=n(79758);n(47042),n(68309),n(91038),n(92222),n(73210);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!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}}),t&&d(e,t)}(m,e);var t,n,o,i,c,f=p(m);function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),g(h(t=f.call(this,e)),"onCanvasRef",(function(e){t.canvas=e})),g(h(t),"onCanvasWrapperRef",(function(e){t.canvasWrapper=e})),g(h(t),"onTextContentDivRef",(function(e){t.textContainer=e})),g(h(t),"onAnnotationContentDivRef",(function(e){t.annotationContainer=e,t.renderPage()})),t.state={isRendered:!1,isRendering:!1,pageSizeHeight:0},t.textDivs=[],t.textContentItemsStr=[],t.renderTask,t.textLayerRenderTask,t.renderCounter=0,t}return t=m,(n=[{key:"getPageSize",value:function(){if(!this.props.pdfPage)return{width:this.props.defaultWidth*this.props.scale*(96/72),height:this.props.defaultHeight*this.props.scale*(96/72)};var e=this.props.pdfPage.view;return{width:e[2]*this.props.scale*(96/72),height:e[3]*this.props.scale*(96/72)}}},{key:"clearSearchMatches",value:function(){var e=this.textDivs;if(e&&e.length){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var r,o=l(t.value.querySelectorAll(".highlight"));try{for(o.s();!(r=o.n()).done;){var i,a=r.value,s=l(a.childNodes);try{for(s.s();!(i=s.n()).done;){var c=i.value;a.parentNode.insertBefore(c,a)}}catch(e){s.e(e)}finally{s.f()}a.parentNode.removeChild(a)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"renderMatches",value:function(e,t){if(this.clearSearchMatches(),e&&0!==e.length){var n=e.query,r=e.matches,o=e.matchesLength,i=this.textContentItemsStr,a=this.textDivs;r=this._convertMatches(r,o,i,n);var s=null,l={divIdx:-1,offset:void 0},c=0;t&&(c=t.selectedMatchIdx);var u=c,d=u+1;u=0,d=r.length;for(var p=[],f=null,h=u;h<d;h++){var m=r[h],g=m.begin,y=m.end,v=t&&h===c,b=v?" selected":"";if(v&&(f=a[g.divIdx]),p.push(a[g.divIdx]),s&&g.divIdx===s.divIdx?S(s.divIdx,s.offset,g.offset):(null!==s&&S(s.divIdx,s.offset,l.offset),C(g)),g.divIdx===y.divIdx)S(g.divIdx,g.offset,y.offset,"highlight"+b);else{S(g.divIdx,g.offset,l.offset,"highlight begin"+b);for(var _=g.divIdx+1,w=y.divIdx;_<w;_++)a[_].className="highlight middle"+b;C(y,"highlight end"+b)}s=y}s&&S(s.divIdx,s.offset,l.offset),f&&this.props.onActiveMatchRender(f)}function C(e,t){var n=e.divIdx;a[n].textContent="",S(n,0,e.offset,t)}function S(e,t,n,r){var o=a[e],s=i[e].substring(t,n),l=document.createTextNode(s);if(r){var c=document.createElement("span");return c.className=r,c.appendChild(l),void o.appendChild(c)}o.appendChild(l)}}},{key:"renderPage",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,o,i,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w=this,C=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=C.length>0&&void 0!==C[0]&&C[0],this.canvas){e.next=3;break}return e.abrupt("return");case 3:if(n=this.props,r=n.pdfPage,o=n.scale,i=n.num,s=n.pdfjsLib,r){e.next=6;break}return e.abrupt("return");case 6:if(this.props.visible||t){e.next=8;break}return e.abrupt("return");case 8:if(l={isRendering:!1},c=++this.renderCounter,this.setState((function(){return{isRendering:!0}})),this.renderTask)try{this.renderTask.cancel()}catch(e){console.warn("fail to cancel render task",i,e)}if(this.textLayerRenderTask)try{this.textLayerRenderTask.cancel()}catch(e){console.warn("fail to cancel text render task",i,e)}if(this.textContainer)for(;this.textContainer.firstChild;)this.textContainer.removeChild(this.textContainer.firstChild);return u=this.canvas,d=window.devicePixelRatio*o*(96/72),p=r.getViewport({scale:d}),f=this.getPageSize(),h=f.width*p.height/p.width,l=a(a({},l),{},{pageSizeHeight:h}),m=o*(96/72),g=r.getViewport({scale:m}),u.width=Math.round(p.width),u.height=Math.round(p.height),u.style="width: ".concat(f.width,"px; height: ").concat(h,"px;"),this.canvasWrapper.style="width: ".concat(f.width,"px; height: ").concat(h,"px;"),y=u.getContext("2d"),v=r.render({canvasContext:y,viewport:p}),this.renderTask=v,this.textDivs=[],b=r.getTextContent().then((function(e){if(v._canceled||c!==w.renderCounter)throw new Error("render task was canceled");return w.textContainer.style="width: ".concat(u.width,"px; height: ").concat(u.height,"px;"),w.textLayerRenderTask=s.renderTextLayer({textContent:e,container:w.textContainer,viewport:g,textDivs:w.textDivs,textContentItemsStr:w.textContentItemsStr,enhanceTextSelection:!0}),w.textLayerRenderTask.promise})),_=r.getAnnotations().then((function(e){if(v._canceled||c!==w.renderCounter)throw new Error("render task was canceled");var t={viewport:p.clone({dontFlip:!0}),div:w.annotationContainer,annotations:e,page:r,linkService:{externalLinkTarget:s.LinkTarget.BLANK}};return""!==w.annotationContainer.innerHTML.trim()?s.AnnotationLayer.update(t):(t.linkService.getDestinationHash=function(){return null},s.AnnotationLayer.render(t))})),e.prev=32,e.next=35,Promise.all([v.promise,b,_.promise]);case 35:this.props.searchMatches&&this.renderMatches(this.props.searchMatches,this.props.activeSearchMatch),l.isRendered=!0,e.next=42;break;case 39:e.prev=39,e.t0=e.catch(32),console.warn("fail to render page",i,e.t0);case 42:this.setState((function(){return l}));case 43:case"end":return e.stop()}}),e,this,[[32,39]])})),c=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){s(o,n,r,a,l,"next",e)}function l(e){s(o,n,r,a,l,"throw",e)}a(void 0)}))},function(){return c.apply(this,arguments)})},{key:"_convertMatches",value:function(e,t,n,r){if(!e)return[];for(var o=0,i=0,a=n.length-1,s=r.length,l=[],c=0,u=e.length;c<u;c++){for(var d=e[c];o!==a&&d>=i+n[o].length;)i+=n[o].length,o++;o===n.length&&console.error("Could not find a matching mapping");var p={begin:{divIdx:o,offset:d-i}};for(d+=t?t[c]:s;o!==a&&d>i+n[o].length;)i+=n[o].length,o++;p.end={divIdx:o,offset:d-i},l.push(p)}return l}},{key:"componentDidUpdate",value:function(e){e.pdfPage!==this.props.pdfPage||this.props.visible&&this.props.visible!==e.visible&&!this.state.isRendered&&!this.state.isRendering?this.renderPage():this.state.isRendered&&this.props.scale!==e.scale&&this.renderPage(!0),e.activeSearchMatch!==this.props.activeSearchMatch&&this.state.isRendered&&this.renderMatches(this.props.searchMatches,this.props.activeSearchMatch),e.searchMatches!==this.props.searchMatches&&this.state.isRendered&&this.renderMatches(this.props.searchMatches,this.props.activeSearchMatch)}},{key:"render",value:function(){var e=this.getPageSize(),t=e.width,n=e.height,o=["pdf-page"];return this.props.active&&o.push("pdf-page-active"),this.props.pdfPage||o.push("editor-loader2-grey editor-loader-cc"),(0,r.h)("div",{className:o.join(" "),style:{width:t+"px",height:(this.state.pageSizeHeight||n)+"px"}},(0,r.h)("div",{className:"canvasWrapper",ref:this.onCanvasWrapperRef},(0,r.h)("canvas",{ref:this.onCanvasRef})),(0,r.h)("div",{className:"textLayer",ref:this.onTextContentDivRef}),(0,r.h)("div",{className:"annotationLayer",ref:this.onAnnotationContentDivRef}))}}])&&u(t.prototype,n),o&&u(t,o),m}(r.wA),v=n(47983),b=n.n(v),_=n(12934),w=n.n(_),C=n(67546);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A(e);if(t){var o=A(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=parseInt(w().fullScreenViewerPagesMargin),I=parseInt(w().fullScreenViewerFirstPageTopMargin),M=function(e){!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}}),t&&x(e,t)}(a,e);var t,n,o,i=k(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),P(T(t=i.call(this,e)),"scrollTop",0),P(T(t),"onSearchActiveMatchesRender",(function(e){e&&((0,C.gx)(e)||requestAnimationFrame((function(){e.scrollIntoView({block:"center",inline:"center"})})))})),P(T(t),"onRef",(function(e){e&&(t.rootNode=e,t.rootNode.scrollTop=0)}));var n=e.pdfDocument,r=e.pagesOverview,o=e.scale,s=e.defaultPageHeight;return t.state=Object.assign({},t.getActivePage(0,n,r,o,s)),t.onScroll=b()((function(e){var n=t.props,r=n.pdfDocument,o=n.pagesOverview,i=n.scale,a=n.defaultPageHeight,s=e.target,l=s.scrollHeight,c=s.scrollTop,u=s.offsetHeight,d=t.getActivePage(c,r,o,i,a);c+u>=l-R&&(d.pageActive=r.numPages),t.setState((function(){return d}),(function(){t.scrollTop=c}))}),300,{trailing:!0}),t}return t=a,(n=[{key:"getActivePage",value:function(e,t,n,r,o){for(var i=I,a=1,s=1;s<=t.numPages;s++){var l=n[s],c=this.getPageHeight(l&&l.height||o,r);if(e>=i-R&&e<=i+c){a=s;break}i+=c+R}return{pageActive:a,pageVisibleStart:Math.max(0,a-1),pageVisibleEnd:Math.min(t.numPages,a+1)}}},{key:"getPageHeight",value:function(e,t){return e*t*(96/72)}},{key:"getPageBox",value:function(e,t,n){for(var r=I,o=1;o<e;o++){var i=n[e];if(!n)return null;r+=this.getPageHeight(i.height,t)+R}return n[e]?{top:r,height:n[e].height}:null}},{key:"scrollToActivePage",value:function(e){var t=this.props,n=t.pagesOverview,r=t.scale,o=this.getPageBox(e,r,n);this.rootNode.scrollTop=o.top-3}},{key:"componentDidUpdate",value:function(e,t){e.scale!==this.props.scale&&this.scrollToActivePage(this.state.pageActive),t.pageActive!==this.state.pageActive&&this.props.onActivePageChange(this.state.pageActive),e.activatePage!==this.props.activatePage&&this.scrollToActivePage(this.props.activatePage.num)}},{key:"render",value:function(){for(var e=this.props,t=e.pdfDocument,n=e.scale,o=e.defaultPageWidth,i=e.defaultPageHeight,a=e.pagesOverview,s=e.searchMatch,l=e.searchMatches,c=e.pdfjsLib,u=this.state,d=(u.pages,u.scrollTop,u.pageVisibleStart),p=u.pageVisibleEnd,f=[],h=1;h<=t.numPages;h++){var m=a[h],g=h>=d&&h<=p,v=s&&s.pageNum===h?s:null,b=l[h-1];f.push((0,r.h)(y,{defaultWidth:o,defaultHeight:i,visible:g,scale:n,pdfPage:m&&m.page,num:h,activeSearchMatch:v,searchMatches:b,onActiveMatchRender:this.onSearchActiveMatchesRender,pdfjsLib:c,active:h===this.props.activePage}))}return(0,r.h)("div",{className:"pdf-viewer-pages",ref:this.onRef,onScroll:this.onScroll},f)}}])&&E(t.prototype,n),o&&E(t,o),a}(r.wA),N=n(49190);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})(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=V(e);if(t){var o=V(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return U(this,n)}}function U(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 H(e)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q=[.5,.75,1,1.25,1.5,2,3,4],G=function(e){!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}}),t&&B(e,t)}(a,e);var t,n,o,i=F(a);function a(){var e;j(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return z(H(e=i.call.apply(i,[this].concat(n))),"onSelect",(function(t){e.scaleChanged(t.target.value)})),z(H(e),"onDecreaseScale",(function(){var t=q.indexOf(e.props.scale)-1;t<0||e.scaleChanged(q[t])})),z(H(e),"onIncreaseScale",(function(){var t=q.indexOf(e.props.scale)+1;q.length<=t||e.scaleChanged(q[t])})),e}return t=a,(n=[{key:"scaleChanged",value:function(e){this.props.onScaleChange(e)}},{key:"render",value:function(){var e=this.props.scale,t=q.map((function(e){return(0,r.h)("option",{value:e},Math.round(100*e),"%")}));return(0,r.h)("div",{className:"pdf-viewer-zoom"},(0,r.h)("div",{className:"pdf-viewer-button",onClick:this.onIncreaseScale},(0,r.h)(N.SC9,null)),(0,r.h)("select",{onChange:this.onSelect,value:e},t),(0,r.h)("div",{className:"pdf-viewer-button",onClick:this.onDecreaseScale},(0,r.h)(N.UrD,null)))}}])&&L(t.prototype,n),o&&L(t,o),a}(r.wA);n(60285),n(41637);function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=J(e);if(t){var o=J(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(e,t){if(t&&("object"===W(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return X(e)}function X(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=function(e){!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}}),t&&K(e,t)}(l,e);var t,n,o,i,a,s=$(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),ee(X(t=s.call(this,e)),"onCanvasRef",(function(e){t.canvas=e})),ee(X(t),"onImgRef",(function(e){t.img=e})),t.state={objectUrl:null},t}return t=l,(n=[{key:"loadCanvasIntoImg",value:function(e){var t=this;return new Promise((function(n,r){var o=t.img;if(!o)return r(new Error("no img was loaded"));o.onload=n,o.onerror=r,e.toBlob((function(e){var n=URL.createObjectURL(e);o.src=n,t.setState((function(){return{objectUrl:n}}))}))}))}},{key:"renderPage",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l,c=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.num,r=t.pdfDocument,e.next=3,r.getPage(n);case 3:return o=e.sent,i=document.createElement("canvas"),a=o.getViewport({scale:1}),i.width=Math.floor(a.width*(150/72)),i.height=Math.floor(a.height*(150/72)),s=i.getContext("2d"),l=o.render({canvasContext:s,viewport:a,transform:[150/72,0,0,150/72,0,0],intent:"print"}),this.renderTask=l,e.prev=11,e.next=14,l.promise;case 14:return e.next=16,this.loadCanvasIntoImg(i);case 16:e.next=21;break;case 18:return e.prev=18,e.t0=e.catch(11),e.abrupt("return",console.warn("rendering of a print page failed with",e.t0));case 21:this.setState((function(){return{viewport:o.getViewport({scale:1}),width:Math.floor(a.width*(96/72)),height:Math.floor(a.height*(96/72))}}),(function(){requestAnimationFrame((function(){c.props.onLoad(o,n)})),c.renderTask=null}));case 22:case"end":return e.stop()}}),e,this,[[11,18]])})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){Y(o,n,r,a,s,"next",e)}function s(e){Y(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"componentDidMount",value:function(){this.props.canLoad&&this.renderPage()}},{key:"componentDidUpdate",value:function(e){this.props.canLoad&&e.canLoad!==this.props.canLoad&&!this.state.viewport&&this.renderPage()}},{key:"componentWillUnmount",value:function(){this.renderTask&&!this.state.viewport&&this.renderTask.cancel(),this.state.objectUrl&&URL.revokeObjectURL(this.state.objectUrl),this.renderTask=null,this.canvas=null,this.img=null,this.props={}}},{key:"render",value:function(){var e=1,t=1;return this.state.viewport&&(e=this.state.width,t=this.state.height),(0,r.h)("div",{className:"pdf-viewer-printing-page"},(0,r.h)("img",{style:{width:e+"px",height:t+"px"},ref:this.onImgRef}))}}])&&Z(t.prototype,n),o&&Z(t,o),l}(r.wA),ne=n(2769),re=n.n(ne),oe=n(407);function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e,t,n){return t&&se(e.prototype,t),n&&se(e,n),e}function ce(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}}),t&&ue(e,t)}function ue(e,t){return(ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=he(e);if(t){var o=he(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pe(this,n)}}function pe(e,t){if(t&&("object"===ie(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return fe(e)}function fe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ge=function(e){ce(n,e);var t=de(n);function n(e){var r;ae(this,n),me(fe(r=t.call(this,e)),"onPageLoad",(function(e,t){r.props.onPageLoad(e,t),fe(r).pagesState[t]="loaded",r.loadingCnt--;var n=r.state.pagesLoaded+1;r.setState((function(){return{pagesLoaded:n}}),(function(){n>=r.props.pdfDocument.numPages&&requestAnimationFrame((function(){r.props.onPagesBuild()})),e.cleanup()}))})),r.state={pagesLoaded:0},r.loadingCnt=0,r.pagesState={};for(var o=1;o<=e.pdfDocument.numPages;o++)r.pagesState[o]="";return r}return le(n,[{key:"componentWillUnmount",value:function(){this.props={}}},{key:"render",value:function(){for(var e=this.props.pdfDocument,t=this.pagesState,n=[],o=1;o<=e.numPages;o++){var i=!1;this.loadingCnt<30&&""===t[o]&&(this.loadingCnt++,t[o]="loading",i=!0),n.push((0,r.h)(te,{num:o,pdfDocument:e,canLoad:i,onLoad:this.onPageLoad}))}return(0,r.h)("div",{className:"pdf-viewer-printing-pages"},n)}}]),n}(r.wA),ye=function(e){ce(n,e);var t=de(n);function n(e){var r;ae(this,n),me(fe(r=t.call(this,e)),"onPagesBuild",(function(){window.print(),r.props.onPrinted()})),me(fe(r),"onPageLoad",(function(e,t){if(!r.pageStyleSheet){var n=e.view[2],o=e.view[3];r.pageStyleSheet=document.createElement("style"),r.pageStyleSheet.textContent="@supports ((size:A4) and (size:1pt 1pt)) {@page { size: "+n+"pt "+o+"pt; margin: 0;}}",document.body.appendChild(r.pageStyleSheet)}r.setState((function(e){return{pagesLoaded:e.pagesLoaded+1}}))})),me(fe(r),"onAbort",(function(){r.props.onAbort()})),r.state={pagesLoaded:0};var o=document.createElement("div");return document.body.insertBefore(o,document.body.firstChild),r}return le(n,[{key:"componentDidMount",value:function(){var e=this.props.pdfDocument;this.pRenderPages((0,r.h)(ge,{pdfDocument:e,onPageLoad:this.onPageLoad,onPagesBuild:this.onPagesBuild})),this.printStyleSheet=document.createElement("style"),this.printStyleSheet.textContent=re(),document.body.appendChild(this.printStyleSheet)}},{key:"componentWillUnmount",value:function(){this.pageStyleSheet&&this.pageStyleSheet.parentNode.removeChild(this.pageStyleSheet),this.pRenderPages(null),this.printStyleSheet.parentNode.removeChild(this.printStyleSheet),this.props={}}},{key:"pRenderPages",value:function(e){(0,r.sY)(e,document.body)}},{key:"render",value:function(){var e=this.props.pdfDocument,t=Math.round(this.state.pagesLoaded/e.numPages*100);return(0,r.h)("div",{className:"pdf-viewer-printing-overlay"},(0,r.h)("div",{className:"pdf-viewer-printing-message"},(0,r.h)(oe.xv,{id:"file.pdf_viewer.preparing_document_for_printing"})," "+t+"%",(0,r.h)("br",null),(0,r.h)("a",{onClick:this.onAbort},(0,r.h)(oe.xv,{id:"file.pdf_viewer.abort"}))))}}]),n}(r.wA);function ve(e){return(ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function be(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _e(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){be(i,r,o,a,s,"next",e)}function s(e){be(i,r,o,a,s,"throw",e)}a(void 0)}))}}function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ee(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Oe(e);if(t){var o=Oe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xe(this,n)}}function xe(e,t){if(t&&("object"===ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ke(e)}function ke(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=function(e){!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}}),t&&Se(e,t)}(s,e);var t,n,o,i,a=Ee(s);function s(){var e;we(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Te(ke(e=a.call.apply(a,[this].concat(n))),"onCanvasRef",(function(t){e.canvas=t,e.state={isRendered:!1}})),e}return t=s,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.pageOverview,n=e.visible;t&&n&&this.renderPage()}},{key:"componentDidUpdate",value:function(e,t){if(!this.state.isRendered){var n=this.props,r=n.pageOverview,o=n.visible;r&&o&&(r!==e.pageOverview||o!==e.visible)&&this.renderPage()}}},{key:"getScale",value:function(){var e=this.props,t=e.pageOverview;return e.width/t.page.getViewport({scale:1}).width}},{key:"renderPage",value:(i=_e(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.props.pageOverview,n=t.page,r=this.canvas,o=this.getScale(),i=window.devicePixelRatio*o*(96/72),a=n.getViewport({scale:i}),r.width=Math.round(a.width),r.height=Math.round(a.height),s=r.getContext("2d"),l=n.render({canvasContext:s,viewport:a}),this.setState((function(){return{isRendered:!0}}),_e(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.promise;case 2:case"end":return e.stop()}}),e)}))));case 11:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height;return(0,r.h)("div",{className:"pdf-viewer-page-preview "+(this.props.active?"pdf-viewer-active-preview":""),style:{width:t+"px",height:n+"px"},onClick:this.props.onClick},(0,r.h)("canvas",{ref:this.onCanvasRef}))}}])&&Ce(t.prototype,n),o&&Ce(t,o),s}(r.wA);function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=je(e);if(t){var o=je(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}function Ne(e,t){if(t&&("object"===Pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return De(e)}function De(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=parseInt(w().fullScreenViewerPreviewsTopMargin),Be=parseInt(w().fullScreenViewerPreviewsMargin),Fe=function(e){!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}}),t&&Ie(e,t)}(a,e);var t,n,o,i=Me(a);function a(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=i.call(this,e),n=De(t),o=function(e){e&&(t.rootNode=e,t.rootNode.scrollTop=0)},(r="onRef")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.state={scrollTop:0},t.onScroll=b()((function(e){t.setState((function(){return{scrollTop:e.target.scrollTop}}))}),300,{trailing:!0}),t}return t=a,(n=[{key:"getPreviewSize",value:function(e,t,n){var r=t,o=n;return e&&(r=e.width,o=e.height),{width:100,height:100/(r/o)}}},{key:"getPreviewBox",value:function(e,t,n,r){for(var o=Le,i=1;i<e;i++)t[i],o+=this.getPreviewSize(t[i],n,r).height+Be;return{top:o,height:this.getPreviewSize(t[e],n,r).height}}},{key:"scrollTopActivePage",value:function(){var e=this.props,t=e.pagesOverview,n=e.defaultPageWidth,r=e.defaultPageHeight,o=this.getPreviewBox(this.props.activePage,t,n,r),i=this.rootNode.scrollTop,a=this.rootNode.offsetHeight+i;i<=o.top&&a>=o.top+o.height||(this.rootNode.scrollTop=o.top-3)}},{key:"componentDidMount",value:function(){this.scrollTopActivePage()}},{key:"componentDidUpdate",value:function(e){e.activePage!==this.props.activePage&&this.scrollTopActivePage()}},{key:"onPageClick",value:function(e){this.props.onActivatePage(e)}},{key:"render",value:function(){for(var e,t,n=this.props,o=n.pdfDocument,i=n.defaultPageWidth,a=n.defaultPageHeight,s=n.pagesOverview,l=this.state.scrollTop,c=Le,u=1;u<=o.numPages;u++){s[u];var d=this.getPreviewSize(s[u],i,a).height;if(l>=c-Be&&l<=c+d+Be){e=Math.max(0,u-10),t=Math.min(o.numPages,u+10);break}c+=d+Be}for(var p=[],f=1;f<=o.numPages;f++){var h=s[f],m=f>=e&&f<=t,g=this.getPreviewSize(h,i,a),y=g.width,v=g.height;p.push((0,r.h)(Ae,{width:y,height:v,pageOverview:h,visible:m,active:this.props.activePage===f,onClick:this.onPageClick.bind(this,f)}))}return(0,r.h)("div",{ref:this.onRef,className:"pdf-viewer-sidebar",onScroll:this.onScroll},(0,r.h)("div",{className:"pdf-viewer-previews"},p))}}])&&Re(t.prototype,n),o&&Re(t,o),a}(r.wA),Ue=n(21791),He=n.n(Ue),Ve=n(28199);function ze(e){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function We(e,t,n){return t&&Ge(e.prototype,t),n&&Ge(e,n),e}function Ye(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}}),t&&Ze(e,t)}function Ze(e,t){return(Ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $e(this,n)}}function $e(e,t){if(t&&("object"===ze(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qe(e)}function Qe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xe(e){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var et=(0,Ve.ZP)("escape"),tt=(0,Ve.ZP)("enter"),nt=function(e){Ye(n,e);var t=Ke(n);function n(e){var r;return qe(this,n),Je(Qe(r=t.call(this,e)),"onFoundMatches",(function(e){e.pageNum;var t=r.props.finder;r.props.onTotalMatchesChange(t.totalMatches)})),r.state={},e.finder.init(),r}return We(n,[{key:"componentDidMount",value:function(){this.props.finder.on("found-matches",this.onFoundMatches),this.doLookup()}},{key:"componentDidUpdate",value:function(e){e.query!==this.props.query&&this.doLookup()}},{key:"componentWillUnmount",value:function(){this.props.finder.removeListener("found-matches",this.onFoundMatches)}},{key:"doLookup",value:function(){var e=this.props,t=e.finder,n=e.query;t.setQuery(n),t.lookForMatches()}},{key:"render",value:function(){var e,t=this.props,n=t.totalMatches,o=t.selectedMatchIdx,i=t.notFound;return e=i?(0,r.h)("div",null,"Phrase not found"):n>1e3?(0,r.h)("div",null,"Found More than 1000 matches"):0===n?(0,r.h)("div",null,"Searching..."):(0,r.h)("div",null,o+1," of ",n," match",n>1?"es":""),(0,r.h)("div",{className:"pdf-viewer-search-result"},e,i?null:(0,r.h)("div",null,(0,r.h)("button",{onClick:this.props.onPrevMatch},"Prev"),(0,r.h)("button",{onClick:this.props.onNextMatch},"Next")),(0,r.h)("div",{className:"close",onClick:this.props.onClose},"×"))}}]),n}(r.wA),rt=function(e){Ye(n,e);var t=Ke(n);function n(e){var r;return qe(this,n),Je(Qe(r=t.call(this,e)),"onChange",(function(e){r.props.finder.abort(),r.setState((function(){return{query:e.target.value,scrollToFirstMatch:!0,notFound:!1}}))})),Je(Qe(r),"onInputKeyDown",(function(e){et(e)?r.clearSearch():tt(e)&&r.onNextMatch()})),Je(Qe(r),"onFoundMatches",(function(){var e=r.props,t=e.finder,n=e.pdfDocument,o=t.rawMatches;if(r.state.scrollToFirstMatch){for(var i,a=0;a!==n.numPages&&o[a];a++)if(o[a].length){i={pageNum:a+1,matches:o[a],matchesLength:t.getPageMatchesLength(a),selectedMatchIdx:0,query:r.state.query};break}i&&r.setState((function(){return{scrollToFirstMatch:!1,matchIdx:0}}),(function(){r.activateMatch(i)}))}r.foundMatchesDebounced(t.matches)})),Je(Qe(r),"onFinderSearchEnd",(function(){r.props.finder.totalMatches||r.setState((function(){return{notFound:!0}}),(function(){r.activateMatch(null),r.foundMatches([])}))})),Je(Qe(r),"onPrevMatch",(function(){if(!(r.state.matchIdx<=0)){var e=r.state.matchIdx-1;r.setState((function(){return{matchIdx:e}}),(function(){r.activateMatchByIdx(e)}))}})),Je(Qe(r),"onNextMatch",(function(){var e=r.state.totalMatches,t=r.state.matchIdx+1;t>=e||r.setState((function(){return{matchIdx:t}}),(function(){r.activateMatchByIdx(t)}))})),Je(Qe(r),"onTotalMatchesChange",(function(e){r.setState((function(){return{totalMatches:e}}))})),Je(Qe(r),"onSearchResultClose",(function(){r.clearSearch()})),r.state={query:"",scrollToFirstMatch:!0,totalMatches:0,matchIdx:0,notFound:!1},r.foundMatchesDebounced=He()(r.foundMatches,200,{trailing:!0}),r}return We(n,[{key:"componentDidMount",value:function(){var e=this.props.finder;e.on("found-matches",this.onFoundMatches),e.on("search-end",this.onFinderSearchEnd)}},{key:"componentWillUnmount",value:function(){var e=this.props.finder;e.removeListener("found-matches",this.onFoundMatches),e.removeListener("search-end",this.onFinderSearchEnd)}},{key:"componentDidUpdate",value:function(e,t){t.query!==this.state.query&&""===this.state.query&&(this.activateMatch(null),this.foundMatches([]))}},{key:"clearSearch",value:function(){this.setState((function(){return{query:"",notFound:!1}}))}},{key:"activateMatchByIdx",value:function(e){for(var t,n,r,o=this.props.finder,i=o.rawMatches,a=0,s=0;s!=i.length;s++){if(!(a+i[s].length<=e)){n=i[s],t=e-a,r=s;break}a+=i[s].length}if(n){var l={pageNum:r+1,matches:n,matchesLength:o.getPageMatchesLength(r),selectedMatchIdx:t,query:this.state.query};this.activateMatch(l)}}},{key:"activateMatch",value:function(e){this.props.onActivateMatch(e)}},{key:"foundMatches",value:function(e){this.props.onMatches(e)}},{key:"render",value:function(){var e=this.state,t=e.query,n=e.totalMatches,o=e.matchIdx,i=e.notFound,a=null;return t.length>0&&(a=(0,r.h)(nt,{query:t,finder:this.props.finder,onPrevMatch:this.onPrevMatch,onNextMatch:this.onNextMatch,totalMatches:n,selectedMatchIdx:o,onTotalMatchesChange:this.onTotalMatchesChange,notFound:i,onClose:this.onSearchResultClose})),(0,r.h)("div",{className:"pdf-viewer-search "+(i?"pdf-viewer-search-not-found":"")},(0,r.h)("div",{className:"pdf-viewer-search-bar"},(0,r.h)("input",{value:t,type:"text",placeholder:"Search",onInput:this.onChange,onKeyDown:this.onInputKeyDown}),(0,r.h)("div",{className:"pdf-viewer-search-icon"})),a)}}]),n}(r.wA),ot=n(60764),it=n.n(ot),at=(n(24603),n(74916),n(39714),n(15306),n(4723),n(2707),n(94092));function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function ct(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){lt(i,r,o,a,s,"next",e)}function s(e){lt(i,r,o,a,s,"throw",e)}a(void 0)}))}}function ut(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ht(e);if(t){var o=ht(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ft(this,n)}}function ft(e,t){if(t&&("object"===st(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 ht(e){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var mt={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},gt=null;function yt(e){if(!gt){var t=Object.keys(mt).join("");gt=new RegExp("[".concat(t,"]"),"g")}return e.replace(gt,(function(e){return mt[e]}))}var vt=function(e){!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}}),t&&dt(e,t)}(l,e);var t,n,r,o,i,a,s=pt(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this))._extractTextPromises=[],t._pageContents=[],t._pageContentsItems=[],t._pendingFindMatches=[],t._pageMatches=[],t._pageMatchesPrepared=[],t._pageMatchesLength=[],t._initialized=!1,t._initialization=!1,t._query=null,t._matchesCountTotal=0,t._lookingForMatches=!1,t.pdfDocument=e,t.caseSensitive=!1,t.entireWord=!1,t.phraseSearch=!0,t.taskId=0,t}return t=l,(n=[{key:"init",value:(a=ct(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._initialized&&!this._initialization){e.next=2;break}return e.abrupt("return");case 2:return this._initialization=!0,e.next=5,this._extractText();case 5:this._initialization=!1,this._initialized=!0,this.emit("initialized");case 8:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"totalMatches",get:function(){return this._matchesCountTotal}},{key:"matches",get:function(){return this._pageMatchesPrepared}},{key:"rawMatches",get:function(){return this._pageMatches}},{key:"getPageMatchesLength",value:function(e){var t=e-1;return this._pageMatchesLength[t]}},{key:"setQuery",value:function(e){this._query=e}},{key:"abort",value:function(){this._pendingFindMatches=[],this._pageMatches=[],this._pageMatchesPrepared=[],this._pageMatchesLength=[],this._query=null,this._matchesCountTotal=0,this._lookingForMatches=!1,this.taskId++}},{key:"lookForMatches",value:(i=ct(regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.taskId++,t=this.taskId,this._lookingForMatches=!0,n=[],r=0;case 5:if(!(r<this.pdfDocument.numPages)){e.next=16;break}if(t===this.taskId){e.next=9;break}return this._lookingForMatches=!1,e.abrupt("return");case 9:if(!0!==this._pendingFindMatches[r]){e.next=11;break}return e.abrupt("continue",13);case 11:this._pendingFindMatches[r]=!0,n.push(this._extractTextPromises[r].then((function(e){t===o.taskId?(delete o._pendingFindMatches[e],o._calculateMatch(e)):o._lookingForMatches=!1})));case 13:r++,e.next=5;break;case 16:if(t===this.taskId){e.next=19;break}return this._lookingForMatches=!1,e.abrupt("return");case 19:return e.next=21,Promise.all(n);case 21:this._lookingForMatches=!1,this.emit("search-end");case 23:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"_calculateMatch",value:function(e){var t=this._pageContents[e],n=this._query,r=this.caseSensitive,o=this.entireWord,i=this.phraseSearch;if(0!==n.length){r||(t=t.toLowerCase(),n=n.toLowerCase()),i?this._calculatePhraseMatch(n,e,t,o):this._calculateWordMatch(n,e,t,o),this._pageMatchesPrepared[e]={matches:this._pageMatches[e],matchesLength:this._pageMatchesLength[e],query:this._query};var a=this._pageMatches[e].length;a>0&&(this._matchesCountTotal+=a,this.emit("found-matches",{pageNum:e+1}))}}},{key:"_calculatePhraseMatch",value:function(e,t,n,r){for(var o=[],i=e.length,a=-i;-1!==(a=n.indexOf(e,a+i));)r&&!this._isEntireWord(n,a,i)||o.push(a);o.length&&console.info("Found matches",o,"For page",t),this._pageMatches[t]=o}},{key:"_calculateWordMatch",value:function(e,t,n,r){for(var o=[],i=e.match(/\S+/g),a=0,s=i.length;a<s;a++)for(var l=i[a],c=l.length,u=-c;-1!==(u=n.indexOf(l,u+c));)r&&!this._isEntireWord(n,u,c)||o.push({match:u,matchLength:c,skipped:!1});this._pageMatchesLength[t]=[],this._pageMatches[t]=[],this._prepareMatches(o,this._pageMatches[t],this._pageMatchesLength[t])}},{key:"_prepareMatches",value:function(e,t,n){function r(e,t){var n=e[t],r=e[t+1];if(t<e.length-1&&n.match===r.match)return n.skipped=!0,!0;for(var o=t-1;o>=0;o--){var i=e[o];if(!i.skipped){if(i.match+i.matchLength<n.match)break;if(i.match+i.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}}return!1}e.sort((function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match}));for(var o=0,i=e.length;o<i;o++)r(e,o)||(t.push(e[o].match),n.push(e[o].matchLength))}},{key:"_isEntireWord",value:function(e,t,n){if(t>0){var r=e.charCodeAt(t),o=e.charCodeAt(t-1);if(getCharacterType(r)===getCharacterType(o))return!1}var i=t+n-1;if(i<e.length-1){var a=e.charCodeAt(i),s=e.charCodeAt(i+1);if(getCharacterType(a)===getCharacterType(s))return!1}return!0}},{key:"_extractPageText",value:(o=ct(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.pdfDocument.getPage(t+1);case 3:return n=e.sent,e.next=6,n.getTextContent({normalizeWhitespace:!0});case 6:for(r=e.sent,o=r.items,i=[],a=0,s=o.length;a<s;a++)i.push(o[a].str);this._pageContents[t]=yt(i.join("")),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(0),console.error("Unable to get text content for page ".concat(t+1),e.t0),this._pageContents[t]="";case 17:return e.abrupt("return",t);case 18:case"end":return e.stop()}}),e,this,[[0,13]])}))),function(e){return o.apply(this,arguments)})},{key:"_extractText",value:function(){if(!this._extractTextPromises.length){for(var e=0;e<this.pdfDocument.numPages;e++)this._extractTextPromises[e]=this._extractPageText(e);return Promise.all(this._extractTextPromises)}}}])&&ut(t.prototype,n),r&&ut(t,r),l}(n.n(at)()),bt=n(33103),_t=n(27266),wt=n.n(_t);function Ct(e){return(Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function St(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Et(e,t){return(Et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Tt(e);if(t){var o=Tt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return kt(this,n)}}function kt(e,t){if(t&&("object"===Ct(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ot(e)}function Ot(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tt(e){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pt=(0,Ve.ZP)("enter"),Rt=function(e){!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}}),t&&Et(e,t)}(a,e);var t,n,o,i=xt(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),At(Ot(t=i.call(this,e)),"onRefInput",(function(e){t.inputText=e})),At(Ot(t),"onChange",(function(e){var n=t.props,r=n.activePage,o=n.pdfDocument;if(Pt(e)){var i=t.inputText.value;if(!i)return!1;if((i=parseInt(i)||0)>o.numPages||0===i)t.inputText.value=r;else{if(i===r)return!1;t.props.onActivatePage(i)}}})),At(Ot(t),"onInput",(function(e){if(!e.data)return!1;var n=parseInt(e.data);isNaN(n)&&(t.inputText.value="")})),At(Ot(t),"onNextPageClick",(function(e){var n=t.props,r=n.activePage;if(r===n.pdfDocument.numPages)return!1;t.props.onActivatePage(r+1)})),At(Ot(t),"onPrevPageClick",(function(e){var n=t.props.activePage;if(1===n)return!1;t.props.onActivatePage(n-1)})),t}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.activePage,n=e.pdfDocument,o=(0,r.h)("input",{type:"text",id:"page-navigation",className:"current-page",value:t,maxLength:"4",onKeyDown:this.onChange,onInput:this.onInput,ref:this.onRefInput});return(0,r.h)("div",{className:"pdf-viewer-navigation"},(0,r.h)("div",{className:"pdf-viewer-button to-prev",style:{transform:"rotate(90deg)"},onClick:this.onPrevPageClick},(0,r.h)(N.ed9,null)),(0,r.h)("div",{className:"pdf-viewer-button to-next",style:{transform:"rotate(-90deg)"},onClick:this.onNextPageClick},(0,r.h)(N.ed9,null)),o," / ",n.numPages)}}])&&St(t.prototype,n),o&&St(t,o),a}(r.wA);function It(e){return(It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Nt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){Zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Bt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Lt(i,r,o,a,s,"next",e)}function s(e){Lt(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ht(e,t,n){return t&&Ut(e.prototype,t),n&&Ut(e,n),e}function Vt(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}}),t&&zt(e,t)}function zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yt(e);if(t){var o=Yt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gt(this,n)}}function Gt(e,t){if(t&&("object"===It(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Wt(e)}function Wt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yt(e){return(Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kt=(0,Ve.ZP)("escape"),$t=function(e){Vt(o,e);var t,n=qt(o);function o(e){var t;Ft(this,o),Zt(Wt(t=n.call(this,e)),"onPageLoaded",function(){var e=Bt(regeneratorRuntime.mark((function e(n,r,o){var i,a,s,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r;case 2:i=e.sent,a=i.getViewport({scale:1}),s=t.state.countLoadedPages+1,l={countLoadedPages:s,isLoadingPages:s<t.props.pdfDocument.numPages},o&&Object.assign(l,o),n===t.props.page&&(l=jt(jt({},l),{},{activePage:n,activatePage:{num:t.props.page}})),t.setState((function(e){return jt(jt({},l),{},{pagesOverview:jt(jt({},e.pagesOverview),{},Zt({},n,{width:a.width,height:a.height,page:i}))})}));case 9:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()),Zt(Wt(t),"onDocumentKeydown",(function(e){(!e.target||"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName)&&Kt(e)&&t.callOnClose()})),Zt(Wt(t),"handleWindowResize",(function(){t.checkScreenWidth()})),Zt(Wt(t),"onClose",(function(){t.props.onPageChange(t.state.activePage),t.callOnClose()})),Zt(Wt(t),"onScaleChange",(function(e){t.props.onScaleChange(e),t.setState((function(){return{scale:e}}))})),Zt(Wt(t),"getDefaultScale",(function(e){var t,n=window.screen.width/2/e.width,r=Number.POSITIVE_INFINITY,o=0,i=Mt(q);try{for(i.s();!(t=i.n()).done;){var a=t.value,s=Math.abs(a-n);s<r&&(r=s,o=a)}}catch(e){i.e(e)}finally{i.f()}return o})),Zt(Wt(t),"onPrint",(function(){t.props.options&&t.props.options.onPrint&&!0===t.props.options.onPrint({attachment:t.props.attachment})||t.setState((function(){return{isPrinting:!0}}))})),Zt(Wt(t),"onPrinted",(function(){t.setState((function(){return{isPrinting:!1}}))})),Zt(Wt(t),"onPrintAbort",(function(){t.setState((function(){return{isPrinting:!1}}))})),Zt(Wt(t),"onActivePageChange",(function(e){t.setState((function(){return{activePage:e}}))})),Zt(Wt(t),"onActivatePage",(function(e){t.setState((function(){return{activatePage:{num:e}}}))})),Zt(Wt(t),"onToggleSidebar",(function(){t.setState((function(e){return{isSidebarVisible:!e.isSidebarVisible}}))})),Zt(Wt(t),"onDownload",(function(){var e=t.props,n=e.attachment;e.editor.plugins.attachmentManager.download(n)||wt()(n.url)})),Zt(Wt(t),"onActivateSearchMatch",(function(e){t.setState((function(t){var n={searchMatch:e};return e&&e.pageNum!==t.activatePage.num&&(n.activatePage={num:e.pageNum}),n}))})),Zt(Wt(t),"onSearchMatches",(function(e){t.setState((function(){return{searchMatches:e.slice()}}))}));var r=t.props.scale?t.props.scale:t.getDefaultScale(e.pageSize);t.state={scale:r,isPrinting:!1,isInitialLoadComplete:!1,isLoadingPages:!0,countLoadedPages:0,pagesOverview:e.pagesOverview,activePage:1,activatePage:{num:1},isSidebarVisible:!0,searchMatch:null,searchMatches:[]};var i=e.pdfDocument;return t.finder=new vt(i),t}return Ht(o,[{key:"loadPages",value:(t=Bt(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.props.pdfDocument,r=it()(t,20),o=function(e){e.forEach((function(e){l.onPageLoaded(e,n.getPage(e))}))},i=Mt(r),e.prev=4,i.s();case 6:if((a=i.n()).done){e.next=13;break}return s=a.value,o(s),e.next=11,(0,bt.Dc)(500);case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),i.e(e.t0);case 18:return e.prev=18,i.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e){return t.apply(this,arguments)})},{key:"componentDidMount",value:function(){var e=this,t=this.props.editor;document.addEventListener("keydown",this.onDocumentKeydown,!1),t.scroll.stopHandlingKeydown(),this.setState((function(){return{activePage:e.props.page,activatePage:{num:e.props.page},isInitialLoadComplete:!0}})),window.addEventListener("resize",this.handleWindowResize),this.checkScreenWidth()}},{key:"componentWillUnmount",value:function(){var e=this.props.editor;document.removeEventListener("keydown",this.onDocumentKeydown,!1),e.scroll.resumeHandlingKeydown(),window.removeEventListener("resize",this.handleWindowResize)}},{key:"componentDidUpdate",value:function(e,t){if(this.state.isInitialLoadComplete&&t.isInitialLoadComplete!==this.state.isInitialLoadComplete){for(var n=this.state.pagesOverview,r=this.props.pdfDocument,o=[],i=1;i<=r.numPages;i++)n[i]||o.push(i);this.loadPages(o)}}},{key:"checkScreenWidth",value:function(){var e=window.innerWidth,t=this.state.isSidebarVisible;(e<=1100&&t||e>1100&&!t)&&this.onToggleSidebar()}},{key:"callOnClose",value:function(){this.props.onClose()}},{key:"render",value:function(){var e=this.props,t=e.pageSize,n=e.pdfDocument,o=e.pdfjsLib,i=(e.attachment,e.blot),a=this.state,s=a.isPrinting,l=a.pagesOverview,c=a.activePage,u=a.isSidebarVisible,d=a.searchMatch,p=a.searchMatches,f=null;s&&(f=(0,r.h)(ye,{onAbort:this.onPrintAbort,onPrinted:this.onPrinted,pdfDocument:n}));var h=null,m=null;return i&&!i.disallowDownloading&&(h=(0,r.h)("div",{className:"pdf-viewer-button pdf-viewer-download",onClick:this.onDownload},(0,r.h)("i",null)),m=(0,r.h)("div",{className:"pdf-viewer-button pdf-viewer-print",onClick:this.onPrint},(0,r.h)("i",null))),(0,r.h)(oe.Pj,null,(0,r.h)("div",null,f,(0,r.h)("div",{className:"pdf-viewer-top"},(0,r.h)("div",{className:"pdf-viewer-top-left"},(0,r.h)("div",{className:"pdf-viewer-button pdf-viewer-exit",onClick:this.onClose},(0,r.h)("i",null)),(0,r.h)("div",{className:"pdf-viewer-button pdf-viewer-sidebar "+(u?"pdf-viewer-button-pressed":""),onClick:this.onToggleSidebar},(0,r.h)("i",null))),(0,r.h)(Rt,{activePage:c,pdfDocument:n,onActivatePage:this.onActivatePage}),window.innerWidth>620&&(0,r.h)(G,{onScaleChange:this.onScaleChange,scale:this.state.scale}),(0,r.h)("div",{className:"pdf-viewer-top-right"},(0,r.h)(rt,{finder:this.finder,pdfDocument:n,onActivateMatch:this.onActivateSearchMatch,onMatches:this.onSearchMatches}),m,h)),(0,r.h)("div",{className:"pdf-viewer-body "+(u?"pdf-viewer-with-sidebar":null)},(0,r.h)(Fe,{defaultPageWidth:t.width,defaultPageHeight:t.height,pdfDocument:n,pagesOverview:l,activePage:c,onActivatePage:this.onActivatePage}),(0,r.h)(M,{defaultPageWidth:t.width,defaultPageHeight:t.height,scale:this.state.scale,pagesOverview:l,activePage:c,pdfDocument:n,onActivePageChange:this.onActivePageChange,activatePage:this.state.activatePage,searchMatch:d,searchMatches:p,pdfjsLib:o}))))}}]),o}(r.wA),Qt=function(e){Vt(n,e);var t=qt(n);function n(){return Ft(this,n),t.apply(this,arguments)}return Ht(n,[{key:"componentDidMount",value:function(){this.container=document.createElement("div"),this.container.classList.add("pdf-viewer-full-screen"),document.body.appendChild(this.container),this.renderFullScreenViewer()}},{key:"componentDidUpdate",value:function(){this.renderFullScreenViewer()}},{key:"componentWillUnmount",value:function(){(0,r.sY)((0,r.h)((function(){return null}),null),this.container,this.container.firstChild),this.container.parentNode.removeChild(this.container)}},{key:"renderFullScreenViewer",value:function(){(0,r.sY)((0,r.h)($t,this.props),this.container)}},{key:"render",value:function(){return null}}]),n}(r.wA);function Xt(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Jt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var en=null,tn=null,nn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.workerPath=t}var t,r,o,i,a;return t=e,(r=[{key:"load",value:(i=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!tn){e.next=4;break}return e.next=3,tn;case 3:return e.abrupt("return",e.sent);case 4:return tn=Promise.all([n.e(744),n.e(157)]).then(n.t.bind(n,56744,23)),e.next=7,tn;case 7:return(en=e.sent).GlobalWorkerOptions.workerSrc||(en.GlobalWorkerOptions.workerSrc=this.workerPath),e.abrupt("return",en);case 10:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){Xt(o,n,r,a,s,"next",e)}function s(e){Xt(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"get",value:function(){return en}}])&&Jt(t.prototype,r),o&&Jt(t,o),e}();function rn(e){return(rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function on(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function an(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sn(e,t){return(sn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=un(e);if(t){var o=un(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cn(this,n)}}function cn(e,t){if(t&&("object"===rn(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 un(e){return(un=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dn=function(e){!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}}),t&&sn(e,t)}(l,e);var t,n,o,i,a,s=ln(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this,e)).pdfJsLoader=new nn(e.options.workerPath),t.state={pdfDocument:null,pdfDocumentLoadTask:null,documentLoading:!0,printDelegated:!0},t}return t=l,(n=[{key:"componentDidMount",value:function(){var e=this,t=this.getOnPrintFunction();t&&!0===t({attachment:this.props.attachment})?setTimeout((function(){e.props.onPrinted()}),0):this.setState((function(){return{printDelegated:!1}}),(function(){e.loadDocument()}))}},{key:"loadDocument",value:(i=regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfJsLoader.load();case 2:return t=e.sent,n=t.getDocument(this.props.attachment.url),e.next=6,n.promise;case 6:r=e.sent,this.setState((function(){return{documentLoading:!1,pdfDocument:r,pdfDocumentLoadTask:n}}));case 8:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){on(o,n,r,a,s,"next",e)}function s(e){on(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e,t){t.documentLoading!==this.state.documentLoading&&this.props.onSizeUpdate&&this.props.onSizeUpdate()}},{key:"componentWillUnmount",value:function(){this.state.pdfDocument&&(this.state.pdfDocumentLoadTask.destroy(),this.state.pdfDocument.cleanup(),this.state.pdfDocument.destroy())}},{key:"getOnPrintFunction",value:function(){return this.props.options&&this.props.options.onPrint?this.props.options.onPrint:null}},{key:"render",value:function(){return this.state.printDelegated?null:(e=this.state.documentLoading?(0,r.h)("div",null,(0,r.h)(oe.xv,{id:"file.pdf_viewer.printing_initialization"})):(0,r.h)(ye,{onPrinted:this.props.onPrinted,onAbort:this.props.onAbort,pdfDocument:this.state.pdfDocument}),(0,r.h)(oe.Pj,null,(0,r.h)("div",null,e)));var e}}])&&an(t.prototype,n),o&&an(t,o),l}(r.wA);function pn(e){return(pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function hn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mn(e,t){return(mn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bn(e);if(t){var o=bn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yn(this,n)}}function yn(e,t){if(t&&("object"===pn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vn(e)}function vn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bn(e){return(bn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _n=function(e){!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}}),t&&mn(e,t)}(l,e);var t,n,o,i,a,s=gn(l);function l(e){var t,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=s.call(this,e),n=vn(t),o=null,(r="pdfJsLoader")in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,t.state={pdfDocument:null,pdfPage:null},t.pdfJsLoader=new nn(e.options.workerPath),t}return t=l,(n=[{key:"componentDidMount",value:function(){this.loadDocument()}},{key:"loadDocument",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfJsLoader.load();case 2:return t=e.sent,e.next=5,t.getDocument(this.props.attachment.url).promise;case 5:return n=e.sent,e.next=8,n.getPage(1);case 8:r=e.sent,o=r.getViewport({scale:1}),this.setState((function(){return{pdfDocument:n,pdfPage:r,pageWidth:o.width,pageHeight:o.height}}));case 11:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){fn(o,n,r,a,s,"next",e)}function s(e){fn(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(){var e=this.state,t=e.pdfDocument,n=e.pdfPage,o=e.pageWidth,i=e.pageHeight;return t&&n?(0,r.h)(Qt,{pdfDocument:t,pageSize:{width:o,height:i},onClose:this.props.onClose,attachment:this.props.attachment,editor:this.props.editor,options:this.props.options,pdfjsLib:this.pdfJsLoader.get()}):(0,r.h)("div",null,(0,r.h)(oe.xv,{id:"file.pdf_viewer.initializing_full_window_view"}))}}])&&hn(t.prototype,n),o&&hn(t,o),l}(r.wA),wn=n(26158);function Cn(e){return(Cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Sn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return En(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return En(e,t)}(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 En(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function kn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){xn(i,r,o,a,s,"next",e)}function s(e){xn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function On(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tn(e,t){return(Tn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function An(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In(e);if(t){var o=In(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Pn(this,n)}}function Pn(e,t){if(t&&("object"===Cn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rn(e)}function Rn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nn=function(e){!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}}),t&&Tn(e,t)}(a,e);var t,n,o,i=An(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Mn(Rn(t=i.call(this,e)),"onIntersectionObserver",(function(e){if(e[0].intersectionRatio<=0)return t.setState((function(){return{visible:!1}})),!1;var n=!1;t.setState((function(e){return e.visible?null:(n=!0,{visible:!0})}),(function(){n&&t.renderPdfPage()}))})),Mn(Rn(t),"onPageMouseDown",(function(){t.props.onPageMouseDown()})),Mn(Rn(t),"onMouseOver",(function(){t.props.onPageMouseOver()})),Mn(Rn(t),"onMouseOut",(function(){t.props.onPageMouseOut()})),Mn(Rn(t),"onPageClick",(function(){t.props.setPage(t.props.num),t.props.onPageClick()})),Mn(Rn(t),"onCanvasRef",function(){var e=kn(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.canvas=n,e.next=3,t.renderPdfPage();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Mn(Rn(t),"onPageRef",(function(e){e&&t.intersectionObserver.observe(e)})),Mn(Rn(t),"renderPdfPage",kn(regeneratorRuntime.mark((function e(){var n,r,o,i,a,s,l,c,u,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!1,r=t.state.pageOverview,(o=t.canvas)&&r){e.next=5;break}return e.abrupt("return");case 5:if(i=Sn(r.page.view,4),a=i[2],s=i[3],l=t.getPageRenderRatio(a,s),c=r.page.getViewport({scale:window.devicePixelRatio*l}),!t.state.visible){e.next=21;break}return(u=document.createElement("canvas")).width=c.width,u.height=c.height,d=u.getContext("2d"),p=r.page.render({canvasContext:d,viewport:c}),e.next=16,p.promise;case 16:o.width=c.width,o.height=c.height,o.getContext("2d").drawImage(u,0,0),t.props.setViewport(c),n=!0;case 21:t.setState((function(){return{viewport:c,rendered:n}}));case 22:case"end":return e.stop()}}),e)})))),Mn(Rn(t),"getPageSize",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=void 0===t?800:t,r=e.height,o=void 0===r?600:r;return{width:n/=window.devicePixelRatio,height:o/=window.devicePixelRatio}}));var n=e.pageOverview;return t.state={pageOverview:n,maxWidth:e.maxWidth,viewport:n&&n.viewport,visible:t.props.visible,rendered:!1},t.TID=0,t.pageBottomMargin=parseInt(w().fullScreenViewerPagesMargin),t.fileHorizontalPadding=parseInt(wn.fileHorizontalPadding),t.intersectionObserver=new IntersectionObserver(t.onIntersectionObserver),t}return t=a,(n=[{key:"getPageRenderRatio",value:function(e){return(this.props.maxWidth-2*this.fileHorizontalPadding)/e}},{key:"componentDidUpdate",value:function(e,t,n){var r=this;e.maxWidth!==this.props.maxWidth&&(clearTimeout(this.TID),this.TID=setTimeout(this.renderPdfPage,100)),e.pageOverview!==this.state.pageOverview&&this.props.pageOverview&&this.setState((function(){return{pageOverview:r.props.pageOverview,viewport:r.props.pageOverview.viewport}}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.TID),this.intersectionObserver.disconnect()}},{key:"render",value:function(){if(!this.state.pageOverview){var e=this.getPageSize(this.props.viewport),t=e.width,n=e.height;return(0,r.h)("div",{className:"pdf-page editor-loader2-grey editor-loader-cc",style:{width:t+"px",height:n+"px",marginBottom:this.props.isLastPage?0:this.pageBottomMargin+"px"}})}var o=this.getPageSize(this.state.viewport),i={width:o.width+"px",height:o.height+"px",marginBottom:this.props.isLastPage?0:this.pageBottomMargin+"px"},a=this.state.rendered,s=["pdf-page"];return this.props.options.openFullScreenByTwoClicks&&!this.props.options.allowOpenOnMouseOver||s.push("open-on-mouse-over"),a||s.push("editor-loader2-grey editor-loader-cc"),(0,r.h)("div",{ref:this.onPageRef,onMouseDown:this.onPageMouseDown,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut,onClick:this.onPageClick,className:s.join(" "),style:i},(0,r.h)("canvas",{ref:this.onCanvasRef}),(0,r.h)("div",{className:"pdf-page-number"},this.props.num))}}])&&On(t.prototype,n),o&&On(t,o),a}(r.wA);function Dn(e){return(Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Un(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach((function(t){$n(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Un(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 Un(e,t){if(e){if("string"==typeof e)return Hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hn(e,t):void 0}}function Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vn(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function zn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Vn(i,r,o,a,s,"next",e)}function s(e){Vn(i,r,o,a,s,"throw",e)}a(void 0)}))}}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gn(e,t){return(Gn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kn(e);if(t){var o=Kn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Yn(this,n)}}function Yn(e,t){if(t&&("object"===Dn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Zn(e)}function Zn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kn(e){return(Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qn=function(e){!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}}),t&&Gn(e,t)}(s,e);var t,n,o,i,a=Wn(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),$n(Zn(t=a.call(this,e)),"onPageLoaded",function(){var e=zn(regeneratorRuntime.mark((function e(n,r){var o,i,a,s,l,c,u,d,p,f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r;case 2:o=e.sent,i=t.state.countLoadedPages+1,a=Fn(o.view,4),s=a[2],l=a[3],c=t.getPageRenderRatio(s,l),u=window.devicePixelRatio*c,d=o.getViewport({scale:u}),p=o.getViewport({scale:1}),f=p.width,h=p.height,t.props.updatePagesOverview($n({},n,{width:f,height:h,page:o,viewport:d})),t.setState((function(e){return{countLoadedPages:i,isLoadingPages:i<=1,pagesOverview:Bn(Bn({},e.pagesOverview),{},$n({},n,{page:o,viewport:d}))}}));case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),$n(Zn(t),"setViewport",(function(e){t.setState((function(){return{viewport:e}}))})),t.state={isLoadingPages:!0,pagesOverview:e.pagesOverview,countLoadedPages:t.getPagesOverviewLength(e.pagesOverview)},t.fileHorizontalPadding=parseInt(wn.fileHorizontalPadding),t}return t=s,(n=[{key:"getPagesOverviewLength",value:function(e){var t=0;for(var n in e)t++;return t}},{key:"getPageRenderRatio",value:function(e){return(this.props.maxWidth-2*this.fileHorizontalPadding)/e}},{key:"loadPages",value:(i=zn(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,l=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.props.pdfDocument,r=it()(t,20),o=function(e){e.forEach((function(e){l.onPageLoaded(e,n.getPage(e))}))},i=jn(r),e.prev=4,i.s();case 6:if((a=i.n()).done){e.next=13;break}return s=a.value,o(s),e.next=11,(0,bt.Dc)(500);case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),i.e(e.t0);case 18:return e.prev=18,i.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e){return i.apply(this,arguments)})},{key:"componentDidMount",value:function(){for(var e=this.state.pagesOverview,t=this.props.pdfDocument,n=[],r=1;r<=t.numPages;r++)e[r]||n.push(r);n.length?this.loadPages(n):this.setState((function(){return{isLoadingPages:!1}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pdfDocument,o=t.onPageClick,i=t.onPageMouseDown,a=t.onPageMouseOver,s=t.onPageMouseOut,l=t.setPage,c=t.maxWidth,u=this.state,d=u.pagesOverview;if(u.isLoadingPages)return(0,r.h)("div",{className:"pdf-loading-document"},(0,r.h)("div",{className:"editor-loader2-grey editor-loader-cc"}),(0,r.h)("div",{className:"pdf-loading-message"},"Loading pages ...please wait..."));for(var p=[],f=function(t){p.push((0,r.h)(Nn,{num:t,viewport:e.state.viewport,pageOverview:d[t],isLastPage:t===n.numPages,onPageClick:function(){o(t)},onPageMouseDown:i,onPageMouseOver:a,onPageMouseOut:s,setPage:l,setViewport:e.setViewport,maxWidth:c,visible:1===t,options:e.props.options}))},h=1;h<=n.numPages;h++)f(h);return(0,r.h)("div",{className:"pdf-all-pages"},p)}}])&&qn(t.prototype,n),o&&qn(t,o),s}(r.wA),Xn=n(10856),Jn=n(28411),er=n(95174);function tr(e){return(tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nr(){return(nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function rr(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function or(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){rr(i,r,o,a,s,"next",e)}function s(e){rr(i,r,o,a,s,"throw",e)}a(void 0)}))}}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){fr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lr(e,t){return(lr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pr(e);if(t){var o=pr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ur(this,n)}}function ur(e,t){if(t&&("object"===tr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dr(e)}function dr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pr(e){return(pr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hr=parseInt(wn.fileHorizontalPadding),mr=function(e){!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}}),t&&lr(e,t)}(c,e);var t,n,o,i,a,s,l=cr(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),fr(dr(t=l.call(this,e)),"pdfJsLoader",null),fr(dr(t),"onCanvasRef",(function(e){t.canvas=e,t.renderPdfPage()})),fr(dr(t),"incPage",(function(){var e=Math.min(t.getCurrentPageNumber()+1,t.state.pdfDocument.numPages);t.props.setSyncedState({page:e})})),fr(dr(t),"decPage",(function(){var e=Math.max(t.getCurrentPageNumber()-1,1);t.props.setSyncedState({page:e})})),fr(dr(t),"setPage",(function(e){t.props.setSyncedState({page:e})})),fr(dr(t),"pinPage",(function(){var e=t.getCurrentPageNumber();t.props.setSyncedState({pinned:e})})),fr(dr(t),"unpinPage",(function(){t.props.setSyncedState({pinned:!1})})),fr(dr(t),"onPageClick",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.pageMouseDownOnFocused;if(t.props.options&&t.props.options.allowOpenOnMouseOver&&t.state.isMouseOver&&(n=!0),n)if(t.props.options&&t.props.options.onClick)t.props.options.onClick({attachment:t.props.attachment,params:{disallowDownloading:t.props.blot&&t.props.blot.disallowDownloading}});else{var r={fullscreen:!0};e&&Number.isInteger(parseInt(e))?r.page=parseInt(e):r.page=t.getCurrentPageNumber(),t.setState((function(){return r}))}})),fr(dr(t),"onPageMouseDown",(function(){t.pageMouseDownOnFocused=!t.props.options.openFullScreenByTwoClicks||t.props.focused})),fr(dr(t),"onPageChange",(function(e){t.props.setSyncedState({page:e})})),fr(dr(t),"onMouseOver",(function(){setTimeout((function(){t.setState((function(){return{isMouseOver:!0}}))}),0)})),fr(dr(t),"onMouseOut",(function(){t.setState((function(){return{isMouseOver:!1}}))})),fr(dr(t),"onFullScreenClose",(function(){t.setState((function(){return{fullscreen:!1}}))})),fr(dr(t),"onScaleChange",(function(e){t.setState((function(){return{scale:e}}))})),fr(dr(t),"updatePagesOverview",(function(e){t.setState((function(t){return{pagesOverview:ar(ar({},t.pagesOverview),e)}}))})),t.pdfJsLoader=new nn(e.options.workerPath),t.state={pdfDocument:null,pdfPage:null,pdfPageViewport:null,documentLoading:!1,pageLoading:!1,pageRendering:!1,page:t.getCurrentPageNumber(),renderRatio:null,fullscreen:!1,isMouseOver:!1,pdfJsLoaded:Boolean(t.pdfJsLoader.get()),pagesOverview:{},scale:null,viewAs:e.blot.getViewAs(),init:!0},t.pageMouseDownOnFocused=!0,t}return t=c,(n=[{key:"componentWillUnmount",value:function(){this.state.pdfDocument&&this.state.pdfDocument.destroy()}},{key:"componentDidMount",value:function(){var e=this;this.pdfJsLoader.get()||this.pdfJsLoader.load().then((function(){e.setState((function(){return{pdfJsLoaded:!0}}))}))}},{key:"loadPdfDocument",value:(s=or(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState((function(){return{documentLoading:!0}}),or(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.pdfJsLoader.load();case 2:return n=e.sent,r={url:t.props.attachment.url,cMapUrl:t.props.options.cMapUrl,cMapPacked:!0},e.next=6,n.getDocument(r).promise;case 6:o=e.sent,t.setState((function(){return{documentLoading:!1,pdfDocument:o}}));case 8:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"getPageRenderRatio",value:function(e,t,n){var r=90===(null==n?void 0:n.rotate)||-90===(null==n?void 0:n.rotate),o=this.props.maxWidth-2*hr;return r?o/t:o/e}},{key:"loadPdfPage",value:(a=or(regeneratorRuntime.mark((function e(){var t,n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState((function(e){return n=r.getCurrentPageNumber(),t=!1,e.init&&r.props.syncedState.pinned&&(n=r.props.syncedState.pinned,t=!0),{pageLoading:!0,init:!1,page:n}}),or(regeneratorRuntime.mark((function e(){var o,i,a,s,l,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.state.pdfDocument.getPage(n);case 2:if(o=e.sent,i=o.view[2],a=o.view[3],s=r.getPageRenderRatio(i,a,o),l=window.devicePixelRatio*s,c=o.getViewport({scale:l}),t||n===r.getCurrentPageNumber()){e.next=10;break}return e.abrupt("return");case 10:u=Boolean(r.canvas),r.setState((function(e){var t=o.getViewport({scale:1}),r=t.width,i=t.height;return{pageLoading:!1,pdfPage:o,pdfPageViewport:c,renderRatio:s,pagesOverview:ar(ar({},e.pagesOverview),{},fr({},n,{width:r,height:i,page:o,viewport:c}))}}),(function(){var e={pageWidth:o.view[2],pageHeight:o.view[3]};t&&(e.page=n),r.props.setSyncedState(e),u&&r.renderPdfPage()}));case 12:case"end":return e.stop()}}),e)}))));case 1:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getCurrentPageSize",value:function(){if(!this.state.pdfPage)return null;var e=this.state.pdfPage;return{width:e.view[2],height:e.view[3]}}},{key:"renderPdfPage",value:(i=or(regeneratorRuntime.mark((function e(){var t,n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.canvas){e.next=3;break}return e.abrupt("return");case 3:return n=this.state.pdfPageViewport,(r=document.createElement("canvas")).width=n.width,r.height=n.height,o=r.getContext("2d"),i=this.state.pdfPage.render({canvasContext:o,viewport:n}),e.next=11,i.promise;case 11:t.width=n.width,t.height=n.height,t.getContext("2d").drawImage(r,0,0);case 14:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"getCurrentViewAs",value:function(){return this.props.blot.getViewAs()}},{key:"getCurrentPageNumber",value:function(){return this.props.syncedState.page||1}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.setState((function(e){return n.getCurrentViewAs()!==e.viewAs?{viewAs:n.getCurrentViewAs()}:null})),e.fullscreen!==this.props.fullscreen&&this.props.fullscreen&&this.props.fullscreen.enable&&this.setState((function(){return{fullscreen:!0}})),t.fullscreen===this.state.fullscreen||this.state.fullscreen||this.props.onFullScreenClose&&this.props.onFullScreenClose(),t.pdfDocument!==this.state.pdfDocument&&this.props.blot.setPdfNumPages(this.state.pdfDocument.numPages)}},{key:"render",value:function(){if(this.state.pdfDocument?this.state.pdfPage||this.state.pageLoading||this.loadPdfPage():this.state.documentLoading||this.loadPdfDocument(),this.state.page!==this.getCurrentPageNumber()&&this.loadPdfPage(),this.state.pdfPage&&!this.state.pageLoading){var e=this.getCurrentPageSize(),t=e.width,n=e.height,o=this.getPageRenderRatio(t,n,this.state.pdfPage);isNaN(o)||o===this.state.renderRatio||this.loadPdfPage()}var i,a,s=this.props,l=s.editor,c=s.blot;if(this.state.pdfPageViewport){var u=this.state.pdfPageViewport,d=u.width,p=u.height;d/=window.devicePixelRatio,p/=window.devicePixelRatio;var f=this.getCurrentPageNumber(),h=this.state.pdfDocument.numPages,m=["pdf-page"];if(this.props.options.openFullScreenByTwoClicks&&!this.props.options.allowOpenOnMouseOver||m.push("open-on-mouse-over"),"single"===this.state.viewAs){i=(0,r.h)("div",{onMouseDown:this.onPageMouseDown,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut,onClick:this.onPageClick,className:m.join(" "),style:{width:d+"px",height:p+"px"}},(0,r.h)("canvas",{ref:this.onCanvasRef}));var g=null;if(l.mode===l.constructor.MODE_EDIT&&!c.isBlotLocked){var y,v,b=l.plugins.i18n,_=b.get("file.pdf_viewer.set_page_as_default"),w=(0,r.h)("div",nr({className:"pin-button",onClick:this.pinPage},(fr(y={},er.qZ,_),fr(y,er.cD,JSON.stringify({positionFixed:!0})),y)),(0,r.h)(N.DgX,null)),C=this.props.syncedState.pinned;C&&C===f&&(_=b.get("file.pdf_viewer.unset_page_as_default"),w=(0,r.h)("div",nr({className:"pin-button",onClick:this.unpinPage},(fr(v={},er.qZ,_),fr(v,er.cD,JSON.stringify({positionFixed:!0})),v)),(0,r.h)(N.uII,null))),g=(0,r.h)("div",{className:"pdf-controls pin-buttons"},w)}a=(0,r.h)("div",{className:"pdf-controls-container"},(0,r.h)("div",{className:"pdf-controls"},(0,r.h)("div",{onClick:this.decPage,className:"pdf-control-arrow pdf-control-arrow-left "+(f>1?"pdf-control-arrow-active":"")},"‹"),f," of ",h,(0,r.h)("div",{onClick:this.incPage,className:"pdf-control-arrow pdf-control-arrow-right "+(f<h?"pdf-control-arrow-active":"")},"›")),g)}else this.state.pdfPage.view,i=(0,r.h)(Qn,{pdfDocument:this.state.pdfDocument,pdfjsLib:this.pdfJsLoader.get(),pagesOverview:this.state.pagesOverview,maxWidth:this.props.maxWidth,onPageMouseDown:this.onPageMouseDown,onPageMouseOver:this.onMouseOver,onPageMouseOut:this.onMouseOut,onPageClick:this.onPageClick,updatePagesOverview:this.updatePagesOverview,setPage:this.setPage,options:this.props.options})}else{var S=this.props.syncedState,E=S.pageWidth,x=S.pageHeight;if(E&&x){var k=this.getPageRenderRatio(E,x,this.state.pdfPage),O=E*k,T=x*k;i=(0,r.h)("div",{className:"pdf-page",style:{width:O+"px",height:T+"px"}},(0,r.h)("div",{className:"pdf-page-loading editor-loader2-grey editor-loader-cc"}))}else i=(0,r.h)("div",{className:"pdf-loading-document"},(0,r.h)("div",{className:"editor-loader2-grey editor-loader-cc"}),(0,r.h)("div",{className:"pdf-loading-message"},"Loading PDF file...please wait..."))}var A=null;if(this.state.fullscreen){var P=this.state.pdfPage.view;A=(0,r.h)(Qt,{pdfDocument:this.state.pdfDocument,pageSize:{width:P[2],height:P[3]},onClose:this.onFullScreenClose,attachment:this.props.attachment,editor:this.props.editor,options:this.props.options,pdfjsLib:this.pdfJsLoader.get(),page:this.state.page,onPageChange:this.onPageChange,pagesOverview:this.state.pagesOverview,scale:this.state.scale,onScaleChange:this.onScaleChange,blot:this.props.blot})}return(0,r.h)(oe.Pj,null,(0,r.h)("div",{className:"pdf-viewer"},A,i,a))}}])&&sr(t.prototype,n),o&&sr(t,o),c}(r.wA);mr.printable=!0,mr.supportsFullscreen=!0,mr.hasAdditionMenuItems=!0,mr.PrintAction=dn,mr.FullScreenAction=_n,mr.getMenuItems=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[{id:"file-view_pdf_as-single",code:"single",text:(0,r.h)(oe.xv,{id:"file.menu.single_page"}),action:"onViewPdfAsChange"},{id:"file-view_pdf_as-all_pages",code:"all_pages",text:(0,r.h)(oe.xv,{id:"file.menu.all_pages"}),action:"onViewPdfAsChange"}],o=(0,r.h)(Xn.Z,{anchorOptions:{boundariesElement:e.editor.scrollingContainer}},n.map((function(t){var n=t.id,o=t.code,i=t.text,a=(t.action,o===e.getViewAs()?N.EZi:null),s=a?"done":"undone";return(0,r.h)(Jn.Z,{key:n,id:n,text:i,icon:a,menuStyle:[s],onClick:e.onViewPdfAsChange(o)})}))),i={},a=t.showAsPagesLimit,s=void 0===a?0:a,l=e.pdfNumPages<=s||!s;return l&&"full"===e.getFileViewMode()&&(i=ar(ar({},i),{},{view_pdf_as:{label:(0,r.h)(oe.xv,{id:"file.menu.view_as"}),index:2,action:!1,submenu:o}})),i},mr.viewerName="PDFViewer"},11526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Kf,getVideoTypes:()=>Qf});n(74916),n(15306),n(47941),n(69600),n(47042),n(23123),n(19601),n(4723),n(73210),n(26699),n(30489),n(12419),n(82526),n(57327),n(38880),n(54747),n(49337),n(41539),n(41817),n(32165),n(66992),n(78783),n(33948),n(87751);var r=n(79758),o=n(12650),i=(n(92222),n(40561),n(21249),n(24603),n(39714),n(43371),n(36210),n(68309),n(9653),n(4129),n(51532),n(43290),n(70189),n(56977),n(2707),n(83753),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(18264),n(60285),n(41637),n(44363),n(92087),n(65743),n(29135),n(65125),n(95732)),a=n.n(i),s=n(56374),l=n.n(s);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var u=n(19820),d=n.n(u);function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,f(e,t)}var m=n(48119),g=n.n(m),y=n(3173),v=n.n(y),b=n(99227),_=n.n(b);function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}function C(e,t,n){if(w())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&f(o,n.prototype),o}var S=n(39724),E=n.n(S);const x=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=a().location&&a().location.href||"");var n="function"==typeof a().URL,r=/^\/\//.test(e),o=!a().location&&!/\/\//i.test(e);if(n?e=new(a().URL)(e,a().location||"http://example.com"):/\/\//i.test(e)||(e=E().buildAbsoluteURL(a().location&&a().location.href||"",e)),n){var i=new URL(t,e);return o?i.href.slice("http://example.com".length):r?i.href.slice(i.protocol.length):i.href}return E().buildAbsoluteURL(e,t)};function k(e,t){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,k(e,t)}var T=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var o=Array.prototype.slice.call(arguments,1),i=t.length,a=0;a<i;++a)t[a].apply(this,o)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var P=n(13423).Buffer;function R(e){for(var t,n=(t=e,a().atob?a().atob(t):P.from(t,"base64").toString("binary")),r=new Uint8Array(n.length),o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}var I=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return O(t,e),t.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(T),M=String.fromCharCode(9),N=function(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},D=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},o=n.length;o--;)""!==n[o]&&((t=/([^=]*)=(.*)/.exec(n[o]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},j=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}O(t,e);var n=t.prototype;return n.push=function(e){var t,n,r=this;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce((function(t,n){var r=n(e);return r===e?t:t.concat([r])}),[e]).forEach((function(e){for(var o=0;o<r.customParsers.length;o++)if(r.customParsers[o].call(r,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void r.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void r.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(e))return n=A(N(t[1]),{type:"tag",tagType:"byterange"}),void r.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"map"},t[1]){var i=D(t[1]);i.URI&&(n.uri=i.URI),i.BYTERANGE&&(n.byterange=N(i.BYTERANGE))}r.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=D(t[1]),n.attributes.RESOLUTION){var a=n.attributes.RESOLUTION.split("x"),s={};a[0]&&(s.width=parseInt(a[0],10)),a[1]&&(s.height=parseInt(a[1],10)),n.attributes.RESOLUTION=s}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}r.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(e))return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=D(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=D(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=D(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if((t=/^#EXT-X-SKIP:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"skip"}).attributes=D(t[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(M)),void r.trigger("data",n);if((t=/^#EXT-X-PART:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part"}).attributes=D(t[1]),["DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=N(n.attributes.BYTERANGE)),void r.trigger("data",n);if((t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"server-control"}).attributes=D(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PART-INF:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part-inf"}).attributes=D(t[1]),["PART-TARGET"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"preload-hint"}).attributes=D(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(n.attributes.hasOwnProperty(e)){n.attributes[e]=parseInt(n.attributes[e],10);var t="BYTERANGE-LENGTH"===e?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[t]=n.attributes[e],delete n.attributes[e]}})),void r.trigger("data",n);if((t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"rendition-report"}).attributes=D(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseInt(n.attributes[e],10))})),void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})})):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,o=e.dataParser,i=e.segment;"function"!=typeof o&&(o=function(e){return e}),this.customParsers.push((function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:o(e),customType:r,segment:i}),!0}))},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push((function(e){return t.test(e)?n(e):e}))},t}(T),L=function(e){var t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(function(e){return e[1].toUpperCase()})))]=e[n]})),t},B=function(e){var t=e.serverControl,n=e.targetDuration,r=e.partTargetDuration;if(t){var o="#EXT-X-SERVER-CONTROL",i="holdBack",a="partHoldBack",s=n&&3*n,l=r&&2*r;n&&!t.hasOwnProperty(i)&&(t[i]=s,this.trigger("info",{message:o+" defaulting HOLD-BACK to targetDuration * 3 ("+s+")."})),s&&t[i]<s&&(this.trigger("warn",{message:o+" clamping HOLD-BACK ("+t[i]+") to targetDuration * 3 ("+s+")"}),t[i]=s),r&&!t.hasOwnProperty(a)&&(t[a]=3*r,this.trigger("info",{message:o+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+t[a]+")."})),r&&t[a]<l&&(this.trigger("warn",{message:o+" clamping PART-HOLD-BACK ("+t[a]+") to partTargetDuration * 2 ("+l+")."}),t[a]=l)}},F=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new I,t.parseStream=new j,t.lineStream.pipe(t.parseStream);var n,r,o=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),i=[],a={},s=!1,l=function(){},c={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},u=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var d=0,p=0;return t.on("end",(function(){a.uri||!a.parts&&!a.preloadHints||(!a.map&&n&&(a.map=n),!a.key&&r&&(a.key=r),a.timeline||"number"!=typeof u||(a.timeline=u),t.manifest.preloadSegment=a)})),t.parseStream.on("data",(function(e){var t,f;({tag:function(){({version:function(){e.version&&(this.manifest.version=e.version)},"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(a.byterange=t,t.length=e.length,"offset"in e||(e.offset=d)),"offset"in e&&(a.byterange=t,t.offset=e.offset),d=t.offset+t.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),e.duration>0&&(a.duration=e.duration),0===e.duration&&(a.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=i},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){if("com.apple.streamingkeydelivery"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:e.attributes});if("com.microsoft.playready"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:e.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:R(e.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},void 0!==e.attributes.IV&&(r.iv=e.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?this.manifest.mediaSequence=e.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?(this.manifest.discontinuitySequence=e.number,u=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange),r&&(n.key=r)},"stream-inf":function(){this.manifest.playlists=i,this.manifest.mediaGroups=this.manifest.mediaGroups||c,e.attributes?(a.attributes||(a.attributes={}),A(a.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||c,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME){var n=this.manifest.mediaGroups[e.attributes.TYPE];n[e.attributes["GROUP-ID"]]=n[e.attributes["GROUP-ID"]]||{},t=n[e.attributes["GROUP-ID"]],(f={default:/yes/i.test(e.attributes.DEFAULT)}).default?f.autoselect=!0:f.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(f.language=e.attributes.LANGUAGE),e.attributes.URI&&(f.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(f.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(f.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(f.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=f}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){u+=1,a.discontinuity=!0,this.manifest.discontinuityStarts.push(i.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),a.dateTimeString=e.dateTimeString,a.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):(this.manifest.targetDuration=e.duration,B.call(this,this.manifest))},start:function(){e.attributes&&!isNaN(e.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){a.cueOut=e.data},"cue-out-cont":function(){a.cueOutCont=e.data},"cue-in":function(){a.cueIn=e.data},skip:function(){this.manifest.skip=L(e.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",e.attributes,["SKIPPED-SEGMENTS"])},part:function(){var t=this;s=!0;var n=this.manifest.segments.length,r=L(e.attributes);a.parts=a.parts||[],a.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=p),p=r.byterange.offset+r.byterange.length);var o=a.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+o+" for segment #"+n,e.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(e,n){e.hasOwnProperty("lastPart")||t.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+n+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var t=this.manifest.serverControl=L(e.attributes);t.hasOwnProperty("canBlockReload")||(t.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),B.call(this,this.manifest),t.canSkipDateranges&&!t.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var t=this.manifest.segments.length,n=L(e.attributes),r=n.type&&"PART"===n.type;a.preloadHints=a.preloadHints||[],a.preloadHints.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=r?p:0,r&&(p=n.byterange.offset+n.byterange.length)));var o=a.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+o+" for segment #"+t,e.attributes,["TYPE","URI"]),n.type)for(var i=0;i<a.preloadHints.length-1;i++){var s=a.preloadHints[i];s.type&&(s.type===n.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+o+" for segment #"+t+" has the same TYPE "+n.type+" as preload hint #"+i}))}},"rendition-report":function(){var t=L(e.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(t);var n=this.manifest.renditionReports.length-1,r=["LAST-MSN","URI"];s&&r.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+n,e.attributes,r)},"part-inf":function(){this.manifest.partInf=L(e.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",e.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),B.call(this,this.manifest)}}[e.tagType]||l).call(o)},uri:function(){a.uri=e.uri,i.push(a),this.manifest.targetDuration&&!("duration"in a)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),a.duration=this.manifest.targetDuration),r&&(a.key=r),a.timeline=u,n&&(a.map=n),p=0,a={}},comment:function(){},custom:function(){e.segment?(a.custom=a.custom||{},a.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(o)})),t}O(t,e);var n=t.prototype;return n.warnOnMissingAttributes_=function(e,t,n){var r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:e+" lacks required attribute(s): "+r.join(", ")})},n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n"),this.trigger("end")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(T),U={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},H=["video","audio","text"],V=["Video","Audio","Text"],z=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},q=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),H.forEach((function(r){var o=U[r].exec(e.toLowerCase());if(o&&!(o.length<=1)){t=r;var i=e.substring(0,o[1].length),a=e.replace(i,"");n.push({type:i,details:a,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},G=function(e){return void 0===e&&(e=""),U.audio.test(e.trim().toLowerCase())},W=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return z(e.trim())})),r="video";1===n.length&&G(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),U.text.test(t.trim().toLowerCase()))&&(r="application");var o="mp4";return n.every((function(e){return U.mp4.test(e)}))?o="mp4":n.every((function(e){return U.webm.test(e)}))?o="webm":n.every((function(e){return U.ogg.test(e)}))&&(o="ogg"),r+"/"+o+';codecs="'+e+'"'}},Y=function(e){return void 0===e&&(e=""),a().MediaSource&&a().MediaSource.isTypeSupported&&a().MediaSource.isTypeSupported(W(e))||!1},Z=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<V.length;t++){if(U["muxer"+V[t]].test(e))return!0}return!1}))},K=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,$=/^application\/dash\+xml/i,Q=function(e){return K.test(e)?"hls":$.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},X=(n(8255),function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer}),J=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||X(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},ee=a().BigInt||Number,te=[ee("0x1"),ee("0x100"),ee("0x10000"),ee("0x1000000"),ee("0x100000000"),ee("0x10000000000"),ee("0x1000000000000"),ee("0x100000000000000"),ee("0x10000000000000000")],ne=(function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}(),function(e,t){var n=void 0===t?{}:t,r=n.signed,o=void 0!==r&&r,i=n.le,a=void 0!==i&&i;e=J(e);var s=a?"reduce":"reduceRight",l=(e[s]?e[s]:Array.prototype[s]).call(e,(function(t,n,r){var o=a?r:Math.abs(r+1-e.length);return t+ee(n)*te[o]}),ee(0));if(o){var c=te[e.length]/ee(2)-ee(1);(l=ee(l))>c&&(l-=c,l-=c,l-=ee(2))}return Number(l)}),re=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=ee(e);for(var o,i=(o=e,Math.ceil(function(e){return e.toString(2).length}(o)/8)),a=new Uint8Array(new ArrayBuffer(i)),s=0;s<i;s++){var l=r?s:Math.abs(s+1-a.length);a[l]=Number(e/te[s]&ee(255)),e<0&&(a[l]=Math.abs(~a[l]),a[l]-=0===s?1:2)}return a},oe=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},ie=function(e,t,n){var r=void 0===n?{}:n,o=r.offset,i=void 0===o?0:o,a=r.mask,s=void 0===a?[]:a;e=J(e);var l=(t=J(t)).every?t.every:Array.prototype.every;return t.length&&e.length-i>=t.length&&l.call(t,(function(t,n){return t===(s[n]?s[n]&e[i+n]:e[i+n])}))},ae=n(23399);function se(e){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var le,ce=function(e){return!!e&&"object"===se(e)},ue=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(t,n){return"object"!==se(n)||Object.keys(n).forEach((function(r){Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):ce(t[r])&&ce(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]})),t}),{})},de=function(e){return Object.keys(e).map((function(t){return e[t]}))},pe=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},fe=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},he=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},me="INVALID_NUMBER_OF_PERIOD",ge="DASH_EMPTY_MANIFEST",ye="DASH_INVALID_XML",ve="NO_BASE_URL",be="SEGMENT_TIME_UNSPECIFIED",_e="UNSUPPORTED_UTC_TIMING_SCHEME",we=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,o=void 0===r?"":r,i=e.range,s=void 0===i?"":i,l=e.indexRange,c=void 0===l?"":l,u={uri:o,resolvedUri:x(n||"",o)};if(s||c){var d,p=(s||c).split("-"),f=a().BigInt?a().BigInt(p[0]):parseInt(p[0],10),h=a().BigInt?a().BigInt(p[1]):parseInt(p[1],10);f<Number.MAX_SAFE_INTEGER&&"bigint"==typeof f&&(f=Number(f)),h<Number.MAX_SAFE_INTEGER&&"bigint"==typeof h&&(h=Number(h)),"bigint"==typeof(d="bigint"==typeof h||"bigint"==typeof f?a().BigInt(h)-a().BigInt(f)+a().BigInt(1):h-f+1)&&d<Number.MAX_SAFE_INTEGER&&(d=Number(d)),u.byterange={length:d,offset:f}}return u},Ce=function(e){return e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e},Se={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,o=e.sourceDuration,i=e.periodDuration,a=Ce(e.endNumber),s=t/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/s}:{start:0,end:o/s}},dynamic:function(e){var t=e.NOW,n=e.clientOffset,r=e.availabilityStartTime,o=e.timescale,i=void 0===o?1:o,a=e.duration,s=e.periodStart,l=void 0===s?0:s,c=e.minimumUpdatePeriod,u=void 0===c?0:c,d=e.timeShiftBufferDepth,p=void 0===d?1/0:d,f=Ce(e.endNumber),h=(t+n)/1e3,m=r+l,g=h+u-m,y=Math.ceil(g*i/a),v=Math.floor((h-m-p)*i/a),b=Math.floor((h-m)*i/a);return{start:Math.max(0,v),end:"number"==typeof f?f:Math.min(y,b)}}},Ee=function(e){var t=e.type,n=e.duration,r=e.timescale,o=void 0===r?1:r,i=e.periodDuration,a=e.sourceDuration,s=Se[t](e),l=function(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}(s.start,s.end).map(function(e){return function(t){var n=e.duration,r=e.timescale,o=void 0===r?1:r,i=e.periodStart,a=e.startNumber;return{number:(void 0===a?1:a)+t,duration:n/o,timeline:i,time:t*n}}}(e));if("static"===t){var c=l.length-1,u="number"==typeof i?i:a;l[c].duration=u-n/o*c}return l},xe=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,o=e.sourceDuration,i=e.indexRange,a=void 0===i?"":i,s=e.periodStart,l=e.presentationTime,c=e.number,u=void 0===c?0:c,d=e.duration;if(!t)throw new Error(ve);var p=we({baseUrl:t,source:r.sourceURL,range:r.range}),f=we({baseUrl:t,source:t,indexRange:a});if(f.map=p,d){var h=Ee(e);h.length&&(f.duration=h[0].duration,f.timeline=h[0].timeline)}else o&&(f.duration=o,f.timeline=s);return f.presentationTime=l||s,f.number=u,[f]},ke=function(e,t,n){var r,o=e.sidx.map?e.sidx.map:null,i=e.sidx.duration,s=e.timeline||0,l=e.sidx.byterange,c=l.offset+l.length,u=t.timescale,d=t.references.filter((function(e){return 1!==e.referenceType})),p=[],f=e.endList?"static":"dynamic",h=e.sidx.timeline,m=h,g=e.mediaSequence||0;r="bigint"==typeof t.firstOffset?a().BigInt(c)+t.firstOffset:c+t.firstOffset;for(var y=0;y<d.length;y++){var v=t.references[y],b=v.referencedSize,_=v.subsegmentDuration,w=void 0;w="bigint"==typeof r?r+a().BigInt(b)-a().BigInt(1):r+b-1;var C=xe({baseUrl:n,timescale:u,timeline:s,periodStart:h,presentationTime:m,number:g,duration:_,sourceDuration:i,indexRange:r+"-"+w,type:f})[0];o&&(C.map=o),p.push(C),r+="bigint"==typeof r?a().BigInt(b):b,m+=_/u,g++}return e.segments=p,e},Oe=["AUDIO","SUBTITLES"],Te=function(e){return(t=e,n=function(e){return e.timeline},de(t.reduce((function(e,t){return t.forEach((function(t){e[n(t)]=t})),e}),{}))).sort((function(e,t){return e.timeline>t.timeline?1:-1}));var t,n},Ae=function(e){var t,n,r=[];return t=e,n=function(e,t,n,o){r=r.concat(e.playlists||[])},Oe.forEach((function(e){for(var r in t.mediaGroups[e])for(var o in t.mediaGroups[e][r]){var i=t.mediaGroups[e][r][o];n(i,e,r,o)}})),r},Pe=function(e){var t=e.playlist,n=e.mediaSequence;t.mediaSequence=n,t.segments.forEach((function(e,n){e.number=t.mediaSequence+n}))},Re=function(e){var t=e.oldManifest,n=e.newManifest,r=t.playlists.concat(Ae(t)),o=n.playlists.concat(Ae(n));return n.timelineStarts=Te([t.timelineStarts,n.timelineStarts]),function(e){var t=e.oldPlaylists,n=e.newPlaylists,r=e.timelineStarts;n.forEach((function(e){e.discontinuitySequence=he(r,(function(t){return t.timeline===e.timeline}));var n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].attributes.NAME===t)return e[n];return null}(t,e.attributes.NAME);if(n&&!e.sidx){var o=e.segments[0],i=he(n.segments,(function(e){return Math.abs(e.presentationTime-o.presentationTime)<1/60}));if(-1===i)return Pe({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),void((!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[i].discontinuity&&!o.discontinuity&&(o.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),Pe({playlist:e,mediaSequence:n.segments[i].number})}}))}({oldPlaylists:r,newPlaylists:o,timelineStarts:n.timelineStarts}),n},Ie=function(e){return e&&e.uri+"-"+(t=e.byterange,n="bigint"==typeof t.offset||"bigint"==typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+n);var t,n},Me=function(e){return de(e.reduce((function(e,t){var n=t.attributes.id+(t.attributes.lang||"");if(e[n]){var r;if(t.segments)t.segments[0]&&(t.segments[0].discontinuity=!0),(r=e[n].segments).push.apply(r,t.segments);t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)}else e[n]=t,e[n].attributes.timelineStarts=[];return e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((function(e){var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce((function(e,t,r){return t[n]&&e.push(r),e}),[])),e}))},Ne=function(e,t){var n=Ie(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&ke(e,r,e.sidx.resolvedUri),e},De=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e)e[n]=Ne(e[n],t);return e},je=function(e){var t,n=e.attributes,r=e.segments,o=e.sidx,i=e.discontinuityStarts,a={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuityStarts:i,timelineStarts:n.timelineStarts,segments:r};return n.frameRate&&(a.attributes["FRAME-RATE"]=n.frameRate),n.contentProtection&&(a.contentProtection=n.contentProtection),o&&(a.sidx=o),a},Le=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},Be=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},Fe=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},Ue=function(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(r.playlists)}),[]):[]},He=function(e){var t,n=e.dashPlaylists,r=e.locations,o=e.sidxMapping,i=void 0===o?{}:o,a=e.previousManifest;if(!n.length)return{};var s=n[0].attributes,l=s.sourceDuration,c=s.type,u=s.suggestedPresentationDelay,d=s.minimumUpdatePeriod,p=Me(n.filter(Le)).map(je),f=Me(n.filter(Be)),h=Me(n.filter(Fe)),m=n.map((function(e){return e.attributes.captionServices})).filter(Boolean),g={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(t={AUDIO:{},VIDEO:{}},t["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:l,playlists:De(p,i)};d>=0&&(g.minimumUpdatePeriod=1e3*d),r&&(g.locations=r),"dynamic"===c&&(g.suggestedPresentationDelay=u);var y,v,b=0===g.playlists.length,_=f.length?function(e,t,n){var r;void 0===t&&(t={}),void 0===n&&(n=!1);var o=e.reduce((function(e,o){var i=o.attributes.role&&o.attributes.role.value||"",a=o.attributes.lang||"",s=o.attributes.label||"main";if(a&&!o.attributes.label){var l=i?" ("+i+")":"";s=""+o.attributes.lang+l}e[s]||(e[s]={language:a,autoselect:!0,default:"main"===i,playlists:[],uri:""});var c=Ne(function(e,t){var n,r=e.attributes,o=e.segments,i=e.sidx,a=e.mediaSequence,s=e.discontinuitySequence,l=e.discontinuityStarts,c={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:s,discontinuityStarts:l,timelineStarts:r.timelineStarts,mediaSequence:a,segments:o};return r.contentProtection&&(c.contentProtection=r.contentProtection),i&&(c.sidx=i),t&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(o,n),t);return e[s].playlists.push(c),void 0===r&&"main"===i&&((r=o).default=!0),e}),{});r||(o[Object.keys(o)[0]].default=!0);return o}(f,i,b):null,w=h.length?function(e,t){return void 0===t&&(t={}),e.reduce((function(e,n){var r=n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(Ne(function(e){var t,n=e.attributes,r=e.segments,o=e.mediaSequence,i=e.discontinuityStarts,a=e.discontinuitySequence;void 0===r&&(r=[{uri:n.baseUrl,timeline:n.periodStart,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var s=((t={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,t);return n.codecs&&(s.CODECS=n.codecs),{attributes:s,uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:n.baseUrl||"",targetDuration:n.duration,timelineStarts:n.timelineStarts,discontinuityStarts:i,discontinuitySequence:a,mediaSequence:o,segments:r}}(n),t)),e}),{})}(h,i):null,C=p.concat(Ue(_),Ue(w)),S=C.map((function(e){return e.timelineStarts}));return g.timelineStarts=Te(S),y=C,v=g.timelineStarts,y.forEach((function(e){e.mediaSequence=0,e.discontinuitySequence=he(v,(function(t){return t.timeline===e.timeline})),e.segments&&e.segments.forEach((function(e,t){e.number=t}))})),_&&(g.mediaGroups.AUDIO.audio=_),w&&(g.mediaGroups.SUBTITLES.subs=w),m.length&&(g.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce((function(e,t){return t?(t.forEach((function(t){var n=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e}),{})),a?Re({oldManifest:a,newManifest:g}):g},Ve=function(e,t,n){var r=e.NOW,o=e.clientOffset,i=e.availabilityStartTime,a=e.timescale,s=void 0===a?1:a,l=e.periodStart,c=void 0===l?0:l,u=e.minimumUpdatePeriod,d=(r+o)/1e3+(void 0===u?0:u)-(i+c);return Math.ceil((d*s-t)/n)},ze=function(e,t){for(var n=e.type,r=e.minimumUpdatePeriod,o=void 0===r?0:r,i=e.media,a=void 0===i?"":i,s=e.sourceDuration,l=e.timescale,c=void 0===l?1:l,u=e.startNumber,d=void 0===u?1:u,p=e.periodStart,f=[],h=-1,m=0;m<t.length;m++){var g=t[m],y=g.d,v=g.r||0,b=g.t||0;h<0&&(h=b),b&&b>h&&(h=b);var _=void 0;if(v<0){var w=m+1;_=w===t.length?"dynamic"===n&&o>0&&a.indexOf("$Number$")>0?Ve(e,h,y):(s*c-h)/y:(t[w].t-h)/y}else _=v+1;for(var C=d+f.length+_,S=d+f.length;S<C;)f.push({number:S,duration:y/c,time:h,timeline:p}),h+=y,S++}return f},qe=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,Ge=function(e,t){return e.replace(qe,function(e){return function(t,n,r,o){if("$$"===t)return"$";if(void 0===e[n])return t;var i=""+e[n];return"RepresentationID"===n?i:(o=r?parseInt(o,10):1,i.length>=o?i:""+new Array(o-i.length+1).join("0")+i)}}(t))},We=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,o=void 0===r?{sourceURL:"",range:""}:r,i=we({baseUrl:e.baseUrl,source:Ge(o.sourceURL,n),range:o.range});return function(e,t){return e.duration||t?e.duration?Ee(e):ze(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]}(e,t).map((function(t){n.Number=t.number,n.Time=t.time;var r=Ge(e.media||"",n),o=e.timescale||1,a=e.presentationTimeOffset||0,s=e.periodStart+(t.time-a)/o;return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:x(e.baseUrl||"",r),map:i,number:t.number,presentationTime:s}}))},Ye=function(e,t){var n=e.duration,r=e.segmentUrls,o=void 0===r?[]:r,i=e.periodStart;if(!n&&!t||n&&t)throw new Error(be);var a,s=o.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,o=void 0===r?{}:r,i=we({baseUrl:n,source:o.sourceURL,range:o.range}),a=we({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=i,a}(e,t)}));return n&&(a=Ee(e)),t&&(a=ze(e,t)),a.map((function(t,n){if(s[n]){var r=s[n],o=e.timescale||1,a=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=i+(t.time-a)/o,r}})).filter((function(e){return e}))},Ze=function(e){var t,n,r=e.attributes,o=e.segmentInfo;o.template?(n=We,t=ue(r,o.template)):o.base?(n=xe,t=ue(r,o.base)):o.list&&(n=Ye,t=ue(r,o.list));var i={attributes:r};if(!n)return i;var a=n(t,o.segmentTimeline);if(t.duration){var s=t,l=s.duration,c=s.timescale,u=void 0===c?1:c;t.duration=l/u}else a.length?t.duration=a.reduce((function(e,t){return Math.max(e,Math.ceil(t.duration))}),0):t.duration=0;return i.attributes=t,i.segments=a,o.base&&t.indexRange&&(i.sidx=a[0],i.segments=[]),i},Ke=function(e,t){return fe(e.childNodes).filter((function(e){return e.tagName===t}))},$e=function(e){return e.textContent.trim()},Qe=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(o||0)+86400*parseFloat(i||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(l||0)},Xe={mediaPresentationDuration:function(e){return Qe(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return Qe(e)},suggestedPresentationDelay:function(e){return Qe(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return Qe(e)},start:function(e){return Qe(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},frameRate:function(e){return function(e){return parseFloat(e.split("/").reduce((function(e,t){return e/t})))}(e)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?Qe(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},Je=function(e){return e&&e.attributes?fe(e.attributes).reduce((function(e,t){var n=Xe[t.name]||Xe.DEFAULT;return e[t.name]=n(t.value),e}),{}):{}},et={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},tt=function(e,t){return t.length?pe(e.map((function(e){return t.map((function(t){return x(e,$e(t))}))}))):e},nt=function(e){var t=Ke(e,"SegmentTemplate")[0],n=Ke(e,"SegmentList")[0],r=n&&Ke(n,"SegmentURL").map((function(e){return ue({tag:"SegmentURL"},Je(e))})),o=Ke(e,"SegmentBase")[0],i=n||t,a=i&&Ke(i,"SegmentTimeline")[0],s=n||o||t,l=s&&Ke(s,"Initialization")[0],c=t&&Je(t);c&&l?c.initialization=l&&Je(l):c&&c.initialization&&(c.initialization={sourceURL:c.initialization});var u={template:c,segmentTimeline:a&&Ke(a,"S").map((function(e){return Je(e)})),list:n&&ue(Je(n),{segmentUrls:r,initialization:Je(l)}),base:o&&ue(Je(o),{initialization:Je(l)})};return Object.keys(u).forEach((function(e){u[e]||delete u[e]})),u},rt=function(e,t,n){return function(r){var o,i=Je(r),a=tt(t,Ke(r,"BaseURL")),s=Ke(r,"Role")[0],l={role:Je(s)},c=ue(e,i,l),u=Ke(r,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(o=Je(u)).schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(e){var t,n;if(n=e,/^CC\d=/.test(e)){var r=e.split("=");t=r[0],n=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:n}})):"urn:scte:dash:cc:cea-708:2015"===o.schemeIdUri?("string"!=typeof o.value?[]:o.value.split(";")).map((function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var n=e.split("="),r=n[0],o=n[1],i=void 0===o?"":o;t.channel=r,t.language=e,i.split(",").forEach((function(e){var n=e.split(":"),r=n[0],o=n[1];"lang"===r?t.language=o:"er"===r?t.easyReader=Number(o):"war"===r?t.aspectRatio=Number(o):"3D"===r&&(t["3D"]=Number(o))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;d&&(c=ue(c,{captionServices:d}));var p=Ke(r,"Label")[0];if(p&&p.childNodes.length){var f=p.childNodes[0].nodeValue.trim();c=ue(c,{label:f})}var h=Ke(r,"ContentProtection").reduce((function(e,t){var n=Je(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());var r=et[n.schemeIdUri];if(r){e[r]={attributes:n};var o=Ke(t,"cenc:pssh")[0];if(o){var i=$e(o);e[r].pssh=i&&R(i)}}return e}),{});Object.keys(h).length&&(c=ue(c,{contentProtection:h}));var m=nt(r),g=Ke(r,"Representation"),y=ue(n,m);return pe(g.map(function(e,t,n){return function(r){var o=Ke(r,"BaseURL"),i=tt(t,o),a=ue(e,Je(r)),s=nt(r);return i.map((function(e){return{segmentInfo:ue(n,s),attributes:ue(a,{baseUrl:e})}}))}}(c,a,y)))}},ot=function(e,t){return function(n,r){var o=tt(t,Ke(n.node,"BaseURL")),i=ue(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(i.periodDuration=n.attributes.duration);var a=Ke(n.node,"AdaptationSet"),s=nt(n.node);return pe(a.map(rt(i,o,s)))}},it=function(e){if(""===e)throw new Error(ge);var t,n,r=new ae.DOMParser;try{n=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(ye);return n},at=function(e,t){void 0===t&&(t={});var n=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,o=void 0===r?"":r,i=n.NOW,a=void 0===i?Date.now():i,s=n.clientOffset,l=void 0===s?0:s,c=Ke(e,"Period");if(!c.length)throw new Error(me);var u=Ke(e,"Location"),d=Je(e),p=tt([o],Ke(e,"BaseURL"));d.type=d.type||"static",d.sourceDuration=d.mediaPresentationDuration||0,d.NOW=a,d.clientOffset=l,u.length&&(d.locations=u.map($e));var f=[];return c.forEach((function(e,t){var n=Je(e),r=f[t-1];n.start=function(e){var t=e.attributes,n=e.priorPeriodAttributes,r=e.mpdType;return"number"==typeof t.start?t.start:n&&"number"==typeof n.start&&"number"==typeof n.duration?n.start+n.duration:n||"static"!==r?null:0}({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:d.type}),f.push({node:e,attributes:n})})),{locations:d.locations,representationInfo:pe(f.map(ot(d,p)))}}(it(e),t),r=n.representationInfo.map(Ze);return He({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},st=function(e){return function(e){var t=Ke(e,"UTCTiming")[0];if(!t)return null;var n=Je(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(_e)}return n}(it(e))},lt=n(47376),ct=n.n(lt),ut=J([73,68,51]),dt=function e(t,n){return void 0===n&&(n=0),(t=J(t)).length-n<10||!ie(t,ut,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=J(e))[t+5],r=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?r+20:r+10}(t,n),e(t,n))},pt=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"==typeof e?oe(e):e}),ft=function(e){e=J(e);for(var t=[],n=0;e.length>n;){var r=e[n],o=0,i=0,a=e[++i];for(i++;128&a;)o=(127&a)<<7,a=e[i],i++;o+=127&a;for(var s=0;s<le.length;s++){var l=le[s],c=l.id,u=l.parser;if(r===c){t.push(u(e.subarray(i,i+o)));break}}n+=o+i}return t};le=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var n=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,J(e));try{return decodeURIComponent(escape(t))}catch(e){}return t}(e.subarray(t.size+1,t.size+1+n)),t.size+=n}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=ft(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:ft(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var ht=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(e){return pt(e)})):[pt(e)]}(n),t=J(t);var o=[];if(!n.length)return o;for(var i=0;i<t.length;){var a=(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0,s=t.subarray(i+4,i+8);if(0===a)break;var l=i+a;if(l>t.length){if(r)break;l=t.length}var c=t.subarray(i+8,l);ie(s,n[0])&&(1===n.length?o.push(c):o.push.apply(o,e(c,n.slice(1),r))),i=l}return o},mt={EBML:J([26,69,223,163]),DocType:J([66,130]),Segment:J([24,83,128,103]),SegmentInfo:J([21,73,169,102]),Tracks:J([22,84,174,107]),Track:J([174]),TrackNumber:J([215]),DefaultDuration:J([35,227,131]),TrackEntry:J([174]),TrackType:J([131]),FlagDefault:J([136]),CodecID:J([134]),CodecPrivate:J([99,162]),VideoTrack:J([224]),AudioTrack:J([225]),Cluster:J([31,67,182,117]),Timestamp:J([231]),TimestampScale:J([42,215,177]),BlockGroup:J([160]),BlockDuration:J([155]),Block:J([161]),SimpleBlock:J([163])},gt=[128,64,32,16,8,4,2,1],yt=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var o=function(e){for(var t=1,n=0;n<gt.length&&!(e&gt[n]);n++)t++;return t}(e[t]),i=e.subarray(t,t+o);return n&&((i=Array.prototype.slice.call(e,t,t+o))[0]^=gt[o-1]),{length:o,value:ne(i,{signed:r}),bytes:i}},vt=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"==typeof t?re(t):t},bt=function e(t,n,r){if(r>=n.length)return n.length;var o=yt(n,r,!1);if(ie(t.bytes,o.bytes))return r;var i=yt(n,r+o.length);return e(t,n,r+i.length+i.value+o.length)},_t=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return vt(e)})):[vt(e)]}(n),t=J(t);var r=[];if(!n.length)return r;for(var o=0;o<t.length;){var i=yt(t,o,!1),a=yt(t,o+i.length),s=o+i.length+a.length;127===a.value&&(a.value=bt(i,t,s),a.value!==t.length&&(a.value-=s));var l=s+a.value>t.length?t.length:s+a.value,c=t.subarray(s,l);ie(n[0],i.bytes)&&(1===n.length?r.push(c):r=r.concat(e(c,n.slice(1)))),o+=i.length+a.length+c.length}return r},wt=J([0,0,0,1]),Ct=J([0,0,1]),St=J([0,0,3]),Et=function(e){for(var t=[],n=1;n<e.length-2;)ie(e.subarray(n,n+3),St)&&(t.push(n+2),n++),n++;if(0===t.length)return e;var r=e.length-t.length,o=new Uint8Array(r),i=0;for(n=0;n<r;i++,n++)i===t[0]&&(i++,t.shift()),o[n]=e[i];return o},xt=function(e,t,n,r){void 0===r&&(r=1/0),e=J(e),n=[].concat(n);for(var o,i=0,a=0;i<e.length&&(a<r||o);){var s=void 0;if(ie(e.subarray(i),wt)?s=4:ie(e.subarray(i),Ct)&&(s=3),s){if(a++,o)return Et(e.subarray(o,i));var l=void 0;"h264"===t?l=31&e[i+s]:"h265"===t&&(l=e[i+s]>>1&63),-1!==n.indexOf(l)&&(o=i+s),i+=s+("h264"===t?1:2)}else i++}return e.subarray(0,0)},kt={webm:J([119,101,98,109]),matroska:J([109,97,116,114,111,115,107,97]),flac:J([102,76,97,67]),ogg:J([79,103,103,83]),ac3:J([11,119]),riff:J([82,73,70,70]),avi:J([65,86,73]),wav:J([87,65,86,69]),"3gp":J([102,116,121,112,51,103]),mp4:J([102,116,121,112]),fmp4:J([115,116,121,112]),mov:J([102,116,121,112,113,116]),moov:J([109,111,111,118]),moof:J([109,111,111,102])},Ot={aac:function(e){var t=dt(e);return ie(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=dt(e);return ie(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=_t(e,[mt.EBML,mt.DocType])[0];return ie(t,kt.webm)},mkv:function(e){var t=_t(e,[mt.EBML,mt.DocType])[0];return ie(t,kt.matroska)},mp4:function(e){return!Ot["3gp"](e)&&!Ot.mov(e)&&(!(!ie(e,kt.mp4,{offset:4})&&!ie(e,kt.fmp4,{offset:4}))||(!(!ie(e,kt.moof,{offset:4})&&!ie(e,kt.moov,{offset:4}))||void 0))},mov:function(e){return ie(e,kt.mov,{offset:4})},"3gp":function(e){return ie(e,kt["3gp"],{offset:4})},ac3:function(e){var t=dt(e);return ie(e,kt.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=dt(e);return ie(e,kt.flac,{offset:t})},ogg:function(e){return ie(e,kt.ogg)},avi:function(e){return ie(e,kt.riff)&&ie(e,kt.avi,{offset:8})},wav:function(e){return ie(e,kt.riff)&&ie(e,kt.wav,{offset:8})},h264:function(e){return function(e,t,n){return xt(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return xt(e,"h265",t,n)}(e,[32,33],3).length}},Tt=Object.keys(Ot).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);Tt.forEach((function(e){var t=Ot[e];Ot[e]=function(e){return t(J(e))}}));var At=Ot,Pt=function(e){e=J(e);for(var t=0;t<Tt.length;t++){var n=Tt[t];if(At[n](e))return n}return""},Rt=n(52953);function It(e){return(It=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){var t="function"==typeof Map?new Map:void 0;return(Mt=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return C(e,arguments,It(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)})(e)}function Nt(e){return(Nt="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)}for(var Dt,jt={},Lt=function(e,t){return jt[e]=jt[e]||[],t&&(jt[e]=jt[e].concat(t)),jt[e]},Bt=function(e,t){var n=Lt(e).indexOf(t);return!(n<=-1)&&(jt[e]=jt[e].slice(),jt[e].splice(n,1),!0)},Ft={prefixed:!0},Ut=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],Ht=Ut[0],Vt=0;Vt<Ut.length;Vt++)if(Ut[Vt][1]in l()){Dt=Ut[Vt];break}if(Dt){for(var zt=0;zt<Dt.length;zt++)Ft[Ht[zt]]=Dt[zt];Ft.prefixed=Dt[0]!==Ht[0]}var qt=[];var Gt=function e(t){var n,r="info",o=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n("log",r,t)};return n=function(e,t){return function(n,r,o){var i=t.levels[r],s=new RegExp("^("+i+")$");if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),qt){qt.push([].concat(o));var l=qt.length-1e3;qt.splice(0,l>0?l:0)}if(a().console){var c=a().console[n];c||"debug"!==n||(c=a().console.info||a().console.log),c&&i&&s.test(n)&&c[Array.isArray(o)?"apply":"call"](a().console,o)}}}(t,o),o.createLogger=function(n){return e(t+": "+n)},o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},o.level=function(e){if("string"==typeof e){if(!o.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(o.history=function(){return qt?[].concat(qt):[]}).filter=function(e){return(qt||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},o.history.clear=function(){qt&&(qt.length=0)},o.history.disable=function(){null!==qt&&(qt.length=0,qt=null)},o.history.enable=function(){null===qt&&(qt=[])},o.error=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("error",r,t)},o.warn=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("warn",r,t)},o.debug=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n("debug",r,t)},o}("VIDEOJS"),Wt=Gt.createLogger,Yt=Object.prototype.toString,Zt=function(e){return Qt(e)?Object.keys(e):[]};function Kt(e,t){Zt(e).forEach((function(n){return t(e[n],n)}))}function $t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?c.apply(void 0,[e].concat(n)):(n.forEach((function(t){t&&Kt(t,(function(t,n){e[n]=t}))})),e)}function Qt(e){return!!e&&"object"===Nt(e)}function Xt(e){return Qt(e)&&"[object Object]"===Yt.call(e)&&e.constructor===Object}function Jt(e,t){if(!e||!t)return"";if("function"==typeof a().getComputedStyle){var n;try{n=a().getComputedStyle(e)}catch(e){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var en,tn=a().navigator&&a().navigator.userAgent||"",nn=/AppleWebKit\/([\d.]+)/i.exec(tn),rn=nn?parseFloat(nn.pop()):null,on=/iPod/i.test(tn),an=(en=tn.match(/OS (\d+)_/i))&&en[1]?en[1]:null,sn=/Android/i.test(tn),ln=function(){var e=tn.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),cn=sn&&ln<5&&rn<537,un=/Firefox/i.test(tn),dn=/Edg/i.test(tn),pn=!dn&&(/Chrome/i.test(tn)||/CriOS/i.test(tn)),fn=function(){var e=tn.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),hn=function(){var e=/MSIE\s(\d+)\.\d/.exec(tn),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(tn)&&/rv:11.0/.test(tn)&&(t=11),t}(),mn=/Safari/i.test(tn)&&!pn&&!sn&&!dn,gn=/Windows/i.test(tn),yn=Boolean(xn()&&("ontouchstart"in a()||a().navigator.maxTouchPoints||a().DocumentTouch&&a().document instanceof a().DocumentTouch)),vn=/iPad/i.test(tn)||mn&&yn&&!/iPhone/i.test(tn),bn=/iPhone/i.test(tn)&&!vn,_n=bn||vn||on,wn=(mn||_n)&&!pn,Cn=Object.freeze({__proto__:null,IS_IPOD:on,IOS_VERSION:an,IS_ANDROID:sn,ANDROID_VERSION:ln,IS_NATIVE_ANDROID:cn,IS_FIREFOX:un,IS_EDGE:dn,IS_CHROME:pn,CHROME_VERSION:fn,IE_VERSION:hn,IS_SAFARI:mn,IS_WINDOWS:gn,TOUCH_ENABLED:yn,IS_IPAD:vn,IS_IPHONE:bn,IS_IOS:_n,IS_ANY_SAFARI:wn});function Sn(e){return"string"==typeof e&&Boolean(e.trim())}function En(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function xn(){return l()===a().document}function kn(e){return Qt(e)&&1===e.nodeType}function On(){try{return a().parent!==a().self}catch(e){return!0}}function Tn(e){return function(t,n){if(!Sn(t))return l()[e](null);Sn(n)&&(n=l().querySelector(n));var r=kn(n)?n:l();return r[e]&&r[e](t)}}function An(e,t,n,r){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var o=l().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(Gt.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+n+"."),o.setAttribute(e,n)):"textContent"===e?Pn(o,n):o[e]===n&&"tabIndex"!==e||(o[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){o.setAttribute(e,n[e])})),r&&Kn(o,r),o}function Pn(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function Rn(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function In(e,t){return En(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function Mn(e,t){return e.classList?e.classList.add(t):In(e,t)||(e.className=(e.className+" "+t).trim()),e}function Nn(e,t){return e?(e.classList?e.classList.remove(t):(En(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e):(Gt.warn("removeClass was called with an element that doesn't exist"),null)}function Dn(e,t,n){var r=In(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?Mn(e,t):Nn(e,t),e}function jn(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function Ln(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,o=r.length-1;o>=0;o--){var i=r[o].name,a=r[o].value;"boolean"!=typeof e[i]&&-1===n.indexOf(","+i+",")||(a=null!==a),t[i]=a}return t}function Bn(e,t){return e.getAttribute(t)}function Fn(e,t,n){e.setAttribute(t,n)}function Un(e,t){e.removeAttribute(t)}function Hn(){l().body.focus(),l().onselectstart=function(){return!1}}function Vn(){l().onselectstart=function(){return!0}}function zn(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(Jt(e,"height"))),n.width||(n.width=parseFloat(Jt(e,"width"))),n}}function qn(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,n=e.offsetHeight,r=0,o=0;e.offsetParent&&e!==l()[Ft.fullscreenElement];)r+=e.offsetLeft,o+=e.offsetTop,e=e.offsetParent;return{left:r,top:o,width:t,height:n}}function Gn(e,t){var n={x:0,y:0};if(_n)for(var r=e;r&&"html"!==r.nodeName.toLowerCase();){var o=Jt(r,"transform");if(/^matrix/.test(o)){var i=o.slice(7,-1).split(/,\s/).map(Number);n.x+=i[4],n.y+=i[5]}else if(/^matrix3d/.test(o)){var a=o.slice(9,-1).split(/,\s/).map(Number);n.x+=a[12],n.y+=a[13]}r=r.parentNode}var s={},l=qn(t.target),c=qn(e),u=c.width,d=c.height,p=t.offsetY-(c.top-l.top),f=t.offsetX-(c.left-l.left);return t.changedTouches&&(f=t.changedTouches[0].pageX-c.left,p=t.changedTouches[0].pageY+c.top,_n&&(f-=n.x,p-=n.y)),s.y=1-Math.max(0,Math.min(1,p/d)),s.x=Math.max(0,Math.min(1,f/u)),s}function Wn(e){return Qt(e)&&3===e.nodeType}function Yn(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Zn(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"==typeof e&&(e=e()),kn(e)||Wn(e)?e:"string"==typeof e&&/\S/.test(e)?l().createTextNode(e):void 0})).filter((function(e){return e}))}function Kn(e,t){return Zn(t).forEach((function(t){return e.appendChild(t)})),e}function $n(e,t){return Kn(Yn(e),t)}function Qn(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var Xn,Jn=Tn("querySelector"),er=Tn("querySelectorAll"),tr=Object.freeze({__proto__:null,isReal:xn,isEl:kn,isInFrame:On,createEl:An,textContent:Pn,prependTo:Rn,hasClass:In,addClass:Mn,removeClass:Nn,toggleClass:Dn,setAttributes:jn,getAttributes:Ln,getAttribute:Bn,setAttribute:Fn,removeAttribute:Un,blockTextSelection:Hn,unblockTextSelection:Vn,getBoundingClientRect:zn,findPosition:qn,getPointerPosition:Gn,isTextNode:Wn,emptyEl:Yn,normalizeContent:Zn,appendContent:Kn,insertContent:$n,isSingleLeftClick:Qn,$:Jn,$$:er}),nr=!1,rr=function(){if(!1!==Xn.options.autoSetup){var e=Array.prototype.slice.call(l().getElementsByTagName("video")),t=Array.prototype.slice.call(l().getElementsByTagName("audio")),n=Array.prototype.slice.call(l().getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(var o=0,i=r.length;o<i;o++){var a=r[o];if(!a||!a.getAttribute){or(1);break}void 0===a.player&&null!==a.getAttribute("data-setup")&&Xn(a)}else nr||or(1)}};function or(e,t){xn()&&(t&&(Xn=t),a().setTimeout(rr,e))}function ir(){nr=!0,a().removeEventListener("load",ir)}xn()&&("complete"===l().readyState?ir():a().addEventListener("load",ir));var ar,sr=function(e){var t=l().createElement("style");return t.className=e,t},lr=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},cr=3;function ur(){return cr++}a().WeakMap||(ar=function(){function e(){this.vdata="vdata"+Math.floor(a().performance&&a().performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||ur();return e[this.vdata]||(e[this.vdata]=n),this.data[n]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];Gt("We have no data for this element",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var dr,pr=a().WeakMap?new WeakMap:new ar;function fr(e,t){if(pr.has(e)){var n=pr.get(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&pr.delete(e)}}function hr(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function mr(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){var r=e||a().event;for(var o in e={},r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&"path"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||l()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var i=l().documentElement,s=l().body;e.pageX=e.clientX+(i&&i.scrollLeft||s&&s.scrollLeft||0)-(i&&i.clientLeft||s&&s.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||s&&s.scrollTop||0)-(i&&i.clientTop||s&&s.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}var gr=["touchstart","touchmove"];function yr(e,t,n){if(Array.isArray(t))return hr(yr,e,t,n);pr.has(e)||pr.set(e,{});var r=pr.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=ur()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=mr(t);var o=r.handlers[t.type];if(o)for(var i=o.slice(0),a=0,s=i.length;a<s&&!t.isImmediatePropagationStopped();a++)try{i[a].call(e,t,n)}catch(e){Gt.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var o=!1;(function(){if("boolean"!=typeof dr){dr=!1;try{var e=Object.defineProperty({},"passive",{get:function(){dr=!0}});a().addEventListener("test",null,e),a().removeEventListener("test",null,e)}catch(e){}}return dr})()&&gr.indexOf(t)>-1&&(o={passive:!0}),e.addEventListener(t,r.dispatcher,o)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function vr(e,t,n){if(pr.has(e)){var r=pr.get(e);if(r.handlers){if(Array.isArray(t))return hr(vr,e,t,n);var o=function(e,t){r.handlers[t]=[],fr(e,t)};if(void 0!==t){var i=r.handlers[t];if(i)if(n){if(n.guid)for(var a=0;a<i.length;a++)i[a].guid===n.guid&&i.splice(a--,1);fr(e,t)}else o(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&o(e,s)}}}function br(e,t,n){var r=pr.has(e)?pr.get(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=mr(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&!0===t.bubbles)br.call(null,o,t,n);else if(!o&&!t.defaultPrevented&&t.target&&t.target[t.type]){pr.has(t.target)||pr.set(t.target,{});var i=pr.get(t.target);t.target[t.type]&&(i.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=!1)}return!t.defaultPrevented}function _r(e,t,n){if(Array.isArray(t))return hr(_r,e,t,n);var r=function r(){vr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||ur(),yr(e,t,r)}function wr(e,t,n){var r=function r(){vr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||ur(),yr(e,t,r)}var Cr,Sr=Object.freeze({__proto__:null,fixEvent:mr,on:yr,off:vr,trigger:br,one:_r,any:wr}),Er=function(e,t,n){t.guid||(t.guid=ur());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},xr=function(e,t){var n=a().performance.now();return function(){var r=a().performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},kr=function(){};kr.prototype.allowedEvents_={},kr.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},yr(this,e,t),this.addEventListener=n},kr.prototype.addEventListener=kr.prototype.on,kr.prototype.off=function(e,t){vr(this,e,t)},kr.prototype.removeEventListener=kr.prototype.off,kr.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},_r(this,e,t),this.addEventListener=n},kr.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},wr(this,e,t),this.addEventListener=n},kr.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=mr(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),br(this,e)},kr.prototype.dispatchEvent=kr.prototype.trigger,kr.prototype.queueTrigger=function(e){var t=this;Cr||(Cr=new Map);var n=e.type||e,r=Cr.get(this);r||(r=new Map,Cr.set(this,r));var o=r.get(n);r.delete(n),a().clearTimeout(o);var i=a().setTimeout((function(){r.delete(n),0===r.size&&(r=null,Cr.delete(t)),t.trigger(e)}),0);r.set(n,i)};var Or=function(e){return"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:Nt(e)},Tr=function(e){return e instanceof kr||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"==typeof e[t]}))},Ar=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},Pr=function(e,t,n){if(!e||!e.nodeName&&!Tr(e))throw new Error("Invalid target for "+Or(t)+"#"+n+"; must be a DOM node or evented object.")},Rr=function(e,t,n){if(!Ar(e))throw new Error("Invalid event type for "+Or(t)+"#"+n+"; must be a non-empty string or array.")},Ir=function(e,t,n){if("function"!=typeof e)throw new Error("Invalid listener for "+Or(t)+"#"+n+"; must be a function.")},Mr=function(e,t,n){var r,o,i,a=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return a?(r=e.eventBusEl_,t.length>=3&&t.shift(),o=t[0],i=t[1]):(r=t[0],o=t[1],i=t[2]),Pr(r,e,n),Rr(o,e,n),Ir(i,e,n),{isTargetingSelf:a,target:r,type:o,listener:i=Er(e,i)}},Nr=function(e,t,n,r){Pr(e,e,t),e.nodeName?Sr[t](e,n,r):e[t](n,r)},Dr={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Mr(this,n,"on"),i=o.isTargetingSelf,a=o.target,s=o.type,l=o.listener;if(Nr(a,"on",s,l),!i){var c=function(){return e.off(a,s,l)};c.guid=l.guid;var u=function(){return e.off("dispose",c)};u.guid=l.guid,Nr(this,"on","dispose",c),Nr(a,"on","dispose",u)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Mr(this,n,"one"),i=o.isTargetingSelf,a=o.target,s=o.type,l=o.listener;if(i)Nr(a,"one",s,l);else{var c=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];l.apply(null,r)};c.guid=l.guid,Nr(a,"one",s,c)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Mr(this,n,"any"),i=o.isTargetingSelf,a=o.target,s=o.type,l=o.listener;if(i)Nr(a,"any",s,l);else{var c=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];l.apply(null,r)};c.guid=l.guid,Nr(a,"any",s,c)}},off:function(e,t,n){if(!e||Ar(e))vr(this.eventBusEl_,e,t);else{var r=e,o=t;Pr(r,this,"off"),Rr(o,this,"off"),Ir(n,this,"off"),n=Er(this,n),this.off("dispose",n),r.nodeName?(vr(r,o,n),vr(r,"dispose",n)):Tr(r)&&(r.off(o,n),r.off("dispose",n))}},trigger:function(e,t){Pr(this.eventBusEl_,this,"trigger");var n=e&&"string"!=typeof e?e.type:e;if(!Ar(n)){var r="Invalid event type for "+Or(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!e)throw new Error(r);(this.log||Gt).error(r)}return br(this.eventBusEl_,e,t)}};function jr(e,t){void 0===t&&(t={});var n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=An("span",{className:"vjs-event-bus"});return $t(e,Dr),e.eventedCallbacks&&e.eventedCallbacks.forEach((function(e){e()})),e.on("dispose",(function(){e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&pr.has(e)&&pr.delete(e)})),a().setTimeout((function(){e.eventBusEl_=null}),0)})),e}var Lr={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),Kt(e,(function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e})),t&&Tr(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Br(e,t){return $t(e,Lr),e.state=$t({},e.state,t),"function"==typeof e.handleStateChanged&&Tr(e)&&e.on("statechanged",e.handleStateChanged),e}var Fr=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toLowerCase()}))},Ur=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))};function Hr(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Kt(t,(function(t,n){Xt(t)?(Xt(e[n])||(e[n]={}),e[n]=Hr(e[n],t)):e[n]=t}))})),e}var Vr=function(){function e(){this.map_={}}var t=e.prototype;return t.has=function(e){return e in this.map_},t.delete=function(e){var t=this.has(e);return delete this.map_[e],t},t.set=function(e,t){return this.map_[e]=t,this},t.forEach=function(e,t){for(var n in this.map_)e.call(t,this.map_[n],n,this)},e}(),zr=a().Map?a().Map:Vr,qr=function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var n in this.set_)e.call(t,n,n,this)},e}(),Gr=a().Set?a().Set:qr,Wr=function(){function e(e,t,n){var r=this;if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Hr({},this.options_),t=this.options_=Hr(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var o=e&&e.id&&e.id()||"no_player";this.id_=o+"_component_"+ur()}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((function(e){return r.addClass(e)})),!1!==t.evented&&(jr(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Br(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Gr,this.setIntervalIds_=new Gr,this.rafIds_=new Gr,this.namedRafs_=new zr,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(e){if(void 0===e&&(e={}),!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=Hr(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return An(e,t,n)},t.localize=function(e,t,n){void 0===n&&(n=e);var r=this.player_.language&&this.player_.language(),o=this.player_.languages&&this.player_.languages(),i=o&&o[r],a=r&&r.split("-")[0],s=o&&o[a],l=n;return i&&i[e]?l=i[e]:s&&s[e]&&(l=s[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,n){var r=t[n-1],o=r;return void 0===r&&(o=e),o}))),l},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t=t.reduce((function(e,t){return e.concat(t)}),[]);for(var r=this,o=0;o<t.length;o++)if(!(r=r.getChild(t[o]))||!r.getChild)return;return r},t.addChild=function(t,n,r){var o,i;if(void 0===n&&(n={}),void 0===r&&(r=this.children_.length),"string"==typeof t){i=Ur(t);var a=n.componentClass||i;n.name=i;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;o=new s(this.player_||this,n)}else o=t;if(o.parentComponent_&&o.parentComponent_.removeChild(o),this.children_.splice(r,0,o),o.parentComponent_=this,"function"==typeof o.id&&(this.childIndex_[o.id()]=o),(i=i||o.name&&Ur(o.name()))&&(this.childNameIndex_[i]=o,this.childNameIndex_[Fr(i)]=o),"function"==typeof o.el&&o.el()){var l=null;this.children_[r+1]&&(this.children_[r+1].el_?l=this.children_[r+1].el_:kn(this.children_[r+1])&&(l=this.children_[r+1])),this.contentEl().insertBefore(o.el(),l)}return o},t.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[Ur(e.name())]=null,this.childNameIndex_[Fr(e.name())]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,n=this.options_.children;if(n){var r,o=this.options_,i=e.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((function(e){var r,o;return"string"==typeof e?o=n[r=e]||t.options_[r]||{}:(r=e.name,o=e),{name:r,opts:o}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||Ur(t.name));return n&&!i.isTech(n)})).forEach((function(e){var n=e.name,r=e.opts;if(void 0!==o[n]&&(r=o[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var i=t.addChild(n,r);i&&(t[n]=i)}}))}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},t.$=function(e,t){return Jn(e,t||this.contentEl())},t.$$=function(e,t){return er(e,t||this.contentEl())},t.hasClass=function(e){return In(this.el_,e)},t.addClass=function(e){Mn(this.el_,e)},t.removeClass=function(e){Nn(this.el_,e)},t.toggleClass=function(e,t){Dn(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return Bn(this.el_,e)},t.setAttribute=function(e,t){Fn(this.el_,e,t)},t.removeAttribute=function(e){Un(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return-1!==o?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+Ur(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=Jt(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+Ur(e);t=this.el_[n]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(d().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,n=null;this.on("touchstart",(function(r){1===r.touches.length&&(n={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=a().performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(n){var r=t.touches[0].pageX-n.pageX,o=t.touches[0].pageY-n.pageY;Math.sqrt(r*r+o*o)>10&&(e=!1)}}));var r=function(){e=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){(n=null,!0===e)&&(a().performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))}))},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=Er(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.setTimeout=function(e,t){var n,r=this;return e=Er(this,e),this.clearTimersOnDispose_(),n=a().setTimeout((function(){r.setTimeoutIds_.has(n)&&r.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),a().clearTimeout(e)),e},t.setInterval=function(e,t){e=Er(this,e),this.clearTimersOnDispose_();var n=a().setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),a().clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=Er(this,e),t=a().requestAnimationFrame((function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()})),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var n=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=Er(this,t);var r=this.requestAnimationFrame((function(){t(),n.namedRafs_.has(e)&&n.namedRafs_.delete(e)}));return this.namedRafs_.set(e,r),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),a().cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var n=t[0],r=t[1];e[n].forEach((function(t,n){return e[r](n)}))})),e.clearingTimersOnDispose_=!1})))},e.registerComponent=function(t,n){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r,o=e.getComponent("Tech"),i=o&&o.isTech(n),a=e===n||e.prototype.isPrototypeOf(n.prototype);if(i||!a)throw r=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+r+".");t=Ur(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var l=s.players,c=Object.keys(l);if(l&&c.length>0&&c.map((function(e){return l[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[Fr(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function Yr(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}(e,r,n.length-1),n[r][t]}function Zr(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Yr.bind(null,"start",0,e),end:Yr.bind(null,"end",1,e)},a().Symbol&&a().Symbol.iterator&&(t[a().Symbol.iterator]=function(){return(e||[]).values()}),t}function Kr(e,t){return Array.isArray(e)?Zr(e):void 0===e||void 0===t?Zr():Zr([[e,t]])}function $r(e,t){var n,r,o=0;if(!t)return 0;e&&e.length||(e=Kr(0,0));for(var i=0;i<e.length;i++)n=e.start(i),(r=e.end(i))>t&&(r=t),o+=r-n;return o/t}function Qr(e){if(e instanceof Qr)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:Qt(e)&&("number"==typeof e.code&&(this.code=e.code),$t(this,e)),this.message||(this.message=Qr.defaultMessages[this.code]||"")}Wr.prototype.supportsRaf_="function"==typeof a().requestAnimationFrame&&"function"==typeof a().cancelAnimationFrame,Wr.registerComponent("Component",Wr),Qr.prototype.code=0,Qr.prototype.message="",Qr.prototype.status=null,Qr.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Qr.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Xr=0;Xr<Qr.errorTypes.length;Xr++)Qr[Qr.errorTypes[Xr]]=Xr,Qr.prototype[Qr.errorTypes[Xr]]=Xr;function Jr(e){return null!=e&&"function"==typeof e.then}function eo(e){Jr(e)&&e.then(null,(function(e){}))}var to=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(t,n,r){return e[n]&&(t[n]=e[n]),t}),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})},no=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,(function(e){return e.track}));return Array.prototype.map.call(t,(function(e){var t=to(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===n.indexOf(e)})).map(to))},ro=function(e,t){return e.forEach((function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((function(e){return n.addCue(e)}))})),t.textTracks()},oo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleKeyDown_=function(e){return r.handleKeyDown(e)},r.close_=function(e){return r.close(e)},r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=An("div",{className:"vjs-modal-dialog-content"},{role:"document"}),r.descEl_=An("p",{className:"vjs-modal-dialog-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),Pn(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-modal-dialog vjs-hidden "+e.prototype.buildCSSClass.call(this)},n.label=function(){return this.localize(this.options_.label||"Modal Window")},n.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},n.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},n.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},n.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},n.closeable=function(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_},n.fill=function(){this.fillWith(this.content())},n.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),$n(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);var o=this.getChild("closeButton");o&&n.appendChild(o.el_)},n.empty=function(){this.trigger("beforemodalempty"),Yn(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=l().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())},n.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},n.handleKeyDown=function(e){if(e.stopPropagation(),d().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(d().isEventKey(e,"Tab")){for(var t,n=this.focusableEls_(),r=this.el_.querySelector(":focus"),o=0;o<n.length;o++)if(r===n[o]){t=o;break}l().activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||t!==n.length-1||(n[0].focus(),e.preventDefault())}},n.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(function(e){return(e instanceof a().HTMLAnchorElement||e instanceof a().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof a().HTMLInputElement||e instanceof a().HTMLSelectElement||e instanceof a().HTMLTextAreaElement||e instanceof a().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof a().HTMLIFrameElement||e instanceof a().HTMLObjectElement||e instanceof a().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")}))},t}(Wr);oo.prototype.options_={pauseOnOpen:!0,temporary:!0},Wr.registerComponent("ModalDialog",oo);var io=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(p(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}h(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this,n=this.tracks_.length;""+n in this||Object.defineProperty(this,n,{get:function(){return this.tracks_[n]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=function(){t.trigger({track:e,type:"labelchange",target:t})},Tr(e)&&e.addEventListener("labelchange",e.labelchange_)},n.removeTrack=function(e){for(var t,n=0,r=this.length;n<r;n++)if(this[n]===e){(t=this[n]).off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})},n.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},t}(kr);for(var ao in io.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},io.prototype.allowedEvents_)io.prototype["on"+ao]=null;var so=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)},lo=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){so(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}h(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&so(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,so(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(io),co=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)},uo=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){co(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(p(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}h(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&co(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,co(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(io),po=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;e.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return n.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return n.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(io),fo=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(e){for(var t,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},t.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}},e}(),ho=function(){function e(t){e.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var t=e.prototype;return t.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var o=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)o.call(this,n)},t.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},e}(),mo={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},go={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},yo={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},vo={disabled:"disabled",hidden:"hidden",showing:"showing"},bo=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+ur(),kind:t.kind||"",language:t.language||""},o=t.label||"",i=function(e){Object.defineProperty(p(n),e,{get:function(){return r[e]},set:function(){}})};for(var a in r)i(a);return Object.defineProperty(p(n),"label",{get:function(){return o},set:function(e){e!==o&&(o=e,this.trigger("labelchange"))}}),n}return h(t,e),t}(kr),_o=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=l().createElement("a");n.href=e;for(var r={},o=0;o<t.length;o++)r[t[o]]=n[t[o]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=a().location.protocol),r.host||(r.host=a().location.host),r},wo=function(e){if(!e.match(/^https?:\/\//)){var t=l().createElement("a");t.href=e,e=t.href}return e},Co=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},So=function(e,t){void 0===t&&(t=a().location);var n=_o(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},Eo=Object.freeze({__proto__:null,parseUrl:_o,getAbsoluteURL:wo,getFileExtension:Co,isCrossOrigin:So}),xo=function(e,t){var n=new(a().WebVTT.Parser)(a(),a().vttjs,a().WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(a().console&&a().console.groupCollapsed&&a().console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach((function(e){return Gt.error(e)})),a().console&&a().console.groupEnd&&a().console.groupEnd()),n.flush()},ko=function(e,t){var n={uri:e},r=So(e);r&&(n.cors=r);var o="use-credentials"===t.tech_.crossOrigin();o&&(n.withCredentials=o),v()(n,Er(this,(function(e,n,r){if(e)return Gt.error(e,n);t.loaded_=!0,"function"!=typeof a().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return xo(r,t);Gt.error("vttjs failed to load, stopping trying to process "+t.src)})):xo(r,t)})))},Oo=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=Hr(t,{kind:yo[t.kind]||"subtitles",language:t.language||t.srclang||""}),o=vo[r.mode]||"disabled",i=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(o="hidden"),(n=e.call(this,r)||this).tech_=r.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var a=new ho(n.cues_),s=new ho(n.activeCues_),l=!1;n.timeupdateHandler=Er(p(n),(function(e){void 0===e&&(e={}),this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));return n.tech_.one("dispose",(function(){n.stopTracking()})),"disabled"!==o&&n.startTracking(),Object.defineProperties(p(n),{default:{get:function(){return i},set:function(){}},mode:{get:function(){return o},set:function(e){vo[e]&&o!==e&&(o=e,this.preload_||"disabled"===o||0!==this.cues.length||ko(this.src,this),this.stopTracking(),"disabled"!==o&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?a:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return s;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var o=this.cues[n];(o.startTime<=e&&o.endTime>=e||o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e)&&t.push(o)}if(l=!1,t.length!==this.activeCues_.length)l=!0;else for(var i=0;i<t.length;i++)-1===this.activeCues_.indexOf(t[i])&&(l=!0);return this.activeCues_=t,s.setCues_(this.activeCues_),s},set:function(){}}}),r.src?(n.src=r.src,n.preload_||(n.loaded_=!0),(n.preload_||"subtitles"!==r.kind&&"captions"!==r.kind)&&ko(n.src,p(n))):n.loaded_=!0,n}h(t,e);var n=t.prototype;return n.startTracking=function(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)},n.stopTracking=function(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)},n.addCue=function(e){var t=e;if(t.constructor&&"VTTCue"!==t.constructor.name){for(var n in t=new(a().vttjs.VTTCue)(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},n.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(bo);Oo.prototype.allowedEvents_={cuechange:"cuechange"};var To=function(e){function t(t){var n;void 0===t&&(t={});var r=Hr(t,{kind:go[t.kind]||""});n=e.call(this,r)||this;var o=!1;return Object.defineProperty(p(n),"enabled",{get:function(){return o},set:function(e){"boolean"==typeof e&&e!==o&&(o=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return h(t,e),t}(bo),Ao=function(e){function t(t){var n;void 0===t&&(t={});var r=Hr(t,{kind:mo[t.kind]||""});n=e.call(this,r)||this;var o=!1;return Object.defineProperty(p(n),"selected",{get:function(){return o},set:function(e){"boolean"==typeof e&&e!==o&&(o=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return h(t,e),t}(bo),Po=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var o=new Oo(t);return n.kind=o.kind,n.src=o.src,n.srclang=o.language,n.label=o.label,n.default=o.default,Object.defineProperties(p(n),{readyState:{get:function(){return r}},track:{get:function(){return o}}}),r=0,o.addEventListener("loadeddata",(function(){r=2,n.trigger({type:"load",target:p(n)})})),n}return h(t,e),t}(kr);Po.prototype.allowedEvents_={load:"load"},Po.NONE=0,Po.LOADING=1,Po.LOADED=2,Po.ERROR=3;var Ro={audio:{ListClass:lo,TrackClass:To,capitalName:"Audio"},video:{ListClass:uo,TrackClass:Ao,capitalName:"Video"},text:{ListClass:po,TrackClass:Oo,capitalName:"Text"}};Object.keys(Ro).forEach((function(e){Ro[e].getterName=e+"Tracks",Ro[e].privateName=e+"Tracks_"}));var Io={remoteText:{ListClass:po,TrackClass:Oo,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:fo,TrackClass:Po,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Mo=c({},Ro,Io);Io.names=Object.keys(Io),Ro.names=Object.keys(Ro),Mo.names=[].concat(Io.names).concat(Ro.names);var No=function(e){function t(t,n){var r;return void 0===t&&(t={}),void 0===n&&(n=function(){}),t.reportTouchActivity=!1,(r=e.call(this,null,t,n)||this).onDurationChange_=function(e){return r.onDurationChange(e)},r.trackProgress_=function(e){return r.trackProgress(e)},r.trackCurrentTime_=function(e){return r.trackCurrentTime(e)},r.stopTrackingCurrentTime_=function(e){return r.stopTrackingCurrentTime(e)},r.disposeSourceHandler_=function(e){return r.disposeSourceHandler(e)},r.queuedHanders_=new Set,r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),Mo.names.forEach((function(e){var n=Mo[e];t&&t[n.getterName]&&(r[n.privateName]=t[n.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===t["native"+e+"Tracks"]&&(r["featuresNative"+e+"Tracks"]=!1)})),!1===t.nativeCaptions||!1===t.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.preloadTextTracks=!1!==t.preloadTextTracks,r.autoRemoteTextTracks_=new Mo.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}h(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Er(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},n.onDurationChange=function(e){this.duration_=this.duration()},n.buffered=function(){return Kr(0,0)},n.bufferedPercent=function(){return $r(this.buffered(),this.duration_)},n.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},n.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},n.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},n.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},n.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.dispose=function(){this.clearTracks(Ro.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},n.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach((function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var o=n[r];"text"===e&&t.removeRemoteTextTrack(o),n.removeTrack(o)}}))},n.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},n.reset=function(){},n.crossOrigin=function(){},n.setCrossOrigin=function(){},n.error=function(e){return void 0!==e&&(this.error_=new Qr(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Kr(0,0):Kr()},n.play=function(){},n.setScrubbing=function(){},n.scrubbing=function(){},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;Ro.names.forEach((function(t){var n=Ro[t],r=function(){e.trigger(t+"trackchange")},o=e[n.getterName]();o.addEventListener("removetrack",r),o.addEventListener("addtrack",r),e.on("dispose",(function(){o.removeEventListener("removetrack",r),o.removeEventListener("addtrack",r)}))}))},n.addWebVttScript_=function(){var e=this;if(!a().WebVTT)if(l().body.contains(this.el())){if(!this.options_["vtt.js"]&&Xt(_())&&Object.keys(_()).length>0)return void this.trigger("vttjsloaded");var t=l().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),a().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},o=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var i=function(){return e.trigger("texttrackchange")},a=function(){i();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",(function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){t[e].removeEventListener("cuechange",i)}}))},n.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,o){void 0===o&&(o={});var i=e.textTracks();o.kind=t,n&&(o.label=n),r&&(o.language=r),o.tech=e;var a=new Mo.text.TrackClass(o);return i.addTrack(a),a}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=Hr(e,{tech:this});return new Io.remoteTextEl.TrackClass(t)},n.addRemoteTextTrack=function(e,t){var n=this;void 0===e&&(e={});var r=this.createRemoteTextTrack(e);return!0!==t&&!1!==t&&(Gt.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==t&&this.ready((function(){return n.autoRemoteTextTracks_.addTrack(r.track)})),r},n.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},n.getVideoPlaybackQuality=function(){return{}},n.requestPictureInPicture=function(){var e=this.options_.Promise||a().Promise;if(e)return e.reject()},n.disablePictureInPicture=function(){return!0},n.setDisablePictureInPicture=function(){},n.requestVideoFrameCallback=function(e){var t=this,n=ur();return!this.isReady_||this.paused()?(this.queuedHanders_.add(n),this.one("playing",(function(){t.queuedHanders_.has(n)&&(t.queuedHanders_.delete(n),e())}))):this.requestNamedAnimationFrame(n,e),n},n.cancelVideoFrameCallback=function(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)},n.setPoster=function(){},n.playsinline=function(){},n.setPlaysinline=function(){},n.overrideNativeAudioTracks=function(){},n.overrideNativeVideoTracks=function(){},n.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=Ur(e),t.techs_[e]=n,t.techs_[Fr(e)]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return t.techs_&&t.techs_[e]?t.techs_[e]:(e=Ur(e),a()&&a().videojs&&a().videojs[e]?(Gt.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),a().videojs[e]):void 0)},t}(Wr);Mo.names.forEach((function(e){var t=Mo[e];No.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),No.prototype.featuresVolumeControl=!0,No.prototype.featuresMuteControl=!0,No.prototype.featuresFullscreenResize=!1,No.prototype.featuresPlaybackRate=!1,No.prototype.featuresProgressEvents=!1,No.prototype.featuresSourceset=!1,No.prototype.featuresTimeupdateEvents=!1,No.prototype.featuresNativeTextTracks=!1,No.prototype.featuresVideoFrameCallback=!1,No.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n,r=e.sourceHandlers||[],o=0;o<r.length;o++)if(n=r[o].canPlayType(t))return n;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],o=0;o<r.length;o++)if(r[o].canHandleSource(t,n))return r[o];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:Gt.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Wr.registerComponent("Tech",No),No.registerTech("Tech",No),No.defaultTechOrder_=[];var Do={},jo={},Lo={};function Bo(e,t,n){e.setTimeout((function(){return function e(t,n,r,o,i,a){void 0===t&&(t={});void 0===n&&(n=[]);void 0===i&&(i=[]);void 0===a&&(a=!1);var s=n,l=s[0],c=s.slice(1);if("string"==typeof l)e(t,Do[l],r,o,i,a);else if(l){var u=function(e,t){var n=jo[e.id()],r=null;if(null==n)return r=t(e),jo[e.id()]=[[t,r]],r;for(var o=0;o<n.length;o++){var i=n[o],a=i[0],s=i[1];a===t&&(r=s)}null===r&&(r=t(e),n.push([t,r]));return r}(o,l);if(!u.setSource)return i.push(u),e(t,c,r,o,i,a);u.setSource($t({},t),(function(n,s){if(n)return e(t,c,r,o,i,a);i.push(u),e(s,t.type===s.type?c:Do[s.type],r,o,i,a)}))}else c.length?e(t,c,r,o,i,a):a?r(t,i):e(t,Do["*"],r,o,i,!0)}(t,Do[t.type],n,e)}),1)}function Fo(e,t,n,r){void 0===r&&(r=null);var o="call"+Ur(n),i=e.reduce(zo(o),r),a=i===Lo,s=a?null:t[n](i);return function(e,t,n,r){for(var o=e.length-1;o>=0;o--){var i=e[o];i[t]&&i[t](r,n)}}(e,n,s,a),s}var Uo={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Ho={setCurrentTime:1,setMuted:1,setVolume:1},Vo={play:1,pause:1};function zo(e){return function(t,n){return t===Lo?Lo:n[e]?n[e](t):t}}var qo={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},Go=function(e){void 0===e&&(e="");var t=Co(e);return qo[t.toLowerCase()]||""};function Wo(e){if(!e.type){var t=Go(e.src);t&&(e.type=t)}return e}var Yo=function(e){function t(t,n,r){var o,i=Hr({createEl:!1},n);if(o=e.call(this,t,i,r)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)t.src(n.playerOptions.sources);else for(var a=0,s=n.playerOptions.techOrder;a<s.length;a++){var l=Ur(s[a]),c=No.getTech(l);if(l||(c=Wr.getComponent(l)),c&&c.isSupported()){t.loadTech_(l);break}}return o}return h(t,e),t}(Wr);Wr.registerComponent("MediaLoader",Yo);var Zo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).options_.controlText&&r.controlText(r.options_.controlText),r.handleMouseOver_=function(e){return r.handleMouseOver(e)},r.handleMouseOut_=function(e){return r.handleMouseOut(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.emitTapEvents(),r.enable(),r}h(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={}),t=$t({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&Gt.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=$t({role:"button"},n),this.tabIndex_=t.tabIndex;var r=An(e,t,n);return r.appendChild(An("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=An("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},n.controlText=function(e,t){if(void 0===t&&(t=this.el()),void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,Pn(this.controlTextEl_,n),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",n)},n.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},n.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},n.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},n.handleLanguagechange=function(){this.controlText(this.controlText_)},n.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){d().isEventKey(t,"Space")||d().isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(Wr);Wr.registerComponent("ClickableComponent",Zo);var Ko=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),r.update_=function(e){return r.update(e)},t.on("posterchange",r.update_),r}h(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update_),e.prototype.dispose.call(this)},n.createEl=function(){return An("div",{className:"vjs-poster",tabIndex:-1})},n.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},n.setSrc=function(e){var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t},n.handleClick=function(e){if(this.player_.controls()){var t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(hn||dn)&&t||this.player_.tech(!0).focus(),this.player_.paused()?eo(this.player_.play()):this.player_.pause()}},t}(Zo);Wr.registerComponent("PosterImage",Ko);var $o={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Qo(e,t){var n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Xo(e,t,n){try{e.style[t]=n}catch(e){return}}var Jo=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=function(e){return o.updateDisplay(e)};return t.on("loadstart",(function(e){return o.toggleDisplay(e)})),t.on("texttrackchange",i),t.on("loadedmetadata",(function(e){return o.preselectTrack(e)})),t.ready(Er(p(o),(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",i),t.on("playerresize",i),a().addEventListener("orientationchange",i),t.on("dispose",(function(){return a().removeEventListener("orientationchange",i)}));for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}}))),o}h(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},o=this.player_.textTracks(),i=this.player_.cache_.selectedLanguage,a=0;a<o.length;a++){var s=o[a];i&&i.enabled&&i.language&&i.language===s.language&&s.kind in r?s.kind===i.kind?n=s:n||(n=s):i&&!i.enabled?(n=null,e=null,t=null):s.default&&("descriptions"!==s.kind||e?s.kind in r&&!t&&(t=s):e=s)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"==typeof a().WebVTT&&a().WebVTT.processCues(a(),[],this.el_)},n.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var n=[],r=0;r<e.length;++r){var o=e[r];"showing"===o.mode&&n.push(o)}this.updateForTrack(n)}else{for(var i=null,a=null,s=e.length;s--;){var l=e[s];"showing"===l.mode&&("descriptions"===l.kind?i=l:a=l)}a?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(a)):i&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(i))}},n.updateDisplayState=function(e){for(var t=this.player_.textTrackSettings.getValues(),n=e.activeCues,r=n.length;r--;){var o=n[r];if(o){var i=o.displayState;if(t.color&&(i.firstChild.style.color=t.color),t.textOpacity&&Xo(i.firstChild,"color",Qo(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&Xo(i.firstChild,"backgroundColor",Qo(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?Xo(i,"backgroundColor",Qo(t.windowColor,t.windowOpacity)):i.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?i.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?i.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(i.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent){var s=a().parseFloat(i.style.fontSize);i.style.fontSize=s*t.fontPercent+"px",i.style.height="auto",i.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?i.firstChild.style.fontVariant="small-caps":i.firstChild.style.fontFamily=$o[t.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"==typeof a().WebVTT&&!e.every((function(e){return!e.activeCues}))){for(var t=[],n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.activeCues.length;++o)t.push(r.activeCues[o]);a().WebVTT.processCues(a(),t,this.el_);for(var i=0;i<e.length;++i){for(var s=e[i],l=0;l<s.activeCues.length;++l){var c=s.activeCues[l].displayState;Mn(c,"vjs-text-track-cue"),Mn(c,"vjs-text-track-cue-"+(s.language?s.language:i)),s.language&&Fn(c,"lang",s.language)}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(Wr);Wr.registerComponent("TextTrackDisplay",Jo);var ei=function(e){function t(){return e.apply(this,arguments)||this}return h(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=An("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),o=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return o.appendChild(r),o},t}(Wr);Wr.registerComponent("LoadingSpinner",ei);var ti=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=An("button",t=$t({className:this.buildCSSClass()},t),n=$t({type:"button"},n));return r.appendChild(An("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return Gt.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),Wr.prototype.addChild.call(this,e,t)},n.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},n.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},n.handleKeyDown=function(t){d().isEventKey(t,"Space")||d().isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(Zo);Wr.registerComponent("Button",ti);var ni=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return eo(t),void(!this.player_.tech(!0)||(hn||dn)&&n||this.player_.tech(!0).focus())}var r=this.player_.getChild("controlBar"),o=r&&r.getChild("playToggle");if(o){var i=function(){return o.focus()};Jr(t)?t.then(i,(function(){})):this.setTimeout(i,1)}else this.player_.tech(!0).focus()},n.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},n.handleMouseDown=function(e){this.mouseused_=!0},t}(ti);ni.prototype.controlText_="Play Video",Wr.registerComponent("BigPlayButton",ni);var ri=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){d().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(ti);Wr.registerComponent("CloseButton",ri);var oi=function(e){function t(t,n){var r;return void 0===n&&(n={}),r=e.call(this,t,n)||this,n.replay=void 0===n.replay||n.replay,r.on(t,"play",(function(e){return r.handlePlay(e)})),r.on(t,"pause",(function(e){return r.handlePause(e)})),n.replay&&r.on(t,"ended",(function(e){return r.handleEnded(e)})),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?eo(this.player_.play()):this.player_.pause()},n.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},n.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return t.handleSeeked(e)}))},t}(ti);oi.prototype.controlText_="Play",Wr.registerComponent("PlayToggle",oi);var ii=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),o=Math.floor(e/3600),i=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(o=r=n="-"),(o=o>0||a>0?o+":":"")+(r=((o||i>=10)&&r<10?"0"+r:r)+":")+(n=n<10?"0"+n:n)},ai=ii;function si(e,t){return void 0===t&&(t=e),ai(e,t)}var li=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],(function(e){return r.updateContent(e)})),r.updateTextNode_(),r}h(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),r=An("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return n.appendChild(r),this.contentEl_=An("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),n.appendChild(this.contentEl_),n},n.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},n.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=si(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,Gt.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=l().createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}})))},n.updateContent=function(e){},t}(Wr);li.prototype.labelText_="Time",li.prototype.controlText_="Time",Wr.registerComponent("TimeDisplay",li);var ci=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(li);ci.prototype.labelText_="Current Time",ci.prototype.controlText_="Current Time",Wr.registerComponent("CurrentTimeDisplay",ci);var ui=function(e){function t(t,n){var r,o=function(e){return r.updateContent(e)};return(r=e.call(this,t,n)||this).on(t,"durationchange",o),r.on(t,"loadstart",o),r.on(t,"loadedmetadata",o),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(li);ui.prototype.labelText_="Duration",ui.prototype.controlText_="Duration",Wr.registerComponent("DurationDisplay",ui);var di=function(e){function t(){return e.apply(this,arguments)||this}return h(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),n=e.prototype.createEl.call(this,"div"),r=e.prototype.createEl.call(this,"span",{textContent:"/"});return n.appendChild(r),t.appendChild(n),t},t}(Wr);Wr.registerComponent("TimeDivider",di);var pi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",(function(e){return r.updateContent(e)})),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(An("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},n.updateContent=function(e){var t;"number"==typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(li);pi.prototype.labelText_="Remaining Time",pi.prototype.controlText_="Remaining Time",Wr.registerComponent("RemainingTimeDisplay",pi);var fi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",(function(e){return r.updateShowing(e)})),r}h(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=An("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(An("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(l().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},n.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},n.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(Wr);Wr.registerComponent("LiveDisplay",fi);var hi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&(r.updateLiveEdgeStatusHandler_=function(e){return r.updateLiveEdgeStatus(e)},r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatusHandler_)),r}h(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=An("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},n.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},n.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},n.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}(ti);hi.prototype.controlText_="Seek to live, currently playing live",Wr.registerComponent("SeekToLive",hi);var mi=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},gi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseDown_=function(e){return r.handleMouseDown(e)},r.handleMouseUp_=function(e){return r.handleMouseUp(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleMouseMove_=function(e){return r.handleMouseMove(e)},r.update_=function(e){return r.update(e)},r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}h(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},n.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=$t({tabIndex:0},n),r=$t({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},n.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||pn||e.preventDefault(),Hn(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;Vn(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},n.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",(function(){var n=e.vertical()?"height":"width";e.bar.el().style[n]=(100*t).toFixed(2)+"%"}))),t}},n.getProgress=function(){return Number(mi(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=Gn(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){d().isEventKey(t,"Left")||d().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):d().isEventKey(t,"Right")||d().isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){e.stopPropagation(),e.preventDefault()},n.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(Wr);Wr.registerComponent("Slider",gi);var yi=function(e,t){return mi(e/t*100,0,100).toFixed(2)+"%"},vi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",(function(e){return r.update(e)})),r}h(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=An("span",{className:"vjs-control-text"}),r=An("span",{textContent:this.localize("Loaded")}),o=l().createTextNode(": ");return this.percentageEl_=An("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(o),n.appendChild(this.percentageEl_),t},n.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},n.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var e=t.player_.liveTracker,n=t.player_.buffered(),r=e&&e.isLive()?e.seekableEnd():t.player_.duration(),o=t.player_.bufferedEnd(),i=t.partEls_,a=yi(o,r);t.percent_!==a&&(t.el_.style.width=a,Pn(t.percentageEl_,a),t.percent_=a);for(var s=0;s<n.length;s++){var l=n.start(s),c=n.end(s),u=i[s];u||(u=t.el_.appendChild(An()),i[s]=u),u.dataset.start===l&&u.dataset.end===c||(u.dataset.start=l,u.dataset.end=c,u.style.left=yi(l,o),u.style.width=yi(c-l,o))}for(var d=i.length;d>n.length;d--)t.el_.removeChild(i[d-1]);i.length=n.length}))},t}(Wr);Wr.registerComponent("LoadProgressBar",vi);var bi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=xr(Er(p(r),r.update),30),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n){var r=qn(this.el_),o=zn(this.player_.el()),i=e.width*t;if(o&&r){var a=e.left-o.left+i,s=e.width-i+(o.right-e.right),l=r.width/2;a<l?l+=l-a:s<l&&(l=s),l<0?l=0:l>r.width&&(l=r.width),l=Math.round(l),this.el_.style.right="-"+l+"px",this.write(n)}},n.write=function(e){Pn(this.el_,e)},n.updateTime=function(e,t,n,r){var o=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var i,a=o.player_.duration();if(o.player_.liveTracker&&o.player_.liveTracker.isLive()){var s=o.player_.liveTracker.liveWindow(),l=s-t*s;i=(l<1?"":"-")+si(l,s)}else i=si(n,a);o.update(e,t,i),r&&r()}))},t}(Wr);Wr.registerComponent("TimeTooltip",bi);var _i=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=xr(Er(p(r),r.update),30),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.getChild("timeTooltip");if(n){var r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}},t}(Wr);_i.prototype.options_={children:[]},_n||sn||_i.prototype.options_.children.push("timeTooltip"),Wr.registerComponent("PlayProgressBar",_i);var wi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=xr(Er(p(r),r.update),30),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,r=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,r,(function(){n.el_.style.left=e.width*t+"px"}))},t}(Wr);wi.prototype.options_={children:["timeTooltip"]},Wr.registerComponent("MouseTimeDisplay",wi);var Ci=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}h(t,e);var n=t.prototype;return n.setEventHandlers_=function(){var e=this;this.update_=Er(this,this.update),this.update=xr(this.update_,30),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in l()&&"visibilityState"in l()&&this.on(l(),"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){"hidden"===l().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))},n.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},n.update=function(t){var n=this;if("hidden"!==l().visibilityState){var r=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,o=n.player_.duration();t&&t.isLive()&&(o=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute("aria-valuenow",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===o||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[si(e,o),si(o,o)],"{1} of {2}")),n.currentTime_=e,n.duration_=o),n.bar&&n.bar.update(zn(n.el()),n.getProgress())})),r}},n.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},n.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},n.getPercent=function(){var e,t=this.getCurrentTime_(),n=this.player_.liveTracker;return n&&n.isLive()?(e=(t-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},n.handleMouseDown=function(t){Qn(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),Qn(e)){var n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);var r=this.calculateDistance(e),o=this.player_.liveTracker;if(o&&o.isLive()){if(r>=.99)return void o.seekToLiveEdge();var i=o.seekableStart(),a=o.liveCurrentTime();if((n=i+r*o.liveWindow())>=a&&(n=a),n<=i&&(n=i+.1),n===1/0)return}else(n=r*this.player_.duration())===this.player_.duration()&&(n-=.1);this.userSeek_(n)}},n.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},n.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},n.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?eo(this.player_.play()):this.update_()},n.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},n.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){var n=this.player_.liveTracker;if(d().isEventKey(t,"Space")||d().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(d().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(d().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(d()(t))){t.preventDefault(),t.stopPropagation();var r=10*(d().codes[d()(t)]-d().codes[0])/100;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*r):this.userSeek_(this.player_.duration()*r)}else d().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):d().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},n.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in l()&&"visibilityState"in l()&&this.off(l(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(gi);Ci.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},_n||sn||Ci.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Wr.registerComponent("SeekBar",Ci);var Si=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=xr(Er(p(r),r.handleMouseMove),30),r.throttledHandleMouseSeek=xr(Er(p(r),r.handleMouseSeek),30),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.handleMouseDownHandler_=function(e){return r.handleMouseDown(e)},r.enable(),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var o=t.el(),i=qn(o),a=Gn(o,e).x;a=mi(a,0,1),r&&r.update(i,a),n&&n.update(i,t.getProgress())}}},n.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},n.enabled=function(){return this.enabled_},n.disable=function(){if(this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&eo(this.player_.play())}},n.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},n.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},n.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(Wr);Si.prototype.options_={children:["seekBar"]},Wr.registerComponent("ProgressControl",Si);var Ei=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],(function(e){return r.handlePictureInPictureChange(e)})),r.on(t,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return r.handlePictureInPictureEnabledChange(e)})),r.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(function(){"audio"===t.currentType().substring(0,5)||t.audioPosterMode()||t.audioOnlyMode()?(t.isInPictureInPicture()&&t.exitPictureInPicture(),r.hide()):r.show()})),r.disable(),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureEnabledChange=function(){l().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(ti);Ei.prototype.controlText_="Picture-in-Picture",Wr.registerComponent("PictureInPictureToggle",Ei);var xi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",(function(e){return r.handleFullscreenChange(e)})),!1===l()[t.fsApi_.fullscreenEnabled]&&r.disable(),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(ti);xi.prototype.controlText_="Fullscreen",Wr.registerComponent("FullscreenToggle",xi);var ki=function(e){function t(){return e.apply(this,arguments)||this}return h(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(Wr);Wr.registerComponent("VolumeLevel",ki);var Oi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=xr(Er(p(r),r.update),30),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n,r){if(!n){var o=zn(this.el_),i=zn(this.player_.el()),a=e.width*t;if(!i||!o)return;var s=e.left-i.left+a,l=e.width-a+(i.right-e.right),c=o.width/2;s<c?c+=c-s:l<c&&(c=l),c<0?c=0:c>o.width&&(c=o.width),this.el_.style.right="-"+c+"px"}this.write(r+"%")},n.write=function(e){Pn(this.el_,e)},n.updateVolume=function(e,t,n,r,o){var i=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){i.update(e,t,n,r.toFixed(0)),o&&o()}))},t}(Wr);Wr.registerComponent("VolumeLevelTooltip",Oi);var Ti=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=xr(Er(p(r),r.update),30),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t,n){var r=this,o=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,o,(function(){n?r.el_.style.bottom=e.height*t+"px":r.el_.style.left=e.width*t+"px"}))},t}(Wr);Ti.prototype.options_={children:["volumeLevelTooltip"]},Wr.registerComponent("MouseVolumeLevelDisplay",Ti);var Ai=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",(function(e){return r.updateLastVolume_(e)})),r.on(t,"volumechange",(function(e){return r.updateARIAAttributes(e)})),t.ready((function(){return r.updateARIAAttributes()})),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){Qn(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var n=this.el(),r=zn(n),o=this.vertical(),i=Gn(n,e);i=o?i.y:i.x,i=mi(i,0,1),t.update(r,i,o)}Qn(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},n.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},n.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},n.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(gi);Ai.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},_n||sn||Ai.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),Ai.prototype.playerEvent="volumechange",Wr.registerComponent("VolumeBar",Ai);var Pi=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||Xt(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(p(r=e.call(this,t,n)||this),t),r.throttledHandleMouseMove=xr(Er(p(r),r.handleMouseMove),30),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r.on("touchstart",(function(e){return r.handleMouseDown(e)})),r.on("mousemove",(function(e){return r.handleMouseMove(e)})),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}h(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(Wr);Pi.prototype.options_={children:["volumeBar"]},Wr.registerComponent("VolumeControl",Pi);var Ri=function(e){function t(t,n){var r;return function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(p(r=e.call(this,t,n)||this),t),r.on(t,["loadstart","volumechange"],(function(e){return r.update(e)})),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;_n&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)Nn(this.el_,"vjs-vol-"+n);Mn(this.el_,"vjs-vol-"+t)},n.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(ti);Ri.prototype.controlText_="Mute",Wr.registerComponent("MuteToggle",Ri);var Ii=function(e){function t(t,n){var r;return void 0===n&&(n={}),void 0!==n.inline?n.inline=n.inline:n.inline=!0,(void 0===n.volumeControl||Xt(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).handleKeyPressHandler_=function(e){return r.handleKeyPress(e)},r.on(t,["loadstart"],(function(e){return r.volumePanelState_(e)})),r.on(r.muteToggle,"keyup",(function(e){return r.handleKeyPress(e)})),r.on(r.volumeControl,"keyup",(function(e){return r.handleVolumeControlKeyUp(e)})),r.on("keydown",(function(e){return r.handleKeyPress(e)})),r.on("mouseover",(function(e){return r.handleMouseOver(e)})),r.on("mouseout",(function(e){return r.handleMouseOut(e)})),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}h(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){d().isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),yr(l(),"keyup",this.handleKeyPressHandler_)},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),vr(l(),"keyup",this.handleKeyPressHandler_)},n.handleKeyPress=function(e){d().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(Wr);Ii.prototype.options_={children:["muteToggle","volumeControl"]},Wr.registerComponent("VolumePanel",Ii);var Mi=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,n&&(r.menuButton_=n.menuButton),r.focusedChild_=-1,r.on("keydown",(function(e){return r.handleKeyDown(e)})),r.boundHandleBlur_=function(e){return r.handleBlur(e)},r.boundHandleTapClick_=function(e){return r.handleTapClick(e)},r}h(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof Wr&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof Wr&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},n.removeChild=function(t){"string"==typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},n.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},n.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=An(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),yr(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},n.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},n.handleBlur=function(e){var t=e.relatedTarget||l().activeElement;if(!this.children().some((function(e){return e.el()===t}))){var n=this.menuButton_;n&&n.buttonPressed_&&t!==n.el().firstChild&&n.unpressButton()}},n.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var n=t.filter((function(t){return t.el()===e.target}))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}},n.handleKeyDown=function(e){d().isEventKey(e,"Left")||d().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(d().isEventKey(e,"Right")||d().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},n.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(Wr);Wr.registerComponent("Menu",Mi);var Ni=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new ti(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var o=ti.prototype.buildCSSClass();r.menuButton_.el_.className=r.buildCSSClass()+" "+o,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0;var i=function(e){return r.handleClick(e)};return r.handleMenuKeyUp_=function(e){return r.handleMenuKeyUp(e)},r.on(r.menuButton_,"tap",i),r.on(r.menuButton_,"click",i),r.on(r.menuButton_,"keydown",(function(e){return r.handleKeyDown(e)})),r.on(r.menuButton_,"mouseenter",(function(){r.addClass("vjs-hover"),r.menu.show(),yr(l(),"keyup",r.handleMenuKeyUp_)})),r.on("mouseleave",(function(e){return r.handleMouseLeave(e)})),r.on("keydown",(function(e){return r.handleSubmenuKeyDown(e)})),r}h(t,e);var n=t.prototype;return n.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},n.createMenu=function(){var e=new Mi(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=An("li",{className:"vjs-menu-title",textContent:Ur(this.options_.title),tabIndex:-1}),n=new Wr(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(var r=0;r<this.items.length;r++)e.addItem(this.items[r]);return e},n.createItems=function(){},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},n.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+ti.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},n.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},n.controlText=function(e,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(e,t)},n.dispose=function(){this.handleMouseLeave(),e.prototype.dispose.call(this)},n.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},n.handleMouseLeave=function(e){this.removeClass("vjs-hover"),vr(l(),"keyup",this.handleMenuKeyUp_)},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){d().isEventKey(e,"Esc")||d().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),d().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(d().isEventKey(e,"Up")||d().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(d().isEventKey(e,"Esc")||d().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(d().isEventKey(e,"Esc")||d().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),d().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))},n.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),_n&&On())return;this.menu.focus()}},n.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},n.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},n.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(Wr);Wr.registerComponent("MenuButton",Ni);var Di=function(e){function t(t,n){var r,o=n.tracks;if((r=e.call(this,t,n)||this).items.length<=1&&r.hide(),!o)return p(r);var i=Er(p(r),r.update);return o.addEventListener("removetrack",i),o.addEventListener("addtrack",i),o.addEventListener("labelchange",i),r.player_.on("ready",i),r.player_.on("dispose",(function(){o.removeEventListener("removetrack",i),o.removeEventListener("addtrack",i),o.removeEventListener("labelchange",i)})),r}return h(t,e),t}(Ni);Wr.registerComponent("TrackButton",Di);var ji=["Tab","Esc","Up","Down","Right","Left"],Li=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}h(t,e);var n=t.prototype;return n.createEl=function(t,n,r){this.nonIconControl=!0;var o=e.prototype.createEl.call(this,"li",$t({className:"vjs-menu-item",tabIndex:-1},n),r);return o.replaceChild(An("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),o.querySelector(".vjs-icon-placeholder")),o},n.handleKeyDown=function(t){ji.some((function(e){return d().isEventKey(t,e)}))||e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){this.selected(!0)},n.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(Zo);Wr.registerComponent("MenuItem",Li);var Bi=function(e){function t(t,n){var r,o=n.track,i=t.textTracks();n.label=o.label||o.language||"Unknown",n.selected="showing"===o.mode,(r=e.call(this,t,n)||this).track=o,r.kinds=(n.kinds||[n.kind||r.track.kind]).filter(Boolean);var s,c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(p(r),t)},u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleSelectedLanguageChange.apply(p(r),t)};(t.on(["loadstart","texttrackchange"],c),i.addEventListener("change",c),i.addEventListener("selectedlanguagechange",u),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],c),i.removeEventListener("change",c),i.removeEventListener("selectedlanguagechange",u)})),void 0===i.onchange)&&r.on(["tap","click"],(function(){if("object"!==Nt(a().Event))try{s=new(a().Event)("change")}catch(e){}s||(s=l().createEvent("Event")).initEvent("change",!0,!0),i.dispatchEvent(s)}));return r.handleTracksChange(),r}h(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var o=0;o<r.length;o++){var i=r[o];-1!==this.kinds.indexOf(i.kind)&&(i===n?"showing"!==i.mode&&(i.mode="showing"):"disabled"!==i.mode&&(i.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Li);Wr.registerComponent("TextTrackMenuItem",Bi);var Fi=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}h(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(this.options_.kinds.indexOf(i.kind)>-1&&"showing"===i.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(["captions","descriptions","subtitles"].indexOf(i.kind)>-1&&"showing"===i.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(Bi);Wr.registerComponent("OffTextTrackMenuItem",Fi);var Ui=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return h(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=Bi),this.label_&&(n=this.label_+" off"),e.push(new Fi(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var o=0;o<r.length;o++){var i=r[o];if(this.kinds_.indexOf(i.kind)>-1){var a=new t(this.player_,{track:i,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+i.kind+"-menu-item"),e.push(a)}}return e},t}(Di);Wr.registerComponent("TextTrackButton",Ui);var Hi=function(e){function t(t,n){var r,o=n.track,i=n.cue,a=t.currentTime();return n.selectable=!0,n.multiSelectable=!1,n.label=i.text,n.selected=i.startTime<=a&&a<i.endTime,(r=e.call(this,t,n)||this).track=o,r.cue=i,r}return h(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime)},t}(Li);Wr.registerComponent("ChaptersTrackMenuItem",Hi);var Vi=function(e){function t(t,n,r){var o;return(o=e.call(this,t,n,r)||this).selectCurrentItem_=function(){o.items.forEach((function(e){e.selected(o.track_.activeCues[0]===e.cue)}))},o}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},n.update=function(t){if(!t||!t.track||"chapters"===t.track.kind){var n=this.findChaptersTrack();n!==this.track_?(this.setTrack(n),e.prototype.update.call(this)):(!this.items||n&&n.cues&&n.cues.length!==this.items.length)&&e.prototype.update.call(this)}},n.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}},n.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},n.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Ur(this.kind_))},n.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},n.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var o=t[n],i=new Hi(this.player_,{track:this.track_,cue:o});e.push(i)}return e},t}(Ui);Vi.prototype.kind_="chapters",Vi.prototype.controlText_="Chapters",Wr.registerComponent("ChaptersButton",Vi);var zi=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=t.textTracks(),a=Er(p(o),o.handleTracksChange);return i.addEventListener("change",a),o.on("dispose",(function(){i.removeEventListener("change",a)})),o}h(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind!==this.kind_&&"showing"===i.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Ui);zi.prototype.kind_="descriptions",zi.prototype.controlText_="Descriptions",Wr.registerComponent("DescriptionsButton",zi);var qi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Ui);qi.prototype.kind_="subtitles",qi.prototype.controlText_="Subtitles",Wr.registerComponent("SubtitlesButton",qi);var Gi=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return h(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(Bi);Wr.registerComponent("CaptionSettingsMenuItem",Gi);var Wi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Gi(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Ui);Wi.prototype.kind_="captions",Wi.prototype.controlText_="Captions",Wr.registerComponent("CaptionsButton",Wi);var Yi=function(e){function t(){return e.apply(this,arguments)||this}return h(t,e),t.prototype.createEl=function(t,n,r){var o=e.prototype.createEl.call(this,t,n,r),i=o.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(i.appendChild(An("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(An("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),o},t}(Bi);Wr.registerComponent("SubsCapsMenuItem",Yi);var Zi=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(Ur(r.label_)),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Gi(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,Yi)},t}(Ui);Zi.prototype.kinds_=["captions","subtitles"],Zi.prototype.controlText_="Subtitles",Wr.registerComponent("SubsCapsButton",Zi);var Ki=function(e){function t(t,n){var r,o=n.track,i=t.audioTracks();n.label=o.label||o.language||"Unknown",n.selected=o.enabled,(r=e.call(this,t,n)||this).track=o,r.addClass("vjs-"+o.kind+"-menu-item");var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(p(r),t)};return i.addEventListener("change",a),r.on("dispose",(function(){i.removeEventListener("change",a)})),r}h(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var o=e.prototype.createEl.call(this,t,n,r),i=o.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(i.appendChild(An("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),i.appendChild(An("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),o},n.handleClick=function(t){if(e.prototype.handleClick.call(this,t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var n=this.player_.audioTracks(),r=0;r<n.length;r++){var o=n[r];o!==this.track&&(o.enabled=o===this.track)}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(Li);Wr.registerComponent("AudioTrackMenuItem",Ki);var $i=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new Ki(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Di);$i.prototype.controlText_="Audio Track",Wr.registerComponent("AudioTrackButton",$i);var Qi=function(e){function t(t,n){var r,o=n.rate,i=parseFloat(o,10);return n.label=o,n.selected=i===t.playbackRate(),n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=o,r.rate=i,r.on(t,"ratechange",(function(e){return r.update(e)})),r}h(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(Li);Qi.prototype.contentElType="button",Wr.registerComponent("PlaybackRateMenuItem",Qi);var Xi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).menuButton_.el_.setAttribute("aria-describedby",r.labelElId_),r.updateVisibility(),r.updateLabel(),r.on(t,"loadstart",(function(e){return r.updateVisibility(e)})),r.on(t,"ratechange",(function(e){return r.updateLabel(e)})),r.on(t,"playbackrateschange",(function(e){return r.handlePlaybackRateschange(e)})),r}h(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=An("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t},n.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){for(var e=this.playbackRates(),t=[],n=e.length-1;n>=0;n--)t.push(new Qi(this.player(),{rate:e[n]+"x"}));return t},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){var t=this.player().playbackRate(),n=this.playbackRates(),r=(n.indexOf(t)+1)%n.length;this.player().playbackRate(n[r])},n.handlePlaybackRateschange=function(e){this.update()},n.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},n.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},n.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(Ni);Xi.prototype.controlText_="Playback Rate",Wr.registerComponent("PlaybackRateMenuButton",Xi);var Ji=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(t,n,r){return void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n.className||(n.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,n,r)},t}(Wr);Wr.registerComponent("Spacer",Ji);var ea=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},t}(Ji);Wr.registerComponent("CustomControlSpacer",ea);var ta=function(e){function t(){return e.apply(this,arguments)||this}return h(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(Wr);ta.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in l()&&ta.prototype.options_.children.splice(ta.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Wr.registerComponent("ControlBar",ta);var na=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",(function(e){return r.open(e)})),r}h(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(oo);na.prototype.options_=c({},oo.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Wr.registerComponent("ErrorDisplay",na);var ra=["#000","Black"],oa=["#00F","Blue"],ia=["#0FF","Cyan"],aa=["#0F0","Green"],sa=["#F0F","Magenta"],la=["#F00","Red"],ca=["#FFF","White"],ua=["#FF0","Yellow"],da=["1","Opaque"],pa=["0.5","Semi-Transparent"],fa=["0","Transparent"],ha={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[ra,ca,la,aa,oa,ua,sa,ia]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[da,pa,fa]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[ca,ra,la,aa,oa,ua,sa,ia]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[da,pa]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[fa,pa,da]}};function ma(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}ha.windowColor.options=ha.backgroundColor.options;var ga=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=r.updateDisplay.bind(p(r)),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=An("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===n.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",(function(){r.saveSettings(),r.close()})),r.on(r.$(".vjs-default-button"),"click",(function(){r.setDefaults(),r.updateDisplay()})),Kt(ha,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}h(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var o=ha[e],i=o.id.replace("%s",this.id_),a=[t,i].join(" ").trim();return["<"+n+' id="'+i+'" class="'+("label"===n?"vjs-label":"")+'">',this.localize(o.label),"</"+n+">",'<select aria-labelledby="'+a+'">'].concat(o.options.map((function(e){var t=i+"-"+e[1].replace(/\W+/g,"");return['<option id="'+t+'" value="'+e[0]+'" ','aria-labelledby="'+a+" "+t+'">',r.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")},n.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},n.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},n.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},n.createElColors_=function(){return An("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return An("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},n.createElControls_=function(){var e=this.localize("restore all settings to the default values");return An("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+e+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+e+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},n.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},n.label=function(){return this.localize("Caption Settings Dialog")},n.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},n.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},n.getValues=function(){var e=this;return function(e,t,n){return void 0===n&&(n=0),Zt(e).reduce((function(n,r){return t(n,e[r],r)}),n)}(ha,(function(t,n,r){var o,i,a=(o=e.$(n.selector),i=n.parser,ma(o.options[o.options.selectedIndex].value,i));return void 0!==a&&(t[r]=a),t}),{})},n.setValues=function(e){var t=this;Kt(ha,(function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(ma(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)}))},n.setDefaults=function(){var e=this;Kt(ha,(function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n}))},n.restoreSettings=function(){var e;try{e=JSON.parse(a().localStorage.getItem("vjs-text-track-settings"))}catch(e){Gt.warn(e)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?a().localStorage.setItem("vjs-text-track-settings",JSON.stringify(e)):a().localStorage.removeItem("vjs-text-track-settings")}catch(e){Gt.warn(e)}}},n.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()},t}(oo);Wr.registerComponent("TextTrackSettings",ga);var ya=function(e){function t(t,n){var r,o=n.ResizeObserver||a().ResizeObserver;null===n.ResizeObserver&&(o=!1);var i=Hr({createEl:!o,reportTouchActivity:!1},n);return(r=e.call(this,t,i)||this).ResizeObserver=n.ResizeObserver||a().ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=function(e,t,n,r){var o;void 0===r&&(r=a());var i=function(){var i=this,a=arguments,s=function(){o=null,s=null,n||e.apply(i,a)};!o&&n&&e.apply(i,a),r.clearTimeout(o),o=r.setTimeout(s,t)};return i.cancel=function(){r.clearTimeout(o),o=null},i}((function(){r.resizeHandler()}),100,!1,p(r)),o?(r.resizeObserver_=new r.ResizeObserver(r.debouncedHandler_),r.resizeObserver_.observe(t.el())):(r.loadListener_=function(){if(r.el_&&r.el_.contentWindow){var e=r.debouncedHandler_,t=r.unloadListener_=function(){vr(this,"resize",e),vr(this,"unload",t),t=null};yr(r.el_.contentWindow,"unload",t),yr(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}h(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})},n.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},n.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,e.prototype.dispose.call(this)},t}(Wr);Wr.registerComponent("ResizeManager",ya);var va={trackingThreshold:20,liveTolerance:15},ba=function(e){function t(t,n){var r,o=Hr(va,n,{createEl:!1});return(r=e.call(this,t,o)||this).handleVisibilityChange_=function(e){return r.handleVisibilityChange(e)},r.trackLiveHandler_=function(){return r.trackLive_()},r.handlePlay_=function(e){return r.handlePlay(e)},r.handleFirstTimeupdate_=function(e){return r.handleFirstTimeupdate(e)},r.handleSeeked_=function(e){return r.handleSeeked(e)},r.seekToLiveEdge_=function(e){return r.seekToLiveEdge(e)},r.reset_(),r.on(r.player_,"durationchange",(function(e){return r.handleDurationchange(e)})),r.on(r.player_,"canplay",(function(){return r.toggleTracking()})),hn&&"hidden"in l()&&"visibilityState"in l()&&r.on(l(),"visibilitychange",r.handleVisibilityChange_),r}h(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(l().hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(a().performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;var r=this.liveCurrentTime(),o=this.player_.currentTime(),i=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-o)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(i=!1),i!==this.behindLiveEdge_&&(this.behindLiveEdge_=i,this.trigger("liveedgechange"))}},n.handleDurationchange=function(){this.toggleTracking()},n.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},n.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,30),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},n.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},n.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},n.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},n.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},n.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},n.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},n.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0},n.seekableStart=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0},n.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},n.isLive=function(){return this.isTracking()},n.atLiveEdge=function(){return!this.behindLiveEdge()},n.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},n.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},n.behindLiveEdge=function(){return this.behindLiveEdge_},n.isTracking=function(){return"number"==typeof this.trackingInterval_},n.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(l(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(Wr);Wr.registerComponent("LiveTracker",ba);var _a,wa=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],o="";if(!n.length)return!1;for(var i=0;i<n.length;i++){var a=n[i].src;a&&-1===r.indexOf(a)&&r.push(a)}return!!r.length&&(1===r.length&&(o=r[0]),e.triggerSourceset(o),!0)},Ca=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=l().createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=l().createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",a().Element.prototype.appendChild.call(this,n),this.innerHTML}}),Sa=function(e,t){for(var n={},r=0;r<e.length&&!((n=Object.getOwnPropertyDescriptor(e[r],t))&&n.set&&n.get);r++);return n.enumerable=!0,n.configurable=!0,n},Ea=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return Sa([e.el(),a().HTMLMediaElement.prototype,a().Element.prototype,Ca],"innerHTML")}(e),o=function(n){return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=n.apply(t,o);return wa(e),a}};["append","appendChild","insertAdjacentHTML"].forEach((function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",Hr(r,{set:o(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach((function(e){t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},xa=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?wo(a().Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return a().Element.prototype.setAttribute.call(this,"src",e),e}}),ka=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return Sa([e.el(),a().HTMLMediaElement.prototype,xa],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Hr(n,{set:function(r){var o=n.set.call(t,r);return e.triggerSourceset(t.src),o}})),t.setAttribute=function(n,o){var i=r.call(t,n,o);return/src/i.test(n)&&e.triggerSourceset(t.src),i},t.load=function(){var n=o.call(t);return wa(e)||(e.triggerSourceset(""),Ea(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):wa(e)||Ea(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Oa=function(e,t,n,r){void 0===r&&(r=!0);var o=function(n){return Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0})},i={configurable:!0,enumerable:!0,get:function(){var e=n();return o(e),e}};return r&&(i.set=o),Object.defineProperty(e,t,i)},Ta=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=t.source,i=!1;if(r.featuresVideoFrameCallback=r.featuresVideoFrameCallback&&"VIDEO"===r.el_.tagName,o&&(r.el_.currentSrc!==o.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(o):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),r.isScrubbing_=!1,r.el_.hasChildNodes()){for(var a=r.el_.childNodes,s=a.length,l=[];s--;){var c=a[s];"track"===c.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(c),r.remoteTextTracks().addTrack(c.track),r.textTracks().addTrack(c.track),i||r.el_.hasAttribute("crossorigin")||!So(c.src)||(i=!0)):l.push(c))}for(var u=0;u<l.length;u++)r.el_.removeChild(l[u])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&i&&Gt.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),r.restoreMetadataTracksInIOSNativePlayer_(),(yn||bn||cn)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}h(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){ka(this)},n.restoreMetadataTracksInIOSNativePlayer_=function(){var e,t=this.textTracks(),n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",(function(){return t.removeEventListener("change",n)}));var r=function n(){for(var r=0;r<e.length;r++){var o=e[r];"disabled"===o.track.mode&&o.track.mode!==o.storedMode&&(o.track.mode=o.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)})),this.on("webkitendfullscreen",(function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)}))},n.overrideNative_=function(e,t){var n=this;if(t===this["featuresNative"+e+"Tracks"]){var r=e.toLowerCase();this[r+"TracksListeners_"]&&Object.keys(this[r+"TracksListeners_"]).forEach((function(e){n.el()[r+"Tracks"].removeEventListener(e,n[r+"TracksListeners_"][e])})),this["featuresNative"+e+"Tracks"]=!t,this[r+"TracksListeners_"]=null,this.proxyNativeTracksForType_(r)}},n.overrideNativeAudioTracks=function(e){this.overrideNative_("Audio",e)},n.overrideNativeVideoTracks=function(e){this.overrideNative_("Video",e)},n.proxyNativeTracksForType_=function(e){var t=this,n=Ro[e],r=this.el()[n.getterName],o=this[n.getterName]();if(this["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var i={change:function(n){var r={type:"change",target:o,currentTarget:o,srcElement:o};o.trigger(r),"text"===e&&t[Io.remoteText.getterName]().trigger(r)},addtrack:function(e){o.addTrack(e.track)},removetrack:function(e){o.removeTrack(e.track)}},a=function(){for(var e=[],t=0;t<o.length;t++){for(var n=!1,i=0;i<r.length;i++)if(r[i]===o[t]){n=!0;break}n||e.push(o[t])}for(;e.length;)o.removeTrack(e.shift())};this[n.getterName+"Listeners_"]=i,Object.keys(i).forEach((function(e){var n=i[e];r.addEventListener(e,n),t.on("dispose",(function(t){return r.removeEventListener(e,n)}))})),this.on("loadstart",a),this.on("dispose",(function(e){return t.off("loadstart",a)}))}},n.proxyNativeTracks_=function(){var e=this;Ro.names.forEach((function(t){e.proxyNativeTracksForType_(t)}))},n.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=l().createElement("video");var r=Hr({},this.options_.tag&&Ln(this.options_.tag));yn&&!0===this.options_.nativeControlsForTouch||delete r.controls,jn(e,$t(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&Fn(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);for(var o=["loop","muted","playsinline","autoplay"],i=0;i<o.length;i++){var a=o[i],s=this.options_[a];void 0!==s&&(s?Fn(e,a,a):Un(e,a),e[a]=s)}return e},n.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready((function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")}))}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready((function(){o.forEach((function(e){this.trigger(e)}),this)}))}},n.setScrubbing=function(e){this.isScrubbing_=e},n.scrubbing=function(){return this.isScrubbing_},n.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&wn?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){Gt(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&sn&&pn&&0===this.el_.currentTime){return this.on("timeupdate",(function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))})),NaN}return this.el_.duration||NaN},n.width=function(){return this.el_.offsetWidth},n.height=function(){return this.el_.offsetHeight},n.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",(function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)}))}},n.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=a().navigator&&a().navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},n.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)eo(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}},n.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},n.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},n.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):e.prototype.requestVideoFrameCallback.call(this,t)},n.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):e.prototype.cancelVideoFrameCallback.call(this,t)},n.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},n.reset=function(){t.resetMediaElement(this.el_)},n.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},n.setControls=function(e){this.el_.controls=!!e},n.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},n.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=l().createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},n.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},n.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},n.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),a().performance&&"function"==typeof a().performance.now?e.creationTime=a().performance.now():a().performance&&a().performance.timing&&"number"==typeof a().performance.timing.navigationStart&&(e.creationTime=a().Date.now()-a().performance.timing.navigationStart),e},t}(No);Oa(Ta,"TEST_VID",(function(){if(xn()){var e=l().createElement("video"),t=l().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}})),Ta.isSupported=function(){try{Ta.TEST_VID.volume=.5}catch(e){return!1}return!(!Ta.TEST_VID||!Ta.TEST_VID.canPlayType)},Ta.canPlayType=function(e){return Ta.TEST_VID.canPlayType(e)},Ta.canPlaySource=function(e,t){return Ta.canPlayType(e.type)},Ta.canControlVolume=function(){try{var e=Ta.TEST_VID.volume;Ta.TEST_VID.volume=e/2+.1;var t=e!==Ta.TEST_VID.volume;return t&&_n?(a().setTimeout((function(){Ta&&Ta.prototype&&(Ta.prototype.featuresVolumeControl=e!==Ta.TEST_VID.volume)})),!1):t}catch(e){return!1}},Ta.canMuteVolume=function(){try{var e=Ta.TEST_VID.muted;return Ta.TEST_VID.muted=!e,Ta.TEST_VID.muted?Fn(Ta.TEST_VID,"muted","muted"):Un(Ta.TEST_VID,"muted"),e!==Ta.TEST_VID.muted}catch(e){return!1}},Ta.canControlPlaybackRate=function(){if(sn&&pn&&fn<58)return!1;try{var e=Ta.TEST_VID.playbackRate;return Ta.TEST_VID.playbackRate=e/2+.1,e!==Ta.TEST_VID.playbackRate}catch(e){return!1}},Ta.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(l().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(l().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(l().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(l().createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},Ta.supportsNativeTextTracks=function(){return wn||_n&&pn},Ta.supportsNativeVideoTracks=function(){return!(!Ta.TEST_VID||!Ta.TEST_VID.videoTracks)},Ta.supportsNativeAudioTracks=function(){return!(!Ta.TEST_VID||!Ta.TEST_VID.audioTracks)},Ta.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],n=e[1];Oa(Ta.prototype,t,(function(){return Ta[n]()}),!0)})),Ta.prototype.featuresVolumeControl=Ta.canControlVolume(),Ta.prototype.movingMediaElementInDOM=!_n,Ta.prototype.featuresFullscreenResize=!0,Ta.prototype.featuresProgressEvents=!0,Ta.prototype.featuresTimeupdateEvents=!0,Ta.prototype.featuresVideoFrameCallback=!(!Ta.TEST_VID||!Ta.TEST_VID.requestVideoFrameCallback),Ta.patchCanPlayType=function(){ln>=4&&!un&&!pn&&(_a=Ta.TEST_VID&&Ta.TEST_VID.constructor.prototype.canPlayType,Ta.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":_a.call(this,e)})},Ta.unpatchCanPlayType=function(){var e=Ta.TEST_VID.constructor.prototype.canPlayType;return _a&&(Ta.TEST_VID.constructor.prototype.canPlayType=_a),e},Ta.patchCanPlayType(),Ta.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},Ta.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){Ta.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){Ta.prototype["set"+Ur(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){Ta.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){Ta.prototype["set"+Ur(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){Ta.prototype[e]=function(){return this.el_[e]()}})),No.withSourceHandlers(Ta),Ta.nativeSourceHandler={},Ta.nativeSourceHandler.canPlayType=function(e){try{return Ta.TEST_VID.canPlayType(e)}catch(e){return""}},Ta.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Ta.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=Co(e.src);return Ta.nativeSourceHandler.canPlayType("video/"+n)}return""},Ta.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},Ta.nativeSourceHandler.dispose=function(){},Ta.registerSourceHandler(Ta.nativeSourceHandler),No.registerTech("Html5",Ta);var Aa=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Pa={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Ra=["tiny","xsmall","small","medium","large","xlarge","huge"],Ia={};Ra.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Ia[e]="vjs-layout-"+t}));var Ma={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Na=function(e){function t(n,r,o){var i;if(n.id=n.id||r.id||"vjs_video_"+ur(),(r=$t(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var a=n.closest("[lang]");a&&a.getAttribute&&(r.language=a.getAttribute("lang"))}else for(var s=n;s&&1===s.nodeType;){if(Ln(s).hasOwnProperty("lang")){r.language=s.getAttribute("lang");break}s=s.parentNode}if((i=e.call(this,null,r,o)||this).boundDocumentFullscreenChange_=function(e){return i.documentFullscreenChange_(e)},i.boundFullWindowOnEscKey_=function(e){return i.fullWindowOnEscKey(e)},i.boundUpdateStyleEl_=function(e){return i.updateStyleEl_(e)},i.boundApplyInitTime_=function(e){return i.applyInitTime_(e)},i.boundUpdateCurrentBreakpoint_=function(e){return i.updateCurrentBreakpoint_(e)},i.boundHandleTechClick_=function(e){return i.handleTechClick_(e)},i.boundHandleTechDoubleClick_=function(e){return i.handleTechDoubleClick_(e)},i.boundHandleTechTouchStart_=function(e){return i.handleTechTouchStart_(e)},i.boundHandleTechTouchMove_=function(e){return i.handleTechTouchMove_(e)},i.boundHandleTechTouchEnd_=function(e){return i.handleTechTouchEnd_(e)},i.boundHandleTechTap_=function(e){return i.handleTechTap_(e)},i.isFullscreen_=!1,i.log=Wt(i.id_),i.fsApi_=Ft,i.isPosterFromTech_=!1,i.queuedCallbacks_=[],i.isReady_=!1,i.hasStarted_=!1,i.userActive_=!1,i.debugEnabled_=!1,i.audioOnlyMode_=!1,i.audioPosterMode_=!1,i.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!i.options_||!i.options_.techOrder||!i.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(i.tag=n,i.tagAttributes=n&&Ln(n),i.language(i.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach((function(e){c[e.toLowerCase()]=r.languages[e]})),i.languages_=c}else i.languages_=t.prototype.options_.languages;i.resetCache_(),i.poster_=r.poster||"",i.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),i.changingSrc_=!1,i.playCallbacks_=[],i.playTerminatedQueue_=[],n.hasAttribute("autoplay")?i.autoplay(!0):i.autoplay(i.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach((function(e){if("function"!=typeof i[e])throw new Error('plugin "'+e+'" does not exist')})),i.scrubbing_=!1,i.el_=i.createEl(),jr(p(i),{eventBusKey:"el_"}),i.fsApi_.requestFullscreen&&(yr(l(),i.fsApi_.fullscreenchange,i.boundDocumentFullscreenChange_),i.on(i.fsApi_.fullscreenchange,i.boundDocumentFullscreenChange_)),i.fluid_&&i.on(["playerreset","resize"],i.boundUpdateStyleEl_);var u=Hr(i.options_);r.plugins&&Object.keys(r.plugins).forEach((function(e){i[e](r.plugins[e])})),r.debug&&i.debug(!0),i.options_.playerOptions=u,i.middleware_=[],i.playbackRates(r.playbackRates),i.initChildren(),i.isAudio("audio"===n.nodeName.toLowerCase()),i.controls()?i.addClass("vjs-controls-enabled"):i.addClass("vjs-controls-disabled"),i.el_.setAttribute("role","region"),i.isAudio()?i.el_.setAttribute("aria-label",i.localize("Audio Player")):i.el_.setAttribute("aria-label",i.localize("Video Player")),i.isAudio()&&i.addClass("vjs-audio"),i.flexNotSupported_()&&i.addClass("vjs-no-flex"),yn&&i.addClass("vjs-touch-enabled"),_n||i.addClass("vjs-workinghover"),t.players[i.id_]=p(i);var d="7.21.6".split(".")[0];return i.addClass("vjs-v"+d),i.userActive(!0),i.reportUserActivity(),i.one("play",(function(e){return i.listenForUserActivity_(e)})),i.on("stageclick",(function(e){return i.handleStageClick_(e)})),i.on("keydown",(function(e){return i.handleKeyDown(e)})),i.on("languagechange",(function(e){return i.handleLanguagechange(e)})),i.breakpoints(i.options_.breakpoints),i.responsive(i.options_.responsive),i.on("ready",(function(){i.audioPosterMode(i.options_.audioPosterMode),i.audioOnlyMode(i.options_.audioOnlyMode)})),i}h(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),vr(l(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),vr(l(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),jo[this.id()]=null,Mo.names.forEach((function(e){var t=Mo[e],r=n[t.getterName]();r&&r.off&&r.off()})),e.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},n.createEl=function(){var t,n=this.tag,r=this.playerElIngest_=n.parentNode&&n.parentNode.hasAttribute&&n.parentNode.hasAttribute("data-vjs-player"),o="video-js"===this.tag.tagName.toLowerCase();r?t=this.el_=n.parentNode:o||(t=this.el_=e.prototype.createEl.call(this,"div"));var i=Ln(n);if(o){for(t=this.el_=n,n=this.tag=l().createElement("video");t.children.length;)n.appendChild(t.firstChild);In(t,"video-js")||Mn(t,"video-js"),t.appendChild(n),r=this.playerElIngest_=t,Object.keys(t).forEach((function(e){try{n[e]=t[e]}catch(e){}}))}if(n.setAttribute("tabindex","-1"),i.tabindex="-1",(hn||pn&&gn)&&(n.setAttribute("role","application"),i.role="application"),n.removeAttribute("width"),n.removeAttribute("height"),"width"in i&&delete i.width,"height"in i&&delete i.height,Object.getOwnPropertyNames(i).forEach((function(e){o&&"class"===e||t.setAttribute(e,i[e]),o&&n.setAttribute(e,i[e])})),n.playerId=n.id,n.id+="_html5_api",n.className="vjs-tech",n.player=t.player=this,this.addClass("vjs-paused"),!0!==a().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=sr("vjs-styles-dimensions");var s=Jn(".vjs-styles-defaults"),c=Jn("head");c.insertBefore(this.styleEl_,s?s.nextSibling:c.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var u=n.getElementsByTagName("a"),d=0;d<u.length;d++){var p=u.item(d);Mn(p,"vjs-hidden"),p.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),Rn(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):Gt.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+e+'"')},n.width=function(e){return this.dimension("width",e)},n.height=function(e){return this.dimension("height",e)},n.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?Gt.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){var t,n,r=this;if(void 0===e)return!!this.fluid_;this.fluid_=!!e,Tr(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=function(){r.on(["playerreset","resize"],r.boundUpdateStyleEl_)},Tr(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},n.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},n.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},n.updateStyleEl_=function(){if(!0!==a().VIDEOJS_NO_DYNAMIC_STYLE){var e,t,n,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*o,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),lr(this.styleEl_,"\n      ."+n+" {\n        width: "+e+"px;\n        height: "+t+"px;\n      }\n\n      ."+n+".vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: "+100*o+"%;\n      }\n    ")}else{var i="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(i>=0&&(l.width=i),s>=0&&(l.height=s))}},n.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=Ur(e),o=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(No.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var i=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(i=!1);var a={source:t,autoplay:i,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+o+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};Mo.names.forEach((function(e){var t=Mo[e];a[t.getterName]=n[t.privateName]})),$t(a,this.options_[r]),$t(a,this.options_[o]),$t(a,this.options_[e.toLowerCase()]),this.tag&&(a.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(a.startTime=this.cache_.currentTime);var s=No.getTech(e);if(!s)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new s(a),this.tech_.ready(Er(this,this.handleTechReady_),!0),ro(this.textTracksJson_||[],this.tech_),Aa.forEach((function(e){n.on(n.tech_,e,(function(t){return n["handleTech"+Ur(e)+"_"](t)}))})),Object.keys(Pa).forEach((function(e){n.on(n.tech_,e,(function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+Pa[e]+"_"].bind(n),event:t}):n["handleTech"+Pa[e]+"_"](t)}))})),this.on(this.tech_,"loadstart",(function(e){return n.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return n.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return n.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return n.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return n.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return n.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return n.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return n.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return n.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,t){return n.handleTechFullscreenChange_(e,t)})),this.on(this.tech_,"fullscreenerror",(function(e,t){return n.handleTechFullscreenError_(e,t)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return n.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return n.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return n.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return n.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return n.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return n.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||Rn(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Mo.names.forEach((function(t){var n=Mo[t];e[n.privateName]=e[n.getterName]()})),this.textTracksJson_=no(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},n.tech=function(e){return void 0===e&&Gt.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},n.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},n.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},n.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},n.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"==typeof e){var n,r=function(){var e=t.muted();t.muted(!0);var n=function(){t.muted(e)};t.playTerminatedQueue_.push(n);var r=t.play();if(Jr(r))return r.catch((function(e){throw n(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))}))};if("any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():r():Jr(n=this.play())&&(n=n.catch(r)),Jr(n))return n.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(){t.trigger({type:"autoplay-failure",autoplay:e})}))}},n.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(e){return e.src===t}));if(n.length)return n[0].type;for(var r=e.$$("source"),o=0;o<r.length;o++){var i=r[o];if(i.type&&i.src&&i.src===t)return i.type}return Go(t)}(this,t)),this.cache_.source=Hr({},e,{src:t,type:n});for(var r=this.cache_.sources.filter((function(e){return e.src&&e.src===t})),o=[],i=this.$$("source"),a=[],s=0;s<i.length;s++){var l=Ln(i[s]);o.push(l),l.src&&l.src===t&&a.push(l.src)}a.length&&!r.length?this.cache_.sources=o:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},n.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,o=e.src;r&&!/^blob:/.test(r)&&/^blob:/.test(o)&&(!this.lastSource_||this.lastSource_.tech!==o&&this.lastSource_.player!==r)&&(n=function(){}),n(o),e.src||this.tech_.any(["sourceset","loadstart"],(function(e){if("sourceset"!==e.type){var n=t.techGet("currentSrc");t.lastSource_.tech=n,t.updateSourceCaches_(n)}}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},n.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},n.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},n.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(e){return e.callback(e.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},n.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",(function n(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",n))}))},n.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},n.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},n.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},n.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},n.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},n.handleTechFirstPlay_=function(){this.options_.starttime&&(Gt.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},n.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},n.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},n.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},n.handleTechClick_=function(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?eo(this.play()):this.pause()))},n.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(t){return t.contains(e.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},n.handleTechTap_=function(){this.userActive(!this.userActive())},n.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},n.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},n.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},n.handleStageClick_=function(){this.reportUserActivity()},n.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},n.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var n=this.el(),r=l()[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}},n.handleTechFullscreenChange_=function(e,t){var n=this;t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){n.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))},n.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},n.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},n.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},n.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},n.handleTechError_=function(){var e=this.tech_.error();this.error(e)},n.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},n.getCache=function(){return this.cache_},n.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},n.techCall_=function(e,t){this.ready((function(){if(e in Ho)return function(e,t,n,r){return t[n](e.reduce(zo(n),r))}(this.middleware_,this.tech_,e,t);if(e in Vo)return Fo(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw Gt(e),e}}),!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Uo)return function(e,t,n){return e.reduceRight(zo(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Vo)return Fo(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw Gt("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw Gt("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw Gt(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||a().Promise;return t?new t((function(t){e.play_(t)})):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=eo),this.playCallbacks_.push(e);var n=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc())),r=Boolean(wn||_n);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(!n&&r&&this.load());var o=this.techGet_("play");r&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),null===o?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(o)},n.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))},n.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))},n.pause=function(){this.techCall_("pause")},n.paused=function(){return!1!==this.techGet_("paused")},n.played=function(){return this.techGet_("played")||Kr(0,0)},n.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},n.currentTime=function(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},n.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},n.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},n.remainingTime=function(){return this.duration()-this.currentTime()},n.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},n.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=Kr(0,0)),e},n.bufferedPercent=function(){return $r(this.buffered(),this.duration())},n.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},n.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},n.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},n.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},n.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},n.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},n.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},n.requestFullscreen=function(e){var t=this.options_.Promise||a().Promise;if(t){var n=this;return new t((function(t,r){function o(){n.off("fullscreenerror",a),n.off("fullscreenchange",i)}function i(){o(),t()}function a(e,t){o(),r(t)}n.one("fullscreenchange",i),n.one("fullscreenerror",a);var s=n.requestFullscreenHelper_(e);s&&(s.then(o,o),s.then(t,r))}))}return this.requestFullscreenHelper_()},n.requestFullscreenHelper_=function(e){var t,n=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var r=this.el_[this.fsApi_.requestFullscreen](t);return r&&r.then((function(){return n.isFullscreen(!0)}),(function(){return n.isFullscreen(!1)})),r}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},n.exitFullscreen=function(){var e=this.options_.Promise||a().Promise;if(e){var t=this;return new e((function(e,n){function r(){t.off("fullscreenerror",i),t.off("fullscreenchange",o)}function o(){r(),e()}function i(e,t){r(),n(t)}t.one("fullscreenchange",o),t.one("fullscreenerror",i);var a=t.exitFullscreenHelper_();a&&(a.then(r,r),a.then(e,n))}))}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=l()[this.fsApi_.exitFullscreen]();return t&&eo(t.then((function(){return e.isFullscreen(!1)}))),t}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=l().documentElement.style.overflow,yr(l(),"keydown",this.boundFullWindowOnEscKey_),l().documentElement.style.overflow="hidden",Mn(l().body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){d().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,vr(l(),"keydown",this.boundFullWindowOnEscKey_),l().documentElement.style.overflow=this.docOrigOverflow,Nn(l().body,"vjs-full-window"),this.trigger("exitFullWindow")},n.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in l()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in l())return l().exitPictureInPicture()},n.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}},n.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},n=t.fullscreenKey,r=void 0===n?function(e){return d().isEventKey(e,"f")}:n,o=t.muteKey,i=void 0===o?function(e){return d().isEventKey(e,"m")}:o,a=t.playPauseKey,s=void 0===a?function(e){return d().isEventKey(e,"k")||d().isEventKey(e,"Space")}:a;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var c=Wr.getComponent("FullscreenToggle");!1!==l()[this.fsApi_.fullscreenEnabled]&&c.prototype.handleClick.call(this,e)}else if(i.call(this,e)){e.preventDefault(),e.stopPropagation(),Wr.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(s.call(this,e)){e.preventDefault(),e.stopPropagation(),Wr.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},n.canPlayType=function(e){for(var t,n=0,r=this.options_.techOrder;n<r.length;n++){var o=r[n],i=No.getTech(o);if(i||(i=Wr.getComponent(o)),i){if(i.isSupported()&&(t=i.canPlayType(e)))return t}else Gt.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},n.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map((function(e){return[e,No.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(Gt.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),o=function(e,t,n){var r;return e.some((function(e){return t.some((function(t){if(r=n(e,t))return!0}))})),r},i=function(e,t){var r=e[0];if(e[1].canPlaySource(t,n.options_[r.toLowerCase()]))return{source:t,tech:r}};return(this.options_.sourceOrder?o(e,r,(t=i,function(e,n){return t(n,e)})):o(r,e,i))||!1},n.handleSrc_=function(e,t){var n=this;if(void 0===e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var r=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):Qt(t)&&n.push(t)})),t=n}else t="string"==typeof t&&t.trim()?[Wo({src:t})]:Qt(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Wo(t)]:[];return t}(e);if(r.length){if(this.changingSrc_=!0,t||(this.cache_.sources=r),this.updateSourceCaches_(r[0]),Bo(this,r[0],(function(e,o){var i,a;if(n.middleware_=o,t||(n.cache_.sources=r),n.updateSourceCaches_(e),n.src_(e))return r.length>1?n.handleSrc_(r.slice(1)):(n.changingSrc_=!1,n.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void n.triggerReady());i=o,a=n.tech_,i.forEach((function(e){return e.setTech&&e.setTech(a)}))})),this.options_.retryOnError&&r.length>1){var o=function(){n.error(null),n.handleSrc_(r.slice(1),!0)},i=function(){n.off("error",o)};this.one("error",o),this.one("playing",i),this.resetRetryOnError_=function(){n.off("error",o),n.off("playing",i)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)},n.src=function(e){return this.handleSrc_(e,!1)},n.src_=function(e){var t,n,r=this,o=this.selectSource([e]);return!o||(t=o.tech,n=this.techName_,Ur(t)!==Ur(n)?(this.changingSrc_=!0,this.loadTech_(o.tech,o.source),this.tech_.ready((function(){r.changingSrc_=!1})),!1):(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1))},n.load=function(){this.techCall_("load")},n.reset=function(){var e=this,t=this.options_.Promise||a().Promise;this.paused()||!t?this.doReset_():eo(this.play().then((function(){return e.doReset_()})))},n.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),Tr(this)&&this.trigger("playerreset")},n.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},n.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar||{},t=e.durationDisplay,n=e.remainingTimeDisplay;t&&t.updateContent(),n&&n.updateContent()},n.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},n.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},n.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},n.currentSource=function(){return this.cache_.source||{}},n.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},n.currentType=function(){return this.currentSource()&&this.currentSource().type||""},n.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},n.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},n.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},n.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},n.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},n.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},n.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},n.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},n.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(Lt("beforeerror").forEach((function(n){var r=n(t,e);Qt(r)&&!Array.isArray(r)||"string"==typeof r||"number"==typeof r||null===r?e=r:t.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){var n=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),void this.one("loadstart",(function(){this.off(["click","touchstart"],n)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Qr(e),this.addClass("vjs-error"),Gt.error("(CODE:"+this.error_.code+" "+Qr.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),Lt("error").forEach((function(e){return e(t,t.error_)}))},n.reportUserActivity=function(e){this.userActivity_=!0},n.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},n.listenForUserActivity_=function(){var e,t,n,r=Er(this,this.reportUserActivity),o=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",o),this.on("mouseleave",o);var i,a=this.getChild("controlBar");!a||_n||sn||(a.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),a.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(i);var e=this.options_.inactivityTimeout;e<=0||(i=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}}),250)},n.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},n.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},n.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},n.enableAudioOnlyUI_=function(){var e=this;this.addClass("vjs-audio-only-mode");var t=this.children(),n=this.getChild("ControlBar"),r=n&&n.currentHeight();t.forEach((function(t){t!==n&&t.el_&&!t.hasClass("vjs-hidden")&&(t.hide(),e.audioOnlyCache_.hiddenChildren.push(t))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(r),this.trigger("audioonlymodechange")},n.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((function(e){return e.show()})),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},n.audioOnlyMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=e;var n=this.options_.Promise||a().Promise;if(n){if(e){var r=[];return this.isInPictureInPicture()&&r.push(this.exitPictureInPicture()),this.isFullscreen()&&r.push(this.exitFullscreen()),this.audioPosterMode()&&r.push(this.audioPosterMode(!1)),n.all(r).then((function(){return t.enableAudioOnlyUI_()}))}return n.resolve().then((function(){return t.disableAudioOnlyUI_()}))}e?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},n.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.audioPosterMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=e;var n=this.options_.Promise||a().Promise;return n?e?this.audioOnlyMode()?this.audioOnlyMode(!1).then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.disablePosterModeUI_()})):e?(this.audioOnlyMode()&&this.audioOnlyMode(!1),void this.enablePosterModeUI_()):void this.disablePosterModeUI_()},n.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},n.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},n.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},n.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},n.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},n.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},n.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),Tr(this)&&this.trigger("languagechange"))},n.languages=function(){return Hr(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=Hr(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=Hr(r)).player=void 0,e.tracks[n]=r}return e},n.createModal=function(e,t){var n=this;(t=t||{}).content=e||"";var r=new oo(this,t);return this.addChild(r),r.on("dispose",(function(){n.removeChild(r)})),r.open(),r},n.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),n=0;n<Ra.length;n++){var r=Ra[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Ia[e]),this.addClass(Ia[r]),this.breakpoint_=r;break}}},n.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},n.breakpoints=function(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=$t({},Ma,e),this.updateCurrentBreakpoint_()),$t(this.breakpoints_)},n.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return Ia[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"===Nt(e)){this.reset(),this.cache_.media=Hr(e);var r=this.cache_.media,o=r.artwork,i=r.poster,a=r.src,s=r.textTracks;!o&&i&&(this.cache_.media.artwork=[{src:i,type:Go(i)}]),a&&this.src(a),i&&this.poster(i),Array.isArray(s)&&s.forEach((function(e){return n.addRemoteTextTrack(e,!1)})),this.ready(t)}},n.getMedia=function(){if(!this.cache_.media){var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}}))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:Go(t.poster)}]),t}return Hr(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=Ln(e),r=n["data-setup"];if(In(e,"vjs-fill")&&(n.fill=!0),In(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=g()(r||"{}"),i=o[0],a=o[1];i&&Gt.error(i),$t(n,a)}if($t(t,n),e.hasChildNodes())for(var s=e.childNodes,l=0,c=s.length;l<c;l++){var u=s[l],d=u.nodeName.toLowerCase();"source"===d?t.sources.push(Ln(u)):"track"===d&&t.tracks.push(Ln(u))}return t},n.flexNotSupported_=function(){var e=l().createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},n.debug=function(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},n.playbackRates=function(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((function(e){return"number"==typeof e}))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))},t}(Wr);Mo.names.forEach((function(e){var t=Mo[e];Na.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),Na.prototype.crossorigin=Na.prototype.crossOrigin,Na.players={};var Da=a().navigator;Na.prototype.options_={techOrder:No.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Da&&(Da.languages&&Da.languages[0]||Da.userLanguage||Da.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){Na.prototype[e]=function(){return this.techGet_(e)}})),Aa.forEach((function(e){Na.prototype["handleTech"+Ur(e)+"_"]=function(){return this.trigger(e)}})),Wr.registerComponent("Player",Na);var ja={},La=function(e){return ja.hasOwnProperty(e)},Ba=function(e){return La(e)?ja[e]:void 0},Fa=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},Ua=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},Ha=function(e,t){return t.prototype.name=e,function(){Ua(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=C(t,[this].concat(r));return this[e]=function(){return i},Ua(this,i.getEventHash()),i}},Va=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),jr(this),delete this.trigger,Br(this,this.constructor.defaultState),Fa(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}var t=e.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(e){return void 0===e&&(e={}),e.name=this.name,e.plugin=this.constructor,e.instance=this,e},t.trigger=function(e,t){return void 0===t&&(t={}),br(this.eventBusEl_,e,this.getEventHash(t))},t.handleStateChanged=function(e){},t.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=Ha(e,ja[e])},e.isBasic=function(t){var n="string"==typeof t?Ba(t):t;return"function"==typeof n&&!e.prototype.isPrototypeOf(n.prototype)},e.registerPlugin=function(t,n){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+Nt(t)+".");if(La(t))Gt.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Na.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+Nt(n)+".");return ja[t]=n,"plugin"!==t&&(e.isBasic(n)?Na.prototype[t]=function(e,t){var n=function(){Ua(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return Fa(this,e),Ua(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(t,n):Na.prototype[t]=Ha(t,n)),n},e.deregisterPlugin=function(e){if("plugin"===e)throw new Error("Cannot de-register base plugin.");La(e)&&(delete ja[e],delete Na.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(ja)),e.forEach((function(e){var n=Ba(e);n&&((t=t||{})[e]=n)})),t},e.getPluginVersion=function(e){var t=Ba(e);return t&&t.VERSION||""},e}();Va.getPlugin=Ba,Va.BASE_PLUGIN_NAME="plugin",Va.registerPlugin("plugin",Va),Na.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Na.prototype.hasPlugin=function(e){return!!La(e)};var za=!1,qa=function(e){return 0===e.indexOf("#")?e.slice(1):e};function Ga(e,t,n){var r=Ga.getPlayer(e);if(r)return t&&Gt.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var o="string"==typeof e?Jn("#"+qa(e)):e;if(!kn(o))throw new TypeError("The element or ID supplied is not valid. (videojs)");o.ownerDocument.defaultView&&o.ownerDocument.body.contains(o)||Gt.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(o.parentNode&&o.parentNode.hasAttribute("data-vjs-player")?o.parentNode:o).cloneNode(!0)),Lt("beforesetup").forEach((function(e){var n=e(o,Hr(t));Qt(n)&&!Array.isArray(n)?t=Hr(t,n):Gt.error("please return an object in beforesetup hooks")}));var i=Wr.getComponent("Player");return r=new i(o,t,n),Lt("setup").forEach((function(e){return e(r)})),r}if(Ga.hooks_=jt,Ga.hooks=Lt,Ga.hook=function(e,t){Lt(e,t)},Ga.hookOnce=function(e,t){Lt(e,[].concat(t).map((function(t){return function n(){return Bt(e,n),t.apply(void 0,arguments)}})))},Ga.removeHook=Bt,!0!==a().VIDEOJS_NO_DYNAMIC_STYLE&&xn()){var Wa=Jn(".vjs-styles-defaults");if(!Wa){Wa=sr("vjs-styles-defaults");var Ya=Jn("head");Ya&&Ya.insertBefore(Wa,Ya.firstChild),lr(Wa,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}or(1,Ga),Ga.VERSION="7.21.6",Ga.options=Na.prototype.options_,Ga.getPlayers=function(){return Na.players},Ga.getPlayer=function(e){var t,n=Na.players;if("string"==typeof e){var r=qa(e),o=n[r];if(o)return o;t=Jn("#"+r)}else t=e;if(kn(t)){var i=t,a=i.player,s=i.playerId;if(a||n[s])return a||n[s]}},Ga.getAllPlayers=function(){return Object.keys(Na.players).map((function(e){return Na.players[e]})).filter(Boolean)},Ga.players=Na.players,Ga.getComponent=Wr.getComponent,Ga.registerComponent=function(e,t){No.isTech(t)&&Gt.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Wr.registerComponent.call(Wr,e,t)},Ga.getTech=No.getTech,Ga.registerTech=No.registerTech,Ga.use=function(e,t){Do[e]=Do[e]||[],Do[e].push(t)},Object.defineProperty(Ga,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Ga.middleware,"TERMINATOR",{value:Lo,writeable:!1,enumerable:!0}),Ga.browser=Cn,Ga.TOUCH_ENABLED=yn,Ga.extend=function(e,t){void 0===t&&(t={}),za||(Gt.warn("videojs.extend is deprecated as of Video.js 7.22.0 and will be removed in Video.js 8.0.0"),za=!0);var n=function(){e.apply(this,arguments)},r={};for(var o in"object"===Nt(t)?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),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&&f(e,t)}(n,e),e&&(n.super_=e),r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n},Ga.mergeOptions=Hr,Ga.bind=Er,Ga.registerPlugin=Va.registerPlugin,Ga.deregisterPlugin=Va.deregisterPlugin,Ga.plugin=function(e,t){return Gt.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Va.registerPlugin(e,t)},Ga.getPlugins=Va.getPlugins,Ga.getPlugin=Va.getPlugin,Ga.getPluginVersion=Va.getPluginVersion,Ga.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),Ga.options.languages=Hr(Ga.options.languages,((n={})[e]=t,n)),Ga.options.languages[e]},Ga.log=Gt,Ga.createLogger=Wt,Ga.createTimeRange=Ga.createTimeRanges=Kr,Ga.formatTime=si,Ga.setFormatTime=function(e){ai=e},Ga.resetFormatTime=function(){ai=ii},Ga.parseUrl=_o,Ga.isCrossOrigin=So,Ga.EventTarget=kr,Ga.on=yr,Ga.one=_r,Ga.off=vr,Ga.trigger=br,Ga.xhr=v(),Ga.TextTrack=Oo,Ga.AudioTrack=To,Ga.VideoTrack=Ao,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){Ga[e]=function(){return Gt.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),tr[e].apply(null,arguments)}})),Ga.computedStyle=Jt,Ga.dom=tr,Ga.url=Eo,Ga.defineLazyProperty=Oa,Ga.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var Za=x,Ka=function(e,t,n){return e&&n&&n.responseURL&&t!==n.responseURL?n.responseURL:t},$a=function(e){return Ga.log.debug?Ga.log.debug.bind(Ga,"VHS:",e+" >"):function(){}},Qa=function(e,t){var n,r=[];if(e&&e.length)for(n=0;n<e.length;n++)t(e.start(n),e.end(n))&&r.push([e.start(n),e.end(n)]);return Ga.createTimeRanges(r)},Xa=function(e,t){return Qa(e,(function(e,n){return e-.1<=t&&n+.1>=t}))},Ja=function(e,t){return Qa(e,(function(e){return e-1/30>=t}))},es=function(e){var t=[];if(!e||!e.length)return"";for(var n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},ts=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},ns=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},rs=function(e,t){var n=0;if(!e||!e.length)return n;for(var r=0;r<e.length;r++){var o=e.start(r),i=e.end(r);t>i||(n+=t>o&&t<=i?i-t:i-o)}return n},os=Ga.createTimeRange,is=function(e,t){if(!t.preload)return t.duration;var n=0;return(t.parts||[]).forEach((function(e){n+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(n+=e.partTargetDuration)})),n},as=function(e){return(e.segments||[]).reduce((function(e,t,n){return t.parts?t.parts.forEach((function(r,o){e.push({duration:r.duration,segmentIndex:n,partIndex:o,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e}),[])},ss=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},ls=function(e){var t=e.preloadSegment;if(t){var n=t.parts,r=(t.preloadHints||[]).reduce((function(e,t){return e+("PART"===t.type?1:0)}),0);return r+=n&&n.length?n.length:0}},cs=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var n=ss(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},us=function(e,t,n){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;var r=function(e,t){var n=0,r=t-e.mediaSequence,o=e.segments[r];if(o){if(void 0!==o.start)return{result:o.start,precise:!0};if(void 0!==o.end)return{result:o.end-o.duration,precise:!0}}for(;r--;){if(void 0!==(o=e.segments[r]).end)return{result:n+o.end,precise:!0};if(n+=is(e,o),void 0!==o.start)return{result:n+o.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;var o=function(e,t){for(var n,r=0,o=t-e.mediaSequence;o<e.segments.length;o++){if(void 0!==(n=e.segments[o]).start)return{result:n.start-r,precise:!0};if(r+=is(e,n),void 0!==n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return o.precise?o.result:r.result+n},ds=function(e,t,n){if(!e)return 0;if("number"!=typeof n&&(n=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return a()[1/0]}return us(e,t,n)},ps=function(e){var t=e.defaultDuration,n=e.durationList,r=e.startIndex,o=e.endIndex,i=0;if(r>o){var a=[o,r];r=a[0],o=a[1]}if(r<0){for(var s=r;s<Math.min(0,o);s++)i+=t;r=0}for(var l=r;l<o;l++)i+=n[l].duration;return i},fs=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return ds(e);if(null===t)return null;t=t||0;var o=us(e,e.mediaSequence+e.segments.length,t);return n&&(o-=r="number"==typeof r?r:cs(null,e)),Math.max(0,o)},hs=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},ms=function(e){return e.excludeUntil&&e.excludeUntil===1/0},gs=function(e){var t=hs(e);return!e.disabled&&!t},ys=function(e,t){return t.attributes&&t.attributes[e]},vs=function(e,t){if(1===e.playlists.length)return!0;var n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((function(e){return!!gs(e)&&(e.attributes.BANDWIDTH||0)<n})).length},bs=function(e,t){return!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri))))},_s=function(e,t){var n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},r=!1;for(var o in n){for(var i in n[o])if(r=t(n[o][i]))break;if(r)break}return!!r},ws=function(e){if(!e||!e.playlists||!e.playlists.length)return _s(e,(function(e){return e.playlists&&e.playlists.length||e.uri}));for(var t=function(t){var n=e.playlists[t],r=n.attributes&&n.attributes.CODECS;return r&&r.split(",").every((function(e){return G(e)}))||_s(e,(function(e){return bs(n,e)}))?"continue":{v:!1}},n=0;n<e.playlists.length;n++){var r=t(n);if("continue"!==r&&"object"===Nt(r))return r.v}return!0},Cs={liveEdgeDelay:cs,duration:ds,seekable:function(e,t,n){var r=t||0,o=fs(e,t,!0,n);return null===o?os():os(r,o)},getMediaInfoForTime:function(e){for(var t=e.playlist,n=e.currentTime,r=e.startingSegmentIndex,o=e.startingPartIndex,i=e.startTime,a=e.experimentalExactManifestTimings,s=n-i,l=as(t),c=0,u=0;u<l.length;u++){var d=l[u];if(r===d.segmentIndex&&("number"!=typeof o||"number"!=typeof d.partIndex||o===d.partIndex)){c=u;break}}if(s<0){if(c>0)for(var p=c-1;p>=0;p--){var f=l[p];if(s+=f.duration,a){if(s<0)continue}else if(s+1/30<=0)continue;return{partIndex:f.partIndex,segmentIndex:f.segmentIndex,startTime:i-ps({defaultDuration:t.targetDuration,durationList:l,startIndex:c,endIndex:p})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:n}}if(c<0){for(var h=c;h<0;h++)if((s-=t.targetDuration)<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:n};c=0}for(var m=c;m<l.length;m++){var g=l[m];if(s-=g.duration,a){if(s>0)continue}else if(s-1/30>=0)continue;return{partIndex:g.partIndex,segmentIndex:g.segmentIndex,startTime:i+ps({defaultDuration:t.targetDuration,durationList:l,startIndex:c,endIndex:m})}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:n}},isEnabled:gs,isDisabled:function(e){return e.disabled},isBlacklisted:hs,isIncompatible:ms,playlistEnd:fs,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:ys,estimateSegmentRequestTime:function(e,t,n,r){return void 0===r&&(r=0),ys("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:vs,isAudioOnly:ws,playlistMatch:bs,segmentDurationWithParts:is},Ss=Ga.log,Es=function(e,t){return e+"-"+t},xs=function(e,t,n){return"placeholder-uri-"+e+"-"+t+"-"+n},ks=function(e,t){e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(n){if(e.mediaGroups[n])for(var r in e.mediaGroups[n])for(var o in e.mediaGroups[n][r]){var i=e.mediaGroups[n][r][o];t(i,n,r,o)}}))},Os=function(e){var t=e.playlist,n=e.uri,r=e.id;t.id=r,t.playlistErrors_=0,n&&(t.uri=n),t.attributes=t.attributes||{}},Ts=function(e,t,n){void 0===n&&(n=xs),e.uri=t;for(var r=0;r<e.playlists.length;r++)if(!e.playlists[r].uri){var o="placeholder-uri-"+r;e.playlists[r].uri=o}var i=ws(e);ks(e,(function(t,r,o,a){if(!t.playlists||!t.playlists.length){if(i&&"AUDIO"===r&&!t.uri)for(var s=0;s<e.playlists.length;s++){var l=e.playlists[s];if(l.attributes&&l.attributes.AUDIO&&l.attributes.AUDIO===o)return}t.playlists=[c({},t)]}t.playlists.forEach((function(t,i){var s=n(r,o,a,t),l=Es(i,s);t.uri?t.resolvedUri=t.resolvedUri||Za(e.uri,t.uri):(t.uri=0===i?s:l,t.resolvedUri=t.uri),t.id=t.id||l,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];Os({playlist:n,id:Es(t,n.uri)}),n.resolvedUri=Za(e.uri,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes.BANDWIDTH||Ss.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(e),function(e){ks(e,(function(t){t.uri&&(t.resolvedUri=Za(e.uri,t.uri))}))}(e)},As=Ga.mergeOptions,Ps=Ga.EventTarget,Rs=function(e,t){if(!e)return t;var n=As(e,t);if(e.preloadHints&&!t.preloadHints&&delete n.preloadHints,e.parts&&!t.parts)delete n.parts;else if(e.parts&&t.parts)for(var r=0;r<t.parts.length;r++)e.parts&&e.parts[r]&&(n.parts[r]=As(e.parts[r],t.parts[r]));return!e.skipped&&t.skipped&&(n.skipped=!1),e.preload&&!t.preload&&(n.preload=!1),n},Is=function(e,t){!e.resolvedUri&&e.uri&&(e.resolvedUri=Za(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Za(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Za(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=Za(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((function(e){e.resolvedUri||(e.resolvedUri=Za(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((function(e){e.resolvedUri||(e.resolvedUri=Za(t,e.uri))}))},Ms=function(e){var t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(var r=0;r<n.preloadHints.length;r++)if("MAP"===n.preloadHints[r].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},Ns=function(e,t){return e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment},Ds=function(e,t,n){void 0===n&&(n=Ns);var r=As(e,{}),o=r.playlists[t.id];if(!o)return null;if(n(o,t))return null;t.segments=Ms(t);var i=As(o,t);if(i.preloadSegment&&!t.preloadSegment&&delete i.preloadSegment,o.segments){if(t.skip){t.segments=t.segments||[];for(var a=0;a<t.skip.skippedSegments;a++)t.segments.unshift({skipped:!0})}i.segments=function(e,t,n){var r=e.slice(),o=t.slice();n=n||0;for(var i,a=[],s=0;s<o.length;s++){var l=r[s+n],c=o[s];l?(i=l.map||i,a.push(Rs(l,c))):(i&&!c.map&&(c.map=i),a.push(c))}return a}(o.segments,t.segments,t.mediaSequence-o.mediaSequence)}i.segments.forEach((function(e){Is(e,i.resolvedUri)}));for(var s=0;s<r.playlists.length;s++)r.playlists[s].id===t.id&&(r.playlists[s]=i);return r.playlists[t.id]=i,r.playlists[t.uri]=i,ks(e,(function(e,n,r,o){if(e.playlists)for(var a=0;a<e.playlists.length;a++)t.id===e.playlists[a].id&&(e.playlists[a]=i)})),r},js=function(e,t){var n=e.segments||[],r=n[n.length-1],o=r&&r.parts&&r.parts[r.parts.length-1],i=o&&o.duration||r&&r.duration;return t&&i?1e3*i:500*(e.partTargetDuration||e.targetDuration||10)},Ls=function(e){function t(t,n,r){var o;if(void 0===r&&(r={}),o=e.call(this)||this,!t)throw new Error("A non-empty playlist URL or object is required");o.logger_=$a("PlaylistLoader");var i=r,a=i.withCredentials,s=void 0!==a&&a,l=i.handleManifestRedirects,c=void 0!==l&&l;o.src=t,o.vhs_=n,o.withCredentials=s,o.handleManifestRedirects=c;var u=n.options_;return o.customTagParsers=u&&u.customTagParsers||[],o.customTagMappers=u&&u.customTagMappers||[],o.experimentalLLHLS=u&&u.experimentalLLHLS||!1,Ga.browser.IE_VERSION&&(o.experimentalLLHLS=!1),o.state="HAVE_NOTHING",o.handleMediaupdatetimeout_=o.handleMediaupdatetimeout_.bind(p(o)),o.on("mediaupdatetimeout",o.handleMediaupdatetimeout_),o}h(t,e);var n=t.prototype;return n.handleMediaupdatetimeout_=function(){var e=this;if("HAVE_METADATA"===this.state){var t=this.media(),n=Za(this.master.uri,t.uri);this.experimentalLLHLS&&(n=function(e,t){if(t.endList||!t.serverControl)return e;var n={};if(t.serverControl.canBlockReload){var r=t.preloadSegment,o=t.mediaSequence+t.segments.length;if(r){var i=r.parts||[],s=ls(t)-1;s>-1&&s!==i.length-1&&(n._HLS_part=s),(s>-1||i.length)&&o--}n._HLS_msn=o}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){var l=new(a().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&l.searchParams.set(e,n[e])})),e=l.toString()}return e}(n,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials},(function(t,n){if(e.request)return t?e.playlistRequestError(e.request,e.media(),"HAVE_METADATA"):void e.haveMetadata({playlistString:e.request.responseText,url:e.media().uri,id:e.media().id})}))}},n.playlistRequestError=function(e,t,n){var r=t.uri,o=t.id;this.request=null,n&&(this.state=n),this.error={playlist:this.master.playlists[o],status:e.status,message:"HLS playlist request error at URL: "+r+".",responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")},n.parseManifest_=function(e){var t=this,n=e.url;return function(e){var t=e.onwarn,n=e.oninfo,r=e.manifestString,o=e.customTagParsers,i=void 0===o?[]:o,a=e.customTagMappers,s=void 0===a?[]:a,l=e.experimentalLLHLS,c=new F;t&&c.on("warn",t),n&&c.on("info",n),i.forEach((function(e){return c.addParser(e)})),s.forEach((function(e){return c.addTagMapper(e)})),c.push(r),c.end();var u=c.manifest;if(l||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){u.hasOwnProperty(e)&&delete u[e]})),u.segments&&u.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!u.targetDuration){var d=10;u.segments&&u.segments.length&&(d=u.segments.reduce((function(e,t){return Math.max(e,t.duration)}),0)),t&&t("manifest has no targetDuration defaulting to "+d),u.targetDuration=d}var p=ss(u);if(p.length&&!u.partTargetDuration){var f=p.reduce((function(e,t){return Math.max(e,t.duration)}),0);t&&(t("manifest has no partTargetDuration defaulting to "+f),Ss.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),u.partTargetDuration=f}return u}({onwarn:function(e){var r=e.message;return t.logger_("m3u8-parser warn for "+n+": "+r)},oninfo:function(e){var r=e.message;return t.logger_("m3u8-parser info for "+n+": "+r)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},n.haveMetadata=function(e){var t=e.playlistString,n=e.playlistObject,r=e.url,o=e.id;this.request=null,this.state="HAVE_METADATA";var i=n||this.parseManifest_({url:r,manifestString:t});i.lastRequest=Date.now(),Os({playlist:i,uri:r,id:o});var a=Ds(this.master,i);this.targetDuration=i.partTargetDuration||i.targetDuration,this.pendingMedia_=null,a?(this.master=a,this.media_=this.master.playlists[o]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(js(this.media(),!!a)),this.trigger("loadedplaylist")},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),a().clearTimeout(this.mediaUpdateTimeout),a().clearTimeout(this.finalRenditionTimeout),this.off()},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e,t){var n=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(a().clearTimeout(this.finalRenditionTimeout),t){var r=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=a().setTimeout(this.media.bind(this,e,!1),r)}else{var o=this.state,i=!this.media_||e.id!==this.media_.id,s=this.master.playlists[e.id];if(s&&s.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(i&&(this.trigger("mediachanging"),"HAVE_MASTER"===o?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(js(e,!0)),i){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,r){if(n.request){if(e.lastRequest=Date.now(),e.resolvedUri=Ka(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,o);n.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===o?n.trigger("loadedmetadata"):n.trigger("mediachange")}}))}}},n.pause=function(){this.mediaUpdateTimeout&&(a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},n.load=function(e){var t=this;this.mediaUpdateTimeout&&(a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var n=this.media();if(e){var r=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=a().setTimeout((function(){t.mediaUpdateTimeout=null,t.load()}),r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},n.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=a().setTimeout((function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)}),e))},n.start=function(){var e=this;if(this.started=!0,"object"===Nt(this.src))return this.src.uri||(this.src.uri=a().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){e.setupInitialPlaylist(e.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=Ka(e.handleManifestRedirects,e.src,n);var r=e.parseManifest_({manifestString:n.responseText,url:e.src});e.setupInitialPlaylist(r)}}))},n.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},n.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists)return this.master=e,Ts(this.master,this.srcUri()),e.playlists.forEach((function(e){e.segments=Ms(e),e.segments.forEach((function(t){Is(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var t=this.srcUri()||a().location.href;this.master=function(e,t){var n=Es(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:a().location.href,resolvedUri:a().location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r}(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(Ps),Bs=Ga.xhr,Fs=Ga.mergeOptions,Us=function(e,t,n,r){var o="arraybuffer"===e.responseType?e.response:e.responseText;!t&&o&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=o.byteLength||o.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(o||e.responseText)))),r(t,e)},Hs=function(){var e=function e(t,n){t=Fs({timeout:45e3},t);var r=e.beforeRequest||Ga.Vhs.xhr.beforeRequest;if(r&&"function"==typeof r){var o=r(t);o&&(t=o)}var i=(!0===Ga.Vhs.xhr.original?Bs:Ga.Vhs.xhr)(t,(function(e,t){return Us(i,e,t,n)})),a=i.abort;return i.abort=function(){return i.aborted=!0,a.apply(i,arguments)},i.uri=t.uri,i.requestTime=Date.now(),i};return e.original=!0,e},Vs=function(e){var t,n={};return e.byterange&&(n.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"==typeof t.offset||"bigint"==typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1)),n},zs=function(e,t){return e.start(t)+"-"+e.end(t)},qs=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Gs=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Ws=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];X(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},Ys=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Zs=function(e){return e.resolvedUri},Ks=function(e){for(var t=Array.prototype.slice.call(e),n="",r=0;r<t.length/16;r++)n+=t.slice(16*r,16*r+16).map(qs).join("")+" "+t.slice(16*r,16*r+16).map(Gs).join("")+"\n";return n},$s=Object.freeze({__proto__:null,createTransferableMessage:Ws,initSegmentId:Ys,segmentKeyId:Zs,hexDump:Ks,tagDump:function(e){var t=e.bytes;return Ks(t)},textRanges:function(e){var t,n="";for(t=0;t<e.length;t++)n+=zs(e,t)+" ";return n}}),Qs=function(e){var t=e.playlist,n=e.time,r=void 0===n?void 0:n,o=e.callback;if(!o)throw new Error("getProgramTime: callback must be provided");if(!t||void 0===r)return o({message:"getProgramTime: playlist and time must be provided"});var i=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var n,r=0,o=0;o<t.segments.length&&!(e<=(r=(n=t.segments[o]).videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:r+n.duration));o++);var i=t.segments[t.segments.length-1];if(i.videoTimingInfo&&i.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>r){if(e>r+.25*i.duration)return null;n=i}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:r-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}}(r,t);if(!i)return o({message:"valid programTime was not found"});if("estimate"===i.type)return o({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:i.estimatedStart});var a={mediaSeconds:r},s=function(e,t){if(!t.dateTimeObject)return null;var n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)}(r,i.segment);return s&&(a.programDateTime=s.toISOString()),o(null,a)},Xs=function e(t){var n=t.programTime,r=t.playlist,o=t.retryCount,i=void 0===o?2:o,a=t.seekTo,s=t.pauseAfterSeek,l=void 0===s||s,c=t.tech,u=t.callback;if(!u)throw new Error("seekToProgramTime: callback must be provided");if(void 0===n||!r||!a)return u({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!c.hasStarted_)return u({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t<e.segments.length;t++){if(!e.segments[t].dateTimeObject)return!1}return!0}(r))return u({message:"programDateTime tags must be provided in the manifest "+r.resolvedUri});var d=function(e,t){var n;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;var r=t.segments[0];if(n<r.dateTimeObject)return null;for(var o=0;o<t.segments.length-1;o++){if(r=t.segments[o],n<t.segments[o+1].dateTimeObject)break}var i,a=t.segments[t.segments.length-1],s=a.dateTimeObject,l=a.videoTimingInfo?(i=a.videoTimingInfo).transmuxedPresentationEnd-i.transmuxedPresentationStart-i.transmuxerPrependedSeconds:a.duration+.25*a.duration;return n>new Date(s.getTime()+1e3*l)?null:(n>s&&(r=a),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:Cs.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!d)return u({message:n+" was not found in the stream"});var p=d.segment,f=function(e,t){var n,r;try{n=new Date(e),r=new Date(t)}catch(e){}var o=n.getTime();return(r.getTime()-o)/1e3}(p.dateTimeObject,n);if("estimate"===d.type)return 0===i?u({message:n+" is not buffered yet. Try again"}):(a(d.estimatedStart+f),void c.one("seeked",(function(){e({programTime:n,playlist:r,retryCount:i-1,seekTo:a,pauseAfterSeek:l,tech:c,callback:u})})));var h=p.start+f;c.one("seeked",(function(){return u(null,c.currentTime())})),l&&c.pause(),a(h)},Js=function(e,t){if(4===e.readyState)return t()},el=function(e,t,n){var r,o=[],i=!1,a=function(e,t,r,o){return t.abort(),i=!0,n(e,t,r,o)},s=function(e,t){if(!i){if(e)return a(e,t,"",o);var n=t.responseText.substring(o&&o.byteLength||0,t.responseText.length);if(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if((t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e}))).length<=1)return J(t[0]);var r=t.reduce((function(e,t,n){return e+(t.byteLength||t.length)}),0),o=new Uint8Array(r),i=0;return t.forEach((function(e){e=J(e),o.set(e,i),i+=e.byteLength})),o}(o,oe(n,!0)),r=r||dt(o),o.length<10||r&&o.length<r+2)return Js(t,(function(){return a(e,t,"",o)}));var s=Pt(o);return"ts"===s&&o.length<188||!s&&o.length<376?Js(t,(function(){return a(e,t,"",o)})):a(null,t,s,o)}},l=t({uri:e,beforeSend:function(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function(t){return t.total,t.loaded,Us(e,null,{statusCode:e.status},s)}))}},(function(e,t){return Us(l,e,t,s)}));return l},tl=Ga.EventTarget,nl=Ga.mergeOptions,rl=function(e,t){if(!Ns(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(var n=0;n<e.segments.length;n++){var r=e.segments[n],o=t.segments[n];if(r.uri!==o.uri)return!1;if(r.byterange||o.byterange){var i=r.byterange,a=o.byterange;if(i&&!a||!i&&a)return!1;if(i.offset!==a.offset||i.length!==a.length)return!1}}return!0},ol=function(e,t,n,r){return"placeholder-uri-"+e+"-"+t+"-"+(r.attributes.NAME||n)},il=function(e,t,n){for(var r=!0,o=nl(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts}),i=0;i<t.playlists.length;i++){var a=t.playlists[i];if(a.sidx){var s=Ie(a.sidx);n&&n[s]&&n[s].sidx&&ke(a,n[s].sidx,a.sidx.resolvedUri)}var l=Ds(o,a,rl);l&&(o=l,r=!1)}return ks(t,(function(e,t,n,i){if(e.playlists&&e.playlists.length){var a=e.playlists[0].id,s=Ds(o,e.playlists[0],rl);s&&(i in(o=s).mediaGroups[t][n]||(o.mediaGroups[t][n][i]=e),o.mediaGroups[t][n][i].playlists[0]=o.playlists[a],r=!1)}})),function(e,t){ks(e,(function(n,r,o,i){i in t.mediaGroups[r][o]||delete e.mediaGroups[r][o][i]}))}(o,t),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:o},al=function(e,t){return(Boolean(!e.map&&!t.map)||Boolean(e.map&&t.map&&e.map.byterange.offset===t.map.byterange.offset&&e.map.byterange.length===t.map.byterange.length))&&e.uri===t.uri&&e.byterange.offset===t.byterange.offset&&e.byterange.length===t.byterange.length},sl=function(e,t){var n={};for(var r in e){var o=e[r].sidx;if(o){var i=Ie(o);if(!t[i])break;var a=t[i].sidxInfo;al(a,o)&&(n[i]=t[i])}}return n},ll=function(e){function t(t,n,r,o){var i;void 0===r&&(r={}),(i=e.call(this)||this).masterPlaylistLoader_=o||p(i),o||(i.isMaster_=!0);var a=r,s=a.withCredentials,l=void 0!==s&&s,c=a.handleManifestRedirects,u=void 0!==c&&c;if(i.vhs_=n,i.withCredentials=l,i.handleManifestRedirects=u,!t)throw new Error("A non-empty playlist URL or object is required");return i.on("minimumUpdatePeriod",(function(){i.refreshXml_()})),i.on("mediaupdatetimeout",(function(){i.refreshMedia_(i.media().id)})),i.state="HAVE_NOTHING",i.loadedPlaylists_={},i.logger_=$a("DashPlaylistLoader"),i.isMaster_?(i.masterPlaylistLoader_.srcUrl=t,i.masterPlaylistLoader_.sidxMapping_={}):i.childPlaylist_=t,i}h(t,e);var n=t.prototype;return n.requestErrored_=function(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!==Nt(e)||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)},n.addSidxSegments_=function(e,t,n){var r=this,o=e.sidx&&Ie(e.sidx);if(e.sidx&&o&&!this.masterPlaylistLoader_.sidxMapping_[o]){var i=Ka(this.handleManifestRedirects,e.sidx.resolvedUri),s=function(i,a){if(!r.requestErrored_(i,a,t)){var s,l=r.masterPlaylistLoader_.sidxMapping_;try{s=ct()(J(a.response).subarray(8))}catch(e){return void r.requestErrored_(e,a,t)}return l[o]={sidxInfo:e.sidx,sidx:s},ke(e,s,e.sidx.resolvedUri),n(!0)}};this.request=el(i,this.vhs_.xhr,(function(t,n,o,a){if(t)return s(t,n);if(!o||"mp4"!==o)return s({status:n.status,message:"Unsupported "+(o||"unknown")+" container type for sidx segment at URL: "+i,response:"",playlist:e,internal:!0,blacklistDuration:1/0,code:2},n);var l=e.sidx.byterange,c=l.offset,u=l.length;if(a.length>=u+c)return s(t,{response:a.subarray(c,c+u),status:n.status,uri:n.uri});r.request=r.vhs_.xhr({uri:i,responseType:"arraybuffer",headers:Vs({byterange:e.sidx.byterange})},s)}))}else this.mediaRequest_=a().setTimeout((function(){return n(!1)}),0)},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},a().clearTimeout(this.minimumUpdatePeriodTimeout_),a().clearTimeout(this.mediaRequest_),a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},n.hasPendingRequest=function(){return this.request||this.mediaRequest_},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"==typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var r=!this.media_||e.id!==this.media_.id;if(r&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),this.trigger("mediachange")));r&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,n,(function(r){t.haveMetadata({startingState:n,playlist:e})})))},n.haveMetadata=function(e){var t=e.startingState,n=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},n.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(a().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},n.load=function(e){var t=this;a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=a().setTimeout((function(){return t.load()}),r)}else this.started?n&&!n.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},n.start=function(){var e=this;this.started=!0,this.isMaster_?this.requestMaster_((function(t,n){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=a().setTimeout((function(){return e.haveMaster_()}),0)},n.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(n,r){if(!t.requestErrored_(n,r)){var o=r.responseText!==t.masterPlaylistLoader_.masterXml_;return t.masterPlaylistLoader_.masterXml_=r.responseText,r.responseHeaders&&r.responseHeaders.date?t.masterLoaded_=Date.parse(r.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=Ka(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,r),o?(t.handleMaster_(),void t.syncClientServerClock_((function(){return e(r,o)}))):e(r,o)}"HAVE_NOTHING"===t.state&&(t.started=!1)}))},n.syncClientServerClock_=function(e){var t=this,n=st(this.masterPlaylistLoader_.masterXml_);return null===n?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.masterPlaylistLoader_.clientOffset_=n.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:Za(this.masterPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},(function(r,o){if(t.request){if(r)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();var i;i="HEAD"===n.method?o.responseHeaders&&o.responseHeaders.date?Date.parse(o.responseHeaders.date):t.masterLoaded_:Date.parse(o.responseText),t.masterPlaylistLoader_.clientOffset_=i-Date.now(),e()}})))},n.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},n.handleMaster_=function(){this.mediaRequest_=null;var e,t,n,r,o,i,a,s=this.masterPlaylistLoader_.master,l=(e={masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:s},t=e.masterXml,n=e.srcUrl,r=e.clientOffset,o=e.sidxMapping,i=e.previousManifest,a=at(t,{manifestUri:n,clientOffset:r,sidxMapping:o,previousManifest:i}),Ts(a,n,ol),a);s&&(l=il(s,l,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=l||s;var c=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return c&&c!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=c),(!s||l&&l.minimumUpdatePeriod!==s.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(l)},n.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(a().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_("found invalid minimumUpdatePeriod of "+t+", not setting a timeout"):this.createMUPTimeout_(t)},n.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=a().setTimeout((function(){t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)},n.refreshXml_=function(){var e=this;this.requestMaster_((function(t,n){var r,o,i;n&&(e.media_&&(e.media_=e.masterPlaylistLoader_.master.playlists[e.media_.id]),e.masterPlaylistLoader_.sidxMapping_=(r=e.masterPlaylistLoader_.master,o=e.masterPlaylistLoader_.sidxMapping_,i=sl(r.playlists,o),ks(r,(function(e,t,n,r){if(e.playlists&&e.playlists.length){var a=e.playlists;i=nl(i,sl(a,o))}})),i),e.addSidxSegments_(e.media(),e.state,(function(t){e.refreshMedia_(e.media().id)})))}))},n.refreshMedia_=function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var n=this.masterPlaylistLoader_.master.playlists,r=!this.media_||this.media_!==n[e];if(r?this.media_=n[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function e(){t.media().endList||(t.mediaUpdateTimeout=a().setTimeout((function(){t.trigger("mediaupdatetimeout"),e()}),js(t.media(),Boolean(r))))}()}this.trigger("loadedplaylist")},t}(tl),cl={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},ul=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},dl=function(e){return function(){var t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(n){var t=new BlobBuilder;return t.append(e),URL.createObjectURL(t.getBlob())}}(e),n=ul(new Worker(t));n.objURL=t;var r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},pl=function(e){return"var browserWorkerPolyFill = "+ul.toString()+";\nbrowserWorkerPolyFill(self);\n"+e},fl=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},hl=dl(pl(fl((function(){var e=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,o,i;if(n=e[t])if(2===arguments.length)for(o=n.length,r=0;r<o;++r)n[r].call(this,arguments[1]);else{for(i=[],r=arguments.length,r=1;r<arguments.length;++r)i.push(arguments[r]);for(o=n.length,r=0;r<o;++r)n[r].apply(this,i)}},this.dispose=function(){e={}}}};e.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},e.prototype.push=function(e){this.trigger("data",e)},e.prototype.flush=function(e){this.trigger("done",e)},e.prototype.partialFlush=function(e){this.trigger("partialdone",e)},e.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},e.prototype.reset=function(e){this.trigger("reset",e)};var t,r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x,k,O,T,A,P,R,I,M,N,D,j,L,B,F,U,H,V=e,z=Math.pow(2,32),q={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*z+n.getUint32(4)},MAX_UINT32:z},G=q.MAX_UINT32;!function(){var e;if(S={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in S)S.hasOwnProperty(e)&&(S[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);E=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),k=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),x=new Uint8Array([0,0,0,1]),O=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),T=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),A={video:O,audio:T},I=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),R=new Uint8Array([0,0,0,0,0,0,0,0]),M=new Uint8Array([0,0,0,0,0,0,0,0]),N=M,D=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),j=M,P=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),t=function(e){var t,n,r=[],o=0;for(t=1;t<arguments.length;t++)r.push(arguments[t]);for(t=r.length;t--;)o+=r[t].byteLength;for(n=new Uint8Array(o+8),new DataView(n.buffer,n.byteOffset,n.byteLength).setUint32(0,n.byteLength),n.set(e,4),t=0,o=8;t<r.length;t++)n.set(r[t],o),o+=r[t].byteLength;return n},r=function(){return t(S.dinf,t(S.dref,I))},o=function(e){return t(S.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},g=function(e){return t(S.hdlr,A[e])},m=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(n[12]=e.samplerate>>>24&255,n[13]=e.samplerate>>>16&255,n[14]=e.samplerate>>>8&255,n[15]=255&e.samplerate),t(S.mdhd,n)},h=function(e){return t(S.mdia,m(e),g(e.type),s(e))},a=function(e){return t(S.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},s=function(e){return t(S.minf,"video"===e.type?t(S.vmhd,P):t(S.smhd,R),r(),v(e))},l=function(e,n){for(var r=[],o=n.length;o--;)r[o]=_(n[o]);return t.apply(null,[S.moof,a(e)].concat(r))},c=function(e){for(var n=e.length,r=[];n--;)r[n]=p(e[n]);return t.apply(null,[S.moov,d(4294967295)].concat(r).concat(u(e)))},u=function(e){for(var n=e.length,r=[];n--;)r[n]=w(e[n]);return t.apply(null,[S.mvex].concat(r))},d=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t(S.mvhd,n)},y=function(e){var n,r,o=e.samples||[],i=new Uint8Array(4+o.length);for(r=0;r<o.length;r++)n=o[r].flags,i[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return t(S.sdtp,i)},v=function(e){return t(S.stbl,b(e),t(S.stts,j),t(S.stsc,N),t(S.stsz,D),t(S.stco,M))},b=function(e){return t(S.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?L(e):B(e))},L=function(e){var n,r,o=e.sps||[],i=e.pps||[],a=[],s=[];for(n=0;n<o.length;n++)a.push((65280&o[n].byteLength)>>>8),a.push(255&o[n].byteLength),a=a.concat(Array.prototype.slice.call(o[n]));for(n=0;n<i.length;n++)s.push((65280&i[n].byteLength)>>>8),s.push(255&i[n].byteLength),s=s.concat(Array.prototype.slice.call(i[n]));if(r=[S.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),t(S.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([o.length],a,[i.length],s))),t(S.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var l=e.sarRatio[0],c=e.sarRatio[1];r.push(t(S.pasp,new Uint8Array([(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l,(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c])))}return t.apply(null,r)},B=function(e){return t(S.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),o(e))},f=function(e){var n=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return t(S.tkhd,n)},_=function(e){var n,r,o,i,a,s;return n=t(S.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/G),s=Math.floor(e.baseMediaDecodeTime%G),r=t(S.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===e.type?(o=C(e,92),t(S.traf,n,r,o)):(i=y(e),o=C(e,i.length+92),t(S.traf,n,r,o,i))},p=function(e){return e.duration=e.duration||4294967295,t(S.trak,f(e),h(e))},w=function(e){var n=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(n[n.length-1]=0),t(S.trex,n)},H=function(e,t){var n=0,r=0,o=0,i=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(o=4),void 0!==e[0].compositionTimeOffset&&(i=8)),[0,0,n|r|o|i,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},U=function(e,n){var r,o,i,a,s,l;for(n+=20+16*(a=e.samples||[]).length,i=H(a,n),(o=new Uint8Array(i.length+16*a.length)).set(i),r=i.length,l=0;l<a.length;l++)s=a[l],o[r++]=(4278190080&s.duration)>>>24,o[r++]=(16711680&s.duration)>>>16,o[r++]=(65280&s.duration)>>>8,o[r++]=255&s.duration,o[r++]=(4278190080&s.size)>>>24,o[r++]=(16711680&s.size)>>>16,o[r++]=(65280&s.size)>>>8,o[r++]=255&s.size,o[r++]=s.flags.isLeading<<2|s.flags.dependsOn,o[r++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,o[r++]=61440&s.flags.degradationPriority,o[r++]=15&s.flags.degradationPriority,o[r++]=(4278190080&s.compositionTimeOffset)>>>24,o[r++]=(16711680&s.compositionTimeOffset)>>>16,o[r++]=(65280&s.compositionTimeOffset)>>>8,o[r++]=255&s.compositionTimeOffset;return t(S.trun,o)},F=function(e,n){var r,o,i,a,s,l;for(n+=20+8*(a=e.samples||[]).length,i=H(a,n),(r=new Uint8Array(i.length+8*a.length)).set(i),o=i.length,l=0;l<a.length;l++)s=a[l],r[o++]=(4278190080&s.duration)>>>24,r[o++]=(16711680&s.duration)>>>16,r[o++]=(65280&s.duration)>>>8,r[o++]=255&s.duration,r[o++]=(4278190080&s.size)>>>24,r[o++]=(16711680&s.size)>>>16,r[o++]=(65280&s.size)>>>8,r[o++]=255&s.size;return t(S.trun,r)},C=function(e,t){return"audio"===e.type?F(e,t):U(e,t)};i=function(){return t(S.ftyp,E,x,E,k)};var W,Y,Z,K,$,Q,X,J,ee=function(e){return t(S.mdat,e)},te=l,ne=function(e){var t,n=i(),r=c(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t},re=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},oe=function(e){var t,n,r=[],o=[];for(o.byteLength=0,o.nalCount=0,o.duration=0,r.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(n=e[t]).nalUnitType?(r.length&&(r.duration=n.dts-r.dts,o.byteLength+=r.byteLength,o.nalCount+=r.length,o.duration+=r.duration,o.push(r)),(r=[n]).byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return o.length&&(!r.duration||r.duration<=0)&&(r.duration=o[o.length-1].duration),o.byteLength+=r.byteLength,o.nalCount+=r.length,o.duration+=r.duration,o.push(r),o},ie=function(e){var t,n,r=[],o=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,o.byteLength=0,o.nalCount=0,o.duration=0,o.pts=e[0].pts,o.dts=e[0].dts,t=0;t<e.length;t++)(n=e[t]).keyFrame?(r.length&&(o.push(r),o.byteLength+=r.byteLength,o.nalCount+=r.nalCount,o.duration+=r.duration),(r=[n]).nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return o.length&&r.duration<=0&&(r.duration=o[o.length-1].duration),o.byteLength+=r.byteLength,o.nalCount+=r.nalCount,o.duration+=r.duration,o.push(r),o},ae=function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},se=function(e,t){var n,r,o,i,a,s=t||0,l=[];for(n=0;n<e.length;n++)for(i=e[n],r=0;r<i.length;r++)a=i[r],s+=(o=re(a,s)).size,l.push(o);return l},le=function(e){var t,n,r,o,i,a,s=0,l=e.byteLength,c=e.nalCount,u=new Uint8Array(l+4*c),d=new DataView(u.buffer);for(t=0;t<e.length;t++)for(o=e[t],n=0;n<o.length;n++)for(i=o[n],r=0;r<i.length;r++)a=i[r],d.setUint32(s,a.data.byteLength),s+=4,u.set(a.data,s),s+=a.data.byteLength;return u},ce=[33,16,5,32,164,27],ue=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],de=function(e){for(var t=[];e--;)t.push(0);return t},pe=function(){if(!W){var e={96e3:[ce,[227,64],de(154),[56]],88200:[ce,[231],de(170),[56]],64e3:[ce,[248,192],de(240),[56]],48e3:[ce,[255,192],de(268),[55,148,128],de(54),[112]],44100:[ce,[255,192],de(268),[55,163,128],de(84),[112]],32e3:[ce,[255,192],de(268),[55,234],de(226),[112]],24e3:[ce,[255,192],de(268),[55,255,128],de(268),[111,112],de(126),[224]],16e3:[ce,[255,192],de(268),[55,255,128],de(268),[111,255],de(269),[223,108],de(195),[1,192]],12e3:[ue,de(268),[3,127,248],de(268),[6,255,240],de(268),[13,255,224],de(268),[27,253,128],de(259),[56]],11025:[ue,de(268),[3,127,248],de(268),[6,255,240],de(268),[13,255,224],de(268),[27,255,192],de(268),[55,175,128],de(108),[112]],8e3:[ue,de(268),[3,121,16],de(47),[7]]};t=e,W=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return W};Q=function(e,t){return Y($(e,t))},X=function(e,t){return Z(K(e),t)},J=function(e,t,n){return K(n?e:e-t)};var fe=9e4,he=Y=function(e){return 9e4*e},me=(Z=function(e,t){return e*t},K=function(e){return e/9e4}),ge=($=function(e,t){return e/t},Q),ye=X,ve=J,be=function(e,t,n,r){var o,i,a,s,l,c=0,u=0,d=0;if(t.length&&(o=ge(e.baseMediaDecodeTime,e.samplerate),i=Math.ceil(fe/(e.samplerate/1024)),n&&r&&(c=o-Math.max(n,r),d=(u=Math.floor(c/i))*i),!(u<1||d>fe/2))){for((a=pe()[e.samplerate])||(a=t[0].data),s=0;s<u;s++)l=t[0],t.splice(0,0,{data:a,dts:l.dts-i,pts:l.pts-i});return e.baseMediaDecodeTime-=Math.floor(ye(d,e.samplerate)),d}},_e=function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},we=function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},Ce=function(e){var t,n,r=0,o=new Uint8Array(function(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t].data.byteLength;return n}(e));for(t=0;t<e.length;t++)n=e[t],o.set(n.data,r),r+=n.data.byteLength;return o},Se=fe,Ee=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},xe=function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/Se,n=Math.floor(n)),n},ke=function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))},Oe=function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,o=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)o+=255,t++;if(o+=e[t++],!n.payload&&4===r){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){n.payloadType=r,n.payloadSize=o,n.payload=e.subarray(t,t+o);break}n.payload=void 0}t+=o,r=0,o=0}return n},Te=function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Ae=function(e,t){var n,r,o,i,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)i={type:3&t[(o=3*n)+2],pts:e},4&t[o+2]&&(i.ccData=t[o+3]<<8|t[o+4],a.push(i));return a},Pe=function(e){for(var t,n,r=e.byteLength,o=[],i=1;i<r-2;)0===e[i]&&0===e[i+1]&&3===e[i+2]?(o.push(i+2),i+=2):i++;if(0===o.length)return e;t=r-o.length,n=new Uint8Array(t);var a=0;for(i=0;i<t;a++,i++)a===o[0]&&(a++,o.shift()),n[i]=e[a];return n},Re=4,Ie=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_="boolean"!=typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Ve(0,0),new Ve(0,1),new Ve(1,0),new Ve(1,1)],this.parse708captions_&&(this.cc708Stream_=new Le({captionServices:t.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(Ie.prototype=new V).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Oe(e.escapedRBSP)).payload&&t.payloadType===Re&&(n=Te(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=Ae(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Ie.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},Ie.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},Ie.prototype.flush=function(){return this.flushStream("flush")},Ie.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Ie.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},Ie.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},Ie.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Ie.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Ie.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},Ie.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var Me={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Ne=function(e){return 32<=e&&e<=127||160<=e&&e<=255},De=function(e){this.windowNum=e,this.reset()};De.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},De.prototype.getText=function(){return this.rows.join("\n")},De.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},De.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},De.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},De.prototype.addText=function(e){this.rows[this.rowIdx]+=e},De.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var je=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new De(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};je.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new De(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},je.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},je.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var Le=function e(t){t=t||{},e.prototype.init.call(this);var n,r=this,o=t.captionServices||{},i={};Object.keys(o).forEach((function(e){n=o[e],/^SERVICE/.test(e)&&(i[e]=n.encoding)})),this.serviceEncodings=i,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(r.new708Packet(),r.add708Bytes(e)):(null===r.current708Packet&&r.new708Packet(),r.add708Bytes(e))}};Le.prototype=new V,Le.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Le.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},Le.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,o=0,i=t[o++];for(e.seq=i>>6,e.sizeCode=63&i;o<t.length;o++)r=31&(i=t[o++]),7===(n=i>>5)&&r>0&&(n=i=t[o++]),this.pushServiceBlock(n,o,r),r>0&&(o+=r-1)},Le.prototype.pushServiceBlock=function(e,t,n){var r,o=t,i=this.current708Packet.data,a=this.services[e];for(a||(a=this.initService(e,o));o<t+n&&o<i.length;o++)r=i[o],Ne(r)?o=this.handleText(o,a):24===r?o=this.multiByteCharacter(o,a):16===r?o=this.extendedCommands(o,a):128<=r&&r<=135?o=this.setCurrentWindow(o,a):152<=r&&r<=159?o=this.defineWindow(o,a):136===r?o=this.clearWindows(o,a):140===r?o=this.deleteWindows(o,a):137===r?o=this.displayWindows(o,a):138===r?o=this.hideWindows(o,a):139===r?o=this.toggleWindows(o,a):151===r?o=this.setWindowAttributes(o,a):144===r?o=this.setPenAttributes(o,a):145===r?o=this.setPenColor(o,a):146===r?o=this.setPenLocation(o,a):143===r?a=this.reset(o,a):8===r?a.currentWindow.backspace():12===r?a.currentWindow.clearText():13===r?a.currentWindow.pendingNewLine=!0:14===r?a.currentWindow.clearText():141===r&&o++},Le.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return Ne(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},Le.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},Le.prototype.initService=function(e,t){var n,r,o=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new je(e,r,o),this.services[e].init(this.getPts(t),(function(t){o.flushDisplayed(t,o.services[e])})),this.services[e]},Le.prototype.handleText=function(e,t,n){var r,o,i,a,s=n&&n.isExtended,l=n&&n.isMultiByte,c=this.current708Packet.data,u=s?4096:0,d=c[e],p=c[e+1],f=t.currentWindow;return t.textDecoder_&&!s?(l?(o=[d,p],e++):o=[d],r=t.textDecoder_.decode(new Uint8Array(o))):(a=Me[i=u|d]||i,r=4096&i&&i===a?"":String.fromCharCode(a)),f.pendingNewLine&&!f.isEmpty()&&f.newLine(this.getPts(e)),f.pendingNewLine=!1,f.addText(r),e},Le.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],o=n[e+2];return Ne(r)&&Ne(o)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},Le.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},Le.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],o=7&r;t.setCurrentWindow(o);var i=t.currentWindow;return r=n[++e],i.visible=(32&r)>>5,i.rowLock=(16&r)>>4,i.columnLock=(8&r)>>3,i.priority=7&r,r=n[++e],i.relativePositioning=(128&r)>>7,i.anchorVertical=127&r,r=n[++e],i.anchorHorizontal=r,r=n[++e],i.anchorPoint=(240&r)>>4,i.rowCount=15&r,r=n[++e],i.columnCount=63&r,r=n[++e],i.windowStyle=(56&r)>>3,i.penStyle=7&r,i.virtualRowCount=i.rowCount+1,e},Le.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.winAttr;return r=n[++e],o.fillOpacity=(192&r)>>6,o.fillRed=(48&r)>>4,o.fillGreen=(12&r)>>2,o.fillBlue=3&r,r=n[++e],o.borderType=(192&r)>>6,o.borderRed=(48&r)>>4,o.borderGreen=(12&r)>>2,o.borderBlue=3&r,r=n[++e],o.borderType+=(128&r)>>5,o.wordWrap=(64&r)>>6,o.printDirection=(48&r)>>4,o.scrollDirection=(12&r)>>2,o.justify=3&r,r=n[++e],o.effectSpeed=(240&r)>>4,o.effectDirection=(12&r)>>2,o.displayEffect=3&r,e},Le.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},Le.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},Le.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&(t.windows[o].visible=1);return e},Le.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&(t.windows[o].visible=0);return e},Le.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&(t.windows[o].visible^=1);return e},Le.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&t.windows[o].clearText();return e},Le.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var o=0;o<8;o++)n&1<<o&&t.windows[o].reset();return e},Le.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.penAttr;return r=n[++e],o.textTag=(240&r)>>4,o.offset=(12&r)>>2,o.penSize=3&r,r=n[++e],o.italics=(128&r)>>7,o.underline=(64&r)>>6,o.edgeType=(56&r)>>3,o.fontStyle=7&r,e},Le.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.penColor;return r=n[++e],o.fgOpacity=(192&r)>>6,o.fgRed=(48&r)>>4,o.fgGreen=(12&r)>>2,o.fgBlue=3&r,r=n[++e],o.bgOpacity=(192&r)>>6,o.bgRed=(48&r)>>4,o.bgGreen=(12&r)>>2,o.bgBlue=3&r,r=n[++e],o.edgeRed=(48&r)>>4,o.edgeGreen=(12&r)>>2,o.edgeBlue=3&r,e},Le.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],o=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],o.row=15&r,r=n[++e],o.column=63&r,e},Le.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var Be={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Fe=function(e){return null===e?"":(e=Be[e]||e,String.fromCharCode(e))},Ue=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],He=function(){for(var e=[],t=15;t--;)e.push("");return e},Ve=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,o,i;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,o=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=He();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=He();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=He()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,o))i=Fe((r=(3&r)<<8)|o),this[this.mode_](e.pts,i),this.column_++;else if(this.isExtCharacter(r,o))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),i=Fe((r=(3&r)<<8)|o),this[this.mode_](e.pts,i),this.column_++;else if(this.isMidRowCode(r,o))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&o)&&this.addFormatting(e.pts,["i"]),1==(1&o)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,o))this.column_+=3&o;else if(this.isPAC(r,o)){var a=Ue.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&o&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(o)&&14==(14&o)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===o&&(o=null),i=Fe(r),i+=Fe(o),this[this.mode_](e.pts,i),this.column_+=i.length)}else this.lastControlCode_=null}};Ve.prototype=new V,Ve.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Ve.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=He(),this.nonDisplayed_=He(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Ve.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Ve.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Ve.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Ve.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Ve.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Ve.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Ve.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Ve.prototype.isNormalChar=function(e){return e>=32&&e<=127},Ve.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=He(),this.displayed_=He()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Ve.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},Ve.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},Ve.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Ve.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Ve.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},Ve.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var ze={CaptionStream:Ie,Cea608Stream:Ve,Cea708Stream:Le},qe={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ge=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},We=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=Ge(e.dts,r),e.pts=Ge(e.pts,r),n=e.dts,this.trigger("data",e))},this.flush=function(){r=n,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){r=void 0,n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};We.prototype=new V;var Ye,Ze=We,Ke=Ge,$e=function(e,t,n){var r,o="";for(r=t;r<n;r++)o+="%"+("00"+e[r].toString(16)).slice(-2);return o},Qe=function(e,t,n){return decodeURIComponent($e(e,t,n))},Xe=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},Je={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Qe(e.data,1,t),e.value=Qe(e.data,t+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Qe(e.data,1,t),e.url=Qe(e.data,t+1,e.data.length);break}},PRIV:function(e){var t,n;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=(n=e.data,unescape($e(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};(Ye=function(e){var t,n={descriptor:e&&e.descriptor},r=0,o=[],i=0;if(Ye.prototype.init.call(this),this.dispatchType=qe.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,n,a,s,l;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(i=0,o.length=0),0===o.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(o.push(e),i+=e.data.byteLength,1===o.length&&(r=Xe(e.data.subarray(6,10)),r+=10),!(i<r)){for(t={data:new Uint8Array(r),frames:[],pts:o[0].pts,dts:o[0].dts},l=0;l<r;)t.data.set(o[0].data.subarray(0,r-l),l),l+=o[0].data.byteLength,i-=o[0].data.byteLength,o.shift();n=10,64&t.data[5]&&(n+=4,n+=Xe(t.data.subarray(10,14)),r-=Xe(t.data.subarray(16,20)));do{if((a=Xe(t.data.subarray(n+4,n+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((s={id:String.fromCharCode(t.data[n],t.data[n+1],t.data[n+2],t.data[n+3]),data:t.data.subarray(n+10,n+a+10)}).key=s.id,Je[s.id]&&(Je[s.id](s),"com.apple.streaming.transportStreamTimestamp"===s.owner)){var c=s.data,u=(1&c[3])<<30|c[4]<<22|c[5]<<14|c[6]<<6|c[7]>>>2;u*=4,u+=3&c[7],s.timeStamp=u,void 0===t.pts&&void 0===t.dts&&(t.pts=s.timeStamp,t.dts=s.timeStamp),this.trigger("timestamp",s)}t.frames.push(s),n+=10,n+=a}while(n<r);this.trigger("data",t)}}}).prototype=new V;var et,tt,nt,rt=Ye,ot=Ze;(et=function(){var e=new Uint8Array(188),t=0;et.prototype.init.call(this),this.push=function(n){var r,o=0,i=188;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;i<r.byteLength;)71!==r[o]||71!==r[i]?(o++,i++):(this.trigger("data",r.subarray(o,i)),o+=188,i+=188);o<r.byteLength&&(e.set(r.subarray(o),0),t=r.byteLength-o)},this.flush=function(){188===t&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new V,(tt=function(){var e,t,n,r;tt.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var o=0;r.payloadUnitStartIndicator&&(o+=e[o]+1),"pat"===r.type?t(e.subarray(o),r):n(e.subarray(o),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,o;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,o=12+((15&e[10])<<8|e[11]);o<n;){var i=e[o],a=(31&e[o+1])<<8|e[o+2];i===qe.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:i===qe.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:i===qe.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][a]=i),o+=5+((15&e[o+3])<<8|e[o+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=qe.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=qe.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}}).prototype=new V,tt.STREAM_TYPES={h264:27,adts:15},(nt=function(){var e,t=this,n=!1,r={data:[],size:0},o={data:[],size:0},i={data:[],size:0},a=function(e,n,r){var o,i,a=new Uint8Array(e.size),s={type:n},l=0,c=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,l=0;l<e.data.length;l++)i=e.data[l],a.set(i.data,c),c+=i.data.byteLength;var u,d,p,f;d=s,f=(u=a)[0]<<16|u[1]<<8|u[2],d.data=new Uint8Array,1===f&&(d.packetLength=6+(u[4]<<8|u[5]),d.dataAlignmentIndicator=0!=(4&u[6]),192&(p=u[7])&&(d.pts=(14&u[9])<<27|(255&u[10])<<20|(254&u[11])<<12|(255&u[12])<<5|(254&u[13])>>>3,d.pts*=4,d.pts+=(6&u[13])>>>1,d.dts=d.pts,64&p&&(d.dts=(14&u[14])<<27|(255&u[15])<<20|(254&u[16])<<12|(255&u[17])<<5|(254&u[18])>>>3,d.dts*=4,d.dts+=(6&u[18])>>>1)),d.data=u.subarray(9+u[8])),o="video"===n||s.packetLength<=e.size,(r||o)&&(e.size=0,e.data.length=0),o&&t.trigger("data",s)}};nt.prototype.init.call(this),this.push=function(s){({pat:function(){},pes:function(){var e,t;switch(s.streamType){case qe.H264_STREAM_TYPE:e=r,t="video";break;case qe.ADTS_STREAM_TYPE:e=o,t="audio";break;case qe.METADATA_STREAM_TYPE:e=i,t="timed-metadata";break;default:return}s.payloadUnitStartIndicator&&a(e,t,!0),e.data.push(s),e.size+=s.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=s.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[s.type]()},this.reset=function(){r.size=0,r.data.length=0,o.size=0,o.data.length=0,this.trigger("reset")},this.flushStreams_=function(){a(r,"video"),a(o,"audio"),a(i,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}}).prototype=new V;var it={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:et,TransportParseStream:tt,ElementaryStream:nt,TimestampRolloverStream:ot,CaptionStream:ze.CaptionStream,Cea608Stream:ze.Cea608Stream,Cea708Stream:ze.Cea708Stream,MetadataStream:rt};for(var at in qe)qe.hasOwnProperty(at)&&(it[at]=qe[at]);var st,lt=it,ct=fe,ut=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(st=function(e){var t,n=0;st.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:"adts skiping bytes "+e+" to "+t+" in frame "+n+" outside syncword"})},this.push=function(r){var o,i,a,s,l,c=0;if(e||(n=0),"audio"===r.type){var u;for(t&&t.length?(a=t,(t=new Uint8Array(a.byteLength+r.data.byteLength)).set(a),t.set(r.data,a.byteLength)):t=r.data;c+7<t.length;)if(255===t[c]&&240==(246&t[c+1])){if("number"==typeof u&&(this.skipWarn_(u,c),u=null),i=2*(1&~t[c+1]),o=(3&t[c+3])<<11|t[c+4]<<3|(224&t[c+5])>>5,l=(s=1024*(1+(3&t[c+6])))*ct/ut[(60&t[c+2])>>>2],t.byteLength-c<o)break;this.trigger("data",{pts:r.pts+n*l,dts:r.dts+n*l,sampleCount:s,audioobjecttype:1+(t[c+2]>>>6&3),channelcount:(1&t[c+2])<<2|(192&t[c+3])>>>6,samplerate:ut[(60&t[c+2])>>>2],samplingfrequencyindex:(60&t[c+2])>>>2,samplesize:16,data:t.subarray(c+7+i,c+o)}),n++,c+=o}else"number"!=typeof u&&(u=c),c++;"number"==typeof u&&(this.skipWarn_(u,c),u=null),t=t.subarray(c)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}}).prototype=new V;var dt,pt,ft,ht=st,mt=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var o=e.byteLength-t,i=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");i.set(e.subarray(o,o+a)),n=new DataView(i.buffer).getUint32(0),r=8*a,t-=a},this.skipBits=function(e){var o;r>e?(n<<=e,r-=e):(e-=r,e-=8*(o=Math.floor(e/8)),t-=o,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var o=Math.min(r,e),i=n>>>32-o;return(r-=o)>0?n<<=o:t>0&&this.loadWord(),(o=e-o)>0?i<<o|this.readBits(o):i},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(pt=function(){var e,t,n=0;pt.prototype.init.call(this),this.push=function(r){var o;t?((o=new Uint8Array(t.byteLength+r.data.byteLength)).set(t),o.set(r.data,t.byteLength),t=o):t=r.data;for(var i=t.byteLength;n<i-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<i;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do{e++}while(1!==t[e]&&e<i);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.reset=function(){t=null,n=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}}).prototype=new V,ft={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(dt=function(){var e,t,n,r,o,i,a,s=new pt;dt.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,s.push(e))},s.on("data",(function(a){var s={trackId:t,pts:n,dts:r,data:a,nalUnitTypeCode:31&a[0]};switch(s.nalUnitTypeCode){case 5:s.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:s.nalUnitType="sei_rbsp",s.escapedRBSP=o(a.subarray(1));break;case 7:s.nalUnitType="seq_parameter_set_rbsp",s.escapedRBSP=o(a.subarray(1)),s.config=i(s.escapedRBSP);break;case 8:s.nalUnitType="pic_parameter_set_rbsp";break;case 9:s.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",s)})),s.on("done",(function(){e.trigger("done")})),s.on("partialdone",(function(){e.trigger("partialdone")})),s.on("reset",(function(){e.trigger("reset")})),s.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){s.flush()},this.partialFlush=function(){s.partialFlush()},this.reset=function(){s.reset()},this.endTimeline=function(){s.endTimeline()},a=function(e,t){var n,r=8,o=8;for(n=0;n<e;n++)0!==o&&(o=(r+t.readExpGolomb()+256)%256),r=0===o?r:o},o=function(e){for(var t,n,r=e.byteLength,o=[],i=1;i<r-2;)0===e[i]&&0===e[i+1]&&3===e[i+2]?(o.push(i+2),i+=2):i++;if(0===o.length)return e;t=r-o.length,n=new Uint8Array(t);var a=0;for(i=0;i<t;a++,i++)a===o[0]&&(a++,o.shift()),n[i]=e[a];return n},i=function(e){var t,n,r,o,i,s,l,c,u,d,p,f,h=0,m=0,g=0,y=0,v=[1,1];if(n=(t=new mt(e)).readUnsignedByte(),o=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),ft[n]&&(3===(i=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(p=3!==i?8:12,f=0;f<p;f++)t.readBoolean()&&a(f<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),l=t.readUnsignedExpGolomb(),f=0;f<l;f++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),c=t.readUnsignedExpGolomb(),u=t.readUnsignedExpGolomb(),0===(d=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(h=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:v=[1,1];break;case 2:v=[12,11];break;case 3:v=[10,11];break;case 4:v=[16,11];break;case 5:v=[40,33];break;case 6:v=[24,11];break;case 7:v=[20,11];break;case 8:v=[32,11];break;case 9:v=[80,33];break;case 10:v=[18,11];break;case 11:v=[15,11];break;case 12:v=[64,33];break;case 13:v=[160,99];break;case 14:v=[4,3];break;case 15:v=[3,2];break;case 16:v=[2,1];break;case 255:v=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}v&&(v[0],v[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:o,width:16*(c+1)-2*h-2*m,height:(2-d)*(u+1)*16-2*g-2*y,sarRatio:v}}}).prototype=new V;var gt,yt={H264Stream:dt,NalByteStream:pt},vt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],bt=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return n=n>=0?n:0,(16&e[t+5])>>4?n+20:n+10},_t=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},wt={isLikelyAacData:function(e){var t=function e(t,n){return t.length-n<10||t[n]!=="I".charCodeAt(0)||t[n+1]!=="D".charCodeAt(0)||t[n+2]!=="3".charCodeAt(0)?n:e(t,n+=bt(t,n))}(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:bt,parseAdtsSize:function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return vt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=_t(e.subarray(10,14)));do{if((n=_t(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var o=0;o<r.byteLength;o++)if(0===r[o]){if("com.apple.streaming.transportStreamTimestamp"===unescape(function(e,t,n){var r,o="";for(r=t;r<n;r++)o+="%"+("00"+e[r].toString(16)).slice(-2);return o}(r,0,o))){var i=r.subarray(o+1),a=(1&i[3])<<30|i[4]<<22|i[5]<<14|i[6]<<6|i[7]>>>2;return a*=4,a+=3&i[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}};(gt=function(){var e=new Uint8Array,t=0;gt.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,o,i,a,s=0,l=0;for(e.length?(a=e.length,(e=new Uint8Array(n.byteLength+a)).set(e.subarray(0,a)),e.set(n,a)):e=n;e.length-l>=3;)if(e[l]!=="I".charCodeAt(0)||e[l+1]!=="D".charCodeAt(0)||e[l+2]!=="3".charCodeAt(0))if(255!=(255&e[l])||240!=(240&e[l+1]))l++;else{if(e.length-l<7)break;if(l+(s=wt.parseAdtsSize(e,l))>e.length)break;i={type:"audio",data:e.subarray(l,l+s),pts:t,dts:t},this.trigger("data",i),l+=s}else{if(e.length-l<10)break;if(l+(s=wt.parseId3TagSize(e,l))>e.length)break;o={type:"timed-metadata",data:e.subarray(l,l+s)},this.trigger("data",o),l+=s}r=e.length-l,e=r>0?e.subarray(l):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new V;var Ct,St,Et,xt,kt=gt,Ot=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Tt=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],At=yt.H264Stream,Pt=wt.isLikelyAacData,Rt=fe,It=function(e,t){t.stream=e,this.trigger("log",t)},Mt=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var o=n[r];"headOfPipeline"!==o&&t[o].on&&t[o].on("log",It.bind(e,o))}},Dt=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},jt=function(e,t,n,r,o,i){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(o-n)},prependedContentDuration:i,baseMediaDecodeTime:e}};(St=function(e,t){var n,r=[],o=0,i=0,a=1/0;n=(t=t||{}).firstSequenceNumber||0,St.prototype.init.call(this),this.push=function(t){ke(e,t),e&&Ot.forEach((function(n){e[n]=t[n]})),r.push(t)},this.setEarliestDts=function(e){o=e},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){i=e},this.flush=function(){var s,l,c,u,d,p,f;0!==r.length?(s=_e(r,e,o),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),f=be(e,s,i,a),e.samples=we(s),c=ee(Ce(s)),r=[],l=te(n,[e]),u=new Uint8Array(l.byteLength+c.byteLength),n++,u.set(l),u.set(c,l.byteLength),Ee(e),d=Math.ceil(1024*Rt/e.samplerate),s.length&&(p=s.length*d,this.trigger("segmentTimingInfo",jt(ge(e.baseMediaDecodeTime,e.samplerate),s[0].dts,s[0].pts,s[0].dts+p,s[0].pts+p,f||0)),this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+p})),this.trigger("data",{track:e,boxes:u}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){Ee(e),r=[],this.trigger("reset")}}).prototype=new V,(Ct=function(e,t){var n,r,o,i=[],a=[];n=(t=t||{}).firstSequenceNumber||0,Ct.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){ke(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,e.sps=[t.data],Tt.forEach((function(t){e[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||o||(o=t.data,e.pps=[t.data]),i.push(t)},this.flush=function(){for(var r,o,s,l,c,u,d,p,f=0;i.length&&"access_unit_delimiter_rbsp"!==i[0].nalUnitType;)i.shift();if(0===i.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(r=oe(i),(s=ie(r))[0][0].keyFrame||((o=this.getGopForFusion_(i[0],e))?(f=o.duration,s.unshift(o),s.byteLength+=o.byteLength,s.nalCount+=o.nalCount,s.pts=o.pts,s.dts=o.dts,s.duration+=o.duration):s=ae(s)),a.length){var h;if(!(h=t.alignGopsAtEnd?this.alignGopsAtEnd_(s):this.alignGopsAtStart_(s)))return this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),i=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");Ee(e),s=h}ke(e,s),e.samples=se(s),c=ee(le(s)),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),d=s[0],p=s[s.length-1],this.trigger("segmentTimingInfo",jt(e.baseMediaDecodeTime,d.dts,d.pts,p.dts+p.duration,p.pts+p.duration,f)),this.trigger("timingInfo",{start:s[0].pts,end:s[s.length-1].pts+s[s.length-1].duration}),this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),i=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),l=te(n,[e]),u=new Uint8Array(l.byteLength+c.byteLength),n++,u.set(l),u.set(c,l.byteLength),this.trigger("data",{track:e,boxes:u}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),i=[],this.gopCache_.length=0,a.length=0,this.trigger("reset")},this.resetStream_=function(){Ee(e),r=void 0,o=void 0},this.getGopForFusion_=function(t){var n,r,o,i,a,s=1/0;for(a=0;a<this.gopCache_.length;a++)o=(i=this.gopCache_[a]).gop,e.pps&&Dt(e.pps[0],i.pps[0])&&e.sps&&Dt(e.sps[0],i.sps[0])&&(o.dts<e.timelineStartInfo.dts||(n=t.dts-o.dts-o.duration)>=-1e4&&n<=45e3&&(!r||s>n)&&(r=i,s=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,o,i,s,l,c;for(i=e.byteLength,s=e.nalCount,l=e.duration,t=n=0;t<a.length&&n<e.length&&(r=a[t],o=e[n],r.pts!==o.pts);)o.pts>r.pts?t++:(n++,i-=o.byteLength,s-=o.nalCount,l-=o.duration);return 0===n?e:n===e.length?null:((c=e.slice(n)).byteLength=i,c.duration=l,c.nalCount=s,c.pts=c[0].pts,c.dts=c[0].dts,c)},this.alignGopsAtEnd_=function(e){var t,n,r,o,i,s,l;for(t=a.length-1,n=e.length-1,i=null,s=!1;t>=0&&n>=0;){if(r=a[t],o=e[n],r.pts===o.pts){s=!0;break}r.pts>o.pts?t--:(t===a.length-1&&(i=n),n--)}if(!s&&null===i)return null;if(0===(l=s?n:i))return e;var c=e.slice(l),u=c.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return c.byteLength=u.byteLength,c.duration=u.duration,c.nalCount=u.nalCount,c.pts=c[0].pts,c.dts=c[0].dts,c},this.alignGopsWith=function(e){a=e}}).prototype=new V,(xt=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,xt.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}}).prototype=new V,xt.prototype.flush=function(e){var t,n,r,o,i=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,Tt.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,Ot.forEach((function(e){a.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,r=ne(this.pendingTracks),a.initSegment=new Uint8Array(r.byteLength),a.initSegment.set(r),a.data=new Uint8Array(this.pendingBytes),o=0;o<this.pendingBoxes.length;o++)a.data.set(this.pendingBoxes[o],i),i+=this.pendingBoxes[o].byteLength;for(o=0;o<this.pendingCaptions.length;o++)(t=this.pendingCaptions[o]).startTime=ve(t.startPts,s,this.keepOriginalTimestamps),t.endTime=ve(t.endPts,s,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(o=0;o<this.pendingMetadata.length;o++)(n=this.pendingMetadata[o]).cueTime=ve(n.pts,s,this.keepOriginalTimestamps),a.metadata.push(n);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),o=0;o<a.captions.length;o++)t=a.captions[o],this.trigger("caption",t);for(o=0;o<a.metadata.length;o++)n=a.metadata[o],this.trigger("id3Frame",n)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},xt.prototype.setRemux=function(e){this.remuxTracks=e},(Et=function(e){var t,n,r=this,o=!0;Et.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="aac",o.metadataStream=new lt.MetadataStream,o.aacStream=new kt,o.audioTimestampRolloverStream=new lt.TimestampRolloverStream("audio"),o.timedMetadataTimestampRolloverStream=new lt.TimestampRolloverStream("timed-metadata"),o.adtsStream=new ht,o.coalesceStream=new xt(e,o.metadataStream),o.headOfPipeline=o.aacStream,o.aacStream.pipe(o.audioTimestampRolloverStream).pipe(o.adtsStream),o.aacStream.pipe(o.timedMetadataTimestampRolloverStream).pipe(o.metadataStream).pipe(o.coalesceStream),o.metadataStream.on("timestamp",(function(e){o.aacStream.setTimestamp(e.timeStamp)})),o.aacStream.on("data",(function(i){"timed-metadata"!==i.type&&"audio"!==i.type||o.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new St(n,e),o.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Mt(this,o)},this.setupTsPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="ts",o.metadataStream=new lt.MetadataStream,o.packetStream=new lt.TransportPacketStream,o.parseStream=new lt.TransportParseStream,o.elementaryStream=new lt.ElementaryStream,o.timestampRolloverStream=new lt.TimestampRolloverStream,o.adtsStream=new ht,o.h264Stream=new At,o.captionStream=new lt.CaptionStream(e),o.coalesceStream=new xt(e,o.metadataStream),o.headOfPipeline=o.packetStream,o.packetStream.pipe(o.parseStream).pipe(o.elementaryStream).pipe(o.timestampRolloverStream),o.timestampRolloverStream.pipe(o.h264Stream),o.timestampRolloverStream.pipe(o.adtsStream),o.timestampRolloverStream.pipe(o.metadataStream).pipe(o.coalesceStream),o.h264Stream.pipe(o.captionStream).pipe(o.coalesceStream),o.elementaryStream.on("data",(function(i){var a;if("metadata"===i.type){for(a=i.tracks.length;a--;)t||"video"!==i.tracks[a].type?n||"audio"!==i.tracks[a].type||((n=i.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=i.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!o.videoSegmentStream&&(o.coalesceStream.numberOfTracks++,o.videoSegmentStream=new Ct(t,e),o.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),o.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,o.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),o.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),o.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),o.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&o.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),o.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),o.h264Stream.pipe(o.videoSegmentStream).pipe(o.coalesceStream)),n&&!o.audioSegmentStream&&(o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new St(n,e),o.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),o.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),o.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("id3Frame",(function(e){e.dispatchType=o.metadataStream.dispatchType,r.trigger("id3Frame",e)})),o.coalesceStream.on("caption",this.trigger.bind(this,"caption")),o.coalesceStream.on("done",this.trigger.bind(this,"done")),Mt(this,o)},this.setBaseMediaDecodeTime=function(r){var o=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,Ee(n),o.audioTimestampRolloverStream&&o.audioTimestampRolloverStream.discontinuity()),t&&(o.videoSegmentStream&&(o.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,Ee(t),o.captionStream.reset()),o.timestampRolloverStream&&o.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(e){if(o){var t=Pt(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),o=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){o=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new V;var Lt,Bt,Ft,Ut={Transmuxer:Et,VideoSegmentStream:Ct,AudioSegmentStream:St,AUDIO_PROPERTIES:Ot,VIDEO_PROPERTIES:Tt,generateSegmentTimingInfo:jt},Ht=function(e){return e>>>0},Vt=function(e){return("00"+e.toString(16)).slice(-2)},zt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},qt=Ht,Gt=function e(t,n){var r,o,i,a,s,l=[];if(!n.length)return null;for(r=0;r<t.byteLength;)o=qt(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]),i=zt(t.subarray(r+4,r+8)),a=o>1?r+o:t.byteLength,i===n[0]&&(1===n.length?l.push(t.subarray(r+8,a)):(s=e(t.subarray(r+8,a),n.slice(1))).length&&(l=l.concat(s))),r=a;return l},Wt=Ht,Yt=q.getUint64,Zt=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=Yt(e.subarray(4)):t.baseMediaDecodeTime=Wt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},Kt=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},$t=function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),o=1&n.flags[2],i=4&n.flags[2],a=1&n.flags[1],s=2&n.flags[1],l=4&n.flags[1],c=8&n.flags[1],u=r.getUint32(4),d=8;for(o&&(n.dataOffset=r.getInt32(d),d+=4),i&&u&&(t={flags:Kt(e.subarray(d,d+4))},d+=4,a&&(t.duration=r.getUint32(d),d+=4),s&&(t.size=r.getUint32(d),d+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t),u--);u--;)t={},a&&(t.duration=r.getUint32(d),d+=4),s&&(t.size=r.getUint32(d),d+=4),l&&(t.flags=Kt(e.subarray(d,d+4)),d+=4),c&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t);return n},Qt=function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},o=1&r.flags[2],i=2&r.flags[2],a=8&r.flags[2],s=16&r.flags[2],l=32&r.flags[2],c=65536&r.flags[0],u=131072&r.flags[0];return t=8,o&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),i&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),a&&(r.defaultSampleDuration=n.getUint32(t),t+=4),s&&(r.defaultSampleSize=n.getUint32(t),t+=4),l&&(r.defaultSampleFlags=n.getUint32(t)),c&&(r.durationIsEmpty=!0),!o&&u&&(r.baseDataOffsetIsMoof=!0),r},Xt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},Jt="undefined"!=typeof window?window:void 0!==Xt?Xt:"undefined"!=typeof self?self:{},en=Pe,tn=ze.CaptionStream,nn=function(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(n<o.size)return o;n-=o.size}return null},rn=function(e,t){var n=Gt(e,["moof","traf"]),r=Gt(e,["mdat"]),o={},i=[];return r.forEach((function(e,t){var r=n[t];i.push({mdat:e,traf:r})})),i.forEach((function(e){var n,r=e.mdat,i=e.traf,a=Gt(i,["tfhd"]),s=Qt(a[0]),l=s.trackId,c=Gt(i,["tfdt"]),u=c.length>0?Zt(c[0]).baseMediaDecodeTime:0,d=Gt(i,["trun"]);t===l&&d.length>0&&(n=function(e,t,n){var r,o,i,a,s=new DataView(e.buffer,e.byteOffset,e.byteLength),l={logs:[],seiNals:[]};for(o=0;o+4<e.length;o+=i)if(i=s.getUint32(o),o+=4,!(i<=0))switch(31&e[o]){case 6:var c=e.subarray(o+1,o+1+i),u=nn(o,t);if(r={nalUnitType:"sei_rbsp",size:i,data:c,escapedRBSP:en(c),trackId:n},u)r.pts=u.pts,r.dts=u.dts,a=u;else{if(!a){l.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+o+" for trackId "+n+". See mux.js#223."});break}r.pts=a.pts,r.dts=a.dts}l.seiNals.push(r)}return l}(r,function(e,t,n){var r=t,o=n.defaultSampleDuration||0,i=n.defaultSampleSize||0,a=n.trackId,s=[];return e.forEach((function(e){var t=$t(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=o),void 0===e.size&&(e.size=i),e.trackId=a,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof r?(e.pts=r+Jt.BigInt(e.compositionTimeOffset),r+=Jt.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),s=s.concat(t)})),s}(d,u,s),l),o[l]||(o[l]={seiNals:[],logs:[]}),o[l].seiNals=o[l].seiNals.concat(n.seiNals),o[l].logs=o[l].logs.concat(n.logs))})),o},on=function(){var e,t,n,r,o,i,a=!1;this.isInitialized=function(){return a},this.init=function(t){e=new tn,a=!0,i=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,o.captions.push(e),o.captionStreams[e.stream]=!0})),e.on("log",(function(e){o.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"===Nt(t)&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,i,a){var s;if(!this.isInitialized())return null;if(!i||!a)return null;if(this.isNewInit(i,a))n=i[0],r=a[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,i,a)}return(s=function(e,t,n){if(null===t)return null;var r=rn(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r))&&s.logs&&(o.logs=o.logs.concat(s.logs)),null!==s&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),o):o.logs.length?{logs:o.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;i?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={},o.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,o?this.clearParsedCaptions():o={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},an=Ht,sn=Vt,ln=q.getUint64;Lt=function(e,t){var n=Gt(t,["moof","traf"]).reduce((function(t,n){var r,o,i=Gt(n,["tfhd"])[0],a=an(i[4]<<24|i[5]<<16|i[6]<<8|i[7]),s=e[a]||9e4,l=Gt(n,["tfdt"])[0],c=new DataView(l.buffer,l.byteOffset,l.byteLength);return"bigint"==typeof(r=1===l[0]?ln(l.subarray(4,12)):c.getUint32(4))?o=r/Jt.BigInt(s):"number"!=typeof r||isNaN(r)||(o=r/s),o<Number.MAX_SAFE_INTEGER&&(o=Number(o)),o<t&&(t=o),t}),1/0);return"bigint"==typeof n||isFinite(n)?n:0},Bt=function(e){var t=Gt(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,o={},i=Gt(e,["tkhd"])[0];i&&(r=(t=new DataView(i.buffer,i.byteOffset,i.byteLength)).getUint8(0),o.id=0===r?t.getUint32(12):t.getUint32(20));var a=Gt(e,["mdia","hdlr"])[0];if(a){var s=zt(a.subarray(8,12));o.type="vide"===s?"video":"soun"===s?"audio":s}var l=Gt(e,["mdia","minf","stbl","stsd"])[0];if(l){var c=l.subarray(8);o.codec=zt(c.subarray(4,8));var u,d=Gt(c,[o.codec])[0];d&&(/^[asm]vc[1-9]$/i.test(o.codec)?(u=d.subarray(78),"avcC"===zt(u.subarray(4,8))&&u.length>11?(o.codec+=".",o.codec+=sn(u[9]),o.codec+=sn(u[10]),o.codec+=sn(u[11])):o.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(o.codec)?(u=d.subarray(28),"esds"===zt(u.subarray(4,8))&&u.length>20&&0!==u[19]?(o.codec+="."+sn(u[19]),o.codec+="."+sn(u[20]>>>2&63).replace(/^0/,"")):o.codec="mp4a.40.2"):o.codec=o.codec.toLowerCase())}var p=Gt(e,["mdia","mdhd"])[0];p&&(o.timescale=Ft(p)),n.push(o)})),n};var cn=Lt,un=Bt,dn=(Ft=function(e){var t=0===e[0]?12:20;return an(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},function(e){var t=31&e[1];return t<<=8,t|=e[2]}),pn=function(e){return!!(64&e[1])},fn=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},hn=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},mn={parseType:function(e,t){var n=dn(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=pn(e),n=4+fn(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=pn(e),r=4+fn(e);if(n&&(r+=e[r]+1),1&e[r+5]){var o;o=3+((15&e[r+1])<<8|e[r+2])-4;for(var i=12+((15&e[r+10])<<8|e[r+11]);i<o;){var a=r+i;t[(31&e[a+1])<<8|e[a+2]]=e[a],i+=5+((15&e[a+3])<<8|e[a+4])}return t}},parsePayloadUnitStartIndicator:pn,parsePesType:function(e,t){switch(t[dn(e)]){case qe.H264_STREAM_TYPE:return"video";case qe.ADTS_STREAM_TYPE:return"audio";case qe.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!pn(e))return null;var t=4+fn(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+fn(e),n=e.subarray(t),r=0,o=0,i=!1;o<n.byteLength-3;o++)if(1===n[o+2]){r=o+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}o+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[o+3])&&(i=!0);do{r++}while(1!==n[r]&&r<n.length);o=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[o+3])&&(i=!0),o=r-2,r+=3;break;default:r+=3}return n=n.subarray(o),r-=o,o=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===hn(31&n[o+3])&&(i=!0),i}},gn=Ke,yn={};yn.ts=mn,yn.aac=wt;var vn=fe,bn=function(e,t,n){for(var r,o,i,a,s=0,l=188,c=!1;l<=e.byteLength;)if(71!==e[s]||71!==e[l]&&l!==e.byteLength)s++,l++;else{switch(r=e.subarray(s,l),yn.ts.parseType(r,t.pid)){case"pes":o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"audio"===o&&i&&(a=yn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0)}if(c)break;s+=188,l+=188}for(s=(l=e.byteLength)-188,c=!1;s>=0;)if(71!==e[s]||71!==e[l]&&l!==e.byteLength)s--,l--;else{switch(r=e.subarray(s,l),yn.ts.parseType(r,t.pid)){case"pes":o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"audio"===o&&i&&(a=yn.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),c=!0)}if(c)break;s-=188,l-=188}},_n=function(e,t,n){for(var r,o,i,a,s,l,c,u=0,d=188,p=!1,f={data:[],size:0};d<e.byteLength;)if(71!==e[u]||71!==e[d])u++,d++;else{switch(r=e.subarray(u,d),yn.ts.parseType(r,t.pid)){case"pes":if(o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"video"===o&&(i&&!p&&(a=yn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),p=!0),!n.firstKeyFrame)){if(i&&0!==f.size){for(s=new Uint8Array(f.size),l=0;f.data.length;)c=f.data.shift(),s.set(c,l),l+=c.byteLength;if(yn.ts.videoPacketContainsKeyFrame(s)){var h=yn.ts.parsePesTime(s);h?(n.firstKeyFrame=h,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}f.size=0}f.data.push(r),f.size+=r.byteLength}}if(p&&n.firstKeyFrame)break;u+=188,d+=188}for(u=(d=e.byteLength)-188,p=!1;u>=0;)if(71!==e[u]||71!==e[d])u--,d--;else{switch(r=e.subarray(u,d),yn.ts.parseType(r,t.pid)){case"pes":o=yn.ts.parsePesType(r,t.table),i=yn.ts.parsePayloadUnitStartIndicator(r),"video"===o&&i&&(a=yn.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),p=!0)}if(p)break;u-=188,d-=188}},wn=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,o=188;o<e.byteLength;)if(71!==e[r]||71!==e[o])r++,o++;else{switch(n=e.subarray(r,o),yn.ts.parseType(n,t.pid)){case"pat":t.pid=yn.ts.parsePat(n);break;case"pmt":var i=yn.ts.parsePmt(n);t.table=t.table||{},Object.keys(i).forEach((function(e){t.table[e]=i[e]}))}r+=188,o+=188}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case qe.H264_STREAM_TYPE:n.video=[],_n(e,t,n),0===n.video.length&&delete n.video;break;case qe.ADTS_STREAM_TYPE:n.audio=[],bn(e,t,n),0===n.audio.length&&delete n.audio}}return n},Cn=function(e,t){var n;return(n=yn.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,o=null,i=null,a=0,s=0;e.length-s>=3;){switch(yn.aac.parseType(e,s)){case"timed-metadata":if(e.length-s<10){n=!0;break}if((a=yn.aac.parseId3TagSize(e,s))>e.length){n=!0;break}null===i&&(t=e.subarray(s,s+a),i=yn.aac.parseAacTimestamp(t)),s+=a;break;case"audio":if(e.length-s<7){n=!0;break}if((a=yn.aac.parseAdtsSize(e,s))>e.length){n=!0;break}null===o&&(t=e.subarray(s,s+a),o=yn.aac.parseSampleRate(t)),r++,s+=a;break;default:s++}if(n)return null}if(null===o||null===i)return null;var l=vn/o;return{audio:[{type:"audio",dts:i,pts:i},{type:"audio",dts:i+1024*r*l,pts:i+1024*r*l}]}}(e):wn(e))&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;(void 0===n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=gn(e.dts,n),e.pts=gn(e.pts,n),e.dtsTime=e.dts/vn,e.ptsTime=e.pts/vn}))}if(e.video&&e.video.length){var r=t;if((void 0===r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=gn(e.dts,r),e.pts=gn(e.pts,r),e.dtsTime=e.dts/vn,e.ptsTime=e.pts/vn})),e.firstKeyFrame){var o=e.firstKeyFrame;o.dts=gn(o.dts,r),o.pts=gn(o.pts,r),o.dtsTime=o.dts/vn,o.ptsTime=o.pts/vn}}}(n,t),n):null},Sn=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ut.Transmuxer(this.options),function(e,t){t.on("data",(function(t){var n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};var r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){var n={start:{decode:me(t.start.dts),presentation:me(t.start.pts)},end:{decode:me(t.end.dts),presentation:me(t.end.pts)},baseMediaDecodeTime:me(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=me(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){var n={start:{decode:me(t.start.dts),presentation:me(t.start.pts)},end:{decode:me(t.end.dts),presentation:me(t.end.pts)},baseMediaDecodeTime:me(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=me(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:me(t.start),end:me(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:me(t.start),end:me(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new on,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),n=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:n&&n.captions||[],logs:n&&n.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,n=e.data,r=cn(t,n);this.self.postMessage({action:"probeMp4StartTime",startTime:r,data:n},[n.buffer])},t.probeMp4Tracks=function(e){var t=e.data,n=un(t);this.self.postMessage({action:"probeMp4Tracks",tracks:n,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,n=e.baseStartTime,r="number"!=typeof n||isNaN(n)?void 0:n*fe,o=Cn(t,r),i=null;o&&((i={hasVideo:o.video&&2===o.video.length||!1,hasAudio:o.audio&&2===o.audio.length||!1}).hasVideo&&(i.videoStart=o.video[0].ptsTime),i.hasAudio&&(i.audioStart=o.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:i,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(he(t)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(he(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new Sn(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new Sn(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}})))),ml=function(e){var t=e.transmuxer,n=e.bytes,r=e.audioAppendStart,o=e.gopsToAlignWith,i=e.remux,a=e.onData,s=e.onTrackInfo,l=e.onAudioTimingInfo,c=e.onVideoTimingInfo,u=e.onVideoSegmentTimingInfo,d=e.onAudioSegmentTimingInfo,p=e.onId3,f=e.onCaptions,h=e.onDone,m=e.onEndedTimeline,g=e.onTransmuxerLog,y=e.isEndOfTimeline,v={buffer:[]},b=y;if(t.onmessage=function(n){t.currentTransmux===e&&("data"===n.data.action&&function(e,t,n){var r=e.data.segment,o=r.type,i=r.initSegment,a=r.captions,s=r.captionStreams,l=r.metadata,c=r.videoFrameDtsTime,u=r.videoFramePtsTime;t.buffer.push({captions:a,captionStreams:s,metadata:l});var d=e.data.segment.boxes||{data:e.data.segment.data},p={type:o,data:new Uint8Array(d.data,d.data.byteOffset,d.data.byteLength),initSegment:new Uint8Array(i.data,i.byteOffset,i.byteLength)};void 0!==c&&(p.videoFrameDtsTime=c),void 0!==u&&(p.videoFramePtsTime=u),n(p)}(n,v,a),"trackinfo"===n.data.action&&s(n.data.trackInfo),"gopInfo"===n.data.action&&function(e,t){t.gopInfo=e.data.gopInfo}(n,v),"audioTimingInfo"===n.data.action&&l(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&c(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&u(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&d(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&p([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&f(n.data.caption),"endedtimeline"===n.data.action&&(b=!1,m()),"log"===n.data.action&&g(n.data.log),"transmuxed"===n.data.type&&(b||(t.onmessage=null,function(e){var t=e.transmuxedData,n=e.callback;t.buffer=[],n(t)}({transmuxedData:v,callback:h}),gl(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(o)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:o}),void 0!==i&&t.postMessage({action:"setRemux",remux:i}),n.byteLength){var _=n instanceof ArrayBuffer?n:n.buffer,w=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:_,byteOffset:w,byteLength:n.byteLength},[_])}y&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},gl=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():ml(e.currentTransmux))},yl=function(e,t){e.postMessage({action:t}),gl(e)},vl=function(e,t){if(!t.currentTransmux)return t.currentTransmux=e,void yl(t,e);t.transmuxQueue.push(yl.bind(null,t,e))},bl=function(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void ml(e);e.transmuxer.transmuxQueue.push(e)},_l=function(e){vl("reset",e)},wl=function(e){var t=new hl;t.currentTransmux=null,t.transmuxQueue=[];var n=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)},t.postMessage({action:"init",options:e}),t},Cl=function(e){var t=e.transmuxer,n=e.endAction||e.action,r=e.callback,o=c({},e,{endAction:null,transmuxer:null,callback:null});if(t.addEventListener("message",(function o(i){i.data.action===n&&(t.removeEventListener("message",o),i.data.data&&(i.data.data=new Uint8Array(i.data.data,e.byteOffset||0,e.byteLength||i.data.data.byteLength),e.data&&(e.data=i.data.data)),r(i.data))})),e.data){var i=e.data instanceof ArrayBuffer;o.byteOffset=i?0:e.data.byteOffset,o.byteLength=e.data.byteLength;var a=[i?e.data:e.data.buffer];t.postMessage(o,a)}else t.postMessage(o)},Sl=2,El=-101,xl=-102,kl=function(e){e.forEach((function(e){e.abort()}))},Ol=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:El,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:xl,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Sl,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Sl,xhr:t}:null},Tl=function(e,t,n){return function(r,o){var i=o.response,a=Ol(r,o);if(a)return n(a,e);if(16!==i.byteLength)return n({status:o.status,message:"Invalid HLS key at URL: "+o.uri,code:Sl,xhr:o},e);for(var s=new DataView(i),l=new Uint32Array([s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12)]),c=0;c<t.length;c++)t[c].bytes=l;return n(null,e)}},Al=function(e,t){var n=Pt(e.map.bytes);if("mp4"!==n){var r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:"Found unsupported "+(n||"unknown")+" container for initialization segment at URL: "+r,code:Sl})}Cl({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:function(n){var r=n.tracks,o=n.data;return e.map.bytes=o,r.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"==typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null)}})},Pl=function(e){var t=e.segment,n=e.finishProcessingFn,r=e.responseType;return function(e,o){var i=Ol(e,o);if(i)return n(i,t);var a="arraybuffer"!==r&&o.responseText?function(e){for(var t=new Uint8Array(new ArrayBuffer(e.length)),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer}(o.responseText.substring(t.lastReachedChar||0)):o.response;return t.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(o),t.key?t.encryptedBytes=new Uint8Array(a):t.bytes=new Uint8Array(a),n(null,t)}},Rl=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog,h=t.map&&t.map.tracks||{},m=Boolean(h.audio&&h.video),g=o.bind(null,t,"audio","start"),y=o.bind(null,t,"audio","end"),v=o.bind(null,t,"video","start"),b=o.bind(null,t,"video","end");Cl({action:"probeTs",transmuxer:t.transmuxer,data:n,baseStartTime:t.baseStartTime,callback:function(e){t.bytes=n=e.data;var o=e.result;o&&(r(t,{hasAudio:o.hasAudio,hasVideo:o.hasVideo,isMuxed:m}),r=null,o.hasAudio&&!m&&g(o.audioStart),o.hasVideo&&v(o.videoStart),g=null,v=null),bl({bytes:n,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,remux:m,onData:function(e){e.type="combined"===e.type?"video":e.type,d(t,e)},onTrackInfo:function(e){r&&(m&&(e.isMuxed=!0),r(t,e))},onAudioTimingInfo:function(e){g&&void 0!==e.start&&(g(e.start),g=null),y&&void 0!==e.end&&y(e.end)},onVideoTimingInfo:function(e){v&&void 0!==e.start&&(v(e.start),v=null),b&&void 0!==e.end&&b(e.end)},onVideoSegmentTimingInfo:function(e){i(e)},onAudioSegmentTimingInfo:function(e){a(e)},onId3:function(e,n){s(t,e,n)},onCaptions:function(e){l(t,[e])},isEndOfTimeline:c,onEndedTimeline:function(){u()},onTransmuxerLog:f,onDone:function(e){p&&(e.type="combined"===e.type?"video":e.type,p(null,t,e))}})}})},Il=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog,h=new Uint8Array(n);if(function(e){return ht(e,["moof"]).length>0}(h)){t.isFmp4=!0;var m=t.map.tracks,g={isFmp4:!0,hasVideo:!!m.video,hasAudio:!!m.audio};m.audio&&m.audio.codec&&"enca"!==m.audio.codec&&(g.audioCodec=m.audio.codec),m.video&&m.video.codec&&"encv"!==m.video.codec&&(g.videoCodec=m.video.codec),m.video&&m.audio&&(g.isMuxed=!0),r(t,g);var y=function(e){d(t,{data:h,type:g.hasAudio&&!g.isMuxed?"audio":"video"}),e&&e.length&&l(t,e),p(null,t,{})};Cl({action:"probeMp4StartTime",timescales:t.map.timescales,data:h,transmuxer:t.transmuxer,callback:function(e){var r=e.data,i=e.startTime;n=r.buffer,t.bytes=h=r,g.hasAudio&&!g.isMuxed&&o(t,"audio","start",i),g.hasVideo&&o(t,"video","start",i),m.video&&r.byteLength&&t.transmuxer?Cl({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:t.transmuxer,data:h,timescales:t.map.timescales,trackIds:[m.video.id],callback:function(e){n=e.data.buffer,t.bytes=h=e.data,e.logs.forEach((function(e){f(Ga.mergeOptions(e,{stream:"mp4CaptionParser"}))})),y(e.captions)}}):y()}})}else if(t.transmuxer){if(void 0===t.container&&(t.container=Pt(h)),"ts"!==t.container&&"aac"!==t.container)return r(t,{hasAudio:!1,hasVideo:!1}),void p(null,t,{});Rl({segment:t,bytes:n,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f})}else p(null,t,{})},Ml=function(e,t){var n,r=e.id,o=e.key,i=e.encryptedBytes,a=e.decryptionWorker;a.addEventListener("message",(function e(n){if(n.data.source===r){a.removeEventListener("message",e);var o=n.data.decrypted;t(new Uint8Array(o.bytes,o.byteOffset,o.byteLength))}})),n=o.bytes.slice?o.bytes.slice():new Uint32Array(Array.prototype.slice.call(o.bytes)),a.postMessage(Ws({source:r,encrypted:i,key:n,iv:o.iv}),[i.buffer,n.buffer])},Nl=function(e){var t=e.activeXhrs,n=e.decryptionWorker,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog,h=0,m=!1;return function(e,g){if(!m){if(e)return m=!0,kl(t),p(e,g);if((h+=1)===t.length){var y=function(){if(g.encryptedBytes)return function(e){var t=e.decryptionWorker,n=e.segment,r=e.trackInfoFn,o=e.timingInfoFn,i=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,l=e.captionsFn,c=e.isEndOfTimeline,u=e.endedTimelineFn,d=e.dataFn,p=e.doneFn,f=e.onTransmuxerLog;Ml({id:n.requestId,key:n.key,encryptedBytes:n.encryptedBytes,decryptionWorker:t},(function(e){n.bytes=e,Il({segment:n,bytes:n.bytes,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f})}))}({decryptionWorker:n,segment:g,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f});Il({segment:g,bytes:g.bytes,trackInfoFn:r,timingInfoFn:o,videoSegmentTimingInfoFn:i,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:u,dataFn:d,doneFn:p,onTransmuxerLog:f})};if(g.endOfAllRequests=Date.now(),g.map&&g.map.encryptedBytes&&!g.map.bytes)return Ml({decryptionWorker:n,id:g.requestId+"-init",encryptedBytes:g.map.encryptedBytes,key:g.map.key},(function(e){g.map.bytes=e,Al(g,(function(e){if(e)return kl(t),p(e,g);y()}))}));y()}}}},Dl=function(e){var t=e.segment,n=e.progressFn;return e.trackInfoFn,e.timingInfoFn,e.videoSegmentTimingInfoFn,e.audioSegmentTimingInfoFn,e.id3Fn,e.captionsFn,e.isEndOfTimeline,e.endedTimelineFn,e.dataFn,function(e){if(!e.target.aborted)return t.stats=Ga.mergeOptions(t.stats,function(e){var t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n}(e)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),n(e,t)}},jl=function(e){var t=e.xhr,n=e.xhrOptions,r=e.decryptionWorker,o=e.segment,i=e.abortFn,a=e.progressFn,s=e.trackInfoFn,l=e.timingInfoFn,c=e.videoSegmentTimingInfoFn,u=e.audioSegmentTimingInfoFn,d=e.id3Fn,p=e.captionsFn,f=e.isEndOfTimeline,h=e.endedTimelineFn,m=e.dataFn,g=e.doneFn,y=e.onTransmuxerLog,v=[],b=Nl({activeXhrs:v,decryptionWorker:r,trackInfoFn:s,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:u,id3Fn:d,captionsFn:p,isEndOfTimeline:f,endedTimelineFn:h,dataFn:m,doneFn:g,onTransmuxerLog:y});if(o.key&&!o.key.bytes){var _=[o.key];o.map&&!o.map.bytes&&o.map.key&&o.map.key.resolvedUri===o.key.resolvedUri&&_.push(o.map.key);var w=t(Ga.mergeOptions(n,{uri:o.key.resolvedUri,responseType:"arraybuffer"}),Tl(o,_,b));v.push(w)}if(o.map&&!o.map.bytes){if(o.map.key&&(!o.key||o.key.resolvedUri!==o.map.key.resolvedUri)){var C=t(Ga.mergeOptions(n,{uri:o.map.key.resolvedUri,responseType:"arraybuffer"}),Tl(o,[o.map.key],b));v.push(C)}var S=t(Ga.mergeOptions(n,{uri:o.map.resolvedUri,responseType:"arraybuffer",headers:Vs(o.map)}),function(e){var t=e.segment,n=e.finishProcessingFn;return function(e,r){var o=Ol(e,r);if(o)return n(o,t);var i=new Uint8Array(r.response);if(t.map.key)return t.map.encryptedBytes=i,n(null,t);t.map.bytes=i,Al(t,(function(e){if(e)return e.xhr=r,e.status=r.status,n(e,t);n(null,t)}))}}({segment:o,finishProcessingFn:b}));v.push(S)}var E=Ga.mergeOptions(n,{uri:o.part&&o.part.resolvedUri||o.resolvedUri,responseType:"arraybuffer",headers:Vs(o)}),x=t(E,Pl({segment:o,finishProcessingFn:b,responseType:E.responseType}));x.addEventListener("progress",Dl({segment:o,progressFn:a,trackInfoFn:s,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:u,id3Fn:d,captionsFn:p,isEndOfTimeline:f,endedTimelineFn:h,dataFn:m})),v.push(x);var k={};return v.forEach((function(e){e.addEventListener("loadend",function(e){var t=e.loadendState,n=e.abortFn;return function(e){e.target.aborted&&n&&!t.calledAbortFn&&(n(),t.calledAbortFn=!0)}}({loadendState:k,abortFn:i}))})),function(){return kl(v)}},Ll=$a("CodecUtils"),Bl=function(e,t){var n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},Fl=function(e){var t={};return e.forEach((function(e){var n=e.mediaType,r=e.type,o=e.details;t[n]=t[n]||[],t[n].push(z(""+r+o))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return Ll("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(t[e]=null);t[e]=t[e][0]})),t},Ul=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},Hl=function(e,t){var n=t.attributes||{},r=Fl(function(e){var t=e.attributes||{};if(t.CODECS)return q(t.CODECS)}(t)||[]);if(Bl(e,t)&&!r.audio&&!function(e,t){if(!Bl(e,t))return!0;var n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(var o in r)if(!r[o].uri&&!r[o].playlists)return!0;return!1}(e,t)){var o=Fl(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var o=n[r];if(o.default&&o.playlists)return q(o.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[]);o.audio&&(r.audio=o.audio)}return r},Vl=$a("PlaylistSelector"),zl=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},ql=function(e,t){if(!e)return"";var n=a().getComputedStyle(e);return n?n[t]:""},Gl=function(e,t){var n=e.slice();e.sort((function(e,r){var o=t(e,r);return 0===o?n.indexOf(e)-n.indexOf(r):o}))},Wl=function(e,t){var n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||a().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||a().Number.MAX_VALUE)},Yl=function(e,t,n,r,o,i){if(e){var s={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:o},l=e.playlists;Cs.isAudioOnly(e)&&(l=i.getAudioTrackPlaylists_(),s.audioOnly=!0);var c=l.map((function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||a().Number.MAX_VALUE,width:t,height:n,playlist:e}}));Gl(c,(function(e,t){return e.bandwidth-t.bandwidth}));var u=(c=c.filter((function(e){return!Cs.isIncompatible(e.playlist)}))).filter((function(e){return Cs.isEnabled(e.playlist)}));u.length||(u=c.filter((function(e){return!Cs.isDisabled(e.playlist)})));var d=u.filter((function(e){return e.bandwidth*cl.BANDWIDTH_VARIANCE<t})),p=d[d.length-1],f=d.filter((function(e){return e.bandwidth===p.bandwidth}))[0];if(!1===o){var h=f||u[0]||c[0];if(h&&h.playlist){var m="sortedPlaylistReps";return f&&(m="bandwidthBestRep"),u[0]&&(m="enabledPlaylistReps"),Vl("choosing "+zl(h)+" using "+m+" with options",s),h.playlist}return Vl("could not choose a playlist with options",s),null}var g=d.filter((function(e){return e.width&&e.height}));Gl(g,(function(e,t){return e.width-t.width}));var y=g.filter((function(e){return e.width===n&&e.height===r}));p=y[y.length-1];var v,b,_,w,C=y.filter((function(e){return e.bandwidth===p.bandwidth}))[0];if(C||(b=(v=g.filter((function(e){return e.width>n||e.height>r}))).filter((function(e){return e.width===v[0].width&&e.height===v[0].height})),p=b[b.length-1],_=b.filter((function(e){return e.bandwidth===p.bandwidth}))[0]),i.experimentalLeastPixelDiffSelector){var S=g.map((function(e){return e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e}));Gl(S,(function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff})),w=S[0]}var E=w||_||C||f||u[0]||c[0];if(E&&E.playlist){var x="sortedPlaylistReps";return w?x="leastPixelDiffRep":_?x="resolutionPlusOneRep":C?x="resolutionBestRep":f?x="bandwidthBestRep":u[0]&&(x="enabledPlaylistReps"),Vl("choosing "+zl(E)+" using "+x+" with options",s),E.playlist}return Vl("could not choose a playlist with options",s),null}},Zl=function(){var e=this.useDevicePixelRatio&&a().devicePixelRatio||1;return Yl(this.playlists.master,this.systemBandwidth,parseInt(ql(this.tech_.el(),"width"),10)*e,parseInt(ql(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},Kl=function(e){var t=e.inbandTextTracks,n=e.metadataArray,r=e.timestampOffset,o=e.videoDuration;if(n){var i=a().WebKitDataCue||a().VTTCue,s=t.metadataTrack_;if(s&&(n.forEach((function(e){var t=e.cueTime+r;!("number"!=typeof t||a().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((function(e){var n=new i(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return Ga.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return Ga.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return Ga.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(n),s.addCue(n)}))})),s.cues&&s.cues.length)){for(var l=s.cues,c=[],u=0;u<l.length;u++)l[u]&&c.push(l[u]);var d=c.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),p=Object.keys(d).sort((function(e,t){return Number(e)-Number(t)}));p.forEach((function(e,t){var n=d[e],r=Number(p[t+1])||o;n.forEach((function(e){e.endTime=r}))}))}}},$l=function(e,t,n){var r,o;if(n&&n.cues)for(r=n.cues.length;r--;)(o=n.cues[r]).startTime>=e&&o.endTime<=t&&n.removeCue(o)},Ql=function(e){return"number"==typeof e&&isFinite(e)},Xl=function(e){var t=e.startOfSegment,n=e.duration,r=e.segment,o=e.part,i=e.playlist,a=i.mediaSequence,s=i.id,l=i.segments,c=void 0===l?[]:l,u=e.mediaIndex,d=e.partIndex,p=e.timeline,f=c.length-1,h="mediaIndex/partIndex increment";e.getMediaInfoForTime?h="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(h="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(h+=" with independent "+e.independent);var m="number"==typeof d,g=e.segment.uri?"segment":"pre-segment",y=m?ls({preloadSegment:r})-1:0;return g+" ["+(a+u)+"/"+(a+f)+"]"+(m?" part ["+d+"/"+y+"]":"")+" segment start/end ["+r.start+" => "+r.end+"]"+(m?" part start/end ["+o.start+" => "+o.end+"]":"")+" startOfSegment ["+t+"] duration ["+n+"] timeline ["+p+"] selected by ["+h+"] playlist ["+s+"]"},Jl=function(e){return e+"TimingInfo"},ec=function(e){var t=e.timelineChangeController,n=e.currentTimeline,r=e.segmentTimeline,o=e.loaderType,i=e.audioDisabled;if(n===r)return!1;if("audio"===o){var a=t.lastTimelineChange({type:"main"});return!a||a.to!==r}if("main"===o&&i){var s=t.pendingTimelineChange({type:"audio"});return!s||s.to!==r}return!1},tc=function(e){var t=e.segmentDuration,n=e.maxDuration;return!!t&&Math.round(t)>n+1/30},nc=function(e,t){if("hls"!==t)return null;var n,r,o=(n={audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo},r=0,["video","audio"].forEach((function(e){var t=n[e+"TimingInfo"];if(t){var o,i=t.start,s=t.end;"bigint"==typeof i||"bigint"==typeof s?o=a().BigInt(s)-a().BigInt(i):"number"==typeof i&&"number"==typeof s&&(o=s-i),void 0!==o&&o>r&&(r=o)}})),"bigint"==typeof r&&r<Number.MAX_SAFE_INTEGER&&(r=Number(r)),r);if(!o)return null;var i=e.playlist.targetDuration,s=tc({segmentDuration:o,maxDuration:2*i}),l=tc({segmentDuration:o,maxDuration:i}),c="Segment with index "+e.mediaIndex+" from playlist "+e.playlist.id+" has a duration of "+o+" when the reported duration is "+e.duration+" and the target duration is "+i+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return s||l?{severity:s?"warn":"info",message:c}:null},rc=function(e){function t(t,n){var r;if(r=e.call(this)||this,!t)throw new TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");return r.bandwidth=t.bandwidth,r.throughput={rate:0,count:0},r.roundTrip=NaN,r.resetStats_(),r.mediaIndex=null,r.partIndex=null,r.hasPlayed_=t.hasPlayed,r.currentTime_=t.currentTime,r.seekable_=t.seekable,r.seeking_=t.seeking,r.duration_=t.duration,r.mediaSource_=t.mediaSource,r.vhs_=t.vhs,r.loaderType_=t.loaderType,r.currentMediaInfo_=void 0,r.startingMediaInfo_=void 0,r.segmentMetadataTrack_=t.segmentMetadataTrack,r.goalBufferLength_=t.goalBufferLength,r.sourceType_=t.sourceType,r.sourceUpdater_=t.sourceUpdater,r.inbandTextTracks_=t.inbandTextTracks,r.state_="INIT",r.timelineChangeController_=t.timelineChangeController,r.shouldSaveSegmentTimingInfo_=!0,r.parse708captions_=t.parse708captions,r.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,r.captionServices_=t.captionServices,r.experimentalExactManifestTimings=t.experimentalExactManifestTimings,r.checkBufferTimeout_=null,r.error_=void 0,r.currentTimeline_=-1,r.pendingSegment_=null,r.xhrOptions_=null,r.pendingSegments_=[],r.audioDisabled_=!1,r.isPendingTimestampOffset_=!1,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=Ga.browser.IE_VERSION>=11,r.appendInitSegment_={audio:!0,video:!0},r.playlistOfLastInitSegment_={audio:null,video:null},r.callQueue_=[],r.loadQueue_=[],r.metadataQueue_={id3:[],caption:[]},r.waitingOnRemove_=!1,r.quotaExceededErrorRetryTimeout_=null,r.activeInitSegmentId_=null,r.initSegments_={},r.cacheEncryptionKeys_=t.cacheEncryptionKeys,r.keyCache_={},r.decrypter_=t.decrypter,r.syncController_=t.syncController,r.syncPoint_={segmentIndex:0,time:0},r.transmuxer_=r.createTransmuxer_(),r.triggerSyncInfoUpdate_=function(){return r.trigger("syncinfoupdate")},r.syncController_.on("syncinfoupdate",r.triggerSyncInfoUpdate_),r.mediaSource_.addEventListener("sourceopen",(function(){r.isEndOfStream_()||(r.ended_=!1)})),r.fetchAtBuffer_=!1,r.logger_=$a("SegmentLoader["+r.loaderType_+"]"),Object.defineProperty(p(r),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),r.sourceUpdater_.on("ready",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"main"===r.loaderType_&&r.timelineChangeController_.on("pendingtimelinechange",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"audio"===r.loaderType_&&r.timelineChangeController_.on("timelinechange",(function(){r.hasEnoughInfoToLoad_()&&r.processLoadQueue_(),r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),r}h(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return wl({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},n.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},n.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&a().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},n.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},n.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},n.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,a().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},n.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},n.error=function(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},n.endOfStream=function(){this.ended_=!0,this.transmuxer_&&_l(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},n.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Ga.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,n=e.hasVideo,r=e.isMuxed;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ys(e),r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),r||e},n.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Zs(e),r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});var o={resolvedUri:(r||e).resolvedUri};return r&&(o.bytes=r.bytes),o},n.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},n.load=function(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.playlist=function(e,t){if(void 0===t&&(t={}),e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var o=null;if(n&&(n.id?o=n.id:n.uri&&(o=n.uri)),this.logger_("playlist update ["+o+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var i=e.mediaSequence-n.mediaSequence;if(this.logger_("live window shift ["+i+"]"),null!==this.mediaIndex)if(this.mediaIndex-=i,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var a=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!a.parts||!a.parts.length||!a.parts[this.partIndex])){var s=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=s}}r&&(r.mediaIndex-=i,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}},n.pause=function(){this.checkBufferTimeout_&&(a().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},n.paused=function(){return null===this.checkBufferTimeout_},n.resetEverything=function(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},n.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},n.resyncLoader=function(){this.transmuxer_&&_l(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},n.remove=function(e,t,n,r){if(void 0===n&&(n=function(){}),void 0===r&&(r=!1),t===1/0&&(t=this.duration_()),t<=e)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var o=1,i=function(){0===--o&&n()};for(var a in!r&&this.audioDisabled_||(o++,this.sourceUpdater_.removeAudio(e,t,i)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=function(e,t,n,r){for(var o=Math.ceil((t-r)*Rt.ONE_SECOND_IN_TS),i=Math.ceil((n-r)*Rt.ONE_SECOND_IN_TS),a=e.slice(),s=e.length;s--&&!(e[s].pts<=i););if(-1===s)return a;for(var l=s+1;l--&&!(e[l].pts<=o););return l=Math.max(l,0),a.splice(l,s-l+1),a}(this.gopBuffer_,e,t,this.timeMapping_),o++,this.sourceUpdater_.removeVideo(e,t,i)),this.inbandTextTracks_)$l(e,t,this.inbandTextTracks_[a]);$l(e,t,this.segmentMetadataTrack_),i()}else this.logger_("skipping remove because no source updater or starting media info")},n.monitorBuffer_=function(){this.checkBufferTimeout_&&a().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=a().setTimeout(this.monitorBufferTick_.bind(this),1)},n.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&a().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=a().setTimeout(this.monitorBufferTick_.bind(this),500)},n.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},n.isEndOfStream_=function(e,t,n){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===n&&(n=this.partIndex),!t||!this.mediaSource_)return!1;var r="number"==typeof e&&t.segments[e],o=e+1===t.segments.length,i=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&o&&i},n.chooseNextRequest_=function(){var e=this.buffered_(),t=ns(e)||0,n=rs(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,o=n>=this.goalBufferLength_(),i=this.playlist_.segments;if(!i.length||r||o)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var a={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(a.isSyncRequest)a.mediaIndex=function(e,t,n){t=t||[];for(var r=[],o=0,i=0;i<t.length;i++){var a=t[i];if(e===a.timeline&&(r.push(i),(o+=a.duration)>n))return i}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,i,t);else if(null!==this.mediaIndex){var s=i[this.mediaIndex],l="number"==typeof this.partIndex?this.partIndex:-1;a.startOfSegment=s.end?s.end:t,s.parts&&s.parts[l+1]?(a.mediaIndex=this.mediaIndex,a.partIndex=l+1):a.mediaIndex=this.mediaIndex+1}else{var c=Cs.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),u=c.segmentIndex,d=c.startTime,p=c.partIndex;a.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),a.mediaIndex=u,a.startOfSegment=d,a.partIndex=p}var f=i[a.mediaIndex],h=f&&"number"==typeof a.partIndex&&f.parts&&f.parts[a.partIndex];if(!f||"number"==typeof a.partIndex&&!h)return null;if("number"!=typeof a.partIndex&&f.parts&&(a.partIndex=0,h=f.parts[0]),!n&&h&&!h.independent)if(0===a.partIndex){var m=i[a.mediaIndex-1],g=m.parts&&m.parts.length&&m.parts[m.parts.length-1];g&&g.independent&&(a.mediaIndex-=1,a.partIndex=m.parts.length-1,a.independent="previous segment")}else f.parts[a.partIndex-1].independent&&(a.partIndex-=1,a.independent="previous part");var y=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return a.mediaIndex>=i.length-1&&y&&!this.seeking_()?null:this.generateSegmentInfo_(a)},n.generateSegmentInfo_=function(e){var t=e.independent,n=e.playlist,r=e.mediaIndex,o=e.startOfSegment,i=e.isSyncRequest,a=e.partIndex,s=e.forceTimestampOffset,l=e.getMediaInfoForTime,c=n.segments[r],u="number"==typeof a&&c.parts[a],d={requestId:"segment-loader-"+Math.random(),uri:u&&u.resolvedUri||c.resolvedUri,mediaIndex:r,partIndex:u?a:null,isSyncRequest:i,startOfSegment:o,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:c.timeline,duration:u&&u.duration||c.duration,segment:c,part:u,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:l,independent:t},p=void 0!==s?s:this.isPendingTimestampOffset_;d.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:c.timeline,currentTimeline:this.currentTimeline_,startOfSegment:o,buffered:this.buffered_(),overrideCheck:p});var f=ns(this.sourceUpdater_.audioBuffered());return"number"==typeof f&&(d.audioAppendStart=f-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(d.gopsToAlignWith=function(e,t,n){if(null==t||!e.length)return[];var r,o=Math.ceil((t-n+3)*Rt.ONE_SECOND_IN_TS);for(r=0;r<e.length&&!(e[r].pts>o);r++);return e.slice(r)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),d},n.timestampOffsetForSegment_=function(e){return n=(t=e).segmentTimeline,r=t.currentTimeline,o=t.startOfSegment,i=t.buffered,t.overrideCheck||n!==r?n<r?o:i.length?i.end(i.length-1):o:null;var t,n,r,o,i},n.earlyAbortWhenNeeded_=function(e){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)){var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,o=Cs.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),i=function(e,t,n){return void 0===n&&(n=1),((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(!(o<=i)){var a=function(e){var t=e.master,n=e.currentTime,r=e.bandwidth,o=e.duration,i=e.segmentDuration,a=e.timeUntilRebuffer,s=e.currentTimeline,l=e.syncController,c=t.playlists.filter((function(e){return!Cs.isIncompatible(e)})),u=c.filter(Cs.isEnabled);u.length||(u=c.filter((function(e){return!Cs.isDisabled(e)})));var d=u.filter(Cs.hasAttribute.bind(null,"BANDWIDTH")).map((function(e){var t=l.getSyncPoint(e,o,s,n)?1:2;return{playlist:e,rebufferingImpact:Cs.estimateSegmentRequestTime(i,r,e)*t-a}})),p=d.filter((function(e){return e.rebufferingImpact<=0}));return Gl(p,(function(e,t){return Wl(t.playlist,e.playlist)})),p.length?p[0]:(Gl(d,(function(e,t){return e.rebufferingImpact-t.rebufferingImpact})),d[0]||null)}({master:this.vhs_.playlists.master,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:i,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(a){var s=o-i-a.rebufferingImpact,l=.5;i<=1/30&&(l=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<l||(this.bandwidth=a.playlist.attributes.BANDWIDTH*cl.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},n.handleAbort_=function(e){this.logger_("Aborting "+Xl(e)),this.mediaRequestsAborted+=1},n.handleProgress_=function(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")},n.handleTrackInfo_=function(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;var n=Object.keys(e).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(i!==r[o])return!1;if(e[i]!==t[i])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},n.handleTimingInfo_=function(e,t,n,r){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){var o=this.pendingSegment_,i=Jl(t);o[i]=o[i]||{},o[i][n]=r,this.logger_("timinginfo: "+t+" - "+n+" - "+r),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},n.handleCaptions_=function(e,t){var n=this;if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(0!==t.length)if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),o={};t.forEach((function(e){o[e.stream]=o[e.stream]||{startTime:1/0,captions:[],endTime:0};var t=o[e.stream];t.startTime=Math.min(t.startTime,e.startTime+r),t.endTime=Math.max(t.endTime,e.endTime+r),t.captions.push(e)})),Object.keys(o).forEach((function(e){var t=o[e],i=t.startTime,s=t.endTime,l=t.captions,c=n.inbandTextTracks_;n.logger_("adding cues from "+i+" -> "+s+" for "+e),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);var o=t.textTracks().getTrackById(r);if(o)e[n]=o;else{var i=n,a=n,s=!1,l=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];l&&(i=l.label,a=l.language,s=l.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:s,label:i,language:a},!1).track}}}(c,n.vhs_.tech_,e),$l(i,s,c[e]),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var o=a().WebKitDataCue||a().VTTCue;n.forEach((function(e){var n=e.stream;t[n].addCue(new o(e.startTime+r,e.endTime+r,e.text))}))}}({captionArray:l,inbandTextTracks:c,timestampOffset:r})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));else this.logger_("SegmentLoader received no captions from a caption event")},n.handleId3_=function(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(e,t,n){e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)}(this.inbandTextTracks_,n,this.vhs_.tech_),Kl({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n))},n.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(e){return e()})),this.metadataQueue_.caption.forEach((function(e){return e()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},n.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach((function(e){return e()}))},n.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach((function(e){return e()}))},n.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!ec({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},n.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},n.getPendingSegmentPlaylist=function(){return this.pendingSegment_?this.pendingSegment_.playlist:null},n.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var n=t.hasAudio,r=t.hasVideo,o=t.isMuxed;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!o&&!e.audioTimingInfo)&&!ec({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[Jl(t.type)].start;else{var r,o=this.getCurrentMediaInfo_(),i="main"===this.loaderType_&&o&&o.hasVideo;i&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:i,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});var a=this.chooseNextRequest_();if(a.mediaIndex!==n.mediaIndex||a.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},n.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},n.getInitSegmentAndUpdateState_=function(e){var t=e.type,n=e.initSegment,r=e.map,o=e.playlist;if(r){var i=Ys(r);if(this.activeInitSegmentId_===i)return null;n=this.initSegmentForMap(r,!0).bytes,this.activeInitSegmentId_=i}return n&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=o,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,n):null},n.handleQuotaExceededError_=function(e,t){var n=this,r=e.segmentInfo,o=e.type,i=e.bytes,s=this.sourceUpdater_.audioBuffered(),l=this.sourceUpdater_.videoBuffered();s.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+ts(s).join(", ")),l.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+ts(l).join(", "));var c=s.length?s.start(0):0,u=s.length?s.end(s.length-1):0,d=l.length?l.start(0):0,p=l.length?l.end(l.length-1):0;if(u-c<=1&&p-d<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+i.byteLength+", audio buffer: "+ts(s).join(", ")+", video buffer: "+ts(l).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:r,type:o,bytes:i}));var f=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+f),this.remove(0,f,(function(){n.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=a().setTimeout((function(){n.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),n.quotaExceededErrorRetryTimeout_=null,n.processCallQueue_()}),1e3)}),!0)},n.handleAppendError_=function(e,t){var n=e.segmentInfo,r=e.type,o=e.bytes;t&&(22!==t.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(r+" append of "+o.length+"b failed for segment #"+n.mediaIndex+" in playlist "+n.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:n,type:r,bytes:o}))},n.appendToSourceBuffer_=function(e){var t,n,r,o=e.segmentInfo,i=e.type,a=e.initSegment,s=e.data,l=e.bytes;if(!l){var c=[s],u=s.byteLength;a&&(c.unshift(a),u+=a.byteLength),r=0,(t={bytes:u,segments:c}).bytes&&(n=new Uint8Array(t.bytes),t.segments.forEach((function(e){n.set(e,r),r+=e.byteLength}))),l=n}this.sourceUpdater_.appendBuffer({segmentInfo:o,type:i,bytes:l},this.handleAppendError_.bind(this,{segmentInfo:o,type:i,bytes:l}))},n.handleSegmentTimingInfo_=function(e,t,n){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var r=this.pendingSegment_.segment,o=e+"TimingInfo";r[o]||(r[o]={}),r[o].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[o].transmuxedPresentationStart=n.start.presentation,r[o].transmuxedDecodeStart=n.start.decode,r[o].transmuxedPresentationEnd=n.end.presentation,r[o].transmuxedDecodeEnd=n.end.decode,r[o].baseMediaDecodeTime=n.baseMediaDecodeTime}},n.appendData_=function(e,t){var n=t.type,r=t.data;if(r&&r.byteLength&&("audio"!==n||!this.audioDisabled_)){var o=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:o,data:r})}},n.loadSegment_=function(e){var t=this;this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((function(){var n=c({},e,{forceTimestampOffset:!0});c(e,t.generateSegmentInfo_(n)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)}))},n.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var n=this.createSimplifiedSegmentObj_(e),r=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),o=null!==this.mediaIndex,i=e.timeline!==this.currentTimeline_&&e.timeline>0,a=r||o&&i;this.logger_("Requesting "+Xl(e)),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=jl({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:a,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(n){var r=n.message,o=n.level,i=n.stream;t.logger_(Xl(e)+" logged from transmuxer stream "+i+" as a "+o+": "+r)}})},n.trimBackBuffer_=function(e){var t=function(e,t,n){var r=t-cl.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));var o=t-n;return Math.min(o,r)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},n.createSimplifiedSegmentObj_=function(e){var t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},o=e.playlist.segments[e.mediaIndex-1];if(o&&o.timeline===t.timeline&&(o.videoTimingInfo?r.baseStartTime=o.videoTimingInfo.transmuxedDecodeEnd:o.audioTimingInfo&&(r.baseStartTime=o.audioTimingInfo.transmuxedDecodeEnd)),t.key){var i=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=i}return t.map&&(r.map=this.initSegmentForMap(t.map)),r},n.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},n.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<1/60?this.logger_("Ignoring segment's bandwidth because its duration of "+e+" is less than the min to record "+1/60):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)},n.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")},n.segmentRequestFinished_=function(e,t,n){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));else if(this.saveTransferStats_(t.stats),this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId){if(e){if(this.pendingSegment_=null,this.state="READY",e.code===xl)return;return this.pause(),e.code===El?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=function(e,t,n){if(!t.length)return e;if(n)return t.slice();for(var r=t[0].pts,o=0;o<e.length&&!(e[o].pts>=r);o++);return e.slice(0,o).concat(t)}(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}},n.setTimeMapping_=function(e){var t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)},n.updateMediaSecondsLoaded_=function(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},n.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},n.trueSegmentStart_=function(e){var t=e.currentStart,n=e.playlist,r=e.mediaIndex,o=e.firstVideoFrameTimeForData,i=e.currentVideoTimestampOffset,a=e.useVideoTimingInfo,s=e.videoTimingInfo,l=e.audioTimingInfo;if(void 0!==t)return t;if(!a)return l.start;var c=n.segments[r-1];return 0!==r&&c&&void 0!==c.start&&c.end===o+i?s.start:o},n.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var n=t.hasAudio,r=t.hasVideo,o=t.isMuxed,i="main"===this.loaderType_&&r,a=!this.audioDisabled_&&n&&!o;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);i&&e.waitingOnAppends++,a&&e.waitingOnAppends++,i&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),a&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},n.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},n.checkForIllegalMediaSwitch=function(e){var t=function(e,t,n){return"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},n.updateSourceBufferTimestampOffset_=function(e){if(null!==e.timestampOffset&&"number"==typeof e.timingInfo.start&&!e.changedTimestampOffset&&"main"===this.loaderType_){var t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}},n.getSegmentStartTimeForTimestampOffsetCalculation_=function(e){var t=e.videoTimingInfo,n=e.audioTimingInfo,r=e.timingInfo;return this.useDtsForTimestampOffset_?t&&"number"==typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:n&&"number"==typeof n.transmuxedDecodeStart?n.transmuxedDecodeStart:r.start:r.start},n.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"==typeof n.end?n.end:n.start+e.duration)},n.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});var t=nc(e,this.sourceType_);if(t&&("warn"===t.severity?Ga.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",!e.isSyncRequest||(this.trigger("syncinfoupdate"),e.hasAppendedData_)){this.logger_("Appended "+Xl(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");var n=e.segment,r=e.part,o=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,i=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(o||i)return this.logger_("bad "+(o?"segment":"part")+" "+Xl(e)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+Xl(e))},n.recordThroughput_=function(e){if(e.duration<1/60)this.logger_("Ignoring segment's throughput because its duration of "+e.duration+" is less than the min to record "+1/60);else{var t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}},n.addSegmentMetadataCue_=function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if(Ql(n)&&Ql(r)){$l(n,r,this.segmentMetadataTrack_);var o=a().WebKitDataCue||a().VTTCue,i={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},s=new o(n,r,JSON.stringify(i));s.value=i,this.segmentMetadataTrack_.addCue(s)}}},t}(Ga.EventTarget);function oc(){}var ic,ac=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))},sc=["video","audio"],lc=function(e,t){var n=t[e+"Buffer"];return n&&n.updating||t.queuePending[e]},cc=function e(t,n){if(0!==n.queue.length){var r=0,o=n.queue[r];if("mediaSource"!==o.type){if("mediaSource"!==t&&n.ready()&&"closed"!==n.mediaSource.readyState&&!lc(t,n)){if(o.type!==t){if(null===(r=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];if("mediaSource"===r.type)return null;if(r.type===e)return n}return null}(t,n.queue)))return;o=n.queue[r]}return n.queue.splice(r,1),n.queuePending[t]=o,o.action(t,n),o.doneFn?void 0:(n.queuePending[t]=null,void e(t,n))}}else n.updating()||"closed"===n.mediaSource.readyState||(n.queue.shift(),o.action(n),o.doneFn&&o.doneFn(),e("audio",n),e("video",n))}},uc=function(e,t){var n=t[e+"Buffer"],r=ac(e);n&&(n.removeEventListener("updateend",t["on"+r+"UpdateEnd_"]),n.removeEventListener("error",t["on"+r+"Error_"]),t.codecs[e]=null,t[e+"Buffer"]=null)},dc=function(e,t){return e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t)},pc=function(e,t,n){return function(r,o){var i=o[r+"Buffer"];if(dc(o.mediaSource,i)){o.logger_("Appending segment "+t.mediaIndex+"'s "+e.length+" bytes to "+r+"Buffer");try{i.appendBuffer(e)}catch(e){o.logger_("Error with code "+e.code+" "+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+t.mediaIndex+" to "+r+"Buffer"),o.queuePending[r]=null,n(e)}}}},fc=function(e,t){return function(n,r){var o=r[n+"Buffer"];if(dc(r.mediaSource,o)){r.logger_("Removing "+e+" to "+t+" from "+n+"Buffer");try{o.remove(e,t)}catch(o){r.logger_("Remove "+e+" to "+t+" from "+n+"Buffer failed")}}}},hc=function(e){return function(t,n){var r=n[t+"Buffer"];dc(n.mediaSource,r)&&(n.logger_("Setting "+t+"timestampOffset to "+e),r.timestampOffset=e)}},mc=function(e){return function(t,n){e()}},gc=function(e){return function(t){if("open"===t.mediaSource.readyState){t.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{t.mediaSource.endOfStream(e)}catch(e){Ga.log.warn("Failed to call media source endOfStream",e)}}}},yc=function(e){return function(t){t.logger_("Setting mediaSource duration to "+e);try{t.mediaSource.duration=e}catch(e){Ga.log.warn("Failed to set media source duration",e)}}},vc=function(){return function(e,t){if("open"===t.mediaSource.readyState){var n=t[e+"Buffer"];if(dc(t.mediaSource,n)){t.logger_("calling abort on "+e+"Buffer");try{n.abort()}catch(t){Ga.log.warn("Failed to abort on "+e+"Buffer",t)}}}}},bc=function(e,t){return function(n){var r=ac(e),o=W(t);n.logger_("Adding "+e+"Buffer with codec "+t+" to mediaSource");var i=n.mediaSource.addSourceBuffer(o);i.addEventListener("updateend",n["on"+r+"UpdateEnd_"]),i.addEventListener("error",n["on"+r+"Error_"]),n.codecs[e]=t,n[e+"Buffer"]=i}},_c=function(e){return function(t){var n=t[e+"Buffer"];if(uc(e,t),dc(t.mediaSource,n)){t.logger_("Removing "+e+"Buffer with codec "+t.codecs[e]+" from mediaSource");try{t.mediaSource.removeSourceBuffer(n)}catch(t){Ga.log.warn("Failed to removeSourceBuffer "+e+"Buffer",t)}}}},wc=function(e){return function(t,n){var r=n[t+"Buffer"],o=W(e);if(dc(n.mediaSource,r)&&n.codecs[t]!==e){n.logger_("changing "+t+"Buffer codec from "+n.codecs[t]+" to "+e);try{r.changeType(o),n.codecs[t]=e}catch(e){Ga.log.warn("Failed to changeType on "+t+"Buffer",e)}}}},Cc=function(e){var t=e.type,n=e.sourceUpdater,r=e.action,o=e.doneFn,i=e.name;n.queue.push({type:t,action:r,doneFn:o,name:i}),cc(t,n)},Sc=function(e,t){return function(n){if(t.queuePending[e]){var r=t.queuePending[e].doneFn;t.queuePending[e]=null,r&&r(t[e+"Error_"])}cc(e,t)}},Ec=function(e){function t(t){var n;return(n=e.call(this)||this).mediaSource=t,n.sourceopenListener_=function(){return cc("mediaSource",p(n))},n.mediaSource.addEventListener("sourceopen",n.sourceopenListener_),n.logger_=$a("SourceUpdater"),n.audioTimestampOffset_=0,n.videoTimestampOffset_=0,n.queue=[],n.queuePending={audio:null,video:null},n.delayedAudioAppendQueue_=[],n.videoAppendQueued_=!1,n.codecs={},n.onVideoUpdateEnd_=Sc("video",p(n)),n.onAudioUpdateEnd_=Sc("audio",p(n)),n.onVideoError_=function(e){n.videoError_=e},n.onAudioError_=function(e){n.audioError_=e},n.createdSourceBuffers_=!1,n.initializedEme_=!1,n.triggeredReady_=!1,n}h(t,e);var n=t.prototype;return n.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},n.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},n.hasInitializedAnyEme=function(){return this.initializedEme_},n.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},n.createSourceBuffers=function(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())},n.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},n.addSourceBuffer=function(e,t){Cc({type:"mediaSource",sourceUpdater:this,action:bc(e,t),name:"addSourceBuffer"})},n.abort=function(e){Cc({type:e,sourceUpdater:this,action:vc(e),name:"abort"})},n.removeSourceBuffer=function(e){this.canRemoveSourceBuffer()?Cc({type:"mediaSource",sourceUpdater:this,action:_c(e),name:"removeSourceBuffer"}):Ga.log.error("removeSourceBuffer is not supported!")},n.canRemoveSourceBuffer=function(){return!Ga.browser.IE_VERSION&&!Ga.browser.IS_FIREFOX&&a().MediaSource&&a().MediaSource.prototype&&"function"==typeof a().MediaSource.prototype.removeSourceBuffer},t.canChangeType=function(){return a().SourceBuffer&&a().SourceBuffer.prototype&&"function"==typeof a().SourceBuffer.prototype.changeType},n.canChangeType=function(){return this.constructor.canChangeType()},n.changeType=function(e,t){this.canChangeType()?Cc({type:e,sourceUpdater:this,action:wc(t),name:"changeType"}):Ga.log.error("changeType is not supported!")},n.addOrChangeSourceBuffers=function(e){var t=this;if(!e||"object"!==Nt(e)||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((function(n){var r=e[n];if(!t.hasCreatedSourceBuffers())return t.addSourceBuffer(n,r);t.canChangeType()&&t.changeType(n,r)}))},n.appendBuffer=function(e,t){var n=this,r=e.segmentInfo,o=e.type,i=e.bytes;if(this.processedAppend_=!0,"audio"===o&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_("delayed audio append of "+i.length+" until video append");if(Cc({type:o,sourceUpdater:this,action:pc(i,r||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===o){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var a=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+a.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,a.forEach((function(e){n.appendBuffer.apply(n,e)}))}},n.audioBuffered=function(){return dc(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Ga.createTimeRange()},n.videoBuffered=function(){return dc(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Ga.createTimeRange()},n.buffered=function(){var e=dc(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=dc(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){var n=null,r=null,o=0,i=[],a=[];if(!(e&&e.length&&t&&t.length))return Ga.createTimeRange();for(var s=e.length;s--;)i.push({time:e.start(s),type:"start"}),i.push({time:e.end(s),type:"end"});for(s=t.length;s--;)i.push({time:t.start(s),type:"start"}),i.push({time:t.end(s),type:"end"});for(i.sort((function(e,t){return e.time-t.time})),s=0;s<i.length;s++)"start"===i[s].type?2===++o&&(n=i[s].time):"end"===i[s].type&&1===--o&&(r=i[s].time),null!==n&&null!==r&&(a.push([n,r]),n=null,r=null);return Ga.createTimeRanges(a)}(this.audioBuffered(),this.videoBuffered())},n.setDuration=function(e,t){void 0===t&&(t=oc),Cc({type:"mediaSource",sourceUpdater:this,action:yc(e),name:"duration",doneFn:t})},n.endOfStream=function(e,t){void 0===e&&(e=null),void 0===t&&(t=oc),"string"!=typeof e&&(e=void 0),Cc({type:"mediaSource",sourceUpdater:this,action:gc(e),name:"endOfStream",doneFn:t})},n.removeAudio=function(e,t,n){void 0===n&&(n=oc),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?Cc({type:"audio",sourceUpdater:this,action:fc(e,t),doneFn:n,name:"remove"}):n()},n.removeVideo=function(e,t,n){void 0===n&&(n=oc),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?Cc({type:"video",sourceUpdater:this,action:fc(e,t),doneFn:n,name:"remove"}):n()},n.updating=function(){return!(!lc("audio",this)&&!lc("video",this))},n.audioTimestampOffset=function(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(Cc({type:"audio",sourceUpdater:this,action:hc(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_},n.videoTimestampOffset=function(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(Cc({type:"video",sourceUpdater:this,action:hc(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_},n.audioQueueCallback=function(e){this.audioBuffer&&Cc({type:"audio",sourceUpdater:this,action:mc(e),name:"callback"})},n.videoQueueCallback=function(e){this.videoBuffer&&Cc({type:"video",sourceUpdater:this,action:mc(e),name:"callback"})},n.dispose=function(){var e=this;this.trigger("dispose"),sc.forEach((function(t){e.abort(t),e.canRemoveSourceBuffer()?e.removeSourceBuffer(t):e[t+"QueueCallback"]((function(){return uc(t,e)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},t}(Ga.EventTarget),xc=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},kc=new Uint8Array("\n\n".split("").map((function(e){return e.charCodeAt(0)}))),Oc=function(e){function t(){return e.call(this,"Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")||this}return h(t,e),t}(Mt(Error)),Tc=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).mediaSource_=null,r.subtitlesTrack_=null,r.loaderType_="subtitle",r.featuresNativeTextTracks_=t.featuresNativeTextTracks,r.loadVttJs=t.loadVttJs,r.shouldSaveSegmentTimingInfo_=!1,r}h(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return null},n.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Ga.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return Ga.createTimeRanges([[t,n]])},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ys(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var o=kc.byteLength+e.bytes.byteLength,i=new Uint8Array(o);i.set(e.bytes),i.set(kc,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:i}}return r||e},n.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.track=function(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},n.remove=function(e,t){$l(e,t,this.subtitlesTrack_)},n.fillBuffer_=function(){var e=this,t=this.chooseNextRequest_();if(t){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline)){return this.syncController_.one("timestampoffset",(function(){e.state="READY",e.paused()||e.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(t)}},n.timestampOffsetForSegment_=function(){return null},n.chooseNextRequest_=function(){return this.skipEmptySegments_(e.prototype.chooseNextRequest_.call(this))},n.skipEmptySegments_=function(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},n.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},n.segmentRequestFinished_=function(e,t,n){var r=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===El&&this.handleTimeout_(),e.code===xl?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var o=this.pendingSegment_;this.saveBandwidthRelatedStats_(o.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");var i=o.segment;if(i.map&&(i.map.bytes=t.map.bytes),o.bytes=t.bytes,"function"!=typeof a().WebVTT&&"function"==typeof this.loadVttJs)return this.state="WAITING_ON_VTTJS",void this.loadVttJs().then((function(){return r.segmentRequestFinished_(e,t,n)}),(function(){return r.stopForError({message:"Error loading vtt.js"})}));i.requested=!0;try{this.parseVTTCues_(o)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(o,this.syncController_.timelines[o.timeline],this.playlist_),o.cues.length?o.timingInfo={start:o.cues[0].startTime,end:o.cues[o.cues.length-1].endTime}:o.timingInfo={start:o.startOfSegment,end:o.startOfSegment+o.duration},o.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");o.byteLength=o.bytes.byteLength,this.mediaSecondsLoaded+=i.duration,o.cues.forEach((function(e){r.subtitlesTrack_.addCue(r.featuresNativeTextTracks_?new(a().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){var t=e.cues;if(t)for(var n=0;n<t.length;n++){for(var r=[],o=0,i=0;i<t.length;i++)t[n].startTime===t[i].startTime&&t[n].endTime===t[i].endTime&&t[n].text===t[i].text&&++o>1&&r.push(t[i]);r.length&&r.forEach((function(t){return e.removeCue(t)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},n.handleData_=function(){},n.updateTimingInfoEnd_=function(){},n.parseVTTCues_=function(e){var t,n=!1;if("function"!=typeof a().WebVTT)throw new Oc;"function"==typeof a().TextDecoder?t=new(a().TextDecoder)("utf8"):(t=a().WebVTT.StringDecoder(),n=!0);var r=new(a().WebVTT.Parser)(a(),a().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=function(t){e.timestampmap=t},r.onparsingerror=function(e){Ga.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=xc(o)),r.parse(o)}var i=e.bytes;n&&(i=xc(i)),r.parse(i),r.flush()},n.updateTimeMapping_=function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var o=e.timestampmap,i=o.MPEGTS/Rt.ONE_SECOND_IN_TS-o.LOCAL+t.mapping;if(e.cues.forEach((function(e){e.startTime+=i,e.endTime+=i})),!n.syncInfo){var a=e.cues[0].startTime,s=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(a,s-r.duration)}}}else r.empty=!0},t}(rc),Ac=function(e,t){for(var n=e.cues,r=0;r<n.length;r++){var o=n[r];if(t>=o.adStartTime&&t<=o.adEndTime)return o}return null},Pc=[{name:"VOD",run:function(e,t,n,r,o){if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,o){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var i=null,a=null,s=as(t);o=o||0;for(var l=0;l<s.length;l++){var c=s[t.endList||0===o?l:s.length-(l+1)],u=c.segment,d=e.timelineToDatetimeMappings[u.timeline];if(d&&u.dateTimeObject){var p=u.dateTimeObject.getTime()/1e3+d;if(u.parts&&"number"==typeof c.partIndex)for(var f=0;f<c.partIndex;f++)p+=u.parts[f].duration;var h=Math.abs(o-p);if(null!==a&&(0===h||a<h))break;a=h,i={time:p,segmentIndex:c.segmentIndex,partIndex:c.partIndex}}}return i}},{name:"Segment",run:function(e,t,n,r,o){var i=null,a=null;o=o||0;for(var s=as(t),l=0;l<s.length;l++){var c=s[t.endList||0===o?l:s.length-(l+1)],u=c.segment,d=c.part&&c.part.start||u&&u.start;if(u.timeline===r&&void 0!==d){var p=Math.abs(o-d);if(null!==a&&a<p)break;(!i||null===a||a>=p)&&(a=p,i={time:d,segmentIndex:c.segmentIndex,partIndex:c.partIndex})}}return i}},{name:"Discontinuity",run:function(e,t,n,r,o){var i=null;if(o=o||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var a=null,s=0;s<t.discontinuityStarts.length;s++){var l=t.discontinuityStarts[s],c=t.discontinuitySequence+s+1,u=e.discontinuities[c];if(u){var d=Math.abs(o-u.time);if(null!==a&&a<d)break;(!i||null===a||a>=d)&&(a=d,i={time:u.time,segmentIndex:l,partIndex:null})}}return i}},{name:"Playlist",run:function(e,t,n,r,o){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],Rc=function(e){function t(t){var n;return(n=e.call(this)||this).timelines=[],n.discontinuities=[],n.timelineToDatetimeMappings={},n.logger_=$a("SyncController"),n}h(t,e);var n=t.prototype;return n.getSyncPoint=function(e,t,n,r){var o=this.runStrategies_(e,t,n,r);return o.length?this.selectSyncPoint_(o,{key:"time",value:r}):null},n.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;var r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+ps({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))},n.runStrategies_=function(e,t,n,r){for(var o=[],i=0;i<Pc.length;i++){var a=Pc[i],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,o.push({strategy:a.name,syncPoint:s}))}return o},n.selectSyncPoint_=function(e,t){for(var n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),o=e[0].strategy,i=1;i<e.length;i++){var a=Math.abs(e[i].syncPoint[t.key]-t.value);a<r&&(r=a,n=e[i].syncPoint,o=e[i].strategy)}return this.logger_("syncPoint for ["+t.key+": "+t.value+"] chosen with strategy ["+o+"]: [time:"+n.time+", segmentIndex:"+n.segmentIndex+("number"==typeof n.partIndex?",partIndex:"+n.partIndex:"")+"]"),n},n.saveExpiredSegmentInfo=function(e,t){var n=t.mediaSequence-e.mediaSequence;if(n>86400)Ga.log.warn("Not saving expired segment info. Media sequence gap "+n+" is too large.");else for(var r=n-1;r>=0;r--){var o=e.segments[r];if(o&&void 0!==o.start){t.syncInfo={mediaSequence:e.mediaSequence+r,time:o.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},n.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}},n.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,n=e.shouldSaveTimelineMapping,r=this.calculateSegmentTimeMapping_(t,t.timingInfo,n),o=t.segment;r&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:o.start}));var i=o.dateTimeObject;o.discontinuity&&n&&i&&(this.timelineToDatetimeMappings[o.timeline]=-i.getTime()/1e3)},n.timestampOffsetForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].time},n.mappingForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping},n.calculateSegmentTimeMapping_=function(e,t,n){var r,o,i=e.segment,a=e.part,s=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)s={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=s,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+s.time+"] [mapping: "+s.mapping+"]")),r=e.startOfSegment,o=t.end+s.mapping;else{if(!s)return!1;r=t.start+s.mapping,o=t.end+s.mapping}return a&&(a.start=r,a.end=o),(!i.start||r<i.start)&&(i.start=r),i.end=o,!0},n.saveDiscontinuitySyncInfo_=function(e){var t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(var r=0;r<t.discontinuityStarts.length;r++){var o=t.discontinuityStarts[r],i=t.discontinuitySequence+r+1,a=o-e.mediaIndex,s=Math.abs(a);if(!this.discontinuities[i]||this.discontinuities[i].accuracy>s){var l=void 0;l=a<0?n.start-ps({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:o}):n.end+ps({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:o}),this.discontinuities[i]={time:l,accuracy:s}}}},n.dispose=function(){this.trigger("dispose"),this.off()},t}(Ga.EventTarget),Ic=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}h(t,e);var n=t.prototype;return n.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},n.pendingTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.pendingTimelineChanges_[t]={type:t,from:n,to:r},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},n.lastTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.lastTimelineChanges_[t]={type:t,from:n,to:r},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},n.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(Ga.EventTarget),Mc=dl(pl(fl((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var r=t((function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0})),o=t((function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),i=t((function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),a=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var o=Array.prototype.slice.call(arguments,1),i=t.length,a=0;a<i;++a)t[a].apply(this,o)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();var s,l=null,c=function(){function e(e){var t,n,r;l||(l=function(){var e,t,n,r,o,i,a,s,l=[[[],[],[],[],[]],[[],[],[],[],[]]],c=l[0],u=l[1],d=c[4],p=u[4],f=[],h=[];for(e=0;e<256;e++)h[(f[e]=e<<1^283*(e>>7))^e]=e;for(t=n=0;!d[t];t^=r||1,n=h[n]||1)for(i=(i=n^n<<1^n<<2^n<<3^n<<4)>>8^255&i^99,d[t]=i,p[i]=t,s=16843009*f[o=f[r=f[t]]]^65537*o^257*r^16843008*t,a=257*f[i]^16843008*i,e=0;e<4;e++)c[e][t]=a=a<<24^a>>>8,u[e][i]=s=s<<24^s>>>8;for(e=0;e<5;e++)c[e]=c[e].slice(0),u[e]=u[e].slice(0);return l}()),this._tables=[[l[0][0].slice(),l[0][1].slice(),l[0][2].slice(),l[0][3].slice(),l[0][4].slice()],[l[1][0].slice(),l[1][1].slice(),l[1][2].slice(),l[1][3].slice(),l[1][4].slice()]];var o=this._tables[0][4],i=this._tables[1],a=e.length,s=1;if(4!==a&&6!==a&&8!==a)throw new Error("Invalid aes key size");var c=e.slice(0),u=[];for(this._key=[c,u],t=a;t<4*a+28;t++)r=c[t-1],(t%a==0||8===a&&t%a==4)&&(r=o[r>>>24]<<24^o[r>>16&255]<<16^o[r>>8&255]<<8^o[255&r],t%a==0&&(r=r<<8^r>>>24^s<<24,s=s<<1^283*(s>>7))),c[t]=c[t-a]^r;for(n=0;t;n++,t--)r=c[3&n?t:t-4],u[n]=t<=4||n<4?r:i[0][o[r>>>24]]^i[1][o[r>>16&255]]^i[2][o[r>>8&255]]^i[3][o[255&r]]}return e.prototype.decrypt=function(e,t,n,r,o,i){var a,s,l,c,u=this._key[1],d=e^u[0],p=r^u[1],f=n^u[2],h=t^u[3],m=u.length/4-2,g=4,y=this._tables[1],v=y[0],b=y[1],_=y[2],w=y[3],C=y[4];for(c=0;c<m;c++)a=v[d>>>24]^b[p>>16&255]^_[f>>8&255]^w[255&h]^u[g],s=v[p>>>24]^b[f>>16&255]^_[h>>8&255]^w[255&d]^u[g+1],l=v[f>>>24]^b[h>>16&255]^_[d>>8&255]^w[255&p]^u[g+2],h=v[h>>>24]^b[d>>16&255]^_[p>>8&255]^w[255&f]^u[g+3],g+=4,d=a,p=s,f=l;for(c=0;c<4;c++)o[(3&-c)+i]=C[d>>>24]<<24^C[p>>16&255]<<16^C[f>>8&255]<<8^C[255&h]^u[g++],a=d,d=p,p=f,f=h,h=a},e}(),u=function(e){function t(){var t;return(t=e.call(this,a)||this).jobs=[],t.delay=1,t.timeout_=null,t}i(t,e);var n=t.prototype;return n.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(a),d=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},p=function(){function e(t,n,r,o){var i=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),l=0;for(this.asyncStream_=new u,this.asyncStream_.push(this.decryptChunk_(a.subarray(l,l+i),n,r,s)),l=i;l<a.length;l+=i)r=new Uint32Array([d(a[l-4]),d(a[l-3]),d(a[l-2]),d(a[l-1])]),this.asyncStream_.push(this.decryptChunk_(a.subarray(l,l+i),n,r,s));this.asyncStream_.push((function(){var e;o(null,(e=s).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return e.prototype.decryptChunk_=function(e,t,n,r){return function(){var o=function(e,t,n){var r,o,i,a,s,l,u,p,f,h=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),m=new c(Array.prototype.slice.call(t)),g=new Uint8Array(e.byteLength),y=new Int32Array(g.buffer);for(r=n[0],o=n[1],i=n[2],a=n[3],f=0;f<h.length;f+=4)s=d(h[f]),l=d(h[f+1]),u=d(h[f+2]),p=d(h[f+3]),m.decrypt(s,l,u,p,y,f),y[f]=d(y[f]^r),y[f+1]=d(y[f+1]^o),y[f+2]=d(y[f+2]^i),y[f+3]=d(y[f+3]^a),r=s,o=l,i=u,a=p;return g}(e,t,n);r.set(o,e.byteOffset)}},r(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}();s="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var f=s.BigInt||Number;f("0x1"),f("0x100"),f("0x10000"),f("0x1000000"),f("0x100000000"),f("0x10000000000"),f("0x1000000000000"),f("0x100000000000000"),f("0x10000000000000000");var h=function(e){var t={};return Object.keys(e).forEach((function(n){var r,o=e[n];r=o,("function"===ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer)?t[n]={bytes:o.buffer,byteOffset:o.byteOffset,byteLength:o.byteLength}:t[n]=o})),t};self.onmessage=function(e){var t=e.data,n=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),r=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),o=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new p(n,r,o,(function(e,n){self.postMessage(h({source:t.source,decrypted:n}),[n.buffer])}))}})))),Nc=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},Dc=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},jc=function(e,t){t.activePlaylistLoader=e,e.load()},Lc={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],o=t.blacklistCurrentPlaylist;Dc(n,r);var i=r.activeTrack(),a=r.activeGroup(),s=(a.filter((function(e){return e.default}))[0]||a[0]).id,l=r.tracks[s];if(i!==l){for(var c in Ga.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[c].enabled=r.tracks[c]===l;r.onTrackChanged()}else o({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e];Ga.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),Dc(n,r);var o=r.activeTrack();o&&(o.mode="disabled"),r.onTrackChanged()}}},Bc={AUDIO:function(e,t,n){if(t){var r=n.tech,o=n.requestOptions,i=n.segmentLoaders[e];t.on("loadedmetadata",(function(){var e=t.media();i.playlist(e,o),(!r.paused()||e.endList&&"none"!==r.preload())&&i.load()})),t.on("loadedplaylist",(function(){i.playlist(t.media(),o),r.paused()||i.load()})),t.on("error",Lc[e](e,n))}},SUBTITLES:function(e,t,n){var r=n.tech,o=n.requestOptions,i=n.segmentLoaders[e],a=n.mediaTypes[e];t.on("loadedmetadata",(function(){var e=t.media();i.playlist(e,o),i.track(a.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&i.load()})),t.on("loadedplaylist",(function(){i.playlist(t.media(),o),r.paused()||i.load()})),t.on("error",Lc[e](e,n))}},Fc={AUDIO:function(e,t){var n=t.vhs,r=t.sourceType,o=t.segmentLoaders[e],i=t.requestOptions,a=t.master.mediaGroups,s=t.mediaTypes[e],l=s.groups,c=s.tracks,u=s.logger_,d=t.masterPlaylistLoader,p=ws(d.master);for(var f in a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}},p&&(a[e].main.default.playlists=d.master.playlists)),a[e])for(var h in l[f]||(l[f]=[]),a[e][f]){var m=a[e][f][h],g=void 0;if(p?(u("AUDIO group '"+f+"' label '"+h+"' is a master playlist"),m.isMasterPlaylist=!0,g=null):g="vhs-json"===r&&m.playlists?new Ls(m.playlists[0],n,i):m.resolvedUri?new Ls(m.resolvedUri,n,i):m.playlists&&"dash"===r?new ll(m.playlists[0],n,i,d):null,m=Ga.mergeOptions({id:h,playlistLoader:g},m),Bc[e](e,m.playlistLoader,t),l[f].push(m),void 0===c[h]){var y=new Ga.AudioTrack({id:h,kind:Nc(m),enabled:!1,language:m.language,default:m.default,label:h});c[h]=y}}o.on("error",Lc[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.vhs,o=t.sourceType,i=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,l=t.mediaTypes[e],c=l.groups,u=l.tracks,d=t.masterPlaylistLoader;for(var p in s[e])for(var f in c[p]||(c[p]=[]),s[e][p])if(!s[e][p][f].forced){var h=s[e][p][f],m=void 0;if("hls"===o)m=new Ls(h.resolvedUri,r,a);else if("dash"===o){if(!h.playlists.filter((function(e){return e.excludeUntil!==1/0})).length)return;m=new ll(h.playlists[0],r,a,d)}else"vhs-json"===o&&(m=new Ls(h.playlists?h.playlists[0]:h.resolvedUri,r,a));if(h=Ga.mergeOptions({id:f,playlistLoader:m},h),Bc[e](e,h.playlistLoader,t),c[p].push(h),void 0===u[f]){var g=n.addRemoteTextTrack({id:f,kind:"subtitles",default:h.default&&h.autoselect,language:h.language,label:f},!1).track;u[f]=g}}i.on("error",Lc[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var n=t.tech,r=t.master.mediaGroups,o=t.mediaTypes[e],i=o.groups,a=o.tracks;for(var s in r[e])for(var l in i[s]||(i[s]=[]),r[e][s]){var c=r[e][s][l];if(/^(?:CC|SERVICE)/.test(c.instreamId)){var u=n.options_.vhs&&n.options_.vhs.captionServices||{},d={label:l,language:c.language,instreamId:c.instreamId,default:c.default&&c.autoselect};if(u[d.instreamId]&&(d=Ga.mergeOptions(d,u[d.instreamId])),void 0===d.default&&delete d.default,i[s].push(Ga.mergeOptions({id:l},c)),void 0===a[l]){var p=n.addRemoteTextTrack({id:d.instreamId,kind:"captions",default:d.default,language:d.language,label:d.label},!1).track;a[l]=p}}}}},Uc=function e(t,n){for(var r=0;r<t.length;r++){if(bs(n,t[r]))return!0;if(t[r].playlists&&e(t[r].playlists,n))return!0}return!1},Hc={AUDIO:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if(n[r].enabled)return n[r];return null}},SUBTITLES:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if("showing"===n[r].mode||"hidden"===n[r].mode)return n[r];return null}}},Vc=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){Fc[t](t,e)}));var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,o=e.vhs,i=e.segmentLoaders,a=i.AUDIO,s=i.main;["AUDIO","SUBTITLES"].forEach((function(n){t[n].activeGroup=function(e,t){return function(n){var r=t.masterPlaylistLoader,o=t.mediaTypes[e].groups,i=r.media();if(!i)return null;var a=null;i.attributes[e]&&(a=o[i.attributes[e]]);var s=Object.keys(o);if(!a)if("AUDIO"===e&&s.length>1&&ws(t.master))for(var l=0;l<s.length;l++){var c=o[s[l]];if(Uc(c,i)){a=c;break}}else o.main?a=o.main:1===s.length&&(a=o[s[0]]);return void 0===n?a:null!==n&&a&&a.filter((function(e){return e.id===n.id}))[0]||null}}(n,e),t[n].activeTrack=Hc[n](n,e),t[n].onGroupChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],o=n.main,i=t.mediaTypes[e],a=i.activeTrack(),s=i.getActiveGroup(),l=i.activePlaylistLoader,c=i.lastGroup_;s&&c&&s.id===c.id||(i.lastGroup_=s,i.lastTrack_=a,Dc(r,i),s&&!s.isMasterPlaylist&&(s.playlistLoader?(r.resyncLoader(),jc(s.playlistLoader,i)):l&&o.resetEverything()))}}(n,e),t[n].onGroupChanging=function(e,t){return function(){var n=t.segmentLoaders[e];t.mediaTypes[e].lastGroup_=null,n.abort(),n.pause()}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.masterPlaylistLoader,r=t.segmentLoaders,o=r[e],i=r.main,a=t.mediaTypes[e],s=a.activeTrack(),l=a.getActiveGroup(),c=a.activePlaylistLoader,u=a.lastTrack_;if((!u||!s||u.id!==s.id)&&(a.lastGroup_=l,a.lastTrack_=s,Dc(o,a),l)){if(l.isMasterPlaylist){if(!s||!u||s.id===u.id)return;var d=t.vhs.masterPlaylistController_,p=d.selectPlaylist();if(d.media()===p)return;return a.logger_("track change. Switching master audio from "+u.id+" to "+s.id),n.pause(),i.resetEverything(),void d.fastQualityChange_(p)}if("AUDIO"===e){if(!l.playlistLoader)return i.setAudio(!0),void i.resetEverything();o.setAudio(!0),i.setAudio(!1)}c!==l.playlistLoader?(o.track&&o.track(s),o.resetEverything(),jc(l.playlistLoader,a)):jc(l.playlistLoader,a)}}}(n,e),t[n].getActiveGroup=function(e,t){var n=t.mediaTypes;return function(){var t=n[e].activeTrack();return t?n[e].activeGroup(t):null}}(n,e)}));var l=t.AUDIO.activeGroup();if(l){var c=(l.filter((function(e){return e.default}))[0]||l[0]).id;t.AUDIO.tracks[c].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(s.setAudio(!1),a.setAudio(!0)):s.setAudio(!0)}n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanged()}))})),n.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanging()}))}));var u=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"}),r.trigger({type:"usage",name:"hls-audio-change"})};for(var d in r.audioTracks().addEventListener("change",u),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),o.on("dispose",(function(){r.audioTracks().removeEventListener("change",u),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[d])},zc=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],qc=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},Gc=function(e){function t(t){var n;n=e.call(this)||this;var r=t.src,o=t.handleManifestRedirects,i=t.withCredentials,s=t.tech,l=t.bandwidth,c=t.externVhs,u=t.useCueTags,d=t.blacklistDuration,f=t.enableLowInitialPlaylist,h=t.sourceType,m=t.cacheEncryptionKeys,g=t.experimentalBufferBasedABR,y=t.experimentalLeastPixelDiffSelector,v=t.captionServices;if(!r)throw new Error("A non-empty playlist URL or JSON manifest string is required");var b=t.maxPlaylistRetries;null==b&&(b=1/0),ic=c,n.experimentalBufferBasedABR=Boolean(g),n.experimentalLeastPixelDiffSelector=Boolean(y),n.withCredentials=i,n.tech_=s,n.vhs_=s.vhs,n.sourceType_=h,n.useCueTags_=u,n.blacklistDuration=d,n.maxPlaylistRetries=b,n.enableLowInitialPlaylist=f,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:i,handleManifestRedirects:o,maxPlaylistRetries:b,timeout:null},n.on("error",n.pauseLoading),n.mediaTypes_=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:oc,activeTrack:oc,getActiveGroup:oc,onGroupChanged:oc,onTrackChanged:oc,lastTrack_:null,logger_:$a("MediaGroups["+t+"]")}})),e}(),n.mediaSource=new(a().MediaSource),n.handleDurationChange_=n.handleDurationChange_.bind(p(n)),n.handleSourceOpen_=n.handleSourceOpen_.bind(p(n)),n.handleSourceEnded_=n.handleSourceEnded_.bind(p(n)),n.mediaSource.addEventListener("durationchange",n.handleDurationChange_),n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_),n.mediaSource.addEventListener("sourceended",n.handleSourceEnded_),n.seekable_=Ga.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new Rc(t),n.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new Mc,n.sourceUpdater_=new Ec(n.mediaSource),n.inbandTextTracks_={},n.timelineChangeController_=new Ic;var _={vhs:n.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:v,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.duration()},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:l,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:m,sourceUpdater:n.sourceUpdater_,timelineChangeController:n.timelineChangeController_,experimentalExactManifestTimings:t.experimentalExactManifestTimings};n.masterPlaylistLoader_="dash"===n.sourceType_?new ll(r,n.vhs_,n.requestOptions_):new Ls(r,n.vhs_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new rc(Ga.mergeOptions(_,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),t),n.audioSegmentLoader_=new rc(Ga.mergeOptions(_,{loaderType:"audio"}),t),n.subtitleSegmentLoader_=new Tc(Ga.mergeOptions(_,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks,loadVttJs:function(){return new Promise((function(e,t){function n(){s.off("vttjserror",r),e()}function r(){s.off("vttjsloaded",n),t()}s.one("vttjsloaded",n),s.one("vttjserror",r),s.addWebVttScript_()}))}}),t),n.setupSegmentLoaderListeners_(),n.experimentalBufferBasedABR&&(n.masterPlaylistLoader_.one("loadedplaylist",(function(){return n.startABRTimer_()})),n.tech_.on("pause",(function(){return n.stopABRTimer_()})),n.tech_.on("play",(function(){return n.startABRTimer_()}))),zc.forEach((function(e){n[e+"_"]=qc.bind(p(n),e)})),n.logger_=$a("MPC"),n.triggeredFmp4Usage=!1,"none"===n.tech_.preload()?(n.loadOnPlay_=function(){n.loadOnPlay_=null,n.masterPlaylistLoader_.load()},n.tech_.one("play",n.loadOnPlay_)):n.masterPlaylistLoader_.load(),n.timeToLoadedData__=-1,n.mainAppendsToLoadedData__=-1,n.audioAppendsToLoadedData__=-1;var w="none"===n.tech_.preload()?"play":"loadstart";return n.tech_.one(w,(function(){var e=Date.now();n.tech_.one("loadeddata",(function(){n.timeToLoadedData__=Date.now()-e,n.mainAppendsToLoadedData__=n.mainSegmentLoader_.mediaAppends,n.audioAppendsToLoadedData__=n.audioSegmentLoader_.mediaAppends}))})),n}h(t,e);var n=t.prototype;return n.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},n.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},n.appendsToLoadedData_=function(){var e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t},n.timeToLoadedData_=function(){return this.timeToLoadedData__},n.checkABR_=function(e){void 0===e&&(e="abr");var t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)},n.switchMedia_=function(e,t,n){var r=this.media(),o=r&&(r.id||r.uri),i=e.id||e.uri;o&&o!==i&&(this.logger_("switch media "+o+" -> "+i+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,n)},n.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=a().setInterval((function(){return e.checkABR_()}),250)},n.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(a().clearInterval(this.abrTimer_),this.abrTimer_=null)},n.getAudioTrackPlaylists_=function(){var e=this.master(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;var n,r=e.mediaGroups.AUDIO,o=Object.keys(r);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)n=this.mediaTypes_.AUDIO.activeTrack();else{var i=r.main||o.length&&r[o[0]];for(var a in i)if(i[a].default){n={label:a};break}}if(!n)return t;var s=[];for(var l in r)if(r[l][n.label]){var c=r[l][n.label];if(c.playlists&&c.playlists.length)s.push.apply(s,c.playlists);else if(c.uri)s.push(c);else if(e.playlists.length)for(var u=0;u<e.playlists.length;u++){var d=e.playlists[u];d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===l&&s.push(d)}}return s.length?s:t},n.setupMasterPlaylistLoaderListeners_=function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;vs(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,t.endList&&"none"!==e.tech_.preload()&&(e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load()),Vc({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,vhs:e.vhs_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t),e.setupFirstPlay(),!e.mediaTypes_.AUDIO.activePlaylistLoader||e.mediaTypes_.AUDIO.activePlaylistLoader.media()?e.trigger("selectedinitialmedia"):e.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){e.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){e.loadOnPlay_&&e.tech_.off("play",e.loadOnPlay_);var t=e.masterPlaylistLoader_.media();if(!t){var n;if(e.excludeUnsupportedVariants_(),e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),!n||!e.shouldSwitchToMedia_(n))return;if(e.initialMedia_=n,e.switchMedia_(e.initialMedia_,"initial"),!("vhs-json"===e.sourceType_&&e.initialMedia_.segments))return;t=e.initialMedia_}e.handleUpdatedMediaPlaylist(t)})),this.masterPlaylistLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){e.mainSegmentLoader_.abort(),e.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;vs(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,e.masterPlaylistLoader_.load(),e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load(),e.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var t=e.masterPlaylistLoader_.media();"playlist-unchanged"!==t.lastExcludeReason_&&(e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),e.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},n.handleUpdatedMediaPlaylist=function(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},n.triggerPresenceUsage_=function(e,t){var n=e.mediaGroups||{},r=!0,o=Object.keys(n.AUDIO);for(var i in n.AUDIO)for(var a in n.AUDIO[i]){n.AUDIO[i][a].uri||(r=!1)}r&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(n.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),ic.Playlist.isAes(t)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),o.length&&Object.keys(n.AUDIO[o[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},n.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),o=this.bufferHighWaterLine();return function(e){var t=e.currentPlaylist,n=e.buffered,r=e.currentTime,o=e.nextPlaylist,i=e.bufferLowWaterLine,a=e.bufferHighWaterLine,s=e.duration,l=e.experimentalBufferBasedABR,c=e.log;if(!o)return Ga.log.warn("We received no playlist to switch to. Please check your stream."),!1;var u="allowing switch "+(t&&t.id||"null")+" -> "+o.id;if(!t)return c(u+" as current playlist is not set"),!0;if(o.id===t.id)return!1;var d=Boolean(Xa(n,r).length);if(!t.endList)return d||"number"!=typeof t.partTargetDuration?(c(u+" as current playlist is live"),!0):(c("not "+u+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var p=rs(n,r),f=l?cl.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:cl.MAX_BUFFER_LOW_WATER_LINE;if(s<f)return c(u+" as duration < max low water line ("+s+" < "+f+")"),!0;var h=o.attributes.BANDWIDTH,m=t.attributes.BANDWIDTH;if(h<m&&(!l||p<a)){var g=u+" as next bandwidth < current bandwidth ("+h+" < "+m+")";return l&&(g+=" and forwardBuffer < bufferHighWaterLine ("+p+" < "+a+")"),c(g),!0}if((!l||h>m)&&p>=i){var y=u+" as forwardBuffer >= bufferLowWaterLine ("+p+" >= "+i+")";return l&&(y+=" and next bandwidth > current bandwidth ("+h+" > "+m+")"),c(y),!0}return c("not "+u+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:o,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},n.setupSegmentLoaderListeners_=function(){var e=this;this.mainSegmentLoader_.on("bandwidthupdate",(function(){e.checkABR_("bandwidthupdate"),e.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(function(){e.experimentalBufferBasedABR&&e.mainSegmentLoader_.load()})),this.experimentalBufferBasedABR||this.mainSegmentLoader_.on("progress",(function(){e.trigger("progress")})),this.mainSegmentLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("appenderror",(function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){e.logger_("main segment loader ended"),e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()}))},n.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},n.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},n.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},n.fastQualityChange_=function(e){var t=this;void 0===e&&(e=this.selectPlaylist()),e!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){Ga.browser.IE_VERSION||Ga.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},n.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}},n.setupFirstPlay=function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var n=this.seekable();if(!n.length)return!1;if(Ga.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){e.trigger("firstplay"),e.tech_.setCurrentTime(n.end(0)),e.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(n.end(0))}return this.hasPlayed_=!0,this.load(),!0},n.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(function(e){}))}this.trigger("sourceopen")},n.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var e=this.inbandTextTracks_.metadataTrack_.cues;if(e&&e.length){var t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}}},n.handleDurationChange_=function(){this.tech_.trigger("durationchange")},n.onEndOfStream=function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},n.stuckAtPlaylistEnd_=function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;var n=ic.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),o=this.tech_.buffered();if(!o.length)return n-r<=.1;var i=o.end(o.length-1);return i-r<=.1&&n-i<=.1},n.blacklistCurrentPlaylist=function(e,t){void 0===e&&(e={});var n=e.playlist||this.masterPlaylistLoader_.media();if(t=t||e.blacklistDuration||this.blacklistDuration,!n)return this.error=e,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));n.playlistErrors_++;var r,o=this.masterPlaylistLoader_.master.playlists,i=o.filter(gs),a=1===i.length&&i[0]===n;if(1===o.length&&t!==1/0)return Ga.log.warn("Problem encountered with playlist "+n.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(a);if(a){var s=!1;o.forEach((function(e){if(e!==n){var t=e.excludeUntil;void 0!==t&&t!==1/0&&(s=!0,delete e.excludeUntil)}})),s&&(Ga.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}r=n.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*t,n.excludeUntil=r,e.reason&&(n.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var l=this.selectPlaylist();if(!l)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var c=e.internal?this.logger_:Ga.log.warn,u=e.message?" "+e.message:"";c((e.internal?"Internal problem":"Problem")+" encountered with playlist "+n.id+"."+u+" Switching to playlist "+l.id+"."),l.attributes.AUDIO!==n.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),l.attributes.SUBTITLES!==n.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var d=l.targetDuration/2*1e3||5e3,p="number"==typeof l.lastRequest&&Date.now()-l.lastRequest<=d;return this.switchMedia_(l,"exclude",a||p)},n.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},n.delegateLoaders_=function(e,t){var n=this,r=[],o="all"===e;(o||"main"===e)&&r.push(this.masterPlaylistLoader_);var i=[];(o||"audio"===e)&&i.push("AUDIO"),(o||"subtitle"===e)&&(i.push("CLOSED-CAPTIONS"),i.push("SUBTITLES")),i.forEach((function(e){var t=n.mediaTypes_[e]&&n.mediaTypes_[e].activePlaylistLoader;t&&r.push(t)})),["main","audio","subtitle"].forEach((function(t){var o=n[t+"SegmentLoader_"];!o||e!==t&&"all"!==e||r.push(o)})),r.forEach((function(e){return t.forEach((function(t){"function"==typeof e[t]&&e[t]()}))}))},n.setCurrentTime=function(e){var t=Xa(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},n.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:ic.Playlist.duration(e):1/0:0},n.seekable=function(){return this.seekable_},n.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.duration());if(null!==n){var r=this.masterPlaylistLoader_.master,o=ic.Playlist.seekable(t,n,ic.Playlist.liveEdgeDelay(r,t));if(0!==o.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=ic.Playlist.seekable(t,n,ic.Playlist.liveEdgeDelay(r,t))).length)return}var i,a;this.seekable_&&this.seekable_.length&&(i=this.seekable_.end(0),a=this.seekable_.start(0)),e?e.start(0)>o.end(0)||o.start(0)>e.end(0)?this.seekable_=o:this.seekable_=Ga.createTimeRanges([[e.start(0)>o.start(0)?e.start(0):o.start(0),e.end(0)<o.end(0)?e.end(0):o.end(0)]]):this.seekable_=o,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===i&&this.seekable_.start(0)===a||(this.logger_("seekable updated ["+es(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},n.updateDuration=function(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){var t=this.seekable();if(!t.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<t.end(t.length-1))&&this.sourceUpdater_.setDuration(t.end(t.length-1))}else{var n=this.tech_.buffered(),r=ic.Playlist.duration(this.masterPlaylistLoader_.media());n.length>0&&(r=Math.max(r,n.end(n.length-1))),this.mediaSource.duration!==r&&this.sourceUpdater_.setDuration(r)}},n.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(t){var n=e.mediaTypes_[t].groups;for(var r in n)n[r].forEach((function(e){e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},n.master=function(){return this.masterPlaylistLoader_.master},n.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},n.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)},n.getCodecsOrExclude_=function(){var e=this,t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},n=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();t.video=t.main;var r=Hl(this.master(),n),o={},i=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(o.video=r.video||t.main.videoCodec||"avc1.4d400d"),t.main.isMuxed&&(o.video+=","+(r.audio||t.main.audioCodec||"mp4a.40.2")),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||i)&&(o.audio=r.audio||t.main.audioCodec||t.audio.audioCodec||"mp4a.40.2",t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),o.audio||o.video){var a,s={};if(["video","audio"].forEach((function(e){if(o.hasOwnProperty(e)&&(r=t[e].isFmp4,i=o[e],!(r?Y(i):Z(i)))){var n=t[e].isFmp4?"browser":"muxer";s[n]=s[n]||[],s[n].push(o[e]),"audio"===e&&(a=n)}var r,i})),i&&a&&n.attributes.AUDIO){var l=n.attributes.AUDIO;this.master().playlists.forEach((function(e){(e.attributes&&e.attributes.AUDIO)===l&&e!==n&&(e.excludeUntil=1/0)})),this.logger_("excluding audio group "+l+" as "+a+' does not support codec(s): "'+o.audio+'"')}if(!Object.keys(s).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var c=[];if(["video","audio"].forEach((function(t){var n=(q(e.sourceUpdater_.codecs[t]||"")[0]||{}).type,r=(q(o[t]||"")[0]||{}).type;n&&r&&n.toLowerCase()!==r.toLowerCase()&&c.push('"'+e.sourceUpdater_.codecs[t]+'" -> "'+o[t]+'"')})),c.length)return void this.blacklistCurrentPlaylist({playlist:n,message:"Codec switching not supported: "+c.join(", ")+".",blacklistDuration:1/0,internal:!0})}return o}var u=Object.keys(s).reduce((function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+s[t].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:n,internal:!0,message:u,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:n,message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},n.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},n.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,n=[];Object.keys(t).forEach((function(r){var o=t[r];if(-1===n.indexOf(o.id)){n.push(o.id);var i=Hl(e.master,o),a=[];!i.audio||Z(i.audio)||Y(i.audio)||a.push("audio codec "+i.audio),!i.video||Z(i.video)||Y(i.video)||a.push("video codec "+i.video),i.text&&"stpp.ttml.im1t"===i.text&&a.push("text codec "+i.text),a.length&&(o.excludeUntil=1/0,e.logger_("excluding "+o.id+" for unsupported: "+a.join(", ")))}}))},n.excludeIncompatibleVariants_=function(e){var t=this,n=[],r=this.master().playlists,o=Fl(q(e)),i=Ul(o),a=o.video&&q(o.video)[0]||null,s=o.audio&&q(o.audio)[0]||null;Object.keys(r).forEach((function(e){var o=r[e];if(-1===n.indexOf(o.id)&&o.excludeUntil!==1/0){n.push(o.id);var l=[],c=Hl(t.masterPlaylistLoader_.master,o),u=Ul(c);if(c.audio||c.video){if(u!==i&&l.push('codec count "'+u+'" !== "'+i+'"'),!t.sourceUpdater_.canChangeType()){var d=c.video&&q(c.video)[0]||null,p=c.audio&&q(c.audio)[0]||null;d&&a&&d.type.toLowerCase()!==a.type.toLowerCase()&&l.push('video codec "'+d.type+'" !== "'+a.type+'"'),p&&s&&p.type.toLowerCase()!==s.type.toLowerCase()&&l.push('audio codec "'+p.type+'" !== "'+s.type+'"')}l.length&&(o.excludeUntil=1/0,t.logger_("blacklisting "+o.id+": "+l.join(" && ")))}}}))},n.updateAdCues_=function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,t,n){if(void 0===n&&(n=0),e.segments)for(var r,o=n,i=0;i<e.segments.length;i++){var s=e.segments[i];if(r||(r=Ac(t,o+s.duration/2)),r){if("cueIn"in s){r.endTime=o,r.adEndTime=o,o+=s.duration,r=null;continue}if(o<r.endTime){o+=s.duration;continue}r.endTime+=s.duration}else if("cueOut"in s&&((r=new(a().VTTCue)(o,o+s.duration,s.cueOut)).adStartTime=o,r.adEndTime=o+parseFloat(s.cueOut),t.addCue(r)),"cueOutCont"in s){var l=s.cueOutCont.split("/").map(parseFloat),c=l[0],u=l[1];(r=new(a().VTTCue)(o,o+s.duration,"")).adStartTime=o-c,r.adEndTime=r.adStartTime+u,t.addCue(r)}o+=s.duration}}(e,this.cueTagsTrack_,t)},n.goalBufferLength=function(){var e=this.tech_.currentTime(),t=cl.GOAL_BUFFER_LENGTH,n=cl.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,cl.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)},n.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=cl.BUFFER_LOW_WATER_LINE,n=cl.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,cl.MAX_BUFFER_LOW_WATER_LINE),o=Math.max(t,cl.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.experimentalBufferBasedABR?o:r)},n.bufferHighWaterLine=function(){return cl.BUFFER_HIGH_WATER_LINE},t}(Ga.EventTarget),Wc=function(e,t,n){var r,o,i,a=e.masterPlaylistController_,s=a[(e.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(a);if(t.attributes){var l=t.attributes.RESOLUTION;this.width=l&&l.width,this.height=l&&l.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}this.codecs=Hl(a.master(),t),this.playlist=t,this.id=n,this.enabled=(r=e.playlists,o=t.id,i=s,function(e){var t=r.master.playlists[o],n=ms(t),a=gs(t);return void 0===e?a:(e?delete t.disabled:t.disabled=!0,e===a||n||(i(),e?r.trigger("renditionenabled"):r.trigger("renditiondisabled")),e)})},Yc=["seeking","seeked","pause","playing","error"],Zc=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=$a("PlaybackWatcher"),this.logger_("initialize");var n=function(){return t.monitorCurrentTime_()},r=function(){return t.monitorCurrentTime_()},o=function(){return t.techWaiting_()},i=function(){return t.cancelTimer_()},s=this.masterPlaylistController_,l=["main","subtitle","audio"],c={};l.forEach((function(e){c[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},s[e+"SegmentLoader_"].on("appendsdone",c[e].updateend),s[e+"SegmentLoader_"].on("playlistupdate",c[e].reset),t.tech_.on(["seeked","seeking"],c[e].reset)}));var u=function(e){["main","audio"].forEach((function(n){s[n+"SegmentLoader_"][e]("appended",t.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){t.fixesBadSeeks_()&&(t.consecutiveUpdates=0,t.lastRecordedTime=t.tech_.currentTime(),u("off"))},this.clearSeekingAppendCheck_=function(){return u("off")},this.watchForBadSeeking_=function(){t.clearSeekingAppendCheck_(),u("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",o),this.tech_.on(Yc,i),this.tech_.on("canplay",r),this.tech_.one("play",n),this.dispose=function(){t.clearSeekingAppendCheck_(),t.logger_("dispose"),t.tech_.off("waiting",o),t.tech_.off(Yc,i),t.tech_.off("canplay",r),t.tech_.off("play",n),t.tech_.off("seeking",t.watchForBadSeeking_),t.tech_.off("seeked",t.clearSeekingAppendCheck_),l.forEach((function(e){s[e+"SegmentLoader_"].off("appendsdone",c[e].updateend),s[e+"SegmentLoader_"].off("playlistupdate",c[e].reset),t.tech_.off(["seeked","seeking"],c[e].reset)})),t.checkCurrentTimeTimeout_&&a().clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&a().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=a().setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+"SegmentLoader_"];this[e+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,n=t[e+"SegmentLoader_"],r=n.buffered_(),o=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e.start(n)!==t.start(n)||e.end(n)!==t.end(n))return!0;return!1}(this[e+"Buffered_"],r);this[e+"Buffered_"]=r,o?this.resetSegmentDownloads_(e):(this[e+"StalledDownloads_"]++,this.logger_("found #"+this[e+"StalledDownloads_"]+" "+e+" appends that did not increase buffer (possible stalled download)",{playlistId:n.playlist_&&n.playlist_.id,buffered:ts(r)}),this[e+"StalledDownloads_"]<10||(this.logger_(e+" loader stalled download exclusion"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:"vhs-"+e+"-download-exclusion"}),"subtitle"!==e&&t.blacklistCurrentPlaylist({message:"Excessive "+e+" segment downloading detected."},1/0)))},t.checkCurrentTime_=function(){if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+.1>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),n=this.tech_.currentTime();this.afterSeekableWindow_(t,n,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1));if(this.beforeSeekableWindow_(t,n)){var r=t.start(0);e=r+(r===t.end(0)?0:.1)}if(void 0!==e)return this.logger_("Trying to seek outside of seekable at time "+n+" with seekable range "+es(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var o=this.masterPlaylistController_.sourceUpdater_,i=this.tech_.buffered(),a=o.audioBuffer?o.audioBuffered():null,s=o.videoBuffer?o.videoBuffered():null,l=this.media(),c=l.partTargetDuration?l.partTargetDuration:2*(l.targetDuration-1/30),u=[a,s],d=0;d<u.length;d++){if(u[d])if(rs(u[d],n)<c)return!1}var p=Ja(i,n);return 0!==p.length&&(e=p.start(0)+.1,this.logger_("Buffered region starts ("+p.start(0)+")  just beyond seek point ("+n+"). Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0)},t.waiting_=function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=Xa(t,e);return n.length&&e+3<=n.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.logger_("Stopped at "+e+" while inside a buffered region ["+n.start(0)+" -> "+n.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var n=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+n),this.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var r=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,o=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:r.audioBuffered(),videoBuffered:r.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var i=Ja(o,t);if(i.length>0){var a=i.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+a+", seeking to "+i.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*a,t),!0}return!1},t.afterSeekableWindow_=function(e,t,n,r){if(void 0===r&&(r=!1),!e.length)return!1;var o=e.end(e.length-1)+.1;return!n.endList&&r&&(o=e.end(e.length-1)+3*n.targetDuration),t>o},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)},t.videoUnderflow_=function(e){var t=e.videoBuffered,n=e.audioBuffered,r=e.currentTime;if(t){var o;if(t.length&&n.length){var i=Xa(t,r-3),a=Xa(t,r),s=Xa(n,r);s.length&&!a.length&&i.length&&(o={start:i.end(0),end:s.end(0)})}else{Ja(t,r).length||(o=this.gapFromVideoUnderflow_(t,r))}return!!o&&(this.logger_("Encountered a gap in video from "+o.start+" to "+o.end+". Seeking to current time "+r),!0)}},t.skipTheGap_=function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=Ja(t,n);this.cancelTimer_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+1/30),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},t.gapFromVideoUnderflow_=function(e,t){for(var n=function(e){if(e.length<2)return Ga.createTimeRanges();for(var t=[],n=1;n<e.length;n++){var r=e.end(n-1),o=e.start(n);t.push([r,o])}return Ga.createTimeRanges(t)}(e),r=0;r<n.length;r++){var o=n.start(r),i=n.end(r);if(t-o<4&&t-o>2)return{start:o,end:i}}return null},e}(),Kc={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},$c={PlaylistLoader:Ls,Playlist:Cs,utils:$s,STANDARD_PLAYLIST_SELECTOR:Zl,INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(Cs.isEnabled);return Gl(t,(function(e,t){return Wl(e,t)})),t.filter((function(t){return!!Hl(e.playlists.master,t).video}))[0]||null},lastBandwidthSelector:Zl,movingAverageBandwidthSelector:function(e){var t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var r=this.useDevicePixelRatio&&a().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),Yl(this.playlists.master,t,parseInt(ql(this.tech_.el(),"width"),10)*r,parseInt(ql(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:Wl,comparePlaylistResolution:function(e,t){var n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||a().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||a().Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:Hs()};Object.keys(cl).forEach((function(e){Object.defineProperty($c,e,{get:function(){return Ga.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),cl[e]},set:function(t){Ga.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?Ga.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):cl[e]=t}})}));var Qc=function(e,t){for(var n=t.media(),r=-1,o=0;o<e.length;o++)if(e[o].id===n.id){r=o;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};$c.canPlaySource=function(){return Ga.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Xc=function(e){var t=e.player,n=e.sourceKeySystems,r=e.audioMedia,o=e.mainPlaylists;if(!t.eme.initializeMediaKeys)return Promise.resolve();var i=function(e,t){return e.reduce((function(e,n){if(!n.contentProtection)return e;var r=t.reduce((function(e,t){var r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[])}(r?o.concat([r]):o,Object.keys(n)),a=[],s=[];return i.forEach((function(e){s.push(new Promise((function(e,n){t.tech_.one("keysessioncreated",e)}))),a.push(new Promise((function(n,r){t.eme.initializeMediaKeys({keySystems:e},(function(e){e?r(e):n()}))})))})),Promise.race([Promise.all(a),Promise.race(s)])},Jc=function(e){var t=e.player,n=function(e,t,n){if(!e)return e;var r={};t&&t.attributes&&t.attributes.CODECS&&(r=Fl(q(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);var o=W(r.video),i=W(r.audio),a={};for(var s in e)a[s]={},i&&(a[s].audioContentType=i),o&&(a[s].videoContentType=o),t.contentProtection&&t.contentProtection[s]&&t.contentProtection[s].pssh&&(a[s].pssh=t.contentProtection[s].pssh),"string"==typeof e[s]&&(a[s].url=e[s]);return Ga.mergeOptions(e,a)}(e.sourceKeySystems,e.media,e.audioMedia);return!!n&&(t.currentSource().keySystems=n,!(n&&!t.eme)||(Ga.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},eu=function(){if(!a().localStorage)return null;var e=a().localStorage.getItem("videojs-vhs");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};$c.supportsNativeHls=function(){if(!l()||!l().createElement)return!1;var e=l().createElement("video");if(!Ga.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),$c.supportsNativeDash=!!(l()&&l().createElement&&Ga.getTech("Html5").isSupported())&&/maybe|probably/i.test(l().createElement("video").canPlayType("application/dash+xml")),$c.supportsTypeNatively=function(e){return"hls"===e?$c.supportsNativeHls:"dash"===e&&$c.supportsNativeDash},$c.isSupported=function(){return Ga.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var tu=function(e){function t(t,n,r){var o;if(o=e.call(this,n,Ga.mergeOptions(r.hls,r.vhs))||this,r.hls&&Object.keys(r.hls).length&&Ga.log.warn("Using hls options is deprecated. Please rename `hls` to `vhs` in your options object."),"number"==typeof r.initialBandwidth&&(o.options_.bandwidth=r.initialBandwidth),o.logger_=$a("VhsHandler"),n.options_&&n.options_.playerId){var i=Ga(n.options_.playerId);i.hasOwnProperty("hls")||Object.defineProperty(i,"hls",{get:function(){return Ga.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"hls-player-access"}),p(o)},configurable:!0}),i.hasOwnProperty("vhs")||Object.defineProperty(i,"vhs",{get:function(){return Ga.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"vhs-player-access"}),p(o)},configurable:!0}),i.hasOwnProperty("dash")||Object.defineProperty(i,"dash",{get:function(){return Ga.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),p(o)},configurable:!0}),o.player_=i}if(o.tech_=n,o.source_=t,o.stats={},o.ignoreNextSeekingEvent_=!1,o.setOptions_(),o.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(o.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return o.on(l(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(e){var t=l().fullscreenElement||l().webkitFullscreenElement||l().mozFullScreenElement||l().msFullscreenElement;t&&t.contains(o.tech_.el())?o.masterPlaylistController_.fastQualityChange_():o.masterPlaylistController_.checkABR_()})),o.on(o.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),o.on(o.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),o.on(o.tech_,"play",o.play),o}h(t,e);var n=t.prototype;return n.setOptions_=function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var t=eu();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),t&&t.throughput&&(this.options_.throughput=t.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=cl.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===cl.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","useDtsForTimestampOffset","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(t){void 0!==e.source_[t]&&(e.options_[t]=e.source_[t])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},n.src=function(e,t){var n=this;if(e){var r;this.setOptions_(),this.options_.src=0===(r=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(r.substring(r.indexOf(",")+1)):r,this.options_.tech=this.tech_,this.options_.externVhs=$c,this.options_.sourceType=Q(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.options_.smoothQualityChange&&Ga.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new Gc(this.options_);var o=Ga.mergeOptions({liveRangeSafeTimeDelta:.1},this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new Zc(o),this.masterPlaylistController_.on("error",(function(){var e=Ga.players[n.tech_.options_.playerId],t=n.masterPlaylistController_.error;"object"!==Nt(t)||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));var i=this.options_.experimentalBufferBasedABR?$c.movingAverageBandwidthSelector(.55):$c.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):i.bind(this),this.masterPlaylistController_.selectInitialPlaylist=$c.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var e=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,t=a().navigator.connection||a().navigator.mozConnection||a().navigator.webkitConnection;if(this.options_.useNetworkInformationApi&&t){var n=1e3*t.downlink*1e3;e=n>=1e7&&e>=1e7?Math.max(e,n):n}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e,t=1/(this.bandwidth||1);return e=this.throughput>0?1/this.throughput:0,Math.floor(1/(t+e))},set:function(){Ga.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return ts(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return ts(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!a().localStorage)return!1;var t=eu();t=t?Ga.mergeOptions(t,e):e;try{a().localStorage.setItem("videojs-vhs",JSON.stringify(t))}catch(e){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e;(e=n).representations=function(){var t=e.masterPlaylistController_.master(),n=ws(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((function(e){return!ms(e)})).map((function(t,n){return new Wc(e,t,t.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){n.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=a().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},n.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),Xc({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},n.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},n.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=Jc({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});this.player_.tech_.on("keystatuschange",(function(t){if("output-restricted"===t.status){var n=e.masterPlaylistController_.master();if(n&&n.playlists){var r,o=[];if(n.playlists.forEach((function(e){e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,o.push(e))})),o.length)(r=Ga.log).warn.apply(r,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(o)),e.masterPlaylistController_.fastQualityChange_()}}})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==Ga.browser.IE_VERSION&&n?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},n.setupQualityLevels_=function(){var e=this,t=Ga.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t,n;t=e.qualityLevels_,(n=e).representations().forEach((function(e){t.addQualityLevel(e)})),Qc(t,n.playlists)})),this.playlists.on("mediachange",(function(){Qc(e.qualityLevels_,e.playlists)})))},t.version=function(){return{"@videojs/http-streaming":"2.16.3","mux.js":"6.0.1","mpd-parser":"0.22.1","m3u8-parser":"4.8.0","aes-decrypter":"3.1.3"}},n.version=function(){return this.constructor.version()},n.canChangeType=function(){return Ec.canChangeType()},n.play=function(){this.masterPlaylistController_.play()},n.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},n.duration=function(){return this.masterPlaylistController_.duration()},n.seekable=function(){return this.masterPlaylistController_.seekable()},n.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&a().URL.revokeObjectURL&&(a().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},n.convertToProgramTime=function(e,t){return Qs({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},n.seekToProgramTime=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=2),Xs({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(Ga.getComponent("Component")),nu={name:"videojs-http-streaming",VERSION:"2.16.3",canHandleSource:function(e,t){void 0===t&&(t={});var n=Ga.mergeOptions(Ga.options,t);return nu.canPlayType(e.type,n)},handleSource:function(e,t,n){void 0===n&&(n={});var r=Ga.mergeOptions(Ga.options,n);return t.vhs=new tu(e,t,r),Ga.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return Ga.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=Hs(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){var n=Q(e);if(!n)return"";var r=nu.getOverrideNative(t);return!$c.supportsTypeNatively(n)||r?"maybe":""},getOverrideNative:function(e){void 0===e&&(e={});var t=e,n=t.vhs,r=void 0===n?{}:n,o=t.hls,i=void 0===o?{}:o,a=!(Ga.browser.IS_ANY_SAFARI||Ga.browser.IS_IOS),s=r.overrideNative,l=void 0===s?a:s,c=i.overrideNative;return void 0!==c&&c||l}};(Y("avc1.4d400d,mp4a.40.2")&&Ga.getTech("Html5").registerSourceHandler(nu,0),Ga.VhsHandler=tu,Object.defineProperty(Ga,"HlsHandler",{get:function(){return Ga.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),tu},configurable:!0}),Ga.VhsSourceHandler=nu,Object.defineProperty(Ga,"HlsSourceHandler",{get:function(){return Ga.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),nu},configurable:!0}),Ga.Vhs=$c,Object.defineProperty(Ga,"Hls",{get:function(){return Ga.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),$c},configurable:!0}),Ga.use||(Ga.registerComponent("Hls",$c),Ga.registerComponent("Vhs",$c)),Ga.options.vhs=Ga.options.vhs||{},Ga.options.hls=Ga.options.hls||{},Ga.getPlugin&&Ga.getPlugin("reloadSourceOnError"))||(Ga.registerPlugin||Ga.plugin)("reloadSourceOnError",(function(e){!function e(t,n){var r=0,o=0,i=Ga.mergeOptions(Kc,n);t.ready((function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var a=function(){o&&t.currentTime(o)},s=function(e){null!=e&&(o=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",a),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},l=function(){return Date.now()-r<1e3*i.errorInterval?(t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void t.trigger({type:"usage",name:"hls-error-reload-canceled"})):i.getSource&&"function"==typeof i.getSource?(r=Date.now(),i.getSource.call(t,s)):void Ga.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},c=function e(){t.off("loadedmetadata",a),t.off("error",l),t.off("dispose",e)};t.on("error",l),t.on("dispose",c),t.reloadSourceOnError=function(n){c(),e(t,n)}}(this,e)}));const ru=Ga;n(82102),n(10962),n(74819);function ou(e){return(ou="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function au(e,t,n){return(au="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=uu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function su(e,t){return(su=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uu(e);if(t){var o=uu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cu(this,n)}}function cu(e,t){if(t&&("object"===ou(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 uu(e){return(uu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var du=function(e){!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}}),t&&su(e,t)}(i,e);var t,n,r,o=lu(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,e,t)).secs=t.seconds||5,n}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-forward-control ".concat(au(uu(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){var t=this.player().currentTime()+this.secs;t<0&&(t=0),this.player().currentTime(t)}}])&&iu(t.prototype,n),r&&iu(t,r),i}(ru.getComponent("Button"));du.prototype.controlText_="Forward";const pu=du;n(83473);function fu(e){return(fu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hu(e,t){return(hu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yu(e);if(t){var o=yu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gu(this,n)}}function gu(e,t){if(t&&("object"===fu(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 yu(e){return(yu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vu=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("forwardButton",pu);var bu=function(e){!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}}),t&&hu(e,t)}(n,e);var t=mu(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.ready((function(){e.controlBar.forwardButton=e.controlBar.addChild("forwardButton",{seconds:r.seconds},r.index)})),o}return n}(vu),_u=n(27266),wu=n.n(_u);function Cu(e){return(Cu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Su(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Eu(e,t,n){return(Eu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Tu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function xu(e,t){return(xu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ku(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Tu(e);if(t){var o=Tu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ou(this,n)}}function Ou(e,t){if(t&&("object"===Cu(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 Tu(e){return(Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Au=function(e){!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}}),t&&xu(e,t)}(i,e);var t,n,r,o=ku(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-download-button ".concat(Eu(Tu(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){this.options().downloadFn&&this.options().downloadFn(this.options().attachment)||wu()(this.options().attachment.url)}}])&&Su(t.prototype,n),r&&Su(t,r),i}(ru.getComponent("Button"));Au.prototype.controlText_="Download";const Pu=Au;n(42742);function Ru(e){return(Ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Iu(e,t){return(Iu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Du(e);if(t){var o=Du(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Nu(this,n)}}function Nu(e,t){if(t&&("object"===Ru(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 Du(e){return(Du=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ju=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("downloadButton",Pu);var Lu=function(e){!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}}),t&&Iu(e,t)}(n,e);var t=Mu(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.ready((function(){e.controlBar.downloadButton=e.controlBar.addChild("downloadButton",{downloadFn:r.downloadFn,attachment:r.attachment},r.index)})),o}return n}(ju);function Bu(e){return(Bu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uu(e,t,n){return(Uu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qu(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Hu(e,t){return(Hu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qu(e);if(t){var o=qu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zu(this,n)}}function zu(e,t){if(t&&("object"===Bu(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 qu(e){return(qu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gu=function(e){!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}}),t&&Hu(e,t)}(i,e);var t,n,r,o=Vu(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-shadow"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.className||(t.className=this.buildCSSClass());var r=Uu(qu(i.prototype),"createEl",this).call(this,e,t,n),o=document.createElement("div");o.classList.add("vjs-control-shadow");var a=document.createElement("div");return a.classList.add("vjs-video-name"),a.innerText=this.options().videoName,r.appendChild(a),r.appendChild(o),r}}])&&Fu(t.prototype,n),r&&Fu(t,r),i}(ru.getComponent("Spacer"));Gu.prototype.controlText_="Shadow";const Wu=Gu;n(95306);function Yu(e){return(Yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $u(e,t){return($u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ju(e);if(t){var o=Ju(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xu(this,n)}}function Xu(e,t){if(t&&("object"===Yu(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 Ju(e){return(Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ed=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("controlShadow",Wu);var td=function(e){!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}}),t&&$u(e,t)}(n,e);var t=Qu(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.controlShadow=e.addChild("controlShadow",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zu(Object(n),!0).forEach((function(t){Ku(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),3),o}return n}(ed),nd=(n(91038),n(8065)),rd=n(8523);function od(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function id(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ad(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ad(e,t)}(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 ad(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var sd=parseInt(rd.ctaButtonPadding.replace("px","")),ld=function(e){var t=e.onPlayAgain,n=e.type,o=e.description,i=e.i18n,a=["video-player-cta__play-again-button"];return("button"===n&&!o||"image"===n)&&a.push("video-player-cta__play-again-button_style_button"),(0,r.h)("div",{className:"video-player-cta__play-again-wrap"},(0,r.h)("button",{onClick:t,className:a.join(" ")},(0,r.h)("span",null,i.get("video.player.watch_again"))))},cd=function(e){var t=e.description,n=e.title,o=e.address,i=e.buttonSize,a=e.background,s=e.buttonShape,l=e.buttonId,c=e.playAgainBtn,u=["button-single"];return t&&u.push("video-player-cta__button"),(0,r.h)("div",{className:"video-player-cta__button-wrapper"},(0,r.h)("div",{className:u.join(" ")},(0,r.h)("div",{className:"video-player-cta__nimbus-button-wrap"},(0,r.h)("nimbus-button",{id:l,"data-size":i,"data-background":a,"data-shape":s,"data-type":"default",className:"single-button",onClick:function(){return window.open(o,"_blank")}},(0,r.h)("span",{className:"button-content"},(0,r.h)("b",null,n)))),t?(0,r.h)("div",{className:"video-payer-cta__description"},t):null,"end"===e.whenToShow&&e.showPlayAgain?(0,r.h)(ld,e):null),c)},ud=function(e){var t=e.address,n=e.children;return t?(0,r.h)("a",{href:t,target:"_blank",className:"video-payer-cta__image-link"},n):n},dd=function(e){var t=e.address,n=e.imageUrl;return(0,r.h)("div",{className:"video-player-cta__image-wrapper"},(0,r.h)(ud,{address:t},(0,r.h)("img",{src:n,className:"video-player-cta__image"})),"end"===e.whenToShow&&e.showPlayAgain?(0,r.h)(ld,e):null)};const pd=function(e){var t,n=e.hideControls,o=e.type,i=e.description,a=e.title,s=(0,nd.sO)(null),l=(0,nd.sO)(null),c=id((0,nd.eJ)(0),2),u=c[0],d=c[1],p=id((0,nd.eJ)(0),2),f=p[0],h=p[1],m=id((0,nd.eJ)(!1),2),g=m[0],y=m[1],v=id((0,nd.eJ)(!1),2),b=v[0],_=v[1],w=id((0,nd.eJ)(!0),2),C=w[0],S=w[1];(0,nd.d4)((function(){_(!1)}),[i,a]),(0,nd.d4)((function(){if(null!=s&&s.current){var e=new ResizeObserver((function(){!function(e,t,n){if(null==t||!t.current||null==e||!e.current)return!1;var r=n.setHeight,o=n.setWidth,i=n.setButtonOversize,a=n.setCtaOversize,s=n.setIsPanel,l=n.hideControls,c=t.current.getBoundingClientRect(),u=e.current.closest(".video-js").querySelector("video").getBoundingClientRect(),d=u.width,p=u.height;if(p){var f=d>=350&&!l,h=c.height>=p-30,m=c.width>=d-2*sd;r(p),o(d),i(m),a(h),s(f)}}(s,l,{setWidth:d,setHeight:h,setButtonOversize:y,setCtaOversize:_,setIsPanel:S,hideControls:n})}));return e.observe(s.current),function(){e.disconnect(s.current)}}}),[null==l?void 0:l.current]);var E=["video-player-cta"];e.showPlayAgain&&"end"===e.whenToShow&&E.push("video-player-cta_play-again"),"button"===e.type&&E.push("video-player-cta_button"),g&&E.push("video-player-cta_button-oversize"),b&&E.push("video-player-cta_oversize"),C&&E.push("video-player-cta_panel");var x=["video-player-cta__cta"];"image"===o&&x.push("video-player-cta__cta_type_image"),"button"===o&&x.push("video-player-cta__cta_type_button");"end"===e.whenToShow&&e.showPlayAgain&&"button"!==o&&(0,r.h)(ld,e);return(0,r.h)("div",{className:E.join(" "),ref:s,style:(t={},od(t,"--height",f+"px"),od(t,"--width",u+"px"),t)},(0,r.h)("div",{className:x.join(" "),ref:l},"button"===o?(0,r.h)(cd,e):null,"image"===o?(0,r.h)(dd,e):null))};function fd(e){return(fd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hd(){return(hd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function md(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gd(e,t,n){return(gd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=wd(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function yd(e,t){return(yd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wd(e);if(t){var o=wd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bd(this,n)}}function bd(e,t){if(t&&("object"===fd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _d(e)}function _d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wd(e){return(wd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Cd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sd=function(e){!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}}),t&&yd(e,t)}(a,e);var t,n,o,i=vd(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Cd(_d(n=i.call(this,e,t)),"onPlayerPause",(function(){n.player().ended()||"pause"===n.options().whenToShow&&n.renderCtaComponent()})),Cd(_d(n),"onPlayerEnded",(function(){"end"===n.options().whenToShow&&n.renderCtaComponent()})),Cd(_d(n),"onPlayerPlay",(function(){n.renderCtaComponent(!1)})),Cd(_d(n),"onPlayAgain",(function(){n.player().play()})),e.on("pause",n.onPlayerPause),e.on("ended",n.onPlayerEnded),e.on("play",n.onPlayerPlay),n}return t=a,(n=[{key:"renderCtaComponent",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.el();e?(0,r.sY)((0,r.h)(pd,hd({},this.options(),{hideControls:!this.player().options().controls,onPlayAgain:this.onPlayAgain,i18n:this.options().editor.plugins.i18n})),t):t.childNodes.length&&(0,r.sY)(null,t)}},{key:"buildCSSClass",value:function(){return"vjs-cta"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),gd(wd(a.prototype),"createEl",this).call(this,e,t,n)}}])&&md(t.prototype,n),o&&md(t,o),a}(ru.getComponent("Spacer"));function Ed(e){return(Ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Od(e,t){return(Od=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Td(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pd(e);if(t){var o=Pd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ad(this,n)}}function Ad(e,t){if(t&&("object"===Ed(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 Pd(e){return(Pd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Rd=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("cta",Sd);var Id=function(e){!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}}),t&&Od(e,t)}(n,e);var t=Td(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.cta=e.addChild("cta",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(n),!0).forEach((function(t){kd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),2),o}return n}(Rd),Md=n(49190);function Nd(e){return(Nd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jd(e,t,n){return(jd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hd(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Ld(e,t){return(Ld=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Hd(e);if(t){var o=Hd(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fd(this,n)}}function Fd(e,t){if(t&&("object"===Nd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ud(e)}function Ud(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hd(e){return(Hd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zd=function(e){!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}}),t&&Ld(e,t)}(a,e);var t,n,o,i=Bd(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Vd(Ud(n=i.call(this,e,t)),"onPlayerEnded",(function(){n.options().showAdv&&n.renderAdvComonent()})),Vd(Ud(n),"onPlayerPlay",(function(){n.options().showAdv&&n.renderAdvComonent(!1)})),Vd(Ud(n),"onPlayAgain",(function(){n.player().play()})),e.on("ended",n.onPlayerEnded),e.on("play",n.onPlayerPlay),n}return t=a,(n=[{key:"getAdvHTML",value:function(){var e=this.options().blot;return e&&e.blotConfig&&e.blotConfig.getAdvert()||null}},{key:"renderAdvComonent",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getAdvHTML(),n=this.el();if(t&&e){var o=this.options().editor.plugins.i18n.get("video.player.watch_again"),i=(0,r.h)("div",{className:"video-player-popup"},(0,r.h)("div",{className:"video-player-popup-bg"},(0,r.h)("div",{className:"popup-content",dangerouslySetInnerHTML:{__html:t}})),(0,r.h)("div",{className:"watch-again",onClick:this.onPlayAgain},(0,r.h)(Md._Ts,null),o));(0,r.sY)(i,n)}else n.childNodes.length&&(0,r.sY)(null,n)}},{key:"buildCSSClass",value:function(){return"vjs-nimbus-adv"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),jd(Hd(a.prototype),"createEl",this).call(this,e,t,n)}}])&&Dd(t.prototype,n),o&&Dd(t,o),a}(ru.getComponent("Spacer"));n(53893);function qd(e){return(qd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yd(e,t){return(Yd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$d(e);if(t){var o=$d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kd(this,n)}}function Kd(e,t){if(t&&("object"===qd(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 $d(e){return($d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Qd=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("nimbusAdv",zd);var Xd=function(e){!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}}),t&&Yd(e,t)}(n,e);var t=Zd(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.nimbusAdv=e.addChild("nimbusAdv",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gd(Object(n),!0).forEach((function(t){Wd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),4),o}return n}(Qd);function Jd(e){return(Jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ep(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tp(e,t,n){return(tp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ip(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function np(e,t){return(np=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ip(e);if(t){var o=ip(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return op(this,n)}}function op(e,t){if(t&&("object"===Jd(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 ip(e){return(ip=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ap=function(e){!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}}),t&&np(e,t)}(i,e);var t,n,r,o=rp(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-toggle-play"}},{key:"handleClick",value:function(e){e.preventDefault(),this.player().paused()?this.player().play():this.player().pause()}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),tp(ip(i.prototype),"createEl",this).call(this,e,t,n)}}])&&ep(t.prototype,n),r&&ep(t,r),i}(ru.getComponent("Button"));ap.prototype.controlText_="Toggle Play";const sp=ap;n(80049);function lp(e){return(lp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cp(e,t){return(cp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function up(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pp(e);if(t){var o=pp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dp(this,n)}}function dp(e,t){if(t&&("object"===lp(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 pp(e){return(pp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fp=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("togglePlay",sp);var hp=function(e){!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}}),t&&cp(e,t)}(n,e);var t=up(n);function n(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),r=t.call(this,e),e.togglePlay=e.addChild("togglePlay",{},5),r}return n}(fp);function mp(e){return(mp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function yp(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){gp(i,r,o,a,s,"next",e)}function s(e){gp(i,r,o,a,s,"throw",e)}a(void 0)}))}}function vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bp(e,t,n){return(bp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ep(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function _p(e,t){return(_p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ep(e);if(t){var o=Ep(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Cp(this,n)}}function Cp(e,t){if(t&&("object"===mp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sp(e)}function Sp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ep(e){return(Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kp=function(e){!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}}),t&&_p(e,t)}(a,e);var t,n,o,i=wp(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),xp(Sp(n=i.call(this,e,t)),"reRender",function(){var e=yp(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.previewSettings=t,!n.previewSettings){e.next=7;break}return e.next=4,n.loadPreviewAttach();case 4:n.setState({textColor:n.previewSettings?n.previewSettings.textOverlay?n.previewSettings.textOverlay.color:"#fff":""}),n.previewArea(),n.renderPreviewComponent();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),xp(Sp(n),"onPlayerResize",(function(){n.previewSettings&&(n.previewArea(),n.renderPreviewComponent())})),xp(Sp(n),"loadPreviewAttach",yp(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=null,!n.previewSettings){e.next=12;break}if("first_frame"!=n.previewSettings.activePreviewType){e.next=6;break}n.setState({previewImage:null,previewBackground:"none"}),e.next=12;break;case 6:if(!(t=n.previewSettings.previews[n.previewSettings.activePreviewType].attachmentGlobalId)){e.next=12;break}return e.next=10,n.previewAttach(t);case 10:(r=e.sent)&&n.setState({previewImage:r.url,previewBackground:"#141414"});case 12:case"end":return e.stop()}}),e)})))),xp(Sp(n),"onPlayerReady",yp(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.previewSettings){e.next=5;break}return e.next=3,n.loadPreviewAttach();case 3:n.previewArea(),n.renderPreviewComponent();case 5:case"end":return e.stop()}}),e)})))),xp(Sp(n),"onPlayerPlay",(function(){n.setState({playerIsPlayed:!0}),n.renderPreviewComponent(!1)})),xp(Sp(n),"onPlayerPause",(function(){n.setState({playerIsPlayed:!0}),n.renderPreviewComponent(!1)})),xp(Sp(n),"findFnt",(function(e,t,r,o,i){var a=n.wrapTextNew(e,t,r);return a.length>2?(e.font=o[i++]+"px Arial",n.findFnt(e,t,r,o,i)):[a,i]})),xp(Sp(n),"findHeightFnt",(function(e,t,r,o,i){for(var a=0,s=0;s<t.length;s++)e.font=o[i]+"pt Arial",e.measureText(t[s]),a+=parseInt(e.font.match(/\d+/),10);return a>r?n.findHeightFnt(e,t,r,o,++i):o[i]})),xp(Sp(n),"wrapTextNew",(function(e,t,n){for(var r=t.split(" "),o="",i="",a=[],s=0;s<r.length;s++){i+="".concat(r[s]," "),e.measureText(i).width>n&&s>0?(a.push(o),o="".concat(r[s]," "),i="".concat(r[s]," ")):o+="".concat(r[s]," "),s===r.length-1&&a.push(o)}return a})),xp(Sp(n),"setTextDisplay",(function(e){n.setState({display:e})})),xp(Sp(n),"previewArea",(function(){if(n.state.playerIsPlayed)return n.setTextDisplay("none"),!1;var e=window.document.getElementById(n.player.id_);if(!e)return n.setTextDisplay("none"),!1;var t=e.clientHeight,r=e.clientWidth,o=Math.floor(r),i=Math.floor(t)/2-30;if(n.setState({heightOfPreview:t}),o<280)return n.setTextDisplay("none"),!1;if(n.setTextDisplay("flex"),!n.previewSettings.textOverlay||!n.previewSettings.textOverlay.enable)return n.setState({previewText:null,display:"none"}),!1;var a=n.previewSettings.textOverlay.text,s=document.createElement("canvas"),l=s.getContext("2d");s.width=r,s.height=i,l.textAlign="left",l.textBaseline="left";var c,u,d=0,p=52,f=[];for(u=8;u<=52;u++)u%2&&f.push(u+1);f.reverse(),l.font=p+"px Arial";var h=n.findFnt(l,a,r,f,0),m=h[0],g=h[1],y=m.join("\n");p=g;for(u=0;u<m.length;u++){d=0;do{l.font=f[d++]+"pt Arial",c=l.measureText(m[u]),f[d]>=g&&(p=f[d+1])}while(c.width>=s.width);parseInt(l.font.match(/\d+/),10)}p=n.findHeightFnt(l,m,s.height,f,d),s.remove(),y=y.split("\n").join("<br/>"),n.setState({previewText:y,fnt:p,height:i})})),n.previewSettings=t.previewSettings,n.previewAttach=t.previewAttach,n.player=e,n.state={textColor:n.previewSettings?n.previewSettings.textOverlay?n.previewSettings.textOverlay.color:"#fff":"",previewImage:null,previewText:null,fnt:null,display:"flex",height:"3em",heightOfPreview:"100%",previewBackground:"none",playerIsPlayed:!1},e.on("ready",n.onPlayerReady),e.on("play",n.onPlayerPlay),e.on("pause",n.onPlayerPause),e.on("playerresize",n.onPlayerResize),n}return t=a,(n=[{key:"renderPreviewComponent",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.el();if(e){var n=(0,r.h)("div",{class:"video-preview-wrapper",style:{background:this.state.playerIsPlayed?"none":this.state.previewBackground,height:this.state.heightOfPreview}},(0,r.h)("div",{className:"video-player-popup vjs-emre",style:{height:this.state.height,fontSize:this.state.fnt,color:this.state.textColor,display:this.state.display},dangerouslySetInnerHTML:{__html:this.state.previewText}}),(0,r.h)("div",{class:"video-player-preview",style:{height:this.state.heightOfPreview-41,background:this.state.previewImage&&!this.state.playerIsPlayed?"url('"+this.state.previewImage+"') no-repeat center / contain #141414":"none",backgroundSize:"contain",display:this.state.previewImage&&!this.state.playerIsPlayed?"block":"none"}}));(0,r.sY)(n,t)}else t.childNodes.length&&(0,r.sY)(null,t)}},{key:"buildCSSClass",value:function(){return"vjs-nimbus-preview"}},{key:"createEl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.className||(t.className=this.buildCSSClass()),bp(Ep(a.prototype),"createEl",this).call(this,e,t,n)}}])&&vp(t.prototype,n),o&&vp(t,o),a}(ru.getComponent("Spacer"));n(39727);function Op(e){return(Op="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ap(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pp(e,t){return(Pp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Mp(e);if(t){var o=Mp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ip(this,n)}}function Ip(e,t){if(t&&("object"===Op(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 Mp(e){return(Mp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Np=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("previewVideo",kp);var Dp=function(e){!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}}),t&&Pp(e,t)}(n,e);var t=Rp(n);function n(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o=t.call(this,e),e.previewVideo=e.addChild("previewVideo",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tp(Object(n),!0).forEach((function(t){Ap(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r),4),o}return n}(Np);function jp(e){return(jp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bp(e,t,n){return(Bp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Vp(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function Fp(e,t){return(Fp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Up(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Vp(e);if(t){var o=Vp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Hp(this,n)}}function Hp(e,t){if(t&&("object"===jp(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 Vp(e){return(Vp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zp=function(e){!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}}),t&&Fp(e,t)}(i,e);var t,n,r,o=Up(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,e,t)).controlTextEl_.innerHTML=window.gEditor?window.gEditor.plugins.i18n.get("file.menu.preview_video_btn"):"Preview",n}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-preview-button ".concat(Bp(Vp(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){this.options().clickFn&&this.options().clickFn(this.options().attachment)}}])&&Lp(t.prototype,n),r&&Lp(t,r),i}(ru.getComponent("Button"));zp.prototype.controlText_="Preview";const qp=zp;n(57167);function Gp(e){return(Gp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yp(e,t){return(Yp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$p(e);if(t){var o=$p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kp(this,n)}}function Kp(e,t){if(t&&("object"===Gp(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 $p(e){return($p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Qp=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("previewButton",qp);var Xp=function(e){!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}}),t&&Yp(e,t)}(i,e);var t,n,r,o=Zp(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n=o.call(this,e),t?(e.ready((function(){n.previewButton=e.controlBar.addChild("previewButton",{clickFn:t.clickFn,attachment:t.attachment},t.index),t.show||n.previewButton.hide(),e.controlBar.previewButton=n.previewButton})),n):Kp(n)}return t=i,(n=[{key:"show",value:function(){this.previewButton&&this.previewButton.show()}},{key:"hide",value:function(){this.previewButton&&this.previewButton.hide()}}])&&Wp(t.prototype,n),r&&Wp(t,r),i}(Qp);function Jp(e){return(Jp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ef(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tf(e,t,n){return(tf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=af(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function nf(e,t){return(nf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=af(e);if(t){var o=af(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return of(this,n)}}function of(e,t){if(t&&("object"===Jp(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 af(e){return(af=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var sf=function(e){!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}}),t&&nf(e,t)}(i,e);var t,n,r,o=rf(i);function i(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e,t)}return t=i,(n=[{key:"buildCSSClass",value:function(){return"vjs-transcript-button ".concat(tf(af(i.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){var t=this;if(this.options().clickFn){var n=Object.assign({},this.options().attachment),r=document.createElement("video");r.src=n.url,r.onloadedmetadata=function(){n.duration=r.duration,t.options().clickFn(n)}}}}])&&ef(t.prototype,n),r&&ef(t,r),i}(ru.getComponent("Button"));sf.prototype.controlText_="Transcript";const lf=sf;n(36663);function cf(e){return(cf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function uf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function df(e,t){return(df=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=hf(e);if(t){var o=hf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ff(this,n)}}function ff(e,t){if(t&&("object"===cf(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 hf(e){return(hf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var mf=ru.getPlugin("plugin");ru.getComponent("Component").registerComponent("transcriptButton",lf);var gf=function(e){!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}}),t&&df(e,t)}(i,e);var t,n,r,o=pf(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n=o.call(this,e),t?(e.ready((function(){n.transcriptButton=e.controlBar.addChild("transcriptButton",{clickFn:t.clickFn,attachment:t.attachment},t.index),t.show||n.transcriptButton.hide(),e.controlBar.transcriptButton=n.transcriptButton})),n):ff(n)}return t=i,(n=[{key:"show",value:function(){this.transcriptButton&&this.transcriptButton.show()}},{key:"hide",value:function(){this.transcriptButton&&this.transcriptButton.hide()}}])&&uf(t.prototype,n),r&&uf(t,r),i}(mf);function yf(e){return(yf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bf(e,t){return(bf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sf(e);if(t){var o=Sf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wf(this,n)}}function wf(e,t){if(t&&("object"===yf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Cf(e)}function Cf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sf(e){return(Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ru.registerPlugin("forwardButtonPlugin",bu),ru.registerPlugin("downloadButtonPlugin",Lu),ru.registerPlugin("controlShadowPlugin",td),ru.registerPlugin("callToActionPlugin",Id),ru.registerPlugin("nimbusAdvPlugin",Xd),ru.registerPlugin("togglePlayPlugin",hp),ru.registerPlugin("previewVideoPlugin",Dp),ru.registerPlugin("previewButtonPlugin",Xp),ru.registerPlugin("transcriptButtonPlugin",gf);var xf=function(e){!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}}),t&&bf(e,t)}(a,e);var t,n,o,i=_f(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Ef(Cf(t=i.call(this,e)),"onVideoRef",(function(e){t.videoNode=e})),Ef(Cf(t),"onRef",(function(e){t.domNode=e,t.props.onDomRef&&t.props.onDomRef(e)})),t}return t=a,(n=[{key:"componentDidMount",value:function(){this.player=ru(this.videoNode,this.props),this.props.onPlayerRef&&this.props.onPlayerRef(this.player)}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose()}},{key:"render",value:function(){return(0,r.h)("div",{"data-vjs-player":!0,ref:this.onRef},(0,r.h)("video",{ref:this.onVideoRef,className:"video-js vjs-big-play-centered vjs-theme-nimbus"}))}}])&&vf(t.prototype,n),o&&vf(t,o),a}(r.wA),kf=n(37733),Of=n.n(kf),Tf=ru.getComponent("Flash"),Af=!ru.browser.IS_IPHONE,Pf=ru.registerPlugin||ru.plugin,Rf={header:"",code:"",message:"",timeout:45e3,backgroundTimeout:3e5,dismiss:Af,errors:{1:{type:"MEDIA_ERR_ABORTED",headline:"The video download was cancelled"},2:{type:"MEDIA_ERR_NETWORK",headline:"The video connection was lost, please confirm you are connected to the internet"},3:{type:"MEDIA_ERR_DECODE",headline:"The video is bad or in a format that cannot be played on your browser"},4:{type:"MEDIA_ERR_SRC_NOT_SUPPORTED",headline:"This video is either unavailable or not supported in this browser"},5:{type:"MEDIA_ERR_ENCRYPTED",headline:"The video you are trying to watch is encrypted and we do not know how to decrypt it"},unknown:{type:"MEDIA_ERR_UNKNOWN",headline:"An unanticipated problem was encountered, check back soon and try again"},"-1":{type:"PLAYER_ERR_NO_SRC",headline:"No video has been loaded"},"-2":{type:"PLAYER_ERR_TIMEOUT",headline:"It looks like you're having playback issues. Reloading the video may help."},PLAYER_ERR_DOMAIN_RESTRICTED:{headline:"This video is restricted from playing on your current domain"},PLAYER_ERR_IP_RESTRICTED:{headline:"This video is restricted at your current IP address"},PLAYER_ERR_GEO_RESTRICTED:{headline:"This video is restricted from playing in your current geographic region"},FLASHLS_ERR_CROSS_DOMAIN:{headline:"The video could not be loaded: crossdomain access denied."}}},If=function e(t,n){var r,o,i,a=[],s=function(e){n.errors=ru.mergeOptions(n.errors,e),Object.keys(n.errors).forEach((function(e){var t=n.errors[e];t.type||(t.type=e)}))};s();var c=function(){t.error()&&-2===t.error().code&&t.error(null),t.clearTimeout(o),t.clearTimeout(r),i&&(i=!1,t.removeClass("vjs-waiting"));var e=[1/0,-1],a=function(e,t){return-1!==e.indexOf(t)};"hidden"===l().visibilityState&&(t.muted()||a(e,n.backgroundTimeout))||"visible"===l().visibilityState&&a(e,n.timeout)||(o=t.setTimeout((function(){t.error()||t.paused()||t.ended()||(i=!0,t.addClass("vjs-waiting"))}),1e3),r=t.setTimeout((function(){t.error()||t.paused()||t.ended()||t.error({code:-2,type:"PLAYER_ERR_TIMEOUT"})}),"hidden"===l().visibilityState?n.backgroundTimeout:n.timeout))},u=function(){for(var e;a.length;)e=a.shift(),t.off(e[0],e[1]);t.clearTimeout(r),t.clearTimeout(o)},d=function e(){var n,r,o,i=0;u(),c(),n=["timeupdate","adtimeupdate"],r=function(){var e=t.currentTime();e!==i&&(i=e,c())},o=function(){if(!t.error()){var e=t.$(".vjs-tech");if(e&&"application/x-shockwave-flash"===e.type&&!e.vjs_getProperty)return void t.error({code:-2,type:"PLAYER_ERR_TIMEOUT"});if(t.paused())return c();if(t.ended())return c()}r.call(this)},t.on(n,o),a.push([n,o]),t.off(l(),"visibilitychange",e),t.on(l(),"visibilitychange",e)},p=function(){t.currentSrc()||t.error({code:-1,type:"PLAYER_ERR_NO_SRC"})},f=function(){var e="",r=t.error(),o=l().createElement("div"),i="";if(r){if(t.off(l(),"visibilitychange",d),(r=ru.mergeOptions(r,n.errors[r.code||r.type||0])).message&&(e='<div class="vjs-errors-details">'.concat(t.localize("Technical details"),'\n        : <div class="vjs-errors-message">').concat(t.localize(r.message),"</div>\n        </div>")),4===r.code&&Tf&&!Tf.isSupported()){var a=t.localize("If you are using an older browser please try upgrading or installing Flash.");e+='<span class="vjs-errors-flashmessage">'.concat(a,"</span>")}var s=t.getChild("errorDisplay");o.className="vjs-errors-dialog",o.id="vjs-errors-dialog";var c='<div class="vjs-errors-code"><b>'.concat(this.localize("Error Code"),":</b> ").concat(r.type||r.code,"</div>"),u=-2===r.code;i='<div class="vjs-errors-content-container">\n        <h2 class="vjs-errors-headline">'.concat(this.localize(r.headline),"</h2>\n        ").concat(u?"":c,"\n        ").concat(u?"":e,"\n      </div>");var p=s.closeable(!("dismiss"in r)||r.dismiss);if(u){i+='<div class="vjs-errors-timeout-button-container">\n         <button>'.concat(this.localize("Reload Video"),"</button>\n         <button>").concat(this.localize("Dismiss"),"</button>\n       </div>"),o.innerHTML=i,s.fillWith(o),s.getChild("closeButton").hide();var f=s.el().querySelector(".vjs-errors-timeout-button-container > button:first-child"),h=s.el().querySelector(".vjs-errors-timeout-button-container > button:last-child");t.on(f,"click",(function(){var e=t.currentSource();t.reset(),t.src(e)})),t.on(h,"click",(function(){s.close()})),s.one("modalclose",(function(){t.off(f),t.off(h)}))}else if(p){i+='<div class="vjs-errors-ok-button-container">\n          <button class="vjs-errors-ok-button">'.concat(this.localize("OK"),"</button>\n        </div>"),o.innerHTML=i,s.fillWith(o),s.contentEl().firstChild.appendChild(s.getChild("closeButton").el());var m=s.el().querySelector(".vjs-errors-ok-button");t.on(m,"click",(function(){s.close()}))}else o.innerHTML=i,s.fillWith(o);(t.currentWidth()<=600||t.currentHeight()<=250)&&s.addClass("vjs-xs"),s.one("modalclose",(function(){return t.error(null)}))}},h=function e(){u(),t.removeClass("vjs-errors"),t.off("play",d),t.off(l(),"visibilitychange",d),t.off("play",p),t.off("dispose",e),t.off(["aderror","error"],f)},m=function(n){h(),e(t,ru.mergeOptions(Rf,n))};m.extend=function(e){return s(e)},m.getAll=function(){return ru.mergeOptions(n.errors)},m.timeout=function(e){if(void 0===e)return n.timeout;e!==n.timeout&&(n.timeout=e,t.paused()||d())},m.backgroundTimeout=function(e){if(void 0===e)return n.backgroundTimeout;e!==n.backgroundTimeout&&(n.backgroundTimeout=e,t.paused()||d())},m.disableProgress=function(){},t.on("play",d),t.on("play",p),t.on("dispose",h),t.on(["aderror","contenterror","error"],f),t.ready((function(){t.addClass("vjs-errors")})),t.paused()||d(),m.VERSION="5.1.0",t.errors=m},Mf=function(e){If(this,ru.mergeOptions(Rf,e))};function Nf(e){return(Nf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Df(){return(Df=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function jf(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Lf(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){jf(i,r,o,a,s,"next",e)}function s(e){jf(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Bf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ff(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bf(Object(n),!0).forEach((function(t){Wf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hf(e,t){return(Hf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gf(e);if(t){var o=Gf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zf(this,n)}}function zf(e,t){if(t&&("object"===Nf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qf(e)}function qf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gf(e){return(Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Wf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}["extend","getAll"].forEach((function(e){Mf[e]=function(){ru.log.warn("The errors.".concat(e,"() method is not available until the plugin has been initialized!"))}})),Mf.VERSION="5.1.0",Pf("errors",Mf);var Yf=(0,n(28199).ZP)("space"),Zf={autoplay:!1,loop:!1,controls:!0,responsive:!0,fluid:!0,inactivityTimeout:3e3,playbackRates:[1,1.2,1.5,1.7,2],aspectRatio:"16:9",controlBar:{pictureInPictureToggle:!1,remainingTimeDisplay:!1,liveDisplay:!1,seekToLive:!1,chaptersButton:!1,descriptionsButton:!1,subsCapsButton:!1,audioTrackButton:!1},plugins:{forwardButtonPlugin:{index:1,seconds:5},togglePlayPlugin:!0}},Kf=function(e){!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}}),t&&Hf(e,t)}(s,e);var t,n,i,a=Vf(s);function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Wf(qf(t=a.call(this,e)),"onRef",(function(e){t.domNode=e})),Wf(qf(t),"onPlayerRef",(function(e){t.player=e})),Wf(qf(t),"onEditorScroll",(function(){t.setAutoplayIfAvailable()})),Wf(qf(t),"onPlayerReady",(function(){t.player.addClass("vjs-wait-metadata");var e=t.props,n=e.editor,r=e.blot;n.getScrollingContainer().addEventListener("scroll",t.onEditorScroll,!1),t.setAutoplayIfAvailable(),r.props.videoPlayer=qf(t),t.setState((function(){return{isPlayerReady:!0}}))})),Wf(qf(t),"onPlayerPlay",(function(){var e=t.props,n=e.editor,r=e.blot;n.emitter.emit("video-play",r.id)})),Wf(qf(t),"onEditorVideoPlay",(function(e){e===t.props.blot.id||t.props.attachment.motionVideo||t.player.pause()})),Wf(qf(t),"onPlayerFullscreenChange",(function(e){t.player.isFullscreen()?t.props.onViewerGoFullScreen&&!t.props.fullscreen&&t.props.onViewerGoFullScreen():t.props.onFullScreenClose&&t.props.fullscreen&&t.props.onFullScreenClose()})),Wf(qf(t),"onVideoDownload",(function(e){return t.props.editor.plugins.attachmentManager.download(e)})),Wf(qf(t),"onDocumentKeyDown",(function(e){t.props.editor.isEditable()||t.props.blot.scroll.focusedBlot!==t.props.blot&&t.player.paused()||t.handleKeyDown(e)})),Wf(qf(t),"onDomNodeMouseDown",(function(e){t.props.editor.isEditable()||t.props.blot.selection.setRange({index:t.props.blot.offset(t.props.blot.scroll),length:0})})),Wf(qf(t),"updateCtaState",(function(){var e=t.props,n=e.attachment,r=e.editor,o=e.blot,i=r.plugins.ctaManager.getCta(o.id,n.global_id);Of()(t.state.cta,i)||(t.state.cta=i,t.player.cta.options(Ff({},i))),t.updateNimbusAdvState()})),Wf(qf(t),"getPreviewAttach",function(){var e=Lf(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.props.editor.plugins.attachmentManager.resolve(n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Wf(qf(t),"updatePreviewState",Lf(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.player.previewVideo.reRender(t.props.syncedState.videoPreview);case 1:case"end":return e.stop()}}),e)})))),Wf(qf(t),"onPreviewBtn",function(){var e=Lf(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.props.editor.plugins.videoPreview.onEditPreview(t.props.syncedState.videoPreview||{videoAttachmentId:t.props.attachment.global_id,textOverlay:null,activePreviewType:"first_frame",previews:{}});case 2:(r=e.sent)&&(r.videoAttachmentId=t.props.attachment.global_id,console.log("setNewState",r),t.props.setSyncedState({videoPreview:r}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var n=t.props,r=n.attachment,o=n.editor,i=n.blot;t.state={muted:!!(void 0!==r.soundDefault&&r.soundDefault||void 0!==r.autoplay&&r.autoplay),controls:void 0===r.hideControl||!r.hideControl,autoplay:void 0!==r.autoplay&&r.autoplay,loop:void 0!==r.loop&&r.loop,allowDownload:!0,showNimbusAdv:!1,isPlayerReady:!1};var l=o.plugins.ctaManager.getCta(i.id,r.global_id);return t.state.loop||r.motionVideo?t.state.cta={}:t.state.cta=l,t}return t=s,(n=[{key:"isPlayOnAutoplayAvailable",value:function(){if(!this.domNode)return!1;var e=this.props.editor.editorBody.getBoundingClientRect(),t=this.domNode.getBoundingClientRect();return t.top>=e.top-t.height/2&&t.bottom<=e.bottom+t.height/2}},{key:"setAutoplayIfAvailable",value:function(){var e=this.props.attachment,t=e.autoplay,n=e.loop;if(void 0!==t&&e.autoplay){var r=this.isPlayOnAutoplayAvailable();void 0!==n&&n||this.player.ended()&&(r=!1),r?this.player.paused()&&this.player.play():this.player.paused()||this.player.pause()}}},{key:"setMuted",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?this.player.volume(0):(this.player.muted()&&this.player.muted(!1),this.player.volume(.75))}},{key:"setAutoplay",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?(this.player.autoplay("muted"),this.player.play()):(this.player.autoplay(!1),this.player.played().length&&!this.player.paused()&&this.player.pause())}},{key:"setLoop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.player.loop(e)}},{key:"setControls",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.player.controls(e)}},{key:"setDownloadAvailable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e?this.player.controlBar.downloadButton.enable():this.player.controlBar.downloadButton.disable()}},{key:"setPreviewAvailable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e?this.player.controlBar.previewButton.enable():this.player.controlBar.previewButton.disable()}},{key:"getCustomErrorMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.editor.plugins.i18n,n=this.props.attachment,r=void 0===n?{}:n,i=e?"":" ",a=t.get("file.video_codec_error").replace("".concat(i,"{codec}"),e);return"Safari"===(0,o.Ao)()&&"video/webm"===r.mime&&(a=t.get("file.safari_webm_not_support")),a}},{key:"updateNimbusAdvState",value:function(){var e=void 0!==this.state.cta&&this.state.cta&&Boolean(Object.keys(this.state.cta).length),t=this.props.blot,n="gridCol"===t.getWrapper().parent.constructor.blotName,r=this.options&&this.options.advert,o=t.editor.options.isShare;this.state.showNimbusAdv=!(!r||!o||n||e),this.player.nimbusAdv.options({showAdv:this.state.showNimbusAdv})}},{key:"updateFullScreenState",value:function(){this.props.fullscreen&&!this.player.isFullscreen()?this.player.requestFullscreen():!this.props.fullscreen&&this.player.isFullscreen()&&this.player.exitFullscreen()}},{key:"handleKeyDown",value:function(e){return!!(Yf(e)&&this.player&&this.player.played().length)&&(e.preventDefault(),e.stopPropagation(),this.player.paused()?this.player.play():this.player.pause(),!0)}},{key:"componentDidMount",value:function(){var e=this;this.player.one("loadedmetadata",(function(){e.player.removeClass("vjs-wait-metadata")})),this.player.on("ready",this.onPlayerReady),this.player.on("play",this.onPlayerPlay),this.player.on("fullscreenchange",this.onPlayerFullscreenChange),this.props.editor.on("set-cta",this.updateCtaState),this.props.editor.on("video-play",this.onEditorVideoPlay);var t=$f(this.props.attachment);this.player.errors({errors:{3:{message:this.getCustomErrorMessage(t.codec)},4:{message:this.getCustomErrorMessage(t.codec)},5:{message:this.getCustomErrorMessage(t.codec)}}}),document.addEventListener("keydown",this.onDocumentKeyDown,!1),this.domNode.addEventListener("mousedown",this.onDomNodeMouseDown,!1)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attachment,r=t.blot;if(n&&this.state.isPlayerReady){var o=this.state,i=o.muted,a=o.autoplay,s=o.loop,l=o.controls,c=o.allowDownload,u=void 0!==n.soundDefault&&n.soundDefault;void 0!==n.autoplay&&n.autoplay!==a?(this.state.autoplay=n.autoplay,this.state.muted=!0,this.setMuted(this.state.muted),this.setAutoplay(this.state.autoplay)):i!==u&&(this.state.muted=u,this.setMuted(this.state.muted)),void 0!==n.loop&&n.loop!==s&&(this.state.loop=n.loop,this.setLoop(this.state.loop)),void 0!==n.hideControl&&!n.hideControl!==l&&(this.state.controls=!n.hideControl,this.setControls(this.state.controls)),!r.disallowDownloading!==c&&(this.state.allowDownload=!r.disallowDownloading,this.setDownloadAvailable(this.state.allowDownload)),this.props.disallowVideoPreview||Of()(e.syncedState.videoPreview,this.props.syncedState.videoPreview)||this.updatePreviewState(),this.updateNimbusAdvState(),this.updateFullScreenState()}}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.editor,n=e.blot;t.getScrollingContainer().removeEventListener("scroll",this.onEditorScroll,!1),this.props.editor.off("set-cta",this.updateCtaState),this.props.editor.off("video-play",this.onEditorVideoPlay),this.player&&(this.player.off("ready",this.onPlayerReady),this.player.off("play",this.onPlayerPlay)),n.props.videoPlayer=null,document.removeEventListener("keydown",this.onDocumentKeyDown,!1),this.domNode.removeEventListener("mousedown",this.onDomNodeMouseDown,!1)}},{key:"render",value:function(){var e=this.state,t=e.autoplay,n=e.loop,o=e.controls,i=e.showNimbusAdv,a=this.props,s=a.attachment,l=a.editor,c=a.blot,u=a.isBlotLocked,d=l.plugins.attachmentManager.options,p=d.onTranscript,f=d.isTranscriptEnabled,h=$f(s),m={downloadButtonPlugin:{index:9,attachment:s,downloadFn:this.onVideoDownload},callToActionPlugin:Ff(Ff({},this.state.cta),{},{editor:l}),nimbusAdvPlugin:{showAdv:i,editor:l,blot:c},controlShadowPlugin:{videoName:s.display_name.split(".").slice(0,-1).join(".")},transcriptButtonPlugin:{index:8,attachment:s,clickFn:p,show:f}},g=this.props.editor.plugins.videoPreview.isEditAvailable()&&l.mode===l.constructor.MODE_EDIT&&!this.props.disallowVideoPreview,y=!u&&g;g&&(m.previewButtonPlugin={index:9,attachment:s,clickFn:this.onPreviewBtn,show:y},m.previewVideoPlugin={previewSettings:this.props.syncedState.videoPreview,previewAttach:this.getPreviewAttach});var v=Object.assign({},Zf,{autoplay:t?"muted":Zf.autoplay,loop:n,controls:o,sources:[{src:s.url,type:h.mime}],noUITitleAttributes:!0,plugins:Object.assign({},Zf.plugins,m)});return this.player&&g&&(y?this.player.previewButtonPlugin().show():this.player.previewButtonPlugin().hide()),(0,r.h)(xf,Df({},v,{onPlayerRef:this.onPlayerRef,onDomRef:this.onRef}))}}])&&Uf(t.prototype,n),i&&Uf(t,i),s}(r.wA);Kf.supportsFullscreen=!0,Kf.FullScreenAction=!1,Kf.viewerName="VideoViewer";var $f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(e){return"video/quicktime"===e.mime&&window.chrome?{mime:"video/mp4",codec:e.codec}:e},n=e.extra,r=void 0===n?"{}":n,o="string"==typeof r?JSON.parse(r):r,i=o.mime,a=void 0===i?null:i,s=o.general,l=void 0===s?null:s,c=o.video,u=void 0===c?null:c,d=navigator,p=d.appVersion,f=-1!==p.indexOf("Safari")&&-1===p.indexOf("Chrome");if(a){var h=a.match(/codecs="(.*?)";/);return t({mime:e.mime||a,codec:h[1]})}if(l){var m=l.format,g=l.codec_id_compatible,y=void 0===g?"":g,v=l.codec_id;if(m=m.toLowerCase().replace("mpeg-4","mp4"),y=y.toLowerCase().replace(/\//g,","),u){var b=u.codec_id;return b=b.toLowerCase().replace("v_vp8","vp8").replace("v_vp9","vp9").trim(),t({mime:"video/".concat(m),codec:b.trim()})}return f&&"mp42"===v&&(v="hvc1"),t({mime:"video/".concat(m),codec:v.trim()})}return e.mime?t({mime:e.mime,codec:""}):{mime:"",codec:""}};function Qf(){var e=["video/mpeg","video/mp4","video/ogg","video/quicktime","video/webm","video/x-ms-wmv","video/x-msvideo","video/ms-asf","video/x-flv","video/3gpp","video/3gpp2","video/x-m4v"],t=[];try{var n=document.createElement("video");for(var r in e)n.canPlayType(e[r])&&t.push(e[r]);["Chrome","Opera"].includes((0,o.Ao)())&&t.indexOf("video/quicktime")<0&&t.push("video/quicktime"),"Safari"===(0,o.Ao)()&&t.push("video/webm")}catch(e){console.warn(e)}return t}},36790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DummyProvider:()=>S,DummyProviderSync:()=>E});n(30489),n(66992),n(51532),n(41539),n(78783),n(33948),n(54747),n(12419),n(47042),n(68309),n(91038),n(82526),n(41817),n(32165);var r=n(51718),o=n(70494),i=n(59150),a=n(29693),s=n(53665);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function m(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}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){m(n,e);var t=y(n);function n(e){return p(this,n),t.call(this)}return h(n,[{key:"getLocalAwarenessInfo",value:function(){return this._localAwarenessState}},{key:"getAwarenessInfo",value:function(){return this.awareness}},{key:"setAwarenessField",value:function(e,t){}}]),n}(r.Doc),C=function(e){m(n,e);var t=y(n);function n(e){var r;return p(this,n),d(b(r=t.call(this)),"onDocUpdate",(function(e,t,n){var r=i.createEncoder();i.writeVarUint(r,0),s.writeUpdate(r,e);var o=i.toUint8Array(r);n.provider.send(n,o)})),d(b(r),"onSubDocs",(function(e){e.added,e.removed;var t=e.loaded;if(t.size){console.log("Init subdocs:",t.size);var n,i=c(t);try{var a=function(){var e=n.value;e.provider=r.provider,e.providerId=e.guid,e.mux=(0,o.M)(),r.provider.docs.set(r.providerName+"_"+e.guid,e),setTimeout(r.initDoc.bind(b(r),e),0),e.on("update",r.onDocUpdate),e.on("synced",(function(){console.log("GOT SYNCED FOR SUBDOC"),e.loaded=!0,e.emit("loaded",[])}))};for(i.s();!(n=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}}})),r.mux=(0,o.M)(),setTimeout(r.initDoc.bind(b(r),b(r)),0),r.on("update",r.onDocUpdate),r.on("subdocs",r.onSubDocs),r}return h(n,[{key:"initDoc",value:function(e){var t=i.createEncoder();i.writeVarUint(t,0),s.writeSyncStep1(t,e),e.provider.send(e,i.toBuffer(t)),console.log("send sync step 1 from",e.guid)}},{key:"getLocalAwarenessInfo",value:function(){return this._localAwarenessState}},{key:"getAwarenessInfo",value:function(){return this.awareness}},{key:"setAwarenessField",value:function(e,t){}}]),n}(r.Doc),S=function(){function e(){p(this,e),this.docs=new Map}return h(e,[{key:"get",value:function(e){var t=this.docs.get(e);return void 0===t&&(t=new w(e)),t}}]),e}(),E=function(){function e(){p(this,e),this.docs=new Map}return h(e,[{key:"get",value:function(e){var t=this.docs.get(e);return void 0===t&&((t=new C(e)).provider=this,t.providerName=e,t.providerId="root"),this.docs.set(e,t),t}},{key:"send",value:function(e,t){var n=this;this.docs.forEach((function(r,o){if(r!==e&&e.providerId===r.providerId){var l=function(e,t){var n=a.createDecoder(t),r=i.createEncoder();switch(a.readVarUint(n)){case 0:i.writeVarUint(r,0),e.mux((function(){var t=s.readSyncMessage(n,r,e);console.log("Reading sync mesage",t,"for",e.guid),1===t&&(e._initialSyncComplete||(e._initialSyncComplete=!0,e.emit("synced",[])))}))}return r}(r,t);i.length(l)>1&&n.send(r,i.toBuffer(l))}}))}}]),e}()},53940:(e,t,n)=>{"use strict";n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(74916),n(23123),n(73210);var r=n(95732);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,o,i){if(n)e(n);else if(o.statusCode>=400&&o.statusCode<=599){var a=i;if(t)if(r.TextDecoder){var s=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],o=n[1];return"charset"===r.trim()?o.trim():e}),"utf-8")}(o.headers&&o.headers["content-type"]);try{a=new TextDecoder(s).decode(i)}catch(e){}}else a=String.fromCharCode.apply(null,new Uint8Array(i));e({cause:a})}else e(null,i)}}},3173:(e,t,n)=>{"use strict";n(54747),n(74916),n(23123),n(73210),n(47042);var r=n(95732),o=n(36413),i=n(73562);s.httpHandler=n(53940);function a(e,t,n){var r=e;return i(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=o({},t,{uri:e}),r.callback=n,r}function s(e,t,n){return l(t=a(e,t,n))}function l(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,o){t||(t=!0,e.callback(n,r,o))};function r(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(c),g)try{e=JSON.parse(e)}catch(e){}return e}function o(e){return clearTimeout(u),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function i(){if(!l){var t;clearTimeout(u),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var o=y,i=null;return 0!==t?(o={body:r(),statusCode:t,method:p,headers:{},url:d,rawRequest:c},c.getAllResponseHeaders&&(o.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]})),t):t}(c.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),n(i,o,o.body)}}var a,l,c=e.xhr||null;c||(c=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var u,d=c.url=e.uri||e.url,p=c.method=e.method||"GET",f=e.body||e.data,h=c.headers=e.headers||{},m=!!e.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:p,url:d,rawRequest:c};if("json"in e&&!1!==e.json&&(g=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(i,0)},c.onload=i,c.onerror=o,c.onprogress=function(){},c.onabort=function(){l=!0},c.ontimeout=o,c.open(p,d,!m,e.username,e.password),m||(c.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(u=setTimeout((function(){if(!l){l=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}}),e.timeout)),c.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&c.setRequestHeader(a,h[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){s["delete"===e?"del":e]=function(t,n,r){return(n=a(t,n,r)).method=e.toUpperCase(),l(n)}}))},62697:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}n(69826),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var i=o({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"}),a=o({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!==r(e))throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var o=e[r];if(t.call(void 0,o,r,e))return o}},t.freeze=o,t.MIME_TYPE=i,t.NAMESPACE=a},60522:(e,t,n)=>{n(74916),n(15306);var r=n(62697),o=n(67102),i=n(85653),a=n(36752),s=o.DOMImplementation,l=r.NAMESPACE,c=a.ParseError,u=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 g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var n=this.options,r=new u,o=n.domBuilder||new f,a=n.errorHandler,s=n.locator,c=n.xmlns||{},p=/\/x?html?$/.test(t),h=p?i.HTML_ENTITIES:i.XML_ENTITIES;s&&o.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},i("warning"),i("error"),i("fatalError"),r}(a,o,s),r.domBuilder=n.domBuilder||o,p&&(c[""]=l.HTML),c.xml=c.xml||l.XML;var g=n.normalizeLineEndings||d;return e&&"string"==typeof e?r.parse(g(e),c,h):r.errorHandler.error("invalid doc source"),o.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,n,r){var o=this.doc,i=o.createElementNS(e,n||t),a=r.length;y(this,i),this.currentElement=i,this.locator&&h(this.locator,i);for(var s=0;s<a;s++){e=r.getURI(s);var l=r.getValue(s),c=(n=r.getQName(s),o.createAttributeNS(e,n));this.locator&&h(r.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),y(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),y(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var o=r.createDocumentType(e,t,n);this.locator&&h(this.locator,o),y(this,o),this.doc.doctype=o}},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 c(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}})),t.DOMParser=p},67102:(e,t,n)=>{function r(e){return(r="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)}n(69826),n(57327),n(74916),n(23123),n(47941),n(69600),n(68309),n(41539),n(39714),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=n(62697),i=o.find,a=o.NAMESPACE;function s(e){return""!==e}function l(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(l,{}))}function u(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,u(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var p={},f=p.ELEMENT_NODE=1,h=p.ATTRIBUTE_NODE=2,m=p.TEXT_NODE=3,g=p.CDATA_SECTION_NODE=4,y=p.ENTITY_REFERENCE_NODE=5,v=p.ENTITY_NODE=6,b=p.PROCESSING_INSTRUCTION_NODE=7,_=p.COMMENT_NODE=8,w=p.DOCUMENT_NODE=9,C=p.DOCUMENT_TYPE_NODE=10,S=p.DOCUMENT_FRAGMENT_NODE=11,E=p.NOTATION_NODE=12,x={},k={},O=(x.INDEX_SIZE_ERR=(k[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(k[2]="DOMString size error",2),x.HIERARCHY_REQUEST_ERR=(k[3]="Hierarchy request error",3)),T=(x.WRONG_DOCUMENT_ERR=(k[4]="Wrong document",4),x.INVALID_CHARACTER_ERR=(k[5]="Invalid character",5),x.NO_DATA_ALLOWED_ERR=(k[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(k[7]="No modification allowed",7),x.NOT_FOUND_ERR=(k[8]="Not found",8)),A=(x.NOT_SUPPORTED_ERR=(k[9]="Not supported",9),x.INUSE_ATTRIBUTE_ERR=(k[10]="Attribute in use",10));x.INVALID_STATE_ERR=(k[11]="Invalid state",11),x.SYNTAX_ERR=(k[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(k[13]="Invalid modification",13),x.NAMESPACE_ERR=(k[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(k[15]="Invalid access",15);function P(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,k[e]),this.message=k[e],Error.captureStackTrace&&Error.captureStackTrace(this,P);return n.code=e,t&&(this.message=this.message+": "+t),n}function R(){}function I(e,t){this._node=e,this._refresh=t,M(this)}function M(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(ve(e,"length",n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(n,e),e._inc=t}}function N(){}function D(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function j(e,t,n,r){if(r?t[D(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(r&&z(o,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===a.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function L(e,t,n){var r=D(t,n);if(!(r>=0))throw new P(T,new Error(e.tagName+"@"+n));for(var o=t.length-1;r<o;)t[r]=t[++r];if(t.length=o,e){var i=e.ownerDocument;i&&(z(i,e,n),n.ownerElement=null)}}function B(){}function F(){}function U(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(H(e,t))return!0}while(e=e.nextSibling)}function V(){this.ownerDocument=this}function z(e,t,n,r){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function q(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var o=t.firstChild,i=0;o;)r[i++]=o,o=o.nextSibling;r.length=i,delete r[r.length]}}}function G(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,q(e.ownerDocument,e),t}function W(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function Y(e){return e&&e.nodeType===F.ELEMENT_NODE}function Z(e){return e&&e.nodeType===F.TEXT_NODE}function K(e,t){var n=e.childNodes||[];if(i(n,Y)||W(t))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function $(e,t){var n=e.childNodes||[];if(i(n,(function(e){return Y(e)&&e!==t})))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Q(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new P(O,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new P(T,"child not in parent");if(!function(e){return e&&(Y(e)||Z(e)||W(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||W(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new P(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function X(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Y);if(a.length>1||i(o,Z))throw new P(O,"More than one element or text in fragment");if(1===a.length&&!K(e,n))throw new P(O,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!K(e,n))throw new P(O,"Only one element can be added and only after doctype");if(W(t)){if(i(r,W))throw new P(O,"Only one doctype is allowed");var s=i(r,Y);if(n&&r.indexOf(s)<r.indexOf(n))throw new P(O,"Doctype can only be inserted before an element");if(!n&&s)throw new P(O,"Doctype can not be appended since element is present")}}function J(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Y);if(a.length>1||i(o,Z))throw new P(O,"More than one element or text in fragment");if(1===a.length&&!$(e,n))throw new P(O,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!$(e,n))throw new P(O,"Only one element can be added and only after doctype");if(W(t)){if(i(r,(function(e){return W(e)&&e!==n})))throw new P(O,"Only one doctype is allowed");var s=i(r,Y);if(n&&r.indexOf(s)<r.indexOf(n))throw new P(O,"Doctype can only be inserted before an element")}}function ee(e,t,n,r){Q(e,t,n),e.nodeType===F.DOCUMENT_NODE&&(r||X)(e,t,n);var o=t.parentNode;if(o&&o.removeChild(t),t.nodeType===S){var i=t.firstChild;if(null==i)return t;var a=t.lastChild}else i=a=t;var s=n?n.previousSibling:e.lastChild;i.previousSibling=s,a.nextSibling=n,s?s.nextSibling=i:e.firstChild=i,null==n?e.lastChild=a:n.previousSibling=a;do{i.parentNode=e}while(i!==a&&(i=i.nextSibling));return q(e.ownerDocument||e,e),t.nodeType==S&&(t.firstChild=t.lastChild=null),t}function te(){this._nsMap={}}function ne(){}function re(){}function oe(){}function ie(){}function ae(){}function se(){}function le(){}function ce(){}function ue(){}function de(){}function pe(){}function fe(){}function he(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,o=r.prefix,i=r.namespaceURI;if(i&&null==o&&null==(o=r.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return ye(this,n,e,t,a),n.join("")}function me(e,t,n){var r=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===r&&o===a.XML||o===a.XMLNS)return!1;for(var i=n.length;i--;){var s=n[i];if(s.prefix===r)return s.namespace!==o}return!0}function ge(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,U),'"')}function ye(e,t,n,r,o){if(o||(o=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case f:var i=e.attributes,s=i.length,l=e.firstChild,c=e.tagName,u=c;if(!(n=a.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var d,p=0;p<i.length;p++)if("xmlns"===i.item(p).name){d=i.item(p).value;break}if(!d)for(var v=o.length-1;v>=0;v--){if(""===(E=o[v]).prefix&&E.namespace===e.namespaceURI){d=E.namespace;break}}if(d!==e.namespaceURI)for(v=o.length-1;v>=0;v--){var E;if((E=o[v]).namespace===e.namespaceURI){E.prefix&&(u=E.prefix+":"+c);break}}}t.push("<",u);for(var x=0;x<s;x++){"xmlns"==(k=i.item(x)).prefix?o.push({prefix:k.localName,namespace:k.value}):"xmlns"==k.nodeName&&o.push({prefix:"",namespace:k.value})}for(x=0;x<s;x++){var k,O,T;if(me(k=i.item(x),0,o))ge(t,(O=k.prefix||"")?"xmlns:"+O:"xmlns",T=k.namespaceURI),o.push({prefix:O,namespace:T});ye(k,t,n,r,o)}if(c===u&&me(e,0,o))ge(t,(O=e.prefix||"")?"xmlns:"+O:"xmlns",T=e.namespaceURI),o.push({prefix:O,namespace:T});if(l||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;l;)l.data?t.push(l.data):ye(l,t,n,r,o.slice()),l=l.nextSibling;else for(;l;)ye(l,t,n,r,o.slice()),l=l.nextSibling;t.push("</",u,">")}else t.push("/>");return;case w:case S:for(l=e.firstChild;l;)ye(l,t,n,r,o.slice()),l=l.nextSibling;return;case h:return ge(t,e.name,e.value);case m:return t.push(e.data.replace(/[<&>]/g,U));case g:return t.push("<![CDATA[",e.data,"]]>");case _:return t.push("\x3c!--",e.data,"--\x3e");case C:var A=e.publicId,P=e.systemId;if(t.push("<!DOCTYPE ",e.name),A)t.push(" PUBLIC ",A),P&&"."!=P&&t.push(" ",P),t.push(">");else if(P&&"."!=P)t.push(" SYSTEM ",P,">");else{var R=e.internalSubset;R&&t.push(" [",R,"]"),t.push(">")}return;case b:return t.push("<?",e.target," ",e.data,"?>");case y:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ve(e,t,n){e[t]=n}P.prototype=Error.prototype,u(x,P),R.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ye(this[r],n,e,t);return n.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 M(this),this[e]||null},d(I,R),N.prototype={length:0,item:R.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new P(A);var n=this.getNamedItem(e.nodeName);return j(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new P(A);return t=this.getNamedItemNS(e.namespaceURI,e.localName),j(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return L(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return L(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},B.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new V;if(r.implementation=this,r.childNodes=new R,r.doctype=n||null,n&&r.appendChild(n),t){var o=r.createElementNS(e,t);r.appendChild(o)}return r},createDocumentType:function(e,t,n){var r=new se;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},F.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 ee(this,e,t)},replaceChild:function(e,t){ee(this,e,t,J),t&&this.removeChild(t)},removeChild:function(e){return G(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,o){var i=new n.constructor;for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a)){var s=n[a];"object"!=r(s)&&s!=i[a]&&(i[a]=s)}n.childNodes&&(i.childNodes=new R);switch(i.ownerDocument=t,i.nodeType){case f:var l=n.attributes,c=i.attributes=new N,u=l.length;c._ownerElement=i;for(var d=0;d<u;d++)i.setAttributeNode(e(t,l.item(d),!0));break;case h:o=!0}if(o)for(var p=n.firstChild;p;)i.appendChild(e(t,p,o)),p=p.nextSibling;return i}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==m&&e.nodeType==m?(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 n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(p,F),u(p,F.prototype),V.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==S){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return ee(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),G(this,e)},replaceChild:function(e,t){ee(this,e,t,J),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,r){var o;switch(n.nodeType){case f:(o=n.cloneNode(!1)).ownerDocument=t;case S:break;case h:r=!0}o||(o=n.cloneNode(!1));if(o.ownerDocument=t,o.parentNode=null,r)for(var i=n.firstChild;i;)o.appendChild(e(t,i,r)),i=i.nextSibling;return o}(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,(function(n){if(n.nodeType==f&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=c(e);return new I(this,(function(n){var r=[];return t.length>0&&H(n.documentElement,(function(o){if(o!==n&&o.nodeType===f){var i=o.getAttribute("class");if(i){var a=e===i;if(!a){var s=c(i);a=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}a&&r.push(o)}}var l})),r}))},createElement:function(e){var t=new te;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new R,(t.attributes=new N)._ownerElement=t,t},createDocumentFragment:function(){var e=new de;return e.ownerDocument=this,e.childNodes=new R,e},createTextNode:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new pe;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new ne;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new te,r=t.split(":"),o=n.attributes=new N;return n.childNodes=new R,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,o._ownerElement=n,n},createAttributeNS:function(e,t){var n=new ne,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},d(V,F),te.prototype={nodeType:f,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 n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===S?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 n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var n=[];return H(t,(function(r){r===t||r.nodeType!=f||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(n){var r=[];return H(n,(function(o){o===n||o.nodeType!==f||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||r.push(o)})),r}))}},V.prototype.getElementsByTagName=te.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=te.prototype.getElementsByTagNameNS,d(te,F),ne.prototype.nodeType=h,d(ne,F),re.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(k[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},d(re,F),oe.prototype={nodeName:"#text",nodeType:m,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},d(oe,re),ie.prototype={nodeName:"#comment",nodeType:_},d(ie,re),ae.prototype={nodeName:"#cdata-section",nodeType:g},d(ae,re),se.prototype.nodeType=C,d(se,F),le.prototype.nodeType=E,d(le,F),ce.prototype.nodeType=v,d(ce,F),ue.prototype.nodeType=y,d(ue,F),de.prototype.nodeName="#document-fragment",de.prototype.nodeType=S,d(de,F),pe.prototype.nodeType=b,d(pe,F),fe.prototype.serializeToString=function(e,t,n){return he.call(e,t,n)},F.prototype.toString=he;try{if(Object.defineProperty){Object.defineProperty(I.prototype,"length",{get:function(){return M(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case f:case S:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case f:case S: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}}}),ve=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DocumentType=se,t.DOMException=P,t.DOMImplementation=B,t.Element=te,t.Node=F,t.NodeList=R,t.XMLSerializer=fe},85653:(e,t,n)=>{"use strict";var r=n(62697).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({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:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",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:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",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:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",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:"Ĳ",ijlig:"ĳ",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",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:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",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:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",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:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:"‌"}),t.entityMap=t.HTML_ENTITIES},23399:(e,t,n)=>{var r=n(67102);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(60522).DOMParser},36752:(e,t,n)=>{n(24603),n(74916),n(39714),n(47042),n(68309),n(15306),n(4723);var r=n(62697).NAMESPACE,o=/[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]/,i=new RegExp("[\\-\\.0-9"+o.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+o.source+i.source+"*(?::"+o.source+i.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function u(e,t,n,o,i,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),r)}for(var l,c=++t,u=0;;){var d=e.charAt(c);switch(d){case"=":if(1===u)l=e.slice(t,c),u=3;else{if(2!==u)throw new Error("attribute equal must after attrName");u=3}break;case"'":case'"':if(3===u||1===u){if(1===u&&(a.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,!((c=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(l,p=e.slice(t,c),t-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');s(l,p=e.slice(t,c),t),a.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=c+1,u=5}break;case"/":switch(u){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:u=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==u&&n.setTagName(e.slice(t,c)),c;case">":switch(u){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,c)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===u&&(p=l),4==u?(a.warning('attribute "'+p+'" missed quot(")!'),s(l,p,t)):(r.isHTML(o[""])&&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 c;case"":d=" ";default:if(d<=" ")switch(u){case 0:n.setTagName(e.slice(t,c)),u=6;break;case 1:l=e.slice(t,c),u=2;break;case 4:var p=e.slice(t,c);a.warning('attribute "'+p+'" missed quot(")!!'),s(l,p,t);case 5:u=6}else switch(u){case 2:n.tagName;r.isHTML(o[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,u=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:u=1,t=c;break;case 3:u=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function d(e,t,n){for(var o=e.tagName,i=null,a=e.length;a--;){var s=e[a],l=s.qName,c=s.value;if((f=l.indexOf(":"))>0)var u=s.prefix=l.slice(0,f),d=l.slice(f+1),p="xmlns"===u&&d;else d=l,u=null,p="xmlns"===l&&"";s.localName=d,!1!==p&&(null==i&&(i={},h(n,n={})),n[p]=i[p]=c,s.uri=r.XMLNS,t.startPrefixMapping(p,c))}for(a=e.length;a--;){(u=(s=e[a]).prefix)&&("xml"===u&&(s.uri=r.XML),"xmlns"!==u&&(s.uri=n[u||""]))}var f;(f=o.indexOf(":"))>0?(u=e.prefix=o.slice(0,f),d=e.localName=o.slice(f+1)):(u=null,d=e.localName=o);var m=e.uri=n[u||""];if(t.startElement(m,d,o,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(m,d,o),i)for(u in i)Object.prototype.hasOwnProperty.call(i,u)&&t.endPrefixMapping(u)}function p(e,t,n,r,o){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(o.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,r),o.characters(a,0,a.length),i)}return t+1}function f(e,t,n,r){var o=r[n];return null==o&&((o=e.lastIndexOf("</"+n+">"))<t&&(o=e.lastIndexOf("</"+n)),r[n]=o),o<t}function h(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function m(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(o=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,o-t-4),o+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,o-t-9),n.endCDATA(),o+3}var i=function(e,t){var n,r=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;o.lastIndex=t,o.exec(e);for(;n=o.exec(e);)if(r.push(n),n[1])return r}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var u=i[a-1];return n.startDTD(s,l,c),n.endDTD(),u.index+u[0].length}}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var o=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(o){o[0].length;return n.processingInstruction(o[1],o[2]),r+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(e,t,n){var o=this.domBuilder;o.startDocument(),h(t,t={}),function(e,t,n,o,i){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function l(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,a);w&&h(E),o.characters(n,0,t-E),E=t}}function h(t,n){for(;t>=b&&(n=_.exec(e));)v=n.index,b=v+n[0].length,w.lineNumber++;w.columnNumber=t-v+1}var v=0,b=0,_=/.*(?:\r\n?|\n)|.*$/g,w=o.locator,C=[{currentNSMap:t}],S={},E=0;for(;;){try{var x=e.indexOf("<",E);if(x<0){if(!e.substr(E).match(/^\s*$/)){var k=o.doc,O=k.createTextNode(e.substr(E));k.appendChild(O),o.currentElement=O}return}switch(x>E&&l(x),e.charAt(x+1)){case"/":var T=e.indexOf(">",x+3),A=e.substring(x+2,T).replace(/[ \t\n\r]+$/g,""),P=C.pop();T<0?(A=e.substring(x+2).replace(/[\s<].*/,""),i.error("end tag name: "+A+" is not complete:"+P.tagName),T=x+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),i.error("end tag name: "+A+" maybe not complete"),T=x+1+A.length);var R=P.localNSMap,I=P.tagName==A;if(I||P.tagName&&P.tagName.toLowerCase()==A.toLowerCase()){if(o.endElement(P.uri,P.localName,A),R)for(var M in R)Object.prototype.hasOwnProperty.call(R,M)&&o.endPrefixMapping(M);I||i.fatalError("end tag name: "+A+" is not match the current start tagName:"+P.tagName)}else C.push(P);T++;break;case"?":w&&h(x),T=g(e,x,o);break;case"!":w&&h(x),T=m(e,x,o,i);break;default:w&&h(x);var N=new y,D=C[C.length-1].currentNSMap,j=(T=u(e,x,N,D,a,i),N.length);if(!N.closed&&f(e,T,N.tagName,S)&&(N.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),w&&j){for(var L=c(w,{}),B=0;B<j;B++){var F=N[B];h(F.offset),F.locator=c(w,{})}o.locator=L,d(N,o,D)&&C.push(N),o.locator=w}else d(N,o,D)&&C.push(N);r.isHTML(N.uri)&&!N.closed?T=p(e,T,N.tagName,a,o):T++}}catch(e){if(e instanceof s)throw e;i.error("element parse error: "+e),T=-1}T>E?E=T:l(Math.max(x,E)+1)}}(e,t,n,o,this.errorHandler),o.endDocument()}},y.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},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}},t.XMLReader=l,t.ParseError=s},66488:(e,t,n)=>{"use strict";var r=n(73684)("ArrayBuffer.prototype.byteLength",!0),o=n(14063);e.exports=function(e){return o(e)?r?r(e):e.byteLength:NaN}},65449:function(e,n,r){var o,i,a,s;function l(e){return(l="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)}e=r.nmd(e),r(92222),r(84633),r(82526),r(41817),r(41539),r(39341),r(73706),r(10408),r(39714),r(32165),r(66992),r(78783),r(33948),r(47941),r(47042),r(69600),r(74916),r(23123),r(24603),r(4723),r(15306),r(21249),r(40561),r(2707),r(68309),r(57327),r(69826),r(54747),s=function(n){"use strict";function o(e,t){t|=0;for(var n=Math.max(e.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=e[t+o];return r}var i=function(e){var t=o(arguments,1);return function(){var n=o(arguments);return e.apply(null,t.concat(n))}},a=function(e){return function(){var t=o(arguments),n=t.pop();e.call(this,t,n)}};function s(e){var t=l(e);return null!=e&&("object"==t||"function"==t)}var c="function"==typeof setImmediate&&setImmediate,u="object"===(void 0===t?"undefined":l(t))&&"function"==typeof t.nextTick;function d(e){setTimeout(e,0)}function p(e){return function(t){var n=o(arguments,1);e((function(){t.apply(null,n)}))}}var f=p(c?setImmediate:u?t.nextTick:d);function h(e){return a((function(t,n){var r;try{r=e.apply(this,t)}catch(e){return n(e)}s(r)&&"function"==typeof r.then?r.then((function(e){m(n,null,e)}),(function(e){m(n,e.message?e:new Error(e))})):n(null,r)}))}function m(e,t,n){try{e(t,n)}catch(e){f(g,e)}}function g(e){throw e}var y="function"==typeof Symbol;function v(e){return y&&"AsyncFunction"===e[Symbol.toStringTag]}function b(e){return v(e)?h(e):e}function _(e){return function(t){var n=o(arguments,1),r=a((function(n,r){var o=this;return e(t,(function(e,t){b(e).apply(o,n.concat(t))}),r)}));return n.length?r.apply(this,n):r}}var w="object"==(void 0===r.g?"undefined":l(r.g))&&r.g&&r.g.Object===Object&&r.g,C="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,S=w||C||Function("return this")(),E=S.Symbol,x=Object.prototype,k=x.hasOwnProperty,O=x.toString,T=E?E.toStringTag:void 0,A=Object.prototype.toString,P=E?E.toStringTag:void 0;function R(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":P&&P in Object(e)?function(e){var t=k.call(e,T),n=e[T];try{e[T]=void 0;var r=!0}catch(e){}var o=O.call(e);return r&&(t?e[T]=n:delete e[T]),o}(e):function(e){return A.call(e)}(e)}function I(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function M(e){return null!=e&&I(e.length)&&!function(e){if(!s(e))return!1;var t=R(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(e)}var N={};function D(){}function j(e){return function(){if(null!==e){var t=e;e=null,t.apply(this,arguments)}}}var L="function"==typeof Symbol&&Symbol.iterator;function B(e){return null!=e&&"object"==l(e)}function F(e){return B(e)&&"[object Arguments]"==R(e)}var U=Object.prototype,H=U.hasOwnProperty,V=U.propertyIsEnumerable,z=F(function(){return arguments}())?F:function(e){return B(e)&&H.call(e,"callee")&&!V.call(e,"callee")},q=Array.isArray,G="object"==l(n)&&n&&!n.nodeType&&n,W=G&&"object"==l(e)&&e&&!e.nodeType&&e,Y=W&&W.exports===G?S.Buffer:void 0,Z=(Y?Y.isBuffer:void 0)||function(){return!1},K=/^(?:0|[1-9]\d*)$/;function $(e,t){var n=l(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&K.test(e))&&e>-1&&e%1==0&&e<t}var Q={};Q["[object Float32Array]"]=Q["[object Float64Array]"]=Q["[object Int8Array]"]=Q["[object Int16Array]"]=Q["[object Int32Array]"]=Q["[object Uint8Array]"]=Q["[object Uint8ClampedArray]"]=Q["[object Uint16Array]"]=Q["[object Uint32Array]"]=!0,Q["[object Arguments]"]=Q["[object Array]"]=Q["[object ArrayBuffer]"]=Q["[object Boolean]"]=Q["[object DataView]"]=Q["[object Date]"]=Q["[object Error]"]=Q["[object Function]"]=Q["[object Map]"]=Q["[object Number]"]=Q["[object Object]"]=Q["[object RegExp]"]=Q["[object Set]"]=Q["[object String]"]=Q["[object WeakMap]"]=!1;var X="object"==l(n)&&n&&!n.nodeType&&n,J=X&&"object"==l(e)&&e&&!e.nodeType&&e,ee=J&&J.exports===X&&w.process,te=function(){try{var e=J&&J.require&&J.require("util").types;return e||ee&&ee.binding&&ee.binding("util")}catch(e){}}(),ne=te&&te.isTypedArray,re=ne?function(e){return function(t){return e(t)}}(ne):function(e){return B(e)&&I(e.length)&&!!Q[R(e)]},oe=Object.prototype.hasOwnProperty;function ie(e,t){var n=q(e),r=!n&&z(e),o=!n&&!r&&Z(e),i=!n&&!r&&!o&&re(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!oe.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||$(c,l))||s.push(c);return s}var ae=Object.prototype,se=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),le=Object.prototype.hasOwnProperty;function ce(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||ae))return se(e);var t,n,r=[];for(var o in Object(e))le.call(e,o)&&"constructor"!=o&&r.push(o);return r}function ue(e){return M(e)?ie(e):ce(e)}function de(e){if(M(e))return function(e){var t=-1,n=e.length;return function(){return++t<n?{value:e[t],key:t}:null}}(e);var t,n,r,o,i=function(e){return L&&e[L]&&e[L]()}(e);return i?function(e){var t=-1;return function(){var n=e.next();return n.done?null:(t++,{value:n.value,key:t})}}(i):(n=ue(t=e),r=-1,o=n.length,function(){var e=n[++r];return r<o?{value:t[e],key:e}:null})}function pe(e){return function(){if(null===e)throw new Error("Callback was already called.");var t=e;e=null,t.apply(this,arguments)}}function fe(e){return function(t,n,r){if(r=j(r||D),e<=0||!t)return r(null);var o=de(t),i=!1,a=0,s=!1;function l(e,t){if(a-=1,e)i=!0,r(e);else{if(t===N||i&&a<=0)return i=!0,r(null);s||c()}}function c(){for(s=!0;a<e&&!i;){var t=o();if(null===t)return i=!0,void(a<=0&&r(null));a+=1,n(t.value,t.key,pe(l))}s=!1}c()}}function he(e,t,n,r){fe(t)(e,b(n),r)}function me(e,t){return function(n,r,o){return e(n,t,r,o)}}function ge(e,t,n){n=j(n||D);var r=0,o=0,i=e.length;function a(e,t){e?n(e):++o!==i&&t!==N||n(null)}for(0===i&&n(null);r<i;r++)t(e[r],r,pe(a))}var ye=me(he,1/0),ve=function(e,t,n){(M(e)?ge:ye)(e,b(t),n)};function be(e){return function(t,n,r){return e(ve,t,b(n),r)}}function _e(e,t,n,r){r=r||D,t=t||[];var o=[],i=0,a=b(n);e(t,(function(e,t,n){var r=i++;a(e,(function(e,t){o[r]=t,n(e)}))}),(function(e){r(e,o)}))}var we=be(_e),Ce=_(we);function Se(e){return function(t,n,r,o){return e(fe(n),t,b(r),o)}}var Ee=Se(_e),xe=me(Ee,1),ke=_(xe);function Oe(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}var Te,Ae=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[Te?a:++r];if(!1===t(o[s],s,o))break}return e};function Pe(e,t){return e&&Ae(e,t,ue)}function Re(e){return e!=e}function Ie(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}(e,Re,n)}var Me=function(e,t,n){"function"==typeof t&&(n=t,t=null),n=j(n||D);var r=ue(e).length;if(!r)return n(null);t||(t=r);var i={},a=0,s=!1,l=Object.create(null),c=[],u=[],d={};function p(e,t){c.push((function(){!function(e,t){if(!s){var r=pe((function(t,r){if(a--,arguments.length>2&&(r=o(arguments,1)),t){var c={};Pe(i,(function(e,t){c[t]=e})),c[e]=r,s=!0,l=Object.create(null),n(t,c)}else i[e]=r,h(e)}));a++;var c=b(t[t.length-1]);t.length>1?c(i,r):c(r)}}(e,t)}))}function f(){if(0===c.length&&0===a)return n(null,i);for(;c.length&&a<t;)c.shift()()}function h(e){Oe(l[e]||[],(function(e){e()})),f()}function m(t){var n=[];return Pe(e,(function(e,r){q(e)&&Ie(e,t,0)>=0&&n.push(r)})),n}Pe(e,(function(t,n){if(!q(t))return p(n,[t]),void u.push(n);var r=t.slice(0,t.length-1),o=r.length;if(0===o)return p(n,t),void u.push(n);d[n]=o,Oe(r,(function(i){if(!e[i])throw new Error("async.auto task `"+n+"` has a non-existent dependency `"+i+"` in "+r.join(", "));var a,s,c;s=function(){0==--o&&p(n,t)},(c=l[a=i])||(c=l[a]=[]),c.push(s)}))})),function(){for(var e,t=0;u.length;)e=u.pop(),t++,Oe(m(e),(function(e){0==--d[e]&&u.push(e)}));if(t!==r)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),f()};function Ne(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var De=E?E.prototype:void 0,je=De?De.toString:void 0;function Le(e){if("string"==typeof e)return e;if(q(e))return Ne(e,Le)+"";if(function(e){return"symbol"==l(e)||B(e)&&"[object Symbol]"==R(e)}(e))return je?je.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Be(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(e,t,n)}var Fe=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Ue="[\\ud800-\\udfff]",He="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ve="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",qe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ge="[\\ud800-\\udbff][\\udc00-\\udfff]",We="(?:"+He+"|"+Ve+")?",Ye="[\\ufe0e\\ufe0f]?"+We+"(?:\\u200d(?:"+[ze,qe,Ge].join("|")+")[\\ufe0e\\ufe0f]?"+We+")*",Ze="(?:"+[ze+He+"?",He,qe,Ge,Ue].join("|")+")",Ke=RegExp(Ve+"(?="+Ve+")|"+Ze+Ye,"g");function $e(e){return function(e){return Fe.test(e)}(e)?function(e){return e.match(Ke)||[]}(e):function(e){return e.split("")}(e)}var Qe=/^\s+|\s+$/g;function Xe(e,t,n){var r;if((e=null==(r=e)?"":Le(r))&&(n||void 0===t))return e.replace(Qe,"");if(!e||!(t=Le(t)))return e;var o=$e(e),i=$e(t);return Be(o,function(e,t){for(var n=-1,r=e.length;++n<r&&Ie(t,e[n],0)>-1;);return n}(o,i),function(e,t){for(var n=e.length;n--&&Ie(t,e[n],0)>-1;);return n}(o,i)+1).join("")}var Je=/^(?:async\s+)?(function)?\s*[^\(]*\(\s*([^\)]*)\)/m,et=/,/,tt=/(=.+)?(\s*)$/,nt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;function rt(e,t){var n={};Pe(e,(function(e,t){var r,o=v(e),i=!o&&1===e.length||o&&0===e.length;if(q(e))r=e.slice(0,-1),e=e[e.length-1],n[t]=r.concat(r.length>0?a:e);else if(i)n[t]=e;else{if(r=function(e){return e=(e=(e=(e=e.toString().replace(nt,"")).match(Je)[2].replace(" ",""))?e.split(et):[]).map((function(e){return Xe(e.replace(tt,""))}))}(e),0===e.length&&!o&&0===r.length)throw new Error("autoInject task functions require explicit parameters.");o||r.pop(),n[t]=r.concat(a)}function a(t,n){var o=Ne(r,(function(e){return t[e]}));o.push(n),b(e).apply(null,o)}})),Me(n,t)}function ot(){this.head=this.tail=null,this.length=0}function it(e,t){e.length=1,e.head=e.tail=t}function at(e,t,n){if(null==t)t=1;else if(0===t)throw new Error("Concurrency must not be zero");var r=b(e),o=0,i=[],a=!1;function s(e,t,n){if(null!=n&&"function"!=typeof n)throw new Error("task callback must be a function");if(u.started=!0,q(e)||(e=[e]),0===e.length&&u.idle())return f((function(){u.drain()}));for(var r=0,o=e.length;r<o;r++){var i={data:e[r],callback:n||D};t?u._tasks.unshift(i):u._tasks.push(i)}a||(a=!0,f((function(){a=!1,u.process()})))}function l(e){return function(t){o-=1;for(var n=0,r=e.length;n<r;n++){var a=e[n],s=Ie(i,a,0);0===s?i.shift():s>0&&i.splice(s,1),a.callback.apply(a,arguments),null!=t&&u.error(t,a.data)}o<=u.concurrency-u.buffer&&u.unsaturated(),u.idle()&&u.drain(),u.process()}}var c=!1,u={_tasks:new ot,concurrency:t,payload:n,saturated:D,unsaturated:D,buffer:t/4,empty:D,drain:D,error:D,started:!1,paused:!1,push:function(e,t){s(e,!1,t)},kill:function(){u.drain=D,u._tasks.empty()},unshift:function(e,t){s(e,!0,t)},remove:function(e){u._tasks.remove(e)},process:function(){if(!c){for(c=!0;!u.paused&&o<u.concurrency&&u._tasks.length;){var e=[],t=[],n=u._tasks.length;u.payload&&(n=Math.min(n,u.payload));for(var a=0;a<n;a++){var s=u._tasks.shift();e.push(s),i.push(s),t.push(s.data)}o+=1,0===u._tasks.length&&u.empty(),o===u.concurrency&&u.saturated();var d=pe(l(e));r(t,d)}c=!1}},length:function(){return u._tasks.length},running:function(){return o},workersList:function(){return i},idle:function(){return u._tasks.length+o===0},pause:function(){u.paused=!0},resume:function(){!1!==u.paused&&(u.paused=!1,f(u.process))}};return u}function st(e,t){return at(e,1,t)}ot.prototype.removeLink=function(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e},ot.prototype.empty=function(){for(;this.head;)this.shift();return this},ot.prototype.insertAfter=function(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1},ot.prototype.insertBefore=function(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1},ot.prototype.unshift=function(e){this.head?this.insertBefore(this.head,e):it(this,e)},ot.prototype.push=function(e){this.tail?this.insertAfter(this.tail,e):it(this,e)},ot.prototype.shift=function(){return this.head&&this.removeLink(this.head)},ot.prototype.pop=function(){return this.tail&&this.removeLink(this.tail)},ot.prototype.toArray=function(){for(var e=Array(this.length),t=this.head,n=0;n<this.length;n++)e[n]=t.data,t=t.next;return e},ot.prototype.remove=function(e){for(var t=this.head;t;){var n=t.next;e(t)&&this.removeLink(t),t=n}return this};var lt=me(he,1);function ct(e,t,n,r){r=j(r||D);var o=b(n);lt(e,(function(e,n,r){o(t,e,(function(e,n){t=n,r(e)}))}),(function(e){r(e,t)}))}function ut(){var e=Ne(arguments,b);return function(){var t=o(arguments),n=this,r=t[t.length-1];"function"==typeof r?t.pop():r=D,ct(e,t,(function(e,t,r){t.apply(n,e.concat((function(e){var t=o(arguments,1);r(e,t)})))}),(function(e,t){r.apply(n,[e].concat(t))}))}}var dt=function(){return ut.apply(null,o(arguments).reverse())},pt=Array.prototype.concat,ft=function(e,t,n,r){r=r||D;var i=b(n);Ee(e,t,(function(e,t){i(e,(function(e){return e?t(e):t(null,o(arguments,1))}))}),(function(e,t){for(var n=[],o=0;o<t.length;o++)t[o]&&(n=pt.apply(n,t[o]));return r(e,n)}))},ht=me(ft,1/0),mt=me(ft,1),gt=function(){var e=o(arguments),t=[null].concat(e);return function(){var e=arguments[arguments.length-1];return e.apply(this,t)}};function yt(e){return e}function vt(e,t){return function(n,r,o,i){i=i||D;var a,s=!1;n(r,(function(n,r,i){o(n,(function(r,o){r?i(r):e(o)&&!a?(s=!0,a=t(!0,n),i(null,N)):i()}))}),(function(e){e?i(e):i(null,s?a:t(!1))}))}}function bt(e,t){return t}var _t=be(vt(yt,bt)),wt=Se(vt(yt,bt)),Ct=me(wt,1);function St(e){return function(t){var n=o(arguments,1);n.push((function(t){var n=o(arguments,1);"object"===("undefined"==typeof console?"undefined":l(console))&&(t?console.error&&console.error(t):console[e]&&Oe(n,(function(t){console[e](t)})))})),b(t).apply(null,n)}}var Et=St("dir");function xt(e,t,n){n=pe(n||D);var r=b(e),i=b(t);function a(e){if(e)return n(e);var t=o(arguments,1);t.push(s),i.apply(this,t)}function s(e,t){return e?n(e):t?void r(a):n(null)}s(null,!0)}function kt(e,t,n){n=pe(n||D);var r=b(e);r((function e(i){if(i)return n(i);var a=o(arguments,1);if(t.apply(this,a))return r(e);n.apply(null,[null].concat(a))}))}function Ot(e,t,n){kt(e,(function(){return!t.apply(this,arguments)}),n)}function Tt(e,t,n){n=pe(n||D);var r=b(t),o=b(e);function i(e){if(e)return n(e);o(a)}function a(e,t){return e?n(e):t?void r(i):n(null)}o(a)}function At(e){return function(t,n,r){return e(t,r)}}function Pt(e,t,n){ve(e,At(b(t)),n)}function Rt(e,t,n,r){fe(t)(e,At(b(n)),r)}var It=me(Rt,1);function Mt(e){return v(e)?e:a((function(t,n){var r=!0;t.push((function(){var e=arguments;r?f((function(){n.apply(null,e)})):n.apply(null,e)})),e.apply(this,t),r=!1}))}function Nt(e){return!e}var Dt=be(vt(Nt,Nt)),jt=Se(vt(Nt,Nt)),Lt=me(jt,1);function Bt(e){return function(t){return null==t?void 0:t[e]}}function Ft(e,t,n,r){var o=new Array(t.length);e(t,(function(e,t,r){n(e,(function(e,n){o[t]=!!n,r(e)}))}),(function(e){if(e)return r(e);for(var n=[],i=0;i<t.length;i++)o[i]&&n.push(t[i]);r(null,n)}))}function Ut(e,t,n,r){var o=[];e(t,(function(e,t,r){n(e,(function(n,i){n?r(n):(i&&o.push({index:t,value:e}),r())}))}),(function(e){e?r(e):r(null,Ne(o.sort((function(e,t){return e.index-t.index})),Bt("value")))}))}function Ht(e,t,n,r){(M(t)?Ft:Ut)(e,t,b(n),r||D)}var Vt=be(Ht),zt=Se(Ht),qt=me(zt,1);function Gt(e,t){var n=pe(t||D),r=b(Mt(e));!function e(t){if(t)return n(t);r(e)}()}var Wt=function(e,t,n,r){r=r||D;var o=b(n);Ee(e,t,(function(e,t){o(e,(function(n,r){return n?t(n):t(null,{key:r,val:e})}))}),(function(e,t){for(var n={},o=Object.prototype.hasOwnProperty,i=0;i<t.length;i++)if(t[i]){var a=t[i].key,s=t[i].val;o.call(n,a)?n[a].push(s):n[a]=[s]}return r(e,n)}))},Yt=me(Wt,1/0),Zt=me(Wt,1),Kt=St("log");function $t(e,t,n,r){r=j(r||D);var o={},i=b(n);he(e,t,(function(e,t,n){i(e,t,(function(e,r){if(e)return n(e);o[t]=r,n()}))}),(function(e){r(e,o)}))}var Qt=me($t,1/0),Xt=me($t,1);function Jt(e,t){return t in e}function en(e,t){var n=Object.create(null),r=Object.create(null);t=t||yt;var i=b(e),s=a((function(e,a){var s=t.apply(null,e);Jt(n,s)?f((function(){a.apply(null,n[s])})):Jt(r,s)?r[s].push(a):(r[s]=[a],i.apply(null,e.concat((function(){var e=o(arguments);n[s]=e;var t=r[s];delete r[s];for(var i=0,a=t.length;i<a;i++)t[i].apply(null,e)}))))}));return s.memo=n,s.unmemoized=e,s}var tn=p(u?t.nextTick:c?setImmediate:d);function nn(e,t,n){n=n||D;var r=M(t)?[]:{};e(t,(function(e,t,n){b(e)((function(e,i){arguments.length>2&&(i=o(arguments,1)),r[t]=i,n(e)}))}),(function(e){n(e,r)}))}function rn(e,t){nn(ve,e,t)}function on(e,t,n){nn(fe(t),e,n)}var an=function(e,t){var n=b(e);return at((function(e,t){n(e[0],t)}),t,1)},sn=function(e,t){var n=an(e,t);return n.push=function(e,t,r){if(null==r&&(r=D),"function"!=typeof r)throw new Error("task callback must be a function");if(n.started=!0,q(e)||(e=[e]),0===e.length)return f((function(){n.drain()}));t=t||0;for(var o=n._tasks.head;o&&t>=o.priority;)o=o.next;for(var i=0,a=e.length;i<a;i++){var s={data:e[i],priority:t,callback:r};o?n._tasks.insertBefore(o,s):n._tasks.push(s)}f(n.process)},delete n.unshift,n};function ln(e,t){if(t=j(t||D),!q(e))return t(new TypeError("First argument to race must be an array of functions"));if(!e.length)return t();for(var n=0,r=e.length;n<r;n++)b(e[n])(t)}function cn(e,t,n,r){ct(o(e).reverse(),t,n,r)}function un(e){var t=b(e);return a((function(e,n){return e.push((function(e,t){var r;e?n(null,{error:e}):(r=arguments.length<=2?t:o(arguments,1),n(null,{value:r}))})),t.apply(this,e)}))}function dn(e){var t;return q(e)?t=Ne(e,un):(t={},Pe(e,(function(e,n){t[n]=un.call(this,e)}))),t}function pn(e,t,n,r){Ht(e,t,(function(e,t){n(e,(function(e,n){t(e,!n)}))}),r)}var fn=be(pn),hn=Se(pn),mn=me(hn,1);function gn(e){return function(){return e}}function yn(e,t,n){var r=5,o=0,i={times:r,intervalFunc:gn(o)};function a(e,t){if("object"===l(t))e.times=+t.times||r,e.intervalFunc="function"==typeof t.interval?t.interval:gn(+t.interval||o),e.errorFilter=t.errorFilter;else{if("number"!=typeof t&&"string"!=typeof t)throw new Error("Invalid arguments for async.retry");e.times=+t||r}}if(arguments.length<3&&"function"==typeof e?(n=t||D,t=e):(a(i,e),n=n||D),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var s=b(t),c=1;function u(){s((function(e){e&&c++<i.times&&("function"!=typeof i.errorFilter||i.errorFilter(e))?setTimeout(u,i.intervalFunc(c)):n.apply(null,arguments)}))}u()}var vn=function(e,t){t||(t=e,e=null);var n=b(t);return a((function(t,r){function o(e){n.apply(null,t.concat(e))}e?yn(e,o,r):yn(o,r)}))};function bn(e,t){nn(lt,e,t)}var _n=be(vt(Boolean,yt)),wn=Se(vt(Boolean,yt)),Cn=me(wn,1);function Sn(e,t,n){var r=b(t);function o(e,t){var n=e.criteria,r=t.criteria;return n<r?-1:n>r?1:0}we(e,(function(e,t){r(e,(function(n,r){if(n)return t(n);t(null,{value:e,criteria:r})}))}),(function(e,t){if(e)return n(e);n(null,Ne(t.sort(o),Bt("value")))}))}function En(e,t,n){var r=b(e);return a((function(o,i){var a,s=!1;o.push((function(){s||(i.apply(null,arguments),clearTimeout(a))})),a=setTimeout((function(){var t=e.name||"anonymous",r=new Error('Callback function "'+t+'" timed out.');r.code="ETIMEDOUT",n&&(r.info=n),s=!0,i(r)}),t),r.apply(null,o)}))}var xn=Math.ceil,kn=Math.max;function On(e,t,n,r){var o=b(n);Ee(function(e,t,n,r){for(var o=-1,i=kn(xn((t-e)/(n||1)),0),a=Array(i);i--;)a[r?i:++o]=e,e+=n;return a}(0,e,1),t,o,r)}var Tn=me(On,1/0),An=me(On,1);function Pn(e,t,n,r){arguments.length<=3&&(r=n,n=t,t=q(e)?[]:{}),r=j(r||D);var o=b(n);ve(e,(function(e,n,r){o(t,e,n,r)}),(function(e){r(e,t)}))}function Rn(e,t){var n,r=null;t=t||D,It(e,(function(e,t){b(e)((function(e,i){n=arguments.length>2?o(arguments,1):i,r=e,t(!e)}))}),(function(){t(r,n)}))}function In(e){return function(){return(e.unmemoized||e).apply(null,arguments)}}function Mn(e,t,n){n=pe(n||D);var r=b(t);if(!e())return n(null);r((function t(i){if(i)return n(i);if(e())return r(t);var a=o(arguments,1);n.apply(null,[null].concat(a))}))}function Nn(e,t,n){Mn((function(){return!e.apply(this,arguments)}),t,n)}var Dn=function(e,t){if(t=j(t||D),!q(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var n=0;function r(t){var r=b(e[n++]);t.push(pe(i)),r.apply(null,t)}function i(i){if(i||n===e.length)return t.apply(null,arguments);r(o(arguments,1))}r([])},jn={apply:i,applyEach:Ce,applyEachSeries:ke,asyncify:h,auto:Me,autoInject:rt,cargo:st,compose:dt,concat:ht,concatLimit:ft,concatSeries:mt,constant:gt,detect:_t,detectLimit:wt,detectSeries:Ct,dir:Et,doDuring:xt,doUntil:Ot,doWhilst:kt,during:Tt,each:Pt,eachLimit:Rt,eachOf:ve,eachOfLimit:he,eachOfSeries:lt,eachSeries:It,ensureAsync:Mt,every:Dt,everyLimit:jt,everySeries:Lt,filter:Vt,filterLimit:zt,filterSeries:qt,forever:Gt,groupBy:Yt,groupByLimit:Wt,groupBySeries:Zt,log:Kt,map:we,mapLimit:Ee,mapSeries:xe,mapValues:Qt,mapValuesLimit:$t,mapValuesSeries:Xt,memoize:en,nextTick:tn,parallel:rn,parallelLimit:on,priorityQueue:sn,queue:an,race:ln,reduce:ct,reduceRight:cn,reflect:un,reflectAll:dn,reject:fn,rejectLimit:hn,rejectSeries:mn,retry:yn,retryable:vn,seq:ut,series:bn,setImmediate:f,some:_n,someLimit:wn,someSeries:Cn,sortBy:Sn,timeout:En,times:Tn,timesLimit:On,timesSeries:An,transform:Pn,tryEach:Rn,unmemoize:In,until:Nn,waterfall:Dn,whilst:Mn,all:Dt,allLimit:jt,allSeries:Lt,any:_n,anyLimit:wn,anySeries:Cn,find:_t,findLimit:wt,findSeries:Ct,forEach:Pt,forEachSeries:It,forEachLimit:Rt,forEachOf:ve,forEachOfSeries:lt,forEachOfLimit:he,inject:ct,foldl:ct,foldr:cn,select:Vt,selectLimit:zt,selectSeries:qt,wrapSync:h};n.default=jn,n.apply=i,n.applyEach=Ce,n.applyEachSeries=ke,n.asyncify=h,n.auto=Me,n.autoInject=rt,n.cargo=st,n.compose=dt,n.concat=ht,n.concatLimit=ft,n.concatSeries=mt,n.constant=gt,n.detect=_t,n.detectLimit=wt,n.detectSeries=Ct,n.dir=Et,n.doDuring=xt,n.doUntil=Ot,n.doWhilst=kt,n.during=Tt,n.each=Pt,n.eachLimit=Rt,n.eachOf=ve,n.eachOfLimit=he,n.eachOfSeries=lt,n.eachSeries=It,n.ensureAsync=Mt,n.every=Dt,n.everyLimit=jt,n.everySeries=Lt,n.filter=Vt,n.filterLimit=zt,n.filterSeries=qt,n.forever=Gt,n.groupBy=Yt,n.groupByLimit=Wt,n.groupBySeries=Zt,n.log=Kt,n.map=we,n.mapLimit=Ee,n.mapSeries=xe,n.mapValues=Qt,n.mapValuesLimit=$t,n.mapValuesSeries=Xt,n.memoize=en,n.nextTick=tn,n.parallel=rn,n.parallelLimit=on,n.priorityQueue=sn,n.queue=an,n.race=ln,n.reduce=ct,n.reduceRight=cn,n.reflect=un,n.reflectAll=dn,n.reject=fn,n.rejectLimit=hn,n.rejectSeries=mn,n.retry=yn,n.retryable=vn,n.seq=ut,n.series=bn,n.setImmediate=f,n.some=_n,n.someLimit=wn,n.someSeries=Cn,n.sortBy=Sn,n.timeout=En,n.times=Tn,n.timesLimit=On,n.timesSeries=An,n.transform=Pn,n.tryEach=Rn,n.unmemoize=In,n.until=Nn,n.waterfall=Dn,n.whilst=Mn,n.all=Dt,n.allLimit=jt,n.allSeries=Lt,n.any=_n,n.anyLimit=wn,n.anySeries=Cn,n.find=_t,n.findLimit=wt,n.findSeries=Ct,n.forEach=Pt,n.forEachSeries=It,n.forEachLimit=Rt,n.forEachOf=ve,n.forEachOfSeries=lt,n.forEachOfLimit=he,n.inject=ct,n.foldl=ct,n.foldr=cn,n.select=Vt,n.selectLimit=zt,n.selectSeries=qt,n.wrapSync=h,Object.defineProperty(n,"__esModule",{value:!0})},"object"===l(n)?s(n):(i=[n],void 0===(a="function"==typeof(o=s)?o.apply(n,i):o)||(e.exports=a))},54878:function(e,t,n){var r,o,i;n(66992),n(51532),n(41539),n(78783),n(33948),n(40561),n(54747),n(47941),o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,a=null,s=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(c("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),a!==r){a=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return a(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},41285:(e,t,n)=>{"use strict";n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(69600),t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],s=r[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(u(e,a,a+16383>s?s:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},13423:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(18264),n(96649),n(96078),n(43290),n(47042),n(92222),n(39714),n(73210),n(74916),n(15306),n(26699),n(32023),n(9653),n(83753),n(50545),n(23123),n(68309),n(32165),n(78783),n(33948);var o=n(41285),i=n(88617),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;function s(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|m(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e));if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer))return f(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return l.from(o,t,n);var i=function(e){if(l.isBuffer(e)){var t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||H(e.length)?s(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+r(e))}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|h(e))}function p(e){for(var t=e.length<0?0:0|h(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function h(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+r(e));var n=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(i)return o?-1:L(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),H(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function _(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(H(s))return a;e[n+a]=s}return a}function w(e,t,n,r){return F(L(t,e.length-n),e,n,r)}function C(e,t,n,r){return F(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function S(e,t,n,r){return F(B(t),e,n,r)}function E(e,t,n,r){return F(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(U(i,Uint8Array))o+i.length>r.length?l.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o)}o+=i.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(e,t,n,o,i){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+r(e));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),t<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&t>=n)return 0;if(o>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(o>>>=0),s=(n>>>=0)-(t>>>=0),c=Math.min(a,s),u=this.slice(o,i),d=e.slice(t,n),p=0;p<c;++p)if(u[p]!==d[p]){a=u[p],s=d[p];break}return a<s?-1:s<a?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return C(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=V[e[i]];return o}function P(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return t=+t,n>>>=0,o||M(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,o){return t=+t,n>>>=0,o||M(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);I(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);I(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var j=/[^+/0-9A-Za-z-_]/g;function L(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function B(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function F(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function H(e){return e!=e}var V=function(){for(var e=new Array(256),t=0;t<16;++t)for(var n=16*t,r=0;r<16;++r)e[n+r]="0123456789abcdef"[t]+"0123456789abcdef"[r];return e}()},73684:(e,t,n)=>{"use strict";var r=n(37555),o=n(53785),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},53785:(e,t,n)=>{"use strict";var r=n(23723),o=n(37555),i=n(2790),a=n(13237),s=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(l,s),u=n(61597),d=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=c(r,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},58575:(e,t,n)=>{e=n.nmd(e);var r=n(13423).Buffer;function o(e){return(o="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)}n(66992),n(51532),n(41539),n(78783),n(33948),n(70189),n(24603),n(74916),n(39714),n(30489),n(54747),n(38880),n(82526),n(36210),n(41817),n(32165);var i=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,i;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{i=Promise}catch(e){i=function(){}}function a(s,c,u,d,p){"object"===o(c)&&(u=c.depth,d=c.prototype,p=c.includeNonEnumerable,c=c.circular);var f=[],h=[],m=void 0!==r;return void 0===c&&(c=!0),void 0===u&&(u=1/0),function s(u,g){if(null===u)return null;if(0===g)return u;var y,v;if("object"!=o(u))return u;if(e(u,t))y=new t;else if(e(u,n))y=new n;else if(e(u,i))y=new i((function(e,t){u.then((function(t){e(s(t,g-1))}),(function(e){t(s(e,g-1))}))}));else if(a.__isArray(u))y=[];else if(a.__isRegExp(u))y=new RegExp(u.source,l(u)),u.lastIndex&&(y.lastIndex=u.lastIndex);else if(a.__isDate(u))y=new Date(u.getTime());else{if(m&&r.isBuffer(u))return y=r.allocUnsafe?r.allocUnsafe(u.length):new r(u.length),u.copy(y),y;e(u,Error)?y=Object.create(u):void 0===d?(v=Object.getPrototypeOf(u),y=Object.create(v)):(y=Object.create(d),v=d)}if(c){var b=f.indexOf(u);if(-1!=b)return h[b];f.push(u),h.push(y)}for(var _ in e(u,t)&&u.forEach((function(e,t){var n=s(t,g-1),r=s(e,g-1);y.set(n,r)})),e(u,n)&&u.forEach((function(e){var t=s(e,g-1);y.add(t)})),u){var w;v&&(w=Object.getOwnPropertyDescriptor(v,_)),w&&null==w.set||(y[_]=s(u[_],g-1))}if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(u);for(_=0;_<C.length;_++){var S=C[_];(!(x=Object.getOwnPropertyDescriptor(u,S))||x.enumerable||p)&&(y[S]=s(u[S],g-1),x.enumerable||Object.defineProperty(y,S,{enumerable:!1}))}}if(p){var E=Object.getOwnPropertyNames(u);for(_=0;_<E.length;_++){var x,k=E[_];(x=Object.getOwnPropertyDescriptor(u,k))&&x.enumerable||(y[k]=s(u[k],g-1),Object.defineProperty(y,k,{enumerable:!1}))}}return y}(s,u)}function s(e){return Object.prototype.toString.call(e)}function l(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=s,a.__isDate=function(e){return"object"===o(e)&&"[object Date]"===s(e)},a.__isArray=function(e){return"object"===o(e)&&"[object Array]"===s(e)},a.__isRegExp=function(e){return"object"===o(e)&&"[object RegExp]"===s(e)},a.__getRegExpFlags=l,a}();"object"===o(e)&&e.exports&&(e.exports=i)},4324:(e,t,n)=>{var r=n(46714),o=n(52107);e.exports=r.use(o)},52107:(e,n,r)=>{var o,i,a,s;function l(e){return(l="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)}r(66992),r(41539),r(96290),r(78783),r(33948),r(74916),r(15306),r(47941),r(39714),r(23123),r(69600),r(40561),r(47042),r(68309),r(4723),r(43371),r(38880),r(36210),r(30489),r(21249),r(57327),r(17727),r(92222),r(83753),r(24603),r(84633),r(9653),r(82526),r(41817),r(32165),s=function(){var e,n,o;return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof _dereq_&&_dereq_;if(!s&&l)return l(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){var n=t[a][1][e];return o(n||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof _dereq_&&_dereq_,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";t.exports=function(e){var t=e._SomePromiseArray;function n(e){var n=new t(e),r=n.promise();return n.setHowMany(1),n.setUnwrap(),n.init(),r}e.any=function(e){return n(e)},e.prototype.any=function(){return n(this)}}},{}],2:[function(e,t,n){"use strict";var r;try{throw new Error}catch(e){r=e}var o=e("./schedule.js"),i=e("./queue.js"),a=e("./util.js");function s(){this._isTickUsed=!1,this._lateQueue=new i(16),this._normalQueue=new i(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=o.isStatic?o(this.drainQueues):o}function l(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function c(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function u(e){this._normalQueue._pushOne(e),this._queueTick()}s.prototype.disableTrampolineIfNecessary=function(){a.hasDevTools&&(this._trampolineEnabled=!1)},s.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},s.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},s.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout((function(){e(t)}),0);else try{this._schedule((function(){e(t)}))}catch(e){throw new Error("No async scheduler available\n\n    See http://goo.gl/m3OTXk\n")}},a.hasDevTools?(o.isStatic&&(o=function(e){setTimeout(e,0)}),s.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?l.call(this,e,t,n):this._schedule((function(){setTimeout((function(){e.call(t,n)}),100)}))},s.prototype.invoke=function(e,t,n){this._trampolineEnabled?c.call(this,e,t,n):this._schedule((function(){e.call(t,n)}))},s.prototype.settlePromises=function(e){this._trampolineEnabled?u.call(this,e):this._schedule((function(){e._settlePromises()}))}):(s.prototype.invokeLater=l,s.prototype.invoke=c,s.prototype.settlePromises=u),s.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},s.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},s.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},s.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},s.prototype._reset=function(){this._isTickUsed=!1},t.exports=new s,t.exports.firstLineError=r},{"./queue.js":28,"./schedule.js":31,"./util.js":38}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},o=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},i=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),l=new e(t);l._propagateFrom(this,1);var c=this._target();if(l._setBoundTo(s),s instanceof e){var u={promiseRejectionQueued:!1,promise:l,target:c,bindingPromise:s};c._then(t,o,l._progress,l,u),s._then(i,a,l._progress,l,u)}else l._resolveCallback(c);return l},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072==(131072&this._bitField)},e.bind=function(r,o){var i=n(r),a=new e(t);return a._setBoundTo(i),i instanceof e?i._then((function(){a._resolveCallback(o)}),a._reject,a._progress,a,null):a._resolveCallback(o),a}}},{}],4:[function(e,t,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var o=e("./promise.js")();o.noConflict=function(){try{Promise===o&&(Promise=r)}catch(e){}return o},t.exports=o},{"./promise.js":23}],5:[function(e,t,n){"use strict";var r=Object.create;if(r){var o=r(null),i=r(null);o[" size"]=i[" size"]=0}t.exports=function(t){var n=e("./util.js"),r=n.canEvaluate;function o(e){return function(e,r){var o;if(null!=e&&(o=e[r]),"function"!=typeof o){var i="Object "+n.classString(e)+" has no method '"+n.toString(r)+"'";throw new t.TypeError(i)}return o}(e,this.pop()).apply(e,this)}function i(e){return e[this]}function a(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}n.isIdentifier,t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),r=1;r<t;++r)n[r-1]=arguments[r];return n.push(e),this._then(o,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t;if("number"==typeof e)t=a;else if(r){var n=(void 0)(e);t=null!==n?n:i}else t=i;return this._then(t,void 0,void 0,e,void 0)}}},{"./util.js":38}],6:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./errors.js"),r=e("./async.js"),o=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new o),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()||(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0),this},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{"./async.js":2,"./errors.js":13}],7:[function(e,n,r){"use strict";n.exports=function(){var n,r=e("./async.js"),o=e("./util.js"),i=/[\\\/]bluebird[\\\/]js[\\\/](main|debug|zalgo|instrumented)/,a=null,s=null,c=!1;function u(e){this._parent=e;var t=this._length=1+(void 0===e?0:e._length);y(this,u),t>32&&this.uncycle()}function d(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],o=a.test(r)||"    (No stack trace)"===r,i=o&&f(r);o&&!i&&(c&&" "!==r.charAt(0)&&(r="    "+r),t.push(r))}return t}function p(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e.toString(),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+function(e){return e.length<41?e:e.substr(0,38)+"..."}(t)+">, no stack trace)"}o.inherits(u,Error),u.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},r=0,o=this;void 0!==o;++r)t.push(o),o=o._parent;for(r=(e=this._length=r)-1;r>=0;--r){var i=t[r].stack;void 0===n[i]&&(n[i]=r)}for(r=0;r<e;++r){var a=n[t[r].stack];if(void 0!==a&&a!==r){a>0&&(t[a-1]._parent=void 0,t[a-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var s=r>0?t[r-1]:this;a<e-1?(s._parent=t[a+1],s._parent.uncycle(),s._length=s._parent._length+1):(s._parent=void 0,s._length=1);for(var l=s._length+1,c=r-2;c>=0;--c)t[c]._length=l,l++;return}}}},u.prototype.parent=function(){return this._parent},u.prototype.hasParent=function(){return void 0!==this._parent},u.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=u.parseStackAndMessage(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(d(i.stack.split("\n"))),i=i._parent;!function(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],o=t.length-1,i=t[o],a=-1,s=r.length-1;s>=0;--s)if(r[s]===i){a=s;break}for(s=a;s>=0;--s){var l=r[s];if(t[o]!==l)break;t.pop(),o--}t=r}}(r),function(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}(r),o.notEnumerableProp(e,"stack",function(e,t){for(var n=0;n<t.length-1;++n)t[n].push("From previous event:"),t[n]=t[n].join("\n");return n<t.length&&(t[n]=t[n].join("\n")),e+"\n"+t.join("\n")}(n,r)),o.notEnumerableProp(e,"__stackCleaned__",!0)}},u.parseStackAndMessage=function(e){var t=e.stack;return{message:e.toString(),stack:d(t="string"==typeof t&&t.length>0?function(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),n=0;n<t.length;++n){var r=t[n];if("    (No stack trace)"===r||a.test(r))break}return n>0&&(t=t.slice(n)),t}(e):["    (No stack trace)"])}},u.formatAndLogError=function(e,t){if("undefined"!=typeof console){var r;if("object"===l(e)||"function"==typeof e){var o=e.stack;r=t+s(o,e)}else r=t+String(e);"function"==typeof n?n(r):"function"!=typeof console.log&&"object"!==l(console.log)||console.log(r)}},u.unhandledRejection=function(e){u.formatAndLogError(e,"^--- With additional stack trace: ")},u.isSupported=function(){return"function"==typeof y},u.fireRejectionEvent=function(e,t,n,o){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(o):t(n,o))}catch(e){r.throwLater(e)}var a=!1;try{a=v(e,n,o)}catch(e){a=!0,r.throwLater(e)}var s=!1;if(g)try{s=g(e.toLowerCase(),{reason:n,promise:o})}catch(e){s=!0,r.throwLater(e)}a||i||s||"unhandledRejection"!==e||u.formatAndLogError(n,"Unhandled rejection ")};var f=function(){return!1},h=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function m(e){var t=e.match(h);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}u.setBounds=function(e,t){if(u.isSupported()){for(var n,r,o=e.stack.split("\n"),a=t.stack.split("\n"),s=-1,l=-1,c=0;c<o.length;++c)if(d=m(o[c])){n=d.fileName,s=d.line;break}for(c=0;c<a.length;++c){var d;if(d=m(a[c])){r=d.fileName,l=d.line;break}}s<0||l<0||!n||!r||n!==r||s>=l||(f=function(e){if(i.test(e))return!0;var t=m(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=l)})}};var g,y=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():p(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,a=e,s=t;var n=Error.captureStackTrace;return f=function(e){return i.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r,o=new Error;if("string"==typeof o.stack&&o.stack.split("\n")[0].indexOf("stackDetection@")>=0)return a=/@/,s=t,c=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(e){r="stack"in e}return!("stack"in o)&&r&&"number"==typeof Error.stackTraceLimit?(a=e,s=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6}):(s=function(e,t){return"string"==typeof e?e:"object"!==l(t)&&"function"!=typeof t||void 0===t.name||void 0===t.message?p(t):t.toString()},null)}(),v=function(){if(o.isNode)return function(e,n,r){return"rejectionHandled"===e?t.emit(e,r):t.emit(e,n,r)};var e=!1,n=!0;try{var r=new self.CustomEvent("test");e=r instanceof CustomEvent}catch(e){}if(!e)try{var i=document.createEvent("CustomEvent");i.initCustomEvent("testingtheevent",!1,!0,{}),self.dispatchEvent(i)}catch(e){n=!1}n&&(g=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!0,n),!!r&&!self.dispatchEvent(r)});var a={};return a.unhandledRejection="onunhandledRejection".toLowerCase(),a.rejectionHandled="onrejectionHandled".toLowerCase(),function(e,t,n){var r=a[e],o=self[r];return!!o&&("rejectionHandled"===e?o.call(self,n):o.call(self,t,n),!0)}}();return"undefined"!=typeof console&&void 0!==console.warn&&(n=function(e){console.warn(e)},o.isNode&&t.stderr.isTTY?n=function(e){t.stderr.write("[31m"+e+"[39m\n")}:o.isNode||"string"!=typeof(new Error).stack||(n=function(e){console.warn("%c"+e,"color: red")})),u}},{"./async.js":2,"./util.js":38}],8:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util.js"),r=e("./errors.js"),o=n.tryCatch,i=n.errorObj,a=e("./es5.js").keys,s=r.TypeError;function l(e,t,n){this._instances=e,this._callback=t,this._promise=n}function c(e,t){var n={},r=o(e).call(n,t);return r===i?r:a(n).length?(i.e=new s("Catch filter must inherit from Error or be a simple predicate function\n\n    See http://goo.gl/o84o68\n"),i):r}return l.prototype.doFilter=function(e){for(var n=this._callback,r=this._promise._boundValue(),a=0,s=this._instances.length;a<s;++a){var l=this._instances[a],u=l===Error||null!=l&&l.prototype instanceof Error;if(u&&e instanceof l)return(d=o(n).call(r,e))===i?(t.e=d.e,t):d;if("function"==typeof l&&!u){var d,p=c(l,e);if(p===i){e=i.e;break}if(p)return(d=o(n).call(r,e))===i?(t.e=d.e,t):d}}return t.e=e,t},l}},{"./errors.js":13,"./es5.js":14,"./util.js":38}],9:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=[];function o(){this._trace=new t(i())}function i(){var e=r.length-1;if(e>=0)return r[e]}return o.prototype._pushContext=function(){n()&&void 0!==this._trace&&r.push(this._trace)},o.prototype._popContext=function(){n()&&void 0!==this._trace&&r.pop()},e.prototype._peekContext=i,e.prototype._pushContext=o.prototype._pushContext,e.prototype._popContext=o.prototype._popContext,function(){if(n())return new o}}},{}],10:[function(e,n,r){"use strict";n.exports=function(n,r){var o,i,a=n._getDomain,s=e("./async.js"),l=e("./errors.js").Warning,c=e("./util.js"),u=c.canAttachTrace,d=c.isNode&&(!!t.env.BLUEBIRD_DEBUG||!1);return c.isNode&&0==t.env.BLUEBIRD_DEBUG&&(d=!1),d&&s.disableTrampolineIfNecessary(),n.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},n.prototype._ensurePossibleRejectionHandled=function(){0==(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),s.invokeLater(this._notifyUnhandledRejection,this,void 0))},n.prototype._notifyUnhandledRejectionIsHandled=function(){r.fireRejectionEvent("rejectionHandled",o,void 0,this)},n.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),r.fireRejectionEvent("unhandledRejection",i,e,this)}},n.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},n.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},n.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},n.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},n.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},n.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},n.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},n.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},n.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},n.prototype._captureStackTrace=function(){return d&&(this._trace=new r(this._peekContext())),this},n.prototype._attachExtraTrace=function(e,t){if(d&&u(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var o=r.parseStackAndMessage(e);c.notEnumerableProp(e,"stack",o.message+"\n"+o.stack.join("\n")),c.notEnumerableProp(e,"__stackCleaned__",!0)}}},n.prototype._warn=function(e){var t=new l(e),n=this._peekContext();if(n)n.attachExtraTrace(t);else{var o=r.parseStackAndMessage(t);t.stack=o.message+"\n"+o.stack.join("\n")}r.formatAndLogError(t,"")},n.onPossiblyUnhandledRejection=function(e){var t=a();i="function"==typeof e?null===t?e:t.bind(e):void 0},n.onUnhandledRejectionHandled=function(e){var t=a();o="function"==typeof e?null===t?e:t.bind(e):void 0},n.longStackTraces=function(){if(s.haveItemsQueued()&&!1===d)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/DT1qyG\n");(d=r.isSupported())&&s.disableTrampolineIfNecessary()},n.hasLongStackTraces=function(){return d&&r.isSupported()},r.isSupported()||(n.longStackTraces=function(){},d=!1),function(){return d}}},{"./async.js":2,"./errors.js":13,"./util.js":38}],11:[function(e,t,n){"use strict";var r=e("./util.js").isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},o=function(){},i=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype.return=e.prototype.thenReturn=function(n){return void 0===n?this.then(o):r(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype.throw=e.prototype.thenThrow=function(e){return void 0===e?this.then(i):r(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{"./util.js":38}],12:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],13:[function(e,t,n){"use strict";var r,o,i=e("./es5.js"),a=i.freeze,s=e("./util.js"),l=s.inherits,c=s.notEnumerableProp;function u(e,t){function n(r){if(!(this instanceof n))return new n(r);c(this,"message","string"==typeof r?r:t),c(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return l(n,Error),n}var d=u("Warning","warning"),p=u("CancellationError","cancellation error"),f=u("TimeoutError","timeout error"),h=u("AggregateError","aggregate error");try{r=TypeError,o=RangeError}catch(e){r=u("TypeError","type error"),o=u("RangeError","range error")}for(var m="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;g<m.length;++g)"function"==typeof Array.prototype[m[g]]&&(h.prototype[m[g]]=Array.prototype[m[g]]);i.defineProperty(h.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),h.prototype.isOperational=!0;var y=0;function v(e){if(!(this instanceof v))return new v(e);c(this,"name","OperationalError"),c(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(c(this,"message",e.message),c(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}h.prototype.toString=function(){var e=Array(4*y+1).join(" "),t="\n"+e+"AggregateError of:\n";y++,e=Array(4*y+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",o=r.split("\n"),i=0;i<o.length;++i)o[i]=e+o[i];t+=(r=o.join("\n"))+"\n"}return y--,t},l(v,Error);var b=Error.__BluebirdErrorTypes__;b||(b=a({CancellationError:p,TimeoutError:f,OperationalError:v,RejectionError:v,AggregateError:h}),c(Error,"__BluebirdErrorTypes__",b)),t.exports={Error:Error,TypeError:r,RangeError:o,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:d}},{"./es5.js":14,"./util.js":38}],14:[function(e,t,n){var r=function(){"use strict";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var o={}.hasOwnProperty,i={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)o.call(e,n)&&t.push(n);return t};t.exports={isArray:function(e){try{return"[object Array]"===i.call(e)}catch(e){return!1}},keys:s,names:s,defineProperty:function(e,t,n){return e[t]=n.value,e},getDescriptor:function(e,t){return{value:e[t]}},freeze:function(e){return e},getPrototypeOf:function(e){try{return Object(e).constructor.prototype}catch(e){return a}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],15:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,o){return n(e,r,o,t)}}},{}],16:[function(e,t,n){"use strict";t.exports=function(t,n,r){var o=e("./util.js"),i=o.isPrimitive,a=o.thrower;function s(){return this}function l(){throw this}function c(e,t,n){var r;return r=i(t)?n?function(e){return function(){return e}}(t):function(e){return function(){throw e}}(t):n?s:l,e._then(r,a,void 0,t,void 0)}function u(e){var o=this.promise,i=this.handler,a=o._isBound()?i.call(o._boundValue()):i();if(void 0!==a){var s=r(a,o);if(s instanceof t)return c(s=s._target(),e,o.isFulfilled())}return o.isRejected()?(n.e=e,n):e}function d(e){var n=this.promise,o=this.handler,i=n._isBound()?o.call(n._boundValue(),e):o(e);if(void 0!==i){var a=r(i,n);if(a instanceof t)return c(a=a._target(),e,!0)}return e}t.prototype._passThroughHandler=function(e,t){if("function"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:d,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{"./util.js":38}],17:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./errors.js").TypeError,a=e("./util.js"),s=a.errorObj,l=a.tryCatch,c=[];function u(e,n,o,i){(this._promise=new t(r))._captureStackTrace(),this._stack=i,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers="function"==typeof o?[o].concat(c):c}u.prototype.promise=function(){return this._promise},u.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},u.prototype._continue=function(e){if(e===s)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(!0===e.done)this._promise._resolveCallback(n);else{var r=o(n,this._promise);if(!(r instanceof t)&&null===(r=function(e,n,r){for(var i=0;i<n.length;++i){r._pushContext();var a=l(n[i])(e);if(r._popContext(),a===s){r._pushContext();var c=t.reject(s.e);return r._popContext(),c}var u=o(a,r);if(u instanceof t)return u}return null}(r,this._yieldHandlers,this._promise)))return void this._throw(new i("A value %s was yielded that could not be treated as a promise\n\n    See http://goo.gl/4Y4pDk\n\n".replace("%s",n)+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));r._then(this._next,this._throw,void 0,this,null)}},u.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},u.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if("function"!=typeof e)throw new i("generatorFunction must be a function\n\n    See http://goo.gl/6Vqhm0\n");var n=Object(t).yieldHandler,r=u,o=(new Error).stack;return function(){var t=e.apply(this,arguments),i=new r(void 0,void 0,n,o);return i._generator=t,i._next(void 0),i.promise()}},t.coroutine.addYieldHandler=function(e){if("function"!=typeof e)throw new i("fn must be a function\n\n    See http://goo.gl/916lJJ\n");c.push(e)},t.spawn=function(e){if("function"!=typeof e)return n("generatorFunction must be a function\n\n    See http://goo.gl/6Vqhm0\n");var r=new u(e,this),o=r.promise();return r._run(t.spawn),o}}},{"./errors.js":13,"./util.js":38}],18:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js");i.canEvaluate,i.tryCatch,i.errorObj,t.join=function(){var e,t=arguments.length-1;t>0&&"function"==typeof arguments[t]&&(e=arguments[t]);for(var r=arguments.length,o=new Array(r),i=0;i<r;++i)o[i]=arguments[i];e&&o.pop();var a=new n(o).promise();return void 0!==e?a.spread(e):a}}},{"./util.js":38}],19:[function(e,t,n){"use strict";t.exports=function(t,n,r,o,i){var a=t._getDomain,s=e("./async.js"),c=e("./util.js"),u=c.tryCatch,d=c.errorObj,p={},f=[];function h(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var o=a();this._callback=null===o?t:o.bind(t),this._preservedValues=r===i?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:f,s.invoke(m,this,void 0)}function m(){this._init$(void 0,-2)}function g(e,t,n,r){var o="object"===l(n)&&null!==n?n.concurrency:0;return new h(e,t,o="number"==typeof o&&isFinite(o)&&o>=1?o:0,r)}c.inherits(h,n),h.prototype._init=function(){},h.prototype._promiseFulfilled=function(e,n){var r=this._values,i=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===p){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var l=this._callback,c=this._promise._boundValue();this._promise._pushContext();var f=u(l).call(c,e,n,i);if(this._promise._popContext(),f===d)return this._reject(f.e);var h=o(f,this._promise);if(h instanceof t){if((h=h._target())._isPending())return s>=1&&this._inFlight++,r[n]=p,h._proxyPromiseArray(this,n);if(!h._isFulfilled())return this._reject(h._reason());f=h._value()}r[n]=f}++this._totalResolved>=i&&(null!==a?this._filter(r,a):this._resolve(r))},h.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},h.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),o=0,i=0;i<n;++i)e[i]&&(r[o++]=t[i]);r.length=o,this._resolve(r)},h.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return"function"!=typeof e?r("fn must be a function\n\n    See http://goo.gl/916lJJ\n"):g(this,e,t,null).promise()},t.map=function(e,t,n,o){return"function"!=typeof t?r("fn must be a function\n\n    See http://goo.gl/916lJJ\n"):g(e,t,n,o).promise()}}},{"./async.js":2,"./util.js":38}],20:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js"),a=i.tryCatch;t.method=function(e){if("function"!=typeof e)throw new t.TypeError("fn must be a function\n\n    See http://goo.gl/916lJJ\n");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var o=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(o),r}},t.attempt=t.try=function(e,r,s){if("function"!=typeof e)return o("fn must be a function\n\n    See http://goo.gl/916lJJ\n");var l=new t(n);l._captureStackTrace(),l._pushContext();var c=i.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return l._popContext(),l._resolveFromSyncValue(c),l},t.prototype._resolveFromSyncValue=function(e){e===i.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{"./util.js":38}],21:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util.js"),r=e("./async.js"),o=n.tryCatch,i=n.errorObj;function a(e,t){if(!n.isArray(e))return s.call(this,e,t);var a=o(t).apply(this._boundValue(),[null].concat(e));a===i&&r.throwLater(a.e)}function s(e,t){var n=this._boundValue(),a=void 0===e?o(t).call(n,null):o(t).call(n,null,e);a===i&&r.throwLater(a.e)}function l(e,t){if(!e){var n=this._target()._getCarriedStackTrace();n.cause=e,e=n}var a=o(t).call(this._boundValue(),e);a===i&&r.throwLater(a.e)}t.prototype.asCallback=t.prototype.nodeify=function(e,t){if("function"==typeof e){var n=s;void 0!==t&&Object(t).spread&&(n=a),this._then(n,l,void 0,this,e)}return this}}},{"./async.js":2,"./util.js":38}],22:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util.js"),o=e("./async.js"),i=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,o=e.handler,s=e.promise,l=e.receiver,c=i(o).call(l,n);if(c===a){if(null!=c.e&&"StopProgressPropagation"!==c.e.name){var u=r.canAttachTrace(c.e)?c.e:new Error(r.toString(c.e));s._attachExtraTrace(u),s._progress(c.e)}}else c instanceof t?c._then(s._progress,null,null,s,void 0):s._progress(c)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),i=this._progress,a=0;a<r;a++){var s=this._progressHandlerAt(a),l=this._promiseAt(a);if(l instanceof t)"function"==typeof s?o.invoke(this._doProgressWith,this,{handler:s,promise:l,receiver:this._receiverAt(a),value:e}):o.invoke(i,l,e);else{var c=this._receiverAt(a);"function"==typeof s?s.call(c,e,l):c instanceof n&&!c._isResolved()&&c._promiseProgressed(e,l)}}}}},{"./async.js":2,"./util.js":38}],23:[function(e,n,r){"use strict";n.exports=function(){var r,o=function(){return new d("circular promise resolution chain\n\n    See http://goo.gl/LhFpo0\n")},i=function(){return new x.PromiseInspection(this._target())},a=function(e){return x.reject(new d(e))},s=e("./util.js");r=s.isNode?function(){var e=t.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(x,"_getDomain",r);var l={},c=e("./async.js"),u=e("./errors.js"),d=x.TypeError=u.TypeError;x.RangeError=u.RangeError,x.CancellationError=u.CancellationError,x.TimeoutError=u.TimeoutError,x.OperationalError=u.OperationalError,x.RejectionError=u.OperationalError,x.AggregateError=u.AggregateError;var p=function(){},f={},h={e:null},m=e("./thenables.js")(x,p),g=e("./promise_array.js")(x,p,m,a),y=e("./captured_trace.js")(),v=e("./debuggability.js")(x,y),b=e("./context.js")(x,y,v),_=e("./catch_filter.js")(h),w=e("./promise_resolver.js"),C=w._nodebackForPromise,S=s.errorObj,E=s.tryCatch;function x(e){if("function"!=typeof e)throw new d("the promise constructor requires a resolver function\n\n    See http://goo.gl/EC22Yn\n");if(this.constructor!==x)throw new d("the promise constructor cannot be invoked directly\n\n    See http://goo.gl/KsIlge\n");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==p&&this._resolveFromResolver(e)}function k(e){var t=new x(p);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._progressHandler0=e,t._promise0=e,t._receiver0=e,t._settledValue=e}return x.prototype.toString=function(){return"[object Promise]"},x.prototype.caught=x.prototype.catch=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),o=0;for(n=0;n<t-1;++n){var i=arguments[n];if("function"!=typeof i)return x.reject(new d("Catch filter must inherit from Error or be a simple predicate function\n\n    See http://goo.gl/o84o68\n"));r[o++]=i}r.length=o;var a=new _(r,e=arguments[n],this);return this._then(void 0,a.doFilter,void 0,a,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},x.prototype.reflect=function(){return this._then(i,i,void 0,this,void 0)},x.prototype.then=function(e,t,n){if(v()&&arguments.length>0&&"function"!=typeof e&&"function"!=typeof t){var r=".then() only accepts functions but was passed: "+s.classString(e);arguments.length>1&&(r+=", "+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},x.prototype.done=function(e,t,n){this._then(e,t,n,void 0,void 0)._setIsFinal()},x.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,f,void 0)},x.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},x.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},x.prototype.all=function(){return new g(this).promise()},x.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},x.getNewLibraryCopy=n.exports,x.is=function(e){return e instanceof x},x.fromNode=function(e){var t=new x(p),n=E(e)(C(t));return n===S&&t._rejectCallback(n.e,!0,!0),t},x.all=function(e){return new g(e).promise()},x.defer=x.pending=function(){var e=new x(p);return new w(e)},x.cast=function(e){var t=m(e);if(!(t instanceof x)){var n=t;(t=new x(p))._fulfillUnchecked(n)}return t},x.resolve=x.fulfilled=x.cast,x.reject=x.rejected=function(e){var t=new x(p);return t._captureStackTrace(),t._rejectCallback(e,!0),t},x.setScheduler=function(e){if("function"!=typeof e)throw new d("fn must be a function\n\n    See http://goo.gl/916lJJ\n");var t=c._schedule;return c._schedule=e,t},x.prototype._then=function(e,t,n,o,i){var a=void 0!==i,s=a?i:new x(p);a||(s._propagateFrom(this,5),s._captureStackTrace());var l=this._target();l!==this&&(void 0===o&&(o=this._boundTo),a||s._setIsMigrated());var u=l._addCallbacks(e,t,n,s,o,r());return l._isResolved()&&!l._isSettlePromisesQueued()&&c.invoke(l._settlePromiseAtPostResolution,l,u),s},x.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},x.prototype._length=function(){return 131071&this._bitField},x.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},x.prototype._isFollowing=function(){return 536870912==(536870912&this._bitField)},x.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},x.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},x.prototype._setRejected=function(){this._bitField=134217728|this._bitField},x.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},x.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},x.prototype._isFinal=function(){return(33554432&this._bitField)>0},x.prototype._cancellable=function(){return(67108864&this._bitField)>0},x.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},x.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},x.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},x.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},x.prototype._isMigrated=function(){return(4194304&this._bitField)>0},x.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},x.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},x.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},x.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},x.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof x?e.isFulfilled()?e.value():void 0:e},x.prototype._migrateCallbacks=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),o=e._progressHandlerAt(t),i=e._promiseAt(t),a=e._receiverAt(t);i instanceof x&&i._setIsMigrated(),void 0===a&&(a=l),this._addCallbacks(n,r,o,i,a,null)},x.prototype._addCallbacks=function(e,t,n,r,o,i){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==o&&(this._receiver0=o),"function"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===i?e:i.bind(e)),"function"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t)),"function"==typeof n&&(this._progressHandler0=null===i?n:i.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=o,"function"==typeof e&&(this[s+0]=null===i?e:i.bind(e)),"function"==typeof t&&(this[s+1]=null===i?t:i.bind(t)),"function"==typeof n&&(this[s+2]=null===i?n:i.bind(n))}return this._setLength(a+1),a},x.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},x.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},x.prototype._resolveCallback=function(e,t){if(!this._isFollowingOrFulfilledOrRejected()){if(e===this)return this._rejectCallback(o(),!1,!0);var n=m(e,this);if(!(n instanceof x))return this._fulfill(e);var r=1|(t?4:0);this._propagateFrom(n,r);var i=n._target();if(i._isPending()){for(var a=this._length(),s=0;s<a;++s)i._migrateCallbacks(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else i._isFulfilled()?this._fulfillUnchecked(i._value()):this._rejectUnchecked(i._reason(),i._getCarriedStackTrace())}},x.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),o=r===e;this._attachExtraTrace(r,!!t&&o),this._reject(e,o?void 0:r)},x.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=E(e)((function(e){null!==t&&(t._resolveCallback(e),t=null)}),(function(e){null!==t&&(t._rejectCallback(e,n),t=null)}));n=!1,this._popContext(),void 0!==r&&r===S&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},x.prototype._settlePromiseFromHandler=function(e,t,n,r){var i;if(!r._isRejected())if(r._pushContext(),i=t!==f||this._isRejected()?E(e).call(t,n):E(e).apply(this._boundValue(),n),r._popContext(),i===S||i===r||i===h){var a=i===r?o():i.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(i)},x.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},x.prototype._followee=function(){return this._rejectionHandler0},x.prototype._setFollowee=function(e){this._rejectionHandler0=e},x.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},x.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},x.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},x.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},x.prototype._settlePromiseAt=function(e){var t=this._promiseAt(e),n=t instanceof x;if(n&&t._isMigrated())return t._unsetIsMigrated(),c.invoke(this._settlePromiseAt,this,e);var r=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,i=this._settledValue,a=this._receiverAt(e);this._clearCallbackDataAtIndex(e),"function"==typeof r?n?this._settlePromiseFromHandler(r,a,i,t):r.call(a,i,t):a instanceof g?a._isResolved()||(this._isFulfilled()?a._promiseFulfilled(i,t):a._promiseRejected(i,t)):n&&(this._isFulfilled()?t._fulfill(i):t._reject(i,o)),e>=4&&4==(31&e)&&c.invokeLater(this._setLength,this,0)},x.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},x.prototype._isSettlePromisesQueued=function(){return-1073741824==(-1073741824&this._bitField)},x.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},x.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},x.prototype._queueSettlePromises=function(){c.settlePromises(this),this._setSettlePromisesQueued()},x.prototype._fulfillUnchecked=function(e){if(e===this){var t=o();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},x.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},x.prototype._rejectUnchecked=function(e,t){if(e===this){var n=o();return this._attachExtraTrace(n),this._rejectUnchecked(n)}this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?c.throwLater((function(e){throw"stack"in e&&c.invokeFirst(y.unhandledRejection,void 0,e),e}),void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled())},x.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;t<e;t++)this._settlePromiseAt(t)},s.notEnumerableProp(x,"_makeSelfResolutionError",o),e("./progress.js")(x,g),e("./method.js")(x,p,m,a),e("./bind.js")(x,p,m),e("./finally.js")(x,h,m),e("./direct_resolve.js")(x),e("./synchronous_inspection.js")(x),e("./join.js")(x,g,m,p),x.version="2.11.0",x.Promise=x,e("./map.js")(x,g,a,m,p),e("./cancel.js")(x),e("./using.js")(x,a,m,b),e("./generators.js")(x,a,p,m),e("./nodeify.js")(x),e("./call_get.js")(x),e("./props.js")(x,g,m,a),e("./race.js")(x,p,m,a),e("./reduce.js")(x,g,a,m,p),e("./settle.js")(x,g),e("./some.js")(x,g,a),e("./promisify.js")(x,p),e("./any.js")(x),e("./each.js")(x,p),e("./timers.js")(x,p),e("./filter.js")(x,p),s.toFastProperties(x),s.toFastProperties(x.prototype),k({a:1}),k({b:2}),k({c:3}),k(1),k((function(){})),k(void 0),k(!1),k(new x(p)),y.setBounds(c.firstLineError,s.lastLineError),x}},{"./any.js":1,"./async.js":2,"./bind.js":3,"./call_get.js":5,"./cancel.js":6,"./captured_trace.js":7,"./catch_filter.js":8,"./context.js":9,"./debuggability.js":10,"./direct_resolve.js":11,"./each.js":12,"./errors.js":13,"./filter.js":15,"./finally.js":16,"./generators.js":17,"./join.js":18,"./map.js":19,"./method.js":20,"./nodeify.js":21,"./progress.js":22,"./promise_array.js":24,"./promise_resolver.js":25,"./promisify.js":26,"./props.js":27,"./race.js":29,"./reduce.js":30,"./settle.js":32,"./some.js":33,"./synchronous_inspection.js":34,"./thenables.js":35,"./timers.js":36,"./using.js":37,"./util.js":38}],24:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js").isArray;function a(e){var r,o=this._promise=new t(n);e instanceof t&&(r=e,o._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function e(n,a){var s=r(this._values,this._promise);if(s instanceof t){if(s=s._target(),this._values=s,!s._isFulfilled())return s._isPending()?void s._then(e,this._reject,void 0,this,a):void this._reject(s._reason());if(s=s._value(),!i(s)){var l=new t.TypeError("expecting an array, a promise or a thenable\n\n    See http://goo.gl/s8MMhc\n");return void this.__hardReject__(l)}}else if(!i(s))return void this._promise._reject(o("expecting an array, a promise or a thenable\n\n    See http://goo.gl/s8MMhc\n")._reason());if(0!==s.length){var c=this.getActualLength(s.length);this._length=c,this._values=this.shouldCopyValues()?new Array(c):this._values;for(var u=this._promise,d=0;d<c;++d){var p=this._isResolved(),f=r(s[d],u);f instanceof t?(f=f._target(),p?f._ignoreRejections():f._isPending()?f._proxyPromiseArray(this,d):f._isFulfilled()?this._promiseFulfilled(f._value(),d):this._promiseRejected(f._reason(),d)):p||this._promiseFulfilled(f,d)}}else-5===a?this._resolveEmptyArray():this._resolve(function(e){switch(e){case-2:return[];case-3:return{}}}(a))},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e,++this._totalResolved>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{"./util.js":38}],25:[function(e,t,n){"use strict";var r,o=e("./util.js"),i=o.maybeWrapAsError,a=e("./errors.js"),s=a.TimeoutError,l=a.OperationalError,c=o.haveGetters,u=e("./es5.js"),d=/^(?:name|message|stack|cause)$/;function p(e){var t;if(function(e){return e instanceof Error&&u.getPrototypeOf(e)===Error.prototype}(e)){(t=new l(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var n=u.keys(e),r=0;r<n.length;++r){var i=n[r];d.test(i)||(t[i]=e[i])}return t}return o.markAsOriginatingFromRejection(e),e}function f(e){return function(t,n){if(null!==e){if(t){var r=p(i(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;s<o;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}if(r=c?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=f(e),this.callback=this.asCallback},c){var h={get:function(){return f(this.promise)}};u.defineProperty(r.prototype,"asCallback",h),u.defineProperty(r.prototype,"callback",h)}r._nodebackForPromise=f,r.prototype.toString=function(){return"[object PromiseResolver]"},r.prototype.resolve=r.prototype.fulfill=function(e){if(!(this instanceof r))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n    See http://goo.gl/sdkXL9\n");this.promise._resolveCallback(e)},r.prototype.reject=function(e){if(!(this instanceof r))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n    See http://goo.gl/sdkXL9\n");this.promise._rejectCallback(e)},r.prototype.progress=function(e){if(!(this instanceof r))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n    See http://goo.gl/sdkXL9\n");this.promise._progress(e)},r.prototype.cancel=function(e){this.promise.cancel(e)},r.prototype.timeout=function(){this.reject(new s("timeout"))},r.prototype.isResolved=function(){return this.promise.isResolved()},r.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=r},{"./errors.js":13,"./es5.js":14,"./util.js":38}],26:[function(e,t,n){"use strict";t.exports=function(t,n){var r={},o=e("./util.js"),i=e("./promise_resolver.js")._nodebackForPromise,a=o.withAppended,s=o.maybeWrapAsError,c=o.canEvaluate,u=e("./errors").TypeError,d={__isPromisified__:!0},p=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")$"),f=function(e){return o.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e};function h(e){return!p.test(e)}function m(e){try{return!0===e.__isPromisified__}catch(e){return!1}}function g(e,t,n){var r=o.getDataPropertyOrDefault(e,t+n,d);return!!r&&m(r)}function y(e,t,n,r){for(var i=o.inheritedDataKeys(e),a=[],s=0;s<i.length;++s){var l=i[s],c=e[l],d=r===f||f(l);"function"!=typeof c||m(c)||g(e,l,t)||!r(l,c,e,d)||a.push(l,c)}return function(e,t,n){for(var r=0;r<e.length;r+=2){var o=e[r];if(n.test(o))for(var i=o.replace(n,""),a=0;a<e.length;a+=2)if(e[a]===i)throw new u("Cannot promisify an API that has normal methods with '%s'-suffix\n\n    See http://goo.gl/iWrZbw\n".replace("%s",t))}}(a,t,n),a}var v=c?void 0:function(e,l,c,u){var d=function(){return this}(),p=e;function f(){var o=l;l===r&&(o=this);var c=new t(n);c._captureStackTrace();var u="string"==typeof p&&this!==d?this[p]:e,f=i(c);try{u.apply(o,a(arguments,f))}catch(e){c._rejectCallback(s(e),!0,!0)}return c}return"string"==typeof p&&(e=u),o.notEnumerableProp(f,"__isPromisified__",!0),f};function b(e,t,n,i){for(var a=new RegExp(t.replace(/([$])/,"\\$")+"$"),s=y(e,t,a,n),l=0,c=s.length;l<c;l+=2){var u=s[l],d=s[l+1],p=u+t;if(i===v)e[p]=v(u,r,u,d,t);else{var f=i(d,(function(){return v(u,r,u,d,t)}));o.notEnumerableProp(f,"__isPromisified__",!0),e[p]=f}}return o.toFastProperties(e),e}function _(e,t){return v(e,t,void 0,e)}t.promisify=function(e,t){if("function"!=typeof e)throw new u("fn must be a function\n\n    See http://goo.gl/916lJJ\n");if(m(e))return e;var n=_(e,arguments.length<2?r:t);return o.copyDescriptors(e,n,h),n},t.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!==l(e))throw new u("the target of promisifyAll must be an object or a function\n\n    See http://goo.gl/9ITlV0\n");var n=(t=Object(t)).suffix;"string"!=typeof n&&(n="Async");var r=t.filter;"function"!=typeof r&&(r=f);var i=t.promisifier;if("function"!=typeof i&&(i=v),!o.isIdentifier(n))throw new RangeError("suffix must be a valid identifier\n\n    See http://goo.gl/8FZo5V\n");for(var a=o.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];"constructor"!==a[s]&&o.isClass(c)&&(b(c.prototype,n,r,i),b(c,n,r,i))}return b(e,n,r,i)}}},{"./errors":13,"./promise_resolver.js":25,"./util.js":38}],27:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js"),a=i.isObject,s=e("./es5.js");function l(e){for(var t=s.keys(e),n=t.length,r=new Array(2*n),o=0;o<n;++o){var i=t[o];r[o]=e[i],r[o+n]=i}this.constructor$(r)}function c(e){var n,i=r(e);return a(i)?(n=i instanceof t?i._then(t.props,void 0,void 0,void 0,void 0):new l(i).promise(),i instanceof t&&n._propagateFrom(i,4),n):o("cannot await properties of a non-object\n\n    See http://goo.gl/OsFKC8\n")}i.inherits(l,n),l.prototype._init=function(){this._init$(void 0,-3)},l.prototype._promiseFulfilled=function(e,t){if(this._values[t]=e,++this._totalResolved>=this._length){for(var n={},r=this.length(),o=0,i=this.length();o<i;++o)n[this._values[o+r]]=this._values[o];this._resolve(n)}},l.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},l.prototype.shouldCopyValues=function(){return!1},l.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return c(this)},t.props=function(e){return c(e)}}},{"./es5.js":14,"./util.js":38}],28:[function(e,t,n){"use strict";function r(e){this._capacity=e,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(e){return this._capacity<e},r.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1),this[this._front+t&this._capacity-1]=e,this._length=t+1},r.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=(this._front-1&t-1^t)-t;this[n]=e,this._front=n,this._length=this.length()+1},r.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},r.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var o=this._front+r-3;this._checkCapacity(r);var i=this._capacity-1;this[o+0&i]=e,this[o+1&i]=t,this[o+2&i]=n,this._length=r},r.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e,function(e,t,n,r,o){for(var i=0;i<o;++i)n[i+r]=e[i+t],e[i+t]=void 0}(this,0,this,t,this._front+this._length&t-1)},t.exports=r},{}],29:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js").isArray;function a(e,s){var l,c=r(e);if(c instanceof t)return(l=c).then((function(e){return a(e,l)}));if(!i(e))return o("expecting an array, a promise or a thenable\n\n    See http://goo.gl/s8MMhc\n");var u=new t(n);void 0!==s&&u._propagateFrom(s,5);for(var d=u._fulfill,p=u._reject,f=0,h=e.length;f<h;++f){var m=e[f];(void 0!==m||f in e)&&t.cast(m)._then(d,p,void 0,u,null)}return u}t.race=function(e){return a(e,void 0)},t.prototype.race=function(){return a(this,void 0)}}},{"./util.js":38}],30:[function(e,t,n){"use strict";t.exports=function(t,n,r,o,i){var a=t._getDomain,s=e("./async.js"),l=e("./util.js"),c=l.tryCatch,u=l.errorObj;function d(e,n,r,l){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=l===i?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=o(r,this._promise),u=!1,d=c instanceof t;d&&((c=c._target())._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),u=!0)),d||this._zerothIsAccum||(this._gotAccum=!0);var f=a();this._callback=null===f?n:f.bind(n),this._accum=r,u||s.invoke(p,this,void 0)}function p(){this._init$(void 0,-5)}function f(e,t,n,o){return"function"!=typeof t?r("fn must be a function\n\n    See http://goo.gl/916lJJ\n"):new d(e,t,n,o).promise()}l.inherits(d,n),d.prototype._init=function(){},d.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},d.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var i,a=this.length(),s=this._preservedValues,l=null!==s,d=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),i=0;i<a;++i)p[i]=0;if(i=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=d=!0,p[n]=0===i?1:2):-1===n?(this._accum=e,this._gotAccum=d=!0):0===i?p[n]=1:(p[n]=2,this._accum=e),d){for(var f,h=this._callback,m=this._promise._boundValue(),g=this._reducingIndex;g<a;++g)if(2!==(i=p[g])){if(1!==i)return;if(e=r[g],this._promise._pushContext(),l?(s.push(e),f=c(h).call(m,e,g,a)):f=c(h).call(m,this._accum,e,g,a),this._promise._popContext(),f===u)return this._reject(f.e);var y=o(f,this._promise);if(y instanceof t){if((y=y._target())._isPending())return p[g]=4,y._proxyPromiseArray(this,g);if(!y._isFulfilled())return this._reject(y._reason());f=y._value()}this._reducingIndex=g+1,this._accum=f}else this._reducingIndex=g+1;this._resolve(l?s:this._accum)}},t.prototype.reduce=function(e,t){return f(this,e,t,null)},t.reduce=function(e,t,n,r){return f(e,t,n,r)}}},{"./async.js":2,"./util.js":38}],31:[function(e,n,o){"use strict";var i,a=e("./util");if(a.isNode&&"undefined"==typeof MutationObserver){var s=r.g.setImmediate,l=t.nextTick;i=a.isRecentNode?function(e){s.call(r.g,e)}:function(e){l.call(t,e)}}else"undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&window.navigator.standalone?i="undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n    See http://goo.gl/m3OTXk\n")}:(i=function(e){var t=document.createElement("div");return new MutationObserver(e).observe(t,{attributes:!0}),function(){t.classList.toggle("foo")}}).isStatic=!0;n.exports=i},{"./util":38}],32:[function(e,t,n){"use strict";t.exports=function(t,n){var r=t.PromiseInspection;function o(e){this.constructor$(e)}e("./util.js").inherits(o,n),o.prototype._promiseResolved=function(e,t){this._values[e]=t,++this._totalResolved>=this._length&&this._resolve(this._values)},o.prototype._promiseFulfilled=function(e,t){var n=new r;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},o.prototype._promiseRejected=function(e,t){var n=new r;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new o(e).promise()},t.prototype.settle=function(){return new o(this).promise()}}},{"./util.js":38}],33:[function(e,t,n){"use strict";t.exports=function(t,n,r){var o=e("./util.js"),i=e("./errors.js").RangeError,a=e("./errors.js").AggregateError,s=o.isArray;function l(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function c(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n    See http://goo.gl/1wAmHx\n");var n=new l(e),o=n.promise();return n.setHowMany(t),n.init(),o}o.inherits(l,n),l.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=s(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(e){this._howMany=e},l.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},l.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new a,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(e){this._values.push(e)},l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new i(t)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return c(e,t)},t.prototype.some=function(e){return c(this,e)},t._SomePromiseArray=l}},{"./errors.js":13,"./util.js":38}],34:[function(e,t,n){"use strict";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/hc1DLj\n");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/hPuiwB\n");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0==(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/hc1DLj\n");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/hPuiwB\n");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],35:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util.js"),o=r.errorObj,i=r.isObject;function a(e){return e.then}var s={}.hasOwnProperty;return function(e,l){if(i(e)){if(e instanceof t)return e;if(function(e){return s.call(e,"_promise0")}(e)){var c=new t(n);return e._then(c._fulfillUnchecked,c._rejectUncheckedCheckError,c._progressUnchecked,c,null),c}var u=r.tryCatch(a)(e);if(u===o)return l&&l._pushContext(),c=t.reject(u.e),l&&l._popContext(),c;if("function"==typeof u)return function(e,i,a){var s=new t(n),l=s;a&&a._pushContext(),s._captureStackTrace(),a&&a._popContext();var c=r.tryCatch(i).call(e,(function(e){s&&(s._resolveCallback(e),s=null)}),(function(e){s&&(s._rejectCallback(e,!1,!0),s=null)}),(function(e){s&&"function"==typeof s._progress&&s._progress(e)}));return s&&c===o&&(s._rejectCallback(c.e,!0,!0),s=null),l}(e,u,l)}return e}}},{"./util.js":38}],36:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util.js"),o=t.TimeoutError,i=function(e){return a(+this).thenReturn(e)},a=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var o=new t(n);return setTimeout((function(){o._fulfill()}),r),o}return r=+r,t.resolve(e)._then(i,null,null,r,void 0)};function s(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function l(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}t.prototype.delay=function(e){return a(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var i=setTimeout((function(){!function(e,t){var n;e.isPending()&&(!r.isPrimitive(t)&&t instanceof Error?n=t:("string"!=typeof t&&(t="operation timed out"),n=new o(t)),r.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n))}(n,t)}),e);return n._then(s,l,void 0,i,void 0)}}},{"./util.js":38}],37:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./errors.js").TypeError,a=e("./util.js").inherits,s=t.PromiseInspection;function l(e){for(var n=e.length,r=0;r<n;++r){var o=e[r];if(o.isRejected())return t.reject(o.error());e[r]=o._settledValue}return e}function c(e){setTimeout((function(){throw e}),0)}function u(e,n){var o=0,i=e.length,a=t.defer();return function s(){if(o>=i)return a.resolve();var l=function(e){var t=r(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}(e[o++]);if(l instanceof t&&l._isDisposable()){try{l=r(l._getDisposer().tryDispose(n),e.promise)}catch(e){return c(e)}if(l instanceof t)return l._then(s,c,null,null,null)}s()}(),a.promise}function d(e){var t=new s;return t._settledValue=e,t._bitField=268435456,u(this,t).thenReturn(e)}function p(e){var t=new s;return t._settledValue=e,t._bitField=134217728,u(this,t).thenThrow(e)}function f(e,t,n){this._data=e,this._promise=t,this._context=n}function h(e,t,n){this.constructor$(e,t,n)}function m(e){return f.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}f.prototype.data=function(){return this._data},f.prototype.promise=function(){return this._promise},f.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},f.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},f.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},a(h,f),h.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},t.using=function(){var e=arguments.length;if(e<2)return n("you must pass at least 2 arguments to Promise.using");var o,i=arguments[e-1];if("function"!=typeof i)return n("fn must be a function\n\n    See http://goo.gl/916lJJ\n");var a=!0;2===e&&Array.isArray(arguments[0])?(e=(o=arguments[0]).length,a=!1):(o=arguments,e--);for(var s=new Array(e),c=0;c<e;++c){var u=o[c];if(f.isDisposer(u)){var h=u;(u=u.promise())._setDisposable(h)}else{var g=r(u);g instanceof t&&(u=g._then(m,null,null,{resources:s,index:c},void 0))}s[c]=u}var y=t.settle(s).then(l).then((function(e){var t;y._pushContext();try{t=a?i.apply(void 0,e):i.call(void 0,e)}finally{y._popContext()}return t}))._then(d,p,void 0,s,void 0);return s.promise=y,y},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new h(e,this,o());throw new i}}},{"./errors.js":13,"./util.js":38}],38:[function(e,n,r){"use strict";var o=e("./es5.js"),i="undefined"==typeof navigator,a=function(){try{var e={};return o.defineProperty(e,"f",{get:function(){return 3}}),3===e.f}catch(e){return!1}}(),s={e:{}},l;function c(){try{var e=l;return l=null,e.apply(this,arguments)}catch(e){return s.e=e,s}}function u(e){return l=e,c}var d=function(e,t){var n={}.hasOwnProperty;function r(){for(var r in this.constructor=e,this.constructor$=t,t.prototype)n.call(t.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=t.prototype[r])}return r.prototype=t.prototype,e.prototype=new r,e.prototype};function p(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function f(e){return!p(e)}function h(e){return p(e)?new Error(k(e)):e}function m(e,t){var n,r=e.length,o=new Array(r+1);for(n=0;n<r;++n)o[n]=e[n];return o[n]=t,o}function g(e,t,n){if(!o.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function y(e,t,n){if(p(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return o.defineProperty(e,t,r),e}function v(e){throw e}var b=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(o.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var a;try{a=n(e)}catch(e){return r}for(var s=0;s<a.length;++s){var l=a[s];if(!i[l]){i[l]=!0;var c=Object.getOwnPropertyDescriptor(e,l);null!=c&&null==c.get&&null==c.set&&r.push(l)}}e=o.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var o=[];e:for(var i in n)if(r.call(n,i))o.push(i);else{for(var a=0;a<e.length;++a)if(r.call(e[a],i))continue e;o.push(i)}return o}}(),_=/this\s*\.\s*\S+\s*=/;function w(e){try{if("function"==typeof e){var t=o.names(e.prototype),n=o.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=_.test(e+"")&&o.names(e).length>0;if(n||r||i)return!0}return!1}catch(e){return!1}}function C(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}var S=/^[a-z$_][a-z$_0-9]*$/i;function E(e){return S.test(e)}function x(e,t,n){for(var r=new Array(e),o=0;o<e;++o)r[o]=t+o+n;return r}function k(e){try{return e+""}catch(e){return"[no string representation]"}}function O(e){try{y(e,"isOperational",!0)}catch(e){}}function T(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function A(e){return e instanceof Error&&o.propertyIsWritable(e,"stack")}var P="stack"in new Error?function(e){return A(e)?e:new Error(k(e))}:function(e){if(A(e))return e;try{throw new Error(k(e))}catch(e){return e}};function R(e){return{}.toString.call(e)}function I(e,t,n){for(var r=o.names(e),i=0;i<r.length;++i){var a=r[i];if(n(a))try{o.defineProperty(t,a,o.getDescriptor(e,a))}catch(e){}}}var M={isClass:w,isIdentifier:E,inheritedDataKeys:b,getDataPropertyOrDefault:g,thrower:v,isArray:o.isArray,haveGetters:a,notEnumerableProp:y,isPrimitive:p,isObject:f,canEvaluate:i,errorObj:s,tryCatch:u,inherits:d,withAppended:m,maybeWrapAsError:h,toFastProperties:C,filledRange:x,toString:k,canAttachTrace:A,ensureErrorObject:P,originatesFromRejection:T,markAsOriginatingFromRejection:O,classString:R,copyDescriptors:I,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:void 0!==t&&"[object process]"===R(t).toLowerCase()},N;M.isRecentNode=M.isNode&&(N=t.versions.node.split(".").map(Number),0===N[0]&&N[1]>10||N[0]>0),M.isNode&&M.toFastProperties(t);try{throw new Error}catch(e){M.lastLineError=e}n.exports=M},{"./es5.js":14}]},{},[4])(4)},"object"==l(n)?e.exports=s():(i=[],void 0===(a="function"==typeof(o=s)?o.apply(n,i):o)||(e.exports=a)),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)},46714:(e,t,n)=>{var r;n(41539),n(47042),n(66992),n(78783),n(33948),n(21249),n(47941),n(68309);try{r=Promise}catch(e){}e.exports=function e(t){var n={},r=Array.prototype.slice;function o(e){var n=this,o=r.call(arguments,1);return new t((function(t,r){if("function"==typeof e&&(e=e.apply(n,o)),!e||"function"!=typeof e.next)return t(e);function a(t){var n;try{n=e.next(t)}catch(e){return r(e)}l(n)}function s(t){var n;try{n=e.throw(t)}catch(e){return r(e)}l(n)}function l(e){if(e.done)return t(e.value);var r=i.call(n,e.value);return r&&c(r)?r.then(a,s):s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()}))}function i(e){return e?c(e)?e:function(e){var t=e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||u(t.prototype))}(e)||u(e)?o.call(this,e):"function"==typeof e?a.call(this,e):Array.isArray(e)?s.call(this,e):Object==e.constructor?l.call(this,e):e:e}function a(e){var n=this;return new t((function(t,o){e.call(n,(function(e,n){if(e)return o(e);arguments.length>2&&(n=r.call(arguments,1)),t(n)}))}))}function s(e){return t.all(e.map(i,this))}function l(e){for(var n=new e.constructor,r=Object.keys(e),o=[],a=0;a<r.length;a++){var s=r[a],l=i.call(this,e[s]);l&&c(l)?u(l,s):n[s]=e[s]}return t.all(o).then((function(){return n}));function u(e,t){n[t]=void 0,o.push(e.then((function(e){n[t]=e})))}}function c(e){return"function"==typeof e.then}function u(e){return"function"==typeof e.next&&"function"==typeof e.throw}return n.exports=o.default=o.co=o,o.wrap=function(e){return t.__generatorFunction__=e,t;function t(){return o.call(this,e.apply(this,arguments))}},n.exports.use=e,n.exports}(r)},26766:(e,t,n)=>{function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}n(40561),n(47042),e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},6426:(e,t,n)=>{n(74916),n(15306);e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},28652:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(37758).Z},11921:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r={};function o(){return r}},29438:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(74916),n(4723),n(15306);var r=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"});case"PPPP":default:return t.date({width:"full"})}},o=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"});case"pppp":default:return t.time({width:"full"})}};const i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",o(s,t))}}},49895:(e,t,n)=>{"use strict";function r(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()}n.d(t,{Z:()=>r})},45987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8217),o=n(45996),i=n(15070),a=n(42362);function s(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=(0,o.Z)(n);return r}function l(e){(0,a.Z)(1,arguments);var t=(0,r.default)(e),n=(0,o.Z)(t).getTime()-s(t).getTime();return Math.round(n/6048e5)+1}},15070:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8217),o=n(42362),i=n(45996);function a(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.Z)(a),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,i.Z)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},45796:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(8217),o=n(80941),i=n(16511),a=n(42362),s=n(77617),l=n(11921);function c(e,t){var n,r,c,u,d,p,f,h;(0,a.Z)(1,arguments);var m=(0,l.j)(),g=(0,s.Z)(null!==(n=null!==(r=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==r?r:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),y=(0,i.Z)(e,t),v=new Date(0);v.setUTCFullYear(y,0,g),v.setUTCHours(0,0,0,0);var b=(0,o.Z)(v,t);return b}function u(e,t){(0,a.Z)(1,arguments);var n=(0,r.default)(e),i=(0,o.Z)(n,t).getTime()-c(n,t).getTime();return Math.round(i/6048e5)+1}},16511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8217),o=n(42362),i=n(80941),a=n(77617),s=n(11921);function l(e,t){var n,l,c,u,d,p,f,h;(0,o.Z)(1,arguments);var m=(0,r.default)(e),g=m.getUTCFullYear(),y=(0,s.j)(),v=(0,a.Z)(null!==(n=null!==(l=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:y.firstWeekContainsDate)&&void 0!==l?l:null===(f=y.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,v),b.setUTCHours(0,0,0,0);var _=(0,i.Z)(b,t),w=new Date(0);w.setUTCFullYear(g,0,v),w.setUTCHours(0,0,0,0);var C=(0,i.Z)(w,t);return m.getTime()>=_.getTime()?g+1:m.getTime()>=C.getTime()?g:g-1}},35521:(e,t,n)=>{"use strict";n.d(t,{Iu:()=>i,Do:()=>a,qp:()=>s});n(92222);var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; 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(n,"`; 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(n,"`; 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(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},42362:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>r})},45996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=1,n=(0,r.default)(e),i=n.getUTCDay(),a=(i<t?7:0)+i-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}},80941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8217),o=n(42362),i=n(77617),a=n(11921);function s(e,t){var n,s,l,c,u,d,p,f;(0,o.Z)(1,arguments);var h=(0,a.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(e),y=g.getUTCDay(),v=(y<m?7:0)+y-m;return g.setUTCDate(g.getUTCDate()-v),g.setUTCHours(0,0,0,0),g}},77617:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(9653);function r(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)}},59165:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},83502:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(34683),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,36e5*n)}},34683:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}},18444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(34683),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,6e4*n)}},45110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());l.setMonth(n.getMonth()+a+1,0);var c=l.getDate();return s>=c?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},8504:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(45110),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),a=3*n;return(0,o.default)(e,a)}},57484:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(59165),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t),a=7*n;return(0,o.default)(e,a)}},4021:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(45110),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,12*n)}},43259:(e,t,n)=>{"use strict";n.d(t,{yJ:()=>r,vh:()=>o,qk:()=>i});Math.pow(10,8);var r=6e4,o=36e5,i=1e3},25125:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(49895),o=n(82811),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,o.default)(t),s=n.getTime()-(0,r.Z)(n),l=a.getTime()-(0,r.Z)(a);return Math.round((s-l)/864e5)}},81715:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t),a=n.getFullYear()-i.getFullYear(),s=n.getMonth()-i.getMonth();return 12*a+s}},48933:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(52230),o=n(49895),i=n(42362);function a(e,t,n){(0,i.Z)(2,arguments);var a=(0,r.default)(e,n),s=(0,r.default)(t,n),l=a.getTime()-(0,o.Z)(a),c=s.getTime()-(0,o.Z)(s);return Math.round((l-c)/6048e5)}},16909:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()-i.getFullYear()}},66939:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},88521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},32408:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(11921),o=n(8217),i=n(77617),a=n(42362);function s(e,t){var n,s,l,c,u,d,p,f;(0,a.Z)(1,arguments);var h=(0,r.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,o.default)(e),y=g.getDay(),v=6+(y<m?-7:0)-(y-m);return g.setDate(g.getDate()+v),g.setHours(23,59,59,999),g}},11022:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},80900:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});n(69600),n(21249),n(74916),n(4723),n(15306);var r=n(13406),o=n(24219),i=n(8217),a=n(42362);var s=n(45987),l=n(15070),c=n(45796),u=n(16511);n(41539),n(39714);function d(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}const p={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return d("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):d(n+1,2)},d:function(e,t){return d(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return d(e.getUTCHours()%12||12,t.length)},H:function(e,t){return d(e.getUTCHours(),t.length)},m:function(e,t){return d(e.getUTCMinutes(),t.length)},s:function(e,t){return d(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return d(Math.floor(r*Math.pow(10,n-3)),t.length)}};var f="midnight",h="noon",m="morning",g="afternoon",y="evening",v="night";function b(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+d(i,2)}function _(e,t){return e%60==0?(e>0?"-":"+")+d(Math.abs(e)/60,2):w(e,t)}function w(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+d(Math.floor(o/60),2)+n+d(o%60,2)}const C={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return p.y(e,t)},Y:function(e,t,n,r){var o=(0,u.Z)(e,r),i=o>0?o:1-o;return"YY"===t?d(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):d(i,t.length)},R:function(e,t){return d((0,l.Z)(e),t.length)},u:function(e,t){return d(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return d(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return d(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return p.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return d(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,c.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):d(o,t.length)},I:function(e,t,n){var r=(0,s.Z)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):d(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):p.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.Z)(1,arguments);var t=(0,i.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):d(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return d(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return d(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return d(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?h:0===o?f:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?y:o>=12?g:o>=4?m:v,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return p.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):p.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):p.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):p.s(e,t)},S:function(e,t){return p.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return _(o);case"XXXX":case"XX":return w(o);case"XXXXX":case"XXX":default:return w(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return _(o);case"xxxx":case"xx":return w(o);case"xxxxx":case"xxx":default:return w(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+b(o,":");case"OOOO":default:return"GMT"+w(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+b(o,":");case"zzzz":default:return"GMT"+w(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return d(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return d((r._originalDate||e).getTime(),t.length)}};var S=n(29438),E=n(49895),x=n(35521),k=n(77617),O=n(11921),T=n(28652),A=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,R=/^'([^]*?)'?$/,I=/''/g,M=/[a-zA-Z]/;function N(e,t,n){var s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,R,I,N;(0,a.Z)(2,arguments);var j=String(t),L=(0,O.j)(),B=null!==(s=null!==(l=null==n?void 0:n.locale)&&void 0!==l?l:L.locale)&&void 0!==s?s:T.Z,F=(0,k.Z)(null!==(c=null!==(u=null!==(d=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n||null===(f=n.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==d?d:L.firstWeekContainsDate)&&void 0!==u?u:null===(m=L.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==c?c:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var U=(0,k.Z)(null!==(y=null!==(v=null!==(b=null!==(_=null==n?void 0:n.weekStartsOn)&&void 0!==_?_:null==n||null===(w=n.locale)||void 0===w||null===(R=w.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==b?b:L.weekStartsOn)&&void 0!==v?v:null===(I=L.locale)||void 0===I||null===(N=I.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==y?y:0);if(!(U>=0&&U<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw new RangeError("locale must contain localize property");if(!B.formatLong)throw new RangeError("locale must contain formatLong property");var H=(0,i.default)(e);if(!(0,r.default)(H))throw new RangeError("Invalid time value");var V=(0,E.Z)(H),z=(0,o.Z)(H,V),q={firstWeekContainsDate:F,weekStartsOn:U,locale:B,_originalDate:H},G=j.match(P).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,S.Z[t])(e,B.formatLong):e})).join("").match(A).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return D(r);var i=C[o];if(i)return null!=n&&n.useAdditionalWeekYearTokens||!(0,x.Do)(r)||(0,x.qp)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,x.Iu)(r)||(0,x.qp)(r,t,String(e)),i(z,r,B.localize,q);if(o.match(M))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return G}function D(e){var t=e.match(R);return t?t[1].replace(I,"'"):e}},71542:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getDate();return n}},46367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getDay();return n}},66774:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getHours();return n}},31411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(8217),o=n(52230),i=n(42362);function a(e){return(0,i.Z)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}function s(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var s=a(o),l=new Date(0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);var c=a(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}function l(e){(0,i.Z)(1,arguments);var t=s(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=a(n);return r}function c(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=a(t).getTime()-l(t).getTime();return Math.round(n/6048e5)+1}},63735:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMinutes();return n}},59883:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return n}},30455:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=Math.floor(t.getMonth()/3)+1;return n}},89933:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getSeconds();return n}},2067:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getTime();return n}},225:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getFullYear()}},86723:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()>i.getTime()}},84787:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()<i.getTime()}},26221:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(41539);var r=n(9151),o=n(42362);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},62833:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},39138:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(82811),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},25156:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},65695:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(61261),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},47718:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()}},13406:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});n(9653);var r=n(26221),o=n(8217),i=n(42362);function a(e){if((0,i.Z)(1,arguments),!(0,r.default)(e)&&"number"!=typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))}},99316:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e).getTime(),i=(0,r.default)(t.start).getTime(),a=(0,r.default)(t.end).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return n>=i&&n<=a}},26496:(e,t,n)=>{"use strict";function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}n.d(t,{Z:()=>r})},38645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(66992),n(41539),n(33948);function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},92395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(74916),n(4723),n(47042);function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var l,c=s[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?i(u,(function(e){return e.test(c)})):o(u,(function(e){return e.test(c)}));l=e.valueCallback?e.valueCallback(d):d,l=n.valueCallback?n.valueCallback(l):l;var p=t.slice(c.length);return{value:l,rest:p}}}function o(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function i(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}},70884:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(74916),n(4723),n(47042);function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}},37758:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(74916),n(15306),n(41539),n(39714);var r={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"}};const o=function(e,t,n){var o,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};var i=n(26496);const a={date:(0,i.Z)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.Z)({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:(0,i.Z)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const l=function(e,t,n,r){return s[e]};n(9653);var c=n(38645);const u={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,c.Z)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,c.Z)({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:(0,c.Z)({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:(0,c.Z)({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:(0,c.Z)({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"})};var d=n(92395);const p={code:"en-US",formatDistance:o,formatLong:a,formatRelative:l,localize:u,match:{ordinalNumber:(0,n(70884).Z)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.Z)({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:(0,d.Z)({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:(0,d.Z)({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:(0,d.Z)({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:(0,d.Z)({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"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},48703:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});n(54747),n(47042),n(9653);var r=n(9151),o=n(8217),i=n(42362);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.default)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}},64670:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});n(54747),n(47042);var r=n(9151),o=n(8217),i=n(42362);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.default)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},57135:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>rt});n(74916),n(4723),n(69600),n(21249),n(69826),n(26699),n(32023),n(92222),n(47042),n(57327),n(2707),n(15306);var r=n(9151);n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(68309),n(91038);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}var a=n(28652),s=n(24219),l=n(8217);function c(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(29438),d=n(49895),p=n(35521),f=n(77617),h=n(42362);function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(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&&g(e,t)}n(12419),n(30489);function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(96649),n(96078),n(9653);function C(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function E(e,t,n){return t&&S(e.prototype,t),n&&S(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(){function e(){w(this,e),x(this,"priority",void 0),x(this,"subPriority",0)}return E(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),O=function(e){y(n,e);var t=_(n);function n(e,r,o,i,a){var s;return w(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return E(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(k),T=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",10),x(m(e),"subPriority",-1),e}return E(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(k),A=function(){function e(){w(this,e),x(this,"incompatibleTokens",void 0),x(this,"priority",void 0),x(this,"subPriority",void 0)}return E(e,[{key:"run",value:function(e,t,n,r){var o=this.parse(e,t,n,r);return o?{setter:new O(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),P=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",140),x(m(e),"incompatibleTokens",["R","u","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(A),R=(n(24603),n(39714),n(43259)),I=/^(1[0-2]|0?\d)/,M=/^(3[0-1]|[0-2]?\d)/,N=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,D=/^(5[0-3]|[0-4]?\d)/,j=/^(2[0-3]|[0-1]?\d)/,L=/^(2[0-4]|[0-1]?\d)/,B=/^(1[0-1]|0?\d)/,F=/^(1[0-2]|0?\d)/,U=/^[0-5]?\d/,H=/^[0-5]?\d/,V=/^\d/,z=/^\d{1,2}/,q=/^\d{1,3}/,G=/^\d{1,4}/,W=/^-?\d+/,Y=/^-?\d/,Z=/^-?\d{1,2}/,K=/^-?\d{1,3}/,$=/^-?\d{1,4}/,Q=/^([+-])(\d{2})(\d{2})?|Z/,X=/^([+-])(\d{2})(\d{2})|Z/,J=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ee=/^([+-])(\d{2}):(\d{2})|Z/,te=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ne(e,t){return e?{value:t(e.value),rest:e.rest}:e}function re(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function oe(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*R.vh+i*R.yJ+a*R.qk),rest:t.slice(n[0].length)}}function ie(e){return re(W,e)}function ae(e,t){switch(e){case 1:return re(V,t);case 2:return re(z,t);case 3:return re(q,t);case 4:return re(G,t);default:return re(new RegExp("^\\d{1,"+e+"}"),t)}}function se(e,t){switch(e){case 1:return re(Y,t);case 2:return re(Z,t);case 3:return re(K,t);case 4:return re($,t);default:return re(new RegExp("^-?\\d{1,"+e+"}"),t)}}function le(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ce(e,t){var n,r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}function ue(e){return e%400==0||e%4==0&&e%100!=0}var de=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",130),x(m(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return ne(ae(4,e),r);case"yo":return ne(n.ordinalNumber(e,{unit:"year"}),r);default:return ne(ae(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=ce(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(A),pe=n(16511),fe=n(80941),he=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",130),x(m(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return ne(ae(4,e),r);case"Yo":return ne(n.ordinalNumber(e,{unit:"year"}),r);default:return ne(ae(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var o=(0,pe.Z)(e,r);if(n.isTwoDigitYear){var i=ce(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.Z)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.Z)(e,r)}}]),n}(A),me=n(45996),ge=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",130),x(m(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t){return se("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,me.Z)(r)}}]),n}(A),ye=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",130),x(m(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t){return se("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(A),ve=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",120),x(m(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return ae(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(A),be=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",120),x(m(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return ae(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(A),_e=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),x(m(e),"priority",110),e}return E(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return ne(re(I,e),r);case"MM":return ne(ae(2,e),r);case"Mo":return ne(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(A),we=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",110),x(m(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return ne(re(I,e),r);case"LL":return ne(ae(2,e),r);case"Lo":return ne(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(A),Ce=n(45796);var Se=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",100),x(m(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return re(D,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,fe.Z)(function(e,t,n){(0,h.Z)(2,arguments);var r=(0,l.default)(e),o=(0,f.Z)(t),i=(0,Ce.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}]),n}(A),Ee=n(45987);var xe=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",100),x(m(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return re(D,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,me.Z)(function(e,t){(0,h.Z)(2,arguments);var n=(0,l.default)(e),r=(0,f.Z)(t),o=(0,Ee.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(A),ke=[31,28,31,30,31,30,31,31,30,31,30,31],Oe=[31,29,31,30,31,30,31,31,30,31,30,31],Te=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",90),x(m(e),"subPriority",1),x(m(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return re(M,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){var n=ue(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Oe[r]:t>=1&&t<=ke[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(A),Ae=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",90),x(m(e),"subpriority",1),x(m(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return re(N,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return ue(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(A),Pe=n(11921);function Re(e,t,n){var r,o,i,a,s,c,u,d;(0,h.Z)(2,arguments);var p=(0,Pe.j)(),m=(0,f.Z)(null!==(r=null!==(o=null!==(i=null!==(a=null==n?void 0:n.weekStartsOn)&&void 0!==a?a:null==n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:p.weekStartsOn)&&void 0!==o?o:null===(u=p.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,l.default)(e),y=(0,f.Z)(t),v=g.getUTCDay(),b=y%7,_=(b+7)%7,w=(_<m?7:0)+y-v;return g.setUTCDate(g.getUTCDate()+w),g}var Ie=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",90),x(m(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Re(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(A),Me=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",90),x(m(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return ne(ae(t.length,e),o);case"eo":return ne(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Re(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(A),Ne=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",90),x(m(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return ne(ae(t.length,e),o);case"co":return ne(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=Re(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(A);var De=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",90),x(m(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return ae(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return ne(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return ne(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ne(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiii":default:return ne(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return(e=function(e,t){(0,h.Z)(2,arguments);var n=(0,f.Z)(t);n%7==0&&(n-=7);var r=1,o=(0,l.default)(e),i=o.getUTCDay(),a=n%7,s=(a+7)%7,c=(s<r?7:0)+n-i;return o.setUTCDate(o.getUTCDate()+c),o}(e,n)).setUTCHours(0,0,0,0),e}}]),n}(A),je=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",80),x(m(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(le(n),0,0,0),e}}]),n}(A),Le=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",80),x(m(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(le(n),0,0,0),e}}]),n}(A),Be=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",80),x(m(e),"incompatibleTokens",["a","b","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(le(n),0,0,0),e}}]),n}(A),Fe=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",70),x(m(e),"incompatibleTokens",["H","K","k","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return re(F,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(A),Ue=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",70),x(m(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return re(j,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(A),He=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",70),x(m(e),"incompatibleTokens",["h","H","k","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return re(B,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(A),Ve=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",70),x(m(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return re(L,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(A),ze=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",60),x(m(e),"incompatibleTokens",["t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return re(U,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(A),qe=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",50),x(m(e),"incompatibleTokens",["t","T"]),e}return E(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return re(H,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(A),Ge=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",30),x(m(e),"incompatibleTokens",["t","T"]),e}return E(n,[{key:"parse",value:function(e,t){return ne(ae(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(A),We=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",10),x(m(e),"incompatibleTokens",["t","T","x"]),e}return E(n,[{key:"parse",value:function(e,t){switch(t){case"X":return oe(Q,e);case"XX":return oe(X,e);case"XXXX":return oe(J,e);case"XXXXX":return oe(te,e);case"XXX":default:return oe(ee,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(A),Ye=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",10),x(m(e),"incompatibleTokens",["t","T","X"]),e}return E(n,[{key:"parse",value:function(e,t){switch(t){case"x":return oe(Q,e);case"xx":return oe(X,e);case"xxxx":return oe(J,e);case"xxxxx":return oe(te,e);case"xxx":default:return oe(ee,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(A),Ze=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",40),x(m(e),"incompatibleTokens","*"),e}return E(n,[{key:"parse",value:function(e){return ie(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(A),Ke=function(e){y(n,e);var t=_(n);function n(){var e;w(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(m(e=t.call.apply(t,[this].concat(o))),"priority",20),x(m(e),"incompatibleTokens","*"),e}return E(n,[{key:"parse",value:function(e){return ie(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(A),$e={G:new P,y:new de,Y:new he,R:new ge,u:new ye,Q:new ve,q:new be,M:new _e,L:new we,w:new Se,I:new xe,d:new Te,D:new Ae,E:new Ie,e:new Me,c:new Ne,i:new De,a:new je,b:new Le,B:new Be,h:new Fe,H:new Ue,K:new He,k:new Ve,m:new ze,s:new qe,S:new Ge,X:new We,x:new Ye,t:new Ze,T:new Ke},Qe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Xe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Je=/^'([^]*?)'?$/,et=/''/g,tt=/\S/,nt=/[a-zA-Z]/;function rt(e,t,n,o){var m,g,y,v,b,_,w,C,S,E,x,k,O,A,P,R,I,M;(0,h.Z)(3,arguments);var N=String(e),D=String(t),j=(0,Pe.j)(),L=null!==(m=null!==(g=null==o?void 0:o.locale)&&void 0!==g?g:j.locale)&&void 0!==m?m:a.Z;if(!L.match)throw new RangeError("locale must contain match property");var B=(0,f.Z)(null!==(y=null!==(v=null!==(b=null!==(_=null==o?void 0:o.firstWeekContainsDate)&&void 0!==_?_:null==o||null===(w=o.locale)||void 0===w||null===(C=w.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==b?b:j.firstWeekContainsDate)&&void 0!==v?v:null===(S=j.locale)||void 0===S||null===(E=S.options)||void 0===E?void 0:E.firstWeekContainsDate)&&void 0!==y?y:1);if(!(B>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,f.Z)(null!==(x=null!==(k=null!==(O=null!==(A=null==o?void 0:o.weekStartsOn)&&void 0!==A?A:null==o||null===(P=o.locale)||void 0===P||null===(R=P.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==O?O:j.weekStartsOn)&&void 0!==k?k:null===(I=j.locale)||void 0===I||null===(M=I.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==x?x:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===D)return""===N?(0,l.default)(n):new Date(NaN);var U,H={firstWeekContainsDate:B,weekStartsOn:F,locale:L},V=[new T],z=D.match(Xe).map((function(e){var t=e[0];return t in u.Z?(0,u.Z[t])(e,L.formatLong):e})).join("").match(Qe),q=[],G=i(z);try{var W=function(){var t=U.value;null!=o&&o.useAdditionalWeekYearTokens||!(0,p.Do)(t)||(0,p.qp)(t,D,e),null!=o&&o.useAdditionalDayOfYearTokens||!(0,p.Iu)(t)||(0,p.qp)(t,D,e);var n=t[0],r=$e[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var a=q.find((function(e){return i.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&q.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));q.push({token:n,fullToken:t});var s=r.run(N,t,L.match,H);if(!s)return{v:new Date(NaN)};V.push(s.setter),N=s.rest}else{if(n.match(nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=ot(t)),0!==N.indexOf(t))return{v:new Date(NaN)};N=N.slice(t.length)}};for(G.s();!(U=G.n()).done;){var Y=W();if("object"===(0,r.Z)(Y))return Y.v}}catch(e){G.e(e)}finally{G.f()}if(N.length>0&&tt.test(N))return new Date(NaN);var Z=V.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return V.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),K=(0,l.default)(n);if(isNaN(K.getTime()))return new Date(NaN);var $,Q=(0,s.Z)(K,(0,d.Z)(K)),X={},J=i(Z);try{for(J.s();!($=J.n()).done;){var ee=$.value;if(!ee.validate(Q,H))return new Date(NaN);var te=ee.set(Q,X,H);Array.isArray(te)?(Q=te[0],c(X,te[1])):Q=te}}catch(e){J.e(e)}finally{J.f()}return Q}function ot(e){return e.match(Je)[1].replace(et,"'")}},32638:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});n(41539),n(74916),n(23123),n(15306),n(24603),n(39714),n(4723),n(47042);var r=n(43259),o=n(42362),i=n(77617);function a(e,t){var n;(0,o.Z)(1,arguments);var r=(0,i.Z)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var a,s=d(e);if(s.date){var l=p(s.date,r);a=f(l.restDateString,l.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var c,u=a.getTime(),h=0;if(s.time&&(h=m(s.time),isNaN(h)))return new Date(NaN);if(!s.timezone){var g=new Date(u+h),v=new Date(0);return v.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),v.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),v}return c=y(s.timezone),isNaN(c)?new Date(NaN):new Date(u+h+c)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var o=s.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}function p(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}function f(e,t){if(null===t)return new Date(NaN);var n=e.match(l);if(!n)return new Date(NaN);var r=!!n[4],o=h(n[1]),i=h(n[2])-1,a=h(n[3]),s=h(n[4]),c=h(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,c)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,c):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(v[t]||(b(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(b(e)?366:365)}(t,o)?(u.setUTCFullYear(t,i,Math.max(o,a)),u):new Date(NaN)}function h(e){return e?parseInt(e):1}function m(e){var t=e.match(c);if(!t)return NaN;var n=g(t[1]),o=g(t[2]),i=g(t[3]);return function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,i)?n*r.vh+o*r.yJ+1e3*i:NaN}function g(e){return e&&parseFloat(e.replace(",","."))||0}function y(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,i)?n*(o*r.vh+i*r.yJ):NaN}var v=[31,null,31,30,31,30,31,31,30,31,30,31];function b(e){return e%400==0||e%4==0&&e%100!=0}},7549:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(9151),o=n(8217),i=n(3e4),a=n(77617),s=n(42362);function l(e,t){if((0,s.Z)(2,arguments),"object"!==(0,r.Z)(t)||null===t)throw new RangeError("values parameter must be an object");var n=(0,o.default)(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,i.default)(n,t.month)),null!=t.date&&n.setDate((0,a.Z)(t.date)),null!=t.hours&&n.setHours((0,a.Z)(t.hours)),null!=t.minutes&&n.setMinutes((0,a.Z)(t.minutes)),null!=t.seconds&&n.setSeconds((0,a.Z)(t.seconds)),null!=t.milliseconds&&n.setMilliseconds((0,a.Z)(t.milliseconds)),n)}},10448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setHours(a),n}},11301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setMinutes(a),n}},3e4:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(77617),o=n(8217),i=n(42362);function a(e){(0,i.Z)(1,arguments);var t=(0,o.default)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),s=(0,r.Z)(t),l=n.getFullYear(),c=n.getDate(),u=new Date(0);u.setFullYear(l,s,15),u.setHours(0,0,0,0);var d=a(u);return n.setMonth(s,Math.min(c,d)),n}},9560:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(77617),o=n(8217),i=n(3e4),a=n(42362);function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.default)(e),s=(0,r.Z)(t),l=Math.floor(n.getMonth()/3)+1,c=s-l;return(0,i.default)(n,n.getMonth()+3*c)}},12411:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setSeconds(a),n}},28137:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8217),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},82811:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},99067:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},61261:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},52230:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(8217),o=n(77617),i=n(42362),a=n(11921);function s(e,t){var n,s,l,c,u,d,p,f;(0,i.Z)(1,arguments);var h=(0,a.j)(),m=(0,o.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(e),y=g.getDay(),v=(y<m?7:0)+y-m;return g.setDate(g.getDate()-v),g.setHours(0,0,0,0),g}},54980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8217),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},66923:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(59165),o=n(42362),i=n(77617);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},85946:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(83502),o=n(42362),i=n(77617);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},24219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(34683),o=n(42362),i=n(77617);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},1092:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(18444),o=n(42362),i=n(77617);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},16353:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(45110),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},54586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(8504),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},81480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(57484),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},23946:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(77617),o=n(4021),i=n(42362);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},8217:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(41539);var r=n(9151),o=n(42362);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(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))}},54516:function(e,t,n){var r,o;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(65743),n(74916),n(23123),n(69600),n(15306),n(68309),n(4723),n(41539),n(39714),n(47042),n(9653),n(83753),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948),function(a,s){"object"==i(t)?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,g={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("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,a=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:p,h:a,m:o,s:r,ms:n,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",_={};_[b]=g;var w="$isDayjsObject",C=function(e){return e instanceof k||!(!e||!e[w])},S=function e(t,n,r){var o;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();_[i]&&(o=i),n&&(_[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;_[s]=t,o=s}return!r&&o&&(b=o),o||!r&&b},E=function(e,t){if(C(e))return e.clone();var n="object"==i(t)?t:{};return n.date=e,n.args=arguments,new k(n)},x=v;x.l=S,x.i=C,x.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function i(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var g=i.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},g.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()},g.$utils=function(){return x},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return E(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<E(e)},g.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,i=!!x.u(t)||t,u=x.p(e),f=function(e,t){var r=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return i?r:r.endOf(s)},h=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case d:return i?f(1,0):f(31,11);case c:return i?f(1,g):f(0,g+1);case l:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(i?y-_:y+(6-_),g);case s:case p:return h(v+"Hours",0);case a:return h(v+"Minutes",1);case o:return h(v+"Seconds",2);case r:return h(v+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var i,l=x.p(e),u="set"+(this.$u?"UTC":""),f=(i={},i[s]=u+"Date",i[p]=u+"Date",i[c]=u+"Month",i[d]=u+"FullYear",i[a]=u+"Hours",i[o]=u+"Minutes",i[r]=u+"Seconds",i[n]=u+"Milliseconds",i)[l],h=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[x.p(e)]()},g.add=function(n,i){var u,p=this;n=Number(n);var f=x.p(i),h=function(e){var t=E(p);return x.w(t.date(t.date()+Math.round(e*n)),p)};if(f===c)return this.set(c,this.$M+n);if(f===d)return this.set(d,this.$y+n);if(f===s)return h(1);if(f===l)return h(7);var m=(u={},u[o]=e,u[a]=t,u[r]=1e3,u)[f]||1,g=this.$d.getTime()+n*m;return x.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=x.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},p=function(e){return x.s(i%12||12,e,"0")},h=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return x.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return x.s(a,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,i,p){var f,h=this,m=x.p(i),g=E(n),y=(g.utcOffset()-this.utcOffset())*e,v=this-g,b=function(){return x.m(h,g)};switch(m){case d:f=b()/12;break;case c:f=b();break;case u:f=b()/3;break;case l:f=(v-y)/6048e5;break;case s:f=(v-y)/864e5;break;case a:f=v/t;break;case o:f=v/e;break;case r:f=v/1e3;break;default:f=v}return p?f:x.a(f)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return _[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return x.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},i}(),O=k.prototype;return E.prototype=O,[["$ms",n],["$s",r],["$m",o],["$H",a],["$W",s],["$M",c],["$y",d],["$D",p]].forEach((function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),E.extend=function(e,t){return e.$i||(e(t,k,E),e.$i=!0),E},E.locale=S,E.isDayjs=C,E.unix=function(e){return E(1e3*e)},E.en=_[b],E.Ls=_,E.p={},E}))},96011:function(e,t,n){var r,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(65743),n(74916),n(23123),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),function(s,l){"object"==a(t)?e.exports=l(n(54516)):(o=[n(54516)],void 0===(i="function"==typeof(r=l)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e){"use strict";var t=function(e){return e&&"object"==a(e)&&"default"in e?e:{default:e}}(e),n="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),r="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),o="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),i="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),s=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function l(e,t,n){var r,o;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,o={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var c=function(e,t){return s.test(t)?n[e.month()]:r[e.month()]};c.s=r,c.f=n;var u=function(e,t){return s.test(t)?o[e.month()]:i[e.month()]};u.s=i,u.f=o;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:c,monthsShort:u,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:l,mm:l,h:"час",hh:l,d:"день",dd:l,M:"месяц",MM:l,y:"год",yy:l},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};return t.default.locale(d,null,!0),d}))},35234:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(30489),n(47042),n(68309),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(2707),n(82526),n(41817),n(32165),n(78783),n(33948);var o=n(38385),i=n(73684),a=n(95081),s=n(37555),l=n(92538),c=n(5757),u=n(17556),d=n(99719),p=n(98597),f=n(14063),h=n(26515),m=n(39011),g=n(75769),y=n(38209),v=n(58887),b=n(94555),_=n(43219),w=n(66488),C=i("SharedArrayBuffer.prototype.byteLength",!0),S=i("Date.prototype.getTime"),E=Object.getPrototypeOf,x=i("Object.prototype.toString"),k=s("%Set%",!0),O=i("Map.prototype.has",!0),T=i("Map.prototype.get",!0),A=i("Map.prototype.size",!0),P=i("Set.prototype.add",!0),R=i("Set.prototype.delete",!0),I=i("Set.prototype.has",!0),M=i("Set.prototype.size",!0);function N(e,t,n,r){for(var o,i=l(e);(o=i.next())&&!o.done;)if(F(t,o.value,n,r))return R(e,o.value),!0;return!1}function D(e){return void 0===e?null:"object"!==r(e)?"symbol"!==r(e)&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function j(e,t,n,r,i,a){var s=D(n);if(null!=s)return s;var l=T(t,s),c=o({},i,{strict:!1});return!(void 0===l&&!O(t,s)||!F(r,l,c,a))&&(!O(e,s)&&F(r,l,c,a))}function L(e,t,n){var r=D(n);return null!=r?r:I(t,r)&&!I(e,r)}function B(e,t,n,r,o,i){for(var a,s,c=l(e);(a=c.next())&&!a.done;)if(F(n,s=a.value,o,i)&&F(r,T(t,s),o,i))return R(e,s),!0;return!1}function F(e,t,n,i){var s=n||{};if(s.strict?u(e,t):e===t)return!0;if(v(e)!==v(t))return!1;if(!e||!t||"object"!==r(e)&&"object"!==r(t))return s.strict?u(e,t):e==t;var c,R=i.has(e),D=i.has(t);if(R&&D){if(i.get(e)===i.get(t))return!0}else c={};return R||i.set(e,c),D||i.set(t,c),function(e,t,n,i){var s,c;if(r(e)!==r(t))return!1;if(null==e||null==t)return!1;if(x(e)!==x(t))return!1;if(d(e)!==d(t))return!1;var u=p(e),v=p(t);if(u!==v)return!1;var R=e instanceof Error,D=t instanceof Error;if(R!==D)return!1;if((R||D)&&(e.name!==t.name||e.message!==t.message))return!1;var H=m(e),V=m(t);if(H!==V)return!1;if((H||V)&&(e.source!==t.source||a(e)!==a(t)))return!1;var z=h(e),q=h(t);if(z!==q)return!1;if((z||q)&&S(e)!==S(t))return!1;if(n.strict&&E&&E(e)!==E(t))return!1;var G=_(e),W=_(t);if(G!==W)return!1;if(G||W){if(e.length!==t.length)return!1;for(s=0;s<e.length;s++)if(e[s]!==t[s])return!1;return!0}var Y=U(e),Z=U(t);if(Y!==Z)return!1;if(Y||Z){if(e.length!==t.length)return!1;for(s=0;s<e.length;s++)if(e[s]!==t[s])return!1;return!0}var K=f(e),$=f(t);if(K!==$)return!1;if(K||$)return w(e)===w(t)&&("function"==typeof Uint8Array&&F(new Uint8Array(e),new Uint8Array(t),n,i));var Q=g(e),X=g(t);if(Q!==X)return!1;if(Q||X)return C(e)===C(t)&&("function"==typeof Uint8Array&&F(new Uint8Array(e),new Uint8Array(t),n,i));if(r(e)!==r(t))return!1;var J=y(e),ee=y(t);if(J.length!==ee.length)return!1;for(J.sort(),ee.sort(),s=J.length-1;s>=0;s--)if(J[s]!=ee[s])return!1;for(s=J.length-1;s>=0;s--)if(c=J[s],!F(e[c],t[c],n,i))return!1;var te=b(e),ne=b(t);if(te!==ne)return!1;if("Set"===te||"Set"===ne)return function(e,t,n,o){if(M(e)!==M(t))return!1;var i,a,s,c=l(e),u=l(t);for(;(i=c.next())&&!i.done;)if(i.value&&"object"===r(i.value))s||(s=new k),P(s,i.value);else if(!I(t,i.value)){if(n.strict)return!1;if(!L(e,t,i.value))return!1;s||(s=new k),P(s,i.value)}if(s){for(;(a=u.next())&&!a.done;)if(a.value&&"object"===r(a.value)){if(!N(s,a.value,n.strict,o))return!1}else if(!n.strict&&!I(e,a.value)&&!N(s,a.value,n.strict,o))return!1;return 0===M(s)}return!0}(e,t,n,i);if("Map"===te)return function(e,t,n,i){if(A(e)!==A(t))return!1;var a,s,c,u,d,p,f=l(e),h=l(t);for(;(a=f.next())&&!a.done;)if(u=a.value[0],d=a.value[1],u&&"object"===r(u))c||(c=new k),P(c,u);else if(void 0===(p=T(t,u))&&!O(t,u)||!F(d,p,n,i)){if(n.strict)return!1;if(!j(e,t,u,d,n,i))return!1;c||(c=new k),P(c,u)}if(c){for(;(s=h.next())&&!s.done;)if(u=s.value[0],p=s.value[1],u&&"object"===r(u)){if(!B(c,e,u,p,n,i))return!1}else if(!(n.strict||e.has(u)&&F(T(e,u),p,n,i)||B(c,e,u,p,o({},n,{strict:!1}),i)))return!1;return 0===M(c)}return!0}(e,t,n,i);return!0}(e,t,s,i)}function U(e){return!(!e||"object"!==r(e)||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0&&"number"!=typeof e[0])&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))))}e.exports=function(e,t,n){return F(e,t,n,c())}},94135:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(61597),i=n(59743),a=n(13237),s=n(12500);e.exports=function(e,t,n){if(!e||"object"!==r(e)&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!==r(t))throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],p=!!s&&s(e,t);if(o)o(e,t,{configurable:null===u&&p?p.configurable:!u,enumerable:null===l&&p?p.enumerable:!l,value:n,writable:null===c&&p?p.writable:!c});else{if(!d&&(l||c||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},97614:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(92222),n(32165),n(66992),n(78783),n(33948);var o=n(38209),i="function"==typeof Symbol&&"symbol"===r(Symbol("foo")),a=Object.prototype.toString,s=Array.prototype.concat,l=n(94135),c=n(17536)(),u=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())return;var o;c?l(e,t,n,!0):l(e,t,n)},d=function(e,t){var n=arguments.length>2?arguments[2]:{},r=o(t);i&&(r=s.call(r,Object.getOwnPropertySymbols(t)));for(var a=0;a<r.length;a+=1)u(e,r[a],t[r[a]],n[r[a]])};d.supportsDescriptors=!!c,e.exports=d},14359:e=>{"use strict";function t(e,t,n){var r=Math.sqrt,o=Math.pow;this.x1=e,this.x2=t,this.weights=n||{},this.ksubL=this.weights.lightness||1,this.ksubC=this.weights.chroma||1,this.ksubH=this.weights.hue||1,this.deltaLPrime=t.L-e.L,this.LBar=(e.L+t.L)/2,this.C1=r(o(e.A,2)+o(e.B,2)),this.C2=r(o(t.A,2)+o(t.B,2)),this.CBar=(this.C1+this.C2)/2,this.aPrime1=e.A+e.A/2*(1-r(o(this.CBar,7)/(o(this.CBar,7)+o(25,7)))),this.aPrime2=t.A+t.A/2*(1-r(o(this.CBar,7)/(o(this.CBar,7)+o(25,7)))),this.CPrime1=r(o(this.aPrime1,2)+o(e.B,2)),this.CPrime2=r(o(this.aPrime2,2)+o(t.B,2)),this.CBarPrime=(this.CPrime1+this.CPrime2)/2,this.deltaCPrime=this.CPrime2-this.CPrime1,this.SsubL=1+.015*o(this.LBar-50,2)/r(20+o(this.LBar-50,2)),this.SsubC=1+.045*this.CBarPrime,this.hPrime1=0,this.hPrime2=0,this.deltahPrime=0,this.deltaHPrime=0,this.HBarPrime=0,this.T=0,this.SsubH=0,this.RsubT=0}t.prototype.getDeltaE=function(){var e=Math.sqrt,t=Math.sin,n=Math.pow;this.hPrime1=this.gethPrime1(),this.hPrime2=this.gethPrime2(),this.deltahPrime=this.getDeltahPrime(),this.deltaHPrime=2*e(this.CPrime1*this.CPrime2)*t(this.degreesToRadians(this.deltahPrime)/2),this.HBarPrime=this.getHBarPrime(),this.T=this.getT(),this.SsubH=1+.015*this.CBarPrime*this.T,this.RsubT=this.getRsubT();var r=this.deltaLPrime/(this.ksubL*this.SsubL),o=this.deltaCPrime/(this.ksubC*this.SsubC),i=this.deltaHPrime/(this.ksubH*this.SsubH);return e(n(r,2)+n(o,2)+n(i,2)+this.RsubT*o*i)},t.prototype.getRsubT=function(){var e=Math.sin,t=Math.sqrt,n=Math.pow,r=Math.exp;return-2*t(n(this.CBarPrime,7)/(n(this.CBarPrime,7)+n(25,7)))*e(this.degreesToRadians(60*r(-n((this.HBarPrime-275)/25,2))))},t.prototype.getT=function(){var e=Math.cos;return 1-.17*e(this.degreesToRadians(this.HBarPrime-30))+.24*e(this.degreesToRadians(2*this.HBarPrime))+.32*e(this.degreesToRadians(3*this.HBarPrime+6))-.2*e(this.degreesToRadians(4*this.HBarPrime-63))},t.prototype.getHBarPrime=function(){return(0,Math.abs)(this.hPrime1-this.hPrime2)>180?(this.hPrime1+this.hPrime2+360)/2:(this.hPrime1+this.hPrime2)/2},t.prototype.getDeltahPrime=function(){var e=Math.abs;return 0===this.C1||0===this.C2?0:e(this.hPrime1-this.hPrime2)<=180?this.hPrime2-this.hPrime1:this.hPrime2<=this.hPrime1?this.hPrime2-this.hPrime1+360:this.hPrime2-this.hPrime1-360},t.prototype.gethPrime1=function(){return this._gethPrimeFn(this.x1.B,this.aPrime1)},t.prototype.gethPrime2=function(){return this._gethPrimeFn(this.x2.B,this.aPrime2)},t.prototype._gethPrimeFn=function(e,t){var n;return 0===e&&0===t?0:(n=this.radiansToDegrees(Math.atan2(e,t)))>=0?n:n+360},t.prototype.radiansToDegrees=function(e){return e*(180/Math.PI)},t.prototype.degreesToRadians=function(e){return e*(Math.PI/180)},e.exports=t},33999:e=>{"use strict";function t(e,t){this.x1=e,this.x2=t}t.prototype.getDeltaE=function(){var e=this.x1,t=this.x2;return Math.sqrt(Math.pow(t.L-e.L,2)+Math.pow(t.A-e.A,2)+Math.pow(t.B-e.B,2))},e.exports=t},87892:e=>{"use strict";function t(e,t,n){this.x1=e,this.x2=t,this.weights=n||{},this.weights.lightness=this.weights.lightness||1,this.weights.chroma=this.weights.chroma||1,this.weights.hue=this.weights.hue||1,1===this.weights.lightness?(this.weights.K1=.045,this.weights.K2=.015):(this.weights.K1=.048,this.weights.K2=.014)}t.prototype.getDeltaE=function(){var e=this.x1,t=this.x2,n=Math.sqrt,r=Math.pow;return n(r(this.calculateL(e,t),2)+r(this.calculateA(e,t),2)+r(this.calculateB(e,t),2))},t.prototype.calculateL=function(e,t){return(e.L-t.L)/this.weights.lightness},t.prototype.calculateA=function(e,t){var n=Math.sqrt,r=Math.pow,o=n(r(e.A,2)+r(e.B,2)),i=o-n(r(t.A,2)+r(t.B,2)),a=1+this.weights.K1*o;return i/(this.weights.chroma*a)},t.prototype.calculateB=function(e,t){var n=Math.sqrt,r=Math.pow,o=(l=n(r(e.A,2)+r(e.B,2)))-n(r(t.A,2)+r(t.B,2)),i=e.A-t.A,a=e.B-t.B,s=n(r(i,2)+r(a,2)-r(o,2)),l=n(r(e.A,2)+r(e.B,2));return s/(1+this.weights.K2*l)},e.exports=t},24508:(e,t,n)=>{"use strict";var r=n(33999),o=n(87892),i=n(14359);function a(){}a.prototype.getDeltaE76=function(e,t){return new r(e,t).getDeltaE()},a.prototype.getDeltaE94=function(e,t){return new o(e,t).getDeltaE()},a.prototype.getDeltaE00=function(e,t){return new i(e,t).getDeltaE()},e.exports=new a},24787:e=>{e.exports=!1},50172:function(e,t,n){var r;function o(e){return(o="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)}n(74916),n(23123),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),"object"==o(t)?e.exports=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}:void 0===(r=function(){return function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}}.call(t,n,t,e))||(e.exports=r)},61157:(e,t,n)=>{"use strict";n(69600),n(54747),n(21249),n(47941);var r=n(49101),o=n(20173),i=n(98496),a=n(66563),s=Object.prototype.hasOwnProperty,l=r("transform"),c={x:"translateX",y:"translateY",z:"translateZ",origin:"transformOrigin"};function u(){return Object.keys(i).map((function(e){return e}))}(t=e.exports=function(e,t){var n,u,d,p=[];for(n in function(e){var t;for(t in e)s.call(c,t)&&(e[c[t]]=e[t],delete e[t])}(t),t)s.call(t,n)&&(u=t[n],s.call(i.transform,n)?(d=i.transform[n],o(u)&&(u=u.join(d.separator)),p.push(n+"("+a(u,d.defaultUnit,d.separator)+")")):s.call(i,n)?(d=i[n],o(u)&&(u=u.join(d.separator)),e.style[r(n)]=a(u,d.defaultUnit,d.separator)):console.warn("dom-transform: this property (`"+n+"`) is not supported."));e.style[l]=p.join(" ")}).get=function(e,t){var n=e.style;if("string"==typeof t)return s.call(i.transform,t)?n[l]:n[r(t)];t||(t=u());var o={};return t.forEach((function(e){o[e]=n[r(e)]})),o},t.reset=function(e,t){var n=e.style;if("string"==typeof t)return void(n[r(t)]=null);t||(t=u());t.forEach((function(e){n[r(e)]=null}))},t.isSupported=function(){return l.length>0}},66563:(e,t,n)=>{"use strict";n(24603),n(74916),n(39714),n(23123),n(69600),n(21249);var r=n(59875),o=/^-?\d+(\.\d+)?$/;e.exports=function(e,t,n){if(n=n||",","number"==typeof e)return""+e+t;var i=new RegExp(n,"g");return e.split(i.test(e)?n:" ").map((function(e){return e=r(e),o.test(e)&&(e+=t),e})).join(n)}},98496:e=>{"use strict";e.exports={transform:{translate:{defaultUnit:"px"},translate3d:{defaultUnit:"px"},translateX:{defaultUnit:"px"},translateY:{defaultUnit:"px"},translateZ:{defaultUnit:"px"},scale:{defaultUnit:""},scale3d:{defaultUnit:""},scaleX:{defaultUnit:""},scaleY:{defaultUnit:""},scaleZ:{defaultUnit:""},rotate:{defaultUnit:"deg"},rotate3d:{defaultUnit:""},rotateX:{defaultUnit:"deg"},rotateY:{defaultUnit:"deg"},rotateZ:{defaultUnit:"deg"},skew:{defaultUnit:"deg"},skewX:{defaultUnit:"deg"},skewY:{defaultUnit:"deg"},perspective:{defaultUnit:"px"},matrix:{defaultUnit:""},matrix3d:{defaultUnit:""}},transformOrigin:{defaultUnit:"px",separator:" "}}},27266:function(e,t,n){var r,o,i;n(74916),n(23123),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(78783),n(33948),n(60285),n(41637),n(15306),n(82526),n(41817),n(32165),o=[],void 0===(i="function"==typeof(r=function(){return function e(t,n,r){var o,i,a=window,s="application/octet-stream",l=r||s,c=t,u=!n&&!r&&c,d=document.createElement("a"),p=function(e){return String(e)},f=a.Blob||a.MozBlob||a.WebKitBlob||p,h=n||"download";if(f=f.call?f.bind(a):Blob,"true"===String(this)&&(l=(c=[c,l])[0],c=c[1]),u&&u.length<2048&&(h=u.split("/").pop().split("?")[0],d.href=u,-1!==d.href.indexOf(u))){var m=new XMLHttpRequest;return m.open("GET",u,!0),m.responseType="blob",m.onload=function(t){e(t.target.response,h,s)},setTimeout((function(){m.send()}),0),m}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&f!==p))return navigator.msSaveBlob?navigator.msSaveBlob(b(c),h):_(c);l=(c=b(c)).type||s}else if(/([\x80-\xff])/.test(c)){for(var g=0,y=new Uint8Array(c.length),v=y.length;g<v;++g)y[g]=c.charCodeAt(g);c=new f([y],{type:l})}function b(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),o=r.length,i=0,a=new Uint8Array(o);i<o;++i)a[i]=r.charCodeAt(i);return new f([a],{type:n})}function _(e,t){if("download"in d)return d.href=e,d.setAttribute("download",h),d.className="download-js-link",d.innerHTML="downloading...",d.style.display="none",document.body.appendChild(d),setTimeout((function(){d.click(),document.body.removeChild(d),!0===t&&setTimeout((function(){a.URL.revokeObjectURL(d.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(o=c instanceof f?c:new f([c],{type:l}),navigator.msSaveBlob)return navigator.msSaveBlob(o,h);if(a.URL)_(a.URL.createObjectURL(o),!0);else{if("string"==typeof o||o.constructor===p)try{return _("data:"+l+";base64,"+a.btoa(o))}catch(e){return _("data:"+l+","+encodeURIComponent(o))}(i=new FileReader).onload=function(e){_(this.result)},i.readAsDataURL(o)}return!0}})?r.apply(t,o):r)||(e.exports=i)},52382:(e,t,n)=>{var r=n(13423).Buffer;n(44048),n(9653),n(41539),n(2707),n(47941),n(57327);var o=n(13423).SlowBuffer;function i(e,t){return function e(t,n,a){if(t===n)return!0;if(Number.isNaN(t))return Number.isNaN(n);if(!(t instanceof Object))return!1;var s=Object.prototype.toString.call(t);if(Object.prototype.toString.call(n)!==s)return!1;for(var l=Object.keys(t).sort(),c=Object.keys(n).sort(),u=0;u<l.length;u++)if(l[u]!==c[u])return!1;var d=a.a.indexOf(t);if(d>-1)return a.b.indexOf(n)===d;if(a.a.push(t),a.b.push(n),"[object Error]"===s){if(Error.prototype.toString.call(t)!==Error.prototype.toString.call(n))return!1}else if("[object RegExp]"===s){if(t.source!==n.source||t.global!==n.global||t.multiline!==n.multiline||t.ignoreCase!==n.ignoreCase)return!1}else if("[object Date]"===s){if(t.getTime()!==n.getTime())return!1}else if("[object Boolean]"===s||"[object Number]"===s||"[object String]"===s){if(!i(t.valueOf(),n.valueOf()))return!1}else if(r.isBuffer(t)){if(t instanceof r&&!(n instanceof r)||t instanceof o&&!(n instanceof o))return!1;l=l.filter((function(e){return t instanceof o?"used"!==e:"parent"!==e&&"offset"!==e}))}return l.reduce((function(r,o){return r&&e(t[o],n[o],a)}),!0)}(e,t,{a:[],b:[]})}e.exports=i},61597:(e,t,n)=>{"use strict";var r=n(37555)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},36891:e=>{"use strict";e.exports=EvalError},4468:e=>{"use strict";e.exports=Error},77754:e=>{"use strict";e.exports=RangeError},14025:e=>{"use strict";e.exports=ReferenceError},59743:e=>{"use strict";e.exports=SyntaxError},13237:e=>{"use strict";e.exports=TypeError},35725:e=>{"use strict";e.exports=URIError},34111:(e,t,n)=>{"use strict";n(74916);var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,o=r.exec(n);if(!o)return n;var i="",a=0,s=0;for(a=o.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==a&&(i+=n.substring(s,a)),s=a+1,i+=t}return s!==a?i+n.substring(s,a):i}},94092:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(36535),n(67556),n(82526),n(92222),n(36210),n(44048),n(9653),n(30489),n(68309),n(47941),n(41539),n(47042),n(41817),n(32165),n(66992),n(78783),n(33948);var o,i="object"===("undefined"==typeof Reflect?"undefined":r(Reflect))?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};o=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}e.exports=l,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}v(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&v(e,"error",t,n)}(e,o,{once:!0})}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+r(e))}function d(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var o,i,a,s;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=d(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function m(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function v(e,t,n,o){if("function"==typeof e.on)o.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+r(e));e.addEventListener(t,(function r(i){o.once&&e.removeEventListener(t,r),n(i)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return d(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var c=l.length,u=y(l,c);for(n=0;n<c;++n)a(u[n],this,t)}return!0},l.prototype.addListener=function(e,t){return p(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return p(this,e,t,!0)},l.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return m(this,e,!0)},l.prototype.rawListeners=function(e){return m(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},l.prototype.listenerCount=g,l.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},40040:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(38880),n(68309),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},c=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=o.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&o.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||o.call(e,t)},u=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},d=function(e,t){if("__proto__"===t){if(!o.call(e,t))return;if(s)return s(e,t).value}return e[t]};e.exports=function e(){var t,n,o,i,a,s,p=arguments[0],f=1,h=arguments.length,m=!1;for("boolean"==typeof p&&(m=p,p=arguments[1]||{},f=2),(null==p||"object"!==r(p)&&"function"!=typeof p)&&(p={});f<h;++f)if(null!=(t=arguments[f]))for(n in t)o=d(p,n),p!==(i=d(t,n))&&(m&&i&&(c(i)||(a=l(i)))?(a?(a=!1,s=o&&l(o)?o:[]):s=o&&c(o)?o:{},u(p,{name:n,newValue:e(m,s,i)})):void 0!==i&&u(p,{name:n,newValue:i}));return p}},87790:(e,t,n)=>{n(92222),n(47042),n(40561);function r(e,t,n,s){if(e===t)return e?[[0,e]]:[];if(null!=n){var l=function(e,t,n){var r="number"==typeof n?{index:n,length:0}:n.oldRange,o="number"==typeof n?null:n.newRange,i=e.length,a=t.length;if(0===r.length&&(null===o||0===o.length)){var s=r.index,l=e.slice(0,s),c=e.slice(s),u=o?o.index:null,p=s+a-i;if((null===u||u===p)&&!(p<0||p>a)){var f=t.slice(0,p);if((_=t.slice(p))===c){var h=Math.min(s,p),m=l.slice(0,h),g=f.slice(0,h);if(m===g){var y=l.slice(h),v=f.slice(h);return d(m,y,v,c)}}}if(null===u||u===s){var b=s,_=(f=t.slice(0,b),t.slice(b));if(f===l){var w=Math.min(i-b,a-b),C=c.slice(c.length-w),S=_.slice(_.length-w);if(C===S){y=c.slice(0,c.length-w),v=_.slice(0,_.length-w);return d(l,y,v,C)}}}}if(r.length>0&&o&&0===o.length){m=e.slice(0,r.index),C=e.slice(r.index+r.length),h=m.length,w=C.length;if(!(a<h+w)){g=t.slice(0,h),S=t.slice(a-w);if(m===g&&C===S){y=e.slice(h,i-w),v=t.slice(h,a-w);return d(m,y,v,C)}}}return null}(e,t,n);if(l)return l}var p=i(e,t),f=e.substring(0,p);p=a(e=e.substring(p),t=t.substring(p));var h=e.substring(e.length-p),m=function(e,t){var n;if(!e)return[[1,t]];if(!t)return[[-1,e]];var s=e.length>t.length?e:t,l=e.length>t.length?t:e,c=s.indexOf(l);if(-1!==c)return n=[[1,s.substring(0,c)],[0,l],[1,s.substring(c+l.length)]],e.length>t.length&&(n[0][0]=n[2][0]=-1),n;if(1===l.length)return[[-1,e],[1,t]];var u=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function o(e,t,n){for(var r,o,s,l,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!==(u=t.indexOf(c,u+1));){var p=i(e.substring(n),t.substring(u)),f=a(e.substring(0,n),t.substring(0,u));d.length<f+p&&(d=t.substring(u-f,u)+t.substring(u,u+p),r=e.substring(0,n-f),o=e.substring(n+p),s=t.substring(0,u-f),l=t.substring(u+p))}return 2*d.length>=e.length?[r,o,s,l,d]:null}var s,l,c,u,d,p=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));if(!p&&!f)return null;s=f?p&&p[4].length>f[4].length?p:f:p;e.length>t.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var h=s[4];return[l,c,u,d,h]}(e,t);if(u){var d=u[0],p=u[1],f=u[2],h=u[3],m=u[4],g=r(d,f),y=r(p,h);return g.concat([[0,m]],y)}return function(e,t){for(var n=e.length,r=t.length,i=Math.ceil((n+r)/2),a=i,s=2*i,l=new Array(s),c=new Array(s),u=0;u<s;u++)l[u]=-1,c[u]=-1;l[a+1]=0,c[a+1]=0;for(var d=n-r,p=d%2!=0,f=0,h=0,m=0,g=0,y=0;y<i;y++){for(var v=-y+f;v<=y-h;v+=2){for(var b=a+v,_=(x=v===-y||v!==y&&l[b-1]<l[b+1]?l[b+1]:l[b-1]+1)-v;x<n&&_<r&&e.charAt(x)===t.charAt(_);)x++,_++;if(l[b]=x,x>n)h+=2;else if(_>r)f+=2;else if(p){if((S=a+d-v)>=0&&S<s&&-1!==c[S]){var w=n-c[S];if(x>=w)return o(e,t,x,_)}}}for(var C=-y+m;C<=y-g;C+=2){for(var S=a+C,E=(w=C===-y||C!==y&&c[S-1]<c[S+1]?c[S+1]:c[S-1]+1)-C;w<n&&E<r&&e.charAt(n-w-1)===t.charAt(r-E-1);)w++,E++;if(c[S]=w,w>n)g+=2;else if(E>r)m+=2;else if(!p){if((b=a+d-C)>=0&&b<s&&-1!==l[b]){var x=l[b];_=a+x-b;if(x>=(w=n-w))return o(e,t,x,_)}}}}return[[-1,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-p),t=t.substring(0,t.length-p));return f&&m.unshift([0,f]),h&&m.push([0,h]),function e(t,n){t.push([0,""]);var r,o=0,s=0,l=0,d="",p="";for(;o<t.length;)if(o<t.length-1&&!t[o][1])t.splice(o,1);else switch(t[o][0]){case 1:l++,p+=t[o][1],o++;break;case-1:s++,d+=t[o][1],o++;break;case 0:var f=o-l-s-1;if(n){if(f>=0&&u(t[f][1])){var h=t[f][1].slice(-1);if(t[f][1]=t[f][1].slice(0,-1),d=h+d,p=h+p,!t[f][1]){t.splice(f,1),o--;var m=f-1;t[m]&&1===t[m][0]&&(l++,p=t[m][1]+p,m--),t[m]&&-1===t[m][0]&&(s++,d=t[m][1]+d,m--),f=m}}if(c(t[o][1])){h=t[o][1].charAt(0);t[o][1]=t[o][1].slice(1),d+=h,p+=h}}if(o<t.length-1&&!t[o][1]){t.splice(o,1);break}if(d.length>0||p.length>0){d.length>0&&p.length>0&&(0!==(r=i(p,d))&&(f>=0?t[f][1]+=p.substring(0,r):(t.splice(0,0,[0,p.substring(0,r)]),o++),p=p.substring(r),d=d.substring(r)),0!==(r=a(p,d))&&(t[o][1]=p.substring(p.length-r)+t[o][1],p=p.substring(0,p.length-r),d=d.substring(0,d.length-r)));var g=l+s;0===d.length&&0===p.length?(t.splice(o-g,g),o-=g):0===d.length?(t.splice(o-g,g,[1,p]),o=o-g+1):0===p.length?(t.splice(o-g,g,[-1,d]),o=o-g+1):(t.splice(o-g,g,[-1,d],[1,p]),o=o-g+2)}0!==o&&0===t[o-1][0]?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,l=0,s=0,d="",p=""}""===t[t.length-1][1]&&t.pop();var y=!1;o=1;for(;o<t.length-1;)0===t[o-1][0]&&0===t[o+1][0]&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)===t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),y=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),y=!0)),o++;y&&e(t,n)}(m,s),m}function o(e,t,n,o){var i=e.substring(0,n),a=t.substring(0,o),s=e.substring(n),l=t.substring(o),c=r(i,a),u=r(s,l);return c.concat(u)}function i(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return s(e.charCodeAt(o-1))&&o--,o}function a(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return l(e.charCodeAt(e.length-o))&&o--,o}function s(e){return e>=55296&&e<=56319}function l(e){return e>=56320&&e<=57343}function c(e){return l(e.charCodeAt(0))}function u(e){return s(e.charCodeAt(e.length-1))}function d(e,t,n,r){return u(e)||c(r)?null:function(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}([[0,e],[-1,t],[1,n],[0,r]])}function p(e,t,n){return r(e,t,n,!0)}p.INSERT=1,p.DELETE=-1,p.EQUAL=0,e.exports=p},26863:(e,t,n)=>{"use strict";n(9653),n(56977),n(74916),n(15306),n(41539),n(39714),n(69600),function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},o={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[],a=0,s=void 0,l=void 0,c=void 0,u=void 0,d=void 0,p=void 0,f=void 0,h=void 0,m=void 0,g=void 0,y=void 0,v=void 0,b=void 0,_=void 0,w=void 0;if(isNaN(e))throw new Error("Invalid arguments");return c=!0===t.bits,y=!0===t.unix,l=t.base||2,g=void 0!==t.round?t.round:y?1:2,v=void 0!==t.separator&&t.separator||"",b=void 0!==t.spacer?t.spacer:y?"":" ",w=t.symbols||t.suffixes||{},_=2===l&&t.standard||"jedec",m=t.output||"string",d=!0===t.fullform,p=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,u=l>2?1e3:1024,(f=(h=Number(e))<0)&&(h=-h),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(h)/Math.log(u)))<0&&(s=0),s>8&&(s=8),0===h?(i[0]=0,i[1]=y?"":r[_][c?"bits":"bytes"][s]):(a=h/(2===l?Math.pow(2,10*s):Math.pow(1e3,s)),c&&(a*=8)>=u&&s<8&&(a/=u,s++),i[0]=Number(a.toFixed(s>0?g:0)),i[1]=10===l&&1===s?c?"kb":"kB":r[_][c?"bits":"bytes"][s],y&&(i[1]="jedec"===_?i[1].charAt(0):s>0?i[1].replace(/B$/,""):i[1],n.test(i[1])&&(i[0]=Math.floor(i[0]),i[1]=""))),f&&(i[0]=-i[0]),i[1]=w[i[1]]||i[1],"array"===m?i:"exponent"===m?s:"object"===m?{value:i[0],suffix:i[1],symbol:i[1]}:(d&&(i[1]=p[s]?p[s]:o[_][s]+(c?"bit":"byte")+(1===i[0]?"":"s")),v.length>0&&(i[0]=i[0].toString().replace(".",v)),i.join(b))}i.partial=function(e){return function(t){return i(t,e)}},e.exports=i}("undefined"!=typeof window?window:n.g)},81999:(e,t,n)=>{var r,o;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(68309),n(41539),n(39714),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(44197),n(76495),n(47042),n(82526),n(41817),n(32165),n(78783),n(33948),void 0===(o="function"==typeof(r=function(){var e={172351395:{name:"EBML",type:"Container"},646:{name:"EBMLVersion",type:"Uint"},759:{name:"EBMLReadVersion",type:"Uint"},754:{name:"EBMLMaxIDLength",type:"Uint"},755:{name:"EBMLMaxSizeLength",type:"Uint"},642:{name:"DocType",type:"String"},647:{name:"DocTypeVersion",type:"Uint"},645:{name:"DocTypeReadVersion",type:"Uint"},108:{name:"Void",type:"Binary"},63:{name:"CRC-32",type:"Binary"},190023271:{name:"SignatureSlot",type:"Container"},16010:{name:"SignatureAlgo",type:"Uint"},16026:{name:"SignatureHash",type:"Uint"},16037:{name:"SignaturePublicKey",type:"Binary"},16053:{name:"Signature",type:"Binary"},15963:{name:"SignatureElements",type:"Container"},15995:{name:"SignatureElementList",type:"Container"},9522:{name:"SignedElement",type:"Binary"},139690087:{name:"Segment",type:"Container"},21863284:{name:"SeekHead",type:"Container"},3515:{name:"Seek",type:"Container"},5035:{name:"SeekID",type:"Binary"},5036:{name:"SeekPosition",type:"Uint"},88713574:{name:"Info",type:"Container"},13220:{name:"SegmentUID",type:"Binary"},13188:{name:"SegmentFilename",type:"String"},1882403:{name:"PrevUID",type:"Binary"},1868715:{name:"PrevFilename",type:"String"},2013475:{name:"NextUID",type:"Binary"},1999803:{name:"NextFilename",type:"String"},1092:{name:"SegmentFamily",type:"Binary"},10532:{name:"ChapterTranslate",type:"Container"},10748:{name:"ChapterTranslateEditionUID",type:"Uint"},10687:{name:"ChapterTranslateCodec",type:"Uint"},10661:{name:"ChapterTranslateID",type:"Binary"},710577:{name:"TimecodeScale",type:"Uint"},1161:{name:"Duration",type:"Float"},1121:{name:"DateUTC",type:"Date"},15273:{name:"Title",type:"String"},3456:{name:"MuxingApp",type:"String"},5953:{name:"WritingApp",type:"String"},103:{name:"Timecode",type:"Uint"},6228:{name:"SilentTracks",type:"Container"},6359:{name:"SilentTrackNumber",type:"Uint"},39:{name:"Position",type:"Uint"},43:{name:"PrevSize",type:"Uint"},35:{name:"SimpleBlock",type:"Binary"},32:{name:"BlockGroup",type:"Container"},33:{name:"Block",type:"Binary"},34:{name:"BlockVirtual",type:"Binary"},13729:{name:"BlockAdditions",type:"Container"},38:{name:"BlockMore",type:"Container"},110:{name:"BlockAddID",type:"Uint"},37:{name:"BlockAdditional",type:"Binary"},27:{name:"BlockDuration",type:"Uint"},122:{name:"ReferencePriority",type:"Uint"},123:{name:"ReferenceBlock",type:"Int"},125:{name:"ReferenceVirtual",type:"Int"},36:{name:"CodecState",type:"Binary"},13730:{name:"DiscardPadding",type:"Int"},14:{name:"Slices",type:"Container"},104:{name:"TimeSlice",type:"Container"},76:{name:"LaceNumber",type:"Uint"},77:{name:"FrameNumber",type:"Uint"},75:{name:"BlockAdditionID",type:"Uint"},78:{name:"Delay",type:"Uint"},79:{name:"SliceDuration",type:"Uint"},72:{name:"ReferenceFrame",type:"Container"},73:{name:"ReferenceOffset",type:"Uint"},74:{name:"ReferenceTimeCode",type:"Uint"},47:{name:"EncryptedBlock",type:"Binary"},106212971:{name:"Tracks",type:"Container"},46:{name:"TrackEntry",type:"Container"},87:{name:"TrackNumber",type:"Uint"},13253:{name:"TrackUID",type:"Uint"},3:{name:"TrackType",type:"Uint"},57:{name:"FlagEnabled",type:"Uint"},8:{name:"FlagDefault",type:"Uint"},5546:{name:"FlagForced",type:"Uint"},28:{name:"FlagLacing",type:"Uint"},11751:{name:"MinCache",type:"Uint"},11768:{name:"MaxCache",type:"Uint"},254851:{name:"DefaultDuration",type:"Uint"},216698:{name:"DefaultDecodedFieldDuration",type:"Uint"},209231:{name:"TrackTimecodeScale",type:"Float"},4991:{name:"TrackOffset",type:"Int"},5614:{name:"MaxBlockAdditionID",type:"Uint"},4974:{name:"Name",type:"String"},177564:{name:"Language",type:"String"},6:{name:"CodecID",type:"String"},9122:{name:"CodecPrivate",type:"Binary"},362120:{name:"CodecName",type:"String"},13382:{name:"AttachmentLink",type:"Uint"},1742487:{name:"CodecSettings",type:"String"},1785920:{name:"CodecInfoURL",type:"String"},438848:{name:"CodecDownloadURL",type:"String"},42:{name:"CodecDecodeAll",type:"Uint"},12203:{name:"TrackOverlay",type:"Uint"},5802:{name:"CodecDelay",type:"Uint"},5819:{name:"SeekPreRoll",type:"Uint"},9764:{name:"TrackTranslate",type:"Container"},9980:{name:"TrackTranslateEditionUID",type:"Uint"},9919:{name:"TrackTranslateCodec",type:"Uint"},9893:{name:"TrackTranslateTrackID",type:"Binary"},96:{name:"Video",type:"Container"},26:{name:"FlagInterlaced",type:"Uint"},5048:{name:"StereoMode",type:"Uint"},5056:{name:"AlphaMode",type:"Uint"},5049:{name:"OldStereoMode",type:"Uint"},48:{name:"PixelWidth",type:"Uint"},58:{name:"PixelHeight",type:"Uint"},5290:{name:"PixelCropBottom",type:"Uint"},5307:{name:"PixelCropTop",type:"Uint"},5324:{name:"PixelCropLeft",type:"Uint"},5341:{name:"PixelCropRight",type:"Uint"},5296:{name:"DisplayWidth",type:"Uint"},5306:{name:"DisplayHeight",type:"Uint"},5298:{name:"DisplayUnit",type:"Uint"},5299:{name:"AspectRatioType",type:"Uint"},963876:{name:"ColourSpace",type:"Binary"},1029411:{name:"GammaValue",type:"Float"},230371:{name:"FrameRate",type:"Float"},97:{name:"Audio",type:"Container"},53:{name:"SamplingFrequency",type:"Float"},14517:{name:"OutputSamplingFrequency",type:"Float"},31:{name:"Channels",type:"Uint"},15739:{name:"ChannelPositions",type:"Binary"},8804:{name:"BitDepth",type:"Uint"},98:{name:"TrackOperation",type:"Container"},99:{name:"TrackCombinePlanes",type:"Container"},100:{name:"TrackPlane",type:"Container"},101:{name:"TrackPlaneUID",type:"Uint"},102:{name:"TrackPlaneType",type:"Uint"},105:{name:"TrackJoinBlocks",type:"Container"},109:{name:"TrackJoinUID",type:"Uint"},64:{name:"TrickTrackUID",type:"Uint"},65:{name:"TrickTrackSegmentUID",type:"Binary"},70:{name:"TrickTrackFlag",type:"Uint"},71:{name:"TrickMasterTrackUID",type:"Uint"},68:{name:"TrickMasterTrackSegmentUID",type:"Binary"},11648:{name:"ContentEncodings",type:"Container"},8768:{name:"ContentEncoding",type:"Container"},4145:{name:"ContentEncodingOrder",type:"Uint"},4146:{name:"ContentEncodingScope",type:"Uint"},4147:{name:"ContentEncodingType",type:"Uint"},4148:{name:"ContentCompression",type:"Container"},596:{name:"ContentCompAlgo",type:"Uint"},597:{name:"ContentCompSettings",type:"Binary"},4149:{name:"ContentEncryption",type:"Container"},2017:{name:"ContentEncAlgo",type:"Uint"},2018:{name:"ContentEncKeyID",type:"Binary"},2019:{name:"ContentSignature",type:"Binary"},2020:{name:"ContentSigKeyID",type:"Binary"},2021:{name:"ContentSigAlgo",type:"Uint"},2022:{name:"ContentSigHashAlgo",type:"Uint"},206814059:{name:"Cues",type:"Container"},59:{name:"CuePoint",type:"Container"},51:{name:"CueTime",type:"Uint"},55:{name:"CueTrackPositions",type:"Container"},119:{name:"CueTrack",type:"Uint"},113:{name:"CueClusterPosition",type:"Uint"},112:{name:"CueRelativePosition",type:"Uint"},50:{name:"CueDuration",type:"Uint"},4984:{name:"CueBlockNumber",type:"Uint"},106:{name:"CueCodecState",type:"Uint"},91:{name:"CueReference",type:"Container"},22:{name:"CueRefTime",type:"Uint"},23:{name:"CueRefCluster",type:"Uint"},4959:{name:"CueRefNumber",type:"Uint"},107:{name:"CueRefCodecState",type:"Uint"},155296873:{name:"Attachments",type:"Container"},8615:{name:"AttachedFile",type:"Container"},1662:{name:"FileDescription",type:"String"},1646:{name:"FileName",type:"String"},1632:{name:"FileMimeType",type:"String"},1628:{name:"FileData",type:"Binary"},1710:{name:"FileUID",type:"Uint"},1653:{name:"FileReferral",type:"Binary"},1633:{name:"FileUsedStartTime",type:"Uint"},1634:{name:"FileUsedEndTime",type:"Uint"},4433776:{name:"Chapters",type:"Container"},1465:{name:"EditionEntry",type:"Container"},1468:{name:"EditionUID",type:"Uint"},1469:{name:"EditionFlagHidden",type:"Uint"},1499:{name:"EditionFlagDefault",type:"Uint"},1501:{name:"EditionFlagOrdered",type:"Uint"},54:{name:"ChapterAtom",type:"Container"},13252:{name:"ChapterUID",type:"Uint"},5716:{name:"ChapterStringUID",type:"String"},17:{name:"ChapterTimeStart",type:"Uint"},18:{name:"ChapterTimeEnd",type:"Uint"},24:{name:"ChapterFlagHidden",type:"Uint"},1432:{name:"ChapterFlagEnabled",type:"Uint"},11879:{name:"ChapterSegmentUID",type:"Binary"},11964:{name:"ChapterSegmentEditionUID",type:"Uint"},9155:{name:"ChapterPhysicalEquiv",type:"Uint"},15:{name:"ChapterTrack",type:"Container"},9:{name:"ChapterTrackNumber",type:"Uint"},0:{name:"ChapterDisplay",type:"Container"},5:{name:"ChapString",type:"String"},892:{name:"ChapLanguage",type:"String"},894:{name:"ChapCountry",type:"String"},10564:{name:"ChapProcess",type:"Container"},10581:{name:"ChapProcessCodecID",type:"Uint"},1293:{name:"ChapProcessPrivate",type:"Binary"},10513:{name:"ChapProcessCommand",type:"Container"},10530:{name:"ChapProcessTime",type:"Uint"},10547:{name:"ChapProcessData",type:"Binary"},39109479:{name:"Tags",type:"Container"},13171:{name:"Tag",type:"Container"},9152:{name:"Targets",type:"Container"},10442:{name:"TargetTypeValue",type:"Uint"},9162:{name:"TargetType",type:"String"},9157:{name:"TagTrackUID",type:"Uint"},9161:{name:"TagEditionUID",type:"Uint"},9156:{name:"TagChapterUID",type:"Uint"},9158:{name:"TagAttachmentUID",type:"Uint"},10184:{name:"SimpleTag",type:"Container"},1443:{name:"TagName",type:"String"},1146:{name:"TagLanguage",type:"String"},1156:{name:"TagDefault",type:"Uint"},1159:{name:"TagString",type:"String"},1157:{name:"TagBinary",type:"Binary"}};function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e}function n(e,t){this.name=e||"Unknown",this.type=t||"Unknown"}function r(e,t){n.call(this,e,t||"Uint")}function o(e){return e.length%2==1?"0"+e:e}function a(e,t){n.call(this,e,t||"Float")}function s(e,t){n.call(this,e,t||"Container")}function l(e){s.call(this,"File","File"),this.setSource(e)}function c(e,t,n,r){if("object"===i(n)&&(r=n,n=void 0),!n)return new Promise((function(n){c(e,t,n,r)}));try{var o=new FileReader;o.onloadend=function(){try{var i=new l(new Uint8Array(o.result));i.fixDuration(t,r)&&(e=i.toBlob(e.type))}catch(e){}n(e)},o.readAsArrayBuffer(e)}catch(t){n(e)}}return n.prototype.updateBySource=function(){},n.prototype.setSource=function(e){this.source=e,this.updateBySource()},n.prototype.updateByData=function(){},n.prototype.setData=function(e){this.data=e,this.updateByData()},t(r,n),r.prototype.updateBySource=function(){this.data="";for(var e=0;e<this.source.length;e++){var t=this.source[e].toString(16);this.data+=o(t)}},r.prototype.updateByData=function(){var e=this.data.length/2;this.source=new Uint8Array(e);for(var t=0;t<e;t++){var n=this.data.substr(2*t,2);this.source[t]=parseInt(n,16)}},r.prototype.getValue=function(){return parseInt(this.data,16)},r.prototype.setValue=function(e){this.setData(o(e.toString(16)))},t(a,n),a.prototype.getFloatArrayType=function(){return this.source&&4===this.source.length?Float32Array:Float64Array},a.prototype.updateBySource=function(){var e=this.source.reverse(),t=new(this.getFloatArrayType())(e.buffer);this.data=t[0]},a.prototype.updateByData=function(){var e=new(this.getFloatArrayType())([this.data]),t=new Uint8Array(e.buffer);this.source=t.reverse()},a.prototype.getValue=function(){return this.data},a.prototype.setValue=function(e){this.setData(e)},t(s,n),s.prototype.readByte=function(){return this.source[this.offset++]},s.prototype.readUint=function(){for(var e=this.readByte(),t=8-e.toString(2).length,n=e-(1<<7-t),r=0;r<t;r++)n*=256,n+=this.readByte();return n},s.prototype.updateBySource=function(){for(this.data=[],this.offset=0;this.offset<this.source.length;this.offset=i){var t=this.readUint(),o=this.readUint(),i=Math.min(this.offset+o,this.source.length),l=this.source.slice(this.offset,i),c=e[t]||{name:"Unknown",type:"Unknown"},u=n;switch(c.type){case"Container":u=s;break;case"Uint":u=r;break;case"Float":u=a}var d=new u(c.name,c.type);d.setSource(l),this.data.push({id:t,idHex:t.toString(16),data:d})}},s.prototype.writeUint=function(e,t){for(var n=1,r=128;e>=r&&n<8;n++,r*=128);if(!t)for(var o=r+e,i=n-1;i>=0;i--){var a=o%256;this.source[this.offset+i]=a,o=(o-a)/256}this.offset+=n},s.prototype.writeSections=function(e){this.offset=0;for(var t=0;t<this.data.length;t++){var n=this.data[t],r=n.data.source,o=r.length;this.writeUint(n.id,e),this.writeUint(o,e),e||this.source.set(r,this.offset),this.offset+=o}return this.offset},s.prototype.updateByData=function(){var e=this.writeSections("draft");this.source=new Uint8Array(e),this.writeSections()},s.prototype.getSectionById=function(e){for(var t=0;t<this.data.length;t++){var n=this.data[t];if(n.id===e)return n.data}return null},t(l,s),l.prototype.fixDuration=function(e,t){var n=t&&t.logger;void 0===n?n=function(e){console.log(e)}:n||(n=function(){});var r=this.getSectionById(139690087);if(!r)return n("[fix-webm-duration] Segment section is missing"),!1;var o=r.getSectionById(88713574);if(!o)return n("[fix-webm-duration] Info section is missing"),!1;var i=o.getSectionById(710577);if(!i)return n("[fix-webm-duration] TimecodeScale section is missing"),!1;var s=o.getSectionById(1161);if(s){if(!(s.getValue()<=0))return n("[fix-webm-duration] Duration section is present, and the value is ".concat(s.getValue())),!1;n("[fix-webm-duration] Duration section is present, but the value is ".concat(s.getValue())),s.setValue(e)}else n("[fix-webm-duration] Duration section is missing"),(s=new a("Duration","Float")).setValue(e),o.data.push({id:1161,data:s});return i.setValue(1e6),o.updateByData(),r.updateByData(),this.updateByData(),!0},l.prototype.toBlob=function(e){return new Blob([this.source.buffer],{type:e||"video/webm"})},c.default=c,c})?r.call(t,n,t,e):r)||(e.exports=o)},50068:(e,t,n)=>{"use strict";n(41539);var r=n(30916),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,o=e.length;r<o;r++)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},s=function(e,t,n){for(var r=0,o=e.length;r<o;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},l=function(e,t,n){for(var r in e)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))};e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),"[object Array]"===o.call(e)?a(e,t,i):"string"==typeof e?s(e,t,i):l(e,t,i)}},23632:(e,t,n)=>{"use strict";n(41539);var r="Function.prototype.bind called on incompatible ",o=Object.prototype.toString,i=Math.max,a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n},s=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n},l=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.apply(t))throw new TypeError(r+t);for(var n,c=s(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,a(c,arguments));return Object(r)===r?r:this}return t.apply(e,a(c,arguments))},d=i(0,t.length-c.length),p=[],f=0;f<d;f++)p[f]="$"+f;if(n=Function("binder","return function ("+l(p,",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var h=function(){};h.prototype=t.prototype,n.prototype=new h,h.prototype=null}return n}},23723:(e,t,n)=>{"use strict";var r=n(23632);e.exports=Function.prototype.bind||r},68237:(e,t,n)=>{"use strict";n(68309),n(38880);var r=function(){return"string"==typeof function(){}.name},o=Object.getOwnPropertyDescriptor;if(o)try{o([],"length")}catch(e){o=null}r.functionsHaveConfigurableNames=function(){if(!r()||!o)return!1;var e=o((function(){}),"name");return!!e&&!!e.configurable};var i=Function.prototype.bind;r.boundFunctionsHaveNames=function(){return r()&&"function"==typeof i&&""!==function(){}.bind().name},e.exports=r},37555:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(38880),n(30489),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(8628),n(78783),n(33948),n(18264),n(32165),n(82526),n(41817),n(44197),n(76495),n(87145),n(35109),n(65125),n(51532),n(9653),n(24603),n(74916),n(39714),n(70189),n(49743),n(8255),n(29135),n(4129),n(38478),n(92222),n(40561),n(15306),n(68309);var o=n(4468),i=n(36891),a=n(77754),s=n(14025),l=n(59743),c=n(13237),u=n(35725),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var h=function(){throw new c},m=f?function(){try{return h}catch(e){try{return f(arguments,"callee").get}catch(e){return h}}}():h,g=n(98949)(),y=n(64312)(),v=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},_="undefined"!=typeof Uint8Array&&v?v(Uint8Array):void 0,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):void 0,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":r(JSON))?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&v?v((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&v?v((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):void 0,"%Symbol%":g?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":_,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet};if(v)try{null.error}catch(e){var C=v(v(e));w["%Error.prototype%"]=C}var S={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=n(23723),x=n(94672),k=E.call(Function.call,Array.prototype.concat),O=E.call(Function.apply,Array.prototype.splice),T=E.call(Function.call,String.prototype.replace),A=E.call(Function.call,String.prototype.slice),P=E.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,M=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,R,(function(e,t,n,o){r[r.length]=n?T(o,I,"$1"):t||e})),r},N=function(e,t){var n,r=e;if(x(S,r)&&(r="%"+(n=S[r])[0]+"%"),x(w,r)){var o=w[r];if(o===b&&(o=function e(t){var n;if("%AsyncFunction%"===t)n=p("async function () {}");else if("%GeneratorFunction%"===t)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&v&&(n=v(o.prototype))}return w[t]=n,n}(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===P(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=M(e),r=n.length>0?n[0]:"",o=N("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],O(n,k([0,1],u)));for(var d=1,p=!0;d<n.length;d+=1){var h=n[d],m=A(h,0,1),g=A(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&p||(s=!0),x(w,i="%"+(r+="."+h)+"%"))a=w[i];else if(null!=a){if(!(h in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(f&&d+1>=n.length){var y=f(a,h);a=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[h]}else p=x(a,h),a=a[h];p&&!s&&(w[i]=a)}}return a}},56374:(e,t,n)=>{var r,o=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},i=n(25893);"undefined"!=typeof document?r=document:(r=o["__GLOBAL_DOCUMENT_CACHE@4"])||(r=o["__GLOBAL_DOCUMENT_CACHE@4"]=i),e.exports=r},95732:(e,t,n)=>{var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},12500:(e,t,n)=>{"use strict";var r=n(37555)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},10482:e=>{"use strict";var t="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}},17536:(e,t,n)=>{"use strict";var r=n(61597),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},64312:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},98949:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o="undefined"!=typeof Symbol&&Symbol,i=n(3810);e.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"===r(o("foo"))&&("symbol"===r(Symbol("bar"))&&i())))}},3810:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(47941),n(36210),n(38880),e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===r(Symbol.iterator))return!0;var e={},t=Symbol("test"),n=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(n))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 o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[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}},80297:(e,t,n)=>{"use strict";n(39341),n(73706),n(10408),n(41539),n(82526),n(41817);var r=n(3810);e.exports=function(){return r()&&!!Symbol.toStringTag}},94672:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(23723);e.exports=i.call(r,o)},25746:function(e,t,n){var r;function o(e){return(o="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)}e=n.nmd(e),n(41539),n(39714),n(74916),n(15306),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948),function(i){var a="object"==o(t)&&t,s="object"==o(e)&&e&&e.exports==a&&e,l="object"==(void 0===n.g?"undefined":o(n.g))&&n.g;l.global!==l&&l.window!==l||(i=l);var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,d=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,p=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ﬀ":"fflig","ﬃ":"ffilig","ﬄ":"ffllig","ﬁ":"filig",fj:"fjlig","ﬂ":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ĳ":"ijlig","Ĳ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ŉ":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},h=/["&'<>`]/g,m={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},g=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,y=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,b={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:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",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:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",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:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",Ffr:"𝔉",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",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:"ĳ",IJlig:"Ĳ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",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:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",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:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",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:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",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:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",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:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",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:"‌"},_={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},w={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},C=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],S=String.fromCharCode,E={}.hasOwnProperty,x=function(e,t){return E.call(e,t)},k=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=x(e,n)?e[n]:t[n];return r},O=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&P("character reference outside the permissible Unicode range"),"�"):x(w,e)?(t&&P("disallowed character reference"),w[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1}(C,e)&&P("disallowed character reference"),e>65535&&(n+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=S(e))},T=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},A=function(e){return"&#"+e+";"},P=function(e){throw Error("Parse error: "+e)},R=function e(t,n){(n=k(n,e.options)).strict&&y.test(t)&&P("forbidden code point");var r=n.encodeEverything,o=n.useNamedReferences,i=n.allowUnsafeSymbols,a=n.decimal?A:T,s=function(e){return a(e.charCodeAt(0))};return r?(t=t.replace(u,(function(e){return o&&x(f,e)?"&"+f[e]+";":s(e)})),o&&(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),o&&(t=t.replace(p,(function(e){return"&"+f[e]+";"})))):o?(i||(t=t.replace(h,(function(e){return"&"+f[e]+";"}))),t=(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(p,(function(e){return"&"+f[e]+";"}))):i||(t=t.replace(h,s)),t.replace(c,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return a(1024*(t-55296)+n-56320+65536)})).replace(d,s)};R.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var I=function e(t,n){var r=(n=k(n,e.options)).strict;return r&&g.test(t)&&P("malformed character reference"),t.replace(v,(function(e,t,o,i,a,s,l,c,u){var d,p,f,h,m,g;return t?b[m=t]:o?(m=o,(g=i)&&n.isAttributeValue?(r&&"="==g&&P("`&` did not start a character reference"),e):(r&&P("named character reference was not terminated by a semicolon"),_[m]+(g||""))):a?(f=a,p=s,r&&!p&&P("character reference was not terminated by a semicolon"),d=parseInt(f,10),O(d,r)):l?(h=l,p=c,r&&!p&&P("character reference was not terminated by a semicolon"),d=parseInt(h,16),O(d,r)):(r&&P("named character reference was not terminated by a semicolon"),e)}))};I.options={isAttributeValue:!1,strict:!1};var M={version:"1.2.0",encode:R,decode:I,escape:function(e){return e.replace(h,(function(e){return m[e]}))},unescape:I};if("object"==o(n.amdO)&&n.amdO)void 0===(r=function(){return M}.call(t,n,t,e))||(e.exports=r);else if(a&&!a.nodeType)if(s)s.exports=M;else for(var N in M)x(M,N)&&(a[N]=M[N]);else i.he=M}(this)},16301:(e,t,n)=>{function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||i(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 o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(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 i(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===h(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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];"object"!=h(n)||Object.isFrozen(n)||m(n)})),e}n(66992),n(51532),n(41539),n(78783),n(33948),n(70189),n(43371),n(54747),n(36210),n(98410),n(74916),n(15306),n(92222),n(69600),n(24603),n(39714),n(21249),n(9653),n(19601),n(23123),n(4723),n(47941),n(26699),n(34553),n(40561),n(47042),n(32023),n(82526),n(41817),n(69826),n(23157),n(57327),n(2707),n(68309),n(32165),n(30489),n(12419),n(91038);var g=m,y=m;g.default=y;var v=function(){"use strict";function e(t){d(this,e),void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}return f(e,[{key:"ignoreMatch",value:function(){this.isMatchIgnored=!0}}]),e}();function b(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function _(e){var t=Object.create(null);for(var n in e)t[n]=e[n];for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.forEach((function(e){for(var n in e)t[n]=e[n]})),t}var w=function(e){return!!e.kind},C=function(){"use strict";function e(t,n){d(this,e),this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}return f(e,[{key:"addText",value:function(e){this.buffer+=b(e)}},{key:"openNode",value:function(e){if(w(e)){var t=e.kind;e.sublanguage||(t="".concat(this.classPrefix).concat(t)),this.span(t)}}},{key:"closeNode",value:function(e){w(e)&&(this.buffer+="</span>")}},{key:"value",value:function(){return this.buffer}},{key:"span",value:function(e){this.buffer+='<span class="'.concat(e,'">')}}]),e}(),S=function(e){"use strict";!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}}),t&&s(e,t)}(n,e);var t=l(n);function n(e){var r;return d(this,n),(r=t.call(this)).options=e,r}return f(n,[{key:"addKeyword",value:function(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}},{key:"addText",value:function(e){""!==e&&this.add(e)}},{key:"addSublanguage",value:function(e,t){var n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}},{key:"toHTML",value:function(){return new C(this,this.options).value()}},{key:"finalize",value:function(){return!0}}]),n}(function(){"use strict";function e(){d(this,e),this.rootNode={children:[]},this.stack=[this.rootNode]}return f(e,[{key:"top",get:function(){return this.stack[this.stack.length-1]}},{key:"root",get:function(){return this.rootNode}},{key:"add",value:function(e){this.top.children.push(e)}},{key:"openNode",value:function(e){var t={kind:e,children:[]};this.add(t),this.stack.push(t)}},{key:"closeNode",value:function(){if(this.stack.length>1)return this.stack.pop()}},{key:"closeAllNodes",value:function(){for(;this.closeNode(););}},{key:"toJSON",value:function(){return JSON.stringify(this.rootNode,null,4)}},{key:"walk",value:function(e){return this.constructor._walk(e,this.rootNode)}}],[{key:"_walk",value:function(e,t){var n=this;return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((function(t){return n._walk(e,t)})),e.closeNode(t)),e}},{key:"_collapse",value:function(t){"string"!=typeof t&&t.children&&(t.children.every((function(e){return"string"==typeof e}))?t.children=[t.children.join("")]:t.children.forEach((function(t){e._collapse(t)})))}}]),e}());function E(e){return e?"string"==typeof e?e:e.source:null}function x(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return E(e)})).join("");return r}function k(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="("+t.map((function(e){return E(e)})).join("|")+")";return r}var O=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;var T="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A={begin:"\\\\[\\s\\S]",relevance:0},P={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[A]},R={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},I={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(I),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},N=M("//","$"),D=M("/\\*","\\*/"),j=M("#","$"),L={className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},B={className:"number",begin:T,relevance:0},F={className:"number",begin:"\\b(0b[01]+)",relevance:0},U={className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},H={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]}]},V={className:"title",begin:"[a-zA-Z]\\w*",relevance:0},z={className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},q={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},G=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:T,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=/^#![ ]*\//;return e.binary&&(e.begin=x(t,/.*\b/,e.binary,/\b.*/)),_({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":function(e,t){0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:A,APOS_STRING_MODE:P,QUOTE_STRING_MODE:R,PHRASAL_WORDS_MODE:I,COMMENT:M,C_LINE_COMMENT_MODE:N,C_BLOCK_COMMENT_MODE:D,HASH_COMMENT_MODE:j,NUMBER_MODE:L,C_NUMBER_MODE:B,BINARY_NUMBER_MODE:F,CSS_NUMBER_MODE:U,REGEXP_MODE:H,TITLE_MODE:V,UNDERSCORE_TITLE_MODE:z,METHOD_GUARD:q,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":function(e,t){t.data._beginMatch=e[1]},"on:end":function(e,t){t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function W(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Y(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=W,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Z(e,t){Array.isArray(e.illegal)&&(e.illegal=k.apply(void 0,o(e.illegal)))}function K(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function $(e,t){void 0===e.relevance&&(e.relevance=1)}var Q=["of","and","for","in","not","or","if","then","parent","list","value"];function X(e,t){return t?Number(t):function(e){return Q.includes(e.toLowerCase())}(e)?0:1}function J(e,t){t.plugins;function n(t,n){return new RegExp(E(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}var i=function(){"use strict";function e(){d(this,e),this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}return f(e,[{key:"addRule",value:function(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}},{key:"compile",value:function(){0===this.regexes.length&&(this.exec=function(){return null});var e=this.regexes.map((function(e){return e[1]}));this.matcherRe=n(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"|",n=0;return e.map((function(e){for(var t=n+=1,r=E(e),o="";r.length>0;){var i=O.exec(r);if(!i){o+=r;break}o+=r.substring(0,i.index),r=r.substring(i.index+i[0].length),"\\"===i[0][0]&&i[1]?o+="\\"+String(Number(i[1])+t):(o+=i[0],"("===i[0]&&n++)}return o})).map((function(e){return"(".concat(e,")")})).join(t)}(e),!0),this.lastIndex=0}},{key:"exec",value:function(e){this.matcherRe.lastIndex=this.lastIndex;var t=this.matcherRe.exec(e);if(!t)return null;var n=t.findIndex((function(e,t){return t>0&&void 0!==e})),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}]),e}(),a=function(){"use strict";function e(){d(this,e),this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}return f(e,[{key:"getMatcher",value:function(e){if(this.multiRegexes[e])return this.multiRegexes[e];var t=new i;return this.rules.slice(e).forEach((function(e){var n=r(e,2),o=n[0],i=n[1];return t.addRule(o,i)})),t.compile(),this.multiRegexes[e]=t,t}},{key:"resumingScanAtSamePosition",value:function(){return 0!==this.regexIndex}},{key:"considerAll",value:function(){this.regexIndex=0}},{key:"addRule",value:function(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}},{key:"exec",value:function(e){var t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;var n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{var r=this.getMatcher(0);r.lastIndex=this.lastIndex+1,n=r.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}]),e}();if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=_(e.classNameAliases||{}),function t(r,i){var s,l=r;if(r.isCompiled)return l;[K].forEach((function(e){return e(r,i)})),e.compilerExtensions.forEach((function(e){return e(r,i)})),r.__beforeBegin=null,[Y,Z,$].forEach((function(e){return e(r,i)})),r.isCompiled=!0;var c=null;if("object"===h(r.keywords)&&(c=r.keywords.$pattern,delete r.keywords.$pattern),r.keywords&&(r.keywords=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"keyword",o={};return"string"==typeof t?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach((function(r){Object.assign(o,e(t[r],n,r))})),o;function i(e,t){n&&(t=t.map((function(e){return e.toLowerCase()}))),t.forEach((function(t){var n=t.split("|");o[n[0]]=[e,X(n[0],n[1])]}))}}(r.keywords,e.case_insensitive)),r.lexemes&&c)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return c=c||r.lexemes||/\w+/,l.keywordPatternRe=n(c,!0),i&&(r.begin||(r.begin=/\B|\b/),l.beginRe=n(r.begin),r.endSameAsBegin&&(r.end=r.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(l.endRe=n(r.end)),l.terminatorEnd=E(r.end)||"",r.endsWithParent&&i.terminatorEnd&&(l.terminatorEnd+=(r.end?"|":"")+i.terminatorEnd)),r.illegal&&(l.illegalRe=n(r.illegal)),r.contains||(r.contains=[]),r.contains=(s=[]).concat.apply(s,o(r.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return _(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(e))return _(e,{starts:e.starts?_(e.starts):null});if(Object.isFrozen(e))return _(e);return e}("self"===e?r:e)})))),r.contains.forEach((function(e){t(e,l)})),r.starts&&t(r.starts,i),l.matcher=function(e){var t=new a;return e.contains.forEach((function(e){return t.addRule(e.begin,{rule:e,type:"begin"})})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(l),l}(e)}function ee(e){var t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className:function(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted:function(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn('The language "'.concat(this.language,'" you specified could not be found.')),this.unknownLanguage=!0,b(this.code);var t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect:function(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:function(){return!0}},render:function(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install:function(e){e.component("highlightjs",t)}}}}var te={"after:highlightElement":function(e){var t=e.el,n=e.result,r=e.text,o=re(t);if(o.length){var i=document.createElement("div");i.innerHTML=n.value,n.value=function(e,t,n){var r=0,o="",i=[];function a(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function s(e){o+="<"+ne(e)+[].map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+b(e.value)+'"'})).join("")+">"}function l(e){o+="</"+ne(e)+">"}function c(e){("start"===e.event?s:l)(e.node)}for(;e.length||t.length;){var u=a();if(o+=b(n.substring(r,u[0].offset)),r=u[0].offset,u===e){i.reverse().forEach(l);do{c(u.splice(0,1)[0]),u=a()}while(u===e&&u.length&&u[0].offset===r);i.reverse().forEach(s)}else"start"===u[0].event?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return o+b(n.substr(r))}(o,re(i),r)}}};function ne(e){return e.nodeName.toLowerCase()}function re(e){var t=[];return function e(n,r){for(var o=n.firstChild;o;o=o.nextSibling)3===o.nodeType?r+=o.nodeValue.length:1===o.nodeType&&(t.push({event:"start",offset:r,node:o}),r=e(o,r),ne(o).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:o}));return r}(e,0),t}var oe={},ie=function(e){console.error(e)},ae=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=console).log.apply(t,["WARN: ".concat(e)].concat(r))},se=function(e,t){oe["".concat(e,"/").concat(t)]||(console.log("Deprecated as of ".concat(e,". ").concat(t)),oe["".concat(e,"/").concat(t)]=!0)},le=b,ce=_,ue=Symbol("nomatch"),de=function(e){var t=Object.create(null),n=Object.create(null),o=[],i=!0,a=/(^(<[^>]+>|\t|)+|\n)/gm,s="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},c={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:S};function u(e){return c.noHighlightRe.test(e)}function d(e,t,n,r){var o="",i="";"object"===h(t)?(o=e,n=t.ignoreIllegals,i=t.language,r=void 0):(se("10.7.0","highlight(lang, code, ...args) has been deprecated."),se("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,o=t);var a={code:o,language:i};O("before:highlight",a);var s=a.result?a.result:p(a.language,a.code,n,r);return s.code=a.code,O("after:highlight",s),s}function p(e,n,a,l){function u(e,t){var n=w.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}function d(){null!=x.subLanguage?function(){if(""!==T){var e=null;if("string"==typeof x.subLanguage){if(!t[x.subLanguage])return void O.addText(T);e=p(x.subLanguage,T,!0,k[x.subLanguage]),k[x.subLanguage]=e.top}else e=f(T,x.subLanguage.length?x.subLanguage:null);x.relevance>0&&(A+=e.relevance),O.addSublanguage(e.emitter,e.language)}}():function(){if(x.keywords){var e=0;x.keywordPatternRe.lastIndex=0;for(var t=x.keywordPatternRe.exec(T),n="";t;){n+=T.substring(e,t.index);var o=u(x,t);if(o){var i=r(o,2),a=i[0],s=i[1];if(O.addText(n),n="",A+=s,a.startsWith("_"))n+=t[0];else{var l=w.classNameAliases[a]||a;O.addKeyword(t[0],l)}}else n+=t[0];e=x.keywordPatternRe.lastIndex,t=x.keywordPatternRe.exec(T)}n+=T.substr(e),O.addText(n)}else O.addText(T)}(),T=""}function h(e){return e.className&&O.openNode(w.classNameAliases[e.className]||e.className),x=Object.create(e,{parent:{value:x}})}function m(e){return 0===x.matcher.regexIndex?(T+=e[0],1):(I=!0,0)}function g(e){for(var t=e[0],n=e.rule,r=new v(n),o=0,i=[n.__beforeBegin,n["on:begin"]];o<i.length;o++){var a=i[o];if(a&&(a(e,r),r.isMatchIgnored))return m(t)}return n&&n.endSameAsBegin&&(n.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),n.skip?T+=t:(n.excludeBegin&&(T+=t),d(),n.returnBegin||n.excludeBegin||(T=t)),h(n),n.returnBegin?0:t.length}function y(e){var t=e[0],r=n.substr(e.index),o=function e(t,n,r){var o=function(e,t){var n=e&&e.exec(t);return n&&0===n.index}(t.endRe,r);if(o){if(t["on:end"]){var i=new v(t);t["on:end"](n,i),i.isMatchIgnored&&(o=!1)}if(o){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,n,r)}(x,e,r);if(!o)return ue;var i=x;i.skip?T+=t:(i.returnEnd||i.excludeEnd||(T+=t),d(),i.excludeEnd&&(T=t));do{x.className&&O.closeNode(),x.skip||x.subLanguage||(A+=x.relevance),x=x.parent}while(x!==o.parent);return o.starts&&(o.endSameAsBegin&&(o.starts.endRe=o.endRe),h(o.starts)),i.returnEnd?0:t.length}var b={};function _(t,r){var o=r&&r[0];if(T+=t,null==o)return d(),0;if("begin"===b.type&&"end"===r.type&&b.index===r.index&&""===o){if(T+=n.slice(r.index,r.index+1),!i){var s=new Error("0 width match regex");throw s.languageName=e,s.badRule=b.rule,s}return 1}if(b=r,"begin"===r.type)return g(r);if("illegal"===r.type&&!a){var l=new Error('Illegal lexeme "'+o+'" for mode "'+(x.className||"<unnamed>")+'"');throw l.mode=x,l}if("end"===r.type){var c=y(r);if(c!==ue)return c}if("illegal"===r.type&&""===o)return 1;if(R>1e5&&R>3*r.index)throw new Error("potential infinite loop, way more iterations than matches");return T+=o,o.length}var w=E(e);if(!w)throw ie(s.replace("{}",e)),new Error('Unknown language: "'+e+'"');var C=J(w,{plugins:o}),S="",x=l||C,k={},O=new c.__emitter(c);!function(){for(var e=[],t=x;t!==w;t=t.parent)t.className&&e.unshift(t.className);e.forEach((function(e){return O.openNode(e)}))}();var T="",A=0,P=0,R=0,I=!1;try{for(x.matcher.considerAll();;){R++,I?I=!1:x.matcher.considerAll(),x.matcher.lastIndex=P;var M=x.matcher.exec(n);if(!M)break;var N=_(n.substring(P,M.index),M);P=M.index+N}return _(n.substr(P)),O.closeAllNodes(),O.finalize(),S=O.toHTML(),{relevance:Math.floor(A),value:S,language:e,illegal:!1,emitter:O,top:x}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:n.slice(P-100,P+100),mode:t.mode},sofar:S,relevance:0,value:le(n),emitter:O};if(i)return{illegal:!1,relevance:0,value:le(n),emitter:O,language:e,top:x,errorRaised:t};throw t}}function f(e,n){n=n||c.languages||Object.keys(t);var o=function(e){var t={relevance:0,emitter:new c.__emitter(c),value:le(e),illegal:!1,top:l};return t.emitter.addText(e),t}(e),i=n.filter(E).filter(k).map((function(t){return p(t,e,!1)}));i.unshift(o);var a=r(i.sort((function(e,t){if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(E(e.language).supersetOf===t.language)return 1;if(E(t.language).supersetOf===e.language)return-1}return 0})),2),s=a[0],u=a[1],d=s;return d.second_best=u,d}var m={"before:highlightElement":function(e){var t=e.el;c.useBR&&(t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":function(e){var t=e.result;c.useBR&&(t.value=t.value.replace(/\n/g,"<br>"))}},y=/^(<[^>]+>|\t)+/gm,b={"after:highlightElement":function(e){var t=e.result;c.tabReplace&&(t.value=t.value.replace(y,(function(e){return e.replace(/\t/g,c.tabReplace)})))}};function _(e){var t=function(e){var t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";var n=c.languageDetectRe.exec(t);if(n){var r=E(n[1]);return r||(ae(s.replace("{}",n[1])),ae("Falling back to no-highlight mode for this block.",e)),r?n[1]:"no-highlight"}return t.split(/\s+/).find((function(e){return u(e)||E(e)}))}(e);if(!u(t)){O("before:highlightElement",{el:e,language:t});var r=e.textContent,o=t?d(r,{language:t,ignoreIllegals:!0}):f(r);O("after:highlightElement",{el:e,result:o,text:r}),e.innerHTML=o.value,function(e,t,r){var o=t?n[t]:r;e.classList.add("hljs"),o&&e.classList.add(o)}(e,t,o.language),e.result={language:o.language,re:o.relevance,relavance:o.relevance},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.relevance,relavance:o.second_best.relevance})}}var w=!1;function C(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(_):w=!0}function E(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function x(e,t){var r=t.languageName;"string"==typeof e&&(e=[e]),e.forEach((function(e){n[e.toLowerCase()]=r}))}function k(e){var t=E(e);return t&&!t.disableAutodetect}function O(e,t){var n=e;o.forEach((function(e){e[n]&&e[n](t)}))}for(var T in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){w&&C()}),!1),Object.assign(e,{highlight:d,highlightAuto:f,highlightAll:C,fixMarkup:function(e){return se("10.2.0","fixMarkup will be removed entirely in v11.0"),se("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,c.tabReplace||c.useBR?t.replace(a,(function(e){return"\n"===e?c.useBR?"<br>":e:c.tabReplace?e.replace(/\t/g,c.tabReplace):e})):t;var t},highlightElement:_,highlightBlock:function(e){return se("10.7.0","highlightBlock will be removed entirely in v12.0"),se("10.7.0","Please use highlightElement now."),_(e)},configure:function(e){e.useBR&&(se("10.3.0","'useBR' will be removed entirely in v11.0"),se("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),c=ce(c,e)},initHighlighting:function e(){e.called||(e.called=!0,se("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(_))},initHighlightingOnLoad:function(){se("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),w=!0},registerLanguage:function(n,r){var o=null;try{o=r(e)}catch(e){if(ie("Language definition for '{}' could not be registered.".replace("{}",n)),!i)throw e;ie(e),o=l}o.name||(o.name=n),t[n]=o,o.rawDefinition=r.bind(null,e),o.aliases&&x(o.aliases,{languageName:n})},unregisterLanguage:function(e){delete t[e];for(var r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];n[i]===e&&delete n[i]}},listLanguages:function(){return Object.keys(t)},getLanguage:E,registerAliases:x,requireLanguage:function(e){se("10.4.0","requireLanguage will be removed entirely in v11."),se("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");var t=E(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:k,inherit:ce,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=function(t){e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=function(t){e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),o.push(e)},vuePlugin:ee(e).VuePlugin}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString="10.7.3",G)"object"===h(G[T])&&g(G[T]);return Object.assign(e,G),e.addPlugin(m),e.addPlugin(te),e.addPlugin(b),e}({});e.exports=de},60311:(e,t,n)=>{var r=n(16301);r.registerLanguage("1c",n(18141)),r.registerLanguage("abnf",n(84749)),r.registerLanguage("accesslog",n(44953)),r.registerLanguage("actionscript",n(6453)),r.registerLanguage("ada",n(74580)),r.registerLanguage("angelscript",n(45653)),r.registerLanguage("apache",n(1676)),r.registerLanguage("applescript",n(16700)),r.registerLanguage("arcade",n(15143)),r.registerLanguage("arduino",n(3720)),r.registerLanguage("armasm",n(90976)),r.registerLanguage("xml",n(79457)),r.registerLanguage("asciidoc",n(68759)),r.registerLanguage("aspectj",n(82809)),r.registerLanguage("autohotkey",n(87886)),r.registerLanguage("autoit",n(22729)),r.registerLanguage("avrasm",n(83061)),r.registerLanguage("awk",n(64504)),r.registerLanguage("axapta",n(55644)),r.registerLanguage("bash",n(33950)),r.registerLanguage("basic",n(63309)),r.registerLanguage("bnf",n(76220)),r.registerLanguage("brainfuck",n(59553)),r.registerLanguage("c-like",n(80960)),r.registerLanguage("c",n(61981)),r.registerLanguage("cal",n(33167)),r.registerLanguage("capnproto",n(11139)),r.registerLanguage("ceylon",n(92472)),r.registerLanguage("clean",n(45136)),r.registerLanguage("clojure",n(55272)),r.registerLanguage("clojure-repl",n(83776)),r.registerLanguage("cmake",n(82984)),r.registerLanguage("coffeescript",n(41515)),r.registerLanguage("coq",n(67696)),r.registerLanguage("cos",n(91771)),r.registerLanguage("cpp",n(227)),r.registerLanguage("crmsh",n(52685)),r.registerLanguage("crystal",n(32599)),r.registerLanguage("csharp",n(16718)),r.registerLanguage("csp",n(65929)),r.registerLanguage("css",n(89210)),r.registerLanguage("d",n(82399)),r.registerLanguage("markdown",n(8224)),r.registerLanguage("dart",n(40494)),r.registerLanguage("delphi",n(66187)),r.registerLanguage("diff",n(74341)),r.registerLanguage("django",n(84567)),r.registerLanguage("dns",n(95362)),r.registerLanguage("dockerfile",n(84421)),r.registerLanguage("dos",n(82901)),r.registerLanguage("dsconfig",n(89153)),r.registerLanguage("dts",n(60377)),r.registerLanguage("dust",n(45971)),r.registerLanguage("ebnf",n(89944)),r.registerLanguage("elixir",n(30231)),r.registerLanguage("elm",n(84180)),r.registerLanguage("ruby",n(54458)),r.registerLanguage("erb",n(74552)),r.registerLanguage("erlang-repl",n(88843)),r.registerLanguage("erlang",n(88758)),r.registerLanguage("excel",n(20715)),r.registerLanguage("fix",n(29834)),r.registerLanguage("flix",n(84908)),r.registerLanguage("fortran",n(65977)),r.registerLanguage("fsharp",n(98810)),r.registerLanguage("gams",n(24106)),r.registerLanguage("gauss",n(11342)),r.registerLanguage("gcode",n(2565)),r.registerLanguage("gherkin",n(67580)),r.registerLanguage("glsl",n(2212)),r.registerLanguage("gml",n(77964)),r.registerLanguage("go",n(51464)),r.registerLanguage("golo",n(50675)),r.registerLanguage("gradle",n(80481)),r.registerLanguage("groovy",n(48903)),r.registerLanguage("haml",n(14801)),r.registerLanguage("handlebars",n(11909)),r.registerLanguage("haskell",n(92807)),r.registerLanguage("haxe",n(20560)),r.registerLanguage("hsp",n(65138)),r.registerLanguage("htmlbars",n(3598)),r.registerLanguage("http",n(12183)),r.registerLanguage("hy",n(95035)),r.registerLanguage("inform7",n(9171)),r.registerLanguage("ini",n(97970)),r.registerLanguage("irpf90",n(89612)),r.registerLanguage("isbl",n(16236)),r.registerLanguage("java",n(84756)),r.registerLanguage("javascript",n(25489)),r.registerLanguage("jboss-cli",n(48019)),r.registerLanguage("json",n(5392)),r.registerLanguage("julia",n(13405)),r.registerLanguage("julia-repl",n(29957)),r.registerLanguage("kotlin",n(38239)),r.registerLanguage("lasso",n(93436)),r.registerLanguage("latex",n(81389)),r.registerLanguage("ldif",n(7931)),r.registerLanguage("leaf",n(54079)),r.registerLanguage("less",n(17929)),r.registerLanguage("lisp",n(93760)),r.registerLanguage("livecodeserver",n(56327)),r.registerLanguage("livescript",n(1127)),r.registerLanguage("llvm",n(43305)),r.registerLanguage("lsl",n(70248)),r.registerLanguage("lua",n(61644)),r.registerLanguage("makefile",n(17331)),r.registerLanguage("mathematica",n(74276)),r.registerLanguage("matlab",n(49124)),r.registerLanguage("maxima",n(50237)),r.registerLanguage("mel",n(49751)),r.registerLanguage("mercury",n(7833)),r.registerLanguage("mipsasm",n(15743)),r.registerLanguage("mizar",n(51183)),r.registerLanguage("perl",n(93791)),r.registerLanguage("mojolicious",n(83219)),r.registerLanguage("monkey",n(97808)),r.registerLanguage("moonscript",n(17525)),r.registerLanguage("n1ql",n(5290)),r.registerLanguage("nginx",n(19837)),r.registerLanguage("nim",n(34233)),r.registerLanguage("nix",n(40402)),r.registerLanguage("node-repl",n(36923)),r.registerLanguage("nsis",n(39111)),r.registerLanguage("objectivec",n(59942)),r.registerLanguage("ocaml",n(22171)),r.registerLanguage("openscad",n(284)),r.registerLanguage("oxygene",n(58932)),r.registerLanguage("parser3",n(88525)),r.registerLanguage("pf",n(37940)),r.registerLanguage("pgsql",n(25163)),r.registerLanguage("php",n(11866)),r.registerLanguage("php-template",n(90684)),r.registerLanguage("plaintext",n(54249)),r.registerLanguage("pony",n(84521)),r.registerLanguage("powershell",n(68986)),r.registerLanguage("processing",n(2283)),r.registerLanguage("profile",n(86209)),r.registerLanguage("prolog",n(26695)),r.registerLanguage("properties",n(44621)),r.registerLanguage("protobuf",n(6348)),r.registerLanguage("puppet",n(29247)),r.registerLanguage("purebasic",n(82783)),r.registerLanguage("python",n(69509)),r.registerLanguage("python-repl",n(90258)),r.registerLanguage("q",n(40848)),r.registerLanguage("qml",n(63650)),r.registerLanguage("r",n(84389)),r.registerLanguage("reasonml",n(69687)),r.registerLanguage("rib",n(16044)),r.registerLanguage("roboconf",n(26550)),r.registerLanguage("routeros",n(43312)),r.registerLanguage("rsl",n(97848)),r.registerLanguage("ruleslanguage",n(95264)),r.registerLanguage("rust",n(78288)),r.registerLanguage("sas",n(83274)),r.registerLanguage("scala",n(23601)),r.registerLanguage("scheme",n(69254)),r.registerLanguage("scilab",n(57828)),r.registerLanguage("scss",n(8200)),r.registerLanguage("shell",n(90859)),r.registerLanguage("smali",n(28765)),r.registerLanguage("smalltalk",n(30394)),r.registerLanguage("sml",n(23692)),r.registerLanguage("sqf",n(84078)),r.registerLanguage("sql_more",n(31731)),r.registerLanguage("sql",n(69703)),r.registerLanguage("stan",n(37787)),r.registerLanguage("stata",n(83406)),r.registerLanguage("step21",n(8773)),r.registerLanguage("stylus",n(4253)),r.registerLanguage("subunit",n(42985)),r.registerLanguage("swift",n(58243)),r.registerLanguage("taggerscript",n(97578)),r.registerLanguage("yaml",n(18001)),r.registerLanguage("tap",n(23822)),r.registerLanguage("tcl",n(65837)),r.registerLanguage("thrift",n(29677)),r.registerLanguage("tp",n(97029)),r.registerLanguage("twig",n(69878)),r.registerLanguage("typescript",n(31841)),r.registerLanguage("vala",n(86236)),r.registerLanguage("vbnet",n(55962)),r.registerLanguage("vbscript",n(33095)),r.registerLanguage("vbscript-html",n(26835)),r.registerLanguage("verilog",n(21554)),r.registerLanguage("vhdl",n(90172)),r.registerLanguage("vim",n(24431)),r.registerLanguage("x86asm",n(28879)),r.registerLanguage("xl",n(33843)),r.registerLanguage("xquery",n(66500)),r.registerLanguage("zephir",n(33501)),e.exports=r},18141:e=>{e.exports=function(e){var t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",n="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",r="null истина ложь неопределено",o=e.inherit(e.NUMBER_MODE),i={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},a={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},s=e.inherit(e.C_LINE_COMMENT_MODE);return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:n,built_in:"разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",class:"webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",type:"comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",literal:r},contains:[{className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,"meta-keyword":n+"загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент "},contains:[s]},{className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:r},contains:[o,i,a]},s]},e.inherit(e.TITLE_MODE,{begin:t})]},s,{className:"symbol",begin:"~",end:";|:",excludeEnd:!0},o,i,a]}}},84749:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},n=e.COMMENT(/;/,/$/),r={className:"attribute",begin:o(t.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:t.unexpectedChars,keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],contains:[r,n,{className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},{className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},{className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},{className:"symbol",begin:/%[si]/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}},44953:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}n(69600),n(21249),e.exports=function(e){var t=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:o(/"/,i.apply(void 0,t)),end:/"/,keywords:t,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}},6453:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t={className:"rest_arg",begin:/[.]{3}/,end:/[a-zA-Z_$][a-zA-Z0-9_$]*/,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t]},{begin:o(/:\s*/,/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/)}]},e.METHOD_GUARD],illegal:/#/}}},74580:e=>{e.exports=function(e){var t="[A-Za-z](_?[A-Za-z0-9.])*",n=e.COMMENT("--","$"),r={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:"[]\\{\\}%#'\"",contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:t,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[n,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:"\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",relevance:0},{className:"symbol",begin:"'"+t},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:"[]\\{\\}%#'\""},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[n,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:"[]\\{\\}%#'\""},r,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:"[]\\{\\}%#'\""}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:"[]\\{\\}%#'\""},r]}}},45653:e=>{e.exports=function(e){var t={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[r],n.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}},1676:e=>{e.exports=function(e){var t={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[t,{className:"number",begin:/:\d{1,5}/},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",{className:"number",begin:/[$%]\d+/}]},t,{className:"number",begin:/\d+/},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}},16700:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}n(69600),n(21249),n(92222),e.exports=function(e){var t=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),n={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,t]},r=e.COMMENT(/--/,/$/),a=[r,e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[t,e.C_NUMBER_MODE,{className:"built_in",begin:o(/\b/,i.apply(void 0,[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/]),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:o(/\b/,i.apply(void 0,[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/]),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,n]}].concat(a),illegal:/\/\/|->|=>|\[\[/}}},15143:(e,t,n)=>{n(92222),e.exports=function(e){var t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},r={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},i={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,r,e.REGEXP_MODE];var a=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},r,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:a}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:a}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}},3720:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return i("(",e,")?")}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(92222),n(68309),e.exports=function(e){var t="boolean byte word String",n="KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",r="setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",a="DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW",s=function(e){var t,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="(decltype\\(auto\\)|"+o("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+o("<[^<>]+>")+")",a={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:o("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},d=o("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",p={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},f={className:"function.dispatch",relevance:0,keywords:p,begin:i(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,e.IDENT_RE,(t=/\s*\(/,i("(?=",t,")")))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+r+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}}(e),l=s.keywords;return l.keyword+=" "+t,l.literal+=" "+a,l.built_in+=" "+n,l._+=" "+r,s.name="Arduino",s.aliases=["ino"],s.supersetOf="cpp",s}},90976:e=>{e.exports=function(e){var t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}},68759:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(92222),e.exports=function(e){var t=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:o(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],n=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:o(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}];return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10}].concat([{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],t,n,[{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}])}}},82809:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance";return{name:"AspectJ",keywords:t,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:t+" get set args call",excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:o(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:t,illegal:/["\[\]]/,contains:[{begin:o(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:t+" get set args call",relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:t,excludeEnd:!0,contains:[{begin:o(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:t,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}},87886:e=>{e.exports=function(e){var t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}},22729:e=>{e.exports=function(e){var t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={begin:"\\$[A-z0-9_]+"},r={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},o={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",literal:"True False And Null Not Or Default"},contains:[t,n,r,o,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"]},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[r,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},r,t]},{className:"symbol",begin:"@[A-z0-9_]+"},{className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[n,r,o]}]}]}}},83061:e=>{e.exports=function(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}},64504:e=>{e.exports=function(e){return{name:"Awk",keywords:{keyword:"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},contains:[{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}},55644:e=>{e.exports=function(e){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]}]}}},33950:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(19601),e.exports=function(e){var t={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:o(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});var r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,r]};r.contains.push(a);var s={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},l=e.SHEBANG({binary:"(".concat(["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|"),")"),relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[l,e.SHEBANG(),c,s,e.HASH_COMMENT_MODE,i,a,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}}},63309:e=>{e.exports=function(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}},76220:e=>{e.exports=function(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}},59553:e=>{e.exports=function(e){var t={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[t]},t]}}},80960:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return i("(",e,")?")}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(92222),e.exports=function(e){var t,n,r=function(e){var t,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="(decltype\\(auto\\)|"+o("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+o("<[^<>]+>")+")",a={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:o("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},d=o("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",p={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},f={className:"function.dispatch",relevance:0,keywords:p,begin:i(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,e.IDENT_RE,(t=/\s*\(/,i("(?=",t,")")))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+r+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}}(e);return r.disableAutodetect=!0,r.aliases=[],e.getLanguage("c")||(t=r.aliases).push.apply(t,["c","h"]),e.getLanguage("cpp")||(n=r.aliases).push.apply(n,["cc","c++","h++","hpp","hh","hxx","cxx"]),r}},61981:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}("(",e,")?")}n(69600),n(21249),n(92222),e.exports=function(e){var t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="(decltype\\(auto\\)|"+o("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+o("<[^<>]+>")+")",r={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},i={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:o("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=o("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",u={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[s,r,t,e.C_BLOCK_COMMENT_MODE,a,i],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:d.concat([{begin:/\(/,end:/\)/,keywords:u,contains:d.concat(["self"]),relevance:0}]),relevance:0},f={className:"function",begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:u,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,i,a,r,{begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,i,a,r]}]},r,t,e.C_BLOCK_COMMENT_MODE,s]};return{name:"C",aliases:["h"],keywords:u,disableAutodetect:!0,illegal:"</",contains:[].concat(p,f,d,[s,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:u,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:u},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:s,strings:i,keywords:u}}}},33167:(e,t,n)=>{n(92222),e.exports=function(e){var t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},i={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,o]}].concat(n)},a={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[e.TITLE_MODE,i]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:t,literal:"false true"},illegal:/\/\*/,contains:[r,o,{className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"string",begin:'"',end:'"'},e.NUMBER_MODE,a,i]}}},11139:e=>{e.exports=function(e){return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}},92472:(e,t,n)=>{n(92222),e.exports=function(e){var t="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",n={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},r=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[n]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return n.contains=r,{name:"Ceylon",keywords:{keyword:t+" shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",meta:"doc by license see throws tagged"},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(r)}}},45136:e=>{e.exports=function(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}},83776:e=>{e.exports=function(e){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}},55272:(e,t,n)=>{n(92222),e.exports=function(e){var t="[a-zA-Z_\\-!.?+*=<>&#'][a-zA-Z_\\-!.?+*=<>&#'0-9/;:]*",n="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:t,"builtin-name":n+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:t,relevance:0},i={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b(true|false|nil)\b/},c={begin:"[\\[\\{]",end:"[\\]\\}]"},u={className:"comment",begin:"\\^"+t},d=e.COMMENT("\\^\\{","\\}"),p={className:"symbol",begin:"[:]{1,2}"+t},f={begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},m={keywords:r,className:"name",begin:t,relevance:0,starts:h},g=[f,a,u,d,s,p,c,i,l,o],y={beginKeywords:n,lexemes:t,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(g)};return f.contains=[e.COMMENT("comment",""),y,m,h],h.contains=g,c.contains=g,d.contains=[c],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[f,a,u,d,s,p,c,i,l]}}},82984:e=>{e.exports=function(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}},41515:(e,t,n)=>{n(92222),n(26699),n(32023),n(57327);var r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],o=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);e.exports=function(e){var t,n={keyword:r.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((t=["var","const","let","function","static"],function(e){return!t.includes(e)})),literal:o.concat(["yes","no","on","off"]),built_in:i.concat(["npm","print"])},a="[A-Za-z$_][0-9A-Za-z$_]*",s={className:"subst",begin:/#\{/,end:/\}/,keywords:n},l=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[s,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+a},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];s.contains=l;var c=e.inherit(e.TITLE_MODE,{begin:a}),u={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(l)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:n,illegal:/\/\*/,contains:l.concat([e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+a+"\\s*=\\s*(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[c,u]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[u]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[c]},c]},{begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},67696:e=>{e.exports=function(e){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}},91771:e=>{e.exports=function(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}},227:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return i("(",e,")?")}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(92222),e.exports=function(e){var t,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="(decltype\\(auto\\)|"+o("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+o("<[^<>]+>")+")",a={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:o("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},d=o("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",p={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},f={className:"function.dispatch",relevance:0,keywords:p,begin:i(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,e.IDENT_RE,(t=/\s*\(/,i("(?=",t,")")))},h=[f,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+r+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,f,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:p,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}}},52685:(e,t,n)=>{n(69600),n(74916),n(23123),e.exports=function(e){var t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}},32599:(e,t,n)=>{n(47042),e.exports=function(e){var t="(_?[ui](8|16|32|64|128))?",n="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",r={$pattern:"[a-zA-Z_]\\w*[!?=]?",keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},o={className:"subst",begin:/#\{/,end:/\}/,keywords:r},i={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:r};function a(e,t){var n=[{begin:e,end:t}];return n[0].contains=n,n}var s={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:a("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:a("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:a(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:a("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},l={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:a("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:a("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:a(/\{/,/\}/)},{begin:"%q<",end:">",contains:a("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},c={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},u=[i,s,l,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:"%r\\(",end:"\\)",contains:a("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:a("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:a(/\{/,/\}/)},{begin:"%r<",end:">",contains:a("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},c,{className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"})]},e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[s,{begin:n}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?(_?f(32|64))?(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return o.contains=u,i.contains=u.slice(1),{name:"Crystal",aliases:["cr"],keywords:r,contains:u}}},16718:(e,t,n)=>{n(92222),n(69600),e.exports=function(e){var t={keyword:["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(o,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(a,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});a.contains=[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var d={variants:[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},f=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",h={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+f+"\\s+)+"+e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h]}}},65929:e=>{e.exports=function(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}},89210:(e,t,n)=>{n(69600),n(21249),n(92222);var r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function l(e){return e?"string"==typeof e?e:e.source:null}function c(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return l(e)})).join("");return r}("(?=",e,")")}e.exports=function(e){var t=function(e){return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}}(e),n=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:"::("+a.join("|")+")"}]},{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[t.HEXCOLOR,t.IMPORTANT,e.CSS_NUMBER_MODE].concat(n,[{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},{className:"built_in",begin:/[\w-]+(?=\()/}])},{begin:c(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"}].concat(n,[e.CSS_NUMBER_MODE])}]},{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b"}]}}},82399:e=>{e.exports=function(e){var t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="((0|[1-9][\\d_]*)|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))",r="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",o={className:"number",begin:"\\b"+n+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},i={className:"number",begin:"\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|"+n+"(i|[fF]i|Li))",relevance:0},a={className:"string",begin:"'("+r+"|.)",end:"'",illegal:"."},s={className:"string",begin:'"',contains:[{begin:r,relevance:0}],end:'"[cwd]?'},l=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},s,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},i,o,a,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}},40494:(e,t,n)=>{n(21249),n(92222),e.exports=function(e){var t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[e.C_NUMBER_MODE,r];var o=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],i=o.map((function(e){return"".concat(e,"?")}));return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:o.concat(i).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[r,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}},66187:(e,t,n)=>{n(92222),e.exports=function(e){var t="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},a={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},s={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[o,i,r].concat(n)},r].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[o,i,e.NUMBER_MODE,{className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a,s,r].concat(n)}}},74341:e=>{e.exports=function(e){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}},84567:e=>{e.exports=function(e){var t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}},95362:e=>{e.exports=function(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}},84421:e=>{e.exports=function(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}},82901:e=>{e.exports=function(e){var t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shift sort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}},89153:e=>{e.exports=function(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}},60377:e=>{e.exports=function(e){var t={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},n={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},r={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[e.inherit(t,{className:"meta-string"}),{className:"meta-string",begin:"<",end:">",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o={className:"variable",begin:/&[a-z\d_]*\b/},i={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",begin:"<",end:">",contains:[n,o]},l={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[o,i,a,l,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t]},o,i,a,l,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,r,{begin:e.IDENT_RE+"::",keywords:""}]}}},45971:e=>{e.exports=function(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}},89944:e=>{e.exports=function(e){var t=e.COMMENT(/\(\*/,/\*\)/);return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,{className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},{begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]}]}}},30231:e=>{e.exports=function(e){var t="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",n={$pattern:t,keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},r={className:"subst",begin:/#\{/,end:/\}/,keywords:n},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},i={className:"string",begin:"~[a-z](?=[/|([{<\"'])",contains:[{endsParent:!0,contains:[{contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]}]}]},a={className:"string",begin:"~[A-Z](?=[/|([{<\"'])",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},l={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:t,endsParent:!0})]},c=e.inherit(l,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),u=[s,a,i,e.HASH_COMMENT_MODE,c,l,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[s,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:t+":(?!:)",relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[o]},{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return r.contains=u,{name:"Elixir",keywords:n,contains:u}}},84180:e=>{e.exports=function(e){var t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,{begin:/\{/,end:/\}/,contains:r.contains},t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},{className:"string",begin:"'\\\\?.",end:"'",illegal:"."},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}},74552:e=>{e.exports=function(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}},88843:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:o(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}},88758:(e,t,n)=>{n(69600),n(21249),e.exports=function(e){var t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},o=e.COMMENT("%","$"),i={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},p={beginKeywords:"fun receive if try case",end:"end",keywords:r};p.contains=[o,a,e.inherit(e.APOS_STRING_MODE,{className:""}),p,s,e.QUOTE_STRING_MODE,i,l,c,u,d];var f=[o,a,p,s,e.QUOTE_STRING_MODE,i,l,c,u,d];s.contains[1].contains=f,l.contains=f,d.contains[1].contains=f;var h={className:"params",begin:"\\(",end:"\\)",contains:f};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[h,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:f}},o,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"].map((function(e){return"".concat(e,"|1.5")})).join(" ")},contains:[h]},i,e.QUOTE_STRING_MODE,d,c,u,l,{begin:/\.$/}]}}},20715:e=>{e.exports=function(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}},29834:e=>{e.exports=function(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}},84908:e=>{e.exports=function(e){var t={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"',end:'"'}]},t,e.C_NUMBER_MODE]}}},65977:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},n=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,i={className:"number",variants:[{begin:o(/\b\d+/,/\.(\d*)/,r,n)},{begin:o(/\b\d+/,r,n)},{begin:o(/\.\d+/,r,n)}],relevance:0},a={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[{className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},a,{begin:/^C\s*=(?!=)/,relevance:0},t,i]}}},98810:e=>{e.exports=function(e){var t={begin:"<",end:">",contains:[e.inherit(e.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},e.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE,t]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[e.BACKSLASH_ESCAPE]},e.C_LINE_COMMENT_MODE,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),e.C_NUMBER_MODE]}}},24106:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},i={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,l={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[i,a,{className:"comment",begin:o(s,(t=o(/[ ]+/,s),o("(",t,")*"))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,l]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[l]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r]},e.C_NUMBER_MODE,r]}}},11342:(e,t,n)=>{n(92222),n(69600),n(74916),n(23123),e.exports=function(e){var t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},o={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},i=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,o]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(t,r,o){var s=e.inherit({className:"function",beginKeywords:t,end:r,excludeEnd:!0,contains:[].concat(i)},o||{});return s.contains.push(a),s.contains.push(e.C_NUMBER_MODE),s.contains.push(e.C_BLOCK_COMMENT_MODE),s.contains.push(n),s},l={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},u={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,l,u,c,"self"]};return u.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,o]}}},2565:(e,t,n)=>{n(92222),e.exports=function(e){var t={$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},n=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),r=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),n,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[n],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:t,contains:[{className:"meta",begin:"%"},{className:"meta",begin:"([O])([0-9]+)"}].concat(r)}}},67580:e=>{e.exports=function(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}},2212:e=>{e.exports=function(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}},77964:e=>{e.exports=function(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum function constructor delete #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool is_method is_struct is_infinity is_nan is_numeric typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names variable_struct_exists variable_struct_get variable_struct_get_names variable_struct_names_count variable_struct_remove variable_struct_set array_delete array_insert array_length array_length_1d array_length_2d array_height_2d array_equals array_create array_copy array_pop array_push array_resize array_sort random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version  timezone_local timezone_utc gamespeed_fps gamespeed_microseconds  ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt  mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive  ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds  os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile  device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari  phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes  phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category  achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded  achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype  text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET  gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings  vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour  background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}},51464:e=>{e.exports=function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,illegal:/["']/}]}]}}},50675:e=>{e.exports=function(e){return{name:"Golo",keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},80481:e=>{e.exports=function(e){return{name:"Gradle",case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}},48903:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}("(?=",e,")")}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.variants=e,t}n(69600),n(21249),e.exports=function(e){var t=i([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),n={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},r=i([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),a=i([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.SHEBANG({binary:"groovy",relevance:10}),t,a,n,r,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:"[A-Za-z0-9_$]+[ \t]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[t,a,n,r,"self"]},{className:"symbol",begin:"^[ \t]*"+o("[A-Za-z0-9_$]+:"),excludeBegin:!0,end:"[A-Za-z0-9_$]+:",relevance:0}],illegal:/#|<\//}}},14801:e=>{e.exports=function(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}},11909:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},n=/\[\]|\[[^\]]+\]/,i=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}(/""|"[^"]+"/,/''|'[^']+'/,n,i),s=o(o("(",/\.|\.\/|\//,")?"),a,function(e){return o("(",e,")*")}(o(/(\.|\/)/,a))),l=o("(",n,"|",i,")(?==)"),c={begin:s,lexemes:/[\w.\/]+/},u=e.inherit(c,{keywords:{literal:["true","false","undefined","null"]}}),d={begin:/\(/,end:/\)/},p={className:"attr",begin:l,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,u,d]}}},f={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},p,u,d],returnEnd:!0},h=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(f,{end:/\)/})});d.contains=[h];var m=e.inherit(c,{keywords:t,className:"name",starts:e.inherit(f,{end:/\}\}/})}),g=e.inherit(c,{keywords:t,className:"name"}),y=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(f,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[m],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[y]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[y]}]}}},92807:e=>{e.exports=function(e){var t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"meta",begin:/\{-#/,end:/#-\}/},r={className:"meta",begin:"^#",end:"$"},o={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[n,r,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),t]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[i,t],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[i,t],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[o,i,t]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,o,i,{begin:/\{/,end:/\}/,contains:i.contains},t]},{beginKeywords:"default",end:"$",contains:[o,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[o,e.QUOTE_STRING_MODE,t]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,r,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,o,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}]}}},20560:e=>{e.exports=function(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ \t]*",end:"[^A-Za-z0-9_ \t\\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ \t]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}},65138:e=>{e.exports=function(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}},3598:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function i(e){var t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},n=/\[\]|\[[^\]]+\]/,i=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}(/""|"[^"]+"/,/''|'[^']+'/,n,i),s=o(o("(",/\.|\.\/|\//,")?"),a,function(e){return o("(",e,")*")}(o(/(\.|\/)/,a))),l=o("(",n,"|",i,")(?==)"),c={begin:s,lexemes:/[\w.\/]+/},u=e.inherit(c,{keywords:{literal:["true","false","undefined","null"]}}),d={begin:/\(/,end:/\)/},p={className:"attr",begin:l,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,u,d]}}},f={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},p,u,d],returnEnd:!0},h=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(f,{end:/\)/})});d.contains=[h];var m=e.inherit(c,{keywords:t,className:"name",starts:e.inherit(f,{end:/\}\}/})}),g=e.inherit(c,{keywords:t,className:"name"}),y=e.inherit(c,{className:"name",keywords:t,starts:e.inherit(f,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[m],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[g]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[m]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[g]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[y]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[y]}]}}n(69600),n(21249),n(68309),e.exports=function(e){var t=i(e);return t.name="HTMLbars",e.getLanguage("handlebars")&&(t.disableAutodetect=!0),t}},12183:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t="HTTP/(2|1\\.[01])",n={className:"attribute",begin:o("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},r=[n,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}},e.inherit(n,{relevance:0})]}}},95035:e=>{e.exports=function(e){var t="[a-zA-Z_\\-!.?+*=<>&#'][a-zA-Z_\\-!.?+*=<>&#'0-9/;:]*",n={$pattern:t,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},r={begin:t,relevance:0},o={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),a=e.COMMENT(";","$",{relevance:0}),s={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},l={begin:"[\\[\\{]",end:"[\\]\\}]"},c={className:"comment",begin:"\\^"+t},u=e.COMMENT("\\^\\{","\\}"),d={className:"symbol",begin:"[:]{1,2}"+t},p={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},h={className:"name",relevance:0,keywords:n,begin:t,starts:f},m=[p,i,c,u,a,d,l,o,s,r];return p.contains=[e.COMMENT("comment",""),h,f],f.contains=m,l.contains=m,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),p,i,c,u,a,d,l,o,s]}}},9171:e=>{e.exports=function(e){return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}}},97970:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},n=e.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[n,a,i,s,t,"self"],relevance:0},c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:o(c,"(\\s*\\.\\s*",c,")*",o("(?=",/\s*=\s*[^#\s]/,")")),className:"attr",starts:{end:/$/,contains:[n,l,a,i,s,t]}}]}}},89612:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t=/(_[a-z_\d]+)?/,n=/([de][+-]?\d+)?/,r={className:"number",variants:[{begin:o(/\b\d+/,/\.(\d*)/,n,t)},{begin:o(/\b\d+/,n,t)},{begin:o(/\.\d+/,n,t)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),r]}}},16236:(e,t,n)=>{n(74916),n(15306),n(73210),e.exports=function(e){var t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n={className:"number",begin:e.NUMBER_RE,relevance:0},r={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},o={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},i={variants:[{className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,o]},{className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,o]}]},a={$pattern:t,keyword:"and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",built_in:"SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING  SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",class:"AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",literal:"null true false nil "},s={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:a,relevance:0},l={className:"type",begin:":[ \\t]*("+"IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ".trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},c={className:"variable",keywords:a,begin:t,relevance:0,contains:[l,s]};return{name:"ISBL",case_insensitive:!0,keywords:a,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:"[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(",end:"\\)$",returnBegin:!0,keywords:a,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:t,built_in:"AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр "},begin:"[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*\\(",end:"\\(",returnBegin:!0,excludeEnd:!0},s,c,r,n,i]},l,s,c,r,n,i]}}},84756:(e,t,n)=>{n(92222);var r="\\.(".concat("[0-9](_*[0-9])*",")"),o="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:"(\\b(".concat("[0-9](_*[0-9])*",")((").concat(r,")|\\.)?|(").concat(r,"))")+"[eE][+-]?(".concat("[0-9](_*[0-9])*",")[fFdD]?\\b")},{begin:"\\b(".concat("[0-9](_*[0-9])*",")((").concat(r,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(r,")[fFdD]?\\b")},{begin:"\\b(".concat("[0-9](_*[0-9])*",")[fFdD]\\b")},{begin:"\\b0[xX]((".concat(o,")\\.?|(").concat(o,")?\\.(").concat(o,"))")+"[pP][+-]?(".concat("[0-9](_*[0-9])*",")[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(o,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};e.exports=function(e){var t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",r={className:"meta",begin:"@"+t,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o=i;return{name:"Java",aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:n,contains:[{beginKeywords:"record"},{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o,r]}}},25489:(e,t,n)=>{n(92222),n(69600),n(21249),n(47042);var r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],o=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function a(e){return e?"string"==typeof e?e:e.source:null}function s(e){return l("(?=",e,")")}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return a(e)})).join("");return r}e.exports=function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",n="<>",a="</>",c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:function(e,t){var n=e[0].length+e.index,r=e.input[n];"<"!==r?">"===r&&(function(e,t){var n=t.after,r="</"+e[0].slice(1);return-1!==e.input.indexOf(r,n)}(e,{after:n})||t.ignoreMatch()):t.ignoreMatch()}},u={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:r,literal:o,built_in:i},d="\\.(".concat("[0-9](_?[0-9])*",")"),p={className:"number",variants:[{begin:"(\\b(".concat("0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",")((").concat(d,")|\\.)?|(").concat(d,"))")+"[eE][+-]?(".concat("[0-9](_?[0-9])*",")\\b")},{begin:"\\b(".concat("0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",")\\b((").concat(d,")\\b|\\.)?|(").concat(d,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:u,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,p,e.REGEXP_MODE];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:u,contains:["self"].concat(v)});var b=[].concat(y,f.contains),_=b.concat([{begin:/\(/,end:/\)/,keywords:u,contains:["self"].concat(b)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:_};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:_},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,y,p,{begin:l(/[{,\n]\s*/,s(l(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,t+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:t+s("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[y,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:_}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:n,end:a},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:u,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),w],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[w,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",w]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},w]},{begin:/\$[(.]/}]}}},48019:e=>{e.exports=function(e){var t={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"params",begin:/--[\w\-=\/]+/},{className:"function",begin:/:[\w\-.]+/,relevance:0},{className:"string",begin:/\B([\/.])[\w\-.\/=]+/},t]}}},5392:(e,t,n)=>{n(92222),n(54747),e.exports=function(e){var t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],o={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},i={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(o,{begin:/:/})].concat(n),illegal:"\\S"},a={begin:"\\[",end:"\\]",contains:[e.inherit(o)],illegal:"\\S"};return r.push(i,a),n.forEach((function(e){r.push(e)})),{name:"JSON",contains:r,keywords:t,illegal:"\\S"}}},29957:e=>{e.exports=function(e){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}},13405:(e,t,n)=>{n(68309),e.exports=function(e){var t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",n={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},r={keywords:n,illegal:/<\//},o={className:"subst",begin:/\$\(/,end:/\)/,keywords:n},i={className:"variable",begin:"\\$"+t},a={className:"string",contains:[e.BACKSLASH_ESCAPE,o,i],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o,i],begin:"`",end:"`"},l={className:"meta",begin:"@"+t};return r.name="Julia",r.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},a,s,l,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],o.contains=r.contains,r}},38239:(e,t,n)=>{n(92222);var r="\\.(".concat("[0-9](_*[0-9])*",")"),o="[0-9a-fA-F](_*[0-9a-fA-F])*",i={className:"number",variants:[{begin:"(\\b(".concat("[0-9](_*[0-9])*",")((").concat(r,")|\\.)?|(").concat(r,"))")+"[eE][+-]?(".concat("[0-9](_*[0-9])*",")[fFdD]?\\b")},{begin:"\\b(".concat("[0-9](_*[0-9])*",")((").concat(r,")[fFdD]?\\b|\\.([fFdD]\\b)?)")},{begin:"(".concat(r,")[fFdD]?\\b")},{begin:"\\b(".concat("[0-9](_*[0-9])*",")[fFdD]\\b")},{begin:"\\b0[xX]((".concat(o,")\\.?|(").concat(o,")?\\.(").concat(o,"))")+"[pP][+-]?(".concat("[0-9](_*[0-9])*",")[fFdD]?\\b")},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:"\\b0[xX](".concat(o,")[lL]?\\b")},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};e.exports=function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(a);var s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"meta-string"})]}]},c=i,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=d;return p.variants[1].contains=[d],d.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,a,e.C_NUMBER_MODE]},u]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},s,l]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},c]}}},93436:(e,t,n)=>{n(92222),e.exports=function(e){var t="\\]|\\?>",n={$pattern:"[a-zA-Z_][\\w.]*|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},r=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[r]}},i={className:"meta",begin:"\\[/noprocess|<\\?(lasso(script)?|=)"},a={className:"symbol",begin:"'[a-zA-Z_][\\w.]*'"},s=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$][a-zA-Z_][\\w.]*"},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:"[a-zA-Z_][\\w.]*",illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)[a-zA-Z_][\\w.]*",relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[a]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z_][\\w.]*(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:n,contains:[{className:"meta",begin:t,relevance:0,starts:{end:"\\[|<\\?(lasso(script)?|=)",returnEnd:!0,relevance:0,contains:[r]}},o,i,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:n,contains:[{className:"meta",begin:t,relevance:0,starts:{end:"\\[noprocess\\]|<\\?(lasso(script)?|=)",returnEnd:!0,contains:[r]}},o,i].concat(s)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(s)}}},81389:(e,t,n)=>{function r(e){return function(e){if(Array.isArray(e))return o(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)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return e?"string"==typeof e?e:e.source:null}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="("+t.map((function(e){return i(e)})).join("|")+")";return r}n(69600),n(21249),n(24603),n(74916),n(39714),n(92222),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(91038),n(47042),n(68309),e.exports=function(e){var t,n=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o=[{className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a.apply(void 0,r(["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map((function(e){return e+"(?![a-zA-Z@:_])"}))))},{endsParent:!0,begin:new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map((function(e){return e+"(?![a-zA-Z:_])"})).join("|"))},{endsParent:!0,variants:n},{endsParent:!0,relevance:0,variants:[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}]}]},{className:"params",relevance:0,begin:/#+\d?/},{variants:n},{className:"built_in",relevance:0,begin:/[$&^_]/},{className:"meta",begin:"% !TeX",end:"$",relevance:10},e.COMMENT("%","$",{relevance:0})],i={begin:/\{/,end:/\}/,relevance:0,contains:["self"].concat(o)},s=e.inherit(i,{relevance:0,endsParent:!0,contains:[i].concat(o)}),l={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[i].concat(o)},c={begin:/\s+/,relevance:0},u=[s],d=[l],p=function(e,t){return{contains:[c],starts:{relevance:0,contains:e,starts:t}}},f=function(e,t){return{begin:"\\\\"+e+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+e},relevance:0,contains:[c],starts:t}},h=function(t,n){return e.inherit({begin:"\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{"+t+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},p(u,n))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"string";return e.END_SAME_AS_BEGIN({className:t,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0})},g=function(e){return{className:"string",end:"(?=\\\\end\\{"+e+"\\})"}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"string";return{relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}},v=[].concat(r(["verb","lstinline"].map((function(e){return f(e,{contains:[m()]})}))),[f("mint",p(u,{contains:[m()]})),f("mintinline",p(u,{contains:[y(),m()]})),f("url",{contains:[y("link"),y("link")]}),f("hyperref",{contains:[y("link")]}),f("href",p(d,{contains:[y("link")]}))],r((t=[]).concat.apply(t,r(["","\\*"].map((function(e){return[h("verbatim"+e,g("verbatim"+e)),h("filecontents"+e,p(u,g("filecontents"+e)))].concat(r(["","B","L"].map((function(t){return h(t+"Verbatim"+e,p(d,g(t+"Verbatim"+e)))}))))}))))),[h("minted",p(d,p(u,g("minted"))))]);return{name:"LaTeX",aliases:["tex"],contains:[].concat(r(v),o)}}},7931:e=>{e.exports=function(e){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},e.HASH_COMMENT_MODE]}}},54079:e=>{e.exports=function(e){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}},17929:(e,t,n)=>{n(92222),n(69600);var r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),l=i.concat(a);e.exports=function(e){var t=function(e){return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}}(e),n=l,c=[],u=[],d=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},p=function(e,t,n){return{className:e,begin:t,relevance:n}},f={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},h={begin:"\\(",end:"\\)",contains:u,keywords:f,relevance:0};u.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d("'"),d('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,h,p("variable","@@?[\\w-]+",10),p("variable","@\\{[\\w-]+\\}"),p("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT);var m=u.concat({begin:/\{/,end:/\}/,contains:c}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(u)},y={begin:"([\\w-]+|@\\{[\\w-]+\\})\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+s.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:u}}]},v={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:f,returnEnd:!0,contains:u,relevance:0}},b={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:m}},_={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:"([\\w-]+|@\\{[\\w-]+\\})",end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,p("keyword","all\\b"),p("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+r.join("|")+")\\b",className:"selector-tag"},p("selector-tag","([\\w-]+|@\\{[\\w-]+\\})%?",0),p("selector-id","#([\\w-]+|@\\{[\\w-]+\\})"),p("selector-class","\\.([\\w-]+|@\\{[\\w-]+\\})",0),p("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:"::("+a.join("|")+")"},{begin:"\\(",end:"\\)",contains:m},{begin:"!important"}]},w={begin:"[\\w-]+:(:)?"+"(".concat(n.join("|"),")"),returnBegin:!0,contains:[_]};return c.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,v,b,w,y,_),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:c}}},93760:e=>{e.exports=function(e){var t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",r={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:n,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+n+" +"+n,end:"\\)"}]},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),a=e.COMMENT(";","$",{relevance:0}),s={begin:"\\*",end:"\\*"},l={className:"symbol",begin:"[:&]"+t},c={begin:t,relevance:0},u={begin:"\\|[^]*?\\|"},d={contains:[o,i,s,l,{begin:"\\(",end:"\\)",contains:["self",r,i,o,c]},c],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'\\|[^]*?\\|"}]},p={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},f={begin:"\\(\\s*",end:"\\)"},h={endsWithParent:!0,relevance:0};return f.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:"\\|[^]*?\\|"}]},h],h.contains=[d,p,f,r,o,i,a,s,l,u,c],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),r,i,a,d,p,f,c]}}},56327:(e,t,n)=>{n(92222),e.exports=function(e){var t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),o=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[o,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|\\{"}}},1127:(e,t,n)=>{n(92222);var r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],o=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);e.exports=function(e){var t={keyword:r.concat(["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"]),literal:o.concat(["yes","no","on","off","it","that","void"]),built_in:i.concat(["npm","print"])},n="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=e.inherit(e.TITLE_MODE,{begin:n}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:t},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:t},c=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+n},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;var u={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(c)}]};return{name:"LiveScript",aliases:["ls"],keywords:t,illegal:/\/\*/,contains:c.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,{begin:"(#=>|=>|\\|>>|-?->|!->)"},{className:"function",contains:[a,u],returnBegin:!0,variants:[{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[a]},a]},{begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},43305:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t=/([-a-zA-Z$._][\w$.-]*)/,n={className:"variable",variants:[{begin:o(/%/,t)},{begin:/%\d+/},{begin:/#\d+/}]},r={className:"title",variants:[{begin:o(/@/,t)},{begin:/@\d+/},{begin:o(/!/,t)},{begin:o(/!\d+/,t)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[{className:"type",begin:/\bi\d+(?=\s|\b)/},e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},r,{className:"punctuation",relevance:0,begin:/,/},{className:"operator",relevance:0,begin:/=/},n,{className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},{className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0}]}}},70248:e=>{e.exports=function(e){var t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},n={className:"number",relevance:0,begin:e.C_NUMBER_RE};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},n,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},{className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"},{className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}},61644:(e,t,n)=>{n(92222),e.exports=function(e){var t={begin:"\\[=*\\[",end:"\\]=*\\]",contains:["self"]},n=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[","\\]=*\\]",{contains:[t],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:n.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:n}].concat(n)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\[=*\\[",end:"\\]=*\\]",contains:[t],relevance:5}])}}},17331:e=>{e.exports=function(e){var t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,"meta-keyword":".PHONY"}},i]}}},8224:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(92222),e.exports=function(e){var t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:o(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},i={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};r.contains.push(i),i.contains.push(r);var a=[t,n];return r.contains=r.contains.concat(a),i.contains=i.contains.concat(a),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:a=a.concat(r,i)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:a}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r,i,{className:"quote",begin:"^>\\s+",contains:a,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}},74276:(e,t,n)=>{n(69600),n(21249),n(66992),n(41539),n(70189),n(78783),n(33948);var r=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Apply","ApplySides","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayQ","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstronomicalData","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomList","AtomQ","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTracks","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","BabyMonsterGroupB","Back","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginFrontEndInteractionPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","Binomial","BinomialDistribution","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockMap","BlockRandom","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CardinalBSplineBasis","CarlemanLinearize","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalData","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","ClosingSaveDialog","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledFunction","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteKaryTree","CompletionsListPacket","Complex","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","ConformAudio","ConformImages","Congruent","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegionBox","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnesWindow","ConoverTest","ConsoleMessage","ConsoleMessagePacket","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","Convergents","ConversionOptions","ConversionRules","ConvertToBitmapPacket","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexPolygonQ","ConvexPolyhedronQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyTag","CopyToClipboard","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePalettePacket","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","Cumulant","CumulantGeneratingFunction","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentlySpeakingPacket","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylindricalDecomposition","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFormatTypeForStyle","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayFlushImagePacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplaySetSizePacket","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DragAndDrop","DrawEdges","DrawFrontFaces","DrawHighlighted","Drop","DropoutLayer","DSolve","DSolveValue","Dt","DualLinearProgramming","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoFunction","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EnableConsolePrintPacket","Enabled","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndFrontEndInteractionPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedProcess","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPostmanTour","FindProcessParameters","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlipView","Floor","FlowPolynomial","FlushPrintOutputPacket","Fold","FoldList","FoldPair","FoldPairList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FractionalBrownianMotionProcess","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceOpacity","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionDomain","FunctionExpand","FunctionInterpolation","FunctionPeriod","FunctionRange","FunctionSpace","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedCell","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoPath","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetBoundingBoxSizePacket","GetContext","GetEnvironment","GetFileName","GetFrontEndOptionsDataPacket","GetLinebreakInformationPacket","GetMenusPacket","GetPageBreakInformationPacket","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","Grad","Gradient","GradientFilter","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphElementData","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","HeaderSize","HeaderStyle","Heads","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","Here","HermiteDecomposition","HermiteH","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IgnoreCase","IgnoreDiacritics","IgnorePunctuation","IgnoreSpellCheck","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImagingDevice","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","Interactive","InteractiveTradingChart","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LibraryDataType","LibraryFunction","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseID","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeContainsQ","MoleculeEquivalentQ","MoleculeGraph","MoleculeModify","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeValue","Moment","Momentary","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborGraph","NearestTo","NebulaData","NeedCurrentFrontEndPackagePacket","NeedCurrentFrontEndSymbolsPacket","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestWhile","NestWhileList","NetAppend","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookCreateReturnObject","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookFindReturnObject","NotebookGet","NotebookGetLayoutInformationPacket","NotebookGetMisspellingsPacket","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookOpenReturnObject","NotebookPath","NotebookPrint","NotebookPut","NotebookPutReturnObject","NotebookRead","NotebookResetGeneratedCells","Notebooks","NotebookSave","NotebookSaveAs","NotebookSelection","NotebookSetupLayoutInformationPacket","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhysicalSystemData","Pi","Pick","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderReplace","Plain","PlanarAngle","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointFigureChart","PointLegend","PointSize","PoissonConsulDistribution","PoissonDistribution","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","Projection","Prolog","PromptForm","ProofObject","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","Quit","Quotient","QuotientRemainder","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomChoice","RandomColor","RandomComplex","RandomEntity","RandomFunction","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecognitionPrior","RecognitionThreshold","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionDifference","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionFillingStyle","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteConnect","RemoteConnectionObject","RemoteFile","RemoteRun","RemoteRunProcess","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetMenusPacket","ResetScheduledTask","ReshapeLayer","Residue","ResizeLayer","Resolve","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RiskAchievementImportance","RiskReductionImportance","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionDuplicateCell","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectionSetStyle","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetBoxFormNamesPacket","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetEvaluationNotebook","SetFileDate","SetFileLoadingContext","SetNotebookStatusLine","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetSpeechParametersPacket","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","SetValue","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SnDispersion","Snippet","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolidAngle","SolidData","SolidRegionQ","Solve","SolveAlways","SolveDelayed","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SpatialGraphDistribution","SpatialMedian","SpatialTransformationLayer","Speak","SpeakerMatchQ","SpeakTextPacket","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","SpellingSuggestionsPacket","Sphere","SphereBox","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripWrapperBoxes","StrokeForm","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTracks","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxBackground","TableViewBoxItemSize","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThompsonGroupTh","Thread","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRules","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","TreeForm","TreeGraph","TreeGraphQ","TreePlot","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValidationLength","ValidationSet","Value","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceTest","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerboseConvertToPostScriptPacket","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","Version","VersionedPreferences","VersionNumber","VertexAdd","VertexCapacity","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoPause","VideoPlay","VideoQ","VideoStop","VideoStream","VideoStreams","VideoTimeSeries","VideoTracks","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$ConditionHold","$ConfiguredKernels","$Context","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultLocalBase","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$PublisherID","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterWolframID","$RequesterWolframUUID","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function o(e){return e?"string"==typeof e?e:e.source:null}function i(e){return a("(",e,")?")}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return o(e)})).join("");return r}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="("+t.map((function(e){return o(e)})).join("|")+")";return r}e.exports=function(e){var t=s(a(/([2-9]|[1-2]\d|[3][0-5])\^\^/,/(\w*\.\w+|\w+\.\w*|\w+)/),/(\d*\.\d+|\d+\.\d*|\d+)/),n={className:"number",relevance:0,begin:a(t,i(s(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/)),i(/\*\^[+-]?\d+/))},o=/[a-zA-Z$][a-zA-Z0-9$]*/,l=new Set(r),c={variants:[{className:"builtin-symbol",begin:o,"on:begin":function(e,t){l.has(e[0])||t.ignoreMatch()}},{className:"symbol",relevance:0,begin:o}]},u={className:"message-name",relevance:0,begin:a("::",o)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[e.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),{className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},{className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},u,c,{className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},e.QUOTE_STRING_MODE,n,{className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},{className:"brace",relevance:0,begin:/[[\](){}]/}]}}},49124:e=>{e.exports=function(e){var t={relevance:0,contains:[{begin:"('|\\.')+"}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:t},{begin:"[a-zA-Z][a-zA-Z_0-9]*('|\\.')+",relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}],starts:t},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}},50237:e=>{e.exports=function(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}},49751:e=>{e.exports=function(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}},7833:(e,t,n)=>{n(47042),e.exports=function(e){var t=e.COMMENT("%","$"),n=e.inherit(e.APOS_STRING_MODE,{relevance:0}),r=e.inherit(e.QUOTE_STRING_MODE,{relevance:0});return r.contains=r.contains.slice(),r.contains.push({className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0}),{name:"Mercury",aliases:["m","moo"],keywords:{keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},t,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,n,r,{begin:/:-/},{begin:/\.$/}]}}},15743:e=>{e.exports=function(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}},51183:e=>{e.exports=function(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}},83219:e=>{e.exports=function(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}},97808:e=>{e.exports=function(e){var t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}},17525:(e,t,n)=>{n(92222),e.exports=function(e){var t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},o=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];r.contains=o;var i=e.inherit(e.TITLE_MODE,{begin:n}),a={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[i,a]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\)\\s*)?\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[a]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[i]},i]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},5290:e=>{e.exports=function(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE],relevance:2},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}},19837:e=>{e.exports=function(e){var t={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+e.UNDERSCORE_IDENT_RE}]},n={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[t]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},t]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:e.UNDERSCORE_IDENT_RE}],relevance:0},{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:n}],relevance:0}],illegal:"[^\\s\\}]"}}},34233:e=>{e.exports=function(e){return{name:"Nim",keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}},40402:e=>{e.exports=function(e){var t={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},n={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},r={className:"string",contains:[n],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]}];return n.contains=o,{name:"Nix",aliases:["nixos"],keywords:t,contains:o}}},36923:e=>{e.exports=function(e){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}},39111:e=>{e.exports=function(e){var t={className:"variable",begin:/\$+\{[\w.:-]+\}/},n={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},r={className:"variable",begin:/\$+\([\w^.:-]+\)/},o={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[{className:"meta",begin:/\$(\\[nrt]|\$)/},{className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},t,n,r]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},o,{className:"keyword",begin:/!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},t,n,r,{className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},{className:"class",begin:/\w+::\w+/},e.NUMBER_MODE]}}},59942:(e,t,n)=>{n(69600),n(74916),n(23123),e.exports=function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{$pattern:t,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}},22171:e=>{e.exports=function(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}},284:e=>{e.exports=function(e){var t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",n,r,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},r,t,{begin:"[*!#%]",relevance:0},o]}}},58932:e=>{e.exports=function(e){var t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),o={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},i={className:"string",begin:"(#\\d+)+"},a={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[o,i]},n,r]};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,r,e.C_LINE_COMMENT_MODE,o,i,e.NUMBER_MODE,a,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:t,contains:[o,i,n,r,e.C_LINE_COMMENT_MODE,a]}]}}},88525:e=>{e.exports=function(e){var t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}},93791:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}n(69600),n(21249),e.exports=function(e){var t=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},r={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},a={begin:/->\{/,end:/\}/},s={variants:[{begin:/\$\d/},{begin:o(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},l=[e.BACKSLASH_ESCAPE,r,s],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\\1",i="\\1"===r?r:o(r,n);return o(o("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,r,t)},d=function(e,n,r){return o(o("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,r,t)},p=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:l,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",i.apply(void 0,c))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",i.apply(void 0,c),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return r.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:p}}},37940:e=>{e.exports=function(e){return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/},{className:"variable",begin:/<(?!\/)/,end:/>/}]}}},25163:(e,t,n)=>{n(69600),n(21249),n(74916),n(23123),n(73210),n(15306),e.exports=function(e){var t=e.COMMENT("--","$"),n="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",r=n.trim().split(" ").map((function(e){return e.split("|")[0]})).join("|"),o="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map((function(e){return e.split("|")[0]})).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:"ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",built_in:"CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED "},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+o+")\\s*\\("},{begin:"\\.("+r+")\\b"},{begin:"\\b("+r+")\\s+PATH\\b",keywords:{keyword:"PATH",type:n.replace("PATH ","")}},{className:"type",begin:"\\b("+r+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:"\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",end:"\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:"<<\\s*[a-zA-Z_][a-zA-Z_0-9$]*\\s*>>",relevance:10}]}}},90684:e=>{e.exports=function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}},11866:(e,t,n)=>{n(92222),e.exports=function(e){var t={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},n={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},r={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},o=e.inherit(e.APOS_STRING_MODE,{illegal:null}),i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),a=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),s={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[e.inherit(o,{begin:"b'",end:"'"}),e.inherit(i,{begin:'b"',end:'"'}),i,o,a]},l={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},c={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:c,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",t,e.C_BLOCK_COMMENT_MODE,s,l]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},s,l]}}},54249:e=>{e.exports=function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}},84521:e=>{e.exports=function(e){return{name:"Pony",keywords:{keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},contains:[{className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},{begin:e.IDENT_RE+"'",relevance:0},{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}},68986:(e,t,n)=>{n(74916),n(15306),n(41539),n(39714),n(92222),n(69600),e.exports=function(e){var t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},a=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[r]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[o,i,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},d={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},p={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},f=[p,a,n,e.NUMBER_MODE,o,i,s,r,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],h={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",f,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return p.contains.unshift(h),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:t,contains:f.concat(l,c,u,d,h)}}},2283:e=>{e.exports=function(e){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}},86209:e=>{e.exports=function(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}},26695:(e,t,n)=>{n(92222),e.exports=function(e){var t={begin:/\(/,end:/\)/,relevance:0},n={begin:/\[/,end:/\]/},r={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},o={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},i=[{begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{begin:/:-/},n,r,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,{className:"string",begin:/0'(\\'|.)/},{className:"string",begin:/0'\\s/},e.C_NUMBER_MODE];return t.contains=i,n.contains=i,{name:"Prolog",contains:i.concat([{begin:/\.$/}])}}},44621:e=>{e.exports=function(e){var t="[ \\t\\f]*",n="([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",r="([^\\\\:= \\t\\f\\n]|\\\\.)+",o={end:n,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*[:=][ \\t\\f]*",relevance:1},{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+[ \\t\\f]+",relevance:0}],contains:[{className:"attr",begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",endsParent:!0,relevance:0}],starts:o},{begin:r+n,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:r,endsParent:!0,relevance:0}],starts:o},{className:"attr",relevance:0,begin:r+t+"$"}]}}},6348:e=>{e.exports=function(e){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}},29247:e=>{e.exports=function(e){var t=e.COMMENT("#","$"),n=e.inherit(e.TITLE_MODE,{begin:"([A-Za-z_]|::)(\\w|::)*"}),r={className:"variable",begin:"\\$([A-Za-z_]|::)(\\w|::)*"},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[t,r,o,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[n,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[o,t,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},r]}],relevance:0}]}}},82783:e=>{e.exports=function(e){return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until  UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},{className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},{className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"}]}}},90258:e=>{e.exports=function(e){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}},69509:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}("(?=",e,")")}n(69600),n(21249),n(92222),e.exports=function(e){var t={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},n={className:"meta",begin:/^(>>>|\.\.\.) /},r={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},i={begin:/\{\{/,relevance:0},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n,i,r]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n,i,r]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,i,r]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,r]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},s="[0-9](_?[0-9])*",l="(\\b(".concat(s,"))?\\.(").concat(s,")|\\b(").concat(s,")\\."),c={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(s,")|(").concat(l,"))[eE][+-]?(").concat(s,")[jJ]?\\b")},{begin:"(".concat(l,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:"\\b(".concat(s,")[jJ]\\b")}]},u={className:"comment",begin:o(/# type:/),end:/$/,keywords:t,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},d={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",n,c,a,e.HASH_COMMENT_MODE]}]};return r.contains=[a,c,n],{name:"Python",aliases:["py","gyp","ipython"],keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[n,c,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},a,u,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,d,{begin:/->/,endsWithParent:!0,keywords:t}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[c,d,a]}]}}},40848:e=>{e.exports=function(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}},63650:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t="[a-zA-Z_][a-zA-Z0-9\\._]*",n={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:t,returnEnd:!1}},r={begin:t+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:t,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},i={begin:o(t,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:{keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},n,r,i],illegal:/#/}}},84389:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(19601),n(54747),n(47941),e.exports=function(e){var t=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/;return{name:"R",illegal:/->/,keywords:{$pattern:t,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[function(e,t){if(e.beforeMatch){if(e.starts)throw new Error("beforeMatch cannot be used with starts");var n=Object.assign({},e);Object.keys(e).forEach((function(t){delete e[t]})),e.begin=o(n.beforeMatch,o("(?=",n.begin,")")),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch}}],contains:[e.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:t},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:o(/[a-zA-Z][a-zA-Z_0-9]*/,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}},69687:(e,t,n)=>{n(69600),n(21249),n(74916),n(23123),n(92222),e.exports=function(e){var t="~?[a-z$_][0-9a-zA-Z$_]*",n="`?[A-Z$_][0-9a-zA-Z$_]*",r="("+(["||","++","**","+.","*","/","*.","/.","..."].map((function(e){return e.split("").map((function(e){return"\\"+e})).join("")})).join("|")+"|\\|>|&&|==|===)"),o="\\s+"+r+"\\s+",i={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},a="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",s={className:"number",relevance:0,variants:[{begin:a},{begin:"\\(-"+a+"\\)"}]},l={className:"operator",relevance:0,begin:r},c=[{className:"identifier",relevance:0,begin:t},l,s],u=[e.QUOTE_STRING_MODE,l,{className:"module",begin:"\\b"+n,returnBegin:!0,end:".",contains:[{className:"identifier",begin:n,relevance:0}]}],d=[{className:"module",begin:"\\b"+n,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:n,relevance:0}]}],p={className:"function",relevance:0,keywords:i,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+t+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:t},{begin:"~?[a-z$_][0-9a-zA-Z$_]*(\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*('?[a-z$_][0-9a-z$_]*\\s*(,'?[a-z$_][0-9a-z$_]*\\s*)*)?\\))?){0,2}"},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[{begin:t,end:"(,|\\n|\\))",relevance:0,contains:[l,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:d}]}]}]},{begin:"\\(\\.\\s"+t+"\\)\\s*=>"}]};u.push(p);var f={className:"constructor",begin:n+"\\(",end:"\\)",illegal:"\\n",keywords:i,contains:[e.QUOTE_STRING_MODE,l,{className:"params",begin:"\\b"+t}]},h={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:i,end:"=>",relevance:0,contains:[f,l,{relevance:0,className:"constructor",begin:n}]},m={className:"module-access",keywords:i,returnBegin:!0,variants:[{begin:"\\b("+n+"\\.)+"+t},{begin:"\\b("+n+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[p,{begin:"\\(",end:"\\)",skip:!0}].concat(u)},{begin:"\\b("+n+"\\.)+\\{",end:/\}/}],contains:u};return d.push(m),{name:"ReasonML",aliases:["re"],keywords:i,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:c},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:c},f,{className:"operator",begin:o,illegal:"--\x3e",relevance:0},s,e.C_LINE_COMMENT_MODE,h,p,{className:"module-def",begin:"\\bmodule\\s+"+t+"\\s+"+n+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:i,relevance:0,contains:[{className:"module",relevance:0,begin:n},{begin:/\{/,end:/\}/,skip:!0}].concat(u)},m]}}},16044:e=>{e.exports=function(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}},26550:e=>{e.exports=function(e){var t={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet [a-zA-Z-_][^\\n{]+\\{",end:/\}/,keywords:"facet",contains:[t,e.HASH_COMMENT_MODE]},{begin:"^\\s*instance of [a-zA-Z-_][^\\n{]+\\{",end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",t,e.HASH_COMMENT_MODE]},{begin:"^[a-zA-Z-_][^\\n{]+\\{",end:/\}/,contains:[t,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}},43312:(e,t,n)=>{n(69600),n(74916),n(23123),e.exports=function(e){var t="foreach do while for if from to step else on-error and or not in",n="true false yes no nothing nil null",r={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},i={className:"string",begin:/'/,end:/'/};return{name:"Microtik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:n,keyword:t+" :"+t.split(" ").join(" :")+" :"+"global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime".split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),o,i,r,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[o,i,r,{className:"literal",begin:"\\b("+n.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+"add remove enable disable set get print export edit find run debug error info warning".split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+"traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw".split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}},97848:e=>{e.exports=function(e){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"surface displacement light volume imager",end:"\\("},{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}},54458:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),n(92222),e.exports=function(e){var t,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},i={className:"doctag",begin:"@[A-Za-z]+"},a={begin:"#<",end:">"},s=[e.COMMENT("#","$",{contains:[i]}),e.COMMENT("^=begin","^=end",{contains:[i],relevance:10}),e.COMMENT("^__END__","\\n$")],l={className:"subst",begin:/#\{/,end:/\}/,keywords:r},c={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},u={className:"number",relevance:0,variants:[{begin:"\\b(".concat("[1-9](_?[0-9])*|0",")(\\.(").concat("[0-9](_?[0-9])*","))?([eE][+-]?(").concat("[0-9](_?[0-9])*",")|r)?i?\\b")},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},d={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:r},p=[c,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE,relevance:0}]}].concat(s)},{className:"function",begin:o(/def\s+/,(t=n+"\\s*(\\(|;|$)",o("(?=",t,")"))),relevance:0,keywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:n}),d].concat(s)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[c,{begin:n}],relevance:0},u,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:r},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(a,s),relevance:0}].concat(a,s);l.contains=p,d.contains=p;var f=[{begin:/^\s*=>/,starts:{end:"$",contains:p}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",contains:p}}];return s.unshift(a),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:r,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(f).concat(s).concat(p)}}},95264:e=>{e.exports=function(e){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}},78288:e=>{e.exports=function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",n="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",literal:"true false Some None Ok Err",built_in:n},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:/\{/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::",keywords:{built_in:n}},{begin:"->"}]}}},83274:e=>{e.exports=function(e){return{name:"SAS",case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:"do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where"},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%(bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window)"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%](abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate)[(]"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}},23601:e=>{e.exports=function(e){var t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[t],relevance:10}]},r={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},i={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},o]},a={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[o]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},r,a,i,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},69254:(e,t,n)=>{n(92222),e.exports=function(e){var t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n={$pattern:t,"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},o={className:"number",variants:[{begin:"(-|\\+)?\\d+([./]\\d+)?",relevance:0},{begin:"(-|\\+)?\\d+([./]\\d+)?[+\\-](-|\\+)?\\d+([./]\\d+)?i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},i=e.QUOTE_STRING_MODE,a=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],s={begin:t,relevance:0},l={className:"symbol",begin:"'"+t},c={endsWithParent:!0,relevance:0},u={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",r,i,o,s,l]}]},d={className:"name",relevance:0,begin:t,keywords:n},p={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[d,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[s]}]},d,c]};return c.contains=[r,o,i,s,l,u,p].concat(a),{name:"Scheme",illegal:/\S/,contains:[e.SHEBANG(),o,i,l,u,p].concat(a)}}},57828:(e,t,n)=>{n(92222),e.exports=function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}},8200:(e,t,n)=>{n(69600);var r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();e.exports=function(e){var t=function(e){return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}}(e),n=a,l=i,c={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+l.join("|")+")"},{className:"selector-pseudo",begin:"::("+n.join("|")+")"},c,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[c,t.HEXCOLOR,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT]},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[{begin:"@[a-z-]+",className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},c,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,e.CSS_NUMBER_MODE]}]}}},90859:e=>{e.exports=function(e){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}},28765:(e,t,n)=>{n(69600),e.exports=function(e){var t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}}},30394:e=>{e.exports=function(e){var t={className:"string",begin:"\\$.{1}"},n={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:"[a-z][a-zA-Z0-9_]*:",relevance:0},e.C_NUMBER_MODE,n,t,{begin:"\\|[ ]*[a-z][a-zA-Z0-9_]*([ ]+[a-z][a-zA-Z0-9_]*)*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?[a-z][a-zA-Z0-9_]*"}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,t,e.C_NUMBER_MODE,n]}]}}},23692:e=>{e.exports=function(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}},84078:e=>{e.exports=function(e){var t={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},n={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(t,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler addForce addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem addSwitchableUnit addTeamMember addToRemainsCollector addTorque addUniform addVehicle addVest addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool addWeaponTurret admin agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airplaneThrottle airportSide AISFinishHeal alive all3DENEntities allAirports allControls allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSimpleObjects allSites allTurrets allUnits allUnitsUAV allVariables ammo ammoOnPylon and animate animateBay animateDoor animatePylon animateSource animationNames animationPhase animationSourcePhase animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor behaviour benchmark binocular boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canTriggerDynamicSimulation canUnloadInCombat canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory collectiveRTD combatMode commandArtilleryFire commandChat commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctAddHeader ctAddRow ctClear ctCurSel ctData ctFindHeaderRows ctFindRowHeader ctHeaderControls ctHeaderCount ctRemoveHeaders ctRemoveRows ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPixelPrecision ctrlSetPosition ctrlSetScale ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlTextWidth ctrlType ctrlVisible ctRowControls ctRowCount ctSetCurSel ctSetData ctSetHeaderTemplate ctSetRowTemplate ctSetValue ctValue curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup deleteGroupWhenEmpty deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts diag_captureFrame diag_captureFrameToFile diag_captureSlowFrame diag_codePerformance diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_lightNewLoad diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits diag_setLightNew diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI disableCollisionWith disableConversation disableDebriefingStats disableMapIndicators disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle drawTriangle driver drop dynamicSimulationDistance dynamicSimulationDistanceCoef dynamicSimulationEnabled dynamicSimulationSystemEnabled echo edit3DENMissionAttributes editObject editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack enableAudioFeature enableAutoStartUpRTD enableAutoTrimRTD enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot enableDebriefingStats enableDiagLegend enableDynamicSimulation enableDynamicSimulationSystem enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights enableInfoPanelComponent enableIRLasers enableMimics enablePersonTurret enableRadio enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition findEmptyPositionReady findIf findNearestEnemy finishMissionInit finite fire fireAtTarget firstBackpack flag flagAnimationPhase flagOwner flagSide flagTexture fleeing floor flyInHeight flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam forgetTarget format formation formationDirection formationLeader formationMembers formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllEnvSoundControllers getAllHitPointsDamage getAllOwnedMines getAllSoundControllers getAmmoCargo getAnimAimPrecision getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState getClientStateNumber getCompatiblePylonMagazines getConnectedUAV getContainerMaxLoad getCursorObjectParams getCustomAimCoef getDammage getDescription getDir getDirVisual getDLCAssetsUsage getDLCAssetsUsageByName getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit gunner gusts halt handgunItems handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups importance in inArea inAreaArray incapacitatedState inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDamageAllowed isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader isGroupDeletedWhenEmpty isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLaserOn isLightOn isLocalized isManualFire isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons isSimpleObject isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUIContext isUniformAllowed isVehicleCargo isVehicleRadarOn isVehicleSensorEnabled isWalking isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbColorRight lbCurSel lbData lbDelete lbIsSelected lbPicture lbPictureRight lbSelection lbSetColor lbSetColorRight lbSetCurSel lbSetData lbSetPicture lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetPictureRight lbSetPictureRightColor lbSetPictureRightColorDisabled lbSetPictureRightColorSelected lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetText lbSetTextRight lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText lbTextRight lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaderboardRequestRowsFriends leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize locationPosition lock lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual modelToWorldVisualWorld modelToWorldWorld modParams moonIntensity moonPhase morale move move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink productVersion profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl remoteExec remoteExecCall remoteExecutedOwner remove3DENConnection remove3DENEventHandler remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon removeWeaponAttachmentCargo removeWeaponCargo removeWeaponGlobal removeWeaponTurret reportRemoteTarget requiredVersion resetCamShake resetSubgroupDirection resize resources respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectRandomWeighted selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer set3DENLinesVisible set3DENLogicType set3DENMissionAttribute set3DENMissionAttributes set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setActualCollectiveRTD setAirplaneThrottle setAirportSide setAmmo setAmmoCargo setAmmoOnPylon setAnimSpeedCoef setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining setBrakesRTD setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTI setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation setConvoySeparation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef setCustomWeightRTD setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon setDriveOnPath setDropInterval setDynamicSimulationDistance setDynamicSimulationDistanceCoef setEditorMode setEditorObjectScope setEffectCondition setEngineRPMRTD setFace setFaceAnimation setFatigue setFeatureType setFlagAnimationPhase setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setInfoPanel setLeader setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlateNumber setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld setPylonLoadOut setPylonsPriority setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo setRotorBrakeRTD setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits setTargetAge setTaskMarkerOffset setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect setTrafficDensity setTrafficDistance setTrafficGap setTrafficSpeed setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setUserMFDText setUserMFDvalue setVariable setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleRadar setVehicleReceiveRemoteTargets setVehicleReportOwnPosition setVehicleReportRemoteTargets setVehicleTIPars setVehicleVarName setVelocity setVelocityModelSpace setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWantedRPMRTD setWaves setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWingForceScaleRTD setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth switchableUnits switchAction switchCamera switchGesture switchLight switchMove synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan targetKnowledge targets targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskParent taskResult taskState taskType teamMember teamName teams teamSwitch teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL terrainIntersectAtASL text textLog textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerDynamicSimulation triggerStatements triggerText triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear tvCollapse tvCollapseAll tvCount tvCurSel tvData tvDelete tvExpand tvExpandAll tvPicture tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent useAudioTimeForMoves userInputDisabled vectorAdd vectorCos vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorModelToWorld vectorModelToWorldVisual vectorMultiply vectorNormalized vectorUp vectorUpVisual vectorWorldToModel vectorWorldToModelVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicleReceiveRemoteTargets vehicleReportOwnPosition vehicleReportRemoteTargets vehicles vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,{className:"variable",begin:/\b_+[a-zA-Z]\w*/},{className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},t,n],illegal:/#|^\$ /}}},69703:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}n(69600),n(21249),n(57327),n(92222),n(26699),n(74916),n(4723),n(32023),e.exports=function(e){var t=e.COMMENT("--","$"),n=["true","false","unknown"],r=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],a=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],s=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],l=a,c=[].concat(["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update   ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],["add","asc","collation","desc","final","first","last","view"]).filter((function(e){return!a.includes(e)})),u={begin:o(/\b/,i.apply(void 0,l),/\s*\(/),keywords:{built_in:l}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.exceptions,r=t.when,o=r;return n=n||[],e.map((function(e){return e.match(/\|\d+$/)||n.includes(e)?e:o(e)?"".concat(e,"|0"):e}))}(c,{when:function(e){return e.length<3}}),literal:n,type:r,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:i.apply(void 0,s),keywords:{$pattern:/[\w\.]+/,keyword:c.concat(s),literal:n,type:r}},{className:"type",begin:i.apply(void 0,["double precision","large object","with timezone","without timezone"])},u,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}},31731:e=>{e.exports=function(e){var t=e.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]}}},37787:(e,t,n)=>{n(92222),e.exports=function(e){return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:["functions","model","data","parameters","quantities","transformed","generated"],keyword:["for","in","if","else","while","break","continue","return"].concat(["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"]).concat(["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"]),built_in:["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"]},contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+e.IDENT_RE+")\\s*\\(",keywords:["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"]},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}},83406:e=>{e.exports=function(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}},8773:e=>{e.exports=function(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}},4253:(e,t,n)=>{n(69600);var r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();e.exports=function(e){var t=function(e){return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}}(e),n={className:"variable",begin:"\\$"+e.IDENT_RE};return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*(?=[.\\s\\n[:,(])",className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*(?=[.\\s\\n[:,(])",className:"selector-id"},{begin:"\\b("+r.join("|")+")(?=[.\\s\\n[:,(])",className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+i.join("|")+")(?=[.\\s\\n[:,(])"},{className:"selector-pseudo",begin:"&?::("+a.join("|")+")(?=[.\\s\\n[:,(])"},t.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[e.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"].join("|")+"))\\b"},n,e.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[t.HEXCOLOR,n,e.APOS_STRING_MODE,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+s.join("|")+")\\b",starts:{end:/;|$/,contains:[t.HEXCOLOR,n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t.IMPORTANT],illegal:/\./,relevance:0}}]}}},42985:e=>{e.exports=function(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}},58243:(e,t,n)=>{function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return e?"string"==typeof e?e:e.source:null}function s(e){return l("(?=",e,")")}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return a(e)})).join("");return r}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="("+t.map((function(e){return a(e)})).join("|")+")";return r}n(69600),n(21249),n(92222),n(57327),n(74916),n(4723),n(69826),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(91038),n(47042),n(68309);var u=function(e){return l(/\b/,e,/\w$/.test(e)?/\b/:/\B/)},d=["Protocol","Type"].map(u),p=["init","self"].map(u),f=["Any","Self"],h=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],m=["false","nil","true"],g=["assignment","associativity","higherThan","left","lowerThan","none","right"],y=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],v=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],b=c(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=c(b,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),w=l(b,_,"*"),C=c(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),S=c(C,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),E=l(C,S,"*"),x=l(/[A-Z]/,S,"*"),k=["autoclosure",l(/convention\(/,c("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",l(/objc\(/,E,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];e.exports=function(e){var t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),i=[e.C_LINE_COMMENT_MODE,n],a={className:"keyword",begin:l(/\./,s(c.apply(void 0,r(d).concat(r(p))))),end:c.apply(void 0,r(d).concat(r(p))),excludeBegin:!0},b={match:l(/\./,c.apply(void 0,h)),relevance:0},C=h.filter((function(e){return"string"==typeof e})).concat(["_|0"]),T=h.filter((function(e){return"string"!=typeof e})).concat(f).map(u),A={variants:[{className:"keyword",match:c.apply(void 0,r(T).concat(r(p)))}]},P={$pattern:c(/\b\w+/,/#\w+/),keyword:C.concat(y),literal:m},R=[a,b,A],I=[{match:l(/\./,c.apply(void 0,v)),relevance:0},{className:"built_in",match:l(/\b/,c.apply(void 0,v),/(?=\()/)}],M={match:/->/,relevance:0},N=[M,{className:"operator",relevance:0,variants:[{match:w},{match:"\\.(\\.|".concat(_,")+")}]}],D={className:"number",relevance:0,variants:[{match:"\\b(".concat("([0-9]_*)+",")(\\.(").concat("([0-9]_*)+","))?")+"([eE][+-]?(".concat("([0-9]_*)+","))?\\b")},{match:"\\b0x(".concat("([0-9a-fA-F]_*)+",")(\\.(").concat("([0-9a-fA-F]_*)+","))?")+"([pP][+-]?(".concat("([0-9]_*)+","))?\\b")},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{className:"subst",variants:[{match:l(/\\/,e,/[0\\tnr"']/)},{match:l(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{className:"subst",match:l(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{className:"subst",label:"interpol",begin:l(/\\/,e,/\(/),end:/\)/}},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{begin:l(e,/"""/),end:l(/"""/,e),contains:[j(e),L(e),B(e)]}},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{begin:l(e,/"/),end:l(/"/,e),contains:[j(e),B(e)]}},H={className:"string",variants:[F(),F("#"),F("##"),F("###"),U(),U("#"),U("##"),U("###")]},V={match:l(/`/,E,/`/)},z=[V,{className:"variable",match:/\$\d+/},{className:"variable",match:"\\$".concat(S,"+")}],q=[{match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[].concat(N,[D,H])}]}},{className:"keyword",match:l(/@/,c.apply(void 0,k))},{className:"meta",match:l(/@/,E)}],G={match:s(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:l(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,S,"+")},{className:"type",match:x,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:l(/\s+&\s+/,s(x)),relevance:0}]},W={begin:/</,end:/>/,keywords:P,contains:[].concat(i,R,q,[M,G])};G.contains.push(W);var Y,Z={begin:/\(/,end:/\)/,relevance:0,keywords:P,contains:["self",{match:l(E,/\s*:/),keywords:"_|0",relevance:0}].concat(i,R,I,N,[D,H],z,q,[G])},K={beginKeywords:"func",contains:[{className:"title",match:c(V.match,E,w),endsParent:!0,relevance:0},t]},$={begin:/</,end:/>/,contains:[].concat(i,[G])},Q={begin:/\(/,end:/\)/,keywords:P,contains:[{begin:c(s(l(E,/\s*:/)),s(l(E,/\s+/,E,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:E}]}].concat(i,R,N,[D,H],q,[G,Z]),endsParent:!0,illegal:/["']/},X={className:"function",match:s(/\bfunc\b/),contains:[K,$,Q,t],illegal:[/\[/,/%/]},J={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[$,Q,t],illegal:/\[|%/},ee={beginKeywords:"operator",end:e.MATCH_NOTHING_RE,contains:[{className:"title",match:w,endsParent:!0,relevance:0}]},te={beginKeywords:"precedencegroup",end:e.MATCH_NOTHING_RE,contains:[{className:"title",match:x,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[].concat(g,m),contains:[G]}]},ne=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(H.variants);try{for(ne.s();!(Y=ne.n()).done;){var re=Y.value.contains.find((function(e){return"interpol"===e.label}));re.keywords=P;var oe=[].concat(R,I,N,[D,H],z);re.contains=[].concat(r(oe),[{begin:/\(/,end:/\)/,contains:["self"].concat(r(oe))}])}}catch(e){ne.e(e)}finally{ne.f()}return{name:"Swift",keywords:P,contains:[].concat(i,[X,J,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:P,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})].concat(R)},ee,te,{beginKeywords:"import",end:/$/,contains:[].concat(i),relevance:0}],R,I,N,[D,H],z,q,[G,Z])}}},97578:e=>{e.exports=function(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}},23822:e=>{e.exports=function(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}},65837:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}n(69600),n(21249),e.exports=function(e){var t,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:o(/\$/,(t=/::/,o("(",t,")?")),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}},29677:e=>{e.exports=function(e){return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:"bool byte i16 i32 i64 double string binary",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:"bool byte i16 i32 i64 double string binary",contains:["self"]}]}}},97029:e=>{e.exports=function(e){var t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}},69878:(e,t,n)=>{n(69600),n(21249),n(74916),n(23123),e.exports=function(e){var t="attribute block constant cycle date dump include max min parent random range source template_from_string",n={beginKeywords:t,keywords:{name:t},relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},r={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[n]},o="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return o=o+" "+o.split(" ").map((function(e){return"end"+e})).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:o,starts:{endsWithParent:!0,contains:[r,n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",r,n]}]}}},31841:(e,t,n)=>{n(92222),n(69600),n(21249),n(47042),n(34553),n(40561),n(19601),n(69826);var r="[A-Za-z$_][0-9A-Za-z$_]*",o=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],i=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function s(e){return e?"string"==typeof e?e:e.source:null}function l(e){return c("(?=",e,")")}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return s(e)})).join("");return r}e.exports=function(e){var t={$pattern:r,keyword:o.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:i,built_in:a.concat(["any","void","number","boolean","string","object","never","enum"])},n={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},s=function(e,t,n){var r=e.contains.findIndex((function(e){return e.label===t}));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)},u=function(e){var t=r,n="<>",s="</>",u={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:function(e,t){var n=e[0].length+e.index,r=e.input[n];"<"!==r?">"===r&&(function(e,t){var n=t.after,r="</"+e[0].slice(1);return-1!==e.input.indexOf(r,n)}(e,{after:n})||t.ignoreMatch()):t.ignoreMatch()}},d={$pattern:r,keyword:o,literal:i,built_in:a},p="\\.(".concat("[0-9](_?[0-9])*",")"),f={className:"number",variants:[{begin:"(\\b(".concat("0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",")((").concat(p,")|\\.)?|(").concat(p,"))")+"[eE][+-]?(".concat("[0-9](_?[0-9])*",")\\b")},{begin:"\\b(".concat("0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",")\\b((").concat(p,")\\b|\\.)?|(").concat(p,")\\b")},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},y={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},v={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,g,y,f,e.REGEXP_MODE];h.contains=b.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(b)});var _=[].concat(v,h.contains),w=_.concat([{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(_)}]),C={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:w};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,g,y,v,f,{begin:c(/[{,\n]\s*/,l(c(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,t+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:t+l("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[v,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:w}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:n,end:s},{begin:u.begin,"on:begin":u.isTrulyOpeningTag,end:u.end}],subLanguage:"xml",contains:[{begin:u.begin,end:u.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:d,contains:["self",e.inherit(e.TITLE_MODE,{begin:t}),C],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[C,e.inherit(e.TITLE_MODE,{begin:t})]},{variants:[{begin:"\\."+t},{begin:"\\$"+t}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),"self",C]},{begin:"(get|set)\\s+(?="+t+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{begin:/\(\)/},C]},{begin:/\$[(.]/}]}}(e);return Object.assign(u.keywords,t),u.exports.PARAMS_CONTAINS.push(n),u.contains=u.contains.concat([n,{beginKeywords:"namespace",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"}]),s(u,"shebang",e.SHEBANG()),s(u,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),u.contains.find((function(e){return"function"===e.className})).relevance=0,Object.assign(u,{name:"TypeScript",aliases:["ts","tsx"]}),u}},86236:e=>{e.exports=function(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}},55962:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}n(69600),n(21249),e.exports=function(e){var t=/\d{1,2}\/\d{1,2}\/\d{4}/,n=/\d{4}-\d{1,2}-\d{1,2}/,r=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,s={className:"literal",variants:[{begin:o(/# */,i(n,t),/ *#/)},{begin:o(/# */,a,/ *#/)},{begin:o(/# */,r,/ *#/)},{begin:o(/# */,i(n,t),/ +/,i(r,a),/ *#/)}]},l=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),c=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},l,c,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[c]}]}}},26835:e=>{e.exports=function(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}},33095:(e,t,n)=>{function r(e){return function(e){if(Array.isArray(e))return o(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)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return e?"string"==typeof e?e:e.source:null}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map((function(e){return i(e)})).join("");return r}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="("+t.map((function(e){return i(e)})).join("|")+")";return r}n(69600),n(21249),n(74916),n(23123),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(91038),n(47042),n(68309),e.exports=function(e){var t="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split  cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" ");return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],literal:"true false null nothing empty"},illegal:"//",contains:[{begin:a(s.apply(void 0,r(t)),"\\s*\\("),relevance:0,keywords:{built_in:t}},e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}},21554:e=>{e.exports=function(e){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}},90172:e=>{e.exports=function(e){return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:"\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}},24431:e=>{e.exports=function(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}},28879:e=>{e.exports=function(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}},33843:e=>{e.exports=function(e){var t={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},n={className:"string",begin:'"',end:'"',illegal:"\\n"},r={beginKeywords:"import",end:"$",keywords:t,contains:[n]},o={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:t}})]};return{name:"XL",aliases:["tao"],keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},o,r,{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},e.NUMBER_MODE]}}},79457:(e,t,n)=>{function r(e){return e?"string"==typeof e?e:e.source:null}function o(e){return i("(?=",e,")")}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.map((function(e){return r(e)})).join("");return o}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="("+t.map((function(e){return r(e)})).join("|")+")";return o}n(69600),n(21249),e.exports=function(e){var t=i(/[A-Z_]/,i("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),n={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(r,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[r,c,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[r,s,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:i(/</,o(i(t,a(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:u}]},{className:"tag",begin:i(/<\//,o(i(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},66500:e=>{e.exports=function(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}},18001:(e,t,n)=>{n(92222),e.exports=function(e){var t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},o=e.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,r],u=[].concat(c);return u.pop(),u.push(o),a.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:c}}},33501:e=>{e.exports=function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},o="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:o,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}},88617:(e,t)=>{t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=c}return(f?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}},74915:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(43371),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(94672),i=n(5757)(),a=n(13237),s={assert:function(e,t){if(!e||"object"!==r(e)&&"function"!=typeof e)throw new a("`O` is not an object");if("string"!=typeof t)throw new a("`slot` must be a string");if(i.assert(e),!s.has(e,t))throw new a("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||"object"!==r(e)&&"function"!=typeof e)throw new a("`O` is not an object");if("string"!=typeof t)throw new a("`slot` must be a string");var n=i.get(e);return n&&n["$"+t]},has:function(e,t){if(!e||"object"!==r(e)&&"function"!=typeof e)throw new a("`O` is not an object");if("string"!=typeof t)throw new a("`slot` must be a string");var n=i.get(e);return!!n&&o(n,"$"+t)},set:function(e,t,n){if(!e||"object"!==r(e)&&"function"!=typeof e)throw new a("`O` is not an object");if("string"!=typeof t)throw new a("`slot` must be a string");var o=i.get(e);o||(o={},i.set(e,o)),o["$"+t]=n}};Object.freeze&&Object.freeze(s),e.exports=s},99719:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(39341),n(73706),n(10408),n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=n(80297)(),i=n(73684)("Object.prototype.toString"),a=function(e){return!(o&&e&&"object"===r(e)&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!a(e)||null!==e&&"object"===r(e)&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},l=function(){return a(arguments)}();a.isLegacyArguments=s,e.exports=l?a:s},14063:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(47042),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(53785),i=n(73684),a=n(37555)("%ArrayBuffer%",!0),s=i("ArrayBuffer.prototype.byteLength",!0),l=i("Object.prototype.toString"),c=!!a&&!s&&new a(0).slice,u=!!c&&o(c);e.exports=s||u?function(e){if(!e||"object"!==r(e))return!1;try{return s?s(e):u(e,0),!0}catch(e){return!1}}:a?function(e){return"[object ArrayBuffer]"===l(e)}:function(e){return!1}},20173:(e,t,n)=>{n(41539);var r=Array.isArray,o=Object.prototype.toString;e.exports=r||function(e){return!!e&&"[object Array]"==o.call(e)}},12783:(e,t,n)=>{"use strict";function r(e){return(r="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)}if(n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(10482)()){var o=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!==r(e)&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return o.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},57801:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(39341),n(73706),n(10408),n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=n(73684),i=o("Boolean.prototype.toString"),a=o("Object.prototype.toString"),s=n(80297)();e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"===r(e)&&(s&&Symbol.toStringTag in e?function(e){try{return i(e),!0}catch(e){return!1}}(e):"[object Boolean]"===a(e))}},61343:(e,t,n)=>{function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}n(47042),e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},30916:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(36535),n(82526),n(41817),n(39341),n(73706),n(10408),n(32165),n(66992),n(78783),n(33948);var o,i,a=Function.prototype.toString,s="object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{o=Object.defineProperty({},"length",{get:function(){throw i}}),i={},s((function(){throw 42}),null,o)}catch(e){e!==i&&(s=null)}else s=null;var l=/^\s*class\b/,c=function(e){try{var t=a.call(e);return l.test(t)}catch(e){return!1}},u=function(e){try{return!c(e)&&(a.call(e),!0)}catch(e){return!1}},d=Object.prototype.toString,p="function"==typeof Symbol&&!!Symbol.toStringTag,f=!(0 in[,]),h=function(){return!1};if("object"===("undefined"==typeof document?"undefined":r(document))){var m=document.all;d.call(m)===d.call(document.all)&&(h=function(e){if((f||!e)&&(void 0===e||"object"===r(e)))try{var t=d.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=s?function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!==r(e))return!1;try{s(e,null,o)}catch(e){if(e!==i)return!1}return!c(e)&&u(e)}:function(e){if(h(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!==r(e))return!1;if(p)return u(e);if(c(e))return!1;var t=d.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&u(e)}},26515:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=Date.prototype.getDay,i=Object.prototype.toString,a=n(80297)();e.exports=function(e){return"object"===r(e)&&null!==e&&(a?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Date]"===i.call(e))}},73562:(e,t,n)=>{n(41539),e.exports=function(e){if(!e)return!1;var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var r=Object.prototype.toString},28026:(e,t,n)=>{n(68309),e.exports=function(e){return e&&"function"==typeof e.next&&"function"==typeof e.throw},e.exports.fn=function(e){return"function"==typeof e&&e.constructor&&"GeneratorFunction"===e.constructor.name}},28199:(e,t,n)=>{"use strict";n(21249),n(74916),n(15306),n(23123),n(32165),n(66992),n(41539),n(78783),n(33948),n(82526),n(41817),n(27852),n(47042);for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=1;s<20;s++)a["f"+s]=111+s;function l(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return c(e,t)})),o=function(e){return r.some((function(t){return u(t,e)}))};return null==n?o:o(n)}function c(e,t){var n=t&&t.byKey,r={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in o)r[o[s]]=!1;var l=!0,c=!1,u=void 0;try{for(var f,h=i[Symbol.iterator]();!(l=(f=h.next()).done);l=!0){var m=f.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var y=p(m),v=o[y];1!==a&&v||(n?r.key=y:r.which=d(m)),v&&(r[v]=!g||null)}}catch(e){c=!0,u=e}finally{try{!l&&h.return&&h.return()}finally{if(c)throw u}}return r}function u(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&((null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r))return!1}return!0}function d(e){return e=p(e),a[e]||e.toUpperCase().charCodeAt(0)}function p(e){return e=e.toLowerCase(),e=i[e]||e}t.ZP=l,t.rs=p},77088:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(66992),n(51532),n(41539),n(78783),n(33948),n(70189),n(82526),n(41817),n(32165);var o,i="function"==typeof Map&&Map.prototype?Map:null,a="function"==typeof Set&&Set.prototype?Set:null;i||(o=function(e){return!1});var s=i?Map.prototype.has:null,l=a?Set.prototype.has:null;o||s||(o=function(e){return!1}),e.exports=o||function(e){if(!e||"object"!==r(e))return!1;try{if(s.call(e),l)try{l.call(e)}catch(e){return!0}return e instanceof i}catch(e){}return!1}},39943:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(9653),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=Number.prototype.toString,i=Object.prototype.toString,a=n(80297)();e.exports=function(e){return"number"==typeof e||"object"===r(e)&&(a?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object Number]"===i.call(e))}},43100:(e,t,n)=>{"use strict";n(73210);var r=n(71387);e.exports=function(e){var t=r(e);if("string"===t){if(!e.trim())return!1}else if("number"!==t)return!1;return e-e+1>=0}},71387:(e,t,n)=>{n(41539),n(9653),n(24603),n(74916),n(39714);var r=n(61343),o=Object.prototype.toString;e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=o.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":r(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"}},39011:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(96649),n(96078),n(82526),n(41817),n(41539),n(38880),n(32165),n(66992),n(78783),n(33948);var o,i,a,s,l=n(73684),c=n(80297)();if(c){o=l("Object.prototype.hasOwnProperty"),i=l("RegExp.prototype.exec"),a={};var u=function(){throw a};s={toString:u,valueOf:u},"symbol"===r(Symbol.toPrimitive)&&(s[Symbol.toPrimitive]=u)}var d=l("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor;e.exports=c?function(e){if(!e||"object"!==r(e))return!1;var t=p(e,"lastIndex");if(!(t&&o(t,"value")))return!1;try{i(e,s)}catch(e){return e===a}}:function(e){return!(!e||"object"!==r(e)&&"function"!=typeof e)&&"[object RegExp]"===d(e)}},9458:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(66992),n(51532),n(41539),n(78783),n(33948),n(70189),n(82526),n(41817),n(32165);var o,i="function"==typeof Map&&Map.prototype?Map:null,a="function"==typeof Set&&Set.prototype?Set:null;a||(o=function(e){return!1});var s=i?Map.prototype.has:null,l=a?Set.prototype.has:null;o||l||(o=function(e){return!1}),e.exports=o||function(e){if(!e||"object"!==r(e))return!1;try{if(l.call(e),s)try{s.call(e)}catch(e){return!0}return e instanceof a}catch(e){}return!1}},75769:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(73684)("SharedArrayBuffer.prototype.byteLength",!0);e.exports=o?function(e){if(!e||"object"!==r(e))return!1;try{return o(e),!0}catch(e){return!1}}:function(e){return!1}},68210:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=String.prototype.valueOf,i=Object.prototype.toString,a=n(80297)();e.exports=function(e){return"string"==typeof e||"object"===r(e)&&(a?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object String]"===i.call(e))}},86967:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=Object.prototype.toString;if(n(98949)()){var i=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"===r(e))return!0;if("[object Symbol]"!==o.call(e))return!1;try{return function(e){return"symbol"===r(e.valueOf())&&a.test(i.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},77219:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(66992),n(41539),n(78783),n(4129),n(33948),n(38478),n(82526),n(41817),n(32165);var o,i="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,a="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;i||(o=function(e){return!1});var s=i?i.prototype.has:null,l=a?a.prototype.has:null;o||s||(o=function(e){return!1}),e.exports=o||function(e){if(!e||"object"!==r(e))return!1;try{if(s.call(e,s),l)try{l.call(e,l)}catch(e){return!0}return e instanceof i}catch(e){}return!1}},34301:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(37555),i=n(73684),a=o("%WeakSet%",!0),s=i("WeakSet.prototype.has",!0);if(s){var l=i("WeakMap.prototype.has",!0);e.exports=function(e){if(!e||"object"!==r(e))return!1;try{if(s(e,s),l)try{l(e,l)}catch(e){return!0}return e instanceof a}catch(e){}return!1}}else e.exports=function(e){return!1}},98597:(e,t,n)=>{n(41539);var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},47765:(e,t,n)=>{n(18264),n(41539),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016);var r="undefined"==typeof performance?null:performance,o="undefined"==typeof crypto?null:crypto,i=null!==o?function(e){var t=new ArrayBuffer(e),n=new Uint8Array(t);return o.getRandomValues(n),t}:function(e){for(var t=new ArrayBuffer(e),n=new Uint8Array(t),r=0;r<e;r++)n[r]=Math.ceil(4294967295*Math.random()>>>0);return t};t.performance=r,t.cryptoRandomBuffer=i},19820:(e,t,n)=>{function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){if(e&&"object"===r(e)){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return l[e];var n,o=String(e);return(n=i[o.toLowerCase()])?n:(n=a[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),o.isEventKey=function(e,t){if(e&&"object"===r(e)){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=i[t.toLowerCase()])return o===n;if(o=a[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var i=(t=e.exports=o).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(s=97;s<123;s++)i[String.fromCharCode(s)]=s-32;for(var s=48;s<58;s++)i[s-48]=s;for(s=1;s<13;s++)i["f"+s]=s+111;for(s=0;s<10;s++)i["numpad "+s]=s+96;var l=t.names=t.title={};for(s in i)l[i[s]]=s;for(var c in a)i[c]=a[c]},78503:(e,t,n)=>{var r=n(6426);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=r(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var l=document.body;l.appendChild(a),n=a.offsetHeight,l.removeChild(a)}return n}},97754:(e,t,n)=>{"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}n(47042),n(54747),n(47941),n(41539),n(74916),n(15306),n(24603),n(39714),n(4723),n(23123),n(69600),n(21249),n(57327),n(64765),n(2707),n(92222);var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(34073)(e.__opts__),r=e.__tlds__.slice();function s(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(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===o(n))return!function(e){return"[object RegExp]"===o(e)}(n.validate)?i(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><｜]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><｜]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),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 d(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function p(e,t){var n=new d(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function f(e,t){if(!(this instanceof f))return new f(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},f.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=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+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},f.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(p(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(p(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},f.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,p(this,0)):null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},34073:(e,t,n)=>{"use strict";n(69600),e.exports=function(e){var t={};e=e||{},t.src_Any=n(40146).source,t.src_Cc=n(2605).source,t.src_Z=n(35732).source,t.src_P=n(67925).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><｜]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><｜]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\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["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+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}},60764:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=/^(?:0|[1-9]\d*)$/,c=parseInt,u=Object.prototype.toString,d=Math.ceil,p=Math.max;function f(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function h(e,t,n){if(!m(n))return!1;var o=r(t);return!!("number"==o?function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=m(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(n)&&function(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}(t,n.length):"string"==o&&t in n)&&function(e,t){return e===t||e!=e&&t!=t}(n[t],e)}function m(e){var t=r(e);return!!e&&("object"==t||"function"==t)}e.exports=function(e,t,n){t=(n?h(e,t,n):void 0===t)?1:p(function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}(e))===1/0||e===-1/0){return 17976931348623157e292*(e<0?-1:1)}return e==e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(t),0);var l=e?e.length:0;if(!l||t<1)return[];for(var g=0,y=0,v=Array(d(l/t));g<l;)v[y++]=f(e,g,g+=t);return v}},92585:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(41539),n(39714),n(54747),n(74916),n(66992),n(33948),n(24603),n(15306),n(30489),n(40561),n(82526),n(47941),n(47042),n(21249),n(18264),n(41817),n(32165),n(78783);var o="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",s="[object Map]",l="[object Set]",c=/\w*$/,u=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,p={};p[o]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object DataView]"]=p["[object Boolean]"]=p["[object Date]"]=p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p[s]=p["[object Number]"]=p["[object Object]"]=p["[object RegExp]"]=p[l]=p["[object String]"]=p["[object Symbol]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p["[object Error]"]=p[i]=p["[object WeakMap]"]=!1;var f="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,h="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,m=f||h||Function("return this")(),g="object"==r(t)&&t&&!t.nodeType&&t,y=g&&"object"==r(e)&&e&&!e.nodeType&&e,v=y&&y.exports===g;function b(e,t){return e.set(t[0],t[1]),e}function _(e,t){return e.add(t),e}function w(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function C(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function S(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function E(e,t){return function(n){return e(t(n))}}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var k,O=Array.prototype,T=Function.prototype,A=Object.prototype,P=m["__core-js_shared__"],R=(k=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"",I=T.toString,M=A.hasOwnProperty,N=A.toString,D=RegExp("^"+I.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=v?m.Buffer:void 0,L=m.Symbol,B=m.Uint8Array,F=E(Object.getPrototypeOf,Object),U=Object.create,H=A.propertyIsEnumerable,V=O.splice,z=Object.getOwnPropertySymbols,q=j?j.isBuffer:void 0,G=E(Object.keys,Object),W=ye(m,"DataView"),Y=ye(m,"Map"),Z=ye(m,"Promise"),K=ye(m,"Set"),$=ye(m,"WeakMap"),Q=ye(Object,"create"),X=Ce(W),J=Ce(Y),ee=Ce(Z),te=Ce(K),ne=Ce($),re=L?L.prototype:void 0,oe=re?re.valueOf:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){this.__data__=new ae(e)}function ce(e,t){var n=Ee(e)||function(e){return function(e){return function(e){return!!e&&"object"==r(e)}(e)&&xe(e)}(e)&&M.call(e,"callee")&&(!H.call(e,"callee")||N.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=n.length,a=!!i;for(var s in e)!t&&!M.call(e,s)||a&&("length"==s||_e(s,i))||n.push(s);return n}function ue(e,t,n){var r=e[t];M.call(e,t)&&Se(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function de(e,t){for(var n=e.length;n--;)if(Se(e[n][0],t))return n;return-1}function pe(e,t,n,r,u,d,f){var h;if(r&&(h=d?r(e,u,d,f):r(e)),void 0!==h)return h;if(!Te(e))return e;var m=Ee(e);if(m){if(h=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&M.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,h)}else{var g=be(e),y=g==i||g==a;if(ke(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if("[object Object]"==g||g==o||y&&!d){if(C(e))return d?e:{};if(h=function(e){return"function"!=typeof e.constructor||we(e)?{}:(t=F(e),Te(t)?U(t):{});var t}(y?{}:e),!t)return function(e,t){return me(e,ve(e),t)}(e,function(e,t){return e&&me(t,Ae(t),e)}(h,e))}else{if(!p[g])return d?e:{};h=function(e,t,n,r){var o=e.constructor;switch(t){case"[object ArrayBuffer]":return he(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return function(e,t){var n=t?he(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?he(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case s:return function(e,t,n){return w(t?n(S(e),!0):S(e),b,new e.constructor)}(e,r,n);case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,c.exec(e));return t.lastIndex=e.lastIndex,t}(e);case l:return function(e,t,n){return w(t?n(x(e),!0):x(e),_,new e.constructor)}(e,r,n);case"[object Symbol]":return i=e,oe?Object(oe.call(i)):{}}var i}(e,g,pe,t)}}f||(f=new le);var v=f.get(e);if(v)return v;if(f.set(e,h),!m)var E=n?function(e){return function(e,t,n){var r=t(e);return Ee(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ae,ve)}(e):Ae(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(E||e,(function(o,i){E&&(o=e[i=o]),ue(h,i,pe(o,t,n,r,i,e,f))})),h}function fe(e){return!(!Te(e)||function(e){return!!R&&R in e}(e))&&(Oe(e)||C(e)?D:u).test(Ce(e))}function he(e){var t=new e.constructor(e.byteLength);return new B(t).set(new B(e)),t}function me(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):void 0;ue(n,a,void 0===s?e[a]:s)}return n}function ge(e,t){var n,o,i=e.__data__;return("string"==(o=r(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ye(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return fe(n)?n:void 0}ie.prototype.clear=function(){this.__data__=Q?Q(null):{}},ie.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return M.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:M.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,n=de(t,e);return!(n<0)&&(n==t.length-1?t.pop():V.call(t,n,1),!0)},ae.prototype.get=function(e){var t=this.__data__,n=de(t,e);return n<0?void 0:t[n][1]},ae.prototype.has=function(e){return de(this.__data__,e)>-1},ae.prototype.set=function(e,t){var n=this.__data__,r=de(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},se.prototype.clear=function(){this.__data__={hash:new ie,map:new(Y||ae),string:new ie}},se.prototype.delete=function(e){return ge(this,e).delete(e)},se.prototype.get=function(e){return ge(this,e).get(e)},se.prototype.has=function(e){return ge(this,e).has(e)},se.prototype.set=function(e,t){return ge(this,e).set(e,t),this},le.prototype.clear=function(){this.__data__=new ae},le.prototype.delete=function(e){return this.__data__.delete(e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ae){var r=n.__data__;if(!Y||r.length<199)return r.push([e,t]),this;n=this.__data__=new se(r)}return n.set(e,t),this};var ve=z?E(z,Object):function(){return[]},be=function(e){return N.call(e)};function _e(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||d.test(e))&&e>-1&&e%1==0&&e<t}function we(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||A)}function Ce(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Se(e,t){return e===t||e!=e&&t!=t}(W&&"[object DataView]"!=be(new W(new ArrayBuffer(1)))||Y&&be(new Y)!=s||Z&&"[object Promise]"!=be(Z.resolve())||K&&be(new K)!=l||$&&"[object WeakMap]"!=be(new $))&&(be=function(e){var t=N.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?Ce(n):void 0;if(r)switch(r){case X:return"[object DataView]";case J:return s;case ee:return"[object Promise]";case te:return l;case ne:return"[object WeakMap]"}return t});var Ee=Array.isArray;function xe(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!Oe(e)}var ke=q||function(){return!1};function Oe(e){var t=Te(e)?N.call(e):"";return t==i||t==a}function Te(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function Ae(e){return xe(e)?ce(e):function(e){if(!we(e))return G(e);var t=[];for(var n in Object(e))M.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return pe(e,!0,!0)}},21791:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,u="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function y(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==p.call(e)}function v(e){if("number"==typeof e)return e;if(y(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,s=setTimeout(w,t),u?y(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=m();if(_(e))return C(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?h(n,i-(e-c)):n}(e))}function C(e){return s=void 0,p&&r?y(e):(r=o=void 0,a)}function S(){var e=m(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return b(l);if(d)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,g(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(v(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},S.flush=function(){return void 0===s?a:C(m())},S}},66213:(e,t,n)=>{function r(e){return(r="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)}n(24603),n(74916),n(39714),n(41539),n(15306),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/[&<>"'`]/g,i=RegExp(o.source),a="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,s="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,l=a||s||Function("return this")();var c=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"}),u=Object.prototype.toString,d=l.Symbol,p=d?d.prototype:void 0,f=p?p.toString:void 0;function h(e){if("string"==typeof e)return e;if(function(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==u.call(e)}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}e.exports=function(e){var t;return(e=null==(t=e)?"":h(t))&&i.test(e)?e.replace(o,c):e}},37733:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(54747),n(41539),n(39714),n(74916),n(66992),n(33948),n(24603),n(15306),n(40561),n(82526),n(47941),n(68309),n(21249),n(18264),n(41817),n(32165),n(78783);var o="[object Arguments]",i="[object Map]",a="[object Object]",s="[object Set]",l=/^\[object .+?Constructor\]$/,c=/^(?: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[o]=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[a]=u["[object RegExp]"]=u[s]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,p="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,f=d||p||Function("return this")(),h="object"==r(t)&&t&&!t.nodeType&&t,m=h&&"object"==r(e)&&e&&!e.nodeType&&e,g=m&&m.exports===h,y=g&&d.process,v=function(){try{return y&&y.binding&&y.binding("util")}catch(e){}}(),b=v&&v.isTypedArray;function _(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var S,E=Array.prototype,x=Function.prototype,k=Object.prototype,O=f["__core-js_shared__"],T=x.toString,A=k.hasOwnProperty,P=(S=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",R=k.toString,I=RegExp("^"+T.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=g?f.Buffer:void 0,N=f.Symbol,D=f.Uint8Array,j=k.propertyIsEnumerable,L=E.splice,B=N?N.toStringTag:void 0,F=Object.getOwnPropertySymbols,U=M?M.isBuffer:void 0,H=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),V=ge(f,"DataView"),z=ge(f,"Map"),q=ge(f,"Promise"),G=ge(f,"Set"),W=ge(f,"WeakMap"),Y=ge(Object,"create"),Z=_e(V),K=_e(z),$=_e(q),Q=_e(G),X=_e(W),J=N?N.prototype:void 0,ee=J?J.valueOf:void 0;function te(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new re;++t<n;)this.add(e[t])}function ie(e){var t=this.__data__=new ne(e);this.size=t.size}function ae(e,t){var n=Se(e),r=!n&&Ce(e),o=!n&&!r&&Ee(e),i=!n&&!r&&!o&&Ae(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!A.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||be(c,l))||s.push(c);return s}function se(e,t){for(var n=e.length;n--;)if(we(e[n][0],t))return n;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=A.call(e,B),n=e[B];try{e[B]=void 0;var r=!0}catch(e){}var o=R.call(e);r&&(t?e[B]=n:delete e[B]);return o}(e):function(e){return R.call(e)}(e)}function ce(e){return Te(e)&&le(e)==o}function ue(e,t,n,r,l){return e===t||(null==e||null==t||!Te(e)&&!Te(t)?e!=e&&t!=t:function(e,t,n,r,l,c){var u=Se(e),d=Se(t),p=u?"[object Array]":ve(e),f=d?"[object Array]":ve(t),h=(p=p==o?a:p)==a,m=(f=f==o?a:f)==a,g=p==f;if(g&&Ee(e)){if(!Ee(t))return!1;u=!0,h=!1}if(g&&!h)return c||(c=new ie),u||Ae(e)?fe(e,t,n,r,l,c):function(e,t,n,r,o,a,l){switch(n){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||!a(new D(e),new D(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return we(+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 c=w;case s:var u=1&r;if(c||(c=C),e.size!=t.size&&!u)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var p=fe(c(e),c(t),r,o,a,l);return l.delete(e),p;case"[object Symbol]":if(ee)return ee.call(e)==ee.call(t)}return!1}(e,t,p,n,r,l,c);if(!(1&n)){var y=h&&A.call(e,"__wrapped__"),v=m&&A.call(t,"__wrapped__");if(y||v){var b=y?e.value():e,_=v?t.value():t;return c||(c=new ie),l(b,_,n,r,c)}}if(!g)return!1;return c||(c=new ie),function(e,t,n,r,o,i){var a=1&n,s=he(e),l=s.length,c=he(t).length;if(l!=c&&!a)return!1;var u=l;for(;u--;){var d=s[u];if(!(a?d in t:A.call(t,d)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var f=!0;i.set(e,t),i.set(t,e);var h=a;for(;++u<l;){d=s[u];var m=e[d],g=t[d];if(r)var y=a?r(g,m,d,t,e,i):r(m,g,d,e,t,i);if(!(void 0===y?m===g||o(m,g,n,r,i):y)){f=!1;break}h||(h="constructor"==d)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,r,l,c)}(e,t,n,r,ue,l))}function de(e){return!(!Oe(e)||function(e){return!!P&&P in e}(e))&&(xe(e)?I:l).test(_e(e))}function pe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||k,t!==r)return H(e);var t,n,r,o=[];for(var i in Object(e))A.call(e,i)&&"constructor"!=i&&o.push(i);return o}function fe(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,p=2&n?new oe:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var f=e[u],h=t[u];if(r)var m=a?r(h,f,u,t,e,i):r(f,h,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(p){if(!_(t,(function(e,t){if(a=t,!p.has(a)&&(f===e||o(f,e,n,r,i)))return p.push(t);var a}))){d=!1;break}}else if(f!==h&&!o(f,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function he(e){return function(e,t,n){var r=t(e);return Se(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Pe,ye)}function me(e,t){var n,o,i=e.__data__;return("string"==(o=r(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return de(n)?n:void 0}te.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},te.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},te.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return A.call(t,e)?t[e]:void 0},te.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:A.call(t,e)},te.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[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__,n=se(t,e);return!(n<0)&&(n==t.length-1?t.pop():L.call(t,n,1),--this.size,!0)},ne.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},ne.prototype.has=function(e){return se(this.__data__,e)>-1},ne.prototype.set=function(e,t){var n=this.__data__,r=se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},re.prototype.clear=function(){this.size=0,this.__data__={hash:new te,map:new(z||ne),string:new te}},re.prototype.delete=function(e){var t=me(this,e).delete(e);return this.size-=t?1:0,t},re.prototype.get=function(e){return me(this,e).get(e)},re.prototype.has=function(e){return me(this,e).has(e)},re.prototype.set=function(e,t){var n=me(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?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)},ie.prototype.clear=function(){this.__data__=new ne,this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ie.prototype.get=function(e){return this.__data__.get(e)},ie.prototype.has=function(e){return this.__data__.has(e)},ie.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ne){var r=n.__data__;if(!z||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new re(r)}return n.set(e,t),this.size=n.size,this};var ye=F?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(F(e),(function(t){return j.call(e,t)})))}:function(){return[]},ve=le;function be(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||c.test(e))&&e>-1&&e%1==0&&e<t}function _e(e){if(null!=e){try{return T.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function we(e,t){return e===t||e!=e&&t!=t}(V&&"[object DataView]"!=ve(new V(new ArrayBuffer(1)))||z&&ve(new z)!=i||q&&"[object Promise]"!=ve(q.resolve())||G&&ve(new G)!=s||W&&"[object WeakMap]"!=ve(new W))&&(ve=function(e){var t=le(e),n=t==a?e.constructor:void 0,r=n?_e(n):"";if(r)switch(r){case Z:return"[object DataView]";case K:return i;case $:return"[object Promise]";case Q:return s;case X:return"[object WeakMap]"}return t});var Ce=ce(function(){return arguments}())?ce:function(e){return Te(e)&&A.call(e,"callee")&&!j.call(e,"callee")},Se=Array.isArray;var Ee=U||function(){return!1};function xe(e){if(!Oe(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Oe(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==r(e)}var Ae=b?function(e){return function(t){return e(t)}}(b):function(e){return Te(e)&&ke(e.length)&&!!u[le(e)]};function Pe(e){return null!=(t=e)&&ke(t.length)&&!xe(t)?ae(e):pe(e);var t}e.exports=function(e,t){return ue(e,t)}},3260:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(41539),n(39714),n(74916),n(66992),n(33948),n(24603),n(15306),n(30489),n(40561),n(47042),n(21249),n(82526),n(41817),n(32165),n(78783);var o=/^\[object .+?Constructor\]$/,i=/^(?:0|[1-9]\d*)$/,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,l="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u="object"==r(t)&&t&&!t.nodeType&&t,d=u&&"object"==r(e)&&e&&!e.nodeType&&e,p=d&&d.exports===u,f=p&&s.process,h=function(){try{var e=d&&d.require&&d.require("util").types;return e||f&&f.binding&&f.binding("util")}catch(e){}}(),m=h&&h.isTypedArray;function g(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var y,v=Array.prototype,b=Function.prototype,_=Object.prototype,w=c["__core-js_shared__"],C=b.toString,S=_.hasOwnProperty,E=(y=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+y:"",x=_.toString,k=C.call(Object),O=RegExp("^"+C.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=p?c.Buffer:void 0,A=c.Symbol,P=c.Uint8Array,R=T?T.allocUnsafe:void 0,I=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),M=Object.create,N=_.propertyIsEnumerable,D=v.splice,j=A?A.toStringTag:void 0,L=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),B=T?T.isBuffer:void 0,F=Math.max,U=Date.now,H=le(c,"Map"),V=le(Object,"create"),z=function(){function e(){}return function(t){if(!_e(t))return{};if(M)return M(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function W(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=this.__data__=new G(e);this.size=t.size}function Z(e,t){var n=me(e),r=!n&&he(e),o=!n&&!r&&ye(e),i=!n&&!r&&!o&&Ce(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!S.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ce(c,l))||s.push(c);return s}function K(e,t,n){(void 0!==n&&!fe(e[t],n)||void 0===n&&!(t in e))&&X(e,t,n)}function $(e,t,n){var r=e[t];S.call(e,t)&&fe(r,n)&&(void 0!==n||t in e)||X(e,t,n)}function Q(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function X(e,t,n){"__proto__"==t&&L?L(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}q.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},q.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},q.prototype.get=function(e){var t=this.__data__;if(V){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return S.call(t,e)?t[e]:void 0},q.prototype.has=function(e){var t=this.__data__;return V?void 0!==t[e]:S.call(t,e)},q.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=V&&void 0===t?"__lodash_hash_undefined__":t,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var t=this.__data__,n=Q(t,e);return!(n<0)&&(n==t.length-1?t.pop():D.call(t,n,1),--this.size,!0)},G.prototype.get=function(e){var t=this.__data__,n=Q(t,e);return n<0?void 0:t[n][1]},G.prototype.has=function(e){return Q(this.__data__,e)>-1},G.prototype.set=function(e,t){var n=this.__data__,r=Q(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},W.prototype.clear=function(){this.size=0,this.__data__={hash:new q,map:new(H||G),string:new q}},W.prototype.delete=function(e){var t=se(this,e).delete(e);return this.size-=t?1:0,t},W.prototype.get=function(e){return se(this,e).get(e)},W.prototype.has=function(e){return se(this,e).has(e)},W.prototype.set=function(e,t){var n=se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Y.prototype.clear=function(){this.__data__=new G,this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Y.prototype.get=function(e){return this.__data__.get(e)},Y.prototype.has=function(e){return this.__data__.has(e)},Y.prototype.set=function(e,t){var n=this.__data__;if(n instanceof G){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new W(r)}return n.set(e,t),this.size=n.size,this};var J,ee=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[J?a:++r];if(!1===t(o[s],s,o))break}return e};function te(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":j&&j in Object(e)?function(e){var t=S.call(e,j),n=e[j];try{e[j]=void 0;var r=!0}catch(e){}var o=x.call(e);r&&(t?e[j]=n:delete e[j]);return o}(e):function(e){return x.call(e)}(e)}function ne(e){return we(e)&&"[object Arguments]"==te(e)}function re(e){return!(!_e(e)||function(e){return!!E&&E in e}(e))&&(ve(e)?O:o).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function oe(e){if(!_e(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ue(e),n=[];for(var r in e)("constructor"!=r||!t&&S.call(e,r))&&n.push(r);return n}function ie(e,t,n,r,o){e!==t&&ee(t,(function(i,a){if(o||(o=new Y),_e(i))!function(e,t,n,r,o,i,a){var s=de(e,n),l=de(t,n),c=a.get(l);if(c)return void K(e,n,c);var u=i?i(s,l,n+"",e,t,a):void 0,d=void 0===u;if(d){var p=me(l),f=!p&&ye(l),h=!p&&!f&&Ce(l);u=l,p||f||h?me(s)?u=s:we(b=s)&&ge(b)?u=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(s):f?(d=!1,u=function(e,t){if(t)return e.slice();var n=e.length,r=R?R(n):new e.constructor(n);return e.copy(r),r}(l,!0)):h?(d=!1,m=l,g=!0?(y=m.buffer,v=new y.constructor(y.byteLength),new P(v).set(new P(y)),v):m.buffer,u=new m.constructor(g,m.byteOffset,m.length)):u=[]:function(e){if(!we(e)||"[object Object]"!=te(e))return!1;var t=I(e);if(null===t)return!0;var n=S.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&C.call(n)==k}(l)||he(l)?(u=s,he(s)?u=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;for(;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?X(n,s,l):$(n,s,l)}return n}(e,Se(e))}(s):_e(s)&&!ve(s)||(u=function(e){return"function"!=typeof e.constructor||ue(e)?{}:z(I(e))}(l))):d=!1}var m,g,y,v;var b;d&&(a.set(l,u),o(u,l,r,i,a),a.delete(l));K(e,n,u)}(e,t,a,n,ie,r,o);else{var s=r?r(de(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),K(e,a,s)}}),Se)}function ae(e,t){return pe(function(e,t,n){return t=F(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=F(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),g(e,this,s)}}(e,t,ke),e+"")}function se(e,t){var n,o,i=e.__data__;return("string"==(o=r(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return re(n)?n:void 0}function ce(e,t){var n=r(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&i.test(e))&&e>-1&&e%1==0&&e<t}function ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_)}function de(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var pe=function(e){var t=0,n=0;return function(){var r=U(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(L?function(e,t){return L(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ke);function fe(e,t){return e===t||e!=e&&t!=t}var he=ne(function(){return arguments}())?ne:function(e){return we(e)&&S.call(e,"callee")&&!N.call(e,"callee")},me=Array.isArray;function ge(e){return null!=e&&be(e.length)&&!ve(e)}var ye=B||function(){return!1};function ve(e){if(!_e(e))return!1;var t=te(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function be(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function _e(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}function we(e){return null!=e&&"object"==r(e)}var Ce=m?function(e){return function(t){return e(t)}}(m):function(e){return we(e)&&be(e.length)&&!!a[te(e)]};function Se(e){return ge(e)?Z(e,!0):oe(e)}var Ee,xe=(Ee=function(e,t,n){ie(e,t,n)},ae((function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,a=o>2?t[2]:void 0;for(i=Ee.length>3&&"function"==typeof i?(o--,i):void 0,a&&function(e,t,n){if(!_e(n))return!1;var o=r(t);return!!("number"==o?ge(n)&&ce(t,n.length):"string"==o&&t in n)&&fe(n[t],e)}(t[0],t[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var s=t[n];s&&Ee(e,s,n,i)}return e})));function ke(e){return e}e.exports=xe},47983:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==(void 0===n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,u="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function v(e){return c=e,s=setTimeout(w,t),u?g(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=m();if(_(e))return C(e);s=setTimeout(w,function(e){var n=t-(e-l);return d?h(n,i-(e-c)):n}(e))}function C(e){return s=void 0,p&&r?g(e):(r=o=void 0,a)}function S(){var e=m(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return v(l);if(d)return s=setTimeout(w,t),g(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=b(t)||0,y(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(b(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},S.flush=function(){return void 0===s?a:C(m())},S}function y(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function v(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==p.call(e)}function b(e){if("number"==typeof e)return e;if(v(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return y(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),g(e,t,{leading:r,maxWait:t,trailing:o})}},62899:(e,t,n)=>{function r(e){return(r="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)}n(41539),n(39714),n(74916),n(15306),n(47042),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c=Object.prototype.toString;function u(e){var t=r(e);return!!e&&("object"==t||"function"==t)}function d(e){return"symbol"==r(e)||function(e){return!!e&&"object"==r(e)}(e)&&"[object Symbol]"==c.call(e)}e.exports=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(d(e))return NaN;if(u(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=u(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},33141:function(e,t,n){var r;function o(e){return(o="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)}e=n.nmd(e),n(24603),n(74916),n(39714),n(69600),n(23123),n(4723),n(2707),n(15306),n(47042),n(54747),n(41539),n(66992),n(33948),n(40561),n(68309),n(21249),n(18264),n(64765),n(92222),n(43290),n(57327),n(86535),n(99244),n(27852),n(69826),n(34553),n(26699),n(32023),n(66528),n(83112),n(83714),n(23157),n(73210),n(48702),n(55674),n(83753),n(82526),n(41817),n(32165),n(78783),function(){var i="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Function]",h="[object GeneratorFunction]",m="[object Map]",g="[object Number]",y="[object Object]",v="[object RegExp]",b="[object Set]",_="[object String]",w="[object Symbol]",C="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",x="[object Float32Array]",k="[object Float64Array]",O="[object Int8Array]",T="[object Int16Array]",A="[object Int32Array]",P="[object Uint8Array]",R="[object Uint16Array]",I="[object Uint32Array]",M=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,D=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,B=RegExp(j.source),F=RegExp(L.source),U=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(W.source),Z=/^\s+/,K=/\s/,$=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Q=/\{\n\/\* \[wrapped with (.+)\] \*/,X=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,de=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",me="["+fe+"]",ge="["+pe+"]",ye="\\d+",ve="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+fe+ye+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",Ce="[^\\ud800-\\udfff]",Se="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",xe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ke="(?:"+be+"|"+_e+")",Oe="(?:"+xe+"|"+_e+")",Te="(?:"+ge+"|"+we+")"+"?",Ae="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[Ce,Se,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),Pe="(?:"+[ve,Se,Ee].join("|")+")"+Ae,Re="(?:"+[Ce+ge+"?",ge,Se,Ee,he].join("|")+")",Ie=RegExp("['’]","g"),Me=RegExp(ge,"g"),Ne=RegExp(we+"(?="+we+")|"+Re+Ae,"g"),De=RegExp([xe+"?"+be+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[me,xe,"$"].join("|")+")",Oe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[me,xe+ke,"$"].join("|")+")",xe+"?"+ke+"+(?:['’](?:d|ll|m|re|s|t|ve))?",xe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ye,Pe].join("|"),"g"),je=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Be=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fe=-1,Ue={};Ue[x]=Ue[k]=Ue[O]=Ue[T]=Ue[A]=Ue[P]=Ue["[object Uint8ClampedArray]"]=Ue[R]=Ue[I]=!0,Ue[l]=Ue[c]=Ue[S]=Ue[u]=Ue[E]=Ue[d]=Ue[p]=Ue[f]=Ue[m]=Ue[g]=Ue[y]=Ue[v]=Ue[b]=Ue[_]=Ue[C]=!1;var He={};He[l]=He[c]=He[S]=He[E]=He[u]=He[d]=He[x]=He[k]=He[O]=He[T]=He[A]=He[m]=He[g]=He[y]=He[v]=He[b]=He[_]=He[w]=He[P]=He["[object Uint8ClampedArray]"]=He[R]=He[I]=!0,He[p]=He[f]=He[C]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ze=parseFloat,qe=parseInt,Ge="object"==(void 0===n.g?"undefined":o(n.g))&&n.g&&n.g.Object===Object&&n.g,We="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,Ye=Ge||We||Function("return this")(),Ze="object"==o(t)&&t&&!t.nodeType&&t,Ke=Ze&&"object"==o(e)&&e&&!e.nodeType&&e,$e=Ke&&Ke.exports===Ze,Qe=$e&&Ge.process,Xe=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Qe&&Qe.binding&&Qe.binding("util")}catch(e){}}(),Je=Xe&&Xe.isArrayBuffer,et=Xe&&Xe.isDate,tt=Xe&&Xe.isMap,nt=Xe&&Xe.isRegExp,rt=Xe&&Xe.isSet,ot=Xe&&Xe.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function st(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ut(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function dt(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function ft(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function ht(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function gt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function yt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var vt=xt("length");function bt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function _t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):_t(e,St,n)}function Ct(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function St(e){return e!=e}function Et(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function xt(e){return function(t){return null==t?void 0:t[e]}}function kt(e){return function(t){return null==e?void 0:e[t]}}function Ot(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Tt(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function At(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Pt(e){return e?e.slice(0,Zt(e)+1).replace(Z,""):e}function Rt(e){return function(t){return e(t)}}function It(e,t){return ft(t,(function(t){return e[t]}))}function Mt(e,t){return e.has(t)}function Nt(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function Dt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function jt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=kt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"}),Bt=kt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Ft(e){return"\\"+Ve[e]}function Ut(e){return je.test(e)}function Ht(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Vt(e,t){return function(n){return e(t(n))}}function zt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Gt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return Ut(e)?function(e){var t=Ne.lastIndex=0;for(;Ne.test(e);)++t;return t}(e):vt(e)}function Yt(e){return Ut(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.split("")}(e)}function Zt(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var Kt=kt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var $t=function e(t){var n,r=(t=null==t?Ye:$t.defaults(Ye.Object(),t,$t.pick(Ye,Be))).Array,K=t.Date,pe=t.Error,fe=t.Function,he=t.Math,me=t.Object,ge=t.RegExp,ye=t.String,ve=t.TypeError,be=r.prototype,_e=fe.prototype,we=me.prototype,Ce=t["__core-js_shared__"],Se=_e.toString,Ee=we.hasOwnProperty,xe=0,ke=(n=/[^.]+$/.exec(Ce&&Ce.keys&&Ce.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Oe=we.toString,Te=Se.call(me),Ae=Ye._,Pe=ge("^"+Se.call(Ee).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Re=$e?t.Buffer:void 0,Ne=t.Symbol,je=t.Uint8Array,Ve=Re?Re.allocUnsafe:void 0,Ge=Vt(me.getPrototypeOf,me),We=me.create,Ze=we.propertyIsEnumerable,Ke=be.splice,Qe=Ne?Ne.isConcatSpreadable:void 0,Xe=Ne?Ne.iterator:void 0,vt=Ne?Ne.toStringTag:void 0,kt=function(){try{var e=ni(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Qt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Xt=K&&K.now!==Ye.Date.now&&K.now,Jt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,en=he.ceil,tn=he.floor,nn=me.getOwnPropertySymbols,rn=Re?Re.isBuffer:void 0,on=t.isFinite,an=be.join,sn=Vt(me.keys,me),ln=he.max,cn=he.min,un=K.now,dn=t.parseInt,pn=he.random,fn=be.reverse,hn=ni(t,"DataView"),mn=ni(t,"Map"),gn=ni(t,"Promise"),yn=ni(t,"Set"),vn=ni(t,"WeakMap"),bn=ni(me,"create"),_n=vn&&new vn,wn={},Cn=Ai(hn),Sn=Ai(mn),En=Ai(gn),xn=Ai(yn),kn=Ai(vn),On=Ne?Ne.prototype:void 0,Tn=On?On.valueOf:void 0,An=On?On.toString:void 0;function Pn(e){if(Wa(e)&&!Da(e)&&!(e instanceof Nn)){if(e instanceof Mn)return e;if(Ee.call(e,"__wrapped__"))return Pi(e)}return new Mn(e)}var Rn=function(){function e(){}return function(t){if(!Ga(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function In(){}function Mn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Nn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Bn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ln;++t<n;)this.add(e[t])}function Fn(e){var t=this.__data__=new jn(e);this.size=t.size}function Un(e,t){var n=Da(e),r=!n&&Na(e),o=!n&&!r&&Fa(e),i=!n&&!r&&!o&&es(e),a=n||r||o||i,s=a?At(e.length,ye):[],l=s.length;for(var c in e)!t&&!Ee.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ci(c,l))||s.push(c);return s}function Hn(e){var t=e.length;return t?e[Br(0,t-1)]:void 0}function Vn(e,t){return ki(_o(e),Qn(t,0,e.length))}function zn(e){return ki(_o(e))}function qn(e,t,n){(void 0!==n&&!Ra(e[t],n)||void 0===n&&!(t in e))&&Kn(e,t,n)}function Gn(e,t,n){var r=e[t];Ee.call(e,t)&&Ra(r,n)&&(void 0!==n||t in e)||Kn(e,t,n)}function Wn(e,t){for(var n=e.length;n--;)if(Ra(e[n][0],t))return n;return-1}function Yn(e,t,n,r){return nr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Zn(e,t){return e&&wo(t,Cs(t),e)}function Kn(e,t,n){"__proto__"==t&&kt?kt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function $n(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:ys(e,t[n]);return i}function Qn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,s=1&t,c=2&t,p=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ga(e))return e;var C=Da(e);if(C){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return _o(e,a)}else{var M=ii(e),N=M==f||M==h;if(Fa(e))return ho(e,s);if(M==y||M==l||N&&!o){if(a=c||N?{}:si(e),!s)return c?function(e,t){return wo(e,oi(e),t)}(e,function(e,t){return e&&wo(t,Ss(t),e)}(a,e)):function(e,t){return wo(e,ri(e),t)}(e,Zn(a,e))}else{if(!He[M])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case S:return mo(e);case u:case d:return new r(+e);case E:return function(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case x:case k:case O:case T:case A:case P:case"[object Uint8ClampedArray]":case R:case I:return go(e,n);case m:return new r;case g:case _:return new r(e);case v:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case w:return o=e,Tn?me(Tn.call(o)):{}}var o}(e,M,s)}}i||(i=new Fn);var D=i.get(e);if(D)return D;i.set(e,a),Qa(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):Ya(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var j=C?void 0:(p?c?Ko:Zo:c?Ss:Cs)(e);return st(j||e,(function(r,o){j&&(r=e[o=r]),Gn(a,o,Xn(r,t,n,o,e,i))})),a}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function er(e,t,n){if("function"!=typeof e)throw new ve(i);return Ci((function(){e.apply(void 0,n)}),t)}function tr(e,t,n,r){var o=-1,i=dt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=ft(t,Rt(n))),r?(i=pt,a=!1):t.length>=200&&(i=Mt,a=!1,t=new Bn(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else i(t,d,r)||l.push(u)}return l}Pn.templateSettings={escape:U,evaluate:H,interpolate:V,variable:"",imports:{_:Pn}},Pn.prototype=In.prototype,Pn.prototype.constructor=Pn,Mn.prototype=Rn(In.prototype),Mn.prototype.constructor=Mn,Nn.prototype=Rn(In.prototype),Nn.prototype.constructor=Nn,Dn.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Dn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Dn.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ee.call(t,e)?t[e]:void 0},Dn.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:Ee.call(t,e)},Dn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},jn.prototype.clear=function(){this.__data__=[],this.size=0},jn.prototype.delete=function(e){var t=this.__data__,n=Wn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,!0)},jn.prototype.get=function(e){var t=this.__data__,n=Wn(t,e);return n<0?void 0:t[n][1]},jn.prototype.has=function(e){return Wn(this.__data__,e)>-1},jn.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ln.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(mn||jn),string:new Dn}},Ln.prototype.delete=function(e){var t=ei(this,e).delete(e);return this.size-=t?1:0,t},Ln.prototype.get=function(e){return ei(this,e).get(e)},Ln.prototype.has=function(e){return ei(this,e).has(e)},Ln.prototype.set=function(e,t){var n=ei(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Bn.prototype.add=Bn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Bn.prototype.has=function(e){return this.__data__.has(e)},Fn.prototype.clear=function(){this.__data__=new jn,this.size=0},Fn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Fn.prototype.get=function(e){return this.__data__.get(e)},Fn.prototype.has=function(e){return this.__data__.has(e)},Fn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof jn){var r=n.__data__;if(!mn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(e,t),this.size=n.size,this};var nr=Eo(ur),rr=Eo(dr,!0);function or(e,t){var n=!0;return nr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function ir(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===s?a==a&&!Ja(a):n(a,s)))var s=a,l=i}return l}function ar(e,t){var n=[];return nr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function sr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=li),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?sr(s,t-1,n,r,o):ht(o,s):r||(o[o.length]=s)}return o}var lr=xo(),cr=xo(!0);function ur(e,t){return e&&lr(e,t,Cs)}function dr(e,t){return e&&cr(e,t,Cs)}function pr(e,t){return ut(t,(function(t){return Va(e[t])}))}function fr(e,t){for(var n=0,r=(t=co(t,e)).length;null!=e&&n<r;)e=e[Ti(t[n++])];return n&&n==r?e:void 0}function hr(e,t,n){var r=t(e);return Da(e)?r:ht(r,n(e))}function mr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":vt&&vt in me(e)?function(e){var t=Ee.call(e,vt),n=e[vt];try{e[vt]=void 0;var r=!0}catch(e){}var o=Oe.call(e);r&&(t?e[vt]=n:delete e[vt]);return o}(e):function(e){return Oe.call(e)}(e)}function gr(e,t){return e>t}function yr(e,t){return null!=e&&Ee.call(e,t)}function vr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:dt,i=e[0].length,a=e.length,s=a,l=r(a),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=ft(d,Rt(t))),c=cn(d.length,c),l[s]=!n&&(t||i>=120&&d.length>=120)?new Bn(s&&d):void 0}d=e[0];var p=-1,f=l[0];e:for(;++p<i&&u.length<c;){var h=d[p],m=t?t(h):h;if(h=n||0!==h?h:0,!(f?Mt(f,m):o(u,m,n))){for(s=a;--s;){var g=l[s];if(!(g?Mt(g,m):o(e[s],m,n)))continue e}f&&f.push(m),u.push(h)}}return u}function _r(e,t,n){var r=null==(e=vi(e,t=co(t,e)))?e:e[Ti(Hi(t))];return null==r?void 0:it(r,e,n)}function wr(e){return Wa(e)&&mr(e)==l}function Cr(e,t,n,r,o){return e===t||(null==e||null==t||!Wa(e)&&!Wa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Da(e),s=Da(t),f=a?c:ii(e),h=s?c:ii(t),C=(f=f==l?y:f)==y,x=(h=h==l?y:h)==y,k=f==h;if(k&&Fa(e)){if(!Fa(t))return!1;a=!0,C=!1}if(k&&!C)return i||(i=new Fn),a||es(e)?Wo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case S:return!(e.byteLength!=t.byteLength||!i(new je(e),new je(t)));case u:case d:case g:return Ra(+e,+t);case p:return e.name==t.name&&e.message==t.message;case v:case _:return e==t+"";case m:var s=Ht;case b:var l=1&r;if(s||(s=qt),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var f=Wo(s(e),s(t),r,o,i,a);return a.delete(e),f;case w:if(Tn)return Tn.call(e)==Tn.call(t)}return!1}(e,t,f,n,r,o,i);if(!(1&n)){var O=C&&Ee.call(e,"__wrapped__"),T=x&&Ee.call(t,"__wrapped__");if(O||T){var A=O?e.value():e,P=T?t.value():t;return i||(i=new Fn),o(A,P,n,r,i)}}if(!k)return!1;return i||(i=new Fn),function(e,t,n,r,o,i){var a=1&n,s=Zo(e),l=s.length,c=Zo(t).length;if(l!=c&&!a)return!1;var u=l;for(;u--;){var d=s[u];if(!(a?d in t:Ee.call(t,d)))return!1}var p=i.get(e),f=i.get(t);if(p&&f)return p==t&&f==e;var h=!0;i.set(e,t),i.set(t,e);var m=a;for(;++u<l;){d=s[u];var g=e[d],y=t[d];if(r)var v=a?r(y,g,d,t,e,i):r(g,y,d,e,t,i);if(!(void 0===v?g===y||o(g,y,n,r,i):v)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,Cr,o))}function Sr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=me(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Fn;if(r)var p=r(c,u,l,e,t,d);if(!(void 0===p?Cr(u,c,3,r,d):p))return!1}}return!0}function Er(e){return!(!Ga(e)||function(e){return!!ke&&ke in e}(e))&&(Va(e)?Pe:ae).test(Ai(e))}function xr(e){return"function"==typeof e?e:null==e?Zs:"object"==o(e)?Da(e)?Rr(e[0],e[1]):Pr(e):rl(e)}function kr(e){if(!hi(e))return sn(e);var t=[];for(var n in me(e))Ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Or(e){if(!Ga(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=hi(e),n=[];for(var r in e)("constructor"!=r||!t&&Ee.call(e,r))&&n.push(r);return n}function Tr(e,t){return e<t}function Ar(e,t){var n=-1,o=La(e)?r(e.length):[];return nr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Pr(e){var t=ti(e);return 1==t.length&&t[0][2]?gi(t[0][0],t[0][1]):function(n){return n===e||Sr(n,e,t)}}function Rr(e,t){return di(e)&&mi(t)?gi(Ti(e),t):function(n){var r=ys(n,e);return void 0===r&&r===t?vs(n,e):Cr(t,r,3)}}function Ir(e,t,n,r,o){e!==t&&lr(t,(function(i,a){if(o||(o=new Fn),Ga(i))!function(e,t,n,r,o,i,a){var s=_i(e,n),l=_i(t,n),c=a.get(l);if(c)return void qn(e,n,c);var u=i?i(s,l,n+"",e,t,a):void 0,d=void 0===u;if(d){var p=Da(l),f=!p&&Fa(l),h=!p&&!f&&es(l);u=l,p||f||h?Da(s)?u=s:Ba(s)?u=_o(s):f?(d=!1,u=ho(l,!0)):h?(d=!1,u=go(l,!0)):u=[]:Ka(l)||Na(l)?(u=s,Na(s)?u=ls(s):Ga(s)&&!Va(s)||(u=si(l))):d=!1}d&&(a.set(l,u),o(u,l,r,i,a),a.delete(l));qn(e,n,u)}(e,t,a,n,Ir,r,o);else{var s=r?r(_i(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),qn(e,a,s)}}),Ss)}function Mr(e,t){var n=e.length;if(n)return ci(t+=t<0?n:0,n)?e[t]:void 0}function Nr(e,t,n){t=t.length?ft(t,(function(e){return Da(e)?function(t){return fr(t,1===e.length?e[0]:e)}:e})):[Zs];var r=-1;return t=ft(t,Rt(Jo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Ar(e,(function(e,n,o){return{criteria:ft(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=yo(o[r],i[r]);if(l){if(r>=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Dr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=fr(e,a);n(s,a)&&zr(i,co(a,e),s)}return i}function jr(e,t,n,r){var o=r?Ct:wt,i=-1,a=t.length,s=e;for(e===t&&(t=_o(t)),n&&(s=ft(e,Rt(n)));++i<a;)for(var l=0,c=t[i],u=n?n(c):c;(l=o(s,u,l,r))>-1;)s!==e&&Ke.call(s,l,1),Ke.call(e,l,1);return e}function Lr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ci(o)?Ke.call(e,o,1):to(e,o)}}return e}function Br(e,t){return e+tn(pn()*(t-e+1))}function Fr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=tn(t/2))&&(e+=e)}while(t);return n}function Ur(e,t){return Si(yi(e,t,Zs),e+"")}function Hr(e){return Hn(Rs(e))}function Vr(e,t){var n=Rs(e);return ki(n,Qn(t,0,n.length))}function zr(e,t,n,r){if(!Ga(e))return e;for(var o=-1,i=(t=co(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var l=Ti(t[o]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=Ga(u)?u:ci(t[o+1])?[]:{})}Gn(s,l,c),s=s[l]}return e}var qr=_n?function(e,t){return _n.set(e,t),e}:Zs,Gr=kt?function(e,t){return kt(e,"toString",{configurable:!0,enumerable:!1,value:Gs(t),writable:!0})}:Zs;function Wr(e){return ki(Rs(e))}function Yr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Zr(e,t){var n;return nr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Kr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Ja(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return $r(e,t,Zs,n)}function $r(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,s=null===t,l=Ja(t),c=void 0===t;o<i;){var u=tn((o+i)/2),d=n(e[u]),p=void 0!==d,f=null===d,h=d==d,m=Ja(d);if(a)var g=r||h;else g=c?h&&(r||p):s?h&&p&&(r||!f):l?h&&p&&!f&&(r||!m):!f&&!m&&(r?d<=t:d<t);g?o=u+1:i=u}return cn(i,4294967294)}function Qr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ra(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function Xr(e){return"number"==typeof e?e:Ja(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Da(e))return ft(e,Jr)+"";if(Ja(e))return An?An.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function eo(e,t,n){var r=-1,o=dt,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=pt;else if(i>=200){var c=t?null:Uo(e);if(c)return qt(c);a=!1,o=Mt,l=new Bn}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function to(e,t){return null==(e=vi(e,t=co(t,e)))||delete e[Ti(Hi(t))]}function no(e,t,n,r){return zr(e,t,n(fr(e,t)),r)}function ro(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Yr(e,r?0:i,r?i+1:o):Yr(e,r?i+1:0,r?o:i)}function oo(e,t){var n=e;return n instanceof Nn&&(n=n.value()),mt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}function io(e,t,n){var o=e.length;if(o<2)return o?eo(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],l=-1;++l<o;)l!=i&&(a[i]=tr(a[i]||s,e[l],t,n));return eo(sr(a,1),t,n)}function ao(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:void 0;n(a,e[r],s)}return a}function so(e){return Ba(e)?e:[]}function lo(e){return"function"==typeof e?e:Zs}function co(e,t){return Da(e)?e:di(e,t)?[e]:Oi(cs(e))}var uo=Ur;function po(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Yr(e,t,n)}var fo=Qt||function(e){return Ye.clearTimeout(e)};function ho(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function mo(e){var t=new e.constructor(e.byteLength);return new je(t).set(new je(e)),t}function go(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function yo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ja(e),a=void 0!==t,s=null===t,l=t==t,c=Ja(t);if(!s&&!c&&!i&&e>t||i&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!l)return-1}return 0}function vo(e,t,n,o){for(var i=-1,a=e.length,s=n.length,l=-1,c=t.length,u=ln(a-s,0),d=r(c+u),p=!o;++l<c;)d[l]=t[l];for(;++i<s;)(p||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[l++]=e[i++];return d}function bo(e,t,n,o){for(var i=-1,a=e.length,s=-1,l=n.length,c=-1,u=t.length,d=ln(a-l,0),p=r(d+u),f=!o;++i<d;)p[i]=e[i];for(var h=i;++c<u;)p[h+c]=t[c];for(;++s<l;)(f||i<a)&&(p[h+n[s]]=e[i++]);return p}function _o(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function wo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?Kn(n,s,l):Gn(n,s,l)}return n}function Co(e,t){return function(n,r){var o=Da(n)?at:Yn,i=t?t():{};return o(n,e,Jo(r,2),i)}}function So(e){return Ur((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}function Eo(e,t){return function(n,r){if(null==n)return n;if(!La(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=me(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function xo(e){return function(t,n,r){for(var o=-1,i=me(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function ko(e){return function(t){var n=Ut(t=cs(t))?Yt(t):void 0,r=n?n[0]:t.charAt(0),o=n?po(n,1).join(""):t.slice(1);return r[e]()+o}}function Oo(e){return function(t){return mt(Vs(Ns(t).replace(Ie,"")),e,"")}}function To(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Rn(e.prototype),r=e.apply(n,t);return Ga(r)?r:n}}function Ao(e){return function(t,n,r){var o=me(t);if(!La(t)){var i=Jo(n,3);t=Cs(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Po(e){return Yo((function(t){var n=t.length,r=n,o=Mn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ve(i);if(o&&!s&&"wrapper"==Qo(a))var s=new Mn([],!0)}for(r=s?r:n;++r<n;){var l=Qo(a=t[r]),c="wrapper"==l?$o(a):void 0;s=c&&pi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Qo(c[0])].apply(s,c[3]):1==a.length&&pi(a)?s[l]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Da(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Ro(e,t,n,o,i,a,s,l,c,u){var d=128&t,p=1&t,f=2&t,h=24&t,m=512&t,g=f?void 0:To(e);return function y(){for(var v=arguments.length,b=r(v),_=v;_--;)b[_]=arguments[_];if(h)var w=Xo(y),C=jt(b,w);if(o&&(b=vo(b,o,i,h)),a&&(b=bo(b,a,s,h)),v-=C,h&&v<u){var S=zt(b,w);return Bo(e,t,Ro,y.placeholder,n,b,S,l,c,u-v)}var E=p?n:this,x=f?E[e]:e;return v=b.length,l?b=bi(b,l):m&&v>1&&b.reverse(),d&&c<v&&(b.length=c),this&&this!==Ye&&this instanceof y&&(x=g||To(x)),x.apply(E,b)}}function Io(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Mo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Jr(n),r=Jr(r)):(n=Xr(n),r=Xr(r)),o=e(n,r)}return o}}function No(e){return Yo((function(t){return t=ft(t,Rt(Jo())),Ur((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Do(e,t){var n=(t=void 0===t?" ":Jr(t)).length;if(n<2)return n?Fr(t,e):t;var r=Fr(t,en(e/Wt(t)));return Ut(t)?po(Yt(r),0,e).join(""):r.slice(0,e)}function jo(e){return function(t,n,o){return o&&"number"!=typeof o&&ui(t,n,o)&&(n=o=void 0),t=os(t),void 0===n?(n=t,t=0):n=os(n),function(e,t,n,o){for(var i=-1,a=ln(en((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,o=void 0===o?t<n?1:-1:os(o),e)}}function Lo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ss(t),n=ss(n)),e(t,n)}}function Bo(e,t,n,r,o,i,a,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,o,u?i:void 0,u?a:void 0,u?void 0:i,u?void 0:a,s,l,c],p=n.apply(void 0,d);return pi(e)&&wi(p,d),p.placeholder=r,Ei(p,e,t)}function Fo(e){var t=he[e];return function(e,n){if(e=ss(e),(n=null==n?0:cn(is(n),292))&&on(e)){var r=(cs(e)+"e").split("e");return+((r=(cs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Uo=yn&&1/qt(new yn([,-0]))[1]==1/0?function(e){return new yn(e)}:Js;function Ho(e){return function(t){var n=ii(t);return n==m?Ht(t):n==b?Gt(t):function(e,t){return ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Vo(e,t,n,o,s,l,c,u){var d=2&t;if(!d&&"function"!=typeof e)throw new ve(i);var p=o?o.length:0;if(p||(t&=-97,o=s=void 0),c=void 0===c?c:ln(is(c),0),u=void 0===u?u:is(u),p-=s?s.length:0,64&t){var f=o,h=s;o=s=void 0}var m=d?void 0:$o(e),g=[e,t,n,o,s,f,h,l,c,u];if(m&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?vo(c,l,t[4]):l,e[4]=c?zt(e[3],a):t[4]}(l=t[5])&&(c=e[5],e[5]=c?bo(c,l,t[6]):l,e[6]=c?zt(e[5],a):t[6]);(l=t[7])&&(e[7]=l);128&r&&(e[8]=null==e[8]?t[8]:cn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(g,m),e=g[0],t=g[1],n=g[2],o=g[3],s=g[4],!(u=g[9]=void 0===g[9]?d?0:e.length:ln(g[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)y=8==t||16==t?function(e,t,n){var o=To(e);return function i(){for(var a=arguments.length,s=r(a),l=a,c=Xo(i);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:zt(s,c);if((a-=u.length)<n)return Bo(e,t,Ro,i.placeholder,void 0,s,u,void 0,void 0,n-a);var d=this&&this!==Ye&&this instanceof i?o:e;return it(d,this,s)}}(e,t,u):32!=t&&33!=t||s.length?Ro.apply(void 0,g):function(e,t,n,o){var i=1&t,a=To(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=o.length,d=r(u+l),p=this&&this!==Ye&&this instanceof t?a:e;++c<u;)d[c]=o[c];for(;l--;)d[c++]=arguments[++s];return it(p,i?n:this,d)}}(e,t,n,o);else var y=function(e,t,n){var r=1&t,o=To(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return Ei((m?qr:wi)(y,g),e,t)}function zo(e,t,n,r){return void 0===e||Ra(e,we[n])&&!Ee.call(r,n)?t:e}function qo(e,t,n,r,o,i){return Ga(e)&&Ga(t)&&(i.set(t,e),Ir(e,t,void 0,qo,i),i.delete(t)),e}function Go(e){return Ka(e)?void 0:e}function Wo(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=2&n?new Bn:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var h=e[d],m=t[d];if(r)var g=a?r(m,h,d,t,e,i):r(h,m,d,e,t,i);if(void 0!==g){if(g)continue;p=!1;break}if(f){if(!yt(t,(function(e,t){if(!Mt(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){p=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Yo(e){return Si(yi(e,void 0,ji),e+"")}function Zo(e){return hr(e,Cs,ri)}function Ko(e){return hr(e,Ss,oi)}var $o=_n?function(e){return _n.get(e)}:Js;function Qo(e){for(var t=e.name+"",n=wn[t],r=Ee.call(wn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Xo(e){return(Ee.call(Pn,"placeholder")?Pn:e).placeholder}function Jo(){var e=Pn.iteratee||Ks;return e=e===Ks?xr:e,arguments.length?e(arguments[0],arguments[1]):e}function ei(e,t){var n,r,i=e.__data__;return("string"==(r=o(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ti(e){for(var t=Cs(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,mi(o)]}return t}function ni(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Er(n)?n:void 0}var ri=nn?function(e){return null==e?[]:(e=me(e),ut(nn(e),(function(t){return Ze.call(e,t)})))}:al,oi=nn?function(e){for(var t=[];e;)ht(t,ri(e)),e=Ge(e);return t}:al,ii=mr;function ai(e,t,n){for(var r=-1,o=(t=co(t,e)).length,i=!1;++r<o;){var a=Ti(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&qa(o)&&ci(a,o)&&(Da(e)||Na(e))}function si(e){return"function"!=typeof e.constructor||hi(e)?{}:Rn(Ge(e))}function li(e){return Da(e)||Na(e)||!!(Qe&&e&&e[Qe])}function ci(e,t){var n=o(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,n){if(!Ga(n))return!1;var r=o(t);return!!("number"==r?La(n)&&ci(t,n.length):"string"==r&&t in n)&&Ra(n[t],e)}function di(e,t){if(Da(e))return!1;var n=o(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ja(e))||(q.test(e)||!z.test(e)||null!=t&&e in me(t))}function pi(e){var t=Qo(e),n=Pn[t];if("function"!=typeof n||!(t in Nn.prototype))return!1;if(e===n)return!0;var r=$o(n);return!!r&&e===r[0]}(hn&&ii(new hn(new ArrayBuffer(1)))!=E||mn&&ii(new mn)!=m||gn&&"[object Promise]"!=ii(gn.resolve())||yn&&ii(new yn)!=b||vn&&ii(new vn)!=C)&&(ii=function(e){var t=mr(e),n=t==y?e.constructor:void 0,r=n?Ai(n):"";if(r)switch(r){case Cn:return E;case Sn:return m;case En:return"[object Promise]";case xn:return b;case kn:return C}return t});var fi=Ce?Va:sl;function hi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||we)}function mi(e){return e==e&&!Ga(e)}function gi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function yi(e,t,n){return t=ln(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=ln(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),it(e,this,l)}}function vi(e,t){return t.length<2?e:fr(e,Yr(t,0,-1))}function bi(e,t){for(var n=e.length,r=cn(t.length,n),o=_o(e);r--;){var i=t[r];e[r]=ci(i,n)?o[i]:void 0}return e}function _i(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wi=xi(qr),Ci=Jt||function(e,t){return Ye.setTimeout(e,t)},Si=xi(Gr);function Ei(e,t,n){var r=t+"";return Si(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Q);return t?t[1].split(X):[]}(r),n)))}function xi(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ki(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Br(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Oi=function(e){var t=xa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(G,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Ti(e){if("string"==typeof e||Ja(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ai(e){if(null!=e){try{return Se.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Pi(e){if(e instanceof Nn)return e.clone();var t=new Mn(e.__wrapped__,e.__chain__);return t.__actions__=_o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ri=Ur((function(e,t){return Ba(e)?tr(e,sr(t,1,Ba,!0)):[]})),Ii=Ur((function(e,t){var n=Hi(t);return Ba(n)&&(n=void 0),Ba(e)?tr(e,sr(t,1,Ba,!0),Jo(n,2)):[]})),Mi=Ur((function(e,t){var n=Hi(t);return Ba(n)&&(n=void 0),Ba(e)?tr(e,sr(t,1,Ba,!0),void 0,n):[]}));function Ni(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:is(n);return o<0&&(o=ln(r+o,0)),_t(e,Jo(t,3),o)}function Di(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=is(n),o=n<0?ln(r+o,0):cn(o,r-1)),_t(e,Jo(t,3),o,!0)}function ji(e){return(null==e?0:e.length)?sr(e,1):[]}function Li(e){return e&&e.length?e[0]:void 0}var Bi=Ur((function(e){var t=ft(e,so);return t.length&&t[0]===e[0]?br(t):[]})),Fi=Ur((function(e){var t=Hi(e),n=ft(e,so);return t===Hi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Jo(t,2)):[]})),Ui=Ur((function(e){var t=Hi(e),n=ft(e,so);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function Hi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Vi=Ur(zi);function zi(e,t){return e&&e.length&&t&&t.length?jr(e,t):e}var qi=Yo((function(e,t){var n=null==e?0:e.length,r=$n(e,t);return Lr(e,ft(t,(function(e){return ci(e,n)?+e:e})).sort(yo)),r}));function Gi(e){return null==e?e:fn.call(e)}var Wi=Ur((function(e){return eo(sr(e,1,Ba,!0))})),Yi=Ur((function(e){var t=Hi(e);return Ba(t)&&(t=void 0),eo(sr(e,1,Ba,!0),Jo(t,2))})),Zi=Ur((function(e){var t=Hi(e);return t="function"==typeof t?t:void 0,eo(sr(e,1,Ba,!0),void 0,t)}));function Ki(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Ba(e))return t=ln(e.length,t),!0})),At(t,(function(t){return ft(e,xt(t))}))}function $i(e,t){if(!e||!e.length)return[];var n=Ki(e);return null==t?n:ft(n,(function(e){return it(t,void 0,e)}))}var Qi=Ur((function(e,t){return Ba(e)?tr(e,t):[]})),Xi=Ur((function(e){return io(ut(e,Ba))})),Ji=Ur((function(e){var t=Hi(e);return Ba(t)&&(t=void 0),io(ut(e,Ba),Jo(t,2))})),ea=Ur((function(e){var t=Hi(e);return t="function"==typeof t?t:void 0,io(ut(e,Ba),void 0,t)})),ta=Ur(Ki);var na=Ur((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,$i(e,n)}));function ra(e){var t=Pn(e);return t.__chain__=!0,t}function oa(e,t){return t(e)}var ia=Yo((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return $n(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Nn&&ci(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:oa,args:[o],thisArg:void 0}),new Mn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var aa=Co((function(e,t,n){Ee.call(e,n)?++e[n]:Kn(e,n,1)}));var sa=Ao(Ni),la=Ao(Di);function ca(e,t){return(Da(e)?st:nr)(e,Jo(t,3))}function ua(e,t){return(Da(e)?lt:rr)(e,Jo(t,3))}var da=Co((function(e,t,n){Ee.call(e,n)?e[n].push(t):Kn(e,n,[t])}));var pa=Ur((function(e,t,n){var o=-1,i="function"==typeof t,a=La(e)?r(e.length):[];return nr(e,(function(e){a[++o]=i?it(t,e,n):_r(e,t,n)})),a})),fa=Co((function(e,t,n){Kn(e,n,t)}));function ha(e,t){return(Da(e)?ft:Ar)(e,Jo(t,3))}var ma=Co((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ga=Ur((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Nr(e,sr(t,1),[])})),ya=Xt||function(){return Ye.Date.now()};function va(e,t,n){return t=n?void 0:t,Vo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ve(i);return e=is(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var _a=Ur((function(e,t,n){var r=1;if(n.length){var o=zt(n,Xo(_a));r|=32}return Vo(e,r,t,n,o)})),wa=Ur((function(e,t,n){var r=3;if(n.length){var o=zt(n,Xo(wa));r|=32}return Vo(t,r,e,n,o)}));function Ca(e,t,n){var r,o,a,s,l,c,u=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw new ve(i);function h(t){var n=r,i=o;return r=o=void 0,u=t,s=e.apply(i,n)}function m(e){return u=e,l=Ci(y,t),d?h(e):s}function g(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=a}function y(){var e=ya();if(g(e))return v(e);l=Ci(y,function(e){var n=t-(e-c);return p?cn(n,a-(e-u)):n}(e))}function v(e){return l=void 0,f&&r?h(e):(r=o=void 0,s)}function b(){var e=ya(),n=g(e);if(r=arguments,o=this,c=e,n){if(void 0===l)return m(c);if(p)return fo(l),l=Ci(y,t),h(c)}return void 0===l&&(l=Ci(y,t)),s}return t=ss(t)||0,Ga(n)&&(d=!!n.leading,a=(p="maxWait"in n)?ln(ss(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==l&&fo(l),u=0,r=c=o=l=void 0},b.flush=function(){return void 0===l?s:v(ya())},b}var Sa=Ur((function(e,t){return er(e,1,t)})),Ea=Ur((function(e,t,n){return er(e,ss(t)||0,n)}));function xa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(i);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xa.Cache||Ln),n}function ka(e){if("function"!=typeof e)throw new ve(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}xa.Cache=Ln;var Oa=uo((function(e,t){var n=(t=1==t.length&&Da(t[0])?ft(t[0],Rt(Jo())):ft(sr(t,1),Rt(Jo()))).length;return Ur((function(r){for(var o=-1,i=cn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Ta=Ur((function(e,t){return Vo(e,32,void 0,t,zt(t,Xo(Ta)))})),Aa=Ur((function(e,t){return Vo(e,64,void 0,t,zt(t,Xo(Aa)))})),Pa=Yo((function(e,t){return Vo(e,256,void 0,void 0,void 0,t)}));function Ra(e,t){return e===t||e!=e&&t!=t}var Ia=Lo(gr),Ma=Lo((function(e,t){return e>=t})),Na=wr(function(){return arguments}())?wr:function(e){return Wa(e)&&Ee.call(e,"callee")&&!Ze.call(e,"callee")},Da=r.isArray,ja=Je?Rt(Je):function(e){return Wa(e)&&mr(e)==S};function La(e){return null!=e&&qa(e.length)&&!Va(e)}function Ba(e){return Wa(e)&&La(e)}var Fa=rn||sl,Ua=et?Rt(et):function(e){return Wa(e)&&mr(e)==d};function Ha(e){if(!Wa(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ka(e)}function Va(e){if(!Ga(e))return!1;var t=mr(e);return t==f||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function za(e){return"number"==typeof e&&e==is(e)}function qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ga(e){var t=o(e);return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==o(e)}var Ya=tt?Rt(tt):function(e){return Wa(e)&&ii(e)==m};function Za(e){return"number"==typeof e||Wa(e)&&mr(e)==g}function Ka(e){if(!Wa(e)||mr(e)!=y)return!1;var t=Ge(e);if(null===t)return!0;var n=Ee.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Se.call(n)==Te}var $a=nt?Rt(nt):function(e){return Wa(e)&&mr(e)==v};var Qa=rt?Rt(rt):function(e){return Wa(e)&&ii(e)==b};function Xa(e){return"string"==typeof e||!Da(e)&&Wa(e)&&mr(e)==_}function Ja(e){return"symbol"==o(e)||Wa(e)&&mr(e)==w}var es=ot?Rt(ot):function(e){return Wa(e)&&qa(e.length)&&!!Ue[mr(e)]};var ts=Lo(Tr),ns=Lo((function(e,t){return e<=t}));function rs(e){if(!e)return[];if(La(e))return Xa(e)?Yt(e):_o(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=ii(e);return(t==m?Ht:t==b?qt:Rs)(e)}function os(e){return e?(e=ss(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function is(e){var t=os(e),n=t%1;return t==t?n?t-n:t:0}function as(e){return e?Qn(is(e),0,4294967295):0}function ss(e){if("number"==typeof e)return e;if(Ja(e))return NaN;if(Ga(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ga(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Pt(e);var n=ie.test(e);return n||se.test(e)?qe(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function ls(e){return wo(e,Ss(e))}function cs(e){return null==e?"":Jr(e)}var us=So((function(e,t){if(hi(t)||La(t))wo(t,Cs(t),e);else for(var n in t)Ee.call(t,n)&&Gn(e,n,t[n])})),ds=So((function(e,t){wo(t,Ss(t),e)})),ps=So((function(e,t,n,r){wo(t,Ss(t),e,r)})),fs=So((function(e,t,n,r){wo(t,Cs(t),e,r)})),hs=Yo($n);var ms=Ur((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=Ss(i),s=-1,l=a.length;++s<l;){var c=a[s],u=e[c];(void 0===u||Ra(u,we[c])&&!Ee.call(e,c))&&(e[c]=i[c])}return e})),gs=Ur((function(e){return e.push(void 0,qo),it(xs,void 0,e)}));function ys(e,t,n){var r=null==e?void 0:fr(e,t);return void 0===r?n:r}function vs(e,t){return null!=e&&ai(e,t,vr)}var bs=Io((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Oe.call(t)),e[t]=n}),Gs(Zs)),_s=Io((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Oe.call(t)),Ee.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),ws=Ur(_r);function Cs(e){return La(e)?Un(e):kr(e)}function Ss(e){return La(e)?Un(e,!0):Or(e)}var Es=So((function(e,t,n){Ir(e,t,n)})),xs=So((function(e,t,n,r){Ir(e,t,n,r)})),ks=Yo((function(e,t){var n={};if(null==e)return n;var r=!1;t=ft(t,(function(t){return t=co(t,e),r||(r=t.length>1),t})),wo(e,Ko(e),n),r&&(n=Xn(n,7,Go));for(var o=t.length;o--;)to(n,t[o]);return n}));var Os=Yo((function(e,t){return null==e?{}:function(e,t){return Dr(e,t,(function(t,n){return vs(e,n)}))}(e,t)}));function Ts(e,t){if(null==e)return{};var n=ft(Ko(e),(function(e){return[e]}));return t=Jo(t),Dr(e,n,(function(e,n){return t(e,n[0])}))}var As=Ho(Cs),Ps=Ho(Ss);function Rs(e){return null==e?[]:It(e,Cs(e))}var Is=Oo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ms(t):t)}));function Ms(e){return Hs(cs(e).toLowerCase())}function Ns(e){return(e=cs(e))&&e.replace(ce,Lt).replace(Me,"")}var Ds=Oo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),js=Oo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ls=ko("toLowerCase");var Bs=Oo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Fs=Oo((function(e,t,n){return e+(n?" ":"")+Hs(t)}));var Us=Oo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Hs=ko("toUpperCase");function Vs(e,t,n){return e=cs(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(De)||[]}(e):function(e){return e.match(J)||[]}(e):e.match(t)||[]}var zs=Ur((function(e,t){try{return it(e,void 0,t)}catch(e){return Ha(e)?e:new pe(e)}})),qs=Yo((function(e,t){return st(t,(function(t){t=Ti(t),Kn(e,t,_a(e[t],e))})),e}));function Gs(e){return function(){return e}}var Ws=Po(),Ys=Po(!0);function Zs(e){return e}function Ks(e){return xr("function"==typeof e?e:Xn(e,1))}var $s=Ur((function(e,t){return function(n){return _r(n,e,t)}})),Qs=Ur((function(e,t){return function(n){return _r(e,n,t)}}));function Xs(e,t,n){var r=Cs(t),o=pr(t,r);null!=n||Ga(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=pr(t,Cs(t)));var i=!(Ga(n)&&"chain"in n&&!n.chain),a=Va(e);return st(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=_o(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Js(){}var el=No(ft),tl=No(ct),nl=No(yt);function rl(e){return di(e)?xt(Ti(e)):function(e){return function(t){return fr(t,e)}}(e)}var ol=jo(),il=jo(!0);function al(){return[]}function sl(){return!1}var ll=Mo((function(e,t){return e+t}),0),cl=Fo("ceil"),ul=Mo((function(e,t){return e/t}),1),dl=Fo("floor");var pl,fl=Mo((function(e,t){return e*t}),1),hl=Fo("round"),ml=Mo((function(e,t){return e-t}),0);return Pn.after=function(e,t){if("function"!=typeof t)throw new ve(i);return e=is(e),function(){if(--e<1)return t.apply(this,arguments)}},Pn.ary=va,Pn.assign=us,Pn.assignIn=ds,Pn.assignInWith=ps,Pn.assignWith=fs,Pn.at=hs,Pn.before=ba,Pn.bind=_a,Pn.bindAll=qs,Pn.bindKey=wa,Pn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Da(e)?e:[e]},Pn.chain=ra,Pn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:ln(is(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=r(en(o/t));i<o;)s[a++]=Yr(e,i,i+=t);return s},Pn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Pn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return ht(Da(n)?_o(n):[n],sr(t,1))},Pn.cond=function(e){var t=null==e?0:e.length,n=Jo();return e=t?ft(e,(function(e){if("function"!=typeof e[1])throw new ve(i);return[n(e[0]),e[1]]})):[],Ur((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},Pn.conforms=function(e){return function(e){var t=Cs(e);return function(n){return Jn(n,e,t)}}(Xn(e,1))},Pn.constant=Gs,Pn.countBy=aa,Pn.create=function(e,t){var n=Rn(e);return null==t?n:Zn(n,t)},Pn.curry=function e(t,n,r){var o=Vo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Pn.curryRight=function e(t,n,r){var o=Vo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Pn.debounce=Ca,Pn.defaults=ms,Pn.defaultsDeep=gs,Pn.defer=Sa,Pn.delay=Ea,Pn.difference=Ri,Pn.differenceBy=Ii,Pn.differenceWith=Mi,Pn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Yr(e,(t=n||void 0===t?1:is(t))<0?0:t,r):[]},Pn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Yr(e,0,(t=r-(t=n||void 0===t?1:is(t)))<0?0:t):[]},Pn.dropRightWhile=function(e,t){return e&&e.length?ro(e,Jo(t,3),!0,!0):[]},Pn.dropWhile=function(e,t){return e&&e.length?ro(e,Jo(t,3),!0):[]},Pn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ui(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=is(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:is(r))<0&&(r+=o),r=n>r?0:as(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Pn.filter=function(e,t){return(Da(e)?ut:ar)(e,Jo(t,3))},Pn.flatMap=function(e,t){return sr(ha(e,t),1)},Pn.flatMapDeep=function(e,t){return sr(ha(e,t),1/0)},Pn.flatMapDepth=function(e,t,n){return n=void 0===n?1:is(n),sr(ha(e,t),n)},Pn.flatten=ji,Pn.flattenDeep=function(e){return(null==e?0:e.length)?sr(e,1/0):[]},Pn.flattenDepth=function(e,t){return(null==e?0:e.length)?sr(e,t=void 0===t?1:is(t)):[]},Pn.flip=function(e){return Vo(e,512)},Pn.flow=Ws,Pn.flowRight=Ys,Pn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Pn.functions=function(e){return null==e?[]:pr(e,Cs(e))},Pn.functionsIn=function(e){return null==e?[]:pr(e,Ss(e))},Pn.groupBy=da,Pn.initial=function(e){return(null==e?0:e.length)?Yr(e,0,-1):[]},Pn.intersection=Bi,Pn.intersectionBy=Fi,Pn.intersectionWith=Ui,Pn.invert=bs,Pn.invertBy=_s,Pn.invokeMap=pa,Pn.iteratee=Ks,Pn.keyBy=fa,Pn.keys=Cs,Pn.keysIn=Ss,Pn.map=ha,Pn.mapKeys=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Kn(n,t(e,r,o),e)})),n},Pn.mapValues=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Kn(n,r,t(e,r,o))})),n},Pn.matches=function(e){return Pr(Xn(e,1))},Pn.matchesProperty=function(e,t){return Rr(e,Xn(t,1))},Pn.memoize=xa,Pn.merge=Es,Pn.mergeWith=xs,Pn.method=$s,Pn.methodOf=Qs,Pn.mixin=Xs,Pn.negate=ka,Pn.nthArg=function(e){return e=is(e),Ur((function(t){return Mr(t,e)}))},Pn.omit=ks,Pn.omitBy=function(e,t){return Ts(e,ka(Jo(t)))},Pn.once=function(e){return ba(2,e)},Pn.orderBy=function(e,t,n,r){return null==e?[]:(Da(t)||(t=null==t?[]:[t]),Da(n=r?void 0:n)||(n=null==n?[]:[n]),Nr(e,t,n))},Pn.over=el,Pn.overArgs=Oa,Pn.overEvery=tl,Pn.overSome=nl,Pn.partial=Ta,Pn.partialRight=Aa,Pn.partition=ma,Pn.pick=Os,Pn.pickBy=Ts,Pn.property=rl,Pn.propertyOf=function(e){return function(t){return null==e?void 0:fr(e,t)}},Pn.pull=Vi,Pn.pullAll=zi,Pn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?jr(e,t,Jo(n,2)):e},Pn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?jr(e,t,void 0,n):e},Pn.pullAt=qi,Pn.range=ol,Pn.rangeRight=il,Pn.rearg=Pa,Pn.reject=function(e,t){return(Da(e)?ut:ar)(e,ka(Jo(t,3)))},Pn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Jo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Lr(e,o),n},Pn.rest=function(e,t){if("function"!=typeof e)throw new ve(i);return Ur(e,t=void 0===t?t:is(t))},Pn.reverse=Gi,Pn.sampleSize=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:is(t),(Da(e)?Vn:Vr)(e,t)},Pn.set=function(e,t,n){return null==e?e:zr(e,t,n)},Pn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:zr(e,t,n,r)},Pn.shuffle=function(e){return(Da(e)?zn:Wr)(e)},Pn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ui(e,t,n)?(t=0,n=r):(t=null==t?0:is(t),n=void 0===n?r:is(n)),Yr(e,t,n)):[]},Pn.sortBy=ga,Pn.sortedUniq=function(e){return e&&e.length?Qr(e):[]},Pn.sortedUniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},Pn.split=function(e,t,n){return n&&"number"!=typeof n&&ui(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=cs(e))&&("string"==typeof t||null!=t&&!$a(t))&&!(t=Jr(t))&&Ut(e)?po(Yt(e),0,n):e.split(t,n):[]},Pn.spread=function(e,t){if("function"!=typeof e)throw new ve(i);return t=null==t?0:ln(is(t),0),Ur((function(n){var r=n[t],o=po(n,0,t);return r&&ht(o,r),it(e,this,o)}))},Pn.tail=function(e){var t=null==e?0:e.length;return t?Yr(e,1,t):[]},Pn.take=function(e,t,n){return e&&e.length?Yr(e,0,(t=n||void 0===t?1:is(t))<0?0:t):[]},Pn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Yr(e,(t=r-(t=n||void 0===t?1:is(t)))<0?0:t,r):[]},Pn.takeRightWhile=function(e,t){return e&&e.length?ro(e,Jo(t,3),!1,!0):[]},Pn.takeWhile=function(e,t){return e&&e.length?ro(e,Jo(t,3)):[]},Pn.tap=function(e,t){return t(e),e},Pn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ve(i);return Ga(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ca(e,t,{leading:r,maxWait:t,trailing:o})},Pn.thru=oa,Pn.toArray=rs,Pn.toPairs=As,Pn.toPairsIn=Ps,Pn.toPath=function(e){return Da(e)?ft(e,Ti):Ja(e)?[e]:_o(Oi(cs(e)))},Pn.toPlainObject=ls,Pn.transform=function(e,t,n){var r=Da(e),o=r||Fa(e)||es(e);if(t=Jo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ga(e)&&Va(i)?Rn(Ge(e)):{}}return(o?st:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Pn.unary=function(e){return va(e,1)},Pn.union=Wi,Pn.unionBy=Yi,Pn.unionWith=Zi,Pn.uniq=function(e){return e&&e.length?eo(e):[]},Pn.uniqBy=function(e,t){return e&&e.length?eo(e,Jo(t,2)):[]},Pn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?eo(e,void 0,t):[]},Pn.unset=function(e,t){return null==e||to(e,t)},Pn.unzip=Ki,Pn.unzipWith=$i,Pn.update=function(e,t,n){return null==e?e:no(e,t,lo(n))},Pn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:no(e,t,lo(n),r)},Pn.values=Rs,Pn.valuesIn=function(e){return null==e?[]:It(e,Ss(e))},Pn.without=Qi,Pn.words=Vs,Pn.wrap=function(e,t){return Ta(lo(t),e)},Pn.xor=Xi,Pn.xorBy=Ji,Pn.xorWith=ea,Pn.zip=ta,Pn.zipObject=function(e,t){return ao(e||[],t||[],Gn)},Pn.zipObjectDeep=function(e,t){return ao(e||[],t||[],zr)},Pn.zipWith=na,Pn.entries=As,Pn.entriesIn=Ps,Pn.extend=ds,Pn.extendWith=ps,Xs(Pn,Pn),Pn.add=ll,Pn.attempt=zs,Pn.camelCase=Is,Pn.capitalize=Ms,Pn.ceil=cl,Pn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ss(n))==n?n:0),void 0!==t&&(t=(t=ss(t))==t?t:0),Qn(ss(e),t,n)},Pn.clone=function(e){return Xn(e,4)},Pn.cloneDeep=function(e){return Xn(e,5)},Pn.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},Pn.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},Pn.conformsTo=function(e,t){return null==t||Jn(e,t,Cs(t))},Pn.deburr=Ns,Pn.defaultTo=function(e,t){return null==e||e!=e?t:e},Pn.divide=ul,Pn.endsWith=function(e,t,n){e=cs(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Qn(is(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Pn.eq=Ra,Pn.escape=function(e){return(e=cs(e))&&F.test(e)?e.replace(L,Bt):e},Pn.escapeRegExp=function(e){return(e=cs(e))&&Y.test(e)?e.replace(W,"\\$&"):e},Pn.every=function(e,t,n){var r=Da(e)?ct:or;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Pn.find=sa,Pn.findIndex=Ni,Pn.findKey=function(e,t){return bt(e,Jo(t,3),ur)},Pn.findLast=la,Pn.findLastIndex=Di,Pn.findLastKey=function(e,t){return bt(e,Jo(t,3),dr)},Pn.floor=dl,Pn.forEach=ca,Pn.forEachRight=ua,Pn.forIn=function(e,t){return null==e?e:lr(e,Jo(t,3),Ss)},Pn.forInRight=function(e,t){return null==e?e:cr(e,Jo(t,3),Ss)},Pn.forOwn=function(e,t){return e&&ur(e,Jo(t,3))},Pn.forOwnRight=function(e,t){return e&&dr(e,Jo(t,3))},Pn.get=ys,Pn.gt=Ia,Pn.gte=Ma,Pn.has=function(e,t){return null!=e&&ai(e,t,yr)},Pn.hasIn=vs,Pn.head=Li,Pn.identity=Zs,Pn.includes=function(e,t,n,r){e=La(e)?e:Rs(e),n=n&&!r?is(n):0;var o=e.length;return n<0&&(n=ln(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},Pn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:is(n);return o<0&&(o=ln(r+o,0)),wt(e,t,o)},Pn.inRange=function(e,t,n){return t=os(t),void 0===n?(n=t,t=0):n=os(n),function(e,t,n){return e>=cn(t,n)&&e<ln(t,n)}(e=ss(e),t,n)},Pn.invoke=ws,Pn.isArguments=Na,Pn.isArray=Da,Pn.isArrayBuffer=ja,Pn.isArrayLike=La,Pn.isArrayLikeObject=Ba,Pn.isBoolean=function(e){return!0===e||!1===e||Wa(e)&&mr(e)==u},Pn.isBuffer=Fa,Pn.isDate=Ua,Pn.isElement=function(e){return Wa(e)&&1===e.nodeType&&!Ka(e)},Pn.isEmpty=function(e){if(null==e)return!0;if(La(e)&&(Da(e)||"string"==typeof e||"function"==typeof e.splice||Fa(e)||es(e)||Na(e)))return!e.length;var t=ii(e);if(t==m||t==b)return!e.size;if(hi(e))return!kr(e).length;for(var n in e)if(Ee.call(e,n))return!1;return!0},Pn.isEqual=function(e,t){return Cr(e,t)},Pn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?Cr(e,t,void 0,n):!!r},Pn.isError=Ha,Pn.isFinite=function(e){return"number"==typeof e&&on(e)},Pn.isFunction=Va,Pn.isInteger=za,Pn.isLength=qa,Pn.isMap=Ya,Pn.isMatch=function(e,t){return e===t||Sr(e,t,ti(t))},Pn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Sr(e,t,ti(t),n)},Pn.isNaN=function(e){return Za(e)&&e!=+e},Pn.isNative=function(e){if(fi(e))throw new pe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Er(e)},Pn.isNil=function(e){return null==e},Pn.isNull=function(e){return null===e},Pn.isNumber=Za,Pn.isObject=Ga,Pn.isObjectLike=Wa,Pn.isPlainObject=Ka,Pn.isRegExp=$a,Pn.isSafeInteger=function(e){return za(e)&&e>=-9007199254740991&&e<=9007199254740991},Pn.isSet=Qa,Pn.isString=Xa,Pn.isSymbol=Ja,Pn.isTypedArray=es,Pn.isUndefined=function(e){return void 0===e},Pn.isWeakMap=function(e){return Wa(e)&&ii(e)==C},Pn.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==mr(e)},Pn.join=function(e,t){return null==e?"":an.call(e,t)},Pn.kebabCase=Ds,Pn.last=Hi,Pn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=is(n))<0?ln(r+o,0):cn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):_t(e,St,o,!0)},Pn.lowerCase=js,Pn.lowerFirst=Ls,Pn.lt=ts,Pn.lte=ns,Pn.max=function(e){return e&&e.length?ir(e,Zs,gr):void 0},Pn.maxBy=function(e,t){return e&&e.length?ir(e,Jo(t,2),gr):void 0},Pn.mean=function(e){return Et(e,Zs)},Pn.meanBy=function(e,t){return Et(e,Jo(t,2))},Pn.min=function(e){return e&&e.length?ir(e,Zs,Tr):void 0},Pn.minBy=function(e,t){return e&&e.length?ir(e,Jo(t,2),Tr):void 0},Pn.stubArray=al,Pn.stubFalse=sl,Pn.stubObject=function(){return{}},Pn.stubString=function(){return""},Pn.stubTrue=function(){return!0},Pn.multiply=fl,Pn.nth=function(e,t){return e&&e.length?Mr(e,is(t)):void 0},Pn.noConflict=function(){return Ye._===this&&(Ye._=Ae),this},Pn.noop=Js,Pn.now=ya,Pn.pad=function(e,t,n){e=cs(e);var r=(t=is(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Do(tn(o),n)+e+Do(en(o),n)},Pn.padEnd=function(e,t,n){e=cs(e);var r=(t=is(t))?Wt(e):0;return t&&r<t?e+Do(t-r,n):e},Pn.padStart=function(e,t,n){e=cs(e);var r=(t=is(t))?Wt(e):0;return t&&r<t?Do(t-r,n)+e:e},Pn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),dn(cs(e).replace(Z,""),t||0)},Pn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ui(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=os(e),void 0===t?(t=e,e=0):t=os(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=pn();return cn(e+o*(t-e+ze("1e-"+((o+"").length-1))),t)}return Br(e,t)},Pn.reduce=function(e,t,n){var r=Da(e)?mt:Ot,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},Pn.reduceRight=function(e,t,n){var r=Da(e)?gt:Ot,o=arguments.length<3;return r(e,Jo(t,4),n,o,rr)},Pn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:is(t),Fr(cs(e),t)},Pn.replace=function(){var e=arguments,t=cs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Pn.result=function(e,t,n){var r=-1,o=(t=co(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ti(t[r])];void 0===i&&(r=o,i=n),e=Va(i)?i.call(e):i}return e},Pn.round=hl,Pn.runInContext=e,Pn.sample=function(e){return(Da(e)?Hn:Hr)(e)},Pn.size=function(e){if(null==e)return 0;if(La(e))return Xa(e)?Wt(e):e.length;var t=ii(e);return t==m||t==b?e.size:kr(e).length},Pn.snakeCase=Bs,Pn.some=function(e,t,n){var r=Da(e)?yt:Zr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Pn.sortedIndex=function(e,t){return Kr(e,t)},Pn.sortedIndexBy=function(e,t,n){return $r(e,t,Jo(n,2))},Pn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Kr(e,t);if(r<n&&Ra(e[r],t))return r}return-1},Pn.sortedLastIndex=function(e,t){return Kr(e,t,!0)},Pn.sortedLastIndexBy=function(e,t,n){return $r(e,t,Jo(n,2),!0)},Pn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Kr(e,t,!0)-1;if(Ra(e[n],t))return n}return-1},Pn.startCase=Fs,Pn.startsWith=function(e,t,n){return e=cs(e),n=null==n?0:Qn(is(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},Pn.subtract=ml,Pn.sum=function(e){return e&&e.length?Tt(e,Zs):0},Pn.sumBy=function(e,t){return e&&e.length?Tt(e,Jo(t,2)):0},Pn.template=function(e,t,n){var r=Pn.templateSettings;n&&ui(e,t,n)&&(t=void 0),e=cs(e),t=ps({},t,r,zo);var o,i,a=ps({},t.imports,r.imports,zo),s=Cs(a),l=It(a,s),c=0,u=t.interpolate||ue,d="__p += '",p=ge((t.escape||ue).source+"|"+u.source+"|"+(u===V?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),f="//# sourceURL="+(Ee.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fe+"]")+"\n";e.replace(p,(function(t,n,r,a,s,l){return r||(r=a),d+=e.slice(c,l).replace(de,Ft),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(i=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var h=Ee.call(t,"variable")&&t.variable;if(h){if(ee.test(h))throw new pe("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(i?d.replace(M,""):d).replace(N,"$1").replace(D,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=zs((function(){return fe(s,f+"return "+d).apply(void 0,l)}));if(m.source=d,Ha(m))throw m;return m},Pn.times=function(e,t){if((e=is(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var o=At(r,t=Jo(t));++n<e;)t(n);return o},Pn.toFinite=os,Pn.toInteger=is,Pn.toLength=as,Pn.toLower=function(e){return cs(e).toLowerCase()},Pn.toNumber=ss,Pn.toSafeInteger=function(e){return e?Qn(is(e),-9007199254740991,9007199254740991):0===e?e:0},Pn.toString=cs,Pn.toUpper=function(e){return cs(e).toUpperCase()},Pn.trim=function(e,t,n){if((e=cs(e))&&(n||void 0===t))return Pt(e);if(!e||!(t=Jr(t)))return e;var r=Yt(e),o=Yt(t);return po(r,Nt(r,o),Dt(r,o)+1).join("")},Pn.trimEnd=function(e,t,n){if((e=cs(e))&&(n||void 0===t))return e.slice(0,Zt(e)+1);if(!e||!(t=Jr(t)))return e;var r=Yt(e);return po(r,0,Dt(r,Yt(t))+1).join("")},Pn.trimStart=function(e,t,n){if((e=cs(e))&&(n||void 0===t))return e.replace(Z,"");if(!e||!(t=Jr(t)))return e;var r=Yt(e);return po(r,Nt(r,Yt(t))).join("")},Pn.truncate=function(e,t){var n=30,r="...";if(Ga(t)){var o="separator"in t?t.separator:o;n="length"in t?is(t.length):n,r="omission"in t?Jr(t.omission):r}var i=(e=cs(e)).length;if(Ut(e)){var a=Yt(e);i=a.length}if(n>=i)return e;var s=n-Wt(r);if(s<1)return r;var l=a?po(a,0,s).join(""):e.slice(0,s);if(void 0===o)return l+r;if(a&&(s+=l.length-s),$a(o)){if(e.slice(s).search(o)){var c,u=l;for(o.global||(o=ge(o.source,cs(re.exec(o))+"g")),o.lastIndex=0;c=o.exec(u);)var d=c.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(Jr(o),s)!=s){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},Pn.unescape=function(e){return(e=cs(e))&&B.test(e)?e.replace(j,Kt):e},Pn.uniqueId=function(e){var t=++xe;return cs(e)+t},Pn.upperCase=Us,Pn.upperFirst=Hs,Pn.each=ca,Pn.eachRight=ua,Pn.first=Li,Xs(Pn,(pl={},ur(Pn,(function(e,t){Ee.call(Pn.prototype,t)||(pl[t]=e)})),pl),{chain:!1}),Pn.VERSION="4.17.21",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Pn[e].placeholder=Pn})),st(["drop","take"],(function(e,t){Nn.prototype[e]=function(n){n=void 0===n?1:ln(is(n),0);var r=this.__filtered__&&!t?new Nn(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Nn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Nn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Nn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Nn.prototype[e]=function(){return this.__filtered__?new Nn(this):this[n](1)}})),Nn.prototype.compact=function(){return this.filter(Zs)},Nn.prototype.find=function(e){return this.filter(e).head()},Nn.prototype.findLast=function(e){return this.reverse().find(e)},Nn.prototype.invokeMap=Ur((function(e,t){return"function"==typeof e?new Nn(this):this.map((function(n){return _r(n,e,t)}))})),Nn.prototype.reject=function(e){return this.filter(ka(Jo(e)))},Nn.prototype.slice=function(e,t){e=is(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Nn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=is(t))<0?n.dropRight(-t):n.take(t-e)),n)},Nn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Nn.prototype.toArray=function(){return this.take(4294967295)},ur(Nn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Pn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Pn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Nn,l=a[0],c=s||Da(t),u=function(e){var t=o.apply(Pn,ht([e],a));return r&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,p=!!this.__actions__.length,f=i&&!d,h=s&&!p;if(!i&&c){t=h?t:new Nn(this);var m=e.apply(t,a);return m.__actions__.push({func:oa,args:[u],thisArg:void 0}),new Mn(m,d)}return f&&h?e.apply(this,a):(m=this.thru(u),f?r?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Pn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Da(o)?o:[],e)}return this[n]((function(n){return t.apply(Da(n)?n:[],e)}))}})),ur(Nn.prototype,(function(e,t){var n=Pn[t];if(n){var r=n.name+"";Ee.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[Ro(void 0,2).name]=[{name:"wrapper",func:void 0}],Nn.prototype.clone=function(){var e=new Nn(this.__wrapped__);return e.__actions__=_o(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_o(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_o(this.__views__),e},Nn.prototype.reverse=function(){if(this.__filtered__){var e=new Nn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Nn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Da(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=cn(t,e+a);break;case"takeRight":e=ln(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=cn(l,this.__takeCount__);if(!n||!r&&o==l&&f==l)return oo(e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var m=-1,g=e[c+=t];++m<d;){var y=u[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[p++]=g}return h},Pn.prototype.at=ia,Pn.prototype.chain=function(){return ra(this)},Pn.prototype.commit=function(){return new Mn(this.value(),this.__chain__)},Pn.prototype.next=function(){void 0===this.__values__&&(this.__values__=rs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Pn.prototype.plant=function(e){for(var t,n=this;n instanceof In;){var r=Pi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Pn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Nn){var t=e;return this.__actions__.length&&(t=new Nn(this)),(t=t.reverse()).__actions__.push({func:oa,args:[Gi],thisArg:void 0}),new Mn(t,this.__chain__)}return this.thru(Gi)},Pn.prototype.toJSON=Pn.prototype.valueOf=Pn.prototype.value=function(){return oo(this.__wrapped__,this.__actions__)},Pn.prototype.first=Pn.prototype.head,Xe&&(Pn.prototype[Xe]=function(){return this}),Pn}();"object"==o(n.amdO)&&n.amdO?(Ye._=$t,void 0===(r=function(){return $t}.call(t,n,t,e))||(e.exports=r)):Ke?((Ke.exports=$t)._=$t,Ze._=$t):Ye._=$t}.call(this)},57115:function(e,t,n){var r,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(19601),n(47042),n(54747),n(57327),n(73210),n(74916),n(15306),n(47941),n(24603),n(39714),n(69600),n(23123),n(2707),n(9653),n(92222),i=function(){"use strict";var e="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=o,this.iframesTimeout=i}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var o=e.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,o=!1,i=null,a=function a(){if(!o){o=!0,clearTimeout(i);try{r.isIframeBlank(e)||(e.removeEventListener("load",a),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",a),i=setTimeout(a,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);var c=function(){--s<=0&&i(l)};s||c(),a.forEach((function(t){e.matches(t,o.exclude)?c():o.onIframeReady(t,(function(e){n(t)&&(l++,r(e)),c()}),c)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var o=!1,i=!1;return r.forEach((function(e,t){e.val===n&&(o=t,i=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==o||i?!1===o||i||(r[o].handled=!0):r.push({val:n,handled:!0}),!0):(!1===o&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var o=this;e.forEach((function(e){e.handled||o.getIframeContents(e.val,(function(e){o.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,o){for(var i,a=this,s=this.createIterator(t,e,r),l=[],c=[],u=void 0,d=void 0;i=void 0,i=a.getIteratorNode(s),d=i.prevNode,u=i.node;)this.iframes&&this.forEachIframe(t,(function(e){return a.checkIframeFilter(u,d,e,l)}),(function(t){a.createInstanceOnIframe(t).forEachNode(e,(function(e){return c.push(e)}),r)})),c.push(u);c.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(l,e,n,r),o()}},{key:"forEachNode",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=this.getContexts(),a=i.length;a||o(),i.forEach((function(i){var s=function(){r.iterateThroughNodes(e,i,t,n,(function(){--a<=0&&o()}))};r.iframes?r.waitForIframes(i,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var o=!1;return n.every((function(t){return!r.call(e,t)||(o=!0,!1)})),o}return!1}}]),e}(),i=function(){function i(e){t(this,i),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(i,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var o in t)if(t.hasOwnProperty(o)){var i=t[o],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(a)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(a)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":""}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":""}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],r=[];return e.split("").forEach((function(o){n.every((function(n){if(-1!==n.indexOf(o)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,o="string"==typeof n?[]:n.limiters,i="";switch(o.forEach((function(e){i+="|"+t.escapeStr(e)})),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var o=t.callNoMatchOnInvalidRanges(e,r),i=o.start,a=o.end;o.valid&&(e.start=i,e.length=a-i,n.push(e),r=a)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,o=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?o=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:o}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,o=!0,i=n.length,a=t-i,s=parseInt(e.start,10)-a;return(r=(s=s>i?i:s)+parseInt(e.length,10))>i&&(r=i,this.log("End range automatically set to the max value of "+i)),s<0||r-s<0||s>i||r>i?(o=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(o=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:o}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return o.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",o=e.splitText(t),i=o.splitText(n-t),a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=o.textContent,o.parentNode.replaceChild(a,o),i}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,o){var i=this;e.nodes.every((function(a,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!r(a.node))return!1;var c=t-a.start,u=(n>a.end?a.end:n)-a.start,d=e.value.substr(0,a.start),p=e.value.substr(u+a.start);if(a.node=i.wrapRangeInTextNode(a.node,c,u),e.value=d+p,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=u),e.nodes[n].end-=u)})),n-=u,o(a.node.previousSibling,a.start),!(n>a.end))return!1;t=a.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,o){var i=this,a=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var o=void 0;null!==(o=e.exec(t.textContent))&&""!==o[a];)if(n(o[a],t)){var s=o.index;if(0!==a)for(var l=1;l<a;l++)s+=o[l].length;t=i.wrapRangeInTextNode(t,s,s+o[a].length),r(t.previousSibling),e.lastIndex=0}})),o()}))}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,o){var i=this,a=0===t?0:t+1;this.getTextNodes((function(t){for(var s=void 0;null!==(s=e.exec(t.value))&&""!==s[a];){var l=s.index;if(0!==a)for(var c=1;c<a;c++)l+=s[c].length;var u=l+s[a].length;i.wrapRangeInMappedTextNode(t,l,u,(function(e){return n(s[a],e)}),(function(t,n){e.lastIndex=n,r(t)}))}o()}))}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var o=this;this.getTextNodes((function(i){var a=i.value.length;e.forEach((function(e,r){var s=o.checkWhitespaceRanges(e,a,i.value),l=s.start,c=s.end;s.valid&&o.wrapRangeInMappedTextNode(i,l,c,(function(n){return t(n,e,i.value.substring(l,c),r)}),(function(t){n(t,e)}))})),r()}))}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,o="wrapMatches";this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),this[o](e,this.opt.ignoreGroups,(function(e,t){return n.opt.filter(t,e,r)}),(function(e){r++,n.opt.each(e)}),(function(){0===r&&n.opt.noMatch(e),n.opt.done(r)}))}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,o="wrapMatches",i=this.getSeparatedKeywords("string"==typeof e?[e]:e),a=i.keywords,s=i.length,l=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(o="wrapMatchesAcrossElements"),0===s?this.opt.done(r):function e(t){var i=new RegExp(n.createRegExp(t),"gm"+l),c=0;n.log('Searching with expression "'+i+'"'),n[o](i,1,(function(e,o){return n.opt.filter(o,t,r,c)}),(function(e){c++,r++,n.opt.each(e)}),(function(){0===c&&n.opt.noMatch(t),a[s-1]===t?n.opt.done(r):e(a[a.indexOf(t)+1])}))}(a[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,o=this.checkRanges(e);o&&o.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(o)),this.wrapRangeFromIndex(o,(function(e,t,r,o){return n.opt.filter(e,t,r,o)}),(function(e,t){r++,n.opt.each(e,t)}),(function(){n.opt.done(r)}))):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(function(e){t.unwrapMatches(e)}),(function(e){var r=o.matches(e,n),i=t.matchesExclude(e);return!r||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new o(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),i}();return function(e){var t=this,n=new i(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}},"object"===a(t)?e.exports=i():void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)},8707:(e,t,n)=>{"use strict";e.exports=n(85855)},58565:(e,t,n)=>{"use strict";e.exports=n(95485)},35042:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},6251:(e,t,n)=>{"use strict";n(24603),n(74916),n(39714);var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+o+")");e.exports.n=i,e.exports.q=a},14348:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(47042),n(54747),n(47941),n(92222),n(24603),n(74916),n(39714),n(15306),n(73210),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=Object.prototype.hasOwnProperty;function i(e,t){return o.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(l.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,d=n(58565);var p=/[&<>"]/,f=/[&<>"]/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function m(e){return h[e]}var g=/[.?*+^$[\]\\(){}|-]/g;var y=n(67925);t.lib={},t.lib.mdurl=n(75577),t.lib.ucmicro=n(19234),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==r(t))throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(l,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,(function(e,t,n){return t||function(e,t){var n=0;return i(d,t)?d[t]:35===t.charCodeAt(0)&&u.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(n):e}(e,n)}))},t.isValidEntityCode=a,t.fromCodePoint=s,t.escapeHtml=function(e){return p.test(e)?e.replace(f,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,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 y.test(e)},t.escapeRE=function(e){return e.replace(g,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},66647:(e,t,n)=>{"use strict";t.parseLinkLabel=n(66322),t.parseLinkDestination=n(29883),t.parseLinkTitle=n(6150)},29883:(e,t,n)=>{"use strict";n(47042);var r=n(14348).unescapeAll;e.exports=function(e,t,n){var o,i,a=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t)))return s;if(60===o)return s;if(62===o)return s.pos=t+1,s.str=r(e.slice(a+1,t)),s.ok=!0,s;92===o&&t+1<n?t+=2:t++}return s}for(i=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===o&&++i>32)return s;if(41===o){if(0===i)break;i--}t++}return a===t||0!==i||(s.str=r(e.slice(a,t)),s.lines=0,s.pos=t,s.ok=!0),s}},66322:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--r){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return o&&(s=e.pos),e.pos=c,s}},6150:(e,t,n)=>{"use strict";n(47042);var r=n(14348).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return l;for(t++,40===i&&(i=41);t<n;){if((o=e.charCodeAt(t))===i)return l.pos=t+1,l.lines=a,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===o&&41===i)return l;10===o?a++:92===o&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return l}},85855:(e,t,n)=>{"use strict";n(73210),n(54747),n(47941),n(92222),n(57327),n(47042);var r=n(14348),o=n(66647),i=n(94613),a=n(5900),s=n(12156),l=n(91063),c=n(97754),u=n(75577),d=n(41625),p={default:n(91885),zero:n(66358),commonmark:n(14712)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function y(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new i,this.linkify=new c,this.validateLink=m,this.normalizeLink=y,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},12156:(e,t,n)=>{"use strict";n(47042);var r=n(52822),o=[["table",n(41069),["paragraph","reference"]],["code",n(26618)],["fence",n(73909),["paragraph","reference","blockquote","list"]],["blockquote",n(56321),["paragraph","reference","blockquote","list"]],["hr",n(53419),["paragraph","reference","blockquote","list"]],["list",n(76564),["paragraph","reference","blockquote"]],["reference",n(15379)],["html_block",n(88164),["paragraph","reference","blockquote"]],["heading",n(55410),["paragraph","reference","blockquote"]],["lheading",n(91029)],["paragraph",n(71017)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<i&&!o[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var o;e&&(o=new this.State(e,t,n,r),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=n(89157),e.exports=i},5900:(e,t,n)=>{"use strict";var r=n(52822),o=[["normalize",n(56817)],["block",n(58992)],["inline",n(6676)],["linkify",n(31380)],["replacements",n(93365)],["smartquotes",n(77937)],["text_join",n(48662)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(20110),e.exports=i},91063:(e,t,n)=>{"use strict";var r=n(52822),o=[["text",n(43154)],["linkify",n(853)],["newline",n(13377)],["escape",n(50251)],["backticks",n(58677)],["strikethrough",n(97097).w],["emphasis",n(18949).w],["link",n(87582)],["image",n(21900)],["autolink",n(11758)],["html_inline",n(11579)],["entity",n(2438)]],i=[["balance_pairs",n(51500)],["strikethrough",n(97097).g],["emphasis",n(18949).g],["fragments_join",n(82006)]];function a(){var e;for(this.ruler=new r,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new r,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<a)for(n=0;n<i&&(e.level++,t=o[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),o=r.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(n=0;n<o&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var o,i,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},a.prototype.State=n(59427),e.exports=a},14712:e=>{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},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","fragments_join"]}}}},91885:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},66358:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}},94613:(e,t,n)=>{"use strict";n(73210),n(74916),n(23123),n(69600),n(47042);var r=n(14348).assign,o=n(14348).unescapeAll,i=n(14348).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var s,l,c,u,d,p=e[t],f=p.info?o(p.info).trim():"",h="",m="";return f&&(h=(c=f.split(/(\s+)/g))[0],m=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(p.content,h,m)||i(p.content)).indexOf("<pre")?s+"\n":f?(l=p.attrIndex("class"),u=p.attrs?p.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),d={attrs:u},"<pre><code"+a.renderAttrs(d)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"},a.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(i=!1)),o+=i?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,s=e.length;a<s;a++)void 0!==i[r=e[a].type]?o+=i[r](e,a,t,n,this):o+=this.renderToken(e,a,t);return o},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",o=0,i=e.length;o<i;o++)"text"===e[o].type?r+=e[o].content:"image"===e[o].type?r+=this.renderInlineAsText(e[o].children,t,n):"softbreak"===e[o].type&&(r+="\n");return r},s.prototype.render=function(e,t,n){var r,o,i,a="",s=this.rules;for(r=0,o=e.length;r<o;r++)"inline"===(i=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==s[i]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=s},52822:(e,t,n)=>{"use strict";function r(){this.__rules__=[],this.__cache__=null}n(68309),n(54747),n(40561),r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.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(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),o=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},56321:(e,t,n)=>{"use strict";n(21249);var r=n(14348).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x=e.lineMax,k=e.bMarks[t]+e.tShift[t],O=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(k++))return!1;if(o)return!0;for(l=f=e.sCount[t]+1,32===e.src.charCodeAt(k)?(k++,l++,f++,i=!1,_=!0):9===e.src.charCodeAt(k)?(_=!0,(e.bsCount[t]+f)%4==3?(k++,l++,f++,i=!1):i=!0):_=!1,h=[e.bMarks[t]],e.bMarks[t]=k;k<O&&(a=e.src.charCodeAt(k),r(a));)9===a?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,k++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),u=k>=O,v=[e.sCount[t]],e.sCount[t]=f-l,b=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",p=t+1;p<n&&(E=e.sCount[p]<e.blkIndent,!((k=e.bMarks[p]+e.tShift[p])>=(O=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(k++)||E){if(u)break;for(w=!1,s=0,c=C.length;s<c;s++)if(C[s](e,p,n,!0)){w=!0;break}if(w){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),v.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),v.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=f=e.sCount[p]+1,32===e.src.charCodeAt(k)?(k++,l++,f++,i=!1,_=!0):9===e.src.charCodeAt(k)?(_=!0,(e.bsCount[p]+f)%4==3?(k++,l++,f++,i=!1):i=!0):_=!1,h.push(e.bMarks[p]),e.bMarks[p]=k;k<O&&(a=e.src.charCodeAt(k),r(a));)9===a?f+=4-(f+e.bsCount[p]+(i?1:0))%4:f++,k++;u=k>=O,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(_?1:0),v.push(e.sCount[p]),e.sCount[p]=f-l,b.push(e.tShift[p]),e.tShift[p]=k-e.bMarks[p]}for(g=e.blkIndent,e.blkIndent=0,(S=e.push("blockquote_open","blockquote",1)).markup=">",S.map=d=[t,0],e.md.block.tokenize(e,t,p),(S=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=y,d[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=b[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},26618:(e,t,n)=>{"use strict";n(21249),e.exports=function(e,t,n){var r,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;o=++r}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},73909:(e,t,n)=>{"use strict";n(47042),n(21249),e.exports=function(e,t,n,r){var o,i,a,s,l,c,u,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!==(o=e.src.charCodeAt(p))&&96!==o)return!1;if(l=p,(i=(p=e.skipChars(p,o))-l)<3)return!1;if(u=e.src.slice(l,p),a=e.src.slice(p,f),96===o&&a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((p=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===o&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,o))-l<i||(p=e.skipSpaces(p))<f)){d=!0;break}return i=e.sCount[t],e.line=s+(d?1:0),(c=e.push("fence","code",0)).info=a,c.content=e.getLines(t+1,s,i,!0),c.markup=u,c.map=[t,e.line],!0}},55410:(e,t,n)=>{"use strict";n(21249),n(73210),n(47042);var r=n(14348).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c=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(c))||c>=u)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c<u&&a<=6;)a++,i=e.src.charCodeAt(++c);return!(a>6||c<u&&!r(i))&&(o||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&r(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),!0)}},53419:(e,t,n)=>{"use strict";n(21249),n(69600);var r=n(14348).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c=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(c++))&&45!==i&&95!==i)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==i&&!r(s))return!1;s===i&&a++}return!(a<3)&&(o||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(i))),!0)}},88164:(e,t,n)=>{"use strict";n(24603),n(74916),n(39714),n(69600),n(47042),n(21249);var r=n(35042),o=n(6251).q,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),o=0;o<i.length&&!i[o][0].test(l);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),i[o][1].test(l)){0!==l.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},91029:(e,t,n)=>{"use strict";n(73210),n(21249),e.exports=function(e,t,n){var r,o,i,a,s,l,c,u,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<n&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(l=e.bMarks[f]+e.tShift[f])<(c=e.eMarks[f])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=c)){u=61===d?1:2;break}if(!(e.sCount[f]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](e,f,n,!0)){o=!0;break}if(o)break}}return!!u&&(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(d),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(d),e.parentType=p,!0)}},76564:(e,t,n)=>{"use strict";n(9653),n(47042),n(21249);var r=n(14348).isSpace;function o(e,t){var n,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(o++))&&45!==n&&43!==n||o<i&&(a=e.src.charCodeAt(o),!r(a))?-1:o}function i(e,t){var n,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=a)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-o>=10)return-1}return i<a&&(n=e.src.charCodeAt(i),!r(n))?-1:i}e.exports=function(e,t,n,r){var a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x,k,O,T,A,P,R,I,M,N=!1,D=!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(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(N=!0),(T=i(e,t))>=0){if(p=!0,P=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(P,T-1)),N&&1!==v)return!1}else{if(!((T=o(e,t))>=0))return!1;p=!1}if(N&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(T-1),r)return!0;for(g=e.tokens.length,p?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=m=[t,0],M.markup=String.fromCharCode(y),_=t,A=!1,I=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";_<n;){for(O=T,b=e.eMarks[_],d=w=e.sCount[_]+T-(e.bMarks[t]+e.tShift[t]);O<b;){if(9===(a=e.src.charCodeAt(O)))w+=4-(w+e.bsCount[_])%4;else{if(32!==a)break;w++}O++}if((u=(s=O)>=b?1:w-d)>4&&(u=1),c=d+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(y),M.map=f=[t,0],p&&(M.info=e.src.slice(P,T-1)),k=e.tight,x=e.tShift[t],E=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=w,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(D=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=x,e.sCount[t]=E,e.tight=k,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(y),_=t=e.line,f[1]=_,s=e.bMarks[t],_>=n)break;if(e.sCount[_]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(R=!1,l=0,h=I.length;l<h;l++)if(I[l](e,_,n,!0)){R=!0;break}if(R)break;if(p){if((T=i(e,_))<0)break;P=e.bMarks[_]+e.tShift[_]}else if((T=o(e,_))<0)break;if(y!==e.src.charCodeAt(T-1))break}return(M=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(y),m[1]=_,e.line=_,e.parentType=S,D&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},71017:(e,t,n)=>{"use strict";n(73210),n(21249),e.exports=function(e,t){var n,r,o,i,a,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,o=0,i=c.length;o<i;o++)if(c[o](e,l,u,!0)){r=!0;break}if(r)break}return n=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=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},15379:(e,t,n)=>{"use strict";n(73210),n(47042);var r=n(14348).normalizeReference,o=n(14348).isSpace;e.exports=function(e,t,n,i){var a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C=0,S=e.bMarks[t]+e.tShift[t],E=e.eMarks[t],x=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(S))return!1;for(;++S<E;)if(93===e.src.charCodeAt(S)&&92!==e.src.charCodeAt(S-1)){if(S+1===E)return!1;if(58!==e.src.charCodeAt(S+1))return!1;break}for(c=e.lineMax,_=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";x<c&&!e.isEmpty(x);x++)if(!(e.sCount[x]-e.blkIndent>3||e.sCount[x]<0)){for(b=!1,d=0,p=_.length;d<p;d++)if(_[d](e,x,c,!0)){b=!0;break}if(b)break}for(E=(v=e.getLines(t,x,e.blkIndent,!1).trim()).length,S=1;S<E;S++){if(91===(a=v.charCodeAt(S)))return!1;if(93===a){h=S;break}(10===a||92===a&&++S<E&&10===v.charCodeAt(S))&&C++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(S=h+2;S<E;S++)if(10===(a=v.charCodeAt(S)))C++;else if(!o(a))break;if(!(g=e.md.helpers.parseLinkDestination(v,S,E)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=S=g.pos,l=C+=g.lines,y=S;S<E;S++)if(10===(a=v.charCodeAt(S)))C++;else if(!o(a))break;for(g=e.md.helpers.parseLinkTitle(v,S,E),S<E&&y!==S&&g.ok?(w=g.str,S=g.pos,C+=g.lines):(w="",S=s,C=l);S<E&&(a=v.charCodeAt(S),o(a));)S++;if(S<E&&10!==v.charCodeAt(S)&&w)for(w="",S=s,C=l;S<E&&(a=v.charCodeAt(S),o(a));)S++;return!(S<E&&10!==v.charCodeAt(S))&&(!!(f=r(v.slice(1,h)))&&(i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:w,href:u}),e.parentType=m,e.line=t+C+1),!0))}},89157:(e,t,n)=>{"use strict";n(69600),n(47042);var r=n(98640),o=n(14348).isSpace;function i(e,t,n,r){var i,a,s,l,c,u,d,p;for(this.src=e,this.md=t,this.env=n,this.tokens=r,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="",p=!1,s=l=u=d=0,c=(a=this.src).length;l<c;l++){if(i=a.charCodeAt(l),!p){if(o(i)){u++,9===i?d+=4-d%4:d++;continue}p=!0}10!==i&&l!==c-1||(10!==i&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(d),this.bsCount.push(0),p=!1,u=0,d=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var o=new r(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,p=e;if(e>=t)return"";for(u=new Array(t-e),i=0;p<t;p++,i++){for(a=0,d=l=this.bMarks[p],c=p+1<t||r?this.eMarks[p]+1:this.eMarks[p];l<c&&a<n;){if(s=this.src.charCodeAt(l),o(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(l-d<this.tShift[p]))break;a++}l++}u[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},i.prototype.Token=r,e.exports=i},41069:(e,t,n)=>{"use strict";n(47042),n(74916),n(23123),n(73210),n(21249);var r=n(14348).isSpace;function o(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function i(e){var t,n=[],r=0,o=e.length,i=!1,a=0,s="";for(t=e.charCodeAt(r);r<o;)124===t&&(i?(s+=e.substring(a,r-1),a=r):(n.push(s+e.substring(a,r)),s="",a=r+1)),i=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(a)),n}e.exports=function(e,t,n,a){var s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((c=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(S=e.src.charCodeAt(c++))&&45!==S&&58!==S)return!1;if(c>=e.eMarks[p])return!1;if(124!==(E=e.src.charCodeAt(c++))&&45!==E&&58!==E&&!r(E))return!1;if(45===S&&r(E))return!1;for(;c<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(f=(l=o(e,t+1)).split("|"),g=[],u=0;u<f.length;u++){if(!(y=f[u].trim())){if(0===u||u===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;58===y.charCodeAt(y.length-1)?g.push(58===y.charCodeAt(0)?"center":"right"):58===y.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=i(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),0===(h=f.length)||h!==g.length)return!1;if(a)return!0;for(_=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=v=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<f.length;u++)m=e.push("th_open","th",1),g[u]&&(m.attrs=[["style","text-align:"+g[u]]]),(m=e.push("inline","",0)).content=f[u].trim(),m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),p=t+2;p<n&&!(e.sCount[p]<e.blkIndent);p++){for(w=!1,u=0,d=C.length;u<d;u++)if(C[u](e,p,n,!0)){w=!0;break}if(w)break;if(!(l=o(e,p).trim()))break;if(e.sCount[p]-e.blkIndent>=4)break;for((f=i(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),p===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[p,p+1],u=0;u<h;u++)m=e.push("td_open","td",1),g[u]&&(m.attrs=[["style","text-align:"+g[u]]]),(m=e.push("inline","",0)).content=f[u]?f[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return b&&(m=e.push("tbody_close","tbody",-1),b[1]=p),m=e.push("table_close","table",-1),v[1]=p,e.parentType=_,e.line=p,!0}},58992:(e,t,n)=>{"use strict";n(21249),e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},6676:e=>{"use strict";e.exports=function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(t=o[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},31380:(e,t,n)=>{"use strict";n(74916),n(4723),n(47042),n(15306);var r=n(14348).arrayReplaceAt;function o(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w=e.tokens;if(e.md.options.linkify)for(n=0,i=w.length;n<i;n++)if("inline"===w[n].type&&e.md.linkify.pretest(w[n].content))for(m=0,t=(a=w[n].children).length-1;t>=0;t--)if("link_close"!==(l=a[t]).type){if("html_inline"===l.type&&(_=l.content,/^<a[>\s]/i.test(_)&&m>0&&m--,o(l.content)&&m++),!(m>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,b=e.md.linkify.match(d),c=[],h=l.level,f=0,b.length>0&&0===b[0].index&&t>0&&"text_special"===a[t-1].type&&(b=b.slice(1)),u=0;u<b.length;u++)g=b[u].url,y=e.md.normalizeLink(g),e.md.validateLink(y)&&(v=b[u].text,v=b[u].schema?"mailto:"!==b[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(p=b[u].index)>f&&((s=new e.Token("text","",0)).content=d.slice(f,p),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",y]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=v,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),f=b[u].lastIndex);f<d.length&&((s=new e.Token("text","",0)).content=d.slice(f),s.level=h,c.push(s)),w[n].children=a=r(a,t,c)}}else for(t--;a[t].level!==l.level&&"link_open"!==a[t].type;)t--}},56817:(e,t,n)=>{"use strict";n(74916),n(15306);var r=/\r\n?|\n/g,o=/\0/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(o,"�"),e.src=t}},93365:(e,t,n)=>{"use strict";n(74916),n(15306);var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r)\)/i,i=/\((c|tm|r)\)/gi,a={c:"©",r:"®",tm:"™"};function s(e,t){return a[t.toLowerCase()]}function l(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(i,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function c(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||o||r.test(n.content)&&(n.content=n.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"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(o.test(e.tokens[t].content)&&l(e.tokens[t].children),r.test(e.tokens[t].content)&&c(e.tokens[t].children))}},77937:(e,t,n)=>{"use strict";n(47042),n(74916);var r=n(14348).isWhiteSpace,o=n(14348).isPunctChar,i=n(14348).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function l(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function c(e,t){var n,a,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x,k,O;for(x=[],n=0;n<e.length;n++){for(a=e[n],f=e[n].level,S=x.length-1;S>=0&&!(x[S].level<=f);S--);if(x.length=S+1,"text"===a.type){d=0,p=(c=a.content).length;e:for(;d<p&&(s.lastIndex=d,u=s.exec(c));){if(w=C=!0,d=u.index+1,E="'"===u[0],m=32,u.index-1>=0)m=c.charCodeAt(u.index-1);else for(S=n-1;S>=0&&("softbreak"!==e[S].type&&"hardbreak"!==e[S].type);S--)if(e[S].content){m=e[S].content.charCodeAt(e[S].content.length-1);break}if(g=32,d<p)g=c.charCodeAt(d);else for(S=n+1;S<e.length&&("softbreak"!==e[S].type&&"hardbreak"!==e[S].type);S++)if(e[S].content){g=e[S].content.charCodeAt(0);break}if(y=i(m)||o(String.fromCharCode(m)),v=i(g)||o(String.fromCharCode(g)),b=r(m),(_=r(g))?w=!1:v&&(b||y||(w=!1)),b?C=!1:y&&(_||v||(C=!1)),34===g&&'"'===u[0]&&m>=48&&m<=57&&(C=w=!1),w&&C&&(w=y,C=v),w||C){if(C)for(S=x.length-1;S>=0&&(h=x[S],!(x[S].level<f));S--)if(h.single===E&&x[S].level===f){h=x[S],E?(k=t.md.options.quotes[2],O=t.md.options.quotes[3]):(k=t.md.options.quotes[0],O=t.md.options.quotes[1]),a.content=l(a.content,u.index,O),e[h.token].content=l(e[h.token].content,h.pos,k),d+=O.length-1,h.token===n&&(d+=k.length-1),p=(c=a.content).length,x.length=S;continue e}w?x.push({token:n,pos:u.index,single:E,level:f}):C&&E&&(a.content=l(a.content,u.index,"’"))}else E&&(a.content=l(a.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},20110:(e,t,n)=>{"use strict";var r=n(98640);function o(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=r,e.exports=o},48662:e=>{"use strict";e.exports=function(e){var t,n,r,o,i,a,s=e.tokens;for(t=0,n=s.length;t<n;t++)if("inline"===s[t].type){for(i=(r=s[t].children).length,o=0;o<i;o++)"text_special"===r[o].type&&(r[o].type="text");for(o=a=0;o<i;o++)"text"===r[o].type&&o+1<i&&"text"===r[o+1].type?r[o+1].content=r[o].content+r[o+1].content:(o!==a&&(r[a]=r[o]),a++);o!==a&&(r.length=a)}}},11758:(e,t,n)=>{"use strict";n(47042);var r=/^([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])?)*)$/,o=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,t){var n,i,a,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return n=e.src.slice(l+1,u),o.test(n)?(i=e.md.normalizeLink(n),!!e.md.validateLink(i)&&(t||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(n),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=n.length+2,!0)):!!r.test(n)&&(i=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(i)&&(t||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(n),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=n.length+2,!0))}},58677:(e,t,n)=>{"use strict";n(47042),n(74916),n(15306),e.exports=function(e,t){var n,r,o,i,a,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(o=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=o),e.pos+=l,!0;for(a=s=u;-1!==(a=e.src.indexOf("`",s));){for(s=a+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-a)===l)return t||((i=e.push("code_inline","code",0)).markup=o,i.content=e.src.slice(u,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=a}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=l,!0}},51500:e=>{"use strict";function t(e,t){var n,r,o,i,a,s,l,c,u={},d=t.length;if(d){var p=0,f=-2,h=[];for(n=0;n<d;n++)if(o=t[n],h.push(0),t[p].marker===o.marker&&f===o.token-1||(p=n),f=o.token,o.length=o.length||0,o.close){for(u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]),a=u[o.marker][(o.open?3:0)+o.length%3],s=r=p-h[p]-1;r>a;r-=h[r]+1)if((i=t[r]).marker===o.marker&&i.open&&i.end<0&&(l=!1,(i.close||o.open)&&(i.length+o.length)%3==0&&(i.length%3==0&&o.length%3==0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,o.open=!1,i.end=n,i.close=!1,s=-1,f=-2;break}-1!==s&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},18949:e=>{"use strict";function t(e,t){var n,r,o,i,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(o=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,a=String.fromCharCode(r.marker),(i=e.tokens[r.token]).type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",(i=e.tokens[o.token]).type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},2438:(e,t,n)=>{"use strict";n(74916),n(4723),n(47042);var r=n(58565),o=n(14348).has,i=n(14348).isValidEntityCode,a=n(14348).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u,d=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1>=p)return!1;if(35===e.src.charCodeAt(d+1)){if(c=e.src.slice(d).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(u=e.push("text_special","",0)).content=i(n)?a(n):a(65533),u.markup=c[0],u.info="entity"),e.pos+=c[0].length,!0}else if((c=e.src.slice(d).match(l))&&o(r,c[1]))return t||((u=e.push("text_special","",0)).content=r[c[1]],u.markup=c[0],u.info="entity"),e.pos+=c[0].length,!0;return!1}},50251:(e,t,n)=>{"use strict";n(74916),n(23123);for(var r=n(14348).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i,a,s,l,c=e.pos,u=e.posMax;if(92!==e.src.charCodeAt(c))return!1;if(++c>=u)return!1;if(10===(n=e.src.charCodeAt(c))){for(t||e.push("hardbreak","br",0),c++;c<u&&(n=e.src.charCodeAt(c),r(n));)c++;return e.pos=c,!0}return s=e.src[c],n>=55296&&n<=56319&&c+1<u&&(i=e.src.charCodeAt(c+1))>=56320&&i<=57343&&(s+=e.src[c+1],c++),a="\\"+s,t||(l=e.push("text_special","",0),n<256&&0!==o[n]?l.content=s:l.content=a,l.markup=a,l.info="escape"),e.pos=c+1,!0}},82006:e=>{"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}},11579:(e,t,n)=>{"use strict";n(74916),n(4723),n(47042);var r=n(6251).n;e.exports=function(e,t){var n,o,i,a,s,l=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=i)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(o=e.src.slice(l).match(r))&&(t||((a=e.push("html_inline","",0)).content=e.src.slice(l,l+o[0].length),s=a.content,/^<a[>\s]/i.test(s)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(a.content)&&e.linkLevel--),e.pos+=o[0].length,!0))))}},21900:(e,t,n)=>{"use strict";n(47042);var r=n(14348).normalizeReference,o=n(14348).isSpace;e.exports=function(e,t){var n,i,a,s,l,c,u,d,p,f,h,m,g,y="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(u>=b)return!1;for(g=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(y=e.md.normalizeLink(p.str),e.md.validateLink(y)?u=p.pos:y=""),g=u;u<b&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&g!==u&&p.ok)for(f=p.str,u=p.pos;u<b&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);else f="";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=v,!1;y=d.href,f=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",y],["alt",""]],h.children=m,h.content=a,f&&n.push(["title",f])),e.pos=u,e.posMax=b,!0}},87582:(e,t,n)=>{"use strict";n(47042);var r=n(14348).normalizeReference,o=n(14348).isSpace;e.exports=function(e,t){var n,i,a,s,l,c,u,d,p="",f="",h=e.pos,m=e.posMax,g=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(y=!1,c++;c<m&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);if(c>=m)return!1;if(g=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(p=e.md.normalizeLink(u.str),e.md.validateLink(p)?c=u.pos:p="",g=c;c<m&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&g!==c&&u.ok)for(f=u.str,c=u.pos;c<m&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);}(c>=m||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(g,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=h,!1;p=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",p]],f&&n.push(["title",f]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},853:(e,t,n)=>{"use strict";n(74916),n(4723),n(47042),n(15306);var r=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,t){var n,o,i,a,s,l,c;return!!e.md.options.linkify&&(!(e.linkLevel>0)&&(!((n=e.pos)+3>e.posMax)&&(58===e.src.charCodeAt(n)&&(47===e.src.charCodeAt(n+1)&&(47===e.src.charCodeAt(n+2)&&(!!(o=e.pending.match(r))&&(i=o[1],!!(a=e.md.linkify.matchAtStart(e.src.slice(n-i.length)))&&(s=(s=a.url).replace(/\*+$/,""),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(e.pending=e.pending.slice(0,-i.length),(c=e.push("link_open","a",1)).attrs=[["href",l]],c.markup="linkify",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="linkify",c.info="auto"),e.pos+=s.length-i.length,!0)))))))))}},13377:(e,t,n)=>{"use strict";n(47042);var r=n(14348).isSpace;e.exports=function(e,t){var n,o,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,o=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(i=n-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(a++;a<o&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},59427:(e,t,n)=>{"use strict";var r=n(98640),o=n(14348).isWhiteSpace,i=n(14348).isPunctChar,a=n(14348).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.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,this.linkLevel=0}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new r(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,d,p,f,h=e,m=!0,g=!0,y=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<y&&this.src.charCodeAt(h)===v;)h++;return s=h-e,r=h<y?this.src.charCodeAt(h):32,d=a(n)||i(String.fromCharCode(n)),f=a(r)||i(String.fromCharCode(r)),u=o(n),(p=o(r))?m=!1:f&&(u||d||(m=!1)),u?g=!1:d&&(p||f||(g=!1)),t?(l=m,c=g):(l=m&&(!g||d),c=g&&(!m||f)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},97097:e=>{"use strict";function t(e,t){var n,r,o,i,a,s=[],l=t.length;for(n=0;n<l;n++)126===(o=t[n]).marker&&-1!==o.end&&(i=t[o.end],(a=e.tokens[o.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&s.push(i.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.w=function(e,t){var n,r,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),n=0;n<o;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},43154:(e,t,n)=>{"use strict";function r(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}}n(47042),e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},98640:(e,t,n)=>{"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n(21249),r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},82858:(e,t,n)=>{"use strict";n(47042),n(41539),n(39714),n(74916),n(15306);var r={};function o(e,t){var n;return"string"!=typeof t&&(t=o.defaultChars),n=function(e){var t,n,o=r[e];if(o)return o;for(o=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t<e.length;t++)o[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,o,i,a,s,l,c="";for(t=0,r=e.length;t<r;t+=3)(o=parseInt(e.slice(t+1,t+3),16))<128?c+=n[o]:192==(224&o)&&t+3<r&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=o<<6&1984|63&i)<128?"��":String.fromCharCode(l),t+=3):224==(240&o)&&t+6<r&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&a))?(c+=(l=o<<12&61440|i<<6&4032|63&a)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&o)&&t+9<r&&(i=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&i)&&128==(192&a)&&128==(192&s))?((l=o<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},94279:(e,t,n)=>{"use strict";n(47042),n(41539),n(39714);var r={};function o(e,t,n){var i,a,s,l,c,u="";for("string"!=typeof t&&(n=t,t=o.defaultChars),void 0===n&&(n=!0),c=function(e){var t,n,o=r[e];if(o)return o;for(o=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),n&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(l=e.charCodeAt(i+1))>=56320&&l<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},99363:(e,t,n)=>{"use strict";n(74916),n(64765),e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},75577:(e,t,n)=>{"use strict";e.exports.encode=n(94279),e.exports.decode=n(82858),e.exports.format=n(99363),e.exports.parse=n(38770)},38770:(e,t,n)=>{"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}n(74916),n(64765),n(92222),n(73210),n(23123),n(4723),n(47042),n(69600);var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),c=["%","/","?",";","#"].concat(l),u=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,s,l,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var y=o.exec(m);if(y&&(i=(y=y[0]).toLowerCase(),this.protocol=y,m=m.substr(y.length)),(t||y||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===m.substr(0,2))||y&&f[y]||(m=m.substr(2),this.slashes=!0)),!f[y]&&(l||y&&!h[y])){var v,b,_=-1;for(n=0;n<u.length;n++)-1!==(s=m.indexOf(u[n]))&&(-1===_||s<_)&&(_=s);for(-1!==(b=-1===_?m.lastIndexOf("@"):m.lastIndexOf("@",_))&&(v=m.slice(0,b),m=m.slice(b+1),this.auth=v),_=-1,n=0;n<c.length;n++)-1!==(s=m.indexOf(c[n]))&&(-1===_||s<_)&&(_=s);-1===_&&(_=m.length),":"===m[_-1]&&_--;var w=m.slice(0,_);m=m.slice(_),this.parseHost(w),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var S=this.hostname.split(/\./);for(n=0,r=S.length;n<r;n++){var E=S[n];if(E&&!E.match(d)){for(var x="",k=0,O=E.length;k<O;k++)E.charCodeAt(k)>127?x+="x":x+=E[k];if(!x.match(d)){var T=S.slice(0,n),A=S.slice(n+1),P=E.match(p);P&&(T.push(P[1]),A.unshift(P[2])),A.length&&(m=A.join(".")+m),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=m.indexOf("#");-1!==R&&(this.hash=m.substr(R),m=m.slice(0,R));var I=m.indexOf("?");return-1!==I&&(this.search=m.substr(I),m=m.slice(0,I)),m&&(this.pathname=m),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},24412:function(e,t,n){var r,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(66992),n(41539),n(33948),n(40561),n(47941),n(56977),n(19601),n(78783),n(38478),n(54747),n(24603),n(74916),n(39714),n(51532),n(70189),n(47042),n(68309),n(23123),n(73210),n(15306),n(82526),n(41817),n(32165),function(n,s){"object"==a(t)?s(t):(o=[t],void 0===(i="function"==typeof(r=s)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=function(e){for(var n,r=0;r<(arguments.length<=1?0:arguments.length-1);r++)if((n=r+1<1||arguments.length<=r+1?void 0:arguments[r+1])&&"object"==a(n))for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e},r=function(e){var t=e.length;if(!t)return[];if(1===t)return[e[0]];if(2===t)return[e[0],e[1]];if(3===t)return[e[0],e[1],e[2]];for(var n=new Array(t),r=0;r<t;r++)n[r]=e[r];return n},o=function(e,t){var n="function"==typeof t?t:function(e){return function(t,n){if(t.length!==n.length)return!1;for(var r=0,o=t.length;r<o;r++)if(!e(t[r],n[r]))return!1;return!0}}(e);return function(e,t){for(var r=0;r<e.length;r++)if(n(e[r],t))return r;return-1}},i=function(e,t){return e===t||e!=e&&t!=t},s=function(e,t,n){},l=function(e,t,n){for(var r=n;r--;)e[r+1]=e[r];e[0]=t};function c(e,t){if(e.isMemoized)return e;var a=t||{},c=a.isEqual,u=void 0===c?i:c,d=a.isMatchingKey,p=a.isPromise,f=void 0!==p&&p,h=a.maxSize,m=void 0===h?1:h,g=a.onCacheAdd,y=void 0===g?s:g,v=a.onCacheChange,b=void 0===v?s:v,_=a.onCacheHit,w=void 0===_?s:_,C=a.transformKey,S=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(a,["isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey"]),E=n({},S,{isEqual:u,isMatchingKey:d,isPromise:f,maxSize:m,onCacheAdd:y,onCacheChange:b,onCacheHit:w,transformKey:C}),x=o(u,d),k=function(e){var t=o(e.isEqual,e.isMatchingKey);return function(n,r){var o=n.keys[0];n.values[0]=n.values[0].then((function(t){return e.onCacheHit(n,e,r),e.onCacheChange(n,e,r),t})).catch((function(e){var r=t(n.keys,o);throw~r&&(n.keys.splice(r,1),n.values.splice(r,1)),e}))}}(E),O=!(!C&&!d),T={keys:[],get size(){return T.keys.length},values:[]},A=T.keys,P=T.values;function R(){var t=arguments,n=O?r(t):t,o=C?C(n):n,i=x(A,o);if(~i)w(T,E,R),i&&(l(A,A[i],i),l(P,P[i],i),b(T,E,R));else{A.length>=m&&(A.pop(),P.pop());var a=O?o:r(n),s=e.apply(this,t);l(A,a,A.length),l(P,s,P.length),f&&k(T,R),y(T,E,R),b(T,E,R)}return P[0]}return Object.defineProperties(R,{cache:{configurable:!0,get:function(){return T}},cacheSnapshot:{configurable:!0,get:function(){return{keys:r(T.keys),size:T.size,values:r(T.values)}}},isMemoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return E}}}),R}function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length)return t.reduce((function(e,t){return"function"==typeof e?"function"==typeof t?function(){return e(t.apply(this,arguments))}:e:"function"==typeof t?t:void 0}))}function d(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return n;return-1}function p(e,t){var n="function"==typeof t?t:function(t,n){for(var r=0;r<n.length;r++)if(!e(t[r],n[r]))return!1;return!0};return function(e,t){for(var r=0;r<e.length;r++)if(e[r].length===t.length&&n(e[r],t))return r;return-1}}function f(e){return Array.isArray(e)?e:[e]}function h(e,t,n){var r=d(e,t);~r&&(clearTimeout(e[r].timeoutId),n&&e.splice(r,1))}function m(e,t){var n=setTimeout(e,t);return"function"==typeof n.unref&&n.unref(),n}function g(){j.isCollectingStats=!0}function y(e,t){return e?(t/e*100).toFixed(4)+"%":"0%"}function v(e){if(j.isCollectingStats||L||(console.warn('Stats are not currently being collected, please run "collectStats" to enable them.'),L=!0),e){if(!j.profiles[e])return{calls:0,hits:0,usage:"0%"};var t=j.profiles[e];return Object.assign({},t,{usage:y(t.calls,t.hits)})}var n=Object.keys(j.profiles).reduce((function(e,t){return e.calls+=j.profiles[t].calls,e.hits+=j.profiles[t].hits,e}),{calls:0,hits:0});return Object.assign({},n,{profiles:Object.keys(j.profiles).reduce((function(e,t){return e[t]=v(t),e}),{}),usage:y(n.calls,n.hits)})}function b(e,t){return e&&"object"==a(e)&&t.add(e)}function _(e,t,n,r){for(var o,i=0;i<e.length;i++)if(n((o=e[i])[0],t[0],r)&&n(o[1],t[1],r))return!0;return!1}function w(e,t,n,r){for(var o=0;o<e.length;o++)if(n(e[o],t,r))return!0;return!1}function C(e,t){return e===t||e!=e&&t!=t}function S(e){return e.constructor===Object}function E(e){return"function"==typeof e.then}function x(e){return!(!e.$$typeof||!e._store)}function k(e){return function(t){var n=e||t;return function(e,t,r){void 0===r&&(r=z?new WeakSet:Object.create({_values:[],add:function(e){this._values.push(e)},has:function(e){return!!~this._values.indexOf(e)}}));var o=r.has(e),i=r.has(t);return o||i?o&&i:(b(e,r),b(t,r),n(e,t,r))}}}function O(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t}function T(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function A(e,t,n,r){var o,i=q(e),a=q(t);if(i.length!==a.length)return!1;for(var s=0;s<i.length;s++){if(!w(a,o=i[s],C))return!1;if(!("_owner"===o&&x(e)&&x(t)||n(e[o],t[o],r)))return!1}return!0}function P(e){var t="function"==typeof e?e(n):n;function n(e,n,r){if(C(e,n))return!0;var o=a(e);if(o!=a(n)||"object"!=o||!e||!n)return!1;if(S(e)&&S(n))return A(e,n,t,r);var i=G(e),s=G(n);if(i||s)return i===s&&function(e,t,n,r){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(!n(e[o],t[o],r))return!1;return!0}(e,n,t,r);var l=e instanceof Date,c=n instanceof Date;if(l||c)return l==c&&C(e.getTime(),n.getTime());var u=e instanceof RegExp,d=n instanceof RegExp;if(u||d)return u==d&&function(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}(e,n);if(E(e)||E(n))return e===n;if(H){var p=e instanceof Map,f=n instanceof Map;if(p||f)return p==f&&function(e,t,n,r){if(e.size!==t.size)return!1;for(var o=O(e),i=O(t),a=0;a<o.length;a++)if(!_(i,o[a],n,r)||!_(o,i[a],n,r))return!1;return!0}(e,n,t,r)}if(V){var h=e instanceof Set,m=n instanceof Set;if(h||m)return h==m&&function(e,t,n,r){if(e.size!==t.size)return!1;for(var o=T(e),i=T(t),a=0;a<o.length;a++)if(!w(i,o[a],n,r)||!w(o,i[a],n,r))return!1;return!0}(e,n,t,r)}return A(e,n,t,r)}return n}function R(e){return function(t){if(e>=t.length)return t;switch(e){case 0:return[];case 1:return[t[0]];case 2:return[t[0],t[1]];case 3:return[t[0],t[1],t[2]];case 4:return[t[0],t[1],t[2],t[3]];case 5:return[t[0],t[1],t[2],t[3],t[4]]}return Array.prototype.slice.call(t,0,e)}}var I={equals:void 0,isDeepEqual:!1,isPromise:!1,isReact:!1,isSerialized:!1,matchesKey:void 0,maxAge:void 0,maxArgs:void 0,maxSize:1/0,onExpire:void 0,profileName:void 0,serializer:void 0,shouldSerializeFunctions:!1,transformArgs:void 0,updateExpire:!1},M=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length)return t.reduce((function(e,t){return"function"==typeof e?"function"==typeof t?function(){t.apply(this,arguments),e.apply(this,arguments)}:e:"function"==typeof t?t:void 0}))},N=function(e,t){return t===I?e:Object.assign({},e,t,{onCacheAdd:M(e.onCacheAdd,t.onCacheAdd),onCacheChange:M(e.onCacheChange,t.onCacheChange),onCacheHit:M(e.onCacheHit,t.onCacheHit),transformArgs:u(e.transformArgs,t.transformArgs)})},D=function(e,t,n,r){var o=t.maxAge,i=t.updateExpire,a="number"==typeof o&&isFinite(o)?function e(t,n,r,o){var i=n.maxAge,a=n.onCacheChange,s=n.onExpire,l=p(r,o);return function(o,c,u){var p=o.keys[0];if(!~d(t,p)){var f=function(){var i=l(o.keys,p),d=o.values[i];~i&&(o.keys.splice(i,1),o.values.splice(i,1),"function"==typeof a&&a(o,c,u)),h(t,p,!0),"function"==typeof s&&!1===s(p)&&(o.keys.unshift(p),o.values.unshift(d),e(t,n,r)(o,c,u),"function"==typeof a&&a(o,c,u))};t.push({expirationMethod:f,key:p,timeoutId:m(f,i)})}}}(e,t,n,r):void 0;return{onCacheAdd:a,onCacheHit:a&&i?function(e,t){var n=t.maxAge;return function(t){var r=t.keys[0],o=d(e,r);~o&&(h(e,r,!1),e[o].timeoutId=m(e[o].expirationMethod,n))}}(e,t):void 0}},j={anonymousProfileNameCounter:1,isCollectingStats:!1,profiles:{}},L=!1,B=function(e){var t=(new Error).stack,n=e.displayName||e.name||"Anonymous "+j.anonymousProfileNameCounter++;if(!t)return n;for(var r,o,i=t.split("\n").slice(3),a=0;a<i.length;a++)if(!~(r=i[a]).indexOf("/moize/")&&!~r.indexOf(" (native)")&&!~r.indexOf(" Function.")){o=r.replace(/\n/g,"\\n").trim();break}return o?n+" "+o:n},F=function(e){return j.isCollectingStats?{onCacheAdd:function(e){var t=e.profileName;return j.profiles[t]||(j.profiles[t]={calls:0,hits:0}),function(){j.profiles[t].calls++}}(e),onCacheHit:function(e){var t=e.profileName;return function(){j.profiles[t].calls++,j.profiles[t].hits++}}(e)}:{}},U=function(e,t){return function(e,t){var n=t.expirations,r=e.options,o=r.isEqual,i=r.isMatchingKey,a=r.onCacheAdd,s=r.onCacheChange,c=r.transformKey,u=p(o,i);e.add=function(t,n){var r=c?c(t):t;~u(e.cache.keys,r)||(e.cache.size>=e.options.maxSize&&(e.cache.keys.pop(),e.cache.values.pop()),e.cache.keys.unshift(r),e.cache.values.unshift(n),a(e.cache,e.options,e),s(e.cache,e.options,e))},e.clear=function(){e.cache.keys.length=0,e.cache.values.length=0,s(e.cache,e.options,e)},e.get=function(t){var n=u(e.cache.keys,c?c(t):t);return~n?e.apply(this,e.cache.keys[n]):void 0},e.getStats=function(){return v(e.options.profileName)},e.has=function(t){return!!~u(e.cache.keys,c?c(t):t)},e.keys=function(){return e.cacheSnapshot.keys},e.remove=function(t){var r=u(e.cache.keys,c?c(t):t);if(~r){var o=e.cache.keys[r];e.cache.keys.splice(r,1),e.cache.values.splice(r,1),s(e.cache,e.options,e),h(n,o,!0)}},e.update=function(t,n){var r=u(e.cache.keys,c?c(t):t);if(~r){var o=e.cache.keys[r];l(e.cache.keys,o,r),l(e.cache.values,n,r),s(e.cache,e.options,e)}},e.values=function(){return e.cacheSnapshot.values}}(e,t),function(e,t){var n=t.expirations,r=t.options,o=t.originalFunction,i=e.options;Object.defineProperties(e,{_microMemoizeOptions:{configurable:!0,get:function(){return i}},expirations:{configurable:!0,get:function(){return n}},expirationsSnapshot:{configurable:!0,get:function(){return n.slice(0)}},isCollectingStats:{configurable:!0,get:function(){return j.isCollectingStats}},isMoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return r}},originalFunction:{configurable:!0,get:function(){return o}}}),r.isReact&&(e.contextTypes=o.contextTypes,e.defaultProps=o.defaultProps,e.displayName="Moized("+(o.displayName||o.name||"Component")+")",e.propTypes=o.propTypes)}(e,t),e},H="function"==typeof Map,V="function"==typeof Set,z="function"==typeof WeakSet,q=Object.keys,G=Array.isArray,W=(P(k()),P(k(C)),P()),Y=P((function(){return C}));function Z(e,t,n){return"[ref-"+n+"]"}var K=function(e,t){if(e[0]===t)return 0;for(var n=e.length,r=1;r<n;r++)if(e[r]===t)return r;return-1};function $(e,t){return"function"==typeof t?""+t:t}function Q(e,t){try{return JSON.stringify(e,t)}catch(n){return function(e,t,n,r){return JSON.stringify(e,function(e,t){var n=t||Z,r="function"==typeof e,o=[];return function(t,i){if("object"==a(i))if(o.length){var s=K(o,this)+1;s?o=function(e,t){for(var n=new Array(t),r=0;r<t;r++)n[r]=e[r];return n}(o,s):o[o.length]=this;var l=K(o,i);if(~l)return n.call(this,t,i,l)}else o[0]=i;return r?e.call(this,t,i):i}}(t,void 0),void 0)}(e,t)}}function X(e,t){return e[0]===t[0]}var J=function(e){if("function"==typeof e)return function(t,n,r){return e(r.cache,r.options,r)}},ee=function(e){var t=e.maxArgs,n=e.isReact,r=e.isSerialized,o=e.transformArgs;return u(r&&function(e){return"function"==typeof e.serializer?u(f,e.serializer):function(e){var t=e.shouldSerializeFunctions?$:null;return function(e){for(var n,r,o,i="|",s=0;s<e.length;s++)i+=(n=e[s],r=t,o=a(n),(!n||"object"!=o&&"function"!=o?n:Q(n,r))+"|");return[i]}}(e)}(e),"function"==typeof o&&u(f,o),n&&R(2),"number"==typeof t&&R(t))};function te(e,t){if(void 0===t&&(t=I),e.isMoized)return te(e.originalFunction,N(e.options,t));if("object"==a(e))return function(t,n){return void 0===n&&(n={}),"function"==typeof t?te(t,N(e,n)):te(N(e,t))};var n=Object.assign({},I,t,{maxArgs:"number"==typeof t.maxArgs&&0<=t.maxArgs?t.maxArgs:I.maxArgs,maxSize:"number"==typeof t.maxSize&&0<=t.maxSize?t.maxSize:I.maxSize,profileName:t.profileName||B(e)}),r=[],o=(n.equals,n.isDeepEqual,n.isPromise),i=(n.isReact,n.isSerialized,n.matchesKey,n.maxAge,n.maxArgs,n.maxSize),s=n.onCacheAdd,l=n.onCacheChange,u=n.onCacheHit,d=(n.onExpire,n.profileName,n.shouldSerializeFunctions,n.serializer,n.transformArgs,n.updateExpire,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(n,["equals","isDeepEqual","isPromise","isReact","isSerialized","matchesKey","maxAge","maxArgs","maxSize","onCacheAdd","onCacheChange","onCacheHit","onExpire","profileName","shouldSerializeFunctions","serializer","transformArgs","updateExpire"])),p=function(e){var t=e.equals,n=e.isDeepEqual,r=e.isReact;return t||n&&W||r&&Y||C}(n),f=function(e){var t=e.isSerialized;return e.matchesKey||t&&X||void 0}(n),h=D(r,n,p,f),m=F(n),g=ee(n),y=Object.assign({},d,{isEqual:p,isMatchingKey:f,isPromise:o,maxSize:i,onCacheAdd:J(M(s,h.onCacheAdd,m.onCacheAdd)),onCacheChange:J(l),onCacheHit:J(M(u,h.onCacheHit,m.onCacheHit)),transformKey:g});return U(c(e,y),{expirations:r,options:n,originalFunction:e})}te.collectStats=g,te.compose=function(){return u.apply(null,arguments)||te},te.deep=te({isDeepEqual:!0}),te.getStats=v,te.isCollectingStats=function(){return j.isCollectingStats},te.isMoized=function(e){return"function"==typeof e&&!!e.isMoized},te.maxAge=function(e){return te({maxAge:e})},te.maxArgs=function(e){return te({maxArgs:e})},te.maxSize=function(e){return te({maxSize:e})},te.promise=te({isPromise:!0,updateExpire:!0}),te.react=te({isReact:!0}),te.reactSimple=te({isReact:!0,maxSize:1}),te.serialize=te({isSerialized:!0}),te.simple=te({maxSize:1}),e.collectStats=g,e.default=te,Object.defineProperty(e,"__esModule",{value:!0})}))},47376:(e,t,n)=>{n(41539),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016);var r=n(80545).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},o=12;0===n.version?(n.earliestPresentationTime=t.getUint32(o),n.firstOffset=t.getUint32(o+4),o+=8):(n.earliestPresentationTime=r(e.subarray(o)),n.firstOffset=r(e.subarray(o+8)),o+=16),o+=2;var i=t.getUint16(o);for(o+=2;i>0;o+=12,i--)n.references.push({referenceType:(128&e[o])>>>7,referencedSize:2147483647&t.getUint32(o),subsegmentDuration:t.getUint32(o+4),startsWithSap:!!(128&e[o+8]),sapType:(112&e[o+8])>>>4,sapDeltaTime:268435455&t.getUint32(o+8)});return n}},52953:e=>{var t,n,r,o,i,a,s;t=function(e){return 9e4*e},n=function(e,t){return e*t},r=function(e){return e/9e4},o=function(e,t){return e/t},i=function(e,n){return t(o(e,n))},a=function(e,t){return n(r(e),t)},s=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:o,audioTsToVideoTs:i,videoTsToAudioTs:a,metadataTsToSeconds:s}},80545:(e,t,n)=>{n(41539),n(44363),n(9653);var r=Math.pow(2,32);e.exports={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*r+n.getUint32(4)},MAX_UINT32:r}},72213:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},17556:(e,t,n)=>{"use strict";var r=n(97614),o=n(53785),i=n(72213),a=n(52425),s=n(75065),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},52425:(e,t,n)=>{"use strict";n(43304);var r=n(72213);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},75065:(e,t,n)=>{"use strict";n(43304);var r=n(52425),o=n(97614);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},54874:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o;if(n(47941),n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948),!Object.keys){var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,s=n(83692),l=Object.prototype.propertyIsEnumerable,c=!l.call({toString:null},"toString"),u=l.call((function(){}),"prototype"),d=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"===r(window[e]))try{p(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();o=function(e){var t=null!==e&&"object"===r(e),n="[object Function]"===a.call(e),o=s(e),l=t&&"[object String]"===a.call(e),f=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var m=u&&n;if(l&&e.length>0&&!i.call(e,0))for(var g=0;g<e.length;++g)f.push(String(g));if(o&&e.length>0)for(var y=0;y<e.length;++y)f.push(String(y));else for(var v in e)m&&"prototype"===v||!i.call(e,v)||f.push(String(v));if(c)for(var b=function(e){if("undefined"==typeof window||!h)return p(e);try{return p(e)}catch(e){return!1}}(e),_=0;_<d.length;++_)b&&"constructor"===d[_]||!i.call(e,d[_])||f.push(d[_]);return f}}e.exports=o},38209:(e,t,n)=>{"use strict";n(47042),n(47941);var r=Array.prototype.slice,o=n(83692),i=Object.keys,a=i?function(e){return i(e)}:n(54874),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},83692:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var o=Object.prototype.toString;e.exports=function(e){var t=o.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===r(e)&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===o.call(e.callee)),n}},95751:(e,t,n)=>{"use strict";n(82526);var r=n(38209),o=n(3810)(),i=n(73684),a=Object,s=i("Array.prototype.push"),l=i("Object.prototype.propertyIsEnumerable"),c=o?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=a(e);if(1===arguments.length)return n;for(var i=1;i<arguments.length;++i){var u=a(arguments[i]),d=r(u),p=o&&(Object.getOwnPropertySymbols||c);if(p)for(var f=p(u),h=0;h<f.length;++h){var m=f[h];l(u,m)&&s(d,m)}for(var g=0;g<d.length;++g){var y=d[g];if(l(u,y)){var v=u[y];n[y]=v}}}return n}},38385:(e,t,n)=>{"use strict";var r=n(97614),o=n(53785),i=n(95751),a=n(94848),s=n(13666),l=o.apply(a()),c=function(e,t){return l(Object,arguments)};r(c,{getPolyfill:a,implementation:i,shim:s}),e.exports=c},94848:(e,t,n)=>{"use strict";n(19601),n(74916),n(23123),n(57227);var r=n(95751);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},13666:(e,t,n)=>{"use strict";n(19601);var r=n(97614),o=n(94848);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},75419:(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){if(t&&("object"===r(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 u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)})(e)}function d(e,t,n){return(d=p()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&f(o,n.prototype),o}).apply(null,arguments)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(68309),n(30489),n(41539),n(17727),n(39714),n(12419),n(66992),n(51532),n(78783),n(33948),n(47042),n(91038),n(82526),n(41817),n(32165);var m=function(e){!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}}),t&&f(e,t)}(o,e);var t,n,r=(t=o,n=p(),function(){var e,r=h(t);if(n){var o=h(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return c(this,e)});function o(e){var t;return a(this,o),(t=r.call(this,e||"Promise was canceled")).name="CancelError",t}return l(o,[{key:"isCanceled",get:function(){return!0}}]),o}(u(Error)),g=function(){function e(t){var n=this;a(this,e),this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((function(e,r){n._reject=r;var o=function(e){if(!n._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");n._cancelHandlers.push(e)};return Object.defineProperties(o,{shouldReject:{get:function(){return n._rejectOnCancel},set:function(e){n._rejectOnCancel=e}}}),t((function(t){n._isPending=!1,e(t)}),(function(e){n._isPending=!1,r(e)}),o)}))}return l(e,[{key:"then",value:function(e,t){return this._promise.then(e,t)}},{key:"catch",value:function(e){return this._promise.catch(e)}},{key:"finally",value:function(e){return this._promise.finally(e)}},{key:"cancel",value:function(e){if(this._isPending&&!this._isCanceled){if(this._cancelHandlers.length>0)try{var t,n=o(this._cancelHandlers);try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(e){n.e(e)}finally{n.f()}}catch(e){this._reject(e)}this._isCanceled=!0,this._rejectOnCancel&&this._reject(new m(e))}}},{key:"isCanceled",get:function(){return this._isCanceled}}],[{key:"fn",value:function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return new e((function(e,n,o){r.push(o),t.apply(void 0,r).then(e,n)}))}}}]),e}();Object.setPrototypeOf(g.prototype,Promise.prototype),e.exports=g,e.exports.CancelError=m},82360:function(e,t,n){var r,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(66992),n(41539),n(78783),n(33948),n(60285),n(41637),n(39714),n(47042),n(57327),n(24603),n(74916),n(47941),n(73210),n(69600),n(15306),n(40561),n(92222),n(54747),n(21249),n(23123),n(26699),n(82526),n(41817),n(32165),o=[],void 0===(i="function"==typeof(r=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,o={},i=0,s={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(C(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!C(r.transform)&&r.transform,r.worker&&s.WORKERS_SUPPORTED){var l=function(){if(!s.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),s.BLOB_URL||(s.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=y,l.id=i++,o[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=C(r.step),r.chunk=C(r.chunk),r.complete=C(r.complete),r.error=C(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var c=null;return s.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),c=r.download?new u(r):new p(r)):!0===n.readable&&C(n.read)&&C(n.on)?c=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(c=new d(r)),c.stream(n)},unparse:function(e,t){var n=!1,r=!0,o=",",i="\r\n",l='"',c=l+l,u=!1,d=null,p=!1;!function(){if("object"==a(t)){if("string"!=typeof t.delimiter||s.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(i=t.newline),"string"==typeof t.quoteChar&&(l=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(c=t.escapeChar+l),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(p=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var f=new RegExp(m(l),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return h(null,e,u);if("object"==a(e[0]))return h(d||Object.keys(e[0]),e,u)}else if("object"==a(e))return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==a(e.data[0])?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==a(e.data[0])||(e.data=[e.data])),h(e.fields||[],e.data||[],u);throw new Error("Unable to serialize unrecognized input");function h(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var s=Array.isArray(e)&&0<e.length,l=!Array.isArray(t[0]);if(s&&r){for(var c=0;c<e.length;c++)0<c&&(a+=o),a+=g(e[c],c);0<t.length&&(a+=i)}for(var u=0;u<t.length;u++){var d=s?e.length:t[u].length,p=!1,f=s?0===Object.keys(t[u]).length:0===t[u].length;if(n&&!s&&(p="greedy"===n?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===n&&s){for(var h=[],m=0;m<d;m++){var y=l?e[m]:m;h.push(t[u][y])}p=""===h.join("").trim()}if(!p){for(var v=0;v<d;v++){0<v&&!f&&(a+=o);var b=s&&l?e[v]:v;a+=g(t[u][b],v)}u<t.length-1&&(!n||0<d&&!f)&&(a+=i)}}return a}function g(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var r=!1;p&&"string"==typeof e&&p.test(e)&&(e="'"+e,r=!0);var i=e.toString().replace(f,c);return(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(i,s.BAD_DELIMITERS)||-1<i.indexOf(o)||" "===i.charAt(0)||" "===i.charAt(i.length-1))?l+i+l:i}}};if(s.RECORD_SEP=String.fromCharCode(30),s.UNIT_SEP=String.fromCharCode(31),s.BYTE_ORDER_MARK="\ufeff",s.BAD_DELIMITERS=["\r","\n",'"',s.BYTE_ORDER_MARK],s.WORKERS_SUPPORTED=!n&&!!t.Worker,s.NODE_STREAM_INPUT=1,s.LocalChunkSize=10485760,s.RemoteChunkSize=5242880,s.DefaultDelimiter=",",s.Parser=g,s.ParserHandle=h,s.NetworkStreamer=u,s.FileStreamer=d,s.StringStreamer=p,s.ReadableStreamStreamer=f,t.jQuery){var l=t.jQuery;l.fn.parse=function(e){var n=e.config||{},r=[];return this.each((function(e){if("INPUT"!==l(this).prop("tagName").toUpperCase()||"file"!==l(this).attr("type").toLowerCase()||!t.FileReader||!this.files||0===this.files.length)return!0;for(var o=0;o<this.files.length;o++)r.push({file:this.files[o],inputElem:this,instanceConfig:l.extend({},n)})})),o(),this;function o(){if(0!==r.length){var t,n,o,c=r[0];if(C(e.before)){var u=e.before(c.file,c.inputElem);if("object"==a(u)){if("abort"===u.action)return t=c.file,n=c.inputElem,o=u.reason,void(C(e.error)&&e.error({name:"AbortError"},t,n,o));if("skip"===u.action)return void i();"object"==a(u.config)&&(c.instanceConfig=l.extend(c.instanceConfig,u.config))}else if("skip"===u)return void i()}var d=c.instanceConfig.complete;c.instanceConfig.complete=function(e){C(d)&&d(e,c.file,c.inputElem),i()},s.parse(c.file,c.instanceConfig)}else C(e.complete)&&e.complete()}function i(){r.splice(0,1),o()}}}function c(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=_(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new h(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){if(this.isFirstChunk&&C(this._config.beforeFirstChunk)){var o=this._config.beforeFirstChunk(e);void 0!==o&&(e=o)}this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e;this._partialLine="";var a=this._handle.parse(i,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var l=a.meta.cursor;this._finished||(this._partialLine=i.substring(l-this._baseIndex),this._baseIndex=l),a&&a.data&&(this._rowCount+=a.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)t.postMessage({results:a,workerId:s.WORKER_ID,finished:c});else if(C(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!C(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){C(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:s.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=s.RemoteChunkSize),c.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=w(this._chunkLoaded,this),t.onerror=w(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function d(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=s.LocalChunkSize),c.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=w(this._chunkLoaded,this),t.onerror=w(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var o=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,o)}var i=t.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function p(e){var t;c.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function f(e){c.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){c.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){c.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=w((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=w((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=w((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=w((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function h(e){var t,n,r,o=Math.pow(2,53),i=-o,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,h=[],y={data:[],errors:[],meta:{}};if(C(e.step)){var v=e.step;e.step=function(t){if(y=t,S())w();else{if(w(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function b(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){return y&&r&&(x("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+s.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!b(e)}))),S()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;S()&&t<y.data.length;t++)y.data[t].forEach(n);y.data.splice(0,1)}else y.data.forEach(n);function n(t,n){C(e.transformHeader)&&(t=e.transformHeader(t,n)),h.push(t)}}(),function(){if(!y||!e.header&&!e.dynamicTyping&&!e.transform)return y;function t(t,n){var r,o=e.header?{}:[];for(r=0;r<t.length;r++){var i=r,a=t[r];e.header&&(i=r>=h.length?"__parsed_extra":h[r]),e.transform&&(a=e.transform(a,i)),a=E(i,a),"__parsed_extra"===i?(o[i]=o[i]||[],o[i].push(a)):o[i]=a}return e.header&&(r>h.length?x("FieldMismatch","TooManyFields","Too many fields: expected "+h.length+" fields but parsed "+r,d+n):r<h.length&&x("FieldMismatch","TooFewFields","Too few fields: expected "+h.length+" fields but parsed "+r,d+n)),o}var n=1;return!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(t),n=y.data.length):y.data=t(y.data,0),e.header&&y.meta&&(y.meta.fields=h),d+=n,y}()}function S(){return e.header&&0===h.length}function E(t,n){return r=t,e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(e){if(a.test(e)){var t=parseFloat(e);if(i<t&&t<o)return!0}return!1}(n)?parseFloat(n):l.test(n)?new Date(n):""===n?null:n):n;var r}function x(e,t,n,r){var o={type:e,code:t,message:n};void 0!==r&&(o.row=r),y.errors.push(o)}this.parse=function(o,i,a){var l=e.quoteChar||'"';if(e.newline||(e.newline=function(e,t){e=e.substring(0,1048576);var n=new RegExp(m(t)+"([^]*?)"+m(t),"gm"),r=(e=e.replace(n,"")).split("\r"),o=e.split("\n"),i=1<o.length&&o[0].length<r[0].length;if(1===r.length||i)return"\n";for(var a=0,s=0;s<r.length;s++)"\n"===r[s][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(o,l)),r=!1,e.delimiter)C(e.delimiter)&&(e.delimiter=e.delimiter(o),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,o,i){var a,l,c,u;i=i||[",","\t","|",";",s.RECORD_SEP,s.UNIT_SEP];for(var d=0;d<i.length;d++){var p=i[d],f=0,h=0,m=0;c=void 0;for(var y=new g({comments:o,delimiter:p,newline:n,preview:10}).parse(t),v=0;v<y.data.length;v++)if(r&&b(y.data[v]))m++;else{var _=y.data[v].length;h+=_,void 0!==c?0<_&&(f+=Math.abs(_-c),c=_):c=_}0<y.data.length&&(h/=y.data.length-m),(void 0===l||f<=l)&&(void 0===u||u<h)&&1.99<h&&(l=f,a=p,u=h)}return{successful:!!(e.delimiter=a),bestDelimiter:a}}(o,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);c.successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=s.DefaultDelimiter),y.meta.delimiter=e.delimiter}var u=_(e);return e.preview&&e.header&&u.preview++,t=o,n=new g(u),y=n.parse(t,i,a),w(),p?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return p},this.pause=function(){p=!0,n.abort(),t=C(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(p=!1,c.streamer.parseChunk(t,!0)):setTimeout(c.resume,3)},this.aborted=function(){return f},this.abort=function(){f=!0,n.abort(),y.meta.aborted=!0,C(e.complete)&&e.complete(y),t=""}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t,n=(e=e||{}).delimiter,r=e.newline,o=e.comments,i=e.step,a=e.preview,l=e.fastMode,c=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(c=e.escapeChar),("string"!=typeof n||-1<s.BAD_DELIMITERS.indexOf(n))&&(n=","),o===n)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<s.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,d=!1;this.parse=function(s,p,f){if("string"!=typeof s)throw new Error("Input must be a string");var h=s.length,g=n.length,y=r.length,v=o.length,b=C(i),_=[],w=[],S=[],E=u=0;if(!s)return W();if(e.header&&!p){var x=s.split(r)[0].split(n),k=[],O={},T=!1;for(var A in x){var P=x[A];C(e.transformHeader)&&(P=e.transformHeader(P,A));var R=P,I=O[P]||0;for(0<I&&(T=!0,R=P+"_"+I),O[P]=I+1;k.includes(R);)R=R+"_"+I;k.push(R)}if(T){var M=s.split(r);M[0]=k.join(n),s=M.join(r)}}if(l||!1!==l&&-1===s.indexOf(t)){for(var N=s.split(r),D=0;D<N.length;D++){if(S=N[D],u+=S.length,D!==N.length-1)u+=r.length;else if(f)return W();if(!o||S.substring(0,v)!==o){if(b){if(_=[],V(S.split(n)),Y(),d)return W()}else V(S.split(n));if(a&&a<=D)return _=_.slice(0,a),W(!0)}}return W()}for(var j=s.indexOf(n,u),L=s.indexOf(r,u),B=new RegExp(m(c)+m(t),"g"),F=s.indexOf(t,u);;)if(s[u]!==t)if(o&&0===S.length&&s.substring(u,u+v)===o){if(-1===L)return W();u=L+y,L=s.indexOf(r,u),j=s.indexOf(n,u)}else if(-1!==j&&(j<L||-1===L))S.push(s.substring(u,j)),u=j+g,j=s.indexOf(n,u);else{if(-1===L)break;if(S.push(s.substring(u,L)),G(L+y),b&&(Y(),d))return W();if(a&&_.length>=a)return W(!0)}else for(F=u,u++;;){if(-1===(F=s.indexOf(t,F+1)))return f||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:u}),q();if(F===h-1)return q(s.substring(u,F).replace(B,t));if(t!==c||s[F+1]!==c){if(t===c||0===F||s[F-1]!==c){-1!==j&&j<F+1&&(j=s.indexOf(n,F+1)),-1!==L&&L<F+1&&(L=s.indexOf(r,F+1));var U=z(-1===L?j:Math.min(j,L));if(s.substr(F+1+U,g)===n){S.push(s.substring(u,F).replace(B,t)),s[u=F+1+U+g]!==t&&(F=s.indexOf(t,u)),j=s.indexOf(n,u),L=s.indexOf(r,u);break}var H=z(L);if(s.substring(F+1+H,F+1+H+y)===r){if(S.push(s.substring(u,F).replace(B,t)),G(F+1+H+y),j=s.indexOf(n,u),F=s.indexOf(t,u),b&&(Y(),d))return W();if(a&&_.length>=a)return W(!0);break}w.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:_.length,index:u}),F++}}else F++}return q();function V(e){_.push(e),E=u}function z(e){var t=0;if(-1!==e){var n=s.substring(F+1,e);n&&""===n.trim()&&(t=n.length)}return t}function q(e){return f||(void 0===e&&(e=s.substring(u)),S.push(e),u=h,V(S),b&&Y()),W()}function G(e){u=e,V(S),S=[],L=s.indexOf(r,u)}function W(e){return{data:_,errors:w,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:E+(p||0)}}}function Y(){i(W()),_=[],w=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function y(e){var t=e.data,n=o[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,v(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(C(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else C(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&v(t.workerId,t.results)}function v(e,t){var n=o[e];C(n.userComplete)&&n.userComplete(t),n.terminate(),delete o[e]}function b(){throw new Error("Not implemented.")}function _(e){if("object"!=a(e)||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=_(e[n]);return t}function w(e,t){return function(){e.apply(t,arguments)}}function C(e){return"function"==typeof e}return r&&(t.onmessage=function(e){var n=e.data;if(void 0===s.WORKER_ID&&n&&(s.WORKER_ID=n.workerId),"string"==typeof n.input)t.postMessage({workerId:s.WORKER_ID,results:s.parse(n.input,n.config),finished:!0});else if(t.File&&n.input instanceof File||n.input instanceof Object){var r=s.parse(n.input,n.config);r&&t.postMessage({workerId:s.WORKER_ID,results:r,finished:!0})}}),(u.prototype=Object.create(c.prototype)).constructor=u,(d.prototype=Object.create(c.prototype)).constructor=d,(p.prototype=Object.create(p.prototype)).constructor=p,(f.prototype=Object.create(c.prototype)).constructor=f,s})?r.apply(t,o):r)||(e.exports=i)},15461:(e,t,n)=>{n(74916),n(15306),n(21249),n(23123),n(47042),n(57327),n(69600),n(41539),n(39714),n(92222);var r=n(77306);e.exports=function(e){var t,n,o,i;if(t=/^((?:rgb|hs[lv]|cmyk|xyz|lab)a?)\s*\(([^\)]*)\)/.exec(e)){var a=t[1],s="cmyk"===(l=a.replace(/a$/,""))?4:3;n=r[l],o=t[2].replace(/^\s+|\s+$/g,"").split(/\s*,\s*/).map((function(e,t){return/%$/.test(e)&&t===s?parseFloat(e)/100:(/%$/.test(e),parseFloat(e))})),a===l&&o.push(1),i=void 0===o[s]?1:o[s],o=o.slice(0,s),n[l]=function(){return o}}else if(/^#[A-Fa-f0-9]+$/.test(e)){var l;s=(l=e.replace(/^#/,"")).length;n=r.rgb,o=(o=l.split(3===s?/(.)/:/(..)/)).filter(Boolean).map((function(e){return 3===s?parseInt(e+e,16):parseInt(e,16)})),i=1,n.rgb=function(){return o},o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0)}else(n=r.keyword).keyword=function(){return e},o=e,i=1;var c={rgb:void 0,hsl:void 0,hsv:void 0,cmyk:void 0,keyword:void 0,hex:void 0};try{c.rgb=n.rgb(o)}catch(e){}try{c.hsl=n.hsl(o)}catch(e){}try{c.hsv=n.hsv(o)}catch(e){}try{c.cmyk=n.cmyk(o)}catch(e){}try{c.keyword=n.keyword(o)}catch(e){}return c.rgb&&(c.hex="#"+c.rgb.map((function(e){var t=e.toString(16);return 1===t.length?"0"+t:t})).join("")),c.rgb&&(c.rgba=c.rgb.concat(i)),c.hsl&&(c.hsla=c.hsl.concat(i)),c.hsv&&(c.hsva=c.hsv.concat(i)),c.cmyk&&(c.cmyka=c.cmyk.concat(i)),c}},76882:e=>{function t(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),s=Math.max(r,o,i),l=s-a;return s==a?t=0:r==s?t=(o-i)/l:o==s?t=2+(i-r)/l:i==s&&(t=4+(r-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]}function n(e){var t,n,r=e[0],o=e[1],i=e[2],a=Math.min(r,o,i),s=Math.max(r,o,i),l=s-a;return n=0==s?0:l/s*1e3/10,s==a?t=0:r==s?t=(o-i)/l:o==s?t=2+(i-r)/l:i==s&&(t=4+(r-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function o(e){var n=e[0],r=e[1],o=e[2];return[t(e)[0],100*(1/255*Math.min(n,Math.min(r,o))),100*(o=1-1/255*Math.max(n,Math.max(r,o)))]}function i(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]}function a(e){return S[JSON.stringify(e)]}function s(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=s(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]}function c(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[i=255*l,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o}function u(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));r*=255;switch(o){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}}function d(e){var t,n,o,i,a=e[0]/360,s=e[1]/100,l=e[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),o=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(o=1-o),i=s+o*((n=1-l)-s),t){default:case 6:case 0:r=n,g=i,b=s;break;case 1:r=i,g=n,b=s;break;case 2:r=s,g=n,b=i;break;case 3:r=s,g=i,b=n;break;case 4:r=i,g=s,b=n;break;case 5:r=n,g=s,b=i}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]}function f(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function h(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function m(e){var t,n,r,o,i=e[0],a=e[1],s=e[2];return i<=8?o=(n=100*i/903.3)/100*7.787+16/116:(n=100*Math.pow((i+16)/116,3),o=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+o-16/116)/7.787:95.047*Math.pow(a/500+o,3),n,r=r/108.883<=.008859?r=108.883*(o-s/200-16/116)/7.787:108.883*Math.pow(o-s/200,3)]}function y(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]}function v(e){return f(m(e))}function _(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function w(e){return C[e]}e.exports={rgb2hsl:t,rgb2hsv:n,rgb2hwb:o,rgb2cmyk:i,rgb2keyword:a,rgb2xyz:s,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return o(c(e))},hsl2cmyk:function(e){return i(c(e))},hsl2keyword:function(e){return a(c(e))},hsv2rgb:u,hsv2hsl:function(e){var t,n,r=e[0],o=e[1]/100,i=e[2]/100;return t=o*i,[r,100*(t=(t/=(n=(2-o)*i)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return o(u(e))},hsv2cmyk:function(e){return i(u(e))},hsv2keyword:function(e){return a(u(e))},hwb2rgb:d,hwb2hsl:function(e){return t(d(e))},hwb2hsv:function(e){return n(d(e))},hwb2cmyk:function(e){return i(d(e))},hwb2keyword:function(e){return a(d(e))},cmyk2rgb:p,cmyk2hsl:function(e){return t(p(e))},cmyk2hsv:function(e){return n(p(e))},cmyk2hwb:function(e){return o(p(e))},cmyk2keyword:function(e){return a(p(e))},keyword2rgb:w,keyword2hsl:function(e){return t(w(e))},keyword2hsv:function(e){return n(w(e))},keyword2hwb:function(e){return o(w(e))},keyword2cmyk:function(e){return i(w(e))},keyword2lab:function(e){return l(w(e))},keyword2xyz:function(e){return s(w(e))},xyz2rgb:f,xyz2lab:h,xyz2lch:function(e){return y(h(e))},lab2xyz:m,lab2rgb:v,lab2lch:y,lch2lab:_,lch2xyz:function(e){return m(_(e))},lch2rgb:function(e){return v(_(e))}};var C={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},S={};for(var E in C)S[JSON.stringify(C[E])]=E},77306:(e,t,n)=>{n(47042),n(74916);var r=n(76882),o=function(){return new c};for(var i in r){o[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var a=/(\w+)2(\w+)/.exec(i),s=a[1],l=a[2];(o[s]=o[s]||{})[l]=o[i]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var o=0;o<n.length;o++)n[o]=Math.round(n[o]);return n}}(i)}var c=function(){this.convs={}};c.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},c.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},c.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=o[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach((function(e){c.prototype[e]=function(t){return this.routeSpace(e,arguments)}})),e.exports=o},15583:(e,t,n)=>{n(74916),n(23123),n(69600),n(47042),t.basename=function(e){return e.split("/").pop()},t.dirname=function(e){return e.split("/").slice(0,-1).join("/")||"."},t.extname=function(e){var n=t.basename(e);return~n.indexOf(".")?"."+n.split(".").pop():""}},12212:(e,t,n)=>{"use strict";n.d(t,{Z:()=>le});n(41539),n(19601),n(2707),n(21249),n(47941),n(57327),n(74916),n(23123),n(15306),n(69826),n(34553),n(47042),n(54747),n(68309),n(92222),n(4723),n(73210),n(64765);var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:c(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),p=r&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?d:10===e?p:d||p}function h(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var c=m(e);return c.host?g(c.host,t):g(e,m(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(t,"top"),o=y(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function _(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:_("Height",t,n,r),width:_("Width",t,n,r)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},S=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),E=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function k(e){return x({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),r=y(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,u=e.offsetHeight-l;if(c||u){var d=s(e);c-=b(d,"x"),u-=b(d,"y"),o.width-=c,o.height-=u}return k(o)}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===t.nodeName,i=O(e),a=O(t),l=c(e),u=s(t),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=k({top:i.top-a.top-d,left:i.left-a.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-g,h.right-=p-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=v(h,t)),h}function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=T(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return k(l)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=l(e);return!!n&&P(n)}function R(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function I(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?R(e):g(e,u(t));if("viewport"===r)i=A(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var d=T(s,a,o);if("HTML"!==s.nodeName||P(a))i=d;else{var p=w(e.ownerDocument),f=p.height,h=p.width;i.top+=d.top-d.marginTop,i.bottom=f+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function M(e){return e.width*e.height}function N(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=I(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return x({key:e},s[e],{area:M(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function D(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?R(t):g(t,u(n));return T(n,o,r)}function j(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function B(e,t,n){n=n.split("-")[0];var r=j(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[L(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=k(t.offsets.popper),t.offsets.reference=k(t.offsets.reference),t=n(t,e))})),t}function H(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=B(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function V(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function q(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function G(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t,n,r){n.updateBound=r,G(e).addEventListener("resize",n.updateBound,{passive:!0});var o=c(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(c(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Y(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function Z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,G(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function K(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function $(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&K(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Q=r&&/Firefox/i.test(navigator.userAgent);function X(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ee=J.slice(3);function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ee.indexOf(e),r=ee.slice(n+1).concat(ee.slice(0,n));return t?r.reverse():r}var ne="flip",re="clockwise",oe="counterclockwise";function ie(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return k(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){K(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:E({},l,i[l]),end:E({},l,i[l]+i[c]-a[c])};e.offsets.popper=x({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=K(+n)?[+n,0]:ie(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=z("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=I(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),E({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),E({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=x({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",p=d.toLowerCase(),f=c?"left":"top",h=c?"bottom":"right",m=j(r)[u];l[h]-m<a[p]&&(e.offsets.popper[p]-=a[p]-(l[h]-m)),l[p]+m>a[h]&&(e.offsets.popper[p]+=l[p]+m-a[h]),e.offsets.popper=k(e.offsets.popper);var g=l[p]+l[u]/2-m/2,y=s(e.instance.popper),v=parseFloat(y["margin"+d]),b=parseFloat(y["border"+d+"Width"]),_=g-e.offsets.popper[p]-v-b;return _=Math.max(Math.min(a[u]-m,_),0),e.arrowElement=r,e.offsets.arrow=(E(n={},p,Math.round(_)),E(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(V(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=L(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ne:a=[r,o];break;case re:a=te(r);break;case oe:a=te(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=L(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),y="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(v&&"start"===i&&f||v&&"end"===i&&h||!v&&"start"===i&&m||!v&&"end"===i&&g),_=!!t.flipVariationsByContent&&(v&&"start"===i&&h||v&&"end"===i&&f||!v&&"start"===i&&g||!v&&"end"===i&&m),w=b||_;(p||y||w)&&(e.flipped=!0,(p||y)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=x({},e.offsets.popper,B(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=k(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=h(e.instance.popper),l=O(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:p(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Q),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=z("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var y="bottom"===d?-1:1,v="right"===p?-1:1;c[d]=g*y,c[p]=m*v,c.willChange=d+", "+p}var b={"x-placement":e.placement};return e.attributes=x({},b,e.attributes),e.styles=x({},c,e.styles),e.arrowStyles=x({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return $(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&$(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=D(o,t,e,n.positionFixed),a=N(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),$(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},se=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=x({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=x({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return x({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&a(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return S(e,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return q.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return Z.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,se.placements=J,se.Defaults=ae;const le=se},82212:e=>{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},10097:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCallback:()=>r.I4,useContext:()=>r.qp,useDebugValue:()=>r.Qb,useEffect:()=>r.d4,useErrorBoundary:()=>r.cO,useImperativeHandle:()=>r.aP,useLayoutEffect:()=>r.bt,useMemo:()=>r.Ye,useReducer:()=>r._Y,useRef:()=>r.sO,useState:()=>r.eJ,createElement:()=>o.az,createContext:()=>o.kr,createRef:()=>o.Vf,Fragment:()=>o.HY,Component:()=>o.wA,default:()=>Z,version:()=>F,Children:()=>h,render:()=>T,hydrate:()=>A,unmountComponentAtNode:()=>z,createPortal:()=>E,createFactory:()=>U,cloneElement:()=>V,isValidElement:()=>H,findDOMNode:()=>q,PureComponent:()=>l,memo:()=>c,forwardRef:()=>p,flushSync:()=>W,unstable_batchedUpdates:()=>G,StrictMode:()=>Y,Suspense:()=>y,SuspenseList:()=>_,lazy:()=>b,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>B});n(68309),n(82526),n(41817),n(41539),n(21249),n(54747),n(40561),n(66992),n(51532),n(78783),n(33948),n(74916),n(15306),n(32165);var r=n(8065),o=n(79758);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n in t)e[n]=t[n];return e}function s(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function l(e){this.props=e}function c(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:s(this.props,e)}function r(t){return this.shouldComponentUpdate=n,(0,o.az)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(l.prototype=new o.wA).isPureReactComponent=!0,l.prototype.shouldComponentUpdate=function(e,t){return s(this.props,e)||s(this.state,t)};var u=o.YM.__b;o.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),u&&u(e)};var d="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function p(e){function t(t,n){var r=a({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=i(n)||"current"in n)?n:null)}return t.$$typeof=d,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var f=function(e,t){return null==e?null:(0,o.bR)((0,o.bR)(e).map(t))},h={map:f,forEach:f,count:function(e){return e?(0,o.bR)(e).length:0},only:function(e){var t=(0,o.bR)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:o.bR},m=o.YM.__e;o.YM.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);m(e,t,n)};var g=o.YM.unmount;function y(){this.__u=0,this.t=null,this.__b=null}function v(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function b(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return(0,o.az)(n,i)}return i.displayName="Lazy",i.__f=!0,i}function _(){this.u=null,this.o=null}o.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),g&&g(e)},(y.prototype=new o.wA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=v(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},y.prototype.componentWillUnmount=function(){this.t=[]},y.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=a({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__e&&(0,o.az)(o.HY,null,e.fallback);return i&&(i.__h=null),[(0,o.az)(o.HY,null,t.__e?null:e.children),i]};var w=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function C(e){return this.getChildContext=function(){return e.context},e.children}function S(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,o.sY)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,o.sY)((0,o.az)(C,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function E(e,t){return(0,o.az)(S,{__v:e,i:t})}(_.prototype=new o.wA).__e=function(e){var t=this,n=v(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),w(t,e,r)):o()};n?n(i):i()}},_.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,o.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},_.prototype.componentDidUpdate=_.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){w(e,n,t)}))};var x="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,k=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,O=function(e){return("undefined"!=typeof Symbol&&"symbol"==i(Symbol())?/fil|che|rad/i:/fil|che|ra/i).test(e)};function T(e,t,n){return null==t.__k&&(t.textContent=""),(0,o.sY)(e,t),"function"==typeof n&&n(),e?e.__c:null}function A(e,t,n){return(0,o.ZB)(e,t),"function"==typeof n&&n(),e?e.__c:null}o.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(o.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var P=o.YM.event;function R(){}function I(){return this.cancelBubble}function M(){return this.defaultPrevented}o.YM.event=function(e){return P&&(e=P(e)),e.persist=R,e.isPropagationStopped=I,e.isDefaultPrevented=M,e.nativeEvent=e};var N,D={configurable:!0,get:function(){return this.class}},j=o.YM.vnode;o.YM.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var i in r={},n){var a=n[i];"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!O(n.type)?i="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():k.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,o.bR)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,o.bR)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(D.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",D)),e.$$typeof=x,j&&j(e)};var L=o.YM.__r;o.YM.__r=function(e){L&&L(e),N=e.__c};var B={ReactCurrentDispatcher:{current:{readContext:function(e){return N.__n[e.__c].props.value}}}},F="17.0.2";function U(e){return o.az.bind(null,e)}function H(e){return!!e&&e.$$typeof===x}function V(e){return H(e)?o.Tm.apply(null,arguments):e}function z(e){return!!e.__k&&((0,o.sY)(null,e),!0)}function q(e){return e&&(e.base||1===e.nodeType&&e)||null}var G=function(e,t){return e(t)},W=function(e,t){return e(t)},Y=o.HY;const Z={useState:r.eJ,useReducer:r._Y,useEffect:r.d4,useLayoutEffect:r.bt,useRef:r.sO,useImperativeHandle:r.aP,useMemo:r.Ye,useCallback:r.I4,useContext:r.qp,useDebugValue:r.Qb,version:"17.0.2",Children:h,render:T,hydrate:A,unmountComponentAtNode:z,createPortal:E,createElement:o.az,createContext:o.kr,createFactory:U,cloneElement:V,createRef:o.Vf,Fragment:o.HY,isValidElement:H,findDOMNode:q,Component:o.wA,PureComponent:l,memo:c,forwardRef:p,flushSync:W,unstable_batchedUpdates:G,StrictMode:o.HY,Suspense:y,SuspenseList:_,lazy:b,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:B}},79758:(e,t,n)=>{"use strict";n.d(t,{sY:()=>B,ZB:()=>F,az:()=>m,h:()=>m,HY:()=>v,Vf:()=>y,wA:()=>b,Tm:()=>U,kr:()=>H,bR:()=>k,YM:()=>o});n(2707),n(74916),n(15306),n(47042),n(60086),n(54747),n(68309),n(40561),n(41539);var r,o,i,a,s,l,c,u={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var o,i,a,s={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return g(e,s,o,i,null)}function g(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null!=o.vnode&&o.vnode(s),s}function y(){return{current:null}}function v(e){return e.children}function b(e,t){this.props=e,this.context=t}function _(e,t){if(null==t)return e.__?_(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?_(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function C(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!S.__r++||l!==o.debounceRendering)&&((l=o.debounceRendering)||s)(S)}function S(){for(var e;S.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,I(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?_(o):i,o.__h),M(n,o),o.__e!=i&&w(o)))}))}function E(e,t,n,r,o,i,a,s,l,c){var p,f,h,m,y,b,w,C=r&&r.__k||d,S=C.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(m=n.__k[p]=null==(m=t[p])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?g(null,m,null,null,m):Array.isArray(m)?g(v,{children:m},null,null,null):m.__b>0?g(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=C[p])||h&&m.key==h.key&&m.type===h.type)C[p]=void 0;else for(f=0;f<S;f++){if((h=C[f])&&m.key==h.key&&m.type===h.type){C[f]=void 0;break}h=null}I(e,m,h=h||u,o,i,a,s,l,c),y=m.__e,(f=m.ref)&&h.ref!=f&&(w||(w=[]),h.ref&&w.push(h.ref,null,m),w.push(f,m.__c||y,m)),null!=y?(null==b&&(b=y),"function"==typeof m.type&&null!=m.__k&&m.__k===h.__k?m.__d=l=x(m,l,e):l=O(e,m,h,C,y,l),c||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&h.__e==l&&l.parentNode!=e&&(l=_(h))}for(n.__e=b,p=S;p--;)null!=C[p]&&("function"==typeof n.type&&null!=C[p].__e&&C[p].__e==n.__d&&(n.__d=_(r,p+1)),j(C[p],C[p]));if(w)for(p=0;p<w.length;p++)D(w[p],w[++p],w[++p])}function x(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?x(o,t,n):O(n,o,o,e.__k,o.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function O(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function T(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function A(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||T(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||T(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?R:P,i):e.removeEventListener(t,i?R:P,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function P(e){this.l[e.type+!1](o.event?o.event(e):e)}function R(e){this.l[e.type+!0](o.event?o.event(e):e)}function I(e,t,n,r,i,a,s,l,c){var u,d,p,h,m,g,y,_,w,C,S,x=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(u=o.__b)&&u(t);try{e:if("function"==typeof x){if(_=t.props,w=(u=x.contextType)&&r[u.__c],C=u?w?w.props.value:u.__:r,n.__c?y=(d=t.__c=n.__c).__=d.__E:("prototype"in x&&x.prototype.render?t.__c=d=new x(_,C):(t.__c=d=new b(_,C),d.constructor=x,d.render=L),w&&w.sub(d),d.props=_,d.state||(d.state={}),d.context=C,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=x.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,x.getDerivedStateFromProps(_,d.__s))),h=d.props,m=d.state,p)null==x.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==x.getDerivedStateFromProps&&_!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,C)||t.__v===n.__v){d.props=_,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,m,g)}))}d.context=C,d.props=_,d.state=d.__s,(u=o.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=f(f({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(h,m)),S=null!=u&&u.type===v&&null==u.key?u.props.children:u,E(e,Array.isArray(S)?S:[S],t,n,r,i,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=N(n.__e,t,n,r,i,a,s,c);(u=o.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),o.__e(e,t,n)}}function M(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function N(e,t,n,o,i,a,s,l){var c,d,p,f=n.props,m=t.props,g=t.type,y=0;if("svg"===g&&(i=!0),null!=a)for(;y<a.length;y++)if((c=a[y])&&(c===e||(g?c.localName==g:3==c.nodeType))){e=c,a[y]=null;break}if(null==e){if(null===g)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),a=null,l=!1}if(null===g)f===m||l&&e.data===m||(e.data=m);else{if(a=a&&r.call(e.childNodes),d=(f=n.props||u).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!l){if(null!=a)for(f={},y=0;y<e.attributes.length;y++)f[e.attributes[y].name]=e.attributes[y].value;(p||d)&&(p&&(d&&p.__html==d.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||A(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||A(e,i,t[i],n[i],r)}(e,m,f,i,l),p)t.__k=[];else if(y=t.props.children,E(e,Array.isArray(y)?y:[y],t,n,o,i&&"foreignObject"!==g,a,s,a?a[0]:n.__k&&_(n,0),l),null!=a)for(y=a.length;y--;)null!=a[y]&&h(a[y]);l||("value"in m&&void 0!==(y=m.value)&&(y!==e.value||"progress"===g&&!y)&&A(e,"value",y,f.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==e.checked&&A(e,"checked",y,f.checked,!1))}return e}function D(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function j(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||D(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&j(r[i],t,"function"!=typeof e.type);n||null==e.__e||h(e.__e),e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function B(e,t,n){var i,a,s;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,s=[],I(t,e=(!i&&n||t).__k=m(v,null,[e]),a||u,u,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!i&&n?n:a?a.__e:t.firstChild,i),M(s,e)}function F(e,t){B(e,t,F)}function U(e,t,n){var o,i,a,s=f({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),g(e.type,s,o||e.key,i||e.ref,null)}function H(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(C)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=d.slice,o={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},i=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),C(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},b.prototype.render=v,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,c=0},8065:(e,t,n)=>{"use strict";n.d(t,{eJ:()=>m,_Y:()=>g,d4:()=>y,bt:()=>v,sO:()=>b,aP:()=>_,Ye:()=>w,I4:()=>C,qp:()=>S,Qb:()=>E,cO:()=>x});n(92222),n(60086),n(54747),n(57327);var r,o,i,a=n(79758),s=0,l=[],c=a.YM.__b,u=a.YM.__r,d=a.YM.diffed,p=a.YM.__c,f=a.YM.unmount;function h(e,t){a.YM.__h&&a.YM.__h(o,e,s||t),s=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function m(e){return s=1,g(R,e)}function g(e,t,n){var i=h(r++,2);return i.t=e,i.__c||(i.__=[n?n(t):R(void 0,t),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function y(e,t){var n=h(r++,3);!a.YM.__s&&P(n.__H,t)&&(n.__=e,n.__H=t,o.__H.__h.push(n))}function v(e,t){var n=h(r++,4);!a.YM.__s&&P(n.__H,t)&&(n.__=e,n.__H=t,o.__h.push(n))}function b(e){return s=5,w((function(){return{current:e}}),[])}function _(e,t,n){s=6,v((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function w(e,t){var n=h(r++,7);return P(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function C(e,t){return s=8,w((function(){return e}),t)}function S(e){var t=o.context[e.__c],n=h(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function E(e,t){a.YM.useDebugValue&&a.YM.useDebugValue(t?t(e):e)}function x(e){var t=h(r++,10),n=m();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function k(){l.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(T),e.__H.__h.forEach(A),e.__H.__h=[]}catch(t){e.__H.__h=[],a.YM.__e(t,e.__v)}})),l=[]}a.YM.__b=function(e){o=null,c&&c(e)},a.YM.__r=function(e){u&&u(e),r=0;var t=(o=e.__c).__H;t&&(t.__h.forEach(T),t.__h.forEach(A),t.__h=[])},a.YM.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==l.push(t)&&i===a.YM.requestAnimationFrame||((i=a.YM.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),O&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);O&&(t=requestAnimationFrame(n))})(k)),o=void 0},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(T),e.__h=e.__h.filter((function(e){return!e.__||A(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(n,e.__v)}})),p&&p(e,t)},a.YM.unmount=function(e){f&&f(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(T)}catch(e){a.YM.__e(e,t.__v)}};var O="function"==typeof requestAnimationFrame;function T(e){var t=o;"function"==typeof e.__c&&e.__c(),o=t}function A(e){var t=o;e.__c=e.__(),o=t}function P(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function R(e,t){return"function"==typeof t?t(e):t}},49101:(e,t,n)=>{n(74916),n(15306),n(47042);var r="undefined"!=typeof document?document.createElement("p").style:{},o=["O","ms","Moz","Webkit"],i=/([A-Z])/g,a={};function s(e){if(e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()})),void 0!==r[e])return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=o.length;n--;){var i=o[n]+t;if(void 0!==r[i])return i}return e}e.exports=function(e){return e in a?a[e]:a[e]=s(e)},e.exports.dash=function(e){return e=s(e),i.test(e)&&(e="-"+e.replace(i,"-$1"),i.lastIndex=0),e.toLowerCase()}},93860:(e,t,n)=>{var r=n(83456),o=n(4324),i=n(28026).fn;e.exports=function e(t){var n=o.use(t),r=function(e,r){return"number"==typeof r?r={numArgs:r}:(void 0===r&&(r={}),void 0===r.numArgs&&(r.numArgs=0)),i(e)?n.wrap(e):e.length>r.numArgs?t.promisify(e):t.method(e)};return r.generators=function(e){for(var t in e){var r=e[t];i(r)&&(e[t]=n.wrap(r))}return e},r.use=e,r}(r)},83456:(e,n,r)=>{var o,i,a,s;function l(e){return(l="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)}r(66992),r(41539),r(96290),r(78783),r(33948),r(74916),r(15306),r(47941),r(39714),r(23123),r(69600),r(40561),r(47042),r(68309),r(4723),r(43371),r(38880),r(36210),r(30489),r(21249),r(57327),r(17727),r(92222),r(83753),r(24603),r(84633),r(9653),r(82526),r(41817),r(32165),s=function(){var e,n,o;return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof _dereq_&&_dereq_;if(!s&&l)return l(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){var n=t[a][1][e];return o(n||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof _dereq_&&_dereq_,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";t.exports=function(e){var t=e._SomePromiseArray;function n(e){var n=new t(e),r=n.promise();return n.setHowMany(1),n.setUnwrap(),n.init(),r}e.any=function(e){return n(e)},e.prototype.any=function(){return n(this)}}},{}],2:[function(e,t,n){"use strict";var r;try{throw new Error}catch(e){r=e}var o=e("./schedule.js"),i=e("./queue.js"),a=e("./util.js");function s(){this._isTickUsed=!1,this._lateQueue=new i(16),this._normalQueue=new i(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=o.isStatic?o(this.drainQueues):o}function l(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function c(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function u(e){this._normalQueue._pushOne(e),this._queueTick()}s.prototype.disableTrampolineIfNecessary=function(){a.hasDevTools&&(this._trampolineEnabled=!1)},s.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},s.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},s.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout((function(){e(t)}),0);else try{this._schedule((function(){e(t)}))}catch(e){throw new Error("No async scheduler available\n\n    See http://goo.gl/m3OTXk\n")}},a.hasDevTools?(o.isStatic&&(o=function(e){setTimeout(e,0)}),s.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?l.call(this,e,t,n):this._schedule((function(){setTimeout((function(){e.call(t,n)}),100)}))},s.prototype.invoke=function(e,t,n){this._trampolineEnabled?c.call(this,e,t,n):this._schedule((function(){e.call(t,n)}))},s.prototype.settlePromises=function(e){this._trampolineEnabled?u.call(this,e):this._schedule((function(){e._settlePromises()}))}):(s.prototype.invokeLater=l,s.prototype.invoke=c,s.prototype.settlePromises=u),s.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},s.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},s.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},s.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},s.prototype._reset=function(){this._isTickUsed=!1},t.exports=new s,t.exports.firstLineError=r},{"./queue.js":28,"./schedule.js":31,"./util.js":38}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},o=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},i=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),l=new e(t);l._propagateFrom(this,1);var c=this._target();if(l._setBoundTo(s),s instanceof e){var u={promiseRejectionQueued:!1,promise:l,target:c,bindingPromise:s};c._then(t,o,l._progress,l,u),s._then(i,a,l._progress,l,u)}else l._resolveCallback(c);return l},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072==(131072&this._bitField)},e.bind=function(r,o){var i=n(r),a=new e(t);return a._setBoundTo(i),i instanceof e?i._then((function(){a._resolveCallback(o)}),a._reject,a._progress,a,null):a._resolveCallback(o),a}}},{}],4:[function(e,t,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var o=e("./promise.js")();o.noConflict=function(){try{Promise===o&&(Promise=r)}catch(e){}return o},t.exports=o},{"./promise.js":23}],5:[function(e,t,n){"use strict";var r=Object.create;if(r){var o=r(null),i=r(null);o[" size"]=i[" size"]=0}t.exports=function(t){var n=e("./util.js"),r=n.canEvaluate;function o(e){return function(e,r){var o;if(null!=e&&(o=e[r]),"function"!=typeof o){var i="Object "+n.classString(e)+" has no method '"+n.toString(r)+"'";throw new t.TypeError(i)}return o}(e,this.pop()).apply(e,this)}function i(e){return e[this]}function a(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}n.isIdentifier,t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),r=1;r<t;++r)n[r-1]=arguments[r];return n.push(e),this._then(o,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t;if("number"==typeof e)t=a;else if(r){var n=(void 0)(e);t=null!==n?n:i}else t=i;return this._then(t,void 0,void 0,e,void 0)}}},{"./util.js":38}],6:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./errors.js"),r=e("./async.js"),o=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new o),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()||(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0),this},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{"./async.js":2,"./errors.js":13}],7:[function(e,n,r){"use strict";n.exports=function(){var n,r=e("./async.js"),o=e("./util.js"),i=/[\\\/]bluebird[\\\/]js[\\\/](main|debug|zalgo|instrumented)/,a=null,s=null,c=!1;function u(e){this._parent=e;var t=this._length=1+(void 0===e?0:e._length);y(this,u),t>32&&this.uncycle()}function d(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],o=a.test(r)||"    (No stack trace)"===r,i=o&&f(r);o&&!i&&(c&&" "!==r.charAt(0)&&(r="    "+r),t.push(r))}return t}function p(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e.toString(),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+function(e){return e.length<41?e:e.substr(0,38)+"..."}(t)+">, no stack trace)"}o.inherits(u,Error),u.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},r=0,o=this;void 0!==o;++r)t.push(o),o=o._parent;for(r=(e=this._length=r)-1;r>=0;--r){var i=t[r].stack;void 0===n[i]&&(n[i]=r)}for(r=0;r<e;++r){var a=n[t[r].stack];if(void 0!==a&&a!==r){a>0&&(t[a-1]._parent=void 0,t[a-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var s=r>0?t[r-1]:this;a<e-1?(s._parent=t[a+1],s._parent.uncycle(),s._length=s._parent._length+1):(s._parent=void 0,s._length=1);for(var l=s._length+1,c=r-2;c>=0;--c)t[c]._length=l,l++;return}}}},u.prototype.parent=function(){return this._parent},u.prototype.hasParent=function(){return void 0!==this._parent},u.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=u.parseStackAndMessage(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(d(i.stack.split("\n"))),i=i._parent;!function(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],o=t.length-1,i=t[o],a=-1,s=r.length-1;s>=0;--s)if(r[s]===i){a=s;break}for(s=a;s>=0;--s){var l=r[s];if(t[o]!==l)break;t.pop(),o--}t=r}}(r),function(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}(r),o.notEnumerableProp(e,"stack",function(e,t){for(var n=0;n<t.length-1;++n)t[n].push("From previous event:"),t[n]=t[n].join("\n");return n<t.length&&(t[n]=t[n].join("\n")),e+"\n"+t.join("\n")}(n,r)),o.notEnumerableProp(e,"__stackCleaned__",!0)}},u.parseStackAndMessage=function(e){var t=e.stack;return{message:e.toString(),stack:d(t="string"==typeof t&&t.length>0?function(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),n=0;n<t.length;++n){var r=t[n];if("    (No stack trace)"===r||a.test(r))break}return n>0&&(t=t.slice(n)),t}(e):["    (No stack trace)"])}},u.formatAndLogError=function(e,t){if("undefined"!=typeof console){var r;if("object"===l(e)||"function"==typeof e){var o=e.stack;r=t+s(o,e)}else r=t+String(e);"function"==typeof n?n(r):"function"!=typeof console.log&&"object"!==l(console.log)||console.log(r)}},u.unhandledRejection=function(e){u.formatAndLogError(e,"^--- With additional stack trace: ")},u.isSupported=function(){return"function"==typeof y},u.fireRejectionEvent=function(e,t,n,o){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(o):t(n,o))}catch(e){r.throwLater(e)}var a=!1;try{a=v(e,n,o)}catch(e){a=!0,r.throwLater(e)}var s=!1;if(g)try{s=g(e.toLowerCase(),{reason:n,promise:o})}catch(e){s=!0,r.throwLater(e)}a||i||s||"unhandledRejection"!==e||u.formatAndLogError(n,"Unhandled rejection ")};var f=function(){return!1},h=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function m(e){var t=e.match(h);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}u.setBounds=function(e,t){if(u.isSupported()){for(var n,r,o=e.stack.split("\n"),a=t.stack.split("\n"),s=-1,l=-1,c=0;c<o.length;++c)if(d=m(o[c])){n=d.fileName,s=d.line;break}for(c=0;c<a.length;++c){var d;if(d=m(a[c])){r=d.fileName,l=d.line;break}}s<0||l<0||!n||!r||n!==r||s>=l||(f=function(e){if(i.test(e))return!0;var t=m(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=l)})}};var g,y=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():p(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,a=e,s=t;var n=Error.captureStackTrace;return f=function(e){return i.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r,o=new Error;if("string"==typeof o.stack&&o.stack.split("\n")[0].indexOf("stackDetection@")>=0)return a=/@/,s=t,c=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(e){r="stack"in e}return!("stack"in o)&&r&&"number"==typeof Error.stackTraceLimit?(a=e,s=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6}):(s=function(e,t){return"string"==typeof e?e:"object"!==l(t)&&"function"!=typeof t||void 0===t.name||void 0===t.message?p(t):t.toString()},null)}(),v=function(){if(o.isNode)return function(e,n,r){return"rejectionHandled"===e?t.emit(e,r):t.emit(e,n,r)};var e=!1,n=!0;try{var r=new self.CustomEvent("test");e=r instanceof CustomEvent}catch(e){}if(!e)try{var i=document.createEvent("CustomEvent");i.initCustomEvent("testingtheevent",!1,!0,{}),self.dispatchEvent(i)}catch(e){n=!1}n&&(g=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!0,n),!!r&&!self.dispatchEvent(r)});var a={};return a.unhandledRejection="onunhandledRejection".toLowerCase(),a.rejectionHandled="onrejectionHandled".toLowerCase(),function(e,t,n){var r=a[e],o=self[r];return!!o&&("rejectionHandled"===e?o.call(self,n):o.call(self,t,n),!0)}}();return"undefined"!=typeof console&&void 0!==console.warn&&(n=function(e){console.warn(e)},o.isNode&&t.stderr.isTTY?n=function(e){t.stderr.write("[31m"+e+"[39m\n")}:o.isNode||"string"!=typeof(new Error).stack||(n=function(e){console.warn("%c"+e,"color: red")})),u}},{"./async.js":2,"./util.js":38}],8:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util.js"),r=e("./errors.js"),o=n.tryCatch,i=n.errorObj,a=e("./es5.js").keys,s=r.TypeError;function l(e,t,n){this._instances=e,this._callback=t,this._promise=n}function c(e,t){var n={},r=o(e).call(n,t);return r===i?r:a(n).length?(i.e=new s("Catch filter must inherit from Error or be a simple predicate function\n\n    See http://goo.gl/o84o68\n"),i):r}return l.prototype.doFilter=function(e){for(var n=this._callback,r=this._promise._boundValue(),a=0,s=this._instances.length;a<s;++a){var l=this._instances[a],u=l===Error||null!=l&&l.prototype instanceof Error;if(u&&e instanceof l)return(d=o(n).call(r,e))===i?(t.e=d.e,t):d;if("function"==typeof l&&!u){var d,p=c(l,e);if(p===i){e=i.e;break}if(p)return(d=o(n).call(r,e))===i?(t.e=d.e,t):d}}return t.e=e,t},l}},{"./errors.js":13,"./es5.js":14,"./util.js":38}],9:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=[];function o(){this._trace=new t(i())}function i(){var e=r.length-1;if(e>=0)return r[e]}return o.prototype._pushContext=function(){n()&&void 0!==this._trace&&r.push(this._trace)},o.prototype._popContext=function(){n()&&void 0!==this._trace&&r.pop()},e.prototype._peekContext=i,e.prototype._pushContext=o.prototype._pushContext,e.prototype._popContext=o.prototype._popContext,function(){if(n())return new o}}},{}],10:[function(e,n,r){"use strict";n.exports=function(n,r){var o,i,a=n._getDomain,s=e("./async.js"),l=e("./errors.js").Warning,c=e("./util.js"),u=c.canAttachTrace,d=c.isNode&&(!!t.env.BLUEBIRD_DEBUG||!1);return c.isNode&&0==t.env.BLUEBIRD_DEBUG&&(d=!1),d&&s.disableTrampolineIfNecessary(),n.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},n.prototype._ensurePossibleRejectionHandled=function(){0==(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),s.invokeLater(this._notifyUnhandledRejection,this,void 0))},n.prototype._notifyUnhandledRejectionIsHandled=function(){r.fireRejectionEvent("rejectionHandled",o,void 0,this)},n.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),r.fireRejectionEvent("unhandledRejection",i,e,this)}},n.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},n.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},n.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},n.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},n.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},n.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},n.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},n.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},n.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},n.prototype._captureStackTrace=function(){return d&&(this._trace=new r(this._peekContext())),this},n.prototype._attachExtraTrace=function(e,t){if(d&&u(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var o=r.parseStackAndMessage(e);c.notEnumerableProp(e,"stack",o.message+"\n"+o.stack.join("\n")),c.notEnumerableProp(e,"__stackCleaned__",!0)}}},n.prototype._warn=function(e){var t=new l(e),n=this._peekContext();if(n)n.attachExtraTrace(t);else{var o=r.parseStackAndMessage(t);t.stack=o.message+"\n"+o.stack.join("\n")}r.formatAndLogError(t,"")},n.onPossiblyUnhandledRejection=function(e){var t=a();i="function"==typeof e?null===t?e:t.bind(e):void 0},n.onUnhandledRejectionHandled=function(e){var t=a();o="function"==typeof e?null===t?e:t.bind(e):void 0},n.longStackTraces=function(){if(s.haveItemsQueued()&&!1===d)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/DT1qyG\n");(d=r.isSupported())&&s.disableTrampolineIfNecessary()},n.hasLongStackTraces=function(){return d&&r.isSupported()},r.isSupported()||(n.longStackTraces=function(){},d=!1),function(){return d}}},{"./async.js":2,"./errors.js":13,"./util.js":38}],11:[function(e,t,n){"use strict";var r=e("./util.js").isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},o=function(){},i=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype.return=e.prototype.thenReturn=function(n){return void 0===n?this.then(o):r(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype.throw=e.prototype.thenThrow=function(e){return void 0===e?this.then(i):r(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{"./util.js":38}],12:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],13:[function(e,t,n){"use strict";var r,o,i=e("./es5.js"),a=i.freeze,s=e("./util.js"),l=s.inherits,c=s.notEnumerableProp;function u(e,t){function n(r){if(!(this instanceof n))return new n(r);c(this,"message","string"==typeof r?r:t),c(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return l(n,Error),n}var d=u("Warning","warning"),p=u("CancellationError","cancellation error"),f=u("TimeoutError","timeout error"),h=u("AggregateError","aggregate error");try{r=TypeError,o=RangeError}catch(e){r=u("TypeError","type error"),o=u("RangeError","range error")}for(var m="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;g<m.length;++g)"function"==typeof Array.prototype[m[g]]&&(h.prototype[m[g]]=Array.prototype[m[g]]);i.defineProperty(h.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),h.prototype.isOperational=!0;var y=0;function v(e){if(!(this instanceof v))return new v(e);c(this,"name","OperationalError"),c(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(c(this,"message",e.message),c(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}h.prototype.toString=function(){var e=Array(4*y+1).join(" "),t="\n"+e+"AggregateError of:\n";y++,e=Array(4*y+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",o=r.split("\n"),i=0;i<o.length;++i)o[i]=e+o[i];t+=(r=o.join("\n"))+"\n"}return y--,t},l(v,Error);var b=Error.__BluebirdErrorTypes__;b||(b=a({CancellationError:p,TimeoutError:f,OperationalError:v,RejectionError:v,AggregateError:h}),c(Error,"__BluebirdErrorTypes__",b)),t.exports={Error:Error,TypeError:r,RangeError:o,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:d}},{"./es5.js":14,"./util.js":38}],14:[function(e,t,n){var r=function(){"use strict";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var o={}.hasOwnProperty,i={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)o.call(e,n)&&t.push(n);return t};t.exports={isArray:function(e){try{return"[object Array]"===i.call(e)}catch(e){return!1}},keys:s,names:s,defineProperty:function(e,t,n){return e[t]=n.value,e},getDescriptor:function(e,t){return{value:e[t]}},freeze:function(e){return e},getPrototypeOf:function(e){try{return Object(e).constructor.prototype}catch(e){return a}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],15:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,o){return n(e,r,o,t)}}},{}],16:[function(e,t,n){"use strict";t.exports=function(t,n,r){var o=e("./util.js"),i=o.isPrimitive,a=o.thrower;function s(){return this}function l(){throw this}function c(e,t,n){var r;return r=i(t)?n?function(e){return function(){return e}}(t):function(e){return function(){throw e}}(t):n?s:l,e._then(r,a,void 0,t,void 0)}function u(e){var o=this.promise,i=this.handler,a=o._isBound()?i.call(o._boundValue()):i();if(void 0!==a){var s=r(a,o);if(s instanceof t)return c(s=s._target(),e,o.isFulfilled())}return o.isRejected()?(n.e=e,n):e}function d(e){var n=this.promise,o=this.handler,i=n._isBound()?o.call(n._boundValue(),e):o(e);if(void 0!==i){var a=r(i,n);if(a instanceof t)return c(a=a._target(),e,!0)}return e}t.prototype._passThroughHandler=function(e,t){if("function"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:d,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{"./util.js":38}],17:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./errors.js").TypeError,a=e("./util.js"),s=a.errorObj,l=a.tryCatch,c=[];function u(e,n,o,i){(this._promise=new t(r))._captureStackTrace(),this._stack=i,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers="function"==typeof o?[o].concat(c):c}u.prototype.promise=function(){return this._promise},u.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},u.prototype._continue=function(e){if(e===s)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(!0===e.done)this._promise._resolveCallback(n);else{var r=o(n,this._promise);if(!(r instanceof t)&&null===(r=function(e,n,r){for(var i=0;i<n.length;++i){r._pushContext();var a=l(n[i])(e);if(r._popContext(),a===s){r._pushContext();var c=t.reject(s.e);return r._popContext(),c}var u=o(a,r);if(u instanceof t)return u}return null}(r,this._yieldHandlers,this._promise)))return void this._throw(new i("A value %s was yielded that could not be treated as a promise\n\n    See http://goo.gl/4Y4pDk\n\n".replace("%s",n)+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));r._then(this._next,this._throw,void 0,this,null)}},u.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},u.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if("function"!=typeof e)throw new i("generatorFunction must be a function\n\n    See http://goo.gl/6Vqhm0\n");var n=Object(t).yieldHandler,r=u,o=(new Error).stack;return function(){var t=e.apply(this,arguments),i=new r(void 0,void 0,n,o);return i._generator=t,i._next(void 0),i.promise()}},t.coroutine.addYieldHandler=function(e){if("function"!=typeof e)throw new i("fn must be a function\n\n    See http://goo.gl/916lJJ\n");c.push(e)},t.spawn=function(e){if("function"!=typeof e)return n("generatorFunction must be a function\n\n    See http://goo.gl/6Vqhm0\n");var r=new u(e,this),o=r.promise();return r._run(t.spawn),o}}},{"./errors.js":13,"./util.js":38}],18:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js");i.canEvaluate,i.tryCatch,i.errorObj,t.join=function(){var e,t=arguments.length-1;t>0&&"function"==typeof arguments[t]&&(e=arguments[t]);for(var r=arguments.length,o=new Array(r),i=0;i<r;++i)o[i]=arguments[i];e&&o.pop();var a=new n(o).promise();return void 0!==e?a.spread(e):a}}},{"./util.js":38}],19:[function(e,t,n){"use strict";t.exports=function(t,n,r,o,i){var a=t._getDomain,s=e("./async.js"),c=e("./util.js"),u=c.tryCatch,d=c.errorObj,p={},f=[];function h(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var o=a();this._callback=null===o?t:o.bind(t),this._preservedValues=r===i?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:f,s.invoke(m,this,void 0)}function m(){this._init$(void 0,-2)}function g(e,t,n,r){var o="object"===l(n)&&null!==n?n.concurrency:0;return new h(e,t,o="number"==typeof o&&isFinite(o)&&o>=1?o:0,r)}c.inherits(h,n),h.prototype._init=function(){},h.prototype._promiseFulfilled=function(e,n){var r=this._values,i=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===p){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var l=this._callback,c=this._promise._boundValue();this._promise._pushContext();var f=u(l).call(c,e,n,i);if(this._promise._popContext(),f===d)return this._reject(f.e);var h=o(f,this._promise);if(h instanceof t){if((h=h._target())._isPending())return s>=1&&this._inFlight++,r[n]=p,h._proxyPromiseArray(this,n);if(!h._isFulfilled())return this._reject(h._reason());f=h._value()}r[n]=f}++this._totalResolved>=i&&(null!==a?this._filter(r,a):this._resolve(r))},h.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},h.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),o=0,i=0;i<n;++i)e[i]&&(r[o++]=t[i]);r.length=o,this._resolve(r)},h.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return"function"!=typeof e?r("fn must be a function\n\n    See http://goo.gl/916lJJ\n"):g(this,e,t,null).promise()},t.map=function(e,t,n,o){return"function"!=typeof t?r("fn must be a function\n\n    See http://goo.gl/916lJJ\n"):g(e,t,n,o).promise()}}},{"./async.js":2,"./util.js":38}],20:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js"),a=i.tryCatch;t.method=function(e){if("function"!=typeof e)throw new t.TypeError("fn must be a function\n\n    See http://goo.gl/916lJJ\n");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var o=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(o),r}},t.attempt=t.try=function(e,r,s){if("function"!=typeof e)return o("fn must be a function\n\n    See http://goo.gl/916lJJ\n");var l=new t(n);l._captureStackTrace(),l._pushContext();var c=i.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return l._popContext(),l._resolveFromSyncValue(c),l},t.prototype._resolveFromSyncValue=function(e){e===i.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{"./util.js":38}],21:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util.js"),r=e("./async.js"),o=n.tryCatch,i=n.errorObj;function a(e,t){if(!n.isArray(e))return s.call(this,e,t);var a=o(t).apply(this._boundValue(),[null].concat(e));a===i&&r.throwLater(a.e)}function s(e,t){var n=this._boundValue(),a=void 0===e?o(t).call(n,null):o(t).call(n,null,e);a===i&&r.throwLater(a.e)}function l(e,t){if(!e){var n=this._target()._getCarriedStackTrace();n.cause=e,e=n}var a=o(t).call(this._boundValue(),e);a===i&&r.throwLater(a.e)}t.prototype.asCallback=t.prototype.nodeify=function(e,t){if("function"==typeof e){var n=s;void 0!==t&&Object(t).spread&&(n=a),this._then(n,l,void 0,this,e)}return this}}},{"./async.js":2,"./util.js":38}],22:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util.js"),o=e("./async.js"),i=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,o=e.handler,s=e.promise,l=e.receiver,c=i(o).call(l,n);if(c===a){if(null!=c.e&&"StopProgressPropagation"!==c.e.name){var u=r.canAttachTrace(c.e)?c.e:new Error(r.toString(c.e));s._attachExtraTrace(u),s._progress(c.e)}}else c instanceof t?c._then(s._progress,null,null,s,void 0):s._progress(c)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),i=this._progress,a=0;a<r;a++){var s=this._progressHandlerAt(a),l=this._promiseAt(a);if(l instanceof t)"function"==typeof s?o.invoke(this._doProgressWith,this,{handler:s,promise:l,receiver:this._receiverAt(a),value:e}):o.invoke(i,l,e);else{var c=this._receiverAt(a);"function"==typeof s?s.call(c,e,l):c instanceof n&&!c._isResolved()&&c._promiseProgressed(e,l)}}}}},{"./async.js":2,"./util.js":38}],23:[function(e,n,r){"use strict";n.exports=function(){var r,o=function(){return new d("circular promise resolution chain\n\n    See http://goo.gl/LhFpo0\n")},i=function(){return new x.PromiseInspection(this._target())},a=function(e){return x.reject(new d(e))},s=e("./util.js");r=s.isNode?function(){var e=t.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(x,"_getDomain",r);var l={},c=e("./async.js"),u=e("./errors.js"),d=x.TypeError=u.TypeError;x.RangeError=u.RangeError,x.CancellationError=u.CancellationError,x.TimeoutError=u.TimeoutError,x.OperationalError=u.OperationalError,x.RejectionError=u.OperationalError,x.AggregateError=u.AggregateError;var p=function(){},f={},h={e:null},m=e("./thenables.js")(x,p),g=e("./promise_array.js")(x,p,m,a),y=e("./captured_trace.js")(),v=e("./debuggability.js")(x,y),b=e("./context.js")(x,y,v),_=e("./catch_filter.js")(h),w=e("./promise_resolver.js"),C=w._nodebackForPromise,S=s.errorObj,E=s.tryCatch;function x(e){if("function"!=typeof e)throw new d("the promise constructor requires a resolver function\n\n    See http://goo.gl/EC22Yn\n");if(this.constructor!==x)throw new d("the promise constructor cannot be invoked directly\n\n    See http://goo.gl/KsIlge\n");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==p&&this._resolveFromResolver(e)}function k(e){var t=new x(p);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._progressHandler0=e,t._promise0=e,t._receiver0=e,t._settledValue=e}return x.prototype.toString=function(){return"[object Promise]"},x.prototype.caught=x.prototype.catch=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),o=0;for(n=0;n<t-1;++n){var i=arguments[n];if("function"!=typeof i)return x.reject(new d("Catch filter must inherit from Error or be a simple predicate function\n\n    See http://goo.gl/o84o68\n"));r[o++]=i}r.length=o;var a=new _(r,e=arguments[n],this);return this._then(void 0,a.doFilter,void 0,a,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},x.prototype.reflect=function(){return this._then(i,i,void 0,this,void 0)},x.prototype.then=function(e,t,n){if(v()&&arguments.length>0&&"function"!=typeof e&&"function"!=typeof t){var r=".then() only accepts functions but was passed: "+s.classString(e);arguments.length>1&&(r+=", "+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},x.prototype.done=function(e,t,n){this._then(e,t,n,void 0,void 0)._setIsFinal()},x.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,f,void 0)},x.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},x.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},x.prototype.all=function(){return new g(this).promise()},x.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},x.getNewLibraryCopy=n.exports,x.is=function(e){return e instanceof x},x.fromNode=function(e){var t=new x(p),n=E(e)(C(t));return n===S&&t._rejectCallback(n.e,!0,!0),t},x.all=function(e){return new g(e).promise()},x.defer=x.pending=function(){var e=new x(p);return new w(e)},x.cast=function(e){var t=m(e);if(!(t instanceof x)){var n=t;(t=new x(p))._fulfillUnchecked(n)}return t},x.resolve=x.fulfilled=x.cast,x.reject=x.rejected=function(e){var t=new x(p);return t._captureStackTrace(),t._rejectCallback(e,!0),t},x.setScheduler=function(e){if("function"!=typeof e)throw new d("fn must be a function\n\n    See http://goo.gl/916lJJ\n");var t=c._schedule;return c._schedule=e,t},x.prototype._then=function(e,t,n,o,i){var a=void 0!==i,s=a?i:new x(p);a||(s._propagateFrom(this,5),s._captureStackTrace());var l=this._target();l!==this&&(void 0===o&&(o=this._boundTo),a||s._setIsMigrated());var u=l._addCallbacks(e,t,n,s,o,r());return l._isResolved()&&!l._isSettlePromisesQueued()&&c.invoke(l._settlePromiseAtPostResolution,l,u),s},x.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},x.prototype._length=function(){return 131071&this._bitField},x.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},x.prototype._isFollowing=function(){return 536870912==(536870912&this._bitField)},x.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},x.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},x.prototype._setRejected=function(){this._bitField=134217728|this._bitField},x.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},x.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},x.prototype._isFinal=function(){return(33554432&this._bitField)>0},x.prototype._cancellable=function(){return(67108864&this._bitField)>0},x.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},x.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},x.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},x.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},x.prototype._isMigrated=function(){return(4194304&this._bitField)>0},x.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},x.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},x.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},x.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},x.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof x?e.isFulfilled()?e.value():void 0:e},x.prototype._migrateCallbacks=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),o=e._progressHandlerAt(t),i=e._promiseAt(t),a=e._receiverAt(t);i instanceof x&&i._setIsMigrated(),void 0===a&&(a=l),this._addCallbacks(n,r,o,i,a,null)},x.prototype._addCallbacks=function(e,t,n,r,o,i){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==o&&(this._receiver0=o),"function"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===i?e:i.bind(e)),"function"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t)),"function"==typeof n&&(this._progressHandler0=null===i?n:i.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=o,"function"==typeof e&&(this[s+0]=null===i?e:i.bind(e)),"function"==typeof t&&(this[s+1]=null===i?t:i.bind(t)),"function"==typeof n&&(this[s+2]=null===i?n:i.bind(n))}return this._setLength(a+1),a},x.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},x.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},x.prototype._resolveCallback=function(e,t){if(!this._isFollowingOrFulfilledOrRejected()){if(e===this)return this._rejectCallback(o(),!1,!0);var n=m(e,this);if(!(n instanceof x))return this._fulfill(e);var r=1|(t?4:0);this._propagateFrom(n,r);var i=n._target();if(i._isPending()){for(var a=this._length(),s=0;s<a;++s)i._migrateCallbacks(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else i._isFulfilled()?this._fulfillUnchecked(i._value()):this._rejectUnchecked(i._reason(),i._getCarriedStackTrace())}},x.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),o=r===e;this._attachExtraTrace(r,!!t&&o),this._reject(e,o?void 0:r)},x.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=E(e)((function(e){null!==t&&(t._resolveCallback(e),t=null)}),(function(e){null!==t&&(t._rejectCallback(e,n),t=null)}));n=!1,this._popContext(),void 0!==r&&r===S&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},x.prototype._settlePromiseFromHandler=function(e,t,n,r){var i;if(!r._isRejected())if(r._pushContext(),i=t!==f||this._isRejected()?E(e).call(t,n):E(e).apply(this._boundValue(),n),r._popContext(),i===S||i===r||i===h){var a=i===r?o():i.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(i)},x.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},x.prototype._followee=function(){return this._rejectionHandler0},x.prototype._setFollowee=function(e){this._rejectionHandler0=e},x.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},x.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},x.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},x.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},x.prototype._settlePromiseAt=function(e){var t=this._promiseAt(e),n=t instanceof x;if(n&&t._isMigrated())return t._unsetIsMigrated(),c.invoke(this._settlePromiseAt,this,e);var r=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,i=this._settledValue,a=this._receiverAt(e);this._clearCallbackDataAtIndex(e),"function"==typeof r?n?this._settlePromiseFromHandler(r,a,i,t):r.call(a,i,t):a instanceof g?a._isResolved()||(this._isFulfilled()?a._promiseFulfilled(i,t):a._promiseRejected(i,t)):n&&(this._isFulfilled()?t._fulfill(i):t._reject(i,o)),e>=4&&4==(31&e)&&c.invokeLater(this._setLength,this,0)},x.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},x.prototype._isSettlePromisesQueued=function(){return-1073741824==(-1073741824&this._bitField)},x.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},x.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},x.prototype._queueSettlePromises=function(){c.settlePromises(this),this._setSettlePromisesQueued()},x.prototype._fulfillUnchecked=function(e){if(e===this){var t=o();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},x.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},x.prototype._rejectUnchecked=function(e,t){if(e===this){var n=o();return this._attachExtraTrace(n),this._rejectUnchecked(n)}this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?c.throwLater((function(e){throw"stack"in e&&c.invokeFirst(y.unhandledRejection,void 0,e),e}),void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled())},x.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;t<e;t++)this._settlePromiseAt(t)},s.notEnumerableProp(x,"_makeSelfResolutionError",o),e("./progress.js")(x,g),e("./method.js")(x,p,m,a),e("./bind.js")(x,p,m),e("./finally.js")(x,h,m),e("./direct_resolve.js")(x),e("./synchronous_inspection.js")(x),e("./join.js")(x,g,m,p),x.version="2.11.0",x.Promise=x,e("./map.js")(x,g,a,m,p),e("./cancel.js")(x),e("./using.js")(x,a,m,b),e("./generators.js")(x,a,p,m),e("./nodeify.js")(x),e("./call_get.js")(x),e("./props.js")(x,g,m,a),e("./race.js")(x,p,m,a),e("./reduce.js")(x,g,a,m,p),e("./settle.js")(x,g),e("./some.js")(x,g,a),e("./promisify.js")(x,p),e("./any.js")(x),e("./each.js")(x,p),e("./timers.js")(x,p),e("./filter.js")(x,p),s.toFastProperties(x),s.toFastProperties(x.prototype),k({a:1}),k({b:2}),k({c:3}),k(1),k((function(){})),k(void 0),k(!1),k(new x(p)),y.setBounds(c.firstLineError,s.lastLineError),x}},{"./any.js":1,"./async.js":2,"./bind.js":3,"./call_get.js":5,"./cancel.js":6,"./captured_trace.js":7,"./catch_filter.js":8,"./context.js":9,"./debuggability.js":10,"./direct_resolve.js":11,"./each.js":12,"./errors.js":13,"./filter.js":15,"./finally.js":16,"./generators.js":17,"./join.js":18,"./map.js":19,"./method.js":20,"./nodeify.js":21,"./progress.js":22,"./promise_array.js":24,"./promise_resolver.js":25,"./promisify.js":26,"./props.js":27,"./race.js":29,"./reduce.js":30,"./settle.js":32,"./some.js":33,"./synchronous_inspection.js":34,"./thenables.js":35,"./timers.js":36,"./using.js":37,"./util.js":38}],24:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js").isArray;function a(e){var r,o=this._promise=new t(n);e instanceof t&&(r=e,o._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function e(n,a){var s=r(this._values,this._promise);if(s instanceof t){if(s=s._target(),this._values=s,!s._isFulfilled())return s._isPending()?void s._then(e,this._reject,void 0,this,a):void this._reject(s._reason());if(s=s._value(),!i(s)){var l=new t.TypeError("expecting an array, a promise or a thenable\n\n    See http://goo.gl/s8MMhc\n");return void this.__hardReject__(l)}}else if(!i(s))return void this._promise._reject(o("expecting an array, a promise or a thenable\n\n    See http://goo.gl/s8MMhc\n")._reason());if(0!==s.length){var c=this.getActualLength(s.length);this._length=c,this._values=this.shouldCopyValues()?new Array(c):this._values;for(var u=this._promise,d=0;d<c;++d){var p=this._isResolved(),f=r(s[d],u);f instanceof t?(f=f._target(),p?f._ignoreRejections():f._isPending()?f._proxyPromiseArray(this,d):f._isFulfilled()?this._promiseFulfilled(f._value(),d):this._promiseRejected(f._reason(),d)):p||this._promiseFulfilled(f,d)}}else-5===a?this._resolveEmptyArray():this._resolve(function(e){switch(e){case-2:return[];case-3:return{}}}(a))},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e,++this._totalResolved>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{"./util.js":38}],25:[function(e,t,n){"use strict";var r,o=e("./util.js"),i=o.maybeWrapAsError,a=e("./errors.js"),s=a.TimeoutError,l=a.OperationalError,c=o.haveGetters,u=e("./es5.js"),d=/^(?:name|message|stack|cause)$/;function p(e){var t;if(function(e){return e instanceof Error&&u.getPrototypeOf(e)===Error.prototype}(e)){(t=new l(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var n=u.keys(e),r=0;r<n.length;++r){var i=n[r];d.test(i)||(t[i]=e[i])}return t}return o.markAsOriginatingFromRejection(e),e}function f(e){return function(t,n){if(null!==e){if(t){var r=p(i(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;s<o;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}if(r=c?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=f(e),this.callback=this.asCallback},c){var h={get:function(){return f(this.promise)}};u.defineProperty(r.prototype,"asCallback",h),u.defineProperty(r.prototype,"callback",h)}r._nodebackForPromise=f,r.prototype.toString=function(){return"[object PromiseResolver]"},r.prototype.resolve=r.prototype.fulfill=function(e){if(!(this instanceof r))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n    See http://goo.gl/sdkXL9\n");this.promise._resolveCallback(e)},r.prototype.reject=function(e){if(!(this instanceof r))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n    See http://goo.gl/sdkXL9\n");this.promise._rejectCallback(e)},r.prototype.progress=function(e){if(!(this instanceof r))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n    See http://goo.gl/sdkXL9\n");this.promise._progress(e)},r.prototype.cancel=function(e){this.promise.cancel(e)},r.prototype.timeout=function(){this.reject(new s("timeout"))},r.prototype.isResolved=function(){return this.promise.isResolved()},r.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=r},{"./errors.js":13,"./es5.js":14,"./util.js":38}],26:[function(e,t,n){"use strict";t.exports=function(t,n){var r={},o=e("./util.js"),i=e("./promise_resolver.js")._nodebackForPromise,a=o.withAppended,s=o.maybeWrapAsError,c=o.canEvaluate,u=e("./errors").TypeError,d={__isPromisified__:!0},p=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")$"),f=function(e){return o.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e};function h(e){return!p.test(e)}function m(e){try{return!0===e.__isPromisified__}catch(e){return!1}}function g(e,t,n){var r=o.getDataPropertyOrDefault(e,t+n,d);return!!r&&m(r)}function y(e,t,n,r){for(var i=o.inheritedDataKeys(e),a=[],s=0;s<i.length;++s){var l=i[s],c=e[l],d=r===f||f(l);"function"!=typeof c||m(c)||g(e,l,t)||!r(l,c,e,d)||a.push(l,c)}return function(e,t,n){for(var r=0;r<e.length;r+=2){var o=e[r];if(n.test(o))for(var i=o.replace(n,""),a=0;a<e.length;a+=2)if(e[a]===i)throw new u("Cannot promisify an API that has normal methods with '%s'-suffix\n\n    See http://goo.gl/iWrZbw\n".replace("%s",t))}}(a,t,n),a}var v=c?void 0:function(e,l,c,u){var d=function(){return this}(),p=e;function f(){var o=l;l===r&&(o=this);var c=new t(n);c._captureStackTrace();var u="string"==typeof p&&this!==d?this[p]:e,f=i(c);try{u.apply(o,a(arguments,f))}catch(e){c._rejectCallback(s(e),!0,!0)}return c}return"string"==typeof p&&(e=u),o.notEnumerableProp(f,"__isPromisified__",!0),f};function b(e,t,n,i){for(var a=new RegExp(t.replace(/([$])/,"\\$")+"$"),s=y(e,t,a,n),l=0,c=s.length;l<c;l+=2){var u=s[l],d=s[l+1],p=u+t;if(i===v)e[p]=v(u,r,u,d,t);else{var f=i(d,(function(){return v(u,r,u,d,t)}));o.notEnumerableProp(f,"__isPromisified__",!0),e[p]=f}}return o.toFastProperties(e),e}function _(e,t){return v(e,t,void 0,e)}t.promisify=function(e,t){if("function"!=typeof e)throw new u("fn must be a function\n\n    See http://goo.gl/916lJJ\n");if(m(e))return e;var n=_(e,arguments.length<2?r:t);return o.copyDescriptors(e,n,h),n},t.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!==l(e))throw new u("the target of promisifyAll must be an object or a function\n\n    See http://goo.gl/9ITlV0\n");var n=(t=Object(t)).suffix;"string"!=typeof n&&(n="Async");var r=t.filter;"function"!=typeof r&&(r=f);var i=t.promisifier;if("function"!=typeof i&&(i=v),!o.isIdentifier(n))throw new RangeError("suffix must be a valid identifier\n\n    See http://goo.gl/8FZo5V\n");for(var a=o.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];"constructor"!==a[s]&&o.isClass(c)&&(b(c.prototype,n,r,i),b(c,n,r,i))}return b(e,n,r,i)}}},{"./errors":13,"./promise_resolver.js":25,"./util.js":38}],27:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js"),a=i.isObject,s=e("./es5.js");function l(e){for(var t=s.keys(e),n=t.length,r=new Array(2*n),o=0;o<n;++o){var i=t[o];r[o]=e[i],r[o+n]=i}this.constructor$(r)}function c(e){var n,i=r(e);return a(i)?(n=i instanceof t?i._then(t.props,void 0,void 0,void 0,void 0):new l(i).promise(),i instanceof t&&n._propagateFrom(i,4),n):o("cannot await properties of a non-object\n\n    See http://goo.gl/OsFKC8\n")}i.inherits(l,n),l.prototype._init=function(){this._init$(void 0,-3)},l.prototype._promiseFulfilled=function(e,t){if(this._values[t]=e,++this._totalResolved>=this._length){for(var n={},r=this.length(),o=0,i=this.length();o<i;++o)n[this._values[o+r]]=this._values[o];this._resolve(n)}},l.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},l.prototype.shouldCopyValues=function(){return!1},l.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return c(this)},t.props=function(e){return c(e)}}},{"./es5.js":14,"./util.js":38}],28:[function(e,t,n){"use strict";function r(e){this._capacity=e,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(e){return this._capacity<e},r.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1),this[this._front+t&this._capacity-1]=e,this._length=t+1},r.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=(this._front-1&t-1^t)-t;this[n]=e,this._front=n,this._length=this.length()+1},r.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},r.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var o=this._front+r-3;this._checkCapacity(r);var i=this._capacity-1;this[o+0&i]=e,this[o+1&i]=t,this[o+2&i]=n,this._length=r},r.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e,function(e,t,n,r,o){for(var i=0;i<o;++i)n[i+r]=e[i+t],e[i+t]=void 0}(this,0,this,t,this._front+this._length&t-1)},t.exports=r},{}],29:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./util.js").isArray;function a(e,s){var l,c=r(e);if(c instanceof t)return(l=c).then((function(e){return a(e,l)}));if(!i(e))return o("expecting an array, a promise or a thenable\n\n    See http://goo.gl/s8MMhc\n");var u=new t(n);void 0!==s&&u._propagateFrom(s,5);for(var d=u._fulfill,p=u._reject,f=0,h=e.length;f<h;++f){var m=e[f];(void 0!==m||f in e)&&t.cast(m)._then(d,p,void 0,u,null)}return u}t.race=function(e){return a(e,void 0)},t.prototype.race=function(){return a(this,void 0)}}},{"./util.js":38}],30:[function(e,t,n){"use strict";t.exports=function(t,n,r,o,i){var a=t._getDomain,s=e("./async.js"),l=e("./util.js"),c=l.tryCatch,u=l.errorObj;function d(e,n,r,l){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=l===i?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=o(r,this._promise),u=!1,d=c instanceof t;d&&((c=c._target())._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),u=!0)),d||this._zerothIsAccum||(this._gotAccum=!0);var f=a();this._callback=null===f?n:f.bind(n),this._accum=r,u||s.invoke(p,this,void 0)}function p(){this._init$(void 0,-5)}function f(e,t,n,o){return"function"!=typeof t?r("fn must be a function\n\n    See http://goo.gl/916lJJ\n"):new d(e,t,n,o).promise()}l.inherits(d,n),d.prototype._init=function(){},d.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},d.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var i,a=this.length(),s=this._preservedValues,l=null!==s,d=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),i=0;i<a;++i)p[i]=0;if(i=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=d=!0,p[n]=0===i?1:2):-1===n?(this._accum=e,this._gotAccum=d=!0):0===i?p[n]=1:(p[n]=2,this._accum=e),d){for(var f,h=this._callback,m=this._promise._boundValue(),g=this._reducingIndex;g<a;++g)if(2!==(i=p[g])){if(1!==i)return;if(e=r[g],this._promise._pushContext(),l?(s.push(e),f=c(h).call(m,e,g,a)):f=c(h).call(m,this._accum,e,g,a),this._promise._popContext(),f===u)return this._reject(f.e);var y=o(f,this._promise);if(y instanceof t){if((y=y._target())._isPending())return p[g]=4,y._proxyPromiseArray(this,g);if(!y._isFulfilled())return this._reject(y._reason());f=y._value()}this._reducingIndex=g+1,this._accum=f}else this._reducingIndex=g+1;this._resolve(l?s:this._accum)}},t.prototype.reduce=function(e,t){return f(this,e,t,null)},t.reduce=function(e,t,n,r){return f(e,t,n,r)}}},{"./async.js":2,"./util.js":38}],31:[function(e,n,o){"use strict";var i,a=e("./util");if(a.isNode&&"undefined"==typeof MutationObserver){var s=r.g.setImmediate,l=t.nextTick;i=a.isRecentNode?function(e){s.call(r.g,e)}:function(e){l.call(t,e)}}else"undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&window.navigator.standalone?i="undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n    See http://goo.gl/m3OTXk\n")}:(i=function(e){var t=document.createElement("div");return new MutationObserver(e).observe(t,{attributes:!0}),function(){t.classList.toggle("foo")}}).isStatic=!0;n.exports=i},{"./util":38}],32:[function(e,t,n){"use strict";t.exports=function(t,n){var r=t.PromiseInspection;function o(e){this.constructor$(e)}e("./util.js").inherits(o,n),o.prototype._promiseResolved=function(e,t){this._values[e]=t,++this._totalResolved>=this._length&&this._resolve(this._values)},o.prototype._promiseFulfilled=function(e,t){var n=new r;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},o.prototype._promiseRejected=function(e,t){var n=new r;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new o(e).promise()},t.prototype.settle=function(){return new o(this).promise()}}},{"./util.js":38}],33:[function(e,t,n){"use strict";t.exports=function(t,n,r){var o=e("./util.js"),i=e("./errors.js").RangeError,a=e("./errors.js").AggregateError,s=o.isArray;function l(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function c(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n    See http://goo.gl/1wAmHx\n");var n=new l(e),o=n.promise();return n.setHowMany(t),n.init(),o}o.inherits(l,n),l.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=s(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(e){this._howMany=e},l.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},l.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new a,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(e){this._values.push(e)},l.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new i(t)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return c(e,t)},t.prototype.some=function(e){return c(this,e)},t._SomePromiseArray=l}},{"./errors.js":13,"./util.js":38}],34:[function(e,t,n){"use strict";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/hc1DLj\n");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/hPuiwB\n");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0==(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/hc1DLj\n");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/hPuiwB\n");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],35:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util.js"),o=r.errorObj,i=r.isObject;function a(e){return e.then}var s={}.hasOwnProperty;return function(e,l){if(i(e)){if(e instanceof t)return e;if(function(e){return s.call(e,"_promise0")}(e)){var c=new t(n);return e._then(c._fulfillUnchecked,c._rejectUncheckedCheckError,c._progressUnchecked,c,null),c}var u=r.tryCatch(a)(e);if(u===o)return l&&l._pushContext(),c=t.reject(u.e),l&&l._popContext(),c;if("function"==typeof u)return function(e,i,a){var s=new t(n),l=s;a&&a._pushContext(),s._captureStackTrace(),a&&a._popContext();var c=r.tryCatch(i).call(e,(function(e){s&&(s._resolveCallback(e),s=null)}),(function(e){s&&(s._rejectCallback(e,!1,!0),s=null)}),(function(e){s&&"function"==typeof s._progress&&s._progress(e)}));return s&&c===o&&(s._rejectCallback(c.e,!0,!0),s=null),l}(e,u,l)}return e}}},{"./util.js":38}],36:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util.js"),o=t.TimeoutError,i=function(e){return a(+this).thenReturn(e)},a=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var o=new t(n);return setTimeout((function(){o._fulfill()}),r),o}return r=+r,t.resolve(e)._then(i,null,null,r,void 0)};function s(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function l(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}t.prototype.delay=function(e){return a(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var i=setTimeout((function(){!function(e,t){var n;e.isPending()&&(!r.isPrimitive(t)&&t instanceof Error?n=t:("string"!=typeof t&&(t="operation timed out"),n=new o(t)),r.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n))}(n,t)}),e);return n._then(s,l,void 0,i,void 0)}}},{"./util.js":38}],37:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var i=e("./errors.js").TypeError,a=e("./util.js").inherits,s=t.PromiseInspection;function l(e){for(var n=e.length,r=0;r<n;++r){var o=e[r];if(o.isRejected())return t.reject(o.error());e[r]=o._settledValue}return e}function c(e){setTimeout((function(){throw e}),0)}function u(e,n){var o=0,i=e.length,a=t.defer();return function s(){if(o>=i)return a.resolve();var l=function(e){var t=r(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}(e[o++]);if(l instanceof t&&l._isDisposable()){try{l=r(l._getDisposer().tryDispose(n),e.promise)}catch(e){return c(e)}if(l instanceof t)return l._then(s,c,null,null,null)}s()}(),a.promise}function d(e){var t=new s;return t._settledValue=e,t._bitField=268435456,u(this,t).thenReturn(e)}function p(e){var t=new s;return t._settledValue=e,t._bitField=134217728,u(this,t).thenThrow(e)}function f(e,t,n){this._data=e,this._promise=t,this._context=n}function h(e,t,n){this.constructor$(e,t,n)}function m(e){return f.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}f.prototype.data=function(){return this._data},f.prototype.promise=function(){return this._promise},f.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},f.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},f.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},a(h,f),h.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},t.using=function(){var e=arguments.length;if(e<2)return n("you must pass at least 2 arguments to Promise.using");var o,i=arguments[e-1];if("function"!=typeof i)return n("fn must be a function\n\n    See http://goo.gl/916lJJ\n");var a=!0;2===e&&Array.isArray(arguments[0])?(e=(o=arguments[0]).length,a=!1):(o=arguments,e--);for(var s=new Array(e),c=0;c<e;++c){var u=o[c];if(f.isDisposer(u)){var h=u;(u=u.promise())._setDisposable(h)}else{var g=r(u);g instanceof t&&(u=g._then(m,null,null,{resources:s,index:c},void 0))}s[c]=u}var y=t.settle(s).then(l).then((function(e){var t;y._pushContext();try{t=a?i.apply(void 0,e):i.call(void 0,e)}finally{y._popContext()}return t}))._then(d,p,void 0,s,void 0);return s.promise=y,y},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new h(e,this,o());throw new i}}},{"./errors.js":13,"./util.js":38}],38:[function(e,n,r){"use strict";var o=e("./es5.js"),i="undefined"==typeof navigator,a=function(){try{var e={};return o.defineProperty(e,"f",{get:function(){return 3}}),3===e.f}catch(e){return!1}}(),s={e:{}},l;function c(){try{var e=l;return l=null,e.apply(this,arguments)}catch(e){return s.e=e,s}}function u(e){return l=e,c}var d=function(e,t){var n={}.hasOwnProperty;function r(){for(var r in this.constructor=e,this.constructor$=t,t.prototype)n.call(t.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=t.prototype[r])}return r.prototype=t.prototype,e.prototype=new r,e.prototype};function p(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function f(e){return!p(e)}function h(e){return p(e)?new Error(k(e)):e}function m(e,t){var n,r=e.length,o=new Array(r+1);for(n=0;n<r;++n)o[n]=e[n];return o[n]=t,o}function g(e,t,n){if(!o.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function y(e,t,n){if(p(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return o.defineProperty(e,t,r),e}function v(e){throw e}var b=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(o.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var a;try{a=n(e)}catch(e){return r}for(var s=0;s<a.length;++s){var l=a[s];if(!i[l]){i[l]=!0;var c=Object.getOwnPropertyDescriptor(e,l);null!=c&&null==c.get&&null==c.set&&r.push(l)}}e=o.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var o=[];e:for(var i in n)if(r.call(n,i))o.push(i);else{for(var a=0;a<e.length;++a)if(r.call(e[a],i))continue e;o.push(i)}return o}}(),_=/this\s*\.\s*\S+\s*=/;function w(e){try{if("function"==typeof e){var t=o.names(e.prototype),n=o.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=_.test(e+"")&&o.names(e).length>0;if(n||r||i)return!0}return!1}catch(e){return!1}}function C(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}var S=/^[a-z$_][a-z$_0-9]*$/i;function E(e){return S.test(e)}function x(e,t,n){for(var r=new Array(e),o=0;o<e;++o)r[o]=t+o+n;return r}function k(e){try{return e+""}catch(e){return"[no string representation]"}}function O(e){try{y(e,"isOperational",!0)}catch(e){}}function T(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function A(e){return e instanceof Error&&o.propertyIsWritable(e,"stack")}var P="stack"in new Error?function(e){return A(e)?e:new Error(k(e))}:function(e){if(A(e))return e;try{throw new Error(k(e))}catch(e){return e}};function R(e){return{}.toString.call(e)}function I(e,t,n){for(var r=o.names(e),i=0;i<r.length;++i){var a=r[i];if(n(a))try{o.defineProperty(t,a,o.getDescriptor(e,a))}catch(e){}}}var M={isClass:w,isIdentifier:E,inheritedDataKeys:b,getDataPropertyOrDefault:g,thrower:v,isArray:o.isArray,haveGetters:a,notEnumerableProp:y,isPrimitive:p,isObject:f,canEvaluate:i,errorObj:s,tryCatch:u,inherits:d,withAppended:m,maybeWrapAsError:h,toFastProperties:C,filledRange:x,toString:k,canAttachTrace:A,ensureErrorObject:P,originatesFromRejection:T,markAsOriginatingFromRejection:O,classString:R,copyDescriptors:I,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:void 0!==t&&"[object process]"===R(t).toLowerCase()},N;M.isRecentNode=M.isNode&&(N=t.versions.node.split(".").map(Number),0===N[0]&&N[1]>10||N[0]>0),M.isNode&&M.toFastProperties(t);try{throw new Error}catch(e){M.lastLineError=e}n.exports=M},{"./es5.js":14}]},{},[4])(4)},"object"==l(n)?e.exports=s():(i=[],void 0===(a="function"==typeof(o=s)?o.apply(n,i):o)||(e.exports=a)),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)},44102:(e,t,n)=>{"use strict";n(68309);var r=n(24135);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},23398:(e,t,n)=>{e.exports=n(44102)()},24135:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},41625:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ucs2decode:()=>g,ucs2encode:()=>y,decode:()=>_,encode:()=>w,toASCII:()=>S,toUnicode:()=>C,default:()=>E});n(74916),n(23123),n(15306),n(69600),n(94953),n(40561),n(47042),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(91038),n(68309);function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(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 i(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=2147483647,l=/^xn--/,c=/[^\0-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function h(e){throw new RangeError(d[e])}function m(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var o=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(u,".")).split("."),t).join(".");return r+o}function g(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var y=function(e){return String.fromCodePoint.apply(String,o(e))},v=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},b=function(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))},_=function(e){var t,n=[],r=e.length,o=0,i=128,a=72,l=e.lastIndexOf("-");l<0&&(l=0);for(var c=0;c<l;++c)e.charCodeAt(c)>=128&&h("not-basic"),n.push(e.charCodeAt(c));for(var u=l>0?l+1:0;u<r;){for(var d=o,f=1,m=36;;m+=36){u>=r&&h("invalid-input");var g=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(g>=36||g>p((s-o)/f))&&h("overflow"),o+=g*f;var y=m<=a?1:m>=a+26?26:m-a;if(g<y)break;var v=36-y;f>p(s/v)&&h("overflow"),f*=v}var _=n.length+1;a=b(o-d,_,0==d),p(o/_)>s-i&&h("overflow"),i+=p(o/_),o%=_,n.splice(o++,0,i)}return String.fromCodePoint.apply(String,n)},w=function(e){var t,n=[],o=(e=g(e)).length,i=128,a=0,l=72,c=r(e);try{for(c.s();!(t=c.n()).done;){var u=t.value;u<128&&n.push(f(u))}}catch(e){c.e(e)}finally{c.f()}var d=n.length,m=d;for(d&&n.push("-");m<o;){var y,_=s,w=r(e);try{for(w.s();!(y=w.n()).done;){var C=y.value;C>=i&&C<_&&(_=C)}}catch(e){w.e(e)}finally{w.f()}var S=m+1;_-i>p((s-a)/S)&&h("overflow"),a+=(_-i)*S,i=_;var E,x=r(e);try{for(x.s();!(E=x.n()).done;){var k=E.value;if(k<i&&++a>s&&h("overflow"),k==i){for(var O=a,T=36;;T+=36){var A=T<=l?1:T>=l+26?26:T-l;if(O<A)break;var P=O-A,R=36-A;n.push(f(v(A+P%R,0))),O=p(P/R)}n.push(f(v(O,0))),l=b(a,S,m==d),a=0,++m}}}catch(e){x.e(e)}finally{x.f()}++a,++i}return n.join("")},C=function(e){return m(e,(function(e){return l.test(e)?_(e.slice(4).toLowerCase()):e}))},S=function(e){return m(e,(function(e){return c.test(e)?"xn--"+w(e):e}))};const E={version:"2.1.0",ucs2:{decode:g,encode:y},decode:_,encode:w,toASCII:S,toUnicode:C}},37807:(e,t,n)=>{"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n(74916),n(23123),n(15306),e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var u,d,p,f,h=e[c].replace(a,"%20"),m=h.indexOf(n);m>=0?(u=h.substr(0,m),d=h.substr(m+1)):(u=h,d=""),p=decodeURIComponent(u),f=decodeURIComponent(d),r(i,p)?Array.isArray(i[p])?i[p].push(f):i[p]=[i[p],f]:i[p]=f}return i}},36542:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(69600),n(21249),n(47941),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=function(e){switch(r(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===r(e)?Object.keys(e).map((function(r){var i=encodeURIComponent(o(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return i+encodeURIComponent(o(e))})).join(t):i+encodeURIComponent(o(e[r]))})).join(t):i?encodeURIComponent(o(i))+n+encodeURIComponent(o(e)):""}},86406:(e,t,n)=>{"use strict";t.decode=t.parse=n(37807),t.encode=t.stringify=n(36542)},23328:function(e,t,n){"use strict";function r(e){return(r="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)}n(47941),n(92222),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i,a=o(n(92585)),s=o(n(37733));!function(e){e.compose=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),"object"!==r(e)&&(e={}),"object"!==r(t)&&(t={});var o=a.default(t);for(var i in n||(o=Object.keys(o).reduce((function(e,t){return null!=o[t]&&(e[t]=o[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(o[i]=e[i]);return Object.keys(o).length>0?o:void 0},e.diff=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),"object"!==r(e)&&(e={}),"object"!==r(t)&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return s.default(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},e.invert=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),e=e||{};var n=Object.keys(t).reduce((function(n,r){return t[r]!==e[r]&&void 0!==e[r]&&(n[r]=t[r]),n}),{});return Object.keys(e).reduce((function(n,r){return e[r]!==t[r]&&void 0===t[r]&&(n[r]=null),n}),n)},e.transform=function(e,t,n){if(void 0===n&&(n=!1),"object"!==r(e))return t;if("object"===r(t)){if(!n)return t;var o=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(o).length>0?o:void 0}}}(i||(i={})),t.default=i},22463:function(e,t,n){"use strict";function r(e){return(r="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)}n(47941),n(40561),n(57327),n(54747),n(21249),n(47042),n(92222),n(69600),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=o(n(87790)),a=o(n(92585)),s=o(n(37733)),l=o(n(23328)),c=o(n(3590)),u=String.fromCharCode(0),d=function(){function e(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}return e.prototype.insert=function(e,t){var n={};return"string"==typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"===r(t)&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},e.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},e.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===r(t)&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},e.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=a.default(e),"object"===r(n)){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!==r(n=this.ops[t-1])))return this.ops.unshift(e),this;if(s.default(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===r(e.attributes)&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===r(e.attributes)&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},e.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},e.prototype.filter=function(e){return this.ops.filter(e)},e.prototype.forEach=function(e){this.ops.forEach(e)},e.prototype.map=function(e){return this.ops.map(e)},e.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},e.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},e.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+c.default.length(t):t.delete?e-t.delete:e}),0)},e.prototype.length=function(){return this.reduce((function(e,t){return e+c.default.length(t)}),0)},e.prototype.slice=function(t,n){void 0===t&&(t=0),void 0===n&&(n=1/0);for(var r=[],o=c.default.iterator(this.ops),i=0;i<n&&o.hasNext();){var a=void 0;i<t?a=o.next(t-i):(a=o.next(n-i),r.push(a)),i+=c.default.length(a)}return new e(r)},e.prototype.compose=function(t){var n=c.default.iterator(this.ops),r=c.default.iterator(t.ops),o=[],i=r.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var a=i.retain;"insert"===n.peekType()&&n.peekLength()<=a;)a-=n.peekLength(),o.push(n.next());i.retain-a>0&&r.next(i.retain-a)}for(var u=new e(o);n.hasNext()||r.hasNext();)if("insert"===r.peekType())u.push(r.next());else if("delete"===n.peekType())u.push(n.next());else{var d=Math.min(n.peekLength(),r.peekLength()),p=n.next(d),f=r.next(d);if("number"==typeof f.retain){var h={};"number"==typeof p.retain?h.retain=d:h.insert=p.insert;var m=l.default.compose(p.attributes,f.attributes,"number"==typeof p.retain);if(m&&(h.attributes=m),u.push(h),!r.hasNext()&&s.default(u.ops[u.ops.length-1],h)){var g=new e(n.rest());return u.concat(g).chop()}}else"number"==typeof f.delete&&"number"==typeof p.retain&&u.push(f)}return u.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var r=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:u;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new e,a=i.default(r[0],r[1],n),d=c.default.iterator(this.ops),p=c.default.iterator(t.ops);return a.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case i.default.INSERT:n=Math.min(p.peekLength(),t),o.push(p.next(n));break;case i.default.DELETE:n=Math.min(t,d.peekLength()),d.next(n),o.delete(n);break;case i.default.EQUAL:n=Math.min(d.peekLength(),p.peekLength(),t);var r=d.next(n),a=p.next(n);s.default(r.insert,a.insert)?o.retain(n,l.default.diff(r.attributes,a.attributes)):o.push(a).delete(n)}t-=n}})),o.chop()},e.prototype.eachLine=function(t,n){void 0===n&&(n="\n");for(var r=c.default.iterator(this.ops),o=new e,i=0;r.hasNext();){if("insert"!==r.peekType())return;var a=r.peek(),s=c.default.length(a)-r.peekLength(),l="string"==typeof a.insert?a.insert.indexOf(n,s)-s:-1;if(l<0)o.push(r.next());else if(l>0)o.push(r.next(l));else{if(!1===t(o,r.next(1).attributes||{},i))return;i+=1,o=new e}}o.length()>0&&t(o,{},i)},e.prototype.invert=function(t){var n=new e;return this.reduce((function(e,r){if(r.insert)n.delete(c.default.length(r));else{if(r.retain&&null==r.attributes)return n.retain(r.retain),e+r.retain;if(r.delete||r.retain&&r.attributes){var o=r.delete||r.retain;return t.slice(e,e+o).forEach((function(e){r.delete?n.push(e):r.retain&&r.attributes&&n.retain(c.default.length(e),l.default.invert(r.attributes,e.attributes))})),e+o}}return e}),0),n.chop()},e.prototype.transform=function(t,n){if(void 0===n&&(n=!1),n=!!n,"number"==typeof t)return this.transformPosition(t,n);for(var r=t,o=c.default.iterator(this.ops),i=c.default.iterator(r.ops),a=new e;o.hasNext()||i.hasNext();)if("insert"!==o.peekType()||!n&&"insert"===i.peekType())if("insert"===i.peekType())a.push(i.next());else{var s=Math.min(o.peekLength(),i.peekLength()),u=o.next(s),d=i.next(s);if(u.delete)continue;d.delete?a.push(d):a.retain(s,l.default.transform(u.attributes,d.attributes,n))}else a.retain(c.default.length(o.next()));return a.chop()},e.prototype.transformPosition=function(e,t){void 0===t&&(t=!1),t=!!t;for(var n=c.default.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<e||!t)&&(e+=o),r+=o):e-=Math.min(o,e-r)}return e},e.Op=c.default,e.AttributeMap=l.default,e}();e.exports=d},26844:function(e,t,n){"use strict";n(47042),n(92222);var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(3590)),i=function(){function e(e){this.ops=e,this.index=0,this.offset=0}return e.prototype.hasNext=function(){return this.peekLength()<1/0},e.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.default.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"==typeof t.retain?i.retain=e:"string"==typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},e.prototype.peek=function(){return this.ops[this.index]},e.prototype.peekLength=function(){return this.ops[this.index]?o.default.length(this.ops[this.index])-this.offset:1/0},e.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e}();t.default=i},3590:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o,i=r(n(26844));!function(e){e.iterator=function(e){return new i.default(e)},e.length=function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}}(o||(o={})),t.default=o},88131:function(e,t,n){var r,o;n(21249),n(47042),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),void 0===(o="function"==typeof(r=function(){var e,t={};function n(e){var t;return e?screen.deviceXDPI===screen.logicalXDPI?e:"length"in e?Array.prototype.map.call(e,n):(t=screen.deviceXDPI/screen.logicalXDPI,{top:e.top/t,bottom:e.bottom/t,left:e.left/t,right:e.right/t,width:e.width/t,height:e.height/t}):e}function r(e,t){var n,r=0;if(1024>=t.length)return Array.prototype.push.apply(e,t);for(;r<t.length;)n=Array.prototype.push.apply(e,Array.prototype.slice.call(t,r,r+1024)),r+=1024;return n}return t.isBroken=function(){var t,n,r,o,i,a,s,l;return void 0===e&&(n=document.createElement("p"),r=document.createElement("span"),o=document.createTextNode("aa"),i=document.createTextNode("aa"),(a=document.createElement("img")).setAttribute("src","data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="),s=document.createRange(),e={},n.appendChild(o),n.appendChild(r),r.appendChild(a),r.appendChild(i),document.body.appendChild(n),s.setStart(o,1),s.setEnd(r,0),e.getClientRects=e.getBoundingClientRect=s.getClientRects().length>1,e.getClientRects||(s.setEnd(i,1),e.getClientRects=e.getBoundingClientRect=2===s.getClientRects().length),e.getBoundingClientRect||(s.setEnd(s.startContainer,s.startOffset),t=s.getBoundingClientRect(),e.getBoundingClientRect=0===t.top&&0===t.left),document.body.removeChild(n),l=window.ActiveXObject&&new Function("/*@cc_on return @_jscript_version; @*/")(),e.ieZoom=!!l&&l<=10),e},t.getClientRects=function(e){var t,o,i,a,s,l=this.isBroken();if(l.ieZoom)return n(e.getClientRects());if(!l.getClientRects)return e.getClientRects();function c(e){for(var t=0;e=e.previousSibling;)t++;return t}for(t=[],i=[],o=e.endContainer,a=e.endOffset,s=document.createRange();o!==e.commonAncestorContainer;)s.setStart(o,0),s.setEnd(o,a),r(i,s.getClientRects()),a=c(o),o=o.parentNode;return(s=e.cloneRange()).setEnd(o,a),r(t,s.getClientRects()),r(t,i),t},t.getBoundingClientRect=function(e){var t,r,o,i,a,s,l=this.getClientRects(e);if(0===l.length)return null;if(a=e.getBoundingClientRect(),(s=this.isBroken()).ieZoom)return n(a);if(!s.getBoundingClientRect)return a;if(0===a.width&&0===a.height)return l[0];for(t=0,r=l.length;t<r;t++)i=l[t],o?(o.left=Math.min(o.left,i.left),o.top=Math.min(o.top,i.top),o.right=Math.max(o.right,i.right),o.bottom=Math.max(o.bottom,i.bottom)):o={left:i.left,top:i.top,right:i.right,bottom:i.bottom};return o&&(o.width=o.right-o.left,o.height=o.bottom-o.top),o},t})?r.call(t,n,t,e):r)||(e.exports=o)},4254:function(e,t,n){"use strict";n(19601),n(82526);var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var s=n(10097),l=n(17694),c=n(54878),u=n(78503),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,r=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||r?setTimeout((function(){return e.textarea&&c(e.textarea)})):this.textarea&&c(this.textarea),this.textarea&&this.textarea.addEventListener("autosize:resized",this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener("autosize:resized",this.onResize),c.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),r=(t.onChange,t.style),o=(t.innerRef,t.children),l=a(t,["onResize","maxRows","onChange","style","innerRef","children"]),c=this.state.lineHeight,u=n&&c?c*n:null;return s.createElement("textarea",i({},l,{onChange:this.onChange,style:u?i({},r,{maxHeight:u}):r,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),o)},t.prototype.componentDidUpdate=function(){this.textarea&&c.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.any,async:l.bool},t}(s.Component);t.TextareaAutosize=s.forwardRef((function(e,t){return s.createElement(d,i({},e,{innerRef:t}))}))},15806:(e,t,n)=>{"use strict";var r=n(4254);t.Z=r.TextareaAutosize},67457:(e,t,n)=>{"use strict";n(68309);var r=n(39442);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},17694:(e,t,n)=>{e.exports=n(67457)()},39442:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},25992:function(e,t,n){var r,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(65743),n(47941),n(82526),n(57327),n(38880),n(54747),n(49337),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(19601),n(30489),n(12419),n(91038),n(47042),n(68309),n(96649),n(96078),n(9653),n(74916),n(4723),n(15306),n(69600),n(21249),n(51532),n(26699),n(32023),n(69826),n(92222),n(2707),n(23123),n(73210),function(s,l){"object"==a(t)?l(t,n(10097),n(23398),n(3770),n(26221),n(13406),n(80900),n(18444),n(83502),n(59165),n(57484),n(45110),n(8504),n(4021),n(1092),n(85946),n(66923),n(81480),n(16353),n(54586),n(23946),n(89933),n(63735),n(66774),n(46367),n(71542),n(31411),n(59883),n(30455),n(225),n(2067),n(12411),n(11301),n(10448),n(3e4),n(9560),n(28137),n(64670),n(48703),n(25125),n(81715),n(48933),n(16909),n(82811),n(52230),n(99067),n(61261),n(54980),n(66939),n(32408),n(88521),n(11022),n(62833),n(39138),n(25156),n(47718),n(65695),n(86723),n(84787),n(99316),n(8217),n(57135),n(32638),n(6034),n(10097),n(25984),n(7549)):(o=[t,n(10097),n(23398),n(3770),n(26221),n(13406),n(80900),n(18444),n(83502),n(59165),n(57484),n(45110),n(8504),n(4021),n(1092),n(85946),n(66923),n(81480),n(16353),n(54586),n(23946),n(89933),n(63735),n(66774),n(46367),n(71542),n(31411),n(59883),n(30455),n(225),n(2067),n(12411),n(11301),n(10448),n(3e4),n(9560),n(28137),n(64670),n(48703),n(25125),n(81715),n(48933),n(16909),n(82811),n(52230),n(99067),n(61261),n(54980),n(66939),n(32408),n(88521),n(11022),n(62833),n(39138),n(25156),n(47718),n(65695),n(86723),n(84787),n(99316),n(8217),n(57135),n(32638),n(6034),n(10097),n(25984),n(7549)],void 0===(i="function"==typeof(r=l)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e,t,n,r,o,i,s,l,c,u,d,p,f,h,m,g,y,v,b,_,w,C,S,E,x,k,O,T,A,P,R,I,M,N,D,j,L,B,F,U,H,V,z,q,G,W,Y,Z,K,$,Q,X,J,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,pe,fe){"use strict";function he(e){return e&&"object"==a(e)&&"default"in e?e:{default:e}}var me=he(t),ge=he(r),ye=he(o),ve=he(i),be=he(s),_e=he(l),we=he(c),Ce=he(u),Se=he(d),Ee=he(p),xe=he(f),ke=he(h),Oe=he(y),Te=he(v),Ae=he(b),Pe=he(_),Re=he(w),Ie=he(C),Me=he(S),Ne=he(E),De=he(x),je=he(k),Le=he(O),Be=he(T),Fe=he(A),Ue=he(P),He=he(R),Ve=he(I),ze=he(M),qe=he(N),Ge=he(D),We=he(j),Ye=he(L),Ze=he(B),Ke=he(F),$e=he(U),Qe=he(H),Xe=he(z),Je=he(q),et=he(G),tt=he(W),nt=he(Y),rt=he(Z),ot=he(K),it=he(Q),at=he(X),st=he(J),lt=he(ee),ct=he(te),ut=he(ne),dt=he(re),pt=he(oe),ft=he(ie),ht=he(ae),mt=he(se),gt=he(le),yt=he(ce),vt=he(ue),bt=he(de),_t=he(fe);function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){Ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function St(e){return(St="function"==typeof Symbol&&"symbol"==a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)})(e)}function Et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jt(r.key),r)}}function kt(e,t,n){return t&&xt(e.prototype,t),n&&xt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ot(e,t,n){return(t=jt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tt(){return(Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function At(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&&function(e,t){(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Rt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function It(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rt(e)}function Mt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pt(e);if(t){var o=Pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return It(this,n)}}function Nt(e){return function(e){if(Array.isArray(e))return Dt(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 Dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dt(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 Dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jt(e){var t=function(e,t){if("object"!=a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==a(t)?t:String(t)}function Lt(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"});case"PPPP":default:return t.date({width:"full"})}}function Bt(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"});case"pppp":default:return t.time({width:"full"})}}var Ft={p:Bt,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return Lt(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Lt(o,t)).replace("{{time}}",Bt(i,t))}},Ut=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Ht(e){var t=e?"string"==typeof e||e instanceof String?yt.default(e):mt.default(e):new Date;return zt(t)?t:null}function Vt(e,t,n,r,o){var i=null,a=cn(n)||cn(ln()),s=!0;return Array.isArray(t)?(t.forEach((function(t){var l=gt.default(e,t,new Date,{locale:a});r&&(s=zt(l,o)&&e===qt(l,t,n)),zt(l,o)&&s&&(i=l)})),i):(i=gt.default(e,t,new Date,{locale:a}),r?s=zt(i)&&e===qt(i,t,n):zt(i)||(t=t.match(Ut).map((function(e){var t=e[0];return"p"===t||"P"===t?a?(0,Ft[t])(e,a.formatLong):t:e})).join(""),e.length>0&&(i=gt.default(e,t.slice(0,e.length),new Date)),zt(i)||(i=new Date(e))),zt(i)&&s?i:null)}function zt(e,t){return t=t||new Date("1/1/1000"),ve.default(e)&&!ft.default(e,t)}function qt(e,t,n){if("en"===n)return be.default(e,t,{awareOfUnicodeTokens:!0});var r=cn(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&ln()&&cn(ln())&&(r=cn(ln())),be.default(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function Gt(e,t){var n=t.dateFormat,r=t.locale;return e&&qt(e,Array.isArray(n)?n[0]:n,r)||""}function Wt(e,t){var n=t.hour,r=void 0===n?0:n,o=t.minute,i=void 0===o?0:o,a=t.second,s=void 0===a?0:a;return qe.default(ze.default(Ve.default(e,s),i),r)}function Yt(e,t){var n=t&&cn(t)||ln()&&cn(ln());return Le.default(e,n?{locale:n}:null)}function Zt(e,t){return qt(e,"ddd",t)}function Kt(e){return Je.default(e)}function $t(e,t,n){var r=cn(t||ln());return et.default(e,{locale:r,weekStartsOn:n})}function Qt(e){return tt.default(e)}function Xt(e){return rt.default(e)}function Jt(e){return nt.default(e)}function en(){return Je.default(Ht())}function tn(e,t){return e&&t?ut.default(e,t):!e&&!t}function nn(e,t){return e&&t?ct.default(e,t):!e&&!t}function rn(e,t){return e&&t?dt.default(e,t):!e&&!t}function on(e,t){return e&&t?lt.default(e,t):!e&&!t}function an(e,t){return e&&t?st.default(e,t):!e&&!t}function sn(e,t,n){var r,o=Je.default(t),i=ot.default(n);try{r=ht.default(e,{start:o,end:i})}catch(e){r=!1}return r}function ln(){return("undefined"!=typeof window?window:globalThis).__localeId__}function cn(e){if("string"==typeof e){var t="undefined"!=typeof window?window:globalThis;return t.__localeData__?t.__localeData__[e]:null}return e}function un(e,t){return qt(Ge.default(Ht(),e),"LLLL",t)}function dn(e,t){return qt(Ge.default(Ht(),e),"LLL",t)}function pn(e,t){return qt(We.default(Ht(),e),"QQQ",t)}function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.excludeDateIntervals,a=t.includeDates,s=t.includeDateIntervals,l=t.filterDate;return _n(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return on(e,t)}))||i&&i.some((function(t){var n=t.start,r=t.end;return ht.default(e,{start:n,end:r})}))||a&&!a.some((function(t){return on(e,t)}))||s&&!s.some((function(t){var n=t.start,r=t.end;return ht.default(e,{start:n,end:r})}))||l&&!l(Ht(e))||!1}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some((function(t){var n=t.start,r=t.end;return ht.default(e,{start:n,end:r})})):n&&n.some((function(t){return on(e,t)}))||!1}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return _n(e,{minDate:tt.default(n),maxDate:it.default(r)})||o&&o.some((function(t){return nn(e,t)}))||i&&!i.some((function(t){return nn(e,t)}))||a&&!a(Ht(e))||!1}function gn(e,t,n,r){var o=Ue.default(e),i=Be.default(e),a=Ue.default(t),s=Be.default(t),l=Ue.default(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return _n(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return rn(e,t)}))||i&&!i.some((function(t){return rn(e,t)}))||a&&!a(Ht(e))||!1}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate,s=new Date(e,0,1);return _n(s,{minDate:rt.default(n),maxDate:at.default(r)})||o&&o.some((function(e){return tn(s,e)}))||i&&!i.some((function(e){return tn(s,e)}))||a&&!a(Ht(s))||!1}function bn(e,t,n,r){var o=Ue.default(e),i=Fe.default(e),a=Ue.default(t),s=Fe.default(t),l=Ue.default(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&$e.default(e,n)<0||r&&$e.default(e,r)>0}function wn(e,t){return t.some((function(t){return Ne.default(t)===Ne.default(e)&&Me.default(t)===Me.default(e)}))}function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,o=t.filterTime;return n&&wn(e,n)||r&&!wn(e,r)||o&&!o(e)||!1}function Sn(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,i=Ht(),a=qe.default(ze.default(i,Me.default(e)),Ne.default(e)),s=qe.default(ze.default(i,Me.default(n)),Ne.default(n)),l=qe.default(ze.default(i,Me.default(r)),Ne.default(r));try{o=!ht.default(a,{start:s,end:l})}catch(e){o=!1}return o}function En(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=Ae.default(e,1);return n&&Qe.default(n,o)>0||r&&r.every((function(e){return Qe.default(e,o)>0}))||!1}function xn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=Ee.default(e,1);return n&&Qe.default(o,n)>0||r&&r.every((function(e){return Qe.default(o,e)>0}))||!1}function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=Re.default(e,1);return n&&Xe.default(n,o)>0||r&&r.every((function(e){return Xe.default(e,o)>0}))||!1}function On(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=ke.default(e,1);return n&&Xe.default(o,n)>0||r&&r.every((function(e){return Xe.default(o,e)>0}))||!1}function Tn(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return $e.default(e,t)>=0}));return Ze.default(r)}return n?Ze.default(n):t}function An(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return $e.default(e,t)<=0}));return Ke.default(r)}return n?Ke.default(n):t}function Pn(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r<o;r++){var i=e[r];if(ye.default(i)){var a=qt(i,"MM.dd.yyyy"),s=n.get(a)||[];s.includes(t)||(s.push(t),n.set(a,s))}else if("object"===St(i)){var l=Object.keys(i),c=l[0],u=i[l[0]];if("string"==typeof c&&u.constructor===Array)for(var d=0,p=u.length;d<p;d++){var f=qt(u[d],"MM.dd.yyyy"),h=n.get(f)||[];h.includes(c)||(h.push(c),n.set(f,h))}}}return n}function Rn(e,t,n,r,o){for(var i=o.length,a=[],s=0;s<i;s++){var l=_e.default(we.default(e,Ne.default(o[s])),Me.default(o[s])),c=_e.default(e,(n+1)*r);pt.default(l,t)&&ft.default(l,c)&&a.push(o[s])}return a}function In(e){return e<10?"0".concat(e):"".concat(e)}function Mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,n=Math.ceil(Ue.default(e)/t)*t,r=n-(t-1);return{startPeriod:r,endPeriod:n}}function Nn(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=Ue.default(n)<=a),r&&s&&(s=Ue.default(r)>=a),s&&o.push(a)}return o}var Dn=function(e){At(r,e);var n=Mt(r);function r(e){var o;Et(this,r),Ot(Rt(o=n.call(this,e)),"renderOptions",(function(){var e=o.props.year,t=o.state.yearsList.map((function(t){return me.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:o.onChange.bind(Rt(o),t),"aria-selected":e===t?"true":void 0},e===t?me.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),n=o.props.minDate?Ue.default(o.props.minDate):null,r=o.props.maxDate?Ue.default(o.props.maxDate):null;return r&&o.state.yearsList.find((function(e){return e===r}))||t.unshift(me.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:o.incrementYears},me.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&o.state.yearsList.find((function(e){return e===n}))||t.push(me.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:o.decrementYears},me.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),Ot(Rt(o),"onChange",(function(e){o.props.onChange(e)})),Ot(Rt(o),"handleClickOutside",(function(){o.props.onCancel()})),Ot(Rt(o),"shiftYears",(function(e){var t=o.state.yearsList.map((function(t){return t+e}));o.setState({yearsList:t})})),Ot(Rt(o),"incrementYears",(function(){return o.shiftYears(1)})),Ot(Rt(o),"decrementYears",(function(){return o.shiftYears(-1)}));var i=e.yearDropdownItemNumber,a=e.scrollableYearDropdown,s=i||(a?10:5);return o.state={yearsList:Nn(o.props.year,s,o.props.minDate,o.props.maxDate)},o.dropdownRef=t.createRef(),o}return kt(r,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=ge.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return me.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),r}(me.default.Component),jn=vt.default(Dn),Ln=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),Ot(Rt(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?Ue.default(e.props.minDate):1900,n=e.props.maxDate?Ue.default(e.props.maxDate):2100,r=[],o=t;o<=n;o++)r.push(me.default.createElement("option",{key:o,value:o},o));return r})),Ot(Rt(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),Ot(Rt(e),"renderSelectMode",(function(){return me.default.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),Ot(Rt(e),"renderReadView",(function(t){return me.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},me.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),me.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),Ot(Rt(e),"renderDropdown",(function(){return me.default.createElement(jn,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),Ot(Rt(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),Ot(Rt(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),Ot(Rt(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),Ot(Rt(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),Ot(Rt(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),Ot(Rt(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return kt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return me.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(me.default.Component),Bn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"isSelectedMonth",(function(t){return e.props.month===t})),Ot(Rt(e),"renderOptions",(function(){return e.props.monthNames.map((function(t,n){return me.default.createElement("div",{className:e.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(Rt(e),n),"aria-selected":e.isSelectedMonth(n)?"true":void 0},e.isSelectedMonth(n)?me.default.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)}))})),Ot(Rt(e),"onChange",(function(t){return e.props.onChange(t)})),Ot(Rt(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return kt(n,[{key:"render",value:function(){return me.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),n}(me.default.Component),Fn=vt.default(Bn),Un=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),Ot(Rt(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return me.default.createElement("option",{key:t,value:t},e)}))})),Ot(Rt(e),"renderSelectMode",(function(t){return me.default.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),Ot(Rt(e),"renderReadView",(function(t,n){return me.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},me.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),me.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[e.props.month]))})),Ot(Rt(e),"renderDropdown",(function(t){return me.default.createElement(Fn,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),Ot(Rt(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),Ot(Rt(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),Ot(Rt(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return kt(n,[{key:"render",value:function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return dn(e,t.props.locale)}:function(e){return un(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return me.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(me.default.Component);function Hn(e,t){for(var n=[],r=Qt(e),o=Qt(t);!pt.default(r,o);)n.push(Ht(r)),r=Ee.default(r,1);return n}var Vn=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),Ot(Rt(r=t.call(this,e)),"renderOptions",(function(){return r.state.monthYearsList.map((function(e){var t=He.default(e),n=tn(r.props.date,e)&&nn(r.props.date,e);return me.default.createElement("div",{className:n?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(Rt(r),t),"aria-selected":n?"true":void 0},n?me.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",qt(e,r.props.dateFormat,r.props.locale))}))})),Ot(Rt(r),"onChange",(function(e){return r.props.onChange(e)})),Ot(Rt(r),"handleClickOutside",(function(){r.props.onCancel()})),r.state={monthYearsList:Hn(r.props.minDate,r.props.maxDate)},r}return kt(n,[{key:"render",value:function(){var e=ge.default({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return me.default.createElement("div",{className:e},this.renderOptions())}}]),n}(me.default.Component),zn=vt.default(Vn),qn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),Ot(Rt(e),"renderSelectOptions",(function(){for(var t=Qt(e.props.minDate),n=Qt(e.props.maxDate),r=[];!pt.default(t,n);){var o=He.default(t);r.push(me.default.createElement("option",{key:o,value:o},qt(t,e.props.dateFormat,e.props.locale))),t=Ee.default(t,1)}return r})),Ot(Rt(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),Ot(Rt(e),"renderSelectMode",(function(){return me.default.createElement("select",{value:He.default(Qt(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),Ot(Rt(e),"renderReadView",(function(t){var n=qt(e.props.date,e.props.dateFormat,e.props.locale);return me.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},me.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),me.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))})),Ot(Rt(e),"renderDropdown",(function(){return me.default.createElement(zn,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown,locale:e.props.locale})})),Ot(Rt(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),Ot(Rt(e),"onChange",(function(t){e.toggleDropdown();var n=Ht(parseInt(t));tn(e.props.date,n)&&nn(e.props.date,n)||e.props.onChange(n)})),Ot(Rt(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return kt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return me.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(me.default.Component),Gn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"dayEl",me.default.createRef()),Ot(Rt(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),Ot(Rt(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),Ot(Rt(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),Ot(Rt(e),"isSameDay",(function(t){return on(e.props.day,t)})),Ot(Rt(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!e.isSameDay(e.props.selected)&&e.isSameDay(e.props.preSelection)})),Ot(Rt(e),"isDisabled",(function(){return fn(e.props.day,e.props)})),Ot(Rt(e),"isExcluded",(function(){return hn(e.props.day,e.props)})),Ot(Rt(e),"getHighLightedClass",(function(t){var n=e.props,r=n.day,o=n.highlightDates;if(!o)return!1;var i=qt(r,"MM.dd.yyyy");return o.get(i)})),Ot(Rt(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&sn(n,r,o)})),Ot(Rt(e),"isInSelectingRange",(function(){var t,n=e.props,r=n.day,o=n.selectsStart,i=n.selectsEnd,a=n.selectsRange,s=n.selectsDisabledDaysInRange,l=n.startDate,c=n.endDate,u=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return!(!(o||i||a)||!u||!s&&e.isDisabled())&&(o&&c&&(ft.default(u,c)||an(u,c))?sn(r,u,c):(i&&l&&(pt.default(u,l)||an(u,l))||!(!a||!l||c||!pt.default(u,l)&&!an(u,l)))&&sn(r,l,u))})),Ot(Rt(e),"isSelectingRangeStart",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,o=n.startDate,i=n.selectsStart,a=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return on(r,i?a:o)})),Ot(Rt(e),"isSelectingRangeEnd",(function(){var t;if(!e.isInSelectingRange())return!1;var n=e.props,r=n.day,o=n.endDate,i=n.selectsEnd,a=n.selectsRange,s=null!==(t=e.props.selectingDate)&&void 0!==t?t:e.props.preSelection;return on(r,i||a?s:o)})),Ot(Rt(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&on(r,n)})),Ot(Rt(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&on(o,n)})),Ot(Rt(e),"isWeekend",(function(){var t=De.default(e.props.day);return 0===t||6===t})),Ot(Rt(e),"isAfterMonth",(function(){return void 0!==e.props.month&&(e.props.month+1)%12===Be.default(e.props.day)})),Ot(Rt(e),"isBeforeMonth",(function(){return void 0!==e.props.month&&(Be.default(e.props.day)+1)%12===e.props.month})),Ot(Rt(e),"isCurrentDay",(function(){return e.isSameDay(Ht())})),Ot(Rt(e),"isSelected",(function(){return e.isSameDay(e.props.selected)})),Ot(Rt(e),"getClassNames",(function(t){var n=e.props.dayClassName?e.props.dayClassName(t):void 0;return ge.default("react-datepicker__day",n,"react-datepicker__day--"+Zt(e.props.day),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSelected(),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isCurrentDay(),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isAfterMonth()||e.isBeforeMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"))})),Ot(Rt(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,o=void 0===r?"Choose":r,i=t.ariaLabelPrefixWhenDisabled,a=void 0===i?"Not available":i,s=e.isDisabled()||e.isExcluded()?a:o;return"".concat(s," ").concat(qt(n,"PPPP",e.props.locale))})),Ot(Rt(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,o=n||e.props.preSelection;return e.isKeyboardSelected()||e.isSameDay(r)&&on(o,r)?0:-1})),Ot(Rt(e),"handleFocusDay",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus({preventScroll:!0})})),Ot(Rt(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(je.default(e.props.day),e.props.day):je.default(e.props.day)})),Ot(Rt(e),"render",(function(){return me.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option","aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()},e.renderDayContents())})),e}return kt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(me.default.Component),Wn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),e}return kt(n,[{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,r=void 0===n?"week ":n,o={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick};return me.default.createElement("div",{className:ge.default(o),"aria-label":"".concat(r," ").concat(this.props.weekNumber),onClick:this.handleClick},t)}}]),n}(me.default.Component),Yn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),Ot(Rt(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),Ot(Rt(e),"handleWeekClick",(function(t,n,r){"function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),Ot(Rt(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):Yt(t)})),Ot(Rt(e),"renderDays",(function(){var t=$t(e.props.day,e.props.locale,e.props.calendarStartDay),n=[],r=e.formatWeekNumber(t);if(e.props.showWeekNumber){var o=e.props.onWeekSelect?e.handleWeekClick.bind(Rt(e),t,r):void 0;n.push(me.default.createElement(Wn,{key:"W",weekNumber:r,onClick:o,ariaLabelPrefix:e.props.ariaLabelPrefix}))}return n.concat([0,1,2,3,4,5,6].map((function(n){var r=Ce.default(t,n);return me.default.createElement(Gn,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:r.valueOf(),day:r,month:e.props.month,onClick:e.handleDayClick.bind(Rt(e),r),onMouseEnter:e.handleDayMouseEnter.bind(Rt(e),r),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart,locale:e.props.locale})})))})),e}return kt(n,[{key:"render",value:function(){return me.default.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),n}(me.default.Component),Zn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"MONTH_REFS",Nt(Array(12)).map((function(){return me.default.createRef()}))),Ot(Rt(e),"QUARTER_REFS",Nt(Array(4)).map((function(){return me.default.createRef()}))),Ot(Rt(e),"isDisabled",(function(t){return fn(t,e.props)})),Ot(Rt(e),"isExcluded",(function(t){return hn(t,e.props)})),Ot(Rt(e),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),Ot(Rt(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),Ot(Rt(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),Ot(Rt(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&nn(Ge.default(r,t),o)})),Ot(Rt(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&rn(We.default(r,t),o)})),Ot(Rt(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&nn(Ge.default(r,t),i)})),Ot(Rt(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&rn(We.default(r,t),i)})),Ot(Rt(e),"isWeekInMonth",(function(t){var n=e.props.day,r=Ce.default(t,6);return nn(t,n)||nn(r,n)})),Ot(Rt(e),"isCurrentMonth",(function(e,t){return Ue.default(e)===Ue.default(Ht())&&t===Be.default(Ht())})),Ot(Rt(e),"isCurrentQuarter",(function(e,t){return Ue.default(e)===Ue.default(Ht())&&t===Fe.default(Ht())})),Ot(Rt(e),"isSelectedMonth",(function(e,t,n){return Be.default(e)===t&&Ue.default(e)===Ue.default(n)})),Ot(Rt(e),"isSelectedQuarter",(function(e,t,n){return Fe.default(e)===t&&Ue.default(e)===Ue.default(n)})),Ot(Rt(e),"renderWeeks",(function(){for(var t=[],n=e.props.fixedHeight,r=0,o=!1,i=$t(Qt(e.props.day),e.props.locale,e.props.calendarStartDay);t.push(me.default.createElement(Yn,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:r,day:i,month:Be.default(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,excludeDateIntervals:e.props.excludeDateIntervals,includeDates:e.props.includeDates,includeDateIntervals:e.props.includeDateIntervals,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,selectsDisabledDaysInRange:e.props.selectsDisabledDaysInRange,showWeekNumber:e.props.showWeekNumbers,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,calendarStartDay:e.props.calendarStartDay,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart})),!o;){r++,i=Se.default(i,1);var a=n&&r>=6,s=!n&&!e.isWeekInMonth(i);if(a||s){if(!e.props.peekNextMonth)break;o=!0}}return t})),Ot(Rt(e),"onMonthClick",(function(t,n){e.handleDayClick(Qt(Ge.default(e.props.day,n)),t)})),Ot(Rt(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),Ot(Rt(e),"onMonthKeyDown",(function(t,n){t.preventDefault();var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onMonthClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,Ee.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,Ae.default(e.props.preSelection,1));break;case"ArrowUp":e.handleMonthNavigation(n>=0&&n<=2?n+9:n-3,Ae.default(e.props.preSelection,3));break;case"ArrowDown":e.handleMonthNavigation(n>=9&&n<=11?n-9:n+3,Ee.default(e.props.preSelection,3))}})),Ot(Rt(e),"onQuarterClick",(function(t,n){e.handleDayClick(Jt(We.default(e.props.day,n)),t)})),Ot(Rt(e),"handleQuarterNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())})),Ot(Rt(e),"onQuarterKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onQuarterClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===n?1:n+1,xe.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===n?4:n-1,Pe.default(e.props.preSelection,1))}})),Ot(Rt(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,u=n.monthClassName,d=n.excludeDates,p=n.includeDates,f=u?u(Ge.default(r,t)):void 0,h=Ge.default(r,t);return ge.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month--disabled":(s||l||d||p)&&mn(h,e.props),"react-datepicker__month--selected":e.isSelectedMonth(r,t,a),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&Be.default(c)===t,"react-datepicker__month--in-range":gn(o,i,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--today":e.isCurrentMonth(r,t)})})),Ot(Rt(e),"getTabIndex",(function(t){var n=Be.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),Ot(Rt(e),"getQuarterTabIndex",(function(t){var n=Fe.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),Ot(Rt(e),"getAriaLabel",(function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,o=void 0===r?"Choose":r,i=n.disabledDayAriaLabelPrefix,a=void 0===i?"Not available":i,s=n.day,l=Ge.default(s,t),c=e.isDisabled(l)||e.isExcluded(l)?a:o;return"".concat(c," ").concat(qt(l,"MMMM yyyy"))})),Ot(Rt(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection;return ge.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(s||l)&&yn(We.default(r,t),e.props),"react-datepicker__quarter--selected":e.isSelectedQuarter(r,t,a),"react-datepicker__quarter-text--keyboard-selected":Fe.default(c)===t,"react-datepicker__quarter--in-range":bn(o,i,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),Ot(Rt(e),"renderMonths",(function(){var t=e.props,n=t.showFullMonthYearPicker,r=t.showTwoColumnMonthYearPicker,o=t.showFourColumnMonthYearPicker,i=t.locale,a=t.day,s=t.selected;return(o?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:r?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map((function(t,r){return me.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return me.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(a,t)?"date":void 0,"aria-selected":e.isSelectedMonth(a,t,s)},n?un(t,i):dn(t,i))})))}))})),Ot(Rt(e),"renderQuarters",(function(){var t=e.props,n=t.day,r=t.selected;return me.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,o){return me.default.createElement("div",{key:o,ref:e.QUARTER_REFS[o],role:"option",onClick:function(n){e.onQuarterClick(n,t)},onKeyDown:function(n){e.onQuarterKeyDown(n,t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(n,t)?"date":void 0},pn(t,e.props.locale))})))})),Ot(Rt(e),"getClassNames",(function(){var t=e.props;t.day;var n=t.selectingDate,r=t.selectsStart,o=t.selectsEnd,i=t.showMonthYearPicker,a=t.showQuarterYearPicker;return ge.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||o)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":a})})),e}return kt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,o=e.ariaLabelPrefix,i=void 0===o?"month ":o;return me.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(i," ").concat(qt(r,"yyyy-MM")),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(me.default.Component),Kn=function(e){At(n,e);var t=Mt(n);function n(){var e;Et(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return Ot(Rt(e=t.call.apply(t,[this].concat(o))),"state",{height:null}),Ot(Rt(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&Sn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&Cn(t,e.props)||e.props.onChange(t)})),Ot(Rt(e),"isSelectedTime",(function(t,n,r){return e.props.selected&&n===Ne.default(t)&&r===Me.default(t)})),Ot(Rt(e),"liClasses",(function(t,n,r){var o=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t,n,r):void 0];return e.isSelectedTime(t,n,r)&&o.push("react-datepicker__time-list-item--selected"),((e.props.minTime||e.props.maxTime)&&Sn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&Cn(t,e.props))&&o.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*Ne.default(t)+Me.default(t))%e.props.intervals!=0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")})),Ot(Rt(e),"handleOnKeyDown",(function(t,n){" "===t.key&&(t.preventDefault(),t.key="Enter"),"Enter"===t.key&&e.handleClick(n),e.props.handleOnKeyDown(t)})),Ot(Rt(e),"renderTimes",(function(){for(var t=[],n=e.props.format?e.props.format:"p",r=e.props.intervals,o=Kt(Ht(e.props.selected)),i=1440/r,a=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),s=e.props.selected||e.props.openToDate||Ht(),l=Ne.default(s),c=Me.default(s),u=qe.default(ze.default(o,c),l),d=0;d<i;d++){var p=_e.default(o,d*r);if(t.push(p),a){var f=Rn(o,p,d,r,a);t=t.concat(f)}}return t.map((function(t,r){return me.default.createElement("li",{key:r,onClick:e.handleClick.bind(Rt(e),t),className:e.liClasses(t,l,c),ref:function(n){(ft.default(t,u)||an(t,u))&&(e.centerLi=n)},onKeyDown:function(n){e.handleOnKeyDown(n,t)},tabIndex:"0","aria-selected":e.isSelectedTime(t,l,c)?"true":void 0},qt(t,n,e.props.locale))}))})),e}return kt(n,[{key:"componentDidMount",value:function(){this.list.scrollTop=this.centerLi&&n.calcCenterPosition(this.props.monthRef?this.props.monthRef.clientHeight-this.header.clientHeight:this.list.clientHeight,this.centerLi),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return me.default.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},me.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){e.header=t}},me.default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),me.default.createElement("div",{className:"react-datepicker__time"},me.default.createElement("div",{className:"react-datepicker__time-box"},me.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{},tabIndex:"0"},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),n}(me.default.Component);Ot(Kn,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var $n=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),Ot(Rt(r=t.call(this,e)),"YEAR_REFS",Nt(Array(r.props.yearItemNumber)).map((function(){return me.default.createRef()}))),Ot(Rt(r),"isDisabled",(function(e){return fn(e,r.props)})),Ot(Rt(r),"isExcluded",(function(e){return hn(e,r.props)})),Ot(Rt(r),"updateFocusOnPaginate",(function(e){var t=function(){this.YEAR_REFS[e].current.focus()}.bind(Rt(r));window.requestAnimationFrame(t)})),Ot(Rt(r),"handleYearClick",(function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)})),Ot(Rt(r),"handleYearNavigation",(function(e,t){var n=r.props,o=n.date,i=n.yearItemNumber,a=Mn(o,i).startPeriod;r.isDisabled(t)||r.isExcluded(t)||(r.props.setPreSelection(t),e-a==-1?r.updateFocusOnPaginate(i-1):e-a===i?r.updateFocusOnPaginate(0):r.YEAR_REFS[e-a].current.focus())})),Ot(Rt(r),"isSameDay",(function(e,t){return on(e,t)})),Ot(Rt(r),"isCurrentYear",(function(e){return e===Ue.default(Ht())})),Ot(Rt(r),"isKeyboardSelected",(function(e){var t=Xt(Ye.default(r.props.date,e));return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!on(t,Xt(r.props.selected))&&on(t,Xt(r.props.preSelection))})),Ot(Rt(r),"onYearClick",(function(e,t){var n=r.props.date;r.handleYearClick(Xt(Ye.default(n,t)),e)})),Ot(Rt(r),"onYearKeyDown",(function(e,t){var n=e.key;if(!r.props.disabledKeyboardNavigation)switch(n){case"Enter":r.onYearClick(e,t),r.props.setPreSelection(r.props.selected);break;case"ArrowRight":r.handleYearNavigation(t+1,ke.default(r.props.preSelection,1));break;case"ArrowLeft":r.handleYearNavigation(t-1,Re.default(r.props.preSelection,1))}})),Ot(Rt(r),"getYearClassNames",(function(e){var t=r.props,n=t.minDate,o=t.maxDate,i=t.selected,a=t.excludeDates,s=t.includeDates,l=t.filterDate;return ge.default("react-datepicker__year-text",{"react-datepicker__year-text--selected":e===Ue.default(i),"react-datepicker__year-text--disabled":(n||o||a||s||l)&&vn(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--today":r.isCurrentYear(e)})})),Ot(Rt(r),"getYearTabIndex",(function(e){return r.props.disabledKeyboardNavigation?"-1":e===Ue.default(r.props.preSelection)?"0":"-1"})),r}return kt(n,[{key:"render",value:function(){for(var e=this,t=[],n=this.props,r=Mn(n.date,n.yearItemNumber),o=r.startPeriod,i=r.endPeriod,a=function(n){t.push(me.default.createElement("div",{ref:e.YEAR_REFS[n-o],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){e.onYearKeyDown(t,n)},tabIndex:e.getYearTabIndex(n),className:e.getYearClassNames(n),key:n,"aria-current":e.isCurrentYear(n)?"date":void 0},n))},s=o;s<=i;s++)a(s);return me.default.createElement("div",{className:"react-datepicker__year"},me.default.createElement("div",{className:"react-datepicker__year-wrapper"},t))}}]),n}(me.default.Component),Qn=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),Ot(Rt(r=t.call(this,e)),"onTimeChange",(function(e){r.setState({time:e});var t=new Date;t.setHours(e.split(":")[0]),t.setMinutes(e.split(":")[1]),r.props.onChange(t)})),Ot(Rt(r),"renderTimeInput",(function(){var e=r.state.time,t=r.props,n=t.date,o=t.timeString,i=t.customTimeInput;return i?me.default.cloneElement(i,{date:n,value:e,onChange:r.onTimeChange}):me.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})})),r.state={time:r.props.timeString},r}return kt(n,[{key:"render",value:function(){return me.default.createElement("div",{className:"react-datepicker__input-time-container"},me.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),me.default.createElement("div",{className:"react-datepicker-time__input-container"},me.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.timeString!==t.time?{time:e.timeString}:null}}]),n}(me.default.Component);function Xn(e){var t=e.className,n=e.children,r=e.showPopperArrow,o=e.arrowProps,i=void 0===o?{}:o;return me.default.createElement("div",{className:t},r&&me.default.createElement("div",Tt({className:"react-datepicker__triangle"},i)),n)}var Jn=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],er=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),Ot(Rt(r=t.call(this,e)),"handleClickOutside",(function(e){r.props.onClickOutside(e)})),Ot(Rt(r),"setClickOutsideRef",(function(){return r.containerRef.current})),Ot(Rt(r),"handleDropdownFocus",(function(e){(function(){var e=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Jn.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),Ot(Rt(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,o=e.openToDate,i=Tn(r.props),a=An(r.props),s=Ht();return o||n||t||(i&&ft.default(s,i)?i:a&&pt.default(s,a)?a:s)})),Ot(Rt(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:Ee.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),Ot(Rt(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:Ae.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),Ot(Rt(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),Ot(Rt(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),Ot(Rt(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),Ot(Rt(r),"handleYearChange",(function(e){r.props.onYearChange&&(r.props.onYearChange(e),r.setState({isRenderAriaLiveMessage:!0})),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),Ot(Rt(r),"handleMonthChange",(function(e){r.props.onMonthChange&&(r.props.onMonthChange(e),r.setState({isRenderAriaLiveMessage:!0})),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),Ot(Rt(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),Ot(Rt(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:Ye.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),Ot(Rt(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Ge.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),Ot(Rt(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:Ye.default(Ge.default(n,Be.default(e)),Ue.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),Ot(Rt(r),"header",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=$t(e,r.props.locale,r.props.calendarStartDay),n=[];return r.props.showWeekNumbers&&n.push(me.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),n.concat([0,1,2,3,4,5,6].map((function(e){var n=Ce.default(t,e),o=r.formatWeekday(n,r.props.locale),i=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return me.default.createElement("div",{key:e,className:ge.default("react-datepicker__day-name",i)},o)})))})),Ot(Rt(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(qt(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return qt(e,"EEE",t)}(e,t):function(e,t){return qt(e,"EEEEEE",t)}(e,t)})),Ot(Rt(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:Re.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),Ot(Rt(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=kn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,o=void 0===r?12:r,i=Mn(Xt(Re.default(e,o)),o).endPeriod,a=n&&Ue.default(n);return a&&a>i||!1}(r.state.date,r.props);break;default:e=En(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,i=r.props,a=i.previousMonthButtonLabel,s=i.previousYearButtonLabel,l=r.props,c=l.previousMonthAriaLabel,u=void 0===c?"string"==typeof a?a:"Previous Month":c,d=l.previousYearAriaLabel,p=void 0===d?"string"==typeof s?s:"Previous Year":d;return me.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?p:u},me.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},o?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel))}}})),Ot(Rt(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:ke.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),Ot(Rt(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=On(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,o=void 0===r?12:r,i=Mn(ke.default(e,o),o).startPeriod,a=n&&Ue.default(n);return a&&a<i||!1}(r.state.date,r.props);break;default:e=xn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];r.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var n=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.increaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,i=r.props,a=i.nextMonthButtonLabel,s=i.nextYearButtonLabel,l=r.props,c=l.nextMonthAriaLabel,u=void 0===c?"string"==typeof a?a:"Next Month":c,d=l.nextYearAriaLabel,p=void 0===d?"string"==typeof s?s:"Next Year":d;return me.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?p:u},me.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},o?r.props.nextYearButtonLabel:r.props.nextMonthButtonLabel))}}})),Ot(Rt(r),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),me.default.createElement("div",{className:t.join(" ")},qt(e,r.props.dateFormat,r.props.locale))})),Ot(Rt(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return me.default.createElement(Ln,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:Ue.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),Ot(Rt(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return me.default.createElement(Un,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Be.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),Ot(Rt(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return me.default.createElement(qn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),Ot(Rt(r),"handleTodayButtonClick",(function(e){r.props.onSelect(en(),e),r.props.setPreSelection&&r.props.setPreSelection(en())})),Ot(Rt(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return me.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.handleTodayButtonClick(e)}},r.props.todayButton)})),Ot(Rt(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return me.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),me.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),me.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),Ot(Rt(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=En(r.state.date,r.props),i=xn(r.state.date,r.props),a=kn(r.state.date,r.props),s=On(r.state.date,r.props),l=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return me.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(Ct(Ct({},r.state),{},{customHeaderCount:n,monthDate:t,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:i,prevYearButtonDisabled:a,nextYearButtonDisabled:s})),l&&me.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),Ot(Rt(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,o=Mn(e,t.yearItemNumber),i=o.startPeriod,a=o.endPeriod;return me.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(i," - ").concat(a):Ue.default(e))})),Ot(Rt(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),Ot(Rt(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e=[],t=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=Ae.default(r.state.date,t),o=0;o<r.props.monthsShown;++o){var i=o-r.props.monthSelectedIn,a=Ee.default(n,i),s="month-".concat(o),l=o<r.props.monthsShown-1,c=o>0;e.push(me.default.createElement("div",{key:s,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:a,i:o}),me.default.createElement(Zn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,ariaLabelPrefix:r.props.monthAriaLabelPrefix,onChange:r.changeMonthYear,day:a,dayClassName:r.props.dayClassName,calendarStartDay:r.props.calendarStartDay,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:l,monthShowsDuplicateDaysStart:c})))}return e}})),Ot(Rt(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?me.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),me.default.createElement($n,Tt({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),Ot(Rt(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return me.default.createElement(Kn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,handleOnKeyDown:r.props.handleOnKeyDown,showTimeSelectOnly:r.props.showTimeSelectOnly})})),Ot(Rt(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=zt(e)&&Boolean(r.props.selected)?"".concat(In(e.getHours()),":").concat(In(e.getMinutes())):"";if(r.props.showTimeInput)return me.default.createElement(Qn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),Ot(Rt(r),"renderAriaLiveRegion",(function(){var e,t=Mn(r.state.date,r.props.yearItemNumber),n=t.startPeriod,o=t.endPeriod;return e=r.props.showYearPicker?"".concat(n," - ").concat(o):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Ue.default(r.state.date):"".concat(un(Be.default(r.state.date),r.props.locale)," ").concat(Ue.default(r.state.date)),me.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&e)})),Ot(Rt(r),"renderChildren",(function(){if(r.props.children)return me.default.createElement("div",{className:"react-datepicker__children-container"},r.props.children)})),r.containerRef=me.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},r}return kt(n,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){!this.props.preSelection||on(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn?this.props.openToDate&&!on(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate}):this.setState({date:this.props.preSelection})}},{key:"render",value:function(){var e=this.props.container||Xn;return me.default.createElement("div",{ref:this.containerRef},me.default.createElement(e,{className:ge.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}]),n}(me.default.Component),tr=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return kt(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return bt.default.createPortal(this.props.children,this.el)}}]),n}(me.default.Component),nr=function(e){return!e.disabled&&-1!==e.tabIndex},rr=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),Ot(Rt(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(nr)})),Ot(Rt(r),"handleFocusStart",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),Ot(Rt(r),"handleFocusEnd",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[0].focus()})),r.tabLoopRef=me.default.createRef(),r}return kt(n,[{key:"render",value:function(){return this.props.enableTabLoop?me.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},me.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,me.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(me.default.Component),or=function(e){At(n,e);var t=Mt(n);function n(){return Et(this,n),t.apply(this,arguments)}return kt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,o=t.hidePopper,i=t.popperComponent,a=t.popperModifiers,s=t.popperPlacement,l=t.popperProps,c=t.targetComponent,u=t.enableTabLoop,d=t.popperOnKeyDown,p=t.portalId,f=t.portalHost;if(!o){var h=ge.default("react-datepicker-popper",n);e=me.default.createElement(pe.Popper,Tt({modifiers:a,placement:s},l),(function(e){var t=e.ref,n=e.style,r=e.placement,o=e.arrowProps;return me.default.createElement(rr,{enableTabLoop:u},me.default.createElement("div",{ref:t,style:n,className:h,"data-placement":r,onKeyDown:d},me.default.cloneElement(i,{arrowProps:o})))}))}this.props.popperContainer&&(e=me.default.createElement(this.props.popperContainer,{},e)),p&&!o&&(e=me.default.createElement(tr,{portalId:p,portalHost:f},e));var m=ge.default("react-datepicker-wrapper",r);return me.default.createElement(pe.Manager,{className:"react-datepicker-manager"},me.default.createElement(pe.Reference,null,(function(e){var t=e.ref;return me.default.createElement("div",{ref:t,className:m},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(me.default.Component),ir="react-datepicker-ignore-onclickoutside",ar=vt.default(er),sr="Date input not valid.",lr=function(e){At(n,e);var t=Mt(n);function n(e){var r;return Et(this,n),Ot(Rt(r=t.call(this,e)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Ht()})),Ot(Rt(r),"calcInitialState",(function(){var e,t=r.getPreSelection(),n=Tn(r.props),o=An(r.props),i=n&&ft.default(t,Je.default(n))?n:o&&pt.default(t,ot.default(o))?o:t;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=r.props.selectsRange?r.props.startDate:r.props.selected)&&void 0!==e?e:i,highlightDates:Pn(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}})),Ot(Rt(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),Ot(Rt(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),Ot(Rt(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),Ot(Rt(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:ur},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),Ot(Rt(r),"inputOk",(function(){return ye.default(r.state.preSelection)})),Ot(Rt(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),Ot(Rt(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),Ot(Rt(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),Ot(Rt(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),Ot(Rt(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),Ot(Rt(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),Ot(Rt(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),Ot(Rt(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0];if(!r.props.onChangeRaw||(r.props.onChangeRaw.apply(Rt(r),t),"function"==typeof o.isDefaultPrevented&&!o.isDefaultPrevented())){r.setState({inputValue:o.target.value,lastPreSelectChange:cr});var i=Vt(o.target.value,r.props.dateFormat,r.props.locale,r.props.strictParsing,r.props.minDate);r.props.showTimeSelectOnly&&!on(i,r.props.selected)&&(i=null==i?_t.default(r.props.selected,{hours:Ne.default(r.props.selected),minutes:Me.default(r.props.selected),seconds:Ie.default(r.props.selected)}):_t.default(r.props.selected,{hours:Ne.default(i),minutes:Me.default(i),seconds:Ie.default(i)})),!i&&o.target.value||r.setSelected(i,o,!0)}})),Ot(Rt(r),"handleSelect",(function(e,t,n){if(r.setState({preventFocus:!0},(function(){return r.preventFocusTimeout=setTimeout((function(){return r.setState({preventFocus:!1})}),50),r.preventFocusTimeout})),r.props.onChangeRaw&&r.props.onChangeRaw(t),r.setSelected(e,t,!1,n),r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect)r.setPreSelection(e);else if(!r.props.inline){r.props.selectsRange||r.setOpen(!1);var o=r.props,i=o.startDate,a=o.endDate;!i||a||ft.default(e,i)||r.setOpen(!1)}})),Ot(Rt(r),"setSelected",(function(e,t,n,o){var i=e;if(r.props.showYearPicker){if(null!==i&&vn(Ue.default(i),r.props))return}else if(r.props.showMonthYearPicker){if(null!==i&&mn(i,r.props))return}else if(null!==i&&fn(i,r.props))return;var a=r.props,s=a.onChange,l=a.selectsRange,c=a.startDate,u=a.endDate;if(!an(r.props.selected,i)||r.props.allowSameDay||l)if(null!==i&&(!r.props.selected||n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly||r.props.showTimeInput)||(i=Wt(i,{hour:Ne.default(r.props.selected),minute:Me.default(r.props.selected),second:Ie.default(r.props.selected)})),r.props.inline||r.setState({preSelection:i}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:o})),l){var d=c&&u;c||u?c&&!u&&(ft.default(i,c)?s([i,null],t):s([c,i],t)):s([i,null],t),d&&s([i,null],t)}else s(i,t);n||(r.props.onSelect(i,t),r.setState({inputValue:null}))})),Ot(Rt(r),"setPreSelection",(function(e){var t=void 0!==r.props.minDate,n=void 0!==r.props.maxDate,o=!0;if(e){var i=Je.default(e);if(t&&n)o=sn(e,r.props.minDate,r.props.maxDate);else if(t){var a=Je.default(r.props.minDate);o=pt.default(e,a)||an(i,a)}else if(n){var s=ot.default(r.props.maxDate);o=ft.default(e,s)||an(i,s)}}o&&r.setState({preSelection:e})})),Ot(Rt(r),"handleTimeChange",(function(e){var t=Wt(r.props.selected?r.props.selected:r.getPreSelection(),{hour:Ne.default(e),minute:Me.default(e)});r.setState({preSelection:t}),r.props.onChange(t),r.props.shouldCloseOnSelect&&r.setOpen(!1),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})})),Ot(Rt(r),"onInputClick",(function(){r.props.disabled||r.props.readOnly||r.setOpen(!0),r.props.onInputClick()})),Ot(Rt(r),"onInputKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key;if(r.state.open||r.props.inline||r.props.preventOpenOnFocus){if(r.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=r.calendar.componentNode&&r.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus({preventScroll:!0}))}var o=Ht(r.state.preSelection);"Enter"===t?(e.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===ur?(r.handleSelect(o,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(o)):r.setOpen(!1)):"Escape"===t&&(e.preventDefault(),r.setOpen(!1)),r.inputOk()||r.props.onInputError({code:1,msg:sr})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||r.onInputClick()})),Ot(Rt(r),"onPortalKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),Ot(Rt(r),"onDayKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key,n=Ht(r.state.preSelection);if("Enter"===t)e.preventDefault(),r.handleSelect(n,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(n);else if("Escape"===t)e.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:sr});else if(!r.props.disabledKeyboardNavigation){var o;switch(t){case"ArrowLeft":o=Oe.default(n,1);break;case"ArrowRight":o=Ce.default(n,1);break;case"ArrowUp":o=Te.default(n,1);break;case"ArrowDown":o=Se.default(n,1);break;case"PageUp":o=Ae.default(n,1);break;case"PageDown":o=Ee.default(n,1);break;case"Home":o=Re.default(n,1);break;case"End":o=ke.default(n,1)}if(!o)return void(r.props.onInputError&&r.props.onInputError({code:1,msg:sr}));if(e.preventDefault(),r.setState({lastPreSelectChange:ur}),r.props.adjustDateOnChange&&r.setSelected(o),r.setPreSelection(o),r.props.inline){var i=Be.default(n),a=Be.default(o),s=Ue.default(n),l=Ue.default(o);i!==a||s!==l?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}})),Ot(Rt(r),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),Ot(Rt(r),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),r.props.selectsRange?r.props.onChange([null,null],e):r.props.onChange(null,e),r.setState({inputValue:null})})),Ot(Rt(r),"clear",(function(){r.onClearClick()})),Ot(Rt(r),"onScroll",(function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)})),Ot(Rt(r),"renderCalendar",(function(){return r.props.inline||r.isCalendarOpen()?me.default.createElement(ar,{ref:function(e){r.calendar=e},locale:r.props.locale,calendarStartDay:r.props.calendarStartDay,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,monthAriaLabelPrefix:r.props.monthAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,includeDates:r.props.includeDates,includeDateIntervals:r.props.includeDateIntervals,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:ir,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthAriaLabel:r.props.previousMonthAriaLabel,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthAriaLabel:r.props.nextMonthAriaLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearAriaLabel:r.props.previousYearAriaLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearAriaLabel:r.props.nextYearAriaLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,selectsDisabledDaysInRange:r.props.selectsDisabledDaysInRange,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showPopperArrow:r.props.showPopperArrow,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection},r.props.children):null})),Ot(Rt(r),"renderAriaLiveRegion",(function(){var e,t=r.props,n=t.dateFormat,o=t.locale,i=r.props.showTimeInput||r.props.showTimeSelect?"PPPPp":"PPPP";return e=r.props.selectsRange?"Selected start date: ".concat(Gt(r.props.startDate,{dateFormat:i,locale:o}),". ").concat(r.props.endDate?"End date: "+Gt(r.props.endDate,{dateFormat:i,locale:o}):""):r.props.showTimeSelectOnly?"Selected time: ".concat(Gt(r.props.selected,{dateFormat:n,locale:o})):r.props.showYearPicker?"Selected year: ".concat(Gt(r.props.selected,{dateFormat:"yyyy",locale:o})):r.props.showMonthYearPicker?"Selected month: ".concat(Gt(r.props.selected,{dateFormat:"MMMM yyyy",locale:o})):r.props.showQuarterYearPicker?"Selected quarter: ".concat(Gt(r.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(Gt(r.props.selected,{dateFormat:i,locale:o})),me.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&e)})),Ot(Rt(r),"renderDateInput",(function(){var e,t=ge.default(r.props.className,Ot({},ir,r.state.open)),n=r.props.customInput||me.default.createElement("input",{type:"text"}),o=r.props.customInputRef||"ref",i="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:r.props.selectsRange?function(e,t,n){if(!e)return"";var r=Gt(e,n),o=t?Gt(t,n):"";return"".concat(r," - ").concat(o)}(r.props.startDate,r.props.endDate,r.props):Gt(r.props.selected,r.props);return me.default.cloneElement(n,(Ot(e={},o,(function(e){r.input=e})),Ot(e,"value",i),Ot(e,"onBlur",r.handleBlur),Ot(e,"onChange",r.handleChange),Ot(e,"onClick",r.onInputClick),Ot(e,"onFocus",r.handleFocus),Ot(e,"onKeyDown",r.onInputKeyDown),Ot(e,"id",r.props.id),Ot(e,"name",r.props.name),Ot(e,"form",r.props.form),Ot(e,"autoFocus",r.props.autoFocus),Ot(e,"placeholder",r.props.placeholderText),Ot(e,"disabled",r.props.disabled),Ot(e,"autoComplete",r.props.autoComplete),Ot(e,"className",ge.default(n.props.className,t)),Ot(e,"title",r.props.title),Ot(e,"readOnly",r.props.readOnly),Ot(e,"required",r.props.required),Ot(e,"tabIndex",r.props.tabIndex),Ot(e,"aria-describedby",r.props.ariaDescribedBy),Ot(e,"aria-invalid",r.props.ariaInvalid),Ot(e,"aria-labelledby",r.props.ariaLabelledBy),Ot(e,"aria-required",r.props.ariaRequired),e))})),Ot(Rt(r),"renderClearButton",(function(){var e=r.props,t=e.isClearable,n=e.selected,o=e.startDate,i=e.endDate,a=e.clearButtonTitle,s=e.clearButtonClassName,l=void 0===s?"":s,c=e.ariaLabelClose,u=void 0===c?"Close":c;return!t||null==n&&null==o&&null==i?null:me.default.createElement("button",{type:"button",className:"react-datepicker__close-icon ".concat(l).trim(),"aria-label":u,onClick:r.onClearClick,title:a,tabIndex:-1})})),r.state=r.calcInitialState(),r}return kt(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?Be.default(n)!==Be.default(r)||Ue.default(n)!==Ue.default(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:Pn(this.props.highlightDates)}),t.focused||an(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props.showIcon;return me.default.createElement("div",{className:"react-datepicker__input-container ".concat(e?"react-datepicker__view-calendar-icon":"")},e&&me.default.createElement("svg",{className:"react-datepicker__calendar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},me.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"})),this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?me.default.createElement(rr,{enableTabLoop:this.props.enableTabLoop},me.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=me.default.createElement(tr,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),me.default.createElement("div",null,this.renderInputContainer(),t)}return me.default.createElement(or,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,renderDayContents:function(e){return e},focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0}}}]),n}(me.default.Component),cr="input",ur="navigate";e.CalendarContainer=Xn,e.default=lr,e.getDefaultLocale=ln,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}))},30124:(e,t,n)=>{function r(e){return(r="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)}n(66992),n(51532),n(41539),n(78783),n(33948),n(70189),n(18264),n(24603),n(74916),n(39714),n(92087),n(47941),n(4723),n(82526),n(41817),n(32165);var o="undefined"!=typeof Element,i="function"==typeof Map,a="function"==typeof Set,s="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==r(t)&&"object"==r(n)){if(t.constructor!==n.constructor)return!1;var l,c,u,d;if(Array.isArray(t)){if((l=t.length)!=n.length)return!1;for(c=l;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(i&&t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(d=t.entries();!(c=d.next()).done;)if(!n.has(c.value[0]))return!1;for(d=t.entries();!(c=d.next()).done;)if(!e(c.value[1],n.get(c.value[0])))return!1;return!0}if(a&&t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(d=t.entries();!(c=d.next()).done;)if(!n.has(c.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((l=t.length)!=n.length)return!1;for(c=l;0!=c--;)if(t[c]!==n[c])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof n.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof n.toString)return t.toString()===n.toString();if((l=(u=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(c=l;0!=c--;)if(!Object.prototype.hasOwnProperty.call(n,u[c]))return!1;if(o&&t instanceof Element)return!1;for(c=l;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!e(t[u[c]],n[u[c]]))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},6034:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m,IGNORE_CLASS_NAME:()=>f});n(47941),n(68309),n(54747);var r=n(10097);function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var s,l,c=(void 0===s&&(s=0),function(){return++s}),u={},d={},p=["touchstart","touchmove"],f="ignore-react-onclickoutside";function h(e,t){var n={};return-1!==p.indexOf(t)&&l&&(n.passive=!e.props.preventDefault),n}const m=function(e,t){var n,s,p=e.displayName||e.name||"Component";return s=n=function(n){var s,f;function m(e){var o;return(o=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof o.__clickOutsideHandlerProp){var t=o.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+p+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else o.__clickOutsideHandlerProp(e)},o.__getComponentNode=function(){var e=o.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,r.findDOMNode)(e)},o.enableOnClickOutside=function(){if("undefined"!=typeof document&&!d[o._uid]){void 0===l&&(l=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),d[o._uid]=!0;var e=o.props.eventTypes;e.forEach||(e=[e]),u[o._uid]=function(e){var t;null!==o.componentNode&&(o.props.preventDefault&&e.preventDefault(),o.props.stopPropagation&&e.stopPropagation(),o.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&a(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,o.componentNode,o.props.outsideClickIgnoreClass)===document&&o.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,u[o._uid],h(i(o),e))}))}},o.disableOnClickOutside=function(){delete d[o._uid];var e=u[o._uid];if(e&&"undefined"!=typeof document){var t=o.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,h(i(o),t))})),delete u[o._uid]}},o.getRef=function(e){return o.instanceRef=e},o._uid=c(),o}f=n,(s=m).prototype=Object.create(f.prototype),s.prototype.constructor=s,o(s,f);var g=m.prototype;return g.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},g.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+p+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},g.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},g.componentWillUnmount=function(){this.disableOnClickOutside()},g.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},m}(r.Component),n.displayName="OnClickOutside("+p+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:f,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},s}},25984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Manager:()=>a,Popper:()=>Oe,Reference:()=>Pe,usePopper:()=>Se});n(41539),n(92222);var r=n(10097),o=r.createContext(),i=r.createContext();function a(e){var t=e.children,n=r.useState(null),a=n[0],s=n[1],l=r.useRef(!1);r.useEffect((function(){return function(){l.current=!0}}),[]);var c=r.useCallback((function(e){l.current||s(e)}),[]);return r.createElement(o.Provider,{value:a},r.createElement(i.Provider,{value:c},t))}var s=function(e){return Array.isArray(e)?e[0]:e},l=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},c=function(e,t){if("function"==typeof e)return l(e,t);null!=e&&(e.current=t)},u=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},d="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect;n(47941),n(21249),n(19601),n(57327),n(68309),n(69826),n(69600),n(54747),n(39714);function p(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){return e instanceof p(e).Element||e instanceof Element}function h(e){return e instanceof p(e).HTMLElement||e instanceof HTMLElement}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof p(e).ShadowRoot||e instanceof ShadowRoot)}var g=Math.max,y=Math.min,v=Math.round;function b(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function _(){return!/^((?!chrome|android).)*safari/i.test(b())}function w(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&h(e)&&(o=e.offsetWidth>0&&v(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&v(r.height)/e.offsetHeight||1);var a=(f(e)?p(e):window).visualViewport,s=!_()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function C(e){var t=p(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function S(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){return((f(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return w(E(e)).left+C(e).scrollLeft}function k(e){return p(e).getComputedStyle(e)}function O(e){var t=k(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function T(e,t,n){void 0===n&&(n=!1);var r,o,i=h(t),a=h(t)&&function(e){var t=e.getBoundingClientRect(),n=v(t.width)/e.offsetWidth||1,r=v(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=E(t),l=w(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==S(t)||O(s))&&(c=(r=t)!==p(r)&&h(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),h(t)?((u=w(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=x(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function A(e){var t=w(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function P(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||E(e)}function R(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf(S(t))>=0?t.ownerDocument.body:h(t)&&O(t)?t:e(P(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=p(r),a=o?[i].concat(i.visualViewport||[],O(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(R(P(a)))}function I(e){return["table","td","th"].indexOf(S(e))>=0}function M(e){return h(e)&&"fixed"!==k(e).position?e.offsetParent:null}function N(e){for(var t=p(e),n=M(e);n&&I(n)&&"static"===k(n).position;)n=M(n);return n&&("html"===S(n)||"body"===S(n)&&"static"===k(n).position)?t:n||function(e){var t=/firefox/i.test(b());if(/Trident/i.test(b())&&h(e)&&"fixed"===k(e).position)return null;var n=P(e);for(m(n)&&(n=n.host);h(n)&&["html","body"].indexOf(S(n))<0;){var r=k(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}n(66992),n(51532),n(78783),n(33948),n(70189);var D="top",j="bottom",L="right",B="left",F=[D,j,L,B],U=F.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),H=[].concat(F,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function z(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function W(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?q:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:f(e)?R(e):e.contextElement?R(e.contextElement):[],popper:R(t)};var a=function(e){var t=z(e);return V.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r});l.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(G(t,n)){s.rects={reference:T(t,N(n),"fixed"===s.options.strategy),popper:A(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),c=!0}};if(!G(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Y={passive:!0};const Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=p(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Y)})),s&&l.addEventListener("resize",n.update,Y),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Y)})),s&&l.removeEventListener("resize",n.update,Y)}},data:{}};n(74916),n(23123);function K(e){return e.split("-")[0]}function $(e){return e.split("-")[1]}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?K(o):null,a=o?$(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case D:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:l};break;case B:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Q(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case"start":t[c]=t[c]-(n[u]/2-r[u]/2);break;case"end":t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}const J={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,h=void 0===f?0:f,m=a.y,g=void 0===m?0:m,y="function"==typeof u?u({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var b=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),w=B,C=D,S=window;if(c){var x=N(n),O="clientHeight",T="clientWidth";if(x===p(n)&&"static"!==k(x=E(n)).position&&"absolute"===s&&(O="scrollHeight",T="scrollWidth"),x=x,o===D||(o===B||o===L)&&"end"===i)C=j,g-=(d&&x===S&&S.visualViewport?S.visualViewport.height:x[O])-r.height,g*=l?1:-1;if(o===B||(o===D||o===j)&&"end"===i)w=L,h-=(d&&x===S&&S.visualViewport?S.visualViewport.width:x[T])-r.width,h*=l?1:-1}var A,P=Object.assign({position:s},c&&ee),R=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:v(n*o)/o||0,y:v(r*o)/o||0}}({x:h,y:g},p(n)):{x:h,y:g};return h=R.x,g=R.y,l?Object.assign({},P,((A={})[C]=_?"0":"",A[w]=b?"0":"",A.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",A)):Object.assign({},P,((t={})[C]=_?g+"px":"",t[w]=b?h+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:K(t.placement),variation:$(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const re={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];h(o)&&S(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});h(r)&&S(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=H.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),o=[B,D].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[B,L].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};n(47042),n(15306);var ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var se={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&m(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ue(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function de(e,t,n){return"viewport"===t?ue(function(e,t){var n=p(e),r=E(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=_();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+x(e),y:l}}(e,n)):f(t)?function(e,t){var n=w(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ue(function(e){var t,n=E(e),r=C(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=g(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=g(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+x(e),l=-r.scrollTop;return"rtl"===k(o||n).direction&&(s+=g(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(E(e)))}function pe(e,t,n,r){var o="clippingParents"===t?function(e){var t=R(P(e)),n=["absolute","fixed"].indexOf(k(e).position)>=0&&h(e)?N(e):e;return f(n)?t.filter((function(e){return f(e)&&ce(e,n)&&"body"!==S(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=de(e,n,r);return t.top=g(o.top,t.top),t.right=y(o.right,t.right),t.bottom=y(o.bottom,t.bottom),t.left=g(o.left,t.left),t}),de(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function fe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function he(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function me(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?"viewport":c,d=n.elementContext,p=void 0===d?"popper":d,h=n.altBoundary,m=void 0!==h&&h,g=n.padding,y=void 0===g?0:g,v=fe("number"!=typeof y?y:he(y,F)),b="popper"===p?"reference":"popper",_=e.rects.popper,C=e.elements[m?b:p],S=pe(f(C)?C:C.contextElement||E(e.elements.popper),l,u,a),x=w(e.elements.reference),k=X({reference:x,element:_,strategy:"absolute",placement:o}),O=ue(Object.assign({},_,k)),T="popper"===p?O:x,A={top:S.top-T.top+v.top,bottom:T.bottom-S.bottom+v.bottom,left:S.left-T.left+v.left,right:T.right-S.right+v.right},P=e.modifiersData.offset;if("popper"===p&&P){var R=P[o];Object.keys(A).forEach((function(e){var t=[L,j].indexOf(e)>=0?1:-1,n=[D,j].indexOf(e)>=0?"y":"x";A[e]+=R[n]*t}))}return A}n(2707);function ge(e,t,n){return g(e,y(t,n))}function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ve(e){return[D,L,j,B].some((function(t){return e[t]>=0}))}var be=W({defaultModifiers:[Z,J,ne,re,oe,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,y=K(g),v=l||(y===g||!h?[ae(g)]:function(e){if("auto"===K(e))return[];var t=ae(e);return[le(e),t,le(t)]}(g)),b=[g].concat(v).reduce((function(e,n){return e.concat("auto"===K(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?H:l,u=$(r),d=u?s?U:U.filter((function(e){return $(e)===u})):F,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=me(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[K(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),_=t.rects.reference,w=t.rects.popper,C=new Map,S=!0,E=b[0],x=0;x<b.length;x++){var k=b[x],O=K(k),T="start"===$(k),A=[D,j].indexOf(O)>=0,P=A?"width":"height",R=me(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),I=A?T?L:B:T?j:D;_[P]>w[P]&&(I=ae(I));var M=ae(I),N=[];if(i&&N.push(R[O]<=0),s&&N.push(R[I]<=0,R[M]<=0),N.every((function(e){return e}))){E=k,S=!1;break}C.set(k,N)}if(S)for(var V=function(e){var t=b.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},z=h?3:1;z>0;z--){if("break"===V(z))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=me(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=K(t.placement),_=$(t.placement),w=!_,C=Q(b),S="x"===C?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,k=t.rects.popper,O="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,T="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(E){if(i){var I,M="y"===C?D:B,F="y"===C?j:L,U="y"===C?"height":"width",H=E[C],V=H+v[M],z=H-v[F],q=f?-k[U]/2:0,G="start"===_?x[U]:k[U],W="start"===_?-k[U]:-x[U],Y=t.elements.arrow,Z=f&&Y?A(Y):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=X[M],ee=X[F],te=ge(0,x[U],Z[U]),ne=w?x[U]/2-q-te-J-T.mainAxis:G-te-J-T.mainAxis,re=w?-x[U]/2+q+te+ee+T.mainAxis:W+te+ee+T.mainAxis,oe=t.elements.arrow&&N(t.elements.arrow),ie=oe?"y"===C?oe.clientTop||0:oe.clientLeft||0:0,ae=null!=(I=null==P?void 0:P[C])?I:0,se=H+re-ae,le=ge(f?y(V,H+ne-ae-ie):V,H,f?g(z,se):z);E[C]=le,R[C]=le-H}if(s){var ce,ue="x"===C?D:B,de="x"===C?j:L,pe=E[S],fe="y"===S?"height":"width",he=pe+v[ue],ye=pe-v[de],ve=-1!==[D,B].indexOf(b),be=null!=(ce=null==P?void 0:P[S])?ce:0,_e=ve?he:pe-x[fe]-k[fe]-be+T.altAxis,we=ve?pe+x[fe]+k[fe]-be-T.altAxis:ye,Ce=f&&ve?function(e,t,n){var r=ge(e,t,n);return r>n?n:r}(_e,pe,we):ge(f?_e:he,pe,f?we:ye);E[S]=Ce,R[S]=Ce-pe}t.modifiersData[r]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=K(n.placement),l=Q(s),c=[B,L].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return fe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:he(e,F))}(o.padding,n),d=A(i),p="y"===l?D:B,f="y"===l?j:L,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=N(i),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=u[p],_=y-d[c]-u[f],w=y/2-d[c]/2+v,C=ge(b,w,_),S=l;n.modifiersData[r]=((t={})[S]=C,t.centerOffset=C-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ce(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=me(t,{elementContext:"reference"}),s=me(t,{altBoundary:!0}),l=ye(a,r),c=ye(s,o,i),u=ve(l),d=ve(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),_e=n(30124),we=n.n(_e),Ce=[],Se=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ce},a=r.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],l=a[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);r.flushSync((function(){l({styles:u(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:u(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),p=r.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return we()(o.current,e)?o.current||e:(o.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),f=r.useRef();return d((function(){f.current&&f.current.setOptions(p)}),[p]),d((function(){if(null!=e&&null!=t){var r=(n.createPopper||be)(e,t,p);return f.current=r,function(){r.destroy(),f.current=null}}}),[e,t,n.createPopper]),{state:f.current?f.current.state:null,styles:s.styles,attributes:s.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},Ee=function(){},xe=function(){return Promise.resolve(null)},ke=[];function Oe(e){var t=e.placement,n=void 0===t?"bottom":t,i=e.strategy,a=void 0===i?"absolute":i,l=e.modifiers,u=void 0===l?ke:l,d=e.referenceElement,p=e.onFirstUpdate,f=e.innerRef,h=e.children,m=r.useContext(o),g=r.useState(null),y=g[0],v=g[1],b=r.useState(null),_=b[0],w=b[1];r.useEffect((function(){c(f,y)}),[f,y]);var C=r.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:p,modifiers:[].concat(u,[{name:"arrow",enabled:null!=_,options:{element:_}}])}}),[n,a,p,u,_]),S=Se(d||m,y,C),E=S.state,x=S.styles,k=S.forceUpdate,O=S.update,T=r.useMemo((function(){return{ref:v,style:x.popper,placement:E?E.placement:n,hasPopperEscaped:E&&E.modifiersData.hide?E.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:E&&E.modifiersData.hide?E.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:x.arrow,ref:w},forceUpdate:k||Ee,update:O||xe}}),[v,w,n,E,x,O,k]);return s(h)(T)}var Te=n(98939),Ae=n.n(Te);function Pe(e){var t=e.children,n=e.innerRef,o=r.useContext(i),a=r.useCallback((function(e){c(n,e),l(o,e)}),[n,o]);return r.useEffect((function(){return function(){return c(n,null)}}),[]),r.useEffect((function(){Ae()(Boolean(o),"`Reference` should not be used outside of a `Manager` component.")}),[o]),s(t)({ref:a})}},87751:(e,t,n)=>{function r(e){return(r="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)}e=n.nmd(e),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),n(72443),n(39341),n(73706),n(10408),n(30489),n(68309),n(54747),n(47042),n(65743);var o=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d={};function p(){}function f(){}function h(){}var m={};l(m,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(x([])));y&&y!==t&&n.call(y,i)&&(m=y);var v=h.prototype=p.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;this._invoke=function(i,a){function s(){return new t((function(o,s){!function o(i,a,s,l){var c=u(e[i],e,a);if("throw"!==c.type){var d=c.arg,p=d.value;return p&&"object"===r(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,s,l)}),(function(e){o("throw",e,s,l)})):t.resolve(p).then((function(e){d.value=e,s(d)}),(function(e){return o("throw",e,s,l)}))}l(c.arg)}(i,a,o,s)}))}return o=o?o.then(s,s):s()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=h,l(v,"constructor",h),l(h,"constructor",f),f.displayName=l(h,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},b(_.prototype),l(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(v),l(v,s,"Generator"),l(v,i,(function(){return this})),l(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}("object"===r(e)?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},23412:(e,t,n)=>{"use strict";var r=n(34385),o=n(13237),i=Object;e.exports=r((function(){if(null==this||this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e}),"get flags",!0)},95081:(e,t,n)=>{"use strict";var r=n(97614),o=n(53785),i=n(23412),a=n(31660),s=n(40193),l=o(a());r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},31660:(e,t,n)=>{"use strict";n(38880),n(92087),n(24603),n(74916),n(39714);var r=n(23412),o=n(97614).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),e.get.call(n),"dy"===t)return e.get}}return r}},40193:(e,t,n)=>{"use strict";n(38880),n(30489);var r=n(97614).supportsDescriptors,o=n(31660),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(c),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},52298:(e,t)=>{t.Rw=function(e){var t,n,r,o=e[0]/255,i=e[1]/255,a=e[2]/255;return n=(.2126*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)+.7152*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.0722*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92))/1,r=(.0193*o+.1192*i+.9505*a)/1.08883,t=(t=(.4124*o+.3576*i+.1805*a)/.95047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}},48119:e=>{e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},2790:(e,t,n)=>{"use strict";var r=n(37555),o=n(94135),i=n(17536)(),a=n(12500),s=n(13237),l=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},34385:(e,t,n)=>{"use strict";var r=n(94135),o=n(17536)(),i=n(68237).functionsHaveConfigurableNames(),a=n(13237);e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return n&&!i||(o?r(e,"name",t,!0,!0):r(e,"name",t)),e}},5757:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(37555),i=n(73684),a=n(41077),s=n(13237),l=o("%WeakMap%",!0),c=o("%Map%",!0),u=i("WeakMap.prototype.get",!0),d=i("WeakMap.prototype.set",!0),p=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),h=i("Map.prototype.set",!0),m=i("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new s("Side channel does not contain "+a(e))},get:function(o){if(l&&o&&("object"===r(o)||"function"==typeof o)){if(e)return u(e,o)}else if(c){if(t)return f(t,o)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,o)},has:function(o){if(l&&o&&("object"===r(o)||"function"==typeof o)){if(e)return p(e,o)}else if(c){if(t)return m(t,o)}else if(n)return function(e,t){return!!g(e,t)}(n,o);return!1},set:function(o,i){l&&o&&("object"===r(o)||"function"==typeof o)?(e||(e=new l),d(e,o,i)):c?(t||(t=new c),h(t,o,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,o,i))}};return o}},41077:(e,t,n)=>{function r(e){return(r="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)}n(66992),n(51532),n(41539),n(78783),n(33948),n(38880),n(70189),n(4129),n(38478),n(74916),n(4723),n(15306),n(24603),n(39714),n(92222),n(69600),n(47042),n(82526),n(41817),n(32165),n(39341),n(73706),n(10408),n(39361),n(30489),n(68309),n(9653),n(65743);var o="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=o&&i&&"function"==typeof i.get?i.get:null,s=o&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&c&&"function"==typeof c.get?c.get:null,d=l&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,g=Object.prototype.toString,y=Function.prototype.toString,v=String.prototype.match,b=String.prototype.slice,_=String.prototype.replace,w=String.prototype.toUpperCase,C=String.prototype.toLowerCase,S=RegExp.prototype.test,E=Array.prototype.concat,x=Array.prototype.join,k=Array.prototype.slice,O=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"===r(Symbol.iterator),I="function"==typeof Symbol&&Symbol.toStringTag&&(r(Symbol.toStringTag)===R||"symbol")?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function D(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),i=b.call(t,o.length+1);return _.call(o,n,"$&_")+"."+_.call(_.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var j=n(47165),L=j.custom,B=z(L)?L:null;function F(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function U(e){return _.call(String(e),/"/g,"&quot;")}function H(e){return!("[object Array]"!==W(e)||I&&"object"===r(e)&&I in e)}function V(e){return!("[object RegExp]"!==W(e)||I&&"object"===r(e)&&I in e)}function z(e){if(R)return e&&"object"===r(e)&&e instanceof Symbol;if("symbol"===r(e))return!0;if(!e||"object"!==r(e)||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}e.exports=function e(t,o,i,l){var c=o||{};if(G(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!G(c,"customInspect")||c.customInspect;if("boolean"!=typeof g&&"symbol"!==g)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(b.call(t,0,n.maxStringLength),n)+o}return F(_.call(_.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z),"single",n)}(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return w?D(t,S):S}if("bigint"==typeof t){var O=String(t)+"n";return w?D(t,O):O}var A=void 0===c.depth?5:c.depth;if(void 0===i&&(i=0),i>=A&&A>0&&"object"===r(t))return H(t)?"[Array]":"[Object]";var L=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=x.call(Array(e.indent+1)," ")}return{base:n,prev:x.call(Array(t+1),n)}}(c,i);if(void 0===l)l=[];else if(Y(l,t)>=0)return"[Circular]";function q(t,n,r){if(n&&(l=k.call(l)).push(n),r){var o={depth:c.depth};return G(c,"quoteStyle")&&(o.quoteStyle=c.quoteStyle),e(t,o,i+1,l)}return e(t,c,i+1,l)}if("function"==typeof t&&!V(t)){var ee=function(e){if(e.name)return e.name;var t=v.call(y.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),te=J(t,q);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+x.call(te,", ")+" }":"")}if(z(t)){var ne=R?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(t);return"object"!==r(t)||R?ne:K(ne)}if(function(e){if(!e||"object"!==r(e))return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var re="<"+C.call(String(t.nodeName)),oe=t.attributes||[],ie=0;ie<oe.length;ie++)re+=" "+oe[ie].name+"="+F(U(oe[ie].value),"double",c);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+C.call(String(t.nodeName))+">"}if(H(t)){if(0===t.length)return"[]";var ae=J(t,q);return L&&!function(e){for(var t=0;t<e.length;t++)if(Y(e[t],"\n")>=0)return!1;return!0}(ae)?"["+X(ae,L)+"]":"[ "+x.call(ae,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||I&&"object"===r(e)&&I in e)}(t)){var se=J(t,q);return"cause"in Error.prototype||!("cause"in t)||M.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(se,", ")+" }":"{ ["+String(t)+"] "+x.call(E.call("[cause]: "+q(t.cause),se),", ")+" }"}if("object"===r(t)&&g){if(B&&"function"==typeof t[B]&&j)return j(t,{depth:A-i});if("symbol"!==g&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!==r(e))return!1;try{a.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return s&&s.call(t,(function(e,n){le.push(q(n,t,!0)+" => "+q(e,t))})),Q("Map",a.call(t),le,L)}if(function(e){if(!u||!e||"object"!==r(e))return!1;try{u.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return d&&d.call(t,(function(e){ce.push(q(e,t))})),Q("Set",u.call(t),ce,L)}if(function(e){if(!p||!e||"object"!==r(e))return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!==r(e))return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!h||!e||"object"!==r(e))return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==W(e)||I&&"object"===r(e)&&I in e)}(t))return K(q(Number(t)));if(function(e){if(!e||"object"!==r(e)||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}(t))return K(q(T.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||I&&"object"===r(e)&&I in e)}(t))return K(m.call(t));if(function(e){return!("[object String]"!==W(e)||I&&"object"===r(e)&&I in e)}(t))return K(q(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==W(e)||I&&"object"===r(e)&&I in e)}(t)&&!V(t)){var ue=J(t,q),de=N?N(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",fe=!de&&I&&Object(t)===t&&I in t?b.call(W(t),8,-1):pe?"Object":"",he=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||pe?"["+x.call(E.call([],fe||[],pe||[]),": ")+"] ":"");return 0===ue.length?he+"{}":L?he+"{"+X(ue,L)+"}":he+"{ "+x.call(ue,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return q.call(e,t)}function W(e){return g.call(e)}function Y(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Z(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function Q(e,t,n,r){return e+" ("+t+") {"+(r?X(n,r):x.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+x.call(e,","+n)+"\n"+t.prev}function J(e,t){var n=H(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=G(e,o)?t(e[o],e):""}var i,a="function"==typeof A?A(e):[];if(R){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var l in e)G(e,l)&&(n&&String(Number(l))===l&&l<e.length||R&&i["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof A)for(var c=0;c<a.length;c++)M.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},88692:(e,t,n)=>{"use strict";n(69600),n(41539),n(39714),function(){var t=n(26766),r=n(43100),o=n(60119),i=n(61157);function a(e){return e=e||{},this.color=null,this.width=0,this.widthUnits="px",this.height=0,this.heightUnits="px",this.hue=0,this.position={x:0,y:0},this.huePosition=0,this.saturationWidth=0,this.hueHeight=0,this.maxHue=0,this.inputIsNumber=!1,this._onSaturationMouseDown=this._onSaturationMouseDown.bind(this),this._onSaturationMouseMove=this._onSaturationMouseMove.bind(this),this._onSaturationMouseUp=this._onSaturationMouseUp.bind(this),this._onHueMouseDown=this._onHueMouseDown.bind(this),this._onHueMouseMove=this._onHueMouseMove.bind(this),this._onHueMouseUp=this._onHueMouseUp.bind(this),this.$el=document.createElement("div"),this.$el.className="Scp",this.$el.innerHTML=['<div class="Scp-saturation">','<div class="Scp-brightness"></div>','<div class="Scp-sbSelector"></div>',"</div>",'<div class="Scp-hue">','<div class="Scp-hSelector"></div>',"</div>"].join(""),this.$saturation=this.$el.querySelector(".Scp-saturation"),this.$hue=this.$el.querySelector(".Scp-hue"),this.$sbSelector=this.$el.querySelector(".Scp-sbSelector"),this.$hSelector=this.$el.querySelector(".Scp-hSelector"),this.$saturation.addEventListener("mousedown",this._onSaturationMouseDown),this.$saturation.addEventListener("touchstart",this._onSaturationMouseDown),this.$hue.addEventListener("mousedown",this._onHueMouseDown),this.$hue.addEventListener("touchstart",this._onHueMouseDown),e.el&&this.appendTo(e.el),e.background&&this.setBackgroundColor(e.background),e.widthUnits&&(this.widthUnits=e.widthUnits),e.heightUnits&&(this.heightUnits=e.heightUnits),this.setSize(e.width||175,e.height||150),this.setColor(e.color),this}function s(e,t,n){return Math.min(Math.max(e,t),n)}function l(e){return{x:(e=0===e.type.indexOf("touch")?e.touches[0]:e).clientX,y:e.clientY}}function c(e){return"#"+("00000"+(0|e).toString(16)).substr(-6)}t(a.prototype),a.prototype.appendTo=function(e){return e.appendChild(this.$el),this},a.prototype.remove=function(){this._onSaturationMouseUp(),this._onHueMouseUp(),this.$saturation.removeEventListener("mousedown",this._onSaturationMouseDown),this.$saturation.removeEventListener("touchstart",this._onSaturationMouseDown),this.$hue.removeEventListener("mousedown",this._onHueMouseDown),this.$hue.removeEventListener("touchstart",this._onHueMouseDown),this.off(),this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},a.prototype.setColor=function(e){r(e)?(this.inputIsNumber=!0,e=c(e)):this.inputIsNumber=!1,this.color=o(e);var t=this.color.toHsv();return isNaN(t.h)||(this.hue=t.h),this._moveSelectorTo(this.saturationWidth*t.s,(1-t.v)*this.hueHeight),this._moveHueTo((1-this.hue/360)*this.hueHeight),this._updateHue(),this},a.prototype.setSize=function(e,t){return this.width=e,this.height=t,this.$el.style.width=this.width+this.widthUnits,this.$el.style.height=this.height+this.heightUnits,this.saturationWidth=this.width-25,this.$saturation.style.width=this.saturationWidth+"px",this.hueHeight=this.height,this.maxHue=this.hueHeight-2,this},a.prototype.setBackgroundColor=function(e){return r(e)&&(e=c(e)),this.$el.style.padding="5px",this.$el.style.background=o(e).toHexString(),this},a.prototype.setNoBackground=function(){this.$el.style.padding="0px",this.$el.style.background="none"},a.prototype.onChange=function(e){return this.on("update",e),this.emit("update",this.getHexString()),this},a.prototype.getColor=function(){return this.inputIsNumber?this.getHexNumber():this.color.toString()},a.prototype.getHexString=function(){return this.color.toHexString().toUpperCase()},a.prototype.getHexNumber=function(){return parseInt(this.color.toHex(),16)},a.prototype.getRGB=function(){return this.color.toRgb()},a.prototype.getHSV=function(){return this.color.toHsv()},a.prototype.isDark=function(){return this.color.isDark()},a.prototype.isLight=function(){return this.color.isLight()},a.prototype._moveSelectorTo=function(e,t){this.position.x=s(e,0,this.saturationWidth),this.position.y=s(t,0,this.hueHeight),i(this.$sbSelector,{x:this.position.x,y:this.position.y})},a.prototype._updateColorFromPosition=function(){this.color=o({h:this.hue,s:this.position.x/this.saturationWidth,v:1-this.position.y/this.hueHeight}),this._updateColor()},a.prototype._moveHueTo=function(e){this.huePosition=s(e,0,this.maxHue),i(this.$hSelector,{y:this.huePosition})},a.prototype._updateHueFromPosition=function(){var e=this.color.toHsv();this.hue=360*(1-this.huePosition/this.maxHue),this.color=o({h:this.hue,s:e.s,v:e.v}),this._updateHue()},a.prototype._updateHue=function(){var e=o({h:this.hue,s:1,v:1});this.$saturation.style.background="linear-gradient(to right, #fff, "+e.toHexString()+")",this._updateColor()},a.prototype._updateColor=function(){this.$sbSelector.style.background=this.color.toHexString(),this.$sbSelector.style.borderColor=this.color.isDark()?"#fff":"#000",this.emit("update",this.color.toHexString())},a.prototype._onSaturationMouseDown=function(e){var t=this.$saturation.getBoundingClientRect(),n=l(e).x,r=l(e).y;this._moveSelectorTo(n-t.left,r-t.top),this._updateColorFromPosition(),window.addEventListener("mouseup",this._onSaturationMouseUp),window.addEventListener("touchend",this._onSaturationMouseUp),window.addEventListener("mousemove",this._onSaturationMouseMove),window.addEventListener("touchmove",this._onSaturationMouseMove),e.preventDefault()},a.prototype._onSaturationMouseMove=function(e){var t=this.$saturation.getBoundingClientRect(),n=l(e).x,r=l(e).y;this._moveSelectorTo(n-t.left,r-t.top),this._updateColorFromPosition()},a.prototype._onSaturationMouseUp=function(){window.removeEventListener("mouseup",this._onSaturationMouseUp),window.removeEventListener("touchend",this._onSaturationMouseUp),window.removeEventListener("mousemove",this._onSaturationMouseMove),window.removeEventListener("touchmove",this._onSaturationMouseMove)},a.prototype._onHueMouseDown=function(e){var t=this.$hue.getBoundingClientRect(),n=l(e).y;this._moveHueTo(n-t.top),this._updateHueFromPosition(),window.addEventListener("mouseup",this._onHueMouseUp),window.addEventListener("touchend",this._onHueMouseUp),window.addEventListener("mousemove",this._onHueMouseMove),window.addEventListener("touchmove",this._onHueMouseMove),e.preventDefault()},a.prototype._onHueMouseMove=function(e){var t=this.$hue.getBoundingClientRect(),n=l(e).y;this._moveHueTo(n-t.top),this._updateHueFromPosition()},a.prototype._onHueMouseUp=function(){window.removeEventListener("mouseup",this._onHueMouseUp),window.removeEventListener("touchend",this._onHueMouseUp),window.removeEventListener("mousemove",this._onHueMouseMove),window.removeEventListener("touchmove",this._onHueMouseMove)},e.exports&&(e.exports=a)}()},27154:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(74915),i=SyntaxError,a="object"===("undefined"==typeof StopIteration?"undefined":r(StopIteration))?StopIteration:null;e.exports=function(e){if(!a)throw new i("this environment lacks StopIteration");o.set(e,"[[Done]]",!1);var t={next:function(){var e=o.get(this,"[[Iterator]]"),t=o.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(o.set(e,"[[Done]]",!0),t!==a)throw t;return{done:!0,value:void 0}}}};return o.set(t,"[[Iterator]]",e),t}},56153:function(e,t,n){var r,o,i,a;function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(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 u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}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})(e)}n(47941),n(82526),n(57327),n(38880),n(54747),n(49337),n(74916),n(15306),n(23123),n(73210),n(41539),n(39714),n(69600),n(26699),n(43371),n(41817),n(32165),n(66992),n(78783),n(33948),n(47042),n(68309),n(91038),a=function(e){"use strict";function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(o,!0).forEach((function(n){t(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var o=["—"],i=["­"],a=[" "," "," "," "," "," "," "," "," "," "," "," "," ","　","\t","​","\u2028","\u2029"],d=["֊","‐","‒","–","־","་","፡","៘","៚","‧","|","᛫","᛬","᛭","⁖","⁘","⁙","⁚","⁛","⁝","⁞","⸙","⸪","⸫","⸬","⸭","⸰","တ0","တ1","တ2","္F","ွ0","႑F","ቇ0"],p=["´","´"],h=["\n"],m="16px",g="400",y="Helvetica, Arial, sans-serif";function v(e,t){t||(t={});var n=parseInt(A(t,"base-font-size",16),10),r=parseFloat(e),o=e.replace(r,"");switch(o){case"rem":case"em":return r*n;case"pt":return r/(96/72);case"px":return r}throw new Error("The unit "+o+" is not supported")}function b(e,t){var n=["inherit","initial","unset","normal"],r=0;e&&-1===n.indexOf(e)&&(r=v(e));var o=0;return t&&-1===n.indexOf(t)&&(o=v(t)),function(e){var t=e.trim().replace(/\s+/gi," ").split(" ").length-1,n=e.length;return t*r+n*o}}function _(e,t){var n=[],r=A(t,"font-weight",e.getPropertyValue("font-weight"))||g;-1!==["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"].indexOf(r.toString())&&n.push(r);var o=A(t,"font-style",e.getPropertyValue("font-style"));-1!==["normal","italic","oblique"].indexOf(o)&&n.push(o);var i=A(t,"font-variant",e.getPropertyValue("font-variant"));-1!==["normal","small-caps"].indexOf(i)&&n.push(i);var a=v(A(t,"font-size",e.getPropertyValue("font-size"))||m);n.push(a+"px");var s=A(t,"font-family",e.getPropertyValue("font-family"))||y;return n.push(s),n.join(" ")}function w(e){return e&&"function"==typeof e.getPropertyValue}function C(e){return S(e)&&e.style&&"undefined"!=typeof window&&"function"==typeof window.getComputedStyle}function S(e){return"object"===("undefined"==typeof HTMLElement?"undefined":f(HTMLElement))?e instanceof HTMLElement:Boolean(e&&"object"===f(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)}function E(e){return"object"===f(e)&&null!==e&&!Array.isArray(e)}function x(e,t){var n=r({},t||{}).style;return t||(t={}),w(n)?n:C(e)?window.getComputedStyle(e,A(t,"pseudoElt",null)):{getPropertyValue:function(e){return A(t,e)}}}function k(e,t){switch(t.getPropertyValue("text-transform")){case"uppercase":return e.toUpperCase();case"lowercase":return e.toLowerCase();default:return e}}function O(e){return e=(e||"").replace(/<wbr>/gi,"​").replace(/<br\s*\/?>/gi,"\n").replace(/&shy;/gi,"­").replace(/&mdash;/gi,"—"),/&#(\d+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);/g.test(e)&&console&&console.error("text-metrics: Found encoded htmlenties. You may want to use https://mths.be/he to decode your text first."),e.trim()}function T(e){return e?(e.innerText||e.textContent||"").trim():""}function A(e,t,n){return e&&void 0!==e[t]&&e[t]||n}function P(e){var t={};return Object.keys(e||{}).forEach((function(n){var r=n.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}));t[r]=e[n]})),t}function R(e){try{var t=document.createElement("canvas").getContext("2d"),n=window.devicePixelRatio||1,r=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return t.font=e,t.setTransform(n/r,0,0,n/r,0,0),t}catch(e){throw new Error("Canvas support required")}}function I(e){return(o.includes(e)?"B2":a.includes(e)&&"BAI")||i.includes(e)&&"SHY"||d.includes(e)&&"BA"||p.includes(e)&&"BB"||h.includes(e)&&"BK"}function M(e){var t=e.ctx,n=e.text,r=e.max,o=b(e.wordSpacing,e.letterSpacing),i=[],s=[],l=[],d="",p="";if(!n)return[];var f,h=u(n);try{for(h.s();!(f=h.n()).done;){var m=f.value,g=I(m);""===p&&"BAI"===g||(g?(l.push({chr:m,type:g}),s.push(p),p=""):p+=m)}}catch(e){h.e(e)}finally{h.f()}p&&s.push(p);for(var y=0;y<s.length;y++)if(0!==y){var v=s[y];if(!a.includes(s[y-1])||!a.includes(s[y])){var _=l[y-1],w="SHY"===_.type?"":_.chr;if("BK"!==_.type){var C=t.measureText(d+w+v).width+o(d+w+v);if(Math.round(C,10)<=r)d+=w+v;else switch(_.type){case"SHY":i.push(d+"-"),d=v;break;case"BA":i.push(d+w),d=v;break;case"BAI":i.push(d),d=v;break;case"BB":i.push(d),d=w+v;break;case"B2":parseInt(t.measureText(d+w).width+o(d+w),10)<=r?(i.push(d+w),d=v):parseInt(t.measureText(w+v).width+o(w+v),10)<=r?(i.push(d),d=w+v):(i.push(d),i.push(w),d=v);break;default:throw new Error("Undefoined break")}}else i.push(d),d=v}}else d=s[y];return 0!==c(d).length&&i.push(d),i}function N(e){var t=e.ctx,n=e.text,r=e.max,o=b(e.wordSpacing,e.letterSpacing),i=[],s="",l=0;if(!n)return[];var d,p=u(n);try{for(p.s();!(d=p.n()).done;){var f=d.value,h=I(f);if("BK"!==h){var m=s.length;if(!a.includes(f)||0!==m&&!a.includes(s[m-1])){var g=t.measureText(s+f).width+o(s+f),y=Math.ceil(g);if("SHY"===h){var v=n[l+1]||"";g=t.measureText(s+f+v).width+o(s+f+v),y=Math.ceil(g)}if(y>r&&0!==c(s).length)switch(h){case"SHY":i.push(s+"-"),s="";break;case"BA":i.push(s+f),s="";break;case"BAI":i.push(s),s="";break;default:i.push(s),s=f}else"­"!==f&&(s+=f);l++}}else i.push(s),s=""}}catch(e){p.e(e)}finally{p.f()}return 0!==c(s).length&&i.push(s),i}var D=Object.freeze({addWordAndLetterSpacing:b,getFont:_,isCSSStyleDeclaration:w,canGetComputedStyle:C,isElement:S,isObject:E,getStyle:x,getStyledText:k,prepareText:O,getText:T,prop:A,normalizeOptions:P,getContext2d:R,computeLinesDefault:M,computeLinesBreakAll:N}),j=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,e),!S(t)&&E(t)?(this.el=void 0,this.overwrites=P(t)):(this.el=t,this.overwrites=P(n)),this.style=x(this.el,this.overwrites),this.font=A(n,"font",null)||_(this.style,this.overwrites)}var t,n,o;return t=e,(n=[{key:"padding",value:function(){return this.el?parseInt(this.style.paddingLeft||0,10)+parseInt(this.style.paddingRight||0,10):0}},{key:"width",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"===f(e)&&e&&(n=t,t=e||{},e=void 0),!(e=!e&&this.el?this.el.textContent.trim():O(e)))return 0;var o=k(e,this.style),i=r({},this.overwrites,{},P(n)),a=_(this.style,i),s=A(i,"letter-spacing")||this.style.getPropertyValue("letter-spacing"),l=A(i,"word-spacing")||this.style.getPropertyValue("word-spacing"),c=b(l,s),u=R(a);return t.multiline?this.lines(o,t,n).reduce((function(e,t){var n=u.measureText(t).width+c(t);return Math.max(e,n)}),0):u.measureText(o).width+c(o)}},{key:"height",value:function(e,t,n){"object"===f(e)&&e&&(n=t,t=e||{},e=void 0),t||(t={}),n||(t={}),e=!e&&this.el?T(this.el):O(e);var o=r({},this.overwrites,{},P(n)),i=parseFloat(A(o,"line-height")||this.style.getPropertyValue("line-height"));return Math.ceil(this.lines(e,t,o).length*i||0)}},{key:"lines",value:function(e,t,n){"object"===f(e)&&e&&(n=t,t=e,e=void 0),void 0===n&&(n=t),t||(t={}),n||(t={}),e=!e&&this.el?T(this.el):O(e);var o=r({},this.overwrites,{},P(n)),i=_(this.style,o),a=parseInt(A(t,"width")||A(n,"width"),10)||A(this.el,"offsetWidth",0)||parseInt(A(o,"width",0),10)||parseInt(this.style.width,10);a-=this.padding();var s=A(o,"word-break")||this.style.getPropertyValue("word-break"),l=A(o,"letter-spacing")||this.style.getPropertyValue("letter-spacing"),c=A(o,"word-spacing")||this.style.getPropertyValue("word-spacing"),u=R(i);return e=k(e,this.style),"break-all"===s?N({ctx:u,text:e,max:a,wordSpacing:c,letterSpacing:l}):M({ctx:u,text:e,max:a,wordSpacing:c,letterSpacing:l})}},{key:"maxFontSize",value:function(e,t,n){var o=this;"object"===f(e)&&e&&(n=t,t=e,e=void 0),void 0===n&&(n=t),t||(t={}),n||(t={}),e=!e&&this.el?T(this.el):O(e);var i=r({},this.overwrites,{},P(n)),a=function(n){return Math.ceil(o.width(e,t,r({},i,{"font-size":n+"px"})))},s=parseInt(A(t,"width")||A(n,"width"),10)||A(this.el,"offsetWidth",0)||parseInt(A(i,"width",0),10)||parseInt(this.style.width,10);s-=this.padding();var l=Math.floor(s/2),c=a(l);if(c=a(l=Math.floor(l/c*s)),Math.ceil(c)===s)return l?l+"px":void 0;for(var u=c>s&&l>0;c>s&&l>0;)c=a(l-=1);if(!u)for(;c<s;){if((c=a(l+1))>s)return l?l+"px":void 0;l+=1}return l?l+"px":void 0}}])&&l(t.prototype,n),o&&l(t,o),e}(),L=r({},D);e.init=function(e,t){return new j(e,t)},e.utils=L,Object.defineProperty(e,"__esModule",{value:!0})},"object"===f(t)?a(t):(o=[t],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))},60119:(e,t,n)=>{var r;function o(e){return(o="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)}n(41539),n(39714),n(92222),n(47042),n(69600),n(24603),n(74916),n(15306),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948),function(i){var a=/^\s+/,s=/\s+$/,l=0,c=i.round,u=i.min,d=i.max,p=i.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,l=null,c=null,p=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(s,"").toLowerCase();var t,n=!1;if(R[e])e=R[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=q.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=q.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=q.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=q.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=q.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=q.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=q.hex8.exec(e))return{r:j(t[1]),g:j(t[2]),b:j(t[3]),a:U(t[4]),format:n?"name":"hex8"};if(t=q.hex6.exec(e))return{r:j(t[1]),g:j(t[2]),b:j(t[3]),format:n?"name":"hex"};if(t=q.hex4.exec(e))return{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),a:U(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=q.hex3.exec(e))return{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==o(e)&&(G(e.r)&&G(e.g)&&G(e.b)?(t=function(e,t,n){return{r:255*N(e,255),g:255*N(t,255),b:255*N(n,255)}}(e.r,e.g,e.b),p=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):G(e.h)&&G(e.s)&&G(e.v)?(r=B(e.s),l=B(e.v),t=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=i.floor(e),o=e-r,a=n*(1-t),s=n*(1-o*t),l=n*(1-(1-o)*t),c=r%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}(e.h,r,l),p=!0,f="hsv"):G(e.h)&&G(e.s)&&G(e.l)&&(r=B(e.s),c=B(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),p=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=M(n),{ok:p,format:e.format||f,r:u(255,d(t.r,0)),g:u(255,d(t.g,0)),b:u(255,d(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=l++}function h(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=d(e,t,n),a=u(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function m(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=d(e,t,n),a=u(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function g(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function y(e,t,n,r){return[L(F(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=D(n.s),f(n)}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=D(n.s),f(n)}function _(e){return f(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=D(n.l),f(n)}function C(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=d(0,u(255,n.r-c(-t/100*255))),n.g=d(0,u(255,n.g-c(-t/100*255))),n.b=d(0,u(255,n.b-c(-t/100*255))),f(n)}function S(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=D(n.l),f(n)}function E(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function x(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function k(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function O(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function A(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function P(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=M(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=m(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(F(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(I[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+y(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+y(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(S,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(_,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},f.fromRatio=function(e,t){if("object"==o(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:B(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=f.readability(e,t[c]))>l&&(l=r,s=f(t[c]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var R=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},I=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(R);function M(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,d(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return u(1,d(0,e))}function j(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function B(e){return e<=1&&(e=100*e+"%"),e}function F(e){return i.round(255*parseFloat(e)).toString(16)}function U(e){return j(e)/255}var H,V,z,q=(V="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",z="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function G(e){return!!q.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},59875:(e,t,n)=>{n(74916),n(15306),(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},2605:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},20810:e=>{e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},67925:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35732:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},19234:(e,t,n)=>{"use strict";t.Any=n(40146),t.Cc=n(2605),t.Cf=n(20810),t.P=n(67925),t.Z=n(35732)},40146:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},13650:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(2707),n(47941),n(73210),n(47042),n(74916),n(15306),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,i=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,s=/\\([\u000b\u0020-\u00ff])/g,l=/([\\"])/g,c=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function u(e){var t=String(e);if(a.test(t))return t;if(t.length>0&&!i.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(l,"\\$1")+'"'}function d(e){this.parameters=Object.create(null),this.type=e}t.Q=function(e){if(!e)throw new TypeError("argument string is required");var t="object"===r(e)?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"===r(e.headers)&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),i=-1!==n?t.slice(0,n).trim():t.trim();if(!c.test(i))throw new TypeError("invalid media type");var a=new d(i.toLowerCase());if(-1!==n){var l,u,p;for(o.lastIndex=n;u=o.exec(t);){if(u.index!==n)throw new TypeError("invalid parameter format");n+=u[0].length,l=u[1].toLowerCase(),34===(p=u[2]).charCodeAt(0)&&-1!==(p=p.slice(1,-1)).indexOf("\\")&&(p=p.replace(s,"$1")),a.parameters[l]=p}if(n!==t.length)throw new TypeError("invalid parameter format")}return a}},39724:function(e,t,n){var r,o,i,a,s,l;function c(e){return(c="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)}e=n.nmd(e),n(73210),n(74916),n(15306),n(69600),n(23123),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),o=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,i=/^(?=([^\/?#]*))\1([^]*)$/,a=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,l={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=l.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=l.normalizePath(r.path),l.buildURLFromParts(r)}var o=l.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=l.normalizePath(o.path),l.buildURLFromParts(o)):t;var a=l.parseURL(e);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var s=i.exec(a.path);a.netLoc=s[1],a.path=s[2]}a.netLoc&&!a.path&&(a.path="/");var c={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(c.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var u=a.path,d=u.substring(0,u.lastIndexOf("/")+1)+o.path;c.path=l.normalizePath(d)}else c.path=a.path,o.params||(c.params=a.params,o.query||(c.query=a.query));return null===c.path&&(c.path=n.alwaysNormalize?l.normalizePath(o.path):o.path),l.buildURLFromParts(c)},parseURL:function(e){var t=o.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(a,"");e.length!==(e=e.replace(s,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},"object"===c(t)&&"object"===c(e)?e.exports=l:void 0===(r=function(){return l}.apply(t,[]))||(e.exports=r)},21889:function(e,t,n){var r;function o(e){return(o="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)}e=n.nmd(e),n(74916),n(23123),n(15306),n(69600),n(40561),n(47042),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),function(i){var a="object"==o(t)&&t&&!t.nodeType&&t,s="object"==o(e)&&e&&!e.nodeType&&e,l="object"==(void 0===n.g?"undefined":o(n.g))&&n.g;l.global!==l&&l.window!==l&&l.self!==l||(i=l);var c,u,d=2147483647,p=/^xn--/,f=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=Math.floor,y=String.fromCharCode;function v(e){throw RangeError(m[e])}function b(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function _(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+b((e=e.replace(h,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function C(e){return b(e,(function(e){var t="";return e>65535&&(t+=y((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=y(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?g(e/700):e>>1,e+=g(e/t);e>455;r+=36)e=g(e/35);return g(r+36*e/(e+38))}function x(e){var t,n,r,o,i,a,s,l,c,u,p,f=[],h=e.length,m=0,y=128,b=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&v("not-basic"),f.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<h;){for(i=m,a=1,s=36;o>=h&&v("invalid-input"),((l=(p=e.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||l>g((d-m)/a))&&v("overflow"),m+=l*a,!(l<(c=s<=b?1:s>=b+26?26:s-b));s+=36)a>g(d/(u=36-c))&&v("overflow"),a*=u;b=E(m-i,t=f.length+1,0==i),g(m/t)>d-y&&v("overflow"),y+=g(m/t),m%=t,f.splice(m++,0,y)}return C(f)}function k(e){var t,n,r,o,i,a,s,l,c,u,p,f,h,m,b,_=[];for(f=(e=w(e)).length,t=128,n=0,i=72,a=0;a<f;++a)(p=e[a])<128&&_.push(y(p));for(r=o=_.length,o&&_.push("-");r<f;){for(s=d,a=0;a<f;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>g((d-n)/(h=r+1))&&v("overflow"),n+=(s-t)*h,t=s,a=0;a<f;++a)if((p=e[a])<t&&++n>d&&v("overflow"),p==t){for(l=n,c=36;!(l<(u=c<=i?1:c>=i+26?26:c-i));c+=36)b=l-u,m=36-u,_.push(y(S(u+b%m,0))),l=g(b/m);_.push(y(S(l,0))),i=E(n,h,r==o),n=0,++r}++n,++t}return _.join("")}if(c={version:"1.3.2",ucs2:{decode:w,encode:C},decode:x,encode:k,toASCII:function(e){return _(e,(function(e){return f.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return _(e,(function(e){return p.test(e)?x(e.slice(4).toLowerCase()):e}))}},"object"==o(n.amdO)&&n.amdO)void 0===(r=function(){return c}.call(t,n,t,e))||(e.exports=r);else if(a&&s)if(e.exports==a)s.exports=c;else for(u in c)c.hasOwnProperty(u)&&(a[u]=c[u]);else i.punycode=c}(this)},34546:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(74916),n(64765),n(92222),n(23123),n(15306),n(69600),n(73210),n(4723),n(47042),n(47941),n(40561),n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(21889),i=n(7504);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=_,t.resolve=function(e,t){return _(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?_(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=_(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),p=["%","/","?",";","#"].concat(d),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(86406);function _(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+r(e));var a=e.indexOf("?"),l=-1!==a&&a<e.indexOf("#")?"?":"#",u=e.split(l);u[0]=u[0].replace(/\\/g,"/");var _=e=u.join(l);if(_=_.trim(),!n&&1===e.split("#").length){var w=c.exec(_);if(w)return this.path=_,this.href=_,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var C=s.exec(_);if(C){var S=(C=C[0]).toLowerCase();this.protocol=S,_=_.substr(C.length)}if(n||C||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===_.substr(0,2);!E||C&&y[C]||(_=_.substr(2),this.slashes=!0)}if(!y[C]&&(E||C&&!v[C])){for(var x,k,O=-1,T=0;T<f.length;T++){-1!==(A=_.indexOf(f[T]))&&(-1===O||A<O)&&(O=A)}-1!==(k=-1===O?_.lastIndexOf("@"):_.lastIndexOf("@",O))&&(x=_.slice(0,k),_=_.slice(k+1),this.auth=decodeURIComponent(x)),O=-1;for(T=0;T<p.length;T++){var A;-1!==(A=_.indexOf(p[T]))&&(-1===O||A<O)&&(O=A)}-1===O&&(O=_.length),this.host=_.slice(0,O),_=_.slice(O),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var R=this.hostname.split(/\./),I=(T=0,R.length);T<I;T++){var M=R[T];if(M&&!M.match(h)){for(var N="",D=0,j=M.length;D<j;D++)M.charCodeAt(D)>127?N+="x":N+=M[D];if(!N.match(h)){var L=R.slice(0,T),B=R.slice(T+1),F=M.match(m);F&&(L.push(F[1]),B.unshift(F[2])),B.length&&(_="/"+B.join(".")+_),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=o.toASCII(this.hostname));var U=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+U,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!g[S])for(T=0,I=d.length;T<I;T++){var V=d[T];if(-1!==_.indexOf(V)){var z=encodeURIComponent(V);z===V&&(z=escape(V)),_=_.split(V).join(z)}}var q=_.indexOf("#");-1!==q&&(this.hash=_.substr(q),_=_.slice(0,q));var G=_.indexOf("?");if(-1!==G?(this.search=_.substr(G),this.query=_.substr(G+1),t&&(this.query=b.parse(this.query)),_=_.slice(0,G)):t&&(this.search="",this.query={}),_&&(this.pathname=_),v[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var W=this.search||"";this.path=U+W}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||v[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(_(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var s=r[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=e[u])}return v[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!v[e.protocol]){for(var d=Object.keys(e),p=0;p<d.length;p++){var f=d[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||y[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||n.host&&e.pathname,C=w,S=n.pathname&&n.pathname.split("/")||[],E=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!v[n.protocol]);if(E&&(n.hostname="",n.port=null,n.host&&(""===S[0]?S[0]=n.host:S.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===S[0])),_)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,S=h;else if(h.length)S||(S=[]),S.pop(),S=S.concat(h),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(E)n.hostname=n.host=S.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var x=S.slice(-1)[0],k=(n.host||e.host||S.length>1)&&("."===x||".."===x)||""===x,O=0,T=S.length;T>=0;T--)"."===(x=S[T])?S.splice(T,1):".."===x?(S.splice(T,1),O++):O&&(S.splice(T,1),O--);if(!w&&!C)for(;O--;O)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),k&&"/"!==S.join("/").substr(-1)&&S.push("");var A,P=""===S[0]||S[0]&&"/"===S[0].charAt(0);E&&(n.hostname=n.host=P?"":S.length?S.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(w=w||n.host&&S.length)&&!P&&S.unshift(""),S.length?n.pathname=S.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=l.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},7504:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948),e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"===r(e)&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},99227:(e,t,n)=>{var r=n(95732),o=e.exports={WebVTT:n(6123),VTTCue:n(26456),VTTRegion:n(55787)};r.vttjs=o,r.WebVTT=o.WebVTT;var i=o.VTTCue,a=o.VTTRegion,s=r.VTTCue,l=r.VTTRegion;o.shim=function(){r.VTTCue=i,r.VTTRegion=a},o.restore=function(){r.VTTCue=s,r.VTTRegion=l},r.VTTCue||o.shim()},6123:(e,t,n)=>{n(68309),n(74916),n(4723),n(15306),n(66992),n(41539),n(33948),n(23123),n(73210),n(54747),n(47042),n(69600);var r=n(56374),o=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function i(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function a(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=o(null)}function l(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);if(2===a.length)t(a[0].trim(),a[1].trim())}}function c(e,t,n){var r=e;function o(){var t=a(e);if(null===t)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=o(),c(),"--\x3e"!==e.substr(0,3))throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),c(),t.endTime=o(),c(),function(e,t){var r=new s;l(e,(function(e,t){switch(e){case"region":for(var o=n.length-1;o>=0;o--)if(n[o].id===t){r.set(e,n[o].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var i=t.split(","),a=i[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===i.length&&r.alt("lineAlign",i[1],["start","center","end"]);break;case"position":i=t.split(","),r.percent(e,i[0]),2===i.length&&r.alt("positionAlign",i[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(e){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}i.prototype=o(Error.prototype),i.prototype.constructor=i,i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var u=r.createElement&&r.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},p={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},f={v:"title",lang:"lang"},h={rt:"ruby"};function m(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!h[t.localName]||h[t.localName]===e.localName}function o(t,n){var r=d[t];if(!r)return null;var o=e.document.createElement(r),i=f[t];return i&&n&&(o[i]=n.trim()),o}for(var i,s,l=e.document.createElement("div"),c=l,m=[];null!==(i=n());)if("<"!==i[0])c.appendChild(e.document.createTextNode((s=i,u.innerHTML=s,s=u.textContent,u.textContent="",s)));else{if("/"===i[1]){m.length&&m[m.length-1]===i.substr(2).replace(">","")&&(m.pop(),c=c.parentNode);continue}var g,y=a(i.substr(1,i.length-2));if(y){g=e.document.createProcessingInstruction("timestamp",y),c.appendChild(g);continue}var v=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(g=o(v[1],v[3])))continue;if(!r(c,g))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(p.hasOwnProperty(n)){var r=t?"background-color":"color",o=p[n];g.style[r]=o}})),g.className=b.join(" ")}m.push(v[1]),c.appendChild(g),c=g}return l}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(e){for(var t=0;t<g.length;t++){var n=g[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function v(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function o(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var i=n.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):n}return"ruby"===t.tagName?o(e):t.childNodes?(r(e,t),o(e)):void 0}for(r(t,e);n=o(t);)for(var i=0;i<n.length;i++)if(y(n.charCodeAt(i)))return"rtl";return"ltr"}function b(){}function _(e,t,n){b.call(this),this.cue=t,this.cueDiv=m(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:v(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var o=0;switch(t.positionAlign){case"start":case"line-left":o=t.position;break;case"center":o=t.position-t.size/2;break;case"end":case"line-right":o=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(o,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(o,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function w(e){var t,n,r,o;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var i=(i=e.div.childNodes)&&(i=i[0])&&i.getClientRects&&i.getClientRects();e=e.div.getBoundingClientRect(),t=i?Math.max(i[0]&&i[0].height||0,e.height/i.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function C(e,t,n,r){var o=new w(t),i=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return-1*++r}(i),s=[];if(i.snapToLines){var l;switch(i.vertical){case"":s=["+y","-y"],l="height";break;case"rl":s=["+x","-x"],l="width";break;case"lr":s=["-x","+x"],l="width"}var c=o.lineHeight,u=c*Math.round(a),d=n[l]+c,p=s[0];Math.abs(u)>d&&(u=u<0?-1:1,u*=Math.ceil(d/c)*c),a<0&&(u+=""===i.vertical?n.height:n.width,s=s.reverse()),o.move(p,u)}else{var f=o.lineHeight/n.height*100;switch(i.lineAlign){case"center":a-=f/2;break;case"end":a-=f}switch(i.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],o=new w(t)}var h=function(e,t){for(var o,i=new w(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var l=e.intersectPercentage(n);a>l&&(o=new w(e),a=l),e=new w(i)}return o||i}(o,s);t.move(h.toCSSCompatValues(n))}function S(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=o(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},S.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},S.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};S.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var o=[],i=w.getSimpleBoxPosition(r),a={font:Math.round(.05*i.height*100)/100+"px sans-serif"};!function(){for(var n,s,l=0;l<t.length;l++)s=t[l],n=new _(e,s,a),r.appendChild(n.div),C(0,n,i,o),s.displayState=n.div,o.push(w.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},S.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},S.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof i))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?l(e,(function(e,n){switch(e){case"X-TIMESTAMP-MAP":!function(e){var n=new s;l(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",a(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}}),/=/):l(e,(function(e,n){switch(e){case"Region":!function(e){var n=new s;if(l(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var o=new s;if(o.percent("x",r[0]),o.percent("y",r[1]),!o.has("x")||!o.has("y"))break;n.set(e+"X",o.get("x")),n.set(e+"Y",o.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var o;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var u=(o=n()).match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new i(i.Errors.BadSignature);t.state="HEADER"}for(var d=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(d?d=!1:o=n(),t.state){case"HEADER":/:/.test(o)?r(o):o||(t.state="ID");continue;case"NOTE":o||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){t.state="NOTE";break}if(!o)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===o.indexOf("--\x3e")){t.cue.id=o;continue}case"CUE":try{c(o,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var p=-1!==o.indexOf("--\x3e");if(!o||p&&(d=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=o.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":o||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new i(i.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=S},26456:e=>{var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}function o(e,n,o){this.hasBeenReset=!1;var i="",a=!1,s=e,l=n,c=o,u=null,d="",p=!0,f="auto",h="start",m="auto",g="auto",y=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return i},set:function(e){i=""+e}},pauseOnExit:{enumerable:!0,get:function(){return a},set:function(e){a=!!e}},startTime:{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");s=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");l=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return c},set:function(e){c=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return u},set:function(e){u=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var n=function(e){return"string"==typeof e&&(!!t[e.toLowerCase()]&&e.toLowerCase())}(e);if(!1===n)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return p},set:function(e){p=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return f},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");f=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){var t=r(e);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=r(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=t,this.hasBeenReset=!0}}}),this.displayState=void 0}o.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=o},55787:e=>{var t={"":!0,up:!0};function n(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,o=0,i=100,a=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw new Error("RegionAnchorX must be between 0 and 100.");i=e}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!n(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var n=function(e){return"string"==typeof e&&(!!t[e.toLowerCase()]&&e.toLowerCase())}(e);!1===n?console.warn("Scroll: an invalid or illegal string was specified."):l=n}}})}},98939:(e,t,n)=>{"use strict";n(74916),n(15306),n(92222);var r=function(){};e.exports=r},72863:function(e,t,n){var r,o,i,a;function s(e){return(s="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)}e=n.nmd(e),n(68309),n(43290),n(41539),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948),n(4129),n(38880),n(12419),n(30489),n(54747),n(26699),n(32023),n(57327),n(21249),n(74819),n(47941),n(92222),n(2707),n(39714),n(9653),n(40561),n(19601),n(36210),n(69600),a=function(){return function(){var e={"./src/drawer.canvasentry.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("./src/util/style.js")),o=i(n("./src/util/get-id.js"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.wave=null,this.waveCtx=null,this.progress=null,this.progressCtx=null,this.start=0,this.end=1,this.id=(0,o.default)(void 0!==this.constructor.name?this.constructor.name.toLowerCase()+"_":"canvasentry_"),this.canvasContextAttributes={}}var t,n,i;return t=e,(n=[{key:"initWave",value:function(e){this.wave=e,this.waveCtx=this.wave.getContext("2d",this.canvasContextAttributes)}},{key:"initProgress",value:function(e){this.progress=e,this.progressCtx=this.progress.getContext("2d",this.canvasContextAttributes)}},{key:"updateDimensions",value:function(e,t,n,o){this.start=this.wave.offsetLeft/t||0,this.end=this.start+e/t,this.wave.width=n,this.wave.height=o;var i={width:e+"px"};(0,r.default)(this.wave,i),this.hasProgressCanvas&&(this.progress.width=n,this.progress.height=o,(0,r.default)(this.progress,i))}},{key:"clearWave",value:function(){this.waveCtx.clearRect(0,0,this.waveCtx.canvas.width,this.waveCtx.canvas.height),this.hasProgressCanvas&&this.progressCtx.clearRect(0,0,this.progressCtx.canvas.width,this.progressCtx.canvas.height)}},{key:"setFillStyles",value:function(e,t){this.waveCtx.fillStyle=e,this.hasProgressCanvas&&(this.progressCtx.fillStyle=t)}},{key:"fillRects",value:function(e,t,n,r,o){this.fillRectToContext(this.waveCtx,e,t,n,r,o),this.hasProgressCanvas&&this.fillRectToContext(this.progressCtx,e,t,n,r,o)}},{key:"fillRectToContext",value:function(e,t,n,r,o,i){e&&(i?this.drawRoundedRect(e,t,n,r,o,i):e.fillRect(t,n,r,o))}},{key:"drawRoundedRect",value:function(e,t,n,r,o,i){0!==o&&(o<0&&(n-=o*=-1),e.beginPath(),e.moveTo(t+i,n),e.lineTo(t+r-i,n),e.quadraticCurveTo(t+r,n,t+r,n+i),e.lineTo(t+r,n+o-i),e.quadraticCurveTo(t+r,n+o,t+r-i,n+o),e.lineTo(t+i,n+o),e.quadraticCurveTo(t,n+o,t,n+o-i),e.lineTo(t,n+i),e.quadraticCurveTo(t,n,t+i,n),e.closePath(),e.fill())}},{key:"drawLines",value:function(e,t,n,r,o,i){this.drawLineToContext(this.waveCtx,e,t,n,r,o,i),this.hasProgressCanvas&&this.drawLineToContext(this.progressCtx,e,t,n,r,o,i)}},{key:"drawLineToContext",value:function(e,t,n,r,o,i,a){if(e){var s,l,c,u=t.length/2,d=Math.round(u*this.start),p=d,f=Math.round(u*this.end)+1,h=this.wave.width/(f-p-1),m=r+o,g=n/r;for(e.beginPath(),e.moveTo((p-d)*h,m),e.lineTo((p-d)*h,m-Math.round((t[2*p]||0)/g)),s=p;s<f;s++)l=t[2*s]||0,c=Math.round(l/g),e.lineTo((s-d)*h+this.halfPixel,m-c);for(var y=f-1;y>=p;y--)l=t[2*y+1]||0,c=Math.round(l/g),e.lineTo((y-d)*h+this.halfPixel,m-c);e.lineTo((p-d)*h,m-Math.round((t[2*p+1]||0)/g)),e.closePath(),e.fill()}}},{key:"destroy",value:function(){this.waveCtx=null,this.wave=null,this.progressCtx=null,this.progress=null}},{key:"getImage",value:function(e,t,n){var r=this;return"blob"===n?new Promise((function(n){r.wave.toBlob(n,e,t)})):"dataURL"===n?this.wave.toDataURL(e,t):void 0}}])&&a(t.prototype,n),i&&a(t,i),e}();t.default=s,e.exports=t.default},"./src/drawer.js":function(e,t,n){"use strict";function r(e){return(r="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n("./src/util/index.js"));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!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}}),t&&s(e,t)}(c,e);var t,n,r,i=l(c);function c(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=i.call(this)).container=e,n.params=t,n.width=0,n.height=t.height*n.params.pixelRatio,n.lastPos=0,n.wrapper=null,n}return t=c,(n=[{key:"style",value:function(e,t){return o.style(e,t)}},{key:"createWrapper",value:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()}},{key:"handleEvent",value:function(e,t){!t&&e.preventDefault();var n,r=e.targetTouches?e.targetTouches[0].clientX:e.clientX,i=this.wrapper.getBoundingClientRect(),a=this.width,s=this.getWidth();return n=!this.params.fillParent&&a<s?(this.params.rtl?i.right-r:r-i.left)*(this.params.pixelRatio/a)||0:((this.params.rtl?i.right-r:r-i.left)+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,o.clamp(n,0,1)}},{key:"setupWrapperEvents",value:function(){var e=this;this.wrapper.addEventListener("click",(function(t){var n=e.wrapper.offsetHeight-e.wrapper.clientHeight;if(0!==n){var r=e.wrapper.getBoundingClientRect();if(t.clientY>=r.bottom-n)return}e.params.interact&&e.fireEvent("click",t,e.handleEvent(t))})),this.wrapper.addEventListener("dblclick",(function(t){e.params.interact&&e.fireEvent("dblclick",t,e.handleEvent(t))})),this.wrapper.addEventListener("scroll",(function(t){return e.fireEvent("scroll",t)}))}},{key:"drawPeaks",value:function(e,t,n,r){this.setWidth(t)||this.clearWave(),this.params.barWidth?this.drawBars(e,0,n,r):this.drawWave(e,0,n,r)}},{key:"resetScroll",value:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)}},{key:"recenter",value:function(e){var t=this.wrapper.scrollWidth*e;this.recenterOnPosition(t,!0)}},{key:"recenterOnPosition",value:function(e,t){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=this.wrapper.scrollWidth-this.wrapper.clientWidth,i=e-r,a=i-n;if(0!=o){if(!t&&-r<=a&&a<r){var s=this.params.autoCenterRate;s/=r,s*=o,i=n+(a=Math.max(-s,Math.min(s,a)))}(i=Math.max(0,Math.min(o,i)))!=n&&(this.wrapper.scrollLeft=i)}}},{key:"getScrollX",value:function(){var e=0;if(this.wrapper){var t=this.params.pixelRatio;if(e=Math.round(this.wrapper.scrollLeft*t),this.params.scrollParent){var n=~~(this.wrapper.scrollWidth*t-this.getWidth());e=Math.min(n,Math.max(0,e))}}return e}},{key:"getWidth",value:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)}},{key:"setWidth",value:function(e){return this.width!=e&&(this.width=e,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize(),!0)}},{key:"setHeight",value:function(e){return e!=this.height&&(this.height=e,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)}},{key:"progress",value:function(e){var t=1/this.params.pixelRatio,n=Math.round(e*this.width)*t;if(n<this.lastPos||n-this.lastPos>=t){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*e);this.recenterOnPosition(r,this.params.autoCenterImmediately)}this.updateProgress(n)}}},{key:"destroy",value:function(){this.unAll(),this.wrapper&&(this.wrapper.parentNode==this.container&&this.container.removeChild(this.wrapper),this.wrapper=null)}},{key:"updateCursor",value:function(){}},{key:"updateSize",value:function(){}},{key:"drawBars",value:function(e,t,n,r){}},{key:"drawWave",value:function(e,t,n,r){}},{key:"clearWave",value:function(){}},{key:"updateProgress",value:function(e){}}])&&a(t.prototype,n),r&&a(t,r),c}(o.Observer);t.default=d,e.exports=t.default},"./src/drawer.multicanvas.js":function(e,t,n){"use strict";function r(e){return(r="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n("./src/drawer.js")),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n("./src/util/index.js")),a=l(n("./src/drawer.canvasentry.js"));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!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}}),t&&u(e,t)}(s,e);var t,n,r,o=d(s);function s(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=o.call(this,e,t)).maxCanvasWidth=t.maxCanvasWidth,n.maxCanvasElementWidth=Math.round(t.maxCanvasWidth/t.pixelRatio),n.hasProgressCanvas=t.waveColor!=t.progressColor,n.halfPixel=.5/t.pixelRatio,n.canvases=[],n.progressWave=null,n.EntryClass=a.default,n.canvasContextAttributes=t.drawingContextAttributes,n.overlap=2*Math.ceil(t.pixelRatio/2),n.barRadius=t.barRadius||0,n}return t=s,(n=[{key:"init",value:function(){this.createWrapper(),this.createElements()}},{key:"createElements",value:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:3,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.addCanvas(),this.updateCursor()}},{key:"updateCursor",value:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})}},{key:"updateSize",value:function(){for(var e=this,t=Math.round(this.width/this.params.pixelRatio),n=Math.ceil(t/(this.maxCanvasElementWidth+this.overlap));this.canvases.length<n;)this.addCanvas();for(;this.canvases.length>n;)this.removeCanvas();var r=this.maxCanvasWidth+this.overlap,o=this.canvases.length-1;this.canvases.forEach((function(t,n){n==o&&(r=e.width-e.maxCanvasWidth*o),e.updateDimensions(t,r,e.height),t.clearWave()}))}},{key:"addCanvas",value:function(){var e=new this.EntryClass;e.canvasContextAttributes=this.canvasContextAttributes,e.hasProgressCanvas=this.hasProgressCanvas,e.halfPixel=this.halfPixel;var t=this.maxCanvasElementWidth*this.canvases.length;e.initWave(this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:2,left:t+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"}))),this.hasProgressCanvas&&e.initProgress(this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:t+"px",top:0,bottom:0,height:"100%"}))),this.canvases.push(e)}},{key:"removeCanvas",value:function(){var e=this.canvases[this.canvases.length-1];e.wave.parentElement.removeChild(e.wave),this.hasProgressCanvas&&e.progress.parentElement.removeChild(e.progress),e&&(e.destroy(),e=null),this.canvases.pop()}},{key:"updateDimensions",value:function(e,t,n){var r=Math.round(t/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);e.updateDimensions(r,o,t,n),this.style(this.progressWave,{display:"block"})}},{key:"clearWave",value:function(){var e=this;i.frame((function(){e.canvases.forEach((function(e){return e.clearWave()}))}))()}},{key:"drawBars",value:function(e,t,n,r){var o=this;return this.prepareDraw(e,t,n,r,(function(e){var t=e.absmax,i=e.hasMinVals,a=(e.height,e.offsetY),s=e.halfH,l=e.peaks,c=e.channelIndex;if(void 0!==n)for(var u=i?2:1,d=l.length/u,p=o.params.barWidth*o.params.pixelRatio,f=p+(null===o.params.barGap?Math.max(o.params.pixelRatio,~~(p/2)):Math.max(o.params.pixelRatio,o.params.barGap*o.params.pixelRatio)),h=d/o.width,m=r,g=n;g<m;g+=f){var y=l[Math.floor(g*h*u)]||0,v=Math.round(y/t*s);0==v&&o.params.barMinHeight&&(v=o.params.barMinHeight),o.fillRect(g+o.halfPixel,s-v+a,p+o.halfPixel,2*v,o.barRadius,c)}}))}},{key:"drawWave",value:function(e,t,n,r){var o=this;return this.prepareDraw(e,t,n,r,(function(e){var t=e.absmax,i=e.hasMinVals,a=(e.height,e.offsetY),s=e.halfH,l=e.peaks,c=e.channelIndex;if(!i){for(var u=[],d=l.length,p=0;p<d;p++)u[2*p]=l[p],u[2*p+1]=-l[p];l=u}void 0!==n&&o.drawLine(l,t,s,a,n,r,c),o.fillRect(0,s+a-o.halfPixel,o.width,o.halfPixel,o.barRadius,c)}))}},{key:"drawLine",value:function(e,t,n,r,o,i,a){var s=this,l=this.params.splitChannelsOptions.channelColors[a]||{},c=l.waveColor,u=l.progressColor;this.canvases.forEach((function(a,l){s.setFillStyles(a,c,u),a.drawLines(e,t,n,r,o,i)}))}},{key:"fillRect",value:function(e,t,n,r,o,i){for(var a=Math.floor(e/this.maxCanvasWidth),s=Math.min(Math.ceil((e+n)/this.maxCanvasWidth)+1,this.canvases.length),l=a;l<s;l++){var c=this.canvases[l],u=l*this.maxCanvasWidth,d={x1:Math.max(e,l*this.maxCanvasWidth),y1:t,x2:Math.min(e+n,l*this.maxCanvasWidth+c.wave.width),y2:t+r};if(d.x1<d.x2){var p=this.params.splitChannelsOptions.channelColors[i]||{},f=p.waveColor,h=p.progressColor;this.setFillStyles(c,f,h),c.fillRects(d.x1-u,d.y1,d.x2-d.x1,d.y2-d.y1,o)}}}},{key:"hideChannel",value:function(e){return this.params.splitChannels&&this.params.splitChannelsOptions.filterChannels.includes(e)}},{key:"prepareDraw",value:function(e,t,n,r,o,a,s){var l=this;return i.frame((function(){if(e[0]instanceof Array){var c=e;if(l.params.splitChannels){var u,d=c.filter((function(e,t){return!l.hideChannel(t)}));return l.params.splitChannelsOptions.overlay||l.setHeight(Math.max(d.length,1)*l.params.height*l.params.pixelRatio),l.params.splitChannelsOptions&&l.params.splitChannelsOptions.relativeNormalization&&(u=i.max(c.map((function(e){return i.absMax(e)})))),c.forEach((function(e,t){return l.prepareDraw(e,t,n,r,o,d.indexOf(e),u)}))}e=c[0]}if(!l.hideChannel(t)){var p=1/l.params.barHeight;l.params.normalize&&(p=void 0===s?i.absMax(e):s);var f=[].some.call(e,(function(e){return e<0})),h=l.params.height*l.params.pixelRatio,m=h/2,g=h*a||0;return l.params.splitChannelsOptions&&l.params.splitChannelsOptions.overlay&&(g=0),o({absmax:p,hasMinVals:f,height:h,offsetY:g,halfH:m,peaks:e,channelIndex:t})}}))()}},{key:"setFillStyles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.waveColor,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.params.progressColor;e.setFillStyles(t,n)}},{key:"getImage",value:function(e,t,n){if("blob"===n)return Promise.all(this.canvases.map((function(r){return r.getImage(e,t,n)})));if("dataURL"===n){var r=this.canvases.map((function(r){return r.getImage(e,t,n)}));return r.length>1?r:r[0]}}},{key:"updateProgress",value:function(e){this.style(this.progressWave,{width:e+"px"})}}])&&c(t.prototype,n),r&&c(t,r),s}(o.default);t.default=h,e.exports=t.default},"./src/mediaelement-webaudio.js":function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o;function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=function(e){!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}}),t&&s(e,t)}(c,e);var t,n,r,o=l(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=o.call(this,e)).params=e,t.sourceMediaElement=null,t}return t=c,(n=[{key:"init",value:function(){this.setPlaybackRate(this.params.audioRate),this.createTimer(),this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode()}},{key:"_load",value:function(e,t,n){a(u(c.prototype),"_load",this).call(this,e,t,n),this.createMediaElementSource(e)}},{key:"createMediaElementSource",value:function(e){this.sourceMediaElement=this.ac.createMediaElementSource(e),this.sourceMediaElement.connect(this.analyser)}},{key:"play",value:function(e,t){return this.resumeAudioContext(),a(u(c.prototype),"play",this).call(this,e,t)}},{key:"destroy",value:function(){a(u(c.prototype),"destroy",this).call(this),this.destroyWebAudio()}}])&&i(t.prototype,n),r&&i(t,r),c}(((o=n("./src/mediaelement.js"))&&o.__esModule?o:{default:o}).default);t.default=d,e.exports=t.default},"./src/mediaelement.js":function(e,t,n){"use strict";function r(e){return(r="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=(o=n("./src/webaudio.js"))&&o.__esModule?o:{default:o},a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n("./src/util/index.js"));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!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}}),t&&u(e,t)}(i,e);var t,n,r,o=d(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).params=e,t.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){},volume:0},t.mediaType=e.mediaType.toLowerCase(),t.elementPosition=e.elementPosition,t.peaks=null,t.playbackRate=1,t.volume=1,t.isMuted=!1,t.buffer=null,t.onPlayEnd=null,t.mediaListeners={},t}return t=i,(n=[{key:"init",value:function(){this.setPlaybackRate(this.params.audioRate),this.createTimer()}},{key:"_setupMediaListeners",value:function(){var e=this;this.mediaListeners.error=function(){e.fireEvent("error","Error loading media element")},this.mediaListeners.canplay=function(){e.fireEvent("canplay")},this.mediaListeners.ended=function(){e.fireEvent("finish")},this.mediaListeners.play=function(){e.fireEvent("play")},this.mediaListeners.pause=function(){e.fireEvent("pause")},this.mediaListeners.seeked=function(t){e.fireEvent("seek")},this.mediaListeners.volumechange=function(t){e.isMuted=e.media.muted,e.isMuted?e.volume=0:e.volume=e.media.volume,e.fireEvent("volume")},Object.keys(this.mediaListeners).forEach((function(t){e.media.removeEventListener(t,e.mediaListeners[t]),e.media.addEventListener(t,e.mediaListeners[t])}))}},{key:"createTimer",value:function(){var e=this;this.on("play",(function t(){e.isPaused()||(e.fireEvent("audioprocess",e.getCurrentTime()),a.frame(t)())})),this.on("pause",(function(){e.fireEvent("audioprocess",e.getCurrentTime())}))}},{key:"load",value:function(e,t,n,r){var o=document.createElement(this.mediaType);o.controls=this.params.mediaControls,o.autoplay=this.params.autoplay||!1,o.preload=null==r?"auto":r,o.src=e,o.style.width="100%";var i=t.querySelector(this.mediaType);i&&t.removeChild(i),t.appendChild(o),this._load(o,n,r)}},{key:"loadElt",value:function(e,t){e.controls=this.params.mediaControls,e.autoplay=this.params.autoplay||!1,this._load(e,t,e.preload)}},{key:"_load",value:function(e,t,n){if(!(e instanceof HTMLMediaElement)||void 0===e.addEventListener)throw new Error("media parameter is not a valid media element");"function"!=typeof e.load||t&&"none"==n||e.load(),this.media=e,this._setupMediaListeners(),this.peaks=t,this.onPlayEnd=null,this.buffer=null,this.isMuted=e.muted,this.setPlaybackRate(this.playbackRate),this.setVolume(this.volume)}},{key:"isPaused",value:function(){return!this.media||this.media.paused}},{key:"getDuration",value:function(){if(this.explicitDuration)return this.explicitDuration;var e=(this.buffer||this.media).duration;return e>=1/0&&(e=this.media.seekable.end(0)),e}},{key:"getCurrentTime",value:function(){return this.media&&this.media.currentTime}},{key:"getPlayedPercents",value:function(){return this.getCurrentTime()/this.getDuration()||0}},{key:"getPlaybackRate",value:function(){return this.playbackRate||this.media.playbackRate}},{key:"setPlaybackRate",value:function(e){this.playbackRate=e||1,this.media.playbackRate=this.playbackRate}},{key:"seekTo",value:function(e){null!=e&&(this.media.currentTime=e),this.clearPlayEnd()}},{key:"play",value:function(e,t){this.seekTo(e);var n=this.media.play();return t&&this.setPlayEnd(t),n}},{key:"pause",value:function(){var e;return this.media&&(e=this.media.pause()),this.clearPlayEnd(),e}},{key:"setPlayEnd",value:function(e){var t=this;this.clearPlayEnd(),this._onPlayEnd=function(n){n>=e&&(t.pause(),t.seekTo(e))},this.on("audioprocess",this._onPlayEnd)}},{key:"clearPlayEnd",value:function(){this._onPlayEnd&&(this.un("audioprocess",this._onPlayEnd),this._onPlayEnd=null)}},{key:"getPeaks",value:function(e,t,n){return this.buffer?c(f(i.prototype),"getPeaks",this).call(this,e,t,n):this.peaks||[]}},{key:"setSinkId",value:function(e){return e?this.media.setSinkId?this.media.setSinkId(e):Promise.reject(new Error("setSinkId is not supported in your browser")):Promise.reject(new Error("Invalid deviceId: "+e))}},{key:"getVolume",value:function(){return this.volume}},{key:"setVolume",value:function(e){this.volume=e,this.media.volume!==this.volume&&(this.media.volume=this.volume)}},{key:"setMute",value:function(e){this.isMuted=this.media.muted=e}},{key:"destroy",value:function(){var e=this;this.pause(),this.unAll(),this.destroyed=!0,Object.keys(this.mediaListeners).forEach((function(t){e.media&&e.media.removeEventListener(t,e.mediaListeners[t])})),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}])&&l(t.prototype,n),r&&l(t,r),i}(i.default);t.default=h,e.exports=t.default},"./src/peakcache.js":function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clearPeakCache()}var t,r,o;return t=e,(r=[{key:"clearPeakCache",value:function(){this.peakCacheRanges=[],this.peakCacheLength=-1}},{key:"addRangeToPeakCache",value:function(e,t,n){e!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=e);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<t;)o++;for(o%2==0&&r.push(t);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(e,t,n){return 0==t?e!=n[t+1]:t==n.length-1?e!=n[t-1]:e!=n[t-1]&&e!=n[t+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(e,t){return e-t})).filter((function(e,t,n){return 0==t?e!=n[t+1]:t==n.length-1?e!=n[t-1]:e!=n[t-1]&&e!=n[t+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i}},{key:"getCacheRanges",value:function(){var e,t=[];for(e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}}])&&n(t.prototype,r),o&&n(t,o),e}();t.default=r,e.exports=t.default},"./src/util/absMax.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e),n=(0,o.default)(e);return-n>t?-n:t};var r=i(n("./src/util/max.js")),o=i(n("./src/util/min.js"));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},"./src/util/clamp.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return Math.min(Math.max(t,e),n)},e.exports=t.default},"./src/util/fetch.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)throw new Error("fetch options missing");if(!e.url)throw new Error("fetch url missing");var t=new o.default,n=new Headers,r=new Request(e.url);t.controller=new AbortController,e&&e.requestHeaders&&e.requestHeaders.forEach((function(e){n.append(e.key,e.value)}));var i=e.responseType||"json",s={method:e.method||"GET",headers:n,mode:e.mode||"cors",credentials:e.credentials||"same-origin",cache:e.cache||"default",redirect:e.redirect||"follow",referrer:e.referrer||"client",signal:t.controller.signal};return fetch(r,s).then((function(e){t.response=e;var n=!0;e.body||(n=!1);var r=e.headers.get("content-length");return null===r&&(n=!1),n?(t.onProgress=function(e){t.fireEvent("progress",e)},new Response(new ReadableStream(new a(t,r,e)),s)):e})).then((function(e){var t;if(e.ok)switch(i){case"arraybuffer":return e.arrayBuffer();case"json":return e.json();case"blob":return e.blob();case"text":return e.text();default:t="Unknown responseType: "+i}throw t||(t="HTTP error status: "+e.status),new Error(t)})).then((function(e){t.fireEvent("success",e)})).catch((function(e){t.fireEvent("error",e)})),t.fetchRequest=r,t};var r,o=(r=n("./src/util/observer.js"))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.instance=t,this.instance._reader=r.body.getReader(),this.total=parseInt(n,10),this.loaded=0}var t,n,r;return t=e,(n=[{key:"start",value:function(e){var t=this;!function n(){t.instance._reader.read().then((function(r){var o=r.done,i=r.value;if(o)return 0===t.total&&t.instance.onProgress.call(t.instance,{loaded:t.loaded,total:t.total,lengthComputable:!1}),void e.close();t.loaded+=i.byteLength,t.instance.onProgress.call(t.instance,{loaded:t.loaded,total:t.total,lengthComputable:!(0===t.total)}),e.enqueue(i),n()})).catch((function(t){e.error(t)}))}()}}])&&i(t.prototype,n),r&&i(t,r),e}();e.exports=t.default},"./src/util/frame.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(0,o.default)((function(){return e.apply(void 0,n)}))}};var r,o=(r=n("./src/util/request-animation-frame.js"))&&r.__esModule?r:{default:r};e.exports=t.default},"./src/util/get-id.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e&&(e="wavesurfer_"),e+Math.random().toString(32).substring(2)},e.exports=t.default},"./src/util/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getId",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"max",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"min",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"absMax",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Observer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"requestAnimationFrame",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"frame",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"preventClick",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"fetchFile",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return h.default}});var r=m(n("./src/util/get-id.js")),o=m(n("./src/util/max.js")),i=m(n("./src/util/min.js")),a=m(n("./src/util/absMax.js")),s=m(n("./src/util/observer.js")),l=m(n("./src/util/style.js")),c=m(n("./src/util/request-animation-frame.js")),u=m(n("./src/util/frame.js")),d=m(n("./node_modules/debounce/index.js")),p=m(n("./src/util/prevent-click.js")),f=m(n("./src/util/fetch.js")),h=m(n("./src/util/clamp.js"));function m(e){return e&&e.__esModule?e:{default:e}}},"./src/util/max.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=-1/0;return Object.keys(e).forEach((function(n){e[n]>t&&(t=e[n])})),t},e.exports=t.default},"./src/util/min.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=Number(1/0);return Object.keys(e).forEach((function(n){e[n]<t&&(t=e[n])})),t},e.exports=t.default},"./src/util/observer.js":function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._disabledEventEmissions=[],this.handlers=null}var t,r,o;return t=e,(r=[{key:"on",value:function(e,t){var n=this;this.handlers||(this.handlers={});var r=this.handlers[e];return r||(r=this.handlers[e]=[]),r.push(t),{name:e,callback:t,un:function(e,t){return n.un(e,t)}}}},{key:"un",value:function(e,t){if(this.handlers){var n,r=this.handlers[e];if(r)if(t)for(n=r.length-1;n>=0;n--)r[n]==t&&r.splice(n,1);else r.length=0}}},{key:"unAll",value:function(){this.handlers=null}},{key:"once",value:function(e,t){var n=this;return this.on(e,(function r(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];t.apply(n,i),setTimeout((function(){n.un(e,r)}),0)}))}},{key:"setDisabledEventEmissions",value:function(e){this._disabledEventEmissions=e}},{key:"_isDisabledEventEmission",value:function(e){return this._disabledEventEmissions&&this._disabledEventEmissions.includes(e)}},{key:"fireEvent",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.handlers&&!this._isDisabledEventEmission(e)){var o=this.handlers[e];o&&o.forEach((function(e){e.apply(void 0,n)}))}}}])&&n(t.prototype,r),o&&n(t,o),e}();t.default=r,e.exports=t.default},"./src/util/prevent-click.js":function(e,t){"use strict";function n(e){e.stopPropagation(),document.body.removeEventListener("click",n,!0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){document.body.addEventListener("click",n,!0)},e.exports=t.default},"./src/util/request-animation-frame.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){return setTimeout(e,1e3/60)}).bind(window);t.default=n,e.exports=t.default},"./src/util/style.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Object.keys(t).forEach((function(n){e.style[n]!==t[n]&&(e.style[n]=t[n])})),e},e.exports=t.default},"./src/wavesurfer.js":function(e,t,n){"use strict";function r(e){return(r="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=d();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n("./src/util/index.js")),i=u(n("./src/drawer.multicanvas.js")),a=u(n("./src/webaudio.js")),s=u(n("./src/mediaelement.js")),l=u(n("./src/peakcache.js")),c=u(n("./src/mediaelement-webaudio.js"));function u(e){return e&&e.__esModule?e:{default:e}}function d(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return d=function(){return e},e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}var _=function(e){!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}}),t&&p(e,t)}(n,e);var t=f(n);function n(e){var r;if(y(this,n),(r=t.call(this)).defaultParams={audioContext:null,audioScriptProcessor:null,audioRate:1,autoCenter:!0,autoCenterRate:5,autoCenterImmediately:!1,backend:"WebAudio",backgroundColor:null,barHeight:1,barRadius:0,barGap:null,barMinHeight:null,container:null,cursorColor:"#333",cursorWidth:1,dragSelection:!0,drawingContextAttributes:{desynchronized:!1},duration:null,fillParent:!0,forceDecode:!1,height:128,hideScrollbar:!1,interact:!0,loopSelection:!0,maxCanvasWidth:4e3,mediaContainer:null,mediaControls:!1,mediaType:"audio",minPxPerSec:20,normalize:!1,partialRender:!1,pixelRatio:window.devicePixelRatio||screen.deviceXDPI/screen.logicalXDPI,plugins:[],progressColor:"#555",removeMediaElementOnDestroy:!0,renderer:i.default,responsive:!1,rtl:!1,scrollParent:!1,skipLength:2,splitChannels:!1,splitChannelsOptions:{overlay:!1,channelColors:{},filterChannels:[],relativeNormalization:!1},waveColor:"#999",xhr:{}},r.backends={MediaElement:s.default,WebAudio:a.default,MediaElementWebAudio:c.default},r.util=o,r.params=Object.assign({},r.defaultParams,e),r.params.splitChannelsOptions=Object.assign({},r.defaultParams.splitChannelsOptions,e.splitChannelsOptions),r.container="string"==typeof e.container?document.querySelector(r.params.container):r.params.container,!r.container)throw new Error("Container element not found");if(null==r.params.mediaContainer?r.mediaContainer=r.container:"string"==typeof r.params.mediaContainer?r.mediaContainer=document.querySelector(r.params.mediaContainer):r.mediaContainer=r.params.mediaContainer,!r.mediaContainer)throw new Error("Media Container element not found");if(r.params.maxCanvasWidth<=1)throw new Error("maxCanvasWidth must be greater than 1");if(r.params.maxCanvasWidth%2==1)throw new Error("maxCanvasWidth must be an even number");if(!0===r.params.rtl&&o.style(r.container,{transform:"rotateY(180deg)"}),r.params.backgroundColor&&r.setBackgroundColor(r.params.backgroundColor),r.savedVolume=0,r.isMuted=!1,r.tmpEvents=[],r.currentRequest=null,r.arraybuffer=null,r.drawer=null,r.backend=null,r.peakCache=null,"function"!=typeof r.params.renderer)throw new Error("Renderer parameter is invalid");r.Drawer=r.params.renderer,"AudioElement"==r.params.backend&&(r.params.backend="MediaElement"),"WebAudio"!=r.params.backend&&"MediaElementWebAudio"!==r.params.backend||a.default.prototype.supportsWebAudio.call(null)||(r.params.backend="MediaElement"),r.Backend=r.backends[r.params.backend],r.initialisedPluginList={},r.isDestroyed=!1,r.isReady=!1;var l=0;return r._onResize=o.debounce((function(){l==r.drawer.wrapper.clientWidth||r.params.scrollParent||(l=r.drawer.wrapper.clientWidth,r.drawer.fireEvent("redraw"))}),"number"==typeof r.params.responsive?r.params.responsive:100),h(r,m(r))}return b(n,[{key:"init",value:function(){return this.registerPlugins(this.params.plugins),this.createDrawer(),this.createBackend(),this.createPeakCache(),this}},{key:"registerPlugins",value:function(e){var t=this;return e.forEach((function(e){return t.addPlugin(e)})),e.forEach((function(e){e.deferInit||t.initPlugin(e.name)})),this.fireEvent("plugins-registered",e),this}},{key:"getActivePlugins",value:function(){return this.initialisedPluginList}},{key:"addPlugin",value:function(e){var t=this;if(!e.name)throw new Error("Plugin does not have a name!");if(!e.instance)throw new Error("Plugin ".concat(e.name," does not have an instance property!"));e.staticProps&&Object.keys(e.staticProps).forEach((function(n){t[n]=e.staticProps[n]}));var n=e.instance;return Object.getOwnPropertyNames(o.Observer.prototype).forEach((function(e){n.prototype[e]=o.Observer.prototype[e]})),this[e.name]=new n(e.params||{},this),this.fireEvent("plugin-added",e.name),this}},{key:"initPlugin",value:function(e){if(!this[e])throw new Error("Plugin ".concat(e," has not been added yet!"));return this.initialisedPluginList[e]&&this.destroyPlugin(e),this[e].init(),this.initialisedPluginList[e]=!0,this.fireEvent("plugin-initialised",e),this}},{key:"destroyPlugin",value:function(e){if(!this[e])throw new Error("Plugin ".concat(e," has not been added yet and cannot be destroyed!"));if(!this.initialisedPluginList[e])throw new Error("Plugin ".concat(e," is not active and cannot be destroyed!"));if("function"!=typeof this[e].destroy)throw new Error("Plugin ".concat(e," does not have a destroy function!"));return this[e].destroy(),delete this.initialisedPluginList[e],this.fireEvent("plugin-destroyed",e),this}},{key:"destroyAllPlugins",value:function(){var e=this;Object.keys(this.initialisedPluginList).forEach((function(t){return e.destroyPlugin(t)}))}},{key:"createDrawer",value:function(){var e=this;this.drawer=new this.Drawer(this.container,this.params),this.drawer.init(),this.fireEvent("drawer-created",this.drawer),!1!==this.params.responsive&&(window.addEventListener("resize",this._onResize,!0),window.addEventListener("orientationchange",this._onResize,!0)),this.drawer.on("redraw",(function(){e.drawBuffer(),e.drawer.progress(e.backend.getPlayedPercents())})),this.drawer.on("click",(function(t,n){setTimeout((function(){return e.seekTo(n)}),0)})),this.drawer.on("scroll",(function(t){e.params.partialRender&&e.drawBuffer(),e.fireEvent("scroll",t)}))}},{key:"createBackend",value:function(){var e=this;this.backend&&this.backend.destroy(),this.backend=new this.Backend(this.params),this.backend.init(),this.fireEvent("backend-created",this.backend),this.backend.on("finish",(function(){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("finish")})),this.backend.on("play",(function(){return e.fireEvent("play")})),this.backend.on("pause",(function(){return e.fireEvent("pause")})),this.backend.on("audioprocess",(function(t){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("audioprocess",t)})),"MediaElement"!==this.params.backend&&"MediaElementWebAudio"!==this.params.backend||(this.backend.on("seek",(function(){e.drawer.progress(e.backend.getPlayedPercents())})),this.backend.on("volume",(function(){var t=e.getVolume();e.fireEvent("volume",t),e.backend.isMuted!==e.isMuted&&(e.isMuted=e.backend.isMuted,e.fireEvent("mute",e.isMuted))})))}},{key:"createPeakCache",value:function(){this.params.partialRender&&(this.peakCache=new l.default)}},{key:"getDuration",value:function(){return this.backend.getDuration()}},{key:"getCurrentTime",value:function(){return this.backend.getCurrentTime()}},{key:"setCurrentTime",value:function(e){e>=this.getDuration()?this.seekTo(1):this.seekTo(e/this.getDuration())}},{key:"play",value:function(e,t){var n=this;return this.fireEvent("interaction",(function(){return n.play(e,t)})),this.backend.play(e,t)}},{key:"setPlayEnd",value:function(e){this.backend.setPlayEnd(e)}},{key:"pause",value:function(){if(!this.backend.isPaused())return this.backend.pause()}},{key:"playPause",value:function(){return this.backend.isPaused()?this.play():this.pause()}},{key:"isPlaying",value:function(){return!this.backend.isPaused()}},{key:"skipBackward",value:function(e){this.skip(-e||-this.params.skipLength)}},{key:"skipForward",value:function(e){this.skip(e||this.params.skipLength)}},{key:"skip",value:function(e){var t=this.getDuration()||1,n=this.getCurrentTime()||0;n=Math.max(0,Math.min(t,n+(e||0))),this.seekAndCenter(n/t)}},{key:"seekAndCenter",value:function(e){this.seekTo(e),this.drawer.recenter(e)}},{key:"seekTo",value:function(e){var t=this;if("number"!=typeof e||!isFinite(e)||e<0||e>1)throw new Error("Error calling wavesurfer.seekTo, parameter must be a number between 0 and 1!");this.fireEvent("interaction",(function(){return t.seekTo(e)}));var n="WebAudio"===this.params.backend,r=this.backend.isPaused();n&&!r&&this.backend.pause();var o=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(e*this.getDuration()),this.drawer.progress(e),n&&!r&&this.backend.play(),this.params.scrollParent=o,this.fireEvent("seek",e)}},{key:"stop",value:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)}},{key:"setSinkId",value:function(e){return this.backend.setSinkId(e)}},{key:"setVolume",value:function(e){this.backend.setVolume(e),this.fireEvent("volume",e)}},{key:"getVolume",value:function(){return this.backend.getVolume()}},{key:"setPlaybackRate",value:function(e){this.backend.setPlaybackRate(e)}},{key:"getPlaybackRate",value:function(){return this.backend.getPlaybackRate()}},{key:"toggleMute",value:function(){this.setMute(!this.isMuted)}},{key:"setMute",value:function(e){e!==this.isMuted?(this.backend.setMute?(this.backend.setMute(e),this.isMuted=e):e?(this.savedVolume=this.backend.getVolume(),this.backend.setVolume(0),this.isMuted=!0,this.fireEvent("volume",0)):(this.backend.setVolume(this.savedVolume),this.isMuted=!1,this.fireEvent("volume",this.savedVolume)),this.fireEvent("mute",this.isMuted)):this.fireEvent("mute",this.isMuted)}},{key:"getMute",value:function(){return this.isMuted}},{key:"getFilters",value:function(){return this.backend.filters||[]}},{key:"toggleScroll",value:function(){this.params.scrollParent=!this.params.scrollParent,this.drawBuffer()}},{key:"toggleInteraction",value:function(){this.params.interact=!this.params.interact}},{key:"getWaveColor",value:function(){return this.params.waveColor}},{key:"setWaveColor",value:function(e){this.params.waveColor=e,this.drawBuffer()}},{key:"getProgressColor",value:function(){return this.params.progressColor}},{key:"setProgressColor",value:function(e){this.params.progressColor=e,this.drawBuffer()}},{key:"getBackgroundColor",value:function(){return this.params.backgroundColor}},{key:"setBackgroundColor",value:function(e){this.params.backgroundColor=e,o.style(this.container,{background:this.params.backgroundColor})}},{key:"getCursorColor",value:function(){return this.params.cursorColor}},{key:"setCursorColor",value:function(e){this.params.cursorColor=e,this.drawer.updateCursor()}},{key:"getHeight",value:function(){return this.params.height}},{key:"setHeight",value:function(e){this.params.height=e,this.drawer.setHeight(e*this.params.pixelRatio),this.drawBuffer()}},{key:"setFilteredChannels",value:function(e){this.params.splitChannelsOptions.filterChannels=e,this.drawBuffer()}},{key:"drawBuffer",value:function(){var e,t=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),n=this.drawer.getWidth(),r=t,o=0,i=Math.max(o+n,r);if(this.params.fillParent&&(!this.params.scrollParent||t<n)&&(o=0,i=r=n),this.params.partialRender){var a,s=this.peakCache.addRangeToPeakCache(r,o,i);for(a=0;a<s.length;a++)e=this.backend.getPeaks(r,s[a][0],s[a][1]),this.drawer.drawPeaks(e,r,s[a][0],s[a][1])}else e=this.backend.getPeaks(r,o,i),this.drawer.drawPeaks(e,r,o,i);this.fireEvent("redraw",e,r)}},{key:"zoom",value:function(e){e?(this.params.minPxPerSec=e,this.params.scrollParent=!0):(this.params.minPxPerSec=this.defaultParams.minPxPerSec,this.params.scrollParent=!1),this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents()),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",e)}},{key:"loadArrayBuffer",value:function(e){var t=this;this.decodeArrayBuffer(e,(function(e){t.isDestroyed||t.loadDecodedBuffer(e)}))}},{key:"loadDecodedBuffer",value:function(e){this.backend.load(e),this.drawBuffer(),this.isReady=!0,this.fireEvent("ready")}},{key:"loadBlob",value:function(e){var t=this,n=new FileReader;n.addEventListener("progress",(function(e){return t.onProgress(e)})),n.addEventListener("load",(function(e){return t.loadArrayBuffer(e.target.result)})),n.addEventListener("error",(function(){return t.fireEvent("error","Error reading file")})),n.readAsArrayBuffer(e),this.empty()}},{key:"load",value:function(e,t,n,r){if(!e)throw new Error("url parameter cannot be empty");if(this.empty(),n){var o={"Preload is not 'auto', 'none' or 'metadata'":-1===["auto","metadata","none"].indexOf(n),"Peaks are not provided":!t,"Backend is not of type 'MediaElement' or 'MediaElementWebAudio'":-1===["MediaElement","MediaElementWebAudio"].indexOf(this.params.backend),"Url is not of type string":"string"!=typeof e},i=Object.keys(o).filter((function(e){return o[e]}));i.length&&(console.warn("Preload parameter of wavesurfer.load will be ignored because:\n\t- "+i.join("\n\t- ")),n=null)}switch("WebAudio"===this.params.backend&&e instanceof HTMLMediaElement&&(e=e.src),this.params.backend){case"WebAudio":return this.loadBuffer(e,t,r);case"MediaElement":case"MediaElementWebAudio":return this.loadMediaElement(e,t,n,r)}}},{key:"loadBuffer",value:function(e,t,n){var r=this,o=function(t){return t&&r.tmpEvents.push(r.once("ready",t)),r.getArrayBuffer(e,(function(e){return r.loadArrayBuffer(e)}))};if(!t)return o();this.backend.setPeaks(t,n),this.drawBuffer(),this.fireEvent("waveform-ready"),this.tmpEvents.push(this.once("interaction",o))}},{key:"loadMediaElement",value:function(e,t,n,r){var o=this,i=e;if("string"==typeof e)this.backend.load(i,this.mediaContainer,t,n);else{var a=e;this.backend.loadElt(a,t),i=a.src}this.tmpEvents.push(this.backend.once("canplay",(function(){o.backend.destroyed||(o.drawBuffer(),o.isReady=!0,o.fireEvent("ready"))})),this.backend.once("error",(function(e){return o.fireEvent("error",e)}))),t&&(this.backend.setPeaks(t,r),this.drawBuffer(),this.fireEvent("waveform-ready")),t&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(i,(function(e){o.decodeArrayBuffer(e,(function(e){o.backend.buffer=e,o.backend.setPeaks(null),o.drawBuffer(),o.fireEvent("waveform-ready")}))}))}},{key:"decodeArrayBuffer",value:function(e,t){var n=this;this.arraybuffer=e,this.backend.decodeArrayBuffer(e,(function(r){n.isDestroyed||n.arraybuffer!=e||(t(r),n.arraybuffer=null)}),(function(){return n.fireEvent("error","Error decoding audiobuffer")}))}},{key:"getArrayBuffer",value:function(e,t){var n=this,r=Object.assign({url:e,responseType:"arraybuffer"},this.params.xhr),i=o.fetchFile(r);return this.currentRequest=i,this.tmpEvents.push(i.on("progress",(function(e){n.onProgress(e)})),i.on("success",(function(e){t(e),n.currentRequest=null})),i.on("error",(function(e){n.fireEvent("error",e),n.currentRequest=null}))),i}},{key:"onProgress",value:function(e){var t;t=e.lengthComputable?e.loaded/e.total:e.loaded/(e.loaded+1e6),this.fireEvent("loading",Math.round(100*t),e.target)}},{key:"exportPCM",value:function(e,t,n,r,o){e=e||1024,r=r||0,t=t||1e4,n=n||!1;var i=this.backend.getPeaks(e,r,o),a=[].map.call(i,(function(e){return Math.round(e*t)/t}));return new Promise((function(e,t){var r=JSON.stringify(a);n||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(r)),e(r)}))}},{key:"exportImage",value:function(e,t,n){return e||(e="image/png"),t||(t=1),n||(n="dataURL"),this.drawer.getImage(e,t,n)}},{key:"cancelAjax",value:function(){this.currentRequest&&this.currentRequest.controller&&(this.currentRequest._reader&&this.currentRequest._reader.cancel().catch((function(e){})),this.currentRequest.controller.abort(),this.currentRequest=null)}},{key:"clearTmpEvents",value:function(){this.tmpEvents.forEach((function(e){return e.un()}))}},{key:"empty",value:function(){this.backend.isPaused()||(this.stop(),this.backend.disconnectSource()),this.isReady=!1,this.cancelAjax(),this.clearTmpEvents(),this.drawer.progress(0),this.drawer.setWidth(0),this.drawer.drawPeaks({length:this.drawer.getWidth()},0)}},{key:"destroy",value:function(){this.destroyAllPlugins(),this.fireEvent("destroy"),this.cancelAjax(),this.clearTmpEvents(),this.unAll(),!1!==this.params.responsive&&(window.removeEventListener("resize",this._onResize,!0),window.removeEventListener("orientationchange",this._onResize,!0)),this.backend&&(this.backend.destroy(),this.backend=null),this.drawer&&this.drawer.destroy(),this.isDestroyed=!0,this.isReady=!1,this.arraybuffer=null}}],[{key:"create",value:function(e){return new n(e).init()}}]),n}(o.Observer);t.default=_,_.VERSION="4.6.0",_.util=o,e.exports=t.default},"./src/webaudio.js":function(e,t,n){"use strict";function r(e){return(r="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n("./src/util/index.js"));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!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}}),t&&l(e,t)}(i,e);var t,n,r,o=c(i);function i(e){var t,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(r=o.call(this)).audioContext=null,r.offlineAudioContext=null,r.stateBehaviors=(a(t={},"playing",{init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var e=this.getDuration();return this.getCurrentTime()/e||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}}),a(t,"paused",{init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var e=this.getDuration();return this.getCurrentTime()/e||0},getCurrentTime:function(){return this.startPosition}}),a(t,"finished",{init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}}),t),r.params=e,r.ac=e.audioContext||(r.supportsWebAudio()?r.getAudioContext():{}),r.lastPlay=r.ac.currentTime,r.startPosition=0,r.scheduledPause=null,r.states=(a(n={},"playing",Object.create(r.stateBehaviors.playing)),a(n,"paused",Object.create(r.stateBehaviors.paused)),a(n,"finished",Object.create(r.stateBehaviors.finished)),n),r.buffer=null,r.filters=[],r.gainNode=null,r.mergedPeaks=null,r.offlineAc=null,r.peaks=null,r.playbackRate=1,r.analyser=null,r.scriptNode=null,r.source=null,r.splitPeaks=[],r.state=null,r.explicitDuration=e.duration,r.destroyed=!1,r}return t=i,(n=[{key:"supportsWebAudio",value:function(){return!(!window.AudioContext&&!window.webkitAudioContext)}},{key:"getAudioContext",value:function(){return window.WaveSurferAudioContext||(window.WaveSurferAudioContext=new(window.AudioContext||window.webkitAudioContext)),window.WaveSurferAudioContext}},{key:"getOfflineAudioContext",value:function(e){return window.WaveSurferOfflineAudioContext||(window.WaveSurferOfflineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,e)),window.WaveSurferOfflineAudioContext}},{key:"init",value:function(){this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode(),this.setState("paused"),this.setPlaybackRate(this.params.audioRate),this.setLength(0)}},{key:"disconnectFilters",value:function(){this.filters&&(this.filters.forEach((function(e){e&&e.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))}},{key:"setState",value:function(e){this.state!==this.states[e]&&(this.state=this.states[e],this.state.init.call(this))}},{key:"setFilter",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.setFilters(t)}},{key:"setFilters",value:function(e){this.disconnectFilters(),e&&e.length&&(this.filters=e,this.analyser.disconnect(),e.reduce((function(e,t){return e.connect(t),t}),this.analyser).connect(this.gainNode))}},{key:"createScriptNode",value:function(){this.params.audioScriptProcessor?this.scriptNode=this.params.audioScriptProcessor:this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(i.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(i.scriptBufferSize),this.scriptNode.connect(this.ac.destination)}},{key:"addOnAudioProcess",value:function(){var e=this;this.scriptNode.onaudioprocess=function(){var t=e.getCurrentTime();t>=e.getDuration()?(e.setState("finished"),e.fireEvent("pause")):t>=e.scheduledPause?e.pause():e.state===e.states.playing&&e.fireEvent("audioprocess",t)}}},{key:"removeOnAudioProcess",value:function(){this.scriptNode.onaudioprocess=function(){}}},{key:"createAnalyserNode",value:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)}},{key:"createVolumeNode",value:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)}},{key:"setSinkId",value:function(e){if(e){var t=new window.Audio;if(!t.setSinkId)return Promise.reject(new Error("setSinkId is not supported in your browser"));t.autoplay=!0;var n=this.ac.createMediaStreamDestination();return this.gainNode.disconnect(),this.gainNode.connect(n),t.srcObject=n.stream,t.setSinkId(e)}return Promise.reject(new Error("Invalid deviceId: "+e))}},{key:"setVolume",value:function(e){this.gainNode.gain.setValueAtTime(e,this.ac.currentTime)}},{key:"getVolume",value:function(){return this.gainNode.gain.value}},{key:"decodeArrayBuffer",value:function(e,t,n){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac&&this.ac.sampleRate?this.ac.sampleRate:44100)),"webkitAudioContext"in window?this.offlineAc.decodeAudioData(e,(function(e){return t(e)}),n):this.offlineAc.decodeAudioData(e).then((function(e){return t(e)})).catch((function(e){return n(e)}))}},{key:"setPeaks",value:function(e,t){null!=t&&(this.explicitDuration=t),this.peaks=e}},{key:"setLength",value:function(e){if(!this.mergedPeaks||e!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];var t,n=this.buffer?this.buffer.numberOfChannels:1;for(t=0;t<n;t++)this.splitPeaks[t]=[],this.splitPeaks[t][2*(e-1)]=0,this.splitPeaks[t][2*(e-1)+1]=0;this.mergedPeaks[2*(e-1)]=0,this.mergedPeaks[2*(e-1)+1]=0}}},{key:"getPeaks",value:function(e,t,n){if(this.peaks)return this.peaks;if(!this.buffer)return[];if(t=t||0,n=n||e-1,this.setLength(e),!this.buffer)return this.params.splitChannels?this.splitPeaks:this.mergedPeaks;if(!this.buffer.length){var r=this.createBuffer(1,4096,this.sampleRate);this.buffer=r.buffer}var o,i=this.buffer.length/e,a=~~(i/10)||1,s=this.buffer.numberOfChannels;for(o=0;o<s;o++){var l=this.splitPeaks[o],c=this.buffer.getChannelData(o),u=void 0;for(u=t;u<=n;u++){var d=~~(u*i),p=~~(d+i),f=c[d],h=f,m=void 0;for(m=d;m<p;m+=a){var g=c[m];g>h&&(h=g),g<f&&(f=g)}l[2*u]=h,l[2*u+1]=f,(0==o||h>this.mergedPeaks[2*u])&&(this.mergedPeaks[2*u]=h),(0==o||f<this.mergedPeaks[2*u+1])&&(this.mergedPeaks[2*u+1]=f)}}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks}},{key:"getPlayedPercents",value:function(){return this.state.getPlayedPercents.call(this)}},{key:"disconnectSource",value:function(){this.source&&this.source.disconnect()}},{key:"destroyWebAudio",value:function(){this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.closeAudioContext&&("function"==typeof this.ac.close&&"closed"!=this.ac.state&&this.ac.close(),this.ac=null,this.params.audioContext?this.params.audioContext=null:window.WaveSurferAudioContext=null,window.WaveSurferOfflineAudioContext=null)}},{key:"destroy",value:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.destroyed=!0,this.destroyWebAudio()}},{key:"load",value:function(e){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=e,this.createSource()}},{key:"createSource",value:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.setPlaybackRate(this.playbackRate),this.source.buffer=this.buffer,this.source.connect(this.analyser)}},{key:"resumeAudioContext",value:function(){"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume()}},{key:"isPaused",value:function(){return this.state!==this.states.playing}},{key:"getDuration",value:function(){return this.explicitDuration?this.explicitDuration:this.buffer?this.buffer.duration:0}},{key:"seekTo",value:function(e,t){if(this.buffer)return this.scheduledPause=null,null==e&&(e=this.getCurrentTime())>=this.getDuration()&&(e=0),null==t&&(t=this.getDuration()),this.startPosition=e,this.lastPlay=this.ac.currentTime,this.state===this.states.finished&&this.setState("paused"),{start:e,end:t}}},{key:"getPlayedTime",value:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate}},{key:"play",value:function(e,t){if(this.buffer){this.createSource();var n=this.seekTo(e,t);e=n.start,t=n.end,this.scheduledPause=t,this.source.start(0,e),this.resumeAudioContext(),this.setState("playing"),this.fireEvent("play")}}},{key:"pause",value:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState("paused"),this.fireEvent("pause")}},{key:"getCurrentTime",value:function(){return this.state.getCurrentTime.call(this)}},{key:"getPlaybackRate",value:function(){return this.playbackRate}},{key:"setPlaybackRate",value:function(e){this.playbackRate=e||1,this.source&&this.source.playbackRate.setValueAtTime(this.playbackRate,this.ac.currentTime)}},{key:"setPlayEnd",value:function(e){this.scheduledPause=e}}])&&s(t.prototype,n),r&&s(t,r),i}(o.Observer);t.default=p,p.scriptBufferSize=256,e.exports=t.default},"./node_modules/debounce/index.js":function(e){function t(e,t,n){var r,o,i,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var c=function(){i=this,o=arguments,a=Date.now();var c=n&&!r;return r||(r=setTimeout(l,t)),c&&(s=e.apply(i,o),i=o=null),s};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(s=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},c}t.debounce=t,e.exports=t}},t={};return function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}("./src/wavesurfer.js")}()},"object"===s(t)&&"object"===s(e)?e.exports=a():(o=[],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))},12599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Headers:()=>m,Request:()=>C,Response:()=>E,DOMException:()=>k,fetch:()=>O});n(65743),n(32165),n(66992),n(41539),n(78783),n(33948),n(82526),n(41817),n(18264),n(21249),n(54747),n(36210),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(69600),n(47042),n(41637),n(39714),n(74916),n(15306),n(23123),n(73210),n(68309);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,i="URLSearchParams"in o,a="Symbol"in o&&"iterator"in Symbol,s="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),l="FormData"in o,c="ArrayBuffer"in o;if(c)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return a&&(t[Symbol.iterator]=function(){return t}),t}function m(e){this.map={},e instanceof m?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function g(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function v(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:l&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||d(e))?this._bodyArrayBuffer=b(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var e=g(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=g(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(v)}),this.text=function(){var e,t,n,r=g(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=y(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},l&&(this.formData=function(){return this.text().then(S)}),this.json=function(){return this.text().then(JSON.parse)},this}m.prototype.append=function(e,t){e=p(e),t=f(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},m.prototype.delete=function(e){delete this.map[p(e)]},m.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},m.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},m.prototype.set=function(e,t){this.map[p(e)]=f(t)},m.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},m.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},m.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},m.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},a&&(m.prototype[Symbol.iterator]=m.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function C(e,t){if(!(this instanceof C))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,o=(t=t||{}).body;if(e instanceof C){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new m(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new m(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),w.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function S(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function E(e,t){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new m(t.headers),this.url=t.url||"",this._initBody(e)}C.prototype.clone=function(){return new C(this,{body:this._bodyInit})},_.call(C.prototype),_.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];E.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})};var k=o.DOMException;try{new k}catch(e){(k=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),k.prototype.constructor=k}function O(e,t){return new Promise((function(n,i){var a=new C(e,t);if(a.signal&&a.signal.aborted)return i(new k("Aborted","AbortError"));var l=new XMLHttpRequest;function u(){l.abort()}l.onload=function(){var e,t,r={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new m,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in l?l.responseURL:r.headers.get("X-Request-URL");var o="response"in l?l.response:l.responseText;setTimeout((function(){n(new E(o,r))}),0)},l.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},l.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},l.onabort=function(){setTimeout((function(){i(new k("Aborted","AbortError"))}),0)},l.open(a.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&(s?l.responseType="blob":c&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(l.responseType="arraybuffer")),!t||"object"!==r(t.headers)||t.headers instanceof m?a.headers.forEach((function(e,t){l.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){l.setRequestHeader(e,f(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",u),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",u)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}O.polyfill=!0,o.fetch||(o.fetch=O,o.Headers=m,o.Request=C,o.Response=E)},58887:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(68210),i=n(39943),a=n(57801),s=n(86967),l=n(12783);e.exports=function(e){return null==e||"object"!==r(e)&&"function"!=typeof e?null:o(e)?"String":i(e)?"Number":a(e)?"Boolean":s(e)?"Symbol":l(e)?"BigInt":void 0}},94555:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);var o=n(77088),i=n(9458),a=n(77219),s=n(34301);e.exports=function(e){if(e&&"object"===r(e)){if(o(e))return"Map";if(i(e))return"Set";if(a(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}},43219:(e,t,n)=>{"use strict";function r(e){return(r="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)}n(65743),n(30489),n(39341),n(73706),n(10408),n(41539),n(82526),n(41817),n(47042),n(32165),n(66992),n(78783),n(33948);var o=n(50068),i=n(20260),a=n(53785),s=n(73684),l=n(12500),c=s("Object.prototype.toString"),u=n(80297)(),d="undefined"==typeof globalThis?n.g:globalThis,p=i(),f=s("String.prototype.slice"),h=Object.getPrototypeOf,m=s("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},g={__proto__:null};o(p,u&&l&&h?function(e){var t=new d[e];if(Symbol.toStringTag in t){var n=h(t),r=l(n,Symbol.toStringTag);if(!r){var o=h(n);r=l(o,Symbol.toStringTag)}g["$"+e]=a(r.get)}}:function(e){var t=new d[e],n=t.slice||t.set;n&&(g["$"+e]=a(n))});e.exports=function(e){if(!e||"object"!==r(e))return!1;if(!u){var t=f(c(e),8,-1);return m(p,t)>-1?t:"Object"===t&&function(e){var t=!1;return o(g,(function(n,r){if(!t)try{n(e),t=f(r,1)}catch(e){}})),t}(e)}return l?function(e){var t=!1;return o(g,(function(n,r){if(!t)try{"$"+n(e)===r&&(t=f(r,1))}catch(e){}})),t}(e):null}},19662:(e,t,n)=>{var r=n(60614),o=n(66330);e.exports=function(e){if(r(e))return e;throw TypeError(o(e)+" is not a function")}},39483:(e,t,n)=>{var r=n(4411),o=n(66330);e.exports=function(e){if(r(e))return e;throw TypeError(o(e)+" is not a constructor")}},96077:(e,t,n)=>{var r=n(60614);e.exports=function(e){if("object"==typeof e||r(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},51223:(e,t,n)=>{var r=n(5112),o=n(70030),i=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,n)=>{"use strict";var r=n(28710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},25787:e=>{e.exports=function(e,t,n){if(e instanceof t)return e;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},19670:(e,t,n)=>{var r=n(70111);e.exports=function(e){if(r(e))return e;throw TypeError(String(e)+" is not an object")}},24019:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},90260:(e,t,n)=>{"use strict";var r,o,i,a=n(24019),s=n(19781),l=n(17854),c=n(60614),u=n(70111),d=n(86656),p=n(70648),f=n(66330),h=n(68880),m=n(31320),g=n(3070).f,y=n(79518),v=n(27674),b=n(5112),_=n(69711),w=l.Int8Array,C=w&&w.prototype,S=l.Uint8ClampedArray,E=S&&S.prototype,x=w&&y(w),k=C&&y(C),O=Object.prototype,T=O.isPrototypeOf,A=b("toStringTag"),P=_("TYPED_ARRAY_TAG"),R=_("TYPED_ARRAY_CONSTRUCTOR"),I=a&&!!v&&"Opera"!==p(l.opera),M=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},j=function(e){if(!u(e))return!1;var t=p(e);return d(N,t)||d(D,t)};for(r in N)(i=(o=l[r])&&o.prototype)?h(i,R,o):I=!1;for(r in D)(i=(o=l[r])&&o.prototype)&&h(i,R,o);if((!I||!c(x)||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},I))for(r in N)l[r]&&v(l[r],x);if((!I||!k||k===O)&&(k=x.prototype,I))for(r in N)l[r]&&v(l[r].prototype,k);if(I&&y(E)!==k&&v(E,k),s&&!d(k,A))for(r in M=!0,g(k,A,{get:function(){return u(this)?this[P]:void 0}}),N)l[r]&&h(l[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:R,TYPED_ARRAY_TAG:M&&P,aTypedArray:function(e){if(j(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!v||T.call(x,e)))return e;throw TypeError(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in N){var o=l[r];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(e){}}k[e]&&!n||m(k,e,n?t:I&&C[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(v){if(n)for(r in N)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(x[e]&&!n)return;try{return m(x,e,n?t:I&&x[e]||t)}catch(e){}}for(r in N)!(o=l[r])||o[e]&&!n||m(o,e,t)}},isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d(N,t)||d(D,t)},isTypedArray:j,TypedArray:x,TypedArrayPrototype:k}},13331:(e,t,n)=>{"use strict";var r=n(17854),o=n(19781),i=n(24019),a=n(76530),s=n(68880),l=n(12248),c=n(47293),u=n(25787),d=n(99958),p=n(17466),f=n(57067),h=n(11179),m=n(79518),g=n(27674),y=n(8006).f,v=n(3070).f,b=n(21285),_=n(58003),w=n(29909),C=a.PROPER,S=a.CONFIGURABLE,E=w.get,x=w.set,k=r.ArrayBuffer,O=k,T=r.DataView,A=T&&T.prototype,P=Object.prototype,R=r.RangeError,I=h.pack,M=h.unpack,N=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},j=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},B=function(e){return I(e,23,4)},F=function(e){return I(e,52,8)},U=function(e,t){v(e.prototype,t,{get:function(){return E(this)[t]}})},H=function(e,t,n,r){var o=f(n),i=E(e);if(o+t>i.byteLength)throw R("Wrong index");var a=E(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},V=function(e,t,n,r,o,i){var a=f(n),s=E(e);if(a+t>s.byteLength)throw R("Wrong index");for(var l=E(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<t;d++)l[c+d]=u[i?d:t-d-1]};if(i){var z=C&&"ArrayBuffer"!==k.name;if(c((function(){k(1)}))&&c((function(){new k(-1)}))&&!c((function(){return new k,new k(1.5),new k(NaN),z&&!S})))z&&S&&s(k,"name","ArrayBuffer");else{for(var q,G=(O=function(e){return u(this,O),new k(f(e))}).prototype=k.prototype,W=y(k),Y=0;W.length>Y;)(q=W[Y++])in O||s(O,q,k[q]);G.constructor=O}g&&m(A)!==P&&g(A,P);var Z=new T(new O(2)),K=A.setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||l(A,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else O=function(e){u(this,O,"ArrayBuffer");var t=f(e);x(this,{bytes:b.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},T=function(e,t,n){u(this,T,"DataView"),u(e,O,"DataView");var r=E(e).byteLength,i=d(t);if(i<0||i>r)throw R("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw R("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(U(O,"byteLength"),U(T,"buffer"),U(T,"byteLength"),U(T,"byteOffset")),l(T.prototype,{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(H(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(H(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return M(H(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return M(H(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){V(this,1,e,N,t)},setUint8:function(e,t){V(this,1,e,N,t)},setInt16:function(e,t){V(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){V(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){V(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){V(this,4,e,j,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){V(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){V(this,8,e,F,t,arguments.length>2?arguments[2]:void 0)}});_(O,"ArrayBuffer"),_(T,"DataView"),e.exports={ArrayBuffer:O,DataView:T}},1048:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(17466),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),c=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),p=1;for(c<l&&l<c+d&&(p=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=p,c+=p;return n}},21285:(e,t,n)=>{"use strict";var r=n(47908),o=n(51400),i=n(17466);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},18533:(e,t,n)=>{"use strict";var r=n(42092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},97745:e=>{e.exports=function(e,t){for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o}},48457:(e,t,n)=>{"use strict";var r=n(49974),o=n(47908),i=n(53411),a=n(97659),s=n(4411),l=n(17466),c=n(86135),u=n(18554),d=n(71246);e.exports=function(e){var t=o(e),n=s(this),p=arguments.length,f=p>1?arguments[1]:void 0,h=void 0!==f;h&&(f=r(f,p>2?arguments[2]:void 0,2));var m,g,y,v,b,_,w=d(t),C=0;if(!w||this==Array&&a(w))for(m=l(t.length),g=n?new this(m):Array(m);m>C;C++)_=h?f(t[C],C):t[C],c(g,C,_);else for(b=(v=u(t,w)).next,g=n?new this:[];!(y=b.call(v)).done;C++)_=h?i(v,f,[y.value,C],!0):y.value,c(g,C,_);return g.length=C,g}},41318:(e,t,n)=>{var r=n(45656),o=n(17466),i=n(51400),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:(e,t,n)=>{var r=n(49974),o=n(68361),i=n(47908),a=n(17466),s=n(65417),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,g,y){for(var v,b,_=i(h),w=o(_),C=r(m,g,3),S=a(w.length),E=0,x=y||s,k=t?x(h,S):n||p?x(h,0):void 0;S>E;E++)if((f||E in w)&&(b=C(v=w[E],E,_),e))if(t)k[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l.call(k,v)}else switch(e){case 4:return!1;case 7:l.call(k,v)}return d?-1:c||u?u:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},86583:(e,t,n)=>{"use strict";var r=n(45656),o=n(99958),i=n(17466),a=n(9341),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=c||!u;e.exports=d?function(e){if(c)return l.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},81194:(e,t,n)=>{var r=n(47293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,n)=>{"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},53671:(e,t,n)=>{var r=n(19662),o=n(47908),i=n(68361),a=n(17466),s=function(e){return function(t,n,s,l){r(n);var c=o(t),u=i(c),d=a(c.length),p=e?d-1:0,f=e?-1:1;if(s<2)for(;;){if(p in u){l=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(l=n(l,u[p],p,c));return l}};e.exports={left:s(!1),right:s(!0)}},94362:e=>{var t=Math.floor,n=function(e,i){var a=e.length,s=t(a/2);return a<8?r(e,i):o(n(e.slice(0,s),i),n(e.slice(s),i),i)},r=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},o=function(e,t,n){for(var r=e.length,o=t.length,i=0,a=0,s=[];i<r||a<o;)i<r&&a<o?s.push(n(e[i],t[a])<=0?e[i++]:t[a++]):s.push(i<r?e[i++]:t[a++]);return s};e.exports=n},77475:(e,t,n)=>{var r=n(43157),o=n(4411),i=n(70111),a=n(5112)("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===Array||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?Array:t}},65417:(e,t,n)=>{var r=n(77475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},53411:(e,t,n)=>{var r=n(19670),o=n(99212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},17072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},84326:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:(e,t,n)=>{var r=n(51694),o=n(60614),i=n(84326),a=n(5112)("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},95631:(e,t,n)=>{"use strict";var r=n(3070).f,o=n(70030),i=n(12248),a=n(49974),s=n(25787),l=n(20408),c=n(70654),u=n(96340),d=n(19781),p=n(62423).fastKey,f=n(29909),h=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&l(r,e[c],{that:e,AS_ENTRIES:n})})),f=m(t),g=function(e,t,n){var r,o,i=f(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=f(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=f(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=f(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(u.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},29320:(e,t,n)=>{"use strict";var r=n(12248),o=n(62423).getWeakData,i=n(19670),a=n(70111),s=n(25787),l=n(20408),c=n(42092),u=n(86656),d=n(29909),p=d.set,f=d.getterFor,h=c.find,m=c.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new v)},v=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){s(e,d,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&l(r,e[c],{that:e,AS_ENTRIES:n})})),h=f(t),m=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&u(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},77710:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(54705),a=n(31320),s=n(62423),l=n(20408),c=n(25787),u=n(60614),d=n(70111),p=n(47293),f=n(17072),h=n(58003),m=n(79587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),v=g?"set":"add",b=o[e],_=b&&b.prototype,w=b,C={},S=function(e){var t=_[e];a(_,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!d(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!d(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,!u(b)||!(y||_.forEach&&!p((function(){(new b).entries().next()})))))w=n.getConstructor(t,e,g,v),s.enable();else if(i(e,!0)){var E=new w,x=E[v](y?{}:-0,1)!=E,k=p((function(){E.has(1)})),O=f((function(e){new b(e)})),T=!y&&p((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));O||((w=t((function(t,n){c(t,w,e);var r=m(new b,t,w);return null!=n&&l(n,r[v],{that:r,AS_ENTRIES:g}),r}))).prototype=_,_.constructor=w),(k||T)&&(S("delete"),S("has"),g&&S("get")),(T||x)&&S(v),y&&_.clear&&delete _.clear}return C[e]=w,r({global:!0,forced:w!=b},C),h(w,e),y||n.setStrong(w,e,g),w}},99920:(e,t,n)=>{var r=n(86656),o=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},84964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:(e,t,n)=>{var r=n(84488),o=n(41340),i=/"/g;e.exports=function(e,t,n,a){var s=o(r(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+o(a).replace(i,"&quot;")+'"'),l+">"+s+"</"+t+">"}},24994:(e,t,n)=>{"use strict";var r=n(13383).IteratorPrototype,o=n(70030),i=n(79114),a=n(58003),s=n(97497),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},68880:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(79114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,n)=>{"use strict";var r=n(34948),o=n(3070),i=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},38709:(e,t,n)=>{"use strict";var r=n(19670),o=n(92140);e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw TypeError("Incorrect hint");return o(this,e)}},70654:(e,t,n)=>{"use strict";var r=n(82109),o=n(31913),i=n(76530),a=n(60614),s=n(24994),l=n(79518),c=n(27674),u=n(58003),d=n(68880),p=n(31320),f=n(5112),h=n(97497),m=n(13383),g=i.PROPER,y=i.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,_=f("iterator"),w=function(){return this};e.exports=function(e,t,n,i,f,m,C){s(n,t,i);var S,E,x,k=function(e){if(e===f&&R)return R;if(!b&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",T=!1,A=e.prototype,P=A[_]||A["@@iterator"]||f&&A[f],R=!b&&P||k(f),I="Array"==t&&A.entries||P;if(I&&(S=l(I.call(new e)))!==Object.prototype&&S.next&&(o||l(S)===v||(c?c(S,v):a(S[_])||p(S,_,w)),u(S,O,!0,!0),o&&(h[O]=w)),g&&"values"==f&&P&&"values"!==P.name&&(!o&&y?d(A,"name","values"):(T=!0,R=function(){return P.call(this)})),f)if(E={values:k("values"),keys:m?R:k("keys"),entries:k("entries")},C)for(x in E)(b||T||!(x in A))&&p(A,x,E[x]);else r({target:t,proto:!0,forced:b||T},E);return o&&!C||A[_]===R||p(A,_,R,{name:f}),h[t]=R,E}},97235:(e,t,n)=>{var r=n(40857),o=n(86656),i=n(6061),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},19781:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:(e,t,n)=>{var r=n(17854),o=n(70111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,n)=>{var r=n(80317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},68886:(e,t,n)=>{var r=n(88113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},30256:(e,t,n)=>{var r=n(88113);e.exports=/MSIE|Trident/.test(r)},6833:(e,t,n)=>{var r=n(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},35268:(e,t,n)=>{var r=n(84326),o=n(17854);e.exports="process"==r(o.process)},88113:(e,t,n)=>{var r=n(35005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,i=n(17854),a=n(88113),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u?o=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},98008:(e,t,n)=>{var r=n(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,n)=>{var r=n(17854),o=n(31236).f,i=n(68880),a=n(31320),s=n(83505),l=n(99920),c=n(54705);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:(e,t,n)=>{"use strict";n(74916);var r=n(31320),o=n(22261),i=n(47293),a=n(5112),s=n(68880),l=a("species"),c=RegExp.prototype;e.exports=function(e,t,n,u){var d=a(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),f=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!f||n){var h=/./[d],m=t(d,""[e],(function(e,t,n,r,i){var a=t.exec;return a===o||a===c.exec?p&&!i?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(c,d,m[1])}u&&s(c[d],"sham",!0)}},6790:(e,t,n)=>{"use strict";var r=n(43157),o=n(17466),i=n(49974),a=function(e,t,n,s,l,c,u,d){for(var p,f=l,h=0,m=!!u&&i(u,d,3);h<s;){if(h in n){if(p=m?m(n[h],h,t):n[h],c>0&&r(p))f=a(e,t,p,o(p.length),f,c-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[f]=p}f++}h++}return f};e.exports=a},76677:(e,t,n)=>{var r=n(47293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},49974:(e,t,n)=>{var r=n(19662);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},27065:(e,t,n)=>{"use strict";var r=n(19662),o=n(70111),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},76530:(e,t,n)=>{var r=n(19781),o=n(86656),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},35005:(e,t,n)=>{var r=n(17854),o=n(60614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},71246:(e,t,n)=>{var r=n(70648),o=n(58173),i=n(97497),a=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},18554:(e,t,n)=>{var r=n(19662),o=n(19670),i=n(71246);e.exports=function(e,t){var n=arguments.length<2?i(e):t;if(r(n))return o(n.call(e));throw TypeError(String(e)+" is not iterable")}},58173:(e,t,n)=>{var r=n(19662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},10647:(e,t,n)=>{var r=n(47908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,c,u){var d=n+e.length,p=l.length,f=s;return void 0!==c&&(c=r(c),f=a),i.call(u,f,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>p){var u=o(s/10);return 0===u?r:u<=p?void 0===l[u-1]?i.charAt(1):l[u-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},17854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},86656:(e,t,n)=>{var r=n(47908),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},3501:e=>{e.exports={}},60490:(e,t,n)=>{var r=n(35005);e.exports=r("document","documentElement")},64664:(e,t,n)=>{var r=n(19781),o=n(47293),i=n(80317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},11179:e=>{var t=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,a,s){var l,c,u,d=new Array(s),p=8*s-a-1,f=(1<<p)-1,h=f>>1,m=23===a?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=t(e))!=e||e===1/0?(c=e!=e?1:0,l=f):(l=r(o(e)/i),e*(u=n(2,-l))<1&&(l--,u*=2),(e+=l+h>=1?m/u:m*n(2,1-h))*u>=2&&(l++,u/=2),l+h>=f?(c=0,l=f):l+h>=1?(c=(e*u-1)*n(2,a),l+=h):(c=e*n(2,h-1)*n(2,a),l=0));a>=8;d[y++]=255&c,c/=256,a-=8);for(l=l<<a|c,p+=a;p>0;d[y++]=255&l,l/=256,p-=8);return d[--y]|=128*g,d},unpack:function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=t;l>0;r=256*r+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=s}return(u?-1:1)*r*n(2,d-t)}}},68361:(e,t,n)=>{var r=n(47293),o=n(84326),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},79587:(e,t,n)=>{var r=n(60614),o=n(70111),i=n(27674);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},42788:(e,t,n)=>{var r=n(60614),o=n(5465),i=Function.toString;r(o.inspectSource)||(o.inspectSource=function(e){return i.call(e)}),e.exports=o.inspectSource},62423:(e,t,n)=>{var r=n(82109),o=n(3501),i=n(70111),a=n(86656),s=n(3070).f,l=n(8006),c=n(1156),u=n(69711),d=n(76677),p=!1,f=u("meta"),h=0,m=Object.isExtensible||function(){return!0},g=function(e){s(e,f,{value:{objectID:"O"+h++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=l.f,t=[].splice,n={};n[f]=1,e(n).length&&(l.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===f){t.call(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,f)){if(!m(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},getWeakData:function(e,t){if(!a(e,f)){if(!m(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},onFreeze:function(e){return d&&p&&m(e)&&!a(e,f)&&g(e),e}};o[f]=!0},29909:(e,t,n)=>{var r,o,i,a=n(68536),s=n(17854),l=n(70111),c=n(68880),u=n(86656),d=n(5465),p=n(6200),f=n(3501),h=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new h),g=m.get,y=m.has,v=m.set;r=function(e,t){if(y.call(m,e))throw new TypeError("Object already initialized");return t.facade=e,v.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return y.call(m,e)}}else{var b=p("state");f[b]=!0,r=function(e,t){if(u(e,b))throw new TypeError("Object already initialized");return t.facade=e,c(e,b,t),t},o=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},97659:(e,t,n)=>{var r=n(5112),o=n(97497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:(e,t,n)=>{var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},60614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(47293),o=n(60614),i=n(70648),a=n(35005),s=n(42788),l=[],c=a("Reflect","construct"),u=/^\s*(?:class|function)\b/,d=u.exec,p=!u.exec((function(){})),f=function(e){if(!o(e))return!1;try{return c(Object,l,e),!0}catch(e){return!1}};e.exports=!c||r((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?function(e){if(!o(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!d.call(u,s(e))}:f},45032:(e,t,n)=>{var r=n(86656);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},54705:(e,t,n)=>{var r=n(47293),o=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},18730:(e,t,n)=>{var r=n(70111),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},70111:(e,t,n)=>{var r=n(60614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},31913:e=>{e.exports=!1},47850:(e,t,n)=>{var r=n(70111),o=n(84326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},52190:(e,t,n)=>{var r=n(60614),o=n(35005),i=n(43307);e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&Object(e)instanceof t}},20408:(e,t,n)=>{var r=n(19670),o=n(97659),i=n(17466),a=n(49974),s=n(18554),l=n(71246),c=n(99212),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,p,f,h,m,g,y,v=n&&n.that,b=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),C=a(t,v,1+b+w),S=function(e){return d&&c(d,"normal",e),new u(!0,e)},E=function(e){return b?(r(e),w?C(e[0],e[1],S):C(e[0],e[1])):w?C(e,S):C(e)};if(_)d=e;else{if(!(p=l(e)))throw TypeError(String(e)+" is not iterable");if(o(p)){for(f=0,h=i(e.length);h>f;f++)if((m=E(e[f]))&&m instanceof u)return m;return new u(!1)}d=s(e,p)}for(g=d.next;!(y=g.call(d)).done;){try{m=E(y.value)}catch(e){c(d,"throw",e)}if("object"==typeof m&&m&&m instanceof u)return m}return new u(!1)}},99212:(e,t,n)=>{var r=n(19670),o=n(58173);e.exports=function(e,t,n){var i,a;r(e);try{if(!(i=o(e,"return"))){if("throw"===t)throw n;return n}i=i.call(e)}catch(e){a=!0,i=e}if("throw"===t)throw n;if(a)throw i;return r(i),n}},13383:(e,t,n)=>{"use strict";var r,o,i,a=n(47293),s=n(60614),l=n(70030),c=n(79518),u=n(31320),d=n(5112),p=n(31913),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[f].call(e)!==e}))?r={}:p&&(r=l(r)),s(r[f])||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},97497:e=>{e.exports={}},64310:e=>{e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},13366:(e,t,n)=>{var r=n(17854);e.exports=r.Promise},30133:(e,t,n)=>{var r=n(7392),o=n(47293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:(e,t,n)=>{var r=n(47293),o=n(5112),i=n(31913),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},68536:(e,t,n)=>{var r=n(17854),o=n(60614),i=n(42788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},78523:(e,t,n)=>{"use strict";var r=n(19662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:(e,t,n)=>{var r=n(47850);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},83009:(e,t,n)=>{var r=n(17854),o=n(47293),i=n(41340),a=n(53111).trim,s=n(81361),l=r.parseInt,c=r.Symbol,u=c&&c.iterator,d=/^[+-]?0[Xx]/,p=8!==l(s+"08")||22!==l(s+"0x16")||u&&!o((function(){l(Object(u))}));e.exports=p?function(e,t){var n=a(i(e));return l(n,t>>>0||(d.test(n)?16:10))}:l},21574:(e,t,n)=>{"use strict";var r=n(19781),o=n(47293),i=n(81956),a=n(25181),s=n(55296),l=n(47908),c=n(68361),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,p=s.f;o>u;)for(var f,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),g=m.length,y=0;g>y;)f=m[y++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},70030:(e,t,n)=>{var r,o=n(19670),i=n(36048),a=n(80748),s=n(3501),l=n(60490),c=n(80317),u=n(6200),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[d]=e):n=m(),void 0===t?n:i(n,t)}},36048:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(19670),a=n(81956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},3070:(e,t,n)=>{var r=n(19781),o=n(64664),i=n(19670),a=n(34948),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:(e,t,n)=>{var r=n(19781),o=n(55296),i=n(79114),a=n(45656),s=n(34948),l=n(86656),c=n(64664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},1156:(e,t,n)=>{var r=n(45656),o=n(8006).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},8006:(e,t,n)=>{var r=n(16324),o=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},25181:(e,t)=>{t.f=Object.getOwnPropertySymbols},79518:(e,t,n)=>{var r=n(86656),o=n(60614),i=n(47908),a=n(6200),s=n(49920),l=a("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof Object?c:null}},16324:(e,t,n)=>{var r=n(86656),o=n(45656),i=n(41318).indexOf,a=n(3501);e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},81956:(e,t,n)=>{var r=n(16324),o=n(80748);e.exports=Object.keys||function(e){return r(e,o)}},55296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},27674:(e,t,n)=>{var r=n(19670),o=n(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},44699:(e,t,n)=>{var r=n(19781),o=n(81956),i=n(45656),a=n(55296).f,s=function(e){return function(t){for(var n,s=i(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},90288:(e,t,n)=>{"use strict";var r=n(51694),o=n(70648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},92140:(e,t,n)=>{var r=n(60614),o=n(70111);e.exports=function(e,t){var n,i;if("string"===t&&r(n=e.toString)&&!o(i=n.call(e)))return i;if(r(n=e.valueOf)&&!o(i=n.call(e)))return i;if("string"!==t&&r(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},53887:(e,t,n)=>{var r=n(35005),o=n(8006),i=n(25181),a=n(19670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},40857:(e,t,n)=>{var r=n(17854);e.exports=r},12534:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},69478:(e,t,n)=>{var r=n(19670),o=n(70111),i=n(78523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},12248:(e,t,n)=>{var r=n(31320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},31320:(e,t,n)=>{var r=n(17854),o=n(60614),i=n(86656),a=n(68880),s=n(83505),l=n(42788),c=n(29909),u=n(76530).CONFIGURABLE,d=c.get,p=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,h=!!l&&!!l.enumerable,m=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:t;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||u&&n.name!==g)&&a(n,"name",g),(c=p(n)).source||(c.source=f.join("string"==typeof g?g:""))),e!==r?(d?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return o(this)&&d(this).source||l(this)}))},97651:(e,t,n)=>{var r=n(19670),o=n(60614),i=n(84326),a=n(22261);e.exports=function(e,t){var n=e.exec;if(o(n)){var s=n.call(e,t);return null!==s&&r(s),s}if("RegExp"===i(e))return a.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")}},22261:(e,t,n)=>{"use strict";var r,o,i=n(41340),a=n(67066),s=n(52999),l=n(72309),c=n(70030),u=n(29909).get,d=n(9441),p=n(38173),f=RegExp.prototype.exec,h=l("native-string-replace",String.prototype.replace),m=f,g=(r=/a/,o=/b*/g,f.call(r,"a"),f.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),y=s.UNSUPPORTED_Y||s.BROKEN_CARET,v=void 0!==/()??/.exec("")[1];(g||v||y||d||p)&&(m=function(e){var t,n,r,o,s,l,d,p=this,b=u(p),_=i(e),w=b.raw;if(w)return w.lastIndex=p.lastIndex,t=m.call(w,_),p.lastIndex=w.lastIndex,t;var C=b.groups,S=y&&p.sticky,E=a.call(p),x=p.source,k=0,O=_;if(S&&(-1===(E=E.replace("y","")).indexOf("g")&&(E+="g"),O=_.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==_.charAt(p.lastIndex-1))&&(x="(?: "+x+")",O=" "+O,k++),n=new RegExp("^(?:"+x+")",E)),v&&(n=new RegExp("^"+x+"$(?!\\s)",E)),g&&(r=p.lastIndex),o=f.call(S?n:p,O),S?o?(o.input=o.input.slice(k),o[0]=o[0].slice(k),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:g&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),v&&o&&o.length>1&&h.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&C)for(o.groups=l=c(null),s=0;s<C.length;s++)l[(d=C[s])[0]]=o[d[1]];return o}),e.exports=m},67066:(e,t,n)=>{"use strict";var r=n(19670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},52999:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},9441:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},38173:(e,t,n)=>{var r=n(47293),o=n(17854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},84488:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},81150:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},83505:(e,t,n)=>{var r=n(17854);e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},96340:(e,t,n)=>{"use strict";var r=n(35005),o=n(3070),i=n(5112),a=n(19781),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},58003:(e,t,n)=>{var r=n(3070).f,o=n(86656),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(72309),o=n(69711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,n)=>{var r=n(17854),o=n(83505),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},72309:(e,t,n)=>{var r=n(31913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},36707:(e,t,n)=>{var r=n(19670),o=n(39483),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},43429:(e,t,n)=>{var r=n(47293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},28710:(e,t,n)=>{var r=n(99958),o=n(41340),i=n(84488),a=function(e){return function(t,n){var a,s,l=o(i(t)),c=r(n),u=l.length;return c<0||c>=u?e?"":void 0:(a=l.charCodeAt(c))<55296||a>56319||c+1===u||(s=l.charCodeAt(c+1))<56320||s>57343?e?l.charAt(c):a:e?l.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},54986:(e,t,n)=>{var r=n(88113);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},76650:(e,t,n)=>{var r=n(17466),o=n(41340),i=n(38415),a=n(84488),s=Math.ceil,l=function(e){return function(t,n,l){var c,u,d=o(a(t)),p=d.length,f=void 0===l?" ":o(l),h=r(n);return h<=p||""==f?d:(c=h-p,(u=i.call(f,s(c/f.length))).length>c&&(u=u.slice(0,c)),e?d+u:u+d)}};e.exports={start:l(!1),end:l(!0)}},33197:e=>{"use strict";var t=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,r="Overflow: input needs wider integers to process",o=Math.floor,i=String.fromCharCode,a=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},l=function(e){var t,n,l=[],c=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,u=128,d=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&l.push(i(n));var f=l.length,h=f;for(f&&l.push("-");h<c;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<m&&(m=n);var g=h+1;if(m-u>o((2147483647-d)/g))throw RangeError(r);for(d+=(m-u)*g,u=m,t=0;t<e.length;t++){if((n=e[t])<u&&++d>2147483647)throw RangeError(r);if(n==u){for(var y=d,v=36;;v+=36){var b=v<=p?1:v>=p+26?26:v-p;if(y<b)break;var _=y-b,w=36-b;l.push(i(a(b+_%w))),y=o(_/w)}l.push(i(a(y))),p=s(d,g,h==f),d=0,++h}}++d,++u}return l.join("")};e.exports=function(e){var r,o,i=[],a=e.toLowerCase().replace(n,".").split(".");for(r=0;r<a.length;r++)o=a[r],i.push(t.test(o)?"xn--"+l(o):o);return i.join(".")}},38415:(e,t,n)=>{"use strict";var r=n(99958),o=n(41340),i=n(84488);e.exports=function(e){var t=o(i(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},76091:(e,t,n)=>{var r=n(76530).PROPER,o=n(47293),i=n(81361);e.exports=function(e){return o((function(){return!!i[e]()||"​᠎"!=="​᠎"[e]()||r&&i[e].name!==e}))}},53111:(e,t,n)=>{var r=n(84488),o=n(41340),i="["+n(81361)+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var n=o(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},20261:(e,t,n)=>{var r,o,i,a,s=n(17854),l=n(60614),c=n(47293),u=n(49974),d=n(60490),p=n(80317),f=n(6833),h=n(35268),m=s.setImmediate,g=s.clearImmediate,y=s.process,v=s.MessageChannel,b=s.Dispatch,_=0,w={};try{r=s.location}catch(e){}var C=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},S=function(e){return function(){C(e)}},E=function(e){C(e.data)},x=function(e){s.postMessage(String(e),r.protocol+"//"+r.host)};m&&g||(m=function(e){for(var t=[],n=arguments.length,r=1;n>r;)t.push(arguments[r++]);return w[++_]=function(){(l(e)?e:Function(e)).apply(void 0,t)},o(_),_},g=function(e){delete w[e]},h?o=function(e){y.nextTick(S(e))}:b&&b.now?o=function(e){b.now(S(e))}:v&&!f?(a=(i=new v).port2,i.port1.onmessage=E,o=u(a.postMessage,a,1)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!c(x)?(o=x,s.addEventListener("message",E,!1)):o="onreadystatechange"in p("script")?function(e){d.appendChild(p("script")).onreadystatechange=function(){d.removeChild(this),C(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:m,clear:g}},50863:e=>{var t=1..valueOf;e.exports=function(e){return t.call(e)}},51400:(e,t,n)=>{var r=n(99958),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},57067:(e,t,n)=>{var r=n(99958),o=n(17466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},45656:(e,t,n)=>{var r=n(68361),o=n(84488);e.exports=function(e){return r(o(e))}},99958:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},17466:(e,t,n)=>{var r=n(99958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},47908:(e,t,n)=>{var r=n(84488);e.exports=function(e){return Object(r(e))}},84590:(e,t,n)=>{var r=n(73002);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},73002:(e,t,n)=>{var r=n(99958);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},57593:(e,t,n)=>{var r=n(70111),o=n(52190),i=n(58173),a=n(92140),s=n(5112)("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,l=i(e,s);if(l){if(void 0===t&&(t="default"),n=l.call(e,t),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},34948:(e,t,n)=>{var r=n(57593),o=n(52190);e.exports=function(e){var t=r(e,"string");return o(t)?t:String(t)}},51694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},41340:(e,t,n)=>{var r=n(70648);e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},66330:e=>{e.exports=function(e){try{return String(e)}catch(e){return"Object"}}},19843:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(19781),a=n(63832),s=n(90260),l=n(13331),c=n(25787),u=n(79114),d=n(68880),p=n(18730),f=n(17466),h=n(57067),m=n(84590),g=n(34948),y=n(86656),v=n(70648),b=n(70111),_=n(52190),w=n(70030),C=n(27674),S=n(8006).f,E=n(97321),x=n(42092).forEach,k=n(96340),O=n(3070),T=n(31236),A=n(29909),P=n(79587),R=A.get,I=A.set,M=O.f,N=T.f,D=Math.round,j=o.RangeError,L=l.ArrayBuffer,B=l.DataView,F=s.NATIVE_ARRAY_BUFFER_VIEWS,U=s.TYPED_ARRAY_CONSTRUCTOR,H=s.TYPED_ARRAY_TAG,V=s.TypedArray,z=s.TypedArrayPrototype,q=s.aTypedArrayConstructor,G=s.isTypedArray,W=function(e,t){for(var n=0,r=t.length,o=new(q(e))(r);r>n;)o[n]=t[n++];return o},Y=function(e,t){M(e,t,{get:function(){return R(this)[t]}})},Z=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},K=function(e,t){return G(e)&&!_(t)&&t in e&&p(+t)&&t>=0},$=function(e,t){return t=g(t),K(e,t)?u(2,e[t]):N(e,t)},Q=function(e,t,n){return t=g(t),!(K(e,t)&&b(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};i?(F||(T.f=$,O.f=Q,Y(z,"buffer"),Y(z,"byteOffset"),Y(z,"byteLength"),Y(z,"length")),r({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:$,defineProperty:Q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,p=o[s],g=p,y=g&&g.prototype,v={},_=function(e,t){M(e,t,{get:function(){return function(e,t){var n=R(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=R(e);n&&(r=(r=D(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};F?a&&(g=t((function(e,t,n,r){return c(e,g,s),P(b(t)?Z(t)?void 0!==r?new p(t,m(n,i),r):void 0!==n?new p(t,m(n,i)):new p(t):G(t)?W(g,t):E.call(g,t):new p(h(t)),e,g)})),C&&C(g,V),x(S(p),(function(e){e in g||d(g,e,p[e])})),g.prototype=y):(g=t((function(e,t,n,r){c(e,g,s);var o,a,l,u=0,d=0;if(b(t)){if(!Z(t))return G(t)?W(g,t):E.call(g,t);o=t,d=m(n,i);var p=t.byteLength;if(void 0===r){if(p%i)throw j("Wrong length");if((a=p-d)<0)throw j("Wrong length")}else if((a=f(r)*i)+d>p)throw j("Wrong length");l=a/i}else l=h(t),o=new L(a=l*i);for(I(e,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new B(o)});u<l;)_(e,u++)})),C&&C(g,V),y=g.prototype=w(z)),y.constructor!==g&&d(y,"constructor",g),d(y,U,g),H&&d(y,H,s),v[s]=g,r({global:!0,forced:g!=p,sham:!F},v),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in y||d(y,"BYTES_PER_ELEMENT",i),k(s)}):e.exports=function(){}},63832:(e,t,n)=>{var r=n(17854),o=n(47293),i=n(17072),a=n(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},43074:(e,t,n)=>{var r=n(97745),o=n(66304);e.exports=function(e,t){return r(o(e),t)}},97321:(e,t,n)=>{var r=n(39483),o=n(47908),i=n(17466),a=n(18554),s=n(71246),l=n(97659),c=n(49974),u=n(90260).aTypedArrayConstructor;e.exports=function(e){var t,n,d,p,f,h,m=r(this),g=o(e),y=arguments.length,v=y>1?arguments[1]:void 0,b=void 0!==v,_=s(g);if(_&&!l(_))for(h=(f=a(g,_)).next,g=[];!(p=h.call(f)).done;)g.push(p.value);for(b&&y>2&&(v=c(v,arguments[2],2)),n=i(g.length),d=new(u(m))(n),t=0;n>t;t++)d[t]=b?v(g[t],t):g[t];return d}},66304:(e,t,n)=>{var r=n(90260),o=n(36707),i=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;e.exports=function(e){return a(o(e,e[i]))}},69711:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},43307:(e,t,n)=>{var r=n(30133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:(e,t,n)=>{var r=n(5112);t.f=r},5112:(e,t,n)=>{var r=n(17854),o=n(72309),i=n(86656),a=n(69711),s=n(30133),l=n(43307),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},81361:e=>{e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},9170:(e,t,n)=>{"use strict";var r=n(82109),o=n(79518),i=n(27674),a=n(70030),s=n(68880),l=n(79114),c=n(20408),u=n(41340),d=function(e,t){var n=this;if(!(n instanceof d))return new d(e,t);i&&(n=i(new Error(void 0),o(n))),void 0!==t&&s(n,"message",u(t));var r=[];return c(e,r.push,{that:r}),s(n,"errors",r),n};d.prototype=a(Error.prototype,{constructor:l(5,d),message:l(5,""),name:l(5,"AggregateError")}),r({global:!0},{AggregateError:d})},18264:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(13331),a=n(96340),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},92222:(e,t,n)=>{"use strict";var r=n(82109),o=n(47293),i=n(43157),a=n(70111),s=n(47908),l=n(17466),c=n(86135),u=n(65417),d=n(81194),p=n(5112),f=n(7392),h=p("isConcatSpreadable"),m=f>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(p+(o=l(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(d,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(d,p++,i)}return d.length=p,d}})},50545:(e,t,n)=>{var r=n(82109),o=n(1048),i=n(51223);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},43290:(e,t,n)=>{var r=n(82109),o=n(21285),i=n(51223);r({target:"Array",proto:!0},{fill:o}),i("fill")},57327:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).filter;r({target:"Array",proto:!0,forced:!n(81194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},34553:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).findIndex,i=n(51223),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},69826:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).find,i=n(51223),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},86535:(e,t,n)=>{"use strict";var r=n(82109),o=n(6790),i=n(19662),a=n(47908),s=n(17466),l=n(65417);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=s(n.length);return i(e),(t=l(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},84944:(e,t,n)=>{"use strict";var r=n(82109),o=n(6790),i=n(47908),a=n(17466),s=n(99958),l=n(65417);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},91038:(e,t,n)=>{var r=n(82109),o=n(48457);r({target:"Array",stat:!0,forced:!n(17072)((function(e){Array.from(e)}))},{from:o})},26699:(e,t,n)=>{"use strict";var r=n(82109),o=n(41318).includes,i=n(51223);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},66992:(e,t,n)=>{"use strict";var r=n(45656),o=n(51223),i=n(97497),a=n(29909),s=n(70654),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},69600:(e,t,n)=>{"use strict";var r=n(82109),o=n(68361),i=n(45656),a=n(9341),s=[].join,l=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},21249:(e,t,n)=>{"use strict";var r=n(82109),o=n(42092).map;r({target:"Array",proto:!0,forced:!n(81194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},47042:(e,t,n)=>{"use strict";var r=n(82109),o=n(43157),i=n(4411),a=n(70111),s=n(51400),l=n(17466),c=n(45656),u=n(86135),d=n(5112),p=n(81194)("slice"),f=d("species"),h=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,p=c(this),g=l(p.length),y=s(e,g),v=s(void 0===t?g:t,g);if(o(p)&&(n=p.constructor,(i(n)&&(n===Array||o(n.prototype))||a(n)&&null===(n=n[f]))&&(n=void 0),n===Array||void 0===n))return h.call(p,y,v);for(r=new(void 0===n?Array:n)(m(v-y,0)),d=0;y<v;y++,d++)y in p&&u(r,d,p[y]);return r.length=d,r}})},2707:(e,t,n)=>{"use strict";var r=n(82109),o=n(19662),i=n(47908),a=n(17466),s=n(41340),l=n(47293),c=n(94362),u=n(9341),d=n(68886),p=n(30256),f=n(7392),h=n(98008),m=[],g=m.sort,y=l((function(){m.sort(void 0)})),v=l((function(){m.sort(null)})),b=u("sort"),_=!l((function(){if(f)return f<70;if(!(d&&d>3)){if(p)return!0;if(h)return h<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:y||!v||!b||!_},{sort:function(e){void 0!==e&&o(e);var t=i(this);if(_)return void 0===e?g.call(t):g.call(t,e);var n,r,l=[],u=a(t.length);for(r=0;r<u;r++)r in t&&l.push(t[r]);for(n=(l=c(l,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e))).length,r=0;r<n;)t[r]=l[r++];for(;r<u;)delete t[r++];return t}})},40561:(e,t,n)=>{"use strict";var r=n(82109),o=n(51400),i=n(99958),a=n(17466),s=n(47908),l=n(65417),c=n(86135),u=n(81194)("splice"),d=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,r,u,f,h,m,g=s(this),y=a(g.length),v=o(e,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-v):(n=b-2,r=p(d(i(t),0),y-v)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,r),f=0;f<r;f++)(h=v+f)in g&&c(u,f,g[h]);if(u.length=r,n<r){for(f=v;f<y-r;f++)m=f+n,(h=f+r)in g?g[m]=g[h]:delete g[m];for(f=y;f>y-r+n;f--)delete g[f-1]}else if(n>r)for(f=y-r;f>v;f--)m=f+n-1,(h=f+r-1)in g?g[m]=g[h]:delete g[m];for(f=0;f<n;f++)g[f+v]=arguments[f+2];return g.length=y-r+n,u}})},99244:(e,t,n)=>{n(51223)("flatMap")},96078:(e,t,n)=>{var r=n(31320),o=n(38709),i=n(5112)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},68309:(e,t,n)=>{var r=n(19781),o=n(76530).EXISTS,i=n(3070).f,a=Function.prototype,s=a.toString,l=/^\s*function ([^ (]*)/;r&&!o&&i(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(e){return""}}})},35837:(e,t,n)=>{n(82109)({global:!0},{globalThis:n(17854)})},73706:(e,t,n)=>{var r=n(17854);n(58003)(r.JSON,"JSON",!0)},51532:(e,t,n)=>{"use strict";var r=n(77710),o=n(95631);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},90332:(e,t,n)=>{var r=n(82109),o=n(47293),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},40658:(e,t,n)=>{var r=n(82109),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},44914:(e,t,n)=>{var r=n(82109),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},52420:(e,t,n)=>{n(82109)({target:"Math",stat:!0},{sign:n(64310)})},10408:(e,t,n)=>{n(58003)(Math,"Math",!0)},73689:(e,t,n)=>{var r=n(82109),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},9653:(e,t,n)=>{"use strict";var r=n(19781),o=n(17854),i=n(54705),a=n(31320),s=n(86656),l=n(84326),c=n(79587),u=n(52190),d=n(57593),p=n(47293),f=n(70030),h=n(8006).f,m=n(31236).f,g=n(3070).f,y=n(53111).trim,v=o.Number,b=v.prototype,_="Number"==l(f(b)),w=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,i,a,s,l,c=d(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=y(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var C,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(_?p((function(){b.valueOf.call(n)})):"Number"!=l(n))?c(new v(w(t)),n,S):w(t)},E=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),x=0;E.length>x;x++)s(v,C=E[x])&&!s(S,C)&&g(S,C,m(v,C));S.prototype=b,b.constructor=S,a(o,"Number",S)}},33161:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{isInteger:n(18730)})},44048:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},44363:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},55994:(e,t,n)=>{n(82109)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},9494:(e,t,n)=>{var r=n(82109),o=n(83009);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},56977:(e,t,n)=>{"use strict";var r=n(82109),o=n(99958),i=n(50863),a=n(38415),s=n(47293),l=1..toFixed,c=Math.floor,u=function(e,t,n){return 0===t?n:t%2==1?u(e,t-1,n*e):u(e*e,t/2,n)},d=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=c(o/1e7)},p=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=c(r/t),r=r%t*1e7},f=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(e){var t,n,r,s,l=i(this),c=o(e),h=[0,0,0,0,0,0],m="",g="0";if(c<0||c>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(h,0,n),r=c;r>=7;)d(h,1e7,0),r-=7;for(d(h,u(10,r,1),0),r=t-1;r>=23;)p(h,1<<23),r-=23;p(h,1<<r),d(h,1,1),p(h,2),g=f(h)}else d(h,0,n),d(h,1<<-t,0),g=f(h)+a.call("0",c);return g=c>0?m+((s=g.length)<=c?"0."+a.call("0",c-s)+g:g.slice(0,s-c)+"."+g.slice(s-c)):m+g}})},19601:(e,t,n)=>{var r=n(82109),o=n(21574);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},69720:(e,t,n)=>{var r=n(82109),o=n(44699).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},43371:(e,t,n)=>{var r=n(82109),o=n(76677),i=n(47293),a=n(70111),s=n(62423).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},38880:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(45656),a=n(31236).f,s=n(19781),l=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},49337:(e,t,n)=>{var r=n(82109),o=n(19781),i=n(53887),a=n(45656),s=n(31236),l=n(86135);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=o(r,t=c[d++]))&&l(u,t,n);return u}})},36210:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(1156).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},30489:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(47908),a=n(79518),s=n(49920);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},98410:(e,t,n)=>{var r=n(82109),o=n(47293),i=n(70111),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},43304:(e,t,n)=>{n(82109)({target:"Object",stat:!0},{is:n(81150)})},47941:(e,t,n)=>{var r=n(82109),o=n(47908),i=n(81956);r({target:"Object",stat:!0,forced:n(47293)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},57227:(e,t,n)=>{var r=n(82109),o=n(70111),i=n(62423).onFreeze,a=n(76677),s=n(47293),l=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},41539:(e,t,n)=>{var r=n(51694),o=n(31320),i=n(90288);r||o(Object.prototype,"toString",i,{unsafe:!0})},26833:(e,t,n)=>{var r=n(82109),o=n(44699).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},34668:(e,t,n)=>{"use strict";var r=n(82109),o=n(19662),i=n(35005),a=n(78523),s=n(12534),l=n(20408);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s((function(){var n=o(t.resolve),a=[],s=0,u=1,d=!1;l(e,(function(e){var o=s++,l=!1;a.push(void 0),u++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,a[o]=e,--u||c(new(i("AggregateError"))(a,"No one promise resolved")))}))})),--u||c(new(i("AggregateError"))(a,"No one promise resolved"))}));return u.error&&c(u.value),n.promise}})},17727:(e,t,n)=>{"use strict";var r=n(82109),o=n(31913),i=n(13366),a=n(47293),s=n(35005),l=n(60614),c=n(36707),u=n(69478),d=n(31320);if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=l(e);return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),!o&&l(i)){var p=s("Promise").prototype.finally;i.prototype.finally!==p&&d(i.prototype,"finally",p,{unsafe:!0})}},36535:(e,t,n)=>{var r=n(82109),o=n(35005),i=n(19662),a=n(19670),s=n(47293),l=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):c.call(e,t,n)}})},12419:(e,t,n)=>{var r=n(82109),o=n(35005),i=n(39483),a=n(19670),s=n(70111),l=n(70030),c=n(27065),u=n(47293),d=o("Reflect","construct"),p=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),f=!u((function(){d((function(){}))})),h=p||f;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!p)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,u=l(s(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return s(h)?h:u}})},39361:(e,t,n)=>{var r=n(82109),o=n(19670),i=n(79518);r({target:"Reflect",stat:!0,sham:!n(49920)},{getPrototypeOf:function(e){return i(o(e))}})},74819:(e,t,n)=>{var r=n(82109),o=n(70111),i=n(19670),a=n(45032),s=n(31236),l=n(79518);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,u=arguments.length<3?t:arguments[2];return i(t)===u?t[n]:(r=s.f(t,n))?a(r)?r.value:void 0===r.get?void 0:r.get.call(u):o(c=l(t))?e(c,n,u):void 0}})},67556:(e,t,n)=>{n(82109)({target:"Reflect",stat:!0},{ownKeys:n(53887)})},24603:(e,t,n)=>{var r=n(19781),o=n(17854),i=n(54705),a=n(79587),s=n(68880),l=n(3070).f,c=n(8006).f,u=n(47850),d=n(41340),p=n(67066),f=n(52999),h=n(31320),m=n(47293),g=n(86656),y=n(29909).enforce,v=n(96340),b=n(5112),_=n(9441),w=n(38173),C=b("match"),S=o.RegExp,E=S.prototype,x=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,O=/a/g,T=new S(k)!==k,A=f.UNSUPPORTED_Y,P=r&&(!T||A||_||w||m((function(){return O[C]=!1,S(k)!=k||S(O)==O||"/a/i"!=S(k,"i")})));if(i("RegExp",P)){for(var R=function(e,t){var n,r,o,i,l,c,f=this instanceof R,h=u(e),m=void 0===t,v=[],b=e;if(!f&&h&&m&&e.constructor===R)return e;if((h||e instanceof R)&&(e=e.source,m&&(t="flags"in b?b.flags:p.call(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,_&&"dotAll"in k&&(r=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,A&&"sticky"in k&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),w&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},s=!1,l=!1,c=0,u="";r<=n;r++){if("\\"===(t=e.charAt(r)))t+=e.charAt(++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:x.test(e.slice(r+1))&&(r+=2,l=!0),o+=t,c++;continue;case">"===t&&l:if(""===u||g(a,u))throw new SyntaxError("Invalid capture group name");a[u]=!0,i.push([u,c]),l=!1,u="";continue}l?u+=t:o+=t}return[o,i]}(e))[0],v=i[1]),l=a(S(e,t),f?this:E,R),(r||o||v.length)&&(c=y(l),r&&(c.dotAll=!0,c.raw=R(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=e.charAt(r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++r);return o}(e),n)),o&&(c.sticky=!0),v.length&&(c.groups=v)),e!==b)try{s(l,"source",""===b?"(?:)":b)}catch(e){}return l},I=function(e){e in R||l(R,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},M=c(S),N=0;M.length>N;)I(M[N++]);E.constructor=R,R.prototype=E,h(o,"RegExp",R)}v("RegExp")},74916:(e,t,n)=>{"use strict";var r=n(82109),o=n(22261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},92087:(e,t,n)=>{var r=n(19781),o=n(3070),i=n(67066),a=n(47293);r&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},39714:(e,t,n)=>{"use strict";var r=n(76530).PROPER,o=n(31320),i=n(19670),a=n(41340),s=n(47293),l=n(67066),c=RegExp.prototype,u=c.toString,d=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),p=r&&"toString"!=u.name;(d||p)&&o(RegExp.prototype,"toString",(function(){var e=i(this),t=a(e.source),n=e.flags;return"/"+t+"/"+a(void 0===n&&e instanceof RegExp&&!("flags"in c)?l.call(e):n)}),{unsafe:!0})},70189:(e,t,n)=>{"use strict";var r=n(77710),o=n(95631);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},15218:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},74475:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("big")},{big:function(){return o(this,"big","","")}})},50915:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("bold")},{bold:function(){return o(this,"b","","")}})},79841:(e,t,n)=>{"use strict";var r=n(82109),o=n(28710).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},27852:(e,t,n)=>{"use strict";var r,o=n(82109),i=n(31236).f,a=n(17466),s=n(41340),l=n(3929),c=n(84488),u=n(84964),d=n(31913),p="".endsWith,f=Math.min,h=u("endsWith");o({target:"String",proto:!0,forced:!!(d||h||(r=i(String.prototype,"endsWith"),!r||r.writable))&&!h},{endsWith:function(e){var t=s(c(this));l(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:f(a(n),r),i=s(e);return p?p.call(t,i,o):t.slice(o-i.length,o)===i}})},29253:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("fixed")},{fixed:function(){return o(this,"tt","","")}})},94953:(e,t,n)=>{var r=n(82109),o=n(51400),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},32023:(e,t,n)=>{"use strict";var r=n(82109),o=n(3929),i=n(84488),a=n(41340);r({target:"String",proto:!0,forced:!n(84964)("includes")},{includes:function(e){return!!~a(i(this)).indexOf(a(o(e)),arguments.length>1?arguments[1]:void 0)}})},58734:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("italics")},{italics:function(){return o(this,"i","","")}})},78783:(e,t,n)=>{"use strict";var r=n(28710).charAt,o=n(41340),i=n(29909),a=n(70654),s=i.set,l=i.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:o(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},29254:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("link")},{link:function(e){return o(this,"a","href",e)}})},76373:(e,t,n)=>{"use strict";var r=n(82109),o=n(24994),i=n(84488),a=n(17466),s=n(41340),l=n(19670),c=n(84326),u=n(47850),d=n(67066),p=n(58173),f=n(31320),h=n(47293),m=n(5112),g=n(36707),y=n(31530),v=n(97651),b=n(29909),_=n(31913),w=m("matchAll"),C=b.set,S=b.getterFor("RegExp String Iterator"),E=RegExp.prototype,x="".matchAll,k=!!x&&!h((function(){"a".matchAll(/./)})),O=o((function(e,t,n,r){C(this,{type:"RegExp String Iterator",regexp:e,string:t,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var e=S(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=v(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""===s(r[0])&&(t.lastIndex=y(n,a(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),T=function(e){var t,n,r,o,i,c,u=l(this),p=s(e);return t=g(u,RegExp),void 0===(n=u.flags)&&u instanceof RegExp&&!("flags"in E)&&(n=d.call(u)),r=void 0===n?"":s(n),o=new t(t===RegExp?u.source:u,r),i=!!~r.indexOf("g"),c=!!~r.indexOf("u"),o.lastIndex=a(u.lastIndex),new O(o,p,i,c)};r({target:"String",proto:!0,forced:k},{matchAll:function(e){var t,n,r,o=i(this);if(null!=e){if(u(e)&&!~s(i("flags"in E?e.flags:d.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(k)return x.apply(o,arguments);if(void 0===(n=p(e,w))&&_&&"RegExp"==c(e)&&(n=T),n)return n.call(e,o)}else if(k)return x.apply(o,arguments);return t=s(o),r=new RegExp(e,"g"),_?T.call(r,t):r[w](t)}}),_||w in E||f(E,w,T)},4723:(e,t,n)=>{"use strict";var r=n(27007),o=n(19670),i=n(17466),a=n(41340),s=n(84488),l=n(58173),c=n(31530),u=n(97651);r("match",(function(e,t,n){return[function(t){var n=s(this),r=null==t?void 0:l(t,e);return r?r.call(t,n):new RegExp(t)[e](a(n))},function(e){var r=o(this),s=a(e),l=n(t,r,s);if(l.done)return l.value;if(!r.global)return u(r,s);var d=r.unicode;r.lastIndex=0;for(var p,f=[],h=0;null!==(p=u(r,s));){var m=a(p[0]);f[h]=m,""===m&&(r.lastIndex=c(s,i(r.lastIndex),d)),h++}return 0===h?null:f}]}))},66528:(e,t,n)=>{"use strict";var r=n(82109),o=n(76650).end;r({target:"String",proto:!0,forced:n(54986)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},83112:(e,t,n)=>{"use strict";var r=n(82109),o=n(76650).start;r({target:"String",proto:!0,forced:n(54986)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},83714:(e,t,n)=>{n(82109)({target:"String",proto:!0},{repeat:n(38415)})},68757:(e,t,n)=>{"use strict";var r=n(82109),o=n(84488),i=n(60614),a=n(47850),s=n(41340),l=n(58173),c=n(67066),u=n(10647),d=n(5112),p=n(31913),f=d("replace"),h=RegExp.prototype,m=Math.max,g=function(e,t,n){return n>e.length?-1:""===t?n:e.indexOf(t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,d,y,v,b,_,w,C=o(this),S=0,E=0,x="";if(null!=e){if((n=a(e))&&!~s(o("flags"in h?e.flags:c.call(e))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(r=l(e,f))return r.call(e,C,t);if(p&&n)return s(C).replace(e,t)}for(d=s(C),y=s(e),(v=i(t))||(t=s(t)),b=y.length,_=m(1,b),S=g(d,y,0);-1!==S;)w=v?s(t(y,S,d)):u(y,d,S,[],void 0,t),x+=d.slice(E,S)+w,E=S+b,S=g(d,y,S+_);return E<d.length&&(x+=d.slice(E)),x}})},15306:(e,t,n)=>{"use strict";var r=n(27007),o=n(47293),i=n(19670),a=n(60614),s=n(99958),l=n(17466),c=n(41340),u=n(84488),d=n(31530),p=n(58173),f=n(10647),h=n(97651),m=n(5112)("replace"),g=Math.max,y=Math.min,v="$0"==="a".replace(/./,"$0"),b=!!/./[m]&&""===/./[m]("a","$0");r("replace",(function(e,t,n){var r=b?"$":"$0";return[function(e,n){var r=u(this),o=null==e?void 0:p(e,m);return o?o.call(e,r,n):t.call(c(r),e,n)},function(e,o){var u=i(this),p=c(e);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var m=n(t,u,p,o);if(m.done)return m.value}var v=a(o);v||(o=c(o));var b=u.global;if(b){var _=u.unicode;u.lastIndex=0}for(var w=[];;){var C=h(u,p);if(null===C)break;if(w.push(C),!b)break;""===c(C[0])&&(u.lastIndex=d(p,l(u.lastIndex),_))}for(var S,E="",x=0,k=0;k<w.length;k++){C=w[k];for(var O=c(C[0]),T=g(y(s(C.index),p.length),0),A=[],P=1;P<C.length;P++)A.push(void 0===(S=C[P])?S:String(S));var R=C.groups;if(v){var I=[O].concat(A,T,p);void 0!==R&&I.push(R);var M=c(o.apply(void 0,I))}else M=f(O,p,T,A,R,o);T>=x&&(E+=p.slice(x,T)+M,x=T+O.length)}return E+p.slice(x)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||b)},64765:(e,t,n)=>{"use strict";var r=n(27007),o=n(19670),i=n(84488),a=n(81150),s=n(41340),l=n(58173),c=n(97651);r("search",(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:l(t,e);return r?r.call(t,n):new RegExp(t)[e](s(n))},function(e){var r=o(this),i=s(e),l=n(t,r,i);if(l.done)return l.value;var u=r.lastIndex;a(u,0)||(r.lastIndex=0);var d=c(r,i);return a(r.lastIndex,u)||(r.lastIndex=u),null===d?-1:d.index}]}))},37268:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("small")},{small:function(){return o(this,"small","","")}})},23123:(e,t,n)=>{"use strict";var r=n(27007),o=n(47850),i=n(19670),a=n(84488),s=n(36707),l=n(31530),c=n(17466),u=n(41340),d=n(58173),p=n(97651),f=n(22261),h=n(52999),m=n(47293),g=h.UNSUPPORTED_Y,y=[].push,v=Math.min;r("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=u(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,c,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,p+"g");(s=f.call(m,r))&&!((l=m.lastIndex)>h&&(d.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&y.apply(d,s.slice(1)),c=s[0].length,h=l,d.length>=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!c&&m.test("")||d.push(""):d.push(r.slice(h)),d.length>i?d.slice(0,i):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:d(t,e);return i?i.call(t,o,n):r.call(u(o),t,n)},function(e,o){var a=i(this),d=u(e),f=n(r,a,d,o,r!==t);if(f.done)return f.value;var h=s(a,RegExp),m=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(g?"g":"y"),b=new h(g?"^(?:"+a.source+")":a,y),_=void 0===o?4294967295:o>>>0;if(0===_)return[];if(0===d.length)return null===p(b,d)?[d]:[];for(var w=0,C=0,S=[];C<d.length;){b.lastIndex=g?0:C;var E,x=p(b,g?d.slice(C):d);if(null===x||(E=v(c(b.lastIndex+(g?C:0)),d.length))===w)C=l(d,C,m);else{if(S.push(d.slice(w,C)),S.length===_)return S;for(var k=1;k<=x.length-1;k++)if(S.push(x[k]),S.length===_)return S;C=w=E}}return S.push(d.slice(w)),S}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),g)},23157:(e,t,n)=>{"use strict";var r,o=n(82109),i=n(31236).f,a=n(17466),s=n(41340),l=n(3929),c=n(84488),u=n(84964),d=n(31913),p="".startsWith,f=Math.min,h=u("startsWith");o({target:"String",proto:!0,forced:!!(d||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=s(c(this));l(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=s(e);return p?p.call(t,r,n):t.slice(n,n+r.length)===r}})},60086:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("sub")},{sub:function(){return o(this,"sub","","")}})},48702:(e,t,n)=>{"use strict";var r=n(82109),o=n(53111).end,i=n(76091)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,name:"trimEnd",forced:i},{trimEnd:a,trimRight:a})},55674:(e,t,n)=>{"use strict";var r=n(82109),o=n(53111).start,i=n(76091)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,name:"trimStart",forced:i},{trimStart:a,trimLeft:a})},73210:(e,t,n)=>{"use strict";var r=n(82109),o=n(53111).trim;r({target:"String",proto:!0,forced:n(76091)("trim")},{trim:function(){return o(this)}})},72443:(e,t,n)=>{n(97235)("asyncIterator")},41817:(e,t,n)=>{"use strict";var r=n(82109),o=n(19781),i=n(17854),a=n(86656),s=n(60614),l=n(70111),c=n(3070).f,u=n(99920),d=i.Symbol;if(o&&s(d)&&(!("description"in d.prototype)||void 0!==d().description)){var p={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new d(e):void 0===e?d():d(e);return""===e&&(p[t]=!0),t};u(f,d);var h=f.prototype=d.prototype;h.constructor=f;var m=h.toString,g="Symbol(test)"==String(d("test")),y=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=m.call(e);if(a(p,e))return"";var n=g?t.slice(7,-1):t.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},32165:(e,t,n)=>{n(97235)("iterator")},82526:(e,t,n)=>{"use strict";var r=n(82109),o=n(17854),i=n(35005),a=n(31913),s=n(19781),l=n(30133),c=n(47293),u=n(86656),d=n(43157),p=n(60614),f=n(70111),h=n(52190),m=n(19670),g=n(47908),y=n(45656),v=n(34948),b=n(41340),_=n(79114),w=n(70030),C=n(81956),S=n(8006),E=n(1156),x=n(25181),k=n(31236),O=n(3070),T=n(55296),A=n(31320),P=n(72309),R=n(6200),I=n(3501),M=n(69711),N=n(5112),D=n(6061),j=n(97235),L=n(58003),B=n(29909),F=n(42092).forEach,U=R("hidden"),H=N("toPrimitive"),V=B.set,z=B.getterFor("Symbol"),q=Object.prototype,G=o.Symbol,W=i("JSON","stringify"),Y=k.f,Z=O.f,K=E.f,$=T.f,Q=P("symbols"),X=P("op-symbols"),J=P("string-to-symbol-registry"),ee=P("symbol-to-string-registry"),te=P("wks"),ne=o.QObject,re=!ne||!ne.prototype||!ne.prototype.findChild,oe=s&&c((function(){return 7!=w(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Y(q,t);r&&delete q[t],Z(e,t,n),r&&e!==q&&Z(q,t,r)}:Z,ie=function(e,t){var n=Q[e]=w(G.prototype);return V(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ae=function(e,t,n){e===q&&ae(X,t,n),m(e);var r=v(t);return m(n),u(Q,r)?(n.enumerable?(u(e,U)&&e[U][r]&&(e[U][r]=!1),n=w(n,{enumerable:_(0,!1)})):(u(e,U)||Z(e,U,_(1,{})),e[U][r]=!0),oe(e,r,n)):Z(e,r,n)},se=function(e,t){m(e);var n=y(t),r=C(n).concat(de(n));return F(r,(function(t){s&&!le.call(n,t)||ae(e,t,n[t])})),e},le=function(e){var t=v(e),n=$.call(this,t);return!(this===q&&u(Q,t)&&!u(X,t))&&(!(n||!u(this,t)||!u(Q,t)||u(this,U)&&this[U][t])||n)},ce=function(e,t){var n=y(e),r=v(t);if(n!==q||!u(Q,r)||u(X,r)){var o=Y(n,r);return!o||!u(Q,r)||u(n,U)&&n[U][r]||(o.enumerable=!0),o}},ue=function(e){var t=K(y(e)),n=[];return F(t,(function(e){u(Q,e)||u(I,e)||n.push(e)})),n},de=function(e){var t=e===q,n=K(t?X:y(e)),r=[];return F(n,(function(e){!u(Q,e)||t&&!u(q,e)||r.push(Q[e])})),r};(l||(A((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,t=M(e),n=function(e){this===q&&n.call(X,e),u(this,U)&&u(this[U],t)&&(this[U][t]=!1),oe(this,t,_(1,e))};return s&&re&&oe(q,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return z(this).tag})),A(G,"withoutSetter",(function(e){return ie(M(e),e)})),T.f=le,O.f=ae,k.f=ce,S.f=E.f=ue,x.f=de,D.f=function(e){return ie(N(e),e)},s&&(Z(G.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||A(q,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),F(C(te),(function(e){j(e)})),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=b(e);if(u(J,t))return J[t];var n=G(t);return J[t]=n,ee[n]=t,n},keyFor:function(e){if(!h(e))throw TypeError(e+" is not a symbol");if(u(ee,e))return ee[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?w(e):se(w(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:c((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(g(e))}}),W)&&r({target:"JSON",stat:!0,forced:!l||c((function(){var e=G();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!h(e))return d(t)||(t=function(e,t){if(p(r)&&(t=r.call(this,e,t)),!h(t))return t}),o[1]=t,W.apply(null,o)}});if(!G.prototype[H]){var pe=G.prototype.valueOf;A(G.prototype,H,(function(){return pe.apply(this,arguments)}))}L(G,"Symbol"),I[U]=!0},96649:(e,t,n)=>{n(97235)("toPrimitive")},39341:(e,t,n)=>{n(97235)("toStringTag")},92990:(e,t,n)=>{"use strict";var r=n(90260),o=n(1048),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:(e,t,n)=>{"use strict";var r=n(90260),o=n(21285),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},35035:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).filter,i=n(43074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44197:(e,t,n)=>{n(19843)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},76495:(e,t,n)=>{n(19843)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},32846:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44731:(e,t,n)=>{"use strict";var r=n(90260),o=n(41318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:(e,t,n)=>{"use strict";var r=n(90260),o=n(41318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},35109:(e,t,n)=>{n(19843)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},65125:(e,t,n)=>{n(19843)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},87145:(e,t,n)=>{n(19843)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},96319:(e,t,n)=>{"use strict";var r=n(17854),o=n(76530).PROPER,i=n(90260),a=n(66992),s=n(5112)("iterator"),l=r.Uint8Array,c=a.values,u=a.keys,d=a.entries,p=i.aTypedArray,f=i.exportTypedArrayMethod,h=l&&l.prototype[s],m=!!h&&"values"===h.name,g=function(){return c.call(p(this))};f("entries",(function(){return d.call(p(this))})),f("keys",(function(){return u.call(p(this))})),f("values",g,o&&!m),f(s,g,o&&!m)},58867:(e,t,n)=>{"use strict";var r=n(90260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},37789:(e,t,n)=>{"use strict";var r=n(90260),o=n(86583),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},33739:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).map,i=n(66304),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},14483:(e,t,n)=>{"use strict";var r=n(90260),o=n(53671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},29368:(e,t,n)=>{"use strict";var r=n(90260),o=n(53671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},12056:(e,t,n)=>{"use strict";var r=n(90260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},3462:(e,t,n)=>{"use strict";var r=n(90260),o=n(17466),i=n(84590),a=n(47908),s=n(47293),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");for(;c<s;)this[t+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},30678:(e,t,n)=>{"use strict";var r=n(90260),o=n(66304),i=n(47293),a=r.aTypedArray,s=r.exportTypedArrayMethod,l=[].slice;s("slice",(function(e,t){for(var n=l.call(a(this),e,t),r=o(this),i=0,s=n.length,c=new r(s);s>i;)c[i]=n[i++];return c}),i((function(){new Int8Array(1).slice()})))},27462:(e,t,n)=>{"use strict";var r=n(90260),o=n(42092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:(e,t,n)=>{"use strict";var r=n(90260),o=n(17854),i=n(47293),a=n(19662),s=n(17466),l=n(94362),c=n(68886),u=n(30256),d=n(7392),p=n(98008),f=r.aTypedArray,h=r.exportTypedArrayMethod,m=o.Uint16Array,g=m&&m.prototype.sort,y=!!g&&!i((function(){var e=new m(2);e.sort(null),e.sort({})})),v=!!g&&!i((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(p)return p<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){if(void 0!==e&&a(e),v)return g.call(this,e);f(this);var t,n=s(this.length),r=Array(n);for(t=0;t<n;t++)r[t]=this[t];for(r=l(this,function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e)),t=0;t<n;t++)this[t]=r[t];return this}),!v||y)},55021:(e,t,n)=>{"use strict";var r=n(90260),o=n(17466),i=n(51400),a=n(66304),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},12974:(e,t,n)=>{"use strict";var r=n(17854),o=n(90260),i=n(47293),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},15016:(e,t,n)=>{"use strict";var r=n(90260).exportTypedArrayMethod,o=n(47293),i=n(17854).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},8255:(e,t,n)=>{n(19843)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29135:(e,t,n)=>{n(19843)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},82472:(e,t,n)=>{n(19843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},49743:(e,t,n)=>{n(19843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},4129:(e,t,n)=>{"use strict";var r,o=n(17854),i=n(12248),a=n(62423),s=n(77710),l=n(29320),c=n(70111),u=n(29909).enforce,d=n(68536),p=!o.ActiveXObject&&"ActiveXObject"in o,f=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,l);if(d&&p){r=l.getConstructor(h,"WeakMap",!0),a.enable();var g=m.prototype,y=g.delete,v=g.has,b=g.get,_=g.set;i(g,{delete:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.has(e)}return v.call(this,e)},get:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!f(e)){var n=u(this);n.frozen||(n.frozen=new r),v.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},38478:(e,t,n)=>{"use strict";n(77710)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(29320))},8628:(e,t,n)=>{n(9170)},65743:(e,t,n)=>{n(35837)},96290:(e,t,n)=>{n(34668)},13728:(e,t,n)=>{n(76373)},27207:(e,t,n)=>{n(68757)},54747:(e,t,n)=>{var r=n(17854),o=n(48324),i=n(98509),a=n(18533),s=n(68880),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)l(r[c]&&r[c].prototype);l(i)},33948:(e,t,n)=>{var r=n(17854),o=n(48324),i=n(98509),a=n(66992),s=n(68880),l=n(5112),c=l("iterator"),u=l("toStringTag"),d=a.values,p=function(e,t){if(e){if(e[c]!==d)try{s(e,c,d)}catch(t){e[c]=d}if(e[u]||s(e,u,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in o)p(r[f]&&r[f].prototype,f);p(i,"DOMTokenList")},84633:(e,t,n)=>{var r=n(82109),o=n(17854),i=n(20261);r({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},41637:(e,t,n)=>{"use strict";n(66992);var r=n(82109),o=n(35005),i=n(590),a=n(31320),s=n(12248),l=n(58003),c=n(24994),u=n(29909),d=n(25787),p=n(60614),f=n(86656),h=n(49974),m=n(70648),g=n(19670),y=n(70111),v=n(41340),b=n(70030),_=n(79114),w=n(18554),C=n(71246),S=n(5112),E=o("fetch"),x=o("Request"),k=x&&x.prototype,O=o("Headers"),T=S("iterator"),A=u.set,P=u.getterFor("URLSearchParams"),R=u.getterFor("URLSearchParamsIterator"),I=/\+/g,M=Array(4),N=function(e){return M[e-1]||(M[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},D=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(I," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(N(n--),D);return t}},L=/[!'()~]|%20/g,B={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return B[e]},U=function(e){return encodeURIComponent(e).replace(L,F)},H=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:j(r.shift()),value:j(r.join("="))}))},V=function(e){this.entries.length=0,H(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},q=c((function(e,t){A(this,{type:"URLSearchParamsIterator",iterator:w(P(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),G=function(){d(this,G,"URLSearchParams");var e,t,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(A(u,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:V}),void 0!==c)if(y(c))if(e=C(c))for(n=(t=w(c,e)).next;!(r=n.call(t)).done;){if((a=(i=(o=w(g(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:v(a.value),value:v(s.value)})}else for(l in c)f(c,l)&&p.push({key:l,value:v(c[l])});else H(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:v(c))},W=G.prototype;if(s(W,{append:function(e,t){z(arguments.length,2);var n=P(this);n.entries.push({key:v(e),value:v(t)}),n.updateURL()},delete:function(e){z(arguments.length,1);for(var t=P(this),n=t.entries,r=v(e),o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){z(arguments.length,1);for(var t=P(this).entries,n=v(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,r=P(this),o=r.entries,i=!1,a=v(e),s=v(t),l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=P(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),a(W,T,W.entries,{name:"entries"}),a(W,"toString",(function(){for(var e,t=P(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(U(e.key)+"="+U(e.value));return n.join("&")}),{enumerable:!0}),l(G,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:G}),!i&&p(O)){var Y=function(e){if(y(e)){var t,n=e.body;if("URLSearchParams"===m(n))return(t=e.headers?new O(e.headers):new O).has("content-type")||t.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),b(e,{body:_(0,String(n)),headers:_(0,t)})}return e};if(p(E)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(e,arguments.length>1?Y(arguments[1]):{})}}),p(x)){var Z=function(e){return d(this,Z,"Request"),new x(e,arguments.length>1?Y(arguments[1]):{})};k.constructor=Z,Z.prototype=k,r({global:!0,forced:!0},{Request:Z})}}e.exports={URLSearchParams:G,getState:P}},60285:(e,t,n)=>{"use strict";n(78783);var r,o=n(82109),i=n(19781),a=n(590),s=n(17854),l=n(36048),c=n(31320),u=n(25787),d=n(86656),p=n(21574),f=n(48457),h=n(28710).codeAt,m=n(33197),g=n(41340),y=n(58003),v=n(41637),b=n(29909),_=s.URL,w=v.URLSearchParams,C=v.getState,S=b.set,E=b.getterFor("URL"),x=Math.floor,k=Math.pow,O=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,A=/\d/,P=/^0x/i,R=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:<>?@[\\\]^|]/,D=/[\0\t\n\r #/:<>?@[\\\]^|]/,j=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,L=/[\t\n\r]/g,B=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Z(e)){if(t=m(t),N.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(D.test(t))return"Invalid host";for(n="",r=f(t),o=0;o<r.length;o++)n+=W(r[o],V);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=P.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?R:M).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,p=function(){return e.charAt(d)};if(":"==p()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;d++}if(!A.test(p()))return;for(;A.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},H=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},V={},z=p({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},z,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(Y,e.scheme)},K=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&O.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te={},ne={},re={},oe={},ie={},ae={},se={},le={},ce={},ue={},de={},pe={},fe={},he={},me={},ge={},ye={},ve={},be={},_e={},we={},Ce=function(e,t,n,o){var i,a,s,l,c,u=n||te,p=0,h="",m=!1,g=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace(L,""),i=f(t);p<=i.length;){switch(a=i[p],u){case te:if(!a||!O.test(a)){if(n)return"Invalid scheme";u=re;continue}h+=a.toLowerCase(),u=ne;break;case ne:if(a&&(T.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",u=re,p=0;continue}if(n&&(Z(e)!=d(Y,h)||"file"==h&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Z(e)&&Y[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=he:Z(e)&&o&&o.scheme==e.scheme?u=oe:Z(e)?u=le:"/"==i[p+1]?(u=ie,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=be)}break;case re:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=we;break}u="file"==o.scheme?he:ae;continue;case oe:if("/"!=a||"/"!=i[p+1]){u=ae;continue}u=ce,p++;break;case ie:if("/"==a){u=ue;break}u=ve;continue;case ae:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Z(e))u=se;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=_e;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=ve;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=we}break;case se:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=ve;continue}u=ue}else u=ce;break;case le:if(u=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){u=ue;continue}break;case ue:if("@"==a){m&&(h="%40"+h),m=!0,s=f(h);for(var v=0;v<s.length;v++){var b=s[v];if(":"!=b||y){var _=W(b,G);y?e.password+=_:e.username+=_}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",u=de}else h+=a;break;case de:case pe:if(n&&"file"==e.scheme){u=ge;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(Z(e)&&""==h)return"Invalid host";if(n&&""==h&&(K(e)||null!==e.port))return;if(l=B(e,h))return l;if(h="",u=ye,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(l=B(e,h))return l;if(h="",u=fe,n==pe)return}break;case fe:if(!A.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=Z(e)&&w===Y[e.scheme]?null:w,h=""}if(n)return;u=ye;continue}return"Invalid port"}h+=a;break;case he:if(e.scheme="file","/"==a||"\\"==a)u=me;else{if(!o||"file"!=o.scheme){u=ve;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=_e;else{if("#"!=a){X(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),u=ve;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=we}}break;case me:if("/"==a||"\\"==a){u=ge;break}o&&"file"==o.scheme&&!X(i.slice(p).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=ve;continue;case ge:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(h))u=ve;else if(""==h){if(e.host="",n)return;u=ye}else{if(l=B(e,h))return l;if("localhost"==e.host&&(e.host=""),n)return;h="",u=ye}continue}h+=a;break;case ye:if(Z(e)){if(u=ve,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=ve,"/"!=a))continue}else e.fragment="",u=we;else e.query="",u=_e;break;case ve:if(a==r||"/"==a||"\\"==a&&Z(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ee(h)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=_e):"#"==a&&(e.fragment="",u=we)}else h+=W(a,q);break;case be:"?"==a?(e.query="",u=_e):"#"==a?(e.fragment="",u=we):a!=r&&(e.path[0]+=W(a,V));break;case _e:n||"#"!=a?a!=r&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":W(a,V)):(e.fragment="",u=we);break;case we:a!=r&&(e.fragment+=W(a,z))}p++}},Se=function(e){var t,n,r=u(this,Se,"URL"),o=arguments.length>1?arguments[1]:void 0,a=g(e),s=S(r,{type:"URL"});if(void 0!==o)if(o instanceof Se)t=E(o);else if(n=Ce(t={},g(o)))throw TypeError(n);if(n=Ce(s,a,null,t))throw TypeError(n);var l=s.searchParams=new w,c=C(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=xe.call(r),r.origin=ke.call(r),r.protocol=Oe.call(r),r.username=Te.call(r),r.password=Ae.call(r),r.host=Pe.call(r),r.hostname=Re.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=De.call(r),r.hash=je.call(r))},Ee=Se.prototype,xe=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",K(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},ke=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Se(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Oe=function(){return E(this).scheme+":"},Te=function(){return E(this).username},Ae=function(){return E(this).password},Pe=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Re=function(){var e=E(this).host;return null===e?"":H(e)},Ie=function(){var e=E(this).port;return null===e?"":String(e)},Me=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},je=function(){var e=E(this).fragment;return e?"#"+e:""},Le=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ee,{href:Le(xe,(function(e){var t=E(this),n=g(e),r=Ce(t,n);if(r)throw TypeError(r);C(t.searchParams).updateSearchParams(t.query)})),origin:Le(ke),protocol:Le(Oe,(function(e){var t=E(this);Ce(t,g(e)+":",te)})),username:Le(Te,(function(e){var t=E(this),n=f(g(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=W(n[r],G)}})),password:Le(Ae,(function(e){var t=E(this),n=f(g(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=W(n[r],G)}})),host:Le(Pe,(function(e){var t=E(this);t.cannotBeABaseURL||Ce(t,g(e),de)})),hostname:Le(Re,(function(e){var t=E(this);t.cannotBeABaseURL||Ce(t,g(e),pe)})),port:Le(Ie,(function(e){var t=E(this);$(t)||(""==(e=g(e))?t.port=null:Ce(t,e,fe))})),pathname:Le(Me,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Ce(t,g(e),ye))})),search:Le(Ne,(function(e){var t=E(this);""==(e=g(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,_e)),C(t.searchParams).updateSearchParams(t.query)})),searchParams:Le(De),hash:Le(je,(function(e){var t=E(this);""!=(e=g(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,we)):t.fragment=null}))}),c(Ee,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),c(Ee,"toString",(function(){return xe.call(this)}),{enumerable:!0}),_){var Be=_.createObjectURL,Fe=_.revokeObjectURL;Be&&c(Se,"createObjectURL",(function(e){return Be.apply(_,arguments)})),Fe&&c(Se,"revokeObjectURL",(function(e){return Fe.apply(_,arguments)}))}y(Se,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Se})},83753:(e,t,n)=>{"use strict";n(82109)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},22032:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M8 4l4 4-4 4V4zM4 .889C4 .398 4.448 0 5 0s1 .398 1 .889V15.11c0 .491-.448.889-1 .889s-1-.398-1-.889V.89z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},44859:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic_stroke" d="M9.9094 12.3334H9.75603L9.61808 12.4004C8.82771 12.7844 7.93998 13 6.99998 13C3.68627 13 0.99998 10.3137 0.99998 7.00004C0.99998 3.68633 3.68627 1.00004 6.99998 1.00004C10.3137 1.00004 13 3.68633 13 7.00004C13 7.94004 12.7843 8.82777 12.4003 9.61815L12.3333 9.75609V9.90946V12.3334H9.9094Z" stroke-width="1.33333"/>'};var r=n(5813);e.exports=r(e.exports)},30245:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M4 8h8l-4 4-4-4zM.889 6C.398 6 0 5.552 0 5s.398-1 .889-1H15.11c.491 0 .889.448.889 1s-.398 1-.889 1H.89z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},86766:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.66683 6.99998C1.66683 4.05446 4.05464 1.66665 7.00016 1.66665C9.94568 1.66665 12.3335 4.05446 12.3335 6.99998C12.3335 9.9455 9.94568 12.3333 7.00016 12.3333C4.05464 12.3333 1.66683 9.9455 1.66683 6.99998ZM7.00016 0.333313C3.31826 0.333313 0.333496 3.31808 0.333496 6.99998C0.333496 10.6819 3.31826 13.6666 7.00016 13.6666C10.6821 13.6666 13.6668 10.6819 13.6668 6.99998C13.6668 3.31808 10.6821 0.333313 7.00016 0.333313ZM10.5123 5.42677C10.748 5.14392 10.7098 4.72354 10.427 4.48783C10.1441 4.25212 9.72372 4.29034 9.48802 4.57319L6.55081 8.09784L4.72099 6.79083C4.42138 6.57682 4.00501 6.64622 3.79101 6.94583C3.577 7.24543 3.6464 7.6618 3.946 7.87581L6.78285 9.90212L10.5123 5.42677Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},44461:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M12.3335 7.00001C12.3335 4.05449 9.94568 1.66668 7.00016 1.66668C4.05464 1.66668 1.66683 4.05449 1.66683 7.00001C1.66683 9.94553 4.05464 12.3333 7.00016 12.3333C9.94568 12.3333 12.3335 9.94553 12.3335 7.00001ZM13.6668 7.00001C13.6668 10.6819 10.6821 13.6667 7.00016 13.6667C3.31826 13.6667 0.333496 10.6819 0.333496 7.00001C0.333496 3.31811 3.31826 0.333344 7.00016 0.333344C10.6821 0.333344 13.6668 3.31811 13.6668 7.00001ZM5.99844 4.73459C5.7869 4.97257 5.66683 5.30872 5.66683 5.66668C5.66683 6.03487 5.36835 6.33334 5.00016 6.33334C4.63197 6.33334 4.3335 6.03487 4.3335 5.66668C4.3335 5.02463 4.54676 4.36079 5.00189 3.84877C5.46793 3.32448 6.15259 3.00001 7.00016 3.00001C7.74335 3.00001 8.41196 3.19655 8.906 3.61763C9.41141 4.0484 9.66683 4.65811 9.66683 5.33334C9.66683 5.76319 9.57758 6.17871 9.34926 6.57034C9.12475 6.95544 8.79108 7.27397 8.36996 7.55471C7.89842 7.86907 7.74592 8.05285 7.69682 8.13467C7.67159 8.17672 7.66683 8.18467 7.66683 8.33334C7.66683 8.70153 7.36835 9.00001 7.00016 9.00001C6.63197 9.00001 6.3335 8.70153 6.3335 8.33334L6.33349 8.32243C6.3334 8.13632 6.33325 7.81577 6.5535 7.44868C6.7544 7.11384 7.10191 6.79761 7.63036 6.44531C7.93768 6.24043 8.10401 6.05896 8.19739 5.8988C8.28696 5.74516 8.3335 5.57017 8.3335 5.33334C8.3335 5.00858 8.2201 4.78495 8.0411 4.63239C7.85073 4.47014 7.51934 4.33334 7.00016 4.33334C6.5144 4.33334 6.19907 4.50888 5.99844 4.73459ZM7.66683 10.3333C7.66683 10.7015 7.36835 11 7.00016 11C6.63197 11 6.3335 10.7015 6.3335 10.3333C6.3335 9.96515 6.63197 9.66668 7.00016 9.66668C7.36835 9.66668 7.66683 9.96515 7.66683 10.3333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},60251:(e,t,n)=>{e.exports={attributes:{width:"10",height:"13",viewBox:"0 0 10 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333984 1.24984C0.333984 0.927673 0.595152 0.666504 0.917318 0.666504C0.917839 0.666504 0.91836 0.666505 0.918881 0.666506L3.25065 0.666504C3.98774 0.666504 4.55348 1.04063 4.9667 1.3139L5.01555 1.34617C5.4755 1.64945 5.7833 1.83317 6.16732 1.83317C6.602 1.83317 7.22352 1.6008 7.80228 1.31142C8.0773 1.17391 8.3191 1.03578 8.4922 0.931926C8.57848 0.880156 8.64703 0.837302 8.69333 0.807833C8.71647 0.793109 8.73401 0.781755 8.74539 0.774335L8.75775 0.766235L8.76054 0.764392C8.93952 0.645138 9.16961 0.634042 9.35924 0.735529C9.54891 0.83704 9.66732 1.03471 9.66732 1.24984V6.49984C9.66732 6.69488 9.56984 6.87701 9.40756 6.9852L9.08399 6.49984C9.40756 6.9852 9.40765 6.98514 9.40756 6.9852L9.4051 6.98683L9.40011 6.99014L9.3827 7.00155C9.36788 7.01122 9.34668 7.02493 9.31969 7.04211C9.26574 7.07644 9.18845 7.12473 9.09244 7.18233C8.90095 7.29723 8.63234 7.45076 8.32403 7.60492C7.73612 7.89887 6.8993 8.24984 6.16732 8.24984C5.4082 8.24984 4.81694 7.87335 4.38107 7.59581L4.34897 7.57538C3.86321 7.2664 3.55209 7.08317 3.18583 7.08317H1.50065V11.7498C1.50065 12.072 1.23948 12.3332 0.917318 12.3332C0.595152 12.3332 0.333984 12.072 0.333984 11.7498V1.24984Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},79058:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6.05558 1.55357C6.36687 0.658012 7.6334 0.658002 7.9447 1.55357L9.04496 4.71887L12.3953 4.78714C13.3433 4.80646 13.7346 6.011 12.9791 6.58381L10.3087 8.60835L11.2791 11.8158C11.5537 12.7233 10.529 13.4678 9.75078 12.9262L7.00014 11.0122L4.24949 12.9262C3.47126 13.4678 2.4466 12.7234 2.72116 11.8158L3.69155 8.60835L1.02117 6.58381C0.265637 6.01101 0.657009 4.80646 1.60494 4.78714L4.95532 4.71887L6.05558 1.55357ZM7.00014 2.89714L6.13858 5.37574C6.00125 5.77081 5.63256 6.03868 5.21439 6.0472L2.59086 6.10066L4.68191 7.68599C5.01521 7.93867 5.15604 8.3721 5.03492 8.77244L4.27506 11.2841L6.42896 9.78526C6.77227 9.54636 7.228 9.54636 7.57132 9.78526L9.72522 11.2841L8.96535 8.77244C8.84424 8.3721 8.98507 7.93867 9.31836 7.68599L11.4094 6.10066L8.78589 6.0472C8.36772 6.03868 7.99903 5.77081 7.8617 5.37574L7.00014 2.89714Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},10812:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 0.666667C0 0.298477 0.298477 0 0.666667 0H11.3333C11.7015 0 12 0.298477 12 0.666667C12 1.03486 11.7015 1.33333 11.3333 1.33333H0.666667C0.298477 1.33333 0 1.03486 0 0.666667ZM0 3.33333C0 2.96514 0.298477 2.66667 0.666667 2.66667H7.33333C7.70152 2.66667 8 2.96514 8 3.33333C8 3.70152 7.70152 4 7.33333 4H0.666667C0.298477 4 0 3.70152 0 3.33333ZM0.666667 5.33333C0.298477 5.33333 0 5.63181 0 6C0 6.36819 0.298477 6.66667 0.666667 6.66667H11.3333C11.7015 6.66667 12 6.36819 12 6C12 5.63181 11.7015 5.33333 11.3333 5.33333H0.666667ZM0 8.66667C0 8.29848 0.298477 8 0.666667 8H7.33333C7.70152 8 8 8.29848 8 8.66667C8 9.03486 7.70152 9.33333 7.33333 9.33333H0.666667C0.298477 9.33333 0 9.03486 0 8.66667ZM0.666667 10.6667C0.298477 10.6667 0 10.9651 0 11.3333C0 11.7015 0.298477 12 0.666667 12H11.3333C11.7015 12 12 11.7015 12 11.3333C12 10.9651 11.7015 10.6667 11.3333 10.6667H0.666667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},67906:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333496 0.99998C0.333496 0.63179 0.631973 0.333313 1.00016 0.333313H13.0002C13.3684 0.333313 13.6668 0.63179 13.6668 0.99998C13.6668 1.36817 13.3684 1.66665 13.0002 1.66665H1.00016C0.631973 1.66665 0.333496 1.36817 0.333496 0.99998ZM0.333496 4.99998C0.333496 4.63179 0.631973 4.33331 1.00016 4.33331H13.0002C13.3684 4.33331 13.6668 4.63179 13.6668 4.99998C13.6668 5.36817 13.3684 5.66665 13.0002 5.66665H1.00016C0.631973 5.66665 0.333496 5.36817 0.333496 4.99998ZM1.00016 8.33331C0.631973 8.33331 0.333496 8.63179 0.333496 8.99998C0.333496 9.36817 0.631973 9.66665 1.00016 9.66665H13.0002C13.3684 9.66665 13.6668 9.36817 13.6668 8.99998C13.6668 8.63179 13.3684 8.33331 13.0002 8.33331H1.00016Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},89959:(e,t,n)=>{e.exports={attributes:{width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M3.66651 0.666687C3.96417 0.666687 4.22576 0.864005 4.30753 1.15021L6.9742 10.4835C7.07535 10.8376 6.87035 11.2066 6.51633 11.3077C6.1623 11.4089 5.79331 11.2039 5.69216 10.8498L5.06744 8.6633C5.04521 8.66554 5.02266 8.66669 4.99985 8.66669H2.33318C2.31036 8.66669 2.28781 8.66554 2.26559 8.6633L1.64086 10.8498C1.53971 11.2039 1.17072 11.4089 0.816699 11.3077C0.462675 11.2066 0.257681 10.8376 0.35883 10.4835L3.0255 1.15021C3.10727 0.864005 3.36886 0.666687 3.66651 0.666687ZM2.64557 7.33335H4.68745L3.66651 3.76006L2.64557 7.33335ZM8.33318 1.33335C8.33318 0.965164 8.63166 0.666687 8.99985 0.666687H12.9998C13.2239 0.666687 13.433 0.779276 13.5564 0.96636C13.6798 1.15344 13.7009 1.38999 13.6126 1.59597L10.0109 10H12.9998C13.368 10 13.6665 10.2985 13.6665 10.6667C13.6665 11.0349 13.368 11.3334 12.9998 11.3334H8.99985C8.77575 11.3334 8.56665 11.2208 8.44329 11.0337C8.31992 10.8466 8.29881 10.61 8.38708 10.4041L11.9888 2.00002H8.99985C8.63166 2.00002 8.33318 1.70154 8.33318 1.33335ZM6.99985 6.00002C6.99985 5.63183 7.29832 5.33335 7.66651 5.33335H8.33318C8.70137 5.33335 8.99985 5.63183 8.99985 6.00002C8.99985 6.36821 8.70137 6.66669 8.33318 6.66669H7.66651C7.29832 6.66669 6.99985 6.36821 6.99985 6.00002Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},65216:(e,t,n)=>{e.exports={attributes:{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.195287 0.195262C0.455636 -0.0650874 0.877746 -0.0650874 1.1381 0.195262L2.46574 1.52291C2.51433 1.57023 2.55433 1.62356 2.58549 1.68078C2.6819 1.85741 2.69246 2.06845 2.61717 2.25261C2.59251 2.31292 2.55865 2.37035 2.51558 2.42275L1.18727 4.08313C0.957264 4.37064 0.537736 4.41725 0.250228 4.18725C-0.0372801 3.95724 -0.0838944 3.53771 0.146112 3.2502L1.10669 2.04948L0.195287 1.13807C-0.0650629 0.877722 -0.0650629 0.455612 0.195287 0.195262ZM4.00002 2C4.00002 1.63181 4.2985 1.33333 4.66669 1.33333H11.3334C11.7015 1.33333 12 1.63181 12 2C12 2.36819 11.7015 2.66667 11.3334 2.66667H4.66669C4.2985 2.66667 4.00002 2.36819 4.00002 2ZM4.00002 6C4.00002 5.63181 4.2985 5.33333 4.66669 5.33333H11.3334C11.7015 5.33333 12 5.63181 12 6C12 6.36819 11.7015 6.66667 11.3334 6.66667H4.66669C4.2985 6.66667 4.00002 6.36819 4.00002 6ZM4.66669 9.33333C4.2985 9.33333 4.00002 9.63181 4.00002 10C4.00002 10.3682 4.2985 10.6667 4.66669 10.6667H11.3334C11.7015 10.6667 12 10.3682 12 10C12 9.63181 11.7015 9.33333 11.3334 9.33333H4.66669Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},88098:(e,t,n)=>{e.exports={attributes:{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.49633 0.250001C5.29741 0.250001 5.09758 0.286163 4.90966 0.358065L0.815374 1.91133C0.584833 1.99879 0.590791 2.29313 0.820874 2.38059L4.93762 3.87667C5.29828 4.0108 5.70171 4.0108 6.06237 3.87667L10.1791 2.38059C10.4097 2.29818 10.4097 1.99879 10.1846 1.91133L6.07933 0.358065C5.89487 0.28651 5.6966 0.249758 5.49633 0.250001ZM10.725 2.81074C10.6901 2.81095 10.6555 2.81738 10.6232 2.82967L6.03441 4.45988C5.98307 4.47917 5.93912 4.51201 5.90812 4.55422C5.87712 4.59643 5.86046 4.64613 5.86025 4.69703V8.43765C5.86068 8.4786 5.87197 8.51884 5.89315 8.55489C5.91432 8.59095 5.94475 8.62173 5.98179 8.64458C6.01884 8.66743 6.06139 8.68166 6.10577 8.68605C6.15016 8.69043 6.19504 8.68484 6.23654 8.66976L10.8258 7.03408C10.8773 7.01655 10.9216 6.9849 10.9528 6.94345C10.9839 6.902 11.0004 6.85275 11 6.80239V3.06177C10.9995 2.99515 10.9703 2.93141 10.9188 2.88446C10.8673 2.83751 10.7976 2.81116 10.725 2.81116V2.81074ZM0.309833 2.82714C0.269139 2.82582 0.228587 2.83223 0.190726 2.84598C0.152864 2.85973 0.118514 2.88052 0.0898333 2.90703C0.0394166 2.95371 0 3.01005 0 3.07733V6.59047C0 6.77632 0.236042 6.90036 0.416166 6.81753L3.28991 5.55356L3.43062 5.49175L4.79141 4.88793C5.005 4.79543 4.9885 4.50613 4.76345 4.42876L0.404708 2.84522C0.374619 2.83368 0.34244 2.8274 0.309833 2.82672V2.82714Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},32577:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill="#F24242" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM7 10h2v2H7v-2zm0-6h2v5H7V4z"/>         <path d="M0 0h16v16H0z" opacity=".486"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},87163:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm3 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1zm-2 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm2 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1zm-2 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},36842:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm-1 5a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},35596:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm-1 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},4802:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm6 4a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm-5 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm5 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm-5 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},19379:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M4 7h8l-4 4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61177:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#AEB7B8" d="M10 4v8L6 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61093:(e,t,n)=>{e.exports={attributes:{width:"5",height:"6",viewBox:"0 0 5 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M0 4.82578V1.17422C0 0.319867 1.00212 -0.141041 1.65079 0.414964L3.78087 2.24074C4.24648 2.63984 4.24648 3.36016 3.78087 3.75926L1.65079 5.58504C1.00212 6.14104 0 5.68013 0 4.82578Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},83675:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#AEB7B8" d="M6 4v8l4-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},4817:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M18.662 2.059l-4.611 1.536A3 3 0 0 0 12 6.442v8.35c-.849-.507-1.894-.792-3-.792-1.3 0-2.515.394-3.428 1.079C4.658 15.764 4 16.786 4 18c0 1.214.658 2.236 1.572 2.921C6.485 21.606 7.7 22 9 22c1.3 0 2.515-.394 3.428-1.079C13.342 20.236 14 19.214 14 18v-7.279l3.949-1.316A3 3 0 0 0 20 6.559V3.023a.979.979 0 0 0-.126-.509.992.992 0 0 0-1.212-.455zM14 8.613l3.316-1.106A.999.999 0 0 0 18 6.559V4.387l-3.316 1.106a1 1 0 0 0-.684.949v2.171zm-2.772 8.066c.535.401.772.878.772 1.321 0 .443-.237.921-.772 1.321C10.694 19.722 9.909 20 9 20c-.909 0-1.694-.278-2.228-.679C6.237 18.921 6 18.443 6 18c0-.443.237-.92.772-1.321C7.306 16.278 8.091 16 9 16c.909 0 1.694.278 2.228.679z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},69710:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" d="M8.0002 2.66665C7.26382 2.66665 6.66687 3.2636 6.66687 3.99998V6.66665C6.66687 7.40303 7.26382 7.99998 8.0002 7.99998C8.73658 7.99998 9.33354 7.40303 9.33354 6.66665V3.99998C9.33354 3.2636 8.73658 2.66665 8.0002 2.66665ZM5.33354 3.99998C5.33354 2.52722 6.52744 1.33331 8.0002 1.33331C9.47296 1.33331 10.6669 2.52722 10.6669 3.99998V6.66665C10.6669 8.13941 9.47296 9.33331 8.0002 9.33331C6.52744 9.33331 5.33354 8.13941 5.33354 6.66665V3.99998ZM4.0002 5.99998C4.0002 5.63179 3.70173 5.33331 3.33354 5.33331C2.96535 5.33331 2.66687 5.63179 2.66687 5.99998V6.66665C2.66687 9.38682 4.70331 11.6314 7.33479 11.9589C7.33396 11.9725 7.33354 11.9862 7.33354 12V13.3333H6.66687C6.29868 13.3333 6.0002 13.6318 6.0002 14C6.0002 14.3682 6.29868 14.6666 6.66687 14.6666H9.33354C9.70173 14.6666 10.0002 14.3682 10.0002 14C10.0002 13.6318 9.70173 13.3333 9.33354 13.3333H8.66687V12C8.66687 11.9862 8.66645 11.9725 8.66562 11.9589C11.2971 11.6314 13.3335 9.38682 13.3335 6.66665V5.99998C13.3335 5.63179 13.0351 5.33331 12.6669 5.33331C12.2987 5.33331 12.0002 5.63179 12.0002 5.99998V6.66665C12.0002 8.87579 10.2093 10.6666 8.0002 10.6666C5.79106 10.6666 4.0002 8.87579 4.0002 6.66665V5.99998Z" fill="#5C6061" />     </g>'};var r=n(5813);e.exports=r(e.exports)},86306:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.193851 6.46999C0.19432 6.47046 0.194791 6.47093 0.195262 6.4714C0.195376 6.47152 0.19549 6.47163 0.195605 6.47175L5.5286 11.8047C5.78895 12.0651 6.21106 12.0651 6.4714 11.8047C6.73175 11.5444 6.73175 11.1223 6.4714 10.8619L2.27614 6.66667H11.3333C11.7015 6.66667 12 6.36819 12 6C12 5.63181 11.7015 5.33333 11.3333 5.33333H2.27614L6.4714 1.13807C6.73175 0.877722 6.73175 0.455612 6.4714 0.195262C6.21106 -0.0650875 5.78895 -0.0650875 5.5286 0.195262L0.195262 5.5286L0.193851 5.53001C0.0740375 5.65054 0 5.81662 0 6C0 6.09039 0.0179904 6.17659 0.0505859 6.25519C0.052061 6.25875 0.0535685 6.26231 0.0551082 6.26585C0.0872743 6.3399 0.133522 6.4093 0.193851 6.46999Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},11803:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path fill="currentColor" fill-rule="evenodd" d="M7.333 3.333a.667.667 0 1 1 1.334 0c0 .167.061.32.163.437l.009.01.035.042.132.16c.113.136.268.329.438.551.348.454.735.998.964 1.44.253.488.488 1.186.665 1.792a21.283 21.283 0 0 1 .273 1.03l.002.01a.663.663 0 0 0 .18.333l1 1 .53.529H2.942l.528-.529 1-1a.663.663 0 0 0 .181-.332l.002-.01a9.955 9.955 0 0 1 .069-.28c.048-.19.117-.455.204-.751.177-.606.412-1.304.665-1.791.23-.443.616-.987.964-1.441a21.281 21.281 0 0 1 .57-.71l.035-.042.009-.01V3.77a.664.664 0 0 0 .163-.437zm5.272 4.996l.866.866.529.529c.84.84.245 2.276-.943 2.276h-2.39a2.667 2.667 0 0 1-5.334 0h-2.39C1.755 12 1.16 10.564 2 9.724l.529-.529.866-.866.035-.14c.05-.202.125-.482.217-.798.181-.62.446-1.422.761-2.031.286-.552.733-1.174 1.09-1.639.181-.236.346-.44.466-.586l.053-.065a2 2 0 0 1 3.966 0l.053.065c.12.145.285.35.466.586.357.465.804 1.087 1.09 1.639.315.609.58 1.41.761 2.031a22.717 22.717 0 0 1 .252.938zM8 13.333A1.333 1.333 0 0 1 6.667 12h2.666c0 .736-.597 1.333-1.333 1.333z"/>'};var r=n(5813);e.exports=r(e.exports)},38096:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M7.33337 2.66663C6.59699 2.66663 6.00004 3.26358 6.00004 3.99996V12C6.00004 12.7363 6.59699 13.3333 7.33337 13.3333H8.66671C9.40309 13.3333 10 12.7363 10 12V3.99996C10 3.26358 9.40309 2.66663 8.66671 2.66663H7.33337ZM7.33337 3.99996L8.66671 3.99996V12H7.33337V3.99996Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.33337 4.66663C1.33337 3.93025 1.93033 3.33329 2.66671 3.33329H4.00004C4.73642 3.33329 5.33337 3.93025 5.33337 4.66663V11.3333C5.33337 12.0697 4.73642 12.6666 4.00004 12.6666H2.66671C1.93033 12.6666 1.33337 12.0697 1.33337 11.3333V4.66663ZM4.00004 4.66663L2.66671 4.66663V11.3333H4.00004V4.66663Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M10.6667 4.66663C10.6667 3.93025 11.2637 3.33329 12 3.33329H13.3334C14.0698 3.33329 14.6667 3.93025 14.6667 4.66663V11.3333C14.6667 12.0697 14.0698 12.6666 13.3334 12.6666H12C11.2637 12.6666 10.6667 12.0697 10.6667 11.3333V4.66663ZM13.3334 4.66663L12 4.66663V11.3333H13.3334V4.66663Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},69425:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 2.5H4.5v19H14a5.5 5.5 0 0 0 2.532-10.384A5.5 5.5 0 0 0 12 2.5H6zm6 8a2.5 2.5 0 1 0 0-5H7.5v5H12zm-4.5 3v5H14a2.5 2.5 0 1 0 0-5H7.5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},22793:(e,t,n)=>{e.exports={attributes:{width:"22",height:"28",viewBox:"0 0 22 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.33337 0.666504C2.12404 0.666504 0.333374 2.45717 0.333374 4.6665V25.9998C0.333374 26.3345 0.457374 26.6412 0.661374 26.8758C0.714707 26.9372 0.774707 26.9945 0.840041 27.0465C1.05071 27.2118 1.31071 27.3158 1.59604 27.3318C1.63204 27.3332 1.66937 27.3332 1.70537 27.3332C2.02404 27.3238 2.31471 27.2025 2.54004 27.0078L11 19.7558L19.46 27.0078C19.6854 27.2025 19.976 27.3238 20.2947 27.3332C20.3307 27.3332 20.368 27.3332 20.404 27.3318C20.6894 27.3158 20.9494 27.2118 21.16 27.0465C21.468 26.8025 21.6667 26.4238 21.6667 25.9998V4.6665C21.6667 2.45717 19.876 0.666504 17.6667 0.666504H4.33337ZM3.00004 4.6665C3.00004 3.9305 3.59737 3.33317 4.33337 3.33317H17.6667C18.4027 3.33317 19 3.9305 19 4.6665V23.1012L11.8734 16.9918C11.64 16.7892 11.3347 16.6665 11 16.6665C10.6654 16.6665 10.36 16.7892 10.1267 16.9918L3.00004 23.1012V4.6665Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},60681:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333344 3.66665C0.333344 1.8257 1.82573 0.333313 3.66668 0.333313H10.3333C12.1743 0.333313 13.6667 1.8257 13.6667 3.66665V6.33335C13.6667 8.1743 12.1743 9.66668 10.3333 9.66668H3.66668C1.82573 9.66668 0.333344 8.1743 0.333344 6.33335V3.66665ZM1.71514 4.10621C1.72692 4.15875 1.74077 4.2105 1.75659 4.26139C2.00982 5.07552 2.76921 5.66665 3.66668 5.66665H10.3333C11.2871 5.66665 12.085 4.99897 12.285 4.10551C12.3167 3.96428 12.3333 3.81741 12.3333 3.66665C12.3333 2.56208 11.4379 1.66665 10.3333 1.66665H3.66668C2.56211 1.66665 1.66668 2.56208 1.66668 3.66665C1.66668 3.81766 1.68341 3.96477 1.71514 4.10621Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},74985:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="currentColor" d="M5.333 2c.368 0 .667.298.667.667v.666h4v-.666a.667.667 0 0 1 1.333 0v.666H12a2 2 0 0 1 2 2V12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5.333a2 2 0 0 1 2-2h.667v-.666c0-.369.298-.667.666-.667zM10 4.667v.666a.667.667 0 0 0 1.333 0v-.666H12c.368 0 .667.298.667.666v1.334H3.333V5.333c0-.368.299-.666.667-.666h.667v.666a.667.667 0 0 0 1.333 0v-.666h4zM3.333 8v4c0 .368.299.667.667.667h8a.667.667 0 0 0 .667-.667V8H3.333z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},31887:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#00A1B7"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 23C32.5 27.9706 28.4706 32 23.5 32C18.5294 32 14.5 27.9706 14.5 23C14.5 18.0294 18.5294 14 23.5 14C28.4706 14 32.5 18.0294 32.5 23ZM25.8625 20.6375C25.8625 21.9423 24.8048 23 23.5 23C22.1952 23 21.1375 21.9423 21.1375 20.6375C21.1375 19.3327 22.1952 18.275 23.5 18.275C24.8048 18.275 25.8625 19.3327 25.8625 20.6375ZM26.8718 27.0538C27.3662 26.8479 27.5539 26.2508 27.224 25.829C26.3592 24.7233 25.0126 24.0125 23.5 24.0125C21.9874 24.0125 20.6408 24.7233 19.776 25.829C19.4461 26.2508 19.6338 26.8479 20.1281 27.0538C21.1662 27.4862 22.3052 27.725 23.5 27.725C24.6947 27.725 25.8337 27.4862 26.8718 27.0538Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},21088:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#A5B3BD"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 23C32.5 27.9706 28.4706 32 23.5 32C18.5294 32 14.5 27.9706 14.5 23C14.5 18.0294 18.5294 14 23.5 14C28.4706 14 32.5 18.0294 32.5 23ZM25.8625 20.6375C25.8625 21.9423 24.8048 23 23.5 23C22.1952 23 21.1375 21.9423 21.1375 20.6375C21.1375 19.3327 22.1952 18.275 23.5 18.275C24.8048 18.275 25.8625 19.3327 25.8625 20.6375ZM26.8718 27.0538C27.3662 26.8479 27.5539 26.2508 27.224 25.829C26.3592 24.7233 25.0126 24.0125 23.5 24.0125C21.9874 24.0125 20.6408 24.7233 19.776 25.829C19.4461 26.2508 19.6338 26.8479 20.1281 27.0538C21.1662 27.4862 22.3052 27.725 23.5 27.725C24.6947 27.725 25.8337 27.4862 26.8718 27.0538Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},21855:(e,t,n)=>{e.exports={attributes:{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.2304 0.914805C13.4908 1.17515 13.4908 1.59726 13.2304 1.85761L5.68792 9.4001C5.42758 9.66045 5.00547 9.66045 4.74512 9.4001L0.528599 5.1836C0.268249 4.92325 0.268248 4.50114 0.528597 4.24079C0.788946 3.98044 1.21106 3.98044 1.47141 4.24079L5.21652 7.98589L12.2876 0.914806C12.5479 0.654456 12.9701 0.654456 13.2304 0.914805Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},41614:(e,t,n)=>{e.exports={attributes:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:"color: #00a1b7;"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 0C0.895431 0 0 0.89543 0 2V16C0 17.1046 0.89543 18 2 18H16C17.1046 18 18 17.1046 18 16V2C18 0.895431 17.1046 0 16 0H2ZM14.2682 6.64018C14.6218 6.21591 14.5645 5.58534 14.1402 5.23178C13.7159 4.87821 13.0853 4.93554 12.7318 5.35982L8.32597 10.6468L5.58124 8.68627C5.13182 8.36526 4.50727 8.46935 4.18627 8.91877C3.86526 9.36818 3.96935 9.99273 4.41876 10.3137L7.91876 12.8137L8.67403 13.3532L9.26822 12.6402L14.2682 6.64018Z" fill="currentColor"/>'};var r=n(5813);e.exports=r(e.exports)},98892:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6zM5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6zm12.268 3.64a1 1 0 1 0-1.536-1.28l-4.406 5.287-2.745-1.96a1 1 0 1 0-1.162 1.627l3.5 2.5.755.54.594-.714 5-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},36598:(e,t,n)=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.70711 3.70711C10.0976 3.31658 10.0976 2.68342 9.70711 2.29289C9.31658 1.90237 8.68342 1.90237 8.29289 2.29289L5 5.58579L3.70711 4.29289C3.31658 3.90237 2.68342 3.90237 2.29289 4.29289C1.90237 4.68342 1.90237 5.31658 2.29289 5.70711L4.29289 7.70711C4.68342 8.09763 5.31658 8.09763 5.70711 7.70711L9.70711 3.70711Z" fill="black"/>   <path class="graphic" d="M12 5C11.4477 5 11 5.44772 11 6C11 6.55228 11.4477 7 12 7H21C21.5523 7 22 6.55228 22 6C22 5.44772 21.5523 5 21 5H12Z" fill="black"/>   <path class="graphic" d="M3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13H21C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11H3Z" fill="black"/>   <path class="graphic" d="M3 19C2.44772 19 2 18.5523 2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},47904:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M6 9.414l5 5L12.414 13l-5-5 5-5L11 1.586 4.586 8 6 9.414z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},16186:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M11 9.414l-5 5L4.586 13l5-5-5-5L6 1.586 12.414 8 11 9.414z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},57872:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 3a1 1 0 0 1 1-1h14a1 1 0 0 1 0 2h-6v6.877l-2-1.913V4H5a1 1 0 0 1-1-1zm.265 3.322a1 1 0 0 1 1.413-.057l13 12a1 1 0 0 1-1.356 1.47L13 15.745V21a1 1 0 0 1-2 0v-7.101L4.322 7.735a1 1 0 0 1-.057-1.413z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71185:(e,t,n)=>{e.exports={attributes:{width:"30",height:"24",viewBox:"0 0 30 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.25 24C8.50282 24 8.75298 23.9886 9 23.9664V24H22.5V23.9588C22.7463 23.986 22.9965 24 23.25 24C26.9779 24 30 20.9779 30 17.25C30 13.7314 27.3077 10.8416 23.8708 10.5282C23.9557 10.0315 24 9.52091 24 9C24 4.02944 19.9706 0 15 0C10.4404 0 6.67276 3.39066 6.08089 7.78812C2.57683 8.7405 0 11.9443 0 15.75C0 20.3063 3.69365 24 8.25 24ZM9.43934 7.93934C10.0251 7.35355 10.9749 7.35355 11.5607 7.93934L15 11.3787L18.4393 7.93934C19.0251 7.35355 19.9749 7.35355 20.5607 7.93934C21.1464 8.52513 21.1464 9.47487 20.5607 10.0607L17.1213 13.5L20.5607 16.9393C21.1464 17.5251 21.1464 18.4749 20.5607 19.0607C19.9749 19.6464 19.0251 19.6464 18.4393 19.0607L15 15.6213L11.5607 19.0607C10.9749 19.6464 10.0251 19.6464 9.43934 19.0607C8.85355 18.4749 8.85355 17.5251 9.43934 16.9393L12.8787 13.5L9.43934 10.0607C8.85355 9.47487 8.85355 8.52513 9.43934 7.93934Z" fill="#C8C8C8"/>'};var r=n(5813);e.exports=r(e.exports)},47778:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M14.961 5.275a1 1 0 0 0-1.922-.55l-4 14a1.001 1.001 0 0 0 1.922.55l4-14zm-7.336.944a1 1 0 0 1 .156 1.406L4.28 12l3.5 4.375a1 1 0 0 1-1.562 1.25L2.232 12.64A.986.986 0 0 1 2 12a1 1 0 0 1 .232-.64l3.987-4.985a1 1 0 0 1 1.406-.156zm8.75 0a1 1 0 0 1 1.406.156l3.987 4.985a1.003 1.003 0 0 1 0 1.28l-3.987 4.985a1 1 0 0 1-1.562-1.25L19.72 12l-3.5-4.375a1 1 0 0 1 .156-1.406z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},97368:(e,t,n)=>{e.exports={attributes:{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M0.666667 0.333374C0.298477 0.333374 0 0.631851 0 1.00004C0 1.36823 0.298477 1.66671 0.666667 1.66671H4.66667C5.03486 1.66671 5.33333 1.36823 5.33333 1.00004C5.33333 0.631851 5.03486 0.333374 4.66667 0.333374H0.666667Z" fill="black"/>   <path class="graphic" d="M0.666667 3.00004C0.298477 3.00004 0 3.29852 0 3.66671C0 4.0349 0.298477 4.33337 0.666667 4.33337H4.66667C5.03486 4.33337 5.33333 4.0349 5.33333 3.66671C5.33333 3.29852 5.03486 3.00004 4.66667 3.00004H0.666667Z" fill="black"/>   <path class="graphic" d="M0 6.33337C0 5.96518 0.298477 5.66671 0.666667 5.66671H4.66667C5.03486 5.66671 5.33333 5.96518 5.33333 6.33337C5.33333 6.70156 5.03486 7.00004 4.66667 7.00004H0.666667C0.298477 7.00004 0 6.70156 0 6.33337Z" fill="black"/>   <path class="graphic" d="M0.666667 8.33337C0.298477 8.33337 0 8.63185 0 9.00004C0 9.36823 0.298477 9.66671 0.666667 9.66671H4.66667C5.03486 9.66671 5.33333 9.36823 5.33333 9.00004C5.33333 8.63185 5.03486 8.33337 4.66667 8.33337H0.666667Z" fill="black"/>   <path class="graphic" d="M6.66667 1.00004C6.66667 0.631851 6.96514 0.333374 7.33333 0.333374H11.3333C11.7015 0.333374 12 0.631851 12 1.00004C12 1.36823 11.7015 1.66671 11.3333 1.66671H7.33333C6.96514 1.66671 6.66667 1.36823 6.66667 1.00004Z" fill="black"/>   <path class="graphic" d="M7.33333 3.00004C6.96514 3.00004 6.66667 3.29852 6.66667 3.66671C6.66667 4.0349 6.96514 4.33337 7.33333 4.33337H11.3333C11.7015 4.33337 12 4.0349 12 3.66671C12 3.29852 11.7015 3.00004 11.3333 3.00004H7.33333Z" fill="black"/>   <path class="graphic" d="M6.66667 6.33337C6.66667 5.96518 6.96514 5.66671 7.33333 5.66671H11.3333C11.7015 5.66671 12 5.96518 12 6.33337C12 6.70156 11.7015 7.00004 11.3333 7.00004H7.33333C6.96514 7.00004 6.66667 6.70156 6.66667 6.33337Z" fill="black"/>   <path class="graphic" d="M7.33333 8.33337C6.96514 8.33337 6.66667 8.63185 6.66667 9.00004C6.66667 9.36823 6.96514 9.66671 7.33333 9.66671H11.3333C11.7015 9.66671 12 9.36823 12 9.00004C12 8.63185 11.7015 8.33337 11.3333 8.33337H7.33333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},58191:(e,t,n)=>{e.exports={attributes:{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M9.3999 1.5C5.25777 1.5 1.8999 4.85786 1.8999 9C1.8999 13.1421 5.25777 16.5 9.3999 16.5C10.5734 16.5 11.6839 16.2305 12.673 15.75H16.1499V12.2731C16.6304 11.284 16.8999 10.1735 16.8999 9C16.8999 4.85786 13.542 1.5 9.3999 1.5Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},7688:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.333313 7C0.333313 3.3181 3.31808 0.333336 6.99998 0.333336C10.6819 0.333336 13.6666 3.3181 13.6666 7C13.6666 8.0431 13.4271 9.03024 13 9.90942V13H9.9094C9.03022 13.4271 8.04308 13.6667 6.99998 13.6667C3.31808 13.6667 0.333313 10.6819 0.333313 7Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},3641:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic_stroke" d="M14.3641 18H14.1341L13.9272 18.1005C12.7416 18.6765 11.41 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10C19 11.41 18.6765 12.7416 18.1005 13.9272L18 14.1341V14.3641V18H14.3641Z" stroke-width="2"/>'};var r=n(5813);e.exports=r(e.exports)},67012:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.33317 2C6.2286 2 5.33317 2.89543 5.33317 4V4.66667H4.6665C3.56193 4.66667 2.6665 5.5621 2.6665 6.66667V12C2.6665 13.1046 3.56193 14 4.6665 14H8.6665C9.77107 14 10.6665 13.1046 10.6665 12V11.3333H11.3332C12.4377 11.3333 13.3332 10.4379 13.3332 9.33333V4C13.3332 2.89543 12.4377 2 11.3332 2H7.33317ZM10.6665 10V6.66667C10.6665 5.5621 9.77107 4.66667 8.6665 4.66667H6.6665V4C6.6665 3.63181 6.96498 3.33333 7.33317 3.33333H11.3332C11.7014 3.33333 11.9998 3.63181 11.9998 4V9.33333C11.9998 9.70152 11.7014 10 11.3332 10H10.6665ZM3.99984 6.66667C3.99984 6.29848 4.29831 6 4.6665 6H8.6665C9.03469 6 9.33317 6.29848 9.33317 6.66667V12C9.33317 12.3682 9.03469 12.6667 8.6665 12.6667H4.6665C4.29831 12.6667 3.99984 12.3682 3.99984 12V6.66667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},13532:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 2C0 0.895431 0.895431 0 2 0H4C4.62951 0 5.22229 0.296388 5.6 0.8L7 2.66667H10C11.1046 2.66667 12 3.5621 12 4.66667V6.35176C12.055 6.40102 12.1089 6.45207 12.1618 6.5049C13.7239 8.067 13.7239 10.5997 12.1618 12.1618C10.5997 13.7239 8.067 13.7239 6.50491 12.1618C6.45207 12.1089 6.40103 12.055 6.35177 12H2C0.89543 12 0 11.1046 0 10V2ZM10.6667 5.56111C9.25957 5.06486 7.63034 5.37946 6.50491 6.5049C5.37947 7.63034 5.06487 9.25957 5.56111 10.6667H2C1.63181 10.6667 1.33333 10.3682 1.33333 10V4H10C10.3682 4 10.6667 4.29848 10.6667 4.66667V5.56111ZM4.53333 1.6L5.33333 2.66667H1.33333V2C1.33333 1.63181 1.63181 1.33333 2 1.33333H4C4.20984 1.33333 4.40743 1.43213 4.53333 1.6ZM6.67441 9.33112C6.67441 8.96293 6.97288 8.66445 7.34107 8.66445H8.66897V7.33655C8.66897 6.96836 8.96744 6.66988 9.33563 6.66988C9.70382 6.66988 10.0023 6.96836 10.0023 7.33655V8.66445H11.3302C11.6984 8.66445 11.9969 8.96293 11.9969 9.33112C11.9969 9.69931 11.6984 9.99778 11.3302 9.99778H10.0023V11.3257C10.0023 11.6939 9.70382 11.9923 9.33563 11.9923C8.96744 11.9923 8.66897 11.6939 8.66897 11.3257V9.99778H7.34107C6.97288 9.99778 6.67441 9.69931 6.67441 9.33112Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},44744:(e,t,n)=>{e.exports={attributes:{width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.166672 2.51702C0.166672 1.41245 1.0621 0.517017 2.16667 0.517017H8.83334C9.93791 0.517017 10.8333 1.41245 10.8333 2.51702V8.20221C11.6517 8.93464 12.1667 9.99902 12.1667 11.1837C12.1667 13.3928 10.3758 15.1837 8.16667 15.1837C6.98201 15.1837 5.91762 14.6687 5.1852 13.8504H2.16667C1.0621 13.8504 0.166672 12.9549 0.166672 11.8504V2.51702ZM4.39428 12.517C4.24688 12.1 4.16667 11.6512 4.16667 11.1837C4.16667 8.97455 5.95753 7.18368 8.16667 7.18368C8.63419 7.18368 9.08297 7.26389 9.50001 7.41129V2.51702C9.50001 2.14883 9.20153 1.85035 8.83334 1.85035H2.16667C1.79848 1.85035 1.50001 2.14883 1.50001 2.51702V11.8504C1.50001 12.2185 1.79848 12.517 2.16667 12.517H4.39428ZM2.83334 3.85035C2.83334 3.48216 3.13182 3.18368 3.50001 3.18368H7.50001C7.86819 3.18368 8.16667 3.48216 8.16667 3.85035C8.16667 4.21854 7.86819 4.51702 7.50001 4.51702H3.50001C3.13182 4.51702 2.83334 4.21854 2.83334 3.85035ZM3.50001 5.85035C3.13182 5.85035 2.83334 6.14883 2.83334 6.51702C2.83334 6.88521 3.13182 7.18368 3.50001 7.18368H4.83334C5.20153 7.18368 5.50001 6.88521 5.50001 6.51702C5.50001 6.14883 5.20153 5.85035 4.83334 5.85035H3.50001ZM8.83334 9.18368C8.83334 8.81549 8.53486 8.51702 8.16667 8.51702C7.79848 8.51702 7.50001 8.81549 7.50001 9.18368V10.517H6.16667C5.79848 10.517 5.50001 10.8155 5.50001 11.1837C5.50001 11.5519 5.79848 11.8504 6.16667 11.8504H7.50001V13.1837C7.50001 13.5519 7.79848 13.8504 8.16667 13.8504C8.53486 13.8504 8.83334 13.5519 8.83334 13.1837V11.8504H10.1667C10.5349 11.8504 10.8333 11.5519 10.8333 11.1837C10.8333 10.8155 10.5349 10.517 10.1667 10.517H8.83334V9.18368Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},33597:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h12v12H0z"/>         <path class="graphic" fill="#FFFFFF" d="M6.707 6l2.98 2.98.353.353-.707.707-.353-.353L6 6.707l-2.98 2.98-.353.353-.707-.707.353-.353L5.293 6l-2.98-2.98-.353-.353.707-.707.353.353L6 5.293l2.98-2.98.353-.353.707.707-.353.353L6.707 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89883:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 1.33333C1.63181 1.33333 1.33333 1.63181 1.33333 2V3.33333C1.33333 3.70152 1.03486 4 0.666667 4C0.298477 4 0 3.70152 0 3.33333V2C0 0.895431 0.895431 0 2 0H3.33333C3.70152 0 4 0.298477 4 0.666667C4 1.03486 3.70152 1.33333 3.33333 1.33333H2ZM8 0.666667C8 0.298477 8.29848 0 8.66667 0H10C11.1046 0 12 0.895431 12 2V3.33333C12 3.70152 11.7015 4 11.3333 4C10.9651 4 10.6667 3.70152 10.6667 3.33333V2C10.6667 1.63181 10.3682 1.33333 10 1.33333H8.66667C8.29848 1.33333 8 1.03486 8 0.666667ZM0.666667 8C1.03486 8 1.33333 8.29848 1.33333 8.66667V10C1.33333 10.3682 1.63181 10.6667 2 10.6667H3.33333C3.70152 10.6667 4 10.9651 4 11.3333C4 11.7015 3.70152 12 3.33333 12H2C0.895431 12 0 11.1046 0 10V8.66667C0 8.29848 0.298477 8 0.666667 8ZM11.3333 8C11.7015 8 12 8.29848 12 8.66667V10C12 11.1046 11.1046 12 10 12H8.66667C8.29848 12 8 11.7015 8 11.3333C8 10.9651 8.29848 10.6667 8.66667 10.6667H10C10.3682 10.6667 10.6667 10.3682 10.6667 10V8.66667C10.6667 8.29848 10.9651 8 11.3333 8Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},23996:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M3.33329 11.3334C2.9651 11.3334 2.66663 11.6319 2.66663 12C2.66663 12.3682 2.9651 12.6667 3.33329 12.6667H4.66663C5.03482 12.6667 5.33329 12.3682 5.33329 12C5.33329 11.6319 5.03482 11.3334 4.66663 11.3334H3.33329Z" fill="black"/>   <path class="graphic" d="M2.66663 8.00004C2.66663 7.63185 2.9651 7.33337 3.33329 7.33337H4.66663C5.03482 7.33337 5.33329 7.63185 5.33329 8.00004C5.33329 8.36823 5.03482 8.66671 4.66663 8.66671H3.33329C2.9651 8.66671 2.66663 8.36823 2.66663 8.00004Z" fill="black"/>   <path class="graphic" d="M8.66663 12C8.66663 11.6319 8.9651 11.3334 9.33329 11.3334C9.70148 11.3334 9.99996 11.6319 9.99996 12C9.99996 12.3682 9.70148 12.6667 9.33329 12.6667C8.9651 12.6667 8.66663 12.3682 8.66663 12Z" fill="black"/>   <path class="graphic" d="M11.3333 11.3334C10.9651 11.3334 10.6666 11.6319 10.6666 12C10.6666 12.3682 10.9651 12.6667 11.3333 12.6667H12C12.3681 12.6667 12.6666 12.3682 12.6666 12C12.6666 11.6319 12.3681 11.3334 12 11.3334H11.3333Z" fill="black"/>   <path class="graphic" d="M9.33329 7.33337C8.9651 7.33337 8.66663 7.63185 8.66663 8.00004C8.66663 8.36823 8.9651 8.66671 9.33329 8.66671C9.70148 8.66671 9.99996 8.36823 9.99996 8.00004C9.99996 7.63185 9.70148 7.33337 9.33329 7.33337Z" fill="black"/>   <path class="graphic" d="M10.6666 8.00004C10.6666 7.63185 10.9651 7.33337 11.3333 7.33337H12C12.3681 7.33337 12.6666 7.63185 12.6666 8.00004C12.6666 8.36823 12.3681 8.66671 12 8.66671H11.3333C10.9651 8.66671 10.6666 8.36823 10.6666 8.00004Z" fill="black"/>   <path class="graphic" d="M8.66663 4.00004C8.66663 3.63185 8.9651 3.33337 9.33329 3.33337C9.70148 3.33337 9.99996 3.63185 9.99996 4.00004C9.99996 4.36823 9.70148 4.66671 9.33329 4.66671C8.9651 4.66671 8.66663 4.36823 8.66663 4.00004Z" fill="black"/>   <path class="graphic" d="M11.3333 3.33337C10.9651 3.33337 10.6666 3.63185 10.6666 4.00004C10.6666 4.36823 10.9651 4.66671 11.3333 4.66671H12C12.3681 4.66671 12.6666 4.36823 12.6666 4.00004C12.6666 3.63185 12.3681 3.33337 12 3.33337H11.3333Z" fill="black"/>   <path class="graphic" d="M3.33329 3.33337C2.9651 3.33337 2.66663 3.63185 2.66663 4.00004C2.66663 4.36823 2.9651 4.66671 3.33329 4.66671H4.66663C5.03482 4.66671 5.33329 4.36823 5.33329 4.00004C5.33329 3.63185 5.03482 3.33337 4.66663 3.33337H3.33329Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.666626 3.33337C0.666626 2.2288 1.56206 1.33337 2.66663 1.33337H13.3333C14.4379 1.33337 15.3333 2.2288 15.3333 3.33337V12.6667C15.3333 13.7713 14.4379 14.6667 13.3333 14.6667H2.66663C1.56206 14.6667 0.666626 13.7713 0.666626 12.6667V3.33337ZM1.99996 10.6667V12.6667C1.99996 13.0349 2.29844 13.3334 2.66663 13.3334H5.99996V10.6667H1.99996ZM5.99996 9.33337H1.99996V6.66671H5.99996V9.33337ZM7.33329 13.3334H13.3333C13.7015 13.3334 14 13.0349 14 12.6667V10.6667H7.33329V13.3334ZM14 9.33337H7.33329V6.66671H14V9.33337ZM7.33329 5.33337H14V3.33337C14 2.96518 13.7015 2.66671 13.3333 2.66671L7.33329 2.66671V5.33337ZM1.99996 5.33337H5.99996V2.66671H2.66663C2.29844 2.66671 1.99996 2.96518 1.99996 3.33337V5.33337Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},28824:(e,t,n)=>{e.exports={attributes:{width:"22",height:"23",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect x="0.5" y="1" width="21" height="21" rx="1.5" fill="url(#paint0_linear_7154_6246)"/>   <path d="M11.3164 6.4082L7.49316 17.5H5.18164L9.99805 4.70312H11.4746L11.3164 6.4082ZM14.5156 17.5L10.6836 6.4082L10.5166 4.70312H12.002L16.8359 17.5H14.5156ZM14.3311 12.7539V14.5029H7.37012V12.7539H14.3311Z" fill="url(#paint1_linear_7154_6246)"/>   <rect class="graphic_stroke" x="0.5" y="1" width="21" height="21" rx="1.5" stroke="#505050"/>   <defs>   <linearGradient id="paint0_linear_7154_6246" x1="22" y1="4.77778" x2="4.18548e-07" y2="4.77778" gradientUnits="userSpaceOnUse">   <stop offset="0.411458" stop-color="#505050"/>   <stop offset="0.494792"/>   <stop offset="0.494892" stop-color="white"/>   </linearGradient>   <linearGradient id="paint1_linear_7154_6246" x1="2.38462" y1="9" x2="20" y2="9" gradientUnits="userSpaceOnUse">   <stop offset="0.411458" stop-color="#505050"/>   <stop offset="0.494792"/>   <stop offset="0.494892" stop-color="white"/>   </linearGradient>   </defs>'};var r=n(5813);e.exports=r(e.exports)},41286:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 4H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-9h-5a1 1 0 0 1-1-1V4zm8 5.008V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h5.992L20 9.008zM14 8V5.414L16.586 8H14zm-6 9a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm1-5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},91177:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path fill="#00A1B7" d="M7.493 11.87a.997.997 0 0 1-1.105-.079L2.4 8.8a1 1 0 1 1 1.2-1.6l3.306 2.48 6.387-6.387a1 1 0 0 1 1.414 1.414l-6.99 6.99a.993.993 0 0 1-.224.173z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},99635:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M7.493 11.87a.997.997 0 0 1-1.105-.079L2.4 8.8a1 1 0 1 1 1.2-1.6l3.306 2.48 6.387-6.387a1 1 0 0 1 1.414 1.414l-6.99 6.99a.993.993 0 0 1-.224.173z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},27317:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.0002 1.33331C8.36839 1.33331 8.66687 1.63179 8.66687 1.99998L8.66688 9.72383L12.1955 6.19524C12.4558 5.93489 12.8779 5.93489 13.1383 6.19524C13.3986 6.45559 13.3986 6.8777 13.1383 7.13805L8.47386 11.8025C8.46681 11.8096 8.4596 11.8165 8.45223 11.8233C8.39454 11.8766 8.32973 11.9179 8.26102 11.947C8.18149 11.9809 8.09403 11.9997 8.00221 12L8.00021 12L7.99405 12C7.90806 11.9992 7.82595 11.9821 7.75066 11.9517C7.66991 11.9192 7.59424 11.8702 7.5288 11.8047L2.86213 7.13805C2.60178 6.8777 2.60178 6.45559 2.86213 6.19524C3.12248 5.93489 3.54459 5.93489 3.80494 6.19524L7.33355 9.72385L7.33354 1.99998C7.33354 1.63179 7.63201 1.33331 8.0002 1.33331ZM3.33354 13.3333C2.96535 13.3333 2.66687 13.6318 2.66687 14C2.66687 14.3682 2.96535 14.6666 3.33354 14.6666L12.6669 14.6666C13.0351 14.6666 13.3335 14.3682 13.3335 14C13.3335 13.6318 13.0351 13.3333 12.6669 13.3333L3.33354 13.3333Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},97393:(e,t,n)=>{e.exports={attributes:{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<mask id="path-1-outside-1" maskUnits="userSpaceOnUse" x="0.323242" y="0.25" width="14" height="14" fill="black">   <rect fill="white" x="0.323242" y="0.25" width="14" height="14"/>   <path d="M1.32324 10.6322V12.6043C1.32324 12.786 1.46596 12.9287 1.64761 12.9287H3.61974C3.70407 12.9287 3.78841 12.8963 3.8468 12.8314L10.9309 5.75376L8.49818 3.32103L1.42055 10.3987C1.35568 10.4635 1.32324 10.5414 1.32324 10.6322ZM12.8122 3.87245C12.8724 3.81243 12.9201 3.74114 12.9526 3.66266C12.9852 3.58419 13.0019 3.50006 13.0019 3.41509C13.0019 3.33013 12.9852 3.246 12.9526 3.16752C12.9201 3.08905 12.8724 3.01776 12.8122 2.95774L11.2942 1.43972C11.2342 1.37958 11.1629 1.33186 11.0844 1.29931C11.0059 1.26676 10.9218 1.25 10.8368 1.25C10.7519 1.25 10.6677 1.26676 10.5893 1.29931C10.5108 1.33186 10.4395 1.37958 10.3795 1.43972L9.19232 2.62689L11.625 5.05962L12.8122 3.87245Z"/>   </mask>   <path class="graphic" d="M3.8468 12.8314L3.14001 12.124C3.1275 12.1365 3.11533 12.1493 3.1035 12.1624L3.8468 12.8314ZM10.9309 5.75376L11.6377 6.46119C11.8254 6.27368 11.9308 6.01928 11.9309 5.75399C11.931 5.48869 11.8256 5.23425 11.638 5.04665L10.9309 5.75376ZM8.49818 3.32103L9.20528 2.61392C9.01775 2.42639 8.76339 2.32103 8.49818 2.32103C8.23296 2.32103 7.97861 2.42639 7.79107 2.61392L8.49818 3.32103ZM1.42055 10.3987L2.12766 11.1058L1.42055 10.3987ZM12.8122 2.95774L12.1051 3.66485L12.1058 3.66557L12.8122 2.95774ZM11.2942 1.43972L10.5864 2.1461L10.5871 2.14682L11.2942 1.43972ZM10.8368 1.25V0.25V1.25ZM10.3795 1.43972L11.0866 2.14682L11.0873 2.1461L10.3795 1.43972ZM9.19232 2.62689L8.48521 1.91978C8.09469 2.31031 8.09469 2.94347 8.48521 3.334L9.19232 2.62689ZM11.625 5.05962L10.9179 5.76673C11.1055 5.95426 11.3598 6.05962 11.625 6.05962C11.8903 6.05962 12.1446 5.95426 12.3322 5.76673L11.625 5.05962ZM0.323242 10.6322V12.6043H2.32324V10.6322H0.323242ZM0.323242 12.6043C0.323242 13.3383 0.913678 13.9287 1.64761 13.9287V11.9287C2.01825 11.9287 2.32324 12.2337 2.32324 12.6043H0.323242ZM1.64761 13.9287H3.61974V11.9287H1.64761V13.9287ZM3.61974 13.9287C3.95128 13.9287 4.31908 13.8015 4.59009 13.5003L3.1035 12.1624C3.25774 11.991 3.45687 11.9287 3.61974 11.9287V13.9287ZM4.55358 13.5388L11.6377 6.46119L10.2241 5.04633L3.14001 12.124L4.55358 13.5388ZM11.638 5.04665L9.20528 2.61392L7.79107 4.02814L10.2238 6.46087L11.638 5.04665ZM7.79107 2.61392L0.713445 9.69155L2.12766 11.1058L9.20528 4.02814L7.79107 2.61392ZM0.713445 9.69155C0.463178 9.94181 0.323242 10.2731 0.323242 10.6322H2.32324C2.32324 10.7086 2.30901 10.7982 2.27065 10.8903C2.23237 10.9822 2.17941 11.054 2.12766 11.1058L0.713445 9.69155ZM13.5186 4.58028C13.6718 4.42738 13.7934 4.24576 13.8763 4.04582L12.0289 3.27951C12.0468 3.23653 12.0729 3.19749 12.1058 3.16462L13.5186 4.58028ZM13.8763 4.04582C13.9592 3.84588 14.0019 3.63155 14.0019 3.41509H12.0019C12.0019 3.36856 12.0111 3.32249 12.0289 3.27951L13.8763 4.04582ZM14.0019 3.41509C14.0019 3.19864 13.9592 2.9843 13.8763 2.78437L12.0289 3.55068C12.0111 3.5077 12.0019 3.46163 12.0019 3.41509H14.0019ZM13.8763 2.78437C13.7934 2.58443 13.6718 2.40281 13.5186 2.24991L12.1058 3.66557C12.0729 3.6327 12.0468 3.59366 12.0289 3.55068L13.8763 2.78437ZM13.5193 2.25063L12.0013 0.73261L10.5871 2.14682L12.1051 3.66485L13.5193 2.25063ZM12.002 0.733335C11.8491 0.58012 11.6675 0.458565 11.4676 0.375628L10.7013 2.22299C10.6583 2.20517 10.6192 2.17903 10.5864 2.1461L12.002 0.733335ZM11.4676 0.375628C11.2676 0.29269 11.0533 0.25 10.8368 0.25V2.25C10.7903 2.25 10.7442 2.24082 10.7013 2.22299L11.4676 0.375628ZM10.8368 0.25C10.6204 0.25 10.4061 0.29269 10.2061 0.375628L10.9724 2.22299C10.9294 2.24082 10.8834 2.25 10.8368 2.25V0.25ZM10.2061 0.375628C10.0062 0.458565 9.82456 0.58012 9.67166 0.733335L11.0873 2.1461C11.0545 2.17903 11.0154 2.20517 10.9724 2.22299L10.2061 0.375628ZM9.67238 0.73261L8.48521 1.91978L9.89942 3.334L11.0866 2.14682L9.67238 0.73261ZM8.48521 3.334L10.9179 5.76673L12.3322 4.35251L9.89942 1.91978L8.48521 3.334ZM12.3322 5.76673L13.5193 4.57955L12.1051 3.16534L10.9179 4.35251L12.3322 5.76673Z" fill="#161616" mask="url(#path-1-outside-1)"/>'};var r=n(5813);e.exports=r(e.exports)},13783:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" fill-rule="nonzero" d="M5.544 13.474L2.5 10.451l9.086-8.865a2 2 0 0 1 2.828 2.828l-8.87 9.06zM2 11l3 3H2z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},55782:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 3a1 1 0 0 1 1 1v1h5a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-5v1a1 1 0 0 1-2 0v-1H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h5V4a1 1 0 0 1 1-1zm0 14h6a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47529:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M20 3a1 1 0 0 1 1 1v16a1 1 0 0 1-2 0v-1.171A2.983 2.983 0 0 1 18 19H6c-.351 0-.687-.06-1-.171V20a1 1 0 0 1-2 0V4a1 1 0 0 1 2 0v1.171A2.983 2.983 0 0 1 6 5h12c.351 0 .687.06 1 .171V4a1 1 0 0 1 1-1zM5 8v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},54970:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a1 1 0 0 0-2 0v16a1 1 0 0 0 2 0V4zm5 1a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3h-8zM9 8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1V8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},51093:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M21 4a1 1 0 0 0-2 0v16a1 1 0 0 0 2 0V4zM6 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H6zM5 8a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},99474:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic" width="11" height="11" rx="1" fill="#5C6061"/>   <path class="graphic_stroke_bg" d="M4.5 3L2 5.5L4.5 8" stroke="white"/>   <path class="graphic_stroke_bg" d="M6.5 3L9 5.5L6.5 8" stroke="white"/>'};var r=n(5813);e.exports=r(e.exports)},26258:(e,t,n)=>{e.exports={attributes:{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.18725 1.08312C4.41726 0.795615 4.37064 0.376087 4.08313 0.146081C3.79563 -0.0839249 3.3761 -0.0373104 3.14609 0.250198L0.487778 3.57309C0.450835 3.61733 0.420376 3.66551 0.396556 3.71628C0.354065 3.80646 0.333253 3.90345 0.333313 4C0.333253 4.09654 0.354066 4.19353 0.396557 4.28371C0.420375 4.33447 0.450831 4.38266 0.48777 4.42689L3.14609 7.74979C3.3761 8.0373 3.79563 8.08391 4.08313 7.85391C4.37064 7.6239 4.41726 7.20437 4.18725 6.91686L1.85376 4L4.18725 1.08312ZM10.8539 0.250197C10.6239 -0.0373106 10.2044 -0.0839248 9.91687 0.146081C9.62937 0.376088 9.58275 0.795616 9.81276 1.08312L12.1463 3.99999L9.81276 6.91686C9.58275 7.20437 9.62937 7.6239 9.91687 7.85391C10.2044 8.08391 10.6239 8.0373 10.8539 7.74979L13.5123 4.42677C13.5485 4.38342 13.5785 4.33628 13.6021 4.28663C13.6455 4.19563 13.6668 4.09758 13.6667 3.99999C13.6668 3.90241 13.6455 3.80436 13.6021 3.71336C13.5785 3.66371 13.5485 3.61656 13.5123 3.57321L10.8539 0.250197Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},80648:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h36v28H0z"/>         <rect class="graphic" width="32" height="26" x="2" y="1" fill="#9DA5A6" rx="2"/>         <rect class="grachic-background" width="30" height="24" x="3" y="2" fill="#FFF" rx="1"/>         <path class="graphic" fill="#9DA5A6" fill-rule="nonzero" d="M18.75 18.833l-2.395 3.222a1 1 0 1 1-1.605-1.193l.907-1.22a2.006 2.006 0 0 1-.064-.055s-3.02-2.673-3.024-2.668L7.744 22.29a1 1 0 0 1-1.488-1.336l4.826-5.372a2.013 2.013 0 0 1 2.825-.169l2.945 2.618.296-.395.928-1.248a1.01 1.01 0 0 1 .077-.092l3.45-4.6a1.88 1.88 0 0 1 2.812-.25l6.264 5.796a1 1 0 1 1-1.358 1.468l-6.186-5.723-4.385 5.846zM10 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},91027:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47346:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M1.58755 6.14294C1.87625 5.91558 2.29436 5.96478 2.52245 6.25257L2.52342 6.2538C2.52359 6.25401 2.52376 6.25424 2 6.66669L1.47625 7.07915C1.24845 6.78989 1.29828 6.37073 1.58755 6.14294Z" fill="currentColor"></path> \t<path d="M9.47877 9.87784C9.01604 9.95562 8.52288 10 8 10C7.47713 10 6.98397 9.95562 6.52124 9.87784L5.96579 11.5442C5.84936 11.8935 5.47181 12.0822 5.12252 11.9658C4.77322 11.8494 4.58445 11.4718 4.70088 11.1225L5.22344 9.55486C4.60376 9.34849 4.05847 9.08881 3.59023 8.81654L2.5547 10.3698C2.35047 10.6762 1.93656 10.759 1.6302 10.5547C1.32385 10.3505 1.24107 9.93658 1.4453 9.63023L2.49117 8.06143C2.26463 7.87906 2.0757 7.70812 1.92497 7.56196C1.78355 7.42483 1.67517 7.30893 1.60034 7.22504C1.56291 7.18308 1.53382 7.14905 1.51313 7.12431C1.50278 7.11194 1.49453 7.10188 1.48838 7.0943L1.48074 7.08481L1.4781 7.08149L1.47707 7.0802L1.47625 7.07915C1.47605 7.0789 1.47625 7.07915 2 6.66669L2.52342 6.2538L2.52391 6.25439L2.53595 6.26897C2.54793 6.28329 2.56776 6.30656 2.59537 6.33751C2.65062 6.39946 2.73677 6.49189 2.85316 6.60476C3.08633 6.83086 3.43844 7.13659 3.90413 7.44322C4.83433 8.0557 6.20884 8.66669 8 8.66669C9.79117 8.66669 11.1657 8.0557 12.0959 7.44322C12.5616 7.13659 12.9137 6.83086 13.1468 6.60476C13.2632 6.49189 13.3494 6.39946 13.4046 6.33751C13.4322 6.30656 13.4521 6.28329 13.4641 6.26897L13.4761 6.25439L13.4766 6.2538L13.4775 6.25261C13.7056 5.96479 14.1237 5.91557 14.4125 6.14294C14.7017 6.37073 14.7516 6.78989 14.5238 7.07915L14.031 6.69109C14.5238 7.07916 14.524 7.07891 14.5238 7.07915L14.5229 7.0802L14.5219 7.08149L14.5193 7.08481L14.5116 7.0943C14.5055 7.10188 14.4972 7.11194 14.4869 7.12431C14.4662 7.14905 14.4371 7.18308 14.3997 7.22504C14.3248 7.30893 14.2165 7.42483 14.075 7.56196C13.9243 7.70812 13.7354 7.87906 13.5088 8.06143L14.5547 9.63023C14.7589 9.93658 14.6762 10.3505 14.3698 10.5547C14.0635 10.759 13.6495 10.6762 13.4453 10.3698L12.4098 8.81654C11.9415 9.08881 11.3963 9.34849 10.7766 9.55486L11.2991 11.1225C11.4156 11.4718 11.2268 11.8494 10.8775 11.9658C10.5282 12.0822 10.1506 11.8935 10.0342 11.5442L9.47877 9.87784Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},75259:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M8.50004 5.3335C7.02728 5.3335 5.83338 6.5274 5.83338 8.00016C5.83338 9.47292 7.02728 10.6668 8.50004 10.6668C9.9728 10.6668 11.1667 9.47292 11.1667 8.00016C11.1667 6.5274 9.9728 5.3335 8.50004 5.3335ZM7.16671 8.00016C7.16671 7.26378 7.76366 6.66683 8.50004 6.66683C9.23642 6.66683 9.83338 7.26378 9.83338 8.00016C9.83338 8.73654 9.23642 9.3335 8.50004 9.3335C7.76366 9.3335 7.16671 8.73654 7.16671 8.00016Z" fill="currentColor"></path> \t<path fill-rule="evenodd" clip-rule="evenodd" d="M15.0545 7.63C15.0546 7.63019 15.0547 7.63036 14.5 8.00016C15.0547 8.36996 15.0546 8.37013 15.0545 8.37032L15.0534 8.37195L15.0511 8.37539L15.0435 8.38655C15.0372 8.39586 15.0283 8.40888 15.0169 8.42535C14.994 8.45829 14.961 8.50509 14.9184 8.56377C14.8332 8.68107 14.7093 8.84625 14.5505 9.04338C14.2337 9.43662 13.7739 9.96229 13.2022 10.49C12.082 11.5241 10.4231 12.6668 8.50004 12.6668C6.57701 12.6668 4.91814 11.5241 3.79786 10.49C3.22614 9.96229 2.7664 9.43662 2.44962 9.04338C2.29082 8.84625 2.16688 8.68107 2.0817 8.56377C2.03909 8.50509 2.0061 8.45829 1.98322 8.42535C1.97179 8.40888 1.96287 8.39586 1.95654 8.38655L1.94898 8.37539L1.94667 8.37195L1.94588 8.37077C1.94576 8.37059 1.94534 8.36996 2.50004 8.00016C1.94534 7.63036 1.94546 7.63019 1.94558 7.63L1.94667 7.62838L1.94898 7.62494L1.95654 7.61377C1.96287 7.60446 1.97179 7.59145 1.98322 7.57498C2.0061 7.54204 2.03909 7.49524 2.0817 7.43656C2.16688 7.31926 2.29082 7.15408 2.44962 6.95694C2.7664 6.5637 3.22614 6.03803 3.79786 5.51029C4.91814 4.47619 6.57701 3.3335 8.50004 3.3335C10.4231 3.3335 12.082 4.47619 13.2022 5.51029C13.7739 6.03803 14.2337 6.5637 14.5505 6.95694C14.7093 7.15408 14.8332 7.31926 14.9184 7.43656C14.961 7.49524 14.994 7.54204 15.0169 7.57498C15.0283 7.59145 15.0372 7.60446 15.0435 7.61377L15.0511 7.62494L15.0534 7.62838L15.0545 7.63ZM3.48796 8.20694C3.42779 8.13225 3.37342 8.06295 3.32512 8.00016C3.37342 7.93738 3.42779 7.86807 3.48796 7.79338C3.77535 7.43662 4.19061 6.96229 4.70223 6.49003C5.74862 5.52414 7.08975 4.66683 8.50004 4.66683C9.91034 4.66683 11.2515 5.52414 12.2979 6.49003C12.8095 6.96229 13.2247 7.43662 13.5121 7.79338C13.5723 7.86807 13.6267 7.93738 13.675 8.00016C13.6267 8.06295 13.5723 8.13225 13.5121 8.20694C13.2247 8.5637 12.8095 9.03803 12.2979 9.51029C11.2515 10.4762 9.91034 11.3335 8.50004 11.3335C7.08975 11.3335 5.74862 10.4762 4.70223 9.51029C4.19061 9.03803 3.77535 8.5637 3.48796 8.20694Z" fill="currentColor"></path> \t<path d="M14.5 8.00016L15.0545 7.63C15.2038 7.85394 15.2038 8.14639 15.0545 8.37032L14.5 8.00016Z" fill="currentColor" fill-opacity="0.54"></path><path d="M1.94558 7.63L2.50004 8.00016L1.94534 8.36996C1.79605 8.14603 1.79629 7.85394 1.94558 7.63Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},84581:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M5 2.667c-1.971 0-3.667 1.648-3.667 3.791 0 1.909.526 3.003 1.986 4.524.166.173.36.35.578.533.384.32.844.651 1.364.991a28.457 28.457 0 0 0 2.435 1.42c.19.098.417.098.608 0l.213-.111a30.197 30.197 0 0 0 2.222-1.308c.52-.34.98-.673 1.364-.992.219-.182.412-.36.578-.533 1.46-1.52 1.986-2.615 1.986-4.524 0-2.143-1.696-3.791-3.667-3.791-1.035 0-2.156.456-3 1.12-.844-.664-1.965-1.12-3-1.12zm3.49 2.466C9.116 4.493 10.146 4 11 4c1.243 0 2.333 1.06 2.333 2.458 0 1.53-.374 2.31-1.614 3.601a5.78 5.78 0 0 1-.47.431c-.34.283-.76.586-1.24.9A27.154 27.154 0 0 1 8 12.58a29.668 29.668 0 0 1-2.01-1.19c-.48-.314-.9-.617-1.24-.9a5.78 5.78 0 0 1-.47-.43C3.042 8.767 2.668 7.986 2.668 6.457 2.667 5.06 3.757 4 5 4c.854 0 1.884.494 2.51 1.133a.665.665 0 0 0 .49.2.665.665 0 0 0 .49-.2z"/>'};var r=n(5813);e.exports=r(e.exports)},23953:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M14 4C14 2.89543 13.1046 2 12 2H4C2.89543 2 2 2.89543 2 4V9.33333C2 10.4379 2.89543 11.3333 4 11.3333V13.3333C4 13.5896 4.1469 13.8232 4.37787 13.9342C4.60885 14.0452 4.88302 14.014 5.08313 13.8539L8.05124 11.4794C8.16945 11.3849 8.31633 11.3333 8.46771 11.3333H12C13.1046 11.3333 14 10.4379 14 9.33333V4ZM12 3.33333C12.3682 3.33333 12.6667 3.63181 12.6667 4V9.33333C12.6667 9.70152 12.3682 10 12 10H8.46771C8.01357 10 7.57294 10.1546 7.21832 10.4383L5.33333 11.9463V10.6667C5.33333 10.2985 5.03486 10 4.66667 10H4C3.63181 10 3.33333 9.70152 3.33333 9.33333V4C3.33333 3.63181 3.63181 3.33333 4 3.33333H12Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},83763:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4 4C4 5.10457 4.89543 6 6 6H8V2H6C4.89543 2 4 2.89543 4 4Z" fill="black"/>   <path class="graphic" d="M8 2V6H10C11.1046 6 12 5.10457 12 4C12 2.89543 11.1046 2 10 2H8Z" fill="black"/>   <path class="graphic" d="M4 8C4 6.89543 4.89543 6 6 6H8V10H6C4.89543 10 4 9.10457 4 8Z" fill="black"/>   <path class="graphic" d="M4 12C4 10.8954 4.89543 10 6 10H8V12C8 13.1046 7.10457 14 6 14C4.89543 14 4 13.1046 4 12Z" fill="black"/>   <path class="graphic" d="M8 8C8 6.89543 8.89543 6 10 6C11.1046 6 12 6.89543 12 8C12 9.10457 11.1046 10 10 10C8.89543 10 8 9.10457 8 8Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},42020:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g id="file-check-alt-svgrepo-com 1"> <path id="Vector" d="M10.0002 12.6667L11.3335 14L14.0002 11.3333M8.66683 2H5.46683C4.7201 2 4.34672 2 4.06151 2.14533C3.81062 2.27315 3.60665 2.47713 3.47882 2.72801C3.3335 3.01323 3.3335 3.3866 3.3335 4.13333V11.8667C3.3335 12.6134 3.3335 12.9868 3.47882 13.272C3.60665 13.5229 3.81062 13.7269 4.06151 13.8547C4.34672 14 4.7201 14 5.46683 14H7.66683M8.66683 2L12.6668 6M8.66683 2V4.93333C8.66683 5.3067 8.66683 5.49339 8.7395 5.63599C8.80343 5.76143 8.90536 5.86342 9.03083 5.92734C9.17343 6 9.3601 6 9.7335 6H12.6668M12.6668 6V8.93333M6.00016 11.3333H7.66683M6.00016 8.66667H10.0002M6.00016 6H6.66683" stroke="#737373" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> </g>'};var r=n(5813);e.exports=r(e.exports)},62012:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.33329 11.3334C5.33329 10.9652 5.63177 10.6667 5.99996 10.6667H9.99996C10.3681 10.6667 10.6666 10.9652 10.6666 11.3334C10.6666 11.7016 10.3681 12 9.99996 12H5.99996C5.63177 12 5.33329 11.7016 5.33329 11.3334Z" fill="black"/>   <path class="graphic" d="M5.99996 8.00004C5.63177 8.00004 5.33329 8.29852 5.33329 8.66671C5.33329 9.0349 5.63177 9.33337 5.99996 9.33337H9.99996C10.3681 9.33337 10.6666 9.0349 10.6666 8.66671C10.6666 8.29852 10.3681 8.00004 9.99996 8.00004H5.99996Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.3333 6.00531V12.6667C13.3333 13.7713 12.4379 14.6667 11.3333 14.6667H4.66663C3.56206 14.6667 2.66663 13.7713 2.66663 12.6667V3.33337C2.66663 2.2288 3.56206 1.33337 4.66663 1.33337H8.66139L13.3333 6.00531ZM7.99996 2.66671H4.66663C4.29844 2.66671 3.99996 2.96518 3.99996 3.33337V12.6667C3.99996 13.0349 4.29844 13.3334 4.66663 13.3334H11.3333C11.7015 13.3334 12 13.0349 12 12.6667V6.66671H8.66663C8.29844 6.66671 7.99996 6.36823 7.99996 6.00004V2.66671ZM9.33329 5.33337V3.60952L11.0571 5.33337H9.33329Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},51392:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 1 1-1h1v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-.586l3.707 3.707a1 1 0 0 1 .293.707V19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5zm6-1h-2v2h2V4zM7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9.828a3 3 0 0 0-.879-2.121l-4.828-4.828A3 3 0 0 0 12.172 2H7zm3 12a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-1-3a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},7086:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M11.522 4.72a4.433 4.433 0 0 1 6.269 6.269l-4.924 4.925-.886.885a2.745 2.745 0 1 1-3.882-3.882l4.595-4.595a1 1 0 1 1 1.414 1.415L9.513 14.33a.746.746 0 0 0 1.054 1.054l.219-.22a.015.015 0 0 0 .004-.003l5.587-5.587a2.433 2.433 0 0 0-3.44-3.44l-.487.486-5.443 5.443a3.667 3.667 0 0 0 0 5.186l.454.454a3.667 3.667 0 0 0 5.186 0l4.714-4.714a1 1 0 1 1 1.414 1.414l-4.714 4.714a5.667 5.667 0 0 1-8.014 0l-.454-.454a5.667 5.667 0 0 1 0-8.014l5.443-5.443.486-.487z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},80124:(e,t,n)=>{e.exports={attributes:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2.25 4.5C2.25 4.08579 2.58579 3.75 3 3.75H15C15.4142 3.75 15.75 4.08579 15.75 4.5C15.75 4.91421 15.4142 5.25 15 5.25H3C2.58579 5.25 2.25 4.91421 2.25 4.5ZM5.25 9C5.25 8.58579 5.58579 8.25 6 8.25H12C12.4142 8.25 12.75 8.58579 12.75 9C12.75 9.41421 12.4142 9.75 12 9.75H6C5.58579 9.75 5.25 9.41421 5.25 9ZM8.25 12.75C7.83579 12.75 7.5 13.0858 7.5 13.5C7.5 13.9142 7.83579 14.25 8.25 14.25H10.5C10.9142 14.25 11.25 13.9142 11.25 13.5C11.25 13.0858 10.9142 12.75 10.5 12.75H8.25Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},32472:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6.667a2 2 0 0 0-2-2H9L7.6 2.8A2 2 0 0 0 6 2H4zm3.333 2.667l-.8-1.067A.667.667 0 0 0 6 3.333H4A.667.667 0 0 0 3.333 4v.667h4zm-4 7.333V6H12c.368 0 .667.298.667.667V12a.667.667 0 0 1-.667.667H4A.667.667 0 0 1 3.333 12z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89129:(e,t,n)=>{e.exports={attributes:{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M5 0C5.55228 0 6 0.447715 6 1V2H14V1C14 0.447715 14.4477 0 15 0C15.5523 0 16 0.447715 16 1V2H17C18.6569 2 20 3.34315 20 5V13C20 14.6569 18.6569 16 17 16H16V17C16 17.5523 15.5523 18 15 18C14.4477 18 14 17.5523 14 17V16H6V17C6 17.5523 5.55228 18 5 18C4.44772 18 4 17.5523 4 17V16H3C1.34315 16 0 14.6569 0 13V5C0 3.34315 1.34315 2 3 2H4V1C4 0.447715 4.44772 0 5 0ZM17 14C17.5523 14 18 13.5523 18 13V5C18 4.44772 17.5523 4 17 4H3C2.44772 4 2 4.44772 2 5V13C2 13.5523 2.44772 14 3 14H17Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},71492:(e,t,n)=>{e.exports={attributes:{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.40109 4.92674C6.97185 4.92674 6.62391 5.36322 6.62391 5.89976C6.62391 6.43738 6.97185 6.87386 7.40109 6.87386C7.83033 6.87386 8.17826 6.43738 8.17826 5.89976C8.17766 5.36322 7.83033 4.92674 7.40109 4.92674ZM10.1068 2.39387C10.1959 2.19645 10.1995 1.0747 9.72723 0C9.72723 0 8.64456 0.107632 7.00652 1.125C6.66277 1.03846 6.08109 0.996274 5.5006 0.996274C4.91891 0.996274 4.33783 1.03846 3.99408 1.125C2.35543 0.107632 1.27277 0 1.27277 0C0.801087 1.0747 0.80587 2.19645 0.89375 2.39387C0.338967 2.93906 0 3.59405 0 4.48756C0 8.37422 3.56484 8.43642 4.46397 8.43642L5.5006 8.4375L6.53603 8.43642C7.43636 8.43642 11 8.37422 11 4.48756C11 3.59405 10.6616 2.93906 10.1068 2.39387ZM5.51674 7.95884H5.48326C3.22886 7.95884 1.47245 7.71599 1.47245 5.73317C1.47245 5.25775 1.65777 4.81749 2.09837 4.45186C2.8319 3.84231 4.07418 4.16466 5.48326 4.16466H5.51674C6.92581 4.16466 8.1687 3.84231 8.90283 4.45186C9.34223 4.81749 9.52755 5.25775 9.52755 5.73317C9.52755 7.71599 7.77174 7.95884 5.51674 7.95884ZM3.59951 4.92674C3.17027 4.92674 2.82234 5.36322 2.82234 5.89976C2.82234 6.43738 3.17027 6.87386 3.59951 6.87386C4.02935 6.87386 4.37728 6.43738 4.37728 5.89976C4.37728 5.36322 4.02935 4.92674 3.59951 4.92674Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},55551:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 0.666656H4L8 7.33332H11.6667L8 0.666656ZM5.66667 4.99999L3.66667 1.66666L0 7.99999L2 11.3333L5.66667 4.99999ZM12 7.99999H4.66667L2.66667 11.3333H10.3333L12 7.99999Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},517:(e,t,n)=>{e.exports={attributes:{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.23684 2.78571C7.23684 3.08571 7.35263 3.34286 7.57263 3.55179C7.78684 3.76071 8.05895 3.85714 8.39474 3.85714C8.71316 3.85714 8.97368 3.76071 9.21105 3.55179C9.43684 3.34286 9.55263 3.08571 9.55263 2.78571C9.55263 2.50179 9.43684 2.25 9.19947 2.03036C8.97368 1.81607 8.68421 1.71429 8.39474 1.71429C8.07632 1.71429 7.81579 1.81607 7.58421 2.03036C7.35842 2.25 7.23684 2.50179 7.23684 2.78571ZM11 2.78571C11 3.32143 10.7742 3.95893 10.34 4.69286C9.90579 5.43214 9.47158 6.03214 9.03737 6.50357L8.39474 7.20536C8.18632 7.00714 7.94316 6.74464 7.65368 6.42857C7.36421 6.10714 6.97632 5.55536 6.50158 4.76786C6.02105 3.98036 5.78947 3.32143 5.78947 2.78571C5.78947 2.11607 6.03263 1.54821 6.54211 1.07679C7.04579 0.610714 7.65947 0.375 8.39474 0.375C9.10684 0.375 9.72632 0.610714 10.23 1.07679C10.7395 1.54821 11 2.11607 11 2.78571ZM10.4211 6.57857V10.5536C10.4211 10.8214 10.3053 11.0893 10.0679 11.2982C9.8421 11.5179 9.55263 11.625 9.26316 11.625H1.15789C0.868421 11.625 0.578947 11.5179 0.353158 11.2982C0.115789 11.0893 0 10.8214 0 10.5536V3.05357C0 2.78571 0.115789 2.51786 0.353158 2.30893C0.578947 2.08929 0.868421 1.98214 1.15789 1.98214H4.74737C4.67789 2.31964 4.63158 2.5875 4.63158 2.78571C4.63158 3.42321 4.88632 4.17321 5.37263 5.03571C5.86474 5.89286 6.27579 6.53571 6.60579 6.91607C6.94737 7.3125 7.25421 7.65 7.54368 7.93393L8.39474 8.78571L9.26316 7.93393C9.99842 7.07143 10.3863 6.61071 10.4211 6.57857ZM3.47368 8.14286V8.8875H4.77632C4.63158 9.48214 4.19737 9.76607 3.47368 9.76607C3.07421 9.76607 2.73842 9.63214 2.47211 9.36429C2.20419 9.10924 2.05638 8.76637 2.06105 8.41071C2.06105 8.04107 2.2 7.725 2.47211 7.45714C2.73842 7.18929 3.07421 7.05536 3.47368 7.05536C3.85579 7.05536 4.16263 7.1625 4.39421 7.38214L5.01947 6.83036C4.58526 6.46071 4.08158 6.26786 3.50263 6.26786H3.47368C2.84263 6.26786 2.29842 6.4875 1.84684 6.90536C1.39526 7.32321 1.15789 7.82679 1.15789 8.41071C1.15789 8.99464 1.39526 9.49821 1.84684 9.91607C2.29842 10.3339 2.84263 10.5536 3.47368 10.5536C4.14526 10.5536 4.68368 10.3554 5.08895 9.96964C5.5 9.58393 5.69684 9.08036 5.69684 8.45893C5.69684 8.30893 5.69105 8.20179 5.67368 8.14286H3.47368Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},1305:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 0-2 0v14a1 1 0 0 0 2 0v-6h4v6a1 1 0 0 0 2 0V5a1 1 0 0 0-2 0v6H6V5zm9 7a1 1 0 0 1 1 1v5h3a1 1 0 0 1 0 2h-4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},41701:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a1 1 0 0 1 1 1v6h4V5a1 1 0 0 1 2 0v14a1 1 0 0 1-2 0v-6H6v6a1 1 0 0 1-2 0V5a1 1 0 0 1 1-1zm16.371 8.071a.997.997 0 0 0-1.18.341L18 15.333l-2.193-2.924-.041-.052a.99.99 0 0 0-.711-.356 1.019 1.019 0 0 0-.698.233.99.99 0 0 0-.356.711l-.001.067V19a1 1 0 0 0 2 0v-3l1.186 1.581a.997.997 0 0 0 1.628 0L20 16v3a1 1 0 0 0 2 0v-5.985a.997.997 0 0 0-.629-.944z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},70191:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 5a1 1 0 0 0-2 0v14a1 1 0 0 0 2 0v-6h4v6a1 1 0 0 0 2 0V5a1 1 0 0 0-2 0v6H6V5zm11 7a1 1 0 0 0 0 2h.003a3 3 0 1 1-2.559 4.572 1 1 0 0 1 1.703-1.049A1 1 0 1 0 17 16h-.003a3 3 0 1 1 1.988-5.25 1.001 1.001 0 0 1-1.324 1.5A.994.994 0 0 0 17 12z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},81740:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M14.701 3.279a3 3 0 1 1 4.76 3.653L10.96 18.01a3 3 0 0 1-3.252 1.045L7 20h12a1 1 0 0 1 0 2H5a1 1 0 0 1-.794-1.609l1.891-2.52a3.002 3.002 0 0 1 .102-3.512l6.373-8.305L11.7 5.4 9.3 8.6a1 1 0 1 1-1.6-1.2l2.997-3.996.003-.004a1 1 0 0 1 1.4-.2l.002.001 1.687 1.266.912-1.188zM7.786 15.576l6.386-8.322 1.6 1.2-6.399 8.34a1 1 0 0 1-1.376.204l-.034-.026a1 1 0 0 1-.177-1.396zm10.089-9.862l-.885 1.153-1.6-1.2.898-1.17a1 1 0 1 1 1.587 1.217z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},82052:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M7.33337 5.33337C7.33337 4.96518 7.63185 4.66671 8.00004 4.66671C8.36823 4.66671 8.66671 4.96518 8.66671 5.33337V8.66671C8.66671 9.0349 8.36823 9.33337 8.00004 9.33337C7.63185 9.33337 7.33337 9.0349 7.33337 8.66671V5.33337Z" fill="black"/>     <path class="graphic" d="M8.00004 10.6667C7.63185 10.6667 7.33337 10.9652 7.33337 11.3334C7.33337 11.7016 7.63185 12 8.00004 12C8.36823 12 8.66671 11.7016 8.66671 11.3334C8.66671 10.9652 8.36823 10.6667 8.00004 10.6667Z" fill="black"/>     <path class="graphic" d="M1.33337 8.00004C1.33337 11.6819 4.31814 14.6667 8.00004 14.6667C11.6819 14.6667 14.6667 11.6819 14.6667 8.00004C14.6667 4.31814 11.6819 1.33337 8.00004 1.33337C4.31814 1.33337 1.33337 4.31814 1.33337 8.00004ZM8.00004 13.3334C5.05452 13.3334 2.66671 10.9456 2.66671 8.00004C2.66671 5.05452 5.05452 2.66671 8.00004 2.66671C10.9456 2.66671 13.3334 5.05452 13.3334 8.00004C13.3334 10.9456 10.9456 13.3334 8.00004 13.3334Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},28444:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 0.666626C8.36819 0.666626 8.66667 0.965103 8.66667 1.33329V3.33329H10.3831C10.6982 3.33329 10.8374 3.73008 10.5913 3.92692L8.20823 5.83337C8.08649 5.93077 7.91351 5.93077 7.79177 5.83337L5.4087 3.92692C5.16265 3.73008 5.30183 3.33329 5.61693 3.33329H7.33333V1.33329C7.33333 0.965103 7.63181 0.666626 8 0.666626ZM2 7.99996C2 7.63177 2.29848 7.33329 2.66667 7.33329H13.3333C13.7015 7.33329 14 7.63177 14 7.99996C14 8.36815 13.7015 8.66663 13.3333 8.66663H2.66667C2.29848 8.66663 2 8.36815 2 7.99996ZM7.33333 12.6666H5.61693C5.30183 12.6666 5.16265 12.2698 5.4087 12.073L7.79177 10.1665C7.91351 10.0692 8.08649 10.0692 8.20823 10.1665L10.5913 12.073C10.8374 12.2698 10.6982 12.6666 10.3831 12.6666H8.66667V14.6666C8.66667 15.0348 8.36819 15.3333 8 15.3333C7.63181 15.3333 7.33333 15.0348 7.33333 14.6666V12.6666Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},91527:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.8047 7.5286C14.0651 7.78895 14.0651 8.21106 13.8047 8.4714L8.66588 13.3658C8.66579 13.3676 8.6657 13.3694 8.6656 13.3712L13.8047 8.4714L8.47141 13.8047C8.3428 13.9333 8.17471 13.9984 8.00615 14C8.0041 14 8.00205 14 8 14C7.98934 14 7.97867 13.9997 7.96802 13.9992C7.80822 13.9916 7.65063 13.9268 7.5286 13.8047L2.19526 8.4714C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286C2.45561 7.26825 2.87772 7.26825 3.13807 7.5286L7.33333 11.7239V2.66667C7.33333 2.29848 7.63181 2 8 2C8.36819 2 8.66667 2.29848 8.66667 2.66667V11.7239L12.8619 7.5286C13.1223 7.26825 13.5444 7.26825 13.8047 7.5286Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},79611:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2.19526 8.4714C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286L7.33412 2.6342C7.33421 2.63239 7.3343 2.63057 7.33441 2.62876L2.19526 7.5286L7.5286 2.19526C7.65721 2.06665 7.82529 2.00157 7.99385 2.00003C7.9959 2.00001 7.99795 2 8 2C8.01066 2 8.02133 2.00025 8.03198 2.00076C8.19178 2.00839 8.34937 2.07322 8.4714 2.19526L13.8047 7.5286C14.0651 7.78895 14.0651 8.21106 13.8047 8.4714C13.5444 8.73175 13.1223 8.73175 12.8619 8.4714L8.66667 4.27614V13.3333C8.66667 13.7015 8.36819 14 8 14C7.63181 14 7.33333 13.7015 7.33333 13.3333V4.27614L3.13807 8.4714C2.87772 8.73175 2.45561 8.73175 2.19526 8.4714Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},66995:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M8 6.586l5.293-5.293a1 1 0 0 1 1.414 1.414L9.414 8l5.293 5.293a1 1 0 0 1-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 1 1-1.414-1.414L6.586 8 1.293 2.707a1 1 0 1 1 1.414-1.414L8 6.586z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},5952:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6.25914 3.9476C6.53567 3.83076 6.76197 3.65513 6.94152 3.49539C7.05669 3.39292 7.18212 3.26868 7.28932 3.16249C7.33767 3.1146 7.38234 3.07035 7.42066 3.03346C7.72916 2.73646 7.87696 2.66683 7.99967 2.66683C8.09746 2.66683 8.24753 2.7344 8.57809 3.04753C8.61723 3.0846 8.66154 3.12761 8.70899 3.17367C8.82054 3.28196 8.94953 3.40718 9.0694 3.51161C9.24876 3.66788 9.47719 3.84252 9.75208 3.95248C10.0252 4.06172 10.3022 4.09263 10.5326 4.10266C10.6773 4.10897 10.8469 4.10721 10.9899 4.10573C11.0559 4.10505 11.1163 4.10443 11.1659 4.10468C11.5669 4.10673 11.7009 4.15861 11.7791 4.23709C11.8336 4.2919 11.8827 4.39992 11.8812 4.81614C11.8811 4.85816 11.8804 4.90545 11.8797 4.9563C11.8776 5.10852 11.8751 5.29266 11.8843 5.46209C11.8973 5.70032 11.9346 5.98124 12.0522 6.25963C12.1691 6.53616 12.3447 6.76246 12.5044 6.94201C12.6069 7.05718 12.7312 7.1826 12.8373 7.28981C12.8852 7.33817 12.9295 7.38282 12.9664 7.42115C13.2634 7.72964 13.333 7.87744 13.333 8.00016C13.333 8.12288 13.2634 8.27068 12.9664 8.57917C12.9295 8.61749 12.8853 8.66211 12.8374 8.71044C12.7312 8.81765 12.6069 8.94315 12.5044 9.05832C12.3447 9.23787 12.1691 9.46416 12.0522 9.7407C11.9346 10.019 11.8975 10.2999 11.8848 10.5379C11.8757 10.7075 11.8785 10.8916 11.8808 11.0437C11.8815 11.0943 11.8822 11.1414 11.8824 11.1832C11.8844 11.5993 11.8355 11.7065 11.7818 11.7605C11.7048 11.8379 11.5913 11.8842 11.202 11.883C11.1589 11.8828 11.1104 11.8818 11.0574 11.8806C10.7252 11.8735 10.2154 11.8625 9.75208 12.0478C9.47719 12.1578 9.24876 12.3324 9.0694 12.4887C8.94954 12.5931 8.82065 12.7183 8.7091 12.8265C8.66166 12.8726 8.61722 12.9157 8.57809 12.9528C8.24753 13.2659 8.09746 13.3335 7.99967 13.3335C7.87696 13.3335 7.72916 13.2639 7.42066 12.9669C7.38233 12.93 7.33768 12.8857 7.28932 12.8378C7.18212 12.7316 7.05669 12.6074 6.94152 12.5049C6.76197 12.3452 6.53567 12.1696 6.25914 12.0527C5.98025 11.9349 5.69878 11.896 5.45919 11.8814C5.29079 11.8711 5.1072 11.8721 4.95473 11.8729C4.90179 11.8732 4.85257 11.8735 4.80906 11.8732C4.39175 11.871 4.27756 11.8208 4.2176 11.7605C4.16384 11.7065 4.11491 11.5993 4.11692 11.1832C4.11712 11.1414 4.11783 11.0943 4.11859 11.0437C4.12089 10.8916 4.12366 10.7075 4.11458 10.5379C4.10184 10.2999 4.0647 10.019 3.94711 9.7407C3.83027 9.46416 3.65464 9.23787 3.4949 9.05832C3.39244 8.94315 3.2682 8.81773 3.16201 8.71053C3.11411 8.66217 3.06987 8.6175 3.03297 8.57917C2.73598 8.27068 2.66634 8.12288 2.66634 8.00016C2.66634 7.87744 2.73598 7.72964 3.03297 7.42115C3.06987 7.38283 3.11409 7.33818 3.16198 7.28983C3.26817 7.18263 3.39243 7.05718 3.4949 6.94201C3.65464 6.76246 3.83027 6.53616 3.94711 6.25963C4.0647 5.98131 4.10184 5.70046 4.11458 5.46243C4.12366 5.29287 4.12089 5.10878 4.11859 4.95661C4.11783 4.90602 4.11712 4.8589 4.11692 4.81708C4.11491 4.401 4.16384 4.29387 4.2176 4.2398C4.27756 4.17949 4.39175 4.12935 4.80906 4.1271C4.85256 4.12686 4.90175 4.12713 4.9547 4.12741C5.10717 4.12822 5.29078 4.1292 5.45919 4.11894C5.69878 4.10435 5.98025 4.06543 6.25914 3.9476ZM7.99967 1.3335C7.29479 1.3335 6.80122 1.779 6.49593 2.07292C6.42621 2.14003 6.36692 2.19895 6.31221 2.25331C6.22285 2.34211 6.14569 2.41878 6.05525 2.49924C5.92187 2.61791 5.8223 2.68471 5.74021 2.71939C5.65706 2.75452 5.54391 2.77798 5.37814 2.78807C5.25649 2.79548 5.14266 2.79485 5.00772 2.7941C4.94469 2.79375 4.87705 2.79338 4.80186 2.79378C4.40926 2.79591 3.75807 2.81093 3.2721 3.29969C2.78803 3.78653 2.78174 4.43795 2.7836 4.82353C2.78395 4.89557 2.78493 4.9606 2.78585 5.02124C2.7879 5.15689 2.78961 5.2705 2.78316 5.39117C2.77446 5.55369 2.752 5.66237 2.7189 5.7407C2.68422 5.82279 2.61742 5.92236 2.49875 6.05574C2.41829 6.14618 2.34162 6.22333 2.25282 6.3127C2.19846 6.36741 2.13953 6.42671 2.07243 6.49641C1.77852 6.80171 1.33301 7.29528 1.33301 8.00016C1.33301 8.70505 1.77852 9.19862 2.07243 9.50391C2.13954 9.57362 2.19845 9.63291 2.25282 9.68762C2.34161 9.77698 2.4183 9.85415 2.49875 9.94458C2.61742 10.078 2.68422 10.1775 2.7189 10.2596C2.752 10.338 2.77446 10.4466 2.78316 10.6092C2.78961 10.7298 2.7879 10.8434 2.78585 10.9791C2.78493 11.0397 2.78395 11.1048 2.7836 11.1768C2.78174 11.5624 2.78803 12.2138 3.2721 12.7006C3.75807 13.1894 4.40926 13.2044 4.80186 13.2065C4.87704 13.2069 4.94468 13.2066 5.0077 13.2062C5.14265 13.2055 5.25649 13.2048 5.37814 13.2123C5.54391 13.2223 5.65706 13.2458 5.74021 13.2809C5.8223 13.3156 5.92187 13.3824 6.05525 13.5011C6.14569 13.5815 6.22285 13.6582 6.31222 13.747C6.36692 13.8014 6.42623 13.8603 6.49593 13.9274C6.80122 14.2213 7.29479 14.6668 7.99967 14.6668C8.68889 14.6668 9.1945 14.2055 9.49503 13.9208C9.56141 13.8579 9.61946 13.8014 9.67338 13.749C9.76921 13.6558 9.85202 13.5753 9.94526 13.494C10.0825 13.3745 10.1778 13.3136 10.2473 13.2858C10.4395 13.2089 10.6402 13.211 10.9824 13.2146C11.0486 13.2153 11.1201 13.216 11.1978 13.2163C11.6011 13.2175 12.2317 13.199 12.7273 12.7006C13.2113 12.2138 13.2176 11.5624 13.2157 11.1768C13.2154 11.1049 13.2144 11.0399 13.2135 10.9793C13.2115 10.8437 13.2097 10.7298 13.2162 10.6092C13.2249 10.4466 13.2473 10.338 13.2804 10.2596C13.3151 10.1775 13.3819 10.078 13.5006 9.94458C13.5811 9.85415 13.6577 9.77699 13.7465 9.68762C13.8009 9.63292 13.8598 9.57361 13.9269 9.50391C14.2208 9.19862 14.6663 8.70505 14.6663 8.00016C14.6663 7.29528 14.2208 6.80171 13.9269 6.49641C13.8598 6.42671 13.8009 6.36744 13.7466 6.31273C13.6578 6.22336 13.5811 6.14618 13.5006 6.05574C13.3819 5.92236 13.3151 5.82279 13.2804 5.7407C13.2471 5.66177 13.2245 5.55253 13.2156 5.3896C13.2091 5.26881 13.2106 5.15517 13.2125 5.01961C13.2134 4.95873 13.2143 4.89324 13.2145 4.82089C13.2159 4.43443 13.2085 3.78304 12.7239 3.29631C12.2302 2.80046 11.5826 2.77346 11.1728 2.77136C11.0752 2.77086 10.9931 2.77189 10.9181 2.77283C10.8023 2.77427 10.7035 2.77551 10.5906 2.77059C10.4236 2.76332 10.3185 2.743 10.2473 2.71451C10.1778 2.68674 10.0825 2.62586 9.94526 2.5063C9.85201 2.42506 9.76924 2.34455 9.67339 2.25133C9.61947 2.19889 9.56141 2.14242 9.49503 2.07954C9.1945 1.79486 8.68889 1.3335 7.99967 1.3335ZM9.33301 8.00016C9.33301 7.26378 8.73605 6.66683 7.99967 6.66683C7.2633 6.66683 6.66634 7.26378 6.66634 8.00016C6.66634 8.73654 7.2633 9.3335 7.99967 9.3335C8.73605 9.3335 9.33301 8.73654 9.33301 8.00016ZM10.6663 8.00016C10.6663 9.47292 9.47243 10.6668 7.99967 10.6668C6.52692 10.6668 5.33301 9.47292 5.33301 8.00016C5.33301 6.5274 6.52692 5.3335 7.99967 5.3335C9.47243 5.3335 10.6663 6.5274 10.6663 8.00016Z"/>'};var r=n(5813);e.exports=r(e.exports)},50375:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5zM4 7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7zm6 3a2 2 0 1 1-3.999.001A2 2 0 0 1 10 10zm4.747 2.341a.998.998 0 0 0-1.494 0L10 16l-1.626-1.832a.5.5 0 0 0-.748 0L6 16h12l-3.253-3.659z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},93034:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28",viewBox:"0 0 36 28"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h36v28H0z"/>         <rect width="32" height="26" x="2" y="1" fill="#9DA5A6" rx="2"/>         <rect width="30" height="24" x="3" y="2" fill="#FFF" rx="1"/>         <path fill="#9DA5A6" fill-rule="nonzero" d="M18.75 18.833l-2.395 3.222a1 1 0 1 1-1.605-1.193l.907-1.22a2.006 2.006 0 0 1-.064-.055s-3.02-2.673-3.024-2.668L7.744 22.29a1 1 0 0 1-1.488-1.336l4.826-5.372a2.013 2.013 0 0 1 2.825-.169l2.945 2.618.296-.395.928-1.248a1.01 1.01 0 0 1 .077-.092l3.45-4.6a1.88 1.88 0 0 1 2.812-.25l6.264 5.796a1 1 0 1 1-1.358 1.468l-6.186-5.723-4.385 5.846zM10 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},11894:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 3a1 1 0 0 0 0 2h16a1 1 0 0 0 0-2H4zm6 4a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H10zm-1 5a1 1 0 0 1 1-1h10a1 1 0 0 1 0 2H10a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H10zm-7 5a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm.89-11.887a.5.5 0 0 0-.89.312v7.15a.5.5 0 0 0 .89.312l2.86-3.575a.5.5 0 0 0 0-.624L3.89 8.113z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},13669:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.0018 0.312501H0.996942C0.445872 0.312501 0 0.730505 0 1.24713V9.68979C0 10.2058 0.445872 10.625 0.996942 10.625H10.0024C10.5529 10.625 11 10.2064 11 9.68979V1.24713C11 1.1243 10.9742 1.00267 10.924 0.8892C10.8738 0.77573 10.8003 0.672646 10.7076 0.585843C10.6149 0.499039 10.5048 0.430218 10.3837 0.383316C10.2626 0.336414 10.1329 0.31235 10.0018 0.312501ZM3.67584 2.31766C4.04098 2.31766 4.3474 2.5883 4.3474 2.93578C4.3474 3.28899 4.04098 3.55505 3.67584 3.55505V3.56766C3.30642 3.56766 3.00917 3.28899 3.00917 2.94381C3.00917 2.5969 3.30642 2.31766 3.67584 2.31766ZM8.1737 8.25344C7.49358 8.25344 7.16391 7.87385 7.16391 7.35551C7.16391 7.20642 7.1841 7.04989 7.23364 6.88991L7.55657 5.79702C7.59816 5.67775 7.60917 5.56479 7.60917 5.46388C7.60917 5.11124 7.37982 4.89966 7.01529 4.89966C6.54985 4.89966 6.24465 5.21101 6.08563 5.81594L5.45382 8.19323H4.34618L4.54618 7.4461C4.21957 7.94668 3.76881 8.25573 3.21101 8.25573C2.537 8.25573 2.22202 7.89335 2.22202 7.34748C2.2247 7.191 2.24437 7.03519 2.28073 6.88245L2.78593 4.95241H2.00428L2.24159 4.13245H4.12232L3.37859 6.88704C3.32966 7.06422 3.31132 7.20757 3.31132 7.31021C3.31132 7.48624 3.40183 7.53727 3.54679 7.56938C3.63609 7.58658 4.33884 7.57569 4.71988 6.78039L5.20795 4.95241H4.41651L4.65566 4.14736H6.36024L6.14067 5.07454C6.4367 4.55906 7.02875 4.06422 7.61223 4.06422C8.23119 4.06422 8.74679 4.48165 8.74679 5.27466C8.74679 5.50401 8.70826 5.73108 8.6367 5.95126L8.31865 7.01663C8.29246 7.10882 8.27708 7.20342 8.27278 7.29874C8.27278 7.48567 8.35596 7.57626 8.49786 7.57626C8.64343 7.57626 8.83609 7.47248 9.04771 6.90424L9.48073 7.06021C9.22752 7.90482 8.7578 8.25344 8.1737 8.25344Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},44819:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M13.0043 5.41667C13.0043 7.94797 10.5043 10 8.83768 10C7.17101 10 4.67101 7.94797 4.67101 5.41667C4.67101 2.88536 6.53649 0.833336 8.83768 0.833336C11.1389 0.833336 13.0043 2.88536 13.0043 5.41667ZM11.3377 5.41667C11.3377 3.6528 10.0725 2.5 8.83768 2.5C7.60289 2.5 6.33768 3.6528 6.33768 5.41667C6.33768 6.12695 6.69657 6.87065 7.30508 7.47629C7.95128 8.11947 8.59479 8.33333 8.83768 8.33333C9.08056 8.33333 9.72407 8.11947 10.3703 7.47629C10.9788 6.87065 11.3377 6.12695 11.3377 5.41667Z" fill="black"/>   <path class="graphic" d="M9.68229 10.8333C9.92306 10.8333 10.162 10.8494 10.3977 10.8808C10.4721 10.7956 10.5499 10.7123 10.6311 10.6311C12.5838 8.67851 15.7496 8.67851 17.7022 10.6311C19.6548 12.5838 19.6548 15.7496 17.7022 17.7022C15.7496 19.6548 12.5838 19.6548 10.6311 17.7022C10.5651 17.6362 10.5013 17.5687 10.4397 17.5H3.83676C2.98192 17.5 2.34692 16.7084 2.53236 15.8739L2.78398 14.7416C2.9294 14.0873 3.20515 13.4689 3.59478 12.9234C4.53166 11.6118 6.04429 10.8333 7.65614 10.8333H9.68229ZM7.65614 12.5C6.58254 12.5 5.57503 13.0185 4.95101 13.8921C4.69148 14.2554 4.50781 14.6673 4.41095 15.1032L4.2487 15.8333H9.45139C9.07176 14.7569 9.07176 13.5764 9.45139 12.5H7.65614ZM17.357 14.1667C17.357 13.7064 16.9839 13.3333 16.5237 13.3333H15V11.8096C15 11.3494 14.6269 10.9763 14.1667 10.9763C13.7064 10.9763 13.3333 11.3494 13.3333 11.8096V13.3333H11.8096C11.3494 13.3333 10.9763 13.7064 10.9763 14.1667C10.9763 14.6269 11.3494 15 11.8096 15H13.3333V16.5237C13.3333 16.9839 13.7064 17.357 14.1667 17.357C14.6269 17.357 15 16.9839 15 16.5237V15H16.5237C16.9839 15 17.357 14.6269 17.357 14.1667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},34061:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12.753 4L9.198 20H7a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-1.753l3.555-16H17a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2h1.753z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},78018:(e,t,n)=>{e.exports={attributes:{width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M15 9C15.5523 9 16 9.44771 16 10V14H18C18.5523 14 19 14.4477 19 15C19 15.5523 18.5523 16 18 16H15C14.4477 16 14 15.5523 14 15V10C14 9.44771 14.4477 9 15 9Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},76767:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M8.3238 2.75064C8.12245 2.63878 7.87763 2.63878 7.67628 2.75064L1.68792 6.07751C1.64715 6.09915 1.6089 6.12489 1.57372 6.15419C1.54546 6.17769 1.51934 6.20337 1.49556 6.23091C1.3945 6.34777 1.33337 6.50012 1.33337 6.66675V11.3334C1.33337 11.7016 1.63185 12.0001 2.00004 12.0001C2.36823 12.0001 2.66671 11.7016 2.66671 11.3334V7.79976L4.66671 8.91087V11.3334C4.66629 11.3439 4.66671 11.3546 4.66671 11.3655C4.66671 12.286 6.15909 13.3655 8.00004 13.3655C9.84099 13.3655 11.3334 12.286 11.3334 11.3655C11.3334 11.3546 11.3332 11.3439 11.3328 11.3334L11.3334 8.91087L14.3238 7.24952C14.5354 7.13194 14.6667 6.90886 14.6667 6.66675C14.6667 6.42464 14.5354 6.20156 14.3238 6.08398L8.3238 2.75064ZM8.00004 9.23744L3.37279 6.66675L8.00004 4.09605L12.6273 6.66675L8.00004 9.23744Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},4718:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.22881 8.9428C3.44776 9.72384 3.44776 10.9902 4.22881 11.7712C5.00986 12.5523 6.27619 12.5523 7.05724 11.7712L8.47145 10.357C8.7318 10.0967 9.15391 10.0967 9.41426 10.357C9.67461 10.6174 9.67461 11.0395 9.41426 11.2998L8.00005 12.714C6.6983 14.0158 4.58775 14.0158 3.286 12.714C1.98426 11.4123 1.98426 9.30173 3.286 7.99999L4.70022 6.58577C4.96057 6.32542 5.38268 6.32542 5.64303 6.58577C5.90337 6.84612 5.90337 7.26823 5.64303 7.52858L4.22881 8.9428ZM6.11443 9.8856C5.85408 9.62526 5.85408 9.20315 6.11443 8.9428L8.94286 6.11437C9.20321 5.85402 9.62532 5.85402 9.88567 6.11437C10.146 6.37472 10.146 6.79683 9.88567 7.05718L7.05724 9.8856C6.79689 10.146 6.37478 10.146 6.11443 9.8856ZM6.58583 4.70016C6.32548 4.96051 6.32548 5.38261 6.58583 5.64296C6.84618 5.90331 7.26829 5.90331 7.52864 5.64296L8.94286 4.22875C9.72391 3.4477 10.9902 3.4477 11.7713 4.22875C12.5523 5.0098 12.5523 6.27613 11.7713 7.05718L10.3571 8.47139C10.0967 8.73174 10.0967 9.15385 10.3571 9.4142C10.6174 9.67455 11.0395 9.67455 11.2999 9.4142L12.7141 7.99999C14.0158 6.69824 14.0158 4.58769 12.7141 3.28594C11.4123 1.98419 9.3018 1.98419 8.00005 3.28594L6.58583 4.70016Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},60623:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7 9a3 3 0 1 0 0 6h3a1 1 0 0 1 0 2H7A5 5 0 0 1 7 7h3a1 1 0 0 1 0 2H7zm1 3a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm6-5a1 1 0 0 0 0 2h3a3 3 0 1 1 0 6h-3a1 1 0 0 0 0 2h3a5 5 0 0 0 0-10h-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12479:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M11.293 3.293a1 1 0 0 1 1.414 0L20.05 11h.008l-7.35-7.708 8 8c.193.193.29.445.293.698V12l-.001.048a.997.997 0 0 1-.292.66l-8 8a1 1 0 0 1-1.414-1.415L17.586 13H4a1 1 0 1 1 0-2h13.586l-6.293-6.293a1 1 0 0 1 0-1.414z"/>'};var r=n(5813);e.exports=r(e.exports)},95161:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm4-2a1 1 0 0 0 0 2h12a1 1 0 0 0 0-2H8zm0 6a1 1 0 0 0 0 2h12a1 1 0 0 0 0-2H8zm-1 7a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm-2-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-1 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},30350:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <circle class="graphic" cx="12" cy="12" r="10" fill="#5C6061"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},98854:(e,t,n)=>{e.exports={attributes:{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.44948 0L6.55052 0C7.12009 0 7.42736 0.668079 7.05669 1.10053L4.50617 4.07613C4.24011 4.38654 3.75989 4.38654 3.49383 4.07613L0.943309 1.10053C0.572639 0.668079 0.879912 0 1.44948 0Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},35235:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M21.12 11.069L3.459 4.158c-.91-.357-1.74.672-1.196 1.486l3.867 5.801c.224.336.224.774 0 1.11l-3.867 5.801c-.543.814.285 1.843 1.196 1.486l17.661-6.911c.848-.331.848-1.531 0-1.862z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},59481:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3.414 10.586l7.172-7.172a2 2 0 0 1 2.828 0l7.172 7.172a2 2 0 0 1 0 2.828l-7.172 7.172a2 2 0 0 1-2.828 0l-7.172-7.172a2 2 0 0 1 0-2.828z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},47238:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4.5 4a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V5.707l-.146.147a.502.502 0 0 1-.708-.708l1-1A.502.502 0 0 1 4.5 4zM9 5h11a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm0 6h11a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm-1 7a1 1 0 0 1 1-1h11a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm-3.933-1.75a.5.5 0 1 1-.866-.5 1.5 1.5 0 1 1 2.417 1.75A1.5 1.5 0 1 1 3 18.5a.5.5 0 0 1 1 0 .5.5 0 1 0 .5-.5.5.5 0 0 1 0-1 .5.5 0 1 0-.433-.75zM4.5 10.5a.5.5 0 0 0-.495.428.5.5 0 1 1-.99-.141A1.501 1.501 0 0 1 6 11c0 .427-.179.813-.465 1.085L4.666 13H5.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.362-.845l1.692-1.779.011-.01A.5.5 0 0 0 4.5 10.5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},56987:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},74107:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0-2a8 8 0 1 1 0-16 8 8 0 0 1 0 16z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},60965:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},8941:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M4 4C4 1.79086 5.79086 0 8 0C10.2091 0 12 1.79086 12 4V6H13C14.6569 6 16 7.34315 16 9V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V9C0 7.34315 1.34315 6 3 6H4V4ZM10 4C10 2.89543 9.10457 2 8 2C6.89543 2 6 2.89543 6 4V6H10V4ZM3 8C2.44772 8 2 8.44772 2 9V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V9C14 8.44772 13.5523 8 13 8H3ZM10 12C10 12.7403 9.5978 13.3866 9 13.7324V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V13.7324C6.4022 13.3866 6 12.7403 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z" fill="rgb(0, 161, 183)" fill-opacity="0.6"/>'};var r=n(5813);e.exports=r(e.exports)},72102:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4 4C4 1.79086 5.79086 0 8 0C10.2091 0 12 1.79086 12 4V6H13C14.6569 6 16 7.34315 16 9V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V9C0 7.34315 1.34315 6 3 6H4V4ZM10 4C10 2.89543 9.10457 2 8 2C6.89543 2 6 2.89543 6 4V6H10V4ZM3 8C2.44772 8 2 8.44772 2 9V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V9C14 8.44772 13.5523 8 13 8H3ZM10 12C10 12.7403 9.5978 13.3866 9 13.7324V15C9 15.5523 8.55228 16 8 16C7.44772 16 7 15.5523 7 15V13.7324C6.4022 13.3866 6 12.7403 6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},29828:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 1C0 0.447715 0.447715 0 1 0H4C4.55228 0 5 0.447715 5 1C5 1.55228 4.55228 2 4 2H2V4C2 4.55228 1.55228 5 1 5C0.447715 5 0 4.55228 0 4V1ZM9 1C9 0.447715 9.44771 0 10 0H13C13.5523 0 14 0.447715 14 1V4C14 4.55228 13.5523 5 13 5C12.4477 5 12 4.55228 12 4V2H10C9.44771 2 9 1.55228 9 1ZM1 9C1.55228 9 2 9.44771 2 10V12H4C4.55228 12 5 12.4477 5 13C5 13.5523 4.55228 14 4 14H1C0.447715 14 0 13.5523 0 13V10C0 9.44771 0.447715 9 1 9ZM13 9C13.5523 9 14 9.44771 14 10V13C14 13.5523 13.5523 14 13 14H10C9.44771 14 9 13.5523 9 13C9 12.4477 9.44771 12 10 12H12V10C12 9.44771 12.4477 9 13 9Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},37871:(e,t,n)=>{e.exports={attributes:{width:"21",height:"16",viewBox:"0 0 21 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M14.6838 9.05132C15.0921 8.9152 15.5417 9.05566 15.8 9.4L17.5 11.6667L19.2 9.4C19.4583 9.05566 19.9079 8.9152 20.3162 9.05132C20.7246 9.18743 21 9.56957 21 10V15C21 15.5523 20.5523 16 20 16C19.4477 16 19 15.5523 19 15V13L18.3 13.9333C18.1111 14.1851 17.8148 14.3333 17.5 14.3333C17.1852 14.3333 16.8889 14.1851 16.7 13.9333L16 13V15C16 15.5523 15.5523 16 15 16C14.4477 16 14 15.5523 14 15V10C14 9.56957 14.2754 9.18743 14.6838 9.05132Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},94384:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 4a8 8 0 1 0 3.555 15.169 1 1 0 1 1 .89 1.791A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10v.571c0 1.297-.317 2.395-.948 3.193A3.199 3.199 0 0 1 18.5 17c-1.216 0-2.192-.685-2.801-1.636A5 5 0 1 1 15 8a1 1 0 0 1 2 0v5c0 1.222.85 2 1.5 2a1.2 1.2 0 0 0 .984-.478c.273-.345.516-.961.516-1.951V12a8 8 0 0 0-8-8zm3 8a3 3 0 1 0-6 0 3 3 0 0 0 6 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},16357:(e,t,n)=>{e.exports={attributes:{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M13.4714 0.861888C13.7318 1.12224 13.7318 1.54435 13.4714 1.8047L7.47142 7.8047C7.21108 8.06505 6.78897 8.06505 6.52862 7.8047L0.528615 1.8047C0.268266 1.54435 0.268266 1.12224 0.528615 0.861888C0.788965 0.601539 1.21107 0.601539 1.47143 0.861888L7.00002 6.39048L12.5286 0.861888C12.789 0.601539 13.2111 0.601539 13.4714 0.861888Z" fill="#AEB7B8"/>'};var r=n(5813);e.exports=r(e.exports)},63821:(e,t,n)=>{e.exports={attributes:{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 0C4.55228 0 5 0.447715 5 1V4C5 4.55228 4.55228 5 4 5H1C0.447715 5 0 4.55228 0 4C0 3.44772 0.447715 3 1 3H3V1C3 0.447715 3.44772 0 4 0ZM10.5 0C11.0523 0 11.5 0.447715 11.5 1V3H13.5C14.0523 3 14.5 3.44772 14.5 4C14.5 4.55228 14.0523 5 13.5 5H10.5C9.94771 5 9.5 4.55228 9.5 4V1C9.5 0.447715 9.94771 0 10.5 0ZM0 10C0 9.44771 0.447715 9 1 9H4C4.55228 9 5 9.44771 5 10V13C5 13.5523 4.55228 14 4 14C3.44772 14 3 13.5523 3 13V11H1C0.447715 11 0 10.5523 0 10ZM9.5 10C9.5 9.44771 9.94771 9 10.5 9H13.5C14.0523 9 14.5 9.44771 14.5 10C14.5 10.5523 14.0523 11 13.5 11H11.5V13C11.5 13.5523 11.0523 14 10.5 14C9.94771 14 9.5 13.5523 9.5 13V10Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},31958:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M2 8c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},26934:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M2 2H4L7.5 5.5L5.5 2H7.5L11 4.5L9 2H11L14 4L11 14H9L11 4.5L7.5 14H5.5L7.5 5.5L4 14H2L4 6L2 2Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},46605:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M7.5 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},92688:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic" width="11" height="11" rx="1" fill="#5C6061"/>   <path class="graphic_stroke_bg graphic_bg" fill-rule="evenodd" clip-rule="evenodd" d="M4.27444 4.09162C4.4421 4.48418 4.57964 4.91014 4.88142 5.92473L4.88391 5.93307C5.18869 6.95775 5.32589 7.38581 5.50938 7.83045C5.63543 8.13585 5.76037 8.37659 5.897 8.56076C6.09828 8.83209 6.33766 8.99992 6.63376 8.99992C7.02753 8.99992 7.35911 8.8112 7.58923 8.47347C7.77042 8.20748 7.8816 7.86402 7.9424 7.44739C8.03504 6.81257 8.01171 6.00699 7.90265 5.02681C7.77939 3.9186 7.57845 3.02221 7.29363 2.33322C7.17562 2.04777 6.8691 1.92134 6.60896 2.05083C6.34884 2.18033 6.23362 2.5167 6.35163 2.80217C6.58752 3.37277 6.76436 4.16166 6.8759 5.16433C6.97415 6.0476 6.99484 6.76203 6.92103 7.26793C6.88444 7.51871 6.82674 7.69695 6.76077 7.79378C6.74119 7.82253 6.72453 7.84052 6.70449 7.85119C6.70276 7.84895 6.701 7.84659 6.69919 7.84415C6.62859 7.74897 6.54412 7.58625 6.45164 7.36215C6.29005 6.97058 6.15885 6.56128 5.86723 5.58084L5.86475 5.57252C5.54809 4.50793 5.40402 4.06171 5.21111 3.60996C5.07642 3.29453 4.94181 3.05136 4.79023 2.87167C4.55843 2.59684 4.26896 2.4538 3.94268 2.53586C3.59719 2.62276 3.353 2.90101 3.20629 3.30131C3.09221 3.61263 3.02918 4.01532 3.00803 4.5188C2.96864 5.45512 3.07431 6.78482 3.32264 8.52041C3.36694 8.83005 3.63161 9.04166 3.91379 8.99305C4.19597 8.94444 4.3888 8.65399 4.3445 8.34432C4.10605 6.6778 4.00579 5.4159 4.04132 4.57113C4.05521 4.24081 4.08973 3.98467 4.13918 3.80852C4.18103 3.88469 4.22654 3.97944 4.27444 4.09162Z" stroke="white" stroke-width="0.2"/>'};var r=n(5813);e.exports=r(e.exports)},36771:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M0.500061 6C0.500061 2.96243 2.96249 0.5 6.00006 0.5C9.03763 0.5 11.5001 2.96243 11.5001 6C11.5001 9.03757 9.03763 11.5 6.00006 11.5C2.96249 11.5 0.500061 9.03757 0.500061 6Z" stroke="#AEB7B8"/>   <path d="M6.00002 6.00002C8.34317 3.65686 8.37091 3.62912 10.2427 1.75736C7.89952 -0.585793 4.10052 -0.585793 1.75736 1.75736C-0.585795 4.10052 -0.585795 7.89952 1.75736 10.2427C3.62912 8.37092 3.65686 8.34317 6.00002 6.00002Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},99562:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M11.5 6C11.5 9.03757 9.03757 11.5 6 11.5C2.96243 11.5 0.5 9.03757 0.5 6C0.5 2.96243 2.96243 0.5 6 0.5C9.03757 0.5 11.5 2.96243 11.5 6Z" stroke="#EDEDED"/>   <path d="M6.00004 5.99998C3.65689 8.34314 3.62915 8.37088 1.75739 10.2426C4.10054 12.5858 7.89955 12.5858 10.2427 10.2426C12.5859 7.89948 12.5859 4.10048 10.2427 1.75732C8.37094 3.62908 8.3432 3.65683 6.00004 5.99998Z" fill="#404B4C"/>'};var r=n(5813);e.exports=r(e.exports)},42477:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g class="graphic_stroke" fill="none" fill-rule="nonzero" stroke="#5C6061" stroke-width="1.333">         <circle cx="8" cy="8" r="7.333"/>         <path stroke-linecap="square" d="M3.333 12.667l9.334-9.334"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},8386:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M4.667 1.333a2 2 0 0 0-2 2v9.334a2 2 0 0 0 2 2h6.666a2 2 0 0 0 2-2V3.333a2 2 0 0 0-2-2H4.667zm-.667 2c0-.368.299-.666.667-.666h6.666c.368 0 .667.298.667.666v9.334a.667.667 0 0 1-.667.666H4.667A.667.667 0 0 1 4 12.667V3.333zM6 4a.667.667 0 0 0 0 1.333h4A.667.667 0 0 0 10 4H6zm-.667 3.333c0-.368.299-.666.667-.666h4A.667.667 0 0 1 10 8H6a.667.667 0 0 1-.667-.667zm.667 2a.667.667 0 0 0 0 1.334h2.667a.667.667 0 0 0 0-1.334H6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},7306:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path class="graphic" fill="#5C6061" fill-rule="evenodd" d="M4 3a1 1 0 0 0 0 2h16a1 1 0 1 0 0-2H4zm6 4a1 1 0 0 0 0 2h10a1 1 0 1 0 0-2H10zm-1 5a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1zm1 3a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H10zm-7 5a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1zm3.11-4.113a.5.5 0 0 0 .89-.312v-7.15a.5.5 0 0 0-.89-.312l-2.86 3.575a.5.5 0 0 0 0 .624l2.86 3.575z"/>'};var r=n(5813);e.exports=r(e.exports)},68234:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4C14 2.89543 13.1046 2 12 2H4ZM12 3.33333H4C3.63181 3.33333 3.33333 3.63181 3.33333 4V12C3.33333 12.3682 3.63181 12.6667 4 12.6667H12C12.3682 12.6667 12.6667 12.3682 12.6667 12V4C12.6667 3.63181 12.3682 3.33333 12 3.33333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},69435:(e,t,n)=>{e.exports={attributes:{width:"7",height:"14",viewBox:"0 0 7 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.80346 4.98904C1.78031 4.97102 1.75769 4.95282 1.73564 4.93441C1.50696 4.74347 1.31117 4.51221 1.17845 4.21436C1.04746 3.92039 0.995605 3.60128 0.995605 3.25826C0.995605 1.78514 2.19097 0.590942 3.66552 0.590942C5.14007 0.590942 6.33543 1.78514 6.33543 3.25826C6.33543 3.62654 6.03659 3.92509 5.66796 3.92509C5.29932 3.92509 5.00048 3.62654 5.00048 3.25826C5.00048 2.5217 4.4028 1.9246 3.66552 1.9246C2.92824 1.9246 2.33056 2.5217 2.33056 3.25826C2.33056 3.46766 2.36215 3.59146 2.39802 3.67197C2.43217 3.7486 2.48668 3.82338 2.59174 3.9111C2.80358 4.08798 3.10896 4.23895 3.61983 4.49152C3.7236 4.54282 3.83596 4.59836 3.95762 4.65912C3.95976 4.66018 3.9619 4.66124 3.96404 4.66231C4.06208 4.71129 4.16009 4.75942 4.25727 4.80713C4.76491 5.0564 5.24972 5.29446 5.59539 5.58308C5.82407 5.77402 6.01986 6.00527 6.15259 6.30312C6.28358 6.59709 6.33543 6.9162 6.33543 7.25922C6.33543 7.91312 6.14432 8.73277 5.70168 9.32347C5.64876 9.3941 5.59078 9.46328 5.52759 9.5294C5.55073 9.54741 5.57335 9.56561 5.5954 9.58402C5.82408 9.77496 6.01986 10.0062 6.15259 10.3041C6.28358 10.598 6.33543 10.9172 6.33543 11.2602C6.33543 12.7333 5.14007 13.9275 3.66552 13.9275C2.19097 13.9275 0.995605 12.7333 0.995605 11.2602C0.995605 10.8919 1.29445 10.5933 1.66308 10.5933C2.03172 10.5933 2.33056 10.8919 2.33056 11.2602C2.33056 11.9967 2.92824 12.5938 3.66552 12.5938C4.4028 12.5938 5.00048 11.9967 5.00048 11.2602C5.00048 11.0508 4.96889 10.927 4.93302 10.8465C4.89887 10.7698 4.84436 10.6951 4.7393 10.6073C4.52746 10.4305 4.22208 10.2795 3.71121 10.0269C3.60831 9.97605 3.49675 9.92089 3.37627 9.86074L3.36701 9.85613C3.26899 9.80717 3.17099 9.75905 3.07382 9.71134C2.56617 9.46207 2.08132 9.224 1.73564 8.93537C1.50697 8.74443 1.31118 8.51317 1.17845 8.21532C1.04746 7.92135 0.995605 7.60224 0.995605 7.25922C0.995605 6.60532 1.18671 5.78567 1.62936 5.19496C1.68228 5.12434 1.74026 5.05515 1.80346 4.98904ZM3.36256 5.85295C3.14984 5.74768 3.02999 5.75981 2.96932 5.77677C2.89844 5.79659 2.80352 5.85344 2.69803 5.99421C2.47319 6.29426 2.33056 6.80828 2.33056 7.25922C2.33056 7.46862 2.36215 7.59242 2.39802 7.67293C2.43217 7.74955 2.48668 7.82433 2.59174 7.91205C2.80356 8.08892 3.10891 8.23988 3.6197 8.49241L3.62032 8.49272C3.72447 8.54421 3.83717 8.59993 3.95935 8.66094L3.96403 8.66326L3.97073 8.6666C4.18204 8.77067 4.30126 8.75857 4.36172 8.74167C4.4326 8.72185 4.52752 8.665 4.63301 8.52422C4.85785 8.22418 5.00048 7.71016 5.00048 7.25922C5.00048 7.04982 4.96889 6.92602 4.93302 6.84552C4.89888 6.7689 4.84436 6.69412 4.7393 6.6064C4.52749 6.42954 4.22216 6.27859 3.71141 6.02607C3.60665 5.97428 3.4931 5.91814 3.37009 5.8567C3.36906 5.8562 3.36804 5.85569 3.36701 5.85518C3.36553 5.85443 3.36404 5.85369 3.36256 5.85295Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},36419:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M4 9a6 6 0 0 1 6-6h9a1 1 0 0 1 0 2h-3.057v15a.943.943 0 1 1-1.886 0V5h-2.114v15a.943.943 0 1 1-1.886 0v-5H10a6 6 0 0 1-6-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},46015:(e,t,n)=>{e.exports={attributes:{width:"54",height:"54",viewBox:"0 0 54 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<circle cx="27" cy="27" r="27" fill="black" fill-opacity="0.32"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M24 19.5C24 17.8431 22.6569 16.5 21 16.5C19.3431 16.5 18 17.8431 18 19.5V34.5C18 36.1569 19.3431 37.5 21 37.5C22.6569 37.5 24 36.1569 24 34.5V19.5ZM36 19.5C36 17.8431 34.6569 16.5 33 16.5C31.3431 16.5 30 17.8431 30 19.5V34.5C30 36.1569 31.3431 37.5 33 37.5C34.6569 37.5 36 36.1569 36 34.5V19.5Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},10231:(e,t,n)=>{e.exports={attributes:{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M16.3189 32C25.1555 32 32.3189 24.8366 32.3189 16C32.3189 7.16344 25.1555 0 16.3189 0C7.48235 0 0.318909 7.16344 0.318909 16C0.318909 24.8366 7.48235 32 16.3189 32Z" fill="#00A1B7"/> <rect class="player2" x="18.3189" y="11" width="2" height="10" rx="1" fill="white"/> <rect class="player2" x="12.3189" y="11" width="2" height="10" rx="1" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},26143:(e,t,n)=>{e.exports={attributes:{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C4 0.89543 3.10457 0 2 0C0.89543 0 0 0.89543 0 2V12C0 13.1046 0.89543 14 2 14C3.10457 14 4 13.1046 4 12V2ZM12 2C12 0.89543 11.1046 0 10 0C8.89543 0 8 0.89543 8 2V12C8 13.1046 8.89543 14 10 14C11.1046 14 12 13.1046 12 12V2Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},68278:(e,t,n)=>{e.exports={attributes:{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M16.6472 3.83988C15.6711 2.86334 14.0884 2.86326 13.1123 3.8397L11.8314 5.12111C11.8262 5.12606 11.821 5.13109 11.8159 5.13621C11.8107 5.14139 11.8056 5.14663 11.8006 5.15192L2.74401 14.2117C2.58776 14.368 2.49999 14.58 2.5 14.8011L2.50013 17.2764C2.50014 17.4974 2.58793 17.7094 2.74419 17.8658C2.90046 18.0221 3.11239 18.1099 3.33336 18.1099L5.80776 18.11C6.02873 18.11 6.24064 18.0222 6.39688 17.8659L16.7652 7.49389C17.7413 6.51746 17.7412 4.93426 16.7651 3.95773L16.6472 3.83988ZM12.4055 6.90432L13.7019 8.2007L5.46254 16.443L4.16645 16.443L4.16639 15.1464L12.4055 6.90432ZM14.8802 7.02198L13.5838 5.7256L14.2907 5.01848C14.6161 4.693 15.1436 4.69303 15.469 5.01854L15.5868 5.13639C15.9122 5.4619 15.9122 5.98963 15.5869 6.31511L14.8802 7.02198Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},53686:(e,t,n)=>{e.exports={attributes:{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8.00001 3.99999C8.00001 4.56822 7.71289 5.16318 7.22609 5.64769C6.70912 6.16223 6.19432 6.33333 6.00001 6.33333C5.8057 6.33333 5.2909 6.16223 4.77393 5.64769C4.28713 5.16318 4.00001 4.56822 4.00001 3.99999C4.00001 2.5889 5.01218 1.66666 6.00001 1.66666C6.98784 1.66666 8.00001 2.5889 8.00001 3.99999ZM9.33334 3.99999C9.33334 6.02504 7.33334 7.66666 6.00001 7.66666C4.66668 7.66666 2.66668 6.02504 2.66668 3.99999C2.66668 1.97495 4.15906 0.333328 6.00001 0.333328C7.84096 0.333328 9.33334 1.97495 9.33334 3.99999ZM5.05478 9.66666H6.6757C7.55016 9.66666 8.38096 10.0488 8.95005 10.7127C9.27003 11.086 9.4932 11.5324 9.59986 12.0123L9.67119 12.3333H2.32883L2.45863 11.7492C2.53612 11.4005 2.68306 11.071 2.89068 10.7803C3.38989 10.0814 4.1959 9.66666 5.05478 9.66666ZM1.8057 10.0054C2.5552 8.95607 3.7653 8.33333 5.05478 8.33333H6.6757C7.93939 8.33333 9.13999 8.88552 9.96239 9.84499C10.4248 10.3845 10.7473 11.0295 10.9014 11.7231L11.0774 12.5147C11.2087 13.1059 10.7589 13.6667 10.1533 13.6667H1.99928C1.31541 13.6667 0.807406 13.0334 0.95576 12.3658L1.15705 11.46C1.27339 10.9365 1.49399 10.4418 1.8057 10.0054Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},4421:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M6 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm8 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm6 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},88398:(e,t,n)=>{e.exports={attributes:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0)"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="#00A1B7"/> <path d="M12.0834 9.16663C10.9622 9.16663 10.4864 10.5939 11.3834 11.2666L11.85 11.6166C11.9969 11.7268 12.0834 11.8997 12.0834 12.0833V14.4166C12.0834 14.6002 11.9969 14.7731 11.85 14.8833L11.3834 15.2333C10.4864 15.906 10.9622 17.3333 12.0834 17.3333H14.4167V20.25C14.4167 20.5721 14.6779 20.8333 15 20.8333C15.3222 20.8333 15.5834 20.5721 15.5834 20.25V17.3333H17.9167C19.0379 17.3333 19.5136 15.906 18.6167 15.2333L18.15 14.8833C18.0031 14.7731 17.9167 14.6002 17.9167 14.4166V12.0833C17.9167 11.8997 18.0031 11.7268 18.15 11.6166L18.6167 11.2666C19.5136 10.5939 19.0379 9.16663 17.9167 9.16663H12.0834ZM12.0834 10.3333H17.9167L17.45 10.6833C17.0094 11.0138 16.75 11.5325 16.75 12.0833V14.4166C16.75 14.9675 17.0094 15.4861 17.45 15.8166L17.9167 16.1666H12.0834L12.55 15.8166C12.9907 15.4861 13.25 14.9675 13.25 14.4166V12.0833C13.25 11.5325 12.9907 11.0138 12.55 10.6833L12.0834 10.3333Z" fill="#F5F8FA"/> </g> <defs> <clipPath id="clip0"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="white"/> </clipPath> </defs>'};var r=n(5813);e.exports=r(e.exports)},7393:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M1.33333 0.666667C1.33333 1.03486 1.03486 1.33333 0.666667 1.33333C0.298477 1.33333 0 1.03486 0 0.666667C0 0.298477 0.298477 0 0.666667 0C1.03486 0 1.33333 0.298477 1.33333 0.666667ZM4 0.666667C4 1.03486 3.70152 1.33333 3.33333 1.33333C2.96514 1.33333 2.66667 1.03486 2.66667 0.666667C2.66667 0.298477 2.96514 0 3.33333 0C3.70152 0 4 0.298477 4 0.666667ZM9.33333 0.666667C9.33333 1.03486 9.03486 1.33333 8.66667 1.33333C8.29848 1.33333 8 1.03486 8 0.666667C8 0.298477 8.29848 0 8.66667 0C9.03486 0 9.33333 0.298477 9.33333 0.666667ZM6 1.33333C6.36819 1.33333 6.66667 1.03486 6.66667 0.666667C6.66667 0.298477 6.36819 0 6 0C5.63181 0 5.33333 0.298477 5.33333 0.666667C5.33333 1.03486 5.63181 1.33333 6 1.33333ZM0.666667 6.66667C1.03486 6.66667 1.33333 6.36819 1.33333 6C1.33333 5.63181 1.03486 5.33333 0.666667 5.33333C0.298477 5.33333 0 5.63181 0 6C0 6.36819 0.298477 6.66667 0.666667 6.66667ZM1.33333 3.33333C1.33333 3.70152 1.03486 4 0.666667 4C0.298477 4 0 3.70152 0 3.33333C0 2.96514 0.298477 2.66667 0.666667 2.66667C1.03486 2.66667 1.33333 2.96514 1.33333 3.33333ZM0.666667 12C1.03486 12 1.33333 11.7015 1.33333 11.3333C1.33333 10.9651 1.03486 10.6667 0.666667 10.6667C0.298477 10.6667 0 10.9651 0 11.3333C0 11.7015 0.298477 12 0.666667 12ZM1.33333 8.66667C1.33333 9.03486 1.03486 9.33333 0.666667 9.33333C0.298477 9.33333 0 9.03486 0 8.66667C0 8.29848 0.298477 8 0.666667 8C1.03486 8 1.33333 8.29848 1.33333 8.66667ZM3.33333 12C3.70152 12 4 11.7015 4 11.3333C4 10.9651 3.70152 10.6667 3.33333 10.6667C2.96514 10.6667 2.66667 10.9651 2.66667 11.3333C2.66667 11.7015 2.96514 12 3.33333 12ZM9.33333 11.3333C9.33333 11.7015 9.03486 12 8.66667 12C8.29848 12 8 11.7015 8 11.3333C8 10.9651 8.29848 10.6667 8.66667 10.6667C9.03486 10.6667 9.33333 10.9651 9.33333 11.3333ZM11.3333 12C11.7015 12 12 11.7015 12 11.3333C12 10.9651 11.7015 10.6667 11.3333 10.6667C10.9651 10.6667 10.6667 10.9651 10.6667 11.3333C10.6667 11.7015 10.9651 12 11.3333 12ZM6.66667 11.3333C6.66667 11.7015 6.36819 12 6 12C5.63181 12 5.33333 11.7015 5.33333 11.3333C5.33333 10.9651 5.63181 10.6667 6 10.6667C6.36819 10.6667 6.66667 10.9651 6.66667 11.3333ZM11.3333 9.33333C11.7015 9.33333 12 9.03486 12 8.66667C12 8.29848 11.7015 8 11.3333 8C10.9651 8 10.6667 8.29848 10.6667 8.66667C10.6667 9.03486 10.9651 9.33333 11.3333 9.33333ZM12 6C12 6.36819 11.7015 6.66667 11.3333 6.66667C10.9651 6.66667 10.6667 6.36819 10.6667 6C10.6667 5.63181 10.9651 5.33333 11.3333 5.33333C11.7015 5.33333 12 5.63181 12 6ZM11.3333 1.33333C11.7015 1.33333 12 1.03486 12 0.666667C12 0.298477 11.7015 0 11.3333 0C10.9651 0 10.6667 0.298477 10.6667 0.666667C10.6667 1.03486 10.9651 1.33333 11.3333 1.33333ZM12 3.33333C12 3.70152 11.7015 4 11.3333 4C10.9651 4 10.6667 3.70152 10.6667 3.33333C10.6667 2.96514 10.9651 2.66667 11.3333 2.66667C11.7015 2.66667 12 2.96514 12 3.33333ZM2.66667 3.33333C2.66667 2.96514 2.96514 2.66667 3.33333 2.66667H8.66667C9.03486 2.66667 9.33333 2.96514 9.33333 3.33333C9.33333 3.70152 9.03486 4 8.66667 4H6.66667V8.66667C6.66667 9.03486 6.36819 9.33333 6 9.33333C5.63181 9.33333 5.33333 9.03486 5.33333 8.66667V4H3.33333C2.96514 4 2.66667 3.70152 2.66667 3.33333Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},69499:(e,t,n)=>{e.exports={attributes:{width:"19",height:"22",viewBox:"0 0 19 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M18.1667 9.55666C19.2778 10.1982 19.2778 11.8019 18.1667 12.4434L3.16666 21.1037C2.05554 21.7452 0.666656 20.9433 0.666656 19.6603L0.666657 2.33978C0.666657 1.05678 2.05555 0.254901 3.16666 0.896401L18.1667 9.55666Z" fill="#00BCD4"/>'};var r=n(5813);e.exports=r(e.exports)},51195:(e,t,n)=>{e.exports={attributes:{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M16.3189 32C25.1555 32 32.3189 24.8366 32.3189 16C32.3189 7.16344 25.1555 0 16.3189 0C7.48235 0 0.318909 7.16344 0.318909 16C0.318909 24.8366 7.48235 32 16.3189 32Z" fill="#00A1B7"/> <path class="player2" d="M23.0538 15.5606C23.4073 15.7559 23.4073 16.2441 23.0538 16.4394L13.1141 21.9313C12.7607 22.1265 12.3189 21.8825 12.3189 21.4919L12.3189 10.5081C12.3189 10.1175 12.7607 9.87346 13.1141 10.0687L23.0538 15.5606Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},1250:(e,t,n)=>{e.exports={attributes:{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1.53688 0.978013C0.871153 0.55437 0 1.03258 0 1.82167V12.1783C0 12.9674 0.87115 13.4456 1.53688 13.022L9.67424 7.84366C10.2917 7.45071 10.2917 6.54929 9.67425 6.15634L1.53688 0.978013Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},25637:(e,t,n)=>{e.exports={attributes:{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M8 0C8.55228 0 9 0.447714 9 0.999999L9.00001 12.5858L14.2929 7.29289C14.6834 6.90237 15.3166 6.90237 15.7071 7.29289C16.0976 7.68342 16.0976 8.31658 15.7071 8.70711L8.71049 15.7037C8.69991 15.7144 8.68909 15.7249 8.67804 15.735C8.59151 15.815 8.49429 15.8768 8.39122 15.9206C8.27192 15.9713 8.14074 15.9996 8.00301 16L8.00002 16L7.99078 16C7.86178 15.9988 7.73861 15.9732 7.62569 15.9276C7.50456 15.8788 7.39106 15.8053 7.29289 15.7071L0.292893 8.70711C-0.0976311 8.31658 -0.0976311 7.68342 0.292893 7.29289C0.683417 6.90237 1.31658 6.90237 1.70711 7.29289L7.00001 12.5858L7 1C7 0.447716 7.44771 0 8 0Z" fill="white"/>   <path class="graphic" d="M1 18C0.447715 18 7.45058e-09 18.4477 7.45058e-09 19C7.45058e-09 19.5523 0.447715 20 1 20L15 20C15.5523 20 16 19.5523 16 19C16 18.4477 15.5523 18 15 18L1 18Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},47137:(e,t,n)=>{e.exports={attributes:{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M12.2292 3.14583C12.2292 2.6856 11.8562 2.3125 11.3959 2.3125C10.9357 2.3125 10.5626 2.6856 10.5626 3.14583L10.5626 18.1458C10.5626 18.6061 10.9357 18.9792 11.3959 18.9792C11.8562 18.9792 12.2292 18.6061 12.2292 18.1458V3.14583Z" fill="white"/>   <path d="M8.89592 3.97917H4.72925C3.34854 3.97917 2.22925 5.09845 2.22925 6.47917V14.8125C2.22925 16.1932 3.34854 17.3125 4.72925 17.3125H8.89592C9.35615 17.3125 9.72925 16.9394 9.72925 16.4792C9.72925 16.0189 9.35615 15.6458 8.89592 15.6458H4.72925C4.26901 15.6458 3.89591 15.2727 3.89591 14.8125V6.47917C3.89591 6.01893 4.26901 5.64583 4.72925 5.64583H8.89592C9.35615 5.64583 9.72925 5.27274 9.72925 4.8125C9.72925 4.35226 9.35615 3.97917 8.89592 3.97917Z" fill="white"/>   <path d="M16.3959 15.6458H13.8959C13.4357 15.6458 13.0626 16.0189 13.0626 16.4792C13.0626 16.9394 13.4357 17.3125 13.8959 17.3125H16.3959C17.7766 17.3125 18.8959 16.1932 18.8959 14.8125V6.47917C18.8959 5.09845 17.7766 3.97917 16.3959 3.97917H13.8959C13.4357 3.97917 13.0626 4.35226 13.0626 4.8125C13.0626 5.27274 13.4357 5.64583 13.8959 5.64583H16.3959C16.8562 5.64583 17.2292 6.01893 17.2292 6.47917V14.8125C17.2292 15.2727 16.8562 15.6458 16.3959 15.6458Z" fill="white"/>   <path d="M13.8959 7.3125C13.4357 7.3125 13.0626 7.6856 13.0626 8.14583C13.0626 8.60607 13.4357 8.97917 13.8959 8.97917H15.5626C16.0228 8.97917 16.3959 8.60607 16.3959 8.14583C16.3959 7.6856 16.0228 7.3125 15.5626 7.3125H13.8959Z" fill="white"/>   <path d="M13.0626 13.1458C13.0626 12.6856 13.4357 12.3125 13.8959 12.3125H15.5626C16.0228 12.3125 16.3959 12.6856 16.3959 13.1458C16.3959 13.6061 16.0228 13.9792 15.5626 13.9792H13.8959C13.4357 13.9792 13.0626 13.6061 13.0626 13.1458Z" fill="white"/>   <path d="M13.8959 9.8125C13.4357 9.8125 13.0626 10.1856 13.0626 10.6458C13.0626 11.1061 13.4357 11.4792 13.8959 11.4792H15.5626C16.0228 11.4792 16.3959 11.1061 16.3959 10.6458C16.3959 10.1856 16.0228 9.8125 15.5626 9.8125H13.8959Z" fill="white"/>   <path d="M8.9625 10.4661C9.22917 10.62 9.22917 11.005 8.9625 11.1589L6.4125 12.6312C6.14583 12.7851 5.8125 12.5927 5.8125 12.2847V9.34026C5.8125 9.03234 6.14583 8.83989 6.4125 8.99385L8.9625 10.4661Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},36520:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M9 7h4a1 1 0 0 1 0 2H9v4a1 1 0 0 1-2 0V9H3a1 1 0 1 1 0-2h4V3a1 1 0 1 1 2 0v4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},14211:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"10",viewBox:"0 0 21 10"},content:'<g fill="none" fill-rule="evenodd">         <path fill="#ED5454" d="M3 0h1v10H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z"/>         <path fill="#8BC34A" d="M18 0h-1v10h1a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3z"/>         <path fill="#FDA639" d="M4 0h13v10H4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},49962:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"10",viewBox:"0 0 21 10"},content:'<g fill="none" fill-rule="evenodd">         <rect width="21" height="10" fill="#F5F5F5" rx="3"/>         <path fill="#8BC34A" d="M3 0h13v10H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},54958:(e,t,n)=>{e.exports={attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4 2C2.89543 2 2 2.89543 2 4V6C2 7.10457 2.89543 8 4 8H20C21.1046 8 22 7.10457 22 6V4C22 2.89543 21.1046 2 20 2H4ZM8 4H20V6H8V4Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 11C2 9.89543 2.89543 9 4 9H20C21.1046 9 22 9.89543 22 11V13C22 14.1046 21.1046 15 20 15H4C2.89543 15 2 14.1046 2 13V11ZM20 11H12V13H20V11Z" fill="black"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M2 18C2 16.8954 2.89543 16 4 16H20C21.1046 16 22 16.8954 22 18V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V18ZM16 18H20V20H16V18Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},38312:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M11.375 4.37437L10.5059 5.24354L8.75586 3.49354L9.62503 2.62437C9.87003 2.37937 10.185 2.2627 10.5 2.2627C10.815 2.2627 11.13 2.37937 11.375 2.62437C11.8592 3.10854 11.8592 3.8902 11.375 4.37437Z" fill="black"/>   <path class="graphic" d="M10.0967 5.65788L3.79086 11.9579C3.30669 12.442 2.52503 12.442 2.04086 11.9579C1.55669 11.4737 1.55669 10.692 2.04086 10.2079L8.34672 3.90788L10.0967 5.65788Z" fill="black"/>   <path class="graphic" d="M5.80511 2.04197L6.04427 1.23113C6.06761 1.1553 6.04427 1.07363 5.99177 1.0153C5.93927 0.956966 5.84594 0.933633 5.77011 0.956966L4.95928 1.19613L4.14845 0.956966C4.07261 0.933633 3.99095 0.956966 3.93261 1.00947C3.87428 1.0678 3.85678 1.14947 3.88011 1.2253L4.11345 2.04197L3.87428 2.8528C3.85095 2.92863 3.87428 3.0103 3.92678 3.06863C3.98511 3.12697 4.06678 3.14447 4.14261 3.12113L4.95928 2.8878L5.77011 3.12697C5.79345 3.1328 5.81095 3.13863 5.83427 3.13863C5.89261 3.13863 5.94511 3.1153 5.99177 3.07447C6.05011 3.01613 6.06761 2.93447 6.04427 2.85863L5.80511 2.04197Z" fill="black"/>   <path class="graphic" d="M3.47113 5.54197L3.71029 4.73113C3.73363 4.65529 3.71029 4.57363 3.65779 4.5153C3.59946 4.45697 3.51779 4.43947 3.44196 4.4628L2.62529 4.69613L1.81446 4.45697C1.73862 4.43363 1.65696 4.45697 1.59863 4.50947C1.54029 4.5678 1.52279 4.64947 1.54613 4.7253L1.77946 5.54197L1.54029 6.35279C1.51696 6.42863 1.54029 6.51029 1.59279 6.56863C1.65113 6.62696 1.73279 6.64446 1.80862 6.62113L2.61946 6.38196L3.43029 6.62113C3.44779 6.62696 3.47113 6.62696 3.49446 6.62696C3.55279 6.62696 3.60529 6.60363 3.65196 6.56279C3.71029 6.50446 3.72779 6.42279 3.70446 6.34696L3.47113 5.54197Z" fill="black"/>   <path class="graphic" d="M12.2202 8.45834L12.4593 7.6475C12.4827 7.57167 12.4593 7.49 12.4068 7.43167C12.3485 7.37334 12.2668 7.35584 12.191 7.37917L11.3802 7.61834L10.5693 7.37917C10.4935 7.35584 10.4118 7.37917 10.3535 7.43167C10.2952 7.49 10.2777 7.57167 10.301 7.6475L10.5402 8.45834L10.301 9.26917C10.2777 9.34501 10.301 9.42667 10.3535 9.485C10.4118 9.54334 10.4935 9.56084 10.5693 9.5375L11.3802 9.29834L12.191 9.5375C12.2085 9.54334 12.2318 9.54334 12.2552 9.54334C12.3135 9.54334 12.366 9.52 12.4127 9.47917C12.471 9.42084 12.4885 9.33917 12.4652 9.26334L12.2202 8.45834Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},40286:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphics" fill="#AEB7B8" fill-rule="evenodd" d="M13.333 8A5.333 5.333 0 1 1 2.667 8a5.333 5.333 0 0 1 10.666 0zm1.334 0A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0zM6.998 5.735a1.406 1.406 0 0 0-.331.932.667.667 0 0 1-1.334 0c0-.642.214-1.306.669-1.818C6.468 4.324 7.152 4 8 4c1.687 0 2.667 1.357 2.667 2.667 0 .417-.106.781-.372 1.116-.232.292-.565.532-.925.772-.472.314-.624.498-.673.58-.026.042-.03.05-.03.198a.667.667 0 0 1-1.334 0v-.01c0-.187 0-.507.22-.874.201-.335.549-.651 1.077-1.004.369-.246.535-.383.621-.491.052-.065.082-.125.082-.287 0-.69-.495-1.334-1.333-1.334-.486 0-.801.176-1.002.402zm1.669 5.598a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0z"/>'};var r=n(5813);e.exports=r(e.exports)},67308:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7.608 13.954a9.589 9.589 0 0 1-1.255 1.265 7.536 7.536 0 0 1-1.765 1.118 1 1 0 1 0 .824 1.822 9.455 9.455 0 0 0 2.235-1.416C9.639 15.051 11 12.969 11 10a4 4 0 1 0-3.392 3.954zm8.745 1.265a9.589 9.589 0 0 0 1.255-1.265A4 4 0 1 1 21 10c0 2.969-1.361 5.051-3.353 6.743a9.455 9.455 0 0 1-2.235 1.416.999.999 0 1 1-.824-1.822 7.536 7.536 0 0 0 1.765-1.118z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},8507:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#00a1b7" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},80764:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#AEB7B8" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},98763:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#e8e8e8" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},55009:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#ed5454" d="M4 12V3a1 1 0 0 1 1-1h4c1.264 0 2.233.641 2.942 1.11l.084.055C12.814 3.685 13.342 4 14 4c.745 0 1.811-.398 2.803-.894a18.198 18.198 0 0 0 1.617-.921l.021-.014.005-.003A.998.998 0 0 1 20 3v9a1 1 0 0 1-.445.832L19 12l.555.832-.005.003-.008.006-.03.019-.108.07a20.529 20.529 0 0 1-1.707.964C16.689 14.398 15.255 15 14 15c-1.301 0-2.315-.645-3.062-1.121l-.055-.035C10.05 13.314 9.517 13 8.889 13H6v8a1 1 0 0 1-2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71138:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#00a1b7" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},85625:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#AEB7B8" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},16030:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#e8e8e8" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},61335:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#ed5454" fill-rule="evenodd" d="M12 5.683C10.842 4.777 9.185 4 7.5 4 4.724 4 2 6.296 2 9.688c0 1.52.245 2.73.773 3.83.52 1.084 1.285 1.996 2.206 2.956 1.036 1.08 2.713 2.192 4.056 3.004a47.811 47.811 0 0 0 2.454 1.383l.04.021.01.006.005.002L12 20l-.456.89c.286.146.626.147.912 0L12 20l.456.89.004-.002.011-.006.04-.02.15-.079c.128-.068.313-.166.54-.29.453-.248 1.078-.6 1.764-1.015 1.343-.812 3.02-1.925 4.056-3.004.921-.96 1.685-1.872 2.206-2.955.528-1.101.773-2.31.773-3.832C22 6.297 19.276 4 16.5 4c-1.685 0-3.342.777-4.5 1.683z"/>'};var r=n(5813);e.exports=r(e.exports)},37322:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#00a1b7" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},75851:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#AEB7B8" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},4735:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#e8e8e8" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},76936:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<path fill="#fda639" fill-rule="evenodd" d="M10.548 3.807c.467-1.343 2.367-1.343 2.834 0l1.65 4.748 5.026.103c1.422.029 2.009 1.836.875 2.695l-4.005 3.037 1.455 4.81c.412 1.362-1.125 2.479-2.292 1.666l-4.126-2.87-4.126 2.87c-1.167.813-2.704-.304-2.293-1.665l1.456-4.811-4.006-3.037c-1.133-.86-.546-2.666.876-2.695l5.026-.103 1.65-4.748z"/>'};var r=n(5813);e.exports=r(e.exports)},14698:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0002 32C24.8368 32 32.0002 24.8366 32.0002 16C32.0002 7.16344 24.8368 0 16.0002 0C7.16369 0 0.000244141 7.16344 0.000244141 16C0.000244141 24.8366 7.16369 32 16.0002 32Z" fill="#00A1B7"/> <rect x="11.0002" y="11" width="10" height="10" rx="5" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},20065:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M4.58963 3.36764C4.85564 3.10011 5.28727 3.10011 5.55328 3.36764C5.81876 3.63464 5.81876 4.06716 5.55328 4.33416L4.65667 5.23596H10.5572C12.8277 5.23596 14.6667 7.0869 14.6667 9.36814C14.6667 11.6494 12.8277 13.5003 10.5572 13.5003H5.75717C5.3802 13.5003 5.07622 13.1932 5.07622 12.8164C5.07622 12.4396 5.3802 12.1325 5.75717 12.1325H10.5572C12.0737 12.1325 13.3048 10.8958 13.3048 9.36814C13.3048 7.84052 12.0737 6.60377 10.5572 6.60377H4.65667L5.55328 7.50557C5.81876 7.77258 5.81876 8.20506 5.55328 8.47207C5.28727 8.73961 4.85564 8.73961 4.58963 8.47207L2.53249 6.40312C2.267 6.13612 2.267 5.70361 2.53249 5.43661L4.58963 3.36764Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},88170:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z" fill="#00A1B7"/> <path d="M15.3333 9.33337C14.2288 9.33337 13.3333 10.2288 13.3333 11.3334V12H11.3333C10.9651 12 10.6667 12.2985 10.6667 12.6667C10.6667 13.0349 10.9651 13.3334 11.3333 13.3334V20.6667C11.3333 21.7713 12.2288 22.6667 13.3333 22.6667H18.6667C19.7712 22.6667 20.6667 21.7713 20.6667 20.6667V13.3334C21.0348 13.3334 21.3333 13.0349 21.3333 12.6667C21.3333 12.2985 21.0348 12 20.6667 12H18.6667V11.3334C18.6667 10.2288 17.7712 9.33337 16.6667 9.33337H15.3333ZM17.3333 12H14.6667V11.3334C14.6667 10.9652 14.9651 10.6667 15.3333 10.6667H16.6667C17.0348 10.6667 17.3333 10.9652 17.3333 11.3334V12ZM12.6667 13.3334L19.3333 13.3334V20.6667C19.3333 21.0349 19.0348 21.3334 18.6667 21.3334H13.3333C12.9651 21.3334 12.6667 21.0349 12.6667 20.6667V13.3334ZM15.3333 15.3334V19.3334C15.3333 19.7016 15.0348 20 14.6667 20C14.2985 20 14 19.7016 14 19.3334V15.3334C14 14.9652 14.2985 14.6667 14.6667 14.6667C15.0348 14.6667 15.3333 14.9652 15.3333 15.3334ZM17.3333 14.6667C16.9651 14.6667 16.6667 14.9652 16.6667 15.3334V19.3334C16.6667 19.7016 16.9651 20 17.3333 20C17.7015 20 18 19.7016 18 19.3334V15.3334C18 14.9652 17.7015 14.6667 17.3333 14.6667Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},36039:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.66683 4C4.29864 4 4.00016 4.29848 4.00016 4.66667C4.00016 5.03486 4.29864 5.33333 4.66683 5.33333H9.3335C10.5761 5.33333 11.6201 6.18318 11.9162 7.33333H11.0819C10.728 7.33333 10.537 7.7762 10.7674 8.06287L12.1007 9.72221C12.3983 10.0926 12.9354 10.0926 13.233 9.72221L14.5663 8.06287C14.7966 7.7762 14.6057 7.33333 14.2518 7.33333H13.2782C12.9608 5.44152 11.3155 4 9.3335 4H4.66683Z" fill="black"/>   <path class="graphic" d="M12.0002 11.3333C12.0002 11.7015 11.7017 12 11.3335 12H6.66683C4.68483 12 3.03952 10.5585 2.72213 8.66667H1.74857C1.39463 8.66667 1.20369 8.2238 1.43403 7.93713L2.76732 6.27779C3.06493 5.9074 3.60207 5.9074 3.89967 6.27779L5.23296 7.93713C5.4633 8.2238 5.27236 8.66667 4.91842 8.66667H4.08417C4.3802 9.81682 5.42427 10.6667 6.66683 10.6667H11.3335C11.7017 10.6667 12.0002 10.9651 12.0002 11.3333Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},91323:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M12 6v6H6zM4 4h6l-6 6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61762:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164Z" fill="#00A1B7"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#00A1B7"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 33C19.5 37.9706 15.4706 42 10.5 42C5.52944 42 1.5 37.9706 1.5 33C1.5 28.0294 5.52944 24 10.5 24C15.4706 24 19.5 28.0294 19.5 33ZM12.8625 30.6375C12.8625 31.9423 11.8048 33 10.5 33C9.19523 33 8.1375 31.9423 8.1375 30.6375C8.1375 29.3327 9.19523 28.275 10.5 28.275C11.8048 28.275 12.8625 29.3327 12.8625 30.6375ZM13.8718 37.0538C14.3662 36.8479 14.5539 36.2508 14.224 35.829C13.3592 34.7233 12.0126 34.0125 10.5 34.0125C8.98738 34.0125 7.64079 34.7233 6.77596 35.829C6.44606 36.2508 6.6338 36.8479 7.12812 37.0538C8.16623 37.4862 9.30522 37.725 10.5 37.725C11.6947 37.725 12.8337 37.4862 13.8718 37.0538Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},80562:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164Z" fill="#A5B3BD"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#A5B3BD"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M19.5 33C19.5 37.9706 15.4706 42 10.5 42C5.52944 42 1.5 37.9706 1.5 33C1.5 28.0294 5.52944 24 10.5 24C15.4706 24 19.5 28.0294 19.5 33ZM12.8625 30.6375C12.8625 31.9423 11.8048 33 10.5 33C9.19523 33 8.1375 31.9423 8.1375 30.6375C8.1375 29.3327 9.19523 28.275 10.5 28.275C11.8048 28.275 12.8625 29.3327 12.8625 30.6375ZM13.8718 37.0538C14.3662 36.8479 14.5539 36.2508 14.224 35.829C13.3592 34.7233 12.0126 34.0125 10.5 34.0125C8.98738 34.0125 7.64079 34.7233 6.77596 35.829C6.44606 36.2508 6.6338 36.8479 7.12812 37.0538C8.16623 37.4862 9.30522 37.725 10.5 37.725C11.6947 37.725 12.8337 37.4862 13.8718 37.0538Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},77142:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#00A1B7"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},30315:(e,t,n)=>{e.exports={attributes:{width:"47",height:"46",viewBox:"0 0 47 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M44.1583 11.3914C44.1583 9.56889 42.6808 8.09143 40.8583 8.09143H33.275C32.557 8.09143 31.975 8.67346 31.975 9.39143C31.975 10.1094 32.557 10.6914 33.275 10.6914H40.8583C41.2449 10.6914 41.5583 11.0048 41.5583 11.3914V16.0998C41.5583 16.8177 42.1403 17.3998 42.8583 17.3998C43.5763 17.3998 44.1583 16.8177 44.1583 16.0998V11.3914ZM15.4083 9.39143C15.4083 8.67346 14.8263 8.09143 14.1083 8.09143H6.52497C4.70243 8.09143 3.22498 9.56889 3.22498 11.3914V16.0998C3.22498 16.8177 3.807 17.3998 4.52497 17.3998C5.24295 17.3998 5.82497 16.8177 5.82497 16.0998V11.3914C5.82497 11.0048 6.13837 10.6914 6.52497 10.6914H14.1083C14.8263 10.6914 15.4083 10.1094 15.4083 9.39143ZM42.8583 28.2164C42.1403 28.2164 41.5583 28.7985 41.5583 29.5164V34.2248C41.5583 34.6114 41.2449 34.9248 40.8583 34.9248H33.275C32.557 34.9248 31.975 35.5068 31.975 36.2248C31.975 36.9427 32.557 37.5248 33.275 37.5248H40.8583C42.6808 37.5248 44.1583 36.0473 44.1583 34.2248V29.5164C44.1583 28.7985 43.5763 28.2164 42.8583 28.2164ZM4.52497 28.2164C3.807 28.2164 3.22498 28.7985 3.22498 29.5164V34.2248C3.22498 36.0473 4.70243 37.5248 6.52497 37.5248H14.1083C14.8263 37.5248 15.4083 36.9427 15.4083 36.2248C15.4083 35.5068 14.8263 34.9248 14.1083 34.9248H6.52497C6.13838 34.9248 5.82497 34.6114 5.82497 34.2248V29.5164C5.82497 28.7985 5.24295 28.2164 4.52497 28.2164Z" fill="#A5B3BD"/> <path d="M29.5833 23C29.5833 21.8 28.1274 21.0236 25.2157 19.4706C22.5888 18.0696 21.2753 17.3691 20.3043 17.9517L20.3043 17.9517C19.3333 18.5343 19.3333 20.0229 19.3333 23C19.3333 25.9772 19.3333 27.4658 20.3043 28.0484C21.2753 28.631 22.5888 27.9305 25.2157 26.5295C28.1274 24.9765 29.5833 24.2 29.5833 23Z" fill="#A5B3BD"/>'};var r=n(5813);e.exports=r(e.exports)},26350:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <circle cx="9.5" cy="6.5" r="5" stroke="#5C6061"/>         <path class="graphic" stroke="#5C6061" stroke-linecap="round" stroke-width="2" d="M5 11l-2.5 2.5"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},31665:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M10.667 3.333a1.333 1.333 0 1 0 0 2.667 1.333 1.333 0 0 0 0-2.667zM8 4.667a2.667 2.667 0 1 1 .487 1.537l-1.356.775c.13.314.202.659.202 1.021 0 .362-.072.707-.202 1.021l1.356.775a2.667 2.667 0 1 1-.474 1.265l-1.694-.968a2.667 2.667 0 1 1 0-4.187l1.695-.967A2.712 2.712 0 0 1 8 4.667zm-3.333 2a1.333 1.333 0 1 0 0 2.666 1.333 1.333 0 0 0 0-2.666zm4.666 4.666a1.333 1.333 0 1 1 2.667 0 1.333 1.333 0 0 1-2.667 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},71571:(e,t,n)=>{e.exports={attributes:{width:"19",height:"17",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M6 0C6.55228 0 7 0.447715 7 1V7H11V1C11 0.447715 11.4477 0 12 0C12.5523 0 13 0.447715 13 1V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V9H7V15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15V1C5 0.447715 5.44772 0 6 0Z" fill="black"/>   <path class="graphic" d="M16.4592 11C16.3183 11 16.1852 11.0647 16.0981 11.1755C16.0819 11.1962 16.0697 11.2148 16.0612 11.23C16.0942 11.3176 16.134 11.3773 16.1718 11.4124C16.1919 11.4311 16.2178 11.4492 16.2583 11.4646C16.2998 11.4803 16.3751 11.5 16.5 11.5C17.1025 11.5 17.6161 11.654 18.0266 11.942C18.4313 12.2259 18.6665 12.5912 18.8005 12.904C19.1429 13.7037 18.7843 14.4426 18.5198 14.8273C17.5437 16.2471 15.5124 16.4183 14.3124 15.1819L14.2824 15.151C13.8978 14.7547 13.9072 14.1216 14.3035 13.737C14.6998 13.3523 15.3329 13.3618 15.7176 13.7581L15.7476 13.789C16.0682 14.1193 16.6109 14.0736 16.8717 13.6942C16.8916 13.6653 16.907 13.6392 16.9184 13.6169C16.9059 13.6016 16.8924 13.5894 16.878 13.5793C16.8514 13.5606 16.7533 13.5 16.5 13.5C15.7988 13.5 15.2293 13.2667 14.8105 12.8776C14.4138 12.5091 14.2197 12.0641 14.1223 11.7345C13.9022 10.9897 14.2163 10.3334 14.5255 9.93987C14.9917 9.34648 15.7046 9 16.4592 9H16.5432C16.8963 9 17.2459 9.07108 17.571 9.20902L18.0156 9.3976C18.524 9.61329 18.7613 10.2003 18.5456 10.7087C18.3299 11.2172 17.7429 11.4545 17.2344 11.2388L16.7899 11.0502C16.7119 11.0171 16.628 11 16.5432 11H16.4592Z" fill="black"/>   <path class="graphic" d="M2.31204 9.6109C2.15191 9.81056 1.84807 9.81056 1.68794 9.6109L0.11556 7.65025C-0.0944184 7.38842 0.0919813 7 0.427607 7H3.57237C3.908 7 4.0944 7.38842 3.88442 7.65025L2.31204 9.6109Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},37620:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h16v16H0z"/>         <path class="graphic" fill="#AEB7B8" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm0 1A6 6 0 1 1 8 2a6 6 0 0 1 0 12zM6 9h4c0 1.333-.667 2-2 2s-2-.667-2-2zm4-1c-.552 0-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5S10.552 8 10 8zM6 8c-.552 0-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5S6.552 8 6 8z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},17884:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#FFF" fill-rule="evenodd" d="M2.667 3.333a.667.667 0 0 0 0 1.334H8a.667.667 0 1 0 0-1.334H2.667zM2 8c0-.368.298-.667.667-.667h8a.667.667 0 1 1 0 1.334h-8A.667.667 0 0 1 2 8zm0 4c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 12z"/>'};var r=n(5813);e.exports=r(e.exports)},59681:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path class="graphic" fill="#FFF" fill-rule="evenodd" d="M2 4c0-.368.298-.667.667-.667h10.666a.667.667 0 1 1 0 1.334H2.667A.667.667 0 0 1 2 4zm0 4c0-.368.298-.667.667-.667h8a.667.667 0 1 1 0 1.334h-8A.667.667 0 0 1 2 8zm.667 3.333a.667.667 0 1 0 0 1.334H8a.667.667 0 1 0 0-1.334H2.667z"/>'};var r=n(5813);e.exports=r(e.exports)},24570:(e,t,n)=>{e.exports={attributes:{width:"19",height:"14",viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" d="M1.13867 8.89784C0.437787 7.7297 0.437786 6.27037 1.13867 5.10223C1.36726 4.72125 1.75537 4.46355 2.19521 4.40072L4.5262 4.06772C4.82768 4.02465 5.09654 3.85521 5.26546 3.60182L5.63256 3.05118C5.9233 2.61507 6.06869 2.39699 6.23034 2.20094C6.80071 1.50925 7.54656 0.983633 8.38979 0.679139C8.62879 0.592836 8.88304 0.529272 9.39155 0.402145L10.0046 0.248883C10.3447 0.163862 10.5147 0.121352 10.6486 0.163014C10.7648 0.199186 10.8638 0.276507 10.9271 0.38048C11 0.500235 11 0.675509 11 1.02606V12.974C11 13.3246 11 13.4998 10.9271 13.6196C10.8638 13.7236 10.7648 13.8009 10.6486 13.8371C10.5147 13.8787 10.3447 13.8362 10.0046 13.7512L9.39155 13.5979C8.88304 13.4708 8.62879 13.4072 8.38979 13.3209C7.54656 13.0164 6.80071 12.4908 6.23034 11.7991C6.06868 11.6031 5.92331 11.385 5.63256 10.9489L5.26546 10.3983C5.09654 10.1449 4.82768 9.97542 4.5262 9.93235L2.19521 9.59935C1.75537 9.53652 1.36726 9.27883 1.13867 8.89784Z" fill="#00A1B7"/> <path class="player" d="M18.7071 4.29293C19.0976 4.68345 19.0976 5.31662 18.7071 5.70714L17.4142 7.00004L18.7071 8.29293C19.0976 8.68345 19.0976 9.31662 18.7071 9.70714C18.3166 10.0977 17.6834 10.0977 17.2929 9.70714L16 8.41425L14.7071 9.70714C14.3166 10.0977 13.6834 10.0977 13.2929 9.70714C12.9024 9.31662 12.9024 8.68345 13.2929 8.29293L14.5858 7.00004L13.2929 5.70714C12.9024 5.31662 12.9024 4.68345 13.2929 4.29293C13.6834 3.90241 14.3166 3.90241 14.7071 4.29293L16 5.58582L17.2929 4.29293C17.6834 3.90241 18.3166 3.90241 18.7071 4.29293Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},10653:(e,t,n)=>{e.exports={attributes:{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="player" d="M1.13867 8.89784C0.437787 7.7297 0.437786 6.27037 1.13867 5.10223C1.36726 4.72125 1.75537 4.46355 2.19521 4.40072L4.5262 4.06772C4.82768 4.02465 5.09654 3.85521 5.26546 3.60182L5.63256 3.05118C5.92331 2.61505 6.06868 2.39699 6.23034 2.20094C6.80071 1.50925 7.54656 0.983633 8.38979 0.679139C8.62879 0.592835 8.88304 0.529272 9.39155 0.402145L10.0046 0.248883C10.3447 0.163862 10.5147 0.121352 10.6486 0.163014C10.7648 0.199186 10.8638 0.276507 10.9271 0.38048C11 0.500235 11 0.675509 11 1.02606V12.974C11 13.3246 11 13.4998 10.9271 13.6196C10.8638 13.7236 10.7648 13.8009 10.6486 13.8371C10.5147 13.8787 10.3447 13.8362 10.0046 13.7512L9.39155 13.5979C8.88304 13.4708 8.62879 13.4072 8.38979 13.3209C7.54656 13.0164 6.80071 12.4908 6.23034 11.7991C6.06868 11.6031 5.92331 11.385 5.63256 10.9489L5.26546 10.3983C5.09654 10.1449 4.82768 9.97542 4.5262 9.93235L2.19521 9.59935C1.75537 9.53652 1.36726 9.27883 1.13867 8.89784Z" fill="#00A1B7"/> <path class="player" fill-rule="evenodd" clip-rule="evenodd" d="M13.0052 2.93417C13.2981 2.64128 13.773 2.64128 14.0658 2.93417C15.1386 4.00696 15.744 5.46025 15.7499 6.97738C15.7559 8.49452 15.1621 9.95254 14.0978 11.0337C13.8072 11.3289 13.3323 11.3327 13.0371 11.0421C12.7419 10.7515 12.7382 10.2767 13.0288 9.98147C13.8154 9.18232 14.2544 8.10465 14.25 6.98329C14.2455 5.86193 13.7981 4.78776 13.0052 3.99483C12.7123 3.70194 12.7123 3.22707 13.0052 2.93417Z" fill="#00A1B7"/>'};var r=n(5813);e.exports=r(e.exports)},42941:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M8.81935 3.19213C9.20847 2.07268 10.7916 2.07267 11.1808 3.19213L12.5561 7.14875L16.7441 7.2341C17.929 7.25824 18.4182 8.76392 17.4738 9.47993L14.1358 12.0106L15.3488 16.02C15.692 17.1543 14.4112 18.0849 13.4384 17.408L10.0001 15.0154L6.56175 17.408C5.58895 18.0849 4.30813 17.1544 4.65132 16.02L5.86431 12.0106L2.52634 9.47993C1.58192 8.76393 2.07114 7.25824 3.25605 7.2341L7.44402 7.14875L8.81935 3.19213ZM10.0001 4.87159L8.9231 7.96984C8.75144 8.46368 8.29058 8.79851 7.76786 8.80917L4.48845 8.876L7.10227 10.8577C7.51889 11.1735 7.69493 11.7153 7.54353 12.2157L6.5937 15.3553L9.28608 13.4817C9.71522 13.1831 10.2849 13.1831 10.714 13.4817L13.4064 15.3553L12.4566 12.2157C12.3052 11.7153 12.4812 11.1735 12.8978 10.8577L15.5116 8.876L12.2322 8.80917C11.7095 8.79851 11.2487 8.46368 11.077 7.96984L10.0001 4.87159Z" fill="black" fill-opacity="0.54"/>'};var r=n(5813);e.exports=r(e.exports)},57551:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M3.10057 3.88063C3.22336 3.98697 3.22336 4.17746 3.10057 4.2838L1.77458 5.43214C1.60187 5.58171 1.33334 5.45903 1.33334 5.23056V2.93387C1.33334 2.7054 1.60187 2.58272 1.77458 2.73229L3.10057 3.88063ZM6.66667 3.41555C6.29848 3.41555 6 3.71402 6 4.08221C6 4.4504 6.29848 4.74888 6.66667 4.74888H14C14.3682 4.74888 14.6667 4.4504 14.6667 4.08221C14.6667 3.71402 14.3682 3.41555 14 3.41555H6.66667ZM6.66667 7.41555C6.29848 7.41555 6 7.71402 6 8.08221C6 8.4504 6.29848 8.74888 6.66667 8.74888H14C14.3682 8.74888 14.6667 8.4504 14.6667 8.08221C14.6667 7.71402 14.3682 7.41555 14 7.41555H6.66667ZM6 12.0822C6 11.714 6.29848 11.4155 6.66667 11.4155H14C14.3682 11.4155 14.6667 11.714 14.6667 12.0822C14.6667 12.4504 14.3682 12.7489 14 12.7489H6.66667C6.29848 12.7489 6 12.4504 6 12.0822Z" fill="#737373"/>   <path class="graphic" d="M5 2.66669C5.18409 2.66669 5.33333 2.81593 5.33333 3.00002V5.00002C5.33333 5.18412 5.18409 5.33335 5 5.33335C4.81591 5.33335 4.66667 5.18412 4.66667 5.00002V3.80476L4.56904 3.90239C4.43886 4.03256 4.22781 4.03256 4.09763 3.90239C3.96746 3.77221 3.96746 3.56116 4.09763 3.43098L4.7643 2.76432C4.82462 2.704 4.90795 2.66669 5 2.66669Z" fill="#737373"/>'};var r=n(5813);e.exports=r(e.exports)},14345:(e,t,n)=>{e.exports={attributes:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0002 32C24.8368 32 32.0002 24.8366 32.0002 16C32.0002 7.16344 24.8368 0 16.0002 0C7.16369 0 0.000244141 7.16344 0.000244141 16C0.000244141 24.8366 7.16369 32 16.0002 32Z" fill="#00A1B7"/> <rect x="11.0002" y="11" width="10" height="10" rx="1" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},27501:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12.073 4.245c-2.44 0-4.145 1.665-4.145 3.409 0 .866.421 1.713 1.144 2.346H6.526a4.867 4.867 0 0 1-.598-2.346c0-3.127 2.902-5.409 6.145-5.409 2.685 0 5.082 1.533 5.877 3.821a1 1 0 0 1-1.889.656c-.471-1.355-2.011-2.477-3.988-2.477zm-.345 8.809a.955.955 0 0 0 .132.008c2.44 0 4.145 1.666 4.145 3.409 0 1.744-1.705 3.409-4.145 3.409-1.164 0-2.196-.395-2.936-1.007a3.354 3.354 0 0 1-1.052-1.47 1 1 0 1 0-1.889.656 5.36 5.36 0 0 0 1.666 2.355c1.112.92 2.599 1.466 4.211 1.466 3.243 0 6.145-2.282 6.145-5.409 0-1.354-.544-2.55-1.426-3.471H19a1 1 0 0 0 0-2H5a1 1 0 0 0 0 2h6.146c.192.026.386.044.582.054z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},62428:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.00004 6C4.00004 3.79086 5.7909 2 8.00004 2C10.2092 2 12 3.79086 12 6V6.66667C12.7364 6.66667 13.3334 7.26362 13.3334 8V9.33333C13.3334 9.84269 13.0478 10.2853 12.628 10.5099C12.3825 12.1088 11.001 13.3333 9.33337 13.3333H9.155C8.92446 13.7319 8.49356 14 8.00004 14C7.26366 14 6.66671 13.403 6.66671 12.6667C6.66671 11.9303 7.26366 11.3333 8.00004 11.3333C8.49356 11.3333 8.92446 11.6015 9.155 12H9.33337C10.2076 12 10.9508 11.4391 11.2228 10.6575C10.9072 10.6048 10.6667 10.3305 10.6667 10V6C10.6667 4.52724 9.4728 3.33333 8.00004 3.33333C6.52728 3.33333 5.33337 4.52724 5.33337 6V10C5.33337 10.3682 5.0349 10.6667 4.66671 10.6667H4.00004C3.26366 10.6667 2.66671 10.0697 2.66671 9.33333V8C2.66671 7.26362 3.26366 6.66667 4.00004 6.66667V6Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},82481:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.68824 3.06668C5.51046 3.20002 5.51046 3.46668 5.68824 3.60002L7.46602 4.93335C7.68576 5.09816 7.99935 4.94136 7.99935 4.66668V4.00002C10.2085 4.00002 11.9993 5.79088 11.9993 8.00002C11.9993 8.75518 11.7907 9.45958 11.4283 10.061C11.2383 10.3764 11.3399 10.7861 11.6553 10.9761C11.9706 11.1661 12.3803 11.0645 12.5704 10.7491C13.0544 9.94584 13.3327 9.00441 13.3327 8.00002C13.3327 5.0545 10.9449 2.66668 7.99935 2.66668V2.00002C7.99935 1.72533 7.68576 1.56854 7.46602 1.73335L5.68824 3.06668ZM4.29082 5.08961C4.60952 5.27397 4.71843 5.68179 4.53407 6.0005C4.19412 6.58817 3.99935 7.27033 3.99935 8.00002C3.99935 10.2092 5.79021 12 7.99935 12V11.3333C7.99935 11.0587 8.31294 10.9019 8.53268 11.0667L10.3105 12.4C10.4882 12.5333 10.4882 12.8 10.3105 12.9333L8.53268 14.2667C8.31294 14.4315 7.99935 14.2747 7.99935 14V13.3333C5.05383 13.3333 2.66602 10.9455 2.66602 8.00002C2.66602 7.02969 2.92575 6.11801 3.37993 5.33286C3.56429 5.01416 3.97211 4.90525 4.29082 5.08961Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},18294:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M9.97429 3.51649C10.0754 3.16247 9.87045 2.79348 9.51642 2.69233C9.1624 2.59118 8.79341 2.79617 8.69226 3.15019L6.02559 12.4835C5.92444 12.8376 6.12944 13.2065 6.48346 13.3077C6.83749 13.4088 7.20648 13.2038 7.30763 12.8498L9.97429 3.51649ZM5.08307 4.1461C5.37058 4.3761 5.4172 4.79563 5.18719 5.08314L2.85369 8.00001L5.18719 10.9169C5.4172 11.2044 5.37058 11.6239 5.08307 11.8539C4.79557 12.0839 4.37604 12.0373 4.14603 11.7498L1.48772 8.42691C1.45077 8.38268 1.42032 8.33449 1.3965 8.28373C1.354 8.19355 1.33319 8.09656 1.33325 8.00001C1.33319 7.90346 1.354 7.80647 1.39649 7.71629C1.42031 7.66553 1.45077 7.61734 1.48772 7.57311L4.14603 4.25021C4.37604 3.9627 4.79556 3.91609 5.08307 4.1461ZM10.9168 4.1461C11.2043 3.91609 11.6238 3.9627 11.8539 4.25021L14.5123 7.57322C14.5485 7.61657 14.5784 7.66372 14.602 7.71337C14.6454 7.80438 14.6667 7.90242 14.6666 8.00001C14.6667 8.0976 14.6454 8.19564 14.602 8.28665C14.5784 8.33629 14.5485 8.38344 14.5123 8.42679L11.8539 11.7498C11.6238 12.0373 11.2043 12.0839 10.9168 11.8539C10.6293 11.6239 10.5827 11.2044 10.8127 10.9169L13.1462 8.00001L10.8127 5.08314C10.5827 4.79563 10.6293 4.3761 10.9168 4.1461Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},20913:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7zm3-1a1 1 0 0 0-1 1v4h7V6H5zm6 7H4v4a1 1 0 0 0 1 1h6v-5zm2 0h7v4a1 1 0 0 1-1 1h-6v-5zm7-2V7a1 1 0 0 0-1-1h-6v5h7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12216:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 3a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5zm0 2h4v4H5V5zm0 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H5zm0 2h4v4H5v-4zm8-6a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2h-6a1 1 0 0 1-1-1zm1-5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-6zm-1 11a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2h-6a1 1 0 0 1-1-1zm1 3a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2h-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},64268:(e,t,n)=>{e.exports={attributes:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M2.5 4.16667C2.5 3.24619 3.24619 2.5 4.16667 2.5H7.5C8.42047 2.5 9.16667 3.24619 9.16667 4.16667V7.5C9.16667 8.42047 8.42047 9.16667 7.5 9.16667H4.16667C3.24619 9.16667 2.5 8.42047 2.5 7.5V4.16667ZM7.5 4.16667H4.16667V7.5H7.5V4.16667Z" fill="black"/>   <path class="graphic" d="M2.5 12.5C2.5 11.5795 3.24619 10.8333 4.16667 10.8333H7.5C8.42047 10.8333 9.16667 11.5795 9.16667 12.5V15.8333C9.16667 16.7538 8.42047 17.5 7.5 17.5H4.16667C3.24619 17.5 2.5 16.7538 2.5 15.8333V12.5ZM7.5 12.5H4.16667V15.8333H7.5V12.5Z" fill="black"/>   <path class="graphic" d="M12.5 2.5C11.5795 2.5 10.8333 3.24619 10.8333 4.16667V15.8333C10.8333 16.7538 11.5795 17.5 12.5 17.5H15.8333C16.7538 17.5 17.5 16.7538 17.5 15.8333V4.16667C17.5 3.24619 16.7538 2.5 15.8333 2.5H12.5ZM12.5 4.16667H15.8333V15.8333H12.5V4.16667Z" fill="black"/>'};var r=n(5813);e.exports=r(e.exports)},62171:(e,t,n)=>{e.exports={attributes:{width:"31",height:"35",viewBox:"0 0 31 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0 23.9C0 23.4029 0.402944 23 0.9 23H26.9272C27.4242 23 27.8272 23.4029 27.8272 23.9V24.2C27.8272 24.6971 27.4242 25.1 26.9272 25.1H0.9C0.402943 25.1 0 24.6971 0 24.2V23.9ZM0 28.4C0 27.9029 0.402944 27.5 0.9 27.5H26.9272C27.4242 27.5 27.8272 27.9029 27.8272 28.4V28.7C27.8272 29.1971 27.4242 29.6 26.9272 29.6H0.9C0.402943 29.6 0 29.1971 0 28.7V28.4ZM0.9 32C0.402944 32 0 32.4029 0 32.9V33.2C0 33.6971 0.402944 34.1 0.900001 34.1H19.063C19.56 34.1 19.963 33.6971 19.963 33.2V32.9C19.963 32.4029 19.56 32 19.063 32H0.9Z" fill="#E8E8E8"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z" fill="#E8E8E8"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M19.3152 4.88556L16.9452 16.0355L30.9733 7.36356L19.3152 4.88556Z" fill="#E8E8E8"/>'};var r=n(5813);e.exports=r(e.exports)},76094:(e,t,n)=>{e.exports={attributes:{width:"9",height:"10",viewBox:"0 0 9 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.65527 10V2.71289H8.30225V0.840332H0.691406V2.71289H3.33203V10H5.65527Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},88536:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h16v16H0z"/>         <path class="graphic" fill="#5C6061" d="M3.333 2C2.597 2 2 2.597 2 3.333V6c0 .736.597 1.333 1.333 1.333H6c.737 0 1.333-.597 1.333-1.333V3.333C7.333 2.597 6.737 2 6 2H3.333zm0 1.333H6V6H3.333V3.333zm0 5.334C2.597 8.667 2 9.264 2 10v2.667C2 13.403 2.597 14 3.333 14H6c.737 0 1.333-.597 1.333-1.333V10c0-.736-.596-1.333-1.333-1.333H3.333zm0 1.333H6v2.667H3.333V10zm5.334-4c0-.368.298-.667.666-.667h4a.667.667 0 0 1 0 1.334h-4A.667.667 0 0 1 8.667 6zm.666-3.333a.667.667 0 0 0 0 1.333h4a.667.667 0 0 0 0-1.333h-4zM8.667 10c0-.368.298-.667.666-.667h4a.667.667 0 0 1 0 1.334h-4A.667.667 0 0 1 8.667 10zm.666 2a.667.667 0 0 0 0 1.333h4a.667.667 0 0 0 0-1.333h-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},33277:(e,t,n)=>{e.exports={attributes:{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M0.195287 0.195262C0.455636 -0.0650874 0.877746 -0.0650874 1.1381 0.195262L2.46574 1.52291C2.51433 1.57023 2.55433 1.62356 2.58549 1.68078C2.6819 1.85741 2.69246 2.06845 2.61717 2.25261C2.59251 2.31292 2.55865 2.37035 2.51558 2.42275L1.18727 4.08313C0.957264 4.37064 0.537736 4.41725 0.250228 4.18725C-0.0372801 3.95724 -0.0838944 3.53771 0.146112 3.2502L1.10669 2.04948L0.195287 1.13807C-0.0650629 0.877722 -0.0650629 0.455612 0.195287 0.195262ZM4.00002 2C4.00002 1.63181 4.2985 1.33333 4.66669 1.33333H11.3334C11.7015 1.33333 12 1.63181 12 2C12 2.36819 11.7015 2.66667 11.3334 2.66667H4.66669C4.2985 2.66667 4.00002 2.36819 4.00002 2ZM4.00002 6C4.00002 5.63181 4.2985 5.33333 4.66669 5.33333H11.3334C11.7015 5.33333 12 5.63181 12 6C12 6.36819 11.7015 6.66667 11.3334 6.66667H4.66669C4.2985 6.66667 4.00002 6.36819 4.00002 6ZM4.66669 9.33333C4.2985 9.33333 4.00002 9.63181 4.00002 10C4.00002 10.3682 4.2985 10.6667 4.66669 10.6667H11.3334C11.7015 10.6667 12 10.3682 12 10C12 9.63181 11.7015 9.33333 11.3334 9.33333H4.66669Z"/>'};var r=n(5813);e.exports=r(e.exports)},60302:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0_304_117572)">   <path class="graphic" d="M4.18988 0.418762C3.95588 -0.140238 3.04388 -0.140238 2.80888 0.418762L0.0598756 6.95176C-0.102124 7.33476 0.0758756 7.77776 0.457876 7.93976C0.835876 8.10176 1.27888 7.92276 1.43988 7.53876L2.08888 5.99976H4.91188L5.55988 7.53876C5.68088 7.82676 5.95788 7.99876 6.24988 7.99876C6.34788 7.99876 6.44688 7.97976 6.54187 7.93976C6.92387 7.77776 7.10188 7.33476 6.93988 6.95176L4.18988 0.418762ZM2.71988 4.49976L3.49988 2.64676L4.27988 4.49976H2.71988Z" fill="black"/>   <path class="graphic" d="M9.75 3.5C11.267 3.5 12.5 4.733 12.5 6.25C12.5 6.664 12.836 7 13.25 7C13.664 7 14 6.664 14 6.25C14 3.907 12.094 2 9.75 2C9.336 2 9 2.336 9 2.75C9 3.164 9.336 3.5 9.75 3.5Z" fill="black"/>   <path class="graphic" d="M6.25 12.5C4.733 12.5 3.5 11.267 3.5 9.75C3.5 9.336 3.164 9 2.75 9C2.336 9 2 9.336 2 9.75C2 12.093 3.906 14 6.25 14C6.664 14 7 13.664 7 13.25C7 12.836 6.664 12.5 6.25 12.5Z" fill="black"/>   <path class="graphic" d="M15.5207 14.551L14.0487 13.979C13.9227 13.93 13.8067 13.867 13.6887 13.807C14.3577 13.021 14.8017 12.056 14.9437 11H15.2497C15.6637 11 15.9997 10.664 15.9997 10.25C15.9997 9.836 15.6637 9.5 15.2497 9.5H13.2497V8.75C13.2497 8.336 12.9137 8 12.4997 8C12.0857 8 11.7497 8.336 11.7497 8.75V9.5H9.74966C9.33566 9.5 8.99966 9.836 8.99966 10.25C8.99966 10.664 9.33566 11 9.74966 11H10.0557C10.1977 12.056 10.6417 13.02 11.3107 13.807C11.1927 13.867 11.0767 13.93 10.9507 13.979L9.47866 14.551C9.09166 14.701 8.90066 15.136 9.05066 15.522C9.16666 15.818 9.45066 16 9.75066 16C9.84166 16 9.93366 15.984 10.0217 15.949L11.4937 15.377C11.8547 15.237 12.1847 15.051 12.4997 14.847C12.8147 15.051 13.1447 15.236 13.5057 15.377L14.9777 15.949C15.0667 15.984 15.1587 16 15.2487 16C15.5487 16 15.8327 15.818 15.9477 15.522C16.0987 15.136 15.9077 14.701 15.5207 14.551ZM13.4227 11C13.2887 11.713 12.9687 12.364 12.4997 12.895C12.0297 12.364 11.7107 11.713 11.5767 11H13.4227Z" fill="black"/>   </g>   <defs>   <clipPath id="clip0_304_117572">   <rect width="16" height="16" fill="white"/>   </clipPath>   </defs>'};var r=n(5813);e.exports=r(e.exports)},77242:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M11 2a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a1 1 0 0 0 0-2h-3V5a3 3 0 0 0-3-3h-2zm3 4V5a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v1h4zM8 8H7v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8H8zm3 3v6a1 1 0 0 1-2 0v-6a1 1 0 0 1 2 0zm3-1a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0v-6a1 1 0 0 0-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},35783:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.82143 0.3125H1.17857C0.527902 0.3125 0 0.807408 0 1.41741V9.52009C0 10.1301 0.527902 10.625 1.17857 10.625H9.82143C10.4721 10.625 11 10.1301 11 9.52009V1.41741C11 0.807408 10.4721 0.3125 9.82143 0.3125ZM8.62076 3.96791C8.62567 4.03237 8.62567 4.09912 8.62567 4.16357C8.62567 6.15932 7.00513 8.45891 4.04397 8.45891C3.13058 8.45891 2.28348 8.21031 1.57143 7.78216C1.70156 7.79597 1.82679 7.80057 1.95938 7.80057C2.71317 7.80057 3.40558 7.56117 3.95804 7.15604C3.25089 7.14223 2.6567 6.70717 2.4529 6.10868C2.70089 6.14321 2.92433 6.14321 3.17969 6.08105C2.44308 5.94064 1.89062 5.33294 1.89062 4.59863V4.58022C2.10424 4.69301 2.35469 4.76207 2.61741 4.77128C2.39653 4.63354 2.21546 4.44668 2.09036 4.22737C1.96526 4.00807 1.90001 3.76314 1.90045 3.51444C1.90045 3.23361 1.97902 2.9758 2.11897 2.75251C2.91205 3.66867 4.1029 4.26716 5.43862 4.33161C5.21027 3.30727 6.0279 2.47628 7.01004 2.47628C7.47411 2.47628 7.89152 2.65813 8.18616 2.95278C8.54955 2.88832 8.89821 2.76172 9.20759 2.58908C9.08728 2.93896 8.83438 3.23361 8.50045 3.42006C8.82455 3.38783 9.13884 3.30266 9.42857 3.18527C9.21004 3.48682 8.93504 3.75384 8.62076 3.96791Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},93858:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M11.522 4.72a4.433 4.433 0 0 1 6.269 6.269l-4.924 4.925-.886.885a2.745 2.745 0 1 1-3.882-3.882l4.595-4.595a1 1 0 1 1 1.414 1.415L9.513 14.33a.746.746 0 0 0 1.054 1.054l.219-.22a.015.015 0 0 0 .004-.003l5.587-5.587a2.433 2.433 0 0 0-3.44-3.44l-.487.486-5.443 5.443a3.667 3.667 0 0 0 0 5.186l.454.454a3.667 3.667 0 0 0 5.186 0l4.714-4.714a1 1 0 1 1 1.414 1.414l-4.714 4.714a5.667 5.667 0 0 1-8.014 0l-.454-.454a5.667 5.667 0 0 1 0-8.014l5.443-5.443.486-.487z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},64631:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6zM5 6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6zm12.268 3.64a1 1 0 1 0-1.536-1.28l-4.406 5.287-2.745-1.96a1 1 0 1 0-1.162 1.627l3.5 2.5.755.54.594-.714 5-6z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},33753:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M15 7.5c0 .852-.431 1.745-1.161 2.472C13.064 10.743 12.291 11 12 11c-.291 0-1.064-.257-1.839-1.028C9.431 9.245 9 8.352 9 7.5 9 5.383 10.518 4 12 4s3 1.383 3 3.5zm2 0c0 3.038-3 5.5-5 5.5s-5-2.462-5-5.5S9.239 2 12 2s5 2.462 5 5.5zM10.582 16h2.432a4.494 4.494 0 0 1 4.386 3.518l.107.482H6.493l.195-.876A3.993 3.993 0 0 1 10.582 16zm-4.873.508A5.988 5.988 0 0 1 10.582 14h2.432a6.495 6.495 0 0 1 6.338 5.085l.264 1.187A1.42 1.42 0 0 1 18.23 22H5.999a1.603 1.603 0 0 1-1.565-1.951l.302-1.359a5.973 5.973 0 0 1 .973-2.182z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},325:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M11 17.887v-4.99c-2.268-.436-4-2.212-4-4.397s1.732-3.961 4-4.397V3a1 1 0 0 1 2 0v1.073c1.839.296 3.38 1.472 3.945 3.099a1 1 0 1 1-1.89.656c-.283-.815-1.063-1.463-2.055-1.715v4.99c2.268.436 4 2.212 4 4.397s-1.732 3.961-4 4.397V21a1 1 0 0 1-2 0v-1.073a5.34 5.34 0 0 1-2.558-1.138 4.453 4.453 0 0 1-1.387-1.961 1 1 0 0 1 1.89-.656c.139.4.404.772.771 1.076.36.297.8.516 1.284.64zm2-.046c1.182-.362 2-1.295 2-2.341 0-1.046-.818-1.979-2-2.34v4.68zm-2-7V6.159C9.818 6.521 9 7.454 9 8.5c0 1.046.818 1.979 2 2.34z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},24655:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M8 3a1 1 0 0 1 1 1v1h6V4a1 1 0 0 1 2 0v1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h1V4a1 1 0 0 1 1-1zm7 4v1a1 1 0 0 0 2 0V7h1a1 1 0 0 1 1 1v2H5V8a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V7h6zM5 12v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6H5z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},52124:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M7 9a3 3 0 1 0 0 6h3a1 1 0 0 1 0 2H7A5 5 0 0 1 7 7h3a1 1 0 0 1 0 2H7zm1 3a1 1 0 0 1 1-1h6a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1zm6-5a1 1 0 0 0 0 2h3a3 3 0 1 1 0 6h-3a1 1 0 0 0 0 2h3a5 5 0 0 0 0-10h-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},66339:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M12 4a8 8 0 1 0 3.555 15.169 1 1 0 1 1 .89 1.791A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10v.571c0 1.297-.317 2.395-.948 3.193A3.199 3.199 0 0 1 18.5 17c-1.216 0-2.192-.685-2.801-1.636A5 5 0 1 1 15 8a1 1 0 0 1 2 0v5c0 1.222.85 2 1.5 2a1.2 1.2 0 0 0 .984-.478c.273-.345.516-.961.516-1.951V12a8 8 0 0 0-8-8zm3 8a3 3 0 1 0-6 0 3 3 0 0 0 6 0z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},12154:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M7 5h10a2 2 0 1 1 0 4H7a2 2 0 1 1 0-4zM3 7a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H7a4 4 0 0 1-4-4zm4 8h10a2 2 0 1 1 0 4H7a2 2 0 1 1 0-4zm-4 2a4 4 0 0 1 4-4h10a4 4 0 0 1 0 8H7a4 4 0 0 1-4-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},39046:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M17.243 3.03a1 1 0 0 1 .727 1.212L17.031 8H20a1 1 0 0 1 0 2h-3.47l-1 4H18a1 1 0 0 1 0 2h-2.97l-1.06 4.242a1 1 0 0 1-1.94-.485L12.97 16H9.03l-1.06 4.242a1 1 0 0 1-1.94-.485L6.97 16H4a1 1 0 1 1 0-2h3.47l1-4H6a1 1 0 1 1 0-2h2.97l1.06-4.242a1 1 0 1 1 1.94.484L11.03 8h3.94l1.06-4.242a1 1 0 0 1 1.213-.728zM10.531 10l-1 4h3.938l1-4h-3.938z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},92702:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M20.707 3.293a1 1 0 0 1 0 1.414l-16 16a1 1 0 1 1-1.414-1.414l16-16a1 1 0 0 1 1.414 0zM6.5 5C5.835 5 5 5.717 5 7s.835 2 1.5 2S8 8.283 8 7s-.835-2-1.5-2zM3 7c0-2.03 1.404-4 3.5-4S10 4.97 10 7c0 2.03-1.404 4-3.5 4S3 9.03 3 7zm13 10c0-1.283.835-2 1.5-2s1.5.717 1.5 2-.835 2-1.5 2-1.5-.717-1.5-2zm1.5-4c-2.096 0-3.5 1.97-3.5 4 0 2.03 1.404 4 3.5 4s3.5-1.97 3.5-4c0-2.03-1.404-4-3.5-4z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},21685:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M8.933 8.578l1.65-4.748c.466-1.343 2.368-1.343 2.834 0l1.65 4.748 5.025.103c1.422.029 2.01 1.836.876 2.695l-4.005 3.036 1.455 4.81c.414 1.362-1.125 2.48-2.292 1.667L12 18.018l-4.126 2.871c-1.167.813-2.706-.305-2.292-1.665l1.455-4.812-4.005-3.036c-1.134-.86-.546-2.666.876-2.695l5.025-.103zM12 5.846l-1.293 3.72a1.5 1.5 0 0 1-1.386 1.005l-3.935.08 3.139 2.38a1.5 1.5 0 0 1 .527 1.628l-1.14 3.767 3.232-2.249a1.502 1.502 0 0 1 1.713 0l3.23 2.249-1.139-3.765a1.5 1.5 0 0 1 .529-1.632l3.137-2.378-3.936-.08a1.5 1.5 0 0 1-1.386-1.007L12 5.846z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},56486:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M7 8h10a4 4 0 1 1 0 8H7a4 4 0 1 1 0-8zm0 2a2 2 0 1 0 0 4h10a2 2 0 1 0 0-4H7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},85265:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2h-5v15a1 1 0 1 1-2 0V5H4a1 1 0 0 1-1-1zm14 9h3a1 1 0 1 1 0 2h-2v5a1 1 0 1 1-2 0v-5h-2a1 1 0 1 1 0-2h3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},61615:(e,t,n)=>{e.exports={attributes:{width:"11",height:"10",viewBox:"0 0 11 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5.28098 9.83974C4.07416 9.80988 3.00875 9.4217 2.05904 8.74237C1.41465 8.28102 0.865071 7.73756 0.472974 7.06869C0.0856979 6.40727 -0.0637489 5.70257 0.0246336 4.95157C0.103374 4.28419 0.416731 3.71833 0.902031 3.23907C1.24271 2.90314 1.6107 2.5896 1.97708 2.27756C2.39007 1.92371 2.8127 1.57882 3.23694 1.23543C3.56797 0.966682 3.91989 0.729291 4.3152 0.550127C4.82782 0.318708 5.37097 0.232112 5.93662 0.253015C7.00525 0.293327 7.94853 0.65016 8.79861 1.23692C9.47192 1.70125 10.0456 2.25666 10.4538 2.94196C11.0291 3.90795 11.156 4.9247 10.8057 5.98325C10.6402 6.48043 10.3333 6.90893 9.95883 7.29115C9.28873 7.97645 8.54792 8.58859 7.73641 9.12608C7.25593 9.44409 6.73046 9.677 6.14552 9.77107C5.86109 9.81586 5.57184 9.83079 5.2858 9.85915C5.2842 9.85169 5.28259 9.84572 5.28098 9.83974ZM5.16207 7.35983C5.36937 7.35983 5.5622 7.35535 5.75343 7.36132C5.8386 7.3643 5.85306 7.33594 5.85306 7.26427C5.85145 6.16988 5.85145 5.074 5.85145 3.97961C5.85145 3.94826 5.85145 3.9169 5.85145 3.8751C6.31747 3.8751 6.77063 3.8751 7.22218 3.8751C7.22218 3.66608 7.22218 3.469 7.22218 3.27192C6.07321 3.27192 4.93227 3.27192 3.78169 3.27192C3.78169 3.4466 3.78491 3.61531 3.78009 3.78402C3.77687 3.85718 3.79776 3.88256 3.88133 3.88107C4.27021 3.87659 4.65748 3.87958 5.04637 3.87958C5.16046 3.87958 5.16046 3.87958 5.16046 3.9826C5.16046 5.07251 5.16046 6.16242 5.16046 7.25233C5.16207 7.28368 5.16207 7.31653 5.16207 7.35983Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},78555:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M8 3a1 1 0 0 0-2 0v9a6 6 0 1 0 12 0V3a1 1 0 0 0-2 0v9a4 4 0 0 1-8 0V3zM7 20a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2H7z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},69206:(e,t,n)=>{e.exports={attributes:{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M4.58963 3.36764C4.85564 3.10011 5.28727 3.10011 5.55328 3.36764C5.81876 3.63464 5.81876 4.06716 5.55328 4.33416L4.65667 5.23596H10.5572C12.8277 5.23596 14.6667 7.0869 14.6667 9.36814C14.6667 11.6494 12.8277 13.5003 10.5572 13.5003H5.75717C5.3802 13.5003 5.07622 13.1932 5.07622 12.8164C5.07622 12.4396 5.3802 12.1325 5.75717 12.1325H10.5572C12.0737 12.1325 13.3048 10.8958 13.3048 9.36814C13.3048 7.84052 12.0737 6.60377 10.5572 6.60377H4.65667L5.55328 7.50557C5.81876 7.77258 5.81876 8.20506 5.55328 8.47207C5.28727 8.73961 4.85564 8.73961 4.58963 8.47207L2.53249 6.40312C2.267 6.13612 2.267 5.70361 2.53249 5.43661L4.58963 3.36764Z" fill="currentColor"></path>'};var r=n(5813);e.exports=r(e.exports)},29300:(e,t,n)=>{e.exports={attributes:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<g clip-path="url(#clip0)"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="#00A1B7"/> <path d="M12.0833 9.16663C10.9621 9.16663 10.4864 10.5939 11.3833 11.2666L11.85 11.6166C11.9969 11.7268 12.0833 11.8997 12.0833 12.0833V14.4166C12.0833 14.6002 11.9969 14.7731 11.85 14.8833L11.3833 15.2333C10.4864 15.906 10.9621 17.3333 12.0833 17.3333H14.4167V20.25C14.4167 20.5721 14.6778 20.8333 15 20.8333C15.3222 20.8333 15.5833 20.5721 15.5833 20.25V17.3333H17.9167C19.0378 17.3333 19.5136 15.906 18.6167 15.2333L18.15 14.8833C18.0031 14.7731 17.9167 14.6002 17.9167 14.4166V12.0833C17.9167 11.8997 18.0031 11.7268 18.15 11.6166L18.6167 11.2666C19.5136 10.5939 19.0378 9.16663 17.9167 9.16663H12.0833Z" fill="#F5F8FA"/> </g> <defs> <clipPath id="clip0"> <path d="M0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15Z" fill="white"/> </clipPath> </defs>'};var r=n(5813);e.exports=r(e.exports)},26798:(e,t,n)=>{e.exports={attributes:{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<circle class="graphic_stroke" cx="18" cy="18" r="17" stroke="#5C6061" stroke-width="2"/>   <path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M18 8.625C18.5178 8.625 18.9375 9.04473 18.9375 9.5625L18.9375 20.4242L23.8996 15.4621C24.2657 15.096 24.8593 15.096 25.2254 15.4621C25.5915 15.8282 25.5915 16.4218 25.2254 16.7879L18.6661 23.3472C18.6562 23.3573 18.646 23.367 18.6357 23.3766C18.5545 23.4515 18.4634 23.5095 18.3668 23.5505C18.2549 23.5981 18.1319 23.6246 18.0028 23.625L18 23.625L17.9914 23.625C17.8704 23.6239 17.755 23.5999 17.6491 23.5571C17.5355 23.5113 17.4291 23.4424 17.3371 23.3504L10.7746 16.7879C10.4085 16.4218 10.4085 15.8282 10.7746 15.4621C11.1407 15.096 11.7343 15.096 12.1004 15.4621L17.0625 20.4242L17.0625 9.5625C17.0625 9.04473 17.4822 8.625 18 8.625ZM11.4375 25.5C10.9197 25.5 10.5 25.9197 10.5 26.4375C10.5 26.9553 10.9197 27.375 11.4375 27.375L24.5625 27.375C25.0803 27.375 25.5 26.9553 25.5 26.4375C25.5 25.9197 25.0803 25.5 24.5625 25.5L11.4375 25.5Z" fill="black" fill-opacity="0.6"/>'};var r=n(5813);e.exports=r(e.exports)},29672:(e,t,n)=>{e.exports={attributes:{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<rect class="graphic_stroke" x="1" y="1" width="11" height="11" rx="1" stroke="#5C6061"/>   <path class="graphic_stroke" d="M5.5 4L3 6.5L5.5 9" stroke="#5C6061"/>   <path class="graphic_stroke" d="M7.5 4L10 6.5L7.5 9" stroke="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},77586:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path d="M2.66675 14C2.66675 11.4227 4.75609 9.33333 7.33341 9.33333C7.55975 9.33333 7.78235 9.34947 8.00008 9.3806M10.0001 4.66667C10.0001 6.13943 8.80615 7.33333 7.33341 7.33333C5.86065 7.33333 4.66675 6.13943 4.66675 4.66667C4.66675 3.19391 5.86065 2 7.33341 2C8.80615 2 10.0001 3.19391 10.0001 4.66667Z" stroke="#737373" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9236 9.30999L13.5424 9.92871C13.8841 10.2704 13.8841 10.8244 13.5424 11.1661L13.0164 11.6921L11.1603 9.83592L11.6862 9.30999C12.0279 8.96828 12.5819 8.96828 12.9236 9.30999ZM10.8509 10.1453L8.48041 12.5158C8.33946 12.6567 8.25086 12.8416 8.22928 13.0397L8.11436 14.0949C8.074 14.4655 8.38683 14.7783 8.75742 14.738L9.81258 14.6231C10.0108 14.6015 10.1956 14.5129 10.3366 14.3719L12.7071 12.0014L10.8509 10.1453Z" fill="#737373"/>'};var r=n(5813);e.exports=r(e.exports)},24327:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.4035 4.33268C10.4035 6.35773 8.40347 7.99935 7.07014 7.99935C5.73681 7.99935 3.73681 6.35773 3.73681 4.33268C3.73681 2.30764 5.22919 0.666016 7.07014 0.666016C8.91109 0.666016 10.4035 2.30764 10.4035 4.33268ZM9.07014 4.33268C9.07014 2.92159 8.05797 1.99935 7.07014 1.99935C6.08231 1.99935 5.07014 2.92159 5.07014 4.33268C5.07014 4.9009 5.35726 5.49586 5.84406 5.98038C6.36103 6.49492 6.87583 6.66602 7.07014 6.66602C7.26445 6.66602 7.77925 6.49492 8.29622 5.98038C8.78302 5.49586 9.07014 4.9009 9.07014 4.33268Z" fill="currentColor"/>   <path class="graphic" d="M7.74583 8.66602C7.93845 8.66602 8.1296 8.67884 8.31817 8.70399C8.37771 8.63583 8.43996 8.5692 8.50491 8.50425C10.067 6.94216 12.5997 6.94216 14.1618 8.50425C15.7239 10.0663 15.7239 12.599 14.1618 14.1611C12.5997 15.7232 10.067 15.7232 8.50491 14.1611C8.45207 14.1083 8.40102 14.0543 8.35176 13.9993H3.06941C2.38554 13.9993 1.87754 13.3661 2.02589 12.6985L2.22718 11.7927C2.34352 11.2692 2.56412 10.7744 2.87583 10.3381C3.62532 9.28876 4.83543 8.66602 6.12491 8.66602H7.74583ZM6.12491 9.99935C5.26603 9.99935 4.46002 10.4141 3.96081 11.113C3.75319 11.4037 3.60625 11.7332 3.52876 12.0819L3.39896 12.666H7.56111C7.25741 11.8049 7.25741 10.8605 7.56111 9.99935H6.12491ZM13.8856 11.3327C13.8856 10.9645 13.5871 10.666 13.219 10.666H12V9.44707C12 9.07888 11.7015 8.7804 11.3333 8.7804C10.9651 8.7804 10.6667 9.07888 10.6667 9.44707V10.666H9.44771C9.07952 10.666 8.78105 10.9645 8.78105 11.3327C8.78105 11.7009 9.07952 11.9994 9.44771 11.9994H10.6667V13.2183C10.6667 13.5865 10.9651 13.885 11.3333 13.885C11.7015 13.885 12 13.5865 12 13.2183V11.9994H13.219C13.5871 11.9994 13.8856 11.7009 13.8856 11.3327Z" fill="currentColor"/>'};var r=n(5813);e.exports=r(e.exports)},59146:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 3a1 1 0 0 1 1 1v9h2.575a.5.5 0 0 1 .312.89l-3.575 2.86a.5.5 0 0 1-.624 0l-3.575-2.86a.5.5 0 0 1 .312-.89H11V4a1 1 0 0 1 1-1zM3 20a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},52725:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M12 1a1 1 0 0 1 1 1v3h2.575a.5.5 0 0 1 .312.89l-3.575 2.86a.5.5 0 0 1-.624 0L8.113 5.89A.5.5 0 0 1 8.425 5H11V2a1 1 0 0 1 1-1zM3 12a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm8 7H8.425a.5.5 0 0 1-.312-.89l3.575-2.86a.5.5 0 0 1 .624 0l3.575 2.86a.5.5 0 0 1-.312.89H13v3a1 1 0 0 1-2 0v-3z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},10226:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1zm10 7h2.575a.5.5 0 0 0 .312-.89l-3.575-2.86a.5.5 0 0 0-.624 0l-3.575 2.86a.5.5 0 0 0 .312.89H11v9a1 1 0 0 0 2 0v-9z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},22220:(e,t,n)=>{e.exports={attributes:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},content:'<g fill="none" fill-rule="evenodd">         <path d="M0 0h24v24H0z"/>         <path class="graphic" fill="#5C6061" d="M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5zM4 7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7zm6.757 2.454a.5.5 0 0 0-.757.429v4.234a.5.5 0 0 0 .757.429l3.528-2.117a.5.5 0 0 0 0-.858l-3.528-2.117z"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},27237:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'</svg> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">     <g fill="none" fill-rule="evenodd">         <path fill-rule="nonzero" d="M0 0h24v24H0z"/>         <path class="graphic" d="M14.667 4C14.667 3.73036 14.5045 3.48727 14.2554 3.38408C14.0063 3.28089 13.7195 3.33793 13.5289 3.52859L10.667 6.39052V5.33333C10.667 4.22876 9.77152 3.33333 8.66695 3.33333H3.33362C2.22905 3.33333 1.33362 4.22876 1.33362 5.33333V10.6667C1.33362 11.7712 2.22905 12.6667 3.33362 12.6667H8.66695C9.77152 12.6667 10.667 11.7712 10.667 10.6667V9.60948L13.5289 12.4714C13.7195 12.6621 14.0063 12.7191 14.2554 12.6159C14.5045 12.5127 14.667 12.2696 14.667 12V4ZM9.33362 5.33333V10.6667C9.33362 11.0349 9.03514 11.3333 8.66695 11.3333H3.33362C2.96543 11.3333 2.66695 11.0349 2.66695 10.6667V5.33333C2.66695 4.96514 2.96543 4.66667 3.33362 4.66667H8.66695C9.03514 4.66667 9.33362 4.96514 9.33362 5.33333ZM13.3336 10.3905L10.9431 8L13.3336 5.60947V10.3905Z" fill="#5C6061"/>     </g>'};var r=n(5813);e.exports=r(e.exports)},89713:(e,t,n)=>{e.exports={attributes:{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M9.9 0.3125H1.1C0.493527 0.3125 0 0.775181 0 1.34375V9.59375C0 10.1623 0.493527 10.625 1.1 10.625H9.9C10.5065 10.625 11 10.1623 11 9.59375V1.34375C11 0.775181 10.5065 0.3125 9.9 0.3125ZM9.2567 3.73772C9.22232 4.46282 8.68214 5.45724 7.63616 6.71638C6.5558 8.03306 5.63996 8.69141 4.89353 8.69141C4.42946 8.69141 4.03906 8.29088 3.71741 7.48751C3.09129 5.33984 2.82366 4.08071 2.30804 4.08071C2.24911 4.08071 2.0404 4.1981 1.68437 4.43059L1.31116 3.97942C2.22701 3.2244 3.10112 2.38651 3.64866 2.34047C4.26741 2.28523 4.64799 2.68115 4.7904 3.53055C5.29866 6.55064 5.52455 7.00642 6.45022 5.63909C6.7817 5.14648 6.96094 4.77128 6.98549 4.51346C7.07143 3.74923 6.34955 3.80218 5.86094 3.99784C6.25134 2.79855 6.99777 2.21617 8.10022 2.2484C8.91786 2.26911 9.30335 2.76632 9.2567 3.73772Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},4311:(e,t,n)=>{e.exports={attributes:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M5 11.0415L8.5 13.0622C9.16667 13.4471 10 12.966 10 12.1962L10 1.80386C10 1.03406 9.16667 0.552935 8.5 0.937835L5 2.95856V3H1C0.447715 3 0 3.44772 0 4V10C0 10.5523 0.447715 11 1 11H5V11.0415Z" fill="white"/>   <path class="graphic" d="M14 7C14 8.10457 13.1046 9 12 9V5C13.1046 5 14 5.89543 14 7Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},84005:(e,t,n)=>{e.exports={attributes:{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M4.92822 3H1C0.447715 3 0 3.44772 0 4V10C0 10.5523 0.447715 11 1 11H4.92818L8.5 13.0622C9.16667 13.4471 10 12.966 10 12.1962L10 1.80386C10 1.03406 9.16667 0.552935 8.5 0.937835L4.92822 3Z" fill="white"/>   <path class="graphic" d="M12 9C13.1046 9 14 8.10457 14 7C14 5.89543 13.1046 5 12 5V9Z" fill="white"/>   <path class="graphic" d="M12 3C14.2091 3 16 4.79086 16 7C16 9.20914 14.2091 11 12 11V13C15.3137 13 18 10.3137 18 7C18 3.68629 15.3137 1 12 1V3Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},80347:(e,t,n)=>{e.exports={attributes:{width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M1 3H4.92822L8.5 0.937835C9.16667 0.552935 10 1.03406 10 1.80386L10 12.1962C10 12.966 9.16667 13.4471 8.5 13.0622L4.92818 11H1C0.447715 11 0 10.5523 0 10V4C0 3.44772 0.447715 3 1 3Z" fill="white"/>   <path class="graphic" d="M16.7071 4.29289C16.3166 3.90237 15.6834 3.90237 15.2929 4.29289L14 5.58579L12.7071 4.29289C12.3166 3.90237 11.6834 3.90237 11.2929 4.29289C10.9024 4.68342 10.9024 5.31658 11.2929 5.70711L12.5858 7L11.2929 8.29289C10.9024 8.68342 10.9024 9.31658 11.2929 9.70711C11.6834 10.0976 12.3166 10.0976 12.7071 9.70711L14 8.41421L15.2929 9.70711C15.6834 10.0976 16.3166 10.0976 16.7071 9.70711C17.0976 9.31658 17.0976 8.68342 16.7071 8.29289L15.4142 7L16.7071 5.70711C17.0976 5.31658 17.0976 4.68342 16.7071 4.29289Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},77445:(e,t,n)=>{e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M5.68885 3.06662C5.51107 3.19995 5.51107 3.46662 5.68885 3.59995L7.46663 4.93329C7.68637 5.0981 7.99996 4.9413 7.99996 4.66662V3.99995C10.2091 3.99995 12 5.79081 12 7.99995C12 10.2091 10.2091 12 7.99996 12C5.79082 12 3.99996 10.2091 3.99996 7.99995C3.99996 7.63176 3.70148 7.33329 3.33329 7.33329C2.9651 7.33329 2.66663 7.63176 2.66663 7.99995C2.66663 10.9455 5.05444 13.3333 7.99996 13.3333C10.9455 13.3333 13.3333 10.9455 13.3333 7.99995C13.3333 5.05444 10.9455 2.66662 7.99996 2.66662V1.99995C7.99996 1.72527 7.68637 1.56848 7.46663 1.73329L5.68885 3.06662Z" fill="white"/>'};var r=n(5813);e.exports=r(e.exports)},7294:(e,t,n)=>{e.exports={attributes:{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" fill-rule="evenodd" clip-rule="evenodd" d="M6 1.33333C4.89543 1.33333 4 2.22876 4 3.33333C4 4.4379 4.89543 5.33333 6 5.33333C7.10457 5.33333 8 4.4379 8 3.33333C8 2.22876 7.10457 1.33333 6 1.33333ZM2.66667 3.33333C2.66667 1.49238 4.15905 0 6 0C7.84095 0 9.33333 1.49238 9.33333 3.33333C9.33333 3.8157 9.23087 4.27414 9.04653 4.68807C10.7086 4.87662 12 6.2875 12 8C12 9.84095 10.5076 11.3333 8.66667 11.3333C7.57627 11.3333 6.60815 10.8098 6 10.0003C5.39185 10.8098 4.42373 11.3333 3.33333 11.3333C1.49238 11.3333 0 9.84095 0 8C0 6.2875 1.2914 4.87662 2.95347 4.68807C2.76913 4.27414 2.66667 3.8157 2.66667 3.33333ZM5.33333 8C5.33333 6.89543 4.4379 6 3.33333 6C2.22876 6 1.33333 6.89543 1.33333 8C1.33333 9.10457 2.22876 10 3.33333 10C4.4379 10 5.33333 9.10457 5.33333 8ZM6.66667 8C6.66667 9.10457 7.5621 10 8.66667 10C9.77124 10 10.6667 9.10457 10.6667 8C10.6667 6.89543 9.77124 6 8.66667 6C7.5621 6 6.66667 6.89543 6.66667 8Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},46921:(e,t,n)=>{e.exports={attributes:{width:"11",height:"8",viewBox:"0 0 11 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},content:'<path class="graphic" d="M10.7762 1.2108C10.6498 0.739231 10.2788 0.367144 9.80781 0.240184C8.94712 0.00385134 5.50381 4.17513e-06 5.50381 4.17513e-06C5.50381 4.17513e-06 2.06104 -0.00384321 1.1998 0.222047C0.738129 0.347908 0.356699 0.728239 0.229189 1.19926C0.00219935 2.05995 8.0526e-07 3.84508 8.0526e-07 3.84508C8.0526e-07 3.84508 -0.00219763 5.63901 0.223143 6.49091C0.349554 6.96193 0.720541 7.33401 1.19211 7.46097C2.06159 7.69731 5.49556 7.70115 5.49556 7.70115C5.49556 7.70115 8.93888 7.705 9.79957 7.47966C10.27 7.35325 10.6427 6.98171 10.7707 6.5107C10.9983 5.65056 10.9999 3.86597 10.9999 3.86597C10.9999 3.86597 11.0109 2.07149 10.7762 1.2108ZM4.40239 5.49886L4.40514 2.2012L7.26696 3.85278L4.40239 5.49886Z" fill="#5C6061"/>'};var r=n(5813);e.exports=r(e.exports)},29184:(e,t,n)=>{e.exports={attributes:{width:"38",height:"38",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"#aaa"},content:'<g fill="none" fill-rule="evenodd">         <g transform="translate(1 1)" stroke-width="2">             <circle stroke-opacity=".5" cx="18" cy="18" r="18"/>             <path d="M36 18c0-9.94-8.06-18-18-18">                 <animateTransform                     attributeName="transform"                     type="rotate"                     from="0 18 18"                     to="360 18 18"                     dur="1s"                     repeatCount="indefinite"/>             </path>         </g>     </g>'};var r=n(5813);e.exports=r(e.exports)},76922:()=>{},21324:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",embeddedMenuAppearDuration:"200",moreItemsMenuAppearDuration:"200",blockMenuPinAppearDuration:"200",blockMenuListAppearDuration:"200",blockMenuPinButtonSize:"24"}},36372:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",embeddedMenuAppearDuration:"200",moreItemsMenuAppearDuration:"200"}},26158:e=>{e.exports={fileHorizontalPadding:"10",fileBorderWidth:"1px"}},84806:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",floatingToolbarHeight:"36",floatingToolbarAppearDuration:"200",colorPickerAppearDuration:"200"}},50450:e=>{e.exports={nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",fullwidthTransition:"350ms"}},32806:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",gridColSidePadding:"35"}},29199:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",linkFormAppearDuration:"200"}},49851:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",listMarginLeft:"52",listCollapseIconWidth:"24",spaceBetweenCheckboxAndText:"8",smallCheckboxSize:"18",normalCheckboxSize:"20",largeCheckboxSize:"22",spaceBetweenBulletAndText:"8",smallBulletSize:"18",normalBulletSize:"20",largeBulletSize:"22",spaceBetweenNumberAndText:"3"}},84221:e=>{e.exports={aqua:"light-blue",carrot:"orange",thistle:"purple","ucla-blue":"indigo","yellow-green":"lime",aquamarine:"cyan",jade:"teal","green-sea":"teal",cloudy:"blue-grey","dark-sky":"blue-grey",cherry:"pink","dark-sky-blue":"light-blue","macaroni-and-cheese":"amber",mango:"orange",coral:"pink","turtle-green":"green","pale-purple":"purple","stormy-blue":"blue","macaroni-and-cheese-highlight":"amber","dark-sky-blue-highlight":"light-blue","mango-highlight":"orange","coral-highlight":"pink","turtle-green-highlight":"green","pale-purple-highlight":"purple","stormy-blue-highlight":"blue",deeed4:"green",ffdbd8:"red",cbefff:"light-blue",feebd3:"amber",f8d3df:"pink","rgba(66, 165, 245, 0.32)":"light-blue","var(--bleu-de-france-32)":"light-blue","rgba(250, 201, 47, 0.32)":"amber","var(--sunglow-32)":"amber","rgba(253, 166, 57, 0.32)":"orange","var(--neon-carrot-32)":"orange","rgba(237, 84, 84, 0.32)":"pink","var(--carmine-pink-32)":"pink","rgba(139, 195, 74, 0.32)":"green","var(--dollar-bill-32)":"green","rgba(179, 157, 219, 0.32)":"purple","var(--light-pastel-purple-32)":"purple","rgba(85, 115, 167, 0.32)":"blue","var(--ucla-blue-32)":"blue"}},13916:e=>{e.exports={red:"red",pink:"pink",purple:"purple","deep-purple":"deep-purple",indigo:"indigo",blue:"blue","light-blue":"light-blue",cyan:"cyan",teal:"teal",green:"green","light-green":"light-green",lime:"lime",yellow:"yellow",amber:"amber",orange:"orange","deep-orange":"deep-orange",brown:"brown",grey:"grey","blue-grey":"blue-grey"}},68055:e=>{e.exports={red:"#d32f2f",pink:"#c2185b",purple:"#7b1fa2","deep-purple":"#512da8",indigo:"#303f9f",blue:"#1976d2","light-blue":"#0288d1",cyan:"#0097a7",teal:"#00796b",green:"#388e3c","light-green":"#689f38",lime:"#afb42b",yellow:"#fbc02d",amber:"#ffa000",orange:"#f57c00","deep-orange":"#e64a19",brown:"#5d4037",grey:"#616161","blue-grey":"#455a64"}},62775:e=>{e.exports={"extra-cherry":"extra-pink","orange-red":"extra-red","yellow-carrot":"extra-orange","yellow-green-jade":"extra-green","extra-aquamarine":"extra-cyan","purple-aqua":"extra-light-blue","extra-purple":"extra-deep-purple"}},57673:e=>{e.exports={"extra-pink":"extra-pink","extra-red":"extra-red","extra-orange":"extra-orange","extra-green":"extra-green","extra-cyan":"extra-cyan","extra-light-blue":"extra-light-blue","extra-deep-purple":"extra-deep-purple"}},84087:e=>{e.exports={red:"#ef9a9a",pink:"#f48fb1",purple:"#ce93d8","deep-purple":"#b39ddb",indigo:"#9fa8da",blue:"#90caf9","light-blue":"#81d4fa",cyan:"#80deea",teal:"#80cbc4",green:"#a5d6a7","light-green":"#c5e1a5",lime:"#e6ee9c",yellow:"#fff59d",amber:"#ffe082",orange:"#ffcc80","deep-orange":"#ffab91",brown:"#bcaaa4",grey:"#eee","blue-grey":"#b0bec5"}},70133:e=>{e.exports={red:"#f44336",pink:"#e91e63",purple:"#9c27b0","deep-purple":"#673ab7",indigo:"#3f51b5",blue:"#2196f3","light-blue":"#03a9f4",cyan:"#00bcd4",teal:"#009688",green:"#4caf50","light-green":"#8bc34a",lime:"#cddc39",yellow:"#ffeb3b",amber:"#ffc107",orange:"#ff9800","deep-orange":"#ff5722",brown:"#795548",grey:"#9e9e9e","blue-grey":"#607d8b"}},9281:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",mentionListMaxHeight:"370",mentionListPadding:"16"}},22492:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",PALETTE_ATTR_BG:"data-palette-bg",PALETTE_ATTR_BG_RGB:"data-palette-bg-rgb",PALETTE_ATTR_FONT:"data-font-color"}},62297:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5"}},81578:e=>{e.exports={menuItemHeight:"32",menuPadding:"7"}},14016:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",professionTransitionDuration:"200"}},46804:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",searchTermHighlightColor:"rgba(1,161,183,.32)"}},80453:e=>{e.exports={opacityLight:".4",opacityDark:".4",aqua:"#42a5f5",carrot:"#fda639",yellow:"#fac92f",red:"#ed5454","light-green":"#8bc34a",thistle:"#b39ddb","ucla-blue":"#5573a7",blue:"#759ee6",cherry:"#e91e63",orange:"#ff6b00","yellow-green":"#b5d200",green:"#3dca43",jade:"#00c27c","green-sea":"#26a69a",aquamarine:"#00bcd4","dark-sky":"#5a9baf",purple:"#7e75e6",pink:"#e675b8",cloudy:"#607d8b",grey:"#757575",brown:"#795548",black:"#161616",white:"#f5f5f5",paletteAttrBg:"data-palette-bg",paletteAttrBgRGB:"data-palette-bg-rgb",paletteAttrFont:"data-font-color",extraOpacityLight:".12",extraOpacityDark:".2",nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",toolbarMargin:"36",scrollItemsPaddingBottom:"12",tableTopMargin:"22",tableWrapTransition:"350"}},29650:e=>{e.exports={transitionDuration:"400"}},20199:e=>{e.exports={nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px"}},29197:e=>{e.exports={nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px"}},12934:e=>{e.exports={nimbusWhite:"#e8e8e8",popupAppearDuration:"200",scrollBlotClass:"nedit-root",blotMargin:"18",gunMetal:"#5c6061",linGrad1:"rgba(31,31,31,.2)",linGrad1dark:"rgba(243,246,250,.2)",linGrad2:"#00a1b7",progressColor:"#00a1b7",pageWidth:"1000px",fileHorizontalPadding:"10",fileBorderWidth:"1px",fullScreenViewerPagesMargin:"20",fullScreenViewerFirstPageTopMargin:"10",fullScreenViewerPreviewsMargin:"15",fullScreenViewerPreviewsTopMargin:"15"}},8523:e=>{e.exports={ctaButtonPadding:"14px"}},95306:()=>{},42742:()=>{},83473:()=>{},53893:()=>{},57167:()=>{},39727:()=>{},80049:()=>{},36663:()=>{},10962:()=>{},82102:()=>{},2769:e=>{e.exports=".pdf-viewer-printing-pages {\n  display: none;\n}\n.pdf-viewer-printing-pages .pdf-viewer-printing-page {\n  position: relative;\n  top: 0;\n  left: 0;\n  width: 1px;\n  height: 1px;\n  overflow: visible;\n  page-break-after: always;\n  page-break-inside: avoid;\n}\n.pdf-viewer-printing-pages .pdf-viewer-printing-page img {\n  display: block;\n  max-width: unset;\n  height: unset;\n}\n\n@media print {\n  html {\n  width: 100%;\n    height: 100%;\n  }\n  body {\n    width: 100%;\n    height: 100%;\n    margin: 0;\n    background: transparent none;\n  }\n\n  * {\n    margin: 0 !important;\n    padding: 0 !important;\n  }\n\n  body > * {\n    display: none !important;\n  }\n\n  body > .pdf-viewer-printing-pages {\n    display: block !important;\n    width: 100%;\n    height: 100%;\n  }\n}"},28492:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getDumpByURL=t.Y=t.DummyProvider=t.nimbusInitEditor=t.initEditor=t.generateRandomUint32=void 0;const l=n(62785);Object.defineProperty(t,"nimbusInitEditor",{enumerable:!0,get:function(){return l.initEditor}});const c=s(n(71372)),u=s(n(5371)),d=i(n(11526)),p=n(65224),f=s(n(3260));n(75419);var h=n(41552);Object.defineProperty(t,"CustomDisplayableError",{enumerable:!0,get:function(){return h.default}});var m=n(45405);Object.defineProperty(t,"AttachmentNotFoundError",{enumerable:!0,get:function(){return m.default}});const g=s(n(56289));n(12599);s(n(87159)),n(47704),s(n(37167)),n(85921),n(31900);const y=i(n(87648));t.Y=y;const v=s(n(85981)),b=n(36790);Object.defineProperty(t,"DummyProvider",{enumerable:!0,get:function(){return b.DummyProvider}});const _=n(2049);Object.defineProperty(t,"getDumpByURL",{enumerable:!0,get:function(){return _.getDumpByURL}});function w(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e),r.onloadend=e=>{try{let e=JSON.parse(r.response);t(e.body)}catch(e){n(e)}},r.onerror=e=>{n(e)},r.send(null)})}t.generateRandomUint32=()=>{if("undefined"!=typeof crypto&&null!=crypto.getRandomValues){let e=new Uint32Array(1);return crypto.getRandomValues(e),e[0]}return Math.ceil(4294967295*Math.random())};const C=({workspaceId:e,textId:t,cid:n})=>r=>`wss://text.dev-nimbustest.com/socket.io.ws/${e}/${t}?token=${r}&cid=${n}`,S=t.generateRandomUint32().toString(36);function E({workspaceId:e,textId:t,shareId:n,securityKey:r}){return a(this,void 0,void 0,(function*(){const o=n?(({shareId:e,securityKey:t,textId:n})=>`/share/api/shares/${e}/textToken?securityKey=${t}&nodeId=${n}`)({shareId:n,securityKey:r,textId:t}):(({workspaceId:e,textId:t})=>`/api/workspaces/${e}/texts/${t}/tokens`)({workspaceId:e,textId:t}),i=yield window.fetch(o,{method:"POST",headers:{"Content-Type":"application/json"}});return yield i.json()}))}let x,k,O=0;function T(e,t,n,r){k&&clearInterval(k);const{workspaceId:o,shareId:i,textId:s,securityKey:l,nodeId:c,cid:u,appName:d}=t;console.log("[web-editor] start token fresh keeping for",s);const p=Date.now()+1e3*(n-30);k=setInterval(()=>a(this,void 0,void 0,(function*(){if(console.log("[web-editor] check token for",s),e.destroyed)return clearInterval(k);if(Date.now()<p)return;console.log("[web-editor] refresh token for",s);const{ttl:n,token:a,url:f}=yield E({workspaceId:o,shareId:i,textId:s,securityKey:l});if(e.destroyed)return clearInterval(k);console.log("[web-editor] keepTokenFresh => nodeId, workspaceId, textId, cid?",c,o,s,u);const h=r({nodeId:c,workspaceId:o,textId:s,cid:u,baseUrl:f})(a);console.log("[web-editor] keepTokenFresh => url?",h);const m=h?h+`&app=${d}&reason=editor&web-editor=1.1.10&frame_id=${S}`:"";console.log("[web-editor] refreshed token for",s,"with",a),e.store.y.sendSyncToken(a,m),T(e,t,n,r)})),1e4)}t.initEditor=function(e,n){return a(this,void 0,void 0,(function*(){let r=++O;x&&!e.shareId&&(console.log("cancelling instance promise for editor",x.editorId),x.cancel());const{workspaceId:o,noteId:i,shareId:s,securityKey:h,element:m,plugins:y,isShare:b,mode:_,blots:k,serverRoom:A,scrollingContainer:P,markdown:R,theme:I,manageBlotsLock:M,user:N,note:D,options:j,disableAddNote:L=!1,isMobileDevice:B=!1,applyTemplate:F=(()=>{})}=e;let{baseUrl:U}=e;f.default(k,{file:{viewers:[{mime:["application/pdf"],class:c.default,options:{workerPath:"/static/assets/pdf_viewer.worker.js",cMapUrl:"/static/assets/cmaps/"}},{mime:d.getVideoTypes(),class:d.default,options:{motion:!0}},{mime:["image/png","image/jpeg","image/gif"],class:u.default,options:{}},{mime:["audio/aac","audio/mpeg","audio/ogg","audio/flac","audio/wav"],class:"AudioWiewer",options:{audioPlayerEnabled:!0}}]},"remote-frame":{iframelyHost:e.iframelyHost||"https://iframely.nimbusweb.me",iframelyPort:e.iframelyPort}});let H={getPreviews:e=>w(`https://nimbusweb.me/sdpreviews/listing.php?p=0&order=best&host=${function(e){return e.replace(/https?:\/\//i,"").split("/")[0]}(e)}&ag=1`).catch(e=>"bookmark.error.unknown_error"),getFavicon:e=>w("https://www.google.com/s2/favicons?domain="+e).catch(e=>"bookmark.error.unknown_error"),iframelyHost:e.iframelyHost||"https://iframely.nimbusweb.me",iframelyPort:e.iframelyPort,extendedMetaRequest:!0};y.bookmarkManager&&Object.assign(y.bookmarkManager,H);const V=t.generateRandomUint32(),z=e.textId?e.textId:i,q=void 0===e.showLinkPanel||e.showLinkPanel,G=e.getSocketUrlFunction||C,W=(j&&j.appName,s?"shares":"web"),Y=Object.assign({enableSwitch:!0,startFromEmptyState:!0},e.providerConfig),Z=e=>a(this,void 0,void 0,(function*(){let t,n,r,i;const a=yield E({workspaceId:o,shareId:s,textId:z,securityKey:h});return(!e||e&&D.synced)&&(t=a.nodeId,n=a.token,r=a.ttl,i=a.url),{nodeId:t,token:n,ttl:r,baseUrl:i}}));let K=i,$="",Q="";if(!1!==Y.connectToSocket&&({nodeId:K,token:$,ttl:Q}=yield Z(!1)),r!==O)return;const X=G({workspaceId:o,textId:z,cid:V})($)+`&app=${W}&reason=editor&web-editor=1.1.10&frame_id=${S}`,J=Object.assign(Object.assign({elem:m,createDocument:p.createDocument,plugins:y,isShare:b,mode:_||"edit",showLinkPanel:q,blots:k,providerConfig:Y,serverRoom:A,scrollingContainer:P,url:X,baseUrl:U,markdown:R,theme:I,manageBlotsLock:M,user:N,disableAddNote:L},e.dump?{dump:e.dump}:{}),{isMobileDevice:B,applyTemplate:F});let ee;J.plugins.attachmentManager=v.default(J.plugins.attachmentManager,!1),console.log(`[web-editor] started for ${z} with token: ${$} and elem: "${J.elem}"`),n&&n(J),x=l.initEditor(J),console.log("[web-editor] received instance promise for editor",x.editorId);try{e.onEditorInit&&"function"==typeof e.onEditorInit&&e.onEditorInit(ee),ee=yield x,!s&&e.dump&&!0===Y.connectToSocketWithDump&&Z(!1).then(({token:e})=>{const t=G({workspaceId:o,textId:z,cid:V})(e)+`&app=${W}&reason=editor&web-editor=1.1.10&frame_id=${S}`;ee.store.y.sendSyncToken(e,t)}),J.plugins.attachmentManager.editorInstance=ee}catch(e){if(e instanceof g.default)return;throw e}const te={workspaceId:o,shareId:s,textId:z,securityKey:h,nodeId:K,cid:V,appName:W};return!s&&T(ee,te,Q,G),!s&&function(e){e.on("attachments-update",t=>{try{e.store.y.sendCustomMessage("attachments-update",t)}catch(e){throw console.error("Failed to send attachments update to the server",e),e}})}(ee),ee}))}},25893:()=>{},47165:()=>{},36413:(e,t,n)=>{function r(){return e.exports=r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,r.apply(null,arguments)}n(19601),e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},20260:(e,t,n)=>{"use strict";n(65743);var r=n(82212),o="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof o[r[t]]&&(e[e.length]=r[t]);return e}},3770:(e,t,n)=>{var r;function o(e){return(o="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)}n(41539),n(39714),n(26699),n(32023),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948),function(){"use strict";var i={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=l(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!==o(e))return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=l(t,n));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):"object"===o(n.amdO)&&n.amdO?void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r):window.classNames=a}()},92538:(e,n,r)=>{"use strict";r(32165),r(66992),r(41539),r(78783),r(33948),r(82526),r(41817);var o=r(99719),i=r(27154);if(r(98949)()||r(3810)()){var a=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[a]?e[a]():o(e)?Array.prototype[a].call(e):void 0}}else{var s=r(98597),l=r(68210),c=r(37555),u=c("%Map%",!0),d=c("%Set%",!0),p=r(73684),f=p("Array.prototype.push"),h=p("String.prototype.charCodeAt"),m=p("String.prototype.slice"),g=function(e){var t=0;return{next:function(){var n,r=t>=e.length;return r||(n=e[t],t+=1),{done:r,value:n}}}},y=function(e,t){if(s(e)||o(e))return g(e);if(l(e)){var n=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var n=h(e,t);if(n<55296||n>56319)return t+1;var r=h(e,t+1);return r<56320||r>57343?t+1:t+2}(e,n),r=m(e,n,t);return n=t,{done:t>e.length,value:r}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(u||d){var v=r(77088),b=r(9458),_=p("Map.prototype.forEach",!0),w=p("Set.prototype.forEach",!0);if(void 0===t||!t.versions||!t.versions.node)var C=p("Map.prototype.iterator",!0),S=p("Set.prototype.iterator",!0);var E=p("Map.prototype.@@iterator",!0)||p("Map.prototype._es6-shim iterator_",!0),x=p("Set.prototype.@@iterator",!0)||p("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(v(e)){if(C)return i(C(e));if(E)return E(e);if(_){var t=[];return _(e,(function(e,n){f(t,[n,e])})),g(t)}}if(b(e)){if(S)return i(S(e));if(x)return x(e);if(w){var n=[];return w(e,(function(e){f(n,e)})),g(n)}}}(e)||y(e)}}else e.exports=function(e){if(null!=e)return y(e,!0)}}},87648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1058),o=n(64706),i=n(97757),a=n(23678),s=n(32979),l=n(60865),c=n(39163),u=n(23291),d=n(41028),p=n(4560),f=n(13149),h=n(13039),m=n(33930),g=n(96759),y=n(57831),v=n(18263),b=n(418);function _(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var w=_(o),C=_(i),S=_(a),E=_(s),x=_(l),k=_(c),O=_(u),T=_(d),A=_(p),P=_(f),R=_(h),I=_(m),M=_(g),N=_(y),D=_(v),j=_(b);class L extends r.Observable{constructor(e,t){super(),this.doc=e,this.awareness=t}}class B{constructor(e,t){this.clock=e,this.len=t}}class F{constructor(){this.clients=new Map}}const U=(e,t,n)=>t.clients.forEach((t,r)=>{const o=e.doc.store.clients.get(r);for(let r=0;r<t.length;r++){const i=t[r];Ge(e,o,i.clock,i.len,n)}}),H=(e,t)=>{const n=e.clients.get(t.client);return void 0!==n&&null!==((e,t)=>{let n=0,r=e.length-1;for(;n<=r;){const o=C.floor((n+r)/2),i=e[o],a=i.clock;if(a<=t){if(t<a+i.len)return o;n=o+1}else r=o-1}return null})(n,t.clock)},V=e=>{e.clients.forEach(e=>{let t,n;for(e.sort((e,t)=>e.clock-t.clock),t=1,n=1;t<e.length;t++){const r=e[n-1],o=e[t];r.clock+r.len>=o.clock?r.len=C.max(r.len,o.clock+o.len-r.clock):(n<t&&(e[n]=o),n++)}e.length=n})},z=e=>{const t=new F;for(let n=0;n<e.length;n++)e[n].clients.forEach((r,o)=>{if(!t.clients.has(o)){const i=r.slice();for(let t=n+1;t<e.length;t++)w.appendTo(i,e[t].clients.get(o)||[]);t.clients.set(o,i)}});return V(t),t},q=(e,t,n,r)=>{S.setIfUndefined(e.clients,t,()=>[]).push(new B(n,r))},G=()=>new F,W=e=>{const t=G();return e.clients.forEach((e,n)=>{const r=[];for(let t=0;t<e.length;t++){const n=e[t];if(n.deleted){const o=n.id.clock;let i=n.length;if(t+1<e.length)for(let n=e[t+1];t+1<e.length&&n.deleted;n=e[1+ ++t])i+=n.length;r.push(new B(o,i))}}r.length>0&&t.clients.set(n,r)}),t},Y=(e,t)=>{E.writeVarUint(e.restEncoder,t.clients.size),t.clients.forEach((t,n)=>{e.resetDsCurVal(),E.writeVarUint(e.restEncoder,n);const r=t.length;E.writeVarUint(e.restEncoder,r);for(let n=0;n<r;n++){const r=t[n];e.writeDsClock(r.clock),e.writeDsLen(r.len)}})},Z=e=>{const t=new F,n=x.readVarUint(e.restDecoder);for(let r=0;r<n;r++){e.resetDsCurVal();const n=x.readVarUint(e.restDecoder),r=x.readVarUint(e.restDecoder);if(r>0){const o=S.setIfUndefined(t.clients,n,()=>[]);for(let t=0;t<r;t++)o.push(new B(e.readDsClock(),e.readDsLen()))}}return t},K=(e,t,n)=>{const r=new F,o=x.readVarUint(e.restDecoder);for(let i=0;i<o;i++){e.resetDsCurVal();const o=x.readVarUint(e.restDecoder),i=x.readVarUint(e.restDecoder),a=n.clients.get(o)||[],s=Be(n,o);for(let n=0;n<i;n++){const n=e.readDsClock(),i=n+e.readDsLen();if(n<s){s<i&&q(r,o,s,i-s);let e=Ue(a,n),l=a[e];for(!l.deleted&&l.id.clock<n&&(a.splice(e+1,0,Bn(t,l,n-l.id.clock)),e++);e<a.length&&(l=a[e++],l.id.clock<i);)l.deleted||(i<l.id.clock+l.length&&a.splice(e,0,Bn(t,l,i-l.id.clock)),l.delete(t))}else q(r,o,n,i-n)}}if(r.clients.size>0){const e=new ie;return E.writeVarUint(e.restEncoder,0),Y(e,r),e.toUint8Array()}return null},$=k.uint32;class Q extends r.Observable{constructor({guid:e=k.uuidv4(),collectionid:t=null,gc:n=!0,gcFilter:r=(()=>!0),meta:o=null,autoLoad:i=!1,shouldLoad:a=!0}={}){super(),this.gc=n,this.gcFilter=r,this.clientID=$(),this.guid=e,this.collectionid=t,this.share=new Map,this.store=new je,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=a,this.autoLoad=i,this.meta=o,this.isLoaded=!1,this.whenLoaded=O.create(e=>{this.on("load",()=>{this.isLoaded=!0,e(this)})})}load(){const e=this._item;null===e||this.shouldLoad||Je(e.parent.doc,e=>{e.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Array.from(this.subdocs).map(e=>e.guid))}transact(e,t=null){Je(this,e,t)}get(e,t=Ot){const n=S.setIfUndefined(this.share,e,()=>{const e=new t;return e._integrate(this,null),e}),r=n.constructor;if(t!==Ot&&r!==t){if(r===Ot){const r=new t;r._map=n._map,n._map.forEach(e=>{for(;null!==e;e=e.left)e.parent=r}),r._start=n._start;for(let e=r._start;null!==e;e=e.right)e.parent=r;return r._length=n._length,this.share.set(e,r),r._integrate(this,null),r}throw new Error(`Type with the name ${e} has already been defined with a different constructor`)}return n}getArray(e=""){return this.get(e,Gt)}getText(e=""){return this.get(e,cn)}getMap(e=""){return this.get(e,Yt)}getXmlFragment(e=""){return this.get(e,dn)}toJSON(){const e={};return this.share.forEach((t,n)=>{e[n]=t.toJSON()}),e}destroy(){w.from(this.subdocs).forEach(e=>e.destroy());const e=this._item;if(null!==e){this._item=null;const t=e.content;t.doc=new Q({guid:this.guid,...t.opts,shouldLoad:!1}),t.doc._item=e,Je(e.parent.doc,n=>{const r=t.doc;e.deleted||n.subdocsAdded.add(r),n.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}on(e,t){super.on(e,t)}off(e,t){super.off(e,t)}}class X{constructor(e){this.restDecoder=e}resetDsCurVal(){}readDsClock(){return x.readVarUint(this.restDecoder)}readDsLen(){return x.readVarUint(this.restDecoder)}}class J extends X{readLeftID(){return we(x.readVarUint(this.restDecoder),x.readVarUint(this.restDecoder))}readRightID(){return we(x.readVarUint(this.restDecoder),x.readVarUint(this.restDecoder))}readClient(){return x.readVarUint(this.restDecoder)}readInfo(){return x.readUint8(this.restDecoder)}readString(){return x.readVarString(this.restDecoder)}readParentInfo(){return 1===x.readVarUint(this.restDecoder)}readTypeRef(){return x.readVarUint(this.restDecoder)}readLen(){return x.readVarUint(this.restDecoder)}readAny(){return x.readAny(this.restDecoder)}readBuf(){return T.copyUint8Array(x.readVarUint8Array(this.restDecoder))}readJSON(){return JSON.parse(x.readVarString(this.restDecoder))}readKey(){return x.readVarString(this.restDecoder)}}class ee{constructor(e){this.dsCurrVal=0,this.restDecoder=e}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=x.readVarUint(this.restDecoder),this.dsCurrVal}readDsLen(){const e=x.readVarUint(this.restDecoder)+1;return this.dsCurrVal+=e,e}}class te extends ee{constructor(e){super(e),this.keys=[],x.readVarUint(e),this.keyClockDecoder=new x.IntDiffOptRleDecoder(x.readVarUint8Array(e)),this.clientDecoder=new x.UintOptRleDecoder(x.readVarUint8Array(e)),this.leftClockDecoder=new x.IntDiffOptRleDecoder(x.readVarUint8Array(e)),this.rightClockDecoder=new x.IntDiffOptRleDecoder(x.readVarUint8Array(e)),this.infoDecoder=new x.RleDecoder(x.readVarUint8Array(e),x.readUint8),this.stringDecoder=new x.StringDecoder(x.readVarUint8Array(e)),this.parentInfoDecoder=new x.RleDecoder(x.readVarUint8Array(e),x.readUint8),this.typeRefDecoder=new x.UintOptRleDecoder(x.readVarUint8Array(e)),this.lenDecoder=new x.UintOptRleDecoder(x.readVarUint8Array(e))}readLeftID(){return new be(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new be(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return 1===this.parentInfoDecoder.read()}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return x.readAny(this.restDecoder)}readBuf(){return x.readVarUint8Array(this.restDecoder)}readJSON(){return x.readAny(this.restDecoder)}readKey(){const e=this.keyClockDecoder.read();if(e<this.keys.length)return this.keys[e];{const e=this.stringDecoder.read();return this.keys.push(e),e}}}class ne{constructor(){this.restEncoder=E.createEncoder()}toUint8Array(){return E.toUint8Array(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){E.writeVarUint(this.restEncoder,e)}writeDsLen(e){E.writeVarUint(this.restEncoder,e)}}class re extends ne{writeLeftID(e){E.writeVarUint(this.restEncoder,e.client),E.writeVarUint(this.restEncoder,e.clock)}writeRightID(e){E.writeVarUint(this.restEncoder,e.client),E.writeVarUint(this.restEncoder,e.clock)}writeClient(e){E.writeVarUint(this.restEncoder,e)}writeInfo(e){E.writeUint8(this.restEncoder,e)}writeString(e){E.writeVarString(this.restEncoder,e)}writeParentInfo(e){E.writeVarUint(this.restEncoder,e?1:0)}writeTypeRef(e){E.writeVarUint(this.restEncoder,e)}writeLen(e){E.writeVarUint(this.restEncoder,e)}writeAny(e){E.writeAny(this.restEncoder,e)}writeBuf(e){E.writeVarUint8Array(this.restEncoder,e)}writeJSON(e){E.writeVarString(this.restEncoder,JSON.stringify(e))}writeKey(e){E.writeVarString(this.restEncoder,e)}}class oe{constructor(){this.restEncoder=E.createEncoder(),this.dsCurrVal=0}toUint8Array(){return E.toUint8Array(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){const t=e-this.dsCurrVal;this.dsCurrVal=e,E.writeVarUint(this.restEncoder,t)}writeDsLen(e){0===e&&A.unexpectedCase(),E.writeVarUint(this.restEncoder,e-1),this.dsCurrVal+=e}}class ie extends oe{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new E.IntDiffOptRleEncoder,this.clientEncoder=new E.UintOptRleEncoder,this.leftClockEncoder=new E.IntDiffOptRleEncoder,this.rightClockEncoder=new E.IntDiffOptRleEncoder,this.infoEncoder=new E.RleEncoder(E.writeUint8),this.stringEncoder=new E.StringEncoder,this.parentInfoEncoder=new E.RleEncoder(E.writeUint8),this.typeRefEncoder=new E.UintOptRleEncoder,this.lenEncoder=new E.UintOptRleEncoder}toUint8Array(){const e=E.createEncoder();return E.writeVarUint(e,0),E.writeVarUint8Array(e,this.keyClockEncoder.toUint8Array()),E.writeVarUint8Array(e,this.clientEncoder.toUint8Array()),E.writeVarUint8Array(e,this.leftClockEncoder.toUint8Array()),E.writeVarUint8Array(e,this.rightClockEncoder.toUint8Array()),E.writeVarUint8Array(e,E.toUint8Array(this.infoEncoder)),E.writeVarUint8Array(e,this.stringEncoder.toUint8Array()),E.writeVarUint8Array(e,E.toUint8Array(this.parentInfoEncoder)),E.writeVarUint8Array(e,this.typeRefEncoder.toUint8Array()),E.writeVarUint8Array(e,this.lenEncoder.toUint8Array()),E.writeUint8Array(e,E.toUint8Array(this.restEncoder)),E.toUint8Array(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){E.writeAny(this.restEncoder,e)}writeBuf(e){E.writeVarUint8Array(this.restEncoder,e)}writeJSON(e){E.writeAny(this.restEncoder,e)}writeKey(e){const t=this.keyMap.get(e);void 0===t?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(t)}}const ae=(e,t,n)=>{const r=new Map;n.forEach((e,n)=>{Be(t,n)>e&&r.set(n,e)}),Le(t).forEach((e,t)=>{n.has(t)||r.set(t,0)}),E.writeVarUint(e.restEncoder,r.size),Array.from(r.entries()).sort((e,t)=>t[0]-e[0]).forEach(([n,r])=>{((e,t,n,r)=>{r=C.max(r,t[0].id.clock);const o=Ue(t,r);E.writeVarUint(e.restEncoder,t.length-o),e.writeClient(n),E.writeVarUint(e.restEncoder,r);const i=t[o];i.write(e,r-i.id.clock);for(let n=o+1;n<t.length;n++)t[n].write(e,0)})(e,t.clients.get(n),n,r)})},se=(e,t,n,r=new te(e))=>Je(t,e=>{e.local=!1;let t=!1;const n=e.doc,o=n.store,i=((e,t,n)=>{const r=[];let o=Array.from(n.keys()).sort((e,t)=>e-t);if(0===o.length)return null;const i=()=>{if(0===o.length)return null;let e=n.get(o[o.length-1]);for(;e.refs.length===e.i;){if(o.pop(),!(o.length>0))return null;e=n.get(o[o.length-1])}return e};let a=i();if(null===a&&0===r.length)return null;const s=new je,l=new Map,c=(e,t)=>{const n=l.get(e);(null==n||n>t)&&l.set(e,t)};let u=a.refs[a.i++];const d=new Map,p=()=>{for(const e of r){const t=e.id.client,r=n.get(t);r?(r.i--,s.clients.set(t,r.refs.slice(r.i)),n.delete(t),r.i=0,r.refs=[]):s.clients.set(t,[e]),o=o.filter(e=>e!==t)}r.length=0};for(;;){if(u.constructor!==zn){const o=S.setIfUndefined(d,u.id.client,()=>Be(t,u.id.client))-u.id.clock;if(o<0)r.push(u),c(u.id.client,u.id.clock-1),p();else{const i=u.getMissing(e,t);if(null!==i){r.push(u);const e=n.get(i)||{refs:[],i:0};if(e.refs.length!==e.i){u=e.refs[e.i++];continue}c(i,Be(t,i)),p()}else(0===o||o<u.length)&&(u.integrate(e,o),d.set(u.id.client,u.id.clock+u.length))}}if(r.length>0)u=r.pop();else if(null!==a&&a.i<a.refs.length)u=a.refs[a.i++];else{if(a=i(),null===a)break;u=a.refs[a.i++]}}if(s.clients.size>0){const e=new ie;return ae(e,s,new Map),E.writeVarUint(e.restEncoder,0),{missing:l,update:e.toUint8Array()}}return null})(e,o,((e,t)=>{const n=S.create(),r=x.readVarUint(e.restDecoder);for(let o=0;o<r;o++){const r=x.readVarUint(e.restDecoder),o=new Array(r),i=e.readClient();let a=x.readVarUint(e.restDecoder);n.set(i,{i:0,refs:o});for(let n=0;n<r;n++){const r=e.readInfo();switch(P.BITS5&r){case 0:{const t=e.readLen();o[n]=new yn(we(i,a),t),a+=t;break}case 10:{const t=x.readVarUint(e.restDecoder);o[n]=new zn(we(i,a),t),a+=t;break}default:{const s=0==(r&(P.BIT7|P.BIT8)),l=new Un(we(i,a),null,(r&P.BIT8)===P.BIT8?e.readLeftID():null,null,(r&P.BIT7)===P.BIT7?e.readRightID():null,s?e.readParentInfo()?t.get(e.readString()):e.readLeftID():null,s&&(r&P.BIT6)===P.BIT6?e.readString():null,Hn(e,r));o[n]=l,a+=l.length}}}}return n})(r,n)),a=o.pendingStructs;if(a){for(const[e,n]of a.missing)if(n<Be(o,e)){t=!0;break}if(i){for(const[e,t]of i.missing){const n=a.missing.get(e);(null==n||n>t)&&a.missing.set(e,t)}a.update=pt([a.update,i.update])}}else o.pendingStructs=i;const s=K(r,e,o);if(o.pendingDs){const t=new te(x.createDecoder(o.pendingDs));x.readVarUint(t.restDecoder);const n=K(t,e,o);o.pendingDs=s&&n?pt([s,n]):s||n}else o.pendingDs=s;if(t){const t=o.pendingStructs.update;o.pendingStructs=null,le(e.doc,t)}},n,!1),le=(e,t,n,r=te)=>{const o=x.createDecoder(t);se(o,e,n,new r(o))},ce=(e,t=new Uint8Array([0]),n=new ie)=>{((e,t,n=new Map)=>{ae(e,t.store,n),Y(e,W(t.store))})(n,e,de(t));const r=[n.toUint8Array()];if(e.store.pendingDs&&r.push(e.store.pendingDs),e.store.pendingStructs&&r.push(ft(e.store.pendingStructs.update,t)),r.length>1){if(n.constructor===re)return lt(r.map((e,t)=>0===t?e:vt(e)));if(n.constructor===ie)return pt(r)}return r[0]},ue=e=>{const t=new Map,n=x.readVarUint(e.restDecoder);for(let r=0;r<n;r++){const n=x.readVarUint(e.restDecoder),r=x.readVarUint(e.restDecoder);t.set(n,r)}return t},de=e=>ue(new X(x.createDecoder(e))),pe=(e,t)=>(E.writeVarUint(e.restEncoder,t.size),Array.from(t.entries()).sort((e,t)=>t[0]-e[0]).forEach(([t,n])=>{E.writeVarUint(e.restEncoder,t),E.writeVarUint(e.restEncoder,n)}),e),fe=(e,t=new oe)=>(e instanceof Map?pe(t,e):((e,t)=>{pe(e,Le(t.store))})(t,e),t.toUint8Array());class he{constructor(){this.l=[]}}const me=()=>new he,ge=(e,t)=>e.l.push(t),ye=(e,t)=>{const n=e.l,r=n.length;e.l=n.filter(e=>t!==e),r===e.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},ve=(e,t,n)=>R.callAll(e.l,[t,n]);class be{constructor(e,t){this.client=e,this.clock=t}}const _e=(e,t)=>e===t||null!==e&&null!==t&&e.client===t.client&&e.clock===t.clock,we=(e,t)=>new be(e,t),Ce=(e,t)=>{E.writeVarUint(e,t.client),E.writeVarUint(e,t.clock)},Se=e=>we(x.readVarUint(e),x.readVarUint(e)),Ee=e=>{for(const[t,n]of e.doc.share.entries())if(n===e)return t;throw A.unexpectedCase()},xe=(e,t)=>{for(;null!==t;){if(t.parent===e)return!0;t=t.parent._item}return!1};class ke{constructor(e,t,n,r=0){this.type=e,this.tname=t,this.item=n,this.assoc=r}}class Oe{constructor(e,t,n=0){this.type=e,this.index=t,this.assoc=n}}const Te=(e,t,n)=>{let r=null,o=null;return null===e._item?o=Ee(e):r=we(e._item.id.client,e._item.id.clock),new ke(r,o,t,n)};class Ae{constructor(e,t){this.ds=e,this.sv=t}}const Pe=(e,t=new oe)=>(Y(t,e.ds),pe(t,e.sv),t.toUint8Array()),Re=(e,t=new ee(x.createDecoder(e)))=>new Ae(Z(t),ue(t)),Ie=(e,t)=>new Ae(e,t),Me=Ie(G(),new Map),Ne=(e,t)=>void 0===t?!e.deleted:t.sv.has(e.id.client)&&(t.sv.get(e.id.client)||0)>e.id.clock&&!H(t.ds,e.id),De=(e,t)=>{const n=S.setIfUndefined(e.meta,De,I.create),r=e.doc.store;n.has(t)||(t.sv.forEach((t,n)=>{t<Be(r,n)&&ze(e,we(n,t))}),U(e,t.ds,e=>{}),n.add(t))};class je{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Le=e=>{const t=new Map;return e.clients.forEach((e,n)=>{const r=e[e.length-1];t.set(n,r.id.clock+r.length)}),t},Be=(e,t)=>{const n=e.clients.get(t);if(void 0===n)return 0;const r=n[n.length-1];return r.id.clock+r.length},Fe=(e,t)=>{let n=e.clients.get(t.id.client);if(void 0===n)n=[],e.clients.set(t.id.client,n);else{const e=n[n.length-1];if(e.id.clock+e.length!==t.id.clock)throw A.unexpectedCase()}n.push(t)},Ue=(e,t)=>{let n=0,r=e.length-1,o=e[r],i=o.id.clock;if(i===t)return r;let a=C.floor(t/(i+o.length-1)*r);for(;n<=r;){if(o=e[a],i=o.id.clock,i<=t){if(t<i+o.length)return a;n=a+1}else r=a-1;a=C.floor((n+r)/2)}throw A.unexpectedCase()},He=(e,t)=>{const n=e.clients.get(t.client);return n[Ue(n,t.clock)]},Ve=(e,t,n)=>{const r=Ue(t,n),o=t[r];return o.id.clock<n&&o instanceof Un?(t.splice(r+1,0,Bn(e,o,n-o.id.clock)),r+1):r},ze=(e,t)=>{const n=e.doc.store.clients.get(t.client);return n[Ve(e,n,t.clock)]},qe=(e,t,n)=>{const r=t.clients.get(n.client),o=Ue(r,n.clock),i=r[o];return n.clock!==i.id.clock+i.length-1&&i.constructor!==yn&&r.splice(o+1,0,Bn(e,i,n.clock-i.id.clock+1)),i},Ge=(e,t,n,r,o)=>{if(0===r)return;const i=n+r;let a,s=Ve(e,t,n);do{a=t[s++],i<a.id.clock+a.length&&Ve(e,t,i),o(a)}while(s<t.length&&t[s].id.clock<i)};class We{constructor(e,t,n){this.doc=e,this.deleteSet=new F,this.beforeState=Le(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=t,this.meta=new Map,this.local=n,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set}}const Ye=(e,t)=>!(0===t.deleteSet.clients.size&&!S.any(t.afterState,(e,n)=>t.beforeState.get(n)!==e))&&(V(t.deleteSet),((e,t)=>{ae(e,t.doc.store,t.beforeState)})(e,t),Y(e,t.deleteSet),!0),Ze=(e,t,n)=>{const r=t._item;(null===r||r.id.clock<(e.beforeState.get(r.id.client)||0)&&!r.deleted)&&S.setIfUndefined(e.changed,t,I.create).add(n)},Ke=(e,t)=>{const n=e[t-1],r=e[t];n.deleted===r.deleted&&n.constructor===r.constructor&&n.mergeWith(r)&&(e.splice(t,1),r instanceof Un&&null!==r.parentSub&&r.parent._map.get(r.parentSub)===r&&r.parent._map.set(r.parentSub,n))},$e=(e,t,n)=>{for(const[r,o]of e.clients.entries()){const e=t.clients.get(r);for(let r=o.length-1;r>=0;r--){const i=o[r],a=i.clock+i.len;for(let r=Ue(e,i.clock),o=e[r];r<e.length&&o.id.clock<a;o=e[++r]){const o=e[r];if(i.clock+i.len<=o.id.clock)break;o instanceof Un&&o.deleted&&!o.keep&&n(o)&&o.gc(t,!1)}}}},Qe=(e,t)=>{e.clients.forEach((e,n)=>{const r=t.clients.get(n);for(let t=e.length-1;t>=0;t--){const n=e[t];for(let e=C.min(r.length-1,1+Ue(r,n.clock+n.len-1)),t=r[e];e>0&&t.id.clock>=n.clock;t=r[--e])Ke(r,e)}})},Xe=(e,t)=>{if(t<e.length){const n=e[t],r=n.doc,o=r.store,i=n.deleteSet,a=n._mergeStructs;try{V(i),n.afterState=Le(n.doc.store),r._transaction=null,r.emit("beforeObserverCalls",[n,r]);const s=[];n.changed.forEach((e,t)=>s.push(()=>{null!==t._item&&t._item.deleted||t._callObserver(n,e)})),s.push(()=>{n.changedParentTypes.forEach((e,t)=>s.push(()=>{null!==t._item&&t._item.deleted||((e=e.filter(e=>null===e.target._item||!e.target._item.deleted)).forEach(e=>{e.currentTarget=t}),e.sort((e,t)=>e.path.length-t.path.length),ve(t._dEH,e,n))})),s.push(()=>r.emit("afterTransaction",[n,r]))}),h.callAll(s,[])}finally{r.gc&&$e(i,o,r.gcFilter),Qe(i,o),n.afterState.forEach((e,t)=>{const r=n.beforeState.get(t)||0;if(r!==e){const e=o.clients.get(t),n=C.max(Ue(e,r),1);for(let t=e.length-1;t>=n;t--)Ke(e,t)}});for(let e=0;e<a.length;e++){const{client:t,clock:n}=a[e].id,r=o.clients.get(t),i=Ue(r,n);i+1<r.length&&Ke(r,i+1),i>0&&Ke(r,i)}if(n.local||n.afterState.get(r.clientID)===n.beforeState.get(r.clientID)||(M.print(M.ORANGE,M.BOLD,"[yjs] ",M.UNBOLD,M.RED,"Changed the client-id because another client seems to be using it."),r.clientID=$()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const e=new re;Ye(e,n)&&r.emit("update",[e.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const e=new ie;Ye(e,n)&&r.emit("updateV2",[e.toUint8Array(),n.origin,r,n])}const{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(e=>{e.clientID=r.clientID,null==e.collectionid&&(e.collectionid=r.collectionid),r.subdocs.add(e)}),c.forEach(e=>r.subdocs.delete(e)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(e=>e.destroy())),e.length<=t+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,e])):Xe(e,t+1)}}},Je=(e,t,n=null,r=!0)=>{const o=e._transactionCleanups;let i=!1;null===e._transaction&&(i=!0,e._transaction=new We(e,n,r),o.push(e._transaction),1===o.length&&e.emit("beforeAllTransactions",[e]),e.emit("beforeTransaction",[e._transaction,e]));try{t(e._transaction)}finally{i&&o[0]===e._transaction&&Xe(o,0)}};class et{constructor(e,t){this.insertions=t,this.deletions=e,this.meta=new Map}}const tt=(e,t,n)=>{U(e,n.deletions,e=>{e instanceof Un&&t.scope.some(t=>xe(t,e))&&Ln(e,!1)})},nt=(e,t,n)=>{let r=null,o=null;const i=e.doc,a=e.scope;if(Je(i,n=>{for(;t.length>0&&null===r;){const o=i.store,s=t.pop(),l=new Set,c=[];let u=!1;U(n,s.insertions,e=>{if(e instanceof Un){if(null!==e.redone){let{item:t,diff:r}=jn(o,e.id);r>0&&(t=ze(n,we(t.id.client,t.id.clock+r))),e=t}!e.deleted&&a.some(t=>xe(t,e))&&c.push(e)}}),U(n,s.deletions,e=>{e instanceof Un&&a.some(t=>xe(t,e))&&!H(s.insertions,e.id)&&l.add(e)}),l.forEach(t=>{u=null!==Fn(n,t,l,s.insertions,e.ignoreRemoteMapChanges)||u});for(let t=c.length-1;t>=0;t--){const r=c[t];e.deleteFilter(r)&&(r.delete(n),u=!0)}r=u?s:null}n.changed.forEach((e,t)=>{e.has(null)&&t._searchMarker&&(t._searchMarker.length=0)}),o=n},e),null!=r){const t=o.changedParentTypes;e.emit("stack-item-popped",[{stackItem:r,type:n,changedParentTypes:t},e])}return r};class rt extends r.Observable{constructor(e,{captureTimeout:t=500,deleteFilter:n=(()=>!0),trackedOrigins:r=new Set([null]),ignoreRemoteMapChanges:o=!1}={}){super(),this.scope=[],this.addToScope(e),this.deleteFilter=n,r.add(this),this.trackedOrigins=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.doc=this.scope[0].doc,this.lastChange=0,this.ignoreRemoteMapChanges=o,this.afterTransactionHandler=e=>{if(!(this.scope.some(t=>e.changedParentTypes.has(t))&&(this.trackedOrigins.has(e.origin)||e.origin&&this.trackedOrigins.has(e.origin.constructor))))return;const n=this.undoing,r=this.redoing,o=n?this.redoStack:this.undoStack;n?this.stopCapturing():r||this.clear(!1,!0);const i=new F;e.afterState.forEach((t,n)=>{const r=e.beforeState.get(n)||0,o=t-r;o>0&&q(i,n,r,o)});const a=N.getUnixTime();let s=!1;if(a-this.lastChange<t&&o.length>0&&!n&&!r){const t=o[o.length-1];t.deletions=z([t.deletions,e.deleteSet]),t.insertions=z([t.insertions,i])}else o.push(new et(e.deleteSet,i)),s=!0;n||r||(this.lastChange=a),U(e,e.deleteSet,e=>{e instanceof Un&&this.scope.some(t=>xe(t,e))&&Ln(e,!0)});const l=[{stackItem:o[o.length-1],origin:e.origin,type:n?"redo":"undo",changedParentTypes:e.changedParentTypes},this];s?this.emit("stack-item-added",l):this.emit("stack-item-updated",l)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(e){(e=w.isArray(e)?e:[e]).forEach(e=>{this.scope.every(t=>t!==e)&&this.scope.push(e)})}addTrackedOrigin(e){this.trackedOrigins.add(e)}removeTrackedOrigin(e){this.trackedOrigins.delete(e)}clear(e=!0,t=!0){(e&&this.canUndo()||t&&this.canRedo())&&this.doc.transact(n=>{e&&(this.undoStack.forEach(e=>tt(n,this,e)),this.undoStack=[]),t&&(this.redoStack.forEach(e=>tt(n,this,e)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:e,redoStackCleared:t}])})}stopCapturing(){this.lastChange=0}undo(){let e;this.undoing=!0;try{e=nt(this,this.undoStack,"undo")}finally{this.undoing=!1}return e}redo(){let e;this.redoing=!0;try{e=nt(this,this.redoStack,"redo")}finally{this.redoing=!1}return e}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}}class ot{constructor(e,t){this.gen=function*(e){const t=x.readVarUint(e.restDecoder);for(let n=0;n<t;n++){const t=x.readVarUint(e.restDecoder),n=e.readClient();let r=x.readVarUint(e.restDecoder);for(let o=0;o<t;o++){const t=e.readInfo();if(10===t){const t=x.readVarUint(e.restDecoder);yield new zn(we(n,r),t),r+=t}else if(0!=(P.BITS5&t)){const o=0==(t&(P.BIT7|P.BIT8)),i=new Un(we(n,r),null,(t&P.BIT8)===P.BIT8?e.readLeftID():null,null,(t&P.BIT7)===P.BIT7?e.readRightID():null,o?e.readParentInfo()?e.readString():e.readLeftID():null,o&&(t&P.BIT6)===P.BIT6?e.readString():null,Hn(e,t));yield i,r+=i.length}else{const t=e.readLen();yield new yn(we(n,r),t),r+=t}}}}(e),this.curr=null,this.done=!1,this.filterSkips=t,this.next()}next(){do{this.curr=this.gen.next().value||null}while(this.filterSkips&&null!==this.curr&&this.curr.constructor===zn);return this.curr}}const it=(e,t=te)=>{const n=[],r=new t(x.createDecoder(e)),o=new ot(r,!1);for(let e=o.curr;null!==e;e=o.next())n.push(e);M.print("Structs: ",n);const i=Z(r);M.print("DeleteSet: ",i)},at=(e,t=te)=>{const n=[],r=new t(x.createDecoder(e)),o=new ot(r,!1);for(let e=o.curr;null!==e;e=o.next())n.push(e);return{structs:n,ds:Z(r)}};class st{constructor(e){this.currClient=0,this.startClock=0,this.written=0,this.encoder=e,this.clientStructs=[]}}const lt=e=>pt(e,J,re),ct=(e,t=oe,n=te)=>{const r=new t,o=new ot(new n(x.createDecoder(e)),!1);let i=o.curr;if(null!==i){let e=0,t=i.id.client,n=0!==i.id.clock,a=n?0:i.id.clock+i.length;for(;null!==i;i=o.next())t!==i.id.client&&(0!==a&&(e++,E.writeVarUint(r.restEncoder,t),E.writeVarUint(r.restEncoder,a)),t=i.id.client,a=0,n=0!==i.id.clock),i.constructor===zn&&(n=!0),n||(a=i.id.clock+i.length);0!==a&&(e++,E.writeVarUint(r.restEncoder,t),E.writeVarUint(r.restEncoder,a));const s=E.createEncoder();return E.writeVarUint(s,e),E.writeBinaryEncoder(s,r.restEncoder),r.restEncoder=s,r.toUint8Array()}return E.writeVarUint(r.restEncoder,0),r.toUint8Array()},ut=(e,t=te)=>{const n=new Map,r=new Map,o=new ot(new t(x.createDecoder(e)),!1);let i=o.curr;if(null!==i){let e=i.id.client,t=i.id.clock;for(n.set(e,t);null!==i;i=o.next())e!==i.id.client&&(r.set(e,t),n.set(i.id.client,i.id.clock),e=i.id.client),t=i.id.clock+i.length;r.set(e,t)}return{from:n,to:r}},dt=(e,t)=>{if(e.constructor===yn){const{client:n,clock:r}=e.id;return new yn(we(n,r+t),e.length-t)}if(e.constructor===zn){const{client:n,clock:r}=e.id;return new zn(we(n,r+t),e.length-t)}{const n=e,{client:r,clock:o}=n.id;return new Un(we(r,o+t),null,we(r,o+t-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(t))}},pt=(e,t=te,n=ie)=>{if(1===e.length)return e[0];const r=e.map(e=>new t(x.createDecoder(e)));let o=r.map(e=>new ot(e,!0)),i=null;const a=new n,s=new st(a);for(;o=o.filter(e=>null!==e.curr),o.sort((e,t)=>{if(e.curr.id.client===t.curr.id.client){const n=e.curr.id.clock-t.curr.id.clock;return 0===n?e.curr.constructor===t.curr.constructor?0:e.curr.constructor===zn?1:-1:n}return t.curr.id.client-e.curr.id.client}),0!==o.length;){const e=o[0],t=e.curr.id.client;if(null!==i){let n=e.curr,r=!1;for(;null!==n&&n.id.clock+n.length<=i.struct.id.clock+i.struct.length&&n.id.client>=i.struct.id.client;)n=e.next(),r=!0;if(null===n||n.id.client!==t||r&&n.id.clock>i.struct.id.clock+i.struct.length)continue;if(t!==i.struct.id.client)mt(s,i.struct,i.offset),i={struct:n,offset:0},e.next();else if(i.struct.id.clock+i.struct.length<n.id.clock)if(i.struct.constructor===zn)i.struct.length=n.id.clock+n.length-i.struct.id.clock;else{mt(s,i.struct,i.offset);const e=n.id.clock-i.struct.id.clock-i.struct.length;i={struct:new zn(we(t,i.struct.id.clock+i.struct.length),e),offset:0}}else{const t=i.struct.id.clock+i.struct.length-n.id.clock;t>0&&(i.struct.constructor===zn?i.struct.length-=t:n=dt(n,t)),i.struct.mergeWith(n)||(mt(s,i.struct,i.offset),i={struct:n,offset:0},e.next())}}else i={struct:e.curr,offset:0},e.next();for(let n=e.curr;null!==n&&n.id.client===t&&n.id.clock===i.struct.id.clock+i.struct.length&&n.constructor!==zn;n=e.next())mt(s,i.struct,i.offset),i={struct:n,offset:0}}null!==i&&(mt(s,i.struct,i.offset),i=null),gt(s);const l=r.map(e=>Z(e)),c=z(l);return Y(a,c),a.toUint8Array()},ft=(e,t,n=te,r=ie)=>{const o=de(t),i=new r,a=new st(i),s=new n(x.createDecoder(e)),l=new ot(s,!1);for(;l.curr;){const e=l.curr,t=e.id.client,n=o.get(t)||0;if(l.curr.constructor!==zn)if(e.id.clock+e.length>n)for(mt(a,e,C.max(n-e.id.clock,0)),l.next();l.curr&&l.curr.id.client===t;)mt(a,l.curr,0),l.next();else for(;l.curr&&l.curr.id.client===t&&l.curr.id.clock+l.curr.length<=n;)l.next();else l.next()}gt(a);const c=Z(s);return Y(i,c),i.toUint8Array()},ht=e=>{e.written>0&&(e.clientStructs.push({written:e.written,restEncoder:E.toUint8Array(e.encoder.restEncoder)}),e.encoder.restEncoder=E.createEncoder(),e.written=0)},mt=(e,t,n)=>{e.written>0&&e.currClient!==t.id.client&&ht(e),0===e.written&&(e.currClient=t.id.client,e.encoder.writeClient(t.id.client),E.writeVarUint(e.encoder.restEncoder,t.id.clock+n)),t.write(e.encoder,n),e.written++},gt=e=>{ht(e);const t=e.encoder.restEncoder;E.writeVarUint(t,e.clientStructs.length);for(let n=0;n<e.clientStructs.length;n++){const r=e.clientStructs[n];E.writeVarUint(t,r.written),E.writeUint8Array(t,r.restEncoder)}},yt=(e,t,n)=>{const r=new t(x.createDecoder(e)),o=new ot(r,!1),i=new n,a=new st(i);for(let e=o.curr;null!==e;e=o.next())mt(a,e,0);gt(a);const s=Z(r);return Y(i,s),i.toUint8Array()},vt=e=>yt(e,te,re);class bt{constructor(e,t){this.target=e,this.currentTarget=e,this.transaction=t,this._changes=null,this._keys=null,this._delta=null}get path(){return _t(this.currentTarget,this.target)}deletes(e){return H(this.transaction.deleteSet,e.id)}get keys(){if(null===this._keys){const e=new Map,t=this.target;this.transaction.changed.get(t).forEach(n=>{if(null!==n){const r=t._map.get(n);let o,i;if(this.adds(r)){let e=r.left;for(;null!==e&&this.adds(e);)e=e.left;if(this.deletes(r)){if(null===e||!this.deletes(e))return;o="delete",i=w.last(e.content.getContent())}else null!==e&&this.deletes(e)?(o="update",i=w.last(e.content.getContent())):(o="add",i=void 0)}else{if(!this.deletes(r))return;o="delete",i=w.last(r.content.getContent())}e.set(n,{action:o,oldValue:i})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(null===e){const t=this.target,n=I.create(),r=I.create(),o=[];e={added:n,deleted:r,delta:o,keys:this.keys};if(this.transaction.changed.get(t).has(null)){let e=null;const i=()=>{e&&o.push(e)};for(let o=t._start;null!==o;o=o.right)o.deleted?this.deletes(o)&&!this.adds(o)&&(null!==e&&void 0!==e.delete||(i(),e={delete:0}),e.delete+=o.length,r.add(o)):this.adds(o)?(null!==e&&void 0!==e.insert||(i(),e={insert:[]}),e.insert=e.insert.concat(o.content.getContent()),n.add(o)):(null!==e&&void 0!==e.retain||(i(),e={retain:0}),e.retain+=o.length);null!==e&&void 0===e.retain&&i()}this._changes=e}return e}}const _t=(e,t)=>{const n=[];for(;null!==t._item&&t!==e;){if(null!==t._item.parentSub)n.unshift(t._item.parentSub);else{let e=0,r=t._item.parent._start;for(;r!==t._item&&null!==r;)r.deleted||e++,r=r.right;n.unshift(e)}t=t._item.parent}return n};let wt=0;class Ct{constructor(e,t){e.marker=!0,this.p=e,this.index=t,this.timestamp=wt++}}const St=(e,t,n)=>{e.p.marker=!1,e.p=t,t.marker=!0,e.index=n,e.timestamp=wt++},Et=(e,t)=>{if(null===e._start||0===t||null===e._searchMarker)return null;const n=0===e._searchMarker.length?null:e._searchMarker.reduce((e,n)=>C.abs(t-e.index)<C.abs(t-n.index)?e:n);let r=e._start,o=0;for(null!==n&&(r=n.p,o=n.index,(e=>{e.timestamp=wt++})(n));null!==r.right&&o<t;){if(!r.deleted&&r.countable){if(t<o+r.length)break;o+=r.length}r=r.right}for(;null!==r.left&&o>t;)r=r.left,!r.deleted&&r.countable&&(o-=r.length);for(;null!==r.left&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(o-=r.length);return null!==n&&C.abs(n.index-o)<r.parent.length/80?(St(n,r,o),n):((e,t,n)=>{if(e.length>=80){const r=e.reduce((e,t)=>e.timestamp<t.timestamp?e:t);return St(r,t,n),r}{const r=new Ct(t,n);return e.push(r),r}})(e._searchMarker,r,o)},xt=(e,t,n)=>{for(let r=e.length-1;r>=0;r--){const o=e[r];if(n>0){let t=o.p;for(t.marker=!1;t&&(t.deleted||!t.countable);)t=t.left,t&&!t.deleted&&t.countable&&(o.index-=t.length);if(null===t||!0===t.marker){e.splice(r,1);continue}o.p=t,t.marker=!0}(t<o.index||n>0&&t===o.index)&&(o.index=C.max(t,o.index+n))}},kt=(e,t,n)=>{const r=e,o=t.changedParentTypes;for(;S.setIfUndefined(o,e,()=>[]).push(n),null!==e._item;)e=e._item.parent;ve(r._eH,n,t)};class Ot{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=me(),this._dEH=me(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,t){this.doc=e,this._item=t}_copy(){throw A.methodUnimplemented()}clone(){throw A.methodUnimplemented()}_write(e){}get _first(){let e=this._start;for(;null!==e&&e.deleted;)e=e.right;return e}_callObserver(e,t){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){ge(this._eH,e)}observeDeep(e){ge(this._dEH,e)}unobserve(e){ye(this._eH,e)}unobserveDeep(e){ye(this._dEH,e)}toJSON(){}}const Tt=(e,t,n)=>{t<0&&(t=e._length+t),n<0&&(n=e._length+n);let r=n-t;const o=[];let i=e._start;for(;null!==i&&r>0;){if(i.countable&&!i.deleted){const e=i.content.getContent();if(e.length<=t)t-=e.length;else{for(let n=t;n<e.length&&r>0;n++)o.push(e[n]),r--;t=0}}i=i.right}return o},At=e=>{const t=[];let n=e._start;for(;null!==n;){if(n.countable&&!n.deleted){const e=n.content.getContent();for(let n=0;n<e.length;n++)t.push(e[n])}n=n.right}return t},Pt=(e,t)=>{let n=0,r=e._start;for(;null!==r;){if(r.countable&&!r.deleted){const o=r.content.getContent();for(let r=0;r<o.length;r++)t(o[r],n++,e)}r=r.right}},Rt=(e,t)=>{const n=[];return Pt(e,(r,o)=>{n.push(t(r,o,e))}),n},It=e=>{let t=e._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(null===n){for(;null!==t&&t.deleted;)t=t.right;if(null===t)return{done:!0,value:void 0};n=t.content.getContent(),r=0,t=t.right}const e=n[r++];return n.length<=r&&(n=null),{done:!1,value:e}}}},Mt=(e,t)=>{const n=Et(e,t);let r=e._start;for(null!==n&&(r=n.p,t-=n.index);null!==r;r=r.right)if(!r.deleted&&r.countable){if(t<r.length)return r.content.getContent()[t];t-=r.length}},Nt=(e,t,n,r)=>{let o=n;const i=e.doc,a=i.clientID,s=i.store,l=null===n?t._start:n.right;let c=[];const u=()=>{c.length>0&&(o=new Un(we(a,Be(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new xn(c)),o.integrate(e,0),c=[])};r.forEach(n=>{if(null===n)c.push(n);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(n);break;default:switch(u(),n.constructor){case Uint8Array:case ArrayBuffer:o=new Un(we(a,Be(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new vn(new Uint8Array(n))),o.integrate(e,0);break;case Q:o=new Un(we(a,Be(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new wn(n)),o.integrate(e,0);break;default:if(!(n instanceof Ot))throw new Error("Unexpected content type in insert operation");o=new Un(we(a,Be(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new Dn(n)),o.integrate(e,0)}}}),u()},Dt=A.create("Length exceeded!"),jt=(e,t,n,r)=>{if(n>t._length)throw Dt;if(0===n)return t._searchMarker&&xt(t._searchMarker,n,r.length),Nt(e,t,null,r);const o=n,i=Et(t,n);let a=t._start;for(null!==i&&(a=i.p,0===(n-=i.index)&&(a=a.prev,n+=a&&a.countable&&!a.deleted?a.length:0));null!==a;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){n<a.length&&ze(e,we(a.id.client,a.id.clock+n));break}n-=a.length}return t._searchMarker&&xt(t._searchMarker,o,r.length),Nt(e,t,a,r)},Lt=(e,t,n,r)=>{if(0===r)return;const o=n,i=r,a=Et(t,n);let s=t._start;for(null!==a&&(s=a.p,n-=a.index);null!==s&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&ze(e,we(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&null!==s;)s.deleted||(r<s.length&&ze(e,we(s.id.client,s.id.clock+r)),s.delete(e),r-=s.length),s=s.right;if(r>0)throw Dt;t._searchMarker&&xt(t._searchMarker,o,-i+r)},Bt=(e,t,n)=>{const r=t._map.get(n);void 0!==r&&r.delete(e)},Ft=(e,t,n,r)=>{const o=t._map.get(n)||null,i=e.doc,a=i.clientID;let s;if(null==r)s=new xn([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new xn([r]);break;case Uint8Array:s=new vn(r);break;case Q:s=new wn(r);break;default:if(!(r instanceof Ot))throw new Error("Unexpected content type");s=new Dn(r)}new Un(we(a,Be(i.store,a)),o,o&&o.lastId,null,null,t,n,s).integrate(e,0)},Ut=(e,t)=>{const n=e._map.get(t);return void 0===n||n.deleted?void 0:n.content.getContent()[n.length-1]},Ht=e=>{const t={};return e._map.forEach((e,n)=>{e.deleted||(t[n]=e.content.getContent()[e.length-1])}),t},Vt=(e,t)=>{const n=e._map.get(t);return void 0!==n&&!n.deleted},zt=e=>D.iteratorFilter(e.entries(),e=>!e[1].deleted);class qt extends bt{constructor(e,t){super(e,t),this._transaction=t}}class Gt extends Ot{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){const t=new Gt;return t.push(e),t}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Gt}clone(){const e=new Gt;return e.insert(0,this.toArray().map(e=>e instanceof Ot?e.clone():e)),e}get length(){return null===this._prelimContent?this._length:this._prelimContent.length}_callObserver(e,t){super._callObserver(e,t),kt(this,e,new qt(this,e))}insert(e,t){null!==this.doc?Je(this.doc,n=>{jt(n,this,e,t)}):this._prelimContent.splice(e,0,...t)}push(e){null!==this.doc?Je(this.doc,t=>{((e,t,n)=>{let r=(t._searchMarker||[]).reduce((e,t)=>t.index>e.index?t:e,{index:0,p:t._start}).p;if(r)for(;r.right;)r=r.right;Nt(e,t,r,n)})(t,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,t=1){null!==this.doc?Je(this.doc,n=>{Lt(n,this,e,t)}):this._prelimContent.splice(e,t)}get(e){return Mt(this,e)}toArray(){return At(this)}slice(e=0,t=this.length){return Tt(this,e,t)}toJSON(){return this.map(e=>e instanceof Ot?e.toJSON():e)}map(e){return Rt(this,e)}forEach(e){Pt(this,e)}[Symbol.iterator](){return It(this)}_write(e){e.writeTypeRef(Tn)}}class Wt extends bt{constructor(e,t,n){super(e,t),this.keysChanged=n}}class Yt extends Ot{constructor(e){super(),this._prelimContent=null,this._prelimContent=void 0===e?new Map:new Map(e)}_integrate(e,t){super._integrate(e,t),this._prelimContent.forEach((e,t)=>{this.set(t,e)}),this._prelimContent=null}_copy(){return new Yt}clone(){const e=new Yt;return this.forEach((t,n)=>{e.set(n,t instanceof Ot?t.clone():t)}),e}_callObserver(e,t){kt(this,e,new Wt(this,e,t))}toJSON(){const e={};return this._map.forEach((t,n)=>{if(!t.deleted){const r=t.content.getContent()[t.length-1];e[n]=r instanceof Ot?r.toJSON():r}}),e}get size(){return[...zt(this._map)].length}keys(){return D.iteratorMap(zt(this._map),e=>e[0])}values(){return D.iteratorMap(zt(this._map),e=>e[1].content.getContent()[e[1].length-1])}entries(){return D.iteratorMap(zt(this._map),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){return this._map.forEach((t,n)=>{t.deleted||e(t.content.getContent()[t.length-1],n,this)}),{}}[Symbol.iterator](){return this.entries()}delete(e){null!==this.doc?Je(this.doc,t=>{Bt(t,this,e)}):this._prelimContent.delete(e)}set(e,t){return null!==this.doc?Je(this.doc,n=>{Ft(n,this,e,t)}):this._prelimContent.set(e,t),t}get(e){return Ut(this,e)}has(e){return Vt(this,e)}clear(){null!==this.doc?Je(this.doc,e=>{this.forEach((function(t,n,r){Bt(e,r,n)}))}):this._prelimContent.clear()}_write(e){e.writeTypeRef(An)}}const Zt=(e,t)=>e===t||"object"==typeof e&&"object"==typeof t&&e&&t&&j.equalFlat(e,t);class Kt{constructor(e,t,n,r){this.left=e,this.right=t,this.index=n,this.currentAttributes=r}forward(){switch(null===this.right&&A.unexpectedCase(),this.right.content.constructor){case Sn:this.right.deleted||Jt(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length)}this.left=this.right,this.right=this.right.right}}const $t=(e,t,n)=>{for(;null!==t.right&&n>0;){switch(t.right.content.constructor){case Sn:t.right.deleted||Jt(t.currentAttributes,t.right.content);break;default:t.right.deleted||(n<t.right.length&&ze(e,we(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length)}t.left=t.right,t.right=t.right.right}return t},Qt=(e,t,n)=>{const r=new Map,o=Et(t,n);if(o){const t=new Kt(o.p.left,o.p,o.index,r);return $t(e,t,n-o.index)}{const o=new Kt(null,t._start,0,r);return $t(e,o,n)}},Xt=(e,t,n,r)=>{for(;null!==n.right&&(!0===n.right.deleted||n.right.content.constructor===Sn&&Zt(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();const o=e.doc,i=o.clientID;r.forEach((r,a)=>{const s=n.left,l=n.right,c=new Un(we(i,Be(o.store,i)),s,s&&s.lastId,l,l&&l.id,t,null,new Sn(a,r));c.integrate(e,0),n.right=c,n.forward()})},Jt=(e,t)=>{const{key:n,value:r}=t;null===r?e.delete(n):e.set(n,r)},en=(e,t)=>{for(;null!==e.right&&(e.right.deleted||e.right.content.constructor===Sn&&Zt(t[e.right.content.key]||null,e.right.content.value));)e.forward()},tn=(e,t,n,r)=>{const o=e.doc,i=o.clientID,a=new Map;for(const s in r){const l=r[s],c=n.currentAttributes.get(s)||null;if(!Zt(c,l)){a.set(s,c);const{left:r,right:u}=n;n.right=new Un(we(i,Be(o.store,i)),r,r&&r.lastId,u,u&&u.id,t,null,new Sn(s,l)),n.right.integrate(e,0),n.forward()}}return a},nn=(e,t,n,r,o)=>{n.currentAttributes.forEach((e,t)=>{void 0===o[t]&&(o[t]=null)});const i=e.doc,a=i.clientID;en(n,o);const s=tn(e,t,n,o),l=r.constructor===String?new kn(r):r instanceof Ot?new Dn(r):new Cn(r);let{left:c,right:u,index:d}=n;t._searchMarker&&xt(t._searchMarker,n.index,l.getLength()),u=new Un(we(a,Be(i.store,a)),c,c&&c.lastId,u,u&&u.id,t,null,l),u.integrate(e,0),n.right=u,n.index=d,n.forward(),Xt(e,t,n,s)},rn=(e,t,n,r,o)=>{const i=e.doc,a=i.clientID;en(n,o);const s=tn(e,t,n,o);for(;null!==n.right&&(r>0||n.right.content.constructor===Sn);){if(!n.right.deleted)switch(n.right.content.constructor){case Sn:{const{key:t,value:r}=n.right.content,i=o[t];void 0!==i&&(Zt(i,r)?s.delete(t):s.set(t,r),n.right.delete(e));break}default:r<n.right.length&&ze(e,we(n.right.id.client,n.right.id.clock+r)),r-=n.right.length}n.forward()}if(r>0){let o="";for(;r>0;r--)o+="\n";n.right=new Un(we(a,Be(i.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new kn(o)),n.right.integrate(e,0),n.forward()}Xt(e,t,n,s)},on=(e,t,n,r,o)=>{let i=n;const a=S.copy(o);for(;i&&(!i.countable||i.deleted);)i.deleted||i.content.constructor!==Sn||Jt(a,i.content),i=i.right;let s=0,l=!1;for(;t!==i;){if(n===t&&(l=!0),!t.deleted){const n=t.content;switch(n.constructor){case Sn:{const{key:i,value:c}=n;(a.get(i)||null)===c&&(r.get(i)||null)!==c||(t.delete(e),s++,l||(o.get(i)||null)!==c||(r.get(i)||null)===c||o.delete(i));break}}}t=t.right}return s},an=e=>{let t=0;return Je(e.doc,n=>{let r=e._start,o=e._start,i=S.create();const a=S.copy(i);for(;o;){if(!1===o.deleted)switch(o.content.constructor){case Sn:Jt(a,o.content);break;default:t+=on(n,r,o,i,a),i=S.copy(a),r=o}o=o.right}}),t},sn=(e,t,n)=>{const r=n,o=S.copy(t.currentAttributes),i=t.right;for(;n>0&&null!==t.right;){if(!1===t.right.deleted)switch(t.right.content.constructor){case Dn:case Cn:case kn:n<t.right.length&&ze(e,we(t.right.id.client,t.right.id.clock+n)),n-=t.right.length,t.right.delete(e)}t.forward()}i&&on(e,i,t.right,o,t.currentAttributes);const a=(t.left||t.right).parent;return a._searchMarker&&xt(a._searchMarker,t.index,-r+n),t};class ln extends bt{constructor(e,t,n){super(e,t),this.childListChanged=!1,this.keysChanged=new Set,n.forEach(e=>{null===e?this.childListChanged=!0:this.keysChanged.add(e)})}get changes(){if(null===this._changes){const e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(null===this._delta){const e=this.target.doc,t=[];Je(e,e=>{const n=new Map,r=new Map;let o=this.target._start,i=null;const a={};let s="",l=0,c=0;const u=()=>{if(null!==i){let e;switch(i){case"delete":e={delete:c},c=0;break;case"insert":e={insert:s},n.size>0&&(e.attributes={},n.forEach((t,n)=>{null!==t&&(e.attributes[n]=t)})),s="";break;case"retain":if(e={retain:l},Object.keys(a).length>0){e.attributes={};for(const t in a)e.attributes[t]=a[t]}l=0}t.push(e),i=null}};for(;null!==o;){switch(o.content.constructor){case Dn:case Cn:this.adds(o)?this.deletes(o)||(u(),i="insert",s=o.content.getContent()[0],u()):this.deletes(o)?("delete"!==i&&(u(),i="delete"),c+=1):o.deleted||("retain"!==i&&(u(),i="retain"),l+=1);break;case kn:this.adds(o)?this.deletes(o)||("insert"!==i&&(u(),i="insert"),s+=o.content.str):this.deletes(o)?("delete"!==i&&(u(),i="delete"),c+=o.length):o.deleted||("retain"!==i&&(u(),i="retain"),l+=o.length);break;case Sn:{const{key:t,value:s}=o.content;if(this.adds(o)){if(!this.deletes(o)){const l=n.get(t)||null;Zt(l,s)?null!==s&&o.delete(e):("retain"===i&&u(),Zt(s,r.get(t)||null)?delete a[t]:a[t]=s)}}else if(this.deletes(o)){r.set(t,s);const e=n.get(t)||null;Zt(e,s)||("retain"===i&&u(),a[t]=e)}else if(!o.deleted){r.set(t,s);const n=a[t];void 0!==n&&(Zt(n,s)?null!==n&&o.delete(e):("retain"===i&&u(),null===s?delete a[t]:a[t]=s))}o.deleted||("insert"===i&&u(),Jt(n,o.content));break}}o=o.right}for(u();t.length>0;){const e=t[t.length-1];if(void 0===e.retain||void 0!==e.attributes)break;t.pop()}}),this._delta=t}return this._delta}}class cn extends Ot{constructor(e){super(),this._pending=void 0!==e?[()=>this.insert(0,e)]:[],this._searchMarker=[]}get length(){return this._length}_integrate(e,t){super._integrate(e,t);try{this._pending.forEach(e=>e())}catch(e){console.error(e)}this._pending=null}_copy(){return new cn}clone(){const e=new cn;return e.applyDelta(this.toDelta()),e}_callObserver(e,t){super._callObserver(e,t);const n=new ln(this,e,t),r=e.doc;if(kt(this,e,n),!e.local){let t=!1;for(const[n,o]of e.afterState.entries()){const i=e.beforeState.get(n)||0;if(o!==i&&(Ge(e,r.store.clients.get(n),i,o,e=>{e.deleted||e.content.constructor!==Sn||(t=!0)}),t))break}t||U(e,e.deleteSet,e=>{e instanceof yn||t||e.parent===this&&e.content.constructor===Sn&&(t=!0)}),Je(r,e=>{t?an(this):U(e,e.deleteSet,t=>{t instanceof yn||t.parent===this&&((e,t)=>{for(;t&&t.right&&(t.right.deleted||!t.right.countable);)t=t.right;const n=new Set;for(;t&&(t.deleted||!t.countable);){if(!t.deleted&&t.content.constructor===Sn){const r=t.content.key;n.has(r)?t.delete(e):n.add(r)}t=t.left}})(e,t)})})}}toString(){let e="",t=this._start;for(;null!==t;)!t.deleted&&t.countable&&t.content.constructor===kn&&(e+=t.content.str),t=t.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:t=!0}={}){null!==this.doc?Je(this.doc,n=>{const r=new Kt(null,this._start,0,new Map);for(let o=0;o<e.length;o++){const i=e[o];if(void 0!==i.insert){const a=t||"string"!=typeof i.insert||o!==e.length-1||null!==r.right||"\n"!==i.insert.slice(-1)?i.insert:i.insert.slice(0,-1);("string"!=typeof a||a.length>0)&&nn(n,this,r,a,i.attributes||{})}else void 0!==i.retain?rn(n,this,r,i.retain,i.attributes||{}):void 0!==i.delete&&sn(n,r,i.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,t,n){const r=[],o=new Map,i=this.doc;let a="",s=this._start;function l(){if(a.length>0){const e={};let t=!1;o.forEach((n,r)=>{t=!0,e[r]=n});const n={insert:a};t&&(n.attributes=e),r.push(n),a=""}}return Je(i,i=>{for(e&&De(i,e),t&&De(i,t);null!==s;){if(Ne(s,e)||void 0!==t&&Ne(s,t))switch(s.content.constructor){case kn:{const r=o.get("ychange");void 0===e||Ne(s,e)?void 0===t||Ne(s,t)?void 0!==r&&(l(),o.delete("ychange")):void 0!==r&&r.user===s.id.client&&"added"===r.state||(l(),o.set("ychange",n?n("added",s.id):{type:"added"})):void 0!==r&&r.user===s.id.client&&"removed"===r.state||(l(),o.set("ychange",n?n("removed",s.id):{type:"removed"})),a+=s.content.str;break}case Dn:case Cn:{l();const e={insert:s.content.getContent()[0]};if(o.size>0){const t={};e.attributes=t,o.forEach((e,n)=>{t[n]=e})}r.push(e);break}case Sn:Ne(s,e)&&(l(),Jt(o,s.content))}s=s.right}l()},De),r}insert(e,t,n){if(t.length<=0)return;const r=this.doc;null!==r?Je(r,r=>{const o=Qt(r,this,e);n||(n={},o.currentAttributes.forEach((e,t)=>{n[t]=e})),nn(r,this,o,t,n)}):this._pending.push(()=>this.insert(e,t,n))}insertEmbed(e,t,n={}){const r=this.doc;null!==r?Je(r,r=>{const o=Qt(r,this,e);nn(r,this,o,t,n)}):this._pending.push(()=>this.insertEmbed(e,t,n))}delete(e,t){if(0===t)return;const n=this.doc;null!==n?Je(n,n=>{sn(n,Qt(n,this,e),t)}):this._pending.push(()=>this.delete(e,t))}format(e,t,n){if(0===t)return;const r=this.doc;null!==r?Je(r,r=>{const o=Qt(r,this,e);null!==o.right&&rn(r,this,o,t,n)}):this._pending.push(()=>this.format(e,t,n))}removeAttribute(e){null!==this.doc?Je(this.doc,t=>{Bt(t,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,t){null!==this.doc?Je(this.doc,n=>{Ft(n,this,e,t)}):this._pending.push(()=>this.setAttribute(e,t))}getAttribute(e){return Ut(this,e)}getAttributes(e){return Ht(this)}_write(e){e.writeTypeRef(Pn)}}class un{constructor(e,t=(()=>!0)){this._filter=t,this._root=e,this._currentNode=e._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let e=this._currentNode,t=e&&e.content&&e.content.type;if(null!==e&&(!this._firstCall||e.deleted||!this._filter(t)))do{if(t=e.content.type,e.deleted||t.constructor!==pn&&t.constructor!==dn||null===t._start)for(;null!==e;){if(null!==e.right){e=e.right;break}e=e.parent===this._root?null:e.parent._item}else e=t._start}while(null!==e&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,null===e?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}}class dn extends Ot{constructor(){super(),this._prelimContent=[]}get firstChild(){const e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new dn}clone(){const e=new dn;return e.insert(0,this.toArray().map(e=>e instanceof Ot?e.clone():e)),e}get length(){return null===this._prelimContent?this._length:this._prelimContent.length}createTreeWalker(e){return new un(this,e)}querySelector(e){e=e.toUpperCase();const t=new un(this,t=>t.nodeName&&t.nodeName.toUpperCase()===e).next();return t.done?null:t.value}querySelectorAll(e){return e=e.toUpperCase(),Array.from(new un(this,t=>t.nodeName&&t.nodeName.toUpperCase()===e))}_callObserver(e,t){kt(this,e,new fn(this,t,e))}toString(){return Rt(this,e=>e.toString()).join("")}toJSON(){return this.toString()}toDOM(e=document,t={},n){const r=e.createDocumentFragment();return void 0!==n&&n._createAssociation(r,this),Pt(this,o=>{r.insertBefore(o.toDOM(e,t,n),null)}),r}insert(e,t){null!==this.doc?Je(this.doc,n=>{jt(n,this,e,t)}):this._prelimContent.splice(e,0,...t)}insertAfter(e,t){if(null!==this.doc)Je(this.doc,n=>{const r=e&&e instanceof Ot?e._item:e;Nt(n,this,r,t)});else{const n=this._prelimContent,r=null===e?0:n.findIndex(t=>t===e)+1;if(0===r&&null!==e)throw A.create("Reference item not found");n.splice(r,0,...t)}}delete(e,t=1){null!==this.doc?Je(this.doc,n=>{Lt(n,this,e,t)}):this._prelimContent.splice(e,t)}toArray(){return At(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return Mt(this,e)}slice(e=0,t=this.length){return Tt(this,e,t)}forEach(e){Pt(this,e)}_write(e){e.writeTypeRef(In)}}class pn extends dn{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,t){super._integrate(e,t),this._prelimAttrs.forEach((e,t)=>{this.setAttribute(t,e)}),this._prelimAttrs=null}_copy(){return new pn(this.nodeName)}clone(){const e=new pn(this.nodeName),t=this.getAttributes();for(const n in t)e.setAttribute(n,t[n]);return e.insert(0,this.toArray().map(e=>e instanceof Ot?e.clone():e)),e}toString(){const e=this.getAttributes(),t=[],n=[];for(const t in e)n.push(t);n.sort();const r=n.length;for(let o=0;o<r;o++){const r=n[o];t.push(r+'="'+e[r]+'"')}const o=this.nodeName.toLocaleLowerCase();return`<${o}${t.length>0?" "+t.join(" "):""}>${super.toString()}</${o}>`}removeAttribute(e){null!==this.doc?Je(this.doc,t=>{Bt(t,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,t){null!==this.doc?Je(this.doc,n=>{Ft(n,this,e,t)}):this._prelimAttrs.set(e,t)}getAttribute(e){return Ut(this,e)}hasAttribute(e){return Vt(this,e)}getAttributes(e){return Ht(this)}toDOM(e=document,t={},n){const r=e.createElement(this.nodeName),o=this.getAttributes();for(const e in o)r.setAttribute(e,o[e]);return Pt(this,o=>{r.appendChild(o.toDOM(e,t,n))}),void 0!==n&&n._createAssociation(r,this),r}_write(e){e.writeTypeRef(Rn),e.writeKey(this.nodeName)}}class fn extends bt{constructor(e,t,n){super(e,n),this.childListChanged=!1,this.attributesChanged=new Set,t.forEach(e=>{null===e?this.childListChanged=!0:this.attributesChanged.add(e)})}}class hn extends Yt{constructor(e){super(),this.hookName=e}_copy(){return new hn(this.hookName)}clone(){const e=new hn(this.hookName);return this.forEach((t,n)=>{e.set(n,t)}),e}toDOM(e=document,t={},n){const r=t[this.hookName];let o;return o=void 0!==r?r.createDom(this):document.createElement(this.hookName),o.setAttribute("data-yjs-hook",this.hookName),void 0!==n&&n._createAssociation(o,this),o}_write(e){e.writeTypeRef(Mn),e.writeKey(this.hookName)}}class mn extends cn{get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new mn}clone(){const e=new mn;return e.applyDelta(this.toDelta()),e}toDOM(e=document,t,n){const r=e.createTextNode(this.toString());return void 0!==n&&n._createAssociation(r,this),r}toString(){return this.toDelta().map(e=>{const t=[];for(const n in e.attributes){const r=[];for(const t in e.attributes[n])r.push({key:t,value:e.attributes[n][t]});r.sort((e,t)=>e.key<t.key?-1:1),t.push({nodeName:n,attrs:r})}t.sort((e,t)=>e.nodeName<t.nodeName?-1:1);let n="";for(let e=0;e<t.length;e++){const r=t[e];n+="<"+r.nodeName;for(let e=0;e<r.attrs.length;e++){const t=r.attrs[e];n+=` ${t.key}="${t.value}"`}n+=">"}n+=e.insert;for(let e=t.length-1;e>=0;e--)n+=`</${t[e].nodeName}>`;return n}).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(Nn)}}class gn{constructor(e,t){this.id=e,this.length=t}get deleted(){throw A.methodUnimplemented()}mergeWith(e){return!1}write(e,t,n){throw A.methodUnimplemented()}integrate(e,t){throw A.methodUnimplemented()}}class yn extends gn{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor===e.constructor&&(this.length+=e.length,!0)}integrate(e,t){t>0&&(this.id.clock+=t,this.length-=t),Fe(e.doc.store,this)}write(e,t){e.writeInfo(0),e.writeLen(this.length-t)}getMissing(e,t){return null}}class vn{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new vn(this.content)}splice(e){throw A.methodUnimplemented()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeBuf(this.content)}getRef(){return 3}}class bn{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new bn(this.len)}splice(e){const t=new bn(this.len-e);return this.len=e,t}mergeWith(e){return this.len+=e.len,!0}integrate(e,t){q(e.deleteSet,t.id.client,t.id.clock,this.len),t.markDeleted()}delete(e){}gc(e){}write(e,t){e.writeLen(this.len-t)}getRef(){return 1}}const _n=(e,t)=>new Q({guid:e,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class wn{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;const t={};this.opts=t,e.gc||(t.gc=!1),e.autoLoad&&(t.autoLoad=!0),null!==e.meta&&(t.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new wn(_n(this.doc.guid,this.opts))}splice(e){throw A.methodUnimplemented()}mergeWith(e){return!1}integrate(e,t){this.doc._item=t,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,t){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}}class Cn{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new Cn(this.embed)}splice(e){throw A.methodUnimplemented()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeJSON(this.embed)}getRef(){return 5}}class Sn{constructor(e,t){this.key=e,this.value=t}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new Sn(this.key,this.value)}splice(e){throw A.methodUnimplemented()}mergeWith(e){return!1}integrate(e,t){t.parent._searchMarker=null}delete(e){}gc(e){}write(e,t){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}}class En{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new En(this.arr)}splice(e){const t=new En(this.arr.slice(e));return this.arr=this.arr.slice(0,e),t}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){const n=this.arr.length;e.writeLen(n-t);for(let r=t;r<n;r++){const t=this.arr[r];e.writeString(void 0===t?"undefined":JSON.stringify(t))}}getRef(){return 2}}class xn{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new xn(this.arr)}splice(e){const t=new xn(this.arr.slice(e));return this.arr=this.arr.slice(0,e),t}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){const n=this.arr.length;e.writeLen(n-t);for(let r=t;r<n;r++){const t=this.arr[r];e.writeAny(t)}}getRef(){return 8}}class kn{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new kn(this.str)}splice(e){const t=new kn(this.str.slice(e));this.str=this.str.slice(0,e);const n=this.str.charCodeAt(e-1);return n>=55296&&n<=56319&&(this.str=this.str.slice(0,e-1)+"�",t.str="�"+t.str.slice(1)),t}mergeWith(e){return this.str+=e.str,!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeString(0===t?this.str:this.str.slice(t))}getRef(){return 4}}const On=[e=>new Gt,e=>new Yt,e=>new cn,e=>new pn(e.readKey()),e=>new dn,e=>new hn(e.readKey()),e=>new mn],Tn=0,An=1,Pn=2,Rn=3,In=4,Mn=5,Nn=6;class Dn{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Dn(this.type._copy())}splice(e){throw A.methodUnimplemented()}mergeWith(e){return!1}integrate(e,t){this.type._integrate(e.doc,t)}delete(e){let t=this.type._start;for(;null!==t;)t.deleted?e._mergeStructs.push(t):t.delete(e),t=t.right;this.type._map.forEach(t=>{t.deleted?e._mergeStructs.push(t):t.delete(e)}),e.changed.delete(this.type)}gc(e){let t=this.type._start;for(;null!==t;)t.gc(e,!0),t=t.right;this.type._start=null,this.type._map.forEach(t=>{for(;null!==t;)t.gc(e,!0),t=t.left}),this.type._map=new Map}write(e,t){this.type._write(e)}getRef(){return 7}}const jn=(e,t)=>{let n,r=t,o=0;do{o>0&&(r=we(r.client,r.clock+o)),n=He(e,r),o=r.clock-n.id.clock,r=n.redone}while(null!==r&&n instanceof Un);return{item:n,diff:o}},Ln=(e,t)=>{for(;null!==e&&e.keep!==t;)e.keep=t,e=e.parent._item},Bn=(e,t,n)=>{const{client:r,clock:o}=t.id,i=new Un(we(r,o+n),t,we(r,o+n-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(n));return t.deleted&&i.markDeleted(),t.keep&&(i.keep=!0),null!==t.redone&&(i.redone=we(t.redone.client,t.redone.clock+n)),t.right=i,null!==i.right&&(i.right.left=i),e._mergeStructs.push(i),null!==i.parentSub&&null===i.right&&i.parent._map.set(i.parentSub,i),t.length=n,i},Fn=(e,t,n,r,o)=>{const i=e.doc,a=i.store,s=i.clientID,l=t.redone;if(null!==l)return ze(e,l);let c,u=t.parent._item,d=null;if(null!==u&&!0===u.deleted){if(null===u.redone&&(!n.has(u)||null===Fn(e,u,n,r,o)))return null;for(;null!==u.redone;)u=ze(e,u.redone)}const p=null===u?t.parent:u.content.type;if(null===t.parentSub){for(d=t.left,c=t;null!==d;){let t=d;for(;null!==t&&t.parent._item!==u;)t=null===t.redone?null:ze(e,t.redone);if(null!==t&&t.parent._item===u){d=t;break}d=d.left}for(;null!==c;){let t=c;for(;null!==t&&t.parent._item!==u;)t=null===t.redone?null:ze(e,t.redone);if(null!==t&&t.parent._item===u){c=t;break}c=c.right}}else if(c=null,t.right&&!o){for(d=t;null!==d&&null!==d.right&&H(r,d.right.id);)d=d.right;for(;null!==d&&null!==d.redone;)d=ze(e,d.redone);if(null===d||d.parent._item!==u)return null;if(d&&null!==d.right)return null}else d=p._map.get(t.parentSub)||null;const f=Be(a,s),h=we(s,f),m=new Un(h,d,d&&d.lastId,c,c&&c.id,p,t.parentSub,t.content.copy());return t.redone=h,Ln(m,!0),m.integrate(e,0),m};class Un extends gn{constructor(e,t,n,r,o,i,a,s){super(e,s.getLength()),this.origin=n,this.left=t,this.right=r,this.rightOrigin=o,this.parent=i,this.parentSub=a,this.redone=null,this.content=s,this.info=this.content.isCountable()?P.BIT2:0}set marker(e){(this.info&P.BIT4)>0!==e&&(this.info^=P.BIT4)}get marker(){return(this.info&P.BIT4)>0}get keep(){return(this.info&P.BIT1)>0}set keep(e){this.keep!==e&&(this.info^=P.BIT1)}get countable(){return(this.info&P.BIT2)>0}get deleted(){return(this.info&P.BIT3)>0}set deleted(e){this.deleted!==e&&(this.info^=P.BIT3)}markDeleted(){this.info|=P.BIT3}getMissing(e,t){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=Be(t,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=Be(t,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===be&&this.id.client!==this.parent.client&&this.parent.clock>=Be(t,this.parent.client))return this.parent.client;if(this.origin&&(this.left=qe(e,t,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=ze(e,this.rightOrigin),this.rightOrigin=this.right.id),(this.left&&this.left.constructor===yn||this.right&&this.right.constructor===yn)&&(this.parent=null),this.parent){if(this.parent.constructor===be){const e=He(t,this.parent);e.constructor===yn?this.parent=null:this.parent=e.content.type}}else this.left&&this.left.constructor===Un&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===Un&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);return null}integrate(e,t){if(t>0&&(this.id.clock+=t,this.left=qe(e,e.doc.store,we(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(t),this.length-=t),this.parent){if(!this.left&&(!this.right||null!==this.right.left)||this.left&&this.left.right!==this.right){let t,n=this.left;if(null!==n)t=n.right;else if(null!==this.parentSub)for(t=this.parent._map.get(this.parentSub)||null;null!==t&&null!==t.left;)t=t.left;else t=this.parent._start;const r=new Set,o=new Set;for(;null!==t&&t!==this.right;){if(o.add(t),r.add(t),_e(this.origin,t.origin)){if(t.id.client<this.id.client)n=t,r.clear();else if(_e(this.rightOrigin,t.rightOrigin))break}else{if(null===t.origin||!o.has(He(e.doc.store,t.origin)))break;r.has(He(e.doc.store,t.origin))||(n=t,r.clear())}t=t.right}this.left=n}if(null!==this.left){const e=this.left.right;this.right=e,this.left.right=this}else{let e;if(null!==this.parentSub)for(e=this.parent._map.get(this.parentSub)||null;null!==e&&null!==e.left;)e=e.left;else e=this.parent._start,this.parent._start=this;this.right=e}null!==this.right?this.right.left=this:null!==this.parentSub&&(this.parent._map.set(this.parentSub,this),null!==this.left&&this.left.delete(e)),null===this.parentSub&&this.countable&&!this.deleted&&(this.parent._length+=this.length),Fe(e.doc.store,this),this.content.integrate(e,this),Ze(e,this.parent,this.parentSub),(null!==this.parent._item&&this.parent._item.deleted||null!==this.parentSub&&null!==this.right)&&this.delete(e)}else new yn(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;null!==e&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;null!==e&&e.deleted;)e=e.left;return e}get lastId(){return 1===this.length?this.id:we(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&_e(e.origin,this.lastId)&&this.right===e&&_e(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&null===this.redone&&null===e.redone&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){const t=this.parent._searchMarker;return t&&t.forEach(t=>{t.p===e&&(t.p=this,!this.deleted&&this.countable&&(t.index-=this.length))}),e.keep&&(this.keep=!0),this.right=e.right,null!==this.right&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){const t=this.parent;this.countable&&null===this.parentSub&&(t._length-=this.length),this.markDeleted(),q(e.deleteSet,this.id.client,this.id.clock,this.length),Ze(e,t,this.parentSub),this.content.delete(e)}}gc(e,t){if(!this.deleted)throw A.unexpectedCase();this.content.gc(e),t?((e,t,n)=>{const r=e.clients.get(t.id.client);r[Ue(r,t.id.clock)]=n})(e,this,new yn(this.id,this.length)):this.content=new bn(this.length)}write(e,t){const n=t>0?we(this.id.client,this.id.clock+t-1):this.origin,r=this.rightOrigin,o=this.parentSub,i=this.content.getRef()&P.BITS5|(null===n?0:P.BIT8)|(null===r?0:P.BIT7)|(null===o?0:P.BIT6);if(e.writeInfo(i),null!==n&&e.writeLeftID(n),null!==r&&e.writeRightID(r),null===n&&null===r){const t=this.parent;if(void 0!==t._item){const n=t._item;if(null===n){const n=Ee(t);e.writeParentInfo(!0),e.writeString(n)}else e.writeParentInfo(!1),e.writeLeftID(n.id)}else t.constructor===String?(e.writeParentInfo(!0),e.writeString(t)):t.constructor===be?(e.writeParentInfo(!1),e.writeLeftID(t)):A.unexpectedCase();null!==o&&e.writeString(o)}this.content.write(e,t)}}const Hn=(e,t)=>Vn[t&P.BITS5](e),Vn=[()=>{A.unexpectedCase()},e=>new bn(e.readLen()),e=>{const t=e.readLen(),n=[];for(let r=0;r<t;r++){const t=e.readString();"undefined"===t?n.push(void 0):n.push(JSON.parse(t))}return new En(n)},e=>new vn(e.readBuf()),e=>new kn(e.readString()),e=>new Cn(e.readJSON()),e=>new Sn(e.readKey(),e.readJSON()),e=>new Dn(On[e.readTypeRef()](e)),e=>{const t=e.readLen(),n=[];for(let r=0;r<t;r++)n.push(e.readAny());return new xn(n)},e=>new wn(_n(e.readString(),e.readAny())),()=>{A.unexpectedCase()}];class zn extends gn{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor===e.constructor&&(this.length+=e.length,!0)}integrate(e,t){A.unexpectedCase()}write(e,t){e.writeInfo(10),E.writeVarUint(e.restEncoder,this.length-t)}getMissing(e,t){return null}}const qn="undefined"!=typeof window?window:void 0!==n.g?n.g:{};!0===qn["__ $YJS$ __"]&&console.warn("Yjs was already imported. Importing different versions of Yjs often leads to issues."),qn["__ $YJS$ __"]=!0,t.AbsolutePosition=Oe,t.AbstractConnector=L,t.AbstractStruct=gn,t.AbstractType=Ot,t.Array=Gt,t.ContentAny=xn,t.ContentBinary=vn,t.ContentDeleted=bn,t.ContentEmbed=Cn,t.ContentFormat=Sn,t.ContentJSON=En,t.ContentString=kn,t.ContentType=Dn,t.Doc=Q,t.GC=yn,t.ID=be,t.Item=Un,t.Map=Yt,t.PermanentUserData=class{constructor(e,t=e.getMap("users")){const n=new Map;this.yusers=t,this.doc=e,this.clients=new Map,this.dss=n;const r=(e,t)=>{const n=e.get("ds"),r=e.get("ids"),o=e=>this.clients.set(e,t);n.observe(e=>{e.changes.added.forEach(e=>{e.content.getContent().forEach(e=>{e instanceof Uint8Array&&this.dss.set(t,z([this.dss.get(t)||G(),Z(new X(x.createDecoder(e)))]))})})}),this.dss.set(t,z(n.map(e=>Z(new X(x.createDecoder(e)))))),r.observe(e=>e.changes.added.forEach(e=>e.content.getContent().forEach(o))),r.forEach(o)};t.observe(e=>{e.keysChanged.forEach(e=>r(t.get(e),e))}),t.forEach(r)}setUserMapping(e,t,n,{filter:r=(()=>!0)}={}){const o=this.yusers;let i=o.get(n);i||(i=new Yt,i.set("ids",new Gt),i.set("ds",new Gt),o.set(n,i)),i.get("ids").push([t]),o.observe(e=>{setTimeout(()=>{const e=o.get(n);if(e!==i){i=e,this.clients.forEach((e,t)=>{n===e&&i.get("ids").push([t])});const t=new ne,r=this.dss.get(n);r&&(Y(t,r),i.get("ds").push([t.toUint8Array()]))}},0)}),e.on("afterTransaction",e=>{setTimeout(()=>{const t=i.get("ds"),n=e.deleteSet;if(e.local&&n.clients.size>0&&r(e,n)){const e=new ne;Y(e,n),t.push([e.toUint8Array()])}})})}getUserByClientId(e){return this.clients.get(e)||null}getUserByDeletedId(e){for(const[t,n]of this.dss.entries())if(H(n,e))return t;return null}},t.RelativePosition=ke,t.Snapshot=Ae,t.Text=cn,t.Transaction=We,t.UndoManager=rt,t.XmlElement=pn,t.XmlFragment=dn,t.XmlHook=hn,t.XmlText=mn,t.YArrayEvent=qt,t.YEvent=bt,t.YMapEvent=Wt,t.YTextEvent=ln,t.YXmlEvent=fn,t.applyUpdate=(e,t,n)=>le(e,t,n,J),t.applyUpdateV2=le,t.cleanupYTextFormatting=an,t.compareIDs=_e,t.compareRelativePositions=(e,t)=>e===t||null!==e&&null!==t&&e.tname===t.tname&&_e(e.item,t.item)&&_e(e.type,t.type)&&e.assoc===t.assoc,t.convertUpdateFormatV1ToV2=e=>yt(e,J,ie),t.convertUpdateFormatV2ToV1=vt,t.createAbsolutePositionFromRelativePosition=(e,t)=>{const n=t.store,r=e.item,o=e.type,i=e.tname,a=e.assoc;let s=null,l=0;if(null!==r){if(Be(n,r.client)<=r.clock)return null;const e=jn(n,r),t=e.item;if(!(t instanceof Un))return null;if(s=t.parent,null===s._item||!s._item.deleted){l=t.deleted||!t.countable?0:e.diff+(a>=0?0:1);let n=t.left;for(;null!==n;)!n.deleted&&n.countable&&(l+=n.length),n=n.left}}else{if(null!==i)s=t.get(i);else{if(null===o)throw A.unexpectedCase();{if(Be(n,o.client)<=o.clock)return null;const{item:e}=jn(n,o);if(!(e instanceof Un&&e.content instanceof Dn))return null;s=e.content.type}}l=a>=0?s._length:0}return((e,t,n=0)=>new Oe(e,t,n))(s,l,e.assoc)},t.createDeleteSet=G,t.createDeleteSetFromStructStore=W,t.createDocFromSnapshot=(e,t,n=new Q)=>{if(e.gc)throw new Error("originDoc must not be garbage collected");const{sv:r,ds:o}=t,i=new ie;return e.transact(t=>{let n=0;r.forEach(e=>{e>0&&n++}),E.writeVarUint(i.restEncoder,n);for(const[n,o]of r){if(0===o)continue;o<Be(e.store,n)&&ze(t,we(n,o));const r=e.store.clients.get(n)||[],a=Ue(r,o-1);E.writeVarUint(i.restEncoder,a+1),i.writeClient(n),E.writeVarUint(i.restEncoder,0);for(let e=0;e<=a;e++)r[e].write(i,0)}Y(i,o)}),le(n,i.toUint8Array(),"snapshot"),n},t.createID=we,t.createRelativePositionFromJSON=e=>new ke(null==e.type?null:we(e.type.client,e.type.clock),e.tname||null,null==e.item?null:we(e.item.client,e.item.clock),null==e.assoc?0:e.assoc),t.createRelativePositionFromTypeIndex=(e,t,n=0)=>{let r=e._start;if(n<0){if(0===t)return Te(e,null,n);t--}for(;null!==r;){if(!r.deleted&&r.countable){if(r.length>t)return Te(e,we(r.id.client,r.id.clock+t),n);t-=r.length}if(null===r.right&&n<0)return Te(e,r.lastId,n);r=r.right}return Te(e,null,n)},t.createSnapshot=Ie,t.decodeRelativePosition=e=>(e=>{let t=null,n=null,r=null;switch(x.readVarUint(e)){case 0:r=Se(e);break;case 1:n=x.readVarString(e);break;case 2:t=Se(e)}const o=x.hasContent(e)?x.readVarInt(e):0;return new ke(t,n,r,o)})(x.createDecoder(e)),t.decodeSnapshot=e=>Re(e,new X(x.createDecoder(e))),t.decodeSnapshotV2=Re,t.decodeStateVector=de,t.decodeUpdate=e=>at(e,J),t.decodeUpdateV2=at,t.diffUpdate=(e,t)=>ft(e,t,J,re),t.diffUpdateV2=ft,t.emptySnapshot=Me,t.encodeRelativePosition=e=>{const t=E.createEncoder();return((e,t)=>{const{type:n,tname:r,item:o,assoc:i}=t;if(null!==o)E.writeVarUint(e,0),Ce(e,o);else if(null!==r)E.writeUint8(e,1),E.writeVarString(e,r);else{if(null===n)throw A.unexpectedCase();E.writeUint8(e,2),Ce(e,n)}E.writeVarInt(e,i)})(t,e),E.toUint8Array(t)},t.encodeSnapshot=e=>Pe(e,new ne),t.encodeSnapshotV2=Pe,t.encodeStateAsUpdate=(e,t)=>ce(e,t,new re),t.encodeStateAsUpdateV2=ce,t.encodeStateVector=e=>fe(e,new ne),t.encodeStateVectorFromUpdate=e=>ct(e,ne,J),t.encodeStateVectorFromUpdateV2=ct,t.equalSnapshots=(e,t)=>{const n=e.ds.clients,r=t.ds.clients,o=e.sv,i=t.sv;if(o.size!==i.size||n.size!==r.size)return!1;for(const[e,t]of o.entries())if(i.get(e)!==t)return!1;for(const[e,t]of n.entries()){const n=r.get(e)||[];if(t.length!==n.length)return!1;for(let e=0;e<t.length;e++){const r=t[e],o=n[e];if(r.clock!==o.clock||r.len!==o.len)return!1}}return!0},t.findIndexSS=Ue,t.findRootTypeKey=Ee,t.getItem=He,t.getState=Be,t.getTypeChildren=e=>{let t=e._start;const n=[];for(;t;)n.push(t),t=t.right;return n},t.isDeleted=H,t.isParentOf=xe,t.iterateDeletedStructs=U,t.logType=e=>{const t=[];let n=e._start;for(;n;)t.push(n),n=n.right;console.log("Children: ",t),console.log("Children content: ",t.filter(e=>!e.deleted).map(e=>e.content))},t.logUpdate=e=>it(e,J),t.logUpdateV2=it,t.mergeUpdates=lt,t.mergeUpdatesV2=pt,t.parseUpdateMeta=e=>ut(e,J),t.parseUpdateMetaV2=ut,t.readUpdate=(e,t,n)=>se(e,t,n,new J(e)),t.readUpdateV2=se,t.relativePositionToJSON=e=>{const t={};return e.type&&(t.type=e.type),e.tname&&(t.tname=e.tname),e.item&&(t.item=e.item),null!=e.assoc&&(t.assoc=e.assoc),t},t.snapshot=e=>Ie(W(e.store),Le(e.store)),t.transact=Je,t.tryGc=(e,t,n)=>{$e(e,t,n),Qe(e,t)},t.typeListToArraySnapshot=(e,t)=>{const n=[];let r=e._start;for(;null!==r;){if(r.countable&&Ne(r,t)){const e=r.content.getContent();for(let t=0;t<e.length;t++)n.push(e[t])}r=r.right}return n},t.typeMapGetSnapshot=(e,t,n)=>{let r=e._map.get(t)||null;for(;null!==r&&(!n.sv.has(r.id.client)||r.id.clock>=(n.sv.get(r.id.client)||0));)r=r.left;return null!==r&&Ne(r,n)?r.content.getContent()[r.length-1]:void 0}},99915:(e,t)=>{"use strict";const n=e=>e[e.length-1],r=()=>[],o=e=>e.slice(),i=(e,t)=>{for(let n=0;n<t.length;n++)e.push(t[n])},a=Array.from,s=(e,t)=>e.every(t),l=(e,t)=>e.some(t),c=(e,t)=>e.length===t.length&&s(e,(e,n)=>e===t[n]),u=e=>e.reduce((e,t)=>e.concat(t),[]),d=Array.isArray;var p=Object.freeze({__proto__:null,last:n,create:r,copy:o,appendTo:i,from:a,every:s,some:l,equalFlat:c,flatten:u,isArray:d});t.appendTo=i,t.array=p,t.copy=o,t.create=r,t.equalFlat=c,t.every=s,t.flatten=u,t.from=a,t.isArray=d,t.last=n,t.some=l},64706:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99915);t.appendTo=r.appendTo,t.copy=r.copy,t.create=r.create,t.equalFlat=r.equalFlat,t.every=r.every,t.flatten=r.flatten,t.from=r.from,t.isArray=r.isArray,t.last=r.last,t.some=r.some},53115:(e,t)=>{"use strict";var n=Object.freeze({__proto__:null,BIT1:1,BIT2:2,BIT3:4,BIT4:8,BIT5:16,BIT6:32,BIT7:64,BIT8:128,BIT9:256,BIT10:512,BIT11:1024,BIT12:2048,BIT13:4096,BIT14:8192,BIT15:16384,BIT16:32768,BIT17:65536,BIT18:1<<17,BIT19:1<<18,BIT20:1<<19,BIT21:1<<20,BIT22:1<<21,BIT23:1<<22,BIT24:1<<23,BIT25:1<<24,BIT26:1<<25,BIT27:1<<26,BIT28:1<<27,BIT29:1<<28,BIT30:1<<29,BIT31:1<<30,BIT32:1<<31,BITS0:0,BITS1:1,BITS2:3,BITS3:7,BITS4:15,BITS5:31,BITS6:63,BITS7:127,BITS8:255,BITS9:511,BITS10:1023,BITS11:2047,BITS12:4095,BITS13:8191,BITS14:16383,BITS15:32767,BITS16:65535,BITS17:131071,BITS18:262143,BITS19:524287,BITS20:1048575,BITS21:2097151,BITS22:4194303,BITS23:8388607,BITS24:16777215,BITS25:33554431,BITS26:67108863,BITS27:134217727,BITS28:268435455,BITS29:536870911,BITS30:(1<<30)-1,BITS31:2147483647,BITS32:4294967295});t.BIT1=1,t.BIT10=512,t.BIT11=1024,t.BIT12=2048,t.BIT13=4096,t.BIT14=8192,t.BIT15=16384,t.BIT16=32768,t.BIT17=65536,t.BIT18=1<<17,t.BIT19=1<<18,t.BIT2=2,t.BIT20=1<<19,t.BIT21=1<<20,t.BIT22=1<<21,t.BIT23=1<<22,t.BIT24=1<<23,t.BIT25=1<<24,t.BIT26=1<<25,t.BIT27=1<<26,t.BIT28=1<<27,t.BIT29=1<<28,t.BIT3=4,t.BIT30=1<<29,t.BIT31=1<<30,t.BIT32=1<<31,t.BIT4=8,t.BIT5=16,t.BIT6=32,t.BIT7=64,t.BIT8=128,t.BIT9=256,t.BITS0=0,t.BITS1=1,t.BITS10=1023,t.BITS11=2047,t.BITS12=4095,t.BITS13=8191,t.BITS14=16383,t.BITS15=32767,t.BITS16=65535,t.BITS17=131071,t.BITS18=262143,t.BITS19=524287,t.BITS2=3,t.BITS20=1048575,t.BITS21=2097151,t.BITS22=4194303,t.BITS23=8388607,t.BITS24=16777215,t.BITS25=33554431,t.BITS26=67108863,t.BITS27=134217727,t.BITS28=268435455,t.BITS29=536870911,t.BITS3=7,t.BITS30=(1<<30)-1,t.BITS31=2147483647,t.BITS32=4294967295,t.BITS4=15,t.BITS5=31,t.BITS6=63,t.BITS7=127,t.BITS8=255,t.BITS9=511,t.binary=n},13149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(53115);t.BIT1=r.BIT1,t.BIT10=r.BIT10,t.BIT11=r.BIT11,t.BIT12=r.BIT12,t.BIT13=r.BIT13,t.BIT14=r.BIT14,t.BIT15=r.BIT15,t.BIT16=r.BIT16,t.BIT17=r.BIT17,t.BIT18=r.BIT18,t.BIT19=r.BIT19,t.BIT2=r.BIT2,t.BIT20=r.BIT20,t.BIT21=r.BIT21,t.BIT22=r.BIT22,t.BIT23=r.BIT23,t.BIT24=r.BIT24,t.BIT25=r.BIT25,t.BIT26=r.BIT26,t.BIT27=r.BIT27,t.BIT28=r.BIT28,t.BIT29=r.BIT29,t.BIT3=r.BIT3,t.BIT30=r.BIT30,t.BIT31=r.BIT31,t.BIT32=r.BIT32,t.BIT4=r.BIT4,t.BIT5=r.BIT5,t.BIT6=r.BIT6,t.BIT7=r.BIT7,t.BIT8=r.BIT8,t.BIT9=r.BIT9,t.BITS0=r.BITS0,t.BITS1=r.BITS1,t.BITS10=r.BITS10,t.BITS11=r.BITS11,t.BITS12=r.BITS12,t.BITS13=r.BITS13,t.BITS14=r.BITS14,t.BITS15=r.BITS15,t.BITS16=r.BITS16,t.BITS17=r.BITS17,t.BITS18=r.BITS18,t.BITS19=r.BITS19,t.BITS2=r.BITS2,t.BITS20=r.BITS20,t.BITS21=r.BITS21,t.BITS22=r.BITS22,t.BITS23=r.BITS23,t.BITS24=r.BITS24,t.BITS25=r.BITS25,t.BITS26=r.BITS26,t.BITS27=r.BITS27,t.BITS28=r.BITS28,t.BITS29=r.BITS29,t.BITS3=r.BITS3,t.BITS30=r.BITS30,t.BITS31=r.BITS31,t.BITS32=r.BITS32,t.BITS4=r.BITS4,t.BITS5=r.BITS5,t.BITS6=r.BITS6,t.BITS7=r.BITS7,t.BITS8=r.BITS8,t.BITS9=r.BITS9},69731:(e,t,n)=>{"use strict";var r=n(13423).Buffer,o=n(31314),i=n(88139),a=n(53115),s=n(36482),l=n(91869),c=n(10219);class u{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const d=()=>new u,p=e=>{let t=e.cpos;for(let n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t},f=e=>{const t=new Uint8Array(p(e));let n=0;for(let r=0;r<e.bufs.length;r++){const o=e.bufs[r];t.set(o,n),n+=o.length}return t.set(Be(e.cbuf.buffer,0,e.cpos),n),t},h=(e,t)=>{const n=e.cbuf.length;n-e.cpos<t&&(e.bufs.push(Be(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(2*s.max(n,t)),e.cpos=0)},m=(e,t)=>{const n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(2*n),e.cpos=0),e.cbuf[e.cpos++]=t},g=(e,t,n)=>{let r=null;for(let n=0;n<e.bufs.length&&null===r;n++){const o=e.bufs[n];t<o.length?r=o:t-=o.length}null===r&&(r=e.cbuf),r[t]=n},y=m,v=g,b=(e,t)=>{m(e,t&a.BITS8),m(e,t>>>8&a.BITS8)},_=(e,t,n)=>{g(e,t,n&a.BITS8),g(e,t+1,n>>>8&a.BITS8)},w=(e,t)=>{for(let n=0;n<4;n++)m(e,t&a.BITS8),t>>>=8},C=(e,t)=>{for(let n=3;n>=0;n--)m(e,t>>>8*n&a.BITS8)},S=(e,t,n)=>{for(let r=0;r<4;r++)g(e,t+r,n&a.BITS8),n>>>=8},E=(e,t)=>{for(;t>a.BITS7;)m(e,a.BIT8|a.BITS7&t),t=s.floor(t/128);m(e,a.BITS7&t)},x=(e,t)=>{const n=s.isNegativeZero(t);for(n&&(t=-t),m(e,(t>a.BITS6?a.BIT8:0)|(n?a.BIT7:0)|a.BITS6&t),t=s.floor(t/64);t>0;)m(e,(t>a.BITS7?a.BIT8:0)|a.BITS7&t),t=s.floor(t/128)},k=new Uint8Array(3e4),O=k.length/3,T=(e,t)=>{if(t.length<O){const n=o.utf8TextEncoder.encodeInto(t,k).written||0;E(e,n);for(let t=0;t<n;t++)m(e,k[t])}else M(e,o.encodeUtf8(t))},A=(e,t)=>{const n=unescape(encodeURIComponent(t)),r=n.length;E(e,r);for(let t=0;t<r;t++)m(e,n.codePointAt(t))},P=o.utf8TextEncoder&&o.utf8TextEncoder.encodeInto?T:A,R=(e,t)=>I(e,f(t)),I=(e,t)=>{const n=e.cbuf.length,r=e.cpos,o=s.min(n-r,t.length),i=t.length-o;e.cbuf.set(t.subarray(0,o),r),e.cpos+=o,i>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(s.max(2*n,i)),e.cbuf.set(t.subarray(o)),e.cpos=i)},M=(e,t)=>{E(e,t.byteLength),I(e,t)},N=(e,t)=>{h(e,t);const n=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,n},D=(e,t)=>N(e,4).setFloat32(0,t,!1),j=(e,t)=>N(e,8).setFloat64(0,t,!1),L=(e,t)=>N(e,8).setBigInt64(0,t,!1),B=(e,t)=>N(e,8).setBigUint64(0,t,!1),F=new DataView(new ArrayBuffer(4)),U=(e,t)=>{switch(typeof t){case"string":m(e,119),P(e,t);break;case"number":l.isInteger(t)&&s.abs(t)<=a.BITS31?(m(e,125),x(e,t)):(n=t,F.setFloat32(0,n),F.getFloat32(0)===n?(m(e,124),D(e,t)):(m(e,123),j(e,t)));break;case"bigint":m(e,122),L(e,t);break;case"object":if(null===t)m(e,126);else if(t instanceof Array){m(e,117),E(e,t.length);for(let n=0;n<t.length;n++)U(e,t[n])}else if(t instanceof Uint8Array)m(e,116),M(e,t);else{m(e,118);const n=Object.keys(t);E(e,n.length);for(let r=0;r<n.length;r++){const o=n[r];P(e,o),U(e,t[o])}}break;case"boolean":m(e,t?120:121);break;default:m(e,127)}var n};class H extends u{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&E(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}class V extends u{constructor(e){super(),this.s=e}write(e){x(this,e-this.s),this.s=e}}class z extends u{constructor(e){super(),this.s=e,this.count=0}write(e){this.s===e&&this.count>0?this.count++:(this.count>0&&E(this,this.count-1),this.count=1,x(this,e-this.s),this.s=e)}}const q=e=>{e.count>0&&(x(e.encoder,1===e.count?e.s:-e.s),e.count>1&&E(e.encoder,e.count-2))};class G{constructor(){this.encoder=new u,this.s=0,this.count=0}write(e){this.s===e?this.count++:(q(this),this.count=1,this.s=e)}toUint8Array(){return q(this),f(this.encoder)}}class W{constructor(){this.encoder=new u,this.s=0,this.count=0}write(e){this.s+this.count===e?this.count++:(q(this),this.count=1,this.s=e)}toUint8Array(){return q(this),f(this.encoder)}}const Y=e=>{if(e.count>0){const t=2*e.diff+(1===e.count?0:1);x(e.encoder,t),e.count>1&&E(e.encoder,e.count-2)}};class Z{constructor(){this.encoder=new u,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(Y(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return Y(this),f(this.encoder)}}class K{constructor(){this.sarr=[],this.s="",this.lensE=new G}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){const e=new u;return this.sarr.push(this.s),this.s="",P(e,this.sarr.join("")),I(e,this.lensE.toUint8Array()),f(e)}}var $=Object.freeze({__proto__:null,Encoder:u,createEncoder:d,length:p,toUint8Array:f,verifyLen:h,write:m,set:g,writeUint8:y,setUint8:v,writeUint16:b,setUint16:_,writeUint32:w,writeUint32BigEndian:C,setUint32:S,writeVarUint:E,writeVarInt:x,_writeVarStringNative:T,_writeVarStringPolyfill:A,writeVarString:P,writeBinaryEncoder:R,writeUint8Array:I,writeVarUint8Array:M,writeOnDataView:N,writeFloat32:D,writeFloat64:j,writeBigInt64:L,writeBigUint64:B,writeAny:U,RleEncoder:H,IntDiffEncoder:V,RleIntDiffEncoder:z,UintOptRleEncoder:G,IncUintOptRleEncoder:W,IntDiffOptRleEncoder:Z,StringEncoder:K});const Q=c.create("Unexpected end of array"),X=c.create("Integer out of Range");class J{constructor(e){this.arr=e,this.pos=0}}const ee=e=>new J(e),te=e=>e.pos!==e.arr.length,ne=(e,t=e.pos)=>{const n=ee(e.arr);return n.pos=t,n},re=(e,t)=>{const n=Be(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,n},oe=e=>re(e,he(e)),ie=e=>re(e,e.arr.length-e.pos),ae=e=>e.pos++,se=e=>e.arr[e.pos++],le=e=>{const t=e.arr[e.pos]+(e.arr[e.pos+1]<<8);return e.pos+=2,t},ce=e=>{const t=e.arr[e.pos]+(e.arr[e.pos+1]<<8)+(e.arr[e.pos+2]<<16)+(e.arr[e.pos+3]<<24)>>>0;return e.pos+=4,t},ue=e=>{const t=e.arr[e.pos+3]+(e.arr[e.pos+2]<<8)+(e.arr[e.pos+1]<<16)+(e.arr[e.pos]<<24)>>>0;return e.pos+=4,t},de=e=>e.arr[e.pos],pe=e=>e.arr[e.pos]+(e.arr[e.pos+1]<<8),fe=e=>e.arr[e.pos]+(e.arr[e.pos+1]<<8)+(e.arr[e.pos+2]<<16)+(e.arr[e.pos+3]<<24)>>>0,he=e=>{let t=0,n=1;const r=e.arr.length;for(;e.pos<r;){const r=e.arr[e.pos++];if(t+=(r&a.BITS7)*n,n*=128,r<a.BIT8)return t;if(t>l.MAX_SAFE_INTEGER)throw X}throw Q},me=e=>{let t=e.arr[e.pos++],n=t&a.BITS6,r=64;const o=(t&a.BIT7)>0?-1:1;if(0==(t&a.BIT8))return o*n;const i=e.arr.length;for(;e.pos<i;){if(t=e.arr[e.pos++],n+=(t&a.BITS7)*r,r*=128,t<a.BIT8)return o*n;if(n>l.MAX_SAFE_INTEGER)throw X}throw Q},ge=e=>{const t=e.pos,n=he(e);return e.pos=t,n},ye=e=>{const t=e.pos,n=me(e);return e.pos=t,n},ve=e=>{let t=he(e);if(0===t)return"";{let n=String.fromCodePoint(se(e));if(--t<100)for(;t--;)n+=String.fromCodePoint(se(e));else for(;t>0;){const r=t<1e4?t:1e4,o=e.arr.subarray(e.pos,e.pos+r);e.pos+=r,n+=String.fromCodePoint.apply(null,o),t-=r}return decodeURIComponent(escape(n))}},be=e=>o.utf8TextDecoder.decode(oe(e)),_e=o.utf8TextDecoder?be:ve,we=e=>{const t=e.pos,n=_e(e);return e.pos=t,n},Ce=(e,t)=>{const n=new DataView(e.arr.buffer,e.arr.byteOffset+e.pos,t);return e.pos+=t,n},Se=e=>Ce(e,4).getFloat32(0,!1),Ee=e=>Ce(e,8).getFloat64(0,!1),xe=e=>Ce(e,8).getBigInt64(0,!1),ke=e=>Ce(e,8).getBigUint64(0,!1),Oe=[e=>{},e=>null,me,Se,Ee,xe,e=>!1,e=>!0,_e,e=>{const t=he(e),n={};for(let r=0;r<t;r++){n[_e(e)]=Te(e)}return n},e=>{const t=he(e),n=[];for(let r=0;r<t;r++)n.push(Te(e));return n},oe],Te=e=>Oe[127-se(e)](e);class Ae extends J{constructor(e,t){super(e),this.reader=t,this.s=null,this.count=0}read(){return 0===this.count&&(this.s=this.reader(this),te(this)?this.count=he(this)+1:this.count=-1),this.count--,this.s}}class Pe extends J{constructor(e,t){super(e),this.s=t}read(){return this.s+=me(this),this.s}}class Re extends J{constructor(e,t){super(e),this.s=t,this.count=0}read(){return 0===this.count&&(this.s+=me(this),te(this)?this.count=he(this)+1:this.count=-1),this.count--,this.s}}class Ie extends J{constructor(e){super(e),this.s=0,this.count=0}read(){if(0===this.count){this.s=me(this);const e=s.isNegativeZero(this.s);this.count=1,e&&(this.s=-this.s,this.count=he(this)+2)}return this.count--,this.s}}class Me extends J{constructor(e){super(e),this.s=0,this.count=0}read(){if(0===this.count){this.s=me(this);const e=s.isNegativeZero(this.s);this.count=1,e&&(this.s=-this.s,this.count=he(this)+2)}return this.count--,this.s++}}class Ne extends J{constructor(e){super(e),this.s=0,this.count=0,this.diff=0}read(){if(0===this.count){const e=me(this),t=1&e;this.diff=s.floor(e/2),this.count=1,t&&(this.count=he(this)+2)}return this.s+=this.diff,this.count--,this.s}}class De{constructor(e){this.decoder=new Ie(e),this.str=_e(this.decoder),this.spos=0}read(){const e=this.spos+this.decoder.read(),t=this.str.slice(this.spos,e);return this.spos=e,t}}var je=Object.freeze({__proto__:null,Decoder:J,createDecoder:ee,hasContent:te,clone:ne,readUint8Array:re,readVarUint8Array:oe,readTailAsUint8Array:ie,skip8:ae,readUint8:se,readUint16:le,readUint32:ce,readUint32BigEndian:ue,peekUint8:de,peekUint16:pe,peekUint32:fe,readVarUint:he,readVarInt:me,peekVarUint:ge,peekVarInt:ye,_readVarStringPolyfill:ve,_readVarStringNative:be,readVarString:_e,peekVarString:we,readFromDataView:Ce,readFloat32:Se,readFloat64:Ee,readBigInt64:xe,readBigUint64:ke,readAny:Te,RleDecoder:Ae,IntDiffDecoder:Pe,RleIntDiffDecoder:Re,UintOptRleDecoder:Ie,IncUintOptRleDecoder:Me,IntDiffOptRleDecoder:Ne,StringDecoder:De});const Le=e=>new Uint8Array(e),Be=(e,t,n)=>new Uint8Array(e,t,n),Fe=e=>new Uint8Array(e),Ue=i.isBrowser?e=>{let t="";for(let n=0;n<e.byteLength;n++)t+=o.fromCharCode(e[n]);return btoa(t)}:e=>r.from(e.buffer,e.byteOffset,e.byteLength).toString("base64"),He=i.isBrowser?e=>{const t=atob(e),n=Le(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}:e=>{const t=r.from(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},Ve=e=>{const t=Le(e.byteLength);return t.set(e),t},ze=e=>{const t=d();return U(t,e),f(t)},qe=e=>Te(ee(e));var Ge=Object.freeze({__proto__:null,createUint8ArrayFromLen:Le,createUint8ArrayViewFromArrayBuffer:Be,createUint8ArrayFromArrayBuffer:Fe,toBase64:Ue,fromBase64:He,copyUint8Array:Ve,encodeAny:ze,decodeAny:qe});t.Decoder=J,t.Encoder=u,t.IncUintOptRleDecoder=Me,t.IncUintOptRleEncoder=W,t.IntDiffDecoder=Pe,t.IntDiffEncoder=V,t.IntDiffOptRleDecoder=Ne,t.IntDiffOptRleEncoder=Z,t.RleDecoder=Ae,t.RleEncoder=H,t.RleIntDiffDecoder=Re,t.RleIntDiffEncoder=z,t.StringDecoder=De,t.StringEncoder=K,t.UintOptRleDecoder=Ie,t.UintOptRleEncoder=G,t._readVarStringNative=be,t._readVarStringPolyfill=ve,t._writeVarStringNative=T,t._writeVarStringPolyfill=A,t.buffer=Ge,t.clone=ne,t.copyUint8Array=Ve,t.createDecoder=ee,t.createEncoder=d,t.createUint8ArrayFromArrayBuffer=Fe,t.createUint8ArrayFromLen=Le,t.createUint8ArrayViewFromArrayBuffer=Be,t.decodeAny=qe,t.decoding=je,t.encodeAny=ze,t.encoding=$,t.fromBase64=He,t.hasContent=te,t.length=p,t.peekUint16=pe,t.peekUint32=fe,t.peekUint8=de,t.peekVarInt=ye,t.peekVarString=we,t.peekVarUint=ge,t.readAny=Te,t.readBigInt64=xe,t.readBigUint64=ke,t.readFloat32=Se,t.readFloat64=Ee,t.readFromDataView=Ce,t.readTailAsUint8Array=ie,t.readUint16=le,t.readUint32=ce,t.readUint32BigEndian=ue,t.readUint8=se,t.readUint8Array=re,t.readVarInt=me,t.readVarString=_e,t.readVarUint=he,t.readVarUint8Array=oe,t.set=g,t.setUint16=_,t.setUint32=S,t.setUint8=v,t.skip8=ae,t.toBase64=Ue,t.toUint8Array=f,t.verifyLen=h,t.write=m,t.writeAny=U,t.writeBigInt64=L,t.writeBigUint64=B,t.writeBinaryEncoder=R,t.writeFloat32=D,t.writeFloat64=j,t.writeOnDataView=N,t.writeUint16=b,t.writeUint32=w,t.writeUint32BigEndian=C,t.writeUint8=y,t.writeUint8Array=I,t.writeVarInt=x,t.writeVarString=P,t.writeVarUint=E,t.writeVarUint8Array=M},41028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(31314),n(88139);var r=n(69731);n(74268),n(21291),n(54001),n(45163),n(99915),n(1507),n(53115),n(36482),n(91869),n(10219),t.copyUint8Array=r.copyUint8Array,t.createUint8ArrayFromArrayBuffer=r.createUint8ArrayFromArrayBuffer,t.createUint8ArrayFromLen=r.createUint8ArrayFromLen,t.createUint8ArrayViewFromArrayBuffer=r.createUint8ArrayViewFromArrayBuffer,t.decodeAny=r.decodeAny,t.encodeAny=r.encodeAny,t.fromBase64=r.fromBase64,t.toBase64=r.toBase64},21291:(e,t)=>{"use strict";const n=e=>void 0===e?null:e;var r=Object.freeze({__proto__:null,undefinedToNull:n});t.conditions=r,t.undefinedToNull=n},60865:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69731);n(53115),n(36482),n(91869),n(31314),n(10219),n(88139),n(74268),n(21291),n(54001),n(45163),n(99915),n(1507),t.Decoder=r.Decoder,t.IncUintOptRleDecoder=r.IncUintOptRleDecoder,t.IntDiffDecoder=r.IntDiffDecoder,t.IntDiffOptRleDecoder=r.IntDiffOptRleDecoder,t.RleDecoder=r.RleDecoder,t.RleIntDiffDecoder=r.RleIntDiffDecoder,t.StringDecoder=r.StringDecoder,t.UintOptRleDecoder=r.UintOptRleDecoder,t._readVarStringNative=r._readVarStringNative,t._readVarStringPolyfill=r._readVarStringPolyfill,t.clone=r.clone,t.createDecoder=r.createDecoder,t.hasContent=r.hasContent,t.peekUint16=r.peekUint16,t.peekUint32=r.peekUint32,t.peekUint8=r.peekUint8,t.peekVarInt=r.peekVarInt,t.peekVarString=r.peekVarString,t.peekVarUint=r.peekVarUint,t.readAny=r.readAny,t.readBigInt64=r.readBigInt64,t.readBigUint64=r.readBigUint64,t.readFloat32=r.readFloat32,t.readFloat64=r.readFloat64,t.readFromDataView=r.readFromDataView,t.readTailAsUint8Array=r.readTailAsUint8Array,t.readUint16=r.readUint16,t.readUint32=r.readUint32,t.readUint32BigEndian=r.readUint32BigEndian,t.readUint8=r.readUint8,t.readUint8Array=r.readUint8Array,t.readVarInt=r.readVarInt,t.readVarString=r.readVarString,t.readVarUint=r.readVarUint,t.readVarUint8Array=r.readVarUint8Array,t.skip8=r.skip8},42081:(e,t,n)=>{"use strict";var r=n(77505),o=n(74268);const i="undefined"!=typeof document?document:{},a=e=>i.createElement(e),s=()=>i.createDocumentFragment(),l=e=>i.createTextNode(e),c="undefined"!=typeof DOMParser?new DOMParser:null,u=(e,t,n)=>e.dispatchEvent(new CustomEvent(t,n)),d=(e,t)=>(r.forEach(t,(t,n)=>{!1===n?e.removeAttribute(t):!0===n?e.setAttribute(t,""):e.setAttribute(t,n)}),e),p=(e,t)=>(t.forEach((t,n)=>{e.setAttribute(n,t)}),e),f=e=>{const t=s();for(let n=0;n<e.length;n++)N(t,e[n]);return t},h=(e,t)=>(N(e,f(t)),e),m=e=>e.remove(),g=(e,t,n)=>e.addEventListener(t,n),y=(e,t,n)=>e.removeEventListener(t,n),v=(e,t)=>(r.forEach(t,(t,n)=>g(e,t,n)),e),b=(e,t)=>(r.forEach(t,(t,n)=>y(e,t,n)),e),_=(e,t=[],n=[])=>h(d(a(e),t),n),w=(e,t)=>{const n=a("canvas");return n.height=t,n.width=e,n},C=l,S=e=>`${e.left}:${e.right};`,E=e=>e.map(S).join(""),x=e=>o.map(e,(e,t)=>`${t}:${e};`).join(""),k=(e,t)=>e.querySelector(t),O=(e,t)=>e.querySelectorAll(t),T=e=>i.getElementById(e),A=e=>c.parseFromString(`<html><body>${e}</body></html>`,"text/html").body,P=e=>f(A(e).childNodes),R=e=>A(e).firstElementChild,I=(e,t)=>e.replaceWith(t),M=(e,t,n)=>e.insertBefore(t,n),N=(e,t)=>e.appendChild(t),D=i.ELEMENT_NODE,j=i.TEXT_NODE,L=i.CDATA_SECTION_NODE,B=i.COMMENT_NODE,F=i.DOCUMENT_NODE,U=i.DOCUMENT_TYPE_NODE,H=i.DOCUMENT_FRAGMENT_NODE,V=(e,t)=>e.nodeType===t,z=(e,t)=>{let n=t.parentNode;for(;n&&n!==e;)n=n.parentNode;return n===e};var q=Object.freeze({__proto__:null,doc:i,createElement:a,createDocumentFragment:s,createTextNode:l,domParser:c,emitCustomEvent:u,setAttributes:d,setAttributesMap:p,fragment:f,append:h,remove:m,addEventListener:g,removeEventListener:y,addEventListeners:v,removeEventListeners:b,element:_,canvas:w,text:C,pairToStyleString:S,pairsToStyleString:E,mapToStyleString:x,querySelector:k,querySelectorAll:O,getElementById:T,parseFragment:P,parseElement:R,replaceWith:I,insertBefore:M,appendChild:N,ELEMENT_NODE:D,TEXT_NODE:j,CDATA_SECTION_NODE:L,COMMENT_NODE:B,DOCUMENT_NODE:F,DOCUMENT_TYPE_NODE:U,DOCUMENT_FRAGMENT_NODE:H,checkNodeType:V,isParentOf:z});t.CDATA_SECTION_NODE=L,t.COMMENT_NODE=B,t.DOCUMENT_FRAGMENT_NODE=H,t.DOCUMENT_NODE=F,t.DOCUMENT_TYPE_NODE=U,t.ELEMENT_NODE=D,t.TEXT_NODE=j,t.addEventListener=g,t.addEventListeners=v,t.append=h,t.appendChild=N,t.canvas=w,t.checkNodeType=V,t.createDocumentFragment=s,t.createElement=a,t.createTextNode=l,t.doc=i,t.dom=q,t.domParser=c,t.element=_,t.emitCustomEvent=u,t.fragment=f,t.getElementById=T,t.insertBefore=M,t.isParentOf=z,t.mapToStyleString=x,t.pairToStyleString=S,t.pairsToStyleString=E,t.parseElement=R,t.parseFragment=P,t.querySelector=k,t.querySelectorAll=O,t.remove=m,t.removeEventListener=y,t.removeEventListeners=b,t.replaceWith=I,t.setAttributes=d,t.setAttributesMap=p,t.text=C},32979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(69731);n(36482),n(91869),n(53115),n(31314),n(88139),n(74268),n(21291),n(54001),n(45163),n(99915),n(1507),n(10219),t.Encoder=r.Encoder,t.IncUintOptRleEncoder=r.IncUintOptRleEncoder,t.IntDiffEncoder=r.IntDiffEncoder,t.IntDiffOptRleEncoder=r.IntDiffOptRleEncoder,t.RleEncoder=r.RleEncoder,t.RleIntDiffEncoder=r.RleIntDiffEncoder,t.StringEncoder=r.StringEncoder,t.UintOptRleEncoder=r.UintOptRleEncoder,t._writeVarStringNative=r._writeVarStringNative,t._writeVarStringPolyfill=r._writeVarStringPolyfill,t.createEncoder=r.createEncoder,t.length=r.length,t.set=r.set,t.setUint16=r.setUint16,t.setUint32=r.setUint32,t.setUint8=r.setUint8,t.toUint8Array=r.toUint8Array,t.verifyLen=r.verifyLen,t.write=r.write,t.writeAny=r.writeAny,t.writeBigInt64=r.writeBigInt64,t.writeBigUint64=r.writeBigUint64,t.writeBinaryEncoder=r.writeBinaryEncoder,t.writeFloat32=r.writeFloat32,t.writeFloat64=r.writeFloat64,t.writeOnDataView=r.writeOnDataView,t.writeUint16=r.writeUint16,t.writeUint32=r.writeUint32,t.writeUint32BigEndian=r.writeUint32BigEndian,t.writeUint8=r.writeUint8,t.writeUint8Array=r.writeUint8Array,t.writeVarInt=r.writeVarInt,t.writeVarString=r.writeVarString,t.writeVarUint=r.writeVarUint,t.writeVarUint8Array=r.writeVarUint8Array},88139:(e,n,r)=>{"use strict";var o=r(74268),i=r(31314),a=r(21291),s=r(54001),l=r(45163);const c=void 0!==t&&t.release&&/node|io\.js/.test(t.release.name),u="undefined"!=typeof window&&!c,d="undefined"!=typeof navigator&&/Mac/.test(navigator.platform);let p;const f=()=>{if(void 0===p)if(c){p=o.create();const e=t.argv;let n=null;for(let t=0;t<e.length;t++){const r=e[t];"-"===r[0]?(null!==n&&p.set(n,""),n=r):null!==n&&(p.set(n,r),n=null)}null!==n&&p.set(n,"")}else"object"==typeof location?(p=o.create(),(location.search||"?").slice(1).split("&").forEach(e=>{if(0!==e.length){const[t,n]=e.split("=");p.set("--"+i.fromCamelCase(t,"-"),n),p.set("-"+i.fromCamelCase(t,"-"),n)}})):p=o.create();return p},h=e=>f().has(e),m=(e,t)=>f().get(e)||t,g=e=>c?a.undefinedToNull(t.env[e.toUpperCase()]):a.undefinedToNull(s.varStorage.getItem(e)),y=e=>f().get("--"+e)||g(e),v=e=>h("--"+e)||null!==g(e),b=v("production"),_=c&&l.isOneOf(t.env.FORCE_COLOR,["true","1","2"]),w=!h("no-colors")&&(!c||t.stdout.isTTY||_)&&(!c||h("color")||_||null!==g("COLORTERM")||(g("TERM")||"").includes("color"));var C=Object.freeze({__proto__:null,isNode:c,isBrowser:u,isMac:d,hasParam:h,getParam:m,getVariable:g,getConf:y,hasConf:v,production:b,supportsColor:w});n.environment=C,n.getConf=y,n.getParam=m,n.getVariable=g,n.hasConf=v,n.hasParam=h,n.isBrowser=u,n.isMac=d,n.isNode=c,n.production=b,n.supportsColor=w},10219:(e,t)=>{"use strict";const n=e=>new Error(e),r=()=>{throw n("Method unimplemented")},o=()=>{throw n("Unexpected case")};var i=Object.freeze({__proto__:null,create:n,methodUnimplemented:r,unexpectedCase:o});t.create=n,t.error=i,t.methodUnimplemented=r,t.unexpectedCase=o},4560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10219);t.create=r.create,t.methodUnimplemented=r.methodUnimplemented,t.unexpectedCase=r.unexpectedCase},60396:(e,t)=>{"use strict";let n=[];const r=()=>{for(let e=0;e<n.length;e++)n[e]();n=[]},o=e=>{n.push(e),1===n.length&&setTimeout(r,0)},i=e=>class{constructor(e){this._=e}destroy(){e(this._)}},a=i(clearTimeout),s=(e,t)=>new a(setTimeout(t,e)),l=i(clearInterval),c=(e,t)=>new l(setInterval(t,e)),u=i(e=>"undefined"!=typeof requestAnimationFrame&&cancelAnimationFrame(e)),d=e=>"undefined"==typeof requestAnimationFrame?s(0,e):new u(requestAnimationFrame(e)),p=i(e=>"undefined"!=typeof cancelIdleCallback&&cancelIdleCallback(e)),f=e=>"undefined"!=typeof requestIdleCallback?new p(requestIdleCallback(e)):s(1e3,e),h=e=>{let t=-1;return n=>{clearTimeout(t),n&&(t=setTimeout(n,e))}};var m=Object.freeze({__proto__:null,enqueue:o,timeout:s,interval:c,Animation:u,animationFrame:d,idleCallback:f,createDebouncer:h});t.Animation=u,t.animationFrame=d,t.createDebouncer=h,t.enqueue=o,t.eventloop=m,t.idleCallback=f,t.interval=c,t.timeout=s},45163:(e,t,n)=>{"use strict";var r=n(99915),o=n(1507);const i=(e,t,n=0)=>{try{for(;n<e.length;n++)e[n](...t)}finally{n<e.length&&i(e,t,n+1)}},a=()=>{},s=e=>e(),l=e=>e,c=(e,t)=>e===t,u=(e,t)=>e===t||null!=e&&null!=t&&e.constructor===t.constructor&&(e instanceof Array&&r.equalFlat(e,t)||"object"==typeof e&&o.equalFlat(e,t)),d=(e,t)=>{if(null==e||null==t)return c(e,t);if(e.constructor!==t.constructor)return!1;if(e===t)return!0;switch(e.constructor){case ArrayBuffer:e=new Uint8Array(e),t=new Uint8Array(t);case Uint8Array:if(e.byteLength!==t.byteLength)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;break;case Set:if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;break;case Map:if(e.size!==t.size)return!1;for(const n of e.keys())if(!t.has(n)||!d(e.get(n),t.get(n)))return!1;break;case Object:if(o.length(e)!==o.length(t))return!1;for(const n in e)if(!o.hasProperty(e,n)||!d(e[n],t[n]))return!1;break;case Array:if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!d(e[n],t[n]))return!1;break;default:return!1}return!0},p=(e,t)=>t.includes(e);var f=Object.freeze({__proto__:null,callAll:i,nop:a,apply:s,id:l,equalityStrict:c,equalityFlat:u,equalityDeep:d,isOneOf:p});t._function=f,t.apply=s,t.callAll=i,t.equalityDeep=d,t.equalityFlat=u,t.equalityStrict=c,t.id=l,t.isOneOf=p,t.nop=a},13039:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(99915),n(1507);var r=n(45163);t.apply=r.apply,t.callAll=r.callAll,t.equalityDeep=r.equalityDeep,t.equalityFlat=r.equalityFlat,t.equalityStrict=r.equalityStrict,t.id=r.id,t.isOneOf=r.isOneOf,t.nop=r.nop},76073:(e,t)=>{"use strict";const n=(e,t)=>({[Symbol.iterator](){return this},next(){const n=e.next();return{value:n.done?void 0:t(n.value),done:n.done}}}),r=e=>({[Symbol.iterator](){return this},next:e}),o=(e,t)=>r(()=>{let n;do{n=e.next()}while(!n.done&&!t(n.value));return n}),i=(e,t)=>r(()=>{const{done:n,value:r}=e.next();return{done:n,value:n?void 0:t(r)}});var a=Object.freeze({__proto__:null,mapIterator:n,createIterator:r,iteratorFilter:o,iteratorMap:i});t.createIterator=r,t.iterator=a,t.iteratorFilter=o,t.iteratorMap=i,t.mapIterator=n},18263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(76073);t.createIterator=r.createIterator,t.iteratorFilter=r.iteratorFilter,t.iteratorMap=r.iteratorMap,t.mapIterator=r.mapIterator},68447:(e,t)=>{"use strict";const n=JSON.stringify,r=JSON.parse;var o=Object.freeze({__proto__:null,stringify:n,parse:r});t.json=o,t.parse=r,t.stringify=n},98850:(e,t,n)=>{"use strict";var r=n(88139),o=n(26096),i=n(77505),a=n(42081),s=n(68447),l=n(74268),c=n(60396),u=n(36482),d=n(35331),p=n(45163);const f=o.create(),h=o.create(),m=o.create(),g=o.create(),y=o.create(),v=o.create(),b=o.create(),_=o.create(),w=o.create(),C={[f]:i.create("font-weight","bold"),[h]:i.create("font-weight","normal"),[m]:i.create("color","blue"),[y]:i.create("color","green"),[g]:i.create("color","grey"),[v]:i.create("color","red"),[b]:i.create("color","purple"),[_]:i.create("color","orange"),[w]:i.create("color","black")},S={[f]:"[1m",[h]:"[2m",[m]:"[34m",[y]:"[32m",[g]:"[37m",[v]:"[31m",[b]:"[35m",[_]:"[38;5;208m",[w]:"[0m"},E=r.supportsColor?r.isNode?e=>{const t=[],n=[];let r=0;for(;r<e.length;r++){const n=e[r],o=S[n];if(void 0!==o)t.push(o);else{if(n.constructor!==String&&n.constructor!==Number)break;t.push(n)}}for(r>0&&(t.push("[0m"),n.push(t.join("")));r<e.length;r++){const t=e[r];t instanceof Symbol||n.push(t)}return n}:e=>{const t=[],n=[],r=l.create();let o=[],i=0;for(;i<e.length;i++){const o=e[i],s=C[o];if(void 0!==s)r.set(s.left,s.right);else{if(o.constructor!==String&&o.constructor!==Number)break;{const e=a.mapToStyleString(r);i>0||e.length>0?(t.push("%c"+o),n.push(e)):t.push(o)}}}for(i>0&&(o=n,o.unshift(t.join("")));i<e.length;i++){const t=e[i];t instanceof Symbol||o.push(t)}return o}:e=>{const t=[],n=[];let r=0;for(;r<e.length;r++){const n=e[r];if(void 0===S[n]){if(n.constructor!==String&&n.constructor!==Number)break;t.push(n)}}for(r>0&&n.push(t.join(""));r<e.length;r++){const t=e[r];t instanceof Symbol||(t.constructor===Object?n.push(JSON.stringify(t)):n.push(t))}return n},x=(...e)=>{console.log(...E(e)),D.forEach(t=>t.print(e))},k=(...e)=>{console.warn(...E(e)),e.unshift(_),D.forEach(t=>t.print(e))},O=e=>{console.error(e),D.forEach(t=>t.printError(e))},T=(e,t)=>{r.isBrowser&&console.log("%c                      ",`font-size: ${t}px; background-size: contain; background-repeat: no-repeat; background-image: url(${e})`),D.forEach(n=>n.printImg(e,t))},A=(e,t)=>T("data:image/gif;base64,"+e,t),P=(...e)=>{console.group(...E(e)),D.forEach(t=>t.group(e))},R=(...e)=>{console.groupCollapsed(...E(e)),D.forEach(t=>t.groupCollapsed(e))},I=()=>{console.groupEnd(),D.forEach(e=>e.groupEnd())},M=e=>D.forEach(t=>t.printDom(e())),N=(e,t)=>T(e.toDataURL(),t),D=new Set,j=e=>{const t=[],n=new Map;let r=0;for(;r<e.length;r++){const o=e[r],s=C[o];if(void 0!==s)n.set(s.left,s.right);else{if(o.constructor!==String&&o.constructor!==Number)break;{const e=a.element("span",[i.create("style",a.mapToStyleString(n))],[a.text(o.toString())]);""===e.innerHTML&&(e.innerHTML="&nbsp;"),t.push(e)}}}for(;r<e.length;r++){let n=e[r];n instanceof Symbol||(n.constructor!==String&&n.constructor!==Number&&(n=" "+s.stringify(n)+" "),t.push(a.element("span",[],[a.text(n)])))}return t},L="font-family:monospace;border-bottom:1px solid #e2e2e2;padding:2px;";class B{constructor(e){this.dom=e,this.ccontainer=this.dom,this.depth=0,D.add(this)}group(e,t=!1){c.enqueue(()=>{const n=a.element("span",[i.create("hidden",t),i.create("style","color:grey;font-size:120%;")],[a.text("▼")]),r=a.element("span",[i.create("hidden",!t),i.create("style","color:grey;font-size:125%;")],[a.text("▶")]),o=a.element("div",[i.create("style",`${L};padding-left:${10*this.depth}px`)],[n,r,a.text(" ")].concat(j(e))),s=a.element("div",[i.create("hidden",t)]),l=a.element("div",[],[o,s]);a.append(this.ccontainer,[l]),this.ccontainer=s,this.depth++,a.addEventListener(o,"click",e=>{s.toggleAttribute("hidden"),n.toggleAttribute("hidden"),r.toggleAttribute("hidden")})})}groupCollapsed(e){this.group(e,!0)}groupEnd(){c.enqueue(()=>{this.depth>0&&(this.depth--,this.ccontainer=this.ccontainer.parentElement.parentElement)})}print(e){c.enqueue(()=>{a.append(this.ccontainer,[a.element("div",[i.create("style",`${L};padding-left:${10*this.depth}px`)],j(e))])})}printError(e){this.print([v,f,e.toString()])}printImg(e,t){c.enqueue(()=>{a.append(this.ccontainer,[a.element("img",[i.create("src",e),i.create("height",u.round(1.5*t)+"px")])])})}printDom(e){c.enqueue(()=>{a.append(this.ccontainer,[e])})}destroy(){c.enqueue(()=>{D.delete(this)})}}const F=e=>new B(e),U=[y,b,_,m];let H=0,V=d.getUnixTime();const z=e=>{const t=U[H],n=r.getVariable("log"),o=null!==n&&("*"===n||"true"===n||new RegExp(n,"gi").test(e));return H=(H+1)%U.length,e+=": ",o?(...n)=>{const r=d.getUnixTime(),o=r-V;V=r,x(t,e,w,...n.map(e=>"string"==typeof e||"symbol"==typeof e?e:JSON.stringify(e)),t," +"+o+"ms")}:p.nop};var q=Object.freeze({__proto__:null,BOLD:f,UNBOLD:h,BLUE:m,GREY:g,GREEN:y,RED:v,PURPLE:b,ORANGE:_,UNCOLOR:w,print:x,warn:k,printError:O,printImg:T,printImgBase64:A,group:P,groupCollapsed:R,groupEnd:I,printDom:M,printCanvas:N,vconsoles:D,VConsole:B,createVConsole:F,createModuleLogger:z});t.BLUE=m,t.BOLD=f,t.GREEN=y,t.GREY=g,t.ORANGE=_,t.PURPLE=b,t.RED=v,t.UNBOLD=h,t.UNCOLOR=w,t.VConsole=B,t.createModuleLogger=z,t.createVConsole=F,t.group=P,t.groupCollapsed=R,t.groupEnd=I,t.logging=q,t.print=x,t.printCanvas=N,t.printDom=M,t.printError=O,t.printImg=T,t.printImgBase64=A,t.vconsoles=D,t.warn=k},96759:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(88139),n(26096),n(77505),n(42081),n(68447),n(74268),n(60396),n(36482),n(35331),n(45163);var r=n(98850);n(31314),n(21291),n(54001),n(98952),n(99915),n(1507),t.BLUE=r.BLUE,t.BOLD=r.BOLD,t.GREEN=r.GREEN,t.GREY=r.GREY,t.ORANGE=r.ORANGE,t.PURPLE=r.PURPLE,t.RED=r.RED,t.UNBOLD=r.UNBOLD,t.UNCOLOR=r.UNCOLOR,t.VConsole=r.VConsole,t.createModuleLogger=r.createModuleLogger,t.createVConsole=r.createVConsole,t.group=r.group,t.groupCollapsed=r.groupCollapsed,t.groupEnd=r.groupEnd,t.print=r.print,t.printCanvas=r.printCanvas,t.printDom=r.printDom,t.printError=r.printError,t.printImg=r.printImg,t.printImgBase64=r.printImgBase64,t.vconsoles=r.vconsoles,t.warn=r.warn},74268:(e,t)=>{"use strict";const n=()=>new Map,r=e=>{const t=n();return e.forEach((e,n)=>{t.set(n,e)}),t},o=(e,t,n)=>{let r=e.get(t);return void 0===r&&e.set(t,r=n()),r},i=(e,t)=>{const n=[];for(const[r,o]of e)n.push(t(o,r));return n},a=(e,t)=>{for(const[n,r]of e)if(t(r,n))return!0;return!1},s=(e,t)=>{for(const[n,r]of e)if(!t(r,n))return!1;return!0};var l=Object.freeze({__proto__:null,create:n,copy:r,setIfUndefined:o,map:i,any:a,all:s});t.all=s,t.any=a,t.copy=r,t.create=n,t.map=i,t.map$1=l,t.setIfUndefined=o},23678:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74268);t.all=r.all,t.any=r.any,t.copy=r.copy,t.create=r.create,t.map=r.map,t.setIfUndefined=r.setIfUndefined},36482:(e,t)=>{"use strict";const n=Math.floor,r=Math.ceil,o=Math.abs,i=Math.imul,a=Math.round,s=Math.log10,l=Math.log2,c=Math.log,u=Math.sqrt,d=(e,t)=>e+t,p=(e,t)=>e<t?e:t,f=(e,t)=>e>t?e:t,h=Number.isNaN,m=Math.pow,g=e=>Math.pow(10,e),y=Math.sign,v=e=>0!==e?e<0:1/e<0;var b=Object.freeze({__proto__:null,floor:n,ceil:r,abs:o,imul:i,round:a,log10:s,log2:l,log:c,sqrt:u,add:d,min:p,max:f,isNaN:h,pow:m,exp10:g,sign:y,isNegativeZero:v});t.abs=o,t.add=d,t.ceil=r,t.exp10=g,t.floor=n,t.imul=i,t.isNaN=h,t.isNegativeZero=v,t.log=c,t.log10=s,t.log2=l,t.math=b,t.max=f,t.min=p,t.pow=m,t.round=a,t.sign=y,t.sqrt=u},97757:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36482);t.abs=r.abs,t.add=r.add,t.ceil=r.ceil,t.exp10=r.exp10,t.floor=r.floor,t.imul=r.imul,t.isNaN=r.isNaN,t.isNegativeZero=r.isNegativeZero,t.log=r.log,t.log10=r.log10,t.log2=r.log2,t.max=r.max,t.min=r.min,t.pow=r.pow,t.round=r.round,t.sign=r.sign,t.sqrt=r.sqrt},98952:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36482);const o=["","k","M","G","T","P","E","Z","Y"],i=["","m","μ","n","p","f","a","z","y"];t.atto=1e-18,t.centi=.01,t.deca=10,t.deci=.1,t.exa=1e18,t.femto=1e-15,t.giga=1e9,t.hecto=100,t.kilo=1e3,t.mega=1e6,t.micro=1e-6,t.milli=.001,t.nano=1e-9,t.peta=1e15,t.pico=1e-12,t.prefix=(e,t=0)=>{const n=0===e?0:r.log10(e);let a=0;for(;n<3*a&&t>-8;)t--,a--;for(;n>=3+3*a&&t<8;)t++,a++;const s=t<0?i[-t]:o[t];return{n:r.round(1e12*(a>0?e/r.exp10(3*a):e*r.exp10(-3*a)))/1e12,prefix:s}},t.tera=1e12,t.yocto=1e-24,t.yotta=1e24,t.zepto=1e-21,t.zetta=1e21},91869:(e,t,n)=>{"use strict";var r=n(36482),o=n(53115);const i=Number.MAX_SAFE_INTEGER,a=Number.MIN_SAFE_INTEGER,s=o.BITS31,l=Number.isInteger||(e=>"number"==typeof e&&isFinite(e)&&r.floor(e)===e),c=Number.isNaN,u=Number.parseInt;var d=Object.freeze({__proto__:null,MAX_SAFE_INTEGER:i,MIN_SAFE_INTEGER:a,LOWEST_INT32:1<<31,HIGHEST_INT32:s,isInteger:l,isNaN:c,parseInt:u});t.HIGHEST_INT32=s,t.LOWEST_INT32=1<<31,t.MAX_SAFE_INTEGER=i,t.MIN_SAFE_INTEGER=a,t.isInteger=l,t.isNaN=c,t.number=d,t.parseInt=u},1507:(e,t)=>{"use strict";const n=()=>Object.create(null),r=Object.assign,o=Object.keys,i=(e,t)=>{for(const n in e)t(e[n],n)},a=(e,t)=>{const n=[];for(const r in e)n.push(t(e[r],r));return n},s=e=>o(e).length,l=(e,t)=>{for(const n in e)if(t(e[n],n))return!0;return!1},c=e=>{for(const t in e)return!1;return!0},u=(e,t)=>{for(const n in e)if(!t(e[n],n))return!1;return!0},d=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p=(e,t)=>e===t||s(e)===s(t)&&u(e,(e,n)=>(void 0!==e||d(t,n))&&t[n]===e);var f=Object.freeze({__proto__:null,create:n,assign:r,keys:o,forEach:i,map:a,length:s,some:l,isEmpty:c,every:u,hasProperty:d,equalFlat:p});t.assign=r,t.create=n,t.equalFlat=p,t.every=u,t.forEach=i,t.hasProperty=d,t.isEmpty=c,t.keys=o,t.length=s,t.map=a,t.object=f,t.some=l},418:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1507);t.assign=r.assign,t.create=r.create,t.equalFlat=r.equalFlat,t.every=r.every,t.forEach=r.forEach,t.hasProperty=r.hasProperty,t.isEmpty=r.isEmpty,t.keys=r.keys,t.length=r.length,t.map=r.map,t.some=r.some},1058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(74268),o=n(9077),i=n(99915);t.Observable=class{constructor(){this._observers=r.create()}on(e,t){r.setIfUndefined(this._observers,e,o.create).add(t)}once(e,t){const n=(...r)=>{this.off(e,n),t(...r)};this.on(e,n)}off(e,t){const n=this._observers.get(e);void 0!==n&&(n.delete(t),0===n.size&&this._observers.delete(e))}emit(e,t){return i.from((this._observers.get(e)||r.create()).values()).forEach(e=>e(...t))}destroy(){this._observers=r.create()}}},77505:(e,t)=>{"use strict";class n{constructor(e,t){this.left=e,this.right=t}}const r=(e,t)=>new n(e,t),o=(e,t)=>new n(t,e),i=(e,t)=>e.forEach(e=>t(e.left,e.right)),a=(e,t)=>e.map(e=>t(e.left,e.right));var s=Object.freeze({__proto__:null,Pair:n,create:r,createReversed:o,forEach:i,map:a});t.Pair=n,t.create=r,t.createReversed=o,t.forEach=i,t.map=a,t.pair=s},2069:(e,t,n)=>{"use strict";var r=n(35331);const o=e=>new Promise(e),i=e=>new Promise(e),a=e=>Promise.all(e),s=e=>Promise.reject(e),l=e=>Promise.resolve(e),c=e=>Promise.resolve(e),u=(e,t,n=10)=>o((o,i)=>{const a=r.getUnixTime(),s=e>0,l=setInterval(()=>{t()?(clearInterval(l),o()):s&&r.getUnixTime()-a>e&&(clearInterval(l),i(new Error("Timeout")))},n)}),d=e=>o((t,n)=>setTimeout(t,e)),p=e=>e instanceof Promise||e&&e.then&&e.catch&&e.finally;var f=Object.freeze({__proto__:null,create:o,createEmpty:i,all:a,reject:s,resolve:l,resolveWith:c,until:u,wait:d,isPromise:p});t.all=a,t.create=o,t.createEmpty=i,t.isPromise=p,t.promise=f,t.reject=s,t.resolve=l,t.resolveWith=c,t.until=u,t.wait=d},23291:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(35331);var r=n(2069);n(98952),n(36482),t.all=r.all,t.create=r.create,t.createEmpty=r.createEmpty,t.isPromise=r.isPromise,t.reject=r.reject,t.resolve=r.resolve,t.resolveWith=r.resolveWith,t.until=r.until,t.wait=r.wait},39163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36482),o=n(53115),i=n(47765);const a=Math.random,s=()=>new Uint32Array(i.cryptoRandomBuffer(4))[0],l=[1e7]+-1e3+-4e3+-8e3+-1e11;t.oneOf=e=>e[r.floor(a()*e.length)],t.rand=a,t.uint32=s,t.uint53=()=>{const e=new Uint32Array(i.cryptoRandomBuffer(8));return(e[0]&o.BITS21)*(o.BITS32+1)+(e[1]>>>0)},t.uuidv4=()=>l.replace(/[018]/g,e=>(e^s()&15>>e/4).toString(16))},9077:(e,t)=>{"use strict";const n=()=>new Set,r=e=>Array.from(e),o=e=>e.values().next().value||void 0,i=e=>new Set(e);var a=Object.freeze({__proto__:null,create:n,toArray:r,first:o,from:i});t.create=n,t.first=o,t.from=i,t.set=a,t.toArray=r},33930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9077);t.create=r.create,t.first=r.first,t.from=r.from,t.toArray=r.toArray},54001:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=new class{constructor(){this.map=new Map}setItem(e,t){this.map.set(e,t)}getItem(e){return this.map.get(e)}},r=!0;try{"undefined"!=typeof localStorage&&(n=localStorage,r=!1)}catch(e){}const o=n;t.onChange=e=>r||addEventListener("storage",e),t.varStorage=o},31314:(e,t)=>{"use strict";const n=String.fromCharCode,r=String.fromCodePoint,o=/^\s*/g,i=e=>e.replace(o,""),a=/([A-Z])/g,s=(e,t)=>i(e.replace(a,e=>`${t}${(e=>e.toLowerCase())(e)}`)),l=e=>unescape(encodeURIComponent(e)).length,c=e=>{const t=unescape(encodeURIComponent(e)),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.codePointAt(e);return r},u="undefined"!=typeof TextEncoder?new TextEncoder:null,d=e=>u.encode(e),p=u?d:c,f=e=>{let t=e.length,n="",r=0;for(;t>0;){const o=t<1e4?t:1e4,i=e.subarray(r,r+o);r+=o,n+=String.fromCodePoint.apply(null,i),t-=o}return decodeURIComponent(escape(n))};t.utf8TextDecoder="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0}),t.utf8TextDecoder&&1===t.utf8TextDecoder.decode(new Uint8Array).length&&(t.utf8TextDecoder=null);const h=e=>t.utf8TextDecoder.decode(e),m=t.utf8TextDecoder?h:f,g=(e,t,n,r="")=>e.slice(0,t)+r+e.slice(t+n);var y=Object.freeze({__proto__:null,fromCharCode:n,fromCodePoint:r,trimLeft:i,fromCamelCase:s,utf8ByteLength:l,_encodeUtf8Polyfill:c,utf8TextEncoder:u,_encodeUtf8Native:d,encodeUtf8:p,_decodeUtf8Polyfill:f,get utf8TextDecoder(){return t.utf8TextDecoder},_decodeUtf8Native:h,decodeUtf8:m,splice:g});t._decodeUtf8Native=h,t._decodeUtf8Polyfill=f,t._encodeUtf8Native=d,t._encodeUtf8Polyfill=c,t.decodeUtf8=m,t.encodeUtf8=p,t.fromCamelCase=s,t.fromCharCode=n,t.fromCodePoint=r,t.splice=g,t.string=y,t.trimLeft=i,t.utf8ByteLength=l,t.utf8TextEncoder=u},26096:(e,t)=>{"use strict";const n=Symbol,r=e=>"symbol"==typeof e;var o=Object.freeze({__proto__:null,create:n,isSymbol:r});t.create=n,t.isSymbol=r,t.symbol=o},35331:(e,t,n)=>{"use strict";var r=n(98952),o=n(36482);const i=()=>new Date,a=Date.now,s=e=>{if(e<6e4){const t=r.prefix(e,-1);return o.round(100*t.n)/100+t.prefix+"s"}const t=(e=o.floor(e/1e3))%60,n=o.floor(e/60)%60,i=o.floor(e/3600)%24,a=o.floor(e/86400);return a>0?a+"d"+(i>0||n>30?" "+(n>30?i+1:i)+"h":""):i>0?i+"h"+(n>0||t>30?" "+(t>30?n+1:n)+"min":""):n+"min"+(t>0?" "+t+"s":"")};var l=Object.freeze({__proto__:null,getDate:i,getUnixTime:a,humanizeDuration:s});t.getDate=i,t.getUnixTime=a,t.humanizeDuration=s,t.time=l},57831:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(98952),n(36482);var r=n(35331);t.getDate=r.getDate,t.getUnixTime=r.getUnixTime,t.humanizeDuration=r.humanizeDuration},6686:(e,t,n)=>{"use strict";n.d(t,{rc:()=>r,x1:()=>o,$2:()=>i,jS:()=>a,x:()=>s,RP:()=>l});var r=64,o=128,i=63,a=127,s=255,l=2147483647},83322:(e,n,r)=>{"use strict";r.d(n,{Te:()=>C});r(66992),r(41539),r(82472),r(92990),r(18927),r(33105),r(35035),r(74345),r(7174),r(32846),r(44731),r(77209),r(96319),r(58867),r(37789),r(33739),r(29368),r(14483),r(12056),r(3462),r(30678),r(27462),r(33824),r(55021),r(12974),r(15016),r(39714),r(94953),r(74916),r(15306),r(92222),r(79841),String.fromCharCode,String.fromCodePoint;var o=/^\s*/g,i=/([A-Z])/g,a=function(e,t){return function(e){return e.replace(o,"")}(e.replace(i,(function(e){return"".concat(t).concat(function(e){return e.toLowerCase()}(e))})))},s=("undefined"!=typeof TextEncoder&&new TextEncoder,"undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0}));s&&1===s.decode(new Uint8Array).length&&(s=null);r(68309),r(54747),r(23123),r(47042),r(64765),r(82526),r(41817),r(32165),r(78783),r(33948),r(91038),r(51532);var l=function(){return new Map},c=function(e){return void 0===e?null:e};r(21249);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=new Map}var t,n,r;return t=e,(n=[{key:"setItem",value:function(e,t){this.map.set(e,t)}},{key:"getItem",value:function(e){return this.map.get(e)}}])&&u(t.prototype,n),r&&u(t,r),e}());try{"undefined"!=typeof localStorage&&(d=localStorage,!1)}catch(e){}var p=d;function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g,y,v=void 0!==t&&t.release&&/node|io\.js/.test(t.release.name),b=("undefined"!=typeof navigator&&/Mac/.test(navigator.platform),[]),_=function(){if(void 0===g)if(v){g=l();for(var e=t.argv,n=null,r=0;r<e.length;r++){var o=e[r];"-"===o[0]?(null!==n&&g.set(n,""),n=o):null!==n?(g.set(n,o),n=null):b.push(o)}null!==n&&g.set(n,"")}else"object"===("undefined"==typeof location?"undefined":m(location))?(g=l(),(location.search||"?").slice(1).split("&").forEach((function(e){if(0!==e.length){var t=f(e.split("="),2),n=t[0],r=t[1];g.set("--".concat(a(n,"-")),r),g.set("-".concat(a(n,"-")),r)}}))):g=l();return g},w=function(e){return c(v?t.env[e.toUpperCase()]:p.getItem(e))},C=(function(e){return _().has(e)}("--"+(y="production"))||w(y),r(13423).Buffer,function(e,t,n){return new Uint8Array(e,t,n)})},29693:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Decoder:()=>m,createDecoder:()=>g,hasContent:()=>y,clone:()=>v,readUint8Array:()=>b,readVarUint8Array:()=>_,readTailAsUint8Array:()=>w,skip8:()=>C,readUint8:()=>S,readUint16:()=>E,readUint32:()=>x,readUint32BigEndian:()=>k,peekUint8:()=>O,peekUint16:()=>T,peekUint32:()=>A,readVarUint:()=>P,readVarInt:()=>R,peekVarUint:()=>I,peekVarInt:()=>M,readVarString:()=>N,peekVarString:()=>D,readFromDataView:()=>j,readFloat32:()=>L,readFloat64:()=>B,readBigInt64:()=>F,readBigUint64:()=>U,readAny:()=>V,RleDecoder:()=>z,IntDiffDecoder:()=>q,RleIntDiffDecoder:()=>G,UintOptRleDecoder:()=>W,IncUintOptRleDecoder:()=>Y,IntDiffOptRleDecoder:()=>Z,StringDecoder:()=>K});n(94953),n(41539),n(47042),n(30489),n(12419),n(82526),n(41817),n(32165),n(66992),n(78783),n(33948);var r=n(83322),o=n(6686),i=n(23862);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}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}}),t&&u(e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===a(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function e(t){h(this,e),this.arr=t,this.pos=0},g=function(e){return new m(e)},y=function(e){return e.pos!==e.arr.length},v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.pos,n=g(e.arr);return n.pos=t,n},b=function(e,t){var n=r.Te(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,n},_=function(e){return b(e,P(e))},w=function(e){return b(e,e.arr.length-e.pos)},C=function(e){return e.pos++},S=function(e){return e.arr[e.pos++]},E=function(e){var t=e.arr[e.pos]+(e.arr[e.pos+1]<<8);return e.pos+=2,t},x=function(e){var t=e.arr[e.pos]+(e.arr[e.pos+1]<<8)+(e.arr[e.pos+2]<<16)+(e.arr[e.pos+3]<<24)>>>0;return e.pos+=4,t},k=function(e){var t=e.arr[e.pos+3]+(e.arr[e.pos+2]<<8)+(e.arr[e.pos+1]<<16)+(e.arr[e.pos]<<24)>>>0;return e.pos+=4,t},O=function(e){return e.arr[e.pos]},T=function(e){return e.arr[e.pos]+(e.arr[e.pos+1]<<8)},A=function(e){return e.arr[e.pos]+(e.arr[e.pos+1]<<8)+(e.arr[e.pos+2]<<16)+(e.arr[e.pos+3]<<24)>>>0},P=function(e){for(var t=0,n=0;;){var r=e.arr[e.pos++];if(t|=(r&o.jS)<<n,n+=7,r<o.x1)return t>>>0;if(n>35)throw new Error("Integer out of range!")}},R=function(e){var t=e.arr[e.pos++],n=t&o.$2,r=6,i=(t&o.rc)>0?-1:1;if(0==(t&o.x1))return i*n;for(;;){if(n|=((t=e.arr[e.pos++])&o.jS)<<r,r+=7,t<o.x1)return i*(n>>>0);if(r>41)throw new Error("Integer out of range!")}},I=function(e){var t=e.pos,n=P(e);return e.pos=t,n},M=function(e){var t=e.pos,n=R(e);return e.pos=t,n},N=function(e){var t=P(e);if(0===t)return"";var n=String.fromCodePoint(S(e));if(--t<100)for(;t--;)n+=String.fromCodePoint(S(e));else for(;t>0;){var r=t<1e4?t:1e4,o=e.arr.subarray(e.pos,e.pos+r);e.pos+=r,n+=String.fromCodePoint.apply(null,o),t-=r}return decodeURIComponent(escape(n))},D=function(e){var t=e.pos,n=N(e);return e.pos=t,n},j=function(e,t){var n=new DataView(e.arr.buffer,e.arr.byteOffset+e.pos,t);return e.pos+=t,n},L=function(e){return j(e,4).getFloat32(0,!1)},B=function(e){return j(e,8).getFloat64(0,!1)},F=function(e){return j(e,8).getBigInt64(0,!1)},U=function(e){return j(e,8).getBigUint64(0,!1)},H=[function(e){},function(e){return null},R,L,B,F,function(e){return!1},function(e){return!0},N,function(e){for(var t=P(e),n={},r=0;r<t;r++){n[N(e)]=V(e)}return n},function(e){for(var t=P(e),n=[],r=0;r<t;r++)n.push(V(e));return n},_],V=function(e){return H[127-S(e)](e)},z=function(e){c(n,e);var t=d(n);function n(e,r){var o;return h(this,n),(o=t.call(this,e)).reader=r,o.s=null,o.count=0,o}return l(n,[{key:"read",value:function(){return 0===this.count&&(this.s=this.reader(this),y(this)?this.count=P(this)+1:this.count=-1),this.count--,this.s}}]),n}(m),q=function(e){c(n,e);var t=d(n);function n(e,r){var o;return h(this,n),(o=t.call(this,e)).s=r,o}return l(n,[{key:"read",value:function(){return this.s+=R(this),this.s}}]),n}(m),G=function(e){c(n,e);var t=d(n);function n(e,r){var o;return h(this,n),(o=t.call(this,e)).s=r,o.count=0,o}return l(n,[{key:"read",value:function(){return 0===this.count&&(this.s+=R(this),y(this)?this.count=P(this)+1:this.count=-1),this.count--,this.s}}]),n}(m),W=function(e){c(n,e);var t=d(n);function n(e){var r;return h(this,n),(r=t.call(this,e)).s=0,r.count=0,r}return l(n,[{key:"read",value:function(){if(0===this.count){this.s=R(this);var e=i.GR(this.s);this.count=1,e&&(this.s=-this.s,this.count=P(this)+2)}return this.count--,this.s}}]),n}(m),Y=function(e){c(n,e);var t=d(n);function n(e){var r;return h(this,n),(r=t.call(this,e)).s=0,r.count=0,r}return l(n,[{key:"read",value:function(){if(0===this.count){this.s=R(this);var e=i.GR(this.s);this.count=1,e&&(this.s=-this.s,this.count=P(this)+2)}return this.count--,this.s++}}]),n}(m),Z=function(e){c(n,e);var t=d(n);function n(e){var r;return h(this,n),(r=t.call(this,e)).s=0,r.count=0,r.diff=0,r}return l(n,[{key:"read",value:function(){if(0===this.count){var e=R(this),t=1&e;this.diff=e>>1,this.count=1,t&&(this.count=P(this)+2)}return this.s+=this.diff,this.count--,this.s}}]),n}(m),K=function(){function e(t){h(this,e),this.decoder=new W(t),this.str=N(this.decoder),this.spos=0}return l(e,[{key:"read",value:function(){var e=this.spos+this.decoder.read(),t=this.str.slice(this.spos,e);return this.spos=e,t}}]),e}()},23862:(e,t,n)=>{"use strict";n.d(t,{GW:()=>r,VV:()=>o,Fp:()=>i,GR:()=>a});n(90332),n(40658),n(44914),n(44048),n(9653),n(52420);var r=Math.floor,o=(Math.ceil,Math.abs,Math.imul,Math.round,Math.log10,Math.log2,Math.log,Math.sqrt,function(e,t){return e<t?e:t}),i=function(e,t){return e>t?e:t},a=(Number.isNaN,Math.pow,Math.sign,function(e){return 0!==e?e<0:1/e<0})},70494:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var r=function(){var e=!0;return function(t,n){if(e){e=!1;try{t()}finally{e=!0}}else void 0!==n&&n()}}},9151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(82526),n(41817),n(41539),n(32165),n(66992),n(78783),n(33948);function r(e){return(r="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)}},46210:(e,t,n)=>{"use strict";n.d(t,{Dp:()=>r,$m:()=>o,kJ:()=>i});n(47042),n(91038),n(78783),n(92222);var r=Array.from,o=function(e,t){return e.length===t.length&&function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n,e))return!1;return!0}(e,(function(e,n){return e===t[n]}))},i=Array.isArray},96750:(e,t,n)=>{"use strict";n.d(t,{rc:()=>r,x1:()=>o,$2:()=>i,jS:()=>a,RP:()=>s,Tg:()=>l});var r=64,o=128,i=63,a=127,s=2147483647,l=4294967295},49016:(e,t,n)=>{"use strict";n.d(t,{l1:()=>d,kf:()=>g,yg:()=>m,HN:()=>f});n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(94953),n(47042),n(30489),n(12419),n(82526),n(41817),n(32165),n(78783),n(33948);var r=n(96750),o=(n(44363),n(9653),n(55994),n(33161),n(44048),n(9494),n(23251)),i=Number.MAX_SAFE_INTEGER,a=(Number.MIN_SAFE_INTEGER,r.RP,r.Tg,Number.isInteger,Number.isNaN,Number.parseInt,n(94628)),s=function(e){return new Error(e)};var l=s("Unexpected end of array"),c=s("Integer out of Range"),u=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.arr=t,this.pos=0},d=function(e){return new u(e)},p=function(e,t){var n=new Uint8Array(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,n},f=function(e){return p(e,m(e))},h=function(e){return e.arr[e.pos++]},m=function(e){for(var t=0,n=1,o=e.arr.length;e.pos<o;){var a=e.arr[e.pos++];if(t+=(a&r.jS)*n,n*=128,a<r.x1)return t;if(t>i)throw c}throw l},g=a.CO?function(e){return a.CO.decode(f(e))}:function(e){var t=m(e);if(0===t)return"";var n=String.fromCodePoint(h(e));if(--t<100)for(;t--;)n+=String.fromCodePoint(h(e));else for(;t>0;){var r=t<1e4?t:1e4,o=e.arr.subarray(e.pos,e.pos+r);e.pos+=r,n+=String.fromCodePoint.apply(null,o),t-=r}return decodeURIComponent(escape(n))}},55529:(e,t,n)=>{"use strict";n.d(t,{Mf:()=>s,_f:()=>l,uE:()=>u,uw:()=>f,mP:()=>m});n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(79841),n(18264),n(47941),n(69600),n(82526),n(41817),n(32165),n(78783),n(33948),n(30489),n(12419);var r=n(23251),o=n(96750),i=n(94628);var a=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]},s=function(){return new a},l=function(e){for(var t=new Uint8Array(function(e){for(var t=e.cpos,n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t}(e)),n=0,r=0;r<e.bufs.length;r++){var o=e.bufs[r];t.set(o,n),n+=o.length}return t.set(new Uint8Array(e.cbuf.buffer,0,e.cpos),n),t},c=function(e,t){var n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(2*n),e.cpos=0),e.cbuf[e.cpos++]=t},u=function(e,t){for(;t>o.jS;)c(e,o.x1|o.jS&t),t=r.GW(t/128);c(e,o.jS&t)},d=new Uint8Array(3e4),p=d.length/3,f=i.YZ&&i.YZ.encodeInto?function(e,t){if(t.length<p){var n=i.YZ.encodeInto(t,d).written||0;u(e,n);for(var r=0;r<n;r++)c(e,d[r])}else m(e,i.lz(t))}:function(e,t){var n=unescape(encodeURIComponent(t)),r=n.length;u(e,r);for(var o=0;o<r;o++)c(e,n.codePointAt(o))},h=function(e,t){var n=e.cbuf.length,o=e.cpos,i=r.VV(n-o,t.length),a=t.length-i;e.cbuf.set(t.subarray(0,i),o),e.cpos+=i,a>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(r.Fp(2*n,a)),e.cbuf.set(t.subarray(i)),e.cpos=a)},m=function(e,t){u(e,t.byteLength),h(e,t)};new DataView(new ArrayBuffer(4))},36345:(e,t,n)=>{"use strict";n.d(t,{Hi:()=>f,UV:()=>p});n(18264),n(41539),n(66992),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(70189),n(78783),n(33948),n(51532),n(26699),n(32023),n(9653),n(82526),n(41817),n(32165),n(91038),n(47042),n(68309);var r=n(46210);n(19601),n(47941),n(43371);Object.assign;var o=Object.keys,i=function(e){return o(e).length},a=function(e){return o(e).length},s=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};Object.freeze;function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e,t){return e===t||null!=e&&null!=t&&e.constructor===t.constructor&&(r.kJ(e)&&r.$m(e,t)||"object"===c(e)&&function(e,t){return e===t||a(e)===a(t)&&function(e,t){for(var n in e)if(!t(e[n],n))return!1;return!0}(e,(function(e,n){return(void 0!==e||s(t,n))&&t[n]===e}))}(e,t))},f=function e(t,n){if(null==t||null==n)return function(e,t){return e===t}(t,n);if(t.constructor!==n.constructor)return!1;if(t===n)return!0;switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t),n=new Uint8Array(n);case Uint8Array:if(t.byteLength!==n.byteLength)return!1;for(var r=0;r<t.length;r++)if(t[r]!==n[r])return!1;break;case Set:if(t.size!==n.size)return!1;var o,a=l(t);try{for(a.s();!(o=a.n()).done;){var c=o.value;if(!n.has(c))return!1}}catch(e){a.e(e)}finally{a.f()}break;case Map:if(t.size!==n.size)return!1;var u,d=l(t.keys());try{for(d.s();!(u=d.n()).done;){var p=u.value;if(!n.has(p)||!e(t.get(p),n.get(p)))return!1}}catch(e){d.e(e)}finally{d.f()}break;case Object:if(i(t)!==i(n))return!1;for(var f in t)if(!s(t,f)||!e(t[f],n[f]))return!1;break;case Array:if(t.length!==n.length)return!1;for(var h=0;h<t.length;h++)if(!e(t[h],n[h]))return!1;break;default:return!1}return!0};r.kJ},23251:(e,t,n)=>{"use strict";n.d(t,{GW:()=>r,IH:()=>o,VV:()=>i,Fp:()=>a});n(90332),n(40658),n(44914),n(44048),n(9653),n(52420);var r=Math.floor,o=(Math.ceil,Math.abs,Math.imul,Math.round,Math.log10,Math.log2,Math.log,Math.sqrt,function(e,t){return e+t}),i=function(e,t){return e<t?e:t},a=function(e,t){return e>t?e:t};Number.isNaN,Math.pow,Math.sign},94628:(e,t,n)=>{"use strict";n.d(t,{YZ:()=>o,lz:()=>i,CO:()=>a});n(94953),n(74916),n(15306),n(92222),n(66992),n(41539),n(82472),n(92990),n(18927),n(33105),n(35035),n(74345),n(7174),n(32846),n(44731),n(77209),n(96319),n(58867),n(37789),n(33739),n(29368),n(14483),n(12056),n(3462),n(30678),n(27462),n(33824),n(55021),n(12974),n(15016),n(79841),n(47042),n(69600);var r=String.fromCharCode,o=(String.fromCodePoint,r(65535),"undefined"!=typeof TextEncoder?new TextEncoder:null),i=o?function(e){return o.encode(e)}:function(e){for(var t=unescape(encodeURIComponent(e)),n=t.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=t.codePointAt(o);return r},a="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});a&&1===a.decode(new Uint8Array).length&&(a=null)},15264:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Awareness:()=>O,applyAwarenessUpdate:()=>R,encodeAwarenessUpdate:()=>A,modifyAwarenessUpdate:()=>P,outdatedTimeout:()=>k,removeAwarenessStates:()=>T});n(66992),n(51532),n(41539),n(78783),n(33948),n(54747),n(30489),n(12419),n(74819),n(38880),n(47941),n(82526),n(57327),n(49337),n(41817),n(32165);var r=n(55529),o=n(49016),i=Date.now,a=n(23251);n(91038),n(47042),n(68309);var s=function(){return new Map},l=(n(70189),function(){return new Set}),c=n(46210);function u(e){return function(e){if(Array.isArray(e))return d(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)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(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,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._observers=s()}var t,n,r;return t=e,(n=[{key:"on",value:function(e,t){(function(e,t,n){var r=e.get(t);return void 0===r&&e.set(t,r=n()),r})(this._observers,e,l).add(t)}},{key:"once",value:function(e,t){var n=this;this.on(e,(function r(){n.off(e,r),t.apply(void 0,arguments)}))}},{key:"off",value:function(e,t){var n=this._observers.get(e);void 0!==n&&(n.delete(t),0===n.size&&this._observers.delete(e))}},{key:"emit",value:function(e,t){return c.Dp((this._observers.get(e)||s()).values()).forEach((function(e){return e.apply(void 0,u(t))}))}},{key:"destroy",value:function(){this._observers=s()}}])&&p(t.prototype,n),r&&p(t,r),e}(),h=n(36345);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t,n){return(_="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=x(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=3e4,O=function(e){!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}}),t&&w(e,t)}(s,e);var t,n,r,o=C(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=o.call(this)).doc=e,t.clientID=e.clientID,t.states=new Map,t.meta=new Map,t._checkInterval=setInterval((function(){var e=i();null!==t.getLocalState()&&k/2<=e-t.meta.get(t.clientID).lastUpdated&&t.setLocalState(t.getLocalState());var n=[];t.meta.forEach((function(r,o){o!==t.clientID&&k<=e-r.lastUpdated&&t.states.has(o)&&n.push(o)})),n.length>0&&T(E(t),n,"timeout")}),a.GW(k/10)),e.on("destroy",(function(){t.destroy()})),t.setLocalState({}),t}return t=s,(n=[{key:"destroy",value:function(){this.emit("destroy",[this]),this.setLocalState(null),_(x(s.prototype),"destroy",this).call(this),clearInterval(this._checkInterval)}},{key:"getLocalState",value:function(){return this.states.get(this.clientID)||null}},{key:"setLocalState",value:function(e){var t=this.clientID,n=this.meta.get(t),r=void 0===n?0:n.clock+1,o=this.states.get(t);null===e?this.states.delete(t):this.states.set(t,e),this.meta.set(t,{clock:r,lastUpdated:i()});var a=[],s=[],l=[],c=[];null===e?c.push(t):null==o?null!=e&&a.push(t):(s.push(t),h.Hi(o,e)||l.push(t)),(a.length>0||l.length>0||c.length>0)&&this.emit("change",[{added:a,updated:l,removed:c},"local"]),this.emit("update",[{added:a,updated:s,removed:c},"local"])}},{key:"setLocalStateField",value:function(e,t){var n=this.getLocalState();null!==n&&this.setLocalState(y(y({},n),{},v({},e,t)))}},{key:"getStates",value:function(){return this.states}}])&&b(t.prototype,n),r&&b(t,r),s}(f),T=function(e,t,n){for(var r=[],o=0;o<t.length;o++){var a=t[o];if(e.states.has(a)){if(e.states.delete(a),a===e.clientID){var s=e.meta.get(a);e.meta.set(a,{clock:s.clock+1,lastUpdated:i()})}r.push(a)}}r.length>0&&(e.emit("change",[{added:[],updated:[],removed:r},n]),e.emit("update",[{added:[],updated:[],removed:r},n]))},A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.states,o=t.length,i=r.Mf();r.uE(i,o);for(var a=0;a<o;a++){var s=t[a],l=n.get(s)||null,c=e.meta.get(s).clock;r.uE(i,s),r.uE(i,c),r.uw(i,JSON.stringify(l))}return r._f(i)},P=function(e,t){var n=o.l1(e),i=r.Mf(),a=o.yg(n);r.uE(i,a);for(var s=0;s<a;s++){var l=o.yg(n),c=o.yg(n),u=t(JSON.parse(o.kf(n)));r.uE(i,l),r.uE(i,c),r.uw(i,JSON.stringify(u))}return r._f(i)},R=function(e,t,n){for(var r=o.l1(t),a=i(),s=[],l=[],c=[],u=[],d=o.yg(r),p=0;p<d;p++){var f=o.yg(r),m=o.yg(r),g=JSON.parse(o.kf(r)),y=e.meta.get(f),v=e.states.get(f),b=void 0===y?0:y.clock;(b<m||b===m&&null===g&&e.states.has(f))&&(null===g?f===e.clientID&&null!=e.getLocalState()?m++:e.states.delete(f):e.states.set(f,g),e.meta.set(f,{clock:m,lastUpdated:a}),void 0===y&&null!==g?s.push(f):void 0!==y&&null===g?u.push(f):null!==g&&(h.Hi(g,v)||c.push(f),l.push(f)))}(s.length>0||c.length>0||u.length>0)&&e.emit("change",[{added:s,updated:c,removed:u},n]),(s.length>0||l.length>0||u.length>0)&&e.emit("update",[{added:s,updated:l,removed:u},n])}},53665:(e,t,n)=>{"use strict";n.r(t),n.d(t,{messageYjsSyncStep1:()=>a,messageYjsSyncStep2:()=>s,messageYjsUpdate:()=>l,writeSyncStep1:()=>c,writeSyncStep2:()=>u,readSyncStep1:()=>d,readSyncStep2:()=>p,writeUpdate:()=>f,readUpdate:()=>h,readSyncMessage:()=>m});var r=n(55529),o=n(49016),i=n(51718),a=0,s=1,l=2,c=function(e,t){r.uE(e,a);var n=i.encodeStateVector(t);r.mP(e,n)},u=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};r.uE(e,s);var a=i.encodeStateAsUpdate;2===o.updateEncoderVersion&&(a=i.encodeStateAsUpdateV2),r.mP(e,a(t,n))},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};u(t,n,o.HN(e),r)},p=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var a=i.applyUpdate;2===r.updateEncoderVersion&&(a=i.applyUpdateV2),a(t,o.HN(e),n)}catch(e){console.error("Caught error while handling a Yjs update",e)}},f=function(e,t){r.uE(e,l),r.mP(e,t)},h=p,m=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=o.yg(e);switch(c){case a:d(e,t,n,i);break;case s:p(e,n,r,i);break;case l:h(e,n,r);break;default:throw new Error("Unknown message type")}return c}},49839:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(79758);function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){var n=e.i||(e.i={});return n[t]||(n[t]=function(n){e.refs[t]=n})}function a(e){for(var t={},n=0;n<e.length;n++)null!=e[n]&&(t[(r=e[n],o=n.toString(36),i=r&&r.key,null==i?o:i)]=e[n]);var r,o,i;return t}function s(e,t){e=e||{},t=t||{};var n=function(n){return t.hasOwnProperty(n)?t[n]:e[n]},r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a={};for(var s in t){if(r.hasOwnProperty(s))for(var l=0;l<r[s].length;l++)a[r[s][l]]=n(r[s][l]);a[s]=n(s)}for(var c=0;c<o.length;c++)a[o[c]]=n(o[c]);return a}var l=function(e){var t,n;function l(t,n){var i;return(i=e.call(this,t,n)||this).refs={},i.state={children:a((0,r.bR)((0,r.bR)(i.props.children))||[])},i.performAppear=i.performAppear.bind(o(i)),i.performEnter=i.performEnter.bind(o(i)),i.performLeave=i.performLeave.bind(o(i)),i}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var c=l.prototype;return c.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToAbortLeave=[],this.keysToEnter=[],this.keysToLeave=[]},c.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},c.componentWillReceiveProps=function(e){var t,n=a((0,r.bR)(e.children)||[]),o=this.state.children;for(t in this.setState((function(e){return{children:s(e.children,n)}})),n)if(n.hasOwnProperty(t)){var i=o&&o.hasOwnProperty(t);n[t]&&i&&this.currentlyTransitioningKeys[t]?(this.keysToEnter.push(t),this.keysToAbortLeave.push(t)):!n[t]||i||this.currentlyTransitioningKeys[t]||this.keysToEnter.push(t)}for(t in o)if(o.hasOwnProperty(t)){var l=n&&n.hasOwnProperty(t);!o[t]||l||this.currentlyTransitioningKeys[t]||this.keysToLeave.push(t)}},c.componentDidUpdate=function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},c.t=function(e){var t=this.keysToAbortLeave.indexOf(e);-1!==t&&this.keysToAbortLeave.splice(t,1)},c.performAppear=function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this.n.bind(this,e)):this.n(e)},c.n=function(e){var t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e],this.t(e);var n=a((0,r.bR)(this.props.children)||[]);n&&n.hasOwnProperty(e)||this.performLeave(e)},c.performEnter=function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this.r.bind(this,e)):this.r(e)},c.r=function(e){var t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e],this.t(e);var n=a((0,r.bR)(this.props.children)||[]);n&&n.hasOwnProperty(e)||this.performLeave(e)},c.performLeave=function(e){if(-1===this.keysToAbortLeave.indexOf(e)){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this.s.bind(this,e)):this.s(e)}},c.s=function(e){if(-1===this.keysToAbortLeave.indexOf(e)){var t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];var n=a((0,r.bR)(this.props.children)||[]);if(n&&n.hasOwnProperty(e))this.performEnter(e);else{var o=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}({},this.state.children);delete o[e],this.setState({children:o})}}},c.render=function(e,t){var n=e.childFactory,o=e.component,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,["childFactory","transitionLeave","transitionName","transitionAppear","transitionEnter","transitionLeaveTimeout","transitionEnterTimeout","transitionAppearTimeout","component"]),s=t.children,l=[];for(var c in s)if(s.hasOwnProperty(c)){var u=s[c];if(u){var d=i(this,c),p=(0,r.Tm)(n(u),{ref:d,key:c});l.push(p)}}return(0,r.h)(o,a,l)},l}(r.wA);l.defaultProps={component:"span",childFactory:function(e){return e}};const c=l},51718:(e,r,o)=>{"use strict";o.r(r),o.d(r,{AbsolutePosition:()=>qn,AbstractConnector:()=>Gt,AbstractStruct:()=>Jo,AbstractType:()=>lo,Array:()=>Ao,ContentAny:()=>li,ContentBinary:()=>ti,ContentDeleted:()=>ni,ContentEmbed:()=>ii,ContentFormat:()=>ai,ContentJSON:()=>si,ContentString:()=>ci,ContentType:()=>vi,Doc:()=>an,GC:()=>ei,ID:()=>In,Item:()=>Si,Map:()=>Ro,PermanentUserData:()=>Un,RelativePosition:()=>Hn,Snapshot:()=>Qn,Text:()=>Wo,Transaction:()=>br,UndoManager:()=>Rr,XmlElement:()=>Ko,XmlFragment:()=>Zo,XmlHook:()=>Qo,XmlText:()=>Xo,YArrayEvent:()=>To,YEvent:()=>Jr,YMapEvent:()=>Po,YTextEvent:()=>Go,YXmlEvent:()=>$o,applyUpdate:()=>bn,applyUpdateV2:()=>vn,cleanupYTextFormatting:()=>zo,compareIDs:()=>Mn,compareRelativePositions:()=>$n,convertUpdateFormatV1ToV2:()=>Qr,convertUpdateFormatV2ToV1:()=>Xr,createAbsolutePositionFromRelativePosition:()=>Kn,createDeleteSet:()=>Jt,createDeleteSetFromStructStore:()=>en,createDocFromSnapshot:()=>lr,createID:()=>Nn,createRelativePositionFromJSON:()=>zn,createRelativePositionFromTypeIndex:()=>Wn,createSnapshot:()=>rr,decodeRelativePosition:()=>Zn,decodeSnapshot:()=>nr,decodeSnapshotV2:()=>tr,decodeStateVector:()=>Sn,decodeUpdate:()=>Dr,decodeUpdateV2:()=>jr,diffUpdate:()=>Wr,diffUpdateV2:()=>Gr,emptySnapshot:()=>or,encodeRelativePosition:()=>Yn,encodeSnapshot:()=>er,encodeSnapshotV2:()=>Jn,encodeStateAsUpdate:()=>wn,encodeStateAsUpdateV2:()=>_n,encodeStateVector:()=>kn,encodeStateVectorFromUpdate:()=>Ur,encodeStateVectorFromUpdateV2:()=>Fr,equalSnapshots:()=>Xn,findIndexSS:()=>fr,findRootTypeKey:()=>Ln,getItem:()=>hr,getState:()=>dr,getTypeChildren:()=>ao,isDeleted:()=>Kt,isParentOf:()=>Bn,iterateDeletedStructs:()=>Zt,logType:()=>Fn,logUpdate:()=>Mr,logUpdateV2:()=>Nr,mergeUpdates:()=>Br,mergeUpdatesV2:()=>qr,parseUpdateMeta:()=>Vr,parseUpdateMetaV2:()=>Hr,readUpdate:()=>yn,readUpdateV2:()=>gn,relativePositionToJSON:()=>Vn,snapshot:()=>ir,transact:()=>Or,tryGc:()=>xr,typeListToArraySnapshot:()=>po,typeMapGetSnapshot:()=>ko});o(54747),o(66992),o(41539),o(33948),o(82526),o(41817),o(32165),o(78783),o(91038),o(47042),o(68309),o(51532);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(){return new Map},u=function(e){var t=c();return e.forEach((function(e,n){t.set(n,e)})),t},d=function(e,t,n){var r=e.get(t);return void 0===r&&e.set(t,r=n()),r},p=(o(70189),function(){return new Set}),f=(o(92222),function(e){return e[e.length-1]}),h=function(e,t){for(var n=0;n<t.length;n++)e.push(t[n])},m=Array.from,g=Array.isArray;function y(e){return function(e){if(Array.isArray(e))return v(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)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._observers=c()}var t,n,r;return t=e,(n=[{key:"on",value:function(e,t){d(this._observers,e,p).add(t)}},{key:"once",value:function(e,t){var n=this;this.on(e,(function r(){n.off(e,r),t.apply(void 0,arguments)}))}},{key:"off",value:function(e,t){var n=this._observers.get(e);void 0!==n&&(n.delete(t),0===n.size&&this._observers.delete(e))}},{key:"emit",value:function(e,t){return m((this._observers.get(e)||c()).values()).forEach((function(e){return e.apply(void 0,y(t))}))}},{key:"destroy",value:function(){this._observers=c()}}])&&b(t.prototype,n),r&&b(t,r),e}(),w=(o(90332),o(40658),o(44914),o(44048),o(9653),o(52420),Math.floor),C=(Math.ceil,Math.abs),S=(Math.imul,Math.round,Math.log10,Math.log2,Math.log,Math.sqrt,function(e,t){return e<t?e:t}),E=function(e,t){return e>t?e:t},x=(Number.isNaN,Math.pow,Math.sign,function(e){return 0!==e?e<0:1/e<0}),k=(o(82472),o(92990),o(18927),o(33105),o(35035),o(74345),o(7174),o(32846),o(44731),o(77209),o(96319),o(58867),o(37789),o(33739),o(29368),o(14483),o(12056),o(3462),o(30678),o(27462),o(33824),o(55021),o(12974),o(15016),o(79841),o(18264),o(47941),o(69600),o(30489),o(12419),o(39714),o(94953),o(74916),o(15306),String.fromCharCode,String.fromCodePoint,/^\s*/g),O=/([A-Z])/g,T=function(e,t){return function(e){return e.replace(k,"")}(e.replace(O,(function(e){return"".concat(t).concat(function(e){return e.toLowerCase()}(e))})))},A="undefined"!=typeof TextEncoder?new TextEncoder:null,P=A?function(e){return A.encode(e)}:function(e){for(var t=unescape(encodeURIComponent(e)),n=t.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=t.codePointAt(o);return r},R="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});R&&1===R.decode(new Uint8Array).length&&(R=null);o(23123),o(64765),o(26699),o(32023);var I=function(e){return void 0===e?null:e};o(21249);function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var N=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map=new Map}var t,n,r;return t=e,(n=[{key:"setItem",value:function(e,t){this.map.set(e,t)}},{key:"getItem",value:function(e){return this.map.get(e)}}])&&M(t.prototype,n),r&&M(t,r),e}());try{"undefined"!=typeof localStorage&&(N=localStorage,!1)}catch(e){}var D=N;function j(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||L(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 L(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var F=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;try{for(;r<t.length;r++)t[r].apply(t,j(n))}finally{r<t.length&&e(t,n,r+1)}};function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(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 H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var z,q,G,W=void 0!==t&&t.release&&/node|io\.js/.test(t.release.name),Y=("undefined"!=typeof navigator&&/Mac/.test(navigator.platform),[]),Z=function(){if(void 0===z)if(W){z=c();for(var e=t.argv,n=null,r=0;r<e.length;r++){var o=e[r];"-"===o[0]?(null!==n&&z.set(n,""),n=o):null!==n?(z.set(n,o),n=null):Y.push(o)}null!==n&&z.set(n,"")}else"object"===("undefined"==typeof location?"undefined":V(location))?(z=c(),(location.search||"?").slice(1).split("&").forEach((function(e){if(0!==e.length){var t=U(e.split("="),2),n=t[0],r=t[1];z.set("--".concat(T(n,"-")),r),z.set("-".concat(T(n,"-")),r)}}))):z=c();return z},K=function(e){return Z().has(e)},$=function(e){return I(W?t.env[e.toUpperCase()]:D.getItem(e))},Q=(K("--"+(q="production"))||$(q),W&&(G=t.env.FORCE_COLOR,["true","1","2"].includes(G))),X=!K("no-colors")&&(!W||t.stdout.isTTY||Q)&&(!W||K("color")||Q||null!==$("COLORTERM")||($("TERM")||"").includes("color")),J=(o(13423).Buffer,function(e){return new Uint8Array(e)}),ee=function(e,t,n){return new Uint8Array(e,t,n)},te=(o(44363),o(55994),o(33161),o(9494),Number.MAX_SAFE_INTEGER),ne=(Number.MIN_SAFE_INTEGER,Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&w(e)===e});Number.isNaN,Number.parseInt;function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t,n){return t&&re(e.prototype,t),n&&re(e,n),e}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=le(e);if(t){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){if(t&&("object"===ce(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 le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var de=function e(){ue(this,e),this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]},pe=function(){return new de},fe=function(e){for(var t=new Uint8Array(function(e){for(var t=e.cpos,n=0;n<e.bufs.length;n++)t+=e.bufs[n].length;return t}(e)),n=0,r=0;r<e.bufs.length;r++){var o=e.bufs[r];t.set(o,n),n+=o.length}return t.set(ee(e.cbuf.buffer,0,e.cpos),n),t},he=function(e,t){var n=e.cbuf.length;e.cpos===n&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(2*n),e.cpos=0),e.cbuf[e.cpos++]=t},me=he,ge=function(e,t){for(;t>127;)he(e,128|127&t),t=w(t/128);he(e,127&t)},ye=function(e,t){var n=x(t);for(n&&(t=-t),he(e,(t>63?128:0)|(n?64:0)|63&t),t=w(t/64);t>0;)he(e,(t>127?128:0)|127&t),t=w(t/128)},ve=new Uint8Array(3e4),be=ve.length/3,_e=A&&A.encodeInto?function(e,t){if(t.length<be){var n=A.encodeInto(t,ve).written||0;ge(e,n);for(var r=0;r<n;r++)he(e,ve[r])}else Ce(e,P(t))}:function(e,t){var n=unescape(encodeURIComponent(t)),r=n.length;ge(e,r);for(var o=0;o<r;o++)he(e,n.codePointAt(o))},we=function(e,t){var n=e.cbuf.length,r=e.cpos,o=S(n-r,t.length),i=t.length-o;e.cbuf.set(t.subarray(0,o),r),e.cpos+=o,i>0&&(e.bufs.push(e.cbuf),e.cbuf=new Uint8Array(E(2*n,i)),e.cbuf.set(t.subarray(o)),e.cpos=i)},Ce=function(e,t){ge(e,t.byteLength),we(e,t)},Se=function(e,t){!function(e,t){var n=e.cbuf.length;n-e.cpos<t&&(e.bufs.push(ee(e.cbuf.buffer,0,e.cpos)),e.cbuf=new Uint8Array(2*E(n,t)),e.cpos=0)}(e,t);var n=new DataView(e.cbuf.buffer,e.cpos,t);return e.cpos+=t,n},Ee=new DataView(new ArrayBuffer(4)),xe=function e(t,n){switch(ce(n)){case"string":he(t,119),_e(t,n);break;case"number":ne(n)&&C(n)<=2147483647?(he(t,125),ye(t,n)):(s=n,Ee.setFloat32(0,s),Ee.getFloat32(0)===s?(he(t,124),function(e,t){Se(e,4).setFloat32(0,t,!1)}(t,n)):(he(t,123),function(e,t){Se(e,8).setFloat64(0,t,!1)}(t,n)));break;case"bigint":he(t,122),function(e,t){Se(e,8).setBigInt64(0,t,!1)}(t,n);break;case"object":if(null===n)he(t,126);else if(n instanceof Array){he(t,117),ge(t,n.length);for(var r=0;r<n.length;r++)e(t,n[r])}else if(n instanceof Uint8Array)he(t,116),Ce(t,n);else{he(t,118);var o=Object.keys(n);ge(t,o.length);for(var i=0;i<o.length;i++){var a=o[i];_e(t,a),e(t,n[a])}}break;case"boolean":he(t,n?120:121);break;default:he(t,127)}var s},ke=function(e){!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}}),t&&ie(e,t)}(n,e);var t=ae(n);function n(e){var r;return ue(this,n),(r=t.call(this)).w=e,r.s=null,r.count=0,r}return oe(n,[{key:"write",value:function(e){this.s===e?this.count++:(this.count>0&&ge(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}]),n}(de),Oe=function(e){e.count>0&&(ye(e.encoder,1===e.count?e.s:-e.s),e.count>1&&ge(e.encoder,e.count-2))},Te=function(){function e(){ue(this,e),this.encoder=new de,this.s=0,this.count=0}return oe(e,[{key:"write",value:function(e){this.s===e?this.count++:(Oe(this),this.count=1,this.s=e)}},{key:"toUint8Array",value:function(){return Oe(this),fe(this.encoder)}}]),e}(),Ae=function(e){if(e.count>0){var t=2*e.diff+(1===e.count?0:1);ye(e.encoder,t),e.count>1&&ge(e.encoder,e.count-2)}},Pe=function(){function e(){ue(this,e),this.encoder=new de,this.s=0,this.count=0,this.diff=0}return oe(e,[{key:"write",value:function(e){this.diff===e-this.s?(this.s=e,this.count++):(Ae(this),this.count=1,this.diff=e-this.s,this.s=e)}},{key:"toUint8Array",value:function(){return Ae(this),fe(this.encoder)}}]),e}(),Re=function(){function e(){ue(this,e),this.sarr=[],this.s="",this.lensE=new Te}return oe(e,[{key:"write",value:function(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}},{key:"toUint8Array",value:function(){var e=new de;return this.sarr.push(this.s),this.s="",_e(e,this.sarr.join("")),we(e,this.lensE.toUint8Array()),fe(e)}}]),e}(),Ie=function(e){return new Error(e)},Me=function(){throw Ie("Method unimplemented")},Ne=function(){throw Ie("Unexpected case")};function De(e){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Le(e,t,n){return t&&je(e.prototype,t),n&&je(e,n),e}function Be(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}}),t&&Fe(e,t)}function Fe(e,t){return(Fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ve(e);if(t){var o=Ve(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return He(this,n)}}function He(e,t){if(t&&("object"===De(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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var qe=Ie("Unexpected end of array"),Ge=Ie("Integer out of Range"),We=function e(t){ze(this,e),this.arr=t,this.pos=0},Ye=function(e){return new We(e)},Ze=function(e){return e.pos!==e.arr.length},Ke=function(e,t){var n=ee(e.arr.buffer,e.pos+e.arr.byteOffset,t);return e.pos+=t,n},$e=function(e){return Ke(e,Xe(e))},Qe=function(e){return e.arr[e.pos++]},Xe=function(e){for(var t=0,n=1,r=e.arr.length;e.pos<r;){var o=e.arr[e.pos++];if(t+=(127&o)*n,n*=128,o<128)return t;if(t>te)throw Ge}throw qe},Je=function(e){var t=e.arr[e.pos++],n=63&t,r=64,o=(64&t)>0?-1:1;if(0==(128&t))return o*n;for(var i=e.arr.length;e.pos<i;){if(n+=(127&(t=e.arr[e.pos++]))*r,r*=128,t<128)return o*n;if(n>te)throw Ge}throw qe},et=R?function(e){return R.decode($e(e))}:function(e){var t=Xe(e);if(0===t)return"";var n=String.fromCodePoint(Qe(e));if(--t<100)for(;t--;)n+=String.fromCodePoint(Qe(e));else for(;t>0;){var r=t<1e4?t:1e4,o=e.arr.subarray(e.pos,e.pos+r);e.pos+=r,n+=String.fromCodePoint.apply(null,o),t-=r}return decodeURIComponent(escape(n))},tt=function(e,t){var n=new DataView(e.arr.buffer,e.arr.byteOffset+e.pos,t);return e.pos+=t,n},nt=[function(e){},function(e){return null},Je,function(e){return tt(e,4).getFloat32(0,!1)},function(e){return tt(e,8).getFloat64(0,!1)},function(e){return tt(e,8).getBigInt64(0,!1)},function(e){return!1},function(e){return!0},et,function(e){for(var t=Xe(e),n={},r=0;r<t;r++){n[et(e)]=rt(e)}return n},function(e){for(var t=Xe(e),n=[],r=0;r<t;r++)n.push(rt(e));return n},$e],rt=function(e){return nt[127-Qe(e)](e)},ot=function(e){Be(n,e);var t=Ue(n);function n(e,r){var o;return ze(this,n),(o=t.call(this,e)).reader=r,o.s=null,o.count=0,o}return Le(n,[{key:"read",value:function(){return 0===this.count&&(this.s=this.reader(this),Ze(this)?this.count=Xe(this)+1:this.count=-1),this.count--,this.s}}]),n}(We),it=function(e){Be(n,e);var t=Ue(n);function n(e){var r;return ze(this,n),(r=t.call(this,e)).s=0,r.count=0,r}return Le(n,[{key:"read",value:function(){if(0===this.count){this.s=Je(this);var e=x(this.s);this.count=1,e&&(this.s=-this.s,this.count=Xe(this)+2)}return this.count--,this.s}}]),n}(We),at=function(e){Be(n,e);var t=Ue(n);function n(e){var r;return ze(this,n),(r=t.call(this,e)).s=0,r.count=0,r.diff=0,r}return Le(n,[{key:"read",value:function(){if(0===this.count){var e=Je(this),t=1&e;this.diff=w(e/2),this.count=1,t&&(this.count=Xe(this)+2)}return this.s+=this.diff,this.count--,this.s}}]),n}(We),st=function(){function e(t){ze(this,e),this.decoder=new it(t),this.str=et(this.decoder),this.spos=0}return Le(e,[{key:"read",value:function(){var e=this.spos+this.decoder.read(),t=this.str.slice(this.spos,e);return this.spos=e,t}}]),e}();o(29135);"undefined"==typeof window||void 0!==window.performance&&window.performance;const lt="undefined"==typeof crypto?null:crypto,ct=null!==lt?e=>{const t=new ArrayBuffer(e),n=new Uint8Array(t);return lt.getRandomValues(n),t}:e=>{const t=new ArrayBuffer(e),n=new Uint8Array(t);for(let t=0;t<e;t++)n[t]=Math.ceil(4294967295*Math.random()>>>0);return t};Math.random;var ut=function(){return new Uint32Array(ct(4))[0]},dt=[1e7]+-1e3+-4e3+-8e3+-1e11,pt=function(){return dt.replace(/[018]/g,(function(e){return(e^ut()&15>>e/4).toString(16)}))},ft=(o(17727),function(e){return new Promise(e)});o(24603);var ht=Symbol;var mt,gt,yt=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.left=t,this.right=n},vt=function(e,t){return new yt(e,t)},bt="undefined"!=typeof document?document:{},_t=("undefined"!=typeof DOMParser&&new DOMParser,function(e){return function(e,t){var n,r=[],o=a(e);try{for(o.s();!(n=o.n()).done;){var s=i(n.value,2),l=s[0],c=s[1];r.push(t(c,l))}}catch(e){o.e(e)}finally{o.f()}return r}(e,(function(e,t){return"".concat(t,":").concat(e,";")})).join("")}),wt=(bt.ELEMENT_NODE,bt.TEXT_NODE,bt.CDATA_SECTION_NODE,bt.COMMENT_NODE,bt.DOCUMENT_NODE,bt.DOCUMENT_TYPE_NODE,bt.DOCUMENT_FRAGMENT_NODE,Date.now);function Ct(e){return function(e){if(Array.isArray(e))return St(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)return;if("string"==typeof e)return St(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return St(e,t)}(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 St(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xt=ht(),kt=ht(),Ot=ht(),Tt=ht(),At=ht(),Pt=ht(),Rt=ht(),It=ht(),Mt=ht(),Nt=(Et(mt={},xt,vt("font-weight","bold")),Et(mt,kt,vt("font-weight","normal")),Et(mt,Ot,vt("color","blue")),Et(mt,At,vt("color","green")),Et(mt,Tt,vt("color","grey")),Et(mt,Pt,vt("color","red")),Et(mt,Rt,vt("color","purple")),Et(mt,It,vt("color","orange")),Et(mt,Mt,vt("color","black")),mt),Dt=(Et(gt={},xt,"[1m"),Et(gt,kt,"[2m"),Et(gt,Ot,"[34m"),Et(gt,At,"[32m"),Et(gt,Tt,"[37m"),Et(gt,Pt,"[31m"),Et(gt,Rt,"[35m"),Et(gt,It,"[38;5;208m"),Et(gt,Mt,"[0m"),gt),jt=X?W?function(e){for(var t=[],n=[],r=0;r<e.length;r++){var o=e[r],i=Dt[o];if(void 0!==i)t.push(i);else{if(o.constructor!==String&&o.constructor!==Number)break;t.push(o)}}for(r>0&&(t.push("[0m"),n.push(t.join("")));r<e.length;r++){var a=e[r];a instanceof Symbol||n.push(a)}return n}:function(e){for(var t=[],n=[],r=c(),o=[],i=0;i<e.length;i++){var a=e[i],s=Nt[a];if(void 0!==s)r.set(s.left,s.right);else{if(a.constructor!==String&&a.constructor!==Number)break;var l=_t(r);i>0||l.length>0?(t.push("%c"+a),n.push(l)):t.push(a)}}for(i>0&&(o=n).unshift(t.join(""));i<e.length;i++){var u=e[i];u instanceof Symbol||o.push(u)}return o}:function(e){for(var t=[],n=[],r=0;r<e.length;r++){var o=e[r];if(void 0===Dt[o]){if(o.constructor!==String&&o.constructor!==Number)break;t.push(o)}}for(r>0&&n.push(t.join(""));r<e.length;r++){var i=e[r];i instanceof Symbol||(i.constructor===Object?n.push(JSON.stringify(i)):n.push(i))}return n},Lt=function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,Ct(jt(n))),Bt.forEach((function(e){return e.print(n)}))},Bt=new Set;wt();function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ut=function(e){var t;return Ft(t={},Symbol.iterator,(function(){return this})),Ft(t,"next",e),t},Ht=function(e,t){return Ut((function(){var n=e.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:t(o)}}))},Vt=(o(19601),Object.assign,Object.keys),zt=function(e){return Vt(e).length},qt=function(e,t){return e===t||zt(e)===zt(t)&&function(e,t){for(var n in e)if(!t(e[n],n))return!1;return!0}(e,(function(e,n){return(void 0!==e||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(t,n))&&t[n]===e}))};class Gt extends _{constructor(e,t){super(),this.doc=e,this.awareness=t}}class Wt{constructor(e,t){this.clock=e,this.len=t}}class Yt{constructor(){this.clients=new Map}}const Zt=(e,t,n)=>t.clients.forEach((t,r)=>{const o=e.doc.store.clients.get(r);for(let r=0;r<t.length;r++){const i=t[r];vr(e,o,i.clock,i.len,n)}}),Kt=(e,t)=>{const n=e.clients.get(t.client);return void 0!==n&&null!==((e,t)=>{let n=0,r=e.length-1;for(;n<=r;){const o=w((n+r)/2),i=e[o],a=i.clock;if(a<=t){if(t<a+i.len)return o;n=o+1}else r=o-1}return null})(n,t.clock)},$t=e=>{e.clients.forEach(e=>{let t,n;for(e.sort((e,t)=>e.clock-t.clock),t=1,n=1;t<e.length;t++){const r=e[n-1],o=e[t];r.clock+r.len>=o.clock?r.len=E(r.len,o.clock+o.len-r.clock):(n<t&&(e[n]=o),n++)}e.length=n})},Qt=e=>{const t=new Yt;for(let n=0;n<e.length;n++)e[n].clients.forEach((r,o)=>{if(!t.clients.has(o)){const i=r.slice();for(let t=n+1;t<e.length;t++)h(i,e[t].clients.get(o)||[]);t.clients.set(o,i)}});return $t(t),t},Xt=(e,t,n,r)=>{d(e.clients,t,()=>[]).push(new Wt(n,r))},Jt=()=>new Yt,en=e=>{const t=Jt();return e.clients.forEach((e,n)=>{const r=[];for(let t=0;t<e.length;t++){const n=e[t];if(n.deleted){const o=n.id.clock;let i=n.length;if(t+1<e.length)for(let n=e[t+1];t+1<e.length&&n.deleted;n=e[1+ ++t])i+=n.length;r.push(new Wt(o,i))}}r.length>0&&t.clients.set(n,r)}),t},tn=(e,t)=>{ge(e.restEncoder,t.clients.size),t.clients.forEach((t,n)=>{e.resetDsCurVal(),ge(e.restEncoder,n);const r=t.length;ge(e.restEncoder,r);for(let n=0;n<r;n++){const r=t[n];e.writeDsClock(r.clock),e.writeDsLen(r.len)}})},nn=e=>{const t=new Yt,n=Xe(e.restDecoder);for(let r=0;r<n;r++){e.resetDsCurVal();const n=Xe(e.restDecoder),r=Xe(e.restDecoder);if(r>0){const o=d(t.clients,n,()=>[]);for(let t=0;t<r;t++)o.push(new Wt(e.readDsClock(),e.readDsLen()))}}return t},rn=(e,t,n)=>{const r=new Yt,o=Xe(e.restDecoder);for(let i=0;i<o;i++){e.resetDsCurVal();const o=Xe(e.restDecoder),i=Xe(e.restDecoder),a=n.clients.get(o)||[],s=dr(n,o);for(let n=0;n<i;n++){const n=e.readDsClock(),i=n+e.readDsLen();if(n<s){s<i&&Xt(r,o,s,i-s);let e=fr(a,n),l=a[e];for(!l.deleted&&l.id.clock<n&&(a.splice(e+1,0,wi(t,l,n-l.id.clock)),e++);e<a.length&&(l=a[e++],l.id.clock<i);)l.deleted||(i<l.id.clock+l.length&&a.splice(e,0,wi(t,l,i-l.id.clock)),l.delete(t))}else Xt(r,o,n,i-n)}}if(r.clients.size>0){const e=new hn;return ge(e.restEncoder,0),tn(e,r),e.toUint8Array()}return null},on=ut;class an extends _{constructor({guid:e=pt(),collectionid:t=null,gc:n=!0,gcFilter:r=(()=>!0),meta:o=null,autoLoad:i=!1,shouldLoad:a=!0}={}){super(),this.gc=n,this.gcFilter=r,this.clientID=on(),this.guid=e,this.collectionid=t,this.share=new Map,this.store=new cr,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=a,this.autoLoad=i,this.meta=o,this.isLoaded=!1,this.whenLoaded=ft(e=>{this.on("load",()=>{this.isLoaded=!0,e(this)})})}load(){const e=this._item;null===e||this.shouldLoad||Or(e.parent.doc,e=>{e.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Array.from(this.subdocs).map(e=>e.guid))}transact(e,t=null){Or(this,e,t)}get(e,t=lo){const n=d(this.share,e,()=>{const e=new t;return e._integrate(this,null),e}),r=n.constructor;if(t!==lo&&r!==t){if(r===lo){const r=new t;r._map=n._map,n._map.forEach(e=>{for(;null!==e;e=e.left)e.parent=r}),r._start=n._start;for(let e=r._start;null!==e;e=e.right)e.parent=r;return r._length=n._length,this.share.set(e,r),r._integrate(this,null),r}throw new Error(`Type with the name ${e} has already been defined with a different constructor`)}return n}getArray(e=""){return this.get(e,Ao)}getText(e=""){return this.get(e,Wo)}getMap(e=""){return this.get(e,Ro)}getXmlFragment(e=""){return this.get(e,Zo)}toJSON(){const e={};return this.share.forEach((t,n)=>{e[n]=t.toJSON()}),e}destroy(){m(this.subdocs).forEach(e=>e.destroy());const e=this._item;if(null!==e){this._item=null;const t=e.content;t.doc=new an({guid:this.guid,...t.opts,shouldLoad:!1}),t.doc._item=e,Or(e.parent.doc,n=>{const r=t.doc;e.deleted||n.subdocsAdded.add(r),n.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}on(e,t){super.on(e,t)}off(e,t){super.off(e,t)}}class sn{constructor(e){this.restDecoder=e}resetDsCurVal(){}readDsClock(){return Xe(this.restDecoder)}readDsLen(){return Xe(this.restDecoder)}}class ln extends sn{readLeftID(){return Nn(Xe(this.restDecoder),Xe(this.restDecoder))}readRightID(){return Nn(Xe(this.restDecoder),Xe(this.restDecoder))}readClient(){return Xe(this.restDecoder)}readInfo(){return Qe(this.restDecoder)}readString(){return et(this.restDecoder)}readParentInfo(){return 1===Xe(this.restDecoder)}readTypeRef(){return Xe(this.restDecoder)}readLen(){return Xe(this.restDecoder)}readAny(){return rt(this.restDecoder)}readBuf(){return e=$e(this.restDecoder),(t=J(e.byteLength)).set(e),t;var e,t}readJSON(){return JSON.parse(et(this.restDecoder))}readKey(){return et(this.restDecoder)}}class cn{constructor(e){this.dsCurrVal=0,this.restDecoder=e}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=Xe(this.restDecoder),this.dsCurrVal}readDsLen(){const e=Xe(this.restDecoder)+1;return this.dsCurrVal+=e,e}}class un extends cn{constructor(e){super(e),this.keys=[],Xe(e),this.keyClockDecoder=new at($e(e)),this.clientDecoder=new it($e(e)),this.leftClockDecoder=new at($e(e)),this.rightClockDecoder=new at($e(e)),this.infoDecoder=new ot($e(e),Qe),this.stringDecoder=new st($e(e)),this.parentInfoDecoder=new ot($e(e),Qe),this.typeRefDecoder=new it($e(e)),this.lenDecoder=new it($e(e))}readLeftID(){return new In(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new In(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return 1===this.parentInfoDecoder.read()}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return rt(this.restDecoder)}readBuf(){return $e(this.restDecoder)}readJSON(){return rt(this.restDecoder)}readKey(){const e=this.keyClockDecoder.read();if(e<this.keys.length)return this.keys[e];{const e=this.stringDecoder.read();return this.keys.push(e),e}}}class dn{constructor(){this.restEncoder=pe()}toUint8Array(){return fe(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){ge(this.restEncoder,e)}writeDsLen(e){ge(this.restEncoder,e)}}class pn extends dn{writeLeftID(e){ge(this.restEncoder,e.client),ge(this.restEncoder,e.clock)}writeRightID(e){ge(this.restEncoder,e.client),ge(this.restEncoder,e.clock)}writeClient(e){ge(this.restEncoder,e)}writeInfo(e){me(this.restEncoder,e)}writeString(e){_e(this.restEncoder,e)}writeParentInfo(e){ge(this.restEncoder,e?1:0)}writeTypeRef(e){ge(this.restEncoder,e)}writeLen(e){ge(this.restEncoder,e)}writeAny(e){xe(this.restEncoder,e)}writeBuf(e){Ce(this.restEncoder,e)}writeJSON(e){_e(this.restEncoder,JSON.stringify(e))}writeKey(e){_e(this.restEncoder,e)}}class fn{constructor(){this.restEncoder=pe(),this.dsCurrVal=0}toUint8Array(){return fe(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){const t=e-this.dsCurrVal;this.dsCurrVal=e,ge(this.restEncoder,t)}writeDsLen(e){0===e&&Ne(),ge(this.restEncoder,e-1),this.dsCurrVal+=e}}class hn extends fn{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Pe,this.clientEncoder=new Te,this.leftClockEncoder=new Pe,this.rightClockEncoder=new Pe,this.infoEncoder=new ke(me),this.stringEncoder=new Re,this.parentInfoEncoder=new ke(me),this.typeRefEncoder=new Te,this.lenEncoder=new Te}toUint8Array(){const e=pe();return ge(e,0),Ce(e,this.keyClockEncoder.toUint8Array()),Ce(e,this.clientEncoder.toUint8Array()),Ce(e,this.leftClockEncoder.toUint8Array()),Ce(e,this.rightClockEncoder.toUint8Array()),Ce(e,fe(this.infoEncoder)),Ce(e,this.stringEncoder.toUint8Array()),Ce(e,fe(this.parentInfoEncoder)),Ce(e,this.typeRefEncoder.toUint8Array()),Ce(e,this.lenEncoder.toUint8Array()),we(e,fe(this.restEncoder)),fe(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){xe(this.restEncoder,e)}writeBuf(e){Ce(this.restEncoder,e)}writeJSON(e){xe(this.restEncoder,e)}writeKey(e){const t=this.keyMap.get(e);void 0===t?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(t)}}const mn=(e,t,n)=>{const r=new Map;n.forEach((e,n)=>{dr(t,n)>e&&r.set(n,e)}),ur(t).forEach((e,t)=>{n.has(t)||r.set(t,0)}),ge(e.restEncoder,r.size),Array.from(r.entries()).sort((e,t)=>t[0]-e[0]).forEach(([n,r])=>{((e,t,n,r)=>{r=E(r,t[0].id.clock);const o=fr(t,r);ge(e.restEncoder,t.length-o),e.writeClient(n),ge(e.restEncoder,r);const i=t[o];i.write(e,r-i.id.clock);for(let n=o+1;n<t.length;n++)t[n].write(e,0)})(e,t.clients.get(n),n,r)})},gn=(e,t,n,r=new un(e))=>Or(t,e=>{e.local=!1;let t=!1;const n=e.doc,o=n.store,i=((e,t,n)=>{const r=[];let o=Array.from(n.keys()).sort((e,t)=>e-t);if(0===o.length)return null;const i=()=>{if(0===o.length)return null;let e=n.get(o[o.length-1]);for(;e.refs.length===e.i;){if(o.pop(),!(o.length>0))return null;e=n.get(o[o.length-1])}return e};let a=i();if(null===a&&0===r.length)return null;const s=new cr,l=new Map,c=(e,t)=>{const n=l.get(e);(null==n||n>t)&&l.set(e,t)};let u=a.refs[a.i++];const p=new Map,f=()=>{for(const e of r){const t=e.id.client,r=n.get(t);r?(r.i--,s.clients.set(t,r.refs.slice(r.i)),n.delete(t),r.i=0,r.refs=[]):s.clients.set(t,[e]),o=o.filter(e=>e!==t)}r.length=0};for(;;){if(u.constructor!==ki){const o=d(p,u.id.client,()=>dr(t,u.id.client))-u.id.clock;if(o<0)r.push(u),c(u.id.client,u.id.clock-1),f();else{const i=u.getMissing(e,t);if(null!==i){r.push(u);const e=n.get(i)||{refs:[],i:0};if(e.refs.length!==e.i){u=e.refs[e.i++];continue}c(i,dr(t,i)),f()}else(0===o||o<u.length)&&(u.integrate(e,o),p.set(u.id.client,u.id.clock+u.length))}}if(r.length>0)u=r.pop();else if(null!==a&&a.i<a.refs.length)u=a.refs[a.i++];else{if(a=i(),null===a)break;u=a.refs[a.i++]}}if(s.clients.size>0){const e=new hn;return mn(e,s,new Map),ge(e.restEncoder,0),{missing:l,update:e.toUint8Array()}}return null})(e,o,((e,t)=>{const n=c(),r=Xe(e.restDecoder);for(let o=0;o<r;o++){const r=Xe(e.restDecoder),o=new Array(r),i=e.readClient();let a=Xe(e.restDecoder);n.set(i,{i:0,refs:o});for(let n=0;n<r;n++){const r=e.readInfo();switch(31&r){case 0:{const t=e.readLen();o[n]=new ei(Nn(i,a),t),a+=t;break}case 10:{const t=Xe(e.restDecoder);o[n]=new ki(Nn(i,a),t),a+=t;break}default:{const s=0==(192&r),l=new Si(Nn(i,a),null,128==(128&r)?e.readLeftID():null,null,64==(64&r)?e.readRightID():null,s?e.readParentInfo()?t.get(e.readString()):e.readLeftID():null,s&&32==(32&r)?e.readString():null,Ei(e,r));o[n]=l,a+=l.length}}}}return n})(r,n)),a=o.pendingStructs;if(a){for(const[e,n]of a.missing)if(n<dr(o,e)){t=!0;break}if(i){for(const[e,t]of i.missing){const n=a.missing.get(e);(null==n||n>t)&&a.missing.set(e,t)}a.update=qr([a.update,i.update])}}else o.pendingStructs=i;const s=rn(r,e,o);if(o.pendingDs){const t=new un(Ye(o.pendingDs));Xe(t.restDecoder);const n=rn(t,e,o);o.pendingDs=s&&n?qr([s,n]):s||n}else o.pendingDs=s;if(t){const t=o.pendingStructs.update;o.pendingStructs=null,vn(e.doc,t)}},n,!1),yn=(e,t,n)=>gn(e,t,n,new ln(e)),vn=(e,t,n,r=un)=>{const o=Ye(t);gn(o,e,n,new r(o))},bn=(e,t,n)=>vn(e,t,n,ln),_n=(e,t=new Uint8Array([0]),n=new hn)=>{((e,t,n=new Map)=>{mn(e,t.store,n),tn(e,en(t.store))})(n,e,Sn(t));const r=[n.toUint8Array()];if(e.store.pendingDs&&r.push(e.store.pendingDs),e.store.pendingStructs&&r.push(Gr(e.store.pendingStructs.update,t)),r.length>1){if(n.constructor===pn)return Br(r.map((e,t)=>0===t?e:Xr(e)));if(n.constructor===hn)return qr(r)}return r[0]},wn=(e,t)=>_n(e,t,new pn),Cn=e=>{const t=new Map,n=Xe(e.restDecoder);for(let r=0;r<n;r++){const n=Xe(e.restDecoder),r=Xe(e.restDecoder);t.set(n,r)}return t},Sn=e=>Cn(new sn(Ye(e))),En=(e,t)=>(ge(e.restEncoder,t.size),Array.from(t.entries()).sort((e,t)=>t[0]-e[0]).forEach(([t,n])=>{ge(e.restEncoder,t),ge(e.restEncoder,n)}),e),xn=(e,t=new fn)=>(e instanceof Map?En(t,e):((e,t)=>{En(e,ur(t.store))})(t,e),t.toUint8Array()),kn=e=>xn(e,new dn);class On{constructor(){this.l=[]}}const Tn=()=>new On,An=(e,t)=>e.l.push(t),Pn=(e,t)=>{const n=e.l,r=n.length;e.l=n.filter(e=>t!==e),r===e.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},Rn=(e,t,n)=>F(e.l,[t,n]);class In{constructor(e,t){this.client=e,this.clock=t}}const Mn=(e,t)=>e===t||null!==e&&null!==t&&e.client===t.client&&e.clock===t.clock,Nn=(e,t)=>new In(e,t),Dn=(e,t)=>{ge(e,t.client),ge(e,t.clock)},jn=e=>Nn(Xe(e),Xe(e)),Ln=e=>{for(const[t,n]of e.doc.share.entries())if(n===e)return t;throw Ne()},Bn=(e,t)=>{for(;null!==t;){if(t.parent===e)return!0;t=t.parent._item}return!1},Fn=e=>{const t=[];let n=e._start;for(;n;)t.push(n),n=n.right;console.log("Children: ",t),console.log("Children content: ",t.filter(e=>!e.deleted).map(e=>e.content))};class Un{constructor(e,t=e.getMap("users")){const n=new Map;this.yusers=t,this.doc=e,this.clients=new Map,this.dss=n;const r=(e,t)=>{const n=e.get("ds"),r=e.get("ids"),o=e=>this.clients.set(e,t);n.observe(e=>{e.changes.added.forEach(e=>{e.content.getContent().forEach(e=>{e instanceof Uint8Array&&this.dss.set(t,Qt([this.dss.get(t)||Jt(),nn(new sn(Ye(e)))]))})})}),this.dss.set(t,Qt(n.map(e=>nn(new sn(Ye(e)))))),r.observe(e=>e.changes.added.forEach(e=>e.content.getContent().forEach(o))),r.forEach(o)};t.observe(e=>{e.keysChanged.forEach(e=>r(t.get(e),e))}),t.forEach(r)}setUserMapping(e,t,n,{filter:r=(()=>!0)}={}){const o=this.yusers;let i=o.get(n);i||(i=new Ro,i.set("ids",new Ao),i.set("ds",new Ao),o.set(n,i)),i.get("ids").push([t]),o.observe(e=>{setTimeout(()=>{const e=o.get(n);if(e!==i){i=e,this.clients.forEach((e,t)=>{n===e&&i.get("ids").push([t])});const t=new dn,r=this.dss.get(n);r&&(tn(t,r),i.get("ds").push([t.toUint8Array()]))}},0)}),e.on("afterTransaction",e=>{setTimeout(()=>{const t=i.get("ds"),n=e.deleteSet;if(e.local&&n.clients.size>0&&r(e,n)){const e=new dn;tn(e,n),t.push([e.toUint8Array()])}})})}getUserByClientId(e){return this.clients.get(e)||null}getUserByDeletedId(e){for(const[t,n]of this.dss.entries())if(Kt(n,e))return t;return null}}class Hn{constructor(e,t,n,r=0){this.type=e,this.tname=t,this.item=n,this.assoc=r}}const Vn=e=>{const t={};return e.type&&(t.type=e.type),e.tname&&(t.tname=e.tname),e.item&&(t.item=e.item),null!=e.assoc&&(t.assoc=e.assoc),t},zn=e=>new Hn(null==e.type?null:Nn(e.type.client,e.type.clock),e.tname||null,null==e.item?null:Nn(e.item.client,e.item.clock),null==e.assoc?0:e.assoc);class qn{constructor(e,t,n=0){this.type=e,this.index=t,this.assoc=n}}const Gn=(e,t,n)=>{let r=null,o=null;return null===e._item?o=Ln(e):r=Nn(e._item.id.client,e._item.id.clock),new Hn(r,o,t,n)},Wn=(e,t,n=0)=>{let r=e._start;if(n<0){if(0===t)return Gn(e,null,n);t--}for(;null!==r;){if(!r.deleted&&r.countable){if(r.length>t)return Gn(e,Nn(r.id.client,r.id.clock+t),n);t-=r.length}if(null===r.right&&n<0)return Gn(e,r.lastId,n);r=r.right}return Gn(e,null,n)},Yn=e=>{const t=pe();return((e,t)=>{const{type:n,tname:r,item:o,assoc:i}=t;if(null!==o)ge(e,0),Dn(e,o);else if(null!==r)me(e,1),_e(e,r);else{if(null===n)throw Ne();me(e,2),Dn(e,n)}ye(e,i)})(t,e),fe(t)},Zn=e=>(e=>{let t=null,n=null,r=null;switch(Xe(e)){case 0:r=jn(e);break;case 1:n=et(e);break;case 2:t=jn(e)}const o=Ze(e)?Je(e):0;return new Hn(t,n,r,o)})(Ye(e)),Kn=(e,t)=>{const n=t.store,r=e.item,o=e.type,i=e.tname,a=e.assoc;let s=null,l=0;if(null!==r){if(dr(n,r.client)<=r.clock)return null;const e=bi(n,r),t=e.item;if(!(t instanceof Si))return null;if(s=t.parent,null===s._item||!s._item.deleted){l=t.deleted||!t.countable?0:e.diff+(a>=0?0:1);let n=t.left;for(;null!==n;)!n.deleted&&n.countable&&(l+=n.length),n=n.left}}else{if(null!==i)s=t.get(i);else{if(null===o)throw Ne();{if(dr(n,o.client)<=o.clock)return null;const{item:e}=bi(n,o);if(!(e instanceof Si&&e.content instanceof vi))return null;s=e.content.type}}l=a>=0?s._length:0}return((e,t,n=0)=>new qn(e,t,n))(s,l,e.assoc)},$n=(e,t)=>e===t||null!==e&&null!==t&&e.tname===t.tname&&Mn(e.item,t.item)&&Mn(e.type,t.type)&&e.assoc===t.assoc;class Qn{constructor(e,t){this.ds=e,this.sv=t}}const Xn=(e,t)=>{const n=e.ds.clients,r=t.ds.clients,o=e.sv,i=t.sv;if(o.size!==i.size||n.size!==r.size)return!1;for(const[e,t]of o.entries())if(i.get(e)!==t)return!1;for(const[e,t]of n.entries()){const n=r.get(e)||[];if(t.length!==n.length)return!1;for(let e=0;e<t.length;e++){const r=t[e],o=n[e];if(r.clock!==o.clock||r.len!==o.len)return!1}}return!0},Jn=(e,t=new fn)=>(tn(t,e.ds),En(t,e.sv),t.toUint8Array()),er=e=>Jn(e,new dn),tr=(e,t=new cn(Ye(e)))=>new Qn(nn(t),Cn(t)),nr=e=>tr(e,new sn(Ye(e))),rr=(e,t)=>new Qn(e,t),or=rr(Jt(),new Map),ir=e=>rr(en(e.store),ur(e.store)),ar=(e,t)=>void 0===t?!e.deleted:t.sv.has(e.id.client)&&(t.sv.get(e.id.client)||0)>e.id.clock&&!Kt(t.ds,e.id),sr=(e,t)=>{const n=d(e.meta,sr,p),r=e.doc.store;n.has(t)||(t.sv.forEach((t,n)=>{t<dr(r,n)&&gr(e,Nn(n,t))}),Zt(e,t.ds,e=>{}),n.add(t))},lr=(e,t,n=new an)=>{if(e.gc)throw new Error("originDoc must not be garbage collected");const{sv:r,ds:o}=t,i=new hn;return e.transact(t=>{let n=0;r.forEach(e=>{e>0&&n++}),ge(i.restEncoder,n);for(const[n,o]of r){if(0===o)continue;o<dr(e.store,n)&&gr(t,Nn(n,o));const r=e.store.clients.get(n)||[],a=fr(r,o-1);ge(i.restEncoder,a+1),i.writeClient(n),ge(i.restEncoder,0);for(let e=0;e<=a;e++)r[e].write(i,0)}tn(i,o)}),vn(n,i.toUint8Array(),"snapshot"),n};class cr{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const ur=e=>{const t=new Map;return e.clients.forEach((e,n)=>{const r=e[e.length-1];t.set(n,r.id.clock+r.length)}),t},dr=(e,t)=>{const n=e.clients.get(t);if(void 0===n)return 0;const r=n[n.length-1];return r.id.clock+r.length},pr=(e,t)=>{let n=e.clients.get(t.id.client);if(void 0===n)n=[],e.clients.set(t.id.client,n);else{const e=n[n.length-1];if(e.id.clock+e.length!==t.id.clock)throw Ne()}n.push(t)},fr=(e,t)=>{let n=0,r=e.length-1,o=e[r],i=o.id.clock;if(i===t)return r;let a=w(t/(i+o.length-1)*r);for(;n<=r;){if(o=e[a],i=o.id.clock,i<=t){if(t<i+o.length)return a;n=a+1}else r=a-1;a=w((n+r)/2)}throw Ne()},hr=(e,t)=>{const n=e.clients.get(t.client);return n[fr(n,t.clock)]},mr=(e,t,n)=>{const r=fr(t,n),o=t[r];return o.id.clock<n&&o instanceof Si?(t.splice(r+1,0,wi(e,o,n-o.id.clock)),r+1):r},gr=(e,t)=>{const n=e.doc.store.clients.get(t.client);return n[mr(e,n,t.clock)]},yr=(e,t,n)=>{const r=t.clients.get(n.client),o=fr(r,n.clock),i=r[o];return n.clock!==i.id.clock+i.length-1&&i.constructor!==ei&&r.splice(o+1,0,wi(e,i,n.clock-i.id.clock+1)),i},vr=(e,t,n,r,o)=>{if(0===r)return;const i=n+r;let a,s=mr(e,t,n);do{a=t[s++],i<a.id.clock+a.length&&mr(e,t,i),o(a)}while(s<t.length&&t[s].id.clock<i)};class br{constructor(e,t,n){this.doc=e,this.deleteSet=new Yt,this.beforeState=ur(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=t,this.meta=new Map,this.local=n,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set}}const _r=(e,t)=>!(0===t.deleteSet.clients.size&&!function(e,t){var n,r=a(e);try{for(r.s();!(n=r.n()).done;){var o=i(n.value,2),s=o[0];if(t(o[1],s))return!0}}catch(e){r.e(e)}finally{r.f()}return!1}(t.afterState,(e,n)=>t.beforeState.get(n)!==e))&&($t(t.deleteSet),((e,t)=>{mn(e,t.doc.store,t.beforeState)})(e,t),tn(e,t.deleteSet),!0),wr=(e,t,n)=>{const r=t._item;(null===r||r.id.clock<(e.beforeState.get(r.id.client)||0)&&!r.deleted)&&d(e.changed,t,p).add(n)},Cr=(e,t)=>{const n=e[t-1],r=e[t];n.deleted===r.deleted&&n.constructor===r.constructor&&n.mergeWith(r)&&(e.splice(t,1),r instanceof Si&&null!==r.parentSub&&r.parent._map.get(r.parentSub)===r&&r.parent._map.set(r.parentSub,n))},Sr=(e,t,n)=>{for(const[r,o]of e.clients.entries()){const e=t.clients.get(r);for(let r=o.length-1;r>=0;r--){const i=o[r],a=i.clock+i.len;for(let r=fr(e,i.clock),o=e[r];r<e.length&&o.id.clock<a;o=e[++r]){const o=e[r];if(i.clock+i.len<=o.id.clock)break;o instanceof Si&&o.deleted&&!o.keep&&n(o)&&o.gc(t,!1)}}}},Er=(e,t)=>{e.clients.forEach((e,n)=>{const r=t.clients.get(n);for(let t=e.length-1;t>=0;t--){const n=e[t];for(let e=S(r.length-1,1+fr(r,n.clock+n.len-1)),t=r[e];e>0&&t.id.clock>=n.clock;t=r[--e])Cr(r,e)}})},xr=(e,t,n)=>{Sr(e,t,n),Er(e,t)},kr=(e,t)=>{if(t<e.length){const n=e[t],r=n.doc,o=r.store,i=n.deleteSet,a=n._mergeStructs;try{$t(i),n.afterState=ur(n.doc.store),r._transaction=null,r.emit("beforeObserverCalls",[n,r]);const s=[];n.changed.forEach((e,t)=>s.push(()=>{null!==t._item&&t._item.deleted||t._callObserver(n,e)})),s.push(()=>{n.changedParentTypes.forEach((e,t)=>s.push(()=>{null!==t._item&&t._item.deleted||((e=e.filter(e=>null===e.target._item||!e.target._item.deleted)).forEach(e=>{e.currentTarget=t}),e.sort((e,t)=>e.path.length-t.path.length),Rn(t._dEH,e,n))})),s.push(()=>r.emit("afterTransaction",[n,r]))}),F(s,[])}finally{r.gc&&Sr(i,o,r.gcFilter),Er(i,o),n.afterState.forEach((e,t)=>{const r=n.beforeState.get(t)||0;if(r!==e){const e=o.clients.get(t),n=E(fr(e,r),1);for(let t=e.length-1;t>=n;t--)Cr(e,t)}});for(let e=0;e<a.length;e++){const{client:t,clock:n}=a[e].id,r=o.clients.get(t),i=fr(r,n);i+1<r.length&&Cr(r,i+1),i>0&&Cr(r,i)}if(n.local||n.afterState.get(r.clientID)===n.beforeState.get(r.clientID)||(Lt(It,xt,"[yjs] ",kt,Pt,"Changed the client-id because another client seems to be using it."),r.clientID=on()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const e=new pn;_r(e,n)&&r.emit("update",[e.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const e=new hn;_r(e,n)&&r.emit("updateV2",[e.toUint8Array(),n.origin,r,n])}const{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(e=>{e.clientID=r.clientID,null==e.collectionid&&(e.collectionid=r.collectionid),r.subdocs.add(e)}),c.forEach(e=>r.subdocs.delete(e)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(e=>e.destroy())),e.length<=t+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,e])):kr(e,t+1)}}},Or=(e,t,n=null,r=!0)=>{const o=e._transactionCleanups;let i=!1;null===e._transaction&&(i=!0,e._transaction=new br(e,n,r),o.push(e._transaction),1===o.length&&e.emit("beforeAllTransactions",[e]),e.emit("beforeTransaction",[e._transaction,e]));try{t(e._transaction)}finally{i&&o[0]===e._transaction&&kr(o,0)}};class Tr{constructor(e,t){this.insertions=t,this.deletions=e,this.meta=new Map}}const Ar=(e,t,n)=>{Zt(e,n.deletions,e=>{e instanceof Si&&t.scope.some(t=>Bn(t,e))&&_i(e,!1)})},Pr=(e,t,n)=>{let r=null,o=null;const i=e.doc,a=e.scope;if(Or(i,n=>{for(;t.length>0&&null===r;){const o=i.store,s=t.pop(),l=new Set,c=[];let u=!1;Zt(n,s.insertions,e=>{if(e instanceof Si){if(null!==e.redone){let{item:t,diff:r}=bi(o,e.id);r>0&&(t=gr(n,Nn(t.id.client,t.id.clock+r))),e=t}!e.deleted&&a.some(t=>Bn(t,e))&&c.push(e)}}),Zt(n,s.deletions,e=>{e instanceof Si&&a.some(t=>Bn(t,e))&&!Kt(s.insertions,e.id)&&l.add(e)}),l.forEach(t=>{u=null!==Ci(n,t,l,s.insertions,e.ignoreRemoteMapChanges)||u});for(let t=c.length-1;t>=0;t--){const r=c[t];e.deleteFilter(r)&&(r.delete(n),u=!0)}r=u?s:null}n.changed.forEach((e,t)=>{e.has(null)&&t._searchMarker&&(t._searchMarker.length=0)}),o=n},e),null!=r){const t=o.changedParentTypes;e.emit("stack-item-popped",[{stackItem:r,type:n,changedParentTypes:t},e])}return r};class Rr extends _{constructor(e,{captureTimeout:t=500,deleteFilter:n=(()=>!0),trackedOrigins:r=new Set([null]),ignoreRemoteMapChanges:o=!1}={}){super(),this.scope=[],this.addToScope(e),this.deleteFilter=n,r.add(this),this.trackedOrigins=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.doc=this.scope[0].doc,this.lastChange=0,this.ignoreRemoteMapChanges=o,this.afterTransactionHandler=e=>{if(!(this.scope.some(t=>e.changedParentTypes.has(t))&&(this.trackedOrigins.has(e.origin)||e.origin&&this.trackedOrigins.has(e.origin.constructor))))return;const n=this.undoing,r=this.redoing,o=n?this.redoStack:this.undoStack;n?this.stopCapturing():r||this.clear(!1,!0);const i=new Yt;e.afterState.forEach((t,n)=>{const r=e.beforeState.get(n)||0,o=t-r;o>0&&Xt(i,n,r,o)});const a=wt();let s=!1;if(a-this.lastChange<t&&o.length>0&&!n&&!r){const t=o[o.length-1];t.deletions=Qt([t.deletions,e.deleteSet]),t.insertions=Qt([t.insertions,i])}else o.push(new Tr(e.deleteSet,i)),s=!0;n||r||(this.lastChange=a),Zt(e,e.deleteSet,e=>{e instanceof Si&&this.scope.some(t=>Bn(t,e))&&_i(e,!0)});const l=[{stackItem:o[o.length-1],origin:e.origin,type:n?"redo":"undo",changedParentTypes:e.changedParentTypes},this];s?this.emit("stack-item-added",l):this.emit("stack-item-updated",l)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(e){(e=g(e)?e:[e]).forEach(e=>{this.scope.every(t=>t!==e)&&this.scope.push(e)})}addTrackedOrigin(e){this.trackedOrigins.add(e)}removeTrackedOrigin(e){this.trackedOrigins.delete(e)}clear(e=!0,t=!0){(e&&this.canUndo()||t&&this.canRedo())&&this.doc.transact(n=>{e&&(this.undoStack.forEach(e=>Ar(n,this,e)),this.undoStack=[]),t&&(this.redoStack.forEach(e=>Ar(n,this,e)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:e,redoStackCleared:t}])})}stopCapturing(){this.lastChange=0}undo(){let e;this.undoing=!0;try{e=Pr(this,this.undoStack,"undo")}finally{this.undoing=!1}return e}redo(){let e;this.redoing=!0;try{e=Pr(this,this.redoStack,"redo")}finally{this.redoing=!1}return e}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}}class Ir{constructor(e,t){this.gen=function*(e){const t=Xe(e.restDecoder);for(let n=0;n<t;n++){const t=Xe(e.restDecoder),n=e.readClient();let r=Xe(e.restDecoder);for(let o=0;o<t;o++){const t=e.readInfo();if(10===t){const t=Xe(e.restDecoder);yield new ki(Nn(n,r),t),r+=t}else if(0!=(31&t)){const o=0==(192&t),i=new Si(Nn(n,r),null,128==(128&t)?e.readLeftID():null,null,64==(64&t)?e.readRightID():null,o?e.readParentInfo()?e.readString():e.readLeftID():null,o&&32==(32&t)?e.readString():null,Ei(e,t));yield i,r+=i.length}else{const t=e.readLen();yield new ei(Nn(n,r),t),r+=t}}}}(e),this.curr=null,this.done=!1,this.filterSkips=t,this.next()}next(){do{this.curr=this.gen.next().value||null}while(this.filterSkips&&null!==this.curr&&this.curr.constructor===ki);return this.curr}}const Mr=e=>Nr(e,ln),Nr=(e,t=un)=>{const n=[],r=new t(Ye(e)),o=new Ir(r,!1);for(let e=o.curr;null!==e;e=o.next())n.push(e);Lt("Structs: ",n);const i=nn(r);Lt("DeleteSet: ",i)},Dr=e=>jr(e,ln),jr=(e,t=un)=>{const n=[],r=new t(Ye(e)),o=new Ir(r,!1);for(let e=o.curr;null!==e;e=o.next())n.push(e);return{structs:n,ds:nn(r)}};class Lr{constructor(e){this.currClient=0,this.startClock=0,this.written=0,this.encoder=e,this.clientStructs=[]}}const Br=e=>qr(e,ln,pn),Fr=(e,t=fn,n=un)=>{const r=new t,o=new Ir(new n(Ye(e)),!1);let i=o.curr;if(null!==i){let e=0,t=i.id.client,n=0!==i.id.clock,a=n?0:i.id.clock+i.length;for(;null!==i;i=o.next())t!==i.id.client&&(0!==a&&(e++,ge(r.restEncoder,t),ge(r.restEncoder,a)),t=i.id.client,a=0,n=0!==i.id.clock),i.constructor===ki&&(n=!0),n||(a=i.id.clock+i.length);0!==a&&(e++,ge(r.restEncoder,t),ge(r.restEncoder,a));const s=pe();return ge(s,e),function(e,t){we(e,fe(t))}(s,r.restEncoder),r.restEncoder=s,r.toUint8Array()}return ge(r.restEncoder,0),r.toUint8Array()},Ur=e=>Fr(e,dn,ln),Hr=(e,t=un)=>{const n=new Map,r=new Map,o=new Ir(new t(Ye(e)),!1);let i=o.curr;if(null!==i){let e=i.id.client,t=i.id.clock;for(n.set(e,t);null!==i;i=o.next())e!==i.id.client&&(r.set(e,t),n.set(i.id.client,i.id.clock),e=i.id.client),t=i.id.clock+i.length;r.set(e,t)}return{from:n,to:r}},Vr=e=>Hr(e,ln),zr=(e,t)=>{if(e.constructor===ei){const{client:n,clock:r}=e.id;return new ei(Nn(n,r+t),e.length-t)}if(e.constructor===ki){const{client:n,clock:r}=e.id;return new ki(Nn(n,r+t),e.length-t)}{const n=e,{client:r,clock:o}=n.id;return new Si(Nn(r,o+t),null,Nn(r,o+t-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(t))}},qr=(e,t=un,n=hn)=>{if(1===e.length)return e[0];const r=e.map(e=>new t(Ye(e)));let o=r.map(e=>new Ir(e,!0)),i=null;const a=new n,s=new Lr(a);for(;o=o.filter(e=>null!==e.curr),o.sort((e,t)=>{if(e.curr.id.client===t.curr.id.client){const n=e.curr.id.clock-t.curr.id.clock;return 0===n?e.curr.constructor===t.curr.constructor?0:e.curr.constructor===ki?1:-1:n}return t.curr.id.client-e.curr.id.client}),0!==o.length;){const e=o[0],t=e.curr.id.client;if(null!==i){let n=e.curr,r=!1;for(;null!==n&&n.id.clock+n.length<=i.struct.id.clock+i.struct.length&&n.id.client>=i.struct.id.client;)n=e.next(),r=!0;if(null===n||n.id.client!==t||r&&n.id.clock>i.struct.id.clock+i.struct.length)continue;if(t!==i.struct.id.client)Zr(s,i.struct,i.offset),i={struct:n,offset:0},e.next();else if(i.struct.id.clock+i.struct.length<n.id.clock)if(i.struct.constructor===ki)i.struct.length=n.id.clock+n.length-i.struct.id.clock;else{Zr(s,i.struct,i.offset);const e=n.id.clock-i.struct.id.clock-i.struct.length;i={struct:new ki(Nn(t,i.struct.id.clock+i.struct.length),e),offset:0}}else{const t=i.struct.id.clock+i.struct.length-n.id.clock;t>0&&(i.struct.constructor===ki?i.struct.length-=t:n=zr(n,t)),i.struct.mergeWith(n)||(Zr(s,i.struct,i.offset),i={struct:n,offset:0},e.next())}}else i={struct:e.curr,offset:0},e.next();for(let n=e.curr;null!==n&&n.id.client===t&&n.id.clock===i.struct.id.clock+i.struct.length&&n.constructor!==ki;n=e.next())Zr(s,i.struct,i.offset),i={struct:n,offset:0}}null!==i&&(Zr(s,i.struct,i.offset),i=null),Kr(s);const l=r.map(e=>nn(e)),c=Qt(l);return tn(a,c),a.toUint8Array()},Gr=(e,t,n=un,r=hn)=>{const o=Sn(t),i=new r,a=new Lr(i),s=new n(Ye(e)),l=new Ir(s,!1);for(;l.curr;){const e=l.curr,t=e.id.client,n=o.get(t)||0;if(l.curr.constructor!==ki)if(e.id.clock+e.length>n)for(Zr(a,e,E(n-e.id.clock,0)),l.next();l.curr&&l.curr.id.client===t;)Zr(a,l.curr,0),l.next();else for(;l.curr&&l.curr.id.client===t&&l.curr.id.clock+l.curr.length<=n;)l.next();else l.next()}Kr(a);const c=nn(s);return tn(i,c),i.toUint8Array()},Wr=(e,t)=>Gr(e,t,ln,pn),Yr=e=>{e.written>0&&(e.clientStructs.push({written:e.written,restEncoder:fe(e.encoder.restEncoder)}),e.encoder.restEncoder=pe(),e.written=0)},Zr=(e,t,n)=>{e.written>0&&e.currClient!==t.id.client&&Yr(e),0===e.written&&(e.currClient=t.id.client,e.encoder.writeClient(t.id.client),ge(e.encoder.restEncoder,t.id.clock+n)),t.write(e.encoder,n),e.written++},Kr=e=>{Yr(e);const t=e.encoder.restEncoder;ge(t,e.clientStructs.length);for(let n=0;n<e.clientStructs.length;n++){const r=e.clientStructs[n];ge(t,r.written),we(t,r.restEncoder)}},$r=(e,t,n)=>{const r=new t(Ye(e)),o=new Ir(r,!1),i=new n,a=new Lr(i);for(let e=o.curr;null!==e;e=o.next())Zr(a,e,0);Kr(a);const s=nn(r);return tn(i,s),i.toUint8Array()},Qr=e=>$r(e,ln,hn),Xr=e=>$r(e,un,pn);class Jr{constructor(e,t){this.target=e,this.currentTarget=e,this.transaction=t,this._changes=null,this._keys=null,this._delta=null}get path(){return eo(this.currentTarget,this.target)}deletes(e){return Kt(this.transaction.deleteSet,e.id)}get keys(){if(null===this._keys){const e=new Map,t=this.target;this.transaction.changed.get(t).forEach(n=>{if(null!==n){const r=t._map.get(n);let o,i;if(this.adds(r)){let e=r.left;for(;null!==e&&this.adds(e);)e=e.left;if(this.deletes(r)){if(null===e||!this.deletes(e))return;o="delete",i=f(e.content.getContent())}else null!==e&&this.deletes(e)?(o="update",i=f(e.content.getContent())):(o="add",i=void 0)}else{if(!this.deletes(r))return;o="delete",i=f(r.content.getContent())}e.set(n,{action:o,oldValue:i})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(null===e){const t=this.target,n=p(),r=p(),o=[];e={added:n,deleted:r,delta:o,keys:this.keys};if(this.transaction.changed.get(t).has(null)){let e=null;const i=()=>{e&&o.push(e)};for(let o=t._start;null!==o;o=o.right)o.deleted?this.deletes(o)&&!this.adds(o)&&(null!==e&&void 0!==e.delete||(i(),e={delete:0}),e.delete+=o.length,r.add(o)):this.adds(o)?(null!==e&&void 0!==e.insert||(i(),e={insert:[]}),e.insert=e.insert.concat(o.content.getContent()),n.add(o)):(null!==e&&void 0!==e.retain||(i(),e={retain:0}),e.retain+=o.length);null!==e&&void 0===e.retain&&i()}this._changes=e}return e}}const eo=(e,t)=>{const n=[];for(;null!==t._item&&t!==e;){if(null!==t._item.parentSub)n.unshift(t._item.parentSub);else{let e=0,r=t._item.parent._start;for(;r!==t._item&&null!==r;)r.deleted||e++,r=r.right;n.unshift(e)}t=t._item.parent}return n};let to=0;class no{constructor(e,t){e.marker=!0,this.p=e,this.index=t,this.timestamp=to++}}const ro=(e,t,n)=>{e.p.marker=!1,e.p=t,t.marker=!0,e.index=n,e.timestamp=to++},oo=(e,t)=>{if(null===e._start||0===t||null===e._searchMarker)return null;const n=0===e._searchMarker.length?null:e._searchMarker.reduce((e,n)=>C(t-e.index)<C(t-n.index)?e:n);let r=e._start,o=0;for(null!==n&&(r=n.p,o=n.index,(e=>{e.timestamp=to++})(n));null!==r.right&&o<t;){if(!r.deleted&&r.countable){if(t<o+r.length)break;o+=r.length}r=r.right}for(;null!==r.left&&o>t;)r=r.left,!r.deleted&&r.countable&&(o-=r.length);for(;null!==r.left&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(o-=r.length);return null!==n&&C(n.index-o)<r.parent.length/80?(ro(n,r,o),n):((e,t,n)=>{if(e.length>=80){const r=e.reduce((e,t)=>e.timestamp<t.timestamp?e:t);return ro(r,t,n),r}{const r=new no(t,n);return e.push(r),r}})(e._searchMarker,r,o)},io=(e,t,n)=>{for(let r=e.length-1;r>=0;r--){const o=e[r];if(n>0){let t=o.p;for(t.marker=!1;t&&(t.deleted||!t.countable);)t=t.left,t&&!t.deleted&&t.countable&&(o.index-=t.length);if(null===t||!0===t.marker){e.splice(r,1);continue}o.p=t,t.marker=!0}(t<o.index||n>0&&t===o.index)&&(o.index=E(t,o.index+n))}},ao=e=>{let t=e._start;const n=[];for(;t;)n.push(t),t=t.right;return n},so=(e,t,n)=>{const r=e,o=t.changedParentTypes;for(;d(o,e,()=>[]).push(n),null!==e._item;)e=e._item.parent;Rn(r._eH,n,t)};class lo{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=Tn(),this._dEH=Tn(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,t){this.doc=e,this._item=t}_copy(){throw Me()}clone(){throw Me()}_write(e){}get _first(){let e=this._start;for(;null!==e&&e.deleted;)e=e.right;return e}_callObserver(e,t){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){An(this._eH,e)}observeDeep(e){An(this._dEH,e)}unobserve(e){Pn(this._eH,e)}unobserveDeep(e){Pn(this._dEH,e)}toJSON(){}}const co=(e,t,n)=>{t<0&&(t=e._length+t),n<0&&(n=e._length+n);let r=n-t;const o=[];let i=e._start;for(;null!==i&&r>0;){if(i.countable&&!i.deleted){const e=i.content.getContent();if(e.length<=t)t-=e.length;else{for(let n=t;n<e.length&&r>0;n++)o.push(e[n]),r--;t=0}}i=i.right}return o},uo=e=>{const t=[];let n=e._start;for(;null!==n;){if(n.countable&&!n.deleted){const e=n.content.getContent();for(let n=0;n<e.length;n++)t.push(e[n])}n=n.right}return t},po=(e,t)=>{const n=[];let r=e._start;for(;null!==r;){if(r.countable&&ar(r,t)){const e=r.content.getContent();for(let t=0;t<e.length;t++)n.push(e[t])}r=r.right}return n},fo=(e,t)=>{let n=0,r=e._start;for(;null!==r;){if(r.countable&&!r.deleted){const o=r.content.getContent();for(let r=0;r<o.length;r++)t(o[r],n++,e)}r=r.right}},ho=(e,t)=>{const n=[];return fo(e,(r,o)=>{n.push(t(r,o,e))}),n},mo=e=>{let t=e._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(null===n){for(;null!==t&&t.deleted;)t=t.right;if(null===t)return{done:!0,value:void 0};n=t.content.getContent(),r=0,t=t.right}const e=n[r++];return n.length<=r&&(n=null),{done:!1,value:e}}}},go=(e,t)=>{const n=oo(e,t);let r=e._start;for(null!==n&&(r=n.p,t-=n.index);null!==r;r=r.right)if(!r.deleted&&r.countable){if(t<r.length)return r.content.getContent()[t];t-=r.length}},yo=(e,t,n,r)=>{let o=n;const i=e.doc,a=i.clientID,s=i.store,l=null===n?t._start:n.right;let c=[];const u=()=>{c.length>0&&(o=new Si(Nn(a,dr(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new li(c)),o.integrate(e,0),c=[])};r.forEach(n=>{if(null===n)c.push(n);else switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(n);break;default:switch(u(),n.constructor){case Uint8Array:case ArrayBuffer:o=new Si(Nn(a,dr(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new ti(new Uint8Array(n))),o.integrate(e,0);break;case an:o=new Si(Nn(a,dr(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new oi(n)),o.integrate(e,0);break;default:if(!(n instanceof lo))throw new Error("Unexpected content type in insert operation");o=new Si(Nn(a,dr(s,a)),o,o&&o.lastId,l,l&&l.id,t,null,new vi(n)),o.integrate(e,0)}}}),u()},vo=Ie("Length exceeded!"),bo=(e,t,n,r)=>{if(n>t._length)throw vo;if(0===n)return t._searchMarker&&io(t._searchMarker,n,r.length),yo(e,t,null,r);const o=n,i=oo(t,n);let a=t._start;for(null!==i&&(a=i.p,0===(n-=i.index)&&(a=a.prev,n+=a&&a.countable&&!a.deleted?a.length:0));null!==a;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){n<a.length&&gr(e,Nn(a.id.client,a.id.clock+n));break}n-=a.length}return t._searchMarker&&io(t._searchMarker,o,r.length),yo(e,t,a,r)},_o=(e,t,n,r)=>{if(0===r)return;const o=n,i=r,a=oo(t,n);let s=t._start;for(null!==a&&(s=a.p,n-=a.index);null!==s&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&gr(e,Nn(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&null!==s;)s.deleted||(r<s.length&&gr(e,Nn(s.id.client,s.id.clock+r)),s.delete(e),r-=s.length),s=s.right;if(r>0)throw vo;t._searchMarker&&io(t._searchMarker,o,-i+r)},wo=(e,t,n)=>{const r=t._map.get(n);void 0!==r&&r.delete(e)},Co=(e,t,n,r)=>{const o=t._map.get(n)||null,i=e.doc,a=i.clientID;let s;if(null==r)s=new li([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new li([r]);break;case Uint8Array:s=new ti(r);break;case an:s=new oi(r);break;default:if(!(r instanceof lo))throw new Error("Unexpected content type");s=new vi(r)}new Si(Nn(a,dr(i.store,a)),o,o&&o.lastId,null,null,t,n,s).integrate(e,0)},So=(e,t)=>{const n=e._map.get(t);return void 0===n||n.deleted?void 0:n.content.getContent()[n.length-1]},Eo=e=>{const t={};return e._map.forEach((e,n)=>{e.deleted||(t[n]=e.content.getContent()[e.length-1])}),t},xo=(e,t)=>{const n=e._map.get(t);return void 0!==n&&!n.deleted},ko=(e,t,n)=>{let r=e._map.get(t)||null;for(;null!==r&&(!n.sv.has(r.id.client)||r.id.clock>=(n.sv.get(r.id.client)||0));)r=r.left;return null!==r&&ar(r,n)?r.content.getContent()[r.length-1]:void 0},Oo=e=>{return t=e.entries(),n=e=>!e[1].deleted,Ut((function(){var e;do{e=t.next()}while(!e.done&&!n(e.value));return e}));var t,n};class To extends Jr{constructor(e,t){super(e,t),this._transaction=t}}class Ao extends lo{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){const t=new Ao;return t.push(e),t}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ao}clone(){const e=new Ao;return e.insert(0,this.toArray().map(e=>e instanceof lo?e.clone():e)),e}get length(){return null===this._prelimContent?this._length:this._prelimContent.length}_callObserver(e,t){super._callObserver(e,t),so(this,e,new To(this,e))}insert(e,t){null!==this.doc?Or(this.doc,n=>{bo(n,this,e,t)}):this._prelimContent.splice(e,0,...t)}push(e){null!==this.doc?Or(this.doc,t=>{((e,t,n)=>{let r=(t._searchMarker||[]).reduce((e,t)=>t.index>e.index?t:e,{index:0,p:t._start}).p;if(r)for(;r.right;)r=r.right;yo(e,t,r,n)})(t,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,t=1){null!==this.doc?Or(this.doc,n=>{_o(n,this,e,t)}):this._prelimContent.splice(e,t)}get(e){return go(this,e)}toArray(){return uo(this)}slice(e=0,t=this.length){return co(this,e,t)}toJSON(){return this.map(e=>e instanceof lo?e.toJSON():e)}map(e){return ho(this,e)}forEach(e){fo(this,e)}[Symbol.iterator](){return mo(this)}_write(e){e.writeTypeRef(di)}}class Po extends Jr{constructor(e,t,n){super(e,t),this.keysChanged=n}}class Ro extends lo{constructor(e){super(),this._prelimContent=null,this._prelimContent=void 0===e?new Map:new Map(e)}_integrate(e,t){super._integrate(e,t),this._prelimContent.forEach((e,t)=>{this.set(t,e)}),this._prelimContent=null}_copy(){return new Ro}clone(){const e=new Ro;return this.forEach((t,n)=>{e.set(n,t instanceof lo?t.clone():t)}),e}_callObserver(e,t){so(this,e,new Po(this,e,t))}toJSON(){const e={};return this._map.forEach((t,n)=>{if(!t.deleted){const r=t.content.getContent()[t.length-1];e[n]=r instanceof lo?r.toJSON():r}}),e}get size(){return[...Oo(this._map)].length}keys(){return Ht(Oo(this._map),e=>e[0])}values(){return Ht(Oo(this._map),e=>e[1].content.getContent()[e[1].length-1])}entries(){return Ht(Oo(this._map),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){return this._map.forEach((t,n)=>{t.deleted||e(t.content.getContent()[t.length-1],n,this)}),{}}[Symbol.iterator](){return this.entries()}delete(e){null!==this.doc?Or(this.doc,t=>{wo(t,this,e)}):this._prelimContent.delete(e)}set(e,t){return null!==this.doc?Or(this.doc,n=>{Co(n,this,e,t)}):this._prelimContent.set(e,t),t}get(e){return So(this,e)}has(e){return xo(this,e)}clear(){null!==this.doc?Or(this.doc,e=>{this.forEach((function(t,n,r){wo(e,r,n)}))}):this._prelimContent.clear()}_write(e){e.writeTypeRef(pi)}}const Io=(e,t)=>e===t||"object"==typeof e&&"object"==typeof t&&e&&t&&qt(e,t);class Mo{constructor(e,t,n,r){this.left=e,this.right=t,this.index=n,this.currentAttributes=r}forward(){switch(null===this.right&&Ne(),this.right.content.constructor){case ai:this.right.deleted||Lo(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length)}this.left=this.right,this.right=this.right.right}}const No=(e,t,n)=>{for(;null!==t.right&&n>0;){switch(t.right.content.constructor){case ai:t.right.deleted||Lo(t.currentAttributes,t.right.content);break;default:t.right.deleted||(n<t.right.length&&gr(e,Nn(t.right.id.client,t.right.id.clock+n)),t.index+=t.right.length,n-=t.right.length)}t.left=t.right,t.right=t.right.right}return t},Do=(e,t,n)=>{const r=new Map,o=oo(t,n);if(o){const t=new Mo(o.p.left,o.p,o.index,r);return No(e,t,n-o.index)}{const o=new Mo(null,t._start,0,r);return No(e,o,n)}},jo=(e,t,n,r)=>{for(;null!==n.right&&(!0===n.right.deleted||n.right.content.constructor===ai&&Io(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();const o=e.doc,i=o.clientID;r.forEach((r,a)=>{const s=n.left,l=n.right,c=new Si(Nn(i,dr(o.store,i)),s,s&&s.lastId,l,l&&l.id,t,null,new ai(a,r));c.integrate(e,0),n.right=c,n.forward()})},Lo=(e,t)=>{const{key:n,value:r}=t;null===r?e.delete(n):e.set(n,r)},Bo=(e,t)=>{for(;null!==e.right&&(e.right.deleted||e.right.content.constructor===ai&&Io(t[e.right.content.key]||null,e.right.content.value));)e.forward()},Fo=(e,t,n,r)=>{const o=e.doc,i=o.clientID,a=new Map;for(const s in r){const l=r[s],c=n.currentAttributes.get(s)||null;if(!Io(c,l)){a.set(s,c);const{left:r,right:u}=n;n.right=new Si(Nn(i,dr(o.store,i)),r,r&&r.lastId,u,u&&u.id,t,null,new ai(s,l)),n.right.integrate(e,0),n.forward()}}return a},Uo=(e,t,n,r,o)=>{n.currentAttributes.forEach((e,t)=>{void 0===o[t]&&(o[t]=null)});const i=e.doc,a=i.clientID;Bo(n,o);const s=Fo(e,t,n,o),l=r.constructor===String?new ci(r):r instanceof lo?new vi(r):new ii(r);let{left:c,right:u,index:d}=n;t._searchMarker&&io(t._searchMarker,n.index,l.getLength()),u=new Si(Nn(a,dr(i.store,a)),c,c&&c.lastId,u,u&&u.id,t,null,l),u.integrate(e,0),n.right=u,n.index=d,n.forward(),jo(e,t,n,s)},Ho=(e,t,n,r,o)=>{const i=e.doc,a=i.clientID;Bo(n,o);const s=Fo(e,t,n,o);for(;null!==n.right&&(r>0||n.right.content.constructor===ai);){if(!n.right.deleted)switch(n.right.content.constructor){case ai:{const{key:t,value:r}=n.right.content,i=o[t];void 0!==i&&(Io(i,r)?s.delete(t):s.set(t,r),n.right.delete(e));break}default:r<n.right.length&&gr(e,Nn(n.right.id.client,n.right.id.clock+r)),r-=n.right.length}n.forward()}if(r>0){let o="";for(;r>0;r--)o+="\n";n.right=new Si(Nn(a,dr(i.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,t,null,new ci(o)),n.right.integrate(e,0),n.forward()}jo(e,t,n,s)},Vo=(e,t,n,r,o)=>{let i=n;const a=u(o);for(;i&&(!i.countable||i.deleted);)i.deleted||i.content.constructor!==ai||Lo(a,i.content),i=i.right;let s=0,l=!1;for(;t!==i;){if(n===t&&(l=!0),!t.deleted){const n=t.content;switch(n.constructor){case ai:{const{key:i,value:c}=n;(a.get(i)||null)===c&&(r.get(i)||null)!==c||(t.delete(e),s++,l||(o.get(i)||null)!==c||(r.get(i)||null)===c||o.delete(i));break}}}t=t.right}return s},zo=e=>{let t=0;return Or(e.doc,n=>{let r=e._start,o=e._start,i=c();const a=u(i);for(;o;){if(!1===o.deleted)switch(o.content.constructor){case ai:Lo(a,o.content);break;default:t+=Vo(n,r,o,i,a),i=u(a),r=o}o=o.right}}),t},qo=(e,t,n)=>{const r=n,o=u(t.currentAttributes),i=t.right;for(;n>0&&null!==t.right;){if(!1===t.right.deleted)switch(t.right.content.constructor){case vi:case ii:case ci:n<t.right.length&&gr(e,Nn(t.right.id.client,t.right.id.clock+n)),n-=t.right.length,t.right.delete(e)}t.forward()}i&&Vo(e,i,t.right,o,t.currentAttributes);const a=(t.left||t.right).parent;return a._searchMarker&&io(a._searchMarker,t.index,-r+n),t};class Go extends Jr{constructor(e,t,n){super(e,t),this.childListChanged=!1,this.keysChanged=new Set,n.forEach(e=>{null===e?this.childListChanged=!0:this.keysChanged.add(e)})}get changes(){if(null===this._changes){const e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(null===this._delta){const e=this.target.doc,t=[];Or(e,e=>{const n=new Map,r=new Map;let o=this.target._start,i=null;const a={};let s="",l=0,c=0;const u=()=>{if(null!==i){let e;switch(i){case"delete":e={delete:c},c=0;break;case"insert":e={insert:s},n.size>0&&(e.attributes={},n.forEach((t,n)=>{null!==t&&(e.attributes[n]=t)})),s="";break;case"retain":if(e={retain:l},Object.keys(a).length>0){e.attributes={};for(const t in a)e.attributes[t]=a[t]}l=0}t.push(e),i=null}};for(;null!==o;){switch(o.content.constructor){case vi:case ii:this.adds(o)?this.deletes(o)||(u(),i="insert",s=o.content.getContent()[0],u()):this.deletes(o)?("delete"!==i&&(u(),i="delete"),c+=1):o.deleted||("retain"!==i&&(u(),i="retain"),l+=1);break;case ci:this.adds(o)?this.deletes(o)||("insert"!==i&&(u(),i="insert"),s+=o.content.str):this.deletes(o)?("delete"!==i&&(u(),i="delete"),c+=o.length):o.deleted||("retain"!==i&&(u(),i="retain"),l+=o.length);break;case ai:{const{key:t,value:s}=o.content;if(this.adds(o)){if(!this.deletes(o)){const l=n.get(t)||null;Io(l,s)?null!==s&&o.delete(e):("retain"===i&&u(),Io(s,r.get(t)||null)?delete a[t]:a[t]=s)}}else if(this.deletes(o)){r.set(t,s);const e=n.get(t)||null;Io(e,s)||("retain"===i&&u(),a[t]=e)}else if(!o.deleted){r.set(t,s);const n=a[t];void 0!==n&&(Io(n,s)?null!==n&&o.delete(e):("retain"===i&&u(),null===s?delete a[t]:a[t]=s))}o.deleted||("insert"===i&&u(),Lo(n,o.content));break}}o=o.right}for(u();t.length>0;){const e=t[t.length-1];if(void 0===e.retain||void 0!==e.attributes)break;t.pop()}}),this._delta=t}return this._delta}}class Wo extends lo{constructor(e){super(),this._pending=void 0!==e?[()=>this.insert(0,e)]:[],this._searchMarker=[]}get length(){return this._length}_integrate(e,t){super._integrate(e,t);try{this._pending.forEach(e=>e())}catch(e){console.error(e)}this._pending=null}_copy(){return new Wo}clone(){const e=new Wo;return e.applyDelta(this.toDelta()),e}_callObserver(e,t){super._callObserver(e,t);const n=new Go(this,e,t),r=e.doc;if(so(this,e,n),!e.local){let t=!1;for(const[n,o]of e.afterState.entries()){const i=e.beforeState.get(n)||0;if(o!==i&&(vr(e,r.store.clients.get(n),i,o,e=>{e.deleted||e.content.constructor!==ai||(t=!0)}),t))break}t||Zt(e,e.deleteSet,e=>{e instanceof ei||t||e.parent===this&&e.content.constructor===ai&&(t=!0)}),Or(r,e=>{t?zo(this):Zt(e,e.deleteSet,t=>{t instanceof ei||t.parent===this&&((e,t)=>{for(;t&&t.right&&(t.right.deleted||!t.right.countable);)t=t.right;const n=new Set;for(;t&&(t.deleted||!t.countable);){if(!t.deleted&&t.content.constructor===ai){const r=t.content.key;n.has(r)?t.delete(e):n.add(r)}t=t.left}})(e,t)})})}}toString(){let e="",t=this._start;for(;null!==t;)!t.deleted&&t.countable&&t.content.constructor===ci&&(e+=t.content.str),t=t.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:t=!0}={}){null!==this.doc?Or(this.doc,n=>{const r=new Mo(null,this._start,0,new Map);for(let o=0;o<e.length;o++){const i=e[o];if(void 0!==i.insert){const a=t||"string"!=typeof i.insert||o!==e.length-1||null!==r.right||"\n"!==i.insert.slice(-1)?i.insert:i.insert.slice(0,-1);("string"!=typeof a||a.length>0)&&Uo(n,this,r,a,i.attributes||{})}else void 0!==i.retain?Ho(n,this,r,i.retain,i.attributes||{}):void 0!==i.delete&&qo(n,r,i.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,t,n){const r=[],o=new Map,i=this.doc;let a="",s=this._start;function l(){if(a.length>0){const e={};let t=!1;o.forEach((n,r)=>{t=!0,e[r]=n});const n={insert:a};t&&(n.attributes=e),r.push(n),a=""}}return Or(i,i=>{for(e&&sr(i,e),t&&sr(i,t);null!==s;){if(ar(s,e)||void 0!==t&&ar(s,t))switch(s.content.constructor){case ci:{const r=o.get("ychange");void 0===e||ar(s,e)?void 0===t||ar(s,t)?void 0!==r&&(l(),o.delete("ychange")):void 0!==r&&r.user===s.id.client&&"added"===r.state||(l(),o.set("ychange",n?n("added",s.id):{type:"added"})):void 0!==r&&r.user===s.id.client&&"removed"===r.state||(l(),o.set("ychange",n?n("removed",s.id):{type:"removed"})),a+=s.content.str;break}case vi:case ii:{l();const e={insert:s.content.getContent()[0]};if(o.size>0){const t={};e.attributes=t,o.forEach((e,n)=>{t[n]=e})}r.push(e);break}case ai:ar(s,e)&&(l(),Lo(o,s.content))}s=s.right}l()},sr),r}insert(e,t,n){if(t.length<=0)return;const r=this.doc;null!==r?Or(r,r=>{const o=Do(r,this,e);n||(n={},o.currentAttributes.forEach((e,t)=>{n[t]=e})),Uo(r,this,o,t,n)}):this._pending.push(()=>this.insert(e,t,n))}insertEmbed(e,t,n={}){const r=this.doc;null!==r?Or(r,r=>{const o=Do(r,this,e);Uo(r,this,o,t,n)}):this._pending.push(()=>this.insertEmbed(e,t,n))}delete(e,t){if(0===t)return;const n=this.doc;null!==n?Or(n,n=>{qo(n,Do(n,this,e),t)}):this._pending.push(()=>this.delete(e,t))}format(e,t,n){if(0===t)return;const r=this.doc;null!==r?Or(r,r=>{const o=Do(r,this,e);null!==o.right&&Ho(r,this,o,t,n)}):this._pending.push(()=>this.format(e,t,n))}removeAttribute(e){null!==this.doc?Or(this.doc,t=>{wo(t,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,t){null!==this.doc?Or(this.doc,n=>{Co(n,this,e,t)}):this._pending.push(()=>this.setAttribute(e,t))}getAttribute(e){return So(this,e)}getAttributes(e){return Eo(this)}_write(e){e.writeTypeRef(fi)}}class Yo{constructor(e,t=(()=>!0)){this._filter=t,this._root=e,this._currentNode=e._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let e=this._currentNode,t=e&&e.content&&e.content.type;if(null!==e&&(!this._firstCall||e.deleted||!this._filter(t)))do{if(t=e.content.type,e.deleted||t.constructor!==Ko&&t.constructor!==Zo||null===t._start)for(;null!==e;){if(null!==e.right){e=e.right;break}e=e.parent===this._root?null:e.parent._item}else e=t._start}while(null!==e&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,null===e?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}}class Zo extends lo{constructor(){super(),this._prelimContent=[]}get firstChild(){const e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,t){super._integrate(e,t),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Zo}clone(){const e=new Zo;return e.insert(0,this.toArray().map(e=>e instanceof lo?e.clone():e)),e}get length(){return null===this._prelimContent?this._length:this._prelimContent.length}createTreeWalker(e){return new Yo(this,e)}querySelector(e){e=e.toUpperCase();const t=new Yo(this,t=>t.nodeName&&t.nodeName.toUpperCase()===e).next();return t.done?null:t.value}querySelectorAll(e){return e=e.toUpperCase(),Array.from(new Yo(this,t=>t.nodeName&&t.nodeName.toUpperCase()===e))}_callObserver(e,t){so(this,e,new $o(this,t,e))}toString(){return ho(this,e=>e.toString()).join("")}toJSON(){return this.toString()}toDOM(e=document,t={},n){const r=e.createDocumentFragment();return void 0!==n&&n._createAssociation(r,this),fo(this,o=>{r.insertBefore(o.toDOM(e,t,n),null)}),r}insert(e,t){null!==this.doc?Or(this.doc,n=>{bo(n,this,e,t)}):this._prelimContent.splice(e,0,...t)}insertAfter(e,t){if(null!==this.doc)Or(this.doc,n=>{const r=e&&e instanceof lo?e._item:e;yo(n,this,r,t)});else{const n=this._prelimContent,r=null===e?0:n.findIndex(t=>t===e)+1;if(0===r&&null!==e)throw Ie("Reference item not found");n.splice(r,0,...t)}}delete(e,t=1){null!==this.doc?Or(this.doc,n=>{_o(n,this,e,t)}):this._prelimContent.splice(e,t)}toArray(){return uo(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return go(this,e)}slice(e=0,t=this.length){return co(this,e,t)}forEach(e){fo(this,e)}_write(e){e.writeTypeRef(mi)}}class Ko extends Zo{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,t){super._integrate(e,t),this._prelimAttrs.forEach((e,t)=>{this.setAttribute(t,e)}),this._prelimAttrs=null}_copy(){return new Ko(this.nodeName)}clone(){const e=new Ko(this.nodeName),t=this.getAttributes();for(const n in t)e.setAttribute(n,t[n]);return e.insert(0,this.toArray().map(e=>e instanceof lo?e.clone():e)),e}toString(){const e=this.getAttributes(),t=[],n=[];for(const t in e)n.push(t);n.sort();const r=n.length;for(let o=0;o<r;o++){const r=n[o];t.push(r+'="'+e[r]+'"')}const o=this.nodeName.toLocaleLowerCase();return`<${o}${t.length>0?" "+t.join(" "):""}>${super.toString()}</${o}>`}removeAttribute(e){null!==this.doc?Or(this.doc,t=>{wo(t,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,t){null!==this.doc?Or(this.doc,n=>{Co(n,this,e,t)}):this._prelimAttrs.set(e,t)}getAttribute(e){return So(this,e)}hasAttribute(e){return xo(this,e)}getAttributes(e){return Eo(this)}toDOM(e=document,t={},n){const r=e.createElement(this.nodeName),o=this.getAttributes();for(const e in o)r.setAttribute(e,o[e]);return fo(this,o=>{r.appendChild(o.toDOM(e,t,n))}),void 0!==n&&n._createAssociation(r,this),r}_write(e){e.writeTypeRef(hi),e.writeKey(this.nodeName)}}class $o extends Jr{constructor(e,t,n){super(e,n),this.childListChanged=!1,this.attributesChanged=new Set,t.forEach(e=>{null===e?this.childListChanged=!0:this.attributesChanged.add(e)})}}class Qo extends Ro{constructor(e){super(),this.hookName=e}_copy(){return new Qo(this.hookName)}clone(){const e=new Qo(this.hookName);return this.forEach((t,n)=>{e.set(n,t)}),e}toDOM(e=document,t={},n){const r=t[this.hookName];let o;return o=void 0!==r?r.createDom(this):document.createElement(this.hookName),o.setAttribute("data-yjs-hook",this.hookName),void 0!==n&&n._createAssociation(o,this),o}_write(e){e.writeTypeRef(gi),e.writeKey(this.hookName)}}class Xo extends Wo{get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new Xo}clone(){const e=new Xo;return e.applyDelta(this.toDelta()),e}toDOM(e=document,t,n){const r=e.createTextNode(this.toString());return void 0!==n&&n._createAssociation(r,this),r}toString(){return this.toDelta().map(e=>{const t=[];for(const n in e.attributes){const r=[];for(const t in e.attributes[n])r.push({key:t,value:e.attributes[n][t]});r.sort((e,t)=>e.key<t.key?-1:1),t.push({nodeName:n,attrs:r})}t.sort((e,t)=>e.nodeName<t.nodeName?-1:1);let n="";for(let e=0;e<t.length;e++){const r=t[e];n+="<"+r.nodeName;for(let e=0;e<r.attrs.length;e++){const t=r.attrs[e];n+=` ${t.key}="${t.value}"`}n+=">"}n+=e.insert;for(let e=t.length-1;e>=0;e--)n+=`</${t[e].nodeName}>`;return n}).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(yi)}}class Jo{constructor(e,t){this.id=e,this.length=t}get deleted(){throw Me()}mergeWith(e){return!1}write(e,t,n){throw Me()}integrate(e,t){throw Me()}}class ei extends Jo{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor===e.constructor&&(this.length+=e.length,!0)}integrate(e,t){t>0&&(this.id.clock+=t,this.length-=t),pr(e.doc.store,this)}write(e,t){e.writeInfo(0),e.writeLen(this.length-t)}getMissing(e,t){return null}}class ti{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new ti(this.content)}splice(e){throw Me()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeBuf(this.content)}getRef(){return 3}}class ni{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new ni(this.len)}splice(e){const t=new ni(this.len-e);return this.len=e,t}mergeWith(e){return this.len+=e.len,!0}integrate(e,t){Xt(e.deleteSet,t.id.client,t.id.clock,this.len),t.markDeleted()}delete(e){}gc(e){}write(e,t){e.writeLen(this.len-t)}getRef(){return 1}}const ri=(e,t)=>new an({guid:e,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class oi{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;const t={};this.opts=t,e.gc||(t.gc=!1),e.autoLoad&&(t.autoLoad=!0),null!==e.meta&&(t.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new oi(ri(this.doc.guid,this.opts))}splice(e){throw Me()}mergeWith(e){return!1}integrate(e,t){this.doc._item=t,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,t){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}}class ii{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new ii(this.embed)}splice(e){throw Me()}mergeWith(e){return!1}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeJSON(this.embed)}getRef(){return 5}}class ai{constructor(e,t){this.key=e,this.value=t}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new ai(this.key,this.value)}splice(e){throw Me()}mergeWith(e){return!1}integrate(e,t){t.parent._searchMarker=null}delete(e){}gc(e){}write(e,t){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}}class si{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new si(this.arr)}splice(e){const t=new si(this.arr.slice(e));return this.arr=this.arr.slice(0,e),t}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){const n=this.arr.length;e.writeLen(n-t);for(let r=t;r<n;r++){const t=this.arr[r];e.writeString(void 0===t?"undefined":JSON.stringify(t))}}getRef(){return 2}}class li{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new li(this.arr)}splice(e){const t=new li(this.arr.slice(e));return this.arr=this.arr.slice(0,e),t}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){const n=this.arr.length;e.writeLen(n-t);for(let r=t;r<n;r++){const t=this.arr[r];e.writeAny(t)}}getRef(){return 8}}class ci{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new ci(this.str)}splice(e){const t=new ci(this.str.slice(e));this.str=this.str.slice(0,e);const n=this.str.charCodeAt(e-1);return n>=55296&&n<=56319&&(this.str=this.str.slice(0,e-1)+"�",t.str="�"+t.str.slice(1)),t}mergeWith(e){return this.str+=e.str,!0}integrate(e,t){}delete(e){}gc(e){}write(e,t){e.writeString(0===t?this.str:this.str.slice(t))}getRef(){return 4}}const ui=[e=>new Ao,e=>new Ro,e=>new Wo,e=>new Ko(e.readKey()),e=>new Zo,e=>new Qo(e.readKey()),e=>new Xo],di=0,pi=1,fi=2,hi=3,mi=4,gi=5,yi=6;class vi{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new vi(this.type._copy())}splice(e){throw Me()}mergeWith(e){return!1}integrate(e,t){this.type._integrate(e.doc,t)}delete(e){let t=this.type._start;for(;null!==t;)t.deleted?e._mergeStructs.push(t):t.delete(e),t=t.right;this.type._map.forEach(t=>{t.deleted?e._mergeStructs.push(t):t.delete(e)}),e.changed.delete(this.type)}gc(e){let t=this.type._start;for(;null!==t;)t.gc(e,!0),t=t.right;this.type._start=null,this.type._map.forEach(t=>{for(;null!==t;)t.gc(e,!0),t=t.left}),this.type._map=new Map}write(e,t){this.type._write(e)}getRef(){return 7}}const bi=(e,t)=>{let n,r=t,o=0;do{o>0&&(r=Nn(r.client,r.clock+o)),n=hr(e,r),o=r.clock-n.id.clock,r=n.redone}while(null!==r&&n instanceof Si);return{item:n,diff:o}},_i=(e,t)=>{for(;null!==e&&e.keep!==t;)e.keep=t,e=e.parent._item},wi=(e,t,n)=>{const{client:r,clock:o}=t.id,i=new Si(Nn(r,o+n),t,Nn(r,o+n-1),t.right,t.rightOrigin,t.parent,t.parentSub,t.content.splice(n));return t.deleted&&i.markDeleted(),t.keep&&(i.keep=!0),null!==t.redone&&(i.redone=Nn(t.redone.client,t.redone.clock+n)),t.right=i,null!==i.right&&(i.right.left=i),e._mergeStructs.push(i),null!==i.parentSub&&null===i.right&&i.parent._map.set(i.parentSub,i),t.length=n,i},Ci=(e,t,n,r,o)=>{const i=e.doc,a=i.store,s=i.clientID,l=t.redone;if(null!==l)return gr(e,l);let c,u=t.parent._item,d=null;if(null!==u&&!0===u.deleted){if(null===u.redone&&(!n.has(u)||null===Ci(e,u,n,r,o)))return null;for(;null!==u.redone;)u=gr(e,u.redone)}const p=null===u?t.parent:u.content.type;if(null===t.parentSub){for(d=t.left,c=t;null!==d;){let t=d;for(;null!==t&&t.parent._item!==u;)t=null===t.redone?null:gr(e,t.redone);if(null!==t&&t.parent._item===u){d=t;break}d=d.left}for(;null!==c;){let t=c;for(;null!==t&&t.parent._item!==u;)t=null===t.redone?null:gr(e,t.redone);if(null!==t&&t.parent._item===u){c=t;break}c=c.right}}else if(c=null,t.right&&!o){for(d=t;null!==d&&null!==d.right&&Kt(r,d.right.id);)d=d.right;for(;null!==d&&null!==d.redone;)d=gr(e,d.redone);if(null===d||d.parent._item!==u)return null;if(d&&null!==d.right)return null}else d=p._map.get(t.parentSub)||null;const f=dr(a,s),h=Nn(s,f),m=new Si(h,d,d&&d.lastId,c,c&&c.id,p,t.parentSub,t.content.copy());return t.redone=h,_i(m,!0),m.integrate(e,0),m};class Si extends Jo{constructor(e,t,n,r,o,i,a,s){super(e,s.getLength()),this.origin=n,this.left=t,this.right=r,this.rightOrigin=o,this.parent=i,this.parentSub=a,this.redone=null,this.content=s,this.info=this.content.isCountable()?2:0}set marker(e){(8&this.info)>0!==e&&(this.info^=8)}get marker(){return(8&this.info)>0}get keep(){return(1&this.info)>0}set keep(e){this.keep!==e&&(this.info^=1)}get countable(){return(2&this.info)>0}get deleted(){return(4&this.info)>0}set deleted(e){this.deleted!==e&&(this.info^=4)}markDeleted(){this.info|=4}getMissing(e,t){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=dr(t,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=dr(t,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===In&&this.id.client!==this.parent.client&&this.parent.clock>=dr(t,this.parent.client))return this.parent.client;if(this.origin&&(this.left=yr(e,t,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=gr(e,this.rightOrigin),this.rightOrigin=this.right.id),(this.left&&this.left.constructor===ei||this.right&&this.right.constructor===ei)&&(this.parent=null),this.parent){if(this.parent.constructor===In){const e=hr(t,this.parent);e.constructor===ei?this.parent=null:this.parent=e.content.type}}else this.left&&this.left.constructor===Si&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===Si&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);return null}integrate(e,t){if(t>0&&(this.id.clock+=t,this.left=yr(e,e.doc.store,Nn(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(t),this.length-=t),this.parent){if(!this.left&&(!this.right||null!==this.right.left)||this.left&&this.left.right!==this.right){let t,n=this.left;if(null!==n)t=n.right;else if(null!==this.parentSub)for(t=this.parent._map.get(this.parentSub)||null;null!==t&&null!==t.left;)t=t.left;else t=this.parent._start;const r=new Set,o=new Set;for(;null!==t&&t!==this.right;){if(o.add(t),r.add(t),Mn(this.origin,t.origin)){if(t.id.client<this.id.client)n=t,r.clear();else if(Mn(this.rightOrigin,t.rightOrigin))break}else{if(null===t.origin||!o.has(hr(e.doc.store,t.origin)))break;r.has(hr(e.doc.store,t.origin))||(n=t,r.clear())}t=t.right}this.left=n}if(null!==this.left){const e=this.left.right;this.right=e,this.left.right=this}else{let e;if(null!==this.parentSub)for(e=this.parent._map.get(this.parentSub)||null;null!==e&&null!==e.left;)e=e.left;else e=this.parent._start,this.parent._start=this;this.right=e}null!==this.right?this.right.left=this:null!==this.parentSub&&(this.parent._map.set(this.parentSub,this),null!==this.left&&this.left.delete(e)),null===this.parentSub&&this.countable&&!this.deleted&&(this.parent._length+=this.length),pr(e.doc.store,this),this.content.integrate(e,this),wr(e,this.parent,this.parentSub),(null!==this.parent._item&&this.parent._item.deleted||null!==this.parentSub&&null!==this.right)&&this.delete(e)}else new ei(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;null!==e&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;null!==e&&e.deleted;)e=e.left;return e}get lastId(){return 1===this.length?this.id:Nn(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&Mn(e.origin,this.lastId)&&this.right===e&&Mn(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&null===this.redone&&null===e.redone&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){const t=this.parent._searchMarker;return t&&t.forEach(t=>{t.p===e&&(t.p=this,!this.deleted&&this.countable&&(t.index-=this.length))}),e.keep&&(this.keep=!0),this.right=e.right,null!==this.right&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){const t=this.parent;this.countable&&null===this.parentSub&&(t._length-=this.length),this.markDeleted(),Xt(e.deleteSet,this.id.client,this.id.clock,this.length),wr(e,t,this.parentSub),this.content.delete(e)}}gc(e,t){if(!this.deleted)throw Ne();this.content.gc(e),t?((e,t,n)=>{const r=e.clients.get(t.id.client);r[fr(r,t.id.clock)]=n})(e,this,new ei(this.id,this.length)):this.content=new ni(this.length)}write(e,t){const n=t>0?Nn(this.id.client,this.id.clock+t-1):this.origin,r=this.rightOrigin,o=this.parentSub,i=31&this.content.getRef()|(null===n?0:128)|(null===r?0:64)|(null===o?0:32);if(e.writeInfo(i),null!==n&&e.writeLeftID(n),null!==r&&e.writeRightID(r),null===n&&null===r){const t=this.parent;if(void 0!==t._item){const n=t._item;if(null===n){const n=Ln(t);e.writeParentInfo(!0),e.writeString(n)}else e.writeParentInfo(!1),e.writeLeftID(n.id)}else t.constructor===String?(e.writeParentInfo(!0),e.writeString(t)):t.constructor===In?(e.writeParentInfo(!1),e.writeLeftID(t)):Ne();null!==o&&e.writeString(o)}this.content.write(e,t)}}const Ei=(e,t)=>xi[31&t](e),xi=[()=>{Ne()},e=>new ni(e.readLen()),e=>{const t=e.readLen(),n=[];for(let r=0;r<t;r++){const t=e.readString();"undefined"===t?n.push(void 0):n.push(JSON.parse(t))}return new si(n)},e=>new ti(e.readBuf()),e=>new ci(e.readString()),e=>new ii(e.readJSON()),e=>new ai(e.readKey(),e.readJSON()),e=>new vi(ui[e.readTypeRef()](e)),e=>{const t=e.readLen(),n=[];for(let r=0;r<t;r++)n.push(e.readAny());return new li(n)},e=>new oi(ri(e.readString(),e.readAny())),()=>{Ne()}];class ki extends Jo{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor===e.constructor&&(this.length+=e.length,!0)}integrate(e,t){Ne()}write(e,t){e.writeInfo(10),ge(e.restEncoder,this.length-t)}getMissing(e,t){return null}}const Oi="undefined"!=typeof window?window:void 0!==n?n:{};!0===Oi["__ $YJS$ __"]&&console.warn("Yjs was already imported. Importing different versions of Yjs often leads to issues."),Oi["__ $YJS$ __"]=!0},83285:e=>{"use strict";e.exports=JSON.parse('{"name":"@lib/editor","version":"2.43.0","description":"Collaborate editing environment","main":"./dist/editor.js","module":"./dist/editor.js","publishConfig":{"registry":"https://gl.nimbusweb.co/api/v4/projects/213/packages/npm/","@lib:registry":"https://gl.nimbusweb.co/api/v4/projects/213/packages/npm/"},"dependencies":{"@babel/node":"^7.14.2","@babel/plugin-transform-classes":"^7.14.4","@babel/runtime":"^7.14.0","@grammarly/editor-sdk":"^2.3.18","async.queue":"^0.5.2","base64-stream":"^1.0.0","clipboard-copy":"^2.0.1","clone":"^2.1.1","codemirror":"^5.59.1","codemirror-asciidoc":"^1.0.4","core-js":"^3.13.1","dayjs":"^1.11.11","deep-equal":"^2.0.3","deepmerge":"^3.2.0","delta-e":"0.0.7","detect-node":"^2.0.4","downloadjs":"^1.4.7","equal":"^0.1.1","events":"^3.3.0","file-saver":"^2.0.0-rc.4","file-system":"^2.2.2","filesize":"^3.6.1","fix-webm-duration":"^1.0.5","fs-web":"^1.0.1","he":"^1.2.0","highlight.js":"^10.0.3","html-webpack-plugin":"^5.3.1","is-hotkey":"^0.1.3","izitoast":"^1.4.0","lib0":"0.2.42","lodash.chunk":"^4.2.0","lodash.debounce":"^4.0.8","lodash.escape":"^4.0.1","lodash.isequal":"^4.5.0","lodash.throttle":"^4.1.1","mark.js":"^8.11.1","markdown-it":"^13.0.1","mime":"^2.4.4","moize":"^5.4.1","p-cancelable":"^2.0.0","papaparse":"^5.3.2","parchment":"https://git@github.com/calibr/parchment#v1.1.6","parse-color":"^1.0.0","pdfjs-dist":"2.9.359","popper.js":"^1.14.6","preact":"^10.5.13","preact-i18n":"2.4.0-preactx","preact-material-components":"^1.6.1","preact-middle-truncate":"https://git@github.com/calibr/react-middle-truncate#v1.0.1","preact-transition-group":"^2.0.0","quill-delta":"^4.2.2","react-autosize-textarea":"^7.1.0","react-datepicker":"^4.8.0","react-responsive-masonry":"^2.1.7","rgb-lab":"^1.0.0","selection-range":"^1.1.0","simple-color-picker":"^0.1.2","ts-ebml":"^2.0.2","unsplash-js":"^7.0.15","video.js":"^7.19.2","videojs-errors":"^5.0.0","wavesurfer.js":"^4.2.0","word-wrap":"^1.2.3","y-codemirror":"^2.1.0","y-protocols":"npm:@nnote/y-protocols@1.0.5-nim4","y-websockets-client":"^9.0.0-4"},"devDependencies":{"@angular/cdk":"^13.2.0","@angular/material":"^12.2.11","@babel/cli":"^7.4.4","@babel/core":"^7.14.3","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-react-jsx":"^7.14.3","@babel/preset-env":"^7.14.4","@google-cloud/bigquery":"^5.6.0","@wdio/cli":"^5.18.6","@wdio/local-runner":"^5.18.6","@wdio/mocha-framework":"^5.18.6","@wdio/spec-reporter":"^5.18.6","@wdio/sync":"^5.18.6","archiver":"^3.1.1","aws-sdk":"^2.618.0","axios":"^0.19.2","babel-eslint":"^10.0.1","babel-loader":"^8.0.5","body-parser":"^1.19.0","byte-base64":"^1.1.0","cache-loader":"^4.1.0","chromedriver":"2.42.1","clean-webpack-plugin":"^3.0.0","connect-busboy":"0.0.2","copy-webpack-plugin":"^5.0.5","css-loader":"^1.0.0","debug":"^3.1.0","desvg-loader":"https://git@github.com/calibr/desvg-loader","dom-storage":"^2.1.0","eh-guid":"^0.12.0","escape-html":"^1.0.3","express":"^4.16.3","fibers":"^4.0.1","fs-extra":"^8.1.0","html-pdf-chrome":"^0.6.0","install":"^0.12.2","jsdom":"^16.2.1","karma":"^6.4.3","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-source-map-support":"^1.3.0","karma-spec-reporter":"0.0.32","mini-css-extract-plugin":"^0.4.2","mocha":"^6.2.2","morgan":"^1.9.0","optimize-css-assets-webpack-plugin":"^5.0.1","postcss-assets":"^5.0.0","postcss-loader":"^3.0.0","pretty":"^2.0.0","puppeteer":"^8.0.0","queue":"^6.0.1","rangefix":"^0.2.9","raw-loader":"^0.5.1","react-modal":"^3.11.2","regenerator-runtime":"^0.13.7","request":"^2.88.0","sass":"^1.49.4","sass-loader":"^12.4.0","sax":"^1.2.4","should":"^13.2.3","sinon":"^6.2.0","style-loader":"^0.22.1","svg-loader":"0.0.2","temp-dir":"^2.0.0","terser-webpack-plugin":"^1.2.1","tinycolor2":"^1.4.2","tmp":"^0.1.0","uglifyjs-webpack-plugin":"^2.1.1","wdio-chromedriver-service":"^5.0.2","wdio-performancetotal-service":"^2.0.2","webdriverio":"^5.18.6","webpack":"^5.38.1","webpack-bundle-analyzer":"^3.6.1","webpack-cli":"^3.3.0","webpack-dev-server":"^3.11.2","yjs":"13.5.39"},"peerDependencies":{"yjs":"13.5.39"},"scripts":{"start":"http-server -c-1 -p 3000 public","start:dev":"webpack-dev-server --mode=development --type=editor-web --progress","start:devServer":"webpack --mode=development --type=editor-node && PORT=1235 node dev-server/server","start:devServerWin":"webpack --mode=development --type=editor-node && set PORT=1235 && node dev-server/server","start:devUnit":"webpack --watch --mode=development --type=unit","build":"rm -rf dist/*; webpack; npm run buildProvidersNode","buildBrowser":"rm -rf dist/*; BROWSER=1 webpack","buildWin":"del /Q/F dist\\\\* && webpack && npm run buildProvidersNode","buildProvidersNode":"babel --verbose --config-file ./node.babelrc.json ./providers --out-dir dist/providers --plugins=@babel/plugin-proposal-class-properties","buildDev":"NODE_OPTIONS=--max-old-space-size=4096 webpack --mode=development --buildTarget=node && NODE_OPTIONS=--max-old-space-size=4096 webpack --mode=development --buildTarget=web","watch":"webpack --watch --mode=development --progress","watch:cache":"webpack --watch --mode=development --progress --optimize=cache-loader","server":"PORT=1234 node dev-server/server","serverWin":"set PORT=1234 && node dev-server/server","buildTheme":"sass ./src/theme/scss/main.scss ./src/theme/css/theme.css","test":"karma start","testWin":"karma start ./karma-win.conf.js","testDev":"karma start ./karma-dev.conf.js","testE2E":"wdio wdio.conf.js && wdio wdio.collaborate.conf.js","testE2Esingle":"wdio wdio.conf.js","testE2Eclbt":"wdio wdio.collaborate.conf.js","testE2EServer":"wdio wdio.server.conf.js","testE2EclbtServer":"TEST_TYPE=collaborate wdio wdio.server.conf.js","performance":"rm -rf performance-results/* && wdio wdio.performance.conf.js && GOOGLE_APPLICATION_CREDENTIALS=credentials.json LAUNCH=local npm run performanceToBQ","performanceWin":"del /Q/F  performance-results\\\\* & wdio wdio.performance.conf.js && set GOOGLE_APPLICATION_CREDENTIALS=credentials.json LAUNCH=local npm run performanceToBQ","performanceToBQ":"node test/performance/bigquery","performanceServer":"TEST_TYPE=performance wdio wdio.server.conf.js","lng":"node ./util/localization/localization.js","lngSave":"node ./util/localization/localization.js --save"},"author":"as.stolbov@gmail.com","license":"SEE LICENSE IN LICENSE"}')},46673:e=>{"use strict";e.exports='["abandon","abate","abduct","abide","able","abnormal","aboard","abolish","abort","abound","about","abroad","abrupt","absent","absorb","abundant","abuse","abuse","abuse","accelerate","accept","access","accessory","accident","accident","acclaim","accommodate","accompany","accomplish","accord","according to","account","account","account for","accurate","accuse","accustom","ache","achieve","acid","acknowledge","acquaint","acquire","acquit","across","act","act on","acute","adamant","add to","add up","addict","addition","adhere","adjacent","adjective","adjust","admire","admit","adolescent","adopt","adopt","adore","adorn","adult","adultery","advance","advantage","adventure","adverb","adversary","adverse","advertise","advice","advise","advocate","aerial","aerial","affair","affair","affect","affection","affiliate","affirm","afflict","affluent","afford","afraid","after all","aftermath","age","age","agenda","aggravate","aggregate","agile","agitate","agree","agreement","agriculture","ahead","aid","ailment","aim","air","airborne","aircraft","airline","aisle","akin","alarm","alas","albeit","alert","alien","alienate","align","alike","alive","all along","allege","allegiance","allocate","allot","allow","allow for","allowance","allude","allure","ally","almost","alone","alongside","aloud","alter","alternate","although","altitude","altogether","amateur","amaze","ambassador","amber","ambiguous","ambulance","ambush","amend","amenity","amid (amidst)","ammunition","amount","ample","amplify","amuse","ancestor","anchor","ancient","anew","anger","angle","angry","anguish","animate","ankle","anniversary","announce","annoy","annual","ant","anthem","anticipate","antique","anxiety","anxious","anymore","anytime","anyway","anywhere","apart","apart from","apartment","ape","apiece","apology","appal","apparent","appeal","appear","appear","applause","appliance","apply","apply","appoint","appraise","appreciate","apprentice","approach","appropriate","appropriate","approve","approve of","approximate","apron","apt","aquatic","arbitrary","arc","arch","archive","area","argue","arise (arose, arisen)","arm","armor (armour)","arms","arouse","arrange","array","arrest","arrive","arrogant","arrow","arson","article","article","artificial","as though","as well","as well as","ascend","ascertain","ash","ashamed","ashtray","aside","aside from","ask around","ask out","asleep","aspire","ass","assassin","assault","assemble","assert","assess","asset","assign","assimilate","assist","associate","assume","assume","assure","astonish","astound","asylum","at all","at first","at last","at least","at odds with","at once","at the moment","atop","atrocity","attach","attack","attain","attempt","attend","attic","attitude","attorney","attract","attribute","audible","audience","augment","aunt","authorities","authority","authorize","available","avalanche","average","avert","avid","avoid","await","awake","award","aware","awe","awesome","awful","awhile","awkward","axe (ax)","axis","bachelor","bachelor","back down","back then","back up","backbone","backdrop","background","background","backpack","badge","baffled","bag","bail","bait","bake","bald","bale","balloon","ballot","ban","band","bandage","bang","banish","bank","bank on","bankrupt","banner","baptize","bar","bar","barb","barber","bare","barefoot","barely","bargain","bark","bark","barn","barrel","barren","bartender","base","basement","bash","basket","bastard","bat","bat","batch","bath","bathe","batter","battle","bay","be after","be back","be in","be into","be keen to","be late","be off","be on fire","be over","be up to","bead","beak","beam","beam","bean","bear (bore, born)","bear (bore, born)","beard","beast","beat (beat, beaten)","beat (beat, beaten)","beat up","beauty","beaver","beckon","become of","beef","beep","beetle","beforehand","beg","behave","behavior","behold","beige","belief","bell","bellow","belly","belong to","beloved","below","belt","bench","bend (bent, bent)","bend down","beneath","benefit","benevolent","berry","berth","beside","besides","bestow","bet","betray","beverage","beware","bewilder","beyond","bias","bicycle","bid","bigot","bill","bill","billboard","billion","bin","bind (bound, bound)","binge","birth","bishop","bitch","bite (bit, bitten)","bitter","bizarre","black out","blackmail","blade","blame","bland","blank","blanket","blast","blast","blatant","blaze","bleach","bleak","bleed (bled, bled)","blend","bless","blind","blink","bliss","blizzard","bloat","block","block","block out","block up","blonde","bloom","blossom","blouse","blow (blew blown)","blow (blew blown)","blow out","blow over","blow up","blow up","bluff","blunt","blur","blush","board","board","board","boast","boat","bog","boil","bold","bolster","bond","bond","bone","bonfire","boobs","book","boom","boost","boot","booth","booze","border","bore","borough","borrow","both","bother","bottom","boulder","bounce","bound","boundary","bounds","bounty","bout","bout","bow","bow","bow","bow out","bowel","bowl","brace","bracket","brag","braid","brake","branch","branch","brass","brassiere (bra)","brave","brawl","brazen","breach","breadth","break","break (broke, broken)","break away","break down","break into (break in)","break out","break out","break up","breakthrough","breast","breath","breathe","breed","breed (bred, bred)","brew","bribe","brick","bride","bridge","brief","briefcase","bright","brilliant","brim","bring (brought, brought)","bring along","bring around","bring back","bring down","bring in","bring out","bring up","bring up","brink","brisk","bristle","brittle","broad","broadcast","broom","broth","bruise","brush","brute","bubble","buck","bucket","buckle","buckle up","bud","buddy","budge","buffalo","bug","build on","built-in","bulb","bulge","bulk","bullet","bullshit","bully","bum","bump","bump","bun","bunch","bundle","bunk","bunny","burden","burglar","burn","burn down","burn out","burrow","burst","bury","bush","bustle","busy","butcher","butt","butt","butt in","butter","butterfly","button","buy","buy up","buzz","by chance","by far","by heart","by oneself","by the way","bypass","cab","cabbage","cabin","cable","cage","calf (pl:calves)","call back","call for","call off","call on","calm","calm down","camp","can","cancel","cancer","candid","candle","candy","cane","cannon","canopy","canvas","cap","capable","capacity","capacity","cape","capital","captive","capture","carbohydrate","carbon","carcass","cardboard","care","care","career","caress","cargo","carpenter","carpet","carriage","carrot","carry","carry out","cart","cartoon","carve","case","case","cash","casket","cast (cast, cast)","cast (cast, cast)","casual","casualty","catch","catch (caught, caught)","catch on","catch on","catch up on","catch up with","cater","catering","cathedral","cattle","cause","caution","cave","caviar","cavity","cease","cedar","ceiling","celebrate","celebrity","celestial","cell","cellar","cellular","cemetery","censorship","census","century","cereal","certain","chain","chair","chairman","chalk","challenge","chamber","chancellor","change","chant","chaos","chap","chapel","chapter","character","charge","charge","charge","charity","charm","chart","chase","chat","chatter","cheat","cheat on","check","check in","check into","check on","check out","check out","checkup","cheek","cheer","cheer on","cheer up","cheerful","chef","chemistry","cherish","chess","chest","chest","chestnut","chew","chief","childhood","chill","chill out","chimney","chin","chip","choice","choir","choke","chop","chop down","chop up","chord","chore","chorus","Christmas","chuck","chuckle","chunk","church","cinema","cinnamon","circle","circuit","circumstance","circus","cite","citizen","civic","civil","civilian","claim","claim","clam","clamour","clamp","clap","clarify","clash","clasp","clause","claw","clay","clean up","cleanse","clear","clear off","clear out","clear up","cleave","clench","clergy","clerical","clever","click","cliff","climax","climb","cling (clung, clung)","clip","clip","cloak","clockwise","clog","close down","close in on","closet","closure","cloth","clothe","cloud","clout","clove","clue","clump","clumsy","clutch","clutter","coach","coach","coal","coarse","coast","coaster","coat","coat","coax","coconut","coerce","coffin","coherent","cohesion","coil","coincide","coincidence","cold","collaborate","collapse","collar","collect","collide","colon","colonel","column","comb","combat","combine","come about","come across","come along","come along","come by","come by","come down","come from","come into","come off","come off","come on","come out","come out","come over","come through","come to","come to","come to life","come true","come under","come up","come up","come up to","come up with","come with","comedian","comfort","commemorate","commence","commend","commercial","commission","commit","commitment","commitment","commodity","common","common","commonplace","commonwealth","communicate","community","commute","compact","compare","comparison","compartment","compassion","compatible","compel","compete","complain","complement","complement","complete","complex","complicate","comply","compose","compound","comprehend","comprehensive","compress","comprise","compulsory","comrade","conceal","concede","conceive","concept","concern","conclude","concrete","concur","condemn","condition","condition","conduct","cone","confer","confer","confess","confide","confident","confine","confirm","conform","confront","confuse","congestion","congratulate","conjunction","connect","conquer","conquest","conscience","conscious","consecutive","consent","consequence","consequent","conserve","consider","consider","considerable","consist of","consistent","console","conspicuous","conspire","constant","constellation","constitute","constrain","construct","construction (site)","consult","consume","contain","contaminate","contemplate","contemporary","contempt","contend","content","content with","contest","contingency","continue","contract","contradict","contrary","contribute","controversy","convene","convenient","conventional","converge","converse","convert","convey","convict","conviction","convince","cookie","cool","cool down","cooperate","cope with","copper","cord","core","cork","corn","corner","corps","corpse","correct","correlate","correspond","corrupt","cost (cost, cost)","cotton","couch","cough","council","counsel","count","count","count on","counter","counter","counterfeit","counterpart","countryside","county","coup","couple","courage","court","court","court","courtesy","courtyard","cover","coverage","covet","coward","co-worker","cozy","crack","crackle","cradle","craft","cram","cramp","crane","crank","crap","crash","crate","crave","crawl","crayon","creak","cream","crease","create","creature","credential","credible","creed","creek","creep","creep (crept, crept)","creepy","crest","crew","crib","crime","criminal","crimson","cringe","cripple","crisp","crook","crop","cross","cross out","crossroads","crouch","crow","crowd","crown","crucial","crude","cruel","crumb","crumble","crumple","crunch","crusade","crush","crust","cry out","cub","cubicle","cucumber","cuddle","cue","cuisine","cup","cupboard","curb","curb","cure","curious","curl","currency","current","current","curriculum vitae","curse","curtain","curve","cushion","custody","custom","custom","customer","customs","cut across","cut down","cut off","cute","dagger","daily","dairy","dam","damage","damn","damp","dangle","dare","darling","darn","dash","dash","dash","data","database","date","daunt","dawn","dawn on","day off","daze","dazzle","dead end","deaf","deal","deal in","deal with","debate","debris","debt","decade","decay","deceased","deceive","decent","deception","decide","decisive","deck","declare","decline","decline","decorate","decrease","decree","dedicate","deduct","deed","deem","deep","deer (pl:deer)","defeat","defence (defense)","defend","deficient","define","definite","deflect","deft","defy","degree","degree","deity","delay","deliberate","delicate","delicious","delight","delinquent","deliver","deliver","delusion","demand","demand","demise","demolish","den","denote","denounce","dense","dent","dental","deny","depart","department","depend","dependent","depict","deplete","deploy","depot","depress","deprive","depth","deputy","derive","descend","descend from","describe","desert","desert","deserve","designate","desire","desk","desktop","desolate","despair","desperate","despise","despite","destination","destiny","destroy","detach","detain","detect","detention","deter","deteriorate","determine","determined","detriment","devastate","develop","deviate","devise","devoid","devote","devour","dial","diamond","diary","dice (pl: dice)","dictionary","die down","die out","differ","different","difficulty","diffuse","dig (dug, dug)","dig up","digest","digit","dignity","diligent","dilute","dim","dimension","diminish","dine","dip","dire","direct","direct","directory","disable","disabled","disappoint","disaster","discard","discern","disciple","disclose","discount","discourage","discourse","discover","discreet","discrepancy","discrete","discretion","discriminate","discuss","disdain","disease","disgrace","disguise","disgust","dish","dish","disillusion","dislocate","dismantle","dismay","dismiss","dismiss","disorder","disparity","dispatch","dispel","dispense","dispense with","disperse","displace","display","dispose of","dispose of","dispute","disrupt","dissent","dissipate","dissolve","distant","distinct","distinguish","distort","distract","distress","distribute","district","disturb","ditch","dive","diverge","diverse","divert","divide","divine","divorce","dizzy","do about","do away with","do up","do without","dock","dodge","dole","doll","domain","dome","domestic","domestic","donate","donkey","doom","doorway","dope","dormitory","dot","double","doubt","dough","doughnut","downtown","downturn","dozen","draft","draft","drag","drag on","drain","drastic","draw (drew, drawn)","draw up","drawback","drawer","dread","dream","dream up","dress","dress up","drift","drill","drills","drip","drive (drove, driven)","drive (drove, driven)","drive out","drizzle","drop","drop","drop by","drop off","drop out of","drought","drown","drug","drum","dry","dry up","dual","dub","dubious","duckling","dude","due","due to","duke","dull","dumb","dumb","dummy","dump","dump","duo","duplicate","durable","duration","during","dusk","dust","duty","dwarf","dwell","dwell on","dwindle","dye","eager","early","earn","earnest","earring","earth","earthquake (quake)","ease","east","Easter","eat out","eat up","echo","eclipse","edge","edible","edit","educate","efficacy","efficient","effort","either","either","either","eject","elaborate","elbow","elder","elect","elevate","elicit","eligible","eliminate","elk","eloquent","elude","embark on","embarrass","embassy","embed","embody","embrace","emerge","emergency","eminent","emit","emperor","emphasis","empire","employ","employ","empower","empty","enable","enact","enchant","enclose","encompass","encounter","encourage","end up","endanger","endeavor (endeavour)","endorse","endow","endure","enforce","engage in","engaged","engender","engine","enhance","enlarge","enlighten","enlist","enormous","enrich","enrol (enroll)","ensemble","ensue","ensure","entail","enter","enterprise","entertain","entice","entire","entitle","entitle","entity","entrepreneur","envelope","environment","envision","envy","equal","equation","equip","equity","eradicate","erase","erect","erode","errand","error","erupt","escape","essence","essential","establish","esteem","estimate","eternal","evade","evaluate","evaporate","eve","even","event","eventual","ever","evidence","evident","evil","evoke","evolve","exact","exaggerate","examine","example","excavate","exceed","excel","excellent","except","excerpt","excess","exchange","excite","exclaim","exclude","excuse","execute","execute","exempt","exercise","exert","exhale","exhaust","exhaust","exhibit","exile","exist","exit","expand","expanse","expect","expel","expenditure","expense","experience","expertise","expire","explain","explicit","explode","exploit","explore","expose","express","exquisite","extend","extent","exterior","external","extinct","extinguish","extort","extra","extract","extreme","exuberant","eyebrow","eyelid","fable","fabric","fabulous","face","face up to","facet","facial","facilitate","facility","facility","faction","factory","faculty","fade","fail","failure","faint","faint","fair","fair","fairly","fairy","faith","fall","fall apart","fall asleep","fall back on","fall behind","fall for","fall for","fall in love with","fall out","fall over","fall through","false","falter","fame","familiar","famine","famous","fan","fancy","fancy","faraway","fare","farewell","farm","fascinate","fashion","fashion","fasten","fat","fate","fatigue","faucet","fault","fault","favor","favor (favour)","fear","feasible","feast","feat","feather","feature","fee","feeble","feed (fed, fed)","feed on","feedback","feel (felt, felt)","feel for","feel like","fellow","fellow","felon","female","feminine","fence","fend for (oneself)","fend off","ferocious","ferry","fertile","fetch","fetus","fever","fibre","fiction","fiddle","fidelity","field","fierce","fight back","fight off","figure","figure out","fill in","fill in on","fill up","film","filth","fin","find out","fine","fine","fine","fingertip","fir","firefighter","fireplace","firework","firm","fisherman","fishing","fist","fit","fit (fit, fit)","fit in with","fix","fixture","flair","flake","flakes","flame","flank","flap","flare","flash","flashlight","flat","flat","flatter","flavor","flaw","flea","flee (fled, fled)","fleet","fleeting","flesh","flex","flick","flick","flick through","flicker","flight","flight","flight attendant","flinch","fling (flung, flung)","flip","float","flock","flood","flood in","floor","floor","flop","flour","flourish","flow","flu","fluctuate","fluent","fluffy","fluid","flurry","flush","flush","flute","flutter","fly","foam","focus","foe","fog","foil","foil","fold","folder","foliage","folk","follow","folly","fond of","fool","fool around","footage","footing","footprint","for real","for sure","for the sake of","forbid (forbade, forbidden)","forcible","forecast","forehead","foreign","foreman","foremost","foresee","forge","forge","forgive (forgave, forgiven)","fork","former","former","formidable","forth","forthcoming","fortify","fortunate","fortune","fortune","fossil","foster","foster","foul","found","foundation","fountain","foyer","fraction","fracture","fragile","fragrant","frail","frame","framework","frank","frantic","fraud","fray","frayed","freak","freak out","free","free up","freeway","freeze (froze, frozen)","freight","frenzy","frequent","freshen up","fret","friction","friendly","fright","frighten off","fringe","frog","front","frontier","frost","frown","fruitless","frustrate","fry","fuck with","fuel","fugitive","fulfil","fumble","fume","fund","funeral","fungus","funnel","fur","furnace","furnish","furnish","furniture","further","fury","fuse","fuss","futile","future","fuzzy","gain","gait","gala","gamble","gang","gap","garbage","garden","garlic","garment","garnish","gas","gasp","gates","gather","gauge","gaze","gear","geared to","gem","gender","gene","general","generation","generous","gentle","genuine","germ","gesture","get","get about","get ahead","get ahead of","get along","get at","get away with","get back at","get by","get down","get in","get lost","get off","get off with","get on","get out of","get over","get rid of","get stuck","get through","get together","get used to","ghost","giant","gift","giggle","give a ride","give away","give away","give birth to","give off","give out","give up","give up","glacier","glamour","glance","glare","glass","glasses","glaze","gleam","glide","glimpse","glint","glitter","globe","gloom","glory","gloss","glove","glow","glue","gnaw on","go about","go against","go ahead","go along","go bad","go down","go for","go for","go into","go off","go off","go on","go on","go out","go over","go through","go together","go under","goal","goat","goddess","goods","goof","gorgeous","gospel","gossip","govern","gown","grab","grace","grade","grade","gradual","graduate","grain","grand","grant","grape","graph","grapple","grasp","grate","grateful","gratify","gratitude","grave","grave","gravel","gravy","graze","grease","greed","greenhouse","greet","grid","grief","grievance","grieve","grim","grin","grind (ground, groud)","grip","grit","grit","groan","grocery","groom","groove","grope","gross","gross","grove","grow (grew, grown)","grow (grew, grown)","grow up","growl","grudge","grumble","grunt","guard","guess","guest","guide","guideline","guilt","guise","gulf","gulf","gulp","gum","gun","gust","gut","gutter","gym","Gypsy","habit","habitat","hack","hail","hail","hail","haircut","hall","hallmark","halt","halve","ham","hammer","hamper","hand down","hand in","hand over","handbook","handcuffs","handful","handicap","handkerchief","handle","handle","handsome","handwriting","handy","hang (hung, hung)","hang around","hang out","hangover","happen","harass","harbor (harbour)","hardly","hardware","hardy","harm","harness","harp","harsh","harvest","hassle","haste","hat","hatch","hatred","haul","haunt","hawk","hay","hazard","haze","head for","head off","headlight","headline","headquarters","heal","health","healthcare","heap","heat","heat up","heave","heaven","hebrew","hectic","hedge","heed","heel","hefty","height","heir","helicopter","helm","helmet (helm)","help out","helpful","helpless","hemisphere","hen","hence","herald","herb","herd","heritage","hero","hesitate","hide (hid, hidden)","hideous","hierarchy","high-end","highlight","highway","hijack","hike","hilarious","hill","hinder","hinge","hint","hip","hire","hiss","hit (hit, hit)","hit (hit, hit)","hit back","hit on","hitch","hoard","hobble","hog","hoist","hold back","hold on","hold on","hold up","hole","holler","hollow","holy","homeland","homicide","honest","honey","honor (honour)","hood","hood","hoof","hook","hook up","hook up","hoop","hop","hopeful","horizon","horn","horrible","horrify","horseback","hose","hospitality","host","host","hostage","hostile","hound","household","housewife","hover","however","howl","huddle","hue","hug","huge","hull","hum","human","humble","humid","humiliate","hump","hunch","hunch","hunger","hunk","hurdle","hurl","hurricane","hurry","hurt (hurt, hurt)","hush","hustle","hustle","hut","hydrogen","hypocrite","ID","idle","ignite","ignorant","ill","ill","illicit","illuminate","image","imagine","immediate","immense","immerse","imminent","impact","impair","impede","impending","imperative","implement","implicate","implicit","imply","importance","impose","imposing","impress","imprint","improve","in a row","in advance","in charge","in spite of","incentive","inch","incidence","incline","include","income","incoming","incorporate","increase","incredible","incumbent","incur","indeed","indicate","indifferent","indigenous","induce","indulge","industry","inevitable","inexplicable","infamous","infant","infantry","infect","infer","inferior","infinite","inflame","inflate","inflict","influence","infuse","ingenious","inhabit","inhale","inherent","inherit","inhibit","initial","inject","injure","ink","inland","inmate","inn","inner","innocent","input","inquire","insect","insert","inside","inside out","insight","insist","inspect","inspire","install","instance","instant","instead","insulate","insult","insure","insurgent","intact","intake","integral","integrity","integrity","intelligence","intelligent","intelligible","intend","intended","interact","intercept","intercourse","interfere","interim","interior","intermediate","intern","internal","interpret","interpreter","interrogate","interrupt","intersect","intervene","intestine","intimate","intimidate","intricate","intrinsic","introduce","introduce","intrude on","invade","invent","inventory","invert","investigate","invite","invoke","involve","involve","inward","iron","iron","irritate","island","issue","issue","itch","item","ivory","ivy","jab","jacket","jail","janitor","jar","jaw","jealous","jelly","jeopardy","jerk","jerk","jet","jet","Jew","jewel","jingle","jog","join","joint","joint","jolly","jolt","journalism","journey","joy","judge","judicial","jug","jumble","jump at","jump in","jumper","junction","junior","junk","junkie","jury","just","justice","justify","jut","keen","keep away","keep off","keep on","keep out of","keep up","kernel","kettle","kick","kick around","kick back","kid","kid","kidnap","kidney","kin (pl:kin)","kind","kind","kindergarten","kit","kite","kitten","knack","knee","kneel","knight","knit","knob","knock","knock down","knock out","knock together","knot","knowledge","label","labour","lace","lack","lad","ladder","laden","lag","lamb","lame","lament","land","landlord","landmark","landscape","lane","lantern","lap","lapse","lapse","laptop","large","lash (eyelash)","lash out","last","latch","late","late","lateral","latter","laugh","laughter","launch","laundry","lavish","law","lawn","lawsuit","lay (laid, laid)","lay down","lay off","lay out","layer","layout","lazy","lead","lead up to","leaf (pl: leaves)","leak","lean","lean against","lean over","leap","lease","leash","leather","leave (left, left)","leave behind","ledge","leek","leftover","leg","legacy","legal","legislation","legitimate","leisure","lend (lent, lent)","length","lens","lessen","lest","let in on","let off","let smb down","let smb in","let up","letter","lettuce","level","lever","liable","liaison","liberate","liberty","library","licence (license)","lick","lid","lie","lie (lay, lain)","lifelong","lift","light (lit, lit)","light up","lightning","like","like that","likely","likewise","limb","limit","limp","line","line","line up","lineage","linen","linen","lineup","linger","link","lip","lipstick","liquid","list","listen in on","literal","literary","literate","litter","live up to","livelihood","liven up","liver","livestock","lizard","load","loaf","loan","loathe","lobby","lobster","local","locate","lock","lock up","locker","locus","lodge","lodge","loft","log","lone","long ago","long for","longevity","look","look after","look around","look at","look for","look forward","look into","look out","look smb up","look up","look up to","loom","loop","loose","loot","lord","loss","lot","loud","lounge","lounge","lousy","lovely","lower","loyal","lucrative","ludicrous","luggage","lumber","lump","lunar","luncheon","lung","lurch","lure","lurk","lush","lust","luxury","lyrics","magazine","magician","magnificent","magnify","magnitude","maid","maiden","mainland","maintain","majesty","major","make fun of","make into","make of","make out","make out","make sure","make up","make up","make up for","makeup","male","mall","mammal","mammoth","manage","mandatory","manifest","mankind","mansion","mantle","manual","manual","manufacture","manure","map out","maple","marble","margin","margin","marine","marital","maritime","mark","mark down","marry","marsh","martial","martyr","marvel","mash","massacre","master","master","masterpiece","mat","match","match","mate","maternal","matter","matter","matter","mature","may","mayor","maze","meadow","meager","meal","mean","mean (meant, meant)","mean (meant, meant)","mean (meant, meant)","means","meantime","meanwhile","measure","measure","mediate","medicine","medieval","mediocre","meditate","medium","meet (met, met)","melon","melt","member","memoirs","memories","memory","menace","mend","mental","mention","mentor","merchandise","merchant","mercury","mercy","mere","merge","merit","merry","mesh","mess","mess up","mess with","metropolitan","mid","middle","midnight","midst","midwife","might","mild","mileage","military","mill","millennium","mimic","mince","mind","mindful","mine","mine","mingle","minor","minor","mint","miracle","mischief","miserable","misery","misery","miss","miss","missile","missing","mist","mistake","mistake for","mistress","mistress","mitigate","mix up","mixture","moan","mob","mock","mode","moderate","modest","modify","moist","mold (mould)","mold (mould)","mole","mole","molest","monastery","monetary","monk","mood","moose","mop","moreover","moron","mortal","mortgage","mosque","mosquito","moss","mostly","moth","motion","motto","mound","mount","mount","mount","mountain","mourn","move","move out","move over","movie","mow","muck","mud","mug","multiple","multiply","multitude","mumble","mural","murder","murky","murmur","muscle","mushroom","Muslim","mustache (moustache)","mustard","muster","mute","mutter","mutual","muzzle","mystery","nail","nail","naked","name after","nanny","nap","napkin","narrate","narrow","nasty","native","native","natural","naughty","nausea","navigate","navy","neat","necessary","neck","necklace","needle","neglect","negligent","negotiate","neighbour","neither","neither","neither...nor","nephew","nerd","nerve","nest","net","network","never","nevertheless","newcomer","newspaper","nibble on","niche","niece","nightmare","nipple","nitrogen","no matter","noble","nod","noise","nominate","none","nonetheless","noodles","noon","north","nose around","nostril","notch","note","notice","notify","notion","notorious","notwithstanding","noun","nourish","novel","novelty","nuclear","nude","nudge","nuisance","numb","numeric (numerical)","numerous","nun","nurse","nurture","nut","nutrient","nutrition","nuts","oak","oath","oats","obedience","obese","obey","object","objective","oblige","oblique","obscene","obscure","observe","obsess","obsolete","obstacle","obstruct","obtain","obvious","occasion","occupation","occupy","occur","occur to","odd","odds","odor (odour)","offence","offence (offense)","offend","offer","officer","offset","offspring","oil","oil","ominous","omit","on account of","on behalf of","on foot","on purpose","on the contrary","once","ongoing","onion","onset","onward (onwards)","opaque","opening","operate","opinion","opportunity","oppose","opposite","oppress","opt for","option","oral","orchard","order","order","order","ordinary","oriental","origin","original","orphan","ostensibly","otherwise","ought","ounce","out loud","outcome","outdated","outdoor (outdoors)","outer","outfit","outgoing","outing","outlaw","outlet","outline","outlook","outnumber","output","outrage","outright","outset","outskirts","outstanding","outstanding","outweigh","oven","over","overall","overcome","overflow","overhead","overhear","overlap","overlook","overnight","override","overseas","oversee","oversight","overt","overtake","overthrow","overtime","overturn","overview","overwhelm","owe","owe","owl","own","oxygen","oyster","pace","pack","pack","pad","pad","pad","paddle","pagan","pain","pair","pal","palace","pale","palm","pan","pancake","pant","pants","paper","paperwork","paragraph","parcel","pardon","parlor","parrot","parsley","part","part","participate","particle","particular","partisan","partition","part-time","pass","pass away","pass by","pass off as","pass out","pass smth on","pass up","passage","passenger","passion","past","past","pastime","pastry","pasture","pat","patch","path","pathetic","patient","patio","patrol","patron","pattern","pause","pave","paw","pay back","pay off","pay out","payment","pea","peaceful","peacekeeper","peach","peanut","pear","pearl","peasant","pebble","peck","peculiar","peddle","pedestrian","pee","peek","peel","peer","peer","peg","penalty","pending","penetrate","peninsula","pepper","per","perceive","perception","perennial","perfect","perform","perhaps","peril","period","perish","perk","perk up","permanent","permit","perpetual","perplex","persecute","persist","persist","personnel","persuade","pervasive","pervert","pest","pet","petal","petroleum","petty","phony","physician","pick","pick on","pick out","pick up","pick up","pickle","pie","piece","pier","pierce","pigeon","pile","pile up","pill","pillar","pillow","pin","pinch","pine","pineapple","pipe","pipe","piss","piss about","piss off","pit","pitch","pitch","pity","pivot","placement","placid","plague","plain","plain","plain","plane","plank","plant","plant","plaque","plaster","plate","plausible","playground","plea","please","pleasure","pledge","pledge","plenty","plight","plot","plot","plow","pluck","plug","plug in","plum","plumbing","plump","plunge","plural","pocket","point","point","point","point","point","point out","poise","poison","poke","poke out","pole","pole","policy","polish","polite","poll","pollute","pond","ponder","pool","poor","pope","population","porcelain","porch","pork","portable","porter","portray","possess","possible","post","postpone","posture","pot","potato","potent","pouch","poultry","pound","pound","pour","pour in (into)","poverty","powder","powerful","practice","prairie","praise","pray","preach","precarious","precaution","precede","precious","precise","preclude","predator","predecessor","predict","predominant","prefer","pregnant","prejudice","preliminary","premature","premise","premises","preoccupy","prepare","prescribe","present","present","preserve","preside","press","presume","pretend","pretext","pretty","pretty","prevail","prevent","prevent smb from","previous","prey","prick","pride","priest","primary","prime","primitive","principal","prior","prison","pristine","privacy","private","probable","probe","probe","procedure","proceed","process","proclaim","procure","prod","produce","proficient","profit","profound","prohibit","prolong","prominent","promise","promote","prompt","prompt","prone","pronounce","proof","prop","propagate","propel","proper","property","prophet","proponent","propose","prosecute","prosecute","prospect","prosper","protect","proud","prove","proverb","provide","provided","provisional","proximity","prudent","pry","publish","puddle","puff","pull back","pull off","pull over","pull through","pump","pumpkin","punch","punish","pupil","puppet","puppy","purchase","pure","purge","purple","purpose","purse","pursue","pursuit","put aside","put away","put in","put off","put off","put on","put on","put out","put out","put smb down","put smth down to","put through","put together","put up","put up with","puzzle","quaint","quality","quantity","quarrel","quarry","quarter","queer","query","quest","question","questionnaire","queue","quiet","quilt","quit (quit, quit)","quite","quiz","quote","rabbit","race","race","rack","radiate","raft","rag","rage","raid","rail","railway","rainbow","raise","raise","raisin","rake","rally","rally","ram","ramble","ramp","random","range","rank","ransom","rape","rapid","rare","rash","raspberry","rate","rate","rather","ratio","rationale","rattle","ravage","raw","ray","razor","reach","reach out","read out","read up on","real estate","realize","realm","reap","rear","reason","reason","rebel","rebound","recall","recede","receipt","receipt","receive","recent","reception","recess","recess","recipe","recipient","reciprocal","recite","reckless","reckon","recognize","recollection","reconcile","record","recount","recover","recreation","recruit","rectangle","recur","recycle","redeem","reduce","redundant","reed","reel","refer","refine","reflect","refrain","refresh","refrigerator","refuge","refugee","refund","refuse","refute","regain","regard","regard","regiment","register","regret","regular","rehearse","reign","rein","reinforce","reject","rejoice","relate","relative","relative","relay","release","relentless","relevant","relief","relieve","relish","reluctant","rely","remain","remainder","remains","remark","remedy","remind","reminiscent","remnant","remorse","remote","remove","render","render","renew","renovate","renown","rent","repair","repay","repeal","repel","replace","replicate","reply","report","represent","repress","reproduce","request","require","rescue","research","resemble","resent","reserve","reserve","reserved","reside","residue","resign","resilient","resist","resolute","resolve","resolve","resort","resort to","respective","respond","response","responsible","rest","rest","rest","restore","restrain","restrict","result in","resume","resurrect","retail","retain","retaliate","retarded","retention","retire","retract","retreat","retrieve","retrospect","return","reveal","revenge","revenue","revere","reverse","review","revise","revive","revolt","revolve","reward","rhyme","rib","ribbon","rice","rich","rid","riddle","ride","ridge","ridicule","ridiculous","rifle","rift","rig","right away","righteous","rigid","rigorous","rim","ring (rang, rung)","rinse","riot","rip","rip off","ripe","ripple","rise (rose, risen)","rite","rival","rivet","roadside","roadway","roam","roar","roast","rob","robe","robust","rock","rock","rod","rodent","rogue","roll","roll","roll up","roof","room","root","root out","rope","rope in (into)","rot","rotate","rotate","rotten","rough","rough up","round","round down","rouse","route","row","row","royal","rub","rubber","rubbish","rubble","rude","ruffle","rug","rugged","ruin","rule","rule","ruler","rumble","rumor (rumour)","run","run after","run away","run counter","run into","run out of","run over","runaway","runway","rupture","rural","rush","rust","rustic","rustle","rut","ruthless","sack","sacred","sacrifice","saddle","safe","sail","saint","salary","sale","salesperson","salient","saliva","salmon","salt","salvage","salvation","sample","sanctuary","sand","sane","satellite","satisfy","saturated","saucepan","saucer","sausage","savage","save up","savings","savior","savor","scaffold","scale","scale","scale","scales","scant","scar","scarce","scare","scarf","scarlet","scatter","scent","schedule","scheme","scholar","scholarship (money)","science","scissors","scold","scoop","scope","score","scorn","scour","scout","scowl","scramble","scramble","scrambled eggs","scrap","scrape","scrape through","scrape together","scratch","scream","screech","screenplay","screw","screw","screw up","scribble","scrub","scrutiny","scurry","seal","seal","seam","search","seasoning","seat","secular","secure","sediment","seduce","see off","see through","see to","seed","seek (sought, sought)","seem","seep","segregate","seize","seldom","select","selfish","sell out of","send (sent, sent)","send out","senior","sensation","sense","sense","sensible","sensitive","sentence","sentence","sentiment","separate","sequence","serene","series","sermon","serve","serve","serve","set","set (set, set)","set about","set down","set out","set out for","set smb back","set smb back","set smb up","set smb up with","set smb up with","settle","settle","settle for","settle in","settle on","sever","several","severe","sew","sewage","sex","shabby","shack","shade","shade","shadow","shaft","shaft","shake (shook, shaken)","shake (shook, shaken)","shake off","shake up","shallow","shame","shape","share","share","shareholder","shark","sharp","shatter","shave","shed","shed (shed, shed)","sheep (pl:sheep)","sheer","sheer","sheet","shelf (pl: shelves)","shell","shelter","shepherd","shield","shift","shift","shimmer","shine (shone, shined)","ship","shirt","shiver","shoe","shoot (shot, shot)","shoot (shot, shot)","shore","shortage","shoulder","shout","shove","shovel","show around","show off","show up","showcase","shower","shred","shrewd","shriek","shrimp","shrine","shrink (shrank, shrunk)","shroud","shrub","shrug","shudder","shuffle","shun","shut (shut, shut)","shut out","shut up","shy","siblings","sick","sideline","sidewalk","sideways","siege","sift","sigh","sight","sight","sign","sign","sign up","signature","significant","signify","silent","silk","sill","silly","similar","simmer","simple","simulate","simultaneous","sin","since","since","sincere","single","singular","sinister","sink","sink (sank, sunk)","sip","sit around","sit back","sit out","site","situate","size up","skate","sketch","ski","skid","skill","skillet","skim","skin","skinny","skip","skirt","skull","slab","slack","slam","slant","slap","slash","slate","slaughter","slave","slay (slew, slain)","sleek","sleep around","sleeve","slender","slice","slick","slide (slid, slid)","slight","slim","slime","slip","slipper","slippery","slit","slope","sloppy","slot","slow down","sludge","slum","slump","slut","sly","smack","smart","smash","smear","smell","smirk","smooth","smother","smudge","smuggle","snack","snag","snail","snake","snap","snapshot","snarl","snatch","sneak","sneakers","sneer","sneeze","sniff","snore","snort","snowball","snug","so far","soak","soap","soar","sob","sober","sober up","so-called","soccer","society","sock","socket","soften","software","soil","solar","sole","sole","solemn","solid","solid","solitary","solitude","solution","solution","solve","someday","somewhat","soon","soot","soothe","sophisticated","sore","sorrow","sound","sour","source","south","sovereign","sow (sowed, sown)","space","space","spade","span","spare","spare","spare","spark","sparkle","sparse","spawn","speak out","speak up","spear","special","species","specific","specify","specimen","speck","spectacle","spectator","speculate","speed up","spell","spell","spell out","spend (spent, spent)","spice","spike","spill","spin","spine","spirit","spit (spat, spat)","splash","splendid","splinter","split (split, split)","split up","spoil","spokesman","sponge","spooky","spot","spot","spot","spotlight","spouse","sprawl","spread (spread, spread)","spring (sprang, sprung)","spring (sprang, sprung)","sprinkle","sprout","spur","spy (on)","squad","square","square","squash","squat","squeak","squeal","squeeze","squid","squint","squirm","squirrel","squirt","stab","stable","stack","staff","stage","stage","stagger","stain","stairs","stake","stake","stale","stalk","stalk","stall","stall","stamp","stance","stand","stand against","stand by","stand for","stand for","stand out","standpoint","staple","stare","stark","start up","startle","starve","stash","state","state","state","stature","statutory","stay","stay","stay up","steady","steal (stole, stolen)","stealth","steam","steel","steep","steer","stellar","stem","step","step down","step in","stern","stew","stick","stick (stuck, stuck)","stick at","stick out","stick to","stick together","stiff","stifle","still","sting (stung, stung)","stink (stank, stunk)","stir","stir up","stitch","stock","stock","stock up on","stocking","stomach","stomp","stool","stoop","stoop","stop over","store","store","stout","stove","straight","straightforward","strain","strait","strand","strand","strangle","strap","straw","strawberry","stray","streak","stream","strength","stress","stretch","strew (strewn, strewn)","strict","stride (strode, stridden)","strike","strike (struck, struck)","strike out","string","stringent","strip","strip","stripe","strive (strove, striven)","stroke","stroll","struggle","stubborn","stud","stuff","stuffy","stumble","stump","stun","stunt","stupid","sturdy","subdue","subject","subject","sublime","submerge","submit","submit to","subordinate","subscribe","subsequent","subside","subsidiary","subsist","substance","substantial","substantive","substitute","subtitle","subtle","subtract","suburb","subvert","subway","succeed","success","succession","successor","succumb","suck","sudden","sue","suffer","suffice","sufficient","suffocate","suggest","suit","suit","suitcase","suite","sulfur (sulphur)","sum","sum up","summary","summit","summon","sunset","superb","superficial","superintendent","superior","supervise","supplement","supply","supply","support","suppose","suppress","supreme","sure","surf","surface","surge","surgery","surpass","surplus","surprise","surrender","surround","surveillance","survey","survive","susceptible","suspect","suspend","suspicious","sustain","swallow","swamp","swan","swap","swarm","sway","swear","swear","sweat","sweep","sweep (swept, swept)","sweetheart","swell (swelled, swollen)","swift","swing (swung, swung)","swirl","switch","swoop","sword","syllable","symbol","sympathy","syringe","table","tablet","tack","tack","tackle","tackle","tag","tail","tailor","taint","take","take a look","take a walk","take aback","take advantage of","take after","take apart","take away","take care","take down","take in","take off","take off","take on","take on","take over","take part","take place","take up","talk into","talk over","talk smb out","tall","tally","tame","tan","tangible","tangle","tank","tap","tap","tape","tar","target","tart","task","taste","tattered","taunt","tax","team","tear","tear (tore, torn)","tease","tedious","teenage","tell apart","tell from","tell off","tell on","temper","temple","temple","temporary","tempt","tenant","tend","tend","tender","tense","tent","tentative","term","term","terminal","terminate","terms","terms","terrain","terrible","terrify","terror","testament","testify","testimony","text","thank","thaw","theater (theatre)","theft","theme","thereafter","thereby","therefore","thermal","thick","thick","thief (pl: thieves)","thigh","thin","think over","thirst","thorn","thorough","though (even though)","thought","thread","threat","threshold","thrift","thrill","thrive","throat","throng","throw (threw, thrown)","throw away","throw up","thrust","thud","thug","thumb","thump","thunder","thus","thwart","tick","tick","ticket","tickle","tide","tidy","tie","tie","tied up","tier","tight","tile","tilt","timber","timely","timetable","timid","tin","tinker with","tint","tiny","tip","tip","tip (tips)","tip smb off","tire (tyre)","tired","tissue","tissue","title","toddler","toe","toil","token","tolerate","toll","tomb","tongue","tool","tooth (pl: teeth)","topic","topple","tops","torch","torment","torture","toss","total","touch","touch","tough","tournament","tout","tow","toward (towards)","towel","tower","toy with","trace","track","track down","trade","traffic light","trail","train","train","trait","traitor","tram","tramp","tranquil","transcend","transcript","transfer","transition","transmit","transparent","trap","trash","tray","treachery","tread","treasure","treat","treaty","trek","tremble","tremendous","trench","trial","trial","triangle","tribe","tribute","trick","trickle","trigger","trim","trip","triple","troop","trophy","troublesome","trousers","trout","truck","trump","trumpet","trunk","trunk","trunk","trust","try on","try out","tub","tube","tube","tube","tuck","tug","tuition","tumble","tumor (tumour)","tuna","tune","tune","turkey","turmoil","turn","turn away","turn down","turn into","turn off","turn off","turn on","turn on","turn out","turn over","turn up","turnover","turtle","tutor","tweak","twig","twilight","twin","twinkle","twirl","twist","twitch","type","ugly","ultimate","umbrella","unanimous","unbelievable","uncle","undergo","underground","underlie","underline","undermine","underneath","underpants","underscore","undertake","underwear","undo","union","unique","unit","unite","universe","unless","upcoming","update","uphill","uphold","upper","upright","upright","uprising (rising)","upset","upside down","up-to-date","upwards (upward)","urban","urge","urgent","usage","used to","useful","utility","utilize","utter","utter","vacation","vague","vain","vain","valid","valley","value","valve","van","vanish","vapor","variety","various","varnish","vary","vase","vast","vault","vault","veer","vegetable","vegetation","vehicle","veil","vein","velocity","velvet","vendor","vengeance","vent","venture","verb","verge","verge","verify","versatile","verse","vessel","vessel","vest","via","viable","vice","vice versa","vicinity","vicious","victim","view","vigil","vigor","village","villain","vine","vinegar","violate","violent","violet","violin","virgin","virtual","virtue","visible","vision","visit","vital","vivid","vocabulary","vocation","void","volatile","volume","volume","volume","voluntary","vomit","vote","vow","voyage","vulnerable","wad","wade","waffle","wag","wage","wail","waist","waiter","waive","wake (up)","wallet","wallpaper","walnut","wander","wane","ward","ward","ward off","warden","wardrobe","warehouse","warfare","warmth","warn","warp","warrant","warrior","wary","wash down","wash up","wash up","waste","waste","watch","watchful","water down","watercolor","waterfall","wave","wave","waver","wax","way","weak","wealth","weapon","wear","wear off","wear out","weary","weave","wedding","wedge","weed","weep","weigh","weight","weird","welcome","weld","welfare","welfare","well","well-being","well-off","west","wet","whack","whale","whatsoever","wheat","wheel","whereabouts","whereas","whereby","whether","whim","whine","whip","whirl","whisk","whisper","whistle","whiz","whiz","whole","wholesale","whore","wicked","wide","widespread","widow","width","wield","wiggle","wilderness","wildlife","will","willow","wince","wind (wound, wound)","wind up","windowpane","wine","wink","wipe","wipe out","wire","wise","wit","witch","withdraw","wither","withhold","within","within","withstand","witness","wizard","wobble","woe","wonder","wonder","woo","wood","wool","work out","work out","workshop","worldwide","worm","worry","worsen","worship","worth","worthwhile","wound","wrap","wrath","wreath","wreck","wrench","wrestle","wretched","wrinkle","wrist","write out","wrong","wrongdoing","yacht","yank","yard","yawn","yearn","yell","yet","yet","yield","yield","youngster","youth","zeal","zipper","zoo"]'},95485:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","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":"Ĳ","ijlig":"ĳ","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":"ŉ","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":"‌"}')}},i={},a,s,l;function c(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,c),n.loaded=!0,n.exports}c.m=o,c.amdO={},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);c.r(n);var r={};a=a||[null,s({}),s([]),s(s)];for(var o=2&t&&e;"object"==typeof o&&!~a.indexOf(o);o=s(o))Object.getOwnPropertyNames(o).forEach(t=>r[t]=()=>e[t]);return r.default=()=>e,c.d(n,r),n},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>928===e?"487a582b76ec969d0b84.vendors.syntax_codemirror.js":997===e?"a6794726fa7eda006545.vendors.fs_web.js":744===e?"80387f022e44bfe19b6f.vendors.744.js":157===e?"ac0cbb28f6ca3e81e73d.vendors.pdfjs-dist.js":void 0,c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},c.l=(e,t,n,r)=>{if(l[e])l[e].push(t);else{var o,i;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var u=a[s];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")=="web-editor:"+n){o=u;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,c.nc&&o.setAttribute("nonce",c.nc),o.setAttribute("data-webpack","web-editor:"+n),o.src=e),l[e]=[t];var d=(t,n)=>{o.onerror=o.onload=null,clearTimeout(p);var r=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(e=>e(n)),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),i&&document.head.appendChild(o)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.p="/static/assets/",(()=>{var e={856:0,471:0,375:0,827:0};c.f.j=(t,n)=>{var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=c.p+c.u(t),a=new Error;c.l(i,n=>{if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,s]=n,l=0;if(i.some(t=>0!==e[t])){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);if(s)s(c)}for(t&&t(n);l<i.length;l++)o=i[l],c.o(e,o)&&e[o]&&e[o][0](),e[i[l]]=0},n=self.webpackChunkweb_editor=self.webpackChunkweb_editor||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var u=c(28492);e.exports=u})()}).call(this,n("./node_modules/process/browser.js"),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/@webnotes/web-editor-build/web-editor.js.css":function(e,t){},"./node_modules/after/index.js":function(e,t){function n(){}e.exports=function(e,t,r){var o=!1;return r=r||n,i.count=e,0===e?t():i;function i(e,n){if(i.count<=0)throw new Error("after called too many times");--i.count,e?(o=!0,t(e),t=r):0!==i.count||o||t(null,n)}}},"./node_modules/arraybuffer.slice/index.js":function(e,t){e.exports=function(e,t,n){var r=e.byteLength;if(t=t||0,n=n||r,e.slice)return e.slice(t,n);if(t<0&&(t+=r),n<0&&(n+=r),n>r&&(n=r),t>=r||t>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(e),i=new Uint8Array(n-t),a=t,s=0;a<n;a++,s++)i[s]=o[a];return i.buffer}},"./node_modules/axios/index.js":function(e,t,n){e.exports=n("./node_modules/axios/lib/axios.js")},"./node_modules/axios/lib/adapters/xhr.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js"),o=n("./node_modules/axios/lib/core/settle.js"),i=n("./node_modules/axios/lib/helpers/buildURL.js"),a=n("./node_modules/axios/lib/helpers/parseHeaders.js"),s=n("./node_modules/axios/lib/helpers/isURLSameOrigin.js"),l=n("./node_modules/axios/lib/core/createError.js"),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("./node_modules/axios/lib/helpers/btoa.js");e.exports=function(e){return new Promise((function(t,u){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in f||s(e.url)||(f=new window.XDomainRequest,h="onload",m=!0,f.onprogress=function(){},f.ontimeout=function(){}),e.auth){var g=e.auth.username||"",y=e.auth.password||"";p.Authorization="Basic "+c(g+":"+y)}if(f.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f[h]=function(){if(f&&(4===f.readyState||m)&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:1223===f.status?204:f.status,statusText:1223===f.status?"No Content":f.statusText,headers:n,config:e,request:f};o(t,u,r),f=null}},f.onerror=function(){u(l("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n("./node_modules/axios/lib/helpers/cookies.js"),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in f&&r.forEach(p,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)})),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),u(e),f=null)})),void 0===d&&(d=null),f.send(d)}))}},"./node_modules/axios/lib/axios.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js"),o=n("./node_modules/axios/lib/helpers/bind.js"),i=n("./node_modules/axios/lib/core/Axios.js"),a=n("./node_modules/axios/lib/defaults.js");function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var l=s(a);l.Axios=i,l.create=function(e){return s(r.merge(a,e))},l.Cancel=n("./node_modules/axios/lib/cancel/Cancel.js"),l.CancelToken=n("./node_modules/axios/lib/cancel/CancelToken.js"),l.isCancel=n("./node_modules/axios/lib/cancel/isCancel.js"),l.all=function(e){return Promise.all(e)},l.spread=n("./node_modules/axios/lib/helpers/spread.js"),e.exports=l,e.exports.default=l},"./node_modules/axios/lib/cancel/Cancel.js":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"./node_modules/axios/lib/cancel/CancelToken.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/cancel/Cancel.js");function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},"./node_modules/axios/lib/cancel/isCancel.js":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"./node_modules/axios/lib/core/Axios.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/defaults.js"),o=n("./node_modules/axios/lib/utils.js"),i=n("./node_modules/axios/lib/core/InterceptorManager.js"),a=n("./node_modules/axios/lib/core/dispatchRequest.js"),s=n("./node_modules/axios/lib/helpers/isAbsoluteURL.js"),l=n("./node_modules/axios/lib/helpers/combineURLs.js");function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,this.defaults,{method:"get"},e)).method=e.method.toLowerCase(),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url));var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=c},"./node_modules/axios/lib/core/InterceptorManager.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},"./node_modules/axios/lib/core/createError.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/core/enhanceError.js");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},"./node_modules/axios/lib/core/dispatchRequest.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js"),o=n("./node_modules/axios/lib/core/transformData.js"),i=n("./node_modules/axios/lib/cancel/isCancel.js"),a=n("./node_modules/axios/lib/defaults.js");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"./node_modules/axios/lib/core/enhanceError.js":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},"./node_modules/axios/lib/core/settle.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/core/createError.js");e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"./node_modules/axios/lib/core/transformData.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},"./node_modules/axios/lib/defaults.js":function(e,t,n){"use strict";(function(t){var r=n("./node_modules/axios/lib/utils.js"),o=n("./node_modules/axios/lib/helpers/normalizeHeaderName.js"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t)&&(s=n("./node_modules/axios/lib/adapters/xhr.js")),s),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/axios/lib/helpers/bind.js":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"./node_modules/axios/lib/helpers/btoa.js":function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,o=String(e),i="",a=0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|a)||(s="=",a%1);i+=s.charAt(63&t>>8-a%1*8)){if((n=o.charCodeAt(a+=3/4))>255)throw new r;t=t<<8|n}return i}},"./node_modules/axios/lib/helpers/buildURL.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)&&(t+="[]"),r.isArray(e)||(e=[e]),r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},"./node_modules/axios/lib/helpers/combineURLs.js":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"./node_modules/axios/lib/helpers/cookies.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},"./node_modules/axios/lib/helpers/isAbsoluteURL.js":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"./node_modules/axios/lib/helpers/isURLSameOrigin.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},"./node_modules/axios/lib/helpers/normalizeHeaderName.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},"./node_modules/axios/lib/helpers/parseHeaders.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/utils.js");e.exports=function(e){var t,n,o,i={};return e?(r.forEach(e.split("\n"),(function(e){o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)})),i):i}},"./node_modules/axios/lib/helpers/spread.js":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"./node_modules/axios/lib/utils.js":function(e,t,n){"use strict";var r=n("./node_modules/axios/lib/helpers/bind.js"),o=n("./node_modules/is-buffer/index.js"),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"==typeof e||a(e)||(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},"./node_modules/backo2/index.js":function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},"./node_modules/base64-arraybuffer/lib/base64-arraybuffer.js":function(e,t){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r<e.length;r++)n[e.charCodeAt(r)]=r;t.encode=function(t){var n,r=new Uint8Array(t),o=r.length,i="";for(n=0;n<o;n+=3)i+=e[r[n]>>2],i+=e[(3&r[n])<<4|r[n+1]>>4],i+=e[(15&r[n+1])<<2|r[n+2]>>6],i+=e[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},t.decode=function(e){var t,r,o,i,a,s=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(t=0;t<l;t+=4)r=n[e.charCodeAt(t)],o=n[e.charCodeAt(t+1)],i=n[e.charCodeAt(t+2)],a=n[e.charCodeAt(t+3)],d[c++]=r<<2|o>>4,d[c++]=(15&o)<<4|i>>2,d[c++]=(3&i)<<6|63&a;return u}}()},"./node_modules/base64-js/index.js":function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){for(var t,n=c(e),r=n[0],a=n[1],s=new i(function(e,t,n){return 3*(t+n)/4-n}(0,r,a)),l=0,u=a>0?r-4:r,d=0;d<u;d+=4)t=o[e.charCodeAt(d)]<<18|o[e.charCodeAt(d+1)]<<12|o[e.charCodeAt(d+2)]<<6|o[e.charCodeAt(d+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;2===a&&(t=o[e.charCodeAt(d)]<<2|o[e.charCodeAt(d+1)]>>4,s[l++]=255&t);1===a&&(t=o[e.charCodeAt(d)]<<10|o[e.charCodeAt(d+1)]<<4|o[e.charCodeAt(d+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t);return s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(u(e,a,a+16383>s?s:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},"./node_modules/blob/index.js":function(e,t,n){(function(t){var n=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder,r=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),o=r&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),i=n&&n.prototype.append&&n.prototype.getBlob;function a(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.buffer instanceof ArrayBuffer){var r=n.buffer;if(n.byteLength!==r.byteLength){var o=new Uint8Array(n.byteLength);o.set(new Uint8Array(r,n.byteOffset,n.byteLength)),r=o.buffer}e[t]=r}}}function s(e,t){t=t||{};var r=new n;a(e);for(var o=0;o<e.length;o++)r.append(e[o]);return t.type?r.getBlob(t.type):r.getBlob()}function l(e,t){return a(e),new Blob(e,t||{})}e.exports=r?o?t.Blob:l:i?s:void 0}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/component-bind/index.js":function(e,t){var n=[].slice;e.exports=function(e,t){if("string"==typeof t&&(t=e[t]),"function"!=typeof t)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return t.apply(e,r.concat(n.call(arguments)))}}},"./node_modules/component-emitter/index.js":function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"./node_modules/component-inherit/index.js":function(e,t){e.exports=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},"./node_modules/debug/src/browser.js":function(e,t,n){(function(r){function o(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n("./node_modules/debug/src/debug.js")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=o,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(o())}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/debug/src/debug.js":function(e,t,n){var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,i=o-(r||o);e.diff=i,e.prev=r,e.curr=o,r=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var o=t.formatters[r];if("function"==typeof o){var i=a[l];n=o.call(e,i),a.splice(l,1),l--}return n})),t.formatArgs.call(e,a);var c=n.log||t.log||console.log.bind(console);c.apply(e,a)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,o=0;o<r;o++)n[o]&&("-"===(e=n[o].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n("./node_modules/ms/index.js"),t.names=[],t.skips=[],t.formatters={}},"./node_modules/desandro-matches-selector/matches-selector.js":function(e,t,n){var r,o;!function(i,a){"use strict";void 0===(o="function"==typeof(r=a)?r.call(t,n,t,e):r)||(e.exports=o)}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var r=t[n]+"MatchesSelector";if(e[r])return r}}();return function(t,n){return t[e](n)}}))},"./node_modules/engine.io-client/index.js":function(e,t,n){e.exports=n("./node_modules/engine.io-client/lib/index.js")},"./node_modules/engine.io-client/lib/index.js":function(e,t,n){e.exports=n("./node_modules/engine.io-client/lib/socket.js"),e.exports.parser=n("./node_modules/engine.io-parser/lib/browser.js")},"./node_modules/engine.io-client/lib/socket.js":function(e,t,n){(function(t){var r=n("./node_modules/engine.io-client/lib/transports/index.js"),o=n("./node_modules/component-emitter/index.js"),i=n("./node_modules/debug/src/browser.js")("engine.io-client:socket"),a=n("./node_modules/indexof/index.js"),s=n("./node_modules/engine.io-parser/lib/browser.js"),l=n("./node_modules/parseuri/index.js"),c=n("./node_modules/parsejson/index.js"),u=n("./node_modules/parseqs/index.js");function d(e,n){if(!(this instanceof d))return new d(e,n);n=n||{},e&&"object"==typeof e&&(n=e,e=null),e?(e=l(e),n.hostname=e.host,n.secure="https"===e.protocol||"wss"===e.protocol,n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=l(n.host).host),this.secure=null!=n.secure?n.secure:t.location&&"https:"===location.protocol,n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.agent=n.agent||!1,this.hostname=n.hostname||(t.location?location.hostname:"localhost"),this.port=n.port||(t.location&&location.port?location.port:this.secure?443:80),this.query=n.query||{},"string"==typeof this.query&&(this.query=u.decode(this.query)),this.upgrade=!1!==n.upgrade,this.path=(n.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!n.forceJSONP,this.jsonp=!1!==n.jsonp,this.forceBase64=!!n.forceBase64,this.enablesXDR=!!n.enablesXDR,this.timestampParam=n.timestampParam||"t",this.timestampRequests=n.timestampRequests,this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=n.policyPort||843,this.rememberUpgrade=n.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=n.onlyBinaryUpgrades,this.perMessageDeflate=!1!==n.perMessageDeflate&&(n.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=n.pfx||null,this.key=n.key||null,this.passphrase=n.passphrase||null,this.cert=n.cert||null,this.ca=n.ca||null,this.ciphers=n.ciphers||null,this.rejectUnauthorized=void 0===n.rejectUnauthorized?null:n.rejectUnauthorized,this.forceNode=!!n.forceNode;var r="object"==typeof t&&t;r.global===r&&(n.extraHeaders&&Object.keys(n.extraHeaders).length>0&&(this.extraHeaders=n.extraHeaders),n.localAddress&&(this.localAddress=n.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}e.exports=d,d.priorWebsocketSuccess=!1,o(d.prototype),d.protocol=s.protocol,d.Socket=d,d.Transport=n("./node_modules/engine.io-client/lib/transport.js"),d.transports=n("./node_modules/engine.io-client/lib/transports/index.js"),d.parser=n("./node_modules/engine.io-parser/lib/browser.js"),d.prototype.createTransport=function(e){i('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.query);return t.EIO=s.protocol,t.transport=e,this.id&&(t.sid=this.id),new r[e]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:t,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized,perMessageDeflate:this.perMessageDeflate,extraHeaders:this.extraHeaders,forceNode:this.forceNode,localAddress:this.localAddress})},d.prototype.open=function(){var e;if(this.rememberUpgrade&&d.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout((function(){t.emit("error","No transports available")}),0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},d.prototype.setTransport=function(e){i("setting transport %s",e.name);var t=this;this.transport&&(i("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",(function(){t.onDrain()})).on("packet",(function(e){t.onPacket(e)})).on("error",(function(e){t.onError(e)})).on("close",(function(){t.onClose("transport close")}))},d.prototype.probe=function(e){i('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,r=this;function o(){if(r.onlyBinaryUpgrades){var o=!this.supportsBinary&&r.transport.supportsBinary;n=n||o}n||(i('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(i('probe transport "%s" pong',e),r.upgrading=!0,r.emit("upgrading",t),!t)return;d.priorWebsocketSuccess="websocket"===t.name,i('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(i("changing transport and sending upgrade packet"),p(),r.setTransport(t),t.send([{type:"upgrade"}]),r.emit("upgrade",t),t=null,r.upgrading=!1,r.flush())}))}else{i('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,r.emit("upgradeError",a)}})))}function a(){n||(n=!0,p(),t.close(),t=null)}function s(n){var o=new Error("probe error: "+n);o.transport=t.name,a(),i('probe transport "%s" failed because of error: %s',e,n),r.emit("upgradeError",o)}function l(){s("transport closed")}function c(){s("socket closed")}function u(e){t&&e.name!==t.name&&(i('"%s" works - aborting "%s"',e.name,t.name),a())}function p(){t.removeListener("open",o),t.removeListener("error",s),t.removeListener("close",l),r.removeListener("close",c),r.removeListener("upgrading",u)}d.priorWebsocketSuccess=!1,t.once("open",o),t.once("error",s),t.once("close",l),this.once("close",c),this.once("upgrading",u),t.open()},d.prototype.onOpen=function(){if(i("socket open"),this.readyState="open",d.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){i("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},d.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(i('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(c(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else i('packet received with socket readyState "%s"',this.readyState)},d.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},d.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout((function(){"closed"!==t.readyState&&t.onClose("ping timeout")}),e||t.pingInterval+t.pingTimeout)},d.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout((function(){i("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)}),e.pingInterval)},d.prototype.ping=function(){var e=this;this.sendPacket("ping",(function(){e.emit("ping")}))},d.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},d.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(i("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},d.prototype.write=d.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},d.prototype.sendPacket=function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},d.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?r():t()})):this.upgrading?r():t()}function t(){e.onClose("forced close"),i("socket closing - telling transport to close"),e.transport.close()}function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()}function r(){e.once("upgrade",n),e.once("upgradeError",n)}return this},d.prototype.onError=function(e){i("socket error %j",e),d.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},d.prototype.onClose=function(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){i('socket close with reason: "%s"',e);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0}},d.prototype.filterUpgrades=function(e){for(var t=[],n=0,r=e.length;n<r;n++)~a(this.transports,e[n])&&t.push(e[n]);return t}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-client/lib/transport.js":function(e,t,n){var r=n("./node_modules/engine.io-parser/lib/browser.js"),o=n("./node_modules/component-emitter/index.js");function i(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}e.exports=i,o(i.prototype),i.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},i.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},i.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},i.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},i.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},i.prototype.onData=function(e){var t=r.decodePacket(e,this.socket.binaryType);this.onPacket(t)},i.prototype.onPacket=function(e){this.emit("packet",e)},i.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},"./node_modules/engine.io-client/lib/transports/index.js":function(e,t,n){(function(e){var r=n("./node_modules/engine.io-client/lib/xmlhttprequest.js"),o=n("./node_modules/engine.io-client/lib/transports/polling-xhr.js"),i=n("./node_modules/engine.io-client/lib/transports/polling-jsonp.js"),a=n("./node_modules/engine.io-client/lib/transports/websocket.js");t.polling=function(t){var n=!1,a=!1,s=!1!==t.jsonp;if(e.location){var l="https:"===location.protocol,c=location.port;c||(c=l?443:80),n=t.hostname!==location.hostname||c!==t.port,a=t.secure!==l}if(t.xdomain=n,t.xscheme=a,"open"in new r(t)&&!t.forceJSONP)return new o(t);if(!s)throw new Error("JSONP disabled");return new i(t)},t.websocket=a}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-client/lib/transports/polling-jsonp.js":function(e,t,n){(function(t){var r=n("./node_modules/engine.io-client/lib/transports/polling.js"),o=n("./node_modules/component-inherit/index.js");e.exports=c;var i,a=/\n/g,s=/\\n/g;function l(){}function c(e){r.call(this,e),this.query=this.query||{},i||(t.___eio||(t.___eio=[]),i=t.___eio),this.index=i.length;var n=this;i.push((function(e){n.onData(e)})),this.query.j=this.index,t.document&&t.addEventListener&&t.addEventListener("beforeunload",(function(){n.script&&(n.script.onerror=l)}),!1)}o(c,r),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),r.prototype.doClose.call(this)},c.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)}),100)},c.prototype.doWrite=function(e,t){var n=this;if(!this.form){var r,o=document.createElement("form"),i=document.createElement("textarea"),l=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=l,o.method="POST",o.setAttribute("accept-charset","utf-8"),i.name="d",o.appendChild(i),document.body.appendChild(o),this.form=o,this.area=i}function c(){u(),t()}function u(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{var e='<iframe src="javascript:0" name="'+n.iframeId+'">';r=document.createElement(e)}catch(e){(r=document.createElement("iframe")).name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),u(),e=e.replace(s,"\\\n"),this.area.value=e.replace(a,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&c()}:this.iframe.onload=c}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-client/lib/transports/polling-xhr.js":function(e,t,n){(function(t){var r=n("./node_modules/engine.io-client/lib/xmlhttprequest.js"),o=n("./node_modules/engine.io-client/lib/transports/polling.js"),i=n("./node_modules/component-emitter/index.js"),a=n("./node_modules/component-inherit/index.js"),s=n("./node_modules/debug/src/browser.js")("engine.io-client:polling-xhr");function l(){}function c(e){if(o.call(this,e),this.requestTimeout=e.requestTimeout,t.location){var n="https:"===location.protocol,r=location.port;r||(r=n?443:80),this.xd=e.hostname!==t.location.hostname||r!==e.port,this.xs=e.secure!==n}else this.extraHeaders=e.extraHeaders}function u(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function d(){for(var e in u.requests)u.requests.hasOwnProperty(e)&&u.requests[e].abort()}e.exports=c,e.exports.Request=u,a(c,o),c.prototype.supportsBinary=!0,c.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new u(e)},c.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,r=this.request({method:"POST",data:e,isBinary:n}),o=this;r.on("success",t),r.on("error",(function(e){o.onError("xhr post error",e)})),this.sendXhr=r},c.prototype.doPoll=function(){s("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},i(u.prototype),u.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var n=this.xhr=new r(e),o=this;try{s("xhr open %s: %s",this.method,this.uri),n.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var i in n.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this.extraHeaders[i])}catch(e){}if(this.supportsBinary&&(n.responseType="arraybuffer"),"POST"===this.method)try{this.isBinary?n.setRequestHeader("Content-type","application/octet-stream"):n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in n&&(n.withCredentials=!0),this.requestTimeout&&(n.timeout=this.requestTimeout),this.hasXDR()?(n.onload=function(){o.onLoad()},n.onerror=function(){o.onError(n.responseText)}):n.onreadystatechange=function(){4===n.readyState&&(200===n.status||1223===n.status?o.onLoad():setTimeout((function(){o.onError(n.status)}),0))},s("xhr data %s",this.data),n.send(this.data)}catch(e){return void setTimeout((function(){o.onError(e)}),0)}t.document&&(this.index=u.requestsCount++,u.requests[this.index]=this)},u.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},u.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},u.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},u.prototype.cleanup=function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,e)try{this.xhr.abort()}catch(e){}t.document&&delete u.requests[this.index],this.xhr=null}},u.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type").split(";")[0]}catch(e){}if("application/octet-stream"===t)e=this.xhr.response||this.xhr.responseText;else if(this.supportsBinary)try{e=String.fromCharCode.apply(null,new Uint8Array(this.xhr.response))}catch(t){for(var n=new Uint8Array(this.xhr.response),r=[],o=0,i=n.length;o<i;o++)r.push(n[o]);e=String.fromCharCode.apply(null,r)}else e=this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},u.prototype.hasXDR=function(){return void 0!==t.XDomainRequest&&!this.xs&&this.enablesXDR},u.prototype.abort=function(){this.cleanup()},u.requestsCount=0,u.requests={},t.document&&(t.attachEvent?t.attachEvent("onunload",d):t.addEventListener&&t.addEventListener("beforeunload",d,!1))}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-client/lib/transports/polling.js":function(e,t,n){var r=n("./node_modules/engine.io-client/lib/transport.js"),o=n("./node_modules/parseqs/index.js"),i=n("./node_modules/engine.io-parser/lib/browser.js"),a=n("./node_modules/component-inherit/index.js"),s=n("./node_modules/yeast/index.js"),l=n("./node_modules/debug/src/browser.js")("engine.io-client:polling");e.exports=u;var c=null!=new(n("./node_modules/engine.io-client/lib/xmlhttprequest.js"))({xdomain:!1}).responseType;function u(e){var t=e&&e.forceBase64;c&&!t||(this.supportsBinary=!1),r.call(this,e)}a(u,r),u.prototype.name="polling",u.prototype.doOpen=function(){this.poll()},u.prototype.pause=function(e){var t=this;function n(){l("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(l("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){l("pre-pause polling complete"),--r||n()}))),this.writable||(l("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){l("pre-pause writing complete"),--r||n()})))}else n()},u.prototype.poll=function(){l("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},u.prototype.onData=function(e){var t=this;l("polling got data %s",e);i.decodePayload(e,this.socket.binaryType,(function(e,n,r){if("opening"===t.readyState&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():l('ignoring poll - transport state "%s"',this.readyState))},u.prototype.doClose=function(){var e=this;function t(){l("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(l("transport open - closing"),t()):(l("transport not open - deferring close"),this.once("open",t))},u.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")};i.encodePayload(e,this.supportsBinary,(function(e){t.doWrite(e,n)}))},u.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(e[this.timestampParam]=s()),this.supportsBinary||e.sid||(e.b64=1),e=o.encode(e),this.port&&("https"===t&&443!==Number(this.port)||"http"===t&&80!==Number(this.port))&&(n=":"+this.port),e.length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e}},"./node_modules/engine.io-client/lib/transports/websocket.js":function(e,t,n){(function(t){var r,o=n("./node_modules/engine.io-client/lib/transport.js"),i=n("./node_modules/engine.io-parser/lib/browser.js"),a=n("./node_modules/parseqs/index.js"),s=n("./node_modules/component-inherit/index.js"),l=n("./node_modules/yeast/index.js"),c=n("./node_modules/debug/src/browser.js")("engine.io-client:websocket"),u=t.WebSocket||t.MozWebSocket;if("undefined"==typeof window)try{r=n(2)}catch(e){}var d=u;function p(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=u&&!e.forceNode,this.usingBrowserWebSocket||(d=r),o.call(this,e)}d||"undefined"!=typeof window||(d=r),e.exports=p,s(p,o),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t={agent:this.agent,perMessageDeflate:this.perMessageDeflate};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(t.headers=this.extraHeaders),this.localAddress&&(t.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?new d(e):new d(e,void 0,t)}catch(e){return this.emit("error",e)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},p.prototype.write=function(e){var n=this;this.writable=!1;for(var r=e.length,o=0,a=r;o<a;o++)!function(e){i.encodePacket(e,n.supportsBinary,(function(o){if(!n.usingBrowserWebSocket){var i={};if(e.options&&(i.compress=e.options.compress),n.perMessageDeflate)("string"==typeof o?t.Buffer.byteLength(o):o.length)<n.perMessageDeflate.threshold&&(i.compress=!1)}try{n.usingBrowserWebSocket?n.ws.send(o):n.ws.send(o,i)}catch(e){c("websocket closed before onclose event")}--r||s()}))}(e[o]);function s(){n.emit("flush"),setTimeout((function(){n.writable=!0,n.emit("drain")}),0)}},p.prototype.onClose=function(){o.prototype.onClose.call(this)},p.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},p.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",n="";return this.port&&("wss"===t&&443!==Number(this.port)||"ws"===t&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=l()),this.supportsBinary||(e.b64=1),(e=a.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e},p.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===p.prototype.name)}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-client/lib/xmlhttprequest.js":function(e,t,n){(function(t){var r=n("./node_modules/has-cors/index.js");e.exports=function(e){var n=e.xdomain,o=e.xscheme,i=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!n||r))return new XMLHttpRequest}catch(e){}try{if("undefined"!=typeof XDomainRequest&&!o&&i)return new XDomainRequest}catch(e){}if(!n)try{return new(t[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-parser/lib/browser.js":function(e,t,n){(function(e){var r,o=n("./node_modules/engine.io-parser/lib/keys.js"),i=n("./node_modules/has-binary/index.js"),a=n("./node_modules/arraybuffer.slice/index.js"),s=n("./node_modules/after/index.js"),l=n("./node_modules/wtf-8/wtf-8.js");e&&e.ArrayBuffer&&(r=n("./node_modules/base64-arraybuffer/lib/base64-arraybuffer.js"));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||u;t.protocol=3;var p=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=o(p),h={type:"error",data:"parser error"},m=n("./node_modules/blob/index.js");function g(e,t,n){for(var r=new Array(e.length),o=s(e.length,n),i=function(e,n,o){t(n,(function(t,n){r[e]=n,o(t,r)}))},a=0;a<e.length;a++)i(a,e[a],o)}t.encodePacket=function(n,r,o,i){"function"==typeof r&&(i=r,r=!1),"function"==typeof o&&(i=o,o=null);var a=void 0===n.data?void 0:n.data.buffer||n.data;if(e.ArrayBuffer&&a instanceof ArrayBuffer)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=e.data,i=new Uint8Array(o),a=new Uint8Array(1+o.byteLength);a[0]=p[e.type];for(var s=0;s<i.length;s++)a[s+1]=i[s];return r(a.buffer)}(n,r,i);if(m&&a instanceof e.Blob)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);if(d)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=new FileReader;return o.onload=function(){e.data=o.result,t.encodePacket(e,n,!0,r)},o.readAsArrayBuffer(e.data)}(e,n,r);var o=new Uint8Array(1);o[0]=p[e.type];var i=new m([o.buffer,e.data]);return r(i)}(n,r,i);if(a&&a.base64)return function(e,n){var r="b"+t.packets[e.type]+e.data.data;return n(r)}(n,i);var s=p[n.type];return void 0!==n.data&&(s+=o?l.encode(String(n.data)):String(n.data)),i(""+s)},t.encodeBase64Packet=function(n,r){var o,i="b"+t.packets[n.type];if(m&&n.data instanceof e.Blob){var a=new FileReader;return a.onload=function(){var e=a.result.split(",")[1];r(i+e)},a.readAsDataURL(n.data)}try{o=String.fromCharCode.apply(null,new Uint8Array(n.data))}catch(e){for(var s=new Uint8Array(n.data),l=new Array(s.length),c=0;c<s.length;c++)l[c]=s[c];o=String.fromCharCode.apply(null,l)}return i+=e.btoa(o),r(i)},t.decodePacket=function(e,n,r){if(void 0===e)return h;if("string"==typeof e){if("b"==e.charAt(0))return t.decodeBase64Packet(e.substr(1),n);if(r&&!1===(e=function(e){try{e=l.decode(e)}catch(e){return!1}return e}(e)))return h;var o=e.charAt(0);return Number(o)==o&&f[o]?e.length>1?{type:f[o],data:e.substring(1)}:{type:f[o]}:h}o=new Uint8Array(e)[0];var i=a(e,1);return m&&"blob"===n&&(i=new m([i])),{type:f[o],data:i}},t.decodeBase64Packet=function(e,t){var n=f[e.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:e.substr(1)}};var o=r.decode(e.substr(1));return"blob"===t&&m&&(o=new m([o])),{type:n,data:o}},t.encodePayload=function(e,n,r){"function"==typeof n&&(r=n,n=null);var o=i(e);if(n&&o)return m&&!d?t.encodePayloadAsBlob(e,r):t.encodePayloadAsArrayBuffer(e,r);if(!e.length)return r("0:");g(e,(function(e,r){t.encodePacket(e,!!o&&n,!0,(function(e){r(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return r(t.join(""))}))},t.decodePayload=function(e,n,r){if("string"!=typeof e)return t.decodePayloadAsBinary(e,n,r);var o;if("function"==typeof n&&(r=n,n=null),""==e)return r(h,0,1);for(var i,a,s="",l=0,c=e.length;l<c;l++){var u=e.charAt(l);if(":"!=u)s+=u;else{if(""==s||s!=(i=Number(s)))return r(h,0,1);if(s!=(a=e.substr(l+1,i)).length)return r(h,0,1);if(a.length){if(o=t.decodePacket(a,n,!0),h.type==o.type&&h.data==o.data)return r(h,0,1);if(!1===r(o,l+i,c))return}l+=i,s=""}}return""!=s?r(h,0,1):void 0},t.encodePayloadAsArrayBuffer=function(e,n){if(!e.length)return n(new ArrayBuffer(0));g(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){return n(null,e)}))}),(function(e,t){var r=t.reduce((function(e,t){var n;return e+(n="string"==typeof t?t.length:t.byteLength).toString().length+n+2}),0),o=new Uint8Array(r),i=0;return t.forEach((function(e){var t="string"==typeof e,n=e;if(t){for(var r=new Uint8Array(e.length),a=0;a<e.length;a++)r[a]=e.charCodeAt(a);n=r.buffer}o[i++]=t?0:1;var s=n.byteLength.toString();for(a=0;a<s.length;a++)o[i++]=parseInt(s[a]);o[i++]=255;for(r=new Uint8Array(n),a=0;a<r.length;a++)o[i++]=r[a]})),n(o.buffer)}))},t.encodePayloadAsBlob=function(e,n){g(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){var t=new Uint8Array(1);if(t[0]=1,"string"==typeof e){for(var r=new Uint8Array(e.length),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);e=r.buffer,t[0]=0}var i=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),a=new Uint8Array(i.length+1);for(o=0;o<i.length;o++)a[o]=parseInt(i[o]);if(a[i.length]=255,m){var s=new m([t.buffer,a.buffer,e]);n(null,s)}}))}),(function(e,t){return n(new m(t))}))},t.decodePayloadAsBinary=function(e,n,r){"function"==typeof n&&(r=n,n=null);for(var o=e,i=[],s=!1;o.byteLength>0;){for(var l=new Uint8Array(o),c=0===l[0],u="",d=1;255!=l[d];d++){if(u.length>310){s=!0;break}u+=l[d]}if(s)return r(h,0,1);o=a(o,2+u.length),u=parseInt(u);var p=a(o,0,u);if(c)try{p=String.fromCharCode.apply(null,new Uint8Array(p))}catch(e){var f=new Uint8Array(p);p="";for(d=0;d<f.length;d++)p+=String.fromCharCode(f[d])}i.push(p),o=a(o,u)}var m=i.length;i.forEach((function(e,o){r(t.decodePacket(e,n,!0),o,m)}))}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/engine.io-parser/lib/keys.js":function(e,t){e.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var r in e)n.call(e,r)&&t.push(r);return t}},"./node_modules/ev-emitter/ev-emitter.js":function(e,t,n){var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],o=0;o<n.length;o++){var i=n[o];r&&r[i]&&(this.off(e,i),delete r[i]),i.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?r.call(t,n,t,e):r)||(e.exports=o)},"./node_modules/fizzy-ui-utils/utils.js":function(e,t,n){var r,o;!function(i,a){r=[n("./node_modules/desandro-matches-selector/matches-selector.js")],void 0===(o=function(e){return function(e,t){"use strict";var n={extend:function(e,t){for(var n in t)e[n]=t[n];return e},modulo:function(e,t){return(e%t+t)%t}},r=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?r.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,r){e=n.makeArray(e);var o=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(r){t(e,r)&&o.push(e);for(var n=e.querySelectorAll(r),i=0;i<n.length;i++)o.push(n[i])}else o.push(e)})),o},n.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o];clearTimeout(e);var t=arguments,i=this;this[o]=setTimeout((function(){r.apply(i,t),delete i[o]}),n)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,n){return t+"-"+n})).toLowerCase()};var o=e.console;return n.htmlInit=function(t,r){n.docReady((function(){var i=n.toDashed(r),a="data-"+i,s=document.querySelectorAll("["+a+"]"),l=document.querySelectorAll(".js-"+i),c=n.makeArray(s).concat(n.makeArray(l)),u=a+"-options",d=e.jQuery;c.forEach((function(e){var n,i=e.getAttribute(a)||e.getAttribute(u);try{n=i&&JSON.parse(i)}catch(t){return void(o&&o.error("Error parsing "+a+" on "+e.className+": "+t))}var s=new t(e,n);d&&d.data(e,r,s)}))}))},n}(i,e)}.apply(t,r))||(e.exports=o)}(window)},"./node_modules/get-size/get-size.js":function(e,t,n){var r,o;window,void 0===(o="function"==typeof(r=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=n.length;function o(e){var n=getComputedStyle(e);return n||t("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),n}var i,a=!1;function s(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var r=o(t);i=200==Math.round(e(r.width)),s.isBoxSizeOuter=i,n.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var l=o(t);if("none"==l.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<r;t++)e[n[t]]=0;return e}();var c={};c.width=t.offsetWidth,c.height=t.offsetHeight;for(var u=c.isBorderBox="border-box"==l.boxSizing,d=0;d<r;d++){var p=n[d],f=l[p],h=parseFloat(f);c[p]=isNaN(h)?0:h}var m=c.paddingLeft+c.paddingRight,g=c.paddingTop+c.paddingBottom,y=c.marginLeft+c.marginRight,v=c.marginTop+c.marginBottom,b=c.borderLeftWidth+c.borderRightWidth,_=c.borderTopWidth+c.borderBottomWidth,w=u&&i,C=e(l.width);!1!==C&&(c.width=C+(w?0:m+b));var S=e(l.height);return!1!==S&&(c.height=S+(w?0:g+_)),c.innerWidth=c.width-(m+b),c.innerHeight=c.height-(g+_),c.outerWidth=c.width+y,c.outerHeight=c.height+v,c}}return s})?r.call(t,n,t,e):r)||(e.exports=o)},"./node_modules/has-binary/index.js":function(e,t,n){(function(t){var r=n("./node_modules/isarray/index.js");e.exports=function(e){return function e(n){if(!n)return!1;if(t.Buffer&&t.Buffer.isBuffer&&t.Buffer.isBuffer(n)||t.ArrayBuffer&&n instanceof ArrayBuffer||t.Blob&&n instanceof Blob||t.File&&n instanceof File)return!0;if(r(n)){for(var o=0;o<n.length;o++)if(e(n[o]))return!0}else if(n&&"object"==typeof n)for(var i in n.toJSON&&"function"==typeof n.toJSON&&(n=n.toJSON()),n)if(Object.prototype.hasOwnProperty.call(n,i)&&e(n[i]))return!0;return!1}(e)}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/has-cors/index.js":function(e,t){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},"./node_modules/iconv-lite/encodings/dbcs-codec.js":function(e,t,n){"use strict";var r=n("./node_modules/safer-buffer/safer.js").Buffer;t._dbcs=a;for(var o=new Array(256),i=0;i<256;i++)o[i]=-1;function a(e,t){if(this.encodingName=e.encodingName,!e)throw new Error("DBCS codec is called without the data.");if(!e.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var n=e.table();this.decodeTables=[],this.decodeTables[0]=o.slice(0),this.decodeTableSeq=[];for(var r=0;r<n.length;r++)this._addDecodeChunk(n[r]);this.defaultCharUnicode=t.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var i={};if(e.encodeSkipVals)for(r=0;r<e.encodeSkipVals.length;r++){var a=e.encodeSkipVals[r];if("number"==typeof a)i[a]=!0;else for(var s=a.from;s<=a.to;s++)i[s]=!0}if(this._fillEncodeTable(0,0,i),e.encodeAdd)for(var l in e.encodeAdd)Object.prototype.hasOwnProperty.call(e.encodeAdd,l)&&this._setEncodeChar(l.charCodeAt(0),e.encodeAdd[l]);if(this.defCharSB=this.encodeTable[0][t.defaultCharSingleByte.charCodeAt(0)],-1===this.defCharSB&&(this.defCharSB=this.encodeTable[0]["?"]),-1===this.defCharSB&&(this.defCharSB="?".charCodeAt(0)),"function"==typeof e.gb18030){this.gb18030=e.gb18030();var c=this.decodeTables.length,u=this.decodeTables[c]=o.slice(0),d=this.decodeTables.length,p=this.decodeTables[d]=o.slice(0);for(r=129;r<=254;r++){var f=-1e3-this.decodeTables[0][r],h=this.decodeTables[f];for(s=48;s<=57;s++)h[s]=-1e3-c}for(r=129;r<=254;r++)u[r]=-1e3-d;for(r=48;r<=57;r++)p[r]=-2}}function s(e,t){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=t.encodeTable,this.encodeTableSeq=t.encodeTableSeq,this.defaultCharSingleByte=t.defCharSB,this.gb18030=t.gb18030}function l(e,t){this.nodeIdx=0,this.prevBuf=r.alloc(0),this.decodeTables=t.decodeTables,this.decodeTableSeq=t.decodeTableSeq,this.defaultCharUnicode=t.defaultCharUnicode,this.gb18030=t.gb18030}function c(e,t){if(e[0]>t)return-1;for(var n=0,r=e.length;n<r-1;){var o=n+Math.floor((r-n+1)/2);e[o]<=t?n=o:r=o}return n}a.prototype.encoder=s,a.prototype.decoder=l,a.prototype._getDecodeTrieNode=function(e){for(var t=[];e>0;e>>=8)t.push(255&e);0==t.length&&t.push(0);for(var n=this.decodeTables[0],r=t.length-1;r>0;r--){var i=n[t[r]];if(-1==i)n[t[r]]=-1e3-this.decodeTables.length,this.decodeTables.push(n=o.slice(0));else{if(!(i<=-1e3))throw new Error("Overwrite byte in "+this.encodingName+", addr: "+e.toString(16));n=this.decodeTables[-1e3-i]}}return n},a.prototype._addDecodeChunk=function(e){var t=parseInt(e[0],16),n=this._getDecodeTrieNode(t);t&=255;for(var r=1;r<e.length;r++){var o=e[r];if("string"==typeof o)for(var i=0;i<o.length;){var a=o.charCodeAt(i++);if(55296<=a&&a<56320){var s=o.charCodeAt(i++);if(!(56320<=s&&s<57344))throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+e[0]);n[t++]=65536+1024*(a-55296)+(s-56320)}else if(4080<a&&a<=4095){for(var l=4095-a+2,c=[],u=0;u<l;u++)c.push(o.charCodeAt(i++));n[t++]=-10-this.decodeTableSeq.length,this.decodeTableSeq.push(c)}else n[t++]=a}else{if("number"!=typeof o)throw new Error("Incorrect type '"+typeof o+"' given in "+this.encodingName+" at chunk "+e[0]);var d=n[t-1]+1;for(i=0;i<o;i++)n[t++]=d++}}if(t>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+e[0]+": too long"+t)},a.prototype._getEncodeBucket=function(e){var t=e>>8;return void 0===this.encodeTable[t]&&(this.encodeTable[t]=o.slice(0)),this.encodeTable[t]},a.prototype._setEncodeChar=function(e,t){var n=this._getEncodeBucket(e),r=255&e;n[r]<=-10?this.encodeTableSeq[-10-n[r]][-1]=t:-1==n[r]&&(n[r]=t)},a.prototype._setEncodeSequence=function(e,t){var n,r=e[0],o=this._getEncodeBucket(r),i=255&r;o[i]<=-10?n=this.encodeTableSeq[-10-o[i]]:(n={},-1!==o[i]&&(n[-1]=o[i]),o[i]=-10-this.encodeTableSeq.length,this.encodeTableSeq.push(n));for(var a=1;a<e.length-1;a++){var s=n[r];"object"==typeof s?n=s:(n=n[r]={},void 0!==s&&(n[-1]=s))}n[r=e[e.length-1]]=t},a.prototype._fillEncodeTable=function(e,t,n){for(var r=this.decodeTables[e],o=0;o<256;o++){var i=r[o],a=t+o;n[a]||(i>=0?this._setEncodeChar(i,a):i<=-1e3?this._fillEncodeTable(-1e3-i,a<<8,n):i<=-10&&this._setEncodeSequence(this.decodeTableSeq[-10-i],a))}},s.prototype.write=function(e){for(var t=r.alloc(e.length*(this.gb18030?4:3)),n=this.leadSurrogate,o=this.seqObj,i=-1,a=0,s=0;;){if(-1===i){if(a==e.length)break;var l=e.charCodeAt(a++)}else{l=i;i=-1}if(55296<=l&&l<57344)if(l<56320){if(-1===n){n=l;continue}n=l,l=-1}else-1!==n?(l=65536+1024*(n-55296)+(l-56320),n=-1):l=-1;else-1!==n&&(i=l,l=-1,n=-1);var u=-1;if(void 0!==o&&-1!=l){var d=o[l];if("object"==typeof d){o=d;continue}"number"==typeof d?u=d:null==d&&void 0!==(d=o[-1])&&(u=d,i=l),o=void 0}else if(l>=0){var p=this.encodeTable[l>>8];if(void 0!==p&&(u=p[255&l]),u<=-10){o=this.encodeTableSeq[-10-u];continue}if(-1==u&&this.gb18030){var f=c(this.gb18030.uChars,l);if(-1!=f){u=this.gb18030.gbChars[f]+(l-this.gb18030.uChars[f]);t[s++]=129+Math.floor(u/12600),u%=12600,t[s++]=48+Math.floor(u/1260),u%=1260,t[s++]=129+Math.floor(u/10),u%=10,t[s++]=48+u;continue}}}-1===u&&(u=this.defaultCharSingleByte),u<256?t[s++]=u:u<65536?(t[s++]=u>>8,t[s++]=255&u):(t[s++]=u>>16,t[s++]=u>>8&255,t[s++]=255&u)}return this.seqObj=o,this.leadSurrogate=n,t.slice(0,s)},s.prototype.end=function(){if(-1!==this.leadSurrogate||void 0!==this.seqObj){var e=r.alloc(10),t=0;if(this.seqObj){var n=this.seqObj[-1];void 0!==n&&(n<256?e[t++]=n:(e[t++]=n>>8,e[t++]=255&n)),this.seqObj=void 0}return-1!==this.leadSurrogate&&(e[t++]=this.defaultCharSingleByte,this.leadSurrogate=-1),e.slice(0,t)}},s.prototype.findIdx=c,l.prototype.write=function(e){var t=r.alloc(2*e.length),n=this.nodeIdx,o=this.prevBuf,i=this.prevBuf.length,a=-this.prevBuf.length;i>0&&(o=r.concat([o,e.slice(0,10)]));for(var s=0,l=0;s<e.length;s++){var u,d=s>=0?e[s]:o[s+i];if((u=this.decodeTables[n][d])>=0);else if(-1===u)s=a,u=this.defaultCharUnicode.charCodeAt(0);else if(-2===u){var p=a>=0?e.slice(a,s+1):o.slice(a+i,s+1+i),f=12600*(p[0]-129)+1260*(p[1]-48)+10*(p[2]-129)+(p[3]-48),h=c(this.gb18030.gbChars,f);u=this.gb18030.uChars[h]+f-this.gb18030.gbChars[h]}else{if(u<=-1e3){n=-1e3-u;continue}if(!(u<=-10))throw new Error("iconv-lite internal error: invalid decoding table value "+u+" at "+n+"/"+d);for(var m=this.decodeTableSeq[-10-u],g=0;g<m.length-1;g++)u=m[g],t[l++]=255&u,t[l++]=u>>8;u=m[m.length-1]}if(u>65535){u-=65536;var y=55296+Math.floor(u/1024);t[l++]=255&y,t[l++]=y>>8,u=56320+u%1024}t[l++]=255&u,t[l++]=u>>8,n=0,a=s+1}return this.nodeIdx=n,this.prevBuf=a>=0?e.slice(a):o.slice(a+i),t.slice(0,l).toString("ucs2")},l.prototype.end=function(){for(var e="";this.prevBuf.length>0;){e+=this.defaultCharUnicode;var t=this.prevBuf.slice(1);this.prevBuf=r.alloc(0),this.nodeIdx=0,t.length>0&&(e+=this.write(t))}return this.nodeIdx=0,e}},"./node_modules/iconv-lite/encodings/dbcs-data.js":function(e,t,n){"use strict";e.exports={shiftjis:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/shiftjis.json")},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/eucjp.json")},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/cp936.json")}},gbk:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/cp936.json").concat(n("./node_modules/iconv-lite/encodings/tables/gbk-added.json"))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/cp936.json").concat(n("./node_modules/iconv-lite/encodings/tables/gbk-added.json"))},gb18030:function(){return n("./node_modules/iconv-lite/encodings/tables/gb18030-ranges.json")},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/cp949.json")}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/cp950.json")}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return n("./node_modules/iconv-lite/encodings/tables/cp950.json").concat(n("./node_modules/iconv-lite/encodings/tables/big5-added.json"))},encodeSkipVals:[41676]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},"./node_modules/iconv-lite/encodings/index.js":function(e,t,n){"use strict";for(var r=[n("./node_modules/iconv-lite/encodings/internal.js"),n("./node_modules/iconv-lite/encodings/utf16.js"),n("./node_modules/iconv-lite/encodings/utf7.js"),n("./node_modules/iconv-lite/encodings/sbcs-codec.js"),n("./node_modules/iconv-lite/encodings/sbcs-data.js"),n("./node_modules/iconv-lite/encodings/sbcs-data-generated.js"),n("./node_modules/iconv-lite/encodings/dbcs-codec.js"),n("./node_modules/iconv-lite/encodings/dbcs-data.js")],o=0;o<r.length;o++){e=r[o];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}},"./node_modules/iconv-lite/encodings/internal.js":function(e,t,n){"use strict";var r=n("./node_modules/safer-buffer/safer.js").Buffer;function o(e,t){this.enc=e.encodingName,this.bomAware=e.bomAware,"base64"===this.enc?this.encoder=l:"cesu8"===this.enc&&(this.enc="utf8",this.encoder=c,"💩"!==r.from("eda0bdedb2a9","hex").toString()&&(this.decoder=u,this.defaultCharUnicode=t.defaultCharUnicode))}e.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:o},o.prototype.encoder=s,o.prototype.decoder=a;var i=n("./node_modules/node-libs-browser/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;function a(e,t){i.call(this,t.enc)}function s(e,t){this.enc=t.enc}function l(e,t){this.prevStr=""}function c(e,t){}function u(e,t){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=t.defaultCharUnicode}i.prototype.end||(i.prototype.end=function(){}),a.prototype=i.prototype,s.prototype.write=function(e){return r.from(e,this.enc)},s.prototype.end=function(){},l.prototype.write=function(e){var t=(e=this.prevStr+e).length-e.length%4;return this.prevStr=e.slice(t),e=e.slice(0,t),r.from(e,"base64")},l.prototype.end=function(){return r.from(this.prevStr,"base64")},c.prototype.write=function(e){for(var t=r.alloc(3*e.length),n=0,o=0;o<e.length;o++){var i=e.charCodeAt(o);i<128?t[n++]=i:i<2048?(t[n++]=192+(i>>>6),t[n++]=128+(63&i)):(t[n++]=224+(i>>>12),t[n++]=128+(i>>>6&63),t[n++]=128+(63&i))}return t.slice(0,n)},c.prototype.end=function(){},u.prototype.write=function(e){for(var t=this.acc,n=this.contBytes,r=this.accBytes,o="",i=0;i<e.length;i++){var a=e[i];128!=(192&a)?(n>0&&(o+=this.defaultCharUnicode,n=0),a<128?o+=String.fromCharCode(a):a<224?(t=31&a,n=1,r=1):a<240?(t=15&a,n=2,r=1):o+=this.defaultCharUnicode):n>0?(t=t<<6|63&a,r++,0===--n&&(o+=2===r&&t<128&&t>0||3===r&&t<2048?this.defaultCharUnicode:String.fromCharCode(t))):o+=this.defaultCharUnicode}return this.acc=t,this.contBytes=n,this.accBytes=r,o},u.prototype.end=function(){var e=0;return this.contBytes>0&&(e+=this.defaultCharUnicode),e}},"./node_modules/iconv-lite/encodings/sbcs-codec.js":function(e,t,n){"use strict";var r=n("./node_modules/safer-buffer/safer.js").Buffer;function o(e,t){if(!e)throw new Error("SBCS codec is called without the data.");if(!e.chars||128!==e.chars.length&&256!==e.chars.length)throw new Error("Encoding '"+e.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(128===e.chars.length){for(var n="",o=0;o<128;o++)n+=String.fromCharCode(o);e.chars=n+e.chars}this.decodeBuf=r.from(e.chars,"ucs2");var i=r.alloc(65536,t.defaultCharSingleByte.charCodeAt(0));for(o=0;o<e.chars.length;o++)i[e.chars.charCodeAt(o)]=o;this.encodeBuf=i}function i(e,t){this.encodeBuf=t.encodeBuf}function a(e,t){this.decodeBuf=t.decodeBuf}t._sbcs=o,o.prototype.encoder=i,o.prototype.decoder=a,i.prototype.write=function(e){for(var t=r.alloc(e.length),n=0;n<e.length;n++)t[n]=this.encodeBuf[e.charCodeAt(n)];return t},i.prototype.end=function(){},a.prototype.write=function(e){for(var t=this.decodeBuf,n=r.alloc(2*e.length),o=0,i=0,a=0;a<e.length;a++)o=2*e[a],n[i=2*a]=t[o],n[i+1]=t[o+1];return n.toString("ucs2")},a.prototype.end=function(){}},"./node_modules/iconv-lite/encodings/sbcs-data-generated.js":function(e,t,n){"use strict";e.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:" Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:" Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:" ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:" ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:" ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:" ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:" �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:" ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:" กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:" ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:" Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:" ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:" ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘę¬źČş«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞğ¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñÑªº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñÑªº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:" ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:" ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:" ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:" ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ä¹²É³ÖÜ΅àâä΄¨çéèêë£™îï•½‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:" �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:" ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},"./node_modules/iconv-lite/encodings/sbcs-data.js":function(e,t,n){"use strict";e.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆćéŹźĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņŃ¬√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},"./node_modules/iconv-lite/encodings/tables/big5-added.json":function(e){e.exports=JSON.parse('[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー［］✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","￢￤＇＂㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","￭"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]')},"./node_modules/iconv-lite/encodings/tables/cp936.json":function(e){e.exports=JSON.parse('[["0","\\u0000",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1","　、。·ˉˇ¨〃々—～‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃＄¤￠￡‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","！＂＃￥％",88,"￣"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰￢￤"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]')},"./node_modules/iconv-lite/encodings/tables/cp949.json":function(e){e.exports=JSON.parse('[["0","\\u0000",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎　、。·‥…¨〃­―∥＼∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å￠￡￥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨￢"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´～ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛！",58,"￦］",32,"￣"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","Ĳ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıĳĸŀłøœßþŧŋŉ㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]')},"./node_modules/iconv-lite/encodings/tables/cp950.json":function(e){e.exports=JSON.parse('[["0","\\u0000",127],["a140","　，、。．‧；：？！︰…‥﹐﹑﹒·﹔﹕﹖﹗｜–︱—︳╴︴﹏（）︵︶｛｝︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′＃＆＊※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯￣＿ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡＋－×÷±√＜＞＝≦≧≠∞≒≡﹢",4,"～∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣／"],["a240","＼∕﹨＄￥〒￠￡％＠℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳０",9,"Ⅰ",9,"〡",8,"十卄卅Ａ",25,"ａ",21],["a340","ｗｘｙｚΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]')},"./node_modules/iconv-lite/encodings/tables/eucjp.json":function(e){e.exports=JSON.parse('[["0","\\u0000",127],["8ea1","｡",62],["a1a1","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨￢⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","Å‰♯♭♪†‡¶"],["a2fe","◯"],["a3b0","０",9],["a3c1","Ａ",25],["a3e1","ａ",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"￢￤＇＂"],["8fa2af","˘ˇ¸˙˝¯˛˚～΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","Ĳ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıĳĸłŀŉŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]')},"./node_modules/iconv-lite/encodings/tables/gb18030-ranges.json":function(e){e.exports=JSON.parse('{"uChars":[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],"gbChars":[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}')},"./node_modules/iconv-lite/encodings/tables/gbk-added.json":function(e){e.exports=JSON.parse('[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31,"　"],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc",""],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]]')},"./node_modules/iconv-lite/encodings/tables/shiftjis.json":function(e){e.exports=JSON.parse('[["0","\\u0000",128],["a1","｡",62],["8140","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×"],["8180","÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨￢⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","Å‰♯♭♪†‡¶"],["81fc","◯"],["824f","０",9],["8260","Ａ",25],["8281","ａ",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"￢￤＇＂"],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"￢￤＇＂㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]')},"./node_modules/iconv-lite/encodings/utf16.js":function(e,t,n){"use strict";var r=n("./node_modules/safer-buffer/safer.js").Buffer;function o(){}function i(){}function a(){this.overflowByte=-1}function s(e,t){this.iconv=t}function l(e,t){void 0===(e=e||{}).addBOM&&(e.addBOM=!0),this.encoder=t.iconv.getEncoder("utf-16le",e)}function c(e,t){this.decoder=null,this.initialBytes=[],this.initialBytesLen=0,this.options=e||{},this.iconv=t.iconv}function u(e,t){var n=t||"utf-16le";if(e.length>=2)if(254==e[0]&&255==e[1])n="utf-16be";else if(255==e[0]&&254==e[1])n="utf-16le";else{for(var r=0,o=0,i=Math.min(e.length-e.length%2,64),a=0;a<i;a+=2)0===e[a]&&0!==e[a+1]&&o++,0!==e[a]&&0===e[a+1]&&r++;o>r?n="utf-16be":o<r&&(n="utf-16le")}return n}t.utf16be=o,o.prototype.encoder=i,o.prototype.decoder=a,o.prototype.bomAware=!0,i.prototype.write=function(e){for(var t=r.from(e,"ucs2"),n=0;n<t.length;n+=2){var o=t[n];t[n]=t[n+1],t[n+1]=o}return t},i.prototype.end=function(){},a.prototype.write=function(e){if(0==e.length)return"";var t=r.alloc(e.length+1),n=0,o=0;for(-1!==this.overflowByte&&(t[0]=e[0],t[1]=this.overflowByte,n=1,o=2);n<e.length-1;n+=2,o+=2)t[o]=e[n+1],t[o+1]=e[n];return this.overflowByte=n==e.length-1?e[e.length-1]:-1,t.slice(0,o).toString("ucs2")},a.prototype.end=function(){},t.utf16=s,s.prototype.encoder=l,s.prototype.decoder=c,l.prototype.write=function(e){return this.encoder.write(e)},l.prototype.end=function(){return this.encoder.end()},c.prototype.write=function(e){if(!this.decoder){if(this.initialBytes.push(e),this.initialBytesLen+=e.length,this.initialBytesLen<16)return"";var t=u(e=r.concat(this.initialBytes),this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options),this.initialBytes.length=this.initialBytesLen=0}return this.decoder.write(e)},c.prototype.end=function(){if(!this.decoder){var e=r.concat(this.initialBytes),t=u(e,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);var n=this.decoder.write(e),o=this.decoder.end();return o?n+o:n}return this.decoder.end()}},"./node_modules/iconv-lite/encodings/utf7.js":function(e,t,n){"use strict";var r=n("./node_modules/safer-buffer/safer.js").Buffer;function o(e,t){this.iconv=t}t.utf7=o,t.unicode11utf7="utf7",o.prototype.encoder=a,o.prototype.decoder=s,o.prototype.bomAware=!0;var i=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function a(e,t){this.iconv=t.iconv}function s(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=""}a.prototype.write=function(e){return r.from(e.replace(i,function(e){return"+"+("+"===e?"":this.iconv.encode(e,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))},a.prototype.end=function(){};for(var l=/[A-Za-z0-9\/+]/,c=[],u=0;u<256;u++)c[u]=l.test(String.fromCharCode(u));var d="+".charCodeAt(0),p="-".charCodeAt(0),f="&".charCodeAt(0);function h(e,t){this.iconv=t}function m(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=r.alloc(6),this.base64AccumIdx=0}function g(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=""}s.prototype.write=function(e){for(var t="",n=0,o=this.inBase64,i=this.base64Accum,a=0;a<e.length;a++)if(o){if(!c[e[a]]){if(a==n&&e[a]==p)t+="+";else{var s=i+e.slice(n,a).toString();t+=this.iconv.decode(r.from(s,"base64"),"utf16-be")}e[a]!=p&&a--,n=a+1,o=!1,i=""}}else e[a]==d&&(t+=this.iconv.decode(e.slice(n,a),"ascii"),n=a+1,o=!0);if(o){var l=(s=i+e.slice(n).toString()).length-s.length%8;i=s.slice(l),s=s.slice(0,l),t+=this.iconv.decode(r.from(s,"base64"),"utf16-be")}else t+=this.iconv.decode(e.slice(n),"ascii");return this.inBase64=o,this.base64Accum=i,t},s.prototype.end=function(){var e="";return this.inBase64&&this.base64Accum.length>0&&(e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",e},t.utf7imap=h,h.prototype.encoder=m,h.prototype.decoder=g,h.prototype.bomAware=!0,m.prototype.write=function(e){for(var t=this.inBase64,n=this.base64Accum,o=this.base64AccumIdx,i=r.alloc(5*e.length+10),a=0,s=0;s<e.length;s++){var l=e.charCodeAt(s);32<=l&&l<=126?(t&&(o>0&&(a+=i.write(n.slice(0,o).toString("base64").replace(/\//g,",").replace(/=+$/,""),a),o=0),i[a++]=p,t=!1),t||(i[a++]=l,l===f&&(i[a++]=p))):(t||(i[a++]=f,t=!0),t&&(n[o++]=l>>8,n[o++]=255&l,o==n.length&&(a+=i.write(n.toString("base64").replace(/\//g,","),a),o=0)))}return this.inBase64=t,this.base64AccumIdx=o,i.slice(0,a)},m.prototype.end=function(){var e=r.alloc(10),t=0;return this.inBase64&&(this.base64AccumIdx>0&&(t+=e.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),t),this.base64AccumIdx=0),e[t++]=p,this.inBase64=!1),e.slice(0,t)};var y=c.slice();y[",".charCodeAt(0)]=!0,g.prototype.write=function(e){for(var t="",n=0,o=this.inBase64,i=this.base64Accum,a=0;a<e.length;a++)if(o){if(!y[e[a]]){if(a==n&&e[a]==p)t+="&";else{var s=i+e.slice(n,a).toString().replace(/,/g,"/");t+=this.iconv.decode(r.from(s,"base64"),"utf16-be")}e[a]!=p&&a--,n=a+1,o=!1,i=""}}else e[a]==f&&(t+=this.iconv.decode(e.slice(n,a),"ascii"),n=a+1,o=!0);if(o){var l=(s=i+e.slice(n).toString().replace(/,/g,"/")).length-s.length%8;i=s.slice(l),s=s.slice(0,l),t+=this.iconv.decode(r.from(s,"base64"),"utf16-be")}else t+=this.iconv.decode(e.slice(n),"ascii");return this.inBase64=o,this.base64Accum=i,t},g.prototype.end=function(){var e="";return this.inBase64&&this.base64Accum.length>0&&(e=this.iconv.decode(r.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",e}},"./node_modules/iconv-lite/lib/bom-handling.js":function(e,t,n){"use strict";function r(e,t){this.encoder=e,this.addBOM=!0}function o(e,t){this.decoder=e,this.pass=!1,this.options=t||{}}t.PrependBOM=r,r.prototype.write=function(e){return this.addBOM&&(e="\ufeff"+e,this.addBOM=!1),this.encoder.write(e)},r.prototype.end=function(){return this.encoder.end()},t.StripBOM=o,o.prototype.write=function(e){var t=this.decoder.write(e);return this.pass||!t||("\ufeff"===t[0]&&(t=t.slice(1),"function"==typeof this.options.stripBOM&&this.options.stripBOM()),this.pass=!0),t},o.prototype.end=function(){return this.decoder.end()}},"./node_modules/iconv-lite/lib/index.js":function(e,t,n){"use strict";(function(t){var r=n("./node_modules/safer-buffer/safer.js").Buffer,o=n("./node_modules/iconv-lite/lib/bom-handling.js"),i=e.exports;i.encodings=null,i.defaultCharUnicode="�",i.defaultCharSingleByte="?",i.encode=function(e,t,n){e=""+(e||"");var o=i.getEncoder(t,n),a=o.write(e),s=o.end();return s&&s.length>0?r.concat([a,s]):a},i.decode=function(e,t,n){"string"==typeof e&&(i.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),i.skipDecodeWarning=!0),e=r.from(""+(e||""),"binary"));var o=i.getDecoder(t,n),a=o.write(e),s=o.end();return s?a+s:a},i.encodingExists=function(e){try{return i.getCodec(e),!0}catch(e){return!1}},i.toEncoding=i.encode,i.fromEncoding=i.decode,i._codecDataCache={},i.getCodec=function(e){i.encodings||(i.encodings=n("./node_modules/iconv-lite/encodings/index.js"));for(var t=i._canonicalizeEncoding(e),r={};;){var o=i._codecDataCache[t];if(o)return o;var a=i.encodings[t];switch(typeof a){case"string":t=a;break;case"object":for(var s in a)r[s]=a[s];r.encodingName||(r.encodingName=t),t=a.type;break;case"function":return r.encodingName||(r.encodingName=t),o=new a(r,i),i._codecDataCache[r.encodingName]=o,o;default:throw new Error("Encoding not recognized: '"+e+"' (searched as: '"+t+"')")}}},i._canonicalizeEncoding=function(e){return(""+e).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},i.getEncoder=function(e,t){var n=i.getCodec(e),r=new n.encoder(t,n);return n.bomAware&&t&&t.addBOM&&(r=new o.PrependBOM(r,t)),r},i.getDecoder=function(e,t){var n=i.getCodec(e),r=new n.decoder(t,n);return!n.bomAware||t&&!1===t.stripBOM||(r=new o.StripBOM(r,t)),r};var a=void 0!==t&&t.versions&&t.versions.node;if(a){var s=a.split(".").map(Number);(s[0]>0||s[1]>=10)&&n(0)(i),n(1)(i)}}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/ieee754/index.js":function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=c}return(f?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}},"./node_modules/indexof/index.js":function(e,t){var n=[].indexOf;e.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},"./node_modules/is-buffer/index.js":function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},"./node_modules/isarray/index.js":function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},"./node_modules/json3/lib/json3.js":function(e,t,n){(function(e,r){var o;(function(){var i=n("./node_modules/webpack/buildin/amd-options.js"),a={function:!0,object:!0},s=a[typeof t]&&t&&!t.nodeType&&t,l=a[typeof window]&&window||this,c=s&&a[typeof e]&&e&&!e.nodeType&&"object"==typeof r&&r;function u(e,t){e||(e=l.Object()),t||(t=l.Object());var n=e.Number||l.Number,r=e.String||l.String,o=e.Object||l.Object,i=e.Date||l.Date,s=e.SyntaxError||l.SyntaxError,c=e.TypeError||l.TypeError,d=e.Math||l.Math,p=e.JSON||l.JSON;"object"==typeof p&&p&&(t.stringify=p.stringify,t.parse=p.parse);var f,h,m=o.prototype,g=m.toString,y=new i(-0xc782b5b800cec);try{y=-109252==y.getUTCFullYear()&&0===y.getUTCMonth()&&1===y.getUTCDate()&&10==y.getUTCHours()&&37==y.getUTCMinutes()&&6==y.getUTCSeconds()&&708==y.getUTCMilliseconds()}catch(e){}function v(e){if(void 0!==v[e])return v[e];var o;if("bug-string-char-index"==e)o="a"!="a"[0];else if("json"==e)o=v("json-stringify")&&v("json-parse");else{var a,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var l=t.stringify,c="function"==typeof l&&y;if(c){(a=function(){return 1}).toJSON=a;try{c="0"===l(0)&&"0"===l(new n)&&'""'==l(new r)&&void 0===l(g)&&void 0===l(void 0)&&void 0===l()&&"1"===l(a)&&"[1]"==l([a])&&"[null]"==l([void 0])&&"null"==l(null)&&"[null,null,null]"==l([void 0,g,null])&&l({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===l(null,a)&&"[\n 1,\n 2\n]"==l([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==l(new i(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==l(new i(864e13))&&'"-000001-01-01T00:00:00.000Z"'==l(new i(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==l(new i(-1))}catch(e){c=!1}}o=c}if("json-parse"==e){var u=t.parse;if("function"==typeof u)try{if(0===u("0")&&!u(!1)){var d=5==(a=u(s)).a.length&&1===a.a[0];if(d){try{d=!u('"\t"')}catch(e){}if(d)try{d=1!==u("01")}catch(e){}if(d)try{d=1!==u("1.")}catch(e){}}}}catch(e){d=!1}o=d}}return v[e]=!!o}if(!v("json")){var b=v("bug-string-char-index");if(!y)var _=d.floor,w=[0,31,59,90,120,151,181,212,243,273,304,334],C=function(e,t){return w[t]+365*(e-1970)+_((e-1969+(t=+(t>1)))/4)-_((e-1901+t)/100)+_((e-1601+t)/400)};if((f=m.hasOwnProperty)||(f=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=g?f=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,f=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,f.call(this,e)}),h=function(e,t){var n,r,o,i=0;for(o in(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n)f.call(r,o)&&i++;return n=r=null,i?h=2==i?function(e,t){var n,r={},o="[object Function]"==g.call(e);for(n in e)o&&"prototype"==n||f.call(r,n)||!(r[n]=1)||!f.call(e,n)||t(n)}:function(e,t){var n,r,o="[object Function]"==g.call(e);for(n in e)o&&"prototype"==n||!f.call(e,n)||(r="constructor"===n)||t(n);(r||f.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],h=function(e,t){var n,o,i="[object Function]"==g.call(e),s=!i&&"function"!=typeof e.constructor&&a[typeof e.hasOwnProperty]&&e.hasOwnProperty||f;for(n in e)i&&"prototype"==n||!s.call(e,n)||t(n);for(o=r.length;n=r[--o];s.call(e,n)&&t(n));}),h(e,t)},!v("json-stringify")){var S={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},E=function(e,t){return("000000"+(t||0)).slice(-e)},x=function(e){for(var t='"',n=0,r=e.length,o=!b||r>10,i=o&&(b?e.split(""):e);n<r;n++){var a=e.charCodeAt(n);switch(a){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=S[a];break;default:if(a<32){t+="\\u00"+E(2,a.toString(16));break}t+=o?i[n]:e.charAt(n)}}return t+'"'},k=function(e,t,n,r,o,i,a){var s,l,u,d,p,m,y,v,b,w,S,O,T,A,P,R;try{s=t[e]}catch(e){}if("object"==typeof s&&s)if("[object Date]"!=(l=g.call(s))||f.call(s,"toJSON"))"function"==typeof s.toJSON&&("[object Number]"!=l&&"[object String]"!=l&&"[object Array]"!=l||f.call(s,"toJSON"))&&(s=s.toJSON(e));else if(s>-1/0&&s<1/0){if(C){for(p=_(s/864e5),u=_(p/365.2425)+1970-1;C(u+1,0)<=p;u++);for(d=_((p-C(u,0))/30.42);C(u,d+1)<=p;d++);p=1+p-C(u,d),y=_((m=(s%864e5+864e5)%864e5)/36e5)%24,v=_(m/6e4)%60,b=_(m/1e3)%60,w=m%1e3}else u=s.getUTCFullYear(),d=s.getUTCMonth(),p=s.getUTCDate(),y=s.getUTCHours(),v=s.getUTCMinutes(),b=s.getUTCSeconds(),w=s.getUTCMilliseconds();s=(u<=0||u>=1e4?(u<0?"-":"+")+E(6,u<0?-u:u):E(4,u))+"-"+E(2,d+1)+"-"+E(2,p)+"T"+E(2,y)+":"+E(2,v)+":"+E(2,b)+"."+E(3,w)+"Z"}else s=null;if(n&&(s=n.call(t,e,s)),null===s)return"null";if("[object Boolean]"==(l=g.call(s)))return""+s;if("[object Number]"==l)return s>-1/0&&s<1/0?""+s:"null";if("[object String]"==l)return x(""+s);if("object"==typeof s){for(A=a.length;A--;)if(a[A]===s)throw c();if(a.push(s),S=[],P=i,i+=o,"[object Array]"==l){for(T=0,A=s.length;T<A;T++)O=k(T,s,n,r,o,i,a),S.push(void 0===O?"null":O);R=S.length?o?"[\n"+i+S.join(",\n"+i)+"\n"+P+"]":"["+S.join(",")+"]":"[]"}else h(r||s,(function(e){var t=k(e,s,n,r,o,i,a);void 0!==t&&S.push(x(e)+":"+(o?" ":"")+t)})),R=S.length?o?"{\n"+i+S.join(",\n"+i)+"\n"+P+"}":"{"+S.join(",")+"}":"{}";return a.pop(),R}};t.stringify=function(e,t,n){var r,o,i,s;if(a[typeof t]&&t)if("[object Function]"==(s=g.call(t)))o=t;else if("[object Array]"==s){i={};for(var l,c=0,u=t.length;c<u;l=t[c++],("[object String]"==(s=g.call(l))||"[object Number]"==s)&&(i[l]=1));}if(n)if("[object Number]"==(s=g.call(n))){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.length<n;r+=" ");}else"[object String]"==s&&(r=n.length<=10?n:n.slice(0,10));return k("",((l={})[""]=e,l),o,i,r,"",[])}}if(!v("json-parse")){var O,T,A=r.fromCharCode,P={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},R=function(){throw O=T=null,s()},I=function(){for(var e,t,n,r,o,i=T,a=i.length;O<a;)switch(o=i.charCodeAt(O)){case 9:case 10:case 13:case 32:O++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=b?i.charAt(O):i[O],O++,e;case 34:for(e="@",O++;O<a;)if((o=i.charCodeAt(O))<32)R();else if(92==o)switch(o=i.charCodeAt(++O)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=P[o],O++;break;case 117:for(t=++O,n=O+4;O<n;O++)(o=i.charCodeAt(O))>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||R();e+=A("0x"+i.slice(t,O));break;default:R()}else{if(34==o)break;for(o=i.charCodeAt(O),t=O;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++O);e+=i.slice(t,O)}if(34==i.charCodeAt(O))return O++,e;R();default:if(t=O,45==o&&(r=!0,o=i.charCodeAt(++O)),o>=48&&o<=57){for(48==o&&((o=i.charCodeAt(O+1))>=48&&o<=57)&&R(),r=!1;O<a&&((o=i.charCodeAt(O))>=48&&o<=57);O++);if(46==i.charCodeAt(O)){for(n=++O;n<a&&((o=i.charCodeAt(n))>=48&&o<=57);n++);n==O&&R(),O=n}if(101==(o=i.charCodeAt(O))||69==o){for(43!=(o=i.charCodeAt(++O))&&45!=o||O++,n=O;n<a&&((o=i.charCodeAt(n))>=48&&o<=57);n++);n==O&&R(),O=n}return+i.slice(t,O)}if(r&&R(),"true"==i.slice(O,O+4))return O+=4,!0;if("false"==i.slice(O,O+5))return O+=5,!1;if("null"==i.slice(O,O+4))return O+=4,null;R()}return"$"},M=function(e){var t,n;if("$"==e&&R(),"string"==typeof e){if("@"==(b?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];"]"!=(e=I());n||(n=!0))n&&(","==e?"]"==(e=I())&&R():R()),","==e&&R(),t.push(M(e));return t}if("{"==e){for(t={};"}"!=(e=I());n||(n=!0))n&&(","==e?"}"==(e=I())&&R():R()),","!=e&&"string"==typeof e&&"@"==(b?e.charAt(0):e[0])&&":"==I()||R(),t[e.slice(1)]=M(I());return t}R()}return e},N=function(e,t,n){var r=D(e,t,n);void 0===r?delete e[t]:e[t]=r},D=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if("[object Array]"==g.call(o))for(r=o.length;r--;)N(o,r,n);else h(o,(function(e){N(o,e,n)}));return n.call(e,t,o)};t.parse=function(e,t){var n,r;return O=0,T=""+e,n=M(I()),"$"!=I()&&R(),O=T=null,t&&"[object Function]"==g.call(t)?D(((r={})[""]=n,r),"",t):n}}}return t.runInContext=u,t}if(!c||c.global!==c&&c.window!==c&&c.self!==c||(l=c),s&&!i)u(l,s);else{var d=l.JSON,p=l.JSON3,f=!1,h=u(l,l.JSON3={noConflict:function(){return f||(f=!0,l.JSON=d,l.JSON3=p,d=p=null),h}});l.JSON={parse:h.parse,stringify:h.stringify}}i&&(void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o))}).call(this)}).call(this,n("./node_modules/webpack/buildin/module.js")(e),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/masonry-layout/masonry.js":function(e,t,n){var r,o,i;window,o=[n("./node_modules/outlayer/outlayer.js"),n("./node_modules/get-size/get-size.js")],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n=e.create("masonry");return n.compatOptions.fitWidth="isFitWidth",n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var r=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,i=o/r,a=r-o%r;i=Math[a&&a<1?"round":"floor"](i),this.cols=Math.max(i,1)},n.prototype.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,n=t(e);this.containerWidth=n&&n.innerWidth},n.prototype._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this._getColGroup(n),o=Math.min.apply(Math,r),i=r.indexOf(o),a={x:this.columnWidth*i,y:o},s=o+e.size.outerHeight,l=this.cols+1-r.length,c=0;c<l;c++)this.colYs[i+c]=s;return a},n.prototype._getColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,r=0;r<n;r++){var o=this.colYs.slice(r,r+e);t[r]=Math.max.apply(Math,o)}return t},n.prototype._manageStamp=function(e){var n=t(e),r=this._getElementOffset(e),o=this._getOption("originLeft")?r.left:r.right,i=o+n.outerWidth,a=Math.floor(o/this.columnWidth);a=Math.max(0,a);var s=Math.floor(i/this.columnWidth);s-=i%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var l=(this._getOption("originTop")?r.top:r.bottom)+n.outerHeight,c=a;c<=s;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n.prototype._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})?r.apply(t,o):r)||(e.exports=i)},"./node_modules/ms/index.js":function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"./node_modules/nimbus-auth/src/auth.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=(n("./node_modules/@polymer/iron-ajax/iron-ajax.js"),n("./node_modules/nimbus-auth/src/login.js"),n("./node_modules/nimbus-auth/src/forget-password.js"),n("./node_modules/nimbus-auth/src/create-account.js"),n("./node_modules/nimbus-auth/src/oauth.js"),n("./node_modules/nimbus-auth/src/styles.js"),n("./node_modules/nimbus-auth/src/flex.js"),n("./node_modules/@polymer/polymer/lib/utils/html-tag.js"));class i extends r.PolymerElement{static get template(){return o.html`
    <style include="nimbus-flex"></style>
    <style include="nimbus-styles">
      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Italic.eot');
        src: url('fonts/NotoSans-Italic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Italic.woff') format('woff'),
          url('fonts/NotoSans-Italic.ttf') format('truetype');
        font-weight: normal;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Bold.eot');
        src: url('fonts/NotoSans-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Bold.woff') format('woff'),
          url('fonts/NotoSans-Bold.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-BoldItalic.eot');
        src: url('fonts/NotoSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-BoldItalic.woff') format('woff'),
          url('fonts/NotoSans-BoldItalic.ttf') format('truetype');
        font-weight: bold;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans.eot');
        src: url('fonts/NotoSans.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans.woff') format('woff'),
          url('fonts/NotoSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }

      .ndsgn-icon-close {
        display: block;
        width: 24px;
        height: 24px;
        background: url(images/close.svg) no-repeat 0px 0px;
      }
      :host(.nns-theme-night) .ndsgn-icon-close {
        background: url(images/close-dark.svg) no-repeat 0px 0px;
      }
    </style>
    <div class="ndsgn-auth-form">
      <div class="ndsgn-auth-form-content">
        <div class="ndsgn-auth-form-close" flex="none" layout="row" layout-align="end center">
          <button class="ndsgn-button ndsgn-button-cleared" type="button" on-click="close">
            <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
              <i class="ndsgn-icon-close" flex="none"></i>
            </span>
          </button>
        </div>

        <div class="ndsgn-auth-form-inner" flex="noshrink" layout="column">
          <template is="dom-if" if="{{isShowCreateAccountForm}}" restamp>
            <nimbus-create-account-form on-create-account="onCreateAccount" class\$="{{theme}}" auth-url="{{authUrl}}"></nimbus-create-account-form>
          </template>
          <template is="dom-if" if="{{isShowSignInForm}}" restamp>
            <nimbus-login-form on-login="onLogin" class\$="{{theme}}" auth-url="{{authUrl}}"></nimbus-login-form>
          </template>
          <template is="dom-if" if="{{isShowForgetPasswordForm}}" restamp>
            <nimbus-forget-password-form class\$="{{theme}}" auth-url="{{authUrl}}"></nimbus-forget-password-form>
          </template>

          <div class="ndsgn-auth-or" flex="none">
            <div class="ndsgn-auth-form-or-layout" flex="" layout="row" layout-align="center center">
              <div class="ndsgn-auth-form-or-line" flex=""></div>
              <div class="ndsgn-auth-form-or-text">or</div>
              <div class="ndsgn-auth-form-or-line" flex=""></div>
            </div>
          </div>

          <template is="dom-if" if="{{isShowOauth}}">
            <oauth-buttons></oauth-buttons>
          </template>

          <div class="ndsgn-auth-switch" flex="none">
            <template is="dom-if" if="{{isShowCreateAccountButton}}">
              <div class="ndsgn-auth-form-actions-switch-button">
                <button class="ndsgn-button ndsgn-button-full-width ndsgn-button-text-colored" type="button" on-click="createAccount">
                  <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
                    CREATE NEW ACCOUNT
                  </span>
                </button>
              </div>
            </template>
            <template is="dom-if" if="{{isShowSignInButton}}">
              <div class="ndsgn-auth-form-actions-switch-button">
                <button class="ndsgn-button ndsgn-button-full-width ndsgn-button-text-colored" type="button" on-click="signIn">
                  <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
                    SIGN IN
                  </span>
                </button>
              </div>
            </template>
            <template is="dom-if" if="{{isShowForgetPasswordButton}}">
              <div class="ndsgn-auth-form-actions-switch-button">
                <button class="ndsgn-button ndsgn-button-full-width ndsgn-button-text-colored" type="button" on-click="forgetPassword">
                  <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
                    FORGOT PASSWORD
                  </span>
                </button>
              </div>
            </template>
          </div>
        </div>
      </div>
    </div>

    <iron-ajax id="checkLoginPoll" url="{{authUrl}}/api/checklogin" handle-as="json" on-response="handleLoginPoll" on-error="handleLoginPollError" content-type="application/json"></iron-ajax>
`}static get is(){return"nimbus-auth"}static get properties(){return{authUrl:{type:String},theme:{type:String},isLoggedIn:{type:Boolean,observer:"_isLoggedInChanged"},isStopRequests:{type:Boolean},showState:{type:Number,observer:"_showStateChanged"},isShowSignInForm:Boolean,isShowCreateAccountForm:Boolean,isShowForgetPasswordForm:Boolean,isShowSignInButton:Boolean,isShowCreateAccountButton:Boolean,isShowForgetPasswordButton:Boolean,isShowOauth:Boolean}}constructor(){super()}loginPoll(e){this.isStopRequests||setTimeout(function(){this.$.checkLoginPoll.generateRequest()}.bind(this),e)}handleLoginPoll(){let{isLoggedIn:e}=this.$.checkLoginPoll.lastResponse;e?this.loginPoll(1e4):this.loginPoll(2500),this.set("isLoggedIn",e)}handleLoginPollError(){}close(){const e=new CustomEvent("auth-close",{bubbles:!0,composed:!0});this.dispatchEvent(e)}onLogin(){this.set("isLoggedIn",!0)}onCreateAccount(){this.set("isLoggedIn",!0)}signIn(){this.set("showState",0)}createAccount(){this.set("showState",1)}forgetPassword(){this.set("showState",2)}ready(){super.ready(),this.loginPoll(1e3),this.set("showState",0)}_isLoggedInChanged(){if(this.isLoggedIn){const e=new CustomEvent("login",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}_clear(){this.set("isShowCreateAccountForm",!1),this.set("isShowSignInForm",!1),this.set("isShowForgetPasswordForm",!1),this.set("isShowCreateAccountButton",!1),this.set("isShowSignInButton",!1),this.set("isShowForgetPasswordButton",!1),this.set("isShowOauth",!1)}_showStateChanged(){this._clear(),0==this.showState&&(this.set("isShowSignInForm",!0),this.set("isShowCreateAccountButton",!0),this.set("isShowForgetPasswordButton",!0),this.set("isShowOauth",!0)),1==this.showState&&(this.set("isShowCreateAccountForm",!0),this.set("isShowSignInButton",!0),this.set("isShowForgetPasswordButton",!0),this.set("isShowOauth",!1)),2==this.showState&&(this.set("isShowForgetPasswordForm",!0),this.set("isShowCreateAccountButton",!0),this.set("isShowSignInButton",!0),this.set("isShowOauth",!0))}disconnectedCallback(){super.disconnectedCallback(),this.set("isStopRequests",!0)}}window.addEventListener("message",(function(e){if(e.data&&"openid-auth-completed"==e.data.a){new CustomEvent("login",{bubbles:!0,composed:!0})}})),customElements.define(i.is,i)},"./node_modules/nimbus-auth/src/create-account.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=(n("./node_modules/nimbus-auth/src/recaptcha.js"),n("./node_modules/nimbus-auth/src/flex.js"),n("./node_modules/nimbus-auth/src/styles.js"),n("./node_modules/nimbus-auth/src/oauth.js"),n("./node_modules/@polymer/polymer/lib/utils/html-tag.js"));class i extends r.PolymerElement{static get template(){return o.html`
    <style include="nimbus-flex"></style>
    <style include="nimbus-styles">
      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Italic.eot');
        src: url('fonts/NotoSans-Italic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Italic.woff') format('woff'),
          url('fonts/NotoSans-Italic.ttf') format('truetype');
        font-weight: normal;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Bold.eot');
        src: url('fonts/NotoSans-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Bold.woff') format('woff'),
          url('fonts/NotoSans-Bold.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-BoldItalic.eot');
        src: url('fonts/NotoSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-BoldItalic.woff') format('woff'),
          url('fonts/NotoSans-BoldItalic.ttf') format('truetype');
        font-weight: bold;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans.eot');
        src: url('fonts/NotoSans.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans.woff') format('woff'),
          url('fonts/NotoSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }
      .ndsgn-checkbox {
        padding:8px 0;
        font-size:0;
        text-align: left;
      }
      .ndsgn-checkbox-content {
        position:relative;
        padding:0 0 0 24px;
        min-height:16px;
        cursor:pointer;
        display:inline-block;
      }
      .ndsgn-checkbox-container {
        position:absolute;
        left:0;
        top:0;
        width:16px;
        height:16px;
        box-sizing:border-box;
        border:1px solid #cfd1d3;
        background:#fff;
      }
      .ndsgn-checkbox-container input {
        display:block;
        width:100%;
        height:100%;
        opacity:0;
        visibility:hidden;
      }
      .ndsgn-checkbox-container input + .ndsgn-checkbox-container-state {
        left:50%;
        top:50%;
        position:absolute;
        width:16px;
        height:16px;
        background: url(images/checkbox.svg) no-repeat 0px 0px;
        opacity: 0;
        visibility: hidden;

        transform:translate(-50%, -50%);
        -webkit-transform:translate(-50%, -50%);

        transition:all 0.1s ease-out;
        -webkit-transition:all 0.1s ease-out;
      }
      .ndsgn-checkbox-container input:checked + .ndsgn-checkbox-container-state {
        opacity: 1;
        visibility: visible;
      }
      .ndsgn-checkbox-label {
        font-size:12px;
      }
      .ndsgn-auth-form-top-icon-img {
        display:block;
        background:url(images/nimbus-note.svg) no-repeat center;
        width:100%;
        height:60px;
      }

      :host(.nns-theme-night) .ndsgn-auth-form-top-icon-img {
        background: url(images/nimbus-note-dark.svg) no-repeat center;
      }
    </style>

    <iron-ajax id="create_account_ajax" url="{{authUrl}}/api/create-account" method="POST" handle-as="json" on-response="handleResponse" on-error="handleError" content-type="application/json">
    </iron-ajax>
      <div class="ndsgn-auth-form-top" flex="none">
        <div class="ndsgn-auth-form-top-icon">
          <i class="ndsgn-auth-form-top-icon-img"></i>
        </div>
        <template is="dom-if" if="{{formError}}">
          <div class="ndsgn-auth-form-top-text" flex="none">[[formError]]</div>
        </template>
      </div>

      <div class="ndsgn-auth-form-main-fields" flex="none">
        <div class="ndsgn-input" class\$="[[emailClass]]">
          <input autocapitalize="none" autocorrect="off" id="email" type="text" placeholder="Email" required="" on-keypress="keypress">
          <template is="dom-if" if="{{emailError}}">
            <div class="ndsgn-input-error-text">[[emailError]]</div>
          </template>
        </div>

        <div class="ndsgn-input" class\$="[[passwordClass]]">
          <input autocapitalize="none" autocorrect="off" id="password" type="password" placeholder="Password" required="" on-keypress="keypress">
          <template is="dom-if" if="{{passwordError}}">
            <div class="ndsgn-input-error-text">[[passwordError]]</div>
          </template>
        </div>

        <div class="ndsgn-input" class\$="[[passwordRepeatClass]]">
          <input autocapitalize="none" autocorrect="off" id="password_repeat" type="password" placeholder="Repeat password" required="" on-keypress="keypress">
          <template is="dom-if" if="{{passwordRepeatError}}">
            <div class="ndsgn-input-error-text">[[passwordRepeatError]]</div>
          </template>
        </div>

        <div class="ndsgn-checkbox" flex="none">
          <label class="ndsgn-checkbox-content">
            <div class="ndsgn-checkbox-container">
              <input type="checkbox" name="" value="">
              <span class="ndsgn-checkbox-container-state"></span>
            </div>
            <div class="ndsgn-checkbox-label">Subscribe to product updates</div>
          </label>
        </div>

        <invisible-recaptcha id="recaptcha" shadow-dom="true" recaptcha-key="6LdVYSQUAAAAAHFdGp-e_GTXTSSt8EdbLhFE67om" hide-badge="true"></invisible-recaptcha>

        <div class="ndsgn-auth-form-submit">
          <button class="ndsgn-button ndsgn-button-full-width" type="submit" on-click="sendCreateAccount">
            <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
              Sign up
            </span>
          </button>
        </div>

      </div>

      <div class="ndsgn-auth-form-notes-text" flex="none">
        By clicking "Sign up", you agree to our<br>
        <a href="https://nimbusweb.me/terms-and-conditions.php " title="Terms and Conditions">Terms and Conditions</a>
      </div>
`}static get is(){return"nimbus-create-account-form"}static get properties(){return{authUrl:String,formError:String,emailError:String,emailClass:String,passwordClass:String,passwordError:String,passwordRepeatClass:String,passwordRepeatError:String}}constructor(){super(),this.verificationFinished=this.sendData.bind(this)}connectedCallback(){this.shadowRoot.addEventListener("verification-finished",this.verificationFinished)}disconnectedCallback(){this.shadowRoot.removeEventListener("verification-finished",this.verificationFinished)}handleResponse(){let e=this.$.create_account_ajax.lastResponse;if(!e||e.error)switch(e.error){case"PASSWORD_TOO_SHORT":this.set("passwordError","Password min length is 8"),this.set("passwordClass","ndsgn-input ndsgn-input-invalid");break;case"TOO_MANY_REQUESTS":this.set("formError","Please wait 30 minutes before create new account");break;case"USER_ALREADY_EXIST":this.set("emailError","User already exist. Please sign in instead"),this.set("emailClass","ndsgn-input ndsgn-input-invalid");break;case"WRONG_EMAIL":this.set("emailError","E-mail is incorrect"),this.set("emailClass","ndsgn-input ndsgn-input-invalid");break;case"WRONG_REQUEST":this.set("formError","Something wrong")}else{const e=new CustomEvent("create-account",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}handleError(){}ready(){super.ready(),this.clearErrors(),this.$.recaptcha.render()}keypress(e){13===(e.which||e.keyCode)&&this.sendCreateAccount()}clearErrors(){this.set("emailError",""),this.set("emailClass","ndsgn-input"),this.set("passwordError",""),this.set("passwordClass","ndsgn-input"),this.set("passwordRepeatError",""),this.set("passwordRepeatClass","ndsgn-input"),this.set("formError","")}sendCreateAccount(){this.clearErrors();const e=this.$.email.value,t=this.$.password.value;let n=this.$.password_repeat.value;this.$.password.value="",this.$.password_repeat.value="";let r=!1;e||(this.set("emailError","Field can't be empty!"),this.set("emailClass","ndsgn-input ndsgn-input-invalid"),r=!0),t||(this.set("passwordError","Field can't be empty!"),this.set("passwordClass","ndsgn-input ndsgn-input-invalid"),r=!0),n!=t&&(this.set("passwordRepeatError","Passwords don't match!"),this.set("passwordRepeatClass","ndsgn-input ndsgn-input-invalid"),r=!0),r||(this.email=e,this.password=t,this.$.recaptcha.verify())}sendData(){this.$.create_account_ajax.body={email:this.email,password:this.password},this.$.create_account_ajax.generateRequest()}}customElements.define(i.is,i)},"./node_modules/nimbus-auth/src/flex.js":function(e,t){const n=document.createElement("template");n.innerHTML='\n<dom-module id="nimbus-flex" assetpath="auth.develop.nimbustest.com">\n  <template>\n    <style>\n      [flex] {\n        -webkit-flex:1 1 0;\n        -ms-flex:1;\n        flex:1 1 0;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout="row"] {\n        display: -webkit-box;\n        display: -webkit-flex;\n        display: -ms-flexbox;\n        display: flex;\n        -webkit-box-orient: horizontal;\n        -webkit-flex-direction: row;\n        -ms-flex-direction: row;\n        flex-direction:row;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout="column"] {\n        display: -webkit-box;\n        display: -webkit-flex;\n        display: -ms-flexbox;\n        display: flex;\n        -webkit-box-orient: vertical;\n        -webkit-flex-direction: column;\n        -ms-flex-direction: column;\n        flex-direction: column;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout="row"] > [flex] {min-width:0;}\n        [layout="column"] > [flex] {min-height:0;}\n\n        [flex="nogrow"] {-webkit-flex:0 1 auto; -ms-flex:0 1 auto; flex:0 1 auto;}\n        [flex="noshrink"] {-webkit-flex:1 0 auto; -ms-flex:1 0 auto; flex:1 0 auto;}\n        [flex="none"] {-webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto;}\n        [flex="grow"] {-webkit-flex:1 1 100%; -ms-flex:1 1 100%; flex:1 1 100%;}\n        [flex="auto"] {-webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto;}\n\n        [layout-align="end"], [layout-align="end center"], [layout-align="end end"], [layout-align="end start"], [layout-align="end stretch"] {\n          -webkit-justify-content: flex-end;\n          -ms-flex-pack: end;\n          justify-content: flex-end\n        }\n\n        [layout-align="start"], [layout-align="start center"], [layout-align="start end"], [layout-align="start start"], [layout-align="start stretch"] {\n          -webkit-justify-content: flex-start;\n          -ms-flex-pack: start;\n          justify-content: flex-start\n        }\n        [layout-align="center"], [layout-align="center center"], [layout-align="center end"], [layout-align="center start"], [layout-align="center stretch"] {\n          -webkit-justify-content: center;\n          -ms-flex-pack: center;\n          justify-content: center\n        }\n        [layout-align="end"], [layout-align="end center"], [layout-align="end end"], [layout-align="end start"], [layout-align="end stretch"] {\n          -webkit-justify-content: flex-end;\n          -ms-flex-pack: end;\n          justify-content: flex-end\n        }\n        [layout-align="space-around"], [layout-align="space-around center"], [layout-align="space-around end"], [layout-align="space-around start"], [layout-align="space-around stretch"] {\n          -webkit-justify-content: space-around;\n          -ms-flex-pack: distribute;\n          justify-content: space-around\n        }\n        [layout-align="space-between"], [layout-align="space-between center"], [layout-align="space-between end"], [layout-align="space-between start"], [layout-align="space-between stretch"] {\n          -webkit-justify-content: space-between;\n          -ms-flex-pack: justify;\n          justify-content: space-between\n        }\n        [layout-align="center start"], [layout-align="end start"], [layout-align="space-around start"], [layout-align="space-between start"], [layout-align="start start"] {\n          -webkit-align-items: flex-start;\n          -ms-flex-align: start;\n          align-items: flex-start;\n          -webkit-align-content: flex-start;\n          -ms-flex-line-pack: start;\n          align-content: flex-start\n        }\n        [layout-align="center center"], [layout-align="end center"], [layout-align="space-around center"], [layout-align="space-between center"], [layout-align="start center"] {\n          -webkit-align-items: center;\n          -ms-flex-align: center;\n          align-items: center;\n          -webkit-align-content: center;\n          -ms-flex-line-pack: center;\n          align-content: center;\n          max-width: 100%\n        }\n        [layout-align="center center"] > *, [layout-align="end center"] > *, [layout-align="space-around center"] > *, [layout-align="space-between center"] > *, [layout-align="start center"] > * {\n          max-width: 100%;\n          box-sizing: border-box\n        }\n        [layout-align="center end"], [layout-align="end end"], [layout-align="space-around end"], [layout-align="space-between end"], [layout-align="start end"] {\n          -webkit-align-items: flex-end;\n          -ms-flex-align: end;\n          align-items: flex-end;\n          -webkit-align-content: flex-end;\n          -ms-flex-line-pack: end;\n          align-content: flex-end\n        }\n        [layout-align="center stretch"], [layout-align="end stretch"], [layout-align="space-around stretch"], [layout-align="space-between stretch"], [layout-align="start stretch"] {\n          -webkit-align-items: stretch;\n          -ms-flex-align: stretch;\n          align-items: stretch;\n          -webkit-align-content: stretch;\n          -ms-flex-line-pack: stretch;\n          align-content: stretch\n        }\n\n\n        [layout-wrap] {\n        -webkit-box-wrap: wrap;\n        -webkit-flex-wrap: wrap;\n        -ms-flex-wrap: wrap;\n        flex-wrap:wrap;}\n\n        /**\n        * sm 768px\n        */\n        @media only screen and (max-width: 768px) {\n\n        [layout-sm="row"] {\n        display: -webkit-box;\n        display: -webkit-flex;\n        display: -ms-flexbox;\n        display: flex;\n        -webkit-box-orient: horizontal;\n        -webkit-flex-direction: row;\n        -ms-flex-direction: row;\n        flex-direction:row;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout-sm="column"] {\n        display: -webkit-box;\n        display: -webkit-flex;\n        display: -ms-flexbox;\n        display: flex;\n        -webkit-box-orient: vertical;\n        -webkit-flex-direction: column;\n        -ms-flex-direction: column;\n        flex-direction: column;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout-sm="row"] > [flex] {min-width:0;}\n        [layout-sm="column"] > [flex] {min-height:0;}\n\n        [flex-sm="nogrow"] {-webkit-flex:0 1 auto; -ms-flex:0 1 auto; flex:0 1 auto;}\n        [flex-sm="noshrink"] {-webkit-flex:1 0 auto; -ms-flex:1 0 auto; flex:1 0 auto;}\n        [flex-sm="none"] {-webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto;}\n        [flex-sm="grow"] {-webkit-flex:1 1 100%; -ms-flex:1 1 100%; flex:1 1 100%;}\n        [flex-sm="auto"] {-webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto;}\n\n        [layout-align-sm="end"], [layout-align-sm="end center"], [layout-align-sm="end end"], [layout-align-sm="end start"], [layout-align-sm="end stretch"] {\n          -webkit-justify-content: flex-end;\n          -ms-flex-pack: end;\n          justify-content: flex-end\n        }\n\n        [layout-align-sm="start"], [layout-align-sm="start center"], [layout-align-sm="start end"], [layout-align-sm="start start"], [layout-align-sm="start stretch"] {\n          -webkit-justify-content: flex-start;\n          -ms-flex-pack: start;\n          justify-content: flex-start\n        }\n        [layout-align-sm="center"], [layout-align-sm="center center"], [layout-align-sm="center end"], [layout-align-sm="center start"], [layout-align-sm="center stretch"] {\n          -webkit-justify-content: center;\n          -ms-flex-pack: center;\n          justify-content: center\n        }\n        [layout-align-sm="end"], [layout-align-sm="end center"], [layout-align-sm="end end"], [layout-align-sm="end start"], [layout-align-sm="end stretch"] {\n          -webkit-justify-content: flex-end;\n          -ms-flex-pack: end;\n          justify-content: flex-end\n        }\n        [layout-align-sm="space-around"], [layout-align-sm="space-around center"], [layout-align-sm="space-around end"], [layout-align-sm="space-around start"], [layout-align-sm="space-around stretch"] {\n          -webkit-justify-content: space-around;\n          -ms-flex-pack: distribute;\n          justify-content: space-around\n        }\n        [layout-align-sm="space-between"], [layout-align-sm="space-between center"], [layout-align-sm="space-between end"], [layout-align-sm="space-between start"], [layout-align-sm="space-between stretch"] {\n          -webkit-justify-content: space-between;\n          -ms-flex-pack: justify;\n          justify-content: space-between\n        }\n        [layout-align-sm="center start"], [layout-align-sm="end start"], [layout-align-sm="space-around start"], [layout-align-sm="space-between start"], [layout-align-sm="start start"] {\n          -webkit-align-items: flex-start;\n          -ms-flex-align: start;\n          align-items: flex-start;\n          -webkit-align-content: flex-start;\n          -ms-flex-line-pack: start;\n          align-content: flex-start\n        }\n        [layout-align-sm="center center"], [layout-align-sm="end center"], [layout-align-sm="space-around center"], [layout-align-sm="space-between center"], [layout-align-sm="start center"] {\n          -webkit-align-items: center;\n          -ms-flex-align: center;\n          align-items: center;\n          -webkit-align-content: center;\n          -ms-flex-line-pack: center;\n          align-content: center;\n          max-width: 100%\n        }\n        [layout-align-sm="center center"] > *, [layout-align-sm="end center"] > *, [layout-align-sm="space-around center"] > *, [layout-align-sm="space-between center"] > *, [layout-align-sm="start center"] > * {\n          max-width: 100%;\n          box-sizing: border-box\n        }\n        [layout-align-sm="center end"], [layout-align-sm="end end"], [layout-align-sm="space-around end"], [layout-align-sm="space-between end"], [layout-align-sm="start end"] {\n          -webkit-align-items: flex-end;\n          -ms-flex-align: end;\n          align-items: flex-end;\n          -webkit-align-content: flex-end;\n          -ms-flex-line-pack: end;\n          align-content: flex-end\n        }\n        [layout-align-sm="center stretch"], [layout-align-sm="end stretch"], [layout-align-sm="space-around stretch"], [layout-align-sm="space-between stretch"], [layout-align-sm="start stretch"] {\n          -webkit-align-items: stretch;\n          -ms-flex-align: stretch;\n          align-items: stretch;\n          -webkit-align-content: stretch;\n          -ms-flex-line-pack: stretch;\n          align-content: stretch\n        }\n\n        }\n\n\n        /**\n        * xs width < 600px\n        */\n        @media only screen and (max-width: 600px) {\n\n        [layout-xs="row"] {\n        display: -webkit-box;\n        display: -webkit-flex;\n        display: -ms-flexbox;\n        display: flex;\n        -webkit-box-orient: horizontal;\n        -webkit-flex-direction: row;\n        -ms-flex-direction: row;\n        flex-direction:row;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout-xs="column"] {\n        display: -webkit-box;\n        display: -webkit-flex;\n        display: -ms-flexbox;\n        display: flex;\n        -webkit-box-orient: vertical;\n        -webkit-flex-direction: column;\n        -ms-flex-direction: column;\n        flex-direction: column;\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;}\n\n        [layout-xs="row"] > [flex] {min-width:0;}\n        [layout-xs="column"] > [flex] {min-height:0;}\n\n        [flex-xs="nogrow"] {-webkit-flex:0 1 auto; -ms-flex:0 1 auto; flex:0 1 auto;}\n        [flex-xs="noshrink"] {-webkit-flex:1 0 auto; -ms-flex:1 0 auto; flex:1 0 auto;}\n        [flex-xs="none"] {-webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto;}\n        [flex-xs="grow"] {-webkit-flex:1 1 100%; -ms-flex:1 1 100%; flex:1 1 100%;}\n        [flex-xs="auto"] {-webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto;}\n\n        [layout-align-xs="end"], [layout-align-xs="end center"], [layout-align-xs="end end"], [layout-align-xs="end start"], [layout-align-xs="end stretch"] {\n          -webkit-justify-content: flex-end;\n          -ms-flex-pack: end;\n          justify-content: flex-end\n        }\n\n        [layout-align-xs="start"], [layout-align-xs="start center"], [layout-align-xs="start end"], [layout-align-xs="start start"], [layout-align-xs="start stretch"] {\n          -webkit-justify-content: flex-start;\n          -ms-flex-pack: start;\n          justify-content: flex-start\n        }\n        [layout-align-xs="center"], [layout-align-xs="center center"], [layout-align-xs="center end"], [layout-align-xs="center start"], [layout-align-xs="center stretch"] {\n          -webkit-justify-content: center;\n          -ms-flex-pack: center;\n          justify-content: center\n        }\n        [layout-align-xs="end"], [layout-align-xs="end center"], [layout-align-xs="end end"], [layout-align-xs="end start"], [layout-align-xs="end stretch"] {\n          -webkit-justify-content: flex-end;\n          -ms-flex-pack: end;\n          justify-content: flex-end\n        }\n        [layout-align-xs="space-around"], [layout-align-xs="space-around center"], [layout-align-xs="space-around end"], [layout-align-xs="space-around start"], [layout-align-xs="space-around stretch"] {\n          -webkit-justify-content: space-around;\n          -ms-flex-pack: distribute;\n          justify-content: space-around\n        }\n        [layout-align-xs="space-between"], [layout-align-xs="space-between center"], [layout-align-xs="space-between end"], [layout-align-xs="space-between start"], [layout-align-xs="space-between stretch"] {\n          -webkit-justify-content: space-between;\n          -ms-flex-pack: justify;\n          justify-content: space-between\n        }\n        [layout-align-xs="center start"], [layout-align-xs="end start"], [layout-align-xs="space-around start"], [layout-align-xs="space-between start"], [layout-align-xs="start start"] {\n          -webkit-align-items: flex-start;\n          -ms-flex-align: start;\n          align-items: flex-start;\n          -webkit-align-content: flex-start;\n          -ms-flex-line-pack: start;\n          align-content: flex-start\n        }\n        [layout-align-xs="center center"], [layout-align-xs="end center"], [layout-align-xs="space-around center"], [layout-align-xs="space-between center"], [layout-align-xs="start center"] {\n          -webkit-align-items: center;\n          -ms-flex-align: center;\n          align-items: center;\n          -webkit-align-content: center;\n          -ms-flex-line-pack: center;\n          align-content: center;\n          max-width: 100%\n        }\n        [layout-align-xs="center center"] > *, [layout-align-xs="end center"] > *, [layout-align-xs="space-around center"] > *, [layout-align-xs="space-between center"] > *, [layout-align-xs="start center"] > * {\n          max-width: 100%;\n          box-sizing: border-box\n        }\n        [layout-align-xs="center end"], [layout-align-xs="end end"], [layout-align-xs="space-around end"], [layout-align-xs="space-between end"], [layout-align-xs="start end"] {\n          -webkit-align-items: flex-end;\n          -ms-flex-align: end;\n          align-items: flex-end;\n          -webkit-align-content: flex-end;\n          -ms-flex-line-pack: end;\n          align-content: flex-end\n        }\n        [layout-align-xs="center stretch"], [layout-align-xs="end stretch"], [layout-align-xs="space-around stretch"], [layout-align-xs="space-between stretch"], [layout-align-xs="start stretch"] {\n          -webkit-align-items: stretch;\n          -ms-flex-align: stretch;\n          align-items: stretch;\n          -webkit-align-content: stretch;\n          -ms-flex-line-pack: stretch;\n          align-content: stretch\n        }\n\n        }\n    </style>\n  </template>\n</dom-module>',document.head.appendChild(n.content)},"./node_modules/nimbus-auth/src/forget-password.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=(n("./node_modules/nimbus-auth/src/flex.js"),n("./node_modules/nimbus-auth/src/styles.js"),n("./node_modules/@polymer/polymer/lib/utils/html-tag.js"));class i extends r.PolymerElement{static get template(){return o.html`
    <style include="nimbus-flex"></style>
    <style include="nimbus-styles">
      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Italic.eot');
        src: url('fonts/NotoSans-Italic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Italic.woff') format('woff'),
          url('fonts/NotoSans-Italic.ttf') format('truetype');
        font-weight: normal;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Bold.eot');
        src: url('fonts/NotoSans-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Bold.woff') format('woff'),
          url('fonts/NotoSans-Bold.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-BoldItalic.eot');
        src: url('fonts/NotoSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-BoldItalic.woff') format('woff'),
          url('fonts/NotoSans-BoldItalic.ttf') format('truetype');
        font-weight: bold;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans.eot');
        src: url('fonts/NotoSans.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans.woff') format('woff'),
          url('fonts/NotoSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }
      .ndsgn-auth-form-top-icon-img {
        display:block;
        background:url(images/nimbus-note.svg) no-repeat center;
        width:100%;
        height:60px;
      }

      :host(.nns-theme-night) .ndsgn-auth-form-top-icon-img {
        background: url(images/nimbus-note-dark.svg) no-repeat center;
      }
    </style>

    <iron-ajax id="forget_password_ajax" url="{{authUrl}}/api/forget-password" method="POST" handle-as="json" on-response="handleResponse" on-error="handleError" content-type="application/json"></iron-ajax>

      <div class="ndsgn-auth-form-top" flex="none">
        <div class="ndsgn-auth-form-top-icon">
          <i class="ndsgn-auth-form-top-icon-img"></i>
        </div>
        <template is="dom-if" if="{{formError}}">
          <div class="ndsgn-auth-form-top-text" flex="none">[[formError]]</div>
        </template>
      </div>

      <div class="ndsgn-auth-form-main-fields" flex="none">
        <div class\$="[[loginClass]]">
          <input autocapitalize="none" autocorrect="off" id="login" type="text" placeholder="Email or Username" required="" on-keypress="keypress">
          <template is="dom-if" if="{{loginError}}">
            <div class="ndsgn-input-error-text">[[loginError]]</div>
          </template>
        </div>

        <div class="ndsgn-auth-form-submit">
          <button class="ndsgn-button ndsgn-button-full-width" type="submit" on-click="sendLogin">
            <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
              Restore password
            </span>
          </button>
        </div>
      </div>
`}static get is(){return"nimbus-forget-password-form"}static get properties(){return{authUrl:String,formError:String,loginError:String,loginClass:String}}constructor(){super()}handleResponse(){let e=this.$.forget_password_ajax.lastResponse;if(!e||e.error)switch(e.error){case"USER_NOT_FOUND":this.set("loginError","User not found"),this.set("loginClass","ndsgn-input ndsgn-input-invalid");break;case"TOO_MANY_REQUESTS":this.set("formError","Too many attempts. Please wait 15 minutes");break;case"WRONG_REQUEST":this.set("formError","Something wrong")}else{const e=new CustomEvent("restore-password",{bubbles:!0,composed:!0});this.dispatchEvent(e),this.set("formError","Please check email")}}handleError(){}ready(){super.ready(),this.clearErrors()}keypress(e){13===(e.which||e.keyCode)&&this.sendLogin()}clearErrors(){this.set("loginError",""),this.set("loginClass","ndsgn-input"),this.set("passwordError",""),this.set("passwordClass","ndsgn-input"),this.set("formError","")}sendLogin(){this.clearErrors();let e=this.$.login.value,t=!1;e||(this.set("loginError","Field can't be empty!"),this.set("loginClass","ndsgn-input ndsgn-input-invalid"),t=!0),t||(this.$.forget_password_ajax.body={login:e},this.$.forget_password_ajax.generateRequest())}}customElements.define(i.is,i)},"./node_modules/nimbus-auth/src/login.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=(n("./node_modules/nimbus-auth/src/flex.js"),n("./node_modules/nimbus-auth/src/styles.js"),n("./node_modules/@polymer/polymer/lib/utils/html-tag.js"));class i extends r.PolymerElement{static get template(){return o.html`
    <style include="nimbus-flex"></style>
    <style include="nimbus-styles">
      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Italic.eot');
        src: url('fonts/NotoSans-Italic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Italic.woff') format('woff'),
          url('fonts/NotoSans-Italic.ttf') format('truetype');
        font-weight: normal;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Bold.eot');
        src: url('fonts/NotoSans-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Bold.woff') format('woff'),
          url('fonts/NotoSans-Bold.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-BoldItalic.eot');
        src: url('fonts/NotoSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-BoldItalic.woff') format('woff'),
          url('fonts/NotoSans-BoldItalic.ttf') format('truetype');
        font-weight: bold;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans.eot');
        src: url('fonts/NotoSans.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans.woff') format('woff'),
          url('fonts/NotoSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }
      .ndsgn-auth-form-top-icon-img {
        display:block;
        background:url(images/nimbus-note.svg) no-repeat center;
        width:100%;
        height:60px;
      }

      :host(.nns-theme-night) .ndsgn-auth-form-top-icon-img {
        background: url(images/nimbus-note-dark.svg) no-repeat center;
      }
    </style>

    <iron-ajax id="login_ajax" url="{{authUrl}}/api/login" method="POST" handle-as="json" on-response="handleResponse" on-error="handleError" content-type="application/json">
    </iron-ajax>

      <div class="ndsgn-auth-form-top" flex="none">
        <div class="ndsgn-auth-form-top-icon">
          <i class="ndsgn-auth-form-top-icon-img"></i>
        </div>
        <template is="dom-if" if="{{formError}}">
          <div class="ndsgn-auth-form-top-text" flex="none">[[formError]]</div>
        </template>
      </div>

      <div class="ndsgn-auth-form-main-fields" flex="none">
        <div class\$="[[loginClass]]">
          <input autocapitalize="none" autocorrect="off" id="login" type="text" placeholder="Email or Username" required="" on-keypress="keypress">
          <template is="dom-if" if="{{loginError}}">
            <div class="ndsgn-input-error-text">[[loginError]]</div>
          </template>
        </div>

        <div class\$="[[passwordClass]]">
          <input autocapitalize="none" autocorrect="off" id="password" type="password" placeholder="Password" required="" on-keypress="keypress">
          <template is="dom-if" if="{{passwordError}}">
            <div class="ndsgn-input-error-text">[[passwordError]]</div>
          </template>
        </div>

        <div class="ndsgn-auth-form-submit">
          <button class="ndsgn-button ndsgn-button-full-width" type="submit" on-click="sendLogin">
            <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
              Sign in
            </span>
          </button>
        </div>
      </div>
`}static get is(){return"nimbus-login-form"}static get properties(){return{authUrl:String,formError:String,loginError:String,loginClass:String,passwordClass:String,passwordError:String}}constructor(){super()}handleResponse(){let e=this.$.login_ajax.lastResponse;if(!e||e.error)switch(e.error){case"WRONG_PASSWORD":this.set("passwordError","Wrong password"),this.set("passwordClass","ndsgn-input ndsgn-input-invalid");break;case"TOO_MANY_REQUESTS":this.set("formError","Too many attempts. Please wait 15 minutes");break;case"USER_NOT_FOUND":this.set("loginError","User not found"),this.set("loginClass","ndsgn-input ndsgn-input-invalid");break;case"WRONG_REQUEST":this.set("formError","Something wrong")}else{const e=new CustomEvent("login",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}handleError(){}ready(){super.ready(),this.clearErrors()}keypress(e){13===(e.which||e.keyCode)&&this.sendLogin()}clearErrors(){this.set("loginError",""),this.set("loginClass","ndsgn-input"),this.set("passwordError",""),this.set("passwordClass","ndsgn-input"),this.set("formError","")}sendLogin(){this.clearErrors();let e=this.$.login.value,t=this.$.password.value;this.$.password.value="";let n=!1;e||(this.set("loginError","Field can't be empty!"),this.set("loginClass","ndsgn-input ndsgn-input-invalid"),n=!0),t||(this.set("passwordError","Field can't be empty!"),this.set("passwordClass","ndsgn-input ndsgn-input-invalid"),n=!0),n||(this.$.login_ajax.body={login:e,password:t},this.$.login_ajax.generateRequest())}}customElements.define(i.is,i)},"./node_modules/nimbus-auth/src/oauth.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=(n("./node_modules/nimbus-auth/src/styles.js"),n("./node_modules/nimbus-auth/src/flex.js"),n("./node_modules/@polymer/polymer/lib/utils/html-tag.js"));class i extends r.PolymerElement{static get template(){return o.html`
    <style include="nimbus-flex"></style>
    <style include="nimbus-styles">
      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Italic.eot');
        src: url('fonts/NotoSans-Italic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Italic.woff') format('woff'),
          url('fonts/NotoSans-Italic.ttf') format('truetype');
        font-weight: normal;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Bold.eot');
        src: url('fonts/NotoSans-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Bold.woff') format('woff'),
          url('fonts/NotoSans-Bold.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-BoldItalic.eot');
        src: url('fonts/NotoSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-BoldItalic.woff') format('woff'),
          url('fonts/NotoSans-BoldItalic.ttf') format('truetype');
        font-weight: bold;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans.eot');
        src: url('fonts/NotoSans.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans.woff') format('woff'),
          url('fonts/NotoSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }
      .ndsgn-icon-google {
        display: block;
        width: 18px;
        height: 18px;
        background: url(images/google.svg) no-repeat 0px 0px;
      }
      .ndsgn-icon-facebook {
        display: block;
        width: 18px;
        height: 18px;
        background: url(images/facebook.svg) no-repeat 0px 0px;
      }
    </style>

    <div class="ndsgn-auth-form-other-methods-button">
      <button class="ndsgn-button ndsgn-button-full-width ndsgn-button-google-button" type="button" on-click="showGoogle">
        <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
          <i class="ndsgn-icon-google" flex="none"></i>
          <span flex="">Sign in with Google</span>
        </span>
      </button>
    </div>
    <div class="ndsgn-auth-form-other-methods-button">
      <button class="ndsgn-button ndsgn-button-full-width ndsgn-button-facebook-button" type="button" on-click="showFacebook">
        <span class="ndsgn-button-layout" flex="" layout="row" layout-align="center center">
          <i class="ndsgn-icon-facebook" flex="none"></i>
          <span flex="">Sign in with Facebook</span>
        </span>
      </button>
    </div>
`}static get is(){return"oauth-buttons"}static get properties(){return{}}constructor(){super()}show(e){let t={google:{size:{width:500,height:500}},facebook:{size:{width:500,height:500}}};if(t[e]){var n=screen.width/2-t[e].size.width/2,r=screen.height/2-t[e].size.height/2,o="https://nimbusweb.me/auth/openidconnect.php?provider="+e;"",window.open(o,"openid_"+e,"left="+n+",top="+r+",width="+t[e].size.width+",height="+t[e].size.height)}}showFacebook(){this.show("facebook")}showGoogle(){this.show("google")}}customElements.define(i.is,i)},"./node_modules/nimbus-auth/src/recaptcha.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/@polymer/polymer/polymer-element.js"),o=n("./node_modules/@polymer/polymer/lib/utils/html-tag.js");function i(e){return new Promise((t,n)=>{try{this._handleResponse(e),t()}catch(e){n(e)}})}class a extends r.PolymerElement{static get template(){return o.html`
    <style>
      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Italic.eot');
        src: url('fonts/NotoSans-Italic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Italic.woff') format('woff'),
          url('fonts/NotoSans-Italic.ttf') format('truetype');
        font-weight: normal;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-Bold.eot');
        src: url('fonts/NotoSans-Bold.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-Bold.woff') format('woff'),
          url('fonts/NotoSans-Bold.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans-BoldItalic.eot');
        src: url('fonts/NotoSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans-BoldItalic.woff') format('woff'),
          url('fonts/NotoSans-BoldItalic.ttf') format('truetype');
        font-weight: bold;
        font-style: italic;
      }

      @font-face {
        font-family: 'Noto Sans';
        src: url('fonts/NotoSans.eot');
        src: url('fonts/NotoSans.eot?#iefix') format('embedded-opentype'),
          url('fonts/NotoSans.woff') format('woff'),
          url('fonts/NotoSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }
      :host {
        display: block;
      }
    </style>
    <div hidden\$="{{hideBadge}}" class="g-recaptcha" data-sitekey\$="{{recaptchaKey}}" data-size="invisible" data-badge\$="{{badgePosition}}" data-type\$="{{recaptchaType}}" data-tabindex\$="{{tabindex}}">
    </div>
`}static get is(){return"invisible-recaptcha"}static get properties(){return{recaptchaKey:{type:String,notify:!0},lastResponse:{type:String,notify:!0},badgePosition:{type:String,value:"bottomright"},hideBadge:{type:Boolean,value:!1},shadowDom:{type:Boolean,value:!1},recaptchaType:{type:String,value:"image"},tabindex:{type:Number,value:0}}}constructor(){super()}verify(){grecaptcha.execute()}reset(){grecaptcha.reset()}getResponse(){return lastResponse}render(e){const t=document.querySelector("div.invisible-recaptcha");t&&(grecaptcha.reset(),t.remove()),this.shadowHelper=document.createElement("div"),this.shadowHelper.classList.add("invisible-recaptcha"),document.querySelector("body").appendChild(this.shadowHelper),this.hideBadge&&(this.shadowHelper.hidden=!0);var n={sitekey:this.recaptchaKey,theme:"light",size:"invisible",callback:i.bind(this),badge:this.badgePosition,tabindex:this.tabindex,type:this.recaptchaType};grecaptcha.render(this.shadowHelper,n)}_handleResponse(){var e=grecaptcha.getResponse();this.lastResponse=e;const t=new CustomEvent("verification-finished",{token:e,bubbles:!0,composed:!0});this.dispatchEvent(t),grecaptcha.reset()}}customElements.define(a.is,a)},"./node_modules/nimbus-auth/src/styles.js":function(e,t){const n=document.createElement("template");n.innerHTML='\n<dom-module id="nimbus-styles">\n  <template>\n    <style>\n      .ndsgn-auth-form,\n      .ndsgn-auth-form * {\n        box-sizing:border-box;\n        -webkit-box-sizing:border-box;\n        -moz-box-sizing:border-box;\n        font-family:\'Noto Sans\', Verdana,Arial,sans-serif;\n      }\n\n      .ndsgn-auth-form {\n        max-width:444px !important;\n        margin: 0 auto;\n        text-align:center;\n        font-size:12px;\n        width: 100%;\n      }\n      .ndsgn-auth-form-content {\n        position: relative;\n        color: rgba(0,0,0, 0.60);\n      }\n      .ndsgn-auth-form-close {\n        padding: 0 0 8px 0;\n      }\n      .ndsgn-auth-form-inner {\n        min-height: 300px;\n        margin: 0 auto;\n      }\n\n      .ndsgn-auth-form-notes-text a {\n        color:#0096a5;\n        text-decoration:none;\n        outline:none;\n        cursor:pointer;\n      }\n      .ndsgn-auth-form-notes-text a:hover {\n        color:#148599;\n      }\n\n      .ndsgn-auth-form-top-icon,\n      .ndsgn-auth-form-top-text,\n      .ndsgn-auth-form-notes-text,\n      .ndsgn-auth-form-submit {\n        padding:8px 0;\n      }\n\n      .ndsgn-auth-switch,\n      .ndsgn-auth-or,\n      .ndsgn-auth-form-restored,\n      .ndsgn-auth-form-permission {\n        padding:8px 0;\n      }\n      .ndsgn-auth-form-other-methods-button,\n      .ndsgn-auth-form-actions-switch-button {\n        padding: 8px 0;\n      }\n\n      .ndsgn-auth-form-other-methods[layout="row"] {\n        padding: 4px;\n      }\n      .ndsgn-auth-form-other-methods[layout="row"] .ndsgn-auth-form-other-methods-button {\n        padding: 4px 8px;\n      }\n\n      .ndsgn-auth-form-or-line {\n        background:#DCDCDC;\n        height:1px;\n      }\n      .ndsgn-auth-form-or-text {\n        padding:0 4px;\n        font-size: 14px;\n      }\n\n      .ndsgn-auth-form-top-text {\n        font-size: 14px;\n        color: rgba(0,0,0, 0.8);\n      }\n\n      .ndsgn-auth-form-restored {\n        font-size: 14px;\n        color: rgba(0,0,0, 0.8);\n      }\n\n      .ndsgn-auth-form-permission-top-holder {\n        display:inline-block;\n        text-align:left;\n      }\n      .ndsgn-auth-form-permission-top-title {\n        padding:0 0 16px 0;\n        font-size: 21px;\n        color: #1D1D1D;\n        text-align: center;\n      }\n      .ndsgn-auth-form-permission-top ul li {\n        display:block;\n        list-style:none;\n        position:relative;\n        padding:2px 0 2px 20px;\n        min-height:1px;\n        font-size: 14px;\n        color: rgba(0,0,0, 0.8);\n      }\n      .ndsgn-auth-form-permission-top ul li:before {\n        content:"";\n        display:block;\n        position:absolute;\n        left:0;\n        top:6px;\n        width:10px;\n        height:10px;\n        border-radius:50%;\n        background:#0096a5;\n      }\n      .ndsgn-auth-form-permission-text {\n        padding: 24px 0 0 0;\n        font-size: 12px;\n      }\n\n      @media only screen and (max-width: 480px) {\n        .ndsgn-auth-form-form {\n          width:100%;\n        }\n      }\n\n      /*input*/\n      .ndsgn-input {padding:12px 0; position: relative;}\n      .ndsgn-input-label {display:block; padding:0 0 8px 0;}\n      .ndsgn-input input {\n        display:block;\n        width:100%;\n        padding:0 16px;\n        height:40px;\n        border:1px solid #cfd1d3;\n        border-radius:2px;\n        box-sizing:border-box;\n        -webkit-appearance:none;\n        font-size: 14px;\n\n        transition:all 0.1s ease-out;\n        -webkit-transition:all 0.1s ease-out;\n      }\n      .ndsgn-input input:hover {border-color:#bbb;}\n      .ndsgn-input input:focus {border-bottom-color:#19a1b9;}\n      .ndsgn-input-error-text {\n        font-size:12px;\n        display:none;\n        color:#FA5750;\n        padding: 0 16px;\n        text-align: left;\n        line-height: 1.2;\n        margin: 4px 0 -12px 0;\n      }\n\n      .ndsgn-input-invalid .ndsgn-input-label {color:rgb(244, 67, 54);}\n      .ndsgn-input-invalid input {border-bottom-color:rgb(244, 67, 54);}\n      .ndsgn-input-invalid .ndsgn-input-error-text {display:block;}\n\n      .ndsgn-input input[readonly] {background:#EBEFF1;}\n\n      /*button*/\n      .ndsgn-button {\n        display:inline-block;\n        vertical-align:top;\n        position:relative;\n        background:#009FB7;\n        text-align:center;\n        border:1px solid #009FB7;\n        color:#fff;\n        cursor:pointer;\n        padding:10px 16px;\n        border-radius:2px;\n        font-size:14px;\n        box-sizing:border-box;\n        text-decoration:none;\n        line-height: 18px;\n\n        transition:all 0.1s ease-out;\n        -webkit-transition:all 0.1s ease-out;\n      }\n      .ndsgn-button:hover,\n      .ndsgn-button:focus {background:#148599; border-color: #148599;}\n\n      .ndsgn-button[disabled] {background:rgba(0,0,0, 0.2); border-color: rgba(0,0,0, 0.2); cursor:auto;}\n      .ndsgn-button[disabled]:hover,\n      .ndsgn-button[disabled]:focus {background:rgba(0,0,0, 0.2); border-color: rgba(0,0,0, 0.2);}\n\n      .ndsgn-button.ndsgn-button-text-colored {color:#0095A7; background:none; border:1px solid transparent;}\n      .ndsgn-button.ndsgn-button-text-colored:hover,\n      .ndsgn-button.ndsgn-button-text-colored:focus {background:rgba(0, 149, 167, 0.1); border-color:rgba(0, 149, 167, 0.1);}\n\n      .ndsgn-button.ndsgn-button-full-width {width:100%; display:block;}\n\n      .ndsgn-button.ndsgn-button-cleared {\n        background: none;\n        border: none;\n        padding: 0;\n      }\n      .ndsgn-button.ndsgn-button-cleared:hover,\n      .ndsgn-button.ndsgn-button-cleared:focus {\n        background: none;\n        border: none;\n      }\n\n      .ndsgn-button-google-button,\n      .ndsgn-button-google-button:hover,\n      .ndsgn-button-google-button:focus {\n        background:#fff;\n        border-color: rgba(0,0,0,0.12);\n        color: rgba(0,0,0,0.60);\n      }\n      .ndsgn-button-google-button:hover,\n      .ndsgn-button-google-button:focus {\n        background: #F8F8F8;\n      }\n      .ndsgn-button-facebook-button,\n      .ndsgn-button-facebook-button:hover,\n      .ndsgn-button-facebook-button:focus {\n        background:#3c5a96;\n        border-color:#3c5a96;\n      }\n      .ndsgn-button-facebook-button:hover,\n      .ndsgn-button-facebook-button:focus {\n        background: #4064A6;\n      }\n\n      .ndsgn-button-google-button .ndsgn-button-layout,\n      .ndsgn-button-facebook-button .ndsgn-button-layout {\n        min-width: 28px;\n      }\n\n      .ndsgn-auth-form-submit .ndsgn-button {\n        padding-left: 24px;\n        padding-right: 24px;\n      }\n\n      /*query*/\n      @media only screen and (max-width: 480px) {\n        .ndsgn-auth-form-inner {\n          max-width: 320px;\n          margin: 0 auto;\n        }\n      }\n      @media only screen and (max-width: 320px) {\n        .ndsgn-auth-form-inner {\n          width: 100%;\n        }\n      }\n      :host(.nns-theme-night) .ndsgn-auth-form-content {\n        background: #414b4c;\n        border-color: #2f3737;\n        color: rgba(255,255,255, 0.6);\n      }\n\n      :host(.nns-theme-night) .ndsgn-auth-form-or-line {\n        background: #9ea5a6;\n      }\n      :host(.nns-theme-night) .ndsgn-input inputt {\n        background: #3C4849;\n        border-color:#2F3737;\n        color:#fff;\n      }\n      :host(.nns-theme-night) .ndsgn-input-invalid input {border-bottom-color:rgb(244, 67, 54);}\n      :host(.nns-theme-night) .ndsgn-input input:hover,\n      :host(.nns-theme-night) .ndsgn-input input:focus {\n        border-color:#2F3737;\n        background:rgba(181,181,181,0.10);\n      }\n      :host(.nns-theme-night) .ndsgn-input input input[readonly] {\n        background:rgba(0,0,0,0.12);\n      }\n\n      :host(.nns-theme-night) .ndsgn-auth-form-top-text,\n      :host(.nns-theme-night) .ndsgn-auth-form-restored,\n      :host(.nns-theme-night) .ndsgn-auth-form-permission-top ul li {\n        color: rgba(255,255,255, 0.8);\n      }\n\n      :host(.nns-theme-night) .ndsgn-auth-form-permission-top-title{\n        color: #fff;\n      }\n    </style>\n  </template>\n</dom-module>',document.head.appendChild(n.content)},"./node_modules/node-libs-browser/node_modules/buffer/index.js":function(e,t,n){"use strict";(function(e){var r=n("./node_modules/base64-js/index.js"),o=n("./node_modules/ieee754/index.js"),i=n("./node_modules/isarray/index.js");function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=p(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=s(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|f(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(u(t),e=s(e,t<0?0:0|f(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t){var n=t.length<0?0:0|f(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(c(e,i+p)!==c(t,p)){d=!1;break}if(d)return i}return-1}function b(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return V(U(t,e.length-n),e,n,r)}function w(e,t,n,r){return V(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function C(e,t,n,r){return w(e,t,n,r)}function S(e,t,n,r){return V(H(t),e,n,r)}function E(e,t,n,r){return V(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=F(e[i]);return o}function P(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function D(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,i){return i||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return i||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;n=new l(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);I(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);I(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:U(new l(e,r).toString()),s=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/node-libs-browser/node_modules/string_decoder/lib/string_decoder.js":function(e,t,n){"use strict";var r=n("./node_modules/safe-buffer/index.js").Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},"./node_modules/normalize.css/normalize.css":function(e,t){},"./node_modules/normalizr/dist/src/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalize=t.normalize=t.schema=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="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},i=p(n("./node_modules/normalizr/dist/src/schemas/Entity.js")),a=p(n("./node_modules/normalizr/dist/src/schemas/Union.js")),s=p(n("./node_modules/normalizr/dist/src/schemas/Values.js")),l=d(n("./node_modules/normalizr/dist/src/schemas/Array.js")),c=d(n("./node_modules/normalizr/dist/src/schemas/Object.js")),u=d(n("./node_modules/normalizr/dist/src/schemas/ImmutableUtils.js"));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function p(e){return e&&e.__esModule?e:{default:e}}t.schema={Array:l.default,Entity:i.default,Object:c.default,Union:a.default,Values:s.default},t.normalize=function(e,t){if(!e||"object"!==(void 0===e?"undefined":o(e)))throw new Error('Unexpected input given to normalize. Expected type to be "object", found "'+(void 0===e?"undefined":o(e))+'".');var n={},r=function(e){return function(t,n,r,o,i){var a=t.key,s=t.getId(r,o,i);a in e||(e[a]={});var l=e[a][s];e[a][s]=l?t.merge(l,n):n}}(n);return{entities:n,result:function e(t,n,r,i,a){return"object"===(void 0===t?"undefined":o(t))&&t?"object"!==(void 0===i?"undefined":o(i))||i.normalize&&"function"==typeof i.normalize?i.normalize(t,n,r,e,a):(Array.isArray(i)?l.normalize:c.normalize)(i,t,n,r,e,a):t}(e,e,null,t,r)}};var f=function(e){var t={},n=h(e);return function e(a,s){return"object"!==(void 0===s?"undefined":o(s))||s.denormalize&&"function"==typeof s.denormalize?null==a?a:s instanceof i.default?function(e,t,n,i,a){var s=i(e,t);if("object"!==(void 0===s?"undefined":o(s))||null===s)return s;if(a[t.key]||(a[t.key]={}),!a[t.key][e]){var l=u.isImmutable(s)?s:r({},s);a[t.key][e]=l,a[t.key][e]=t.denormalize(l,n)}return a[t.key][e]}(a,s,e,n,t):s.denormalize(a,e):(Array.isArray(s)?l.denormalize:c.denormalize)(s,a,e)}},h=function(e){var t=u.isImmutable(e);return function(n,r){var i=r.key;return"object"===(void 0===n?"undefined":o(n))?n:t?e.getIn([i,n.toString()]):e[i][n]}};t.denormalize=function(e,t,n){if(void 0!==e)return f(n)(e,t)}},"./node_modules/normalizr/dist/src/schemas/Array.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalize=t.normalize=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("./node_modules/normalizr/dist/src/schemas/Polymorphic.js"),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){if(Array.isArray(e)&&e.length>1)throw new Error("Expected schema definition to be a single schema, but found "+e.length+".");return e[0]},u=function(e){return Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t]}))},d=(t.normalize=function(e,t,n,r,o,i){return e=c(e),u(t).map((function(t,a){return o(t,n,r,e,i)}))},t.denormalize=function(e,t,n){return e=c(e),t&&t.map?t.map((function(t){return n(t,e)})):t},function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"normalize",value:function(e,t,n,r,o){var i=this;return u(e).map((function(e,a){return i.normalizeValue(e,t,n,r,o)})).filter((function(e){return null!=e}))}},{key:"denormalize",value:function(e,t){var n=this;return e&&e.map?e.map((function(e){return n.denormalizeValue(e,t)})):e}}]),t}(a.default));t.default=d},"./node_modules/normalizr/dist/src/schemas/Entity.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/normalizr/dist/src/schemas/ImmutableUtils.js"));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(e){return function(t){return a.isImmutable(t)?t.get(e):t[e]}},c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(s(this,e),!t||"string"!=typeof t)throw new Error("Expected a string key for Entity, but found "+t+".");var i=r.idAttribute,a=void 0===i?"id":i,c=r.mergeStrategy,u=void 0===c?function(e,t){return o({},e,t)}:c,d=r.processStrategy,p=void 0===d?function(e){return o({},e)}:d;this._key=t,this._getId="function"==typeof a?a:l(a),this._idAttribute=a,this._mergeStrategy=u,this._processStrategy=p,this.define(n)}return i(e,[{key:"define",value:function(e){this.schema=Object.keys(e).reduce((function(t,n){var r=e[n];return o({},t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,r))}),this.schema||{})}},{key:"getId",value:function(e,t,n){return this._getId(e,t,n)}},{key:"merge",value:function(e,t){return this._mergeStrategy(e,t)}},{key:"normalize",value:function(e,t,n,o,i){var a=this,s=this._processStrategy(e,t,n);return Object.keys(this.schema).forEach((function(e){if(s.hasOwnProperty(e)&&"object"===r(s[e])){var t=a.schema[e];s[e]=o(s[e],s,e,t,i)}})),i(this,s,e,t,n),this.getId(e,t,n)}},{key:"denormalize",value:function(e,t){var n=this;return a.isImmutable(e)?a.denormalizeImmutable(this.schema,e,t):(Object.keys(this.schema).forEach((function(r){if(e.hasOwnProperty(r)){var o=n.schema[r];e[r]=t(e[r],o)}})),e)}},{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),e}();t.default=c},"./node_modules/normalizr/dist/src/schemas/ImmutableUtils.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isImmutable=function(e){return!(!e||"function"!=typeof e.hasOwnProperty||!(e.hasOwnProperty("__ownerID")||e._map&&e._map.hasOwnProperty("__ownerID")))},t.denormalizeImmutable=function(e,t,n){return Object.keys(e).reduce((function(t,r){var o=""+r;return t.has(o)?t.set(o,n(t.get(o),e[o])):t}),t)}},"./node_modules/normalizr/dist/src/schemas/Object.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.denormalize=t.normalize=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/normalizr/dist/src/schemas/ImmutableUtils.js"));var a=function(e,t,n,r,i,a){var s=o({},t);return Object.keys(e).forEach((function(n){var r=e[n],o=i(t[n],t,n,r,a);null==o?delete s[n]:s[n]=o})),s};t.normalize=a;var s=function(e,t,n){if(i.isImmutable(t))return i.denormalizeImmutable(e,t,n);var r=o({},t);return Object.keys(e).forEach((function(t){r[t]&&(r[t]=n(r[t],e[t]))})),r};t.denormalize=s;var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.define(t)}return r(e,[{key:"define",value:function(e){this.schema=Object.keys(e).reduce((function(t,n){var r=e[n];return o({},t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,r))}),this.schema||{})}},{key:"normalize",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.apply(void 0,[this.schema].concat(t))}},{key:"denormalize",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.apply(void 0,[this.schema].concat(t))}}]),e}();t.default=l},"./node_modules/normalizr/dist/src/schemas/Polymorphic.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("./node_modules/normalizr/dist/src/schemas/ImmutableUtils.js");var i=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n&&(this._schemaAttribute="string"==typeof n?function(e){return e[n]}:n),this.define(t)}return r(e,[{key:"define",value:function(e){this.schema=e}},{key:"getSchemaAttribute",value:function(e,t,n){return!this.isSingleSchema&&this._schemaAttribute(e,t,n)}},{key:"inferSchema",value:function(e,t,n){if(this.isSingleSchema)return this.schema;var r=this.getSchemaAttribute(e,t,n);return this.schema[r]}},{key:"normalizeValue",value:function(e,t,n,r,o){var i=this.inferSchema(e,t,n);if(!i)return e;var a=r(e,t,n,i,o);return this.isSingleSchema||null==a?a:{id:a,schema:this.getSchemaAttribute(e,t,n)}}},{key:"denormalizeValue",value:function(e,t){var n=(0,o.isImmutable)(e)?e.get("schema"):e.schema;return this.isSingleSchema||n?t(((0,o.isImmutable)(e)?e.get("id"):e.id)||e,this.isSingleSchema?this.schema:this.schema[n]):e}},{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),e}();t.default=i},"./node_modules/normalizr/dist/src/schemas/Union.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("./node_modules/normalizr/dist/src/schemas/Polymorphic.js");var a=function(e){function t(e,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),!n)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"normalize",value:function(e,t,n,r,o){return this.normalizeValue(e,t,n,r,o)}},{key:"denormalize",value:function(e,t){return this.denormalizeValue(e,t)}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=a},"./node_modules/normalizr/dist/src/schemas/Values.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n("./node_modules/normalizr/dist/src/schemas/Polymorphic.js");function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"normalize",value:function(e,t,n,r,i){var a=this;return Object.keys(e).reduce((function(t,n,l){var c=e[n];return null!=c?o({},t,s({},n,a.normalizeValue(c,e,n,r,i))):t}),{})}},{key:"denormalize",value:function(e,t){var n=this;return Object.keys(e).reduce((function(r,i){var a=e[i];return o({},r,s({},i,n.denormalizeValue(a,t)))}),{})}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);t.default=u},"./node_modules/outlayer/item.js":function(e,t,n){var r,o,i;window,o=[n("./node_modules/ev-emitter/ev-emitter.js"),n("./node_modules/get-size/get-size.js")],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n=document.documentElement.style,r="string"==typeof n.transition?"transition":"WebkitTransition",o="string"==typeof n.transform?"transform":"WebkitTransform",i={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],a={transform:o,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"};function s(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var l=s.prototype=Object.create(e.prototype);l.constructor=s,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.getSize=function(){this.size=t(this.element)},l.css=function(e){var t=this.element.style;for(var n in e)t[a[n]||n]=e[n]},l.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=e[t?"left":"right"],o=e[n?"top":"bottom"],i=parseFloat(r),a=parseFloat(o),s=this.layout.size;-1!=r.indexOf("%")&&(i=i/100*s.width),-1!=o.indexOf("%")&&(a=a/100*s.height),i=isNaN(i)?0:i,a=isNaN(a)?0:a,i-=t?s.paddingLeft:s.paddingRight,a-=n?s.paddingTop:s.paddingBottom,this.position.x=i,this.position.y=a},l.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),o=n?"paddingLeft":"paddingRight",i=n?"left":"right",a=n?"right":"left",s=this.position.x+e[o];t[i]=this.getXValue(s),t[a]="";var l=r?"paddingTop":"paddingBottom",c=r?"top":"bottom",u=r?"bottom":"top",d=this.position.y+e[l];t[c]=this.getYValue(d),t[u]="",this.css(t),this.emitEvent("layout",[this])},l.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},l.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},l._transitionTo=function(e,t){this.getPosition();var n=this.position.x,r=this.position.y,o=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!o||this.isTransitioning){var i=e-n,a=t-r,s={};s.transform=this.getTranslate(i,a),this.transition({to:s,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},l.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},l._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},l.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);e.from&&(this.css(e.from),this.element.offsetHeight),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var c="opacity,"+o.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}));l.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(i,this,!1)}},l.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},l.onotransitionend=function(e){this.ontransitionend(e)};var u={"-webkit-transform":"transform"};l.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,n=u[e.propertyName]||e.propertyName;delete t.ingProperties[n],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),n in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[n]),n in t.onEnd&&(t.onEnd[n].call(this),delete t.onEnd[n]),this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(i,this,!1),this.isTransitioning=!1},l._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(d)},l.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s})?r.apply(t,o):r)||(e.exports=i)},"./node_modules/outlayer/outlayer.js":function(e,t,n){var r,o;!function(i,a){"use strict";r=[n("./node_modules/ev-emitter/ev-emitter.js"),n("./node_modules/get-size/get-size.js"),n("./node_modules/fizzy-ui-utils/utils.js"),n("./node_modules/outlayer/item.js")],void 0===(o=function(e,t,n,r){return function(e,t,n,r,o){var i=e.console,a=e.jQuery,s=function(){},l=0,c={};function u(e,t){var n=r.getQueryElement(e);if(n){this.element=n,a&&(this.$element=a(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(t);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}else i&&i.error("Bad element for "+this.constructor.namespace+": "+(n||e))}u.namespace="outlayer",u.Item=o,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=u.prototype;function p(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}r.extend(d,t.prototype),d.option=function(e){r.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,r=[],o=0;o<t.length;o++){var i=new n(t[o],this);r.push(i)}return r},d._filterFindItemElements=function(e){return r.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map((function(e){return e.element}))},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=n(this.element)},d._getMeasurement=function(e,t){var r,o=this.options[e];o?("string"==typeof o?r=this.element.querySelector(o):o instanceof HTMLElement&&(r=o),this[e]=r?n(r)[t]:o):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter((function(e){return!e.isIgnored}))},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach((function(e){var r=this._getItemLayoutPosition(e);r.item=e,r.isInstant=t||e.isLayoutInstant,n.push(r)}),this),this._processLayoutQueue(n)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach((function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)}),this)},d.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],r=t&&t[2];if(!n.length)return 0;return(n=parseFloat(n))*(f[r]||1)}(e),this.stagger;this.stagger=0},d._positionItem=function(e,t,n,r,o){r?e.goTo(t,n):(e.stagger(o*this.stagger),e.moveTo(t,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=s,d._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},d._emitCompleteOnItems=function(e,t){var n=this;function r(){n.dispatchEvent(e+"Complete",null,[t])}var o=t.length;if(t&&o){var i=0;t.forEach((function(t){t.once(e,a)}))}else r();function a(){++i==o&&r()}},d.dispatchEvent=function(e,t,n){var r=t?[t].concat(n):n;if(this.emitEvent(e,r),a)if(this.$element=this.$element||a(this.element),t){var o=a.Event(t);o.type=e,this.$element.trigger(o,n)}else this.$element.trigger(e,n)},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach((function(e){r.removeFrom(this.stamps,e),this.unignore(e)}),this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=r.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=s,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),r=this._boundingRect,o=n(e);return{left:t.left-r.left-o.marginLeft,top:t.top-r.top-o.marginTop,right:r.right-t.right-o.marginRight,bottom:r.bottom-t.bottom-o.marginBottom}},d.handleEvent=r.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},r.debounceMethod(u,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=n(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,n){e.stagger(n*t),e.reveal()}))}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,n){e.stagger(n*t),e.hide()}))}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},d.getItems=function(e){e=r.makeArray(e);var t=[];return e.forEach((function(e){var n=this.getItem(e);n&&t.push(n)}),this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach((function(e){e.remove(),r.removeFrom(this.items,e)}),this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach((function(e){e.destroy()})),this.unbindResize();var t=this.element.outlayerGUID;delete c[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},u.data=function(e){var t=(e=r.getQueryElement(e))&&e.outlayerGUID;return t&&c[t]},u.create=function(e,t){var n=p(u);return n.defaults=r.extend({},u.defaults),r.extend(n.defaults,t),n.compatOptions=r.extend({},u.compatOptions),n.namespace=e,n.data=u.data,n.Item=p(o),r.htmlInit(n,e),a&&a.bridget&&a.bridget(e,n),n};var f={ms:1,s:1e3};return u.Item=o,u}(i,e,t,n,r)}.apply(t,r))||(e.exports=o)}(window)},"./node_modules/parsejson/index.js":function(e,t,n){(function(t){var n=/^[\],:{}\s]*$/,r=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,o=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,i=/(?:^|:|,)(?:\s*\[)+/g,a=/^\s+/,s=/\s+$/;e.exports=function(e){return"string"==typeof e&&e?(e=e.replace(a,"").replace(s,""),t.JSON&&JSON.parse?JSON.parse(e):n.test(e.replace(r,"@").replace(o,"]").replace(i,""))?new Function("return "+e)():void 0):null}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/parseqs/index.js":function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}},"./node_modules/parseuri/index.js":function(e,t){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,o=e.indexOf("["),i=e.indexOf("]");-1!=o&&-1!=i&&(e=e.substring(0,o)+e.substring(o,i).replace(/:/g,";")+e.substring(i,e.length));for(var a=n.exec(e||""),s={},l=14;l--;)s[r[l]]=a[l]||"";return-1!=o&&-1!=i&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s}},"./node_modules/process/browser.js":function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!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:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(f)},h.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=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,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}},"./node_modules/rxjs-compat/Observable.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/internal/Observable.js");t.Observable=r.Observable},"./node_modules/rxjs-compat/Rx.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");t.Observable=r.Observable,t.Subject=r.Subject;var o=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js");t.AnonymousSubject=o.AnonymousSubject;var i=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js");t.config=i.config,n("./node_modules/rxjs-compat/add/observable/bindCallback.js"),n("./node_modules/rxjs-compat/add/observable/bindNodeCallback.js"),n("./node_modules/rxjs-compat/add/observable/combineLatest.js"),n("./node_modules/rxjs-compat/add/observable/concat.js"),n("./node_modules/rxjs-compat/add/observable/defer.js"),n("./node_modules/rxjs-compat/add/observable/empty.js"),n("./node_modules/rxjs-compat/add/observable/forkJoin.js"),n("./node_modules/rxjs-compat/add/observable/from.js"),n("./node_modules/rxjs-compat/add/observable/fromEvent.js"),n("./node_modules/rxjs-compat/add/observable/fromEventPattern.js"),n("./node_modules/rxjs-compat/add/observable/fromPromise.js"),n("./node_modules/rxjs-compat/add/observable/generate.js"),n("./node_modules/rxjs-compat/add/observable/if.js"),n("./node_modules/rxjs-compat/add/observable/interval.js"),n("./node_modules/rxjs-compat/add/observable/merge.js"),n("./node_modules/rxjs-compat/add/observable/race.js"),n("./node_modules/rxjs-compat/add/observable/never.js"),n("./node_modules/rxjs-compat/add/observable/of.js"),n("./node_modules/rxjs-compat/add/observable/onErrorResumeNext.js"),n("./node_modules/rxjs-compat/add/observable/pairs.js"),n("./node_modules/rxjs-compat/add/observable/range.js"),n("./node_modules/rxjs-compat/add/observable/using.js"),n("./node_modules/rxjs-compat/add/observable/throw.js"),n("./node_modules/rxjs-compat/add/observable/timer.js"),n("./node_modules/rxjs-compat/add/observable/zip.js"),n("./node_modules/rxjs-compat/add/observable/dom/ajax.js"),n("./node_modules/rxjs-compat/add/observable/dom/webSocket.js"),n("./node_modules/rxjs-compat/add/operator/buffer.js"),n("./node_modules/rxjs-compat/add/operator/bufferCount.js"),n("./node_modules/rxjs-compat/add/operator/bufferTime.js"),n("./node_modules/rxjs-compat/add/operator/bufferToggle.js"),n("./node_modules/rxjs-compat/add/operator/bufferWhen.js"),n("./node_modules/rxjs-compat/add/operator/catch.js"),n("./node_modules/rxjs-compat/add/operator/combineAll.js"),n("./node_modules/rxjs-compat/add/operator/combineLatest.js"),n("./node_modules/rxjs-compat/add/operator/concat.js"),n("./node_modules/rxjs-compat/add/operator/concatAll.js"),n("./node_modules/rxjs-compat/add/operator/concatMap.js"),n("./node_modules/rxjs-compat/add/operator/concatMapTo.js"),n("./node_modules/rxjs-compat/add/operator/count.js"),n("./node_modules/rxjs-compat/add/operator/dematerialize.js"),n("./node_modules/rxjs-compat/add/operator/debounce.js"),n("./node_modules/rxjs-compat/add/operator/debounceTime.js"),n("./node_modules/rxjs-compat/add/operator/defaultIfEmpty.js"),n("./node_modules/rxjs-compat/add/operator/delay.js"),n("./node_modules/rxjs-compat/add/operator/delayWhen.js"),n("./node_modules/rxjs-compat/add/operator/distinct.js"),n("./node_modules/rxjs-compat/add/operator/distinctUntilChanged.js"),n("./node_modules/rxjs-compat/add/operator/distinctUntilKeyChanged.js"),n("./node_modules/rxjs-compat/add/operator/do.js"),n("./node_modules/rxjs-compat/add/operator/exhaust.js"),n("./node_modules/rxjs-compat/add/operator/exhaustMap.js"),n("./node_modules/rxjs-compat/add/operator/expand.js"),n("./node_modules/rxjs-compat/add/operator/elementAt.js"),n("./node_modules/rxjs-compat/add/operator/filter.js"),n("./node_modules/rxjs-compat/add/operator/finally.js"),n("./node_modules/rxjs-compat/add/operator/find.js"),n("./node_modules/rxjs-compat/add/operator/findIndex.js"),n("./node_modules/rxjs-compat/add/operator/first.js"),n("./node_modules/rxjs-compat/add/operator/groupBy.js"),n("./node_modules/rxjs-compat/add/operator/ignoreElements.js"),n("./node_modules/rxjs-compat/add/operator/isEmpty.js"),n("./node_modules/rxjs-compat/add/operator/audit.js"),n("./node_modules/rxjs-compat/add/operator/auditTime.js"),n("./node_modules/rxjs-compat/add/operator/last.js"),n("./node_modules/rxjs-compat/add/operator/let.js"),n("./node_modules/rxjs-compat/add/operator/every.js"),n("./node_modules/rxjs-compat/add/operator/map.js"),n("./node_modules/rxjs-compat/add/operator/mapTo.js"),n("./node_modules/rxjs-compat/add/operator/materialize.js"),n("./node_modules/rxjs-compat/add/operator/max.js"),n("./node_modules/rxjs-compat/add/operator/merge.js"),n("./node_modules/rxjs-compat/add/operator/mergeAll.js"),n("./node_modules/rxjs-compat/add/operator/mergeMap.js"),n("./node_modules/rxjs-compat/add/operator/mergeMapTo.js"),n("./node_modules/rxjs-compat/add/operator/mergeScan.js"),n("./node_modules/rxjs-compat/add/operator/min.js"),n("./node_modules/rxjs-compat/add/operator/multicast.js"),n("./node_modules/rxjs-compat/add/operator/observeOn.js"),n("./node_modules/rxjs-compat/add/operator/onErrorResumeNext.js"),n("./node_modules/rxjs-compat/add/operator/pairwise.js"),n("./node_modules/rxjs-compat/add/operator/partition.js"),n("./node_modules/rxjs-compat/add/operator/pluck.js"),n("./node_modules/rxjs-compat/add/operator/publish.js"),n("./node_modules/rxjs-compat/add/operator/publishBehavior.js"),n("./node_modules/rxjs-compat/add/operator/publishReplay.js"),n("./node_modules/rxjs-compat/add/operator/publishLast.js"),n("./node_modules/rxjs-compat/add/operator/race.js"),n("./node_modules/rxjs-compat/add/operator/reduce.js"),n("./node_modules/rxjs-compat/add/operator/repeat.js"),n("./node_modules/rxjs-compat/add/operator/repeatWhen.js"),n("./node_modules/rxjs-compat/add/operator/retry.js"),n("./node_modules/rxjs-compat/add/operator/retryWhen.js"),n("./node_modules/rxjs-compat/add/operator/sample.js"),n("./node_modules/rxjs-compat/add/operator/sampleTime.js"),n("./node_modules/rxjs-compat/add/operator/scan.js"),n("./node_modules/rxjs-compat/add/operator/sequenceEqual.js"),n("./node_modules/rxjs-compat/add/operator/share.js"),n("./node_modules/rxjs-compat/add/operator/shareReplay.js"),n("./node_modules/rxjs-compat/add/operator/single.js"),n("./node_modules/rxjs-compat/add/operator/skip.js"),n("./node_modules/rxjs-compat/add/operator/skipLast.js"),n("./node_modules/rxjs-compat/add/operator/skipUntil.js"),n("./node_modules/rxjs-compat/add/operator/skipWhile.js"),n("./node_modules/rxjs-compat/add/operator/startWith.js"),n("./node_modules/rxjs-compat/add/operator/subscribeOn.js"),n("./node_modules/rxjs-compat/add/operator/switch.js"),n("./node_modules/rxjs-compat/add/operator/switchMap.js"),n("./node_modules/rxjs-compat/add/operator/switchMapTo.js"),n("./node_modules/rxjs-compat/add/operator/take.js"),n("./node_modules/rxjs-compat/add/operator/takeLast.js"),n("./node_modules/rxjs-compat/add/operator/takeUntil.js"),n("./node_modules/rxjs-compat/add/operator/takeWhile.js"),n("./node_modules/rxjs-compat/add/operator/throttle.js"),n("./node_modules/rxjs-compat/add/operator/throttleTime.js"),n("./node_modules/rxjs-compat/add/operator/timeInterval.js"),n("./node_modules/rxjs-compat/add/operator/timeout.js"),n("./node_modules/rxjs-compat/add/operator/timeoutWith.js"),n("./node_modules/rxjs-compat/add/operator/timestamp.js"),n("./node_modules/rxjs-compat/add/operator/toArray.js"),n("./node_modules/rxjs-compat/add/operator/toPromise.js"),n("./node_modules/rxjs-compat/add/operator/window.js"),n("./node_modules/rxjs-compat/add/operator/windowCount.js"),n("./node_modules/rxjs-compat/add/operator/windowTime.js"),n("./node_modules/rxjs-compat/add/operator/windowToggle.js"),n("./node_modules/rxjs-compat/add/operator/windowWhen.js"),n("./node_modules/rxjs-compat/add/operator/withLatestFrom.js"),n("./node_modules/rxjs-compat/add/operator/zip.js"),n("./node_modules/rxjs-compat/add/operator/zipAll.js");var a=n("./node_modules/rxjs/_esm5/index.js");t.Subscription=a.Subscription,t.ReplaySubject=a.ReplaySubject,t.BehaviorSubject=a.BehaviorSubject,t.Notification=a.Notification,t.EmptyError=a.EmptyError,t.ArgumentOutOfRangeError=a.ArgumentOutOfRangeError,t.ObjectUnsubscribedError=a.ObjectUnsubscribedError,t.UnsubscriptionError=a.UnsubscriptionError,t.pipe=a.pipe;var s=n("./node_modules/rxjs/_esm5/testing/index.js");t.TestScheduler=s.TestScheduler;var l=n("./node_modules/rxjs/_esm5/index.js");t.Subscriber=l.Subscriber,t.AsyncSubject=l.AsyncSubject,t.ConnectableObservable=l.ConnectableObservable,t.TimeoutError=l.TimeoutError,t.VirtualTimeScheduler=l.VirtualTimeScheduler;var c=n("./node_modules/rxjs/_esm5/ajax/index.js");t.AjaxResponse=c.AjaxResponse,t.AjaxError=c.AjaxError,t.AjaxTimeoutError=c.AjaxTimeoutError;var u=n("./node_modules/rxjs/_esm5/index.js"),d=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js"),p=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js");t.TimeInterval=p.TimeInterval,t.Timestamp=p.Timestamp;var f=n("./node_modules/rxjs/_esm5/operators/index.js");t.operators=f;var h={asap:u.asapScheduler,queue:u.queueScheduler,animationFrame:u.animationFrameScheduler,async:u.asyncScheduler};t.Scheduler=h;var m={rxSubscriber:d.rxSubscriber,observable:d.observable,iterator:d.iterator};t.Symbol=m},"./node_modules/rxjs-compat/add/observable/bindCallback.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.bindCallback=r.bindCallback},"./node_modules/rxjs-compat/add/observable/bindNodeCallback.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.bindNodeCallback=r.bindNodeCallback},"./node_modules/rxjs-compat/add/observable/combineLatest.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.combineLatest=r.combineLatest},"./node_modules/rxjs-compat/add/observable/concat.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.concat=r.concat},"./node_modules/rxjs-compat/add/observable/defer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.defer=r.defer},"./node_modules/rxjs-compat/add/observable/dom/ajax.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/ajax/index.js");r.Observable.ajax=o.ajax},"./node_modules/rxjs-compat/add/observable/dom/webSocket.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/webSocket/index.js");r.Observable.webSocket=o.webSocket},"./node_modules/rxjs-compat/add/observable/empty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.empty=r.empty},"./node_modules/rxjs-compat/add/observable/forkJoin.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.forkJoin=r.forkJoin},"./node_modules/rxjs-compat/add/observable/from.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.from=r.from},"./node_modules/rxjs-compat/add/observable/fromEvent.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.fromEvent=r.fromEvent},"./node_modules/rxjs-compat/add/observable/fromEventPattern.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.fromEventPattern=r.fromEventPattern},"./node_modules/rxjs-compat/add/observable/fromPromise.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.fromPromise=r.from},"./node_modules/rxjs-compat/add/observable/generate.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.generate=r.generate},"./node_modules/rxjs-compat/add/observable/if.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.if=r.iif},"./node_modules/rxjs-compat/add/observable/interval.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.interval=r.interval},"./node_modules/rxjs-compat/add/observable/merge.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.merge=r.merge},"./node_modules/rxjs-compat/add/observable/never.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");function o(){return r.NEVER}t.staticNever=o,r.Observable.never=o},"./node_modules/rxjs-compat/add/observable/of.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.of=r.of},"./node_modules/rxjs-compat/add/observable/onErrorResumeNext.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.onErrorResumeNext=r.onErrorResumeNext},"./node_modules/rxjs-compat/add/observable/pairs.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.pairs=r.pairs},"./node_modules/rxjs-compat/add/observable/race.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.race=r.race},"./node_modules/rxjs-compat/add/observable/range.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.range=r.range},"./node_modules/rxjs-compat/add/observable/throw.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.throw=r.throwError,r.Observable.throwError=r.throwError},"./node_modules/rxjs-compat/add/observable/timer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.timer=r.timer},"./node_modules/rxjs-compat/add/observable/using.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.using=r.using},"./node_modules/rxjs-compat/add/observable/zip.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");r.Observable.zip=r.zip},"./node_modules/rxjs-compat/add/operator/audit.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/audit.js");r.Observable.prototype.audit=o.audit},"./node_modules/rxjs-compat/add/operator/auditTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/auditTime.js");r.Observable.prototype.auditTime=o.auditTime},"./node_modules/rxjs-compat/add/operator/buffer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/buffer.js");r.Observable.prototype.buffer=o.buffer},"./node_modules/rxjs-compat/add/operator/bufferCount.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/bufferCount.js");r.Observable.prototype.bufferCount=o.bufferCount},"./node_modules/rxjs-compat/add/operator/bufferTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/bufferTime.js");r.Observable.prototype.bufferTime=o.bufferTime},"./node_modules/rxjs-compat/add/operator/bufferToggle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/bufferToggle.js");r.Observable.prototype.bufferToggle=o.bufferToggle},"./node_modules/rxjs-compat/add/operator/bufferWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/bufferWhen.js");r.Observable.prototype.bufferWhen=o.bufferWhen},"./node_modules/rxjs-compat/add/operator/catch.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/catch.js");r.Observable.prototype.catch=o._catch,r.Observable.prototype._catch=o._catch},"./node_modules/rxjs-compat/add/operator/combineAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/combineAll.js");r.Observable.prototype.combineAll=o.combineAll},"./node_modules/rxjs-compat/add/operator/combineLatest.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/combineLatest.js");r.Observable.prototype.combineLatest=o.combineLatest},"./node_modules/rxjs-compat/add/operator/concat.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/concat.js");r.Observable.prototype.concat=o.concat},"./node_modules/rxjs-compat/add/operator/concatAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/concatAll.js");r.Observable.prototype.concatAll=o.concatAll},"./node_modules/rxjs-compat/add/operator/concatMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/concatMap.js");r.Observable.prototype.concatMap=o.concatMap},"./node_modules/rxjs-compat/add/operator/concatMapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/concatMapTo.js");r.Observable.prototype.concatMapTo=o.concatMapTo},"./node_modules/rxjs-compat/add/operator/count.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/count.js");r.Observable.prototype.count=o.count},"./node_modules/rxjs-compat/add/operator/debounce.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/debounce.js");r.Observable.prototype.debounce=o.debounce},"./node_modules/rxjs-compat/add/operator/debounceTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/debounceTime.js");r.Observable.prototype.debounceTime=o.debounceTime},"./node_modules/rxjs-compat/add/operator/defaultIfEmpty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/defaultIfEmpty.js");r.Observable.prototype.defaultIfEmpty=o.defaultIfEmpty},"./node_modules/rxjs-compat/add/operator/delay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/delay.js");r.Observable.prototype.delay=o.delay},"./node_modules/rxjs-compat/add/operator/delayWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/delayWhen.js");r.Observable.prototype.delayWhen=o.delayWhen},"./node_modules/rxjs-compat/add/operator/dematerialize.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/dematerialize.js");r.Observable.prototype.dematerialize=o.dematerialize},"./node_modules/rxjs-compat/add/operator/distinct.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/distinct.js");r.Observable.prototype.distinct=o.distinct},"./node_modules/rxjs-compat/add/operator/distinctUntilChanged.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/distinctUntilChanged.js");r.Observable.prototype.distinctUntilChanged=o.distinctUntilChanged},"./node_modules/rxjs-compat/add/operator/distinctUntilKeyChanged.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/distinctUntilKeyChanged.js");r.Observable.prototype.distinctUntilKeyChanged=o.distinctUntilKeyChanged},"./node_modules/rxjs-compat/add/operator/do.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/do.js");r.Observable.prototype.do=o._do,r.Observable.prototype._do=o._do},"./node_modules/rxjs-compat/add/operator/elementAt.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/elementAt.js");r.Observable.prototype.elementAt=o.elementAt},"./node_modules/rxjs-compat/add/operator/every.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/every.js");r.Observable.prototype.every=o.every},"./node_modules/rxjs-compat/add/operator/exhaust.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/exhaust.js");r.Observable.prototype.exhaust=o.exhaust},"./node_modules/rxjs-compat/add/operator/exhaustMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/exhaustMap.js");r.Observable.prototype.exhaustMap=o.exhaustMap},"./node_modules/rxjs-compat/add/operator/expand.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/expand.js");r.Observable.prototype.expand=o.expand},"./node_modules/rxjs-compat/add/operator/filter.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/filter.js");r.Observable.prototype.filter=o.filter},"./node_modules/rxjs-compat/add/operator/finally.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/finally.js");r.Observable.prototype.finally=o._finally,r.Observable.prototype._finally=o._finally},"./node_modules/rxjs-compat/add/operator/find.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/find.js");r.Observable.prototype.find=o.find},"./node_modules/rxjs-compat/add/operator/findIndex.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/findIndex.js");r.Observable.prototype.findIndex=o.findIndex},"./node_modules/rxjs-compat/add/operator/first.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/first.js");r.Observable.prototype.first=o.first},"./node_modules/rxjs-compat/add/operator/groupBy.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/groupBy.js");r.Observable.prototype.groupBy=o.groupBy},"./node_modules/rxjs-compat/add/operator/ignoreElements.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/ignoreElements.js");r.Observable.prototype.ignoreElements=o.ignoreElements},"./node_modules/rxjs-compat/add/operator/isEmpty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/isEmpty.js");r.Observable.prototype.isEmpty=o.isEmpty},"./node_modules/rxjs-compat/add/operator/last.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/last.js");r.Observable.prototype.last=o.last},"./node_modules/rxjs-compat/add/operator/let.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/let.js");r.Observable.prototype.let=o.letProto,r.Observable.prototype.letBind=o.letProto},"./node_modules/rxjs-compat/add/operator/map.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/map.js");r.Observable.prototype.map=o.map},"./node_modules/rxjs-compat/add/operator/mapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/mapTo.js");r.Observable.prototype.mapTo=o.mapTo},"./node_modules/rxjs-compat/add/operator/materialize.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/materialize.js");r.Observable.prototype.materialize=o.materialize},"./node_modules/rxjs-compat/add/operator/max.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/max.js");r.Observable.prototype.max=o.max},"./node_modules/rxjs-compat/add/operator/merge.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/merge.js");r.Observable.prototype.merge=o.merge},"./node_modules/rxjs-compat/add/operator/mergeAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/mergeAll.js");r.Observable.prototype.mergeAll=o.mergeAll},"./node_modules/rxjs-compat/add/operator/mergeMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/mergeMap.js");r.Observable.prototype.mergeMap=o.mergeMap,r.Observable.prototype.flatMap=o.mergeMap},"./node_modules/rxjs-compat/add/operator/mergeMapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/mergeMapTo.js");r.Observable.prototype.flatMapTo=o.mergeMapTo,r.Observable.prototype.mergeMapTo=o.mergeMapTo},"./node_modules/rxjs-compat/add/operator/mergeScan.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/mergeScan.js");r.Observable.prototype.mergeScan=o.mergeScan},"./node_modules/rxjs-compat/add/operator/min.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/min.js");r.Observable.prototype.min=o.min},"./node_modules/rxjs-compat/add/operator/multicast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/multicast.js");r.Observable.prototype.multicast=o.multicast},"./node_modules/rxjs-compat/add/operator/observeOn.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/observeOn.js");r.Observable.prototype.observeOn=o.observeOn},"./node_modules/rxjs-compat/add/operator/onErrorResumeNext.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/onErrorResumeNext.js");r.Observable.prototype.onErrorResumeNext=o.onErrorResumeNext},"./node_modules/rxjs-compat/add/operator/pairwise.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/pairwise.js");r.Observable.prototype.pairwise=o.pairwise},"./node_modules/rxjs-compat/add/operator/partition.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/partition.js");r.Observable.prototype.partition=o.partition},"./node_modules/rxjs-compat/add/operator/pluck.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/pluck.js");r.Observable.prototype.pluck=o.pluck},"./node_modules/rxjs-compat/add/operator/publish.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/publish.js");r.Observable.prototype.publish=o.publish},"./node_modules/rxjs-compat/add/operator/publishBehavior.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/publishBehavior.js");r.Observable.prototype.publishBehavior=o.publishBehavior},"./node_modules/rxjs-compat/add/operator/publishLast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/publishLast.js");r.Observable.prototype.publishLast=o.publishLast},"./node_modules/rxjs-compat/add/operator/publishReplay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/publishReplay.js");r.Observable.prototype.publishReplay=o.publishReplay},"./node_modules/rxjs-compat/add/operator/race.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/race.js");r.Observable.prototype.race=o.race},"./node_modules/rxjs-compat/add/operator/reduce.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/reduce.js");r.Observable.prototype.reduce=o.reduce},"./node_modules/rxjs-compat/add/operator/repeat.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/repeat.js");r.Observable.prototype.repeat=o.repeat},"./node_modules/rxjs-compat/add/operator/repeatWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/repeatWhen.js");r.Observable.prototype.repeatWhen=o.repeatWhen},"./node_modules/rxjs-compat/add/operator/retry.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/retry.js");r.Observable.prototype.retry=o.retry},"./node_modules/rxjs-compat/add/operator/retryWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/retryWhen.js");r.Observable.prototype.retryWhen=o.retryWhen},"./node_modules/rxjs-compat/add/operator/sample.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/sample.js");r.Observable.prototype.sample=o.sample},"./node_modules/rxjs-compat/add/operator/sampleTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/sampleTime.js");r.Observable.prototype.sampleTime=o.sampleTime},"./node_modules/rxjs-compat/add/operator/scan.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/scan.js");r.Observable.prototype.scan=o.scan},"./node_modules/rxjs-compat/add/operator/sequenceEqual.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/sequenceEqual.js");r.Observable.prototype.sequenceEqual=o.sequenceEqual},"./node_modules/rxjs-compat/add/operator/share.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/share.js");r.Observable.prototype.share=o.share},"./node_modules/rxjs-compat/add/operator/shareReplay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/shareReplay.js");r.Observable.prototype.shareReplay=o.shareReplay},"./node_modules/rxjs-compat/add/operator/single.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/single.js");r.Observable.prototype.single=o.single},"./node_modules/rxjs-compat/add/operator/skip.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/skip.js");r.Observable.prototype.skip=o.skip},"./node_modules/rxjs-compat/add/operator/skipLast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/skipLast.js");r.Observable.prototype.skipLast=o.skipLast},"./node_modules/rxjs-compat/add/operator/skipUntil.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/skipUntil.js");r.Observable.prototype.skipUntil=o.skipUntil},"./node_modules/rxjs-compat/add/operator/skipWhile.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/skipWhile.js");r.Observable.prototype.skipWhile=o.skipWhile},"./node_modules/rxjs-compat/add/operator/startWith.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/startWith.js");r.Observable.prototype.startWith=o.startWith},"./node_modules/rxjs-compat/add/operator/subscribeOn.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/subscribeOn.js");r.Observable.prototype.subscribeOn=o.subscribeOn},"./node_modules/rxjs-compat/add/operator/switch.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/switch.js");r.Observable.prototype.switch=o._switch,r.Observable.prototype._switch=o._switch},"./node_modules/rxjs-compat/add/operator/switchMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/switchMap.js");r.Observable.prototype.switchMap=o.switchMap},"./node_modules/rxjs-compat/add/operator/switchMapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/switchMapTo.js");r.Observable.prototype.switchMapTo=o.switchMapTo},"./node_modules/rxjs-compat/add/operator/take.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/take.js");r.Observable.prototype.take=o.take},"./node_modules/rxjs-compat/add/operator/takeLast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/takeLast.js");r.Observable.prototype.takeLast=o.takeLast},"./node_modules/rxjs-compat/add/operator/takeUntil.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/takeUntil.js");r.Observable.prototype.takeUntil=o.takeUntil},"./node_modules/rxjs-compat/add/operator/takeWhile.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/takeWhile.js");r.Observable.prototype.takeWhile=o.takeWhile},"./node_modules/rxjs-compat/add/operator/throttle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/throttle.js");r.Observable.prototype.throttle=o.throttle},"./node_modules/rxjs-compat/add/operator/throttleTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/throttleTime.js");r.Observable.prototype.throttleTime=o.throttleTime},"./node_modules/rxjs-compat/add/operator/timeInterval.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/timeInterval.js");r.Observable.prototype.timeInterval=o.timeInterval},"./node_modules/rxjs-compat/add/operator/timeout.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/timeout.js");r.Observable.prototype.timeout=o.timeout},"./node_modules/rxjs-compat/add/operator/timeoutWith.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/timeoutWith.js");r.Observable.prototype.timeoutWith=o.timeoutWith},"./node_modules/rxjs-compat/add/operator/timestamp.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/timestamp.js");r.Observable.prototype.timestamp=o.timestamp},"./node_modules/rxjs-compat/add/operator/toArray.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/toArray.js");r.Observable.prototype.toArray=o.toArray},"./node_modules/rxjs-compat/add/operator/toPromise.js":function(e,t){},"./node_modules/rxjs-compat/add/operator/window.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/window.js");r.Observable.prototype.window=o.window},"./node_modules/rxjs-compat/add/operator/windowCount.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/windowCount.js");r.Observable.prototype.windowCount=o.windowCount},"./node_modules/rxjs-compat/add/operator/windowTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/windowTime.js");r.Observable.prototype.windowTime=o.windowTime},"./node_modules/rxjs-compat/add/operator/windowToggle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/windowToggle.js");r.Observable.prototype.windowToggle=o.windowToggle},"./node_modules/rxjs-compat/add/operator/windowWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/windowWhen.js");r.Observable.prototype.windowWhen=o.windowWhen},"./node_modules/rxjs-compat/add/operator/withLatestFrom.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/withLatestFrom.js");r.Observable.prototype.withLatestFrom=o.withLatestFrom},"./node_modules/rxjs-compat/add/operator/zip.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/zip.js");r.Observable.prototype.zip=o.zipProto},"./node_modules/rxjs-compat/add/operator/zipAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs-compat/operator/zipAll.js");r.Observable.prototype.zipAll=o.zipAll},"./node_modules/rxjs-compat/operator/audit.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.audit=function(e){return r.audit(e)(this)}},"./node_modules/rxjs-compat/operator/auditTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.auditTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),o.auditTime(e,t)(this)}},"./node_modules/rxjs-compat/operator/buffer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.buffer=function(e){return r.buffer(e)(this)}},"./node_modules/rxjs-compat/operator/bufferCount.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.bufferCount=function(e,t){return void 0===t&&(t=null),r.bufferCount(e,t)(this)}},"./node_modules/rxjs-compat/operator/bufferTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js");t.bufferTime=function(e){var t=arguments.length,n=r.asyncScheduler;o.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);var a=null;t>=2&&(a=arguments[1]);var s=Number.POSITIVE_INFINITY;return t>=3&&(s=arguments[2]),i.bufferTime(e,a,s,n)(this)}},"./node_modules/rxjs-compat/operator/bufferToggle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.bufferToggle=function(e,t){return r.bufferToggle(e,t)(this)}},"./node_modules/rxjs-compat/operator/bufferWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.bufferWhen=function(e){return r.bufferWhen(e)(this)}},"./node_modules/rxjs-compat/operator/catch.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t._catch=function(e){return r.catchError(e)(this)}},"./node_modules/rxjs-compat/operator/combineAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.combineAll=function(e){return r.combineAll(e)(this)}},"./node_modules/rxjs-compat/operator/combineLatest.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js");t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null;return"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&o.isArray(e[0])&&(e=e[0].slice()),this.lift.call(r.of.apply(void 0,[this].concat(e)),new o.CombineLatestOperator(n))}},"./node_modules/rxjs-compat/operator/concat.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lift.call(r.concat.apply(void 0,[this].concat(e)))}},"./node_modules/rxjs-compat/operator/concatAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.concatAll=function(){return r.concatAll()(this)}},"./node_modules/rxjs-compat/operator/concatMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.concatMap=function(e){return r.concatMap(e)(this)}},"./node_modules/rxjs-compat/operator/concatMapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.concatMapTo=function(e){return r.concatMapTo(e)(this)}},"./node_modules/rxjs-compat/operator/count.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.count=function(e){return r.count(e)(this)}},"./node_modules/rxjs-compat/operator/debounce.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.debounce=function(e){return r.debounce(e)(this)}},"./node_modules/rxjs-compat/operator/debounceTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.debounceTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),o.debounceTime(e,t)(this)}},"./node_modules/rxjs-compat/operator/defaultIfEmpty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.defaultIfEmpty=function(e){return void 0===e&&(e=null),r.defaultIfEmpty(e)(this)}},"./node_modules/rxjs-compat/operator/delay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.delay=function(e,t){return void 0===t&&(t=r.asyncScheduler),o.delay(e,t)(this)}},"./node_modules/rxjs-compat/operator/delayWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.delayWhen=function(e,t){return r.delayWhen(e,t)(this)}},"./node_modules/rxjs-compat/operator/dematerialize.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.dematerialize=function(){return r.dematerialize()(this)}},"./node_modules/rxjs-compat/operator/distinct.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.distinct=function(e,t){return r.distinct(e,t)(this)}},"./node_modules/rxjs-compat/operator/distinctUntilChanged.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.distinctUntilChanged=function(e,t){return r.distinctUntilChanged(e,t)(this)}},"./node_modules/rxjs-compat/operator/distinctUntilKeyChanged.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.distinctUntilKeyChanged=function(e,t){return r.distinctUntilKeyChanged(e,t)(this)}},"./node_modules/rxjs-compat/operator/do.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t._do=function(e,t,n){return r.tap(e,t,n)(this)}},"./node_modules/rxjs-compat/operator/elementAt.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.elementAt=function(e,t){return r.elementAt.apply(void 0,arguments)(this)}},"./node_modules/rxjs-compat/operator/every.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.every=function(e,t){return r.every(e,t)(this)}},"./node_modules/rxjs-compat/operator/exhaust.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.exhaust=function(){return r.exhaust()(this)}},"./node_modules/rxjs-compat/operator/exhaustMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.exhaustMap=function(e){return r.exhaustMap(e)(this)}},"./node_modules/rxjs-compat/operator/expand.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.expand=function(e,t,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,r.expand(e,t,n)(this)}},"./node_modules/rxjs-compat/operator/filter.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.filter=function(e,t){return r.filter(e,t)(this)}},"./node_modules/rxjs-compat/operator/finally.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t._finally=function(e){return r.finalize(e)(this)}},"./node_modules/rxjs-compat/operator/find.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.find=function(e,t){return r.find(e,t)(this)}},"./node_modules/rxjs-compat/operator/findIndex.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.findIndex=function(e,t){return r.findIndex(e,t)(this)}},"./node_modules/rxjs-compat/operator/first.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.first=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.first.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/groupBy.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.groupBy=function(e,t,n,o){return r.groupBy(e,t,n,o)(this)}},"./node_modules/rxjs-compat/operator/ignoreElements.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.ignoreElements=function(){return r.ignoreElements()(this)}},"./node_modules/rxjs-compat/operator/isEmpty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.isEmpty=function(){return r.isEmpty()(this)}},"./node_modules/rxjs-compat/operator/last.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.last=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.last.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/let.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.letProto=function(e){return e(this)}},"./node_modules/rxjs-compat/operator/map.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.map=function(e,t){return r.map(e,t)(this)}},"./node_modules/rxjs-compat/operator/mapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.mapTo=function(e){return r.mapTo(e)(this)}},"./node_modules/rxjs-compat/operator/materialize.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.materialize=function(){return r.materialize()(this)}},"./node_modules/rxjs-compat/operator/max.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.max=function(e){return r.max(e)(this)}},"./node_modules/rxjs-compat/operator/merge.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lift.call(r.merge.apply(void 0,[this].concat(e)))}},"./node_modules/rxjs-compat/operator/mergeAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.mergeAll=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),r.mergeAll(e)(this)}},"./node_modules/rxjs-compat/operator/mergeMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.mergeMap=function(e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeMap(e,t)(this)}},"./node_modules/rxjs-compat/operator/mergeMapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.mergeMapTo=function(e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeMapTo(e,t)(this)}},"./node_modules/rxjs-compat/operator/mergeScan.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.mergeScan=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeScan(e,t,n)(this)}},"./node_modules/rxjs-compat/operator/min.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.min=function(e){return r.min(e)(this)}},"./node_modules/rxjs-compat/operator/multicast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.multicast=function(e,t){return r.multicast(e,t)(this)}},"./node_modules/rxjs-compat/operator/observeOn.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.observeOn=function(e,t){return void 0===t&&(t=0),r.observeOn(e,t)(this)}},"./node_modules/rxjs-compat/operator/onErrorResumeNext.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.onErrorResumeNext.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/pairwise.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.pairwise=function(){return r.pairwise()(this)}},"./node_modules/rxjs-compat/operator/partition.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.partition=function(e,t){return r.partition(e,t)(this)}},"./node_modules/rxjs-compat/operator/pluck.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.pluck.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/publish.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.publish=function(e){return r.publish(e)(this)}},"./node_modules/rxjs-compat/operator/publishBehavior.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.publishBehavior=function(e){return r.publishBehavior(e)(this)}},"./node_modules/rxjs-compat/operator/publishLast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.publishLast=function(){return r.publishLast()(this)}},"./node_modules/rxjs-compat/operator/publishReplay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.publishReplay=function(e,t,n,o){return r.publishReplay(e,t,n,o)(this)}},"./node_modules/rxjs-compat/operator/race.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.race.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/reduce.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.reduce=function(e,t){return arguments.length>=2?r.reduce(e,t)(this):r.reduce(e)(this)}},"./node_modules/rxjs-compat/operator/repeat.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.repeat=function(e){return void 0===e&&(e=-1),r.repeat(e)(this)}},"./node_modules/rxjs-compat/operator/repeatWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.repeatWhen=function(e){return r.repeatWhen(e)(this)}},"./node_modules/rxjs-compat/operator/retry.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.retry=function(e){return void 0===e&&(e=-1),r.retry(e)(this)}},"./node_modules/rxjs-compat/operator/retryWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.retryWhen=function(e){return r.retryWhen(e)(this)}},"./node_modules/rxjs-compat/operator/sample.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.sample=function(e){return r.sample(e)(this)}},"./node_modules/rxjs-compat/operator/sampleTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.sampleTime=function(e,t){return void 0===t&&(t=r.asyncScheduler),o.sampleTime(e,t)(this)}},"./node_modules/rxjs-compat/operator/scan.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.scan=function(e,t){return arguments.length>=2?r.scan(e,t)(this):r.scan(e)(this)}},"./node_modules/rxjs-compat/operator/sequenceEqual.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.sequenceEqual=function(e,t){return r.sequenceEqual(e,t)(this)}},"./node_modules/rxjs-compat/operator/share.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.share=function(){return r.share()(this)}},"./node_modules/rxjs-compat/operator/shareReplay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.shareReplay=function(e,t,n){return r.shareReplay(e,t,n)(this)}},"./node_modules/rxjs-compat/operator/single.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.single=function(e){return r.single(e)(this)}},"./node_modules/rxjs-compat/operator/skip.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.skip=function(e){return r.skip(e)(this)}},"./node_modules/rxjs-compat/operator/skipLast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.skipLast=function(e){return r.skipLast(e)(this)}},"./node_modules/rxjs-compat/operator/skipUntil.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.skipUntil=function(e){return r.skipUntil(e)(this)}},"./node_modules/rxjs-compat/operator/skipWhile.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.skipWhile=function(e){return r.skipWhile(e)(this)}},"./node_modules/rxjs-compat/operator/startWith.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.startWith.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/subscribeOn.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.subscribeOn=function(e,t){return void 0===t&&(t=0),r.subscribeOn(e,t)(this)}},"./node_modules/rxjs-compat/operator/switch.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t._switch=function(){return r.switchAll()(this)}},"./node_modules/rxjs-compat/operator/switchMap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.switchMap=function(e){return r.switchMap(e)(this)}},"./node_modules/rxjs-compat/operator/switchMapTo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.switchMapTo=function(e){return r.switchMapTo(e)(this)}},"./node_modules/rxjs-compat/operator/take.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.take=function(e){return r.take(e)(this)}},"./node_modules/rxjs-compat/operator/takeLast.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.takeLast=function(e){return r.takeLast(e)(this)}},"./node_modules/rxjs-compat/operator/takeUntil.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.takeUntil=function(e){return r.takeUntil(e)(this)}},"./node_modules/rxjs-compat/operator/takeWhile.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.takeWhile=function(e){return r.takeWhile(e)(this)}},"./node_modules/rxjs-compat/operator/throttle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js"),o=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js");t.throttle=function(e,t){return void 0===t&&(t=o.defaultThrottleConfig),r.throttle(e,t)(this)}},"./node_modules/rxjs-compat/operator/throttleTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js");t.throttleTime=function(e,t,n){return void 0===t&&(t=r.asyncScheduler),void 0===n&&(n=o.defaultThrottleConfig),i.throttleTime(e,t,n)(this)}},"./node_modules/rxjs-compat/operator/timeInterval.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.timeInterval=function(e){return void 0===e&&(e=r.asyncScheduler),o.timeInterval(e)(this)}},"./node_modules/rxjs-compat/operator/timeout.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.timeout=function(e,t){return void 0===t&&(t=r.asyncScheduler),o.timeout(e,t)(this)}},"./node_modules/rxjs-compat/operator/timeoutWith.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.timeoutWith=function(e,t,n){return void 0===n&&(n=r.asyncScheduler),o.timeoutWith(e,t,n)(this)}},"./node_modules/rxjs-compat/operator/timestamp.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js");t.timestamp=function(e){return void 0===e&&(e=r.asyncScheduler),o.timestamp(e)(this)}},"./node_modules/rxjs-compat/operator/toArray.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.toArray=function(){return r.toArray()(this)}},"./node_modules/rxjs-compat/operator/window.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.window=function(e){return r.window(e)(this)}},"./node_modules/rxjs-compat/operator/windowCount.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.windowCount=function(e,t){return void 0===t&&(t=0),r.windowCount(e,t)(this)}},"./node_modules/rxjs-compat/operator/windowTime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/internal-compatibility/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js");t.windowTime=function(e){var t=r.asyncScheduler,n=null,a=Number.POSITIVE_INFINITY;return o.isScheduler(arguments[3])&&(t=arguments[3]),o.isScheduler(arguments[2])?t=arguments[2]:o.isNumeric(arguments[2])&&(a=arguments[2]),o.isScheduler(arguments[1])?t=arguments[1]:o.isNumeric(arguments[1])&&(n=arguments[1]),i.windowTime(e,n,a,t)(this)}},"./node_modules/rxjs-compat/operator/windowToggle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.windowToggle=function(e,t){return r.windowToggle(e,t)(this)}},"./node_modules/rxjs-compat/operator/windowWhen.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.windowWhen=function(e){return r.windowWhen(e)(this)}},"./node_modules/rxjs-compat/operator/withLatestFrom.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.withLatestFrom.apply(void 0,e)(this)}},"./node_modules/rxjs-compat/operator/zip.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/index.js");t.zipProto=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lift.call(r.zip.apply(void 0,[this].concat(e)))}},"./node_modules/rxjs-compat/operator/zipAll.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/_esm5/operators/index.js");t.zipAll=function(e){return r.zipAll(e)(this)}},"./node_modules/rxjs/Observable.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("./node_modules/rxjs-compat/Observable.js"))},"./node_modules/rxjs/Rx.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("./node_modules/rxjs-compat/Rx.js"))},"./node_modules/rxjs/_esm5/ajax/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/rxjs/_esm5/internal/observable/dom/ajax.js");n.d(t,"ajax",(function(){return r.ajax}));var o=n("./node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js");n.d(t,"AjaxResponse",(function(){return o.AjaxResponse})),n.d(t,"AjaxError",(function(){return o.AjaxError})),n.d(t,"AjaxTimeoutError",(function(){return o.AjaxTimeoutError}))},"./node_modules/rxjs/_esm5/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/rxjs/_esm5/internal/Observable.js");n.d(t,"Observable",(function(){return r.Observable}));var o=n("./node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js");n.d(t,"ConnectableObservable",(function(){return o.ConnectableObservable}));var i=n("./node_modules/rxjs/_esm5/internal/operators/groupBy.js");n.d(t,"GroupedObservable",(function(){return i.GroupedObservable}));var a=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js");n.d(t,"observable",(function(){return a.observable}));var s=n("./node_modules/rxjs/_esm5/internal/Subject.js");n.d(t,"Subject",(function(){return s.Subject}));var l=n("./node_modules/rxjs/_esm5/internal/BehaviorSubject.js");n.d(t,"BehaviorSubject",(function(){return l.BehaviorSubject}));var c=n("./node_modules/rxjs/_esm5/internal/ReplaySubject.js");n.d(t,"ReplaySubject",(function(){return c.ReplaySubject}));var u=n("./node_modules/rxjs/_esm5/internal/AsyncSubject.js");n.d(t,"AsyncSubject",(function(){return u.AsyncSubject}));var d=n("./node_modules/rxjs/_esm5/internal/scheduler/asap.js");n.d(t,"asapScheduler",(function(){return d.asap}));var p=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js");n.d(t,"asyncScheduler",(function(){return p.async}));var f=n("./node_modules/rxjs/_esm5/internal/scheduler/queue.js");n.d(t,"queueScheduler",(function(){return f.queue}));var h=n("./node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js");n.d(t,"animationFrameScheduler",(function(){return h.animationFrame}));var m=n("./node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js");n.d(t,"VirtualTimeScheduler",(function(){return m.VirtualTimeScheduler})),n.d(t,"VirtualAction",(function(){return m.VirtualAction}));var g=n("./node_modules/rxjs/_esm5/internal/Scheduler.js");n.d(t,"Scheduler",(function(){return g.Scheduler}));var y=n("./node_modules/rxjs/_esm5/internal/Subscription.js");n.d(t,"Subscription",(function(){return y.Subscription}));var v=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");n.d(t,"Subscriber",(function(){return v.Subscriber}));var b=n("./node_modules/rxjs/_esm5/internal/Notification.js");n.d(t,"Notification",(function(){return b.Notification}));var _=n("./node_modules/rxjs/_esm5/internal/util/pipe.js");n.d(t,"pipe",(function(){return _.pipe}));var w=n("./node_modules/rxjs/_esm5/internal/util/noop.js");n.d(t,"noop",(function(){return w.noop}));var C=n("./node_modules/rxjs/_esm5/internal/util/identity.js");n.d(t,"identity",(function(){return C.identity}));var S=n("./node_modules/rxjs/_esm5/internal/util/isObservable.js");n.d(t,"isObservable",(function(){return S.isObservable}));var E=n("./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js");n.d(t,"ArgumentOutOfRangeError",(function(){return E.ArgumentOutOfRangeError}));var x=n("./node_modules/rxjs/_esm5/internal/util/EmptyError.js");n.d(t,"EmptyError",(function(){return x.EmptyError}));var k=n("./node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js");n.d(t,"ObjectUnsubscribedError",(function(){return k.ObjectUnsubscribedError}));var O=n("./node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js");n.d(t,"UnsubscriptionError",(function(){return O.UnsubscriptionError}));var T=n("./node_modules/rxjs/_esm5/internal/util/TimeoutError.js");n.d(t,"TimeoutError",(function(){return T.TimeoutError}));var A=n("./node_modules/rxjs/_esm5/internal/observable/bindCallback.js");n.d(t,"bindCallback",(function(){return A.bindCallback}));var P=n("./node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js");n.d(t,"bindNodeCallback",(function(){return P.bindNodeCallback}));var R=n("./node_modules/rxjs/_esm5/internal/observable/combineLatest.js");n.d(t,"combineLatest",(function(){return R.combineLatest}));var I=n("./node_modules/rxjs/_esm5/internal/observable/concat.js");n.d(t,"concat",(function(){return I.concat}));var M=n("./node_modules/rxjs/_esm5/internal/observable/defer.js");n.d(t,"defer",(function(){return M.defer}));var N=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");n.d(t,"empty",(function(){return N.empty}));var D=n("./node_modules/rxjs/_esm5/internal/observable/forkJoin.js");n.d(t,"forkJoin",(function(){return D.forkJoin}));var j=n("./node_modules/rxjs/_esm5/internal/observable/from.js");n.d(t,"from",(function(){return j.from}));var L=n("./node_modules/rxjs/_esm5/internal/observable/fromEvent.js");n.d(t,"fromEvent",(function(){return L.fromEvent}));var B=n("./node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js");n.d(t,"fromEventPattern",(function(){return B.fromEventPattern}));var F=n("./node_modules/rxjs/_esm5/internal/observable/generate.js");n.d(t,"generate",(function(){return F.generate}));var U=n("./node_modules/rxjs/_esm5/internal/observable/iif.js");n.d(t,"iif",(function(){return U.iif}));var H=n("./node_modules/rxjs/_esm5/internal/observable/interval.js");n.d(t,"interval",(function(){return H.interval}));var V=n("./node_modules/rxjs/_esm5/internal/observable/merge.js");n.d(t,"merge",(function(){return V.merge}));var z=n("./node_modules/rxjs/_esm5/internal/observable/never.js");n.d(t,"never",(function(){return z.never}));var q=n("./node_modules/rxjs/_esm5/internal/observable/of.js");n.d(t,"of",(function(){return q.of}));var G=n("./node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js");n.d(t,"onErrorResumeNext",(function(){return G.onErrorResumeNext}));var W=n("./node_modules/rxjs/_esm5/internal/observable/pairs.js");n.d(t,"pairs",(function(){return W.pairs}));var Y=n("./node_modules/rxjs/_esm5/internal/observable/race.js");n.d(t,"race",(function(){return Y.race}));var Z=n("./node_modules/rxjs/_esm5/internal/observable/range.js");n.d(t,"range",(function(){return Z.range}));var K=n("./node_modules/rxjs/_esm5/internal/observable/throwError.js");n.d(t,"throwError",(function(){return K.throwError}));var $=n("./node_modules/rxjs/_esm5/internal/observable/timer.js");n.d(t,"timer",(function(){return $.timer}));var Q=n("./node_modules/rxjs/_esm5/internal/observable/using.js");n.d(t,"using",(function(){return Q.using}));var X=n("./node_modules/rxjs/_esm5/internal/observable/zip.js");n.d(t,"zip",(function(){return X.zip})),n.d(t,"EMPTY",(function(){return N.EMPTY})),n.d(t,"NEVER",(function(){return z.NEVER}));var J=n("./node_modules/rxjs/_esm5/internal/config.js");n.d(t,"config",(function(){return J.config}))},"./node_modules/rxjs/_esm5/internal-compatibility/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/rxjs/_esm5/internal/config.js");n.d(t,"config",(function(){return r.config}));var o=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js");n.d(t,"InnerSubscriber",(function(){return o.InnerSubscriber}));var i=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js");n.d(t,"OuterSubscriber",(function(){return i.OuterSubscriber}));var a=n("./node_modules/rxjs/_esm5/internal/Scheduler.js");n.d(t,"Scheduler",(function(){return a.Scheduler}));var s=n("./node_modules/rxjs/_esm5/internal/Subject.js");n.d(t,"AnonymousSubject",(function(){return s.AnonymousSubject}));var l=n("./node_modules/rxjs/_esm5/internal/SubjectSubscription.js");n.d(t,"SubjectSubscription",(function(){return l.SubjectSubscription}));var c=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");n.d(t,"Subscriber",(function(){return c.Subscriber}));var u=n("./node_modules/rxjs/_esm5/internal/observable/fromPromise.js");n.d(t,"fromPromise",(function(){return u.fromPromise}));var d=n("./node_modules/rxjs/_esm5/internal/observable/fromIterable.js");n.d(t,"fromIterable",(function(){return d.fromIterable}));var p=n("./node_modules/rxjs/_esm5/internal/observable/dom/ajax.js");n.d(t,"ajax",(function(){return p.ajax}));var f=n("./node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js");n.d(t,"webSocket",(function(){return f.webSocket}));var h=n("./node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js");n.d(t,"ajaxGet",(function(){return h.ajaxGet})),n.d(t,"ajaxPost",(function(){return h.ajaxPost})),n.d(t,"ajaxDelete",(function(){return h.ajaxDelete})),n.d(t,"ajaxPut",(function(){return h.ajaxPut})),n.d(t,"ajaxPatch",(function(){return h.ajaxPatch})),n.d(t,"ajaxGetJSON",(function(){return h.ajaxGetJSON})),n.d(t,"AjaxObservable",(function(){return h.AjaxObservable})),n.d(t,"AjaxSubscriber",(function(){return h.AjaxSubscriber})),n.d(t,"AjaxResponse",(function(){return h.AjaxResponse})),n.d(t,"AjaxError",(function(){return h.AjaxError})),n.d(t,"AjaxTimeoutError",(function(){return h.AjaxTimeoutError}));var m=n("./node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js");n.d(t,"WebSocketSubject",(function(){return m.WebSocketSubject}));var g=n("./node_modules/rxjs/_esm5/internal/observable/combineLatest.js");n.d(t,"CombineLatestOperator",(function(){return g.CombineLatestOperator}));var y=n("./node_modules/rxjs/_esm5/internal/observable/range.js");n.d(t,"dispatch",(function(){return y.dispatch}));var v=n("./node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js");n.d(t,"SubscribeOnObservable",(function(){return v.SubscribeOnObservable}));var b=n("./node_modules/rxjs/_esm5/internal/operators/timestamp.js");n.d(t,"Timestamp",(function(){return b.Timestamp}));var _=n("./node_modules/rxjs/_esm5/internal/operators/timeInterval.js");n.d(t,"TimeInterval",(function(){return _.TimeInterval}));var w=n("./node_modules/rxjs/_esm5/internal/operators/groupBy.js");n.d(t,"GroupedObservable",(function(){return w.GroupedObservable}));var C=n("./node_modules/rxjs/_esm5/internal/operators/throttle.js");n.d(t,"defaultThrottleConfig",(function(){return C.defaultThrottleConfig}));var S=n("./node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js");n.d(t,"rxSubscriber",(function(){return S.rxSubscriber}));var E=n("./node_modules/rxjs/_esm5/internal/symbol/iterator.js");n.d(t,"iterator",(function(){return E.iterator}));var x=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js");n.d(t,"observable",(function(){return x.observable}));var k=n("./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js");n.d(t,"ArgumentOutOfRangeError",(function(){return k.ArgumentOutOfRangeError}));var O=n("./node_modules/rxjs/_esm5/internal/util/EmptyError.js");n.d(t,"EmptyError",(function(){return O.EmptyError}));var T=n("./node_modules/rxjs/_esm5/internal/util/Immediate.js");n.d(t,"Immediate",(function(){return T.Immediate}));var A=n("./node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js");n.d(t,"ObjectUnsubscribedError",(function(){return A.ObjectUnsubscribedError}));var P=n("./node_modules/rxjs/_esm5/internal/util/TimeoutError.js");n.d(t,"TimeoutError",(function(){return P.TimeoutError}));var R=n("./node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js");n.d(t,"UnsubscriptionError",(function(){return R.UnsubscriptionError}));var I=n("./node_modules/rxjs/_esm5/internal/util/applyMixins.js");n.d(t,"applyMixins",(function(){return I.applyMixins}));var M=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js");n.d(t,"errorObject",(function(){return M.errorObject}));var N=n("./node_modules/rxjs/_esm5/internal/util/hostReportError.js");n.d(t,"hostReportError",(function(){return N.hostReportError}));var D=n("./node_modules/rxjs/_esm5/internal/util/identity.js");n.d(t,"identity",(function(){return D.identity}));var j=n("./node_modules/rxjs/_esm5/internal/util/isArray.js");n.d(t,"isArray",(function(){return j.isArray}));var L=n("./node_modules/rxjs/_esm5/internal/util/isArrayLike.js");n.d(t,"isArrayLike",(function(){return L.isArrayLike}));var B=n("./node_modules/rxjs/_esm5/internal/util/isDate.js");n.d(t,"isDate",(function(){return B.isDate}));var F=n("./node_modules/rxjs/_esm5/internal/util/isFunction.js");n.d(t,"isFunction",(function(){return F.isFunction}));var U=n("./node_modules/rxjs/_esm5/internal/util/isIterable.js");n.d(t,"isIterable",(function(){return U.isIterable}));var H=n("./node_modules/rxjs/_esm5/internal/util/isNumeric.js");n.d(t,"isNumeric",(function(){return H.isNumeric}));var V=n("./node_modules/rxjs/_esm5/internal/util/isObject.js");n.d(t,"isObject",(function(){return V.isObject}));var z=n("./node_modules/rxjs/_esm5/internal/util/isInteropObservable.js");n.d(t,"isObservable",(function(){return z.isInteropObservable}));var q=n("./node_modules/rxjs/_esm5/internal/util/isPromise.js");n.d(t,"isPromise",(function(){return q.isPromise}));var G=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");n.d(t,"isScheduler",(function(){return G.isScheduler}));var W=n("./node_modules/rxjs/_esm5/internal/util/noop.js");n.d(t,"noop",(function(){return W.noop}));var Y=n("./node_modules/rxjs/_esm5/internal/util/not.js");n.d(t,"not",(function(){return Y.not}));var Z=n("./node_modules/rxjs/_esm5/internal/util/pipe.js");n.d(t,"pipe",(function(){return Z.pipe}));var K=n("./node_modules/rxjs/_esm5/internal/util/root.js");n.d(t,"root",(function(){return K.root}));var $=n("./node_modules/rxjs/_esm5/internal/util/subscribeTo.js");n.d(t,"subscribeTo",(function(){return $.subscribeTo}));var Q=n("./node_modules/rxjs/_esm5/internal/util/subscribeToArray.js");n.d(t,"subscribeToArray",(function(){return Q.subscribeToArray}));var X=n("./node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js");n.d(t,"subscribeToIterable",(function(){return X.subscribeToIterable}));var J=n("./node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js");n.d(t,"subscribeToObservable",(function(){return J.subscribeToObservable}));var ee=n("./node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js");n.d(t,"subscribeToPromise",(function(){return ee.subscribeToPromise}));var te=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");n.d(t,"subscribeToResult",(function(){return te.subscribeToResult}));var ne=n("./node_modules/rxjs/_esm5/internal/util/toSubscriber.js");n.d(t,"toSubscriber",(function(){return ne.toSubscriber}));var re=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js");n.d(t,"tryCatch",(function(){return re.tryCatch}))},"./node_modules/rxjs/_esm5/internal/AsyncSubject.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AsyncSubject",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return r.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),i.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),i.Subscription.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(o.Subject)},"./node_modules/rxjs/_esm5/internal/BehaviorSubject.js":function(e,t,n){"use strict";n.r(t),n.d(t,"BehaviorSubject",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js"),a=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return r.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(o.Subject)},"./node_modules/rxjs/_esm5/internal/InnerSubscriber.js":function(e,t,n){"use strict";n.r(t),n.d(t,"InnerSubscriber",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n("./node_modules/rxjs/_esm5/internal/Subscriber.js").Subscriber)},"./node_modules/rxjs/_esm5/internal/Notification.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Notification",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/observable/empty.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/of.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/throwError.js"),a=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.of)(this.value);case"E":return Object(i.throwError)(this.error);case"C":return Object(r.empty)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"./node_modules/rxjs/_esm5/internal/Observable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/util/toSubscriber.js"),o=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js"),i=n("./node_modules/rxjs/_esm5/internal/util/pipe.js"),a=n("./node_modules/rxjs/_esm5/internal/config.js"),s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,i=Object(r.toSubscriber)(e,t,n);if(o?o.call(i,this.source):i._addParentTeardownLogic(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=l(t))((function(t,r){var o;o=n.subscribe((function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&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 0===e.length?this:Object(i.pipeFromArray)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=l(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function l(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},"./node_modules/rxjs/_esm5/internal/Observer.js":function(e,t,n){"use strict";n.r(t),n.d(t,"empty",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/config.js"),o=n("./node_modules/rxjs/_esm5/internal/util/hostReportError.js"),i={closed:!0,next:function(e){},error:function(e){if(r.config.useDeprecatedSynchronousErrorHandling)throw e;Object(o.hostReportError)(e)},complete:function(){}}},"./node_modules/rxjs/_esm5/internal/OuterSubscriber.js":function(e,t,n){"use strict";n.r(t),n.d(t,"OuterSubscriber",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n("./node_modules/rxjs/_esm5/internal/Subscriber.js").Subscriber)},"./node_modules/rxjs/_esm5/internal/ReplaySubject.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ReplaySubject",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/scheduler/queue.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/observeOn.js"),l=n("./node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js"),c=n("./node_modules/rxjs/_esm5/internal/SubjectSubscription.js"),u=function(e){function t(t,n,r){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var o=e.call(this)||this;return o.scheduler=r,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=t<1?1:t,o._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return r.__extends(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new d(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=r.length;if(this.closed)throw new l.ObjectUnsubscribedError;if(this.isStopped||this.hasError?t=a.Subscription.EMPTY:(this.observers.push(e),t=new c.SubjectSubscription(this,e)),o&&e.add(e=new s.ObserveOnSubscriber(e,o)),n)for(var u=0;u<i&&!e.closed;u++)e.next(r[u]);else for(u=0;u<i&&!e.closed;u++)e.next(r[u].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||i.queue).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,o=r.length,i=0;i<o&&!(e-r[i].time<n);)i++;return o>t&&(i=Math.max(i,o-t)),i>0&&r.splice(0,i),r},t}(o.Subject),d=function(){return function(e,t){this.time=e,this.value=t}}()},"./node_modules/rxjs/_esm5/internal/Scheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Scheduler",(function(){return r}));var r=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}()},"./node_modules/rxjs/_esm5/internal/Subject.js":function(e,t,n){"use strict";n.r(t),n.d(t,"SubjectSubscriber",(function(){return u})),n.d(t,"Subject",(function(){return d})),n.d(t,"AnonymousSubject",(function(){return p}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Observable.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),s=n("./node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js"),l=n("./node_modules/rxjs/_esm5/internal/SubjectSubscription.js"),c=n("./node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js"),u=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r.__extends(t,e),t}(i.Subscriber),d=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.__extends(t,e),t.prototype[c.rxSubscriber]=function(){return new u(this)},t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new s.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),a.Subscription.EMPTY):this.isStopped?(e.complete(),a.Subscription.EMPTY):(this.observers.push(e),new l.SubjectSubscription(this,e))},t.prototype.asObservable=function(){var e=new o.Observable;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(o.Observable),p=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return r.__extends(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):a.Subscription.EMPTY},t}(d)},"./node_modules/rxjs/_esm5/internal/SubjectSubscription.js":function(e,t,n){"use strict";n.r(t),n.d(t,"SubjectSubscription",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return r.__extends(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(n("./node_modules/rxjs/_esm5/internal/Subscription.js").Subscription)},"./node_modules/rxjs/_esm5/internal/Subscriber.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Subscriber",(function(){return u})),n.d(t,"SafeSubscriber",(function(){return d}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isFunction.js"),i=n("./node_modules/rxjs/_esm5/internal/Observer.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),s=n("./node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/config.js"),c=n("./node_modules/rxjs/_esm5/internal/util/hostReportError.js"),u=function(e){function t(t,n,r){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,o._parentSubscription=null,arguments.length){case 0:o.destination=i.empty;break;case 1:if(!t){o.destination=i.empty;break}if("object"==typeof t){if(p(t)){var a=t[s.rxSubscriber]();o.syncErrorThrowable=a.syncErrorThrowable,o.destination=a,a._addParentTeardownLogic(o)}else o.syncErrorThrowable=!0,o.destination=new d(o,t);break}default:o.syncErrorThrowable=!0,o.destination=new d(o,t,n,r)}return o}return r.__extends(t,e),t.prototype[s.rxSubscriber]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e),this._unsubscribeParentSubscription())},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete(),this._unsubscribeParentSubscription())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._addParentTeardownLogic=function(e){e!==this&&(this._parentSubscription=this.add(e))},t.prototype._unsubscribeParentSubscription=function(){null!==this._parentSubscription&&this._parentSubscription.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this._parentSubscription=null,this},t}(a.Subscription),d=function(e){function t(t,n,r,a){var s,l=e.call(this)||this;l._parentSubscriber=t;var c=l;return Object(o.isFunction)(n)?s=n:n&&(s=n.next,r=n.error,a=n.complete,n!==i.empty&&(c=Object.create(n),Object(o.isFunction)(c.unsubscribe)&&l.add(c.unsubscribe.bind(c)),c.unsubscribe=l.unsubscribe.bind(l))),l._context=c,l._next=s,l._error=r,l._complete=a,l}return r.__extends(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;l.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=l.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.hostReportError)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.hostReportError)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};l.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),l.config.useDeprecatedSynchronousErrorHandling)throw e;Object(c.hostReportError)(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return l.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(c.hostReportError)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u);function p(e){return e instanceof u||"_addParentTeardownLogic"in e&&e[s.rxSubscriber]}},"./node_modules/rxjs/_esm5/internal/Subscription.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Subscription",(function(){return c}));var r=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isObject.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isFunction.js"),a=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),s=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),l=n("./node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js"),c=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,c=this._parents,d=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,h=c?c.length:0;n;)n.remove(this),n=++f<h&&c[f]||null;if(Object(i.isFunction)(d))Object(a.tryCatch)(d).call(this)===s.errorObject&&(t=!0,e=e||(s.errorObject.e instanceof l.UnsubscriptionError?u(s.errorObject.e.errors):[s.errorObject.e]));if(Object(r.isArray)(p))for(f=-1,h=p.length;++f<h;){var m=p[f];if(Object(o.isObject)(m))if(Object(a.tryCatch)(m.unsubscribe).call(m)===s.errorObject){t=!0,e=e||[];var g=s.errorObject.e;g instanceof l.UnsubscriptionError?e=e.concat(u(g.errors)):e.push(g)}}if(t)throw new l.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function u(e){return e.reduce((function(e,t){return e.concat(t instanceof l.UnsubscriptionError?t.errors:t)}),[])}},"./node_modules/rxjs/_esm5/internal/config.js":function(e,t,n){"use strict";n.r(t),n.d(t,"config",(function(){return o}));var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"./node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ConnectableObservable",(function(){return c})),n.d(t,"connectableObservableDescriptor",(function(){return d}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/Observable.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),l=n("./node_modules/rxjs/_esm5/internal/operators/refCount.js"),c=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(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.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.Subscription).add(this.source.subscribe(new p(this.getSubject(),this))),e.closed?(this._connection=null,e=s.Subscription.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return Object(l.refCount)()(this)},t}(i.Observable),u=c.prototype,d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}},p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.SubjectSubscriber);a.Subscriber},"./node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"SubscribeOnObservable",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Observable.js"),i=n("./node_modules/rxjs/_esm5/internal/scheduler/asap.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isNumeric.js"),s=function(e){function t(t,n,r){void 0===n&&(n=0),void 0===r&&(r=i.asap);var o=e.call(this)||this;return o.source=t,o.delayTime=n,o.scheduler=r,(!Object(a.isNumeric)(n)||n<0)&&(o.delayTime=0),r&&"function"==typeof r.schedule||(o.scheduler=i.asap),o}return r.__extends(t,e),t.create=function(e,n,r){return void 0===n&&(n=0),void 0===r&&(r=i.asap),new t(e,n,r)},t.dispatch=function(e){var t=e.source,n=e.subscriber;return this.add(t.subscribe(n))},t.prototype._subscribe=function(e){var n=this.delayTime,r=this.source;return this.scheduler.schedule(t.dispatch,n,{source:r,subscriber:e})},t}(o.Observable)},"./node_modules/rxjs/_esm5/internal/observable/bindCallback.js":function(e,t,n){"use strict";n.r(t),n.d(t,"bindCallback",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/AsyncSubject.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/map.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),s=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function l(e,t,n){if(t){if(!Object(s.isScheduler)(t))return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return l(e,n).apply(void 0,r).pipe(Object(i.map)((function(e){return Object(a.isArray)(e)?t.apply(void 0,e):t(e)})))};n=t}return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var a,s=this,l={context:s,subject:a,callbackFunc:e,scheduler:n};return new r.Observable((function(r){if(n){var i={args:t,subscriber:r,params:l};return n.schedule(c,0,i)}if(!a){a=new o.AsyncSubject;try{e.apply(s,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a.next(e.length<=1?e[0]:e),a.complete()}]))}catch(e){a.error(e)}}return a.subscribe(r)}))}}function c(e){var t=this,n=e.args,r=e.subscriber,i=e.params,a=i.callbackFunc,s=i.context,l=i.scheduler,c=i.subject;if(!c){c=i.subject=new o.AsyncSubject;try{a.apply(s,n.concat([function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length<=1?e[0]:e;t.add(l.schedule(u,0,{value:r,subject:c}))}]))}catch(e){c.error(e)}}this.add(c.subscribe(r))}function u(e){var t=e.value,n=e.subject;n.next(t),n.complete()}},"./node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js":function(e,t,n){"use strict";n.r(t),n.d(t,"bindNodeCallback",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/AsyncSubject.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/map.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js"),s=n("./node_modules/rxjs/_esm5/internal/util/isArray.js");function l(e,t,n){if(t){if(!Object(a.isScheduler)(t))return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return l(e,n).apply(void 0,r).pipe(Object(i.map)((function(e){return Object(s.isArray)(e)?t.apply(void 0,e):t(e)})))};n=t}return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var a={subject:void 0,args:t,callbackFunc:e,scheduler:n,context:this};return new r.Observable((function(r){var i=a.context,s=a.subject;if(n)return n.schedule(c,0,{params:a,subscriber:r,context:i});if(!s){s=a.subject=new o.AsyncSubject;try{e.apply(i,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.shift();n?s.error(n):(s.next(e.length<=1?e[0]:e),s.complete())}]))}catch(e){s.error(e)}}return s.subscribe(r)}))}}function c(e){var t=this,n=e.params,r=e.subscriber,i=e.context,a=n.callbackFunc,s=n.args,l=n.scheduler,c=n.subject;if(!c){c=n.subject=new o.AsyncSubject;try{a.apply(i,s.concat([function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.shift();if(r)t.add(l.schedule(d,0,{err:r,subject:c}));else{var o=e.length<=1?e[0]:e;t.add(l.schedule(u,0,{value:o,subject:c}))}}]))}catch(e){this.add(l.schedule(d,0,{err:e,subject:c}))}}this.add(c.subscribe(r))}function u(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function d(e){var t=e.err;e.subject.error(t)}},"./node_modules/rxjs/_esm5/internal/observable/combineLatest.js":function(e,t,n){"use strict";n.r(t),n.d(t,"combineLatest",(function(){return u})),n.d(t,"CombineLatestOperator",(function(){return d})),n.d(t,"CombineLatestSubscriber",(function(){return p}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),l=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),c={};function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return Object(o.isScheduler)(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&Object(i.isArray)(e[0])&&(e=e[0]),Object(l.fromArray)(e,r).lift(new d(n))}var d=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.resultSelector))},e}(),p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.__extends(t,e),t.prototype._next=function(e){this.values.push(c),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(Object(s.subscribeToResult)(this,r,r,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){var i=this.values,a=i[n],s=this.toRespond?a===c?--this.toRespond:this.toRespond:0;i[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/observable/concat.js":function(e,t,n){"use strict";n.r(t),n.d(t,"concat",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/of.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/from.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/concatAll.js");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length||2===e.length&&Object(r.isScheduler)(e[1])?Object(i.from)(e[0]):Object(a.concatAll)()(o.of.apply(void 0,e))}},"./node_modules/rxjs/_esm5/internal/observable/defer.js":function(e,t,n){"use strict";n.r(t),n.d(t,"defer",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/from.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function a(e){return new r.Observable((function(t){var n;try{n=e()}catch(e){return void t.error(e)}return(n?Object(o.from)(n):Object(i.empty)()).subscribe(t)}))}},"./node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ajaxGet",(function(){return u})),n.d(t,"ajaxPost",(function(){return d})),n.d(t,"ajaxDelete",(function(){return p})),n.d(t,"ajaxPut",(function(){return f})),n.d(t,"ajaxPatch",(function(){return h})),n.d(t,"ajaxGetJSON",(function(){return g})),n.d(t,"AjaxObservable",(function(){return y})),n.d(t,"AjaxSubscriber",(function(){return v})),n.d(t,"AjaxResponse",(function(){return b})),n.d(t,"AjaxError",(function(){return w})),n.d(t,"AjaxTimeoutError",(function(){return E}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/root.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),s=n("./node_modules/rxjs/_esm5/internal/Observable.js"),l=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),c=n("./node_modules/rxjs/_esm5/internal/operators/map.js");function u(e,t){return void 0===t&&(t=null),new y({method:"GET",url:e,headers:t})}function d(e,t,n){return new y({method:"POST",url:e,body:t,headers:n})}function p(e,t){return new y({method:"DELETE",url:e,headers:t})}function f(e,t,n){return new y({method:"PUT",url:e,body:t,headers:n})}function h(e,t,n){return new y({method:"PATCH",url:e,body:t,headers:n})}var m=Object(c.map)((function(e,t){return e.response}));function g(e,t){return m(new y({method:"GET",url:e,responseType:"json",headers:t}))}var y=function(e){function t(t){var n=e.call(this)||this,r={async:!0,createXHR:function(){return this.crossDomain?function(){if(o.root.XMLHttpRequest)return new o.root.XMLHttpRequest;if(o.root.XDomainRequest)return new o.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(o.root.XMLHttpRequest)return new o.root.XMLHttpRequest;var e=void 0;try{for(var t=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(e=t[n],new o.root.ActiveXObject(e))break}catch(e){}return new o.root.ActiveXObject(e)}catch(e){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof t)r.url=t;else for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);return n.request=r,n}var n;return r.__extends(t,e),t.prototype._subscribe=function(e){return new v(e,this.request)},t.create=((n=function(e){return new t(e)}).get=u,n.post=d,n.delete=p,n.put=f,n.patch=h,n.getJSON=g,n),t}(s.Observable),v=function(e){function t(t,n){var r=e.call(this,t)||this;r.request=n,r.done=!1;var i=n.headers=n.headers||{};return n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in i||o.root.FormData&&n.body instanceof o.root.FormData||void 0===n.body||(i["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=r.serializeBody(n.body,n.headers["Content-Type"]),r.send(),r}return r.__extends(t,e),t.prototype.next=function(e){this.done=!0;var t=this.xhr,n=this.request,r=this.destination,o=new b(e,t,n);o.response===a.errorObject?r.error(a.errorObject.e):r.next(o)},t.prototype.send=function(){var e=this.request,t=this.request,n=t.user,r=t.method,o=t.url,s=t.async,l=t.password,c=t.headers,u=t.body,d=e.createXHR,p=Object(i.tryCatch)(d).call(e);if(p===a.errorObject)this.error(a.errorObject.e);else{this.xhr=p,this.setupEvents(p,e);if((n?Object(i.tryCatch)(p.open).call(p,r,o,s,n,l):Object(i.tryCatch)(p.open).call(p,r,o,s))===a.errorObject)return this.error(a.errorObject.e),null;if(s&&(p.timeout=e.timeout,p.responseType=e.responseType),"withCredentials"in p&&(p.withCredentials=!!e.withCredentials),this.setHeaders(p,c),(u?Object(i.tryCatch)(p.send).call(p,u):Object(i.tryCatch)(p.send).call(p))===a.errorObject)return this.error(a.errorObject.e),null}return p},t.prototype.serializeBody=function(e,t){if(!e||"string"==typeof e)return e;if(o.root.FormData&&e instanceof o.root.FormData)return e;if(t){var n=t.indexOf(";");-1!==n&&(t=t.substring(0,n))}switch(t){case"application/x-www-form-urlencoded":return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");case"application/json":return JSON.stringify(e);default:return e}},t.prototype.setHeaders=function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setRequestHeader(n,t[n])},t.prototype.setupEvents=function(e,t){var n=t.progressSubscriber;function r(e){var t=r,n=t.subscriber,o=t.progressSubscriber,i=t.request;o&&o.error(e);var s=new E(this,i);s.response===a.errorObject?n.error(a.errorObject.e):n.error(s)}if(e.ontimeout=r,r.request=t,r.subscriber=this,r.progressSubscriber=n,e.upload&&"withCredentials"in e){var i,s;if(n)i=function(e){i.progressSubscriber.next(e)},o.root.XDomainRequest?e.onprogress=i:e.upload.onprogress=i,i.progressSubscriber=n;s=function(e){var t=s,n=t.progressSubscriber,r=t.subscriber,o=t.request;n&&n.error(e);var i=new w("ajax error",this,o);i.response===a.errorObject?r.error(a.errorObject.e):r.error(i)},e.onerror=s,s.request=t,s.subscriber=this,s.progressSubscriber=n}function l(e){}function c(e){var t=c,n=t.subscriber,r=t.progressSubscriber,o=t.request;if(4===this.readyState){var i=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;if(0===i&&(i=s?200:0),i<400)r&&r.complete(),n.next(e),n.complete();else{r&&r.error(e);var l=new w("ajax error "+i,this,o);l.response===a.errorObject?n.error(a.errorObject.e):n.error(l)}}}e.onreadystatechange=l,l.subscriber=this,l.progressSubscriber=n,l.request=t,e.onload=c,c.subscriber=this,c.progressSubscriber=n,c.request=t},t.prototype.unsubscribe=function(){var t=this.done,n=this.xhr;!t&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),e.prototype.unsubscribe.call(this)},t}(l.Subscriber),b=function(){return function(e,t,n){this.originalEvent=e,this.xhr=t,this.request=n,this.status=t.status,this.responseType=t.responseType||n.responseType,this.response=S(this.responseType,t)}}();function _(e,t,n){return Error.call(this),this.message=e,this.name="AjaxError",this.xhr=t,this.request=n,this.status=t.status,this.responseType=t.responseType||n.responseType,this.response=S(this.responseType,t),this}_.prototype=Object.create(Error.prototype);var w=_;function C(e){return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null")}function S(e,t){switch(e){case"json":return Object(i.tryCatch)(C)(t);case"xml":return t.responseXML;case"text":default:return"response"in t?t.response:t.responseText}}var E=function(e,t){return w.call(this,"ajax timeout",e,t),this.name="AjaxTimeoutError",this}},"./node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js":function(e,t,n){"use strict";n.r(t),n.d(t,"WebSocketSubject",(function(){return p}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/Observable.js"),s=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),l=n("./node_modules/rxjs/_esm5/internal/ReplaySubject.js"),c=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),u=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),d={url:"",deserializer:function(e){return JSON.parse(e.data)},serializer:function(e){return JSON.stringify(e)}},p=function(e){function t(t,n){var i=e.call(this)||this;if(t instanceof a.Observable)i.destination=n,i.source=t;else{var s=i._config=r.__assign({},d);if(i._output=new o.Subject,"string"==typeof t)s.url=t;else for(var c in t)t.hasOwnProperty(c)&&(s[c]=t[c]);if(!s.WebSocketCtor&&WebSocket)s.WebSocketCtor=WebSocket;else if(!s.WebSocketCtor)throw new Error("no WebSocket constructor can be found");i.destination=new l.ReplaySubject}return i}return r.__extends(t,e),t.prototype.lift=function(e){var n=new t(this._config,this.destination);return n.operator=e,n.source=this,n},t.prototype._resetState=function(){this._socket=null,this.source||(this.destination=new l.ReplaySubject),this._output=new o.Subject},t.prototype.multiplex=function(e,t,n){var r=this;return new a.Observable((function(o){var i=Object(c.tryCatch)(e)();i===u.errorObject?o.error(u.errorObject.e):r.next(i);var a=r.subscribe((function(e){var t=Object(c.tryCatch)(n)(e);t===u.errorObject?o.error(u.errorObject.e):t&&o.next(e)}),(function(e){return o.error(e)}),(function(){return o.complete()}));return function(){var e=Object(c.tryCatch)(t)();e===u.errorObject?o.error(u.errorObject.e):r.next(e),a.unsubscribe()}}))},t.prototype._connectSocket=function(){var e=this,t=this._config,n=t.WebSocketCtor,r=t.protocol,o=t.url,a=t.binaryType,d=this._output,p=null;try{p=r?new n(o,r):new n(o),this._socket=p,a&&(this._socket.binaryType=a)}catch(e){return void d.error(e)}var f=new s.Subscription((function(){e._socket=null,p&&1===p.readyState&&p.close()}));p.onopen=function(t){var n=e._config.openObserver;n&&n.next(t);var r=e.destination;e.destination=i.Subscriber.create((function(t){if(1===p.readyState){var n=e._config.serializer,r=Object(c.tryCatch)(n)(t);if(r===u.errorObject)return void e.destination.error(u.errorObject.e);p.send(r)}}),(function(t){var n=e._config.closingObserver;n&&n.next(void 0),t&&t.code?p.close(t.code,t.reason):d.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),e._resetState()}),(function(){var t=e._config.closingObserver;t&&t.next(void 0),p.close(),e._resetState()})),r&&r instanceof l.ReplaySubject&&f.add(r.subscribe(e.destination))},p.onerror=function(t){e._resetState(),d.error(t)},p.onclose=function(t){e._resetState();var n=e._config.closeObserver;n&&n.next(t),t.wasClean?d.complete():d.error(t)},p.onmessage=function(t){var n=e._config.deserializer,r=Object(c.tryCatch)(n)(t);r===u.errorObject?d.error(u.errorObject.e):d.next(r)}},t.prototype._subscribe=function(e){var t=this,n=this.source;return n?n.subscribe(e):(this._socket||this._connectSocket(),this._output.subscribe(e),e.add((function(){var e=t._socket;0===t._output.observers.length&&(e&&1===e.readyState&&e.close(),t._resetState())})),e)},t.prototype.unsubscribe=function(){var t=this.source,n=this._socket;n&&1===n.readyState&&(n.close(),this._resetState()),e.prototype.unsubscribe.call(this),t||(this.destination=new l.ReplaySubject)},t}(o.AnonymousSubject)},"./node_modules/rxjs/_esm5/internal/observable/dom/ajax.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ajax",(function(){return r}));var r=n("./node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js").AjaxObservable.create},"./node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js":function(e,t,n){"use strict";n.r(t),n.d(t,"webSocket",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js");function o(e){return new r.WebSocketSubject(e)}},"./node_modules/rxjs/_esm5/internal/observable/empty.js":function(e,t,n){"use strict";n.r(t),n.d(t,"EMPTY",(function(){return o})),n.d(t,"empty",(function(){return i})),n.d(t,"emptyScheduled",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=new r.Observable((function(e){return e.complete()}));function i(e){return e?a(e):o}function a(e){return new r.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}},"./node_modules/rxjs/_esm5/internal/observable/forkJoin.js":function(e,t,n){"use strict";n.r(t),n.d(t,"forkJoin",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Observable.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/empty.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),l=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),c=n("./node_modules/rxjs/_esm5/internal/operators/map.js");function u(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(i.isArray)(t[0])&&(t=t[0]),0===t.length?a.EMPTY:e?u(t).pipe(Object(c.map)((function(t){return e.apply(void 0,t)}))):new o.Observable((function(e){return new d(e,t)}))}var d=function(e){function t(t,n){var r=e.call(this,t)||this;r.sources=n,r.completed=0,r.haveValues=0;var o=n.length;r.values=new Array(o);for(var i=0;i<o;i++){var a=n[i],l=Object(s.subscribeToResult)(r,a,null,i);l&&r.add(l)}return r}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values[n]=t,o._hasValue||(o._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,r=this.values,o=r.length;e._hasValue?(this.completed++,this.completed===o&&(n===o&&t.next(r),t.complete())):t.complete()},t}(l.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/observable/from.js":function(e,t,n){"use strict";n.r(t),n.d(t,"from",(function(){return f}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isPromise.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isArrayLike.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isInteropObservable.js"),s=n("./node_modules/rxjs/_esm5/internal/util/isIterable.js"),l=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),c=n("./node_modules/rxjs/_esm5/internal/observable/fromPromise.js"),u=n("./node_modules/rxjs/_esm5/internal/observable/fromIterable.js"),d=n("./node_modules/rxjs/_esm5/internal/observable/fromObservable.js"),p=n("./node_modules/rxjs/_esm5/internal/util/subscribeTo.js");function f(e,t){if(!t)return e instanceof r.Observable?e:new r.Observable(Object(p.subscribeTo)(e));if(null!=e){if(Object(a.isInteropObservable)(e))return Object(d.fromObservable)(e,t);if(Object(o.isPromise)(e))return Object(c.fromPromise)(e,t);if(Object(i.isArrayLike)(e))return Object(l.fromArray)(e,t);if(Object(s.isIterable)(e)||"string"==typeof e)return Object(u.fromIterable)(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},"./node_modules/rxjs/_esm5/internal/observable/fromArray.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fromArray",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToArray.js");function a(e,t){return t?new r.Observable((function(n){var r=new o.Subscription,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})):new r.Observable(Object(i.subscribeToArray)(e))}},"./node_modules/rxjs/_esm5/internal/observable/fromEvent.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fromEvent",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isFunction.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/map.js");Object.prototype.toString;function s(e,t,n,l){return Object(i.isFunction)(n)&&(l=n,n=void 0),l?s(e,t,n).pipe(Object(a.map)((function(e){return Object(o.isArray)(e)?l.apply(void 0,e):l(e)}))):new r.Observable((function(r){!function e(t,n,r,o,i){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,r,i),a=function(){return s.removeEventListener(n,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var l=t;t.on(n,r),a=function(){return l.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var c=t;t.addListener(n,r),a=function(){return c.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,d=t.length;u<d;u++)e(t[u],n,r,o,i)}o.add(a)}(e,t,(function(e){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(e)}),r,n)}))}},"./node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fromEventPattern",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isFunction.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/map.js");function s(e,t,n){return n?s(e,t).pipe(Object(a.map)((function(e){return Object(o.isArray)(e)?n.apply(void 0,e):n(e)}))):new r.Observable((function(n){var r,o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.next(1===e.length?e[0]:e)};try{r=e(o)}catch(e){return void n.error(e)}if(Object(i.isFunction)(t))return function(){return t(o,r)}}))}},"./node_modules/rxjs/_esm5/internal/observable/fromIterable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fromIterable",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),i=n("./node_modules/rxjs/_esm5/internal/symbol/iterator.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js");function s(e,t){if(!e)throw new Error("Iterable cannot be null");return t?new r.Observable((function(n){var r,a=new o.Subscription;return a.add((function(){r&&"function"==typeof r.return&&r.return()})),a.add(t.schedule((function(){r=e[i.iterator](),a.add(t.schedule((function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}})))}))),a})):new r.Observable(Object(a.subscribeToIterable)(e))}},"./node_modules/rxjs/_esm5/internal/observable/fromObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fromObservable",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),i=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js");function s(e,t){return t?new r.Observable((function(n){var r=new o.Subscription;return r.add(t.schedule((function(){var o=e[i.observable]();r.add(o.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r})):new r.Observable(Object(a.subscribeToObservable)(e))}},"./node_modules/rxjs/_esm5/internal/observable/fromPromise.js":function(e,t,n){"use strict";n.r(t),n.d(t,"fromPromise",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js");function a(e,t){return t?new r.Observable((function(n){var r=new o.Subscription;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r})):new r.Observable(Object(i.subscribeToPromise)(e))}},"./node_modules/rxjs/_esm5/internal/observable/generate.js":function(e,t,n){"use strict";n.r(t),n.d(t,"generate",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/identity.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function a(e,t,n,a,l){var c,u;if(1==arguments.length){var d=e;u=d.initialState,t=d.condition,n=d.iterate,c=d.resultSelector||o.identity,l=d.scheduler}else void 0===a||Object(i.isScheduler)(a)?(u=e,c=o.identity,l=a):(u=e,c=a);return new r.Observable((function(e){var r=u;if(l)return l.schedule(s,0,{subscriber:e,iterate:n,condition:t,resultSelector:c,state:r});for(;;){if(t){var o=void 0;try{o=t(r)}catch(t){return void e.error(t)}if(!o){e.complete();break}}var i=void 0;try{i=c(r)}catch(t){return void e.error(t)}if(e.next(i),e.closed)break;try{r=n(r)}catch(t){return void e.error(t)}}}))}function s(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(n){var r=void 0;try{r=n(e.state)}catch(e){return void t.error(e)}if(!r)return void t.complete();if(t.closed)return}var o;try{o=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(o),!t.closed))return this.schedule(e)}}},"./node_modules/rxjs/_esm5/internal/observable/iif.js":function(e,t,n){"use strict";n.r(t),n.d(t,"iif",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/observable/defer.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function i(e,t,n){return void 0===t&&(t=o.EMPTY),void 0===n&&(n=o.EMPTY),Object(r.defer)((function(){return e()?t:n}))}},"./node_modules/rxjs/_esm5/internal/observable/interval.js":function(e,t,n){"use strict";n.r(t),n.d(t,"interval",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isNumeric.js");function a(e,t){return void 0===e&&(e=0),void 0===t&&(t=o.async),(!Object(i.isNumeric)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=o.async),new r.Observable((function(n){return n.add(t.schedule(s,e,{subscriber:n,counter:0,period:e})),n}))}function s(e){var t=e.subscriber,n=e.counter,r=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}},"./node_modules/rxjs/_esm5/internal/observable/merge.js":function(e,t,n){"use strict";n.r(t),n.d(t,"merge",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/mergeAll.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,s=null,l=e[e.length-1];return Object(o.isScheduler)(l)?(s=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof l&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof r.Observable?e[0]:Object(i.mergeAll)(n)(Object(a.fromArray)(e,s))}},"./node_modules/rxjs/_esm5/internal/observable/never.js":function(e,t,n){"use strict";n.r(t),n.d(t,"NEVER",(function(){return i})),n.d(t,"never",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/noop.js"),i=new r.Observable(o.noop);function a(){return i}},"./node_modules/rxjs/_esm5/internal/observable/of.js":function(e,t,n){"use strict";n.r(t),n.d(t,"of",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/empty.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/scalar.js");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];switch(Object(r.isScheduler)(n)?e.pop():n=void 0,e.length){case 0:return Object(i.empty)(n);case 1:return n?Object(o.fromArray)(e,n):Object(a.scalar)(e[0]);default:return Object(o.fromArray)(e,n)}}},"./node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js":function(e,t,n){"use strict";n.r(t),n.d(t,"onErrorResumeNext",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/from.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return a.EMPTY;var n=e[0],l=e.slice(1);return 1===e.length&&Object(i.isArray)(n)?s.apply(void 0,n):new r.Observable((function(e){var t=function(){return e.add(s.apply(void 0,l).subscribe(e))};return Object(o.from)(n).subscribe({next:function(t){e.next(t)},error:t,complete:t})}))}},"./node_modules/rxjs/_esm5/internal/observable/pairs.js":function(e,t,n){"use strict";n.r(t),n.d(t,"pairs",(function(){return i})),n.d(t,"dispatch",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js");function i(e,t){return t?new r.Observable((function(n){var r=Object.keys(e),i=new o.Subscription;return i.add(t.schedule(a,0,{keys:r,index:0,subscriber:n,subscription:i,obj:e})),i})):new r.Observable((function(t){for(var n=Object.keys(e),r=0;r<n.length&&!t.closed;r++){var o=n[r];e.hasOwnProperty(o)&&t.next([o,e[o]])}t.complete()}))}function a(e){var t=e.keys,n=e.index,r=e.subscriber,o=e.subscription,i=e.obj;if(!r.closed)if(n<t.length){var a=t[n];r.next([a,i[a]]),o.add(this.schedule({keys:t,index:n+1,subscriber:r,subscription:o,obj:i}))}else r.complete()}},"./node_modules/rxjs/_esm5/internal/observable/race.js":function(e,t,n){"use strict";n.r(t),n.d(t,"race",(function(){return l})),n.d(t,"RaceOperator",(function(){return c})),n.d(t,"RaceSubscriber",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){if(!Object(o.isArray)(e[0]))return e[0];e=e[0]}return Object(i.fromArray)(e,void 0).lift(new c)}var c=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new u(e))},e}(),u=function(e){function t(t){var n=e.call(this,t)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.__extends(t,e),t.prototype._next=function(e){this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=e[n],o=Object(s.subscribeToResult)(this,r,r,n);this.subscriptions&&this.subscriptions.push(o),this.add(o)}this.observables=null}},t.prototype.notifyNext=function(e,t,n,r,o){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==n){var a=this.subscriptions[i];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(t)},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/observable/range.js":function(e,t,n){"use strict";n.r(t),n.d(t,"range",(function(){return o})),n.d(t,"dispatch",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js");function o(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),new r.Observable((function(r){var o=0,a=e;if(n)return n.schedule(i,0,{index:o,count:t,start:e,subscriber:r});for(;;){if(o++>=t){r.complete();break}if(r.next(a++),r.closed)break}}))}function i(e){var t=e.start,n=e.index,r=e.count,o=e.subscriber;n>=r?o.complete():(o.next(t),o.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}},"./node_modules/rxjs/_esm5/internal/observable/scalar.js":function(e,t,n){"use strict";n.r(t),n.d(t,"scalar",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js");function o(e){var t=new r.Observable((function(t){t.next(e),t.complete()}));return t._isScalar=!0,t.value=e,t}},"./node_modules/rxjs/_esm5/internal/observable/throwError.js":function(e,t,n){"use strict";n.r(t),n.d(t,"throwError",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js");function o(e,t){return t?new r.Observable((function(n){return t.schedule(i,0,{error:e,subscriber:n})})):new r.Observable((function(t){return t.error(e)}))}function i(e){var t=e.error;e.subscriber.error(t)}},"./node_modules/rxjs/_esm5/internal/observable/timer.js":function(e,t,n){"use strict";n.r(t),n.d(t,"timer",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isNumeric.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function s(e,t,n){void 0===e&&(e=0);var s=-1;return Object(i.isNumeric)(t)?s=Number(t)<1?1:Number(t):Object(a.isScheduler)(t)&&(n=t),Object(a.isScheduler)(n)||(n=o.async),new r.Observable((function(t){var r=Object(i.isNumeric)(e)?e:+e-n.now();return n.schedule(l,r,{index:0,period:s,subscriber:t})}))}function l(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},"./node_modules/rxjs/_esm5/internal/observable/using.js":function(e,t,n){"use strict";n.r(t),n.d(t,"using",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/from.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function a(e,t){return new r.Observable((function(n){var r,a;try{r=e()}catch(e){return void n.error(e)}try{a=t(r)}catch(e){return void n.error(e)}var s=(a?Object(o.from)(a):i.EMPTY).subscribe(n);return function(){s.unsubscribe(),r&&r.unsubscribe()}}))}},"./node_modules/rxjs/_esm5/internal/observable/zip.js":function(e,t,n){"use strict";n.r(t),n.d(t,"zip",(function(){return u})),n.d(t,"ZipOperator",(function(){return d})),n.d(t,"ZipSubscriber",(function(){return p}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),c=n("./node_modules/rxjs/_esm5/internal/symbol/iterator.js");function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return"function"==typeof n&&e.pop(),Object(o.fromArray)(e,void 0).lift(new d(n))}var d=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.resultSelector))},e}(),p=function(e){function t(t,n,r){void 0===r&&(r=Object.create(null));var o=e.call(this,t)||this;return o.iterators=[],o.active=0,o.resultSelector="function"==typeof n?n:null,o.values=r,o}return r.__extends(t,e),t.prototype._next=function(e){var t=this.iterators;Object(i.isArray)(e)?t.push(new h(e)):"function"==typeof e[c.iterator]?t.push(new f(e[c.iterator]())):t.push(new m(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(0!==t){this.active=t;for(var n=0;n<t;n++){var r=e[n];r.stillUnsubscribed?this.add(r.subscribe(r,n)):this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,n=this.destination,r=0;r<t;r++){if("function"==typeof(a=e[r]).hasValue&&!a.hasValue())return}var o=!1,i=[];for(r=0;r<t;r++){var a,s=(a=e[r]).next();if(a.hasCompleted()&&(o=!0),s.done)return void n.complete();i.push(s.value)}this.resultSelector?this._tryresultSelector(i):n.next(i),o&&n.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(a.Subscriber),f=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},e}(),h=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[c.iterator]=function(){return this},e.prototype.next=function(e){var t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),m=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.parent=n,o.observable=r,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return r.__extends(t,e),t.prototype[c.iterator]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(l.subscribeToResult)(this,this.observable,this,t)},t}(s.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/audit.js":function(e,t,n){"use strict";n.r(t),n.d(t,"audit",(function(){return l}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),i=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function l(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.durationSelector))},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.__extends(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=Object(o.tryCatch)(this.durationSelector)(e);if(t===i.errorObject)this.destination.error(i.errorObject.e);else{var n=Object(s.subscribeToResult)(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,r){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/auditTime.js":function(e,t,n){"use strict";n.r(t),n.d(t,"auditTime",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/audit.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/timer.js");function a(e,t){return void 0===t&&(t=r.async),Object(o.audit)((function(){return Object(i.timer)(e,t)}))}},"./node_modules/rxjs/_esm5/internal/operators/buffer.js":function(e,t,n){"use strict";n.r(t),n.d(t,"buffer",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.closingNotifier))},e}(),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.buffer=[],r.add(Object(i.subscribeToResult)(r,n)),r}return r.__extends(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(e,t,n,r,o){var i=this.buffer;this.buffer=[],this.destination.next(i)},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/bufferCount.js":function(e,t,n){"use strict";n.r(t),n.d(t,"bufferCount",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e,t){return void 0===t&&(t=null),function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?l:s}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.bufferSize=n,r.buffer=[],r}return r.__extends(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(o.Subscriber),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.bufferSize=n,o.startBufferEvery=r,o.buffers=[],o.count=0,o}return r.__extends(t,e),t.prototype._next=function(e){var t=this.bufferSize,n=this.startBufferEvery,r=this.buffers,o=this.count;this.count++,o%n==0&&r.push([]);for(var i=r.length;i--;){var a=r[i];a.push(e),a.length===t&&(r.splice(i,1),this.destination.next(a))}},t.prototype._complete=function(){for(var t=this.buffers,n=this.destination;t.length>0;){var r=t.shift();r.length>0&&n.next(r)}e.prototype._complete.call(this)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/bufferTime.js":function(e,t,n){"use strict";n.r(t),n.d(t,"bufferTime",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function s(e){var t=arguments.length,n=o.async;Object(a.isScheduler)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);var r=null;t>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return t>=3&&(i=arguments[2]),function(t){return t.lift(new l(e,r,i,n))}}var l=function(){function e(e,t,n,r){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),c=function(){return function(){this.buffer=[]}}(),u=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;a.bufferTimeSpan=n,a.bufferCreationInterval=r,a.maxBufferSize=o,a.scheduler=i,a.contexts=[];var s=a.openContext();if(a.timespanOnly=null==r||r<0,a.timespanOnly){var l={subscriber:a,context:s,bufferTimeSpan:n};a.add(s.closeAction=i.schedule(d,n,l))}else{var c={subscriber:a,context:s},u={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:a,scheduler:i};a.add(s.closeAction=i.schedule(f,n,c)),a.add(i.schedule(p,r,u))}return a}return r.__extends(t,e),t.prototype._next=function(e){for(var t,n=this.contexts,r=n.length,o=0;o<r;o++){var i=n[o],a=i.buffer;a.push(e),a.length==this.maxBufferSize&&(t=i)}t&&this.onBufferFull(t)},t.prototype._error=function(t){this.contexts.length=0,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts,n=this.destination;t.length>0;){var r=t.shift();n.next(r.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:e,bufferTimeSpan:n};this.add(e.closeAction=this.scheduler.schedule(d,n,r))}},t.prototype.openContext=function(){var e=new c;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(i.Subscriber);function d(e){var t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function p(e){var t=e.bufferCreationInterval,n=e.bufferTimeSpan,r=e.subscriber,o=e.scheduler,i=r.openContext();r.closed||(r.add(i.closeAction=o.schedule(f,n,{subscriber:r,context:i})),this.schedule(e,t))}function f(e){var t=e.subscriber,n=e.context;t.closeContext(n)}},"./node_modules/rxjs/_esm5/internal/operators/bufferToggle.js":function(e,t,n){"use strict";n.r(t),n.d(t,"bufferToggle",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js");function s(e,t){return function(n){return n.lift(new l(e,t))}}var l=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.openings,this.closingSelector))},e}(),c=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.openings=n,o.closingSelector=r,o.contexts=[],o.add(Object(i.subscribeToResult)(o,n)),o}return r.__extends(t,e),t.prototype._next=function(e){for(var t=this.contexts,n=t.length,r=0;r<n;r++)t[r].buffer.push(e)},t.prototype._error=function(t){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var n=t.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,o){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var n=e.buffer,r=e.subscription;this.destination.next(n),t.splice(t.indexOf(e),1),this.remove(r),r.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,n=new o.Subscription,r={buffer:[],subscription:n};t.push(r);var a=Object(i.subscribeToResult)(this,e,r);!a||a.closed?this.closeBuffer(r):(a.context=r,this.add(a),n.add(a))},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/bufferWhen.js":function(e,t,n){"use strict";n.r(t),n.d(t,"bufferWhen",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),s=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function c(e){return function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.closingSelector))},e}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.__extends(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},t.prototype.notifyNext=function(e,t,n,r,o){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t=this.buffer;this.buffer&&this.destination.next(t),this.buffer=[];var n=Object(i.tryCatch)(this.closingSelector)();n===a.errorObject?this.error(a.errorObject.e):(e=new o.Subscription,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(l.subscribeToResult)(this,n)),this.subscribing=!1)},t}(s.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/catchError.js":function(e,t,n){"use strict";n.r(t),n.d(t,"catchError",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function s(e){return function(t){var n=new l(e),r=t.lift(n);return n.caught=r}}var l=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.selector,this.caught))},e}(),c=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return r.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var r=new i.InnerSubscriber(this,void 0,void 0);this.add(r),Object(a.subscribeToResult)(this,n,void 0,void 0,r)}},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/combineAll.js":function(e,t,n){"use strict";n.r(t),n.d(t,"combineAll",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/combineLatest.js");function o(e){return function(t){return t.lift(new r.CombineLatestOperator(e))}}},"./node_modules/rxjs/_esm5/internal/operators/combineLatest.js":function(e,t,n){"use strict";n.r(t),n.d(t,"combineLatest",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/combineLatest.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/from.js");function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null;return"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&Object(r.isArray)(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(Object(i.from)([t].concat(e)),new o.CombineLatestOperator(n))}}},"./node_modules/rxjs/_esm5/internal/operators/concat.js":function(e,t,n){"use strict";n.r(t),n.d(t,"concat",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/concat.js");function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(r.concat.apply(void 0,[t].concat(e)))}}},"./node_modules/rxjs/_esm5/internal/operators/concatAll.js":function(e,t,n){"use strict";n.r(t),n.d(t,"concatAll",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/mergeAll.js");function o(){return Object(r.mergeAll)(1)}},"./node_modules/rxjs/_esm5/internal/operators/concatMap.js":function(e,t,n){"use strict";n.r(t),n.d(t,"concatMap",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/mergeMap.js");function o(e,t){return Object(r.mergeMap)(e,t,1)}},"./node_modules/rxjs/_esm5/internal/operators/concatMapTo.js":function(e,t,n){"use strict";n.r(t),n.d(t,"concatMapTo",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/concatMap.js");function o(e,t){return Object(r.concatMap)((function(){return e}),t)}},"./node_modules/rxjs/_esm5/internal/operators/count.js":function(e,t,n){"use strict";n.r(t),n.d(t,"count",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return function(t){return t.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.source))},e}(),s=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.source=r,o.count=0,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/debounce.js":function(e,t,n){"use strict";n.r(t),n.d(t,"debounce",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.durationSelector))},e}(),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.durationSelector=n,r.hasValue=!1,r.durationSubscription=null,r}return r.__extends(t,e),t.prototype._next=function(e){try{var t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.emitValue(),this.destination.complete()},t.prototype._tryNext=function(e,t){var n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(i.subscribeToResult)(this,t))&&!n.closed&&this.add(this.durationSubscription=n)},t.prototype.notifyNext=function(e,t,n,r,o){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){if(this.hasValue){var t=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,e.prototype._next.call(this,t)}},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/debounceTime.js":function(e,t,n){"use strict";n.r(t),n.d(t,"debounceTime",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js");function a(e,t){return void 0===t&&(t=i.async),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.dueTime,this.scheduler))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.dueTime=n,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return r.__extends(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(o.Subscriber);function c(e){e.debouncedNext()}},"./node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js":function(e,t,n){"use strict";n.r(t),n.d(t,"defaultIfEmpty",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return void 0===e&&(e=null),function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.defaultValue))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.__extends(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/delay.js":function(e,t,n){"use strict";n.r(t),n.d(t,"delay",(function(){return l}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isDate.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/Notification.js");function l(e,t){void 0===t&&(t=o.async);var n=Object(i.isDate)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(n,t))}}var c=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.delay,this.scheduler))},e}(),u=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.delay=n,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return r.__extends(t,e),t.dispatch=function(e){for(var t=e.source,n=t.queue,r=e.scheduler,o=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(e,i)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new d(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(s.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(s.Notification.createComplete())},t}(a.Subscriber),d=function(){return function(e,t){this.time=e,this.notification=t}}()},"./node_modules/rxjs/_esm5/internal/operators/delayWhen.js":function(e,t,n){"use strict";n.r(t),n.d(t,"delayWhen",(function(){return l}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Observable.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function l(e,t){return t?function(n){return new d(n,t).lift(new c(e))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.delayDurationSelector))},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(e),this.removeSubscription(o),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){var t=this.index++;try{var n=this.delayDurationSelector(e,t);n&&this.tryDelay(n,e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e);return-1!==t&&this.delayNotifierSubscriptions.splice(t,1),e.outerValue},t.prototype.tryDelay=function(e,t){var n=Object(s.subscribeToResult)(this,e,t);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n))},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(a.OuterSubscriber),d=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subscriptionDelay=n,r}return r.__extends(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new p(e,this.source))},t}(i.Observable),p=function(e){function t(t,n){var r=e.call(this)||this;return r.parent=t,r.source=n,r.sourceSubscribed=!1,r}return r.__extends(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/dematerialize.js":function(e,t,n){"use strict";n.r(t),n.d(t,"dematerialize",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(){return function(e){return e.lift(new a)}}var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(t){return e.call(this,t)||this}return r.__extends(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/distinct.js":function(e,t,n){"use strict";n.r(t),n.d(t,"distinct",(function(){return a})),n.d(t,"DistinctSubscriber",(function(){return l}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(e,t){return function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.keySelector,this.flushes))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.keySelector=n,o.values=new Set,r&&o.add(Object(i.subscribeToResult)(o,r)),o}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values.clear()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,n=this.destination;try{t=this.keySelector(e)}catch(e){return void n.error(e)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var n=this.values;n.has(e)||(n.add(e),this.destination.next(t))},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js":function(e,t,n){"use strict";n.r(t),n.d(t,"distinctUntilChanged",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js");function s(e,t){return function(n){return n.lift(new l(e,t))}}var l=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))},e}(),c=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return r.__extends(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t=e;if(this.keySelector&&(t=Object(i.tryCatch)(this.keySelector)(e))===a.errorObject)return this.destination.error(a.errorObject.e);var n=!1;if(this.hasKey){if((n=Object(i.tryCatch)(this.compare)(this.key,t))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=t,this.destination.next(e))},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js":function(e,t,n){"use strict";n.r(t),n.d(t,"distinctUntilKeyChanged",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js");function o(e,t){return Object(r.distinctUntilChanged)((function(n,r){return t?t(n[e],r[e]):n[e]===r[e]}))}},"./node_modules/rxjs/_esm5/internal/operators/elementAt.js":function(e,t,n){"use strict";n.r(t),n.d(t,"elementAt",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/filter.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/take.js");function l(e,t){if(e<0)throw new r.ArgumentOutOfRangeError;var n=arguments.length>=2;return function(l){return l.pipe(Object(o.filter)((function(t,n){return n===e})),Object(s.take)(1),n?Object(a.defaultIfEmpty)(t):Object(i.throwIfEmpty)((function(){return new r.ArgumentOutOfRangeError})))}}},"./node_modules/rxjs/_esm5/internal/operators/endWith.js":function(e,t,n){"use strict";n.r(t),n.d(t,"endWith",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/scalar.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/empty.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/concat.js"),s=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=e[e.length-1];Object(s.isScheduler)(n)?e.pop():n=null;var l=e.length;return 1!==l||n?l>0?Object(a.concat)(t,Object(r.fromArray)(e,n)):Object(a.concat)(t,Object(i.empty)(n)):Object(a.concat)(t,Object(o.scalar)(e[0]))}}},"./node_modules/rxjs/_esm5/internal/operators/every.js":function(e,t,n){"use strict";n.r(t),n.d(t,"every",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e,t){return function(n){return n.lift(new a(e,t,n))}}var a=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg,this.source))},e}(),s=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return r.__extends(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/exhaust.js":function(e,t,n){"use strict";n.r(t),n.d(t,"exhaust",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(){return function(e){return e.lift(new s)}}var s=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new l(e))},e}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.__extends(t,e),t.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(i.subscribeToResult)(this,e)))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/exhaustMap.js":function(e,t,n){"use strict";n.r(t),n.d(t,"exhaustMap",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/map.js"),l=n("./node_modules/rxjs/_esm5/internal/observable/from.js");function c(e,t){return t?function(n){return n.pipe(c((function(n,r){return Object(l.from)(e(n,r)).pipe(Object(s.map)((function(e,o){return t(n,e,r,o)})))})))}:function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return r.__extends(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=new i.InnerSubscriber(this,void 0,void 0);this.add(r),Object(a.subscribeToResult)(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/expand.js":function(e,t,n){"use strict";n.r(t),n.d(t,"expand",(function(){return l})),n.d(t,"ExpandOperator",(function(){return c})),n.d(t,"ExpandSubscriber",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),i=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function l(e,t,n){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(r){return r.lift(new c(e,t,n))}}var c=function(){function e(e,t,n){this.project=e,this.concurrent=t,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.concurrent,this.scheduler))},e}(),u=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.project=n,i.concurrent=r,i.scheduler=o,i.index=0,i.active=0,i.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(i.buffer=[]),i}return r.__extends(t,e),t.dispatch=function(e){var t=e.subscriber,n=e.result,r=e.value,o=e.index;t.subscribeToProjection(n,r,o)},t.prototype._next=function(e){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(e);var a=Object(o.tryCatch)(this.project)(e,r);if(a===i.errorObject)n.error(i.errorObject.e);else if(this.scheduler){var s={subscriber:this,result:a,value:e,index:r};this.add(this.scheduler.schedule(t.dispatch,0,s))}else this.subscribeToProjection(a,e,r)}else this.buffer.push(e)}},t.prototype.subscribeToProjection=function(e,t,n){this.active++,this.add(Object(s.subscribeToResult)(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this._next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/filter.js":function(e,t,n){"use strict";n.r(t),n.d(t,"filter",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return r.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/finalize.js":function(e,t,n){"use strict";n.r(t),n.d(t,"finalize",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscription.js");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.callback))},e}(),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new i.Subscription(n)),r}return r.__extends(t,e),t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/find.js":function(e,t,n){"use strict";n.r(t),n.d(t,"find",(function(){return i})),n.d(t,"FindValueOperator",(function(){return a})),n.d(t,"FindValueSubscriber",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(n){return n.lift(new a(e,n,!1,t))}}var a=function(){function e(e,t,n,r){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=r}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}(),s=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;return a.predicate=n,a.source=r,a.yieldIndex=o,a.thisArg=i,a.index=0,a}return r.__extends(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete(),this.unsubscribe()},t.prototype._next=function(e){var t=this.predicate,n=this.thisArg,r=this.index++;try{t.call(n||this,e,r,this.source)&&this.notifyComplete(this.yieldIndex?r:e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/findIndex.js":function(e,t,n){"use strict";n.r(t),n.d(t,"findIndex",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/find.js");function o(e,t){return function(n){return n.lift(new r.FindValueOperator(e,n,!0,t))}}},"./node_modules/rxjs/_esm5/internal/operators/first.js":function(e,t,n){"use strict";n.r(t),n.d(t,"first",(function(){return c}));var r=n("./node_modules/rxjs/_esm5/internal/util/EmptyError.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/filter.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/take.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js"),l=n("./node_modules/rxjs/_esm5/internal/util/identity.js");function c(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?Object(o.filter)((function(t,n){return e(t,n,c)})):l.identity,Object(i.take)(1),n?Object(a.defaultIfEmpty)(t):Object(s.throwIfEmpty)((function(){return new r.EmptyError})))}}},"./node_modules/rxjs/_esm5/internal/operators/groupBy.js":function(e,t,n){"use strict";n.r(t),n.d(t,"groupBy",(function(){return l})),n.d(t,"GroupedObservable",(function(){return p}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),a=n("./node_modules/rxjs/_esm5/internal/Observable.js"),s=n("./node_modules/rxjs/_esm5/internal/Subject.js");function l(e,t,n,r){return function(o){return o.lift(new c(e,t,n,r))}}var c=function(){function e(e,t,n,r){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),u=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;return a.keySelector=n,a.elementSelector=r,a.durationSelector=o,a.subjectSelector=i,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return r.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},t.prototype._group=function(e,t){var n=this.groups;n||(n=this.groups=new Map);var r,o=n.get(t);if(this.elementSelector)try{r=this.elementSelector(e)}catch(e){this.error(e)}else r=e;if(!o){o=this.subjectSelector?this.subjectSelector():new s.Subject,n.set(t,o);var i=new p(t,o,this);if(this.destination.next(i),this.durationSelector){var a=void 0;try{a=this.durationSelector(new p(t,o))}catch(e){return void this.error(e)}this.add(a.subscribe(new d(t,o,this)))}}o.closed||o.next(r)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach((function(t,n){t.error(e)})),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach((function(e,t){e.complete()})),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(o.Subscriber),d=function(e){function t(t,n,r){var o=e.call(this,n)||this;return o.key=t,o.group=n,o.parent=r,o}return r.__extends(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(o.Subscriber),p=function(e){function t(t,n,r){var o=e.call(this)||this;return o.key=t,o.groupSubject=n,o.refCountSubscription=r,o}return r.__extends(t,e),t.prototype._subscribe=function(e){var t=new i.Subscription,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new f(n)),t.add(r.subscribe(e)),t},t}(a.Observable),f=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return r.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(i.Subscription)},"./node_modules/rxjs/_esm5/internal/operators/ignoreElements.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ignoreElements",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(){return function(e){return e.lift(new a)}}var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype._next=function(e){},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/isEmpty.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isEmpty",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(){return function(e){return e.lift(new a)}}var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(t){return e.call(this,t)||this}return r.__extends(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/last.js":function(e,t,n){"use strict";n.r(t),n.d(t,"last",(function(){return c}));var r=n("./node_modules/rxjs/_esm5/internal/util/EmptyError.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/filter.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/takeLast.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js"),l=n("./node_modules/rxjs/_esm5/internal/util/identity.js");function c(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?Object(o.filter)((function(t,n){return e(t,n,c)})):l.identity,Object(i.takeLast)(1),n?Object(s.defaultIfEmpty)(t):Object(a.throwIfEmpty)((function(){return new r.EmptyError})))}}},"./node_modules/rxjs/_esm5/internal/operators/map.js":function(e,t,n){"use strict";n.r(t),n.d(t,"map",(function(){return i})),n.d(t,"MapOperator",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.thisArg))},e}(),s=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/mapTo.js":function(e,t,n){"use strict";n.r(t),n.d(t,"mapTo",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.value))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.value=n,r}return r.__extends(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/materialize.js":function(e,t,n){"use strict";n.r(t),n.d(t,"materialize",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Notification.js");function a(){return function(e){return e.lift(new s)}}var s=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new l(e))},e}(),l=function(e){function t(t){return e.call(this,t)||this}return r.__extends(t,e),t.prototype._next=function(e){this.destination.next(i.Notification.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(i.Notification.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(i.Notification.createComplete()),e.complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/max.js":function(e,t,n){"use strict";n.r(t),n.d(t,"max",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/reduce.js");function o(e){var t="function"==typeof e?function(t,n){return e(t,n)>0?t:n}:function(e,t){return e>t?e:t};return Object(r.reduce)(t)}},"./node_modules/rxjs/_esm5/internal/operators/merge.js":function(e,t,n){"use strict";n.r(t),n.d(t,"merge",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/merge.js");function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(r.merge.apply(void 0,[t].concat(e)))}}},"./node_modules/rxjs/_esm5/internal/operators/mergeAll.js":function(e,t,n){"use strict";n.r(t),n.d(t,"mergeAll",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/operators/mergeMap.js"),o=n("./node_modules/rxjs/_esm5/internal/util/identity.js");function i(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(r.mergeMap)(o.identity,e)}},"./node_modules/rxjs/_esm5/internal/operators/mergeMap.js":function(e,t,n){"use strict";n.r(t),n.d(t,"mergeMap",(function(){return c})),n.d(t,"MergeMapOperator",(function(){return u})),n.d(t,"MergeMapSubscriber",(function(){return d}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),i=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/map.js"),l=n("./node_modules/rxjs/_esm5/internal/observable/from.js");function c(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(c((function(n,r){return Object(l.from)(e(n,r)).pipe(Object(s.map)((function(e,o){return t(n,e,r,o)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project,this.concurrent))},e}(),d=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=new a.InnerSubscriber(this,void 0,void 0);this.add(r),Object(o.subscribeToResult)(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js":function(e,t,n){"use strict";n.r(t),n.d(t,"mergeMapTo",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/mergeMap.js");function o(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?Object(r.mergeMap)((function(){return e}),t,n):("number"==typeof t&&(n=t),Object(r.mergeMap)((function(){return e}),n))}},"./node_modules/rxjs/_esm5/internal/operators/mergeScan.js":function(e,t,n){"use strict";n.r(t),n.d(t,"mergeScan",(function(){return c})),n.d(t,"MergeScanOperator",(function(){return u})),n.d(t,"MergeScanSubscriber",(function(){return d}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),i=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),s=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js");function c(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new u(e,t,n))}}var u=function(){function e(e,t,n){this.accumulator=e,this.seed=t,this.concurrent=n}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.accumulator,this.seed,this.concurrent))},e}(),d=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i.acc=r,i.concurrent=o,i.hasValue=!1,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.__extends(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.index++,n=Object(o.tryCatch)(this.accumulator)(this.acc,e),r=this.destination;n===i.errorObject?r.error(i.errorObject.e):(this.active++,this._innerSub(n,e,t))}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,n){var r=new l.InnerSubscriber(this,void 0,void 0);this.add(r),Object(a.subscribeToResult)(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t.prototype.notifyNext=function(e,t,n,r,o){var i=this.destination;this.acc=t,this.hasValue=!0,i.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(s.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/min.js":function(e,t,n){"use strict";n.r(t),n.d(t,"min",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/reduce.js");function o(e){var t="function"==typeof e?function(t,n){return e(t,n)<0?t:n}:function(e,t){return e<t?e:t};return Object(r.reduce)(t)}},"./node_modules/rxjs/_esm5/internal/operators/multicast.js":function(e,t,n){"use strict";n.r(t),n.d(t,"multicast",(function(){return o})),n.d(t,"MulticastOperator",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js");function o(e,t){return function(n){var o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new i(o,t));var a=Object.create(n,r.connectableObservableDescriptor);return a.source=n,a.subjectFactory=o,a}}var i=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(e);return o.add(t.subscribe(r)),o},e}()},"./node_modules/rxjs/_esm5/internal/operators/observeOn.js":function(e,t,n){"use strict";n.r(t),n.d(t,"observeOn",(function(){return a})),n.d(t,"ObserveOnOperator",(function(){return s})),n.d(t,"ObserveOnSubscriber",(function(){return l})),n.d(t,"ObserveOnMessage",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Notification.js");function a(e,t){return void 0===t&&(t=0),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.scheduler,this.delay))},e}(),l=function(e){function t(t,n,r){void 0===r&&(r=0);var o=e.call(this,t)||this;return o.scheduler=n,o.delay=r,o}return r.__extends(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.add(this.scheduler.schedule(t.dispatch,this.delay,new c(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(i.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(i.Notification.createError(e))},t.prototype._complete=function(){this.scheduleMessage(i.Notification.createComplete())},t}(o.Subscriber),c=function(){return function(e,t){this.notification=e,this.destination=t}}()},"./node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js":function(e,t,n){"use strict";n.r(t),n.d(t,"onErrorResumeNext",(function(){return c})),n.d(t,"onErrorResumeNextStatic",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/from.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length&&Object(i.isArray)(e[0])&&(e=e[0]),function(t){return t.lift(new d(e))}}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null;return 1===e.length&&Object(i.isArray)(e[0])&&(e=e[0]),n=e.shift(),Object(o.from)(n,null).lift(new d(e))}var d=function(){function e(e){this.nextSources=e}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.nextSources))},e}(),p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.destination=t,r.nextSources=n,r}return r.__extends(t,e),t.prototype.notifyError=function(e,t){this.subscribeToNextSource()},t.prototype.notifyComplete=function(e){this.subscribeToNextSource()},t.prototype._error=function(e){this.subscribeToNextSource()},t.prototype._complete=function(){this.subscribeToNextSource()},t.prototype.subscribeToNextSource=function(){var e=this.nextSources.shift();if(e){var t=new s.InnerSubscriber(this,void 0,void 0);this.add(t),Object(l.subscribeToResult)(this,e,void 0,void 0,t)}else this.destination.complete()},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/pairwise.js":function(e,t,n){"use strict";n.r(t),n.d(t,"pairwise",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(){return function(e){return e.lift(new a)}}var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new s(e))},e}(),s=function(e){function t(t){var n=e.call(this,t)||this;return n.hasPrev=!1,n}return r.__extends(t,e),t.prototype._next=function(e){this.hasPrev?this.destination.next([this.prev,e]):this.hasPrev=!0,this.prev=e},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/partition.js":function(e,t,n){"use strict";n.r(t),n.d(t,"partition",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/util/not.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/filter.js");function i(e,t){return function(n){return[Object(o.filter)(e,t)(n),Object(o.filter)(Object(r.not)(e,t))(n)]}}},"./node_modules/rxjs/_esm5/internal/operators/pluck.js":function(e,t,n){"use strict";n.r(t),n.d(t,"pluck",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/map.js");function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(t){return Object(r.map)(i(e,n))(t)}}function i(e,t){return function(n){for(var r=n,o=0;o<t;o++){var i=r[e[o]];if(void 0===i)return;r=i}return r}}},"./node_modules/rxjs/_esm5/internal/operators/publish.js":function(e,t,n){"use strict";n.r(t),n.d(t,"publish",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/Subject.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/multicast.js");function i(e){return e?Object(o.multicast)((function(){return new r.Subject}),e):Object(o.multicast)(new r.Subject)}},"./node_modules/rxjs/_esm5/internal/operators/publishBehavior.js":function(e,t,n){"use strict";n.r(t),n.d(t,"publishBehavior",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/BehaviorSubject.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/multicast.js");function i(e){return function(t){return Object(o.multicast)(new r.BehaviorSubject(e))(t)}}},"./node_modules/rxjs/_esm5/internal/operators/publishLast.js":function(e,t,n){"use strict";n.r(t),n.d(t,"publishLast",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/AsyncSubject.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/multicast.js");function i(){return function(e){return Object(o.multicast)(new r.AsyncSubject)(e)}}},"./node_modules/rxjs/_esm5/internal/operators/publishReplay.js":function(e,t,n){"use strict";n.r(t),n.d(t,"publishReplay",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/ReplaySubject.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/multicast.js");function i(e,t,n,i){n&&"function"!=typeof n&&(i=n);var a="function"==typeof n?n:void 0,s=new r.ReplaySubject(e,t,i);return function(e){return Object(o.multicast)((function(){return s}),a)(e)}}},"./node_modules/rxjs/_esm5/internal/operators/race.js":function(e,t,n){"use strict";n.r(t),n.d(t,"race",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/util/isArray.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/race.js");function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return 1===e.length&&Object(r.isArray)(e[0])&&(e=e[0]),t.lift.call(o.race.apply(void 0,[t].concat(e)))}}},"./node_modules/rxjs/_esm5/internal/operators/reduce.js":function(e,t,n){"use strict";n.r(t),n.d(t,"reduce",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/operators/scan.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/takeLast.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js"),a=n("./node_modules/rxjs/_esm5/internal/util/pipe.js");function s(e,t){return arguments.length>=2?function(n){return Object(a.pipe)(Object(r.scan)(e,t),Object(o.takeLast)(1),Object(i.defaultIfEmpty)(t))(n)}:function(t){return Object(a.pipe)(Object(r.scan)((function(t,n,r){return e(t,n,r+1)})),Object(o.takeLast)(1))(t)}}},"./node_modules/rxjs/_esm5/internal/operators/refCount.js":function(e,t,n){"use strict";n.r(t),n.d(t,"refCount",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(){return function(e){return e.lift(new a(e))}}var a=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new s(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/repeat.js":function(e,t,n){"use strict";n.r(t),n.d(t,"repeat",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function a(e){return void 0===e&&(e=-1),function(t){return 0===e?Object(i.empty)():e<0?t.lift(new s(-1,t)):t.lift(new s(e-1,t))}}var s=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.count,this.source))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.count=n,o.source=r,o}return r.__extends(t,e),t.prototype.complete=function(){if(!this.isStopped){var t=this.source,n=this.count;if(0===n)return e.prototype.complete.call(this);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/repeatWhen.js":function(e,t,n){"use strict";n.r(t),n.d(t,"repeatWhen",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),s=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function c(e){return function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.notifier,t))},e}(),d=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.notifier=n,o.source=r,o.sourceIsBeingSubscribedTo=!0,o}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(t){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype._unsubscribeAndRecycle=function(){var t=this._unsubscribe;return this._unsubscribe=null,e.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=t,this},t.prototype.subscribeToRetries=function(){this.notifications=new o.Subject;var t=Object(i.tryCatch)(this.notifier)(this.notifications);if(t===a.errorObject)return e.prototype.complete.call(this);this.retries=t,this.retriesSubscription=Object(l.subscribeToResult)(this,t)},t}(s.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/retry.js":function(e,t,n){"use strict";n.r(t),n.d(t,"retry",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return void 0===e&&(e=-1),function(t){return t.lift(new a(e,t))}}var a=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.count,this.source))},e}(),s=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.count=n,o.source=r,o}return r.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return e.prototype.error.call(this,t);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/retryWhen.js":function(e,t,n){"use strict";n.r(t),n.d(t,"retryWhen",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),s=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function c(e){return function(t){return t.lift(new u(e,t))}}var u=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.notifier,this.source))},e}(),d=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.notifier=n,o.source=r,o}return r.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.errors,r=this.retries,s=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new o.Subject,(r=Object(i.tryCatch)(this.notifier)(n))===a.errorObject)return e.prototype.error.call(this,a.errorObject.e);s=Object(l.subscribeToResult)(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=s,n.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,n,r,o){var i=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=i,this.source.subscribe(this)},t}(s.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/sample.js":function(e,t,n){"use strict";n.r(t),n.d(t,"sample",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new l(e),r=t.subscribe(n);return r.add(Object(i.subscribeToResult)(n,this.notifier)),r},e}(),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasValue=!1,t}return r.__extends(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(e,t,n,r,o){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/sampleTime.js":function(e,t,n){"use strict";n.r(t),n.d(t,"sampleTime",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js");function a(e,t){return void 0===t&&(t=i.async),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.period,this.scheduler))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.period=n,o.scheduler=r,o.hasValue=!1,o.add(r.schedule(c,n,{subscriber:o,period:n})),o}return r.__extends(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(o.Subscriber);function c(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}},"./node_modules/rxjs/_esm5/internal/operators/scan.js":function(e,t,n){"use strict";n.r(t),n.d(t,"scan",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new a(e,t,n))}}var a=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))},e}(),s=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.__extends(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js":function(e,t,n){"use strict";n.r(t),n.d(t,"sequenceEqual",(function(){return s})),n.d(t,"SequenceEqualOperator",(function(){return l})),n.d(t,"SequenceEqualSubscriber",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js");function s(e,t){return function(n){return n.lift(new l(e,t))}}var l=function(){function e(e,t){this.compareTo=e,this.comparor=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compareTo,this.comparor))},e}(),c=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.compareTo=n,o.comparor=r,o._a=[],o._b=[],o._oneComplete=!1,o.add(n.subscribe(new u(t,o))),o}return r.__extends(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t.prototype.checkValues=function(){for(var e=this._a,t=this._b,n=this.comparor;e.length>0&&t.length>0;){var r=e.shift(),o=t.shift(),s=!1;n?(s=Object(i.tryCatch)(n)(r,o))===a.errorObject&&this.destination.error(a.errorObject.e):s=r===o,s||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t}(o.Subscriber),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.parent=n,r}return r.__extends(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e)},t.prototype._complete=function(){this.parent._complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/share.js":function(e,t,n){"use strict";n.r(t),n.d(t,"share",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/operators/multicast.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/refCount.js"),i=n("./node_modules/rxjs/_esm5/internal/Subject.js");function a(){return new i.Subject}function s(){return function(e){return Object(o.refCount)()(Object(r.multicast)(a)(e))}}},"./node_modules/rxjs/_esm5/internal/operators/shareReplay.js":function(e,t,n){"use strict";n.r(t),n.d(t,"shareReplay",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/ReplaySubject.js");function o(e,t,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=Number.MAX_VALUE),function(o){return o.lift(function(e,t,n){var o,i,a=0,s=!1,l=!1;return function(c){a++,o&&!s||(s=!1,o=new r.ReplaySubject(e,t,n),i=c.subscribe({next:function(e){o.next(e)},error:function(e){s=!0,o.error(e)},complete:function(){l=!0,o.complete()}}));var u=o.subscribe(this);return function(){a--,u.unsubscribe(),i&&0===a&&l&&i.unsubscribe()}}}(e,t,n))}}},"./node_modules/rxjs/_esm5/internal/operators/single.js":function(e,t,n){"use strict";n.r(t),n.d(t,"single",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/EmptyError.js");function a(e){return function(t){return t.lift(new s(e,t))}}var s=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.predicate,this.source))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.source=r,o.seenValue=!1,o.index=0,o}return r.__extends(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new i.EmptyError)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/skip.js":function(e,t,n){"use strict";n.r(t),n.d(t,"skip",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return r.__extends(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/skipLast.js":function(e,t,n){"use strict";n.r(t),n.d(t,"skipLast",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new o.Subscriber(e)):t.subscribe(new l(e,this._skipCount))},e}(),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.__extends(t,e),t.prototype._next=function(e){var t=this._skipCount,n=this._count++;if(n<t)this._ring[n]=e;else{var r=n%t,o=this._ring,i=o[r];o[r]=e,this.destination.next(i)}},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/skipUntil.js":function(e,t,n){"use strict";n.r(t),n.d(t,"skipUntil",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function s(e){return function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.notifier))},e}(),c=function(e){function t(t,n){var r=e.call(this,t)||this;r.hasValue=!1;var o=new i.InnerSubscriber(r,void 0,void 0);return r.add(o),r.innerSubscription=o,Object(a.subscribeToResult)(r,n,void 0,void 0,o),r}return r.__extends(t,e),t.prototype._next=function(t){this.hasValue&&e.prototype._next.call(this,t)},t.prototype.notifyNext=function(e,t,n,r,o){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},t.prototype.notifyComplete=function(){},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/skipWhile.js":function(e,t,n){"use strict";n.r(t),n.d(t,"skipWhile",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)},t.prototype.tryCallPredicate=function(e){try{var t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/startWith.js":function(e,t,n){"use strict";n.r(t),n.d(t,"startWith",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/internal/observable/fromArray.js"),o=n("./node_modules/rxjs/_esm5/internal/observable/scalar.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/empty.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/concat.js"),s=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=e[e.length-1];Object(s.isScheduler)(n)?e.pop():n=null;var l=e.length;return 1!==l||n?l>0?Object(a.concat)(Object(r.fromArray)(e,n),t):Object(a.concat)(Object(i.empty)(n),t):Object(a.concat)(Object(o.scalar)(e[0]),t)}}},"./node_modules/rxjs/_esm5/internal/operators/subscribeOn.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeOn",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js");function o(e,t){return void 0===t&&(t=0),function(n){return n.lift(new i(e,t))}}var i=function(){function e(e,t){this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return new r.SubscribeOnObservable(t,this.delay,this.scheduler).subscribe(e)},e}()},"./node_modules/rxjs/_esm5/internal/operators/switchAll.js":function(e,t,n){"use strict";n.r(t),n.d(t,"switchAll",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/operators/switchMap.js"),o=n("./node_modules/rxjs/_esm5/internal/util/identity.js");function i(){return Object(r.switchMap)(o.identity)}},"./node_modules/rxjs/_esm5/internal/operators/switchMap.js":function(e,t,n){"use strict";n.r(t),n.d(t,"switchMap",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),s=n("./node_modules/rxjs/_esm5/internal/operators/map.js"),l=n("./node_modules/rxjs/_esm5/internal/observable/from.js");function c(e,t){return"function"==typeof t?function(n){return n.pipe(c((function(n,r){return Object(l.from)(e(n,r)).pipe(Object(s.map)((function(e,o){return t(n,e,r,o)})))})))}:function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new i.InnerSubscriber(this,void 0,void 0);this.add(o),this.innerSubscription=Object(a.subscribeToResult)(this,e,t,n,o)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/switchMapTo.js":function(e,t,n){"use strict";n.r(t),n.d(t,"switchMapTo",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/operators/switchMap.js");function o(e,t){return t?Object(r.switchMap)((function(){return e}),t):Object(r.switchMap)((function(){return e}))}},"./node_modules/rxjs/_esm5/internal/operators/take.js":function(e,t,n){"use strict";n.r(t),n.d(t,"take",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function s(e){return function(t){return 0===e?Object(a.empty)():t.lift(new l(e))}}var l=function(){function e(e){if(this.total=e,this.total<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/takeLast.js":function(e,t,n){"use strict";n.r(t),n.d(t,"takeLast",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/empty.js");function s(e){return function(t){return 0===e?Object(a.empty)():t.lift(new l(e))}}var l=function(){function e(e){if(this.total=e,this.total<0)throw new i.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/takeUntil.js":function(e,t,n){"use strict";n.r(t),n.d(t,"takeUntil",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new l(e),r=Object(i.subscribeToResult)(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n},e}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/takeWhile.js":function(e,t,n){"use strict";n.r(t),n.d(t,"takeWhile",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js");function i(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.predicate=n,r.index=0,r}return r.__extends(t,e),t.prototype._next=function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(e){return void n.error(e)}this.nextOrComplete(e,t)},t.prototype.nextOrComplete=function(e,t){var n=this.destination;Boolean(t)?n.next(e):n.complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/tap.js":function(e,t,n){"use strict";n.r(t),n.d(t,"tap",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/noop.js"),a=n("./node_modules/rxjs/_esm5/internal/util/isFunction.js");function s(e,t,n){return function(r){return r.lift(new l(e,t,n))}}var l=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))},e}(),c=function(e){function t(t,n,r,o){var s=e.call(this,t)||this;return s._tapNext=i.noop,s._tapError=i.noop,s._tapComplete=i.noop,s._tapError=r||i.noop,s._tapComplete=o||i.noop,Object(a.isFunction)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.noop,s._tapError=n.error||i.noop,s._tapComplete=n.complete||i.noop),s}return r.__extends(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/throttle.js":function(e,t,n){"use strict";n.r(t),n.d(t,"defaultThrottleConfig",(function(){return a})),n.d(t,"throttle",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"),a={leading:!0,trailing:!1};function s(e,t){return void 0===t&&(t=a),function(n){return n.lift(new l(e,t.leading,t.trailing))}}var l=function(){function e(e,t,n){this.durationSelector=e,this.leading=t,this.trailing=n}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.durationSelector,this.leading,this.trailing))},e}(),c=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.destination=t,i.durationSelector=n,i._leading=r,i._trailing=o,i._hasValue=!1,i}return r.__extends(t,e),t.prototype._next=function(e){this._hasValue=!0,this._sendValue=e,this._throttled||(this._leading?this.send():this.throttle(e))},t.prototype.send=function(){var e=this._hasValue,t=this._sendValue;e&&(this.destination.next(t),this.throttle(t)),this._hasValue=!1,this._sendValue=null},t.prototype.throttle=function(e){var t=this.tryDurationSelector(e);t&&this.add(this._throttled=Object(i.subscribeToResult)(this,t))},t.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}},t.prototype.throttlingDone=function(){var e=this._throttled,t=this._trailing;e&&e.unsubscribe(),this._throttled=null,t&&this.send()},t.prototype.notifyNext=function(e,t,n,r,o){this.throttlingDone()},t.prototype.notifyComplete=function(){this.throttlingDone()},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/throttleTime.js":function(e,t,n){"use strict";n.r(t),n.d(t,"throttleTime",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/throttle.js");function s(e,t,n){return void 0===t&&(t=i.async),void 0===n&&(n=a.defaultThrottleConfig),function(r){return r.lift(new l(e,t,n.leading,n.trailing))}}var l=function(){function e(e,t,n,r){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=r}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),c=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;return a.duration=n,a.scheduler=r,a.leading=o,a.trailing=i,a._hasTrailingValue=!1,a._trailingValue=null,a}return r.__extends(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(u,this.duration,{subscriber:this})),this.leading&&this.destination.next(e))},t.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(o.Subscriber);function u(e){e.subscriber.clearThrottle()}},"./node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js":function(e,t,n){"use strict";n.r(t),n.d(t,"throwIfEmpty",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/operators/tap.js"),o=n("./node_modules/rxjs/_esm5/internal/util/EmptyError.js"),i=function(e){return void 0===e&&(e=a),Object(r.tap)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function a(){return new o.EmptyError}},"./node_modules/rxjs/_esm5/internal/operators/timeInterval.js":function(e,t,n){"use strict";n.r(t),n.d(t,"timeInterval",(function(){return s})),n.d(t,"TimeInterval",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/scan.js"),i=n("./node_modules/rxjs/_esm5/internal/observable/defer.js"),a=n("./node_modules/rxjs/_esm5/internal/operators/map.js");function s(e){return void 0===e&&(e=r.async),function(t){return Object(i.defer)((function(){return t.pipe(Object(o.scan)((function(t,n){var r=t.current;return{value:n,current:e.now(),last:r}}),{current:e.now(),value:void 0,last:void 0}),Object(a.map)((function(e){var t=e.current,n=e.last,r=e.value;return new l(r,t-n)})))}))}}var l=function(){return function(e,t){this.value=e,this.interval=t}}()},"./node_modules/rxjs/_esm5/internal/operators/timeout.js":function(e,t,n){"use strict";n.r(t),n.d(t,"timeout",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),o=n("./node_modules/rxjs/_esm5/internal/util/TimeoutError.js"),i=n("./node_modules/rxjs/_esm5/internal/operators/timeoutWith.js"),a=n("./node_modules/rxjs/_esm5/internal/observable/throwError.js");function s(e,t){return void 0===t&&(t=r.async),Object(i.timeoutWith)(e,Object(a.throwError)(new o.TimeoutError),t)}},"./node_modules/rxjs/_esm5/internal/operators/timeoutWith.js":function(e,t,n){"use strict";n.r(t),n.d(t,"timeoutWith",(function(){return l}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),i=n("./node_modules/rxjs/_esm5/internal/util/isDate.js"),a=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function l(e,t,n){return void 0===n&&(n=o.async),function(r){var o=Object(i.isDate)(e),a=o?+e-n.now():Math.abs(e);return r.lift(new c(a,o,t,n))}}var c=function(){function e(e,t,n,r){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),u=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;return a.absoluteTimeout=n,a.waitFor=r,a.withObservable=o,a.scheduler=i,a.action=null,a.scheduleTimeout(),a}return r.__extends(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(Object(s.subscribeToResult)(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(a.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/timestamp.js":function(e,t,n){"use strict";n.r(t),n.d(t,"timestamp",(function(){return i})),n.d(t,"Timestamp",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),o=n("./node_modules/rxjs/_esm5/internal/operators/map.js");function i(e){return void 0===e&&(e=r.async),Object(o.map)((function(t){return new a(t,e.now())}))}var a=function(){return function(e,t){this.value=e,this.timestamp=t}}()},"./node_modules/rxjs/_esm5/internal/operators/toArray.js":function(e,t,n){"use strict";n.r(t),n.d(t,"toArray",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/operators/reduce.js");function o(e,t,n){return 0===n?[t]:(e.push(t),e)}function i(){return Object(r.reduce)(o,[])}},"./node_modules/rxjs/_esm5/internal/operators/window.js":function(e,t,n){"use strict";n.r(t),n.d(t,"window",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function s(e){return function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.windowBoundaries=e}return e.prototype.call=function(e,t){var n=new c(e),r=t.subscribe(n);return r.closed||n.add(Object(a.subscribeToResult)(n,this.windowBoundaries)),r},e}(),c=function(e){function t(t){var n=e.call(this,t)||this;return n.window=new o.Subject,t.next(n.window),n}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.openWindow()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this._complete()},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e)},t.prototype._complete=function(){this.window.complete(),this.destination.complete()},t.prototype._unsubscribe=function(){this.window=null},t.prototype.openWindow=function(){var e=this.window;e&&e.complete();var t=this.destination,n=this.window=new o.Subject;t.next(n)},t}(i.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/windowCount.js":function(e,t,n){"use strict";n.r(t),n.d(t,"windowCount",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Subject.js");function a(e,t){return void 0===t&&(t=0),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.windowSize=e,this.startWindowEvery=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.windowSize,this.startWindowEvery))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.destination=t,o.windowSize=n,o.startWindowEvery=r,o.windows=[new i.Subject],o.count=0,t.next(o.windows[0]),o}return r.__extends(t,e),t.prototype._next=function(e){for(var t=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,o=this.windows,a=o.length,s=0;s<a&&!this.closed;s++)o[s].next(e);var l=this.count-r+1;if(l>=0&&l%t==0&&!this.closed&&o.shift().complete(),++this.count%t==0&&!this.closed){var c=new i.Subject;o.push(c),n.next(c)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(o.Subscriber)},"./node_modules/rxjs/_esm5/internal/operators/windowTime.js":function(e,t,n){"use strict";n.r(t),n.d(t,"windowTime",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/scheduler/async.js"),a=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),s=n("./node_modules/rxjs/_esm5/internal/util/isNumeric.js"),l=n("./node_modules/rxjs/_esm5/internal/util/isScheduler.js");function c(e){var t=i.async,n=null,r=Number.POSITIVE_INFINITY;return Object(l.isScheduler)(arguments[3])&&(t=arguments[3]),Object(l.isScheduler)(arguments[2])?t=arguments[2]:Object(s.isNumeric)(arguments[2])&&(r=arguments[2]),Object(l.isScheduler)(arguments[1])?t=arguments[1]:Object(s.isNumeric)(arguments[1])&&(n=arguments[1]),function(o){return o.lift(new u(e,n,r,t))}}var u=function(){function e(e,t,n,r){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._numberOfNextedValues=0,t}return r.__extends(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(o.Subject),p=function(e){function t(t,n,r,o,i){var a=e.call(this,t)||this;a.destination=t,a.windowTimeSpan=n,a.windowCreationInterval=r,a.maxWindowSize=o,a.scheduler=i,a.windows=[];var s=a.openWindow();if(null!==r&&r>=0){var l={subscriber:a,window:s,context:null},c={windowTimeSpan:n,windowCreationInterval:r,subscriber:a,scheduler:i};a.add(i.schedule(m,n,l)),a.add(i.schedule(h,r,c))}else{var u={subscriber:a,window:s,windowTimeSpan:n};a.add(i.schedule(f,n,u))}return a}return r.__extends(t,e),t.prototype._next=function(e){for(var t=this.windows,n=t.length,r=0;r<n;r++){var o=t[r];o.closed||(o.next(e),o.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(o))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new d;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(a.Subscriber);function f(e){var t=e.subscriber,n=e.windowTimeSpan,r=e.window;r&&t.closeWindow(r),e.window=t.openWindow(),this.schedule(e,n)}function h(e){var t=e.windowTimeSpan,n=e.subscriber,r=e.scheduler,o=e.windowCreationInterval,i=n.openWindow(),a={action:this,subscription:null},s={subscriber:n,window:i,context:a};a.subscription=r.schedule(m,t,s),this.add(a.subscription),this.schedule(e,o)}function m(e){var t=e.subscriber,n=e.window,r=e.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),t.closeWindow(n)}},"./node_modules/rxjs/_esm5/internal/operators/windowToggle.js":function(e,t,n){"use strict";n.r(t),n.d(t,"windowToggle",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),a=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),s=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),l=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),c=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function u(e,t){return function(n){return n.lift(new d(e,t))}}var d=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.openings,this.closingSelector))},e}(),p=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.openings=n,o.closingSelector=r,o.contexts=[],o.add(o.openSubscription=Object(c.subscribeToResult)(o,n,n)),o}return r.__extends(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var n=t.length,r=0;r<n;r++)t[r].window.next(e)},t.prototype._error=function(t){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,o=-1;++o<r;){var i=n[o];i.window.error(t),i.subscription.unsubscribe()}e.prototype._error.call(this,t)},t.prototype._complete=function(){var t=this.contexts;if(this.contexts=null,t)for(var n=t.length,r=-1;++r<n;){var o=t[r];o.window.complete(),o.subscription.unsubscribe()}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,n=-1;++n<t;){var r=e[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},t.prototype.notifyNext=function(e,t,n,r,l){if(e===this.openings){var u=this.closingSelector,d=Object(a.tryCatch)(u)(t);if(d===s.errorObject)return this.error(s.errorObject.e);var p=new o.Subject,f=new i.Subscription,h={window:p,subscription:f};this.contexts.push(h);var m=Object(c.subscribeToResult)(this,d,h);m.closed?this.closeWindow(this.contexts.length-1):(m.context=h,f.add(m)),this.destination.next(p)}else this.closeWindow(this.contexts.indexOf(e))},t.prototype.notifyError=function(e){this.error(e)},t.prototype.notifyComplete=function(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))},t.prototype.closeWindow=function(e){if(-1!==e){var t=this.contexts,n=t[e],r=n.window,o=n.subscription;t.splice(e,1),r.complete(),o.unsubscribe()}},t}(l.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/windowWhen.js":function(e,t,n){"use strict";n.r(t),n.d(t,"windowWhen",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/util/tryCatch.js"),a=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js"),s=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),l=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function c(e){return function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.closingSelector))},e}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.destination=t,r.closingSelector=n,r.openWindow(),r}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.openWindow(o)},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this.openWindow(e)},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},t.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},t.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},t.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var n=this.window=new o.Subject;this.destination.next(n);var r=Object(i.tryCatch)(this.closingSelector)();if(r===a.errorObject){var s=a.errorObject.e;this.destination.error(s),this.window.error(s)}else this.add(this.closingNotification=Object(l.subscribeToResult)(this,r))},t}(s.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js":function(e,t,n){"use strict";n.r(t),n.d(t,"withLatestFrom",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/OuterSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js");function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n;"function"==typeof e[e.length-1]&&(n=e.pop());var r=e;return t.lift(new s(r,n))}}var s=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.observables,this.project))},e}(),l=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.observables=n,o.project=r,o.toRespond=[];var a=n.length;o.values=new Array(a);for(var s=0;s<a;s++)o.toRespond.push(s);for(s=0;s<a;s++){var l=n[s];o.add(Object(i.subscribeToResult)(o,l,l,s))}return o}return r.__extends(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values[n]=t;var i=this.toRespond;if(i.length>0){var a=i.indexOf(n);-1!==a&&i.splice(a,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.OuterSubscriber)},"./node_modules/rxjs/_esm5/internal/operators/zip.js":function(e,t,n){"use strict";n.r(t),n.d(t,"zip",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/zip.js");function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(r.zip.apply(void 0,[t].concat(e)))}}},"./node_modules/rxjs/_esm5/internal/operators/zipAll.js":function(e,t,n){"use strict";n.r(t),n.d(t,"zipAll",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/observable/zip.js");function o(e){return function(t){return t.lift(new r.ZipOperator(e))}}},"./node_modules/rxjs/_esm5/internal/scheduler/Action.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Action",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(t,n){return e.call(this)||this}return r.__extends(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n("./node_modules/rxjs/_esm5/internal/Subscription.js").Subscription)},"./node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AnimationFrameAction",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return r.__extends(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)},t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js").AsyncAction)},"./node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AnimationFrameScheduler",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,o=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<o&&(e=n.shift()));if(this.active=!1,t){for(;++r<o&&(e=n.shift());)e.unsubscribe();throw t}},t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js").AsyncScheduler)},"./node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AsapAction",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/util/Immediate.js"),i=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return r.__extends(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=o.Immediate.setImmediate(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(o.Immediate.clearImmediate(n),t.scheduled=void 0)},t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js").AsyncAction)},"./node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AsapScheduler",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,o=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<o&&(e=n.shift()));if(this.active=!1,t){for(;++r<o&&(e=n.shift());)e.unsubscribe();throw t}},t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js").AsyncScheduler)},"./node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AsyncAction",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return r.__extends(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(e){n=!0,r=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(n("./node_modules/rxjs/_esm5/internal/scheduler/Action.js").Action)},"./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"AsyncScheduler",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Scheduler.js"),i=function(e){function t(n,r){void 0===r&&(r=o.Scheduler.now);var i=e.call(this,n,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return r.__extends(t,e),t.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,o):e.prototype.schedule.call(this,n,r,o)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(o.Scheduler)},"./node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js":function(e,t,n){"use strict";n.r(t),n.d(t,"QueueAction",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return r.__extends(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js").AsyncAction)},"./node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"QueueScheduler",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js").AsyncScheduler)},"./node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"VirtualTimeScheduler",(function(){return i})),n.d(t,"VirtualAction",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js"),i=function(e){function t(t,n){void 0===t&&(t=a),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=e.call(this,t,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return r.__extends(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,r=this.maxFrames;(t=n.shift())&&(this.frame=t.delay)<=r&&!(e=t.execute(t.state,t.delay)););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js").AsyncScheduler),a=function(e){function t(t,n,r){void 0===r&&(r=t.index+=1);var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.index=r,o.active=!0,o.index=t.index=r,o}return r.__extends(t,e),t.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return e.prototype.schedule.call(this,n,r);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(n,r)},t.prototype.requestAsyncId=function(e,n,r){void 0===r&&(r=0),this.delay=e.frame+r;var o=e.actions;return o.push(this),o.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},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)},"./node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js":function(e,t,n){"use strict";n.r(t),n.d(t,"animationFrame",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js"),o=new(n("./node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js").AnimationFrameScheduler)(r.AnimationFrameAction)},"./node_modules/rxjs/_esm5/internal/scheduler/asap.js":function(e,t,n){"use strict";n.r(t),n.d(t,"asap",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js"),o=new(n("./node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js").AsapScheduler)(r.AsapAction)},"./node_modules/rxjs/_esm5/internal/scheduler/async.js":function(e,t,n){"use strict";n.r(t),n.d(t,"async",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js"),o=new(n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js").AsyncScheduler)(r.AsyncAction)},"./node_modules/rxjs/_esm5/internal/scheduler/queue.js":function(e,t,n){"use strict";n.r(t),n.d(t,"queue",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js"),o=new(n("./node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js").QueueScheduler)(r.QueueAction)},"./node_modules/rxjs/_esm5/internal/symbol/iterator.js":function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.r(t),n.d(t,"getSymbolIterator",(function(){return r})),n.d(t,"iterator",(function(){return o})),n.d(t,"$$iterator",(function(){return i}));var o=r(),i=o},"./node_modules/rxjs/_esm5/internal/symbol/observable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"observable",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},"./node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js":function(e,t,n){"use strict";n.r(t),n.d(t,"rxSubscriber",(function(){return r})),n.d(t,"$$rxSubscriber",(function(){return o}));var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",o=r},"./node_modules/rxjs/_esm5/internal/testing/ColdObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"ColdObservable",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Observable.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),a=n("./node_modules/rxjs/_esm5/internal/testing/SubscriptionLoggable.js"),s=(n("./node_modules/rxjs/_esm5/internal/util/applyMixins.js"),function(e){function t(t,n){var r=e.call(this,(function(e){var t=this,n=t.logSubscribedFrame(),r=new i.Subscription;return r.add(new i.Subscription((function(){t.logUnsubscribedFrame(n)}))),t.scheduleMessages(e),r}))||this;return r.messages=t,r.subscriptions=[],r.scheduler=n,r}return r.__extends(t,e),t.prototype.scheduleMessages=function(e){for(var t=this.messages.length,n=0;n<t;n++){var r=this.messages[n];e.add(this.scheduler.schedule((function(e){var t=e.message,n=e.subscriber;t.notification.observe(n)}),r.frame,{message:r,subscriber:e}))}},t}(o.Observable));a.SubscriptionLoggable},"./node_modules/rxjs/_esm5/internal/testing/HotObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"HotObservable",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Subject.js"),i=n("./node_modules/rxjs/_esm5/internal/Subscription.js"),a=n("./node_modules/rxjs/_esm5/internal/testing/SubscriptionLoggable.js"),s=(n("./node_modules/rxjs/_esm5/internal/util/applyMixins.js"),function(e){function t(t,n){var r=e.call(this)||this;return r.messages=t,r.subscriptions=[],r.scheduler=n,r}return r.__extends(t,e),t.prototype._subscribe=function(t){var n=this,r=n.logSubscribedFrame(),o=new i.Subscription;return o.add(new i.Subscription((function(){n.logUnsubscribedFrame(r)}))),o.add(e.prototype._subscribe.call(this,t)),o},t.prototype.setup=function(){for(var e=this,t=e.messages.length,n=0;n<t;n++)!function(){var t=e.messages[n];e.scheduler.schedule((function(){t.notification.observe(e)}),t.frame)}()},t}(o.Subject));a.SubscriptionLoggable},"./node_modules/rxjs/_esm5/internal/testing/SubscriptionLog.js":function(e,t,n){"use strict";n.r(t),n.d(t,"SubscriptionLog",(function(){return r}));var r=function(){return function(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.subscribedFrame=e,this.unsubscribedFrame=t}}()},"./node_modules/rxjs/_esm5/internal/testing/SubscriptionLoggable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"SubscriptionLoggable",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/testing/SubscriptionLog.js"),o=function(){function e(){this.subscriptions=[]}return e.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},e.prototype.logUnsubscribedFrame=function(e){var t=this.subscriptions,n=t[e];t[e]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},e}()},"./node_modules/rxjs/_esm5/internal/testing/TestScheduler.js":function(e,t,n){"use strict";n.r(t),n.d(t,"TestScheduler",(function(){return d}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/internal/Observable.js"),i=n("./node_modules/rxjs/_esm5/internal/Notification.js"),a=n("./node_modules/rxjs/_esm5/internal/testing/ColdObservable.js"),s=n("./node_modules/rxjs/_esm5/internal/testing/HotObservable.js"),l=n("./node_modules/rxjs/_esm5/internal/testing/SubscriptionLog.js"),c=n("./node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js"),u=n("./node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js"),d=function(e){function t(t){var n=e.call(this,c.VirtualAction,750)||this;return n.assertDeepEqual=t,n.hotObservables=[],n.coldObservables=[],n.flushTests=[],n.runMode=!1,n}return r.__extends(t,e),t.prototype.createTime=function(e){var n=e.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*t.frameTimeFactor},t.prototype.createColdObservable=function(e,n,r){if(-1!==e.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==e.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var o=t.parseMarbles(e,n,r,void 0,this.runMode),i=new a.ColdObservable(o,this);return this.coldObservables.push(i),i},t.prototype.createHotObservable=function(e,n,r){if(-1!==e.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var o=t.parseMarbles(e,n,r,void 0,this.runMode),i=new s.HotObservable(o,this);return this.hotObservables.push(i),i},t.prototype.materializeInnerObservable=function(e,t){var n=this,r=[];return e.subscribe((function(e){r.push({frame:n.frame-t,notification:i.Notification.createNext(e)})}),(function(e){r.push({frame:n.frame-t,notification:i.Notification.createError(e)})}),(function(){r.push({frame:n.frame-t,notification:i.Notification.createComplete()})})),r},t.prototype.expectObservable=function(e,n){var r=this;void 0===n&&(n=null);var a,s=[],l={actual:s,ready:!1},c=t.parseMarblesAsSubscriptions(n,this.runMode),u=c.subscribedFrame===Number.POSITIVE_INFINITY?0:c.subscribedFrame,d=c.unsubscribedFrame;this.schedule((function(){a=e.subscribe((function(e){var t=e;e instanceof o.Observable&&(t=r.materializeInnerObservable(t,r.frame)),s.push({frame:r.frame,notification:i.Notification.createNext(t)})}),(function(e){s.push({frame:r.frame,notification:i.Notification.createError(e)})}),(function(){s.push({frame:r.frame,notification:i.Notification.createComplete()})}))}),u),d!==Number.POSITIVE_INFINITY&&this.schedule((function(){return a.unsubscribe()}),d),this.flushTests.push(l);var p=this.runMode;return{toBe:function(e,n,r){l.ready=!0,l.expected=t.parseMarbles(e,n,r,!0,p)}}},t.prototype.expectSubscriptions=function(e){var n={actual:e,ready:!1};this.flushTests.push(n);var r=this.runMode;return{toBe:function(e){var o="string"==typeof e?[e]:e;n.ready=!0,n.expected=o.map((function(e){return t.parseMarblesAsSubscriptions(e,r)}))}}},t.prototype.flush=function(){for(var t=this,n=this.hotObservables;n.length>0;)n.shift().setup();e.prototype.flush.call(this),this.flushTests=this.flushTests.filter((function(e){return!e.ready||(t.assertDeepEqual(e.actual,e.expected),!1)}))},t.parseMarblesAsSubscriptions=function(e,t){var n=this;if(void 0===t&&(t=!1),"string"!=typeof e)return new l.SubscriptionLog(Number.POSITIVE_INFINITY);for(var r,o=e.length,i=-1,a=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,c=0,u=function(o){var l=c,u=function(e){l+=e*n.frameTimeFactor},p=e[o];switch(p){case" ":t||u(1);break;case"-":u(1);break;case"(":i=c,u(1);break;case")":i=-1,u(1);break;case"^":if(a!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");a=i>-1?i:c,u(1);break;case"!":if(s!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");s=i>-1?i:c;break;default:if(t&&p.match(/^[0-9]$/)&&(0===o||" "===e[o-1])){var f=e.slice(o).match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(f){o+=f[0].length-1;var h=parseFloat(f[1]),m=void 0;switch(f[2]){case"ms":m=h;break;case"s":m=1e3*h;break;case"m":m=1e3*h*60}u(m/d.frameTimeFactor);break}}throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+p+"'.")}c=l,r=o},d=this,p=0;p<o;p++)u(p),p=r;return s<0?new l.SubscriptionLog(a):new l.SubscriptionLog(a,s)},t.parseMarbles=function(e,t,n,r,o){var s=this;if(void 0===r&&(r=!1),void 0===o&&(o=!1),-1!==e.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var l,c=e.length,u=[],d=o?e.replace(/^[ ]+/,"").indexOf("^"):e.indexOf("^"),p=-1===d?0:d*-this.frameTimeFactor,f="object"!=typeof t?function(e){return e}:function(e){return r&&t[e]instanceof a.ColdObservable?t[e].messages:t[e]},h=-1,m=function(t){var r=p,a=function(e){r+=e*s.frameTimeFactor},c=void 0,d=e[t];switch(d){case" ":o||a(1);break;case"-":a(1);break;case"(":h=p,a(1);break;case")":h=-1,a(1);break;case"|":c=i.Notification.createComplete(),a(1);break;case"^":a(1);break;case"#":c=i.Notification.createError(n||"error"),a(1);break;default:if(o&&d.match(/^[0-9]$/)&&(0===t||" "===e[t-1])){var m=e.slice(t).match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(m){t+=m[0].length-1;var y=parseFloat(m[1]),v=void 0;switch(m[2]){case"ms":v=y;break;case"s":v=1e3*y;break;case"m":v=1e3*y*60}a(v/g.frameTimeFactor);break}}c=i.Notification.createNext(f(d)),a(1)}c&&u.push({frame:h>-1?h:p,notification:c}),p=r,l=t},g=this,y=0;y<c;y++)m(y),y=l;return u},t.prototype.run=function(e){var n=t.frameTimeFactor,r=this.maxFrames;t.frameTimeFactor=1,this.maxFrames=Number.POSITIVE_INFINITY,this.runMode=!0,u.AsyncScheduler.delegate=this;var o={cold:this.createColdObservable.bind(this),hot:this.createHotObservable.bind(this),flush:this.flush.bind(this),expectObservable:this.expectObservable.bind(this),expectSubscriptions:this.expectSubscriptions.bind(this)};try{var i=e(o);return this.flush(),i}finally{t.frameTimeFactor=n,this.maxFrames=r,this.runMode=!1,u.AsyncScheduler.delegate=void 0}},t}(c.VirtualTimeScheduler)},"./node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.r(t),n.d(t,"ArgumentOutOfRangeError",(function(){return o})),r.prototype=Object.create(Error.prototype);var o=r},"./node_modules/rxjs/_esm5/internal/util/EmptyError.js":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}n.r(t),n.d(t,"EmptyError",(function(){return o})),r.prototype=Object.create(Error.prototype);var o=r},"./node_modules/rxjs/_esm5/internal/util/Immediate.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Immediate",(function(){return i}));var r=1,o={};var i={setImmediate:function(e){var t=r++;return o[t]=e,Promise.resolve().then((function(){return function(e){var t=o[e];t&&t()}(t)})),t},clearImmediate:function(e){delete o[e]}}},"./node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.r(t),n.d(t,"ObjectUnsubscribedError",(function(){return o})),r.prototype=Object.create(Error.prototype);var o=r},"./node_modules/rxjs/_esm5/internal/util/TimeoutError.js":function(e,t,n){"use strict";function r(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}n.r(t),n.d(t,"TimeoutError",(function(){return o})),r.prototype=Object.create(Error.prototype);var o=r},"./node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js":function(e,t,n){"use strict";function r(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}n.r(t),n.d(t,"UnsubscriptionError",(function(){return o})),r.prototype=Object.create(Error.prototype);var o=r},"./node_modules/rxjs/_esm5/internal/util/applyMixins.js":function(e,t,n){"use strict";function r(e,t){for(var n=0,r=t.length;n<r;n++)for(var o=t[n],i=Object.getOwnPropertyNames(o.prototype),a=0,s=i.length;a<s;a++){var l=i[a];e.prototype[l]=o.prototype[l]}}n.r(t),n.d(t,"applyMixins",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/errorObject.js":function(e,t,n){"use strict";n.r(t),n.d(t,"errorObject",(function(){return r}));var r={e:{}}},"./node_modules/rxjs/_esm5/internal/util/hostReportError.js":function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}))}n.r(t),n.d(t,"hostReportError",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/identity.js":function(e,t,n){"use strict";function r(e){return e}n.r(t),n.d(t,"identity",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/isArray.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isArray",(function(){return r}));var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},"./node_modules/rxjs/_esm5/internal/util/isArrayLike.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isArrayLike",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"./node_modules/rxjs/_esm5/internal/util/isDate.js":function(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(+e)}n.r(t),n.d(t,"isDate",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/isFunction.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t),n.d(t,"isFunction",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/isInteropObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isInteropObservable",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js");function o(e){return e&&"function"==typeof e[r.observable]}},"./node_modules/rxjs/_esm5/internal/util/isIterable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isIterable",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/symbol/iterator.js");function o(e){return e&&"function"==typeof e[r.iterator]}},"./node_modules/rxjs/_esm5/internal/util/isNumeric.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isNumeric",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/util/isArray.js");function o(e){return!Object(r.isArray)(e)&&e-parseFloat(e)+1>=0}},"./node_modules/rxjs/_esm5/internal/util/isObject.js":function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}n.r(t),n.d(t,"isObject",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/isObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"isObservable",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js");function o(e){return!!e&&(e instanceof r.Observable||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"./node_modules/rxjs/_esm5/internal/util/isPromise.js":function(e,t,n){"use strict";function r(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.r(t),n.d(t,"isPromise",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/isScheduler.js":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.r(t),n.d(t,"isScheduler",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/noop.js":function(e,t,n){"use strict";function r(){}n.r(t),n.d(t,"noop",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/not.js":function(e,t,n){"use strict";function r(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}n.r(t),n.d(t,"not",(function(){return r}))},"./node_modules/rxjs/_esm5/internal/util/pipe.js":function(e,t,n){"use strict";n.r(t),n.d(t,"pipe",(function(){return o})),n.d(t,"pipeFromArray",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/util/noop.js");function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)}function i(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:r.noop}},"./node_modules/rxjs/_esm5/internal/util/root.js":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"root",(function(){return i}));var r="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=r||void 0!==e&&e||o}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/rxjs/_esm5/internal/util/subscribeTo.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeTo",(function(){return f}));var r=n("./node_modules/rxjs/_esm5/internal/Observable.js"),o=n("./node_modules/rxjs/_esm5/internal/util/subscribeToArray.js"),i=n("./node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js"),a=n("./node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js"),s=n("./node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js"),l=n("./node_modules/rxjs/_esm5/internal/util/isArrayLike.js"),c=n("./node_modules/rxjs/_esm5/internal/util/isPromise.js"),u=n("./node_modules/rxjs/_esm5/internal/util/isObject.js"),d=n("./node_modules/rxjs/_esm5/internal/symbol/iterator.js"),p=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js"),f=function(e){if(e instanceof r.Observable)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[p.observable])return Object(s.subscribeToObservable)(e);if(Object(l.isArrayLike)(e))return Object(o.subscribeToArray)(e);if(Object(c.isPromise)(e))return Object(i.subscribeToPromise)(e);if(e&&"function"==typeof e[d.iterator])return Object(a.subscribeToIterable)(e);var t=Object(u.isObject)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},"./node_modules/rxjs/_esm5/internal/util/subscribeToArray.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeToArray",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}}},"./node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeToIterable",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/symbol/iterator.js"),o=function(e){return function(t){for(var n=e[r.iterator]();;){var o=n.next();if(o.done){t.complete();break}if(t.next(o.value),t.closed)break}return"function"==typeof n.return&&t.add((function(){n.return&&n.return()})),t}}},"./node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeToObservable",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/symbol/observable.js"),o=function(e){return function(t){var n=e[r.observable]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}}},"./node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeToPromise",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/internal/util/hostReportError.js"),o=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,r.hostReportError),t}}},"./node_modules/rxjs/_esm5/internal/util/subscribeToResult.js":function(e,t,n){"use strict";n.r(t),n.d(t,"subscribeToResult",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/internal/InnerSubscriber.js"),o=n("./node_modules/rxjs/_esm5/internal/util/subscribeTo.js");function i(e,t,n,i,a){if(void 0===a&&(a=new r.InnerSubscriber(e,n,i)),!a.closed)return Object(o.subscribeTo)(t)(a)}},"./node_modules/rxjs/_esm5/internal/util/toSubscriber.js":function(e,t,n){"use strict";n.r(t),n.d(t,"toSubscriber",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/internal/Subscriber.js"),o=n("./node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js"),i=n("./node_modules/rxjs/_esm5/internal/Observer.js");function a(e,t,n){if(e){if(e instanceof r.Subscriber)return e;if(e[o.rxSubscriber])return e[o.rxSubscriber]()}return e||t||n?new r.Subscriber(e,t,n):new r.Subscriber(i.empty)}},"./node_modules/rxjs/_esm5/internal/util/tryCatch.js":function(e,t,n){"use strict";n.r(t),n.d(t,"tryCatch",(function(){return a}));var r,o=n("./node_modules/rxjs/_esm5/internal/util/errorObject.js");function i(){try{return r.apply(this,arguments)}catch(e){return o.errorObject.e=e,o.errorObject}}function a(e){return r=e,i}},"./node_modules/rxjs/_esm5/operators/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/rxjs/_esm5/internal/operators/audit.js");n.d(t,"audit",(function(){return r.audit}));var o=n("./node_modules/rxjs/_esm5/internal/operators/auditTime.js");n.d(t,"auditTime",(function(){return o.auditTime}));var i=n("./node_modules/rxjs/_esm5/internal/operators/buffer.js");n.d(t,"buffer",(function(){return i.buffer}));var a=n("./node_modules/rxjs/_esm5/internal/operators/bufferCount.js");n.d(t,"bufferCount",(function(){return a.bufferCount}));var s=n("./node_modules/rxjs/_esm5/internal/operators/bufferTime.js");n.d(t,"bufferTime",(function(){return s.bufferTime}));var l=n("./node_modules/rxjs/_esm5/internal/operators/bufferToggle.js");n.d(t,"bufferToggle",(function(){return l.bufferToggle}));var c=n("./node_modules/rxjs/_esm5/internal/operators/bufferWhen.js");n.d(t,"bufferWhen",(function(){return c.bufferWhen}));var u=n("./node_modules/rxjs/_esm5/internal/operators/catchError.js");n.d(t,"catchError",(function(){return u.catchError}));var d=n("./node_modules/rxjs/_esm5/internal/operators/combineAll.js");n.d(t,"combineAll",(function(){return d.combineAll}));var p=n("./node_modules/rxjs/_esm5/internal/operators/combineLatest.js");n.d(t,"combineLatest",(function(){return p.combineLatest}));var f=n("./node_modules/rxjs/_esm5/internal/operators/concat.js");n.d(t,"concat",(function(){return f.concat}));var h=n("./node_modules/rxjs/_esm5/internal/operators/concatAll.js");n.d(t,"concatAll",(function(){return h.concatAll}));var m=n("./node_modules/rxjs/_esm5/internal/operators/concatMap.js");n.d(t,"concatMap",(function(){return m.concatMap}));var g=n("./node_modules/rxjs/_esm5/internal/operators/concatMapTo.js");n.d(t,"concatMapTo",(function(){return g.concatMapTo}));var y=n("./node_modules/rxjs/_esm5/internal/operators/count.js");n.d(t,"count",(function(){return y.count}));var v=n("./node_modules/rxjs/_esm5/internal/operators/debounce.js");n.d(t,"debounce",(function(){return v.debounce}));var b=n("./node_modules/rxjs/_esm5/internal/operators/debounceTime.js");n.d(t,"debounceTime",(function(){return b.debounceTime}));var _=n("./node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js");n.d(t,"defaultIfEmpty",(function(){return _.defaultIfEmpty}));var w=n("./node_modules/rxjs/_esm5/internal/operators/delay.js");n.d(t,"delay",(function(){return w.delay}));var C=n("./node_modules/rxjs/_esm5/internal/operators/delayWhen.js");n.d(t,"delayWhen",(function(){return C.delayWhen}));var S=n("./node_modules/rxjs/_esm5/internal/operators/dematerialize.js");n.d(t,"dematerialize",(function(){return S.dematerialize}));var E=n("./node_modules/rxjs/_esm5/internal/operators/distinct.js");n.d(t,"distinct",(function(){return E.distinct}));var x=n("./node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js");n.d(t,"distinctUntilChanged",(function(){return x.distinctUntilChanged}));var k=n("./node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js");n.d(t,"distinctUntilKeyChanged",(function(){return k.distinctUntilKeyChanged}));var O=n("./node_modules/rxjs/_esm5/internal/operators/elementAt.js");n.d(t,"elementAt",(function(){return O.elementAt}));var T=n("./node_modules/rxjs/_esm5/internal/operators/endWith.js");n.d(t,"endWith",(function(){return T.endWith}));var A=n("./node_modules/rxjs/_esm5/internal/operators/every.js");n.d(t,"every",(function(){return A.every}));var P=n("./node_modules/rxjs/_esm5/internal/operators/exhaust.js");n.d(t,"exhaust",(function(){return P.exhaust}));var R=n("./node_modules/rxjs/_esm5/internal/operators/exhaustMap.js");n.d(t,"exhaustMap",(function(){return R.exhaustMap}));var I=n("./node_modules/rxjs/_esm5/internal/operators/expand.js");n.d(t,"expand",(function(){return I.expand}));var M=n("./node_modules/rxjs/_esm5/internal/operators/filter.js");n.d(t,"filter",(function(){return M.filter}));var N=n("./node_modules/rxjs/_esm5/internal/operators/finalize.js");n.d(t,"finalize",(function(){return N.finalize}));var D=n("./node_modules/rxjs/_esm5/internal/operators/find.js");n.d(t,"find",(function(){return D.find}));var j=n("./node_modules/rxjs/_esm5/internal/operators/findIndex.js");n.d(t,"findIndex",(function(){return j.findIndex}));var L=n("./node_modules/rxjs/_esm5/internal/operators/first.js");n.d(t,"first",(function(){return L.first}));var B=n("./node_modules/rxjs/_esm5/internal/operators/groupBy.js");n.d(t,"groupBy",(function(){return B.groupBy}));var F=n("./node_modules/rxjs/_esm5/internal/operators/ignoreElements.js");n.d(t,"ignoreElements",(function(){return F.ignoreElements}));var U=n("./node_modules/rxjs/_esm5/internal/operators/isEmpty.js");n.d(t,"isEmpty",(function(){return U.isEmpty}));var H=n("./node_modules/rxjs/_esm5/internal/operators/last.js");n.d(t,"last",(function(){return H.last}));var V=n("./node_modules/rxjs/_esm5/internal/operators/map.js");n.d(t,"map",(function(){return V.map}));var z=n("./node_modules/rxjs/_esm5/internal/operators/mapTo.js");n.d(t,"mapTo",(function(){return z.mapTo}));var q=n("./node_modules/rxjs/_esm5/internal/operators/materialize.js");n.d(t,"materialize",(function(){return q.materialize}));var G=n("./node_modules/rxjs/_esm5/internal/operators/max.js");n.d(t,"max",(function(){return G.max}));var W=n("./node_modules/rxjs/_esm5/internal/operators/merge.js");n.d(t,"merge",(function(){return W.merge}));var Y=n("./node_modules/rxjs/_esm5/internal/operators/mergeAll.js");n.d(t,"mergeAll",(function(){return Y.mergeAll}));var Z=n("./node_modules/rxjs/_esm5/internal/operators/mergeMap.js");n.d(t,"mergeMap",(function(){return Z.mergeMap})),n.d(t,"flatMap",(function(){return Z.mergeMap}));var K=n("./node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js");n.d(t,"mergeMapTo",(function(){return K.mergeMapTo}));var $=n("./node_modules/rxjs/_esm5/internal/operators/mergeScan.js");n.d(t,"mergeScan",(function(){return $.mergeScan}));var Q=n("./node_modules/rxjs/_esm5/internal/operators/min.js");n.d(t,"min",(function(){return Q.min}));var X=n("./node_modules/rxjs/_esm5/internal/operators/multicast.js");n.d(t,"multicast",(function(){return X.multicast}));var J=n("./node_modules/rxjs/_esm5/internal/operators/observeOn.js");n.d(t,"observeOn",(function(){return J.observeOn}));var ee=n("./node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js");n.d(t,"onErrorResumeNext",(function(){return ee.onErrorResumeNext}));var te=n("./node_modules/rxjs/_esm5/internal/operators/pairwise.js");n.d(t,"pairwise",(function(){return te.pairwise}));var ne=n("./node_modules/rxjs/_esm5/internal/operators/partition.js");n.d(t,"partition",(function(){return ne.partition}));var re=n("./node_modules/rxjs/_esm5/internal/operators/pluck.js");n.d(t,"pluck",(function(){return re.pluck}));var oe=n("./node_modules/rxjs/_esm5/internal/operators/publish.js");n.d(t,"publish",(function(){return oe.publish}));var ie=n("./node_modules/rxjs/_esm5/internal/operators/publishBehavior.js");n.d(t,"publishBehavior",(function(){return ie.publishBehavior}));var ae=n("./node_modules/rxjs/_esm5/internal/operators/publishLast.js");n.d(t,"publishLast",(function(){return ae.publishLast}));var se=n("./node_modules/rxjs/_esm5/internal/operators/publishReplay.js");n.d(t,"publishReplay",(function(){return se.publishReplay}));var le=n("./node_modules/rxjs/_esm5/internal/operators/race.js");n.d(t,"race",(function(){return le.race}));var ce=n("./node_modules/rxjs/_esm5/internal/operators/reduce.js");n.d(t,"reduce",(function(){return ce.reduce}));var ue=n("./node_modules/rxjs/_esm5/internal/operators/repeat.js");n.d(t,"repeat",(function(){return ue.repeat}));var de=n("./node_modules/rxjs/_esm5/internal/operators/repeatWhen.js");n.d(t,"repeatWhen",(function(){return de.repeatWhen}));var pe=n("./node_modules/rxjs/_esm5/internal/operators/retry.js");n.d(t,"retry",(function(){return pe.retry}));var fe=n("./node_modules/rxjs/_esm5/internal/operators/retryWhen.js");n.d(t,"retryWhen",(function(){return fe.retryWhen}));var he=n("./node_modules/rxjs/_esm5/internal/operators/refCount.js");n.d(t,"refCount",(function(){return he.refCount}));var me=n("./node_modules/rxjs/_esm5/internal/operators/sample.js");n.d(t,"sample",(function(){return me.sample}));var ge=n("./node_modules/rxjs/_esm5/internal/operators/sampleTime.js");n.d(t,"sampleTime",(function(){return ge.sampleTime}));var ye=n("./node_modules/rxjs/_esm5/internal/operators/scan.js");n.d(t,"scan",(function(){return ye.scan}));var ve=n("./node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js");n.d(t,"sequenceEqual",(function(){return ve.sequenceEqual}));var be=n("./node_modules/rxjs/_esm5/internal/operators/share.js");n.d(t,"share",(function(){return be.share}));var _e=n("./node_modules/rxjs/_esm5/internal/operators/shareReplay.js");n.d(t,"shareReplay",(function(){return _e.shareReplay}));var we=n("./node_modules/rxjs/_esm5/internal/operators/single.js");n.d(t,"single",(function(){return we.single}));var Ce=n("./node_modules/rxjs/_esm5/internal/operators/skip.js");n.d(t,"skip",(function(){return Ce.skip}));var Se=n("./node_modules/rxjs/_esm5/internal/operators/skipLast.js");n.d(t,"skipLast",(function(){return Se.skipLast}));var Ee=n("./node_modules/rxjs/_esm5/internal/operators/skipUntil.js");n.d(t,"skipUntil",(function(){return Ee.skipUntil}));var xe=n("./node_modules/rxjs/_esm5/internal/operators/skipWhile.js");n.d(t,"skipWhile",(function(){return xe.skipWhile}));var ke=n("./node_modules/rxjs/_esm5/internal/operators/startWith.js");n.d(t,"startWith",(function(){return ke.startWith}));var Oe=n("./node_modules/rxjs/_esm5/internal/operators/subscribeOn.js");n.d(t,"subscribeOn",(function(){return Oe.subscribeOn}));var Te=n("./node_modules/rxjs/_esm5/internal/operators/switchAll.js");n.d(t,"switchAll",(function(){return Te.switchAll}));var Ae=n("./node_modules/rxjs/_esm5/internal/operators/switchMap.js");n.d(t,"switchMap",(function(){return Ae.switchMap}));var Pe=n("./node_modules/rxjs/_esm5/internal/operators/switchMapTo.js");n.d(t,"switchMapTo",(function(){return Pe.switchMapTo}));var Re=n("./node_modules/rxjs/_esm5/internal/operators/take.js");n.d(t,"take",(function(){return Re.take}));var Ie=n("./node_modules/rxjs/_esm5/internal/operators/takeLast.js");n.d(t,"takeLast",(function(){return Ie.takeLast}));var Me=n("./node_modules/rxjs/_esm5/internal/operators/takeUntil.js");n.d(t,"takeUntil",(function(){return Me.takeUntil}));var Ne=n("./node_modules/rxjs/_esm5/internal/operators/takeWhile.js");n.d(t,"takeWhile",(function(){return Ne.takeWhile}));var De=n("./node_modules/rxjs/_esm5/internal/operators/tap.js");n.d(t,"tap",(function(){return De.tap}));var je=n("./node_modules/rxjs/_esm5/internal/operators/throttle.js");n.d(t,"throttle",(function(){return je.throttle}));var Le=n("./node_modules/rxjs/_esm5/internal/operators/throttleTime.js");n.d(t,"throttleTime",(function(){return Le.throttleTime}));var Be=n("./node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js");n.d(t,"throwIfEmpty",(function(){return Be.throwIfEmpty}));var Fe=n("./node_modules/rxjs/_esm5/internal/operators/timeInterval.js");n.d(t,"timeInterval",(function(){return Fe.timeInterval}));var Ue=n("./node_modules/rxjs/_esm5/internal/operators/timeout.js");n.d(t,"timeout",(function(){return Ue.timeout}));var He=n("./node_modules/rxjs/_esm5/internal/operators/timeoutWith.js");n.d(t,"timeoutWith",(function(){return He.timeoutWith}));var Ve=n("./node_modules/rxjs/_esm5/internal/operators/timestamp.js");n.d(t,"timestamp",(function(){return Ve.timestamp}));var ze=n("./node_modules/rxjs/_esm5/internal/operators/toArray.js");n.d(t,"toArray",(function(){return ze.toArray}));var qe=n("./node_modules/rxjs/_esm5/internal/operators/window.js");n.d(t,"window",(function(){return qe.window}));var Ge=n("./node_modules/rxjs/_esm5/internal/operators/windowCount.js");n.d(t,"windowCount",(function(){return Ge.windowCount}));var We=n("./node_modules/rxjs/_esm5/internal/operators/windowTime.js");n.d(t,"windowTime",(function(){return We.windowTime}));var Ye=n("./node_modules/rxjs/_esm5/internal/operators/windowToggle.js");n.d(t,"windowToggle",(function(){return Ye.windowToggle}));var Ze=n("./node_modules/rxjs/_esm5/internal/operators/windowWhen.js");n.d(t,"windowWhen",(function(){return Ze.windowWhen}));var Ke=n("./node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js");n.d(t,"withLatestFrom",(function(){return Ke.withLatestFrom}));var $e=n("./node_modules/rxjs/_esm5/internal/operators/zip.js");n.d(t,"zip",(function(){return $e.zip}));var Qe=n("./node_modules/rxjs/_esm5/internal/operators/zipAll.js");n.d(t,"zipAll",(function(){return Qe.zipAll}))},"./node_modules/rxjs/_esm5/testing/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/rxjs/_esm5/internal/testing/TestScheduler.js");n.d(t,"TestScheduler",(function(){return r.TestScheduler}))},"./node_modules/rxjs/_esm5/webSocket/index.js":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js");n.d(t,"webSocket",(function(){return r.webSocket}));var o=n("./node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js");n.d(t,"WebSocketSubject",(function(){return o.WebSocketSubject}))},"./node_modules/rxjs/internal/Observable.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/internal/util/toSubscriber.js"),o=n("./node_modules/rxjs/internal/symbol/observable.js"),i=n("./node_modules/rxjs/internal/util/pipe.js"),a=n("./node_modules/rxjs/internal/config.js"),s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,i=r.toSubscriber(e,t,n);if(o?o.call(i,this.source):i._addParentTeardownLogic(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=l(t))((function(t,r){var o;o=n.subscribe((function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&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 0===e.length?this:i.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=l(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function l(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=s},"./node_modules/rxjs/internal/Observer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/internal/config.js"),o=n("./node_modules/rxjs/internal/util/hostReportError.js");t.empty={closed:!0,next:function(e){},error:function(e){if(r.config.useDeprecatedSynchronousErrorHandling)throw e;o.hostReportError(e)},complete:function(){}}},"./node_modules/rxjs/internal/Subscriber.js":function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/rxjs/internal/util/isFunction.js"),a=n("./node_modules/rxjs/internal/Observer.js"),s=n("./node_modules/rxjs/internal/Subscription.js"),l=n("./node_modules/rxjs/internal/symbol/rxSubscriber.js"),c=n("./node_modules/rxjs/internal/config.js"),u=n("./node_modules/rxjs/internal/util/hostReportError.js"),d=function(e){function t(t,n,r){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,o._parentSubscription=null,arguments.length){case 0:o.destination=a.empty;break;case 1:if(!t){o.destination=a.empty;break}if("object"==typeof t){if(f(t)){var i=t[l.rxSubscriber]();o.syncErrorThrowable=i.syncErrorThrowable,o.destination=i,i._addParentTeardownLogic(o)}else o.syncErrorThrowable=!0,o.destination=new p(o,t);break}default:o.syncErrorThrowable=!0,o.destination=new p(o,t,n,r)}return o}return o(t,e),t.prototype[l.rxSubscriber]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e),this._unsubscribeParentSubscription())},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete(),this._unsubscribeParentSubscription())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._addParentTeardownLogic=function(e){e!==this&&(this._parentSubscription=this.add(e))},t.prototype._unsubscribeParentSubscription=function(){null!==this._parentSubscription&&this._parentSubscription.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this._parentSubscription=null,this},t}(s.Subscription);t.Subscriber=d;var p=function(e){function t(t,n,r,o){var s,l=e.call(this)||this;l._parentSubscriber=t;var c=l;return i.isFunction(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==a.empty&&(c=Object.create(n),i.isFunction(c.unsubscribe)&&l.add(c.unsubscribe.bind(c)),c.unsubscribe=l.unsubscribe.bind(l))),l._context=c,l._next=s,l._error=r,l._complete=o,l}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=c.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):u.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;u.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),c.config.useDeprecatedSynchronousErrorHandling)throw e;u.hostReportError(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!c.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return c.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(u.hostReportError(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(d);function f(e){return e instanceof d||"_addParentTeardownLogic"in e&&e[l.rxSubscriber]}t.SafeSubscriber=p},"./node_modules/rxjs/internal/Subscription.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/internal/util/isArray.js"),o=n("./node_modules/rxjs/internal/util/isObject.js"),i=n("./node_modules/rxjs/internal/util/isFunction.js"),a=n("./node_modules/rxjs/internal/util/tryCatch.js"),s=n("./node_modules/rxjs/internal/util/errorObject.js"),l=n("./node_modules/rxjs/internal/util/UnsubscriptionError.js"),c=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,c=this._parents,d=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,h=c?c.length:0;n;)n.remove(this),n=++f<h&&c[f]||null;if(i.isFunction(d))a.tryCatch(d).call(this)===s.errorObject&&(t=!0,e=e||(s.errorObject.e instanceof l.UnsubscriptionError?u(s.errorObject.e.errors):[s.errorObject.e]));if(r.isArray(p))for(f=-1,h=p.length;++f<h;){var m=p[f];if(o.isObject(m))if(a.tryCatch(m.unsubscribe).call(m)===s.errorObject){t=!0,e=e||[];var g=s.errorObject.e;g instanceof l.UnsubscriptionError?e=e.concat(u(g.errors)):e.push(g)}}if(t)throw new l.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function u(e){return e.reduce((function(e,t){return e.concat(t instanceof l.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=c},"./node_modules/rxjs/internal/config.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"./node_modules/rxjs/internal/symbol/observable.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},"./node_modules/rxjs/internal/symbol/rxSubscriber.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",t.$$rxSubscriber=t.rxSubscriber},"./node_modules/rxjs/internal/util/UnsubscriptionError.js":function(e,t,n){"use strict";function r(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}Object.defineProperty(t,"__esModule",{value:!0}),r.prototype=Object.create(Error.prototype),t.UnsubscriptionError=r},"./node_modules/rxjs/internal/util/errorObject.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorObject={e:{}}},"./node_modules/rxjs/internal/util/hostReportError.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}))}},"./node_modules/rxjs/internal/util/isArray.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},"./node_modules/rxjs/internal/util/isFunction.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},"./node_modules/rxjs/internal/util/isObject.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!=e&&"object"==typeof e}},"./node_modules/rxjs/internal/util/noop.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){}},"./node_modules/rxjs/internal/util/pipe.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/internal/util/noop.js");function o(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:r.noop}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)},t.pipeFromArray=o},"./node_modules/rxjs/internal/util/toSubscriber.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/rxjs/internal/Subscriber.js"),o=n("./node_modules/rxjs/internal/symbol/rxSubscriber.js"),i=n("./node_modules/rxjs/internal/Observer.js");t.toSubscriber=function(e,t,n){if(e){if(e instanceof r.Subscriber)return e;if(e[o.rxSubscriber])return e[o.rxSubscriber]()}return e||t||n?new r.Subscriber(e,t,n):new r.Subscriber(i.empty)}},"./node_modules/rxjs/internal/util/tryCatch.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("./node_modules/rxjs/internal/util/errorObject.js");function i(){try{return r.apply(this,arguments)}catch(e){return o.errorObject.e=e,o.errorObject}}t.tryCatch=function(e){return r=e,i}},"./node_modules/safe-buffer/index.js":function(e,t,n){var r=n("./node_modules/node-libs-browser/node_modules/buffer/index.js"),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"./node_modules/safer-buffer/safer.js":function(e,t,n){"use strict";(function(t){var r,o=n("./node_modules/node-libs-browser/node_modules/buffer/index.js"),i=o.Buffer,a={};for(r in o)o.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=o[r]);var s=a.Buffer={};for(r in i)i.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=i[r]);if(a.Buffer.prototype=i.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return i(e,t,n)}),s.alloc||(s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=i(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a}).call(this,n("./node_modules/process/browser.js"))},"./node_modules/socket.io-client/lib/index.js":function(e,t,n){var r=n("./node_modules/socket.io-client/lib/url.js"),o=n("./node_modules/socket.io-parser/index.js"),i=n("./node_modules/socket.io-client/lib/manager.js"),a=n("./node_modules/debug/src/browser.js")("socket.io-client");e.exports=t=l;var s=t.managers={};function l(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),l=o.source,c=o.id,u=o.path,d=s[c]&&u in s[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||d?(a("ignoring socket cache for %s",l),n=i(l,t)):(s[c]||(a("new io instance for %s",l),s[c]=i(l,t)),n=s[c]),o.query&&!t.query?t.query=o.query:t&&"object"==typeof t.query&&(t.query=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}(t.query)),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=l,t.Manager=n("./node_modules/socket.io-client/lib/manager.js"),t.Socket=n("./node_modules/socket.io-client/lib/socket.js")},"./node_modules/socket.io-client/lib/manager.js":function(e,t,n){var r=n("./node_modules/engine.io-client/index.js"),o=n("./node_modules/socket.io-client/lib/socket.js"),i=n("./node_modules/component-emitter/index.js"),a=n("./node_modules/socket.io-parser/index.js"),s=n("./node_modules/socket.io-client/lib/on.js"),l=n("./node_modules/component-bind/index.js"),c=n("./node_modules/debug/src/browser.js")("socket.io-client:manager"),u=n("./node_modules/indexof/index.js"),d=n("./node_modules/backo2/index.js"),p=Object.prototype.hasOwnProperty;function f(e,t){if(!(this instanceof f))return new f(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[],this.encoder=new a.Encoder,this.decoder=new a.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=f,f.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)p.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},f.prototype.updateSocketIds=function(){for(var e in this.nsps)p.call(this.nsps,e)&&(this.nsps[e].id=this.engine.id)},i(f.prototype),f.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},f.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},f.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},f.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},f.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},f.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},f.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},f.prototype.open=f.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=s(n,"open",(function(){o.onopen(),e&&e()})),a=s(n,"error",(function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var l=this._timeout;c("connect attempt will timeout after %d",l);var u=setTimeout((function(){c("connect attempt timed out after %d",l),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",l)}),l);this.subs.push({destroy:function(){clearTimeout(u)}})}return this.subs.push(i),this.subs.push(a),this},f.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(s(e,"data",l(this,"ondata"))),this.subs.push(s(e,"ping",l(this,"onping"))),this.subs.push(s(e,"pong",l(this,"onpong"))),this.subs.push(s(e,"error",l(this,"onerror"))),this.subs.push(s(e,"close",l(this,"onclose"))),this.subs.push(s(this.decoder,"decoded",l(this,"ondecoded")))},f.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},f.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},f.prototype.ondata=function(e){this.decoder.add(e)},f.prototype.ondecoded=function(e){this.emit("packet",e)},f.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},f.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.engine.id})),this.autoConnect&&i()}function i(){~u(r.connecting,n)||r.connecting.push(n)}return n},f.prototype.destroy=function(e){var t=u(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},f.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},f.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},f.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},f.prototype.close=f.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},f.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},f.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},"./node_modules/socket.io-client/lib/on.js":function(e,t){e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},"./node_modules/socket.io-client/lib/socket.js":function(e,t,n){var r=n("./node_modules/socket.io-parser/index.js"),o=n("./node_modules/component-emitter/index.js"),i=n("./node_modules/to-array/index.js"),a=n("./node_modules/socket.io-client/lib/on.js"),s=n("./node_modules/component-bind/index.js"),l=n("./node_modules/debug/src/browser.js")("socket.io-client:socket"),c=n("./node_modules/has-binary/index.js");e.exports=p;var u={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},d=o.prototype.emit;function p(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[a(e,"open",s(this,"onopen")),a(e,"packet",s(this,"onpacket")),a(e,"close",s(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},p.prototype.emit=function(e){if(u.hasOwnProperty(e))return d.apply(this,arguments),this;var t=i(arguments),n=r.EVENT;c(t)&&(n=r.BINARY_EVENT);var o={type:n,data:t,options:{}};return o.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(l("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),o.id=this.ids++),this.connected?this.packet(o):this.sendBuffer.push(o),delete this.flags,this},p.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},p.prototype.onopen=function(){l("transport is open - connecting"),"/"!==this.nsp&&(this.query?this.packet({type:r.CONNECT,query:this.query}):this.packet({type:r.CONNECT}))},p.prototype.onclose=function(e){l("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},p.prototype.onpacket=function(e){if(e.nsp===this.nsp)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},p.prototype.onevent=function(e){var t=e.data||[];l("emitting event %j",t),null!=e.id&&(l("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?d.apply(this,t):this.receiveBuffer.push(t)},p.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);l("sending ack %j",o);var a=c(o)?r.BINARY_ACK:r.ACK;t.packet({type:a,id:e,data:o})}}},p.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(l("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):l("bad ack %s",e.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)d.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){l("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(l("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(e){return this.flags=this.flags||{},this.flags.compress=e,this}},"./node_modules/socket.io-client/lib/url.js":function(e,t,n){(function(t){var r=n("./node_modules/parseuri/index.js"),o=n("./node_modules/debug/src/browser.js")("socket.io-client:url");e.exports=function(e,n){var i=e;n=n||t.location,null==e&&(e=n.protocol+"//"+n.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==n?n.protocol+"//"+e:"https://"+e),o("parse %s",e),i=r(e));i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443"));i.path=i.path||"/";var a=-1!==i.host.indexOf(":")?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+a+":"+i.port,i.href=i.protocol+"://"+a+(n&&n.port===i.port?"":":"+i.port),i}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/socket.io-parser/binary.js":function(e,t,n){(function(e){var r=n("./node_modules/isarray/index.js"),o=n("./node_modules/socket.io-parser/is-buffer.js");t.deconstructPacket=function(e){var t=[],n=e.data;var i=e;return i.data=function e(n){if(!n)return n;if(o(n)){var i={_placeholder:!0,num:t.length};return t.push(n),i}if(r(n)){for(var a=new Array(n.length),s=0;s<n.length;s++)a[s]=e(n[s]);return a}if("object"==typeof n&&!(n instanceof Date)){a={};for(var l in n)a[l]=e(n[l]);return a}return n}(n),i.attachments=t.length,{packet:i,buffers:t}},t.reconstructPacket=function(e,t){return e.data=function e(n){if(n&&n._placeholder)return t[n.num];if(r(n)){for(var o=0;o<n.length;o++)n[o]=e(n[o]);return n}if(n&&"object"==typeof n){for(var i in n)n[i]=e(n[i]);return n}return n}(e.data),e.attachments=void 0,e},t.removeBlobs=function(t,n){var i=0,a=t;!function t(s,l,c){if(!s)return s;if(e.Blob&&s instanceof Blob||e.File&&s instanceof File){i++;var u=new FileReader;u.onload=function(){c?c[l]=this.result:a=this.result,--i||n(a)},u.readAsArrayBuffer(s)}else if(r(s))for(var d=0;d<s.length;d++)t(s[d],d,s);else if(s&&"object"==typeof s&&!o(s))for(var p in s)t(s[p],p,s)}(a),i||n(a)}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/socket.io-parser/index.js":function(e,t,n){var r=n("./node_modules/debug/src/browser.js")("socket.io-parser"),o=n("./node_modules/json3/lib/json3.js"),i=n("./node_modules/component-emitter/index.js"),a=n("./node_modules/socket.io-parser/binary.js"),s=n("./node_modules/socket.io-parser/is-buffer.js");function l(){}function c(e){var n="",i=!1;return n+=e.type,t.BINARY_EVENT!=e.type&&t.BINARY_ACK!=e.type||(n+=e.attachments,n+="-"),e.nsp&&"/"!=e.nsp&&(i=!0,n+=e.nsp),null!=e.id&&(i&&(n+=",",i=!1),n+=e.id),null!=e.data&&(i&&(n+=","),n+=o.stringify(e.data)),r("encoded %j as %s",e,n),n}function u(){this.reconstructor=null}function d(e){this.reconPack=e,this.buffers=[]}function p(e){return{type:t.ERROR,data:"parser error"}}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=l,t.Decoder=u,l.prototype.encode=function(e,n){(r("encoding packet %j",e),t.BINARY_EVENT==e.type||t.BINARY_ACK==e.type)?function(e,t){a.removeBlobs(e,(function(e){var n=a.deconstructPacket(e),r=c(n.packet),o=n.buffers;o.unshift(r),t(o)}))}(e,n):n([c(e)])},i(u.prototype),u.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n={},i=0;if(n.type=Number(e.charAt(0)),null==t.types[n.type])return p();if(t.BINARY_EVENT==n.type||t.BINARY_ACK==n.type){for(var a="";"-"!=e.charAt(++i)&&(a+=e.charAt(i),i!=e.length););if(a!=Number(a)||"-"!=e.charAt(i))throw new Error("Illegal attachments");n.attachments=Number(a)}if("/"==e.charAt(i+1))for(n.nsp="";++i;){if(","==(l=e.charAt(i)))break;if(n.nsp+=l,i==e.length)break}else n.nsp="/";var s=e.charAt(i+1);if(""!==s&&Number(s)==s){for(n.id="";++i;){var l;if(null==(l=e.charAt(i))||Number(l)!=l){--i;break}if(n.id+=e.charAt(i),i==e.length)break}n.id=Number(n.id)}e.charAt(++i)&&(n=function(e,t){try{e.data=o.parse(t)}catch(e){return p()}return e}(n,e.substr(i)));return r("decoded %s as %j",e,n),n}(e),t.BINARY_EVENT==n.type||t.BINARY_ACK==n.type?(this.reconstructor=new d(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!s(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},u.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},d.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length==this.reconPack.attachments){var t=a.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},d.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},"./node_modules/socket.io-parser/is-buffer.js":function(e,t,n){(function(t){e.exports=function(e){return t.Buffer&&t.Buffer.isBuffer(e)||t.ArrayBuffer&&e instanceof ArrayBuffer}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/to-array/index.js":function(e,t){e.exports=function(e,t){for(var n=[],r=(t=t||0)||0;r<e.length;r++)n[r-t]=e[r];return n}},"./node_modules/tslib/tslib.es6.js":function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return l})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return u})),n.d(t,"__generator",(function(){return d})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return f})),n.d(t,"__read",(function(){return h})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return g})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return _})),n.d(t,"__makeTemplateObject",(function(){return w})),n.d(t,"__importStar",(function(){return C})),n.d(t,"__importDefault",(function(){return S}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function p(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function f(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof y?Promise.resolve(e.value.v).then(l,c):u(i[0][2],e)}(o[e](t))}catch(e){u(i[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}},"./node_modules/urlencode/lib/urlencode.js":function(e,t,n){"use strict";var r=n("./node_modules/iconv-lite/lib/index.js");function o(e){return!e||("utf8"===(e=e.toLowerCase())||"utf-8"===e)}function i(e,t){if(o(t))return encodeURIComponent(e);for(var n=r.encode(e,t),i="",a="",s=0;s<n.length;s++)1===(a=n[s].toString("16")).length&&(a="0"+a),i+="%"+a;return i=i.toUpperCase()}function a(e,t){if(o(t))return decodeURIComponent(e);for(var n=[],i=0;i<e.length;)"%"===e[i]?(i++,n.push(parseInt(e.substring(i,i+2),16)),i+=2):(n.push(e.charCodeAt(i)),i++);var a=new Buffer(n);return r.decode(a,t)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return e=String(e),e=/^[\x00-\x7F]*$/.test(e)?encodeURIComponent(e):i(e,t)}var c=function(e,t,n){"string"!=typeof t&&(n=t||{},t=null);var r=n.charset||"utf-8";return Array.isArray(e)?function(e,t,n){var r=[];if(!t)throw new TypeError("stringify expects an object");for(var o=0;o<e.length;o++)r.push(c(e[o],t+"["+o+"]",n));return r.join("&")}(e,t,n):"[object Object]"==={}.toString.call(e)?function(e,t,n){for(var r,o=[],a=Object.keys(e),s=n.charset,u=0,d=a.length;u<d;++u)""!==(r=a[u])&&(null===e[r]?o.push(i(r,s)+"="):o.push(c(e[r],t?t+"["+l(r,s)+"]":l(r,s),n)));return o.join("&")}(e,t,n):"string"==typeof e?function(e,t,n){if(!t)throw new TypeError("stringify expects an object");var r=n.charset;return t+"="+l(e,r)}(e,t,n):t+"="+l(String(e),r)};e.exports=i,e.exports.encode=i,e.exports.decode=a,e.exports.parse=function(e,t,n,r){"object"==typeof t&&(r=t,t=null),t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var i=/\+/g;e=e.split(t);var l=1e3,c=null;r&&("number"==typeof r.maxKeys&&(l=r.maxKeys),"string"==typeof r.charset&&(c=r.charset));var u=e.length;l>0&&u>l&&(u=l);for(var d=0;d<u;++d){var p,f,h,m,g=e[d].replace(i,"%20"),y=g.indexOf(n);if(y>=0?(p=g.substr(0,y),f=g.substr(y+1)):(p=g,f=""),p&&p.indexOf("%")>=0)try{h=a(p,c)}catch(e){h=p}else h=p;if(f&&f.indexOf("%")>=0)try{m=a(f,c)}catch(e){m=f}else m=f;s(o,h)?Array.isArray(o[h])?o[h].push(m):o[h]=[o[h],m]:o[h]=m}return o},e.exports.stringify=c},"./node_modules/viewerjs/dist/viewer.js":function(e,t,n){e.exports=function(){"use strict";function e(t){return(e="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})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,zoom:null,zoomed:null,play:null,stop:null},s="undefined"!=typeof window&&void 0!==window.document,l=s?window:{},c=!(!s||!l.document.documentElement)&&"ontouchstart"in l.document.documentElement,u=!!s&&"PointerEvent"in l,d="".concat("viewer","-active"),p="".concat("viewer","-close"),f="".concat("viewer","-fade"),h="".concat("viewer","-fixed"),m="".concat("viewer","-fullscreen"),g="".concat("viewer","-fullscreen-exit"),y="".concat("viewer","-hide"),v="".concat("viewer","-hide-md-down"),b="".concat("viewer","-hide-sm-down"),_="".concat("viewer","-hide-xs-down"),w="".concat("viewer","-in"),C="".concat("viewer","-invisible"),S="".concat("viewer","-loading"),E="".concat("viewer","-move"),x="".concat("viewer","-open"),k="".concat("viewer","-show"),O="".concat("viewer","-transition"),T=c?"touchstart":"mousedown",A=c?"touchmove":"mousemove",P=c?"touchend touchcancel":"mouseup",R=u?"pointerdown":T,I=u?"pointermove":A,M=u?"pointerup pointercancel":P,N="".concat("viewer","Action"),D=/\s\s*/,j=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical","print"];function L(e){return"string"==typeof e}var B=Number.isNaN||l.isNaN;function F(e){return"number"==typeof e&&!B(e)}function U(e){return void 0===e}function H(t){return"object"===e(t)&&null!==t}var V=Object.prototype.hasOwnProperty;function z(e){if(!H(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&V.call(n,"isPrototypeOf")}catch(e){return!1}}function q(e){return"function"==typeof e}function G(e,t){if(e&&q(t))if(Array.isArray(e)||F(e.length)){var n,r=e.length;for(n=0;n<r&&!1!==t.call(e,e[n],n,e);n+=1);}else H(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}));return e}var W=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return H(e)&&n.length>0&&n.forEach((function(t){H(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},Y=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Z(e,t){var n=e.style;G(t,(function(e,t){Y.test(t)&&F(e)&&(e+="px"),n[t]=e}))}function K(e){return L(e)?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):e}function $(e,t){return!(!e||!t)&&(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)}function Q(e,t){if(e&&t)if(F(e.length))G(e,(function(e){Q(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function X(e,t){e&&t&&(F(e.length)?G(e,(function(e){X(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function J(e,t,n){t&&(F(e.length)?G(e,(function(e){J(e,t,n)})):n?Q(e,t):X(e,t))}var ee=/([a-z\d])([A-Z])/g;function te(e){return e.replace(ee,"$1-$2").toLowerCase()}function ne(e,t){return H(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(te(t)))}function re(e,t,n){H(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(te(t)),n)}var oe=function(){var e=!1;if(s){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});l.addEventListener("test",n,r),l.removeEventListener("test",n,r)}return e}();function ie(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;t.trim().split(D).forEach((function(t){if(!oe){var i=e.listeners;i&&i[t]&&i[t][n]&&(o=i[t][n],delete i[t][n],0===Object.keys(i[t]).length&&delete i[t],0===Object.keys(i).length&&delete e.listeners)}e.removeEventListener(t,o,r)}))}function ae(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;t.trim().split(D).forEach((function(t){if(r.once&&!oe){var i=e.listeners,a=void 0===i?{}:i;o=function(){delete a[t][n],e.removeEventListener(t,o,r);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];n.apply(e,s)},a[t]||(a[t]={}),a[t][n]&&e.removeEventListener(t,a[t][n],r),a[t][n]=o,e.listeners=a}e.addEventListener(t,o,r)}))}function se(e,t,n,r){var o;return q(Event)&&q(CustomEvent)?o=new CustomEvent(t,i({bubbles:!0,cancelable:!0,detail:n},r)):(o=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n),e.dispatchEvent(o)}function le(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}function ce(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,o=e.translateX,i=e.translateY,a=[];F(o)&&0!==o&&a.push("translateX(".concat(o,"px)")),F(i)&&0!==i&&a.push("translateY(".concat(i,"px)")),F(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),F(n)&&1!==n&&a.push("scaleX(".concat(n,")")),F(r)&&1!==r&&a.push("scaleY(".concat(r,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}var ue=l.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(l.navigator.userAgent);function de(e,t,n){var r=document.createElement("img");if(e.naturalWidth&&!ue)return n(e.naturalWidth,e.naturalHeight),r;var o=document.body||document.documentElement;return r.onload=function(){n(r.width,r.height),ue||o.removeChild(r)},G(t.inheritedAttributes,(function(t){var n=e.getAttribute(t);null!==n&&r.setAttribute(t,n)})),r.src=e.src,ue||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r)),r}function pe(e){switch(e){case 2:return _;case 3:return b;case 4:return v;default:return""}}function fe(e,t){var n=e.pageX,r=e.pageY,o={endX:n,endY:r};return t?o:i({timeStamp:Date.now(),startX:n,startY:r},o)}function he(e){var t=0,n=0,r=0;return G(e,(function(e){var o=e.startX,i=e.startY;t+=o,n+=i,r+=1})),{pageX:t/=r,pageY:n/=r}}var me={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.element.ownerDocument,t=e.body||e.documentElement;this.body=t,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=t.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(t).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e,t=this.options,n=this.parent;t.inline&&(e={width:Math.max(n.offsetWidth,t.minWidth),height:Math.max(n.offsetHeight,t.minHeight)},this.parentData=e),!this.fulled&&e||(e=this.containerData),this.viewerData=W({},e)},renderViewer:function(){this.options.inline&&!this.fulled&&Z(this.viewer,this.viewerData)},initList:function(){var e=this,t=this.element,n=this.options,r=this.list,o=[];r.innerHTML="",G(this.images,(function(t,i){var a=t.src,s=t.alt||function(e){return L(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}(a),l=e.getImageURL(t);if(a||l){var c=document.createElement("li"),u=document.createElement("img");G(n.inheritedAttributes,(function(e){var n=t.getAttribute(e);null!==n&&u.setAttribute(e,n)})),u.src=a||l,u.alt=s,u.setAttribute("data-index",i),u.setAttribute("data-original-url",l||a),u.setAttribute("data-viewer-action","view"),u.setAttribute("role","button"),c.appendChild(u),r.appendChild(c),o.push(c)}})),this.items=o,G(o,(function(t){var r=t.firstElementChild;re(r,"filled",!0),n.loading&&Q(t,S),ae(r,"load",(function(r){n.loading&&X(t,S),e.loadImage(r)}),{once:!0})})),n.transition&&ae(t,"viewed",(function(){Q(r,O)}),{once:!0})},renderList:function(e){var t=e||this.index,n=this.items[t].offsetWidth||30,r=n+1;Z(this.list,W({width:r*this.length},ce({translateX:(this.viewerData.width-n)/2-r*t})))},resetList:function(){var e=this.list;e.innerHTML="",X(e,O),Z(e,ce({translateX:0}))},initImage:function(e){var t,n=this,r=this.options,o=this.image,i=this.viewerData,a=this.footer.offsetHeight,s=i.width,l=Math.max(i.height-a,a),c=this.imageData||{};this.imageInitializing={abort:function(){t.onload=null}},t=de(o,r,(function(t,o){var i=t/o,a=s,u=l;n.imageInitializing=!1,l*i>s?u=s/i:a=l*i;var d={naturalWidth:t,naturalHeight:o,aspectRatio:i,ratio:(a=Math.min(.9*a,t))/t,width:a,height:u=Math.min(.9*u,o),left:(s-a)/2,top:(l-u)/2},p=W({},d);r.rotatable&&(d.rotate=c.rotate||0,p.rotate=0),r.scalable&&(d.scaleX=c.scaleX||1,d.scaleY=c.scaleY||1,p.scaleX=1,p.scaleY=1),n.imageData=d,n.initialImageData=p,e&&e()}))},renderImage:function(e){var t=this,n=this.image,r=this.imageData;if(Z(n,W({width:r.width,height:r.height,marginLeft:r.left,marginTop:r.top},ce(r))),e)if((this.viewing||this.zooming)&&this.options.transition){var o=function(){t.imageRendering=!1,e()};this.imageRendering={abort:function(){ie(n,"transitionend",o)}},ae(n,"transitionend",o,{once:!0})}else e()},resetImage:function(){if(this.viewing||this.viewed){var e=this.image;this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null}}},ge={bind:function(){var e=this.options,t=this.viewer,n=this.canvas,r=this.element.ownerDocument;ae(t,"click",this.onClick=this.click.bind(this)),ae(t,"dragstart",this.onDragStart=this.dragstart.bind(this)),ae(n,R,this.onPointerDown=this.pointerdown.bind(this)),ae(r,I,this.onPointerMove=this.pointermove.bind(this)),ae(r,M,this.onPointerUp=this.pointerup.bind(this)),ae(r,"keydown",this.onKeyDown=this.keydown.bind(this)),ae(r,"mousedown",this.onMousedown=this.mousedown.bind(this)),ae(window,"resize",this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&ae(t,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&ae(n,"dblclick",this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,t=this.viewer,n=this.canvas,r=this.element.ownerDocument;ie(t,"click",this.onClick),ie(t,"dragstart",this.onDragStart),ie(n,R,this.onPointerDown),ie(r,I,this.onPointerMove),ie(r,M,this.onPointerUp),ie(r,"keydown",this.onKeyDown),ie(r,"mousedown",this.onMousedown),ie(window,"resize",this.onResize),e.zoomable&&e.zoomOnWheel&&ie(t,"wheel",this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&ie(n,"dblclick",this.onDblclick)}},ye={click:function(e){var t=e.target,n=this.options,r=this.imageData,o=ne(t,N);switch(c&&e.isTrusted&&t===this.canvas&&clearTimeout(this.clickCanvasTimeout),o){case"mix":this.played?this.stop():n.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.hide();break;case"view":this.view(ne(t,"index"));break;case"zoom-in":this.zoom(.1,!0),this.zoomTimeout&&clearInterval(this.zoomTimeout),this.zoomInterval&&clearInterval(this.zoomInterval);break;case"zoom-out":this.zoom(-.1,!0),this.zoomTimeout&&clearInterval(this.zoomTimeout),this.zoomInterval&&clearInterval(this.zoomInterval);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(n.loop);break;case"play":this.play(n.fullscreen);break;case"next":this.next(n.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-r.scaleX||-1);break;case"flip-vertical":this.scaleY(-r.scaleY||-1);break;case"print":this.print();break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(c&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle())},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var t=this.element,n=this.options,r=this.image,o=this.index,i=this.viewerData;X(r,C),n.loading&&X(this.canvas,S),r.style.cssText="height:0;"+"margin-left:".concat(i.width/2,"px;")+"margin-top:".concat(i.height/2,"px;")+"max-width:none!important;position:absolute;width:0;",this.initImage((function(){J(r,E,n.movable),J(r,O,n.transition),e.renderImage((function(){e.viewed=!0,e.viewing=!1,q(n.viewed)&&ae(t,"viewed",n.viewed,{once:!0}),se(t,"viewed",{originalImage:e.images[o],index:o,image:r},{cancelable:!1})}))}))},loadImage:function(e){var t=e.target,n=t.parentNode,r=n.offsetWidth||30,o=n.offsetHeight||50,i=!!ne(t,"filled");de(t,this.options,(function(e,n){var a=e/n,s=r,l=o;o*a>r?i?s=o*a:l=r/a:i?l=r/a:s=o*a,Z(t,W({width:s,height:l},ce({translateX:(r-s)/2,translateY:(o-l)/2})))}))},keydown:function(e){var t=this.options;if(this.fulled&&t.keyboard)switch(e.keyCode||e.which||e.charCode){case 27:this.played?this.stop():t.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.prev(t.loop);break;case 38:e.preventDefault(),this.zoom(t.zoomRatio,!0);break;case 39:this.next(t.loop);break;case 40:e.preventDefault(),this.zoom(-t.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle())}},dragstart:function(e){"img"===e.target.tagName.toLowerCase()&&e.preventDefault()},pointerdown:function(e){var t=this.options,n=this.pointers,r=e.buttons,o=e.button;if(!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(F(r)&&1!==r||F(o)&&0!==o||e.ctrlKey))){e.preventDefault(),e.changedTouches?G(e.changedTouches,(function(e){n[e.identifier]=fe(e)})):n[e.pointerId||0]=fe(e);var i=!!t.movable&&"move";t.zoomOnTouch&&t.zoomable&&Object.keys(n).length>1?i="zoom":t.slideOnTouch&&("touch"===e.pointerType||"touchstart"===e.type)&&this.isSwitchable()&&(i="switch"),!t.transition||"move"!==i&&"zoom"!==i||X(this.image,O),this.action=i}},pointermove:function(e){var t=this.pointers,n=this.action;this.viewed&&n&&(e.preventDefault(),e.changedTouches?G(e.changedTouches,(function(e){W(t[e.identifier]||{},fe(e,!0))})):W(t[e.pointerId||0]||{},fe(e,!0)),this.change(e))},pointerup:function(e){var t,n=this,r=this.options,o=this.action,i=this.pointers;e.changedTouches?G(e.changedTouches,(function(e){t=i[e.identifier],delete i[e.identifier]})):(t=i[e.pointerId||0],delete i[e.pointerId||0]),o&&(e.preventDefault(),!r.transition||"move"!==o&&"zoom"!==o||Q(this.image,O),this.action=!1,c&&"zoom"!==o&&t&&Date.now()-t.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){se(n.image,"dblclick")}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){n.imageClicked=!1}),500)):(this.imageClicked=!1,r.backdrop&&"static"!==r.backdrop&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){se(n.canvas,"click")}),50)))))},resize:function(){var e=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();G(this.player.getElementsByTagName("img"),(function(t){ae(t,"load",e.loadImage.bind(e),{once:!0}),se(t,"load")}))}},wheel:function(e){var t=this;if(this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50);var n=Number(this.options.zoomRatio)||.1,r=1;e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,!0,e)}},mousedown:function(e){var t=this,n=ne(e.target,N);"zoom-in"!==n&&"zoom-out"!==n||(this.zoomTimeout=setTimeout((function(){switch(n){case"zoom-in":t.zoomInterval=setInterval((function(){t.zoom(.1,!0)}),100);break;case"zoom-out":t.zoomInterval=setInterval((function(){t.zoom(-.1,!0)}),100)}}),100))}},ve={show:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(q(n.show)&&ae(t,"show",n.show,{once:!0}),!1===se(t,"show")||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(X(r,y),n.transition&&!e){var o=this.shown.bind(this);this.transitioning={abort:function(){ie(r,"transitionend",o),X(r,w)}},Q(r,O),r.initialOffsetWidth=r.offsetWidth,ae(r,"transitionend",o,{once:!0}),Q(r,w)}else Q(r,w),this.shown();return this},hide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,r=this.options;if(r.inline||this.hiding||!this.isShown&&!this.showing)return this;if(q(r.hide)&&ae(n,"hide",r.hide,{once:!0}),!1===se(n,"hide"))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var o=this.viewer,i=this.image,a=function(){X(o,w),e.hidden()};if(r.transition&&!t){var s=function t(n){n&&n.target===o&&(ie(o,"transitionend",t),e.hidden())},l=function(){$(o,O)?(ae(o,"transitionend",s),X(o,w)):a()};this.transitioning={abort:function(){e.viewed&&$(i,O)?ie(i,"transitionend",l):$(o,O)&&ie(o,"transitionend",s)}},this.viewed&&$(i,O)?(ae(i,"transitionend",l,{once:!0}),this.zoomTo(0,!1,!1,!0)):l()}else a();return this},view:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(t=Number(t)||0,this.hiding||this.played||t<0||t>=this.length||this.viewed&&t===this.index)return this;if(!this.isShown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var n=this.element,r=this.options,o=this.title,i=this.canvas,a=this.items[t],s=a.querySelector("img"),l=ne(s,"originalUrl"),c=s.getAttribute("alt"),u=document.createElement("img");if(G(r.inheritedAttributes,(function(e){var t=s.getAttribute(e);null!==t&&u.setAttribute(e,t)})),u.src=l,u.alt=c,q(r.view)&&ae(n,"view",r.view,{once:!0}),!1===se(n,"view",{originalImage:this.images[t],index:t,image:u})||!this.isShown||this.hiding||this.played)return this;this.image=u,X(this.items[this.index],d),Q(a,d),this.viewed=!1,this.index=t,this.imageData={},Q(u,C),r.loading&&Q(i,S),i.innerHTML="",i.appendChild(u),this.renderList(),o.innerHTML="";var p,f=function(){var t=e.imageData,n=Array.isArray(r.title)?r.title[1]:r.title;o.innerHTML=K(q(n)?n.call(e,u,t):"".concat(c," (").concat(t.naturalWidth," × ").concat(t.naturalHeight,")"))};return ae(n,"viewed",f,{once:!0}),this.viewing={abort:function(){ie(n,"viewed",f),u.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(u.src="",ie(u,"load",p),e.timeout&&clearTimeout(e.timeout))}},u.complete?this.load():(ae(u,"load",p=this.load.bind(this),{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){X(u,C),e.timeout=!1}),1e3)),this},prev:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.index-1;return t<0&&(t=e?this.length-1:0),this.view(t),this},next:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.length-1,n=this.index+1;return n>t&&(n=e?0:t),this.view(n),this},move:function(e,t){var n=this.imageData;return this.moveTo(U(e)?e:n.left+Number(e),U(t)?t:n.top+Number(t)),this},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData;if(e=Number(e),t=Number(t),this.viewed&&!this.played&&this.options.movable){var r=!1;F(e)&&(n.left=e,r=!0),F(t)&&(n.top=t,r=!0),r&&this.renderImage()}return this},zoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.imageData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(r.width*e/r.naturalWidth,t,n),this},zoomTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.element,a=this.options,s=this.pointers,l=this.imageData,c=l.width,u=l.height,d=l.left,p=l.top,f=l.naturalWidth,h=l.naturalHeight;if(F(e=Math.max(0,e))&&this.viewed&&!this.played&&(o||a.zoomable)){if(!o){var m=Math.max(.01,a.minZoomRatio),g=Math.min(100,a.maxZoomRatio);e=Math.min(Math.max(e,m),g)}r&&a.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);var y=f*e,v=h*e,b=y-c,_=v-u,w=c/f;if(q(a.zoom)&&ae(i,"zoom",a.zoom,{once:!0}),!1===se(i,"zoom",{ratio:e,oldRatio:w,originalEvent:r}))return this;if(this.zooming=!0,r){var C=le(this.viewer),S=s&&Object.keys(s).length?he(s):{pageX:r.pageX,pageY:r.pageY};l.left-=b*((S.pageX-C.left-d)/c),l.top-=_*((S.pageY-C.top-p)/u)}else l.left-=b/2,l.top-=_/2;l.width=y,l.height=v,l.ratio=e,this.renderImage((function(){t.zooming=!1,q(a.zoomed)&&ae(i,"zoomed",a.zoomed,{once:!0}),se(i,"zoomed",{ratio:e,oldRatio:w,originalEvent:r},{cancelable:!1})})),n&&this.tooltip()}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var t=this.imageData;return F(e=Number(e))&&this.viewed&&!this.played&&this.options.rotatable&&(t.rotate=e,this.renderImage()),this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData;if(e=Number(e),t=Number(t),this.viewed&&!this.played&&this.options.scalable){var r=!1;F(e)&&(n.scaleX=e,r=!0),F(t)&&(n.scaleY=t,r=!0),r&&this.renderImage()}return this},play:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,r=this.options;if(q(r.play)&&ae(n,"play",r.play,{once:!0}),!1===se(n,"play"))return this;var o=this.player,i=this.loadImage.bind(this),a=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=i,t&&this.requestFullscreen(),Q(o,k),G(this.items,(function(e,t){var n=e.querySelector("img"),c=document.createElement("img");c.src=ne(n,"originalUrl"),c.alt=n.getAttribute("alt"),c.referrerPolicy=n.referrerPolicy,s+=1,Q(c,f),J(c,O,r.transition),$(e,d)&&(Q(c,w),l=t),a.push(c),ae(c,"load",i,{once:!0}),o.appendChild(c)})),F(r.interval)&&r.interval>0){var c=function t(){e.playing=setTimeout((function(){X(a[l],w),Q(a[l=(l+=1)<s?l:0],w),t()}),r.interval)};s>1&&c()}return this},stop:function(){var e=this;if(!this.played)return this;var t=this.element,n=this.options;if(q(n.stop)&&ae(t,"stop",n.stop,{once:!0}),!1===se(t,"stop"))return this;var r=this.player;return this.played=!1,clearTimeout(this.playing),G(r.getElementsByTagName("img"),(function(t){ie(t,"load",e.onLoadWhenPlay)})),X(r,k),r.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,t=this.options,n=this.viewer,r=this.image,o=this.list;return!this.isShown||this.played||this.fulled||!t.inline||(this.fulled=!0,this.open(),Q(this.button,g),t.transition&&(X(o,O),this.viewed&&X(r,O)),Q(n,h),n.setAttribute("style",""),Z(n,{zIndex:t.zIndex}),this.initContainer(),this.viewerData=W({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){Q(r,O),Q(o,O)}),0)}))}))),this},exit:function(){var e=this,t=this.options,n=this.viewer,r=this.image,o=this.list;return this.isShown&&!this.played&&this.fulled&&t.inline?(this.fulled=!1,this.close(),X(this.button,g),t.transition&&(X(o,O),this.viewed&&X(r,O)),X(n,h),Z(n,{zIndex:t.zIndexInline}),this.viewerData=W({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){e.renderImage((function(){t.transition&&setTimeout((function(){Q(r,O),Q(o,O)}),0)}))})),this):this},tooltip:function(){var e=this,t=this.options,n=this.tooltipBox,r=this.imageData;return this.viewed&&!this.played&&t.tooltip?(n.textContent="".concat(Math.round(100*r.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):t.transition?(this.fading&&se(n,"transitionend"),Q(n,k),Q(n,f),Q(n,O),n.initialOffsetWidth=n.offsetWidth,Q(n,w)):Q(n,k),this.tooltipping=setTimeout((function(){t.transition?(ae(n,"transitionend",(function(){X(n,k),X(n,f),X(n,O),e.fading=!1}),{once:!0}),X(n,w),e.fading=!0):X(n,k),e.tooltipping=!1}),1e3),this):this},toggle:function(){return 1===this.imageData.ratio?this.zoomTo(this.initialImageData.ratio,!0):this.zoomTo(1,!0),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=W({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,t=this.element,n=this.options,r=this.isImg;if(r&&!t.parentNode)return this.destroy();var o=[];if(G(r?[t]:t.querySelectorAll("img"),(function(t){q(n.filter)?n.filter.call(e,t)&&o.push(t):e.getImageURL(t)&&o.push(t)})),!o.length)return this;if(this.images=o,this.length=o.length,this.ready){var i=[];if(G(this.items,(function(e,t){var n=e.querySelector("img"),r=o[t];r&&n&&r.src===n.src&&r.alt===n.alt||i.push(t)})),Z(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=i.indexOf(this.index);a>=0?(this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0))):Q(this.items[this.index],d)}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,t=this.options;return e.viewer?(this.destroyed=!0,this.ready?(this.played&&this.stop(),t.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):t.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),t.inline||ie(e,"click",this.onStart),e.viewer=void 0,this):this},print:function(){var e=window.open("","Print","height=400,width=600");e.document.open(),e.document.write("<html><head><title>Print</title>"),e.document.write("</head><body>"),e.document.write('<img src="'.concat(this.image.src,'" />')),e.document.write("</body></html>"),e.document.close(),setTimeout((function(){e.focus(),e.print(),e.close()}))}},be={getImageURL:function(e){var t=this.options.url;return t=L(t)?e.getAttribute(t):q(t)?t.call(this,e):""},open:function(){var e=this.body;Q(e,x),e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px")},close:function(){var e=this.body;X(e,x),e.style.paddingRight=this.initialBodyPaddingRight},shown:function(){var e=this.element,t=this.options;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,q(t.shown)&&ae(e,"shown",t.shown,{once:!0}),!1!==se(e,"shown")&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,t=this.options;this.fulled=!1,this.viewed=!1,this.isShown=!1,this.close(),this.unbind(),Q(this.viewer,y),this.resetList(),this.resetImage(),this.hiding=!1,this.destroyed||(q(t.hidden)&&ae(e,"hidden",t.hidden,{once:!0}),se(e,"hidden",null,{cancelable:!1}))},requestFullscreen:function(){var e=this.element.ownerDocument;if(this.fulled&&!(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)){var t=e.documentElement;t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var t=this.options,n=this.pointers,r=n[Object.keys(n)[0]],o=r.endX-r.startX,a=r.endY-r.startY;switch(this.action){case"move":this.move(o,a);break;case"zoom":this.zoom(function(e){var t=i({},e),n=[];return G(e,(function(e,r){delete t[r],G(t,(function(t){var r=Math.abs(e.startX-t.startX),o=Math.abs(e.startY-t.startY),i=Math.abs(e.endX-t.endX),a=Math.abs(e.endY-t.endY),s=Math.sqrt(r*r+o*o),l=(Math.sqrt(i*i+a*a)-s)/s;n.push(l)}))})),n.sort((function(e,t){return Math.abs(e)<Math.abs(t)})),n[0]}(n),!1,e);break;case"switch":this.action="switched";var s=Math.abs(o);s>1&&s>Math.abs(a)&&(this.pointers={},o>1?this.prev(t.loop):o<-1&&this.next(t.loop))}G(n,(function(e){e.startX=e.endX,e.startY=e.endY}))},isSwitchable:function(){var e=this.imageData,t=this.viewerData;return this.length>1&&e.left>=0&&e.top>=0&&e.width<=t.width&&e.height<=t.height}},_e=l.Viewer,we=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t(this,e),!n||1!==n.nodeType)throw new Error("The first argument is required and must be an element.");this.element=n,this.options=W({},a,z(r)&&r),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.init()}var r,o,i;return r=e,i=[{key:"noConflict",value:function(){return window.Viewer=_e,e}},{key:"setDefaults",value:function(e){W(a,z(e)&&e)}}],(o=[{key:"init",value:function(){var e=this,t=this.element,n=this.options;if(!t.viewer){t.viewer=this;var r="img"===t.tagName.toLowerCase(),o=[];if(G(r?[t]:t.querySelectorAll("img"),(function(t){q(n.filter)?n.filter.call(e,t)&&o.push(t):e.getImageURL(t)&&o.push(t)})),this.isImg=r,this.length=o.length,this.images=o,this.initBody(),U(document.createElement("viewer").style.transition)&&(n.transition=!1),n.inline){var i=0,a=function(){var t;(i+=1)===e.length&&(e.initializing=!1,e.delaying={abort:function(){clearTimeout(t)}},t=setTimeout((function(){e.delaying=!1,e.build()}),0))};this.initializing={abort:function(){G(o,(function(e){e.complete||ie(e,"load",a)}))}},G(o,(function(e){e.complete?a():ae(e,"load",a,{once:!0})}))}else ae(t,"click",this.onStart=function(t){var r=t.target;"img"!==r.tagName.toLowerCase()||q(n.filter)&&!n.filter.call(e,r)||e.view(e.images.indexOf(r))})}}},{key:"build",value:function(){if(!this.ready){var e=this.element,t=this.options,n=e.parentNode,r=document.createElement("div");r.innerHTML='<div class="viewer-container" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list"></ul></div></div><div class="viewer-tooltip"></div><div role="button" class="viewer-button" data-viewer-action="mix"></div><div class="viewer-player"></div></div>';var o=r.querySelector(".".concat("viewer","-container")),i=o.querySelector(".".concat("viewer","-title")),a=o.querySelector(".".concat("viewer","-toolbar")),s=o.querySelector(".".concat("viewer","-navbar")),l=o.querySelector(".".concat("viewer","-button")),c=o.querySelector(".".concat("viewer","-canvas"));if(this.parent=n,this.viewer=o,this.title=i,this.toolbar=a,this.navbar=s,this.button=l,this.canvas=c,this.footer=o.querySelector(".".concat("viewer","-footer")),this.tooltipBox=o.querySelector(".".concat("viewer","-tooltip")),this.player=o.querySelector(".".concat("viewer","-player")),this.list=o.querySelector(".".concat("viewer","-list")),Q(i,t.title?pe(Array.isArray(t.title)?t.title[0]:t.title):y),Q(s,t.navbar?pe(t.navbar):y),J(l,y,!t.button),t.backdrop&&(Q(o,"".concat("viewer","-backdrop")),t.inline||"static"===t.backdrop||re(c,N,"hide")),L(t.className)&&t.className&&t.className.split(D).forEach((function(e){Q(o,e)})),t.toolbar){var u=document.createElement("ul"),d=z(t.toolbar),g=j.slice(0,3),v=j.slice(7,9),b=j.slice(9,10);d||Q(a,pe(t.toolbar)),G(d?t.toolbar:j,(function(e,n){var r=d&&z(e),o=d?te(n):e,i=r&&!U(e.show)?e.show:e;if(i&&(t.zoomable||-1===g.indexOf(o))&&(t.rotatable||-1===v.indexOf(o))&&(t.scalable||-1===b.indexOf(o))){var a=r&&!U(e.size)?e.size:e,s=r&&!U(e.click)?e.click:e,l=r&&!U(e.tooltip)?e.tooltip:o,c=document.createElement("li");c.setAttribute("role","button"),c.setAttribute("title",l),Q(c,"".concat("viewer","-").concat(o)),q(s)||re(c,N,o),F(i)&&Q(c,pe(i)),-1!==["small","large"].indexOf(a)?Q(c,"".concat("viewer","-").concat(a)):"play"===o&&Q(c,"".concat("viewer","-large")),q(s)&&ae(c,"click",s),u.appendChild(c)}})),a.appendChild(u)}else Q(a,y);if(!t.rotatable){var _=a.querySelectorAll('li[class*="rotate"]');Q(_,C),G(_,(function(e){a.appendChild(e)}))}if(t.inline)Q(l,m),Z(o,{zIndex:t.zIndexInline}),"static"===window.getComputedStyle(n).position&&Z(n,{position:"relative"}),n.insertBefore(o,e.nextSibling);else{Q(l,p),Q(o,h),Q(o,f),Q(o,y),Z(o,{zIndex:t.zIndex});var w=t.container;L(w)&&(w=e.ownerDocument.querySelector(w)),w||(w=this.body),w.appendChild(o)}t.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,q(t.ready)&&ae(e,"ready",t.ready,{once:!0}),!1!==se(e,"ready")?this.ready&&t.inline&&this.view(this.index):this.ready=!1}}}])&&n(r.prototype,o),i&&n(r,i),e}();return W(we.prototype,me,ge,ye,ve,be),we}()},"./node_modules/webpack/buildin/amd-options.js":function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./node_modules/webpack/buildin/module.js":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./node_modules/wtf-8/wtf-8.js":function(e,t,n){(function(e,r){var o;!function(i){var a=t,s=(e&&e.exports,"object"==typeof r&&r);s.global!==s&&s.window;var l,c,u,d=String.fromCharCode;function p(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function f(e,t){return d(e>>t&63|128)}function h(e){if(0==(4294967168&e))return d(e);var t="";return 0==(4294965248&e)?t=d(e>>6&31|192):0==(4294901760&e)?(t=d(e>>12&15|224),t+=f(e,6)):0==(4292870144&e)&&(t=d(e>>18&7|240),t+=f(e,12),t+=f(e,6)),t+=d(63&e|128)}function m(){if(u>=c)throw Error("Invalid byte index");var e=255&l[u];if(u++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function g(){var e,t;if(u>c)throw Error("Invalid byte index");if(u==c)return!1;if(e=255&l[u],u++,0==(128&e))return e;if(192==(224&e)){if((t=(31&e)<<6|m())>=128)return t;throw Error("Invalid continuation byte")}if(224==(240&e)){if((t=(15&e)<<12|m()<<6|m())>=2048)return t;throw Error("Invalid continuation byte")}if(240==(248&e)&&(t=(15&e)<<18|m()<<12|m()<<6|m())>=65536&&t<=1114111)return t;throw Error("Invalid WTF-8 detected")}var y={version:"1.0.0",encode:function(e){for(var t=p(e),n=t.length,r=-1,o="";++r<n;)o+=h(t[r]);return o},decode:function(e){l=p(e),c=l.length,u=0;for(var t,n=[];!1!==(t=g());)n.push(t);return function(e){for(var t,n=e.length,r=-1,o="";++r<n;)(t=e[r])>65535&&(o+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),o+=d(t);return o}(n)}};void 0===(o=function(){return y}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n("./node_modules/webpack/buildin/module.js")(e),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/yeast/index.js":function(e,t,n){"use strict";var r,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),i={},a=0,s=0;function l(e){var t="";do{t=o[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function c(){var e=l(+new Date);return e!==r?(a=0,r=e):e+"."+l(a++)}for(;s<64;s++)i[o[s]]=s;c.encode=l,c.decode=function(e){var t=0;for(s=0;s<e.length;s++)t=64*t+i[e.charAt(s)];return t},e.exports=c},"./package.json":function(e){e.exports=JSON.parse('{"name":"nimbus-note-share","version":"9.26.12","description":"Nimbus Note Shate","repository":{"type":"git","url":"https://github.com/angular/universal-starter.git"},"scripts":{"dev":"npm run build:universal:aot && npm run server","rimraf":"rimraf","webdev":"webpack-dev-server","webdev:hmr":"npm run webdev -- --inline --hot","clean:dist":"npm run rimraf -- dist .awcache","clean:dll":"npm run rimraf -- dll","lint":"tslint -e src/va2  -p .","prebuild":"rimraf dist","build":"npm-run-all -s build-frontend build-backend","build-frontend":"webpack --config webpack.frontend.ts --progress","build-backend":"webpack --config webpack.backend.ts --progress","build:aot":"npm run build:aot:prod","build:aot:prod":"npm run clean:dist && webpack","build:aot:prod:local":"npm run clean:dist && webpack","build:aot:prod:e2e":"npm run clean:dist && webpack","build:aot:dev":"npm run clean:dist && webpack","build:dev":"npm run clean:dist && webpack","build:dll":"npm run clean:dll && webpack","build:prod":"npm run clean:dist && webpack","build:server":"npm run build:server:prod","build:server:aot":"npm run build:server:aot:prod","build:server:aot:dev":"webpack","build:server:aot:prod":"webpack","build:server:dev":"npm run clean:dist && webpack","build:server:prod":"npm run clean:dist && webpack","build:universal":"npm run build:universal:prod","build:universal:aot":"npm-run-all -p build:aot build:server:aot","build:universal:aot:local":"npm-run-all -p build:aot:prod:local build:server:aot","build:universal:aot:dev":"npm-run-all -p build:aot:dev build:server:aot:dev","build:universal:dev":"npm run clean:dist && webpack","build:universal:prod":"npm run clean:dist && webpack","prestart":"npm run build","server":"DUMP_SERVER_URL=https://dev-nimbustest.com GATEWAY_URL=https://dev-nimbustest.com/gwapi2/ nodemon dist/server.js","server:dev":"npm-run-all -p -r webdev","start":"npm run server:dev","universal":"npm run build:universal && npm run server:universal","universal:aot":"npm run build:universal:aot && npm run server:universal","universal:watch":"npm run build:universal && npm-run-all -p -r watch:universal server:universal","watch":"cls & npm-run-all -p build:aot:watch build:server:aot:watch server","build:aot:watch":"npm run clean:dist && webpack --watch","build:server:aot:watch":"webpack"},"license":"MIT","contributors":["Rusinov Maxim <rusmaxim@gmail.com>"],"dependencies":{"@angular/animations":"6.1.7","@angular/cdk":"6","@angular/cli":"6.2.2","@angular/common":"6.1.7","@angular/compiler":"6.1.7","@angular/compiler-cli":"6.1.7","@angular/core":"6.1.7","@angular/forms":"6.1.7","@angular/http":"6.1.7","@angular/material":"6","@angular/platform-browser":"6.1.7","@angular/platform-browser-dynamic":"6.1.7","@angular/platform-server":"6.1.7","@angular/router":"6.1.7","@angular/upgrade":"6.1.7","@codebakery/origami":"3.0.2","@ngrx/effects":"6.1.0","@ngrx/store":"6.1.0","@ngrx/store-devtools":"6.1.0","@nguniversal/express-engine":"6.1.0","@ngxd/core":"^8.0.0","@polymer/polymer":"3.0.5","@types/resize-observer-browser":"^0.1.6","@webcomponents/webcomponentsjs":"2.1.3","@webnotes/metrics":"2.1.0","@webnotes/web-editor-build":"^1.3.266-old-webnotes.0","axios":"0.16.2","babel-polyfill":"6.26.0","body-parser":"1.18.3","compression":"1.7.3","cookie":"0.4.1","cookie-parser":"1.4.3","core-js":"2.5.7","crc":"^3.8.0","eh-api-client":"^0.40.4","es6-promise":"4.2.5","es6-shim":"0.35.3","escape-html":"^1.0.3","express":"4.17.1","express-useragent":"1.0.12","hammerjs":"2.0.8","imports-loader":"^1.1.0","ip":"1.1.5","js.clone":"0.0.3","just.randomstring":"0.1.1","masonry-layout":"~4.1.1","methods":"~1.1.2","nimbus-auth":"git+https://gl.nimbusweb.co/web/auth.git#21edbbe00d9b67ac96314084b50ec9929de5ebfd","nimbus-session":"git+https://gl.nimbusweb.co/lib/nimbus-session.git#11898b552e016767515f3b5f0fcf391556d897e8","normalize.css":"^4.1.1","normalizr":"3.2.4","on-headers":"1.0.1","rxjs":"6.3.2","rxjs-compat":"6.3.2","sanitize-html":"1.20.1","serve-favicon":"2.5.0","socket.io":"~1.7.1","terser-webpack-plugin":"^3.0.5","unescape-html":"^1.1.0","urlencode":"1.1.0","videogular2":"5.2.9","viewerjs":"git+https://gl.nimbusweb.co/webnotes/web-image-viewer.git#master","web-animations-js":"2.3.1","zone.js":"^0.8.26"},"resolutions":{"nimbus-auth/nimbus-session":"git+https://gl.nimbusweb.co/lib/nimbus-session.git#69a98d9f8a855e8289493e42af9fb684f20e584b"},"devDependencies":{"@babel/core":"7.1","@ngtools/webpack":"6.2.2","@types/body-parser":"1.17.0","@types/compression":"0.0.36","@types/cookie-parser":"1.4.1","@types/core-js":"2.5.0","@types/crc":"^3.4.0","@types/express":"4.16.0","@types/express-serve-static-core":"4.16.0","@types/hammerjs":"2.0.36","@types/mime":"2.0.0","@types/node":"10.11.0","@types/sanitize-html":"1.20.1","@types/serve-static":"1.13.2","@types/socket.io":"1.4.38","@types/socket.io-client":"1.4.32","@types/webpack":"4.4.12","angular2-template-loader":"0.6.2","autoprefixer":"9.1.5","awesome-typescript-loader":"5.2.1","babel-loader":"^8.0.2","compression-webpack-plugin":"2.0.0","copy-webpack-plugin":"4.5.2","css-loader":"1.0.0","extract-text-webpack-plugin":"4.0.0-beta.0","file-loader":"2.0.0","html-webpack-plugin":"3.2.0","nodemon":"1.18.4","npm-run-all":"4.1.3","postcss-loader":"3.0.0","pre-commit":"1.2.2","rimraf":"2.6.2","script-ext-html-webpack-plugin":"2.0.1","source-map-loader":"0.2.4","ts-node":"^7.0.1","tslib":"^1.9.3","typescript":"2.9","webpack":"^4.19.1","webpack-bundle-analyzer":"3.0.2","webpack-cli":"^4.5.0","webpack-dev-server":"^3.1.9","webpack-merge":"^4.1.4","webpack-node-externals":"^2.5.2","webpack-spritesmith":"^0.3.3"}}')},"./src/$$_lazy_route_resource lazy recursive":function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="./src/$$_lazy_route_resource lazy recursive"},"./src/angular2-meta.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"Meta",(function(){return i}));var r=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),o=(n("./src/app/universal-config.ts"),n("./src/model/organization.model.ts")),i=function(){function e(e,t,o){this._document=e,this._config=o,this.NIMBUS_NOTE_TITLE="FuseBase",this.NIMBUS_NOTE_SLOGAN="FuseBase. One place to collect information and collaborate on your work.",this.NIMBUS_NOTE_FAVICON=n("./src/preview-icons/favicon-notes-app.png"),this.NIMBUS_NOTE_PREVIEW=n("./src/preview-icons/preview-placeholder-fusebase.png"),this.NIMBUS_CAPTURE_TITLE="FuseBase Capture",this.NIMBUS_CAPTURE_SLOGAN="FuseBase Screenshot. Communicate & provide feedback faster!",this.NIMBUS_CAPTURE_FAVICON=n("./src/preview-icons/favicon-capture-app.png"),this.NIMBUS_CAPTURE_PREVIEW=n("./src/preview-icons/preview-placeholder-capture.png"),this.CAPTURE_ROLES=["screenshot","screencast","video","streaming_video"],this.meta=new r.Meta(e),this.title=new r.Title(e),this.isBrowser=t}return e.prototype.setMetaForNode=function(e,t,n,r){this.setFavicon(e,t),this.setMetaUrl(this.getMetaUrlForShare(e)),this.setMetaTitle(this.getTitleForNode(e,t)),this.setMetaDescription(this.getDescriptionForNode(e,t,n)),this.setMetaPreview(e,t,r),this.setMetaEmbedType(t)},e.prototype.setMetaForAttachment=function(e,t,n){this.setFavicon(e,t),this.setMetaUrl(this.getMetaUrlForShare(e)),this.setMetaTitle(this.getTitleForAttachment(e,n)),this.setMetaDescription(this.getDescriptionForAttachment(e)),this.setMetaPreview(e,t,n)},e.prototype.setMetaForError=function(e){if(Object(o.isB2BOrgPredicate)()(e)?this.setMetaTitle(e.title):this.setMetaTitle("FuseBase"),e.smallLogoStoredFileUUID){var t={instance:{org:e,brandingProfile:{sharesFaviconStoredFileUUID:e.smallLogoStoredFileUUID}}};this.setFavicon(t,!1)}else this.updateFavicon(null)},e.prototype.addTags=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!this.isBrowser){var n=this._flattenArray(e);0!==n.length&&this.meta.addTags(n)}},e.prototype._flattenArray=function(e,t){if(void 0===t&&(t=[]),e)for(var n=0,r=e;n<r.length;n++){var o=r[n];Array.isArray(o)?this._flattenArray(o,t):o&&t.push(o)}return t},e.prototype.decodeEntities=function(e){var t={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">"};return e.replace(/&(nbsp|amp|quot|lt|gt);/g,(function(e,n){return t[n]})).replace(/&#(\d+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)}))},e.prototype.setFavicon=function(e,t){var n,r=e.instance.brandingProfile,o=!!t&&this.CAPTURE_ROLES.includes(t.role),i=this.getAbsoluteBoxPath(e),a=this.getAbsoluteDistPath(e);n=r&&r.sharesFaviconStoredFileUUID?i+"/file/"+r.sharesFaviconStoredFileUUID:o?a+"/"+this.NIMBUS_CAPTURE_FAVICON:a+"/"+this.NIMBUS_NOTE_FAVICON,this.updateFavicon(n)},e.prototype.getMetaUrlForShare=function(e){var t=e.instance.org,n=t.domain,r=t.sub,o=this._config.get("NIMBUS_DOMAIN");return n?"https://"+n:"https://"+r+"."+o},e.prototype.getTitleForNode=function(e,t){var n=e.instance,r=n.org,o=n.workspace;if(r.domain)return t.title+" - "+o.title;var i=this.CAPTURE_ROLES.includes(t.role)?this.NIMBUS_CAPTURE_TITLE:this.NIMBUS_NOTE_TITLE;return t.title+" - "+i},e.prototype.getDescriptionForNode=function(e,t,n){var r=e.instance.org,o=this.CAPTURE_ROLES.includes(t.role),i=n&&n.textShort||"";return r.domain?i:o?this.NIMBUS_CAPTURE_SLOGAN:i||this.NIMBUS_NOTE_SLOGAN},e.prototype.getTitleForAttachment=function(e,t){var n=e.instance,r=n.org,o=n.workspace,i=t.displayName;return r.domain?i+" - "+o.title:i+" - FuseBase"},e.prototype.getDescriptionForAttachment=function(e){return e.instance.org.domain?"":this.NIMBUS_NOTE_SLOGAN},e.prototype.setMetaUrl=function(e){this.addTags([{property:"og:url",content:e},{name:"twitter:url",content:e}])},e.prototype.setMetaPreview=function(e,t,n){var r,i,a,s,l,c=this,u=e.instance.org,d=Object(o.isB2BOrgPredicate)()(u),p=this.CAPTURE_ROLES.includes(t.role),f=this.getAbsoluteBoxPath(e),h=this.getAbsoluteDistPath(e),m=function(){u.domain||(i="image",s="image/png",r="summary_large_image",a=p?h+"/"+c.NIMBUS_CAPTURE_PREVIEW:h+"/"+c.NIMBUS_NOTE_PREVIEW)};if(n&&n.attachmentURL){var g=n.type,y=n.mime,v=n.extra,b=n.attachmentURL;a=f+b,s=y,"image"===g?(i="image",r=(v&&v.width&&v.width,"summary_large_image")):"video"!==g||"video/mp4"!==y&&"video/webm"!==y?m():(i="video",r="summary_large_image")}else m();l=d?u.title:p?this.NIMBUS_CAPTURE_TITLE:this.NIMBUS_NOTE_TITLE,this.addTags([{name:"application-name",content:l},{name:"twitter:card",content:r}]),r&&a&&i&&("image"===i&&this.addTags([{property:"og:image",content:a},{property:"og:image:url",content:a},{property:"og:image:type",content:s},{name:"twitter:image",content:a}]),"video"===i&&this.addTags([{property:"og:video",content:a},{property:"og:video:url",content:a},{property:"og:video:type",content:s},{name:"twitter:video",content:a}]))},e.prototype.setMetaTitle=function(e){var t=this.decodeEntities(e);this.title.setTitle(t),this.addTags([{property:"og:title",content:t},{name:"twitter:title",content:t}])},e.prototype.setMetaEmbedType=function(e){if(e&&e.role){var t=e.role;t==this.CAPTURE_ROLES[1]||t==this.CAPTURE_ROLES[2]||t==this.CAPTURE_ROLES[3]?this.addTags([{name:"nimbus:embedType",content:"video"}]):this.addTags([{name:"nimbus:embedType",content:"default"}])}},e.prototype.setMetaDescription=function(e){var t=this.decodeEntities(e);this.addTags([{property:"og:description",content:t},{name:"twitter:description",content:t}])},e.prototype.getShareUrlBase=function(e){var t,n=e.instance.org,r=this._config.get("NIMBUS_URL");if(n){if(n.domain)t="https://"+n.domain;else if(n.sub){var o=this._config.get("NIMBUS_DOMAIN");t="https://"+n.sub+"."+o}}else t=r;return t},e.prototype.getAbsoluteBoxPath=function(e){var t=this.getShareUrlBase(e),n=this._config.get("BOX_URL");return n.startsWith("http")?n:t+n},e.prototype.getAbsoluteDistPath=function(e){return this.getShareUrlBase(e)+"/share/dist"},e.prototype.updateFavicon=function(e){var t=this._document.querySelector('link[rel*="icon"]')||this._document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=e,this._document.getElementsByTagName("head")[0].appendChild(t)},e}()},"./src/app/analytics/google-analytics.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_GoogleAnalyticsComponent",(function(){return a})),n.d(t,"View_GoogleAnalyticsComponent_0",(function(){return s})),n.d(t,"View_GoogleAnalyticsComponent_Host_0",(function(){return l})),n.d(t,"GoogleAnalyticsComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/analytics/google-analytics.component.ts"),i=n("./src/app/universal-config.ts"),a=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function s(e){return r["ɵvid"](0,[],null,null)}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"google-analytics",[],null,null,null,s,a)),r["ɵdid"](1,638976,null,0,o.GoogleAnalyticsComponent,[i.Config,"isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("google-analytics",o.GoogleAnalyticsComponent,l,{profile:"profile"},{},[])},"./src/app/analytics/google-analytics.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"GoogleAnalyticsComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/universal-config.ts");var r=function(){function e(e,t){this._config=e,this.isBrowser=t,this.isEnabled=!1,this.userId="???"}return e.prototype.ngOnInit=function(){if(this.isBrowser){var e=this._config.get("GTAG_ID"),t=this._config.get("ALTERED_GTAG_ID"),n=this._config.get("GTM_ID");t&&(this.insertGtag(t),this.setupGtag({resourceId:t,transportUrl:"https://stt.nimbusweb.me"}),e&&this.setupGtag({resourceId:e})),n&&this.insertGTM(n)}},e.prototype.ngOnChanges=function(e){e.profile&&e.profile.currentValue&&this.isBrowser&&this.setupUserId(e.profile.currentValue.userId)},e.prototype.insertGtag=function(e){var t=document.createElement("script");t.src="https://stt.nimbusweb.me/gtag/js?id="+e,t.async=!0,gtag("js",new Date),this.isEnabled=!0,this.insertScript(t)},e.prototype.setupGtag=function(e){var t=e.resourceId,n=e.transportUrl,r={link_attribution:!0,linker:{domains:["everhelper.me"]}};n&&(r.transport_url=n),gtag("config",t,r)},e.prototype.insertGTM=function(e){var t=document.createElement("script");t.src="https://stt.nimbusweb.me/gtlytics.js?id="+e,t.async=!0,this.insertScript(t)},e.prototype.setupUserId=function(e){this.userId=""+e,gtag("set",{custom_map:{dimension1:this.userId},user_id:this.userId})},e.prototype.insertScript=function(e){var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)},e}()},"./src/app/app.browser.module.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserAppModuleNgFactory",(function(){return at}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/app.browser.module.ts"),i=n("./src/app/app.component.ts"),a=n("./node_modules/@angular/router/router.ngfactory.js"),s=n("./node_modules/@ngxd/core/ngxd-core.ngfactory.js"),l=n("./src/app/share/share.component.ngfactory.js"),c=n("./src/app/share/share-smart.component.ngfactory.js"),u=n("./src/app/share/attachment.component.ngfactory.js"),d=n("./src/app/share/reload.component.ngfactory.js"),p=n("./src/app/errors/error.component.ngfactory.js"),f=n("./src/app/share/share-config-popup.component.ngfactory.js"),h=n("./src/app/embed/embed-popup.component.ngfactory.js"),m=n("./src/app/app.component.ngfactory.js"),g=n("./node_modules/@angular/common/fesm5/common.js"),y=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),v=n("./node_modules/@angular/material/esm5/core.es5.js"),b=n("./node_modules/@codebakery/origami/fesm5/origami-styles.js"),_=n("./node_modules/@angular/animations/fesm5/browser.js"),w=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),C=n("./node_modules/@angular/http/fesm5/http.js"),S=n("./node_modules/@angular/forms/fesm5/forms.js"),E=n("./node_modules/@ngxd/core/esm5/ngxd-core.js"),x=n("./src/app/social/social.service.ts"),k=n("./node_modules/@ngrx/store/fesm5/store.js"),O=n("./src/app/universal-config.ts"),T=n("./node_modules/@angular/cdk/esm5/overlay.es5.js"),A=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),P=n("./node_modules/@angular/material/esm5/menu.es5.js"),R=n("./node_modules/@angular/common/fesm5/http.js"),I=n("./src/app/auth-form/auth-api-client.service.ts"),M=n("./src/app/header/header-dropdown.service.ts"),N=n("./src/app/header/get-nimbus-popup.service.ts"),D=n("./node_modules/@angular/router/fesm5/router.js"),j=n("./src/va2/src/core/services/vg-api.ts"),L=n("./src/va2/src/core/services/vg-fullscreen-api.ts"),B=n("./src/va2/src/core/services/vg-utils.ts"),F=n("./src/va2/src/core/services/vg-controls-hidden.ts"),U=n("./src/app/share/note/mention.service.ts"),H=n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts"),V=n("./src/app/share/note/note.service.ts"),z=n("./src/app/share/note/tasks-manager-plugin.ts"),q=n("./node_modules/@angular/cdk/esm5/observers.es5.js"),G=n("./node_modules/@angular/animations/fesm5/animations.js"),W=n("./src/app/profile/profile.service.ts"),Y=n("./src/app/share/share-copy.service.ts"),Z=n("./src/app/share/share-errors.service.ts"),K=n("./src/app/metrics.service.ts"),$=n("./src/query.service.ts"),Q=n("./node_modules/@nguniversal/express-engine/fesm5/tokens.js"),X=n("./node_modules/@ngrx/store-devtools/fesm5/store-devtools.js"),J=n("./src/app/profile/socket.io.service.ts"),ee=n("./src/angular2-meta.ts"),te=n("./src/app/common/addthis.service.ts"),ne=n("./src/modules/transfer-state/transfer-state.ts"),re=n("./src/modules/transfer-state/browser-transfer-state.module.ts"),oe=n("./src/app/visual/visual.reducer.ts"),ie=n("./src/app/profile/profile.reducer.ts"),ae=n("./src/app/share/share.reducer.ts"),se=n("./src/app/share/attachment.reducer.ts"),le=n("./src/app/login/login.reducer.ts"),ce=n("./src/app/common/dialogs/dialogs.reducer.ts"),ue=n("./src/app/organizations/organizations.reducer.ts"),de=n("./src/app/workspaces/workspaces.reducer.ts"),pe=n("./src/app/branding/branding.reducer.ts"),fe=n("./src/app/share/note/outlines/outline.reducer.ts"),he=n("./node_modules/@ngrx/effects/fesm5/effects.js"),me=n("./node_modules/@codebakery/origami/fesm5/origami-polyfills.js"),ge=n("./node_modules/@codebakery/origami/fesm5/origami-templates.js"),ye=n("./src/app/share/share.component.ts"),ve=n("./src/app/branding/branding-resolver.service.ts"),be=n("./src/app/embed/embed-resolver.service.ts"),_e=n("./src/app/errors/error-resolver.service.ts"),we=n("./src/app/share/share-smart.component.ts"),Ce=n("./src/app/share/attachment.component.ts"),Se=n("./src/app/share/reload.component.ts"),Ee=n("./src/app/errors/error.component.ts"),xe=n("./src/app/share/share.effects.ts"),ke=n("./src/app/profile/profile.effects.ts"),Oe=n("./src/app/organizations/organizations.effects.ts"),Te=n("./src/app/workspaces/workspaces.effects.ts"),Ae=n("./src/app/common/common.module.ts"),Pe=n("./src/app/dialog/index.ts"),Re=n("./src/app/login/index.ts"),Ie=n("./src/app/organizations/index.ts"),Me=n("./src/app/social/index.ts"),Ne=n("./src/app/workspaces/index.ts"),De=n("./src/app/select/index.ts"),je=n("./src/app/branding/index.ts"),Le=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),Be=n("./node_modules/@angular/cdk/esm5/portal.es5.js"),Fe=n("./node_modules/@angular/cdk/esm5/scrolling.es5.js"),Ue=n("./src/app/auth-form/auth-form.module.ts"),He=n("./src/app/header/header.module.ts"),Ve=n("./src/app/share/share-routing.module.ts"),ze=n("./src/app/errors/index.ts"),qe=n("./src/app/share/top/top.module.ts"),Ge=n("./src/va2/src/core/core.ts"),We=n("./src/va2/src/controls/controls.ts"),Ye=n("./src/va2/src/overlay-play/overlay-play.ts"),Ze=n("./src/app/share/note/note.module.ts"),Ke=n("./src/app/share/folder/folder.module.ts"),$e=n("./src/app/share/password/index.ts"),Qe=n("./src/app/share/tabs/index.ts"),Xe=n("./node_modules/@angular/material/esm5/slide-toggle.es5.js"),Je=n("./node_modules/@angular/material/esm5/progress-spinner.es5.js"),et=n("./src/app/share/share.module.ts"),tt=n("./src/app/profile/profile.module.ts"),nt=n("./src/app/embed/index.ts"),rt=n("./src/app/app.module.ts"),ot=n("./node_modules/@codebakery/origami/fesm5/origami-forms.js"),it=n("./node_modules/@codebakery/origami/fesm5/origami.js"),at=r["ɵcmf"](o.BrowserAppModule,[i.AppComponent],(function(e){return r["ɵmod"]([r["ɵmpd"](512,r.ComponentFactoryResolver,r["ɵCodegenComponentFactoryResolver"],[[8,[a["ɵEmptyOutletComponentNgFactory"],s["ɵdNgFactory"],s["ɵeNgFactory"],s["ɵfNgFactory"],l.ShareComponentNgFactory,c.ShareSmartComponentNgFactory,u.AttachmentComponentNgFactory,d.ReloadComponentNgFactory,p.ErrorComponentNgFactory,f.ShareConfigPopupComponentNgFactory,h.EmbedPopupComponentNgFactory,m.AppComponentNgFactory]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["ɵmpd"](5120,r.LOCALE_ID,r["ɵangular_packages_core_core_k"],[[3,r.LOCALE_ID]]),r["ɵmpd"](4608,g.NgLocalization,g.NgLocaleLocalization,[r.LOCALE_ID,[2,g["ɵangular_packages_common_common_a"]]]),r["ɵmpd"](5120,r.IterableDiffers,r["ɵangular_packages_core_core_i"],[]),r["ɵmpd"](5120,r.KeyValueDiffers,r["ɵangular_packages_core_core_j"],[]),r["ɵmpd"](4608,y.DomSanitizer,y["ɵDomSanitizerImpl"],[g.DOCUMENT]),r["ɵmpd"](6144,r.Sanitizer,null,[y.DomSanitizer]),r["ɵmpd"](4608,y.HAMMER_GESTURE_CONFIG,v.GestureConfig,[[2,v.MAT_HAMMER_OPTIONS],[2,v.MatCommonModule]]),r["ɵmpd"](5120,y.EVENT_MANAGER_PLUGINS,(function(e,t,n,r,o,i,a,s){return[new y["ɵDomEventsPlugin"](e,t,n),new y["ɵKeyEventsPlugin"](r),new y["ɵHammerGesturesPlugin"](o,i,a,s)]}),[g.DOCUMENT,r.NgZone,r.PLATFORM_ID,g.DOCUMENT,g.DOCUMENT,y.HAMMER_GESTURE_CONFIG,r["ɵConsole"],[2,y.HAMMER_LOADER]]),r["ɵmpd"](4608,y.EventManager,y.EventManager,[y.EVENT_MANAGER_PLUGINS,r.NgZone]),r["ɵmpd"](135680,y["ɵDomSharedStylesHost"],b.ShadyCSSSharedStylesHost,[y.DOCUMENT,[2,b.USING_APPLY]]),r["ɵmpd"](4608,y["ɵDomRendererFactory2"],y["ɵDomRendererFactory2"],[y.EventManager,y["ɵDomSharedStylesHost"]]),r["ɵmpd"](4608,_.AnimationDriver,_["ɵNoopAnimationDriver"],[]),r["ɵmpd"](5120,_["ɵAnimationStyleNormalizer"],w["ɵangular_packages_platform_browser_animations_animations_c"],[]),r["ɵmpd"](4608,_["ɵAnimationEngine"],w["ɵangular_packages_platform_browser_animations_animations_a"],[g.DOCUMENT,_.AnimationDriver,_["ɵAnimationStyleNormalizer"]]),r["ɵmpd"](5120,r.RendererFactory2,w["ɵangular_packages_platform_browser_animations_animations_d"],[y["ɵDomRendererFactory2"],_["ɵAnimationEngine"],r.NgZone]),r["ɵmpd"](6144,y["ɵSharedStylesHost"],null,[y["ɵDomSharedStylesHost"]]),r["ɵmpd"](4608,r.Testability,r.Testability,[r.NgZone]),r["ɵmpd"](4608,C["ɵangular_packages_http_http_e"],C["ɵangular_packages_http_http_e"],[]),r["ɵmpd"](4608,C.JSONPBackend,C.JSONPBackend,[C["ɵangular_packages_http_http_e"],C.ResponseOptions]),r["ɵmpd"](5120,C.Jsonp,C["ɵangular_packages_http_http_c"],[C.JSONPBackend,C.RequestOptions]),r["ɵmpd"](4608,S["ɵangular_packages_forms_forms_i"],S["ɵangular_packages_forms_forms_i"],[]),r["ɵmpd"](4608,E["ɵb"],E["ɵb"],[]),r["ɵmpd"](4608,x.SocialService,x.SocialService,[k.Store,O.Config]),r["ɵmpd"](4608,T.Overlay,T.Overlay,[T.ScrollStrategyOptions,T.OverlayContainer,r.ComponentFactoryResolver,T.OverlayPositionBuilder,T.OverlayKeyboardDispatcher,r.Injector,r.NgZone,g.DOCUMENT,A.Directionality]),r["ɵmpd"](5120,T["ɵc"],T["ɵd"],[T.Overlay]),r["ɵmpd"](5120,P.MAT_MENU_SCROLL_STRATEGY,P["ɵd23"],[T.Overlay]),r["ɵmpd"](4608,R.HttpXsrfTokenExtractor,R["ɵangular_packages_common_http_http_g"],[g.DOCUMENT,r.PLATFORM_ID,R["ɵangular_packages_common_http_http_e"]]),r["ɵmpd"](4608,R["ɵangular_packages_common_http_http_h"],R["ɵangular_packages_common_http_http_h"],[R.HttpXsrfTokenExtractor,R["ɵangular_packages_common_http_http_f"]]),r["ɵmpd"](5120,R.HTTP_INTERCEPTORS,(function(e){return[e]}),[R["ɵangular_packages_common_http_http_h"]]),r["ɵmpd"](4608,R["ɵangular_packages_common_http_http_d"],R["ɵangular_packages_common_http_http_d"],[]),r["ɵmpd"](6144,R.XhrFactory,null,[R["ɵangular_packages_common_http_http_d"]]),r["ɵmpd"](4608,R.HttpXhrBackend,R.HttpXhrBackend,[R.XhrFactory]),r["ɵmpd"](6144,R.HttpBackend,null,[R.HttpXhrBackend]),r["ɵmpd"](4608,R.HttpHandler,R["ɵHttpInterceptingHandler"],[R.HttpBackend,r.Injector]),r["ɵmpd"](4608,R.HttpClient,R.HttpClient,[R.HttpHandler]),r["ɵmpd"](4608,I.NimAuthApiClientService,I.NimAuthApiClientService,[R.HttpClient,O.Config]),r["ɵmpd"](4608,M.HeaderDropdownService,M.HeaderDropdownService,[]),r["ɵmpd"](4608,N.GetNimbusPopupService,N.GetNimbusPopupService,[]),r["ɵmpd"](4608,D.NoPreloading,D.NoPreloading,[]),r["ɵmpd"](6144,D.PreloadingStrategy,null,[D.NoPreloading]),r["ɵmpd"](135680,D.RouterPreloader,D.RouterPreloader,[D.Router,r.NgModuleFactoryLoader,r.Compiler,r.Injector,D.PreloadingStrategy]),r["ɵmpd"](4608,D.PreloadAllModules,D.PreloadAllModules,[]),r["ɵmpd"](5120,D["ɵangular_packages_router_router_n"],D["ɵangular_packages_router_router_c"],[D.Router,g.ViewportScroller,D.ROUTER_CONFIGURATION]),r["ɵmpd"](5120,D.ROUTER_INITIALIZER,D["ɵangular_packages_router_router_j"],[D["ɵangular_packages_router_router_h"]]),r["ɵmpd"](5120,r.APP_BOOTSTRAP_LISTENER,(function(e){return[e]}),[D.ROUTER_INITIALIZER]),r["ɵmpd"](4608,j.VgAPI,j.VgAPI,[]),r["ɵmpd"](4608,L.VgFullscreenAPI,L.VgFullscreenAPI,[]),r["ɵmpd"](4608,B.VgUtils,B.VgUtils,[]),r["ɵmpd"](4608,F.VgControlsHidden,F.VgControlsHidden,[]),r["ɵmpd"](4608,U.MentionService,U.MentionService,[k.Store,C.Http,O.Config]),r["ɵmpd"](4608,H.NoteImageViewerService,H.NoteImageViewerService,[O.Config]),r["ɵmpd"](4608,V.NoteService,V.NoteService,[O.Config]),r["ɵmpd"](4608,z.TasksManagerPlugin,z.TasksManagerPlugin,[C.Http,O.Config]),r["ɵmpd"](4608,q.MutationObserverFactory,q.MutationObserverFactory,[]),r["ɵmpd"](4608,G.AnimationBuilder,w["ɵBrowserAnimationBuilder"],[r.RendererFactory2,y.DOCUMENT]),r["ɵmpd"](4608,W.ProfileService,W.ProfileService,[O.Config,k.Store]),r["ɵmpd"](4608,Y.ShareCopyService,Y.ShareCopyService,[k.Store,W.ProfileService]),r["ɵmpd"](4608,Z.ShareErrorsService,Z.ShareErrorsService,[k.Store]),r["ɵmpd"](4608,K.MetricsService,K.MetricsService,[O.Config]),r["ɵmpd"](4608,$.QueryService,$.QueryService,[[2,Q.REQUEST]]),r["ɵmpd"](135680,k.State,k.State,[k.ActionsSubject,k.ReducerObservable,k.ScannedActionsSubject,k.INITIAL_STATE]),r["ɵmpd"](5120,X["ɵngrx_modules_store_devtools_store_devtools_a"],X["ɵngrx_modules_store_devtools_store_devtools_b"],[X["ɵngrx_modules_store_devtools_store_devtools_j"],X["ɵngrx_modules_store_devtools_store_devtools_h"]]),r["ɵmpd"](4608,J.SocketIoService,J.SocketIoService,[O.Config]),r["ɵmpd"](4608,ee.Meta,ee.Meta,[g.DOCUMENT,"isBrowser",O.Config]),r["ɵmpd"](4608,te.AddThisService,te.AddThisService,[]),r["ɵmpd"](131584,k.ActionsSubject,k.ActionsSubject,[]),r["ɵmpd"](131584,X["ɵngrx_modules_store_devtools_store_devtools_g"],X["ɵngrx_modules_store_devtools_store_devtools_g"],[]),r["ɵmpd"](2048,k.ReducerManagerDispatcher,null,[X["ɵngrx_modules_store_devtools_store_devtools_g"]]),r["ɵmpd"](1024,ne.TransferState,re.getTransferState,[]),r["ɵmpd"](1024,k.INITIAL_STATE,o.getState,[ne.TransferState]),r["ɵmpd"](256,k._INITIAL_REDUCERS,{visual:oe.visualReducer,profile:ie.profileReducer,share:ae.shareReducer,attachment:se.attachmentReducer,login:le.loginReducer,dialogs:ce.dialogsReducer,organizations:ue.organizationsReducer,workspaces:de.workspacesReducer,branding:pe.brandingReducer,outlines:fe.outlineReducer},[]),r["ɵmpd"](2048,k._STORE_REDUCERS,null,[k._INITIAL_REDUCERS]),r["ɵmpd"](1024,k.INITIAL_REDUCERS,k._createStoreReducers,[r.Injector,k._INITIAL_REDUCERS,k._STORE_REDUCERS]),r["ɵmpd"](256,k._REDUCER_FACTORY,k.combineReducers,[]),r["ɵmpd"](256,k.META_REDUCERS,[],[]),r["ɵmpd"](1024,k.REDUCER_FACTORY,k.createReducerFactory,[k._REDUCER_FACTORY,k.META_REDUCERS]),r["ɵmpd"](131584,k.ReducerManager,k.ReducerManager,[k.ReducerManagerDispatcher,k.INITIAL_STATE,k.INITIAL_REDUCERS,k.REDUCER_FACTORY]),r["ɵmpd"](2048,k.ReducerObservable,null,[k.ReducerManager]),r["ɵmpd"](131584,k.ScannedActionsSubject,k.ScannedActionsSubject,[]),r["ɵmpd"](1024,X["ɵngrx_modules_store_devtools_store_devtools_j"],X["ɵngrx_modules_store_devtools_store_devtools_c"],[]),r["ɵmpd"](256,X["ɵngrx_modules_store_devtools_store_devtools_i"],{maxAge:25},[]),r["ɵmpd"](1024,X["ɵngrx_modules_store_devtools_store_devtools_h"],X["ɵngrx_modules_store_devtools_store_devtools_f"],[X["ɵngrx_modules_store_devtools_store_devtools_i"]]),r["ɵmpd"](512,X["ɵngrx_modules_store_devtools_store_devtools_k"],X["ɵngrx_modules_store_devtools_store_devtools_k"],[X["ɵngrx_modules_store_devtools_store_devtools_j"],X["ɵngrx_modules_store_devtools_store_devtools_h"]]),r["ɵmpd"](1024,r.ErrorHandler,y["ɵangular_packages_platform_browser_platform_browser_a"],[]),r["ɵmpd"](512,X.StoreDevtools,X.StoreDevtools,[X["ɵngrx_modules_store_devtools_store_devtools_g"],k.ActionsSubject,k.ReducerObservable,X["ɵngrx_modules_store_devtools_store_devtools_k"],k.ScannedActionsSubject,r.ErrorHandler,k.INITIAL_STATE,X["ɵngrx_modules_store_devtools_store_devtools_h"]]),r["ɵmpd"](1024,k.StateObservable,X["ɵngrx_modules_store_devtools_store_devtools_d"],[X.StoreDevtools]),r["ɵmpd"](512,k.Store,k.Store,[k.StateObservable,k.ActionsSubject,k.ReducerManager]),r["ɵmpd"](1073742336,k.StoreRootModule,k.StoreRootModule,[k.ActionsSubject,k.ReducerObservable,k.ScannedActionsSubject,k.Store]),r["ɵmpd"](512,he.EffectSources,he.EffectSources,[r.ErrorHandler]),r["ɵmpd"](131584,he["ɵngrx_modules_effects_effects_f"],he["ɵngrx_modules_effects_effects_f"],[he.EffectSources,k.Store]),r["ɵmpd"](512,he.Actions,he.Actions,[k.ScannedActionsSubject]),r["ɵmpd"](1024,r.NgProbeToken,(function(){return[D["ɵangular_packages_router_router_b"]()]}),[]),r["ɵmpd"](512,D["ɵangular_packages_router_router_h"],D["ɵangular_packages_router_router_h"],[r.Injector]),r["ɵmpd"](256,r.APP_ID,"nns-v1",[]),r["ɵmpd"](2048,y["ɵTRANSITION_ID"],null,[r.APP_ID]),r["ɵmpd"](1024,r.APP_INITIALIZER,(function(e,t,n,r,o,i,a){return[y["ɵangular_packages_platform_browser_platform_browser_j"](e),D["ɵangular_packages_router_router_i"](t),y["ɵangular_packages_platform_browser_platform_browser_j"](n),b.injectIncludeStyles(r),me.webcomponentsReady,ge.shimHTMLTemplateAppend,y["ɵangular_packages_platform_browser_platform_browser_h"](o,i,a)]}),[[2,r.NgProbeToken],D["ɵangular_packages_router_router_h"],[2,r.NgProbeToken],r.NgModuleRef,y["ɵTRANSITION_ID"],g.DOCUMENT,r.Injector]),r["ɵmpd"](512,r.ApplicationInitStatus,r.ApplicationInitStatus,[[2,r.APP_INITIALIZER]]),r["ɵmpd"](131584,r.ApplicationRef,r.ApplicationRef,[r.NgZone,r["ɵConsole"],r.Injector,r.ErrorHandler,r.ComponentFactoryResolver,r.ApplicationInitStatus]),r["ɵmpd"](512,D.UrlSerializer,D.DefaultUrlSerializer,[]),r["ɵmpd"](512,D.ChildrenOutletContexts,D.ChildrenOutletContexts,[]),r["ɵmpd"](256,g.APP_BASE_HREF,"/",[]),r["ɵmpd"](256,D.ROUTER_CONFIGURATION,{},[]),r["ɵmpd"](1024,g.LocationStrategy,D["ɵangular_packages_router_router_d"],[g.PlatformLocation,[2,g.APP_BASE_HREF],D.ROUTER_CONFIGURATION]),r["ɵmpd"](512,g.Location,g.Location,[g.LocationStrategy]),r["ɵmpd"](512,r.Compiler,r.Compiler,[]),r["ɵmpd"](512,r.NgModuleFactoryLoader,r.SystemJsNgModuleLoader,[r.Compiler,[2,r.SystemJsNgModuleLoaderConfig]]),r["ɵmpd"](1024,D.ROUTES,(function(){return[[{path:"share/:shareId/:securityKey",component:ye.ShareComponent,resolve:[ve.BrandingResolverService,be.EmbedResolverService,_e.ErrorResolverService],children:[{path:":nodeId",component:we.ShareSmartComponent},{path:"",component:we.ShareSmartComponent}]},{path:"video/:shareId/:securityKey/:nodeId/:attachmentId/:displayName",component:Ce.AttachmentComponent},{path:"audio/:shareId/:securityKey/:nodeId/:attachmentId/:displayName",component:Ce.AttachmentComponent},{path:"image/:shareId/:securityKey/:nodeId/:attachmentId/:displayName",component:Ce.AttachmentComponent},{path:"attachment/:shareId/:securityKey/:attachmentId/:displayName",component:Se.ReloadComponent},{path:"attachment/:shareId/:securityKey/:nodeId/:attachmentId/:displayName",component:Se.ReloadComponent}],[{path:"404",component:Ee.ErrorComponent}]]}),[]),r["ɵmpd"](1024,D.Router,D["ɵangular_packages_router_router_f"],[r.ApplicationRef,D.UrlSerializer,D.ChildrenOutletContexts,g.Location,r.Injector,r.NgModuleFactoryLoader,r.Compiler,D.ROUTES,D.ROUTER_CONFIGURATION,[2,D.UrlHandlingStrategy],[2,D.RouteReuseStrategy]]),r["ɵmpd"](1024,D.ActivatedRoute,D["ɵangular_packages_router_router_g"],[D.Router]),r["ɵmpd"](512,C.BrowserXhr,C.BrowserXhr,[]),r["ɵmpd"](512,C.ResponseOptions,C.BaseResponseOptions,[]),r["ɵmpd"](1024,C.XSRFStrategy,C["ɵangular_packages_http_http_a"],[]),r["ɵmpd"](512,C.XHRBackend,C.XHRBackend,[C.BrowserXhr,C.ResponseOptions,C.XSRFStrategy]),r["ɵmpd"](512,C.RequestOptions,C.BaseRequestOptions,[]),r["ɵmpd"](1024,C.Http,C["ɵangular_packages_http_http_b"],[C.XHRBackend,C.RequestOptions]),r["ɵmpd"](256,"isBrowser",!0,[]),r["ɵmpd"](512,O.Config,O.Config,["isBrowser",ne.TransferState]),r["ɵmpd"](512,xe.ShareEffects,xe.ShareEffects,[he.Actions,k.Store,D.ActivatedRoute,C.Http,O.Config,r.PLATFORM_ID,[2,Q.REQUEST]]),r["ɵmpd"](512,ke.ProfileEffects,ke.ProfileEffects,[he.Actions,k.Store,C.Http,O.Config]),r["ɵmpd"](512,Oe.OrganizationsEffects,Oe.OrganizationsEffects,[he.Actions,k.Store,C.Http,O.Config]),r["ɵmpd"](512,Te.WorkspacesEffects,Te.WorkspacesEffects,[he.Actions,k.Store,C.Http,O.Config]),r["ɵmpd"](1024,he["ɵngrx_modules_effects_effects_d"],he["ɵngrx_modules_effects_effects_a"],[xe.ShareEffects,ke.ProfileEffects,Oe.OrganizationsEffects,Te.WorkspacesEffects]),r["ɵmpd"](1073742336,he["ɵngrx_modules_effects_effects_b"],he["ɵngrx_modules_effects_effects_b"],[he.EffectSources,he["ɵngrx_modules_effects_effects_f"],k.Store,he["ɵngrx_modules_effects_effects_d"],[2,k.StoreRootModule],[2,k.StoreFeatureModule]]),r["ɵmpd"](1073742336,X.StoreDevtoolsModule,X.StoreDevtoolsModule,[]),r["ɵmpd"](1073742336,g.CommonModule,g.CommonModule,[]),r["ɵmpd"](1073742336,r.ApplicationModule,r.ApplicationModule,[r.ApplicationRef]),r["ɵmpd"](1073742336,y.BrowserModule,y.BrowserModule,[[3,y.BrowserModule]]),r["ɵmpd"](1073742336,C.HttpModule,C.HttpModule,[]),r["ɵmpd"](1073742336,C.JsonpModule,C.JsonpModule,[]),r["ɵmpd"](1073742336,S["ɵangular_packages_forms_forms_bb"],S["ɵangular_packages_forms_forms_bb"],[]),r["ɵmpd"](1073742336,S.FormsModule,S.FormsModule,[]),r["ɵmpd"](1024,D["ɵangular_packages_router_router_a"],D["ɵangular_packages_router_router_e"],[[3,D.Router]]),r["ɵmpd"](1073742336,D.RouterModule,D.RouterModule,[[2,D["ɵangular_packages_router_router_a"]],[2,D.Router]]),r["ɵmpd"](1073742336,E.NgxdModule,E.NgxdModule,[]),r["ɵmpd"](1073742336,Ae.CommonModule,Ae.CommonModule,[]),r["ɵmpd"](1073742336,Pe.DialogModule,Pe.DialogModule,[]),r["ɵmpd"](1073742336,Re.LoginModule,Re.LoginModule,[]),r["ɵmpd"](1073742336,Ie.OrganizationsModule,Ie.OrganizationsModule,[]),r["ɵmpd"](1073742336,Me.SocialModule,Me.SocialModule,[]),r["ɵmpd"](1073742336,Ne.WorkspacesModule,Ne.WorkspacesModule,[]),r["ɵmpd"](1073742336,De.SelectModule,De.SelectModule,[]),r["ɵmpd"](1073742336,je.BrandingModule,je.BrandingModule,[]),r["ɵmpd"](1073742336,A.BidiModule,A.BidiModule,[]),r["ɵmpd"](1073742336,v.MatCommonModule,v.MatCommonModule,[[2,v.MATERIAL_SANITY_CHECKS]]),r["ɵmpd"](1073742336,Le.PlatformModule,Le.PlatformModule,[]),r["ɵmpd"](1073742336,v.MatRippleModule,v.MatRippleModule,[]),r["ɵmpd"](1073742336,Be.PortalModule,Be.PortalModule,[]),r["ɵmpd"](1073742336,Fe.ScrollDispatchModule,Fe.ScrollDispatchModule,[]),r["ɵmpd"](1073742336,T.OverlayModule,T.OverlayModule,[]),r["ɵmpd"](1073742336,P.MatMenuModule,P.MatMenuModule,[]),r["ɵmpd"](1073742336,R.HttpClientXsrfModule,R.HttpClientXsrfModule,[]),r["ɵmpd"](1073742336,R.HttpClientModule,R.HttpClientModule,[]),r["ɵmpd"](1073742336,Ue.NimWebshareAuthFormModule,Ue.NimWebshareAuthFormModule,[]),r["ɵmpd"](1073742336,He.HeaderModule,He.HeaderModule,[]),r["ɵmpd"](1073742336,Ve.ShareRoutingModule,Ve.ShareRoutingModule,[]),r["ɵmpd"](1073742336,ze.ErrorsModule,ze.ErrorsModule,[]),r["ɵmpd"](1073742336,qe.TopModule,qe.TopModule,[]),r["ɵmpd"](1073742336,Ge.VgCoreModule,Ge.VgCoreModule,[]),r["ɵmpd"](1073742336,We.VgControlsModule,We.VgControlsModule,[]),r["ɵmpd"](1073742336,Ye.VgOverlayPlayModule,Ye.VgOverlayPlayModule,[]),r["ɵmpd"](1073742336,Ze.NoteModule,Ze.NoteModule,[]),r["ɵmpd"](1073742336,Ke.FolderModule,Ke.FolderModule,[]),r["ɵmpd"](1073742336,$e.SharePasswordModule,$e.SharePasswordModule,[]),r["ɵmpd"](1073742336,Qe.TabsModule,Qe.TabsModule,[]),r["ɵmpd"](1073742336,q.ObserversModule,q.ObserversModule,[]),r["ɵmpd"](1073742336,Xe.MatSlideToggleModule,Xe.MatSlideToggleModule,[]),r["ɵmpd"](1073742336,Je.MatProgressSpinnerModule,Je.MatProgressSpinnerModule,[]),r["ɵmpd"](1073742336,et.ShareModule,et.ShareModule,[]),r["ɵmpd"](1073742336,tt.ProfileModule,tt.ProfileModule,[]),r["ɵmpd"](1073742336,nt.EmbedModule,nt.EmbedModule,[]),r["ɵmpd"](1073742336,w.NoopAnimationsModule,w.NoopAnimationsModule,[]),r["ɵmpd"](1073742336,rt.AppModule,rt.AppModule,[]),r["ɵmpd"](1073742336,ot.OrigamiFormsModule,ot.OrigamiFormsModule,[]),r["ɵmpd"](1073742336,b.IncludeStylesModule,b.IncludeStylesModule,[]),r["ɵmpd"](1073742336,me.WebComponentsReadyModule,me.WebComponentsReadyModule,[]),r["ɵmpd"](1073742336,b.ShadyCSSModule,b.ShadyCSSModule,[]),r["ɵmpd"](1073742336,ge.TemplateModule,ge.TemplateModule,[]),r["ɵmpd"](1073742336,it.OrigamiModule,it.OrigamiModule,[]),r["ɵmpd"](1073742336,re.BrowserTransferStateModule,re.BrowserTransferStateModule,[]),r["ɵmpd"](1073742336,o.BrowserAppModule,o.BrowserAppModule,[k.Store]),r["ɵmpd"](256,r["ɵAPP_ROOT"],!0,[]),r["ɵmpd"](256,R["ɵangular_packages_common_http_http_e"],"XSRF-TOKEN",[]),r["ɵmpd"](256,R["ɵangular_packages_common_http_http_f"],"X-XSRF-TOKEN",[]),r["ɵmpd"](256,w.ANIMATION_MODULE_TYPE,"NoopAnimations",[]),r["ɵmpd"](256,k._INITIAL_STATE,void 0,[]),r["ɵmpd"](256,"isNode",!1,[])])}))},"./src/app/app.browser.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"getState",(function(){return a})),n.d(t,"BrowserAppModule",(function(){return s}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js"),i=(n("./src/modules/transfer-state/transfer-state.ts"),n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/visual/visual.actions.ts"));function a(e){return e.get("NGRX_state")}var s=function(e){var t=this;this.store=e;var n=document.querySelector("nns-app");Object(r.fromEvent)(n,"scroll").pipe(Object(o.map)((function(){return c(n)})),Object(o.distinctUntilChanged)()).forEach((function(e){var n=l(e);t.store.dispatch(Object(i.setIsHeaderFixed)(n)),t.store.dispatch(Object(i.showToTopComponent)(e))})),u(768).subscribe((function(e){var r=c(n),o=l(r);t.store.dispatch(Object(i.setIsHeaderFixed)(o)),t.store.dispatch(Object(i.showToTopComponent)(r))})),u(600).subscribe((function(e){var r=c(n),o=l(r);t.store.dispatch(Object(i.setIsHeaderFixed)(o)),t.store.dispatch(Object(i.showToTopComponent)(r)),t.store.dispatch(Object(i.setMobile)(e))})),this.store.dispatch(Object(i.setMobile)(window.innerWidth<=600)),Object(r.fromEvent)(window,"resize").pipe(Object(o.debounceTime)(250),Object(o.map)((function(e){return{width:e.target.innerWidth,height:e.target.innerHeight}}))).subscribe((function(e){var n=e.width,r=e.height;t.store.dispatch(Object(i.setWindowSize)({width:n,height:r}))})),this.store.dispatch(Object(i.setWindowSize)({width:window.innerWidth,height:window.innerHeight})),this.store.select("visual").forEach((function(e){document.cookie="nns-list-type="+e.listType+";path=/",document.cookie="nns-theme="+e.theme+";path=/"}))};function l(e){return e&&window.innerWidth>768}function c(e){return(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||e.scrollTop||0)>=80}function u(e){return Object(r.fromEvent)(window,"resize").pipe(Object(o.debounceTime)(250),Object(o.map)((function(t){return t.target.innerWidth<=e})),Object(o.distinctUntilChanged)(),Object(o.catchError)((function(e,t){return t})))}},"./src/app/app.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_AppComponent",(function(){return M})),n.d(t,"View_AppComponent_0",(function(){return H})),n.d(t,"View_AppComponent_Host_0",(function(){return V})),n.d(t,"AppComponentNgFactory",(function(){return z})),n.d(t,"RenderType_NodeAppComponent",(function(){return q})),n.d(t,"View_NodeAppComponent_0",(function(){return X})),n.d(t,"View_NodeAppComponent_Host_0",(function(){return J})),n.d(t,"NodeAppComponentNgFactory",(function(){return ee}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/embed/embed-header.component.ngfactory.js"),i=n("./src/app/embed/embed-header.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/universal-config.ts"),l=n("./src/app/share/share-copy.service.ts"),c=n("./node_modules/@angular/common/fesm5/common.js"),u=n("./src/app/header/header.component.ngfactory.js"),d=n("./src/app/header/header.component.ts"),p=n("./src/app/profile/profile.service.ts"),f=n("./src/app/header/get-nimbus-popup.service.ts"),h=n("./src/app/common/dialogs/dialogs.component.ngfactory.js"),m=n("./src/app/common/dialogs/dialogs.component.ts"),g=n("./src/app/common/toasts.component.ngfactory.js"),y=n("./src/app/common/toasts.component.ts"),v=n("./src/app/profile/socket-io.component.ngfactory.js"),b=n("./src/app/profile/socket-io.component.ts"),_=n("./src/app/profile/socket.io.service.ts"),w=n("./src/app/share/share-errors.service.ts"),C=n("./node_modules/@angular/router/fesm5/router.js"),S=n("./src/app/share/note/noteImageViewer/NoteImageViewer.component.ngfactory.js"),E=n("./src/app/share/note/noteImageViewer/NoteImageViewer.component.ts"),x=n("./src/app/analytics/google-analytics.component.ngfactory.js"),k=n("./src/app/analytics/google-analytics.component.ts"),O=n("./src/app/app.component.ts"),T=n("./node_modules/@nguniversal/express-engine/fesm5/tokens.js"),A=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),P=n("./src/angular2-meta.ts"),R=n("./src/app/metrics.service.ts"),I=n("./src/query.service.ts"),M=r["ɵcrt"]({encapsulation:0,styles:[".nns-app-content[_ngcontent-%COMP%] {position:relative;}\n\n    nns-toasts[_ngcontent-%COMP%] {\n      transform:translate(-50%,-50%);\n      left:50%;\n      top:50%;\n      right:auto;\n    }\n\n    .nns-toasts__right[_ngcontent-%COMP%]{\n      right: 20px;\n      top: auto;\n      left: auto;\n      transform: none;\n      bottom: 20px;\n    }\n\n    .nns-embed[_nghost-%COMP%]{\n      padding-top: 0;\n      padding-bottom: 52px;\n    }\n\n    .nns-embed[_nghost-%COMP%]:not(.nns-wordpress){\n      border: 1px solid rgba(0, 0, 0, 0.12);\n    }\n\n    .nns-wordpress[_nghost-%COMP%] {\n      overflow: hidden;\n    }\n\n    .nns-preview[_nghost-%COMP%]{\n      overflow: hidden;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]{\n      padding-top: 0;\n      overflow: hidden;\n    }\n\n    .nns-embed-header-hidden[_nghost-%COMP%]{\n      padding-top: 0;\n      padding-bottom: 0;\n    }\n\n    .nns-embed[_nghost-%COMP%]     .nedit-root{\n      padding-bottom: 45px;\n    }\n\n    .nns-embed-header-hidden[_nghost-%COMP%]     .nedit-root{\n      padding-bottom: 0;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]   nns-embed-header[_ngcontent-%COMP%]{\n      margin-top: -60px;\n      transition: 0.3s;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]:hover   nns-embed-header[_ngcontent-%COMP%]{\n      margin-top: 0;\n    }\n\n    .nns-preview-inner[_ngcontent-%COMP%]{\n      display: none;\n    }\n\n    .nns-preview[_nghost-%COMP%]   .nns-preview-inner[_ngcontent-%COMP%]{\n      position: absolute;\n      display: block;\n      top: 0;\n      left: 0;\n      width: 100%;\n      height: 100%;\n      z-index: 9999;\n    }",".nns-theme-night[_nghost-%COMP%] {\n      color: #F3F6FA;\n      background: #20252B;\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%] {\n        color: #000;\n      }\n      [_nghost-%COMP%]{\n        overflow: unset;\n      }\n      .nns-app-content[_ngcontent-%COMP%]{\n        display: block;\n      }\n    }\n    @media only screen and (max-width: 768px) {\n      [_nghost-%COMP%]:not(.nns-embed)   .nns-app-content[_ngcontent-%COMP%]:not(.nns-app-content__mobile-no-header) {\n        margin-top: 57px;\n      }\n\n      .nns-embed[_nghost-%COMP%]   .nns-app-content[_ngcontent-%COMP%]{\n        padding-top: 0;\n      }\n\n      [_nghost-%COMP%]   nns-header[_ngcontent-%COMP%] {\n        position:fixed;\n        top:0px;\n        left:0px;\n        width:100%;\n        height:57px;\n        -webkit-backface-visibility: hidden;\n      }\n    }"],data:{}});function N(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"nns-embed-header",[],null,null,null,o.View_EmbedHeaderComponent_0,o.RenderType_EmbedHeaderComponent)),r["ɵdid"](1,573440,null,0,i.EmbedHeaderComponent,[a.Store,s.Config,l.ShareCopyService,"isBrowser"],{note:[0,"note"],visual:[1,"visual"],share:[2,"share"],branding:[3,"branding"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.currentNote$)),r["ɵunv"](t,1,1,r["ɵnov"](t,3).transform(n.visual$)),r["ɵunv"](t,1,2,r["ɵnov"](t,4).transform(n.share$)),r["ɵunv"](t,1,3,r["ɵnov"](t,5).transform(n.branding$)))}),null)}function D(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,16,"nns-header",[["class","nns-animated"],["flex","none"]],[[8,"hidden",0]],null,null,u.View_HeaderComponent_0,u.RenderType_HeaderComponent)),r["ɵdid"](1,278528,null,0,c.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵdid"](2,180224,null,0,d.HeaderComponent,[p.ProfileService,s.Config,f.GetNimbusPopupService],{profile:[0,"profile"],attachment:[1,"attachment"],visual:[2,"visual"],login:[3,"login"],note:[4,"note"],share:[5,"share"],branding:[6,"branding"],shareCopy:[7,"shareCopy"],childrenNotesCount:[8,"childrenNotesCount"],shareOrganization:[9,"shareOrganization"],workspaces:[10,"workspaces"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,"nns-animated",n.divClasses),e(t,2,1,[r["ɵunv"](t,2,0,r["ɵnov"](t,3).transform(n.profile$)),r["ɵunv"](t,2,1,r["ɵnov"](t,4).transform(n.currentAttachment$)),r["ɵunv"](t,2,2,r["ɵnov"](t,5).transform(n.visual$)),r["ɵunv"](t,2,3,r["ɵnov"](t,6).transform(n.login$)),r["ɵunv"](t,2,4,r["ɵnov"](t,7).transform(n.currentNote$)),r["ɵunv"](t,2,5,r["ɵnov"](t,8).transform(n.share$)),r["ɵunv"](t,2,6,r["ɵnov"](t,9).transform(n.branding$)),r["ɵunv"](t,2,7,r["ɵnov"](t,10).transform(n.shareCopy$)),r["ɵunv"](t,2,8,r["ɵnov"](t,11).transform(n.childrenNotesCount$)),r["ɵunv"](t,2,9,r["ɵnov"](t,12).transform(n.shareOrganization$)),r["ɵunv"](t,2,10,r["ɵnov"](t,13).transform(n.workspaces$))])}),(function(e,t){var n=t.component,o=null;e(t,0,0,!((null==(o=r["ɵunv"](t,0,0,r["ɵnov"](t,14).transform(n.visual$)))||!o.isHeaderFixed)&&(null==(o=r["ɵunv"](t,0,0,r["ɵnov"](t,15).transform(n.visual$)))||!o.isEmbed)&&null!=(o=r["ɵunv"](t,0,0,r["ɵnov"](t,16).transform(n.branding$)))&&o.sharesTopbar))}))}function j(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["style","height:57px"]],null,null,null,null,null))],null,null)}function L(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),h.View_DialogComponent_0,h.RenderType_DialogComponent)),r["ɵdid"](1,49152,null,0,m.DialogComponent,[a.Store],{dialogOptions:[0,"dialogOptions"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n,o=t.component;e(t,1,0,null==(n=r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(o.dialog$)))?null:n.dialogOptions)}),null)}function B(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-toasts",[],null,null,null,g.View_ToastsComponent_0,g.RenderType_ToastsComponent)),r["ɵdid"](1,49152,null,0,y.ToastsComponent,[],{toasts:[0,"toasts"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.centerToasts$)))}),null)}function F(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-toasts",[["class","nns-toasts__right"]],null,null,null,g.View_ToastsComponent_0,g.RenderType_ToastsComponent)),r["ɵdid"](1,49152,null,0,y.ToastsComponent,[],{toasts:[0,"toasts"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.rightToasts$)))}),null)}function U(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-socket-io",[],null,null,null,v.View_SocketIoComponent_0,v.RenderType_SocketIoComponent)),r["ɵdid"](1,245760,null,0,b.SocketIoComponent,[a.Store,_.SocketIoService,w.ShareErrorsService],{shareCopy:[0,"shareCopy"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.shareCopy$)))}),null)}function H(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,6,null,N)),r["ɵdid"](1,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,3,null,D)),r["ɵdid"](8,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,5,null,j)),r["ɵdid"](12,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](17,0,null,null,6,"div",[["class","nns-app-content"],["flex",""],["layout","column"]],null,null,null,null,null)),r["ɵdid"](18,278528,null,0,c.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpod"](21,{"nns-app-content__mobile-no-header":0}),(e()(),r["ɵeld"](22,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["ɵdid"](23,212992,null,0,C.RouterOutlet,[C.ChildrenOutletContexts,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null),(e()(),r["ɵand"](16777216,null,null,2,null,L)),r["ɵdid"](25,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,2,null,B)),r["ɵdid"](28,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,2,null,F)),r["ɵdid"](31,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](33,0,null,null,1,"nns-note-image-viewer",[],null,null,null,S.View_NoteImageViewerComponent_0,S.RenderType_NoteImageViewerComponent)),r["ɵdid"](34,49152,null,0,E.NoteImageViewerComponent,[],null,null),(e()(),r["ɵand"](16777216,null,null,2,null,U)),r["ɵdid"](36,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](38,0,null,null,2,"google-analytics",[],null,null,null,x.View_GoogleAnalyticsComponent_0,x.RenderType_GoogleAnalyticsComponent)),r["ɵdid"](39,638976,null,0,k.GoogleAnalyticsComponent,[s.Config,"isBrowser"],{profile:[0,"profile"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](41,0,null,null,0,"div",[["class","nns-preview-inner"]],null,null,null,null,null))],(function(e,t){var n=t.component,o=null;e(t,1,0,(null==(o=r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.visual$)))?null:o.isEmbed)&&!(null!=(o=r["ɵunv"](t,1,0,r["ɵnov"](t,3).transform(n.visual$)))&&o.isVideo)&&!(null!=(o=r["ɵunv"](t,1,0,r["ɵnov"](t,4).transform(n.visual$)))&&o.isEmbedHeaderHidden)&&!r["ɵunv"](t,1,0,r["ɵnov"](t,5).transform(n.isNetworkError$))&&!r["ɵunv"](t,1,0,r["ɵnov"](t,6).transform(n.isNotePasswordClosed$))),e(t,8,0,!r["ɵunv"](t,8,0,r["ɵnov"](t,9).transform(n.isNetworkError$))&&!r["ɵunv"](t,8,0,r["ɵnov"](t,10).transform(n.isNotePasswordClosed$)));var i=null;e(t,12,0,(null==(i=r["ɵunv"](t,12,0,r["ɵnov"](t,13).transform(n.visual$)))?null:i.isHeaderFixed)&&!(null!=(i=r["ɵunv"](t,12,0,r["ɵnov"](t,14).transform(n.visual$)))&&i.isFullscreen)&&(!r["ɵunv"](t,12,0,r["ɵnov"](t,15).transform(n.branding$))||1==(null==(i=r["ɵunv"](t,12,0,r["ɵnov"](t,16).transform(n.branding$)))?null:i.sharesTopbar)));var a=null,s=e(t,21,0,r["ɵunv"](t,18,1,r["ɵnov"](t,19).transform(n.branding$))&&0==(null==(a=r["ɵunv"](t,18,1,r["ɵnov"](t,20).transform(n.branding$)))?null:a.sharesTopbar));e(t,18,0,"nns-app-content",s),e(t,23,0);var l;e(t,25,0,null==(l=r["ɵunv"](t,25,0,r["ɵnov"](t,26).transform(n.dialog$)))?null:l.isShowDialog);var c;e(t,28,0,null==(c=r["ɵunv"](t,28,0,r["ɵnov"](t,29).transform(n.centerToasts$)))?null:c.length);var u;e(t,31,0,null==(u=r["ɵunv"](t,31,0,r["ɵnov"](t,32).transform(n.rightToasts$)))?null:u.length),e(t,36,0,r["ɵunv"](t,36,0,r["ɵnov"](t,37).transform(n.profile$))),e(t,39,0,r["ɵunv"](t,39,0,r["ɵnov"](t,40).transform(n.profile$)))}),null)}function V(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-app",[],[[8,"className",0]],null,null,H,M)),r["ɵdid"](1,245760,null,0,O.AppComponent,[a.Store,s.Config,[2,T.REQUEST],"isBrowser",A.Meta,P.Meta,r.Renderer2,C.ActivatedRoute,R.MetricsService,I.QueryService],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}var z=r["ɵccf"]("nns-app",O.AppComponent,V,{},{},[]),q=r["ɵcrt"]({encapsulation:0,styles:[".nns-app-content[_ngcontent-%COMP%] {position:relative;}\n\n    nns-toasts[_ngcontent-%COMP%] {\n      transform:translate(-50%,-50%);\n      left:50%;\n      top:50%;\n      right:auto;\n    }\n\n    .nns-toasts__right[_ngcontent-%COMP%]{\n      right: 20px;\n      top: auto;\n      left: auto;\n      transform: none;\n      bottom: 20px;\n    }\n\n    .nns-embed[_nghost-%COMP%]{\n      padding-top: 0;\n      padding-bottom: 52px;\n    }\n\n    .nns-embed[_nghost-%COMP%]:not(.nns-wordpress){\n      border: 1px solid rgba(0, 0, 0, 0.12);\n    }\n\n    .nns-wordpress[_nghost-%COMP%] {\n      overflow: hidden;\n    }\n\n    .nns-preview[_nghost-%COMP%]{\n      overflow: hidden;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]{\n      padding-top: 0;\n      overflow: hidden;\n    }\n\n    .nns-embed-header-hidden[_nghost-%COMP%]{\n      padding-top: 0;\n      padding-bottom: 0;\n    }\n\n    .nns-embed[_nghost-%COMP%]     .nedit-root{\n      padding-bottom: 45px;\n    }\n\n    .nns-embed-header-hidden[_nghost-%COMP%]     .nedit-root{\n      padding-bottom: 0;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]   nns-embed-header[_ngcontent-%COMP%]{\n      margin-top: -60px;\n      transition: 0.3s;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]:hover   nns-embed-header[_ngcontent-%COMP%]{\n      margin-top: 0;\n    }\n\n    .nns-preview-inner[_ngcontent-%COMP%]{\n      display: none;\n    }\n\n    .nns-preview[_nghost-%COMP%]   .nns-preview-inner[_ngcontent-%COMP%]{\n      position: absolute;\n      display: block;\n      top: 0;\n      left: 0;\n      width: 100%;\n      height: 100%;\n      z-index: 9999;\n    }",".nns-theme-night[_nghost-%COMP%] {\n      color: #F3F6FA;\n      background: #20252B;\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%] {\n        color: #000;\n      }\n      [_nghost-%COMP%]{\n        overflow: unset;\n      }\n      .nns-app-content[_ngcontent-%COMP%]{\n        display: block;\n      }\n    }\n    @media only screen and (max-width: 768px) {\n      [_nghost-%COMP%]:not(.nns-embed)   .nns-app-content[_ngcontent-%COMP%]:not(.nns-app-content__mobile-no-header) {\n        margin-top: 57px;\n      }\n\n      .nns-embed[_nghost-%COMP%]   .nns-app-content[_ngcontent-%COMP%]{\n        padding-top: 0;\n      }\n\n      [_nghost-%COMP%]   nns-header[_ngcontent-%COMP%] {\n        position:fixed;\n        top:0px;\n        left:0px;\n        width:100%;\n        height:57px;\n        -webkit-backface-visibility: hidden;\n      }\n    }"],data:{}});function G(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"nns-embed-header",[],null,null,null,o.View_EmbedHeaderComponent_0,o.RenderType_EmbedHeaderComponent)),r["ɵdid"](1,573440,null,0,i.EmbedHeaderComponent,[a.Store,s.Config,l.ShareCopyService,"isBrowser"],{note:[0,"note"],visual:[1,"visual"],share:[2,"share"],branding:[3,"branding"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.currentNote$)),r["ɵunv"](t,1,1,r["ɵnov"](t,3).transform(n.visual$)),r["ɵunv"](t,1,2,r["ɵnov"](t,4).transform(n.share$)),r["ɵunv"](t,1,3,r["ɵnov"](t,5).transform(n.branding$)))}),null)}function W(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,16,"nns-header",[["class","nns-animated"],["flex","none"]],[[8,"hidden",0]],null,null,u.View_HeaderComponent_0,u.RenderType_HeaderComponent)),r["ɵdid"](1,278528,null,0,c.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵdid"](2,180224,null,0,d.HeaderComponent,[p.ProfileService,s.Config,f.GetNimbusPopupService],{profile:[0,"profile"],attachment:[1,"attachment"],visual:[2,"visual"],login:[3,"login"],note:[4,"note"],share:[5,"share"],branding:[6,"branding"],shareCopy:[7,"shareCopy"],childrenNotesCount:[8,"childrenNotesCount"],shareOrganization:[9,"shareOrganization"],workspaces:[10,"workspaces"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,"nns-animated",n.divClasses),e(t,2,1,[r["ɵunv"](t,2,0,r["ɵnov"](t,3).transform(n.profile$)),r["ɵunv"](t,2,1,r["ɵnov"](t,4).transform(n.currentAttachment$)),r["ɵunv"](t,2,2,r["ɵnov"](t,5).transform(n.visual$)),r["ɵunv"](t,2,3,r["ɵnov"](t,6).transform(n.login$)),r["ɵunv"](t,2,4,r["ɵnov"](t,7).transform(n.currentNote$)),r["ɵunv"](t,2,5,r["ɵnov"](t,8).transform(n.share$)),r["ɵunv"](t,2,6,r["ɵnov"](t,9).transform(n.branding$)),r["ɵunv"](t,2,7,r["ɵnov"](t,10).transform(n.shareCopy$)),r["ɵunv"](t,2,8,r["ɵnov"](t,11).transform(n.childrenNotesCount$)),r["ɵunv"](t,2,9,r["ɵnov"](t,12).transform(n.shareOrganization$)),r["ɵunv"](t,2,10,r["ɵnov"](t,13).transform(n.workspaces$))])}),(function(e,t){var n=t.component,o=null;e(t,0,0,!((null==(o=r["ɵunv"](t,0,0,r["ɵnov"](t,14).transform(n.visual$)))||!o.isHeaderFixed)&&(null==(o=r["ɵunv"](t,0,0,r["ɵnov"](t,15).transform(n.visual$)))||!o.isEmbed)&&null!=(o=r["ɵunv"](t,0,0,r["ɵnov"](t,16).transform(n.branding$)))&&o.sharesTopbar))}))}function Y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["style","height:57px"]],null,null,null,null,null))],null,null)}function Z(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),h.View_DialogComponent_0,h.RenderType_DialogComponent)),r["ɵdid"](1,49152,null,0,m.DialogComponent,[a.Store],{dialogOptions:[0,"dialogOptions"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n,o=t.component;e(t,1,0,null==(n=r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(o.dialog$)))?null:n.dialogOptions)}),null)}function K(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-toasts",[],null,null,null,g.View_ToastsComponent_0,g.RenderType_ToastsComponent)),r["ɵdid"](1,49152,null,0,y.ToastsComponent,[],{toasts:[0,"toasts"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.centerToasts$)))}),null)}function $(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-toasts",[["class","nns-toasts__right"]],null,null,null,g.View_ToastsComponent_0,g.RenderType_ToastsComponent)),r["ɵdid"](1,49152,null,0,y.ToastsComponent,[],{toasts:[0,"toasts"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.rightToasts$)))}),null)}function Q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-socket-io",[],null,null,null,v.View_SocketIoComponent_0,v.RenderType_SocketIoComponent)),r["ɵdid"](1,245760,null,0,b.SocketIoComponent,[a.Store,_.SocketIoService,w.ShareErrorsService],{shareCopy:[0,"shareCopy"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.shareCopy$)))}),null)}function X(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,6,null,G)),r["ɵdid"](1,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,3,null,W)),r["ɵdid"](8,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,5,null,Y)),r["ɵdid"](12,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](17,0,null,null,6,"div",[["class","nns-app-content"],["flex",""],["layout","column"]],null,null,null,null,null)),r["ɵdid"](18,278528,null,0,c.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpod"](21,{"nns-app-content__mobile-no-header":0}),(e()(),r["ɵeld"](22,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["ɵdid"](23,212992,null,0,C.RouterOutlet,[C.ChildrenOutletContexts,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null),(e()(),r["ɵand"](16777216,null,null,2,null,Z)),r["ɵdid"](25,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,2,null,K)),r["ɵdid"](28,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,2,null,$)),r["ɵdid"](31,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](33,0,null,null,1,"nns-note-image-viewer",[],null,null,null,S.View_NoteImageViewerComponent_0,S.RenderType_NoteImageViewerComponent)),r["ɵdid"](34,49152,null,0,E.NoteImageViewerComponent,[],null,null),(e()(),r["ɵand"](16777216,null,null,2,null,Q)),r["ɵdid"](36,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](38,0,null,null,2,"google-analytics",[],null,null,null,x.View_GoogleAnalyticsComponent_0,x.RenderType_GoogleAnalyticsComponent)),r["ɵdid"](39,638976,null,0,k.GoogleAnalyticsComponent,[s.Config,"isBrowser"],{profile:[0,"profile"]},null),r["ɵpid"](131072,c.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵeld"](41,0,null,null,0,"div",[["class","nns-preview-inner"]],null,null,null,null,null))],(function(e,t){var n=t.component,o=null;e(t,1,0,(null==(o=r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.visual$)))?null:o.isEmbed)&&!(null!=(o=r["ɵunv"](t,1,0,r["ɵnov"](t,3).transform(n.visual$)))&&o.isVideo)&&!(null!=(o=r["ɵunv"](t,1,0,r["ɵnov"](t,4).transform(n.visual$)))&&o.isEmbedHeaderHidden)&&!r["ɵunv"](t,1,0,r["ɵnov"](t,5).transform(n.isNetworkError$))&&!r["ɵunv"](t,1,0,r["ɵnov"](t,6).transform(n.isNotePasswordClosed$))),e(t,8,0,!r["ɵunv"](t,8,0,r["ɵnov"](t,9).transform(n.isNetworkError$))&&!r["ɵunv"](t,8,0,r["ɵnov"](t,10).transform(n.isNotePasswordClosed$)));var i=null;e(t,12,0,(null==(i=r["ɵunv"](t,12,0,r["ɵnov"](t,13).transform(n.visual$)))?null:i.isHeaderFixed)&&!(null!=(i=r["ɵunv"](t,12,0,r["ɵnov"](t,14).transform(n.visual$)))&&i.isFullscreen)&&(!r["ɵunv"](t,12,0,r["ɵnov"](t,15).transform(n.branding$))||1==(null==(i=r["ɵunv"](t,12,0,r["ɵnov"](t,16).transform(n.branding$)))?null:i.sharesTopbar)));var a=null,s=e(t,21,0,r["ɵunv"](t,18,1,r["ɵnov"](t,19).transform(n.branding$))&&0==(null==(a=r["ɵunv"](t,18,1,r["ɵnov"](t,20).transform(n.branding$)))?null:a.sharesTopbar));e(t,18,0,"nns-app-content",s),e(t,23,0);var l;e(t,25,0,null==(l=r["ɵunv"](t,25,0,r["ɵnov"](t,26).transform(n.dialog$)))?null:l.isShowDialog);var c;e(t,28,0,null==(c=r["ɵunv"](t,28,0,r["ɵnov"](t,29).transform(n.centerToasts$)))?null:c.length);var u;e(t,31,0,null==(u=r["ɵunv"](t,31,0,r["ɵnov"](t,32).transform(n.rightToasts$)))?null:u.length),e(t,36,0,r["ɵunv"](t,36,0,r["ɵnov"](t,37).transform(n.profile$))),e(t,39,0,r["ɵunv"](t,39,0,r["ɵnov"](t,40).transform(n.profile$)))}),null)}function J(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-app",[],[[8,"className",0]],null,null,X,q)),r["ɵdid"](1,245760,null,0,O.NodeAppComponent,[a.Store,s.Config,[2,T.REQUEST],"isBrowser",A.Meta,P.Meta,r.Renderer2,C.ActivatedRoute,R.MetricsService,I.QueryService],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}var ee=r["ɵccf"]("nns-app",O.NodeAppComponent,J,{},{},[])},"./src/app/app.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AppComponent",(function(){return _})),n.d(t,"NodeAppComponent",(function(){return w}));var r=n("./node_modules/tslib/tslib.es6.js"),o=(n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js")),i=n("./src/app/profile/profile.actions.ts"),a=n("./src/app/share/models/index.ts"),s=n("./src/app/profile/profile.selector.ts"),l=n("./src/app/visual/visual.selector.ts"),c=n("./src/app/share/models/share.selector.ts"),u=n("./src/app/common/dialogs/dialogs.selector.ts"),d=(n("./src/app/universal-config.ts"),n("./src/app/organizations/index.ts")),p=n("./src/app/workspaces/workspaces.actions.ts"),f=n("./src/app/visual/visual.actions.ts"),h=n("./src/app/branding/branding.selector.ts"),m=n("./src/app/branding/branding.actions.ts"),g=(n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),n("./src/angular2-meta.ts"),n("./node_modules/rxjs/_esm5/operators/index.js")),y=n("./src/app/organizations/organizations.selector.ts"),v=n("./node_modules/rxjs/_esm5/index.js"),b=(n("./node_modules/@angular/router/fesm5/router.js"),n("./src/app/workspaces/workspaces.selector.ts")),_=(n("./src/app/metrics.service.ts"),n("./src/query.service.ts"),function(){function e(e,t,n,r,i,_,w,C,S,E){var x=this;this._store=e,this._config=t,this.request=n,this.isBrowser=r,this.meta=i,this._meta=_,this.renderer=w,this.route=C,this.metrics=S,this.queryService=E,this.divClasses={"nns-fullscreen":!1},this.classNames="day-theme",this.fileServerUrl=t.get("BOX_URL")+"/file/",r&&(this.stopListening=this.renderer.listen("window","message",this.previewListener.bind(this)));var k=this._store.select("visual");this.subscription=k.subscribe((function(e){var t=e.isFullscreen,n=e.theme,r=e.isEmbed,o=e.isVideo,i=e.isPreview,a=e.isEmbedHeaderHidden,s=e.isFullWidth,l=e.isWordpress;x.isFullscreen=t;var c="day"===n?"light":"dark";x.divClasses["nns-fullscreen"]=t,x.classNames="nns-theme-"+n+" theme-"+c,r&&(x.classNames+=" nns-embed",o&&(x.classNames+=" nns-embed__video"),l&&(x.classNames+=" nns-wordpress")),i&&(x.classNames+=" nns-preview"),a&&(x.classNames+=" nns-embed-header-hidden"),s&&(x.classNames+=" nns-fullwidth");var u="day"===n?"nim-theme-light":"nim-theme-dark";x.isBrowser&&(document.body.className="nns-common  nim-theme-cyan-cyan "+u)})),this.login$=this._store.select("login"),this.shareCopy$=this._store.pipe(Object(o.select)(a.selectShareCopy)),this.share$=this._store.pipe(Object(o.select)(c.selectCurrentShare)),this.currentAttachment$=this._store.pipe(Object(o.select)(a.selectCurrentAttachment)),this.profile$=this._store.pipe(Object(o.select)(s.selectCurrentProfile)),this.visual$=this._store.pipe(Object(o.select)(l.selectVisual)),this.currentNote$=this._store.pipe(Object(o.select)(a.selectCurrentNote)),this.dialog$=this._store.pipe(Object(o.select)(u.getDialog)),this.branding$=this._store.pipe(Object(o.select)(h.selectBranding)),this.childrenNotesCount$=this._store.pipe(Object(o.select)(a.selectChildrenNotesCount)),this.shareOrganization$=this._store.pipe(Object(o.select)(y.selectShareOrganization)),this.workspaces$=this._store.pipe(Object(o.select)(b.selectAllWorkspaces)),this.isNetworkError$=this.isNetworkError(),this.isNotePasswordClosed$=this.isNotePasswordClosed(),Object(v.combineLatest)([this.branding$,this.visual$]).pipe(Object(g.filter)((function(e){var t=e[0];e[1];return!t.isFetching})),Object(g.take)(1)).subscribe((function(e){var t=e[0],n=e[1];t.theme&&!n.brandingThemeDisabled&&x._store.dispatch(Object(f.setTheme)(t.theme)),t&&t.sharesAllowIndexing&&x.meta.updateTag({name:"robots",content:"index, follow"}),x.divClasses["nns-branding-logo"]=!!t.sharesLogoStoredFileUUID})),this.share$.subscribe((function(e){e&&e.parent&&e.parent.nnShareUrl&&!0,e&&e.instance&&e.instance.brandingProfile&&x._store.dispatch(Object(m.setBrandingTheme)(e.instance.brandingProfile))})),this.isBrowser&&Object(v.combineLatest)(this.share$,this.visual$).pipe(Object(g.filter)((function(e){var t=e[0],n=e[1];return t&&t.instance&&t.instance.htmls&&n&&!n.isEmbed})),Object(g.take)(1)).subscribe((function(e){var t=e[0],n=x._config.get("AUTH_HOST");window.location.host.includes(n)||x.setCustomHtmls(t.instance.htmls)})),this.currentNote$.subscribe((function(e){!e||"video"!=e.role&&"screencast"!=e.role&&"streaming_video"!=e.role?x._store.dispatch(Object(f.setIsVideo)(!1)):x._store.dispatch(Object(f.setIsVideo)(!0)),e&&x._store.dispatch(Object(f.setIsFullWidth)(e.isFullwidth)),e&&"folder"==e.type&&x._store.dispatch(Object(f.setNoteFont)("default"))})),this.centerToasts$=this.visual$.map((function(e){return e.toasts.filter((function(e){return"center"===e.position}))})),this.rightToasts$=this.visual$.map((function(e){return e.toasts.filter((function(e){return"right"===e.position}))})),this.queryService.isEmbed()||this.profile$.subscribe((function(e){e?(x._store.dispatch(Object(d.requestOrganizations)()),x._store.dispatch(Object(p.requestWorkspaces)())):(x._store.dispatch(Object(d.cleanOrganizations)()),x._store.dispatch(Object(p.cleanWorkspaces)()))})),this.route.queryParams.subscribe((function(e){!e.isFullscreen&&x.isFullscreen&&x._store.dispatch(Object(f.toggleFullscreen)())}))}return e.prototype.previewListener=function(e){if("string"==typeof e.data)try{var t=JSON.parse(e.data);t&&t&&t.hasOwnProperty("sharesLogoStoredFileUUID")&&this._store.dispatch(Object(m.setSharesLogoStoredFileUUID)(t.sharesLogoStoredFileUUID))}catch(e){}},e.prototype.isNetworkError=function(){return this.share$.pipe(Object(g.map)((function(e){return e.networkErrorCode})))},e.prototype.isNotePasswordClosed=function(){return this.share$.pipe(Object(g.map)((function(e){var t=e.instance;return t&&t.passwordRequired&&!t.accessAllowed})))},e.prototype.setCustomHtmls=function(e){var t=this;e.forEach((function(e,n){return r.__awaiter(t,void 0,void 0,(function(){var t;return r.__generator(this,(function(r){switch(r.label){case 0:return e.htmlHead?(this.addHtml(document.head,"beforeend",e.htmlHead,n),[4,this.evaluateCustomScripts(document.head,n)]):[3,2];case 1:r.sent(),r.label=2;case 2:return e.htmlBody&&(t="top"==e.bodyPosition?"afterbegin":"beforeend",this.addHtml(document.body,t,e.htmlBody,n),this.evaluateCustomScripts(document.body,n)),[2]}}))}))}))},e.prototype.addHtml=function(e,t,n,r){var o=document.createElement("div"),i="nimbus-custom-html-"+r;o.innerHTML=function(e){return void 0===e&&(e=""),e.replace(/&lt;/g,"<").replace(/&gt;/g,">")}(n),Array.from(o.querySelectorAll("script")).forEach((function(e){return e.setAttribute(i,"")})),e.insertAdjacentHTML(t,o.innerHTML)},e.prototype.evaluateCustomScripts=function(e,t){return r.__awaiter(this,void 0,void 0,(function(){var n,o,i;return r.__generator(this,(function(r){return n="nimbus-custom-html-"+t,o=Array.from(e.querySelectorAll("script["+n+"]")),i=function(e,t){var n=o[e],r=document.createTextNode(n.innerHTML),i=document.createElement("script");return i.onload=t,i.onerror=t,Array.from(n.attributes).forEach((function(e){return i.setAttribute(e.name,e.value)})),i.appendChild(r),n.parentNode.replaceChild(i,n),i},[2,new Promise((function(e){if(!o.length)return e(!0);var t=function(n){var r=function(){if(n===o.length-1)return e(!0);t(++n)},a=i(n,r);a.src&&!a.hasAttribute("async")||r()};t(0)}))]}))}))},e.prototype.ngOnInit=function(){if(window._shareStartLoad){var e=Date.now()-window._shareStartLoad;this.metrics.sendTiming("share_page_load",e)}this._store.dispatch(Object(i.invalidateProfile)())},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.dialogSubscription&&this.dialogSubscription.unsubscribe()},e}()),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(_)},"./src/app/app.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AppModule",(function(){return r}));var r=function(){}},"./src/app/auth-form/auth-api-client.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NimAuthApiClientService",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/@angular/common/fesm5/http.js"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=n("./src/app/universal-config.ts"),l=n("./node_modules/@angular/core/fesm5/core.js"),c=function(){function e(e,t){this.http=e,this._config=t,this.shareApiService=this._config.get("SHARE_API_SERVICE")}return e.prototype.handleError=function(e){return 0===e.status?console.error("An error occurred:",e.error):console.error("Backend returned code "+e.status+", body was: "+e.error),Object(o.throwError)("Something bad happened; please try again later.")},e.prototype.login=function(e,t){return this.http.post(t+"/auth",e).pipe(Object(a.map)((function(e){return{sessionId:e.body.sessionId,errorCode:e.errorCode,body:e.body}})),Object(a.catchError)(this.handleError))},e.prototype.register=function(e,t){return this.http.post(t+"/register",r.__assign({},e,{service:"nimbus"}),{headers:{"x-client-software":"web_share"}}).pipe(Object(a.map)((function(e){return{id:e.body.id,sessionId:e.body.sessionId,errorCode:e.errorCode,body:e.body}})),Object(a.catchError)(this.handleError))},e.prototype.challenge=function(e,t){return this.http.post(t+"/challenge",r.__assign({},e,{service:"nimbus"})).pipe(Object(a.map)((function(e){return{sessionId:e.body.sessionId,errorCode:e.errorCode,body:e.body}})),Object(a.catchError)(this.handleError))},e.ngInjectableDef=l.defineInjectable({factory:function(){return new e(l.inject(i.HttpClient),l.inject(s.Config))},token:e,providedIn:"root"}),e}()},"./src/app/auth-form/auth-form.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NimWebshareAuthFormComponent",(function(){return l})),n.d(t,"View_NimWebshareAuthFormComponent_0",(function(){return M})),n.d(t,"View_NimWebshareAuthFormComponent_Host_0",(function(){return N})),n.d(t,"NimWebshareAuthFormComponentNgFactory",(function(){return D}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./node_modules/@angular/forms/fesm5/forms.js"),a=n("./src/app/auth-form/auth-form.component.ts"),s=n("./src/app/auth-form/auth-api-client.service.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n        display: block;\n        font-family: 'Roboto', sans-serif;\n      }\n\n      [_nghost-%COMP%]   *[_ngcontent-%COMP%] {\n        box-sizing: border-box;\n      }\n\n      [_nghost-%COMP%]   input[_ngcontent-%COMP%] {\n        min-width: 100%;\n        padding: 11px 10px;\n        border-radius: 8px;\n        border-style: solid;\n        border-width: 1px;\n        font-size: 14px;\n        font-weight: 400;\n        font-family: sans-serif;\n        outline: none;\n      }\n      [_nghost-%COMP%]   button[_ngcontent-%COMP%] {\n        height: 38px;\n        padding: 10px 30px;\n        border: none;\n        border-radius: 19px;\n        background: rgba(0, 161, 183, 1);\n        color: #FFF;\n        font-size: 13px;\n        font-weight: bold;\n        transition: background-color .3s;\n        cursor: pointer;\n        display: flex;\n        align-items: center;\n      }\n      [_nghost-%COMP%]   button.btn-secondary[_ngcontent-%COMP%]{\n        background: rgba(0, 161, 183, 0.1);\n        color: #00A1B7;\n      }\n      [_nghost-%COMP%]   button.btn-icon[_ngcontent-%COMP%]{\n        padding: 10px 18px;\n      }\n      [_nghost-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{\n        margin-right: 10px;\n      }\n      [_nghost-%COMP%]   button[_ngcontent-%COMP%]:hover {\n        background: rgba(7, 184, 199, 1);\n      }\n      [_nghost-%COMP%]   button.btn-secondary[_ngcontent-%COMP%]:hover{\n        color: #fff;\n      }\n      [_nghost-%COMP%]   button[_ngcontent-%COMP%]:active {\n        background: rgba(0, 128, 159, 1);\n      }\n      [_nghost-%COMP%]   button[_ngcontent-%COMP%]:disabled{\n        background: rgba(0, 0, 0, 0.12);\n      }\n\n      .href[_ngcontent-%COMP%]{\n        color: #00ACC1;\n        text-decoration: none;\n      }\n\n      .auth-form-wrapper[_ngcontent-%COMP%] {\n        width: 300px;\n        padding: 20px;\n        border-radius: 10px;\n        border-style: solid;\n        border-width: 1px;\n        box-shadow: 0px 8px 7px -4px rgba(0, 0, 0, 0.08),\n                    0px 17px 12px 2px rgba(0, 0, 0, 0.08) !important;\n      }\n\n      .auth-form-controls[_ngcontent-%COMP%]   .auth-form-label[_ngcontent-%COMP%]{\n        margin-top: 15px;\n      }\n\n      .auth-form-chllenge-image[_ngcontent-%COMP%]{\n        text-align: center;\n        margin-top: 15px;\n      }\n\n      .auth-form-top[_ngcontent-%COMP%]{\n        display: flex;\n        margin-bottom: 20px;\n      }\n\n      .auth-form-logo[_ngcontent-%COMP%]{\n        width: 18px;\n        height: 18px;\n        margin-right: 6px;\n        align-self: center;\n\n        img {\n          height: 18px;\n        }\n      }\n\n      .auth-form-close[_ngcontent-%COMP%]{\n        width: 18px;\n        height: 18px;\n        cursor: pointer;\n        margin-left: auto;\n      }\n\n      .auth-form-title[_ngcontent-%COMP%] {\n        font-size: 24px;\n        font-weight: 600;\n      }\n\n      .auth-form-subtitle[_ngcontent-%COMP%]{\n        text-align: center;\n        font-size: 13px;\n        line-height: 18px;\n      }\n\n      .auth-form-tabs[_ngcontent-%COMP%]{\n        display: flex;\n      }\n\n      .auth-form-tab[_ngcontent-%COMP%]{\n        padding: 12px 28px;\n        font-size: 18px;\n        line-height: 24px;\n        border-bottom: 2px solid transparent;\n        font-weight: bold;\n        cursor: pointer;\n      }\n\n      .auth-form-slogan[_ngcontent-%COMP%] {\n        text-align: center;\n        font-size: 14px;\n        line-height: 20px;\n      }\n\n      .auth-form-group[_ngcontent-%COMP%] {\n        margin-top: 20px;\n      }\n\n      .auth-form-error[_ngcontent-%COMP%]{\n        text-align: center;\n        color: #930000;\n        background: #fff1f1;\n        padding: 12px 15px;\n        border-radius: 3px;\n        font-size: 15px;\n      }\n\n      .auth-input-error_message[_ngcontent-%COMP%]{\n        color: #aa0000;\n        margin-top: 5px;\n      }\n\n      .auth-form-actions[_ngcontent-%COMP%] {\n        display: flex;\n        justify-content: center;\n      }\n\n      .auth-form-label[_ngcontent-%COMP%]{\n        font-size: 13px;\n        line-height: 18px;\n      }\n\n      .auth-form__disabled[_ngcontent-%COMP%]   form[_ngcontent-%COMP%] {\n        opacity: 0.3;\n        pointer-events: none;\n      }\n\n      .auth-form-btn-wrapper[_ngcontent-%COMP%]{\n        margin-top: 20px;\n        display: flex;\n        justify-content: space-around;\n      }\n\n      \n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%] {\n        width: 500px;\n        padding: 26px;\n        box-shadow: none !important;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-title[_ngcontent-%COMP%] {\n        font-size: 18px;\n        line-height: 24px;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-close[_ngcontent-%COMP%]{\n        margin-top: 3px;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-controls[_ngcontent-%COMP%]{\n        display: flex;\n        margin-top: 8px;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-controls[_ngcontent-%COMP%]   .auth-form-group[_ngcontent-%COMP%]{\n        margin-top: 0;\n        width: 50%;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-controls[_ngcontent-%COMP%]   .auth-form-group[_ngcontent-%COMP%]:not(:last-child){\n        margin-right: 20px;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-slogan[_ngcontent-%COMP%]{\n        text-align: left;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-actions[_ngcontent-%COMP%]{\n        text-align: left;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-controls__chalenge[_ngcontent-%COMP%]{\n        flex-direction: column;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-controls__chalenge[_ngcontent-%COMP%]   .auth-form-chllenge-image[_ngcontent-%COMP%]{\n        margin-bottom: 10px;\n      }\n\n      .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-controls__chalenge[_ngcontent-%COMP%]   .auth-form-group[_ngcontent-%COMP%]{\n        width: 100%;\n      }\n\n      \n      .auth-form__remove[_ngcontent-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%]{\n        width: 380px;\n      }\n      .auth-form__remove[_ngcontent-%COMP%]   .auth-form-title[_ngcontent-%COMP%]{\n        margin-left: auto;\n        margin-right: auto;\n      }\n      .auth-form__remove[_ngcontent-%COMP%]   .auth-form-close[_ngcontent-%COMP%]{\n        margin-left: 0;\n      }\n\n      \n      .nns-theme-day[_nghost-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%] {\n        background: white;\n        border-color: rgba(0, 0, 0, 0.14);\n        color: rgba(0, 0, 0, 0.87)\n      }\n      .nns-theme-day[_nghost-%COMP%]   .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .m-viewtype-2[_ngcontent-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%] {\n        background: #F5F8FA;\n        border: none;\n      }\n      .nns-theme-day[_nghost-%COMP%]   input[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   input[_ngcontent-%COMP%] {\n        background: white;\n        border-color: rgba(0, 0, 0, 0.14);\n      }\n      .nns-theme-day[_nghost-%COMP%]   input[_ngcontent-%COMP%]::placeholder, .nns-theme-day   [_nghost-%COMP%]   input[_ngcontent-%COMP%]::placeholder {\n        color: rgba(0, 0, 0, 0.54);\n      }\n      .nns-theme-day[_nghost-%COMP%]   .auth-form-tab[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .auth-form-tab[_ngcontent-%COMP%]{\n        color: rgba(0,0,0, .54);\n      }\n      .nns-theme-day[_nghost-%COMP%]   .auth-form-tab__active[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .auth-form-tab__active[_ngcontent-%COMP%]{\n        color: #00ACC1;\n        border-color: #00ACC1;\n      }\n      .nns-theme-day[_nghost-%COMP%]   .auth-input-error[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .auth-input-error[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{\n        border-color: #aa0000;\n      }\n\n\n\n      \n      .nns-theme-night[_nghost-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .auth-form-wrapper[_ngcontent-%COMP%] {\n        background: #20252B;\n        border-color: rgba(255, 255, 255, 0.14);\n        color: rgba(255, 255, 255, 0.87)\n      }\n      .nns-theme-night[_nghost-%COMP%]   input[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   input[_ngcontent-%COMP%] {\n        background: #20252B;\n        border-color: rgba(255, 255, 255, 0.14);\n        color: rgba(255, 255, 255, 0.54);\n      }\n      .nns-theme-night[_nghost-%COMP%]   input[_ngcontent-%COMP%]::placeholder, .nns-theme-night   [_nghost-%COMP%]   input[_ngcontent-%COMP%]::placeholder {\n        color: rgba(255, 255, 255, 0.54);\n      }\n      .nns-theme-night[_nghost-%COMP%]   .auth-form-tab__active[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .auth-form-tab__active[_ngcontent-%COMP%]{\n        color: #00a1b7;\n        border-color: #00a1b7;\n      }\n      .nns-theme-night[_nghost-%COMP%]   .auth-form-close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .auth-form-close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{\n        fill: #A9B6BE;\n      }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-logo"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"img",[["alt","fusebase icon"],["src","./dist/assets/fusebase-icon.svg"]],null,null,null,null,null))],null,null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Sign Up"]))],null,null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Want to create own pages and collaborate?"]))],null,null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Want to remove this form?"]))],null,null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"div",[["class","auth-form-tabs"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"div",[["class","auth-form-tab "]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleChangeAuthType(o.NIM_AUTH_TYPE.SIGNUP)&&r);return r}),null,null)),r["ɵdid"](2,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{"auth-form-tab__active":0}),(e()(),r["ɵted"](-1,null,["Sign up"])),(e()(),r["ɵeld"](5,0,null,null,3,"div",[["class","auth-form-tab"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleChangeAuthType(o.NIM_AUTH_TYPE.SIGNIN)&&r);return r}),null,null)),r["ɵdid"](6,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](7,{"auth-form-tab__active":0}),(e()(),r["ɵted"](-1,null,["Sign in"]))],(function(e,t){var n=t.component,r=e(t,3,0,n.authType===n.NIM_AUTH_TYPE.SIGNUP);e(t,2,0,"auth-form-tab ",r);var o=e(t,7,0,n.authType===n.NIM_AUTH_TYPE.SIGNIN);e(t,6,0,"auth-form-tab",o)}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","auth-form-close"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleClose()&&r);return r}),null,null)),(e()(),r["ɵeld"](1,0,null,null,1,":svg:svg",[["fill","none"],["height","18"],["viewBox","0 0 18 18"],["width","18"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,":svg:path",[["clip-rule","evenodd"],["d","M14.4053 4.65533C14.6982 4.36244 14.6982 3.88756 14.4053 3.59467C14.1124 3.30178 13.6376 3.30178 13.3447 3.59467L8.99527 7.94407L4.60808 3.63279C4.31264 3.34246 3.83779 3.34661 3.54746 3.64204C3.25713 3.93748 3.26128 4.41234 3.55672 4.70266L7.93457 9.00477L3.59467 13.3447C3.30178 13.6376 3.30178 14.1124 3.59467 14.4053C3.88756 14.6982 4.36244 14.6982 4.65533 14.4053L9.00449 10.0562L13.3914 14.3672C13.6869 14.6575 14.1617 14.6534 14.452 14.358C14.7424 14.0625 14.7382 13.5877 14.4428 13.2973L10.0652 8.99547L14.4053 4.65533Z"],["fill","black"],["fill-opacity","0.54"],["fill-rule","evenodd"]],null,null,null,null,null))],null,null)}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-subtitle"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Upgrade to FuseBase Standard today"]))],null,null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","auth-form-btn-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"button",[["class","btn-secondary"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleClose()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Keep the form"])),(e()(),r["ɵeld"](3,0,null,null,4,"button",[["class","btn-icon"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleUpgrade()&&r);return r}),null,null)),(e()(),r["ɵeld"](4,0,null,null,1,":svg:svg",[["fill","none"],["height","14"],["viewBox","0 0 15 14"],["width","15"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,0,":svg:path",[["clip-rule","evenodd"],["d","M2.42085 7.41248C2.19305 7.18467 2.19305 6.81533 2.42085 6.58752L6.91735 2.30493C6.91743 2.30334 6.91751 2.30175 6.9176 2.30017L2.42085 6.58752L7.08752 1.92085C7.20005 1.80832 7.34713 1.75138 7.49461 1.75002C7.49641 1.75001 7.4982 1.75 7.5 1.75C7.50933 1.75 7.51866 1.75022 7.52798 1.75067C7.66781 1.75734 7.8057 1.81407 7.91248 1.92085L12.5791 6.58752C12.807 6.81533 12.807 7.18467 12.5791 7.41248C12.3513 7.64028 11.982 7.64028 11.7542 7.41248L8.08333 3.74162V11.6667C8.08333 11.9888 7.82217 12.25 7.5 12.25C7.17783 12.25 6.91667 11.9888 6.91667 11.6667V3.74162L3.24581 7.41248C3.01801 7.64028 2.64866 7.64028 2.42085 7.41248Z"],["fill","#F3F6FA"],["fill-rule","evenodd"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Upgrade Today "]))],null,null)}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Start your free account today:"]))],null,null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-error"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.component.errorMessages.form)}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-input-error_message"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.component.errorMessages.login)}))}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-input-error_message"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.component.errorMessages.password)}))}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,22,"div",[["class","auth-form-controls"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,10,"div",[["class","auth-form-group"]],null,null,null,null,null)),r["ɵdid"](2,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{"auth-input-error":0}),(e()(),r["ɵeld"](4,0,null,null,5,"input",[["name","email"],["placeholder","Email"],["type","email"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var o=!0,i=e.component;"input"===t&&(o=!1!==r["ɵnov"](e,5)._handleInput(n.target.value)&&o);"blur"===t&&(o=!1!==r["ɵnov"](e,5).onTouched()&&o);"compositionstart"===t&&(o=!1!==r["ɵnov"](e,5)._compositionStart()&&o);"compositionend"===t&&(o=!1!==r["ɵnov"](e,5)._compositionEnd(n.target.value)&&o);"ngModelChange"===t&&(o=!1!==(i.emailValue=n)&&o);"keyup"===t&&(o=!1!==i.handleLoginKeyUp(n)&&o);return o}),null,null)),r["ɵdid"](5,16384,null,0,i.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.DefaultValueAccessor]),r["ɵdid"](7,671744,null,0,i.NgModel,[[2,i.ControlContainer],[8,null],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),r["ɵdid"](9,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](11,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](12,0,null,null,10,"div",[["class","auth-form-group"]],null,null,null,null,null)),r["ɵdid"](13,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](14,{"auth-error":0}),(e()(),r["ɵeld"](15,0,[[1,0],["passwordInput",1]],null,5,"input",[["name","password"],["placeholder","Password"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var o=!0,i=e.component;"input"===t&&(o=!1!==r["ɵnov"](e,16)._handleInput(n.target.value)&&o);"blur"===t&&(o=!1!==r["ɵnov"](e,16).onTouched()&&o);"compositionstart"===t&&(o=!1!==r["ɵnov"](e,16)._compositionStart()&&o);"compositionend"===t&&(o=!1!==r["ɵnov"](e,16)._compositionEnd(n.target.value)&&o);"ngModelChange"===t&&(o=!1!==(i.passwordValue=n)&&o);return o}),null,null)),r["ɵdid"](16,16384,null,0,i.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.DefaultValueAccessor]),r["ɵdid"](18,671744,null,0,i.NgModel,[[2,i.ControlContainer],[8,null],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),r["ɵdid"](20,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),(e()(),r["ɵand"](16777216,null,null,1,null,_)),r["ɵdid"](22,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,3,0,n.errorMessages.login);e(t,2,0,"auth-form-group",r);e(t,7,0,"email",n.emailValue),e(t,11,0,n.errorMessages.login);var o=e(t,14,0,n.errorMessages.password);e(t,13,0,"auth-form-group",o);e(t,18,0,"password",n.passwordValue),e(t,22,0,n.errorMessages.password)}),(function(e,t){e(t,4,0,r["ɵnov"](t,9).ngClassUntouched,r["ɵnov"](t,9).ngClassTouched,r["ɵnov"](t,9).ngClassPristine,r["ɵnov"](t,9).ngClassDirty,r["ɵnov"](t,9).ngClassValid,r["ɵnov"](t,9).ngClassInvalid,r["ɵnov"](t,9).ngClassPending),e(t,15,0,r["ɵnov"](t,20).ngClassUntouched,r["ɵnov"](t,20).ngClassTouched,r["ɵnov"](t,20).ngClassPristine,r["ɵnov"](t,20).ngClassDirty,r["ɵnov"](t,20).ngClassValid,r["ɵnov"](t,20).ngClassInvalid,r["ɵnov"](t,20).ngClassPending)}))}function C(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Please enter your code"]))],null,null)}function S(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["We detected a suspicious activity from your device, in order to continue please verify that you are a human by entering the text from the image below"]))],null,null)}function E(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-form-chllenge-image"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"img",[["alt",""]],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,1,0,r["ɵinlineInterpolate"](1,"data:image/png;base64,",n.challengeValue.image,""))}))}function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","auth-input-error_message"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.component.errorMessages.challenge)}))}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,17,"div",[["class","auth-form-controls auth-form-controls__chalenge"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,C)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,S)),r["ɵdid"](4,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,E)),r["ɵdid"](6,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](7,0,null,null,10,"div",[["class","auth-form-group"]],null,null,null,null,null)),r["ɵdid"](8,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](9,{"auth-input-error":0}),(e()(),r["ɵeld"](10,0,[[2,0],["codeInput",1]],null,5,"input",[["name","challengeCode"],["type","text"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var o=!0,i=e.component;"input"===t&&(o=!1!==r["ɵnov"](e,11)._handleInput(n.target.value)&&o);"blur"===t&&(o=!1!==r["ɵnov"](e,11).onTouched()&&o);"compositionstart"===t&&(o=!1!==r["ɵnov"](e,11)._compositionStart()&&o);"compositionend"===t&&(o=!1!==r["ɵnov"](e,11)._compositionEnd(n.target.value)&&o);"ngModelChange"===t&&(o=!1!==(i.challengeValue.answer=n)&&o);"keyup"===t&&(o=!1!==i.handleChallengeCodeKeyUp(n)&&o);return o}),null,null)),r["ɵdid"](11,16384,null,0,i.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,i.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,i.NG_VALUE_ACCESSOR,(function(e){return[e]}),[i.DefaultValueAccessor]),r["ɵdid"](13,671744,null,0,i.NgModel,[[2,i.ControlContainer],[8,null],[8,null],[6,i.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,i.NgControl,null,[i.NgModel]),r["ɵdid"](15,16384,null,0,i.NgControlStatus,[[4,i.NgControl]],null,null),(e()(),r["ɵand"](16777216,null,null,1,null,x)),r["ɵdid"](17,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"otp"===n.challengeValue.challengeType),e(t,4,0,"captcha"===n.challengeValue.challengeType),e(t,6,0,"captcha"===n.challengeValue.challengeType);var r=e(t,9,0,n.errorMessages.challenge);e(t,8,0,"auth-form-group",r);e(t,13,0,"challengeCode",n.challengeValue.answer),e(t,17,0,n.errorMessages.challenge)}),(function(e,t){var n=t.component;e(t,10,0,r["ɵinlineInterpolate"](1,"","otp"===n.challengeValue.challengeType?"Code":"Text from the image",""),r["ɵnov"](t,15).ngClassUntouched,r["ɵnov"](t,15).ngClassTouched,r["ɵnov"](t,15).ngClassPristine,r["ɵnov"](t,15).ngClassDirty,r["ɵnov"](t,15).ngClassValid,r["ɵnov"](t,15).ngClassInvalid,r["ɵnov"](t,15).ngClassPending)}))}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","auth-form-group"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"div",[["class","auth-form-slogan"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" By clicking “Sign up”, you agree to our "])),(e()(),r["ɵeld"](3,0,null,null,1,"a",[["class","href"]],[[8,"href",4]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleOpenTermsLink(n)&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Terms and Conditions"]))],null,(function(e,t){e(t,3,0,t.component.termsLink)}))}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","auth-form-group"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","auth-form-slogan"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Check your authentication app for code. "])),(e()(),r["ɵeld"](3,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,"a",[["class","href"]],[[8,"href",4]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.handleOpenOtpLink(n)&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Having trouble finding your code?"]))],null,(function(e,t){e(t,4,0,t.component.otpLink)}))}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Sign up"]))],null,null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Sign in"]))],null,null)}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Continue"]))],null,null)}function I(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(e,t,n){var o=!0;"submit"===t&&(o=!1!==r["ɵnov"](e,2).onSubmit(n)&&o);"reset"===t&&(o=!1!==r["ɵnov"](e,2).onReset()&&o);return o}),null,null)),r["ɵdid"](1,16384,null,0,i["ɵangular_packages_forms_forms_bg"],[],null,null),r["ɵdid"](2,4210688,null,0,i.NgForm,[[8,null],[8,null]],null,null),r["ɵprd"](2048,null,i.ControlContainer,null,[i.NgForm]),r["ɵdid"](4,16384,null,0,i.NgControlStatusGroup,[[4,i.ControlContainer]],null,null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](6,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](8,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,w)),r["ɵdid"](10,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,k)),r["ɵdid"](12,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,O)),r["ɵdid"](14,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](16,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](17,0,null,null,8,"div",[["class","auth-form-group"]],null,null,null,null,null)),(e()(),r["ɵeld"](18,0,null,null,7,"div",[["class","auth-form-actions"]],null,null,null,null,null)),(e()(),r["ɵeld"](19,0,null,null,6,"button",[],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.submit()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](21,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,P)),r["ɵdid"](23,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,R)),r["ɵdid"](25,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,6,0,2===n.viewType&&!n.isChallengeActive),e(t,8,0,n.errorMessages.form),e(t,10,0,!n.isChallengeActive),e(t,12,0,n.isChallengeActive),e(t,14,0,n.authType===n.NIM_AUTH_TYPE.SIGNUP&&!n.isChallengeActive),e(t,16,0,n.isChallengeActive&&"otp"===n.challengeValue.challengeType),e(t,21,0,n.authType===n.NIM_AUTH_TYPE.SIGNUP&&!n.isChallengeActive),e(t,23,0,n.authType===n.NIM_AUTH_TYPE.SIGNIN&&!n.isChallengeActive),e(t,25,0,n.isChallengeActive)}),(function(e,t){e(t,0,0,r["ɵnov"](t,4).ngClassUntouched,r["ɵnov"](t,4).ngClassTouched,r["ɵnov"](t,4).ngClassPristine,r["ɵnov"](t,4).ngClassDirty,r["ɵnov"](t,4).ngClassValid,r["ɵnov"](t,4).ngClassInvalid,r["ɵnov"](t,4).ngClassPending)}))}function M(e){return r["ɵvid"](0,[r["ɵqud"](671088640,1,{passwordInputElement:0}),r["ɵqud"](671088640,2,{codeInputElement:0}),(e()(),r["ɵeld"](2,0,null,null,22,"div",[["class","auth-form"]],null,null,null,null,null)),r["ɵdid"](3,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](4,{"m-viewtype-1":0,"m-viewtype-2":1,"auth-form__disabled":2,"auth-form__remove":3}),(e()(),r["ɵeld"](5,0,null,null,19,"div",[["class","auth-form-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,12,"div",[["class","auth-form-top"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](8,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](10,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](12,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](14,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](16,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](18,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](20,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](22,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,I)),r["ɵdid"](24,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,4,0,1===n.viewType,2===n.viewType,n.isDisabled,n.authType===n.NIM_AUTH_TYPE.REMOVE);e(t,3,0,"auth-form",r),e(t,8,0,2===n.viewType&&!n.isShowTabs&&n.authType!==n.NIM_AUTH_TYPE.REMOVE),e(t,10,0,1===n.viewType&&!n.isShowTabs&&n.authType!==n.NIM_AUTH_TYPE.REMOVE),e(t,12,0,2===n.viewType&&!n.isShowTabs&&n.authType!==n.NIM_AUTH_TYPE.REMOVE),e(t,14,0,n.authType===n.NIM_AUTH_TYPE.REMOVE),e(t,16,0,n.isShowTabs&&!n.isChallengeActive),e(t,18,0,n.isShowClose),e(t,20,0,n.authType===n.NIM_AUTH_TYPE.REMOVE),e(t,22,0,n.authType===n.NIM_AUTH_TYPE.REMOVE),e(t,24,0,n.authType!==n.NIM_AUTH_TYPE.REMOVE)}),null)}function N(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nim-webshare-auth-form",[],null,null,null,M,l)),r["ɵdid"](1,114688,null,0,a.NimWebshareAuthFormComponent,[s.NimAuthApiClientService],null,null)],(function(e,t){e(t,1,0)}),null)}var D=r["ɵccf"]("nim-webshare-auth-form",a.NimWebshareAuthFormComponent,N,{viewType:"viewType",isDisabled:"isDisabled",isShowClose:"isShowClose",isShowTabs:"isShowTabs",authType:"authType",upgradeLink:"upgradeLink",termsLink:"termsLink",otpLink:"otpLink",authUrl:"authUrl"},{nimClose:"nimClose",nimAuthTypeChange:"nimAuthTypeChange",nimSubmit:"nimSubmit"},[])},"./src/app/auth-form/auth-form.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NimWebshareAuthFormComponent",(function(){return i}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=(n("./src/app/auth-form/auth-api-client.service.ts"),n("./src/app/auth-form/auth.model.ts")),i=function(){function e(e){this.api=e,this.viewType=1,this.isDisabled=!1,this.isShowClose=!1,this.isShowTabs=!1,this.authType=o.NIM_AUTH_TYPE.SIGNUP,this.upgradeLink="",this.termsLink=";",this.otpLink=";",this.authUrl=";",this.nimClose=new r.EventEmitter,this.nimAuthTypeChange=new r.EventEmitter,this.nimSubmit=new r.EventEmitter,this.NIM_AUTH_TYPE=o.NIM_AUTH_TYPE,this.emailValue="",this.passwordValue="",this.challengeValue={challengeType:"otp",state:"",answer:"",image:""},this.isChallengeActive=!1,this.errorMessages={login:"",password:"",form:"",challenge:""},this.authErrorMessage={loginRequired:"Login is required",loginIncorrect:"Please enter valid email",passwordRequired:"Password is required",passwordMim:"Password must be at least 8 characters long",loginWrongData:"Wrong Login or Password",registrationWrongData:"Registration failed",existedEmail:"E-Mail is already taken",wrongCode:"Wrong code",codeRequired:"Code is required",codeOnlyNumbers:"Code must contain only numbers",codeSixNumbers:"Code must be exactly 6 numbers"}}return e.prototype.ngOnInit=function(){},e.prototype.submit=function(){if(this.errorMessages={login:"",password:"",form:"",challenge:""},this.isChallengeActive)this.checkChallenge(this.challengeValue.answer)&&this.challenge();else{var e=this.emailValue.trim(),t=this.passwordValue.trim();this.checkForm(e,t,this.authType)&&(this.authType===this.NIM_AUTH_TYPE.SIGNIN?this.login():this.authType===this.NIM_AUTH_TYPE.SIGNUP&&this.register())}},e.prototype.login=function(){var e=this;this.api.login({login:this.emailValue,password:this.passwordValue},this.authUrl).subscribe((function(t){t.sessionId?e.nimSubmit.next(t):e.handleErrorResponse(t)}))},e.prototype.register=function(){var e=this;this.api.register({login:this.emailValue,password:this.passwordValue},this.authUrl).subscribe((function(t){t.sessionId?e.nimSubmit.next(t):e.handleErrorResponse(t)}))},e.prototype.challenge=function(){var e=this;this.api.challenge({state:this.challengeValue.state,answer:this.challengeValue.answer},this.authUrl).subscribe((function(t){t.sessionId?e.nimSubmit.next(t):"captcha"===e.challengeValue.challengeType&&0===t.errorCode?(e.isChallengeActive=!1,e.challengeValue={state:"",answer:"",challengeType:"",image:""}):e.handleErrorResponse(t)}))},e.prototype.handleErrorResponse=function(e){var t=this;return-26===e.errorCode?(this.isChallengeActive?this.showFormError(o.NIM_AUTH_ERRORS.WRONG_CODE):this.isChallengeActive=!0,setTimeout((function(){t.focusInput(t.codeInputElement)})),void(this.challengeValue={challengeType:e.body.challenge.type,state:e.body.challenge.state,answer:"",image:e.body.challenge.image})):-6===e.errorCode&&this.isChallengeActive?(this.showFormError(o.NIM_AUTH_ERRORS.WRONG_CODE),void this.focusInput(this.codeInputElement)):void(this.authType!==o.NIM_AUTH_TYPE.SIGNUP?this.showFormError(o.NIM_AUTH_ERRORS.LOGIN_WRONG_DATA):-4===e.errorCode?this.showFormError(o.NIM_AUTH_ERRORS.EXISTED_EMAIL):this.showFormError(o.NIM_AUTH_ERRORS.REGISTRATION_WRONG_DATA))},e.prototype.focusInput=function(e){e&&e.nativeElement&&e.nativeElement.focus()},e.prototype.checkForm=function(e,t,n){return e&&e.length?n!==o.NIM_AUTH_TYPE.SIGNUP||/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)?t&&t.length?!(n===o.NIM_AUTH_TYPE.SIGNUP&&t.length<8)||(this.showFormError(o.NIM_AUTH_ERRORS.PASSWORD_MIN),!1):(this.showFormError(o.NIM_AUTH_ERRORS.PASSWORD_REQUIRED),!1):(this.showFormError(o.NIM_AUTH_ERRORS.LOGIN_INCORRECT),!1):(this.showFormError(o.NIM_AUTH_ERRORS.LOGIN_REQUIRED),!1)},e.prototype.checkChallenge=function(e){return e.length?"otp"!==this.challengeValue.challengeType||/^\d+$/.test(e)?"otp"!==this.challengeValue.challengeType||6==e.length||(this.showFormError(o.NIM_AUTH_ERRORS.CODE_SIX_NUMBERS),!1):(this.showFormError(o.NIM_AUTH_ERRORS.CODE_ONLY_NUMBERS),!1):(this.showFormError(o.NIM_AUTH_ERRORS.CODE_REQUIRED),!1)},e.prototype.validateEmail=function(e){return!/-{2,}/.test(e)&&(!/^-/.test(e)&&!/-$/.test(e)&&/^[a-z0-9-]+$/i.test(e))},e.prototype.showFormError=function(e){switch(e){case o.NIM_AUTH_ERRORS.LOGIN_REQUIRED:this.errorMessages.login=this.authErrorMessage.loginRequired;break;case o.NIM_AUTH_ERRORS.LOGIN_INCORRECT:this.errorMessages.login=this.authErrorMessage.loginIncorrect;break;case o.NIM_AUTH_ERRORS.PASSWORD_REQUIRED:this.errorMessages.password=this.authErrorMessage.passwordRequired;break;case o.NIM_AUTH_ERRORS.PASSWORD_MIN:this.errorMessages.password=this.authErrorMessage.passwordMim;break;case o.NIM_AUTH_ERRORS.LOGIN_WRONG_DATA:this.errorMessages.form=this.authErrorMessage.loginWrongData;break;case o.NIM_AUTH_ERRORS.REGISTRATION_WRONG_DATA:this.errorMessages.form=this.authErrorMessage.registrationWrongData;break;case o.NIM_AUTH_ERRORS.EXISTED_EMAIL:this.errorMessages.form=this.authErrorMessage.existedEmail;break;case o.NIM_AUTH_ERRORS.WRONG_CODE:this.errorMessages.form=this.authErrorMessage.wrongCode;break;case o.NIM_AUTH_ERRORS.CODE_REQUIRED:this.errorMessages.challenge=this.authErrorMessage.codeRequired;break;case o.NIM_AUTH_ERRORS.CODE_ONLY_NUMBERS:this.errorMessages.challenge=this.authErrorMessage.codeOnlyNumbers;break;case o.NIM_AUTH_ERRORS.CODE_SIX_NUMBERS:this.errorMessages.challenge=this.authErrorMessage.codeSixNumbers}},e.prototype.handleLoginKeyUp=function(e){"Enter"===e.key?(e.preventDefault(),!this.errorMessages.login.length&&this.emailValue&&this.emailValue.length&&this.passwordInputElement&&this.passwordInputElement.nativeElement.focus()):this.errorMessages.login=""},e.prototype.handlePasswordKeyUp=function(e){"Enter"!=e.key&&(this.errorMessages.password="")},e.prototype.handleChallengeCodeKeyUp=function(e){"Enter"!=e.key&&(this.errorMessages.challenge="")},e.prototype.handleClose=function(){this.cleanForm(),this.nimClose.next()},e.prototype.handleChangeAuthType=function(e){this.nimAuthTypeChange.next(e)},e.prototype.handleUpgrade=function(){window.open(this.upgradeLink,"_blank")},e.prototype.handleOpenTermsLink=function(e){e.preventDefault(),window.open(this.termsLink,"_blank")},e.prototype.handleOpenOtpLink=function(e){e.preventDefault(),window.open(this.otpLink,"_blank")},e.prototype.cleanForm=function(){this.emailValue="",this.passwordValue="",this.isChallengeActive=!1,this.challengeValue={state:"",answer:"",challengeType:"",image:""},this.errorMessages={login:"",password:"",form:"",challenge:""}},e}()},"./src/app/auth-form/auth-form.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NimWebshareAuthFormModule",(function(){return r}));var r=function(){}},"./src/app/auth-form/auth.model.ts":function(e,t,n){"use strict";var r,o;n.r(t),n.d(t,"NIM_AUTH_TYPE",(function(){return r})),n.d(t,"NIM_AUTH_ERRORS",(function(){return o})),function(e){e[e.SIGNIN=0]="SIGNIN",e[e.SIGNUP=1]="SIGNUP",e[e.REMOVE=2]="REMOVE"}(r||(r={})),function(e){e[e.LOGIN_REQUIRED=0]="LOGIN_REQUIRED",e[e.LOGIN_INCORRECT=1]="LOGIN_INCORRECT",e[e.PASSWORD_REQUIRED=2]="PASSWORD_REQUIRED",e[e.PASSWORD_MIN=3]="PASSWORD_MIN",e[e.LOGIN_WRONG_DATA=4]="LOGIN_WRONG_DATA",e[e.REGISTRATION_WRONG_DATA=5]="REGISTRATION_WRONG_DATA",e[e.EXISTED_EMAIL=6]="EXISTED_EMAIL",e[e.CODE_REQUIRED=7]="CODE_REQUIRED",e[e.WRONG_CODE=8]="WRONG_CODE",e[e.CODE_ONLY_NUMBERS=9]="CODE_ONLY_NUMBERS",e[e.CODE_SIX_NUMBERS=10]="CODE_SIX_NUMBERS"}(o||(o={}))},"./src/app/branding/branding-logo.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_BrandingLogoComponent",(function(){return s})),n.d(t,"View_BrandingLogoComponent_0",(function(){return u})),n.d(t,"View_BrandingLogoComponent_Host_0",(function(){return d})),n.d(t,"BrandingLogoComponentNgFactory",(function(){return p}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/branding/branding-logo.component.ts"),a=n("./src/app/universal-config.ts"),s=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      display: flex;\n      align-items: center;\n    }\n\n    .logo[_ngcontent-%COMP%]{\n      display: flex;\n    }\n\n    .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{\n      max-width: 100%;\n      max-height: 50px;\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.logoSrc,""))}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.sharesLogoLink,"")),e(t,1,0,r["ɵinlineInterpolate"](1,"",n.logoSrc,""))}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","logo"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](4,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,!n.sharesLogoLink),e(t,4,0,n.sharesLogoLink)}),null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-branding-logo",[],null,null,null,u,s)),r["ɵdid"](1,573440,null,0,i.BrandingLogoComponent,[a.Config],null,null)],null,null)}var p=r["ɵccf"]("nns-branding-logo",i.BrandingLogoComponent,d,{sharesLogo:"sharesLogo",sharesLogoLink:"sharesLogoLink",visual:"visual"},{},[])},"./src/app/branding/branding-logo.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"BrandingLogoComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/universal-config.ts");var r=function(){function e(e){this.config=e,this.fileServerUrl=this.config.get("BOX_URL")+"/file/"}return e.prototype.ngOnChanges=function(e){this.visual&&this.visual.isPreview?this.setLogoSrc(this.visual.isPreview):this.setLogoSrc(!1),e.sharesLogoLink&&e.sharesLogoLink.currentValue&&this.setSharesLogoLink(e.sharesLogoLink.currentValue)},e.prototype.setLogoSrc=function(e){this.logoSrc=e?this.sharesLogo:this.fileServerUrl+this.sharesLogo},e.prototype.setSharesLogoLink=function(e){-1==e.indexOf("http://")&&-1==e.indexOf("https://")&&(this.sharesLogoLink="http://"+e)},e}()},"./src/app/branding/branding-resolver.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"BrandingResolverService",(function(){return u}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/@ngrx/store/fesm5/store.js"),i=n("./src/app/visual/visual.actions.ts"),a=n("./src/angular2-meta.ts"),s=n("./src/app/branding/branding.actions.ts"),l=n("./node_modules/@angular/core/fesm5/core.js"),c=n("./node_modules/@nguniversal/express-engine/fesm5/tokens.js"),u=function(){function e(e,t,n,r){this._store=e,this.request=t,this.isBrowser=n,this._meta=r}return e.prototype.resolve=function(){var e,t;return this.isBrowser&&(e=this.detectIsPreview(window.location.search))&&(t=this.getBrandingParams(window.location.search)),t&&(this._store.dispatch(Object(s.setBrandingTheme)(t)),t.theme&&this._store.dispatch(Object(i.setTheme)(t.theme))),this._store.dispatch(Object(i.setIsPreview)(e)),Object(r.of)(r.EMPTY)},e.prototype.detectIsPreview=function(e){return-1!=e.indexOf("preview")},e.prototype.getBrandingParams=function(e){return e.replace("?","").split("&").reduce((function(e,t){var n=t.split("=");if("preview"!=n[0]){var r=decodeURIComponent(n[1]),o=void 0;o="true"==r||"false"==r?"true"==r:r,e[decodeURIComponent(n[0])]=o}return e}),{})},e.ngInjectableDef=l.defineInjectable({factory:function(){return new e(l.inject(o.Store),l.inject(c.REQUEST,8),l.inject("isBrowser"),l.inject(a.Meta))},token:e,providedIn:"root"}),e}()},"./src/app/branding/branding.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SET_BRANDING_THEME",(function(){return r})),n.d(t,"SET_SHARES_LOGO_STORED_FILE_UUID",(function(){return o})),n.d(t,"setBrandingTheme",(function(){return i})),n.d(t,"setSharesLogoStoredFileUUID",(function(){return a}));var r="SET_BRANDING_THEME",o="SET_SHARES_LOGO_STORED_FILE_UUID";function i(e){return{type:r,value:e}}function a(e){return{type:o,value:e}}},"./src/app/branding/branding.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"brandingInitialState",(function(){return o})),n.d(t,"brandingReducer",(function(){return i}));var r=n("./src/app/branding/branding.actions.ts"),o={isFetching:!0,sharesAllowIndexing:!1,sharesAllowPrint:!0,sharesLogoStoredFileUUID:null,sharesLogoPosition:"left",sharesLogoLink:null,sharesFaviconStoredFileUUID:null,sharesCoverStoredFileUUID:null,sharesTopbar:!0,sharesCopyBlotLinkIcon:!0,sharesFullscreen:!0,sharesShareButton:!0,sharesShowDate:!1,sharesOutliner:!0,theme:"day"};function i(e,t){switch(void 0===e&&(e=o),t.type){case r.SET_BRANDING_THEME:return Object.assign({},e,{isFetching:!1},t.value);case r.SET_SHARES_LOGO_STORED_FILE_UUID:return Object.assign({},e,{sharesLogoStoredFileUUID:t.value});default:return e}}},"./src/app/branding/branding.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectBranding",(function(){return o}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=Object(r.createFeatureSelector)("branding")},"./src/app/branding/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"BrandingModule",(function(){return r}));var r=function(){}},"./src/app/common/addthis.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AddThisService",(function(){return o}));var r=n("./node_modules/rxjs/Observable.js"),o=function(){function e(){}return e.prototype.removeScript=function(){var e=null,t=null,n=null;for((e=document.getElementById("addthis-js"))&&e.parentNode.removeChild(e),(n=document.getElementById("_atssh"))&&(n.style.display="none"),t=document.getElementsByClassName("addthis-smartlayers");t.length>0;)t[0].parentNode.removeChild(t[0]);for(t=document.getElementsByClassName("addthis-smartlayers-desktop");t.length>0;)t[0].parentNode.removeChild(t[0]);for(t=document.getElementsByClassName("addthis-smartlayers-mobile");t.length>0;)t[0].parentNode.removeChild(t[0]);return!0},e.prototype.showLayers=function(){var e=null,t=null;console.log("what here.."),(t=document.getElementById("_atssh"))&&(t.style.display="block"),e=document.getElementsByClassName("addthis-smartlayers");for(var n=0;n<e.length;n++)e[0].style.display="block";e=document.getElementsByClassName("addthis-smartlayers-desktop");for(n=0;n<e.length;n++)e[0].style.display="block";e=document.getElementsByClassName("addthis-smartlayers-mobile");for(n=0;n<e.length;n++)e[0].style.display="block";return!0},e.prototype.hideLayers=function(){var e=null,t=null;(t=document.getElementById("_atssh"))&&(t.style.display="none"),e=document.getElementsByClassName("addthis-smartlayers");for(var n=0;n<e.length;n++)e[0].style.display="none";e=document.getElementsByClassName("addthis-smartlayers-desktop");for(n=0;n<e.length;n++)e[0].style.display="none";e=document.getElementsByClassName("addthis-smartlayers-mobile");for(n=0;n<e.length;n++)e[0].style.display="none";return!0},e.prototype.loadProject=function(e,t){var n=this;return r.Observable.create((function(r){switch(!0){case!document||!window:r.error("Cannot render it on Server"),r.complete();case null!=document.getElementById("addthis-js"):t?n.hideLayers():n.showLayers(),window.addthis.layers&&window.addthis.layers.refresh&&window.addthis.layers.refresh(),r.next(!0),r.complete();break;case!e:r.error("no-project"),r.complete();break;default:var o=document.createElement("script");o.type="text/javascript",o.id="addthis-js",o.async=!0,o.src="https://s7.addthis.com/js/300/addthis_widget.js#pubid="+e,o.onload=function(e){t?n.hideLayers():n.showLayers(),window.addthis.init(),r.next(!0),r.complete()};var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(o,i)}}))},e.prototype.initAddThis=function(e,t){return this.loadProject(e,t)},e}()},"./src/app/common/button.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ButtonComponent",(function(){return l})),n.d(t,"View_ButtonComponent_0",(function(){return d})),n.d(t,"View_ButtonComponent_Host_0",(function(){return p})),n.d(t,"ButtonComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/common/button.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display:inline-block;\n      vertical-align:top;\n      position:relative;\n      background:#0096a5;\n      text-align:center;\n      border:none;\n      color:#fff;\n      cursor:pointer;\n      padding:0 4px;\n      margin:0;\n      border-radius:2px;\n      font-size:12px;\n      box-sizing:border-box;\n      font-weight:bold;\n      text-transform:uppercase;\n      transition:all 0.1s ease-out;\n    }\n    .nns-button-layout[_ngcontent-%COMP%] {height:36px;}\n    .nns-button-text[_ngcontent-%COMP%] {\n      padding:0 12px;\n      white-space:nowrap;\n    }\n    [_nghost-%COMP%]:hover, [_nghost-%COMP%]:focus {background:#148599;}\n    [_nghost-%COMP%]     nns-icon {\n      min-width:16px;\n      min-height:16px;\n    }\n    [_nghost-%COMP%]   .nns-button-toggle-icon[_ngcontent-%COMP%] {display:none;}\n    [_nghost-%COMP%]   .nns-button-toggle-icon[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%], [_nghost-%COMP%]   .nns-button-active-icon[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {display:block;}\n    .nns-button-active[_nghost-%COMP%]   .nns-button-toggle-icon[_ngcontent-%COMP%] {display:block;}\n    .nns-button-active[_nghost-%COMP%]   .nns-button-active-icon[_ngcontent-%COMP%] {display:none;}\n\n    .secondary[_nghost-%COMP%] {background:#414b4c;}\n    .secondary[_nghost-%COMP%]:hover, .secondary[_nghost-%COMP%]:focus {background:#000;}\n\n    .medium[_nghost-%COMP%]   .nns-button-layout[_ngcontent-%COMP%] {height:44px;}\n\n    .icon[_nghost-%COMP%] {padding:0;}\n    .icon[_nghost-%COMP%]   .nns-button-layout[_ngcontent-%COMP%] {height:auto;}\n\n    .transparent[_nghost-%COMP%] {background:none;}\n    .transparent[_nghost-%COMP%]:hover, .transparent[_nghost-%COMP%]:focus {background:rgba(0,0,0, 0.1);}\n\n    .disabled[_nghost-%COMP%] {background:rgba(0,0,0, 0.2); cursor:auto;}\n    .disabled[_nghost-%COMP%]:hover, .disabled[_nghost-%COMP%]:focus {background:rgba(0,0,0, 0.2);}\n\n    .text-colored[_nghost-%COMP%] {color:#0095A7; background:none;}\n    .text-colored[_nghost-%COMP%]:hover, .text-colored[_nghost-%COMP%]:focus {background:rgba(0, 149, 167, 0.1);}\n\n    .full-width[_nghost-%COMP%] {width:100%; display: block;}",".nns-theme-night.secondary[_nghost-%COMP%], .nns-theme-night   .secondary[_nghost-%COMP%] {\n      background:#000;\n    }\n    .nns-theme-night.text-colored[_nghost-%COMP%], .nns-theme-night   .text-colored[_nghost-%COMP%] {\n      color:#0095A7;\n      background:none;\n    }\n    .nns-theme-night.text-colored[_nghost-%COMP%]:hover, .nns-theme-night   .text-colored[_nghost-%COMP%]:hover, .nns-theme-night.text-colored[_nghost-%COMP%]:focus, .nns-theme-night   .text-colored[_nghost-%COMP%]:focus {\n      background:rgba(181,181,181,0.10);\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["class","nns-button-text"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.text)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,t.component.icon)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"span",[["class","nns-button-layout"],["flex",""],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.text),e(t,4,0,n.icon)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-button",[],null,null,null,d,l)),r["ɵdid"](1,49152,null,0,s.ButtonComponent,[],null,null)],null,null)}var f=r["ɵccf"]("nns-button",s.ButtonComponent,p,{text:"text",icon:"icon"},{},[])},"./src/app/common/button.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ButtonComponent",(function(){return r}));var r=function(){}},"./src/app/common/click-login.directive.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ClickLoginDirective",(function(){return o}));n("./src/app/universal-config.ts"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/login/login.actions.ts"),o=function(){function e(e,t){this._config=e,this._store=t}return e.prototype.onClick=function(e){this._store.dispatch(Object(r.openLoginDialog)())},e}()},"./src/app/common/click-logout.directive.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ClickLogoutDirective",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts");var r=n("./src/app/profile/profile.actions.ts"),o=function(){function e(e,t){this._config=e,this._store=t}return e.prototype.onClick=function(e){this._store.dispatch(Object(r.logoutUser)()),document.cookie="eversessionid=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/"},e}()},"./src/app/common/click-outside.directive.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ClickOutsideDirective",(function(){return o}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=function(){function e(){this.clickOutside=new r.EventEmitter,this.localEvent=null}return e.prototype.onClick=function(e){this.localEvent=e},e.prototype.onDocumentClick=function(e){e!==this.localEvent&&this.clickOutside.emit(e),this.localEvent=null},e}()},"./src/app/common/common.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"CommonModule",(function(){return r}));var r=function(){}},"./src/app/common/dialogs/dialogs.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OPEN_DIALOG",(function(){return r})),n.d(t,"CLOSE_DIALOG",(function(){return o})),n.d(t,"openDialog",(function(){return i})),n.d(t,"closeDialog",(function(){return a}));var r="OPEN_DIALOG",o="CLOSE_DIALOG";function i(e){return{type:r,dialogOptions:e}}function a(){return{type:o}}},"./src/app/common/dialogs/dialogs.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_DialogComponent",(function(){return d})),n.d(t,"View_DialogComponent_0",(function(){return y})),n.d(t,"View_DialogComponent_Host_0",(function(){return v})),n.d(t,"DialogComponentNgFactory",(function(){return b}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@ngxd/core/esm5/ngxd-core.js"),s=n("./src/app/common/click-outside.directive.ts"),l=n("./node_modules/@angular/common/fesm5/common.js"),c=n("./src/app/common/dialogs/dialogs.component.ts"),u=n("./node_modules/@ngrx/store/fesm5/store.js"),d=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      position: fixed;\n      width: 100%;\n      height: 100%;\n      top: 0;\n      left: 0;\n      z-index: 1000;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n    .nns-dialog-content[_ngcontent-%COMP%]{\n      background-color: #fff;\n      z-index: 1;\n      box-shadow: 0 3px 41px 0 rgba(0, 0, 0, 0.26);\n      padding: 24px;\n      width: 490px;\n      max-width: 90%;\n      display: block;\n      position: relative;\n      border-radius: 4px;\n    }\n    .nns-dialog-title[_ngcontent-%COMP%]{\n      margin-bottom: 24px;\n      font-weight: bold;\n      font-size: 16px;\n    }\n    .nns-dialog-text[_ngcontent-%COMP%]{\n      font-size: 13px;\n    }\n    .nns-dialog-actions[_ngcontent-%COMP%]{\n      display: flex;\n      justify-content: flex-end;\n      margin-right: -8px;\n      margin-left: -8px;\n      margin-top: 24px;\n    }\n    .nns-save-button[_ngcontent-%COMP%]{\n      background-color: #0096a7;\n      padding: 8px 11px;\n      color: #fff;\n      font-size: 13px;\n      font-weight: bold;\n      box-sizing: border-box;\n      cursor: pointer;\n      border-radius: 16px;\n    }\n    .nns-cancel-button[_ngcontent-%COMP%]{\n      background-color: rgba(0, 161, 183, 0.1);\n      padding: 8px 11px;\n      margin-right: 10px;\n      color: #00a1b7;\n      font-size: 13px;\n      font-weight: bold;\n      cursor: pointer;\n      border-radius: 16px;\n    }\n    .nns-dialog-close[_ngcontent-%COMP%]{\n      position: absolute;\n      cursor: pointer;\n      right: 4px;\n      top: 4px;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-dialog-content[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-dialog-content[_ngcontent-%COMP%] {\n      background: #292E32;\n      border-color: #161A1E;\n      box-shadow: 4px 4px 38px rgba(19, 30, 32, 0.66);\n    }"],data:{}});function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-dialog-close"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.close()&&r);return r}),null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-icon",[["icon","close-s"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,2).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,2).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](2,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,2,0,"close-s")}),(function(e,t){e(t,1,0,r["ɵnov"](t,2)._classes)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-dialog-title"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.dialogOptions.title)}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,16777216,null,null,1,null,null,null,null,null,null,null)),r["ɵdid"](1,671744,null,0,a["ɵa"],[r.ComponentFactoryResolver,r.ViewContainerRef,r.ChangeDetectorRef,a["ɵb"]],{ngxComponentOutlet:[0,"ngxComponentOutlet"]},null),(e()(),r["ɵand"](0,null,null,0))],(function(e,t){e(t,1,0,t.component.dialogOptions.component)}),null)}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["class","nns-dialog-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component.dialogOptions.text)}))}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-cancel-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.close()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,[" Cancel "]))],null,null)}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,15,"div",[["class","nns-dialog-content"]],null,[[null,"clickOutside"],[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!==i.onClickOutside()&&o);return o}),null,null)),r["ɵdid"](1,16384,null,0,s.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](3,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](5,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](6,0,null,null,4,"div",[["class","nns-dialog-container-wrapper"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](8,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](10,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](11,0,null,null,4,"div",[["class","nns-dialog-actions"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](13,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](14,0,null,null,1,"div",[["class","nns-save-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onSuccess()&&r);return r}),null,null)),(e()(),r["ɵted"](15,null,[" "," "]))],(function(e,t){var n=t.component;e(t,3,0,n.dialogOptions.showClose),e(t,5,0,n.dialogOptions.title),e(t,8,0,n.dialogOptions.component),e(t,10,0,n.dialogOptions.text),e(t,13,0,!n.dialogOptions.hideCancelButton)}),(function(e,t){var n=t.component;e(t,15,0,n.dialogOptions.okButtonText?n.dialogOptions.okButtonText:"Ok")}))}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),y,d)),r["ɵdid"](1,49152,null,0,c.DialogComponent,[u.Store],null,null)],null,null)}var b=r["ɵccf"]("nns-dialog",c.DialogComponent,v,{dialogOptions:"dialogOptions"},{},[])},"./src/app/common/dialogs/dialogs.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"DialogComponent",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/common/dialogs/dialogs.actions.ts"),o=function(){function e(e){this._store=e,this.clickOutsideNum=0}return e.prototype.onClickOutside=function(){this.clickOutsideNum>0&&this.close(),this.clickOutsideNum++},e.prototype.close=function(){this._store.dispatch(Object(r.closeDialog)())},e.prototype.onSuccess=function(){this.dialogOptions.onSuccess()},e.prototype.closeFullScreen=function(){this.close()},e}()},"./src/app/common/dialogs/dialogs.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"dialogsReducer",(function(){return o}));var r=n("./src/app/common/dialogs/dialogs.actions.ts");function o(e,t){switch(t.type){case r.OPEN_DIALOG:return Object.assign({},e,{isShowDialog:!0,dialogOptions:t.dialogOptions});case r.CLOSE_DIALOG:return Object.assign({},e,{isShowDialog:!1,content:""});default:return e}}},"./src/app/common/dialogs/dialogs.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectDialog",(function(){return o})),n.d(t,"getDialog",(function(){return i}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=Object(r.createFeatureSelector)("dialogs"),i=Object(r.createSelector)(o,(function(e){return e}))},"./src/app/common/exit-fullscreen.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ExitFullscreenComponent",(function(){return c})),n.d(t,"View_ExitFullscreenComponent_0",(function(){return u})),n.d(t,"View_ExitFullscreenComponent_Host_0",(function(){return d})),n.d(t,"ExitFullscreenComponentNgFactory",(function(){return p}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/click-outside.directive.ts"),i=n("./src/app/common/icon.component.ngfactory.js"),a=n("./src/app/common/icon.component.ts"),s=n("./src/app/common/exit-fullscreen.component.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      position: absolute;\n      top: 38px;\n      left: 0;\n      right: 0;\n      margin: 0 auto;\n      border: 1px solid #00A1B7;\n      border-radius: 4px;\n      width: 390px;\n      background-color: #fff;\n      z-index: 9;\n      opacity: 1;\n      transition: 0.5s;\n    }\n\n    .nns-exit-layout[_ngcontent-%COMP%]{\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      padding: 14px 20px;\n    }\n\n    .nns-exit-layout[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 18px;\n      min-height: 18px;\n    }\n\n    .nns-exit-text[_ngcontent-%COMP%]{\n      margin-left: 5px;\n      font-size: 13px;\n      font-weight: bold;\n      margin-top: 3px;\n    }\n\n    .nns-exit-separator[_ngcontent-%COMP%]{\n      height: 19px;\n      width: 1px;\n      background: #D7D7D7;\n      margin-left: 15px;\n      margin-right: 15px;\n    }\n\n    .nns-exit-button[_ngcontent-%COMP%]{\n      cursor: pointer;\n      font-size: 14px;\n      color: #00A1B7;\n    }\n\n    .nns-hide-animation[_nghost-%COMP%]{\n      opacity: 0;\n    }\n\n    .nns-hidden[_nghost-%COMP%]{\n      display: none;\n    }\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background: #20272A;\n\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-exit-button[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-exit-button[_ngcontent-%COMP%]{\n      color: #0BB5CC;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-exit-separator[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-exit-separator[_ngcontent-%COMP%]{\n      background: #fff;\n    }"],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"div",[["class","nns-exit-layout"]],null,[[null,"clickOutside"],[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!==i.onClickOutside()&&o);return o}),null,null)),r["ɵdid"](1,16384,null,0,o.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","lock"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),i.View_IconComponent_0,i.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,a.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,1,"div",[["class","nns-exit-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["This page is full screen"])),(e()(),r["ɵeld"](6,0,null,null,0,"span",[["class","nns-exit-separator"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,1,"div",[["class","nns-exit-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onExitFullScreen()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Exit full screen (ESC)"]))],(function(e,t){e(t,3,0,"lock")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-exit-fullscreen",[],[[8,"className",0]],null,null,u,c)),r["ɵdid"](1,114688,null,0,s.ExitFullscreenComponent,[l.Store],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}var p=r["ɵccf"]("nns-exit-fullscreen",s.ExitFullscreenComponent,d,{},{},[])},"./src/app/common/exit-fullscreen.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ExitFullscreenComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e,this.clickNum=0}return e.prototype.ngOnInit=function(){var e=this;setTimeout((function(){e.hide()}),2e3)},e.prototype.onExitFullScreen=function(){this._store.dispatch(Object(r.turnOffFullscreen)())},e.prototype.hide=function(){var e=this;this.classNames="nns-hide-animation",setTimeout((function(){e.classNames="nns-hidden"}),500)},e.prototype.onClickOutside=function(){1==this.clickNum&&this.hide(),this.clickNum+=1},e}()},"./src/app/common/icon.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_IconComponent",(function(){return i})),n.d(t,"View_IconComponent_0",(function(){return a})),n.d(t,"View_IconComponent_Host_0",(function(){return s})),n.d(t,"IconComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: block;\n      min-height: 24px;\n      min-width: 24px;\n    }\n    .no-flex[_nghost-%COMP%]   [_nghost-%COMP%], .no-flex   [_nghost-%COMP%]   [_nghost-%COMP%] {\n      display: block;\n    }"],data:{}});function a(e){return r["ɵvid"](0,[],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),a,i)),r["ɵdid"](1,573440,null,0,o.IconComponent,[],null,null)],null,(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}var l=r["ɵccf"]("nns-icon",o.IconComponent,s,{icon:"icon",hoverIcon:"hoverIcon"},{},[])},"./src/app/common/icon.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"IconComponent",(function(){return r}));var r=function(){function e(){}return e.prototype.ngOnChanges=function(){this.icon&&(this._classes="icon-"+this.icon)},e.prototype.onMouseEnter=function(){this.hoverIcon&&(this._classes="icon-"+this.hoverIcon)},e.prototype.onMouseLeave=function(){this.hoverIcon&&(this._classes="icon-"+this.icon)},e}()},"./src/app/common/input.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_InputComponent",(function(){return a})),n.d(t,"View_InputComponent_0",(function(){return u})),n.d(t,"View_InputComponent_Host_0",(function(){return d})),n.d(t,"InputComponentNgFactory",(function(){return p}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/common/input.component.ts"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      padding:0 0 6px 0;\n      display:block;\n    }\n    label[_ngcontent-%COMP%] {\n      display:block;\n      padding:0 0 6px 0;}\n    [_nghost-%COMP%]     input {\n      display:block;\n      width:100%;\n      padding:0 12px;\n      height:44px;\n      border:1px solid #cfd1d3;\n      border-radius:2px;\n      box-sizing:border-box;\n      appearance:none;\n    }\n    [_nghost-%COMP%]     input:hover {border-color:#bbb;}\n    [_nghost-%COMP%]     input:focus {border-bottom-color:#19a1b9;}\n    .nns-input-info-text[_ngcontent-%COMP%] {padding:6px 0 0 0; font-size:12px;}\n    .nns-input-error-text[_ngcontent-%COMP%] {\n      padding:6px 0 0 0;\n      font-size:12px;\n      color:rgb(244, 67, 54);\n    }\n    .nns-input-error-position-top[_ngcontent-%COMP%] { margin-bottom: 10px;}\n\n    .nns-invalid[_nghost-%COMP%]   label[_ngcontent-%COMP%] {color:rgb(244, 67, 54);}\n    .nns-invalid[_nghost-%COMP%]     input {border-bottom-color:rgb(244, 67, 54);}\n\n    .small[_nghost-%COMP%]     input {height:28px;}\n\n    [_nghost-%COMP%]     input[readonly] {background: #EBEFF1;}",".nns-theme-night[_nghost-%COMP%]     input, .nns-theme-night   [_nghost-%COMP%]     input {\n      background: #3C4849;\n      border-color:#2F3737;\n      color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]     input:hover, .nns-theme-night   [_nghost-%COMP%]     input:hover, .nns-theme-night[_nghost-%COMP%]     input:focus, .nns-theme-night   [_nghost-%COMP%]     input:focus {\n      border-color:#2F3737;\n      background:rgba(181,181,181,0.10);\n    }\n    .nns-theme-night[_nghost-%COMP%]     input[readonly], .nns-theme-night   [_nghost-%COMP%]     input[readonly] {\n      background:rgba(0,0,0,0.12);\n    }"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"label",[["class","nns-input-label"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.label)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-input-error-text nns-input-error-position-top nns-animated"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.error)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-input-error-text nns-animated"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.error)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,s)),r["ɵdid"](1,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](3,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵncd"](null,0),(e()(),r["ɵeld"](5,0,null,null,1,"div",[["class","nns-input-info-text"]],null,null,null,null,null)),(e()(),r["ɵted"](6,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](8,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.label),e(t,3,0,n.error&&!n.errorPosition||n.errorPosition==n.errorMessagePositions.TOP),e(t,8,0,n.error&&!n.errorPosition||n.errorPosition==n.errorMessagePositions.BOTTOM)}),(function(e,t){e(t,6,0,t.component.info)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-input",[],null,null,null,u,a)),r["ɵdid"](1,49152,null,0,i.InputComponent,[],null,null)],null,null)}var p=r["ɵccf"]("nns-input",i.InputComponent,d,{label:"label",info:"info",error:"error",errorPosition:"errorPosition"},{},["*"])},"./src/app/common/input.component.ts":function(e,t,n){"use strict";var r;n.r(t),n.d(t,"ERROR_MESSAGE_POSITIONS",(function(){return r})),n.d(t,"InputComponent",(function(){return o})),function(e){e[e.BOTTOM=0]="BOTTOM",e[e.TOP=1]="TOP"}(r||(r={}));var o=function(){this.errorMessagePositions=r}},"./src/app/common/loader.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_LoaderComponent",(function(){return i})),n.d(t,"View_LoaderComponent_0",(function(){return a})),n.d(t,"View_LoaderComponent_Host_0",(function(){return s})),n.d(t,"LoaderComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/loader.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: flex;\n      justify-content: center;\n      align-items: center;\n    }\n    img[_ngcontent-%COMP%] {\n      animation: 4s linear 0s infinite rotateAnimation;\n    }\n    @keyframes rotateAnimation { from { transform: rotate(0); } to { transform: rotate(360deg); }  }"],data:{}});function a(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[["src","./dist/assets/loader-32.png"]],null,null,null,null,null))],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-loader",[],null,null,null,a,i)),r["ɵdid"](1,49152,null,0,o.LoaderComponent,[],null,null)],null,null)}var l=r["ɵccf"]("nns-loader",o.LoaderComponent,s,{},{},[])},"./src/app/common/loader.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"LoaderComponent",(function(){return r}));var r=function(){}},"./src/app/common/safe-html.pipe.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SafeHtmlPipe",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js");var r=function(){function e(e){this.sanitized=e}return e.prototype.transform=function(e){return this.sanitized.bypassSecurityTrustHtml(e)},e}()},"./src/app/common/safe-url.pipe.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SafeUrlPipe",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js");var r=function(){function e(e){this.sanitized=e}return e.prototype.transform=function(e){return this.sanitized.bypassSecurityTrustUrl(e)},e}()},"./src/app/common/toast.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ToastComponent",(function(){return a})),n.d(t,"View_ToastComponent_0",(function(){return s})),n.d(t,"View_ToastComponent_Host_0",(function(){return l})),n.d(t,"ToastComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/toast.component.ts"),i=n("./node_modules/@ngrx/store/fesm5/store.js"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      overflow:hidden;\n      min-width:250px;\n      max-width:500px;\n      display:block;\n      margin:8px;\n    }\n    .nns-toast-content[_ngcontent-%COMP%] {\n      padding:8px;\n      background: #fff;\n      border: 1px solid rgba(0,0,0,0.12);\n      border-radius: 4px;\n      color: #161616;\n      box-shadow: 0 9px 14px 0 rgba(0, 0, 0, 0.17);\n      font-weight: bold;\n    }\n    .nns-toast-text[_ngcontent-%COMP%] {\n      padding:8px;\n      justify-content: center;\n    }\n    .nns-toast-action[_ngcontent-%COMP%] {\n      padding:0 0 0 8px;\n      border-left:1px solid rgba(255,255,255,0.12);\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-toast-content[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-toast-content[_ngcontent-%COMP%] {\n      background: #292E32;\n      border:1px solid rgba(255, 255, 255, 0.16);\n      color: rgba(255, 255, 255, 0.87);\n    }"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-toast-content"],["flex",""],["layout","row"],["layout-align","start stretch"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-toast-text"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵted"](2,null,["",""]))],null,(function(e,t){e(t,2,0,t.component.toast.text)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-toast",[],null,[[null,"click"],["document","click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);return o}),s,a)),r["ɵdid"](1,114688,null,0,o.ToastComponent,[i.Store],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("nns-toast",o.ToastComponent,l,{toast:"toast"},{},[])},"./src/app/common/toast.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ToastComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e,this.toastClickEvent=null,this.clickCount=0}return e.prototype.ngOnInit=function(){var e=this;setTimeout((function(){e.close()}),2e3)},e.prototype.onClick=function(e){this.toastClickEvent=e,this.close()},e.prototype.onDocumentClick=function(e){e!==this.toastClickEvent&&this.clickCount&&this.close(),this.toastClickEvent=null,this.clickCount=this.clickCount++},e.prototype.close=function(){this._store.dispatch(Object(r.hideToast)(this.toast))},e}()},"./src/app/common/toasts.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ToastsComponent",(function(){return c})),n.d(t,"View_ToastsComponent_0",(function(){return d})),n.d(t,"View_ToastsComponent_Host_0",(function(){return p})),n.d(t,"ToastsComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/toast.component.ngfactory.js"),i=n("./src/app/common/toast.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=n("./src/app/common/toasts.component.ts"),c=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      z-index: 1000;\n      position:fixed;\n    }\n\n    [_nghost-%COMP%]   nns-toast[_ngcontent-%COMP%]:first-child {margin-top:0;}\n    [_nghost-%COMP%]   nns-toast[_ngcontent-%COMP%]:last-child {margin-bottom:0;}"],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-toast",[],null,[[null,"click"],["document","click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);return o}),o.View_ToastComponent_0,o.RenderType_ToastComponent)),r["ɵdid"](1,114688,null,0,i.ToastComponent,[a.Store],{toast:[0,"toast"]},null)],(function(e,t){e(t,1,0,t.context.$implicit)}),null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](1,278528,null,0,s.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,1,0,t.component.toasts)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-toasts",[],null,null,null,d,c)),r["ɵdid"](1,49152,null,0,l.ToastsComponent,[],null,null)],null,null)}var f=r["ɵccf"]("nns-toasts",l.ToastsComponent,p,{toasts:"toasts"},{},[])},"./src/app/common/toasts.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ToastsComponent",(function(){return r}));var r=function(){}},"./src/app/common/unescape.pipe.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"UnescapePipe",(function(){return i})),n.d(t,"ɵ0",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(e){var t={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">"};return e.replace(/&(nbsp|amp|quot|lt|gt);/g,(function(e,n){return t[n]})).replace(/&#(\d+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)}))},o=r,i=function(){function e(){}return e.prototype.transform=function(e){return r(e)},e}()},"./src/app/dialog/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"DialogModule",(function(){return r}));var r=function(){}},"./src/app/embed/embed-header.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_EmbedHeaderComponent",(function(){return d})),n.d(t,"View_EmbedHeaderComponent_0",(function(){return b})),n.d(t,"View_EmbedHeaderComponent_Host_0",(function(){return _})),n.d(t,"EmbedHeaderComponentNgFactory",(function(){return w}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/embed/embed-header.component.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=n("./src/app/universal-config.ts"),u=n("./src/app/share/share-copy.service.ts"),d=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      position: fixed;\n      width: calc(100% - 2px);\n      height: 52px;\n      top: auto;\n      bottom: 1px;\n      left: 1px;\n      background-color: #fff;\n      border-top: 1px solid rgba(0, 0, 0, 0.12);\n      padding: 8px 11px;\n      box-sizing: border-box;\n      display: flex;\n      align-items: center;\n      z-index: 99;\n    }\n    .nns-embed-logo[_ngcontent-%COMP%]{\n      width: 32px;\n      height: 32px;\n      border-radius: 50%;\n      display: flex;\n      overflow: hidden;\n    }\n    .nns-embed-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{\n      width: 32px;\n      height: 32px;\n      object-fit: cover;\n    }\n    .nns-embed-title[_ngcontent-%COMP%]{\n      font-size: 16px;\n      line-height: normal;\n      font-weight: bold;\n      max-width: 100%;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n      display: flex;\n      align-items: center;\n      color: rgba(0,0,0, 0.8);\n    }\n    .nns-href[_ngcontent-%COMP%]{\n      color: #00A1B7;\n      font-size: 13px;\n      line-height: 16px;\n      text-decoration: none;\n    }\n    .nns-embed-header__right[_ngcontent-%COMP%]{\n      display: flex;\n      flex-direction: column;\n      justify-content: center;\n      max-width: calc(100% - 42px);\n    }\n    .nns-embed-header__left[_ngcontent-%COMP%]{\n      margin-right: 10px;\n    }\n    .nns-embed-link[_ngcontent-%COMP%]{\n      display: flex;\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#414B4C;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-embed-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-embed-title[_ngcontent-%COMP%]{\n      color: #fff;\n    }\n    .nns-embed__video[_nghost-%COMP%], .nns-embed__video   [_nghost-%COMP%] {\n      border: none;\n    }"],data:{}});function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","get-nimbus-note"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"get-nimbus-note")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.fileUrl+n.branding.sharesLogoStoredFileUUID,""))}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.fileUrl+n.share.instance.org.smallLogoStoredFileUUID,""))}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"a",[["class","nns-embed-title"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.shareUrl,"")),e(t,1,0,n.note.title)}))}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Open this page"]))],null,null)}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Open this folder"]))],null,null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"a",[["class","nns-href"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"note"==(null==n.note?null:n.note.type)),e(t,4,0,"folder"==(null==n.note?null:n.note.type))}),(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.shareUrl,""))}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","nns-embed-header__left"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,6,"a",[["class","nns-embed-logo"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](3,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](5,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](8,0,null,null,5,"div",[["class","nns-embed-header__right"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](10,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](11,0,null,null,2,"div",[["class","nns-embed-link"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](13,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,!(n.share&&n.share.instance&&n.share.instance.org&&n.share.instance.org.smallLogoStoredFileUUID||n.branding&&n.branding.sharesLogoStoredFileUUID)),e(t,5,0,n.branding&&n.branding.sharesLogoStoredFileUUID),e(t,7,0,(!n.branding||!n.branding.sharesLogoStoredFileUUID)&&n.share&&n.share.instance&&n.share.instance.org&&n.share.instance.org.smallLogoStoredFileUUID),e(t,10,0,n.note),e(t,13,0,!(null!=n.visual&&n.visual.isVideo))}),(function(e,t){var n=t.component;e(t,1,0,r["ɵinlineInterpolate"](1,"",n.websiteUrl,""))}))}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-embed-header",[],null,null,null,b,d)),r["ɵdid"](1,573440,null,0,s.EmbedHeaderComponent,[l.Store,c.Config,u.ShareCopyService,"isBrowser"],null,null)],null,null)}var w=r["ɵccf"]("nns-embed-header",s.EmbedHeaderComponent,_,{note:"note",visual:"visual",share:"share",branding:"branding"},{},[])},"./src/app/embed/embed-header.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"EmbedHeaderComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts"),n("./src/app/share/index.ts");var r=function(){function e(e,t,n,r){this._store=e,this._config=t,this._shareCopyService=n,this.isBrowser=r,this.nimbusUrl=this._config.get("NIMBUS_URL"),this.authUrl=this._config.get("AUTH_HOST"),this.fileUrl=this._config.get("BOX_URL")+"/file/",this.nimbusDomain=this._config.get("NIMBUS_DOMAIN")}return e.prototype.ngOnChanges=function(e){if(e.note&&e.note.currentValue&&this.isBrowser&&(this.shareUrl=window.location.origin+"/s"+this.note.nnShareUrl),e.share&&this.isBrowser)if(this.share&&this.share.instance&&this.share.instance.org){var t=this.share.instance.org;t.domain?this.websiteUrl="https://"+t.domain+"/space":t.sub&&(this.websiteUrl="https://"+t.sub+"."+this.nimbusDomain+"/space")}else this.websiteUrl=this.authUrl+"/space"},e}()},"./src/app/embed/embed-popup.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_EmbedPopupComponent",(function(){return l})),n.d(t,"View_EmbedPopupComponent_0",(function(){return h})),n.d(t,"View_EmbedPopupComponent_Host_0",(function(){return m})),n.d(t,"EmbedPopupComponentNgFactory",(function(){return g}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./node_modules/@angular/forms/fesm5/forms.js"),a=n("./src/app/embed/embed-popup.component.ts"),s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=r["ɵcrt"]({encapsulation:0,styles:[".form[_ngcontent-%COMP%]{\n      display: flex;\n      flex-direction: column;\n    }\n    .nns-control_group[_ngcontent-%COMP%]{\n      display: flex;\n      flex-direction: column;\n    }\n    .nns-control_group__row[_ngcontent-%COMP%]{\n      flex-direction: row;\n    }\n    .nns-control[_ngcontent-%COMP%]:not(:last-child){\n      margin-bottom: 15px;\n    }\n    .nns-control[_ngcontent-%COMP%]:not(.nns-control__row)   .nns-control_label[_ngcontent-%COMP%]{\n      margin-bottom: 13px;\n    }\n    .nns-control__row[_ngcontent-%COMP%]{\n      display: flex;\n      align-items: center;\n    }\n    .nns-control_group__row[_ngcontent-%COMP%]   .nns-control[_ngcontent-%COMP%]:not(:first-child){\n      margin-left: 10px;\n    }\n    .nns-control_group[_ngcontent-%COMP%]   .nns-control[_ngcontent-%COMP%] {\n      margin-bottom: 0;\n    }\n    .nns-control_group[_ngcontent-%COMP%]:not(:last-child){\n      margin-bottom: 15px;\n    }\n    .nns-control_label[_ngcontent-%COMP%]{\n      font-size: 13px;\n      line-height: 16px;\n      margin-right: 10px;\n    }\n    .nns-control_label__gray[_ngcontent-%COMP%]{\n      color: #5C6061;\n    }\n    .nns-control_input[_ngcontent-%COMP%]{\n      height: 44px;\n      width: 100%;\n      border: 1px solid rgba(0, 0, 0, 0.12);\n      font-weight: bold;\n      padding: 0 8px;\n      box-sizing: border-box;\n      border-radius: 4px;\n    }\n    .nns-control_input[disabled][_ngcontent-%COMP%]{\n      background-color: #fff;\n    }\n    .nns-control_switch[_ngcontent-%COMP%]{\n      width: 34px;\n      height: 14px;\n      background-color: #AEB7B8;\n      border-radius: 16px;\n      position: relative;\n      transition: 0.2s;\n      cursor: pointer;\n    }\n    .nns-control_switch[_ngcontent-%COMP%]::before{\n      content: '';\n      width: 20px;\n      height: 20px;\n      position: absolute;\n      background: #F5F5F5;\n      box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.237602), 0px 0px 1px rgba(0, 0, 0, 0.12);\n      top: -3px;\n      left: 0;\n      border-radius: 50%;\n      transition: 0.2s;\n    }\n    .nns-control_switch__active[_ngcontent-%COMP%]{\n      background-color: rgb(0,161,183,.5);\n    }\n    .nns-control_switch__active[_ngcontent-%COMP%]::before{\n      left: calc(100% - 20px);\n      background-color: #00A1B7;\n    }\n    .nns-control_input__small[_ngcontent-%COMP%]{\n      height: 30px;\n      width: 70px;\n      font-weight: normal;\n      text-align: center;\n    }\n    .nns-control_submit-check[_ngcontent-%COMP%]{\n      width: 28px;\n      height: 28px;\n      border-radius: 50%;\n      background-color: #00A1B7;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      padding-top: 2px;\n      box-sizing: border-box;\n    }\n    .nns-link[_ngcontent-%COMP%]{\n      white-space: nowrap;\n      margin-left: 14px;\n      font-weight: bold;\n      font-size: 13px;\n    }\n    .nns-link__no-click[_ngcontent-%COMP%]{\n      cursor: default;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-control_label__gray[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-control_label__gray[_ngcontent-%COMP%] {\n      color: #fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-control_input[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-control_input[_ngcontent-%COMP%] {\n      background-color: rgba(255, 255, 255, 0.08);\n      border: 1px solid rgba(255, 255, 255, 0.16);\n      color: rgba(255, 255, 255, 0.87);\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","nns-control nns-control__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-control_label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Show branding in embed"])),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-control_switch"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToggleShowTopBar()&&r);return r}),null,null)),r["ɵdid"](4,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](5,{"nns-control_switch__active":0})],(function(e,t){var n=e(t,5,0,t.component.isShowTopBar);e(t,4,0,"nns-control_switch",n)}),null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"div",[["class","nns-control_group nns-control_group__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"div",[["class","nns-control nns-control__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"div",[["class","nns-control_label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Width"])),(e()(),r["ɵeld"](4,0,[["widthInput",1]],null,0,"input",[["class","nns-control_input nns-control_input__small"],["type","number"]],[[8,"value",0]],[[null,"change"],[null,"keyup"]],(function(e,t,n){var o=!0,i=e.component;"change"===t&&(o=!1!==i.onWidthKeyUp(r["ɵnov"](e,4))&&o);"keyup"===t&&(o=!1!==i.onWidthKeyUp(r["ɵnov"](e,4))&&o);return o}),null,null)),(e()(),r["ɵeld"](5,0,null,null,3,"div",[["class","nns-control nns-control__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"div",[["class","nns-control_label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Height"])),(e()(),r["ɵeld"](8,0,[["heightInput",1]],null,0,"input",[["class","nns-control_input nns-control_input__small"],["type","number"]],[[8,"value",0]],[[null,"change"],[null,"keyup"]],(function(e,t,n){var o=!0,i=e.component;"change"===t&&(o=!1!==i.onHeightKeyUp(r["ɵnov"](e,8))&&o);"keyup"===t&&(o=!1!==i.onHeightKeyUp(r["ɵnov"](e,8))&&o);return o}),null,null))],null,(function(e,t){var n=t.component;e(t,4,0,n.embedWidth),e(t,8,0,n.embedHeight)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"a",[["class","nns-link"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.copyCode()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Copy code"]))],null,null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"a",[["class","nns-link nns-link__no-click"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.copyCode()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Copied!"]))],null,null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","nns-control nns-control__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-control_label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Enable print"])),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-control_switch"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToggleIsPrintActive()&&r);return r}),null,null)),r["ɵdid"](4,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](5,{"nns-control_switch__active":0})],(function(e,t){var n=e(t,5,0,t.component.isPrintActive);e(t,4,0,"nns-control_switch",n)}),null)}function h(e){return r["ɵvid"](0,[r["ɵqud"](402653184,1,{embedInputElement:0}),(e()(),r["ɵeld"](1,0,null,null,25,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(e,t,n){var o=!0;"submit"===t&&(o=!1!==r["ɵnov"](e,3).onSubmit(n)&&o);"reset"===t&&(o=!1!==r["ɵnov"](e,3).onReset()&&o);return o}),null,null)),r["ɵdid"](2,16384,null,0,i["ɵangular_packages_forms_forms_bg"],[],null,null),r["ɵdid"](3,4210688,null,0,i.NgForm,[[8,null],[8,null]],null,null),r["ɵprd"](2048,null,i.ControlContainer,null,[i.NgForm]),r["ɵdid"](5,16384,null,0,i.NgControlStatusGroup,[[4,i.ControlContainer]],null,null),(e()(),r["ɵeld"](6,0,null,null,5,"div",[["class","nns-control nns-control__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,1,"div",[["class","nns-control_label"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Fixed size"])),(e()(),r["ɵeld"](9,0,null,null,2,"div",[["class","nns-control_switch"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToogleIsFixedSize()&&r);return r}),null,null)),r["ɵdid"](10,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](11,{"nns-control_switch__active":0}),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](13,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](15,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](16,0,null,null,8,"div",[["class","nns-control"]],null,null,null,null,null)),(e()(),r["ɵeld"](17,0,null,null,1,"div",[["class","nns-control_label nns-control_label__gray"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Embed code"])),(e()(),r["ɵeld"](19,0,null,null,5,"div",[["class","nns-control nns-control__row"]],null,null,null,null,null)),(e()(),r["ɵeld"](20,0,[[1,0],["embedInput",1]],null,0,"input",[["class","nns-control_input"]],[[8,"readOnly",0],[8,"value",0]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.copyCode()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](22,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](24,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](26,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,11,0,n.isFixedSizeActive);e(t,10,0,"nns-control_switch",r),e(t,13,0,n.isBussines),e(t,15,0,n.isFixedSizeActive),e(t,22,0,!n.isCopied),e(t,24,0,n.isCopied),e(t,26,0,!n.isVideo)}),(function(e,t){var n=t.component;e(t,1,0,r["ɵnov"](t,5).ngClassUntouched,r["ɵnov"](t,5).ngClassTouched,r["ɵnov"](t,5).ngClassPristine,r["ɵnov"](t,5).ngClassDirty,r["ɵnov"](t,5).ngClassValid,r["ɵnov"](t,5).ngClassInvalid,r["ɵnov"](t,5).ngClassPending);e(t,20,0,!0,n.embedCode)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-embed-popup",[],null,null,null,h,l)),r["ɵdid"](1,180224,null,0,a.EmbedPopupComponent,[s.Store],null,null)],null,null)}var g=r["ɵccf"]("nns-embed-popup",a.EmbedPopupComponent,m,{},{},[])},"./src/app/embed/embed-popup.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"EmbedPopupComponent",(function(){return l}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/index.ts"),i=n("./node_modules/rxjs/_esm5/index.js"),a='frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen',s={width:16,height:10},l=function(){function e(e){var t=this;this._store=e,this.isShowTopBar=!0,this.embedWidth=640,this.embedHeight=400,this.isCopied=!1,this.isVideo=!1,this.subscription=new i.Subscription,this.aspectRatio=s;var n=this._store.select("visual"),a=this._store.pipe(Object(r.select)(o.selectCurrentShare));this.generateEmbedCode(),this.subscription.add(n.subscribe((function(e){var n=e.isVideo;if(n&&n!=t.isVideo){t.isVideo=n;var r=t.getVideoSize();t.videoSize=r,t.embedWidth=r.width,t.embedHeight=r.height,t.isPrintActive=!1,t.setEmbedSizeByHeight(t.embedHeight),t.generateEmbedCode()}t.isLoaded=!0}))),this.subscription.add(a.subscribe((function(e){t.isBussines=e.instance&&e.instance.org&&"business"===e.instance.org.orgType}))),this.isPrintActive="true"===localStorage.getItem("nns-print-active")}return e.prototype.onToogleIsFixedSize=function(){if(this.isFixedSizeActive=!this.isFixedSizeActive,this.isVideo){var e=this.videoSize.height;this.setEmbedSizeByHeight(e)}this.generateEmbedCode()},e.prototype.onToggleShowTopBar=function(){this.isShowTopBar=!this.isShowTopBar,this.generateEmbedCode()},e.prototype.onToggleIsPrintActive=function(){this.isPrintActive=!this.isPrintActive,this.generateEmbedCode(),localStorage.setItem("nns-print-active",this.isPrintActive.toString())},e.prototype.onWidthKeyUp=function(e){var t=Number.parseInt(e.value);this.setEmbedSizeByWidth(t),this.generateEmbedCode()},e.prototype.onHeightKeyUp=function(e){var t=Number.parseInt(e.value);this.setEmbedSizeByHeight(t),this.generateEmbedCode()},e.prototype.setEmbedSizeByWidth=function(e){var t=this.getAspectRatio();this.embedWidth=e,this.embedHeight=Math.floor(e/t.width*t.height)},e.prototype.setEmbedSizeByHeight=function(e){var t=this.getAspectRatio();this.embedHeight=e,this.embedWidth=Math.floor(e/t.height*t.width)},e.prototype.generateEmbedCode=function(){var e=this;if(this.isLoaded){var t=this.getEmbedUrl();this.isFixedSizeActive?this.embedCode=this.getFixedSizeEmbedCode(t):this.embedCode=this.getFullSizeEmbedCode(t),this.isCopied=!1}else setTimeout((function(){e.generateEmbedCode()}),10)},e.prototype.getEmbedUrl=function(){var e=window.location,t=e.origin,n=e.pathname,r=e.hash,o=!this.isVideo&&this.isPrintActive;return""+t+n+"/?embed=true"+(this.isShowTopBar?"":"&hide-header=true")+(o?"&print-enabled=true":"")+r},e.prototype.getFullSizeEmbedCode=function(e){return'<div style="position: relative; padding-bottom: '+this.getEmbedPaddingTop()+'; height: 0;"><iframe src="'+e+'" '+a+'  style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>'},e.prototype.getFixedSizeEmbedCode=function(e){var t=this.embedHeight;return this.isVideo&&(t+=42),'<iframe src="'+e+'" '+a+' width="'+this.embedWidth+'" height="'+t+'"></iframe>'},e.prototype.getAspectRatio=function(){if(this.isVideo){var e=this.videoSize.height,t=this.videoSize.width;return this.isFixedSizeActive,{width:t/10,height:e/10}}return s},e.prototype.getEmbedPaddingTop=function(){var e=this.getAspectRatio();return"calc("+100*e.height/e.width+"% + 42px)"},e.prototype.getVideoSize=function(){var e=document.getElementsByClassName("video-player");if(e&&e.length){var t=e[0].getElementsByTagName("video")[0];return{width:t.offsetWidth,height:t.offsetHeight}}return{width:1680,height:1050}},e.prototype.copyCode=function(){this.embedInputElement.nativeElement.select(),document.execCommand("copy"),this.isCopied=!0},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}()},"./src/app/embed/embed-resolver.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"EmbedResolverService",(function(){return l}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/@ngrx/store/fesm5/store.js"),i=n("./src/app/visual/visual.actions.ts"),a=n("./node_modules/@angular/core/fesm5/core.js"),s=n("./node_modules/@nguniversal/express-engine/fesm5/tokens.js"),l=function(){function e(e,t,n){this._store=e,this.request=t,this.isBrowser=n}return e.prototype.resolve=function(){var e=this.isBrowser?window.location.search:this.request.originalUrl,t=this.detectIsEmbed(e),n=this.detectIsEmbedWordpress(e);if(this._store.dispatch(Object(i.setIsEmbed)(t)),this._store.dispatch(Object(i.setIsEmbedWordpress)(n)),t){var o=this.detectIsHideEmbedHeader(e);this._store.dispatch(Object(i.setIsEmmbedHeaderHidden)(o));var a=this.detectIsEmbedPrintEnabled(e);this._store.dispatch(Object(i.setIsEmbedPrintEnabled)(a));var s=this.detectEmbedNightTheme(e),l=this.detectEmbedDayTheme(e);s&&(this._store.dispatch(Object(i.setTheme)("night")),this._store.dispatch(Object(i.setIsBrandingThemeDisabled)(!0))),l&&(this._store.dispatch(Object(i.setTheme)("day")),this._store.dispatch(Object(i.setIsBrandingThemeDisabled)(!0)))}return Object(r.of)(r.EMPTY)},e.prototype.detectIsEmbed=function(e){return-1!=e.indexOf("embed")},e.prototype.detectIsEmbedWordpress=function(e){return-1!=e.indexOf("wordpress=true")},e.prototype.detectIsHideEmbedHeader=function(e){return-1!=e.indexOf("hide-header=true")},e.prototype.detectIsEmbedPrintEnabled=function(e){return-1!=e.indexOf("print-enabled=true")},e.prototype.detectEmbedNightTheme=function(e){return-1!=e.indexOf("theme=night")},e.prototype.detectEmbedDayTheme=function(e){return-1!=e.indexOf("theme=day")},e.ngInjectableDef=a.defineInjectable({factory:function(){return new e(a.inject(o.Store),a.inject(s.REQUEST,8),a.inject("isBrowser"))},token:e,providedIn:"root"}),e}()},"./src/app/embed/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"EmbedModule",(function(){return r}));var r=function(){}},"./src/app/errors/error-resolver.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ErrorResolverService",(function(){return c}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/organizations/organizations.actions.ts"),i=n("./src/app/organizations/organizations.selector.ts"),a=n("./node_modules/rxjs/_esm5/operators/index.js"),s=n("./src/query.service.ts"),l=n("./node_modules/@angular/core/fesm5/core.js"),c=function(){function e(e,t){this._store=e,this.queryService=t}return e.prototype.resolve=function(){return this.queryService.isEmbed()||this._store.dispatch(Object(o.requestCurrentOrganization)()),this._store.pipe(Object(r.select)(i.getCurrentOrganization)).pipe(Object(a.take)(1),Object(a.filter)((function(e){return void 0!==e})))},e.ngInjectableDef=l.defineInjectable({factory:function(){return new e(l.inject(r.Store),l.inject(s.QueryService))},token:e,providedIn:"root"}),e}()},"./src/app/errors/error.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ErrorComponent",(function(){return s})),n.d(t,"View_ErrorComponent_0",(function(){return f})),n.d(t,"View_ErrorComponent_Host_0",(function(){return h})),n.d(t,"ErrorComponentNgFactory",(function(){return m}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/errors/error.component.ts"),a=n("./src/app/universal-config.ts"),s=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position:relative;\n      box-sizing:border-box;\n      padding:105px 0;\n    }\n    .error-404[_nghost-%COMP%] {\n      padding: 0;\n    }\n    .nns-error-page-content[_ngcontent-%COMP%] {text-align:center;}\n    nns-error-page[_ngcontent-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n      max-width:970px;\n      min-width:320px;\n      margin:0 auto;\n      padding:0 10px;\n    }\n    .nns-error-page-type[_ngcontent-%COMP%] {\n      font-weight:bold;\n      font-size:235px;\n      color:#EBEFF1;\n      letter-spacing:-5.91px;\n      line-height:1;\n    }\n    .nns-error-page-title[_ngcontent-%COMP%] {\n      font-size:28px;\n      color:#323348, 100%;\n      padding:0 0 14px 0;\n      line-height:1.3;\n    }\n    .nns-error-page-desc[_ngcontent-%COMP%] {\n      font-size:18px;\n      color:#2F3737;\n    }\n    .nns-error-page-img[_ngcontent-%COMP%]{\n      max-width: 100%;\n      margin-top: 80px;\n    }\n    .nns-error-page-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{\n      max-width: 100%;\n    }\n    @media only screen and (max-width: 768px) {\n\n      .nns-error-page-type[_ngcontent-%COMP%] {\n        font-size:150px;\n        letter-spacing:-3.77px;\n      }\n      .nns-error-page-title[_ngcontent-%COMP%] {font-size:20px;}\n\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#2f3737;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-error-page-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-error-page-title[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.6);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-error-page-desc[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-error-page-desc[_ngcontent-%COMP%] {\n      color:#fff;\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-error-page-type"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["404"]))],null,null)}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-error-page-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["The page you are looking for can’t be found"]))],null,null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-error-page-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["You don't have permission to access this page"]))],null,null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-error-page-img"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"img",[["src","./dist/assets/403.png"]],null,null,null,null,null))],null,null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"div",[["class","nns-error-page-content"],["flex","none"],["layout","column"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](4,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](6,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](8,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"404"==n.errorTemplate),e(t,4,0,"404"==n.errorTemplate),e(t,6,0,"403"==n.errorTemplate),e(t,8,0,"403"==n.errorTemplate)}),null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-wrapper"],["flex",""],["layout","row"],["layout-align","center start"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,2,0,void 0!==t.component.currentOrganization)}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-error",[],null,null,null,f,s)),r["ɵdid"](1,573440,null,0,i.ErrorComponent,[a.Config],null,null)],null,null)}var m=r["ɵccf"]("nns-error",i.ErrorComponent,h,{errorCode:"errorCode",currentOrganization:"currentOrganization"},{},[])},"./src/app/errors/error.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ErrorComponent",(function(){return r}));n("./src/app/universal-config.ts");var r=function(){function e(e){this._config=e,this.errorTemplates={403:"403",default:"404"},this.errorTemplate=this.errorTemplates.default,this.fileUrl=this._config.get("BOX_URL")+"/file/"}return e.prototype.ngOnChanges=function(e){this.errorTemplates[this.errorCode]&&(this.errorTemplate=this.errorTemplates[this.errorCode])},e}()},"./src/app/errors/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ErrorsModule",(function(){return r}));var r=function(){}},"./src/app/header/get-nimbus-popup.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"GetNimbusPopupService",(function(){return o}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=function(){function e(){this.openGetNimbusAuthPopup$=new r.EventEmitter}return e.prototype.open=function(){this.openGetNimbusAuthPopup$.next()},e}()},"./src/app/header/get-nimbus.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_GetNimbusComponent",(function(){return u})),n.d(t,"View_GetNimbusComponent_0",(function(){return m})),n.d(t,"View_GetNimbusComponent_Host_0",(function(){return g})),n.d(t,"GetNimbusComponentNgFactory",(function(){return y}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/header/get-nimbus.component.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=n("./src/app/universal-config.ts"),u=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: block;\n      height: 100%;\n    }\n    .nns-get-nimbus-button-layout[_ngcontent-%COMP%] {\n      height:56px;\n    }\n    .nns-get-nimbus-button[_ngcontent-%COMP%] {\n      color: #627376;\n      cursor:pointer;\n      font-size:15px;\n      height:100%;\n      padding:0 12px;\n      font-weight:bold;\n    }\n\n    .nns-logo[_ngcontent-%COMP%] {\n      margin:0 10px 0 0;\n      svg {\n        height: 14px;\n        position: relative;\n        top: 2px;\n      }\n    }\n    .nns-logo-short[_ngcontent-%COMP%] {\n      position: relative;\n      top: 2px;\n      svg {\n        height: 24px !important;\n      }\n    }\n    .nns-logo[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n      display:block;\n      width:100%;\n      height:100%;\n    }\n    .nns-get-nimbus-button-text[_ngcontent-%COMP%] {\n      padding: 0 10px 0 0;\n      font-size: 14px;\n      display: flex;\n      align-items: center;\n    }\n    .nns-get-numbus-button-arrow[_ngcontent-%COMP%]{\n      transform: rotate(180deg);\n    }\n    .nns-get-numbus-button-arrow[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n\n    @media only screen and (max-width: 768px) {\n      .nns-get-nimbus-button-text[_ngcontent-%COMP%]{\n        display: none;\n      }\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-get-nimbus-button[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-get-nimbus-button[_ngcontent-%COMP%] {\n      color: #A9B6BE;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-logo[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-logo[_ngcontent-%COMP%] {\n      svg {\n        path {\n          fill: #f1f1f1;\n        }\n      }\n    }\n    .nns-fullwidth[_nghost-%COMP%]   .nns-get-nimbus-button[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .nns-get-nimbus-button[_ngcontent-%COMP%]{\n      padding: 0;\n    }"],data:{}});function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,27,"span",[["class","nns-logo"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,26,":svg:svg",[["fill","none"],["height","17"],["viewBox","0 0 240 17"],["width","240"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,":svg:path",[["d","M53.5763 7.12439C54.4383 7.26228 55.2094 7.49209 55.8899 7.81384L55.899 7.81844C56.5795 8.09422 57.1239 8.50789 57.4868 9.05946C57.8951 9.56506 58.0765 10.2545 58.0765 11.0819C58.0765 12.139 57.759 13.0123 57.1239 13.7937C56.8063 14.1614 56.4298 14.4924 55.9943 14.7865C55.2866 15.26 54.4745 15.5496 53.6398 15.6966C52.6962 15.8621 51.7209 15.9954 50.5414 15.9954C49.3619 15.9954 48.2731 15.9035 47.3204 15.6736C47.1753 15.6369 47.0074 15.5909 46.835 15.5403C45.3516 15.0899 43.9498 14.3729 42.7159 13.4214L44.0133 10.7555C45.0567 11.7208 46.1455 12.4102 47.2343 12.8699C48.323 13.2835 49.4572 13.5133 50.682 13.5133C51.3625 13.5133 52.043 13.4214 52.6781 13.2835C53.3586 13.0997 53.9029 12.8699 54.3112 12.5481C54.7195 12.2264 54.9463 11.8127 54.9463 11.2611C54.9463 10.9394 54.8556 10.6636 54.6288 10.4797C54.402 10.2499 54.0844 10.0661 53.7215 9.92817C53.3586 9.79028 52.9503 9.69836 52.4966 9.60643C52.043 9.5145 51.5893 9.46853 51.1357 9.42257C51.0917 9.41812 51.0483 9.41367 51.0052 9.40927L51.0011 9.40884L50.9995 9.40869C50.6 9.36779 50.2371 9.33064 49.9108 9.33064C48.9128 9.19276 47.9601 9.05486 47.1435 8.82504C46.327 8.59523 45.6011 8.27348 45.0114 7.90577C44.4216 7.53806 43.968 7.07842 43.6504 6.57282C43.3328 6.02125 43.1967 5.42372 43.1967 4.73427C43.1967 3.99885 43.3782 3.30939 43.7411 2.71186C44.1041 2.11434 44.6484 1.60874 45.2836 1.24102C45.964 0.82735 46.7352 0.551567 47.5972 0.321749C48.4591 0.0919305 49.3664 4.37103e-08 50.4552 4.37103e-08C51.5439 4.37103e-08 52.4966 0.0919305 53.4039 0.321749C53.7759 0.418272 54.2659 0.592931 54.7014 0.762996C55.5406 1.08474 57.0241 2.12352 57.0241 2.12352L55.7629 4.64234C55.6495 4.52743 55.4998 4.39873 55.3365 4.27004C54.6288 3.70468 53.8349 3.26343 52.982 2.96926C52.7733 2.90032 52.5737 2.84056 52.4013 2.80379C52.229 2.75783 52.0157 2.72106 51.7935 2.68888C50.9497 2.57397 50.0968 2.57857 49.2485 2.6659C48.8856 2.70267 48.5136 2.74863 48.2686 2.80379C47.6788 2.94168 47.1798 3.1715 46.8169 3.44728C46.454 3.72306 46.3179 4.09078 46.3179 4.50445C46.3179 4.87216 46.454 5.14794 46.6808 5.42372C46.953 5.65354 47.2705 5.88336 47.6788 6.06722C47.9904 6.2075 48.3548 6.29427 48.7517 6.38876C48.8232 6.4058 48.8968 6.42328 48.9704 6.44119C49.0233 6.45407 49.0767 6.46725 49.1305 6.48089C49.7203 6.57282 50.31 6.66474 50.9451 6.71071C51.8524 6.80264 52.7144 6.94053 53.5763 7.12439Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,0,":svg:path",[["d","M0 2.78081V0.1241H13.5415V2.78081H0Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,0,":svg:path",[["clip-rule","evenodd"],["d","M113.354 0.183861L106.35 12.4838L108.355 16H122.368L124.373 12.4838L117.369 0.183861H113.354ZM115.79 2.48205L118.508 7.71273L121.225 12.4838L120.794 13.2422H109.925L109.494 12.4838L112.211 7.71273L114.928 2.48205H115.79Z"],["fill","#002730"],["fill-rule","evenodd"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,0,":svg:path",[["d","M0 6.86699V15.7656H2.90338V9.60643H9.00499L10.3659 6.86699H0Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,0,":svg:path",[["d","M33.3434 8.22751C33.3434 9.19276 33.1166 10.0661 32.6629 10.8015C32.2093 11.5369 31.5742 12.1344 30.803 12.5481C30.0318 12.9618 29.1245 13.1916 28.1264 13.1916C27.1284 13.1916 26.3118 12.9618 25.5406 12.5481C24.724 12.1344 24.1343 11.5369 23.6806 10.8015C23.227 10.0661 23.0002 9.19276 23.0002 8.22751V0.183853H20.0514V8.31944C20.0514 9.79028 20.369 11.0773 21.0495 12.2264C21.7299 13.3755 22.6826 14.2488 23.8621 14.9382C25.087 15.5817 26.4933 15.9035 28.0811 15.9035C29.6688 15.9035 31.1659 15.5817 32.3454 14.9382C33.5703 14.2947 34.4776 13.3755 35.158 12.2264C35.8385 11.0773 36.1561 9.79028 36.1561 8.31944V0.183853H33.3434V8.22751Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,0,":svg:path",[["d","M64.8269 2.7946H78.255V0.183853L64.8269 0.174666V2.7946Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](8,0,null,null,0,":svg:path",[["d","M78.255 15.9954H64.8269V6.43493H78.255V8.91697H67.6849V13.1456H78.255V15.9954Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,0,":svg:path",[["clip-rule","evenodd"],["d","M99.4405 7.85981C99.0368 7.6116 98.6149 7.42775 98.1703 7.28985C98.8508 7.03246 99.3997 6.69233 99.8034 6.25107C100.348 5.65354 100.62 4.91812 100.62 4.09078C100.62 3.26343 100.393 2.57397 99.9396 1.97644C99.4405 1.37892 98.7601 0.919273 97.8528 0.643489C96.9454 0.321749 95.8567 0.183853 94.4957 0.183853H85.7856V15.8575H95.0401C95.7659 15.8575 96.4918 15.8115 97.263 15.6736C98.0342 15.5358 98.7147 15.3059 99.3498 14.9382C99.9849 14.5705 100.484 14.1109 100.847 13.5133C101.255 12.9158 101.437 12.1344 101.437 11.2152C101.437 10.4338 101.255 9.74433 100.892 9.19276C100.529 8.64119 100.03 8.18155 99.4405 7.85981ZM88.6436 2.75783H94.5865C95.4484 2.75783 96.1742 2.89571 96.764 3.1715C97.3537 3.44728 97.6713 3.90692 97.6713 4.55041C97.6713 4.96409 97.5806 5.28583 97.3084 5.56162C97.0362 5.8374 96.7186 6.06722 96.265 6.20511C95.8113 6.343 95.3577 6.43493 94.8133 6.43493H88.6436V2.75783ZM98.0796 12.2264C97.8074 12.5481 97.3991 12.7779 96.9001 12.9158C96.4011 13.0537 95.8567 13.1456 95.1762 13.1456H88.6436V8.91697H94.9947C95.5391 8.91697 96.0381 8.96293 96.5825 9.10083C97.1269 9.23872 97.5806 9.46854 97.9435 9.74433C98.3064 10.0661 98.4879 10.4797 98.4879 11.0313C98.4879 11.4909 98.3518 11.9046 98.0796 12.2264Z"],["fill","#002730"],["fill-rule","evenodd"]],null,null,null,null,null)),(e()(),r["ɵeld"](10,0,null,null,0,":svg:path",[["d","M142.674 7.81384C143.354 8.08963 143.898 8.5033 144.261 9.05486H144.266C144.674 9.56047 144.856 10.2499 144.856 11.0773C144.856 12.1344 144.538 13.0077 143.903 13.7891C143.268 14.5246 142.406 15.1221 141.272 15.5358C140.138 15.7656 138.822 15.9954 137.325 15.9954C136.146 15.9954 135.057 15.9035 134.104 15.6736C133.106 15.4438 132.199 15.1221 131.382 14.7084C130.625 14.3269 129.949 13.8213 129.309 13.2743L130.82 10.7831C131.854 11.7345 132.934 12.4194 134.013 12.8744C135.102 13.2881 136.236 13.5179 137.461 13.5179C138.142 13.5179 138.822 13.426 139.457 13.2881C140.138 13.1043 140.682 12.8744 141.09 12.5527C141.544 12.231 141.725 11.8173 141.725 11.2657C141.725 10.944 141.635 10.6682 141.408 10.4843C141.181 10.2545 140.863 10.0707 140.501 9.93277C140.138 9.79489 139.729 9.70295 139.276 9.61102C138.822 9.51909 138.368 9.47313 137.915 9.42716L137.779 9.41332C137.379 9.37241 137.016 9.33525 136.69 9.33525C135.692 9.19735 134.739 9.05946 133.923 8.82965C133.106 8.59982 132.38 8.27807 131.79 7.91037C131.201 7.54265 130.747 7.08302 130.43 6.57741C130.112 6.02585 129.976 5.42832 129.976 4.73886C129.976 4.00344 130.157 3.31399 130.52 2.71646C130.883 2.11893 131.428 1.61333 132.063 1.24561C132.743 0.831944 133.514 0.55616 134.376 0.326342C135.238 0.0965238 136.146 0.00459337 137.234 0.00459337C138.323 0.00459337 139.276 0.0965238 140.183 0.326342C141.045 0.55616 141.862 0.831944 142.542 1.19966C143.059 1.47544 143.522 1.80638 143.912 2.19247L142.524 4.62396H142.556L142.537 4.64234C142.084 4.1827 141.585 3.81499 141.04 3.49325C140.451 3.1715 139.861 2.94168 139.18 2.80379C138.5 2.61994 137.819 2.57397 137.139 2.57397C136.368 2.57397 135.687 2.6659 135.052 2.80379C134.462 2.94168 133.963 3.1715 133.601 3.44728C133.238 3.72306 133.102 4.09078 133.102 4.50445C133.102 4.87216 133.238 5.14794 133.464 5.42372C133.737 5.65354 134.054 5.88336 134.462 6.06722C134.774 6.2076 135.139 6.29438 135.536 6.38895C135.659 6.41824 135.785 6.44828 135.914 6.48089C136.504 6.57282 137.094 6.66474 137.729 6.71071C138.636 6.80264 139.498 6.94053 140.36 7.12439C141.222 7.26228 141.993 7.49209 142.674 7.81384Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](11,0,null,null,0,":svg:path",[["d","M165.062 0.183853H151.593V2.7946H165.062V0.183853Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](12,0,null,null,0,":svg:path",[["d","M151.593 15.7656V6.43493H165.062V8.91697H154.56V13.1456H165.062V15.7656H151.593Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](13,0,null,null,0,":svg:path",[["d","M183.506 6V0.181818H187.358V1.19602H184.736V2.58239H187.102V3.59659H184.736V6H183.506Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](14,0,null,null,0,":svg:path",[["d","M194.652 3.09091C194.652 3.72538 194.532 4.26515 194.291 4.71023C194.053 5.1553 193.727 5.49527 193.314 5.73011C192.903 5.96307 192.441 6.07955 191.928 6.07955C191.41 6.07955 190.946 5.96212 190.535 5.72727C190.124 5.49242 189.8 5.15246 189.561 4.70739C189.322 4.26231 189.203 3.72348 189.203 3.09091C189.203 2.45644 189.322 1.91667 189.561 1.47159C189.8 1.02652 190.124 0.6875 190.535 0.454545C190.946 0.219697 191.41 0.102273 191.928 0.102273C192.441 0.102273 192.903 0.219697 193.314 0.454545C193.727 0.6875 194.053 1.02652 194.291 1.47159C194.532 1.91667 194.652 2.45644 194.652 3.09091ZM193.405 3.09091C193.405 2.67992 193.343 2.33333 193.22 2.05114C193.099 1.76894 192.928 1.55492 192.706 1.40909C192.484 1.26326 192.225 1.19034 191.928 1.19034C191.63 1.19034 191.371 1.26326 191.149 1.40909C190.928 1.55492 190.755 1.76894 190.632 2.05114C190.511 2.33333 190.45 2.67992 190.45 3.09091C190.45 3.50189 190.511 3.84848 190.632 4.13068C190.755 4.41288 190.928 4.62689 191.149 4.77273C191.371 4.91856 191.63 4.99148 191.928 4.99148C192.225 4.99148 192.484 4.91856 192.706 4.77273C192.928 4.62689 193.099 4.41288 193.22 4.13068C193.343 3.84848 193.405 3.50189 193.405 3.09091Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](15,0,null,null,0,":svg:path",[["d","M196.683 6V0.181818H198.979C199.418 0.181818 199.793 0.260417 200.104 0.417614C200.416 0.572917 200.654 0.793561 200.817 1.07955C200.981 1.36364 201.064 1.69792 201.064 2.08239C201.064 2.46875 200.981 2.80114 200.814 3.07955C200.647 3.35606 200.406 3.56818 200.089 3.71591C199.775 3.86364 199.394 3.9375 198.947 3.9375H197.41V2.94886H198.749C198.983 2.94886 199.178 2.91667 199.334 2.85227C199.489 2.78788 199.605 2.69129 199.68 2.5625C199.758 2.43371 199.797 2.27367 199.797 2.08239C199.797 1.8892 199.758 1.72633 199.68 1.59375C199.605 1.46117 199.488 1.3608 199.331 1.29261C199.176 1.22254 198.98 1.1875 198.743 1.1875H197.913V6H196.683ZM199.825 3.35227L201.271 6H199.913L198.499 3.35227H199.825Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](16,0,null,null,0,":svg:path",[["d","M203.053 0.181818H204.57L206.173 4.09091H206.241L207.843 0.181818H209.36V6H208.167V2.21307H208.119L206.613 5.97159H205.8L204.295 2.19886H204.246V6H203.053V0.181818Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](17,0,null,null,0,":svg:path",[["d","M211.493 6V0.181818H215.414V1.19602H212.724V2.58239H215.212V3.59659H212.724V4.9858H215.425V6H211.493Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](18,0,null,null,0,":svg:path",[["d","M217.512 6V0.181818H219.807C220.247 0.181818 220.622 0.260417 220.932 0.417614C221.245 0.572917 221.483 0.793561 221.645 1.07955C221.81 1.36364 221.893 1.69792 221.893 2.08239C221.893 2.46875 221.809 2.80114 221.643 3.07955C221.476 3.35606 221.234 3.56818 220.918 3.71591C220.604 3.86364 220.223 3.9375 219.776 3.9375H218.239V2.94886H219.577C219.812 2.94886 220.007 2.91667 220.163 2.85227C220.318 2.78788 220.433 2.69129 220.509 2.5625C220.587 2.43371 220.626 2.27367 220.626 2.08239C220.626 1.8892 220.587 1.72633 220.509 1.59375C220.433 1.46117 220.317 1.3608 220.16 1.29261C220.004 1.22254 219.808 1.1875 219.572 1.1875H218.742V6H217.512ZM220.654 3.35227L222.1 6H220.742L219.327 3.35227H220.654Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](19,0,null,null,0,":svg:path",[["d","M223.882 6V0.181818H225.112V4.9858H227.606V6H223.882Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](20,0,null,null,0,":svg:path",[["d","M228.458 0.181818H229.836L231.162 2.6875H231.219L232.546 0.181818H233.924L231.802 3.94318V6H230.58V3.94318L228.458 0.181818Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](21,0,null,null,0,":svg:path",[["d","M188.372 10.1818V16H187.31L184.778 12.3381H184.736V16H183.506V10.1818H184.585L187.097 13.8409H187.148V10.1818H188.372Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](22,0,null,null,0,":svg:path",[["d","M191.739 10.1818V16H190.508V10.1818H191.739Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](23,0,null,null,0,":svg:path",[["d","M193.871 10.1818H195.388L196.99 14.0909H197.058L198.66 10.1818H200.178V16H198.984V12.2131H198.936L197.43 15.9716H196.618L195.112 12.1989H195.064V16H193.871V10.1818Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](24,0,null,null,0,":svg:path",[["d","M202.311 16V10.1818H204.641C205.069 10.1818 205.426 10.2453 205.712 10.3722C205.998 10.4991 206.213 10.6752 206.356 10.9006C206.5 11.1241 206.572 11.3816 206.572 11.6733C206.572 11.9006 206.527 12.1004 206.436 12.2727C206.345 12.4432 206.22 12.5833 206.061 12.6932C205.904 12.8011 205.724 12.8778 205.521 12.9233V12.9801C205.743 12.9896 205.95 13.0521 206.143 13.1676C206.338 13.2831 206.497 13.4451 206.618 13.6534C206.739 13.8598 206.8 14.1061 206.8 14.392C206.8 14.7008 206.723 14.9763 206.57 15.2188C206.418 15.4593 206.194 15.6496 205.896 15.7898C205.599 15.9299 205.232 16 204.797 16H202.311ZM203.541 14.9943H204.544C204.887 14.9943 205.137 14.929 205.294 14.7983C205.451 14.6657 205.53 14.4896 205.53 14.2699C205.53 14.1089 205.491 13.9669 205.413 13.8438C205.336 13.7206 205.225 13.6241 205.081 13.554C204.939 13.4839 204.769 13.4489 204.572 13.4489H203.541V14.9943ZM203.541 12.6165H204.453C204.622 12.6165 204.771 12.5871 204.902 12.5284C205.034 12.4678 205.139 12.3826 205.214 12.2727C205.292 12.1629 205.331 12.0312 205.331 11.8778C205.331 11.6676 205.256 11.4981 205.106 11.3693C204.959 11.2405 204.748 11.1761 204.476 11.1761H203.541V12.6165Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](25,0,null,null,0,":svg:path",[["d","M212.314 10.1818H213.544V13.9602C213.544 14.3845 213.443 14.7557 213.24 15.0739C213.039 15.392 212.758 15.6402 212.396 15.8182C212.034 15.9943 211.613 16.0824 211.132 16.0824C210.649 16.0824 210.227 15.9943 209.865 15.8182C209.503 15.6402 209.222 15.392 209.021 15.0739C208.82 14.7557 208.72 14.3845 208.72 13.9602V10.1818H209.95V13.8551C209.95 14.0767 209.998 14.2737 210.095 14.446C210.194 14.6184 210.332 14.7538 210.51 14.8523C210.688 14.9508 210.895 15 211.132 15C211.371 15 211.578 14.9508 211.754 14.8523C211.932 14.7538 212.069 14.6184 212.166 14.446C212.265 14.2737 212.314 14.0767 212.314 13.8551V10.1818Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](26,0,null,null,0,":svg:path",[["d","M218.832 11.8551C218.81 11.6259 218.712 11.4479 218.54 11.321C218.367 11.1941 218.133 11.1307 217.838 11.1307C217.637 11.1307 217.468 11.1591 217.329 11.2159C217.191 11.2708 217.085 11.3475 217.011 11.446C216.939 11.5445 216.903 11.6562 216.903 11.7812C216.899 11.8854 216.921 11.9763 216.969 12.054C217.018 12.1316 217.085 12.1989 217.17 12.2557C217.256 12.3106 217.354 12.3589 217.466 12.4006C217.577 12.4403 217.697 12.4744 217.824 12.5028L218.346 12.6278C218.6 12.6847 218.833 12.7604 219.045 12.8551C219.257 12.9498 219.441 13.0663 219.596 13.2045C219.752 13.3428 219.872 13.5057 219.957 13.6932C220.044 13.8807 220.089 14.0956 220.091 14.3381C220.089 14.6941 219.998 15.0028 219.818 15.2642C219.64 15.5237 219.382 15.7254 219.045 15.8693C218.71 16.0114 218.306 16.0824 217.832 16.0824C217.363 16.0824 216.953 16.0104 216.605 15.8665C216.258 15.7225 215.988 15.5095 215.792 15.2273C215.599 14.9432 215.498 14.5919 215.488 14.1733H216.679C216.692 14.3684 216.748 14.5312 216.846 14.6619C216.947 14.7907 217.08 14.8883 217.247 14.9545C217.416 15.0189 217.606 15.0511 217.818 15.0511C218.026 15.0511 218.207 15.0208 218.361 14.9602C218.516 14.8996 218.636 14.8153 218.721 14.7074C218.807 14.5994 218.849 14.4754 218.849 14.3352C218.849 14.2045 218.81 14.0947 218.733 14.0057C218.657 13.9167 218.545 13.8409 218.398 13.7784C218.252 13.7159 218.073 13.6591 217.861 13.608L217.227 13.4489C216.737 13.3295 216.349 13.143 216.065 12.8892C215.781 12.6354 215.64 12.2936 215.642 11.8636C215.64 11.5114 215.734 11.2036 215.923 10.9403C216.114 10.6771 216.377 10.4716 216.71 10.3239C217.043 10.1761 217.422 10.1023 217.846 10.1023C218.278 10.1023 218.655 10.1761 218.977 10.3239C219.301 10.4716 219.553 10.6771 219.733 10.9403C219.913 11.2036 220.006 11.5085 220.011 11.8551H218.832Z"],["fill","#002730"]],null,null,null,null,null)),(e()(),r["ɵeld"](27,0,null,null,0,":svg:path",[["d","M175 4.37103e-08V16H174V0L175 4.37103e-08Z"],["fill","#002730"]],null,null,null,null,null))],null,null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"span",[["class","nns-logo nns-logo-short"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,5,":svg:svg",[["fill","none"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,":svg:path",[["d","M18.7822 0V2.14571H21.8531V5.23865H24V0H18.7822Z"],["fill","#262626"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,0,":svg:path",[["d","M4.07454e-10 5.22512H2.14692V2.15934H5.2416V0.0136307H4.07454e-10V5.22512Z"],["fill","#262626"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,0,":svg:path",[["d","M18.7549 21.8407H21.853V18.7715H23.9999V23.9864H18.7549V21.8407Z"],["fill","#262626"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,0,":svg:path",[["d","M2.14692 18.758H0V24H5.21783V21.8543H2.14692V18.758Z"],["fill","#262626"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,0,":svg:path",[["clip-rule","evenodd"],["d","M10.474 6.10778H13.4804L18.7254 15.1931L17.2239 17.7903H6.73049L5.229 15.1931L10.474 6.10778Z"],["fill","#262626"],["fill-rule","evenodd"]],null,null,null,null,null))],null,null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"span",[["class","nns-get-nimbus-button-text"]],null,null,null,null,null))],null,null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"span",[["class","nns-get-nimbus-button-text"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Sign up to FuseBase for free"])),(e()(),r["ɵeld"](3,0,null,null,2,"span",[["class","nns-get-numbus-button-arrow"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,"nns-icon",[["class","nns-logo"],["icon","arrow-up"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,5).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,5).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](5,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,5,0,"arrow-up")}),(function(e,t){e(t,4,0,r["ɵnov"](t,5)._classes)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,9,"a",[["class","nns-get-nimbus-button nns-noselect"],["flex",""],["layout","column"],["layout-align","center center"],["target","_blank"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onNimbusClick()&&r);return r}),null,null)),(e()(),r["ɵeld"](1,0,null,null,8,"span",[["class","nns-get-nimbus-button-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](3,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](5,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](9,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.profile),e(t,5,0,!n.profile),e(t,7,0,n.profile),e(t,9,0,!n.profile)}),null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-get-nimbus",[],null,null,null,m,u)),r["ɵdid"](1,49152,null,0,s.GetNimbusComponent,[l.Store,l.Store,c.Config],null,null)],null,null)}var y=r["ɵccf"]("nns-get-nimbus",s.GetNimbusComponent,g,{profile:"profile"},{},[])},"./src/app/header/get-nimbus.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"GetNimbusComponent",(function(){return r}));n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts");var r=function(){function e(e,t,n){this.store=e,this._store=t,this._config=n}return e.prototype.onNimbusClick=function(){this.profile&&window.open("https://"+this._config.get("NIMBUS_DOMAIN")+"/")},e}()},"./src/app/header/header-actions.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_HeaderActionsComponent",(function(){return E})),n.d(t,"View_HeaderActionsComponent_0",(function(){return R})),n.d(t,"View_HeaderActionsComponent_Host_0",(function(){return I})),n.d(t,"HeaderActionsComponentNgFactory",(function(){return M}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/header/header-actions/header-list-type-selector.component.ngfactory.js"),i=n("./src/app/header/header-actions/header-list-type-selector.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/header/save-action.component.ngfactory.js"),l=n("./src/app/header/save-action.component.ts"),c=n("./src/app/share/share-copy.service.ts"),u=n("./src/app/profile/profile.service.ts"),d=n("./src/app/universal-config.ts"),p=n("./src/app/share/note/note.service.ts"),f=n("./node_modules/@angular/common/fesm5/common.js"),h=n("./src/app/common/icon.component.ngfactory.js"),m=n("./src/app/common/icon.component.ts"),g=n("./src/app/header/header-profile.component.ngfactory.js"),y=n("./src/app/common/click-outside.directive.ts"),v=n("./src/app/header/header-profile.component.ts"),b=n("./src/app/header/header-actions/header-list-type-selector-mobile.component.ngfactory.js"),_=n("./src/app/header/header-actions/header-list-type-selector-mobile.component.ts"),w=n("./src/app/header/header-actions/header-theme-selector.component.ngfactory.js"),C=n("./src/app/header/header-actions/header-theme-selector.component.ts"),S=n("./src/app/header/header-actions.component.ts"),E=r["ɵcrt"]({encapsulation:0,styles:[".nns-header-actions-layout[_ngcontent-%COMP%] {\n      padding:10px 0;\n    }\n\n    .nns-header-save[_ngcontent-%COMP%] {padding:0 10px; position: relative;}\n\n    .nns-header-buttons[_ngcontent-%COMP%] {\n      padding: 10px;\n      border-radius: 50%;\n      background: transparent;\n      transition: 0.3s;\n    }\n\n    .nns-header-buttons[_ngcontent-%COMP%]:hover{\n      background: #F5F8FA;\n    }\n\n    .nns-header-button-item[_ngcontent-%COMP%] {padding:0 4px;}\n\n    .nns-header-button-holder[_ngcontent-%COMP%] {position:relative;}\n    .nns-header-button-dropdown[_ngcontent-%COMP%] {\n      position:absolute;\n      top:100%;\n      margin:10px 0 0 0;\n      z-index:500;\n      right:0;\n    }\n\n    .nns-header-buttons.nns-header-buttons_list-type[_ngcontent-%COMP%]{\n      background-color: transparent;\n    }\n\n    .nns-header-search[_ngcontent-%COMP%]{\n      cursor: pointer;\n    }\n\n    .nns-header-search[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-header-buttons[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-header-buttons[_ngcontent-%COMP%]:hover{\n      background: #20252B;\n    }\n\n\n    @media only screen and (max-width: 768px) {\n      .nns-header-buttons[_ngcontent-%COMP%], .nns-header-save[_ngcontent-%COMP%]{\n        width: 36px;\n        height: 36px;\n        border-radius: 50%;\n        background-color: transparent;\n        padding: 0;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n      }\n\n      .nns-header-save[_ngcontent-%COMP%]{\n        margin-right: 4px;\n      }\n\n      .nns-header-save[_ngcontent-%COMP%]:hover{\n        background: #F5F8FA;\n      }\n\n      .nns-header-buttons[_ngcontent-%COMP%]:not(:last-child){\n        margin-right: 4px;\n      }\n\n      .nns-header-buttons[_ngcontent-%COMP%]   nns-header-action[_ngcontent-%COMP%]{\n        margin: 0;\n      }\n\n      .nns-theme-night[_nghost-%COMP%]   .nns-header-buttons.nns-header-buttons_list-type[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-header-buttons.nns-header-buttons_list-type[_ngcontent-%COMP%]{\n        background-color: transparent;\n      }\n\n      .nns-theme-night[_nghost-%COMP%]   .nns-header-save[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-header-save[_ngcontent-%COMP%]:hover{\n        background: #20252B;\n      }\n    }\n\n    @media only screen and (max-width: 600px) {\n      .nns-header-buttons[_ngcontent-%COMP%] {padding:0;}\n\n      .nns-header-buttons[_ngcontent-%COMP%]   nns-header-action[_ngcontent-%COMP%] {margin:0 8px;}\n      .nns-header-buttons[_ngcontent-%COMP%]    > nns-save-button[_ngcontent-%COMP%] {margin:0 4px;}\n      .nns-mobile-folder-type-hide[_ngcontent-%COMP%]   .nns-header-buttons_list-type[_ngcontent-%COMP%]{display: none;}\n\n    }"],data:{}});function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["flex","none"],["hideQuery","mobile tablet"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-header-list-type-selector",[],null,null,null,o.View_HeaderListTypeSelectorComponent_0,o.RenderType_HeaderListTypeSelectorComponent)),r["ɵdid"](2,573440,null,0,i.HeaderListTypeSelectorComponent,[a.Store],{visual:[0,"visual"]},null)],(function(e,t){e(t,2,0,t.component.visual)}),null)}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-save-action",[],null,null,null,s.View_SaveActionComponent_0,s.RenderType_SaveActionComponent)),r["ɵdid"](1,180224,null,0,l.SaveActionComponent,[a.Store,c.ShareCopyService,u.ProfileService,d.Config,p.NoteService],{state:[0,"state"],share:[1,"share"],note:[2,"note"],login:[3,"login"],showTitle:[4,"showTitle"],shareCopy:[5,"shareCopy"],visual:[6,"visual"],isPrimary:[7,"isPrimary"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.getSaveState(),n.share,n.note,n.login,!0,n.shareCopy,n.visual,!0)}),null)}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-header-save nns-animated"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,k)),r["ɵdid"](2,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,(null==n.note?null:n.note.globalId)&&!n.note.isEncrypted&&!n.attachment)}),null)}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","nns-header-buttons"],["flex","none"],["hideQuery","mobile"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-header-search"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToggleSearch()&&r);return r}),null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","search"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),h.View_IconComponent_0,h.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,m.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,3,0,"search")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","nns-header-buttons"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"nns-header-profile",[["clickOutside",""],["flex","nogrow"]],null,[[null,"click"],["document","click"],[null,"clickOutside"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,2).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!==r["ɵnov"](e,3).onClickOutside(n)&&o);return o}),g.View_HeaderProfileComponent_0,g.RenderType_HeaderProfileComponent)),r["ɵdid"](2,16384,null,0,y.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),r["ɵdid"](3,49152,null,0,v.HeaderProfileComponent,[],{profile:[0,"profile"],note:[1,"note"],share:[2,"share"],shareOrganization:[3,"shareOrganization"],visual:[4,"visual"],workspaces:[5,"workspaces"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.profile,n.note,n.share,n.shareOrganization,n.visual,n.workspaces)}),null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-header-buttons nns-header-buttons_list-type"],["flex","none"],["hideQuery","desktop"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-header-list-type-selector-mobile",[],null,null,null,b.View_HeaderListTypeSelectorMobileComponent_0,b.RenderType_HeaderListTypeSelectorMobileComponent)),r["ɵdid"](2,49152,null,0,_.HeaderListTypeSelectorMobileComponent,[a.Store],{visual:[0,"visual"]},null)],(function(e,t){e(t,2,0,t.component.visual)}),null)}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,15,"div",[["class","nns-header-actions-layout"],["flex","none"],["layout","row"],["layout-align","end center"]],null,null,null,null,null)),r["ɵdid"](1,278528,null,0,f.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](2,{"nns-mobile-folder-type-hide":0}),(e()(),r["ɵand"](16777216,null,null,1,null,x)),r["ɵdid"](4,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](5,0,null,null,2,"div",[["class","nns-header-buttons"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"nns-header-theme-selector",[],null,[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,7).changeMode(n)&&o);return o}),w.View_HeaderThemeSelectorComponent_0,w.RenderType_HeaderThemeSelectorComponent)),r["ɵdid"](7,49152,null,0,C.HeaderThemeSelectorComponent,[a.Store],{visual:[0,"visual"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,O)),r["ɵdid"](9,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](11,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](13,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,P)),r["ɵdid"](15,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,!n.childrenNotesCount&&"folder"==(null==n.note?null:n.note.type));e(t,1,0,"nns-header-actions-layout",r),e(t,4,0,"folder"==(null==n.note?null:n.note.type)),e(t,7,0,n.visual),e(t,9,0,n.branding.sharesShareButton),e(t,11,0,"folder"!=(null==n.note?null:n.note.type)),e(t,13,0,n.profile),e(t,15,0,"folder"==(null==n.note?null:n.note.type))}),null)}function I(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-header-actions",[],null,null,null,R,E)),r["ɵdid"](1,573440,null,0,S.HeaderActionsComponent,[a.Store,d.Config,c.ShareCopyService,"isBrowser",p.NoteService],null,null)],null,null)}var M=r["ɵccf"]("nns-header-actions",S.HeaderActionsComponent,I,{profile:"profile",attachment:"attachment",visual:"visual",note:"note",login:"login",share:"share",shareCopy:"shareCopy",branding:"branding",childrenNotesCount:"childrenNotesCount",shareOrganization:"shareOrganization",workspaces:"workspaces"},{},[])},"./src/app/header/header-actions.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderActionsComponent",(function(){return r}));n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts"),n("./src/app/share/index.ts"),n("./src/app/share/note/note.service.ts");var r=function(){function e(e,t,n,r,o){this._store=e,this._config=t,this._shareCopyService=n,this.isBrowser=r,this.noteService=o,this.downloadButtonUrl=void 0}return e.prototype.ngOnChanges=function(){this.share&&this.share.shareUrl&&this.isBrowser&&(this.shareUrl=window.location.origin+"/s"+this.share.shareUrl)},e.prototype.onToggleSearch=function(){this.visual.isShowSearch?this.noteService.startSearch(!0):this.noteService.startSearch()},e.prototype.getSaveState=function(){return this.shareCopy.shareCopyStatus},e}()},"./src/app/header/header-actions/header-list-type-selector-mobile.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_HeaderListTypeSelectorMobileComponent",(function(){return c})),n.d(t,"View_HeaderListTypeSelectorMobileComponent_0",(function(){return h})),n.d(t,"View_HeaderListTypeSelectorMobileComponent_Host_0",(function(){return m})),n.d(t,"HeaderListTypeSelectorMobileComponentNgFactory",(function(){return g}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/button.component.ngfactory.js"),i=n("./src/app/common/button.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/header/header-actions/header-list-type-selector-mobile.component.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-button",[["class","icon transparent"],["icon","list-color"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.setListTypeList()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](1,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"list-color")}),null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-button",[["class","icon transparent"],["icon","list"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.setListTypeList()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](1,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"list")}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-button",[["class","icon transparent"],["icon","plates-color"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.setListTypePlates()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](1,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"plates-color")}),null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-button",[["class","icon transparent"],["icon","plates"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.setListTypePlates()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](1,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"plates")}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](1,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](3,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](5,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,"plates"===n.visual.listType&&"day"===n.visual.theme),e(t,3,0,"plates"===n.visual.listType&&"night"===n.visual.theme),e(t,5,0,"list"===n.visual.listType&&"day"===n.visual.theme),e(t,7,0,"list"===n.visual.listType&&"night"===n.visual.theme)}),null)}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-header-list-type-selector-mobile",[],null,null,null,h,c)),r["ɵdid"](1,49152,null,0,s.HeaderListTypeSelectorMobileComponent,[l.Store],null,null)],null,null)}var g=r["ɵccf"]("nns-header-list-type-selector-mobile",s.HeaderListTypeSelectorMobileComponent,m,{visual:"visual"},{},[])},"./src/app/header/header-actions/header-list-type-selector-mobile.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderListTypeSelectorMobileComponent",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e}return e.prototype.setListTypeList=function(){this.selectViewType("list")},e.prototype.setListTypePlates=function(){this.selectViewType("plates")},e.prototype.selectViewType=function(e){this._store.dispatch(Object(r.setListType)(e))},e}()},"./src/app/header/header-actions/header-list-type-selector.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_HeaderListTypeSelectorComponent",(function(){return l})),n.d(t,"View_HeaderListTypeSelectorComponent_0",(function(){return c})),n.d(t,"View_HeaderListTypeSelectorComponent_Host_0",(function(){return u})),n.d(t,"HeaderListTypeSelectorComponentNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/button.component.ngfactory.js"),i=n("./src/app/common/button.component.ts"),a=n("./src/app/header/header-actions/header-list-type-selector.component.ts"),s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]   nns-button[_ngcontent-%COMP%] {\n      width: 36px;\n      height: 36px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      border-radius: 50%;\n    }\n    [_nghost-%COMP%]   nns-button[_ngcontent-%COMP%]:hover{\n      background-color: #F5F8FA;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   nns-button[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   nns-button[_ngcontent-%COMP%]:hover {\n      background-color: #20252B;\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-button",[["class","icon transparent nns-to-view-list"],["title","Show as list"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.setListTypeList()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](2,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](3,0,null,null,1,"nns-button",[["class","icon transparent nns-to-view-plates"],["title","Show as tiles"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.setListTypePlates()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](4,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.listIconList),e(t,4,0,n.listIconPlates)}),null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-header-list-type-selector",[],null,null,null,c,l)),r["ɵdid"](1,573440,null,0,a.HeaderListTypeSelectorComponent,[s.Store],null,null)],null,null)}var d=r["ɵccf"]("nns-header-list-type-selector",a.HeaderListTypeSelectorComponent,u,{visual:"visual"},{},[])},"./src/app/header/header-actions/header-list-type-selector.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderListTypeSelectorComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e,this.listIconList="list",this.listIconPlates="plates"}return e.prototype.ngOnChanges=function(e){if(e.visual){var t=e.visual.currentValue.listType,n=e.visual.currentValue.theme;"list"==t?(this.listIconList="day"==n?"list-color":"list",this.listIconPlates="day"==n?"plates":"plates-color"):"plates"==t&&(this.listIconList="day"==n?"list":"list-color",this.listIconPlates="day"==n?"plates-color":"plates")}},e.prototype.setListTypeList=function(){this.selectViewType("list")},e.prototype.setListTypePlates=function(){this.selectViewType("plates")},e.prototype.selectViewType=function(e){this._store.dispatch(Object(r.setListType)(e))},e}()},"./src/app/header/header-actions/header-theme-selector.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_HeaderThemeSelectorComponent",(function(){return c})),n.d(t,"View_HeaderThemeSelectorComponent_0",(function(){return p})),n.d(t,"View_HeaderThemeSelectorComponent_Host_0",(function(){return f})),n.d(t,"HeaderThemeSelectorComponentNgFactory",(function(){return h}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/header/header-actions/header-theme-selector.component.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      cursor: pointer;\n    }\n    nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }"],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","day-mode-grey"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"day-mode-grey")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","night-mode-grey"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"night-mode-grey")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["flex",""],["layout","row"],["layout-align","start center"]],[[8,"title",0]],null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"day"==n.visual.theme),e(t,4,0,"night"==n.visual.theme)}),(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"","day"==n.visual.theme?"Switch to dark theme":"Switch to light theme",""))}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-header-theme-selector",[],null,[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).changeMode(n)&&o);return o}),p,c)),r["ɵdid"](1,49152,null,0,s.HeaderThemeSelectorComponent,[l.Store],null,null)],null,null)}var h=r["ɵccf"]("nns-header-theme-selector",s.HeaderThemeSelectorComponent,f,{visual:"visual"},{},[])},"./src/app/header/header-actions/header-theme-selector.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderThemeSelectorComponent",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e}return e.prototype.changeMode=function(){"day"===this.visual.theme?this._store.dispatch(Object(r.setTheme)("night")):this._store.dispatch(Object(r.setTheme)("day"))},e}()},"./src/app/header/header-dropdown.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderDropdownService",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/operators/index.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=function(){function e(){var e=this,t=new o.Observable((function(t){e.dropdownCloseObserver=t}));this.dropdownClose$=t.pipe(Object(r.publish)(),Object(r.refCount)())}return e.prototype.close=function(){this.dropdownCloseObserver.next(!0)},e}()},"./src/app/header/header-profile.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_HeaderProfileComponent",(function(){return h})),n.d(t,"View_HeaderProfileComponent_0",(function(){return g})),n.d(t,"View_HeaderProfileComponent_Host_0",(function(){return y})),n.d(t,"HeaderProfileComponentNgFactory",(function(){return v}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/header/profile-more.component.ngfactory.js"),i=n("./src/app/header/profile-more.component.ts"),a=n("./src/app/header/header-dropdown.service.ts"),s=n("./src/app/universal-config.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=n("./src/app/share/note/note.service.ts"),u=n("./src/app/common/icon.component.ngfactory.js"),d=n("./src/app/common/icon.component.ts"),p=n("./node_modules/@angular/common/fesm5/common.js"),f=n("./src/app/header/header-profile.component.ts"),h=r["ɵcrt"]({encapsulation:0,styles:[".nns-header-profile-menu[_ngcontent-%COMP%] {\n      position:relative;\n    }\n    .nns-header-profile-dropdown[_ngcontent-%COMP%] {\n      position:absolute;\n      top:100%;\n      right:0;\n    }\n    .nns-header-profile-dropdown-inner[_ngcontent-%COMP%] {\n      padding:12px 0;\n    }\n    .nns-header-profile-button[_ngcontent-%COMP%] {\n      display:block;\n      cursor:pointer;\n    }\n    .nns-header-profile-button[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }"],data:{}});function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-profile-more",[],null,null,null,o.View_ProfileMoreComponent_0,o.RenderType_ProfileMoreComponent)),r["ɵdid"](1,573440,null,0,i.ProfileMoreComponent,[a.HeaderDropdownService,s.Config,l.Store,c.NoteService],{profile:[0,"profile"],note:[1,"note"],share:[2,"share"],shareOrganization:[3,"shareOrganization"],visual:[4,"visual"],workspaces:[5,"workspaces"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.profile,n.note,n.share,n.shareOrganization,n.visual,n.workspaces)}),null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","nns-header-profile-menu"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-header-profile-button"],["title","Settings"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.toggle()&&r);return r}),null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","more-dark"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),u.View_IconComponent_0,u.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,d.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,3,"div",[["class","nns-header-profile-dropdown"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,2,"div",[["class","nns-header-profile-dropdown-inner"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](7,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,"more-dark"),e(t,7,0,n.isVisibleDropdown&&n.profile)}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-header-profile",[],null,[[null,"clickOutside"]],(function(e,t,n){var o=!0;"clickOutside"===t&&(o=!1!==r["ɵnov"](e,1).onClickOutside(n)&&o);return o}),g,h)),r["ɵdid"](1,49152,null,0,f.HeaderProfileComponent,[],null,null)],null,null)}var v=r["ɵccf"]("nns-header-profile",f.HeaderProfileComponent,y,{profile:"profile",note:"note",share:"share",shareOrganization:"shareOrganization",visual:"visual",workspaces:"workspaces"},{},[])},"./src/app/header/header-profile.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderProfileComponent",(function(){return r}));var r=function(){function e(){this.isVisibleDropdown=!1}return e.prototype.toggle=function(){this.isVisibleDropdown=!this.isVisibleDropdown},e.prototype.close=function(){this.isVisibleDropdown=!1},e.prototype.open=function(){this.isVisibleDropdown=!0},e.prototype.onClickOutside=function(e){this.close()},e}()},"./src/app/header/header.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_HeaderComponent",(function(){return O})),n.d(t,"View_HeaderComponent_0",(function(){return P})),n.d(t,"View_HeaderComponent_Host_0",(function(){return R})),n.d(t,"HeaderComponentNgFactory",(function(){return I}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/header/get-nimbus.component.ngfactory.js"),i=n("./src/app/common/click-outside.directive.ts"),a=n("./src/app/header/get-nimbus.component.ts"),s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=n("./src/app/universal-config.ts"),c=n("./src/app/branding/branding-logo.component.ngfactory.js"),u=n("./src/app/branding/branding-logo.component.ts"),d=n("./node_modules/@angular/common/fesm5/common.js"),p=n("./node_modules/@angular/material/esm5/menu.es5.js"),f=n("./node_modules/@angular/cdk/esm5/overlay.es5.js"),h=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),m=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),g=n("./node_modules/@angular/material/menu/typings/index.ngfactory.js"),y=n("./src/app/auth-form/auth-form.component.ngfactory.js"),v=n("./src/app/auth-form/auth-form.component.ts"),b=n("./src/app/auth-form/auth-api-client.service.ts"),_=n("./src/app/header/header-actions.component.ngfactory.js"),w=n("./src/app/header/header-actions.component.ts"),C=n("./src/app/share/share-copy.service.ts"),S=n("./src/app/share/note/note.service.ts"),E=n("./src/app/header/header.component.ts"),x=n("./src/app/profile/profile.service.ts"),k=n("./src/app/header/get-nimbus-popup.service.ts"),O=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      width:100%;\n      min-width:320px;\n      background:#FFFFFF;\n      border-bottom:1px solid #F5F5F5;\n      position:relative;\n      z-index: 3;\n    }\n    .nns-wrapper[_ngcontent-%COMP%] {\n      max-width:1600px;\n      min-width:320px;\n      min-height:56px;\n      margin:0 auto;\n      padding:0 10px;\n      position:relative;\n      box-sizing:border-box;\n      z-index:75;\n    }\n    .nns-menu-trigger[_ngcontent-%COMP%]{\n      opacity: 0;\n    }\n\n    .nns-fullscreen[_nghost-%COMP%] {transform:translate(0, -100%); position:absolute;}\n\n    .nns-header-title[_ngcontent-%COMP%] {display:none;}\n    .nns-header-title-button[_ngcontent-%COMP%] {\n      display:block;\n      background:none;\n      border:none;\n      color:#fff;\n      font-size:15px;\n      font-weight:bold;\n      display:block;\n      text-align:left;\n      width:auto;\n      max-width:100%;\n    }\n    .nns-header-title-icon[_ngcontent-%COMP%] {width:36px;}\n    .nns-header-title-text[_ngcontent-%COMP%] {\n      margin:0 0 0 10px;\n      overflow:hidden;\n      text-overflow:ellipsis;\n      white-space:nowrap;\n      display:block;\n    }\n\n    nns-get-nimbus[_ngcontent-%COMP%] {\n      position:relative;\n      margin:0 10px 0 0;\n      display:block;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]{\n      flex-direction: row-reverse;\n    }\n    .nns-header-content[_ngcontent-%COMP%]{\n      height: 56px;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]   .nns-header-content[_ngcontent-%COMP%]{\n      justify-content: flex-end;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]   nns-header-actions[_ngcontent-%COMP%]{\n      position: relative;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]     nns-header-profile .nns-header-profile-menu{\n      position: unset;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]     nns-header-profile .nns-header-profile-dropdown{\n      left: 0;\n      right: auto;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]     nns-header-profile .nns-header-profile-dropdown-inner{\n      padding-top: 0;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]     nns-save-action .nns-save-button-dropdown{\n      left: 0;\n      right: auto;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]     .nns-header-save, .nns-wrapper__right[_ngcontent-%COMP%]     nns-save-action{\n      position: unset;\n    }\n\n    .nns-wrapper__right[_ngcontent-%COMP%]     nns-save-action .nns-save-button-dropdown-inner{\n      padding-top: 0;\n    }\n\n    .nns-wrapper__center[_ngcontent-%COMP%]   .nns-header-content[_ngcontent-%COMP%]{\n      width: 33%;\n      margin-left: 33%;\n      justify-content: center;\n    }\n\n    .nns-wrapper__center[_ngcontent-%COMP%]   nns-header-actions[_ngcontent-%COMP%]{\n      width: 33%;\n    }\n\n    @media only screen and (max-width: 768px) {\n      .nns-fullscreen[_nghost-%COMP%] {transform:none; position:relative;}\n      .nns-header-title[_ngcontent-%COMP%] {display:block;}\n\n      .nns-branding-logo[_nghost-%COMP%]   .nns-wrapper__center[_ngcontent-%COMP%]   .nns-header-content[_ngcontent-%COMP%]{\n        width: 100%;\n        margin-left: 0;\n      }\n      .nns-branding-logo[_nghost-%COMP%]   .nns-header-title[_ngcontent-%COMP%], .nns-branding-logo[_nghost-%COMP%]   nns-header-actions[_ngcontent-%COMP%]{\n        display: none;\n      }\n    }",".nns-fullwidth[_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%]{\n      max-width: 100%;\n    }\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background: #292E32;\n      border-bottom-color: #3B3B3B;\n    }"],data:{}});function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-get-nimbus",[["clickOutside",""],["flex","none"]],null,[[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);"click"===t&&(o=!1!==i.handleGetNimbusClick()&&o);return o}),o.View_GetNimbusComponent_0,o.RenderType_GetNimbusComponent)),r["ɵdid"](1,16384,null,0,i.ClickOutsideDirective,[],null,null),r["ɵdid"](2,49152,null,0,a.GetNimbusComponent,[s.Store,s.Store,l.Config],{profile:[0,"profile"]},null)],(function(e,t){e(t,2,0,t.component.profile)}),null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-branding-logo",[],null,null,null,c.View_BrandingLogoComponent_0,c.RenderType_BrandingLogoComponent)),r["ɵdid"](1,573440,null,0,u.BrandingLogoComponent,[l.Config],{sharesLogo:[0,"sharesLogo"],sharesLogoLink:[1,"sharesLogoLink"],visual:[2,"visual"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.branding.sharesLogoStoredFileUUID,n.branding.sharesLogoLink,n.visual)}),null)}function P(e){return r["ɵvid"](0,[r["ɵqud"](402653184,1,{menuTrigger:0}),(e()(),r["ɵeld"](1,0,null,null,20,"div",[["class","nns-wrapper"],["flex",""],["layout","row"],["layout-align-sm","start center"]],null,null,null,null,null)),r["ɵdid"](2,278528,null,0,d.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{"nns-wrapper__right":0,"nns-wrapper__center":1}),(e()(),r["ɵeld"](4,0,null,null,14,"div",[["class","nns-header-content"],["flex",""],["layout","row"],["layout-align","stretch center"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,16777216,null,null,1,"div",[["aria-haspopup","true"],["class","nns-menu-trigger"]],[[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(e,t,n){var o=!0,i=e.component;"mousedown"===t&&(o=!1!==r["ɵnov"](e,6)._handleMousedown(n)&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,6)._handleKeydown(n)&&o);"click"===t&&(o=!1!==r["ɵnov"](e,6)._handleClick(n)&&o);"click"===t&&(o=!1!==i.focusFormInput()&&o);return o}),null,null)),r["ɵdid"](6,1196032,[[1,4],["myTrigger",4]],0,p.MatMenuTrigger,[f.Overlay,r.ElementRef,r.ViewContainerRef,p.MAT_MENU_SCROLL_STRATEGY,[2,p.MatMenu],[8,null],[2,h.Directionality],m.FocusMonitor],{menu:[0,"menu"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](8,16384,null,0,d.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](10,16384,null,0,d.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](11,0,null,null,7,"mat-menu",[],null,null,null,g.View_MatMenu_0,g.RenderType_MatMenu)),r["ɵprd"](6144,null,p["ɵf23"],null,[p.MatMenu]),r["ɵdid"](13,1294336,[["myDrop",4]],2,p.MatMenu,[r.ElementRef,r.NgZone,p.MAT_MENU_DEFAULT_OPTIONS],{panelClass:[0,"panelClass"]},null),r["ɵqud"](603979776,2,{items:1}),r["ɵqud"](335544320,3,{lazyContent:0}),(e()(),r["ɵeld"](16,0,null,0,2,"div",[],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var r=!0;"click"===t&&(n.preventDefault(),r=!1!==n.stopPropagation()&&r);"keydown"===t&&(r=!1!==n.stopPropagation()&&r);return r}),null,null)),(e()(),r["ɵeld"](17,0,null,null,1,"nim-webshare-auth-form",[["id","nim-get-nimbus-auth-form"]],null,[[null,"nimClose"],[null,"nimSubmit"]],(function(e,t,n){var r=!0,o=e.component;"nimClose"===t&&(r=!1!==o.menuTrigger.closeMenu()&&r);"nimSubmit"===t&&(r=!1!==o.handleSignup(n)&&r);return r}),y.View_NimWebshareAuthFormComponent_0,y.RenderType_NimWebshareAuthFormComponent)),r["ɵdid"](18,114688,null,0,v.NimWebshareAuthFormComponent,[b.NimAuthApiClientService],{viewType:[0,"viewType"],isShowClose:[1,"isShowClose"],termsLink:[2,"termsLink"],otpLink:[3,"otpLink"],authUrl:[4,"authUrl"]},{nimClose:"nimClose",nimSubmit:"nimSubmit"}),(e()(),r["ɵeld"](19,0,null,null,2,"nns-header-actions",[["clickOutside",""],["flex","none"],["layout","row"],["layout-align","end center"]],null,[[null,"click"],["document","click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,20).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,20).onDocumentClick(n)&&o);return o}),_.View_HeaderActionsComponent_0,_.RenderType_HeaderActionsComponent)),r["ɵdid"](20,16384,null,0,i.ClickOutsideDirective,[],null,null),r["ɵdid"](21,573440,null,0,w.HeaderActionsComponent,[s.Store,l.Config,C.ShareCopyService,"isBrowser",S.NoteService],{profile:[0,"profile"],attachment:[1,"attachment"],visual:[2,"visual"],note:[3,"note"],login:[4,"login"],share:[5,"share"],shareCopy:[6,"shareCopy"],branding:[7,"branding"],childrenNotesCount:[8,"childrenNotesCount"],shareOrganization:[9,"shareOrganization"],workspaces:[10,"workspaces"]},null)],(function(e,t){var n=t.component,o=e(t,3,0,n.branding&&n.branding.sharesLogoStoredFileUUID&&"right"==n.branding.sharesLogoPosition,n.branding&&n.branding.sharesLogoStoredFileUUID&&"center"==n.branding.sharesLogoPosition);e(t,2,0,"nns-wrapper",o),e(t,6,0,r["ɵnov"](t,13)),e(t,8,0,!n.branding||!n.branding.sharesLogoStoredFileUUID),e(t,10,0,n.branding&&n.branding.sharesLogoStoredFileUUID&&null!=n.branding.sharesLogoStoredFileUUID),e(t,13,0,r["ɵinlineInterpolate"](1,"m-auth-drop nns-theme-",n.visual.theme,""));e(t,18,0,1,!0,n.termsUrl,n.contactUrl,n.authUrl),e(t,21,1,[n.profile,n.attachment,n.visual,n.note,n.login,n.share,n.shareCopy,n.branding,n.childrenNotesCount,n.shareOrganization,n.workspaces])}),(function(e,t){e(t,5,0,r["ɵnov"](t,6).menuOpen||null)}))}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-header",[],null,null,null,P,O)),r["ɵdid"](1,180224,null,0,E.HeaderComponent,[x.ProfileService,l.Config,k.GetNimbusPopupService],null,null)],null,null)}var I=r["ɵccf"]("nns-header",E.HeaderComponent,R,{profile:"profile",attachment:"attachment",visual:"visual",login:"login",note:"note",share:"share",branding:"branding",shareCopy:"shareCopy",childrenNotesCount:"childrenNotesCount",shareOrganization:"shareOrganization",workspaces:"workspaces"},{},[])},"./src/app/header/header.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderComponent",(function(){return i}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@angular/material/esm5/menu.es5.js"),n("./src/app/profile/profile.service.ts"),n("./src/app/universal-config.ts");var r=n("./node_modules/rxjs/_esm5/index.js"),o=(n("./src/app/header/get-nimbus-popup.service.ts"),n("./src/app/auth-form/auth.model.ts")),i=function(){function e(e,t,n){var o=this;this._profileService=e,this._config=t,this._getNimbusPopupService=n,this.authPopupSubscribe$=new r.Subscription,this.termsUrl=this._config.get("NIMBUS_TERMS_URL"),this.contactUrl=this._config.get("NIMBUS_CONTACT_URL"),this.authUrl=this._config.get("AUTH_API_URL"),this.authPopupSubscribe$.add(this._getNimbusPopupService.openGetNimbusAuthPopup$.subscribe((function(){o.signupPopupType="print",o.openAuthPopup()})))}return e.prototype.openAuthPopup=function(){this.menuTrigger.openMenu(),this.focusFormInput()},e.prototype.focusFormInput=function(){document.querySelector('#nim-get-nimbus-auth-form input[name="email"]').focus()},e.prototype.handleSignup=function(e){this._profileService.applyAuth(e,o.NIM_AUTH_TYPE.SIGNUP,this.signupPopupType),this._profileService.showSignUpSuccessToast(),this.menuTrigger.closeMenu()},e.prototype.handleGetNimbusClick=function(){this.profile||(this.signupPopupType="head_left",this.openAuthPopup())},e.prototype.ngOnDestroy=function(){this.authPopupSubscribe$.unsubscribe()},e}()},"./src/app/header/header.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"HeaderModule",(function(){return r}));var r=function(){}},"./src/app/header/profile-more.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ProfileMoreComponent",(function(){return g})),n.d(t,"View_ProfileMoreComponent_0",(function(){return T})),n.d(t,"View_ProfileMoreComponent_Host_0",(function(){return A})),n.d(t,"ProfileMoreComponentNgFactory",(function(){return P}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/common/click-logout.directive.ts"),l=n("./src/app/universal-config.ts"),c=n("./node_modules/@ngrx/store/fesm5/store.js"),u=n("./src/app/common/button.component.ngfactory.js"),d=n("./src/app/common/button.component.ts"),p=n("./src/app/common/click-login.directive.ts"),f=n("./src/app/header/profile-more.component.ts"),h=n("./src/app/header/header-dropdown.service.ts"),m=n("./src/app/share/note/note.service.ts"),g=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      background: #FFFFFF;\n      border: 1px solid #E9EEF0;\n      border-radius: 4px;\n      box-sizing:border-box;\n      width:248px;\n      font-size:12px;\n      display:block;\n      padding:8px;\n      box-shadow: 4px 4px 38px rgba(167, 194, 198, 0.35);\n    }\n    .nns-modal-more-signed-logo[_ngcontent-%COMP%] {padding:0 0 10px 0;}\n    .nns-modal-more-signed-text[_ngcontent-%COMP%] {\n      text-align:center;\n      padding:0 0 16px 0;\n      color:rgba(0,0,0,0.60);\n    }\n    .nns-modal-signed-action[_ngcontent-%COMP%]   nns-button[_ngcontent-%COMP%] {display:block; width:100%;}\n\n    .nns-modal-more-signed-out[_ngcontent-%COMP%]{\n      padding:0 0 16px 0;\n    }\n\n    .nns-modal-more-signed-account[_ngcontent-%COMP%] {\n      padding:0 16px 8px 16px;\n      border-bottom: 1px solid #E9EEF0;\n    }\n    .nns-modal-more-signed-logo-small[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {display:block;}\n    .nns-modal-more-signed-logo-small[_ngcontent-%COMP%] {width: 16px; height: 16px;}\n    .nns-modal-more-signed-logo-small[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{\n      width: 100%;\n      height: 100%;\n      border-radius: 50%;\n      object-fit: cover;\n    }\n    .nns-modal-more-signed-account-text[_ngcontent-%COMP%] {padding:0 0 0 16px;}\n    .nns-modal-more-signed-account-name[_ngcontent-%COMP%] {\n      white-space:nowrap;\n      overflow:hidden;\n      text-overflow:ellipsis;\n      font-size:14px;\n      max-width: 100%;\n    }\n\n    .nns-modal-signed-link[_ngcontent-%COMP%] {\n      padding: 9px 16px;\n      color: #1F1F1F;\n      font-size: 13px;\n      cursor: pointer;\n      margin-top: 8px;\n    }\n    .nns-modal-signed-link[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {\n      margin-right: 14px;\n    }\n    .nns-modal-more-signed-logo-small[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%], .nns-modal-signed-link[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {\n      min-width: 16px;\n      min-height: 16px;\n      width: 16px;\n      height: 16px;\n    }\n    .nns-modal-signed-link[_ngcontent-%COMP%]:hover {background:rgba(236,239,241,0.28);}\n\n    .nns-modal-more-products[_ngcontent-%COMP%] {}\n    .nns-modal-more-products-title[_ngcontent-%COMP%] {\n      font-weight:bold;\n      font-size:16px;\n      padding:0 0 10px 0;\n    }\n    .nns-modal-more-products-item[_ngcontent-%COMP%] {padding:0 0 20px 0;}\n    .nns-modal-more-products-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .nns-modal-more-products-item[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {display:block;}\n\n\n\n    @media only screen and (max-width: 768px) {\n      .nns-link-my-notes[_ngcontent-%COMP%], .nns-link-open-note[_ngcontent-%COMP%], .nns-link-branding[_ngcontent-%COMP%]{\n        display: none;\n      }\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background: #292E32;\n      border-color: #161A1E;\n      box-shadow: 4px 4px 38px rgba(19, 30, 32, 0.66);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-modal-more-signed-text[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-more-signed-text[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-modal-more-signed-account-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-more-signed-account-title[_ngcontent-%COMP%] {\n      color: rgba(255,255,255,0.60);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-modal-more-signed-account[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-more-signed-account[_ngcontent-%COMP%] {\n      border-bottom-color: #161A1E;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-modal-more-signed-out[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-more-signed-out[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-modal-more-signed-in[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-more-signed-in[_ngcontent-%COMP%] {\n      border-color:rgba(0,0,0, 0.12);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-modal-signed-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-signed-link[_ngcontent-%COMP%] {\n      color: #fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-modal-signed-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-modal-signed-link[_ngcontent-%COMP%]:hover {\n      background:rgba(181,181,181,0.10);\n      color:#fff;\n    }"],data:{}});function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[["alt","fusebase icon"],["src","./dist/assets/fusebase-icon.svg"]],null,null,null,null,null))],null,null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.profile.avatarUrl,""))}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"a",[["class","nns-modal-signed-link nns-link-open-note"],["flex","noshrink"],["layout","row"],["layout-align","start center"],["target","_blank"]],[[8,"href",4],[8,"title",0]],null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-icon",[["flex","none"],["icon","redo"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,2).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,2).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](2,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](3,0,null,null,1,"span",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](4,null,[" Open "," in web-client "]))],(function(e,t){e(t,2,0,"redo")}),(function(e,t){var n=t.component;e(t,0,0,n.noteUrl,r["ɵinlineInterpolate"](1,"Open ","note"===n.note.type?"page":n.note.type," in web-client")),e(t,1,0,r["ɵnov"](t,2)._classes),e(t,4,0,"note"===n.note.type?"page":n.note.type)}))}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["flex","none"],["icon","day-mode-grey"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"day-mode-grey")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["flex","none"],["icon","night-mode-grey"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"night-mode-grey")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function C(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Dark theme "]))],null,null)}function S(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Light theme "]))],null,null)}function E(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"a",[["class","nns-modal-signed-link"],["flex","noshrink"],["layout","row"],["layout-align","start center"],["target","_blank"],["title","Change theme"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.changeTheme()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,_)),r["ɵdid"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,w)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,C)),r["ɵdid"](6,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,S)),r["ɵdid"](8,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"day"===n.visual.theme),e(t,4,0,"night"===n.visual.theme),e(t,6,0,"day"===n.visual.theme),e(t,8,0,"night"===n.visual.theme)}),null)}function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"a",[["class","nns-modal-signed-link nns-link-branding"],["flex","noshrink"],["layout","row"],["layout-align","start center"],["target","_blank"],["title","Branding"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-icon",[["flex","none"],["icon","branding"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,2).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,2).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](2,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](3,0,null,null,1,"span",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Branding "]))],(function(e,t){e(t,2,0,"branding")}),(function(e,t){e(t,0,0,t.component.brandingUrl),e(t,1,0,r["ɵnov"](t,2)._classes)}))}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,28,"div",[["class","nns-modal-more-signed-in"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,10,"div",[["class","nns-modal-more-signed-account"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,4,"div",[["class","nns-modal-more-signed-logo-small"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](6,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](7,0,null,null,4,"div",[["class","nns-modal-more-signed-account-text"],["flex",""],["layout","column"]],[[8,"title",0]],null,null,null,null)),(e()(),r["ɵeld"](8,0,null,null,1,"div",[["class","nns-modal-more-signed-account-title"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Account"])),(e()(),r["ɵeld"](10,0,null,null,1,"div",[["class","nns-modal-more-signed-account-name"],["flex","noshrink"]],null,null,null,null,null)),(e()(),r["ɵted"](11,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](13,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,E)),r["ɵdid"](15,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,x)),r["ɵdid"](17,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](18,0,null,null,4,"a",[["class","nns-modal-signed-link nns-link-my-notes"],["flex","noshrink"],["layout","row"],["layout-align","start center"],["title","My pages"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](19,0,null,null,1,"nns-icon",[["flex","none"],["icon","note"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,20).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,20).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](20,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](21,0,null,null,1,"span",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" My pages "])),(e()(),r["ɵeld"](23,0,null,null,5,"span",[["class","nns-modal-signed-link"],["clickLogout",""],["flex","noshrink"],["layout","row"],["layout-align","start center"],["title","Logout"]],null,[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,24).onClick(n)&&o);return o}),null,null)),r["ɵdid"](24,16384,null,0,s.ClickLogoutDirective,[l.Config,c.Store],null,null),(e()(),r["ɵeld"](25,0,null,null,1,"nns-icon",[["flex","none"],["icon","exit"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,26).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,26).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](26,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](27,0,null,null,1,"span",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Logout "]))],(function(e,t){var n=t.component;e(t,4,0,!n.profile.avatarUrl),e(t,6,0,n.profile.avatarUrl),e(t,13,0,n.note&&n.note.type&&n.isShowOpenNote),e(t,15,0,n.note&&n.note.type),e(t,17,0,n.brandingUrl);e(t,20,0,"note");e(t,26,0,"exit")}),(function(e,t){var n=t.component;e(t,7,0,n.profile.email),e(t,11,0,n.profile.email),e(t,18,0,n.nimbusNoteUrl),e(t,19,0,r["ɵnov"](t,20)._classes),e(t,25,0,r["ɵnov"](t,26)._classes)}))}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,9,"div",[["class","nns-modal-more-signed-out"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-modal-more-signed-logo"],["flex","none"],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","nimbus-note"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,1,"div",[["class","nns-modal-more-signed-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Never forget something important for you! "])),(e()(),r["ɵeld"](6,0,null,null,3,"div",[["class","nns-modal-signed-action"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,2,"nns-button",[["clickLogin",""],["text","Sign In"]],null,[[null,"click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,9).onClick(n)&&o);"click"===t&&(o=!1!==i.close()&&o);return o}),u.View_ButtonComponent_0,u.RenderType_ButtonComponent)),r["ɵdid"](8,49152,null,0,d.ButtonComponent,[],{text:[0,"text"]},null),r["ɵdid"](9,16384,null,0,p.ClickLoginDirective,[l.Config,c.Store],null,null)],(function(e,t){e(t,3,0,"nimbus-note");e(t,8,0,"Sign In")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function T(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,k)),r["ɵdid"](1,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),r["ɵand"](0,[["notLogged",2]],null,0,null,O))],(function(e,t){e(t,1,0,t.component.profile,r["ɵnov"](t,2))}),null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-profile-more",[],null,null,null,T,g)),r["ɵdid"](1,573440,null,0,f.ProfileMoreComponent,[h.HeaderDropdownService,l.Config,c.Store,m.NoteService],null,null)],null,null)}var P=r["ɵccf"]("nns-profile-more",f.ProfileMoreComponent,A,{profile:"profile",note:"note",share:"share",shareOrganization:"shareOrganization",visual:"visual",workspaces:"workspaces"},{},[])},"./src/app/header/profile-more.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ProfileMoreComponent",(function(){return i}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/header/header-dropdown.service.ts"),n("./src/app/universal-config.ts");var r=n("./src/app/visual/visual.actions.ts"),o=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/share/note/note.service.ts"),n("./src/model/organization.model.ts")),i=function(){function e(e,t,n,r){this.headerDropdownService=e,this._config=t,this._store=n,this._noteService=r,this.nimbusNoteUrl=this._config.get("NIMBUS_NOTE_URL"),this.nimbusTeamsUrl=this._config.get("NIMBUS_TEAMS_URL")}return e.prototype.close=function(){this.headerDropdownService.close()},e.prototype.ngOnChanges=function(e){var t=this;this.note&&this.share&&this.share.instance&&this.setNoteUrl(),(e.workspaces||e.share)&&this.workspaces.length&&(this.isShowOpenNote=this.workspaces.some((function(e){return e.globalId===t.share.instance.workspaceId})))},e.prototype.setNoteUrl=function(){this.noteUrl=this._noteService.getNodeUrl(this.share.instance.org,this.note.workspaceId,this.note.globalId,this.note.type),this.shareOrganization&&Object(o.isB2BOrgPredicate)()(this.shareOrganization)&&this.shareOrganization.userRole&&("owner"==this.shareOrganization.userRole.role||"manager"==this.shareOrganization.userRole.role)&&this.setBrandingUrl()},e.prototype.setBrandingUrl=function(){this.brandingUrl=this.nimbusTeamsUrl+"/org/"+this.shareOrganization.globalId+"/ws/"+this.share.instance.workspaceId+"?editTitle=false&openBranding=true"},e.prototype.changeTheme=function(){"day"===this.visual.theme?this._store.dispatch(Object(r.setTheme)("night")):this._store.dispatch(Object(r.setTheme)("day"))},e}()},"./src/app/header/save-action.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SaveActionComponent",(function(){return k})),n.d(t,"View_SaveActionComponent_0",(function(){return R})),n.d(t,"View_SaveActionComponent_Host_0",(function(){return I})),n.d(t,"SaveActionComponentNgFactory",(function(){return M}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/login/login-dialog.component.ngfactory.js"),i=n("./src/app/login/login-dialog.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/universal-config.ts"),l=n("./src/app/common/click-outside.directive.ts"),c=n("./src/app/select/select-dialog.component.ngfactory.js"),u=n("./src/app/select/select-dialog.component.ts"),d=n("./src/app/share/share-copy.service.ts"),p=n("./src/app/header/save-button.component.ngfactory.js"),f=n("./node_modules/@angular/common/fesm5/common.js"),h=n("./src/app/header/save-button.component.ts"),m=n("./node_modules/@angular/material/esm5/menu.es5.js"),g=n("./node_modules/@angular/cdk/esm5/overlay.es5.js"),y=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),v=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),b=n("./node_modules/@angular/material/menu/typings/index.ngfactory.js"),_=n("./src/app/auth-form/auth-form.component.ngfactory.js"),w=n("./src/app/auth-form/auth-form.component.ts"),C=n("./src/app/auth-form/auth-api-client.service.ts"),S=n("./src/app/header/save-action.component.ts"),E=n("./src/app/profile/profile.service.ts"),x=n("./src/app/share/note/note.service.ts"),k=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position: relative;\n      display: block;\n    }\n\n    .nns-save-button-dropdown[_ngcontent-%COMP%] {\n      position:absolute;\n      right:0;\n      top:100%;\n    }\n    .nns-save-button-dropdown-inner[_ngcontent-%COMP%] {\n      padding:12px 0;\n      position:relative;\n    }\n\n    .nns-save-button-dropdown-holder[_ngcontent-%COMP%] {\n      background: #FFFFFF;\n      border: 1px solid #F5F5F5;\n      border-radius: 2px;\n      box-sizing:border-box;\n      width:380px;\n      display:block;\n      padding:8px 16px;\n      box-shadow: 0px 3.2px 7.2px rgba(0, 0, 0, 0.06);\n    }\n\n    .nns-button-disabled[_ngcontent-%COMP%]{\n      opacity: 0.6;\n      cursor: default;\n    }\n\n    @media only screen and (max-width: 768px) {\n      .nns-save-button-dropdown-inner[_ngcontent-%COMP%] {\n        width:100%;\n        position:fixed;\n        left:0;\n        top:0;\n        height:100%;\n        padding:0;\n        z-index:170;\n        background: rgba(0,0,0,0.54);\n        box-sizing:border-box;\n      }\n\n      .nns-save-button-dropdown-holder[_ngcontent-%COMP%] {\n        overflow:auto;\n        max-height:100%;\n        width: 100%;\n      }\n\n      .nns-save-button-dropdown-holder[_ngcontent-%COMP%]     > * {\n        width:60%;\n        margin:0 auto;\n        background:none;\n        border:none;\n        box-shadow:none;\n      }\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-save-button-dropdown-holder[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-save-button-dropdown-holder[_ngcontent-%COMP%] {\n      background: #292E32;\n      border: 1px solid #161A1E;\n      box-shadow: 4px 4px 38px rgba(19, 30, 32, 0.66)\n    }\n    @media only screen and (max-width: 768px) {\n      .nns-theme-night[_nghost-%COMP%]   .nns-save-button-dropdown-holder[_ngcontent-%COMP%]     > *, .nns-theme-night   [_nghost-%COMP%]   .nns-save-button-dropdown-holder[_ngcontent-%COMP%]     > * {\n        width:100%;\n        background:none;\n        border:none;\n        box-shadow:none;\n      }\n    }"],data:{}});function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-save-button-dropdown"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"div",[["class","nns-save-button-dropdown-inner"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,2,"div",[["class","nns-save-button-dropdown-holder"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,1,"nns-login-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,4).close(n)&&o);return o}),o.View_LoginDialogComponent_0,o.RenderType_LoginDialogComponent)),r["ɵdid"](4,770048,null,0,i.LoginDialogComponent,[a.Store,s.Config,"isBrowser"],{visual:[0,"visual"]},null)],(function(e,t){e(t,4,0,t.component.visual)}),null)}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","nns-save-button-dropdown"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","nns-save-button-dropdown-inner"]],null,[[null,"clickOutside"],[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,2).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!==i.onClickOutside(n)&&o);return o}),null,null)),r["ɵdid"](2,16384,null,0,l.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-save-button-dropdown-holder"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,"nns-select-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,5).close(n)&&o);return o}),c.View_SelectDialogComponent_0,c.RenderType_SelectDialogComponent)),r["ɵdid"](5,49152,null,0,u.SelectDialogComponent,[a.Store,s.Config,d.ShareCopyService],{profile:[0,"profile"],organizations:[1,"organizations"],selectedOrganization:[2,"selectedOrganization"],workspaces:[3,"workspaces"],selectedWorkspace:[4,"selectedWorkspace"],state:[5,"state"],visual:[6,"visual"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.profile,n.organizations,n.selectedOrganization,n.workspaces,n.selectedWorkspace,n.state,n.visual)}),null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"nns-save-button",[["class","nns-animated"],["title","Save to FuseBase"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.openSelectDialog()&&r);return r}),p.View_SaveButtonComponent_0,p.RenderType_SaveButtonComponent)),r["ɵdid"](2,278528,null,0,f.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{primary:0,disabled:1}),r["ɵdid"](4,573440,null,0,h.SaveButtonComponent,[],{state:[0,"state"],showTitle:[1,"showTitle"],type:[2,"type"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,O)),r["ɵdid"](6,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](8,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,3,0,n.isPrimary,!n.visual.isSocketConnected);e(t,2,0,"nns-animated",r),e(t,4,0,n.state,n.showTitle,n.note.type),e(t,6,0,null==n.login?null:n.login.isLoginDialogOpened),e(t,8,0,null==n.visual?null:n.visual.isSelectDialogOpened)}),null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),r["ɵeld"](1,16777216,null,null,4,"nns-save-button",[["aria-haspopup","true"],["class","nns-animated"]],[[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(e,t,n){var o=!0,i=e.component;"mousedown"===t&&(o=!1!==r["ɵnov"](e,4)._handleMousedown(n)&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,4)._handleKeydown(n)&&o);"click"===t&&(o=!1!==r["ɵnov"](e,4)._handleClick(n)&&o);"click"===t&&(o=!1!==i.focusFormInput()&&o);return o}),p.View_SaveButtonComponent_0,p.RenderType_SaveButtonComponent)),r["ɵdid"](2,278528,null,0,f.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{primary:0}),r["ɵdid"](4,1196032,[["myTrigger",4]],0,m.MatMenuTrigger,[g.Overlay,r.ElementRef,r.ViewContainerRef,m.MAT_MENU_SCROLL_STRATEGY,[2,m.MatMenu],[8,null],[2,y.Directionality],v.FocusMonitor],{menu:[0,"menu"]},null),r["ɵdid"](5,573440,null,0,h.SaveButtonComponent,[],{state:[0,"state"],showTitle:[1,"showTitle"]},null),(e()(),r["ɵeld"](6,0,null,null,7,"mat-menu",[],null,null,null,b.View_MatMenu_0,b.RenderType_MatMenu)),r["ɵprd"](6144,null,m["ɵf23"],null,[m.MatMenu]),r["ɵdid"](8,1294336,[["myDrop",4]],2,m.MatMenu,[r.ElementRef,r.NgZone,m.MAT_MENU_DEFAULT_OPTIONS],{panelClass:[0,"panelClass"]},null),r["ɵqud"](603979776,1,{items:1}),r["ɵqud"](335544320,2,{lazyContent:0}),(e()(),r["ɵeld"](11,0,null,0,2,"div",[],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var r=!0;"click"===t&&(n.preventDefault(),r=!1!==n.stopPropagation()&&r);"keydown"===t&&(r=!1!==n.stopPropagation()&&r);return r}),null,null)),(e()(),r["ɵeld"](12,0,null,null,1,"nim-webshare-auth-form",[["id","nim-save-action-auth-form"]],null,[[null,"nimClose"],[null,"nimSubmit"],[null,"nimAuthTypeChange"]],(function(e,t,n){var o=!0,i=e.component;"nimClose"===t&&(o=!1!==r["ɵnov"](e,4).closeMenu()&&o);"nimSubmit"===t&&(o=!1!==i.handleAuthSubmit(n)&&o);"nimAuthTypeChange"===t&&(o=!1!==i.handleAuthTab(n)&&o);return o}),_.View_NimWebshareAuthFormComponent_0,_.RenderType_NimWebshareAuthFormComponent)),r["ɵdid"](13,114688,null,0,w.NimWebshareAuthFormComponent,[C.NimAuthApiClientService],{viewType:[0,"viewType"],isShowClose:[1,"isShowClose"],isShowTabs:[2,"isShowTabs"],authType:[3,"authType"],termsLink:[4,"termsLink"],otpLink:[5,"otpLink"],authUrl:[6,"authUrl"]},{nimClose:"nimClose",nimAuthTypeChange:"nimAuthTypeChange",nimSubmit:"nimSubmit"})],(function(e,t){var n=t.component,o=e(t,3,0,n.isPrimary);e(t,2,0,"nns-animated",o),e(t,4,0,r["ɵnov"](t,8)),e(t,5,0,n.state,n.showTitle),e(t,8,0,r["ɵinlineInterpolate"](1,"m-auth-drop nns-theme-",n.visual.theme,""));e(t,13,0,1,!0,!0,n.currentAuthType,n.termsUrl,n.contactUrl,n.authUrl)}),(function(e,t){e(t,1,0,r["ɵnov"](t,4).menuOpen||null)}))}function R(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](1,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,P)),r["ɵdid"](3,16384,null,0,f.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.profile),e(t,3,0,!n.profile)}),null)}function I(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-save-action",[],null,null,null,R,k)),r["ɵdid"](1,180224,null,0,S.SaveActionComponent,[a.Store,d.ShareCopyService,E.ProfileService,s.Config,x.NoteService],null,null)],null,null)}var M=r["ɵccf"]("nns-save-action",S.SaveActionComponent,I,{state:"state",share:"share",note:"note",login:"login",showTitle:"showTitle",shareCopy:"shareCopy",visual:"visual",isPrimary:"isPrimary"},{},[])},"./src/app/header/save-action.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SaveActionComponent",(function(){return p}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/share.actions.ts"),i=(n("./src/app/share/index.ts"),n("./src/app/visual/visual.actions.ts")),a=n("./src/app/select/select.selector.ts"),s=n("./src/app/organizations/organizations.selector.ts"),l=n("./src/app/profile/profile.selector.ts"),c=(n("./src/app/profile/profile.service.ts"),n("./src/app/auth-form/auth.model.ts")),u=(n("./src/app/universal-config.ts"),n("./src/app/share/note/note.service.ts"),n("./node_modules/rxjs/_esm5/index.js")),d=n("./node_modules/rxjs/_esm5/operators/index.js"),p=function(){function e(e,t,n,o,i){var d=this;this._store=e,this._shareCopyService=t,this._profileService=n,this._config=o,this._noteService=i,this.isPrimary=!1,this.currentAuthType=c.NIM_AUTH_TYPE.SIGNUP,this.subs=new u.Subscription,this.organizations$=this._store.pipe(Object(r.select)(a.getAllAvailableOrganizations));var p=this._store.pipe(Object(r.select)(s.getSelectedOrganization));this.workspaces$=this._store.pipe(Object(r.select)(a.getCurrentOrgWorkspaces));var f=this._store.pipe(Object(r.select)(a.getSelectedWorkspace));this.profile$=this._store.pipe(Object(r.select)(l.selectCurrentProfile)),this.profile$.subscribe((function(e){d.profile=e})),this._store.pipe(Object(r.select)(a.getIsSelectReady)).subscribe((function(e){d.isSelectReady=e})),this.termsUrl=this._config.get("NIMBUS_TERMS_URL"),this.contactUrl=this._config.get("NIMBUS_CONTACT_URL"),this.authUrl=this._config.get("AUTH_API_URL"),this.subs.add(f.subscribe((function(e){d.selectedWorkspace=e}))),this.subs.add(p.subscribe((function(e){d.selectedOrganization=e}))),this.subs.add(this.organizations$.subscribe((function(e){d.organizations=e}))),this.subs.add(this.workspaces$.subscribe((function(e){d.workspaces=e})))}return e.prototype.onClickOutside=function(e){var t=e.composedPath().some((function(e){return e.className&&-1!==e.className.toString().indexOf("nns-save-button-dropdown-holder")}));this.visual&&this.visual.isSelectDialogOpened&&!t&&this._store.dispatch(Object(i.closeSelectDialog)())},e.prototype.saveToNimbus=function(){this.shareCopy.shareCopyStatus===o.ShareCopyStatus.SHARE_COPY_INITIAL&&this.isSelectReady&&this._shareCopyService.copy()},e.prototype.openSelectDialog=function(){var e=this;if(this.visual.isSocketConnected)if(this.shareCopy.shareCopyStatus===o.ShareCopyStatus.SHARE_COPY_INITIAL&&this.isSelectReady){if(1===this.organizations.length&&1===this.workspaces.length)return void this._shareCopyService.copy();if(this.visual&&this.visual.isSelectDialogOpened)return void this._store.dispatch(Object(i.closeSelectDialog)());setTimeout((function(){e._store.dispatch(Object(i.openSelectDialog)())}))}else if(this.shareCopy.shareCopyStatus===o.ShareCopyStatus.SHARE_COPY_DONE){var t=this._noteService.getNodeUrl(this.selectedOrganization,this.selectedWorkspace.globalId,this.shareCopy.shareCopyNodeId,this.note.type);window.open(t,"_blank")}},e.prototype.handleAuthTab=function(e){console.log(">>>",e),this.currentAuthType=e},e.prototype.focusFormInput=function(){document.querySelector('#nim-save-action-auth-form input[name="email"]').focus()},e.prototype.handleAuthSubmit=function(e){var t=this;this._profileService.applyAuth(e,this.currentAuthType,"head_right"),this.currentAuthType===c.NIM_AUTH_TYPE.SIGNUP&&this._profileService.showSignUpSuccessToast(),this.currentAuthType!==c.NIM_AUTH_TYPE.SIGNUP&&this.currentAuthType!==c.NIM_AUTH_TYPE.SIGNIN||this.subs.add(Object(u.combineLatest)([this.profile$,this.workspaces$,this.organizations$]).pipe(Object(d.filter)((function(e){var t=e[0],n=e[1],r=e[2];return t&&n&&n.length&&r.length})),Object(d.take)(1)).subscribe((function(e){var n=e[0],r=e[1],o=e[2];console.log("handle auth submit",t.visual),setTimeout((function(){console.log(t.visual.isSocketConnected)}),100),setTimeout((function(){console.log(t.visual.isSocketConnected)}),200),n&&1===r.length&&1===o.length?t._shareCopyService.copy():setTimeout((function(){t._store.dispatch(Object(i.openSelectDialog)())}))})))},e.prototype.ngOnDestroy=function(){this.subs.unsubscribe()},e}()},"./src/app/header/save-button.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SaveButtonComponent",(function(){return l})),n.d(t,"View_SaveButtonComponent_0",(function(){return _})),n.d(t,"View_SaveButtonComponent_Host_0",(function(){return w})),n.d(t,"SaveButtonComponentNgFactory",(function(){return C}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/header/save-button.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display:block;\n      cursor: pointer;\n    }\n\n    .disabled[_nghost-%COMP%]   .nns-save-button-layout[_ngcontent-%COMP%]{\n      background: #aeb7b8;\n      cursor: default;\n    }\n\n    .nns-save-button-layout[_ngcontent-%COMP%] {\n      background: #00A1B7;\n      border-radius: 30px;\n      color: #fff;\n      display: flex;\n      align-items: center;\n      padding: 9px 14px;\n      font-size: 13px;\n    }\n\n    .nns-save-button-icon[_ngcontent-%COMP%]{\n      margin-right: 9px;\n    }\n\n    .nns-save-button-icon[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n      width: 16px;\n      height: 16px;\n    }\n\n    .nns-save-button-icon__mobile[_ngcontent-%COMP%] {\n      display: none;\n    }\n\n    \n    .nns-save-button-layout.saving[_ngcontent-%COMP%] {cursor: auto;}\n    .nns-save-button-layout.saving[_ngcontent-%COMP%]   .nns-save-button-icon[_ngcontent-%COMP%] {\n      animation:rotation linear 1s infinite;\n      -webkit-animation:rotation linear 1s infinite;\n    }\n    .nns-save-button-layout.saved[_ngcontent-%COMP%] {cursor: pointer;}\n\n    @keyframes rotation {\n        0% {transform:rotate(0deg);}\n        100% {transform:rotate(360deg);}\n    }\n    @-webkit-keyframes rotation {\n        0% {transform:rotate(0deg);}\n        100% {transform:rotate(360deg);}\n    }\n\n    \n    @media only screen and (max-width: 768px) {\n      .nns-save-button-text[_ngcontent-%COMP%]{\n        display: none;\n      }\n      .nns-save-button-layout[_ngcontent-%COMP%]{\n        background: transparent;\n        padding: 0;\n      }\n      .nns-save-button-icon[_ngcontent-%COMP%]{\n        margin: 0;\n      }\n      .nns-save-button-icon__desktop[_ngcontent-%COMP%]{\n        display: none;\n      }\n      .nns-save-button-icon__mobile[_ngcontent-%COMP%]{\n        display: block;\n      }\n    }\n    @media only screen and (max-width: 600px) {\n\n    }",".nns-theme-night.disabled[_nghost-%COMP%]   .nns-save-button-layout[_ngcontent-%COMP%], .nns-theme-night   .disabled[_nghost-%COMP%]   .nns-save-button-layout[_ngcontent-%COMP%] {\n      background: #20252B;\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","plus"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"plus")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","sync"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"sync")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","check"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"check")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","plus-contrast"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"plus-contrast")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","sync-contrast"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"sync-contrast")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","check-contrast"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"check-contrast")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-save-button-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Save to FuseBase "]))],null,null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" The page is being saved now... "]))],null,null)}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" The folder is being saved now... "]))],null,null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-save-button-text"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"note"===n.type),e(t,4,0,"folder"===n.type)}),null)}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-save-button-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" Saved, open in FuseBase "]))],null,null)}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,21,"div",[["class","nns-save-button-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),r["ɵdid"](1,278528,null,0,a.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),r["ɵeld"](2,0,null,null,6,"div",[["class","nns-save-button-icon nns-save-button-icon__desktop"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](6,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](8,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](9,0,null,null,6,"div",[["class","nns-save-button-icon nns-save-button-icon__mobile"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](11,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](13,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](15,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](17,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](19,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](21,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,"nns-save-button-layout",n.getStateClass()),e(t,4,0,1===n.numericStatus),e(t,6,0,2===n.numericStatus),e(t,8,0,3===n.numericStatus),e(t,11,0,1===n.numericStatus),e(t,13,0,2===n.numericStatus),e(t,15,0,3===n.numericStatus),e(t,17,0,1===n.numericStatus),e(t,19,0,2===n.numericStatus),e(t,21,0,3===n.numericStatus)}),null)}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-save-button",[],null,null,null,_,l)),r["ɵdid"](1,573440,null,0,s.SaveButtonComponent,[],null,null)],null,null)}var C=r["ɵccf"]("nns-save-button",s.SaveButtonComponent,w,{state:"state",showTitle:"showTitle",type:"type"},{},[])},"./src/app/header/save-button.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SaveButtonComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./src/app/share/share.actions.ts"),o=function(){function e(){}return e.prototype.ngOnChanges=function(){this.title=this.getSaveCopyTitle(),this.numericStatus=this.getSaveCopyNumericStatus()},e.prototype.getSaveCopyTitle=function(){return this.state===r.ShareCopyStatus.SHARE_COPY_IN_PROGRESS?"Saving":this.state===r.ShareCopyStatus.SHARE_COPY_DONE?"Saved!":"Save to FuseBase"},e.prototype.getSaveCopyNumericStatus=function(){return this.state===r.ShareCopyStatus.SHARE_COPY_IN_PROGRESS?2:this.state===r.ShareCopyStatus.SHARE_COPY_DONE?3:1},e.prototype.getStateClass=function(){return{saving:this.state===r.ShareCopyStatus.SHARE_COPY_IN_PROGRESS,saved:this.state===r.ShareCopyStatus.SHARE_COPY_DONE}},e}()},"./src/app/login/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"LoginModule",(function(){return o}));var r=n("./src/app/login/login.actions.ts");n.d(t,"CLOSE_LOGIN_DIALOG",(function(){return r.CLOSE_LOGIN_DIALOG})),n.d(t,"OPEN_LOGIN_DIALOG",(function(){return r.OPEN_LOGIN_DIALOG})),n.d(t,"openLoginDialog",(function(){return r.openLoginDialog})),n.d(t,"closeLoginDialog",(function(){return r.closeLoginDialog}));var o=function(){}},"./src/app/login/login-dialog.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_LoginDialogComponent",(function(){return c})),n.d(t,"View_LoginDialogComponent_0",(function(){return d})),n.d(t,"View_LoginDialogComponent_Host_0",(function(){return p})),n.d(t,"LoginDialogComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/login/nimbus-auth.component.ts"),a=n("./src/app/login/login-dialog.component.ts"),s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=n("./src/app/universal-config.ts"),c=r["ɵcrt"]({encapsulation:0,styles:["nimbus-auth[_ngcontent-%COMP%] {\n      width: 100%;\n    }\n\n    [_nghost-%COMP%]     .nns-login-dialog-content {\n      margin: auto;\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#2f3737;\n    }"],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nimbus-auth",[],[[8,"theme",0],[8,"authUrl",0],[8,"isShowForgetPasswordButton",0]],[[null,"login"]],(function(e,t,n){var r=!0,o=e.component;"login"===t&&(r=!1!==o.login()&&r);return r}),null,null)),r["ɵdid"](1,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵdid"](2,16384,null,0,i.NimbusAuthComponent,["isBrowser"],null,null)],(function(e,t){e(t,1,0,t.component.theme)}),(function(e,t){var n=t.component;e(t,0,0,n.theme,n.authUrl,!1)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-login-dialog-content"],["flex","noshrink"],["layout","column"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,2,0,t.component.authUrl)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-login-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).close(n)&&o);return o}),d,c)),r["ɵdid"](1,770048,null,0,a.LoginDialogComponent,[s.Store,l.Config,"isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var f=r["ɵccf"]("nns-login-dialog",a.LoginDialogComponent,p,{visual:"visual"},{},[])},"./src/app/login/login-dialog.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"LoginDialogComponent",(function(){return a}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/login/login.actions.ts"),o=n("./src/app/share/share.actions.ts"),i=n("./src/app/profile/profile.actions.ts"),a=(n("./src/app/universal-config.ts"),function(){function e(e,t,n){this._store=e,this._config=t,this.isBrowser=n}return e.prototype.ngOnInit=function(){this.isBrowser&&(window.addEventListener("message",this.handleCallback.bind(this),!0),window.addEventListener("auth-close",this.close.bind(this),!0)),this.authUrl=this._config.get("AUTH_API_PATH")},e.prototype.ngOnChanges=function(){this.theme="nns-theme-"+this.visual.theme},e.prototype.ngOnDestroy=function(){this.isBrowser&&(window.removeEventListener("message",this.handleCallback.bind(this),!0),window.removeEventListener("auth-close",this.close.bind(this),!0))},e.prototype.close=function(){this._store.dispatch(Object(r.closeLoginDialog)())},e.prototype.login=function(){this._store.dispatch(Object(i.invalidateProfile)()),this._store.dispatch(Object(o.invalidateShare)()),this.close()},e.prototype.handleCallback=function(e){e.data&&e.data.action&&("everhelper:authorized"===e.data.action&&this.login())},e}())},"./src/app/login/login.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"CLOSE_LOGIN_DIALOG",(function(){return r})),n.d(t,"OPEN_LOGIN_DIALOG",(function(){return o})),n.d(t,"openLoginDialog",(function(){return i})),n.d(t,"closeLoginDialog",(function(){return a}));var r="CLOSE_LOGIN_DIALOG",o="OPEN_LOGIN_DIALOG";function i(){return{type:o}}function a(){return{type:r}}},"./src/app/login/login.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"loginInitialState",(function(){return o})),n.d(t,"loginReducer",(function(){return i}));var r=n("./src/app/login/login.actions.ts"),o={isLoginDialogOpened:!1};function i(e,t){switch(void 0===e&&(e=o),t.type){case r.OPEN_LOGIN_DIALOG:return Object.assign({},e,{isLoginDialogOpened:!0});case r.CLOSE_LOGIN_DIALOG:return Object.assign({},e,{isLoginDialogOpened:!1});default:return e}}},"./src/app/login/nimbus-auth.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NimbusAuthComponent",(function(){return r}));var r=function(e){e&&n("./node_modules/nimbus-auth/src/auth.js")}},"./src/app/metrics.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"MetricsService",(function(){return o}));var r=n("./node_modules/tslib/tslib.es6.js"),o=(n("./src/app/universal-config.ts"),function(e){var t=this;this.config=e,this.sendTiming=function(e,n){return r.__awaiter(t,void 0,void 0,(function(){var t;return r.__generator(this,(function(r){return console.log("⭐️ "+e+": "+n+"ms"),t=this.config.get("STATSD_PROXY"),"prod"===this.config.get("N_ENV")&&t?(fetch(t+"/timing/"+e,{method:"POST",mode:"cors",headers:{"content-type":"application/x-www-form-urlencoded"},body:"time="+n}),[2]):[2,!1]}))}))}})},"./src/app/organizations/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OrganizationsModule",(function(){return o}));var r=n("./src/app/organizations/organizations.actions.ts");n.d(t,"REQUEST_ORGANIZATIONS",(function(){return r.REQUEST_ORGANIZATIONS})),n.d(t,"RECEIVE_ORGANIZATIONS",(function(){return r.RECEIVE_ORGANIZATIONS})),n.d(t,"SELECT_ORGANIZATION",(function(){return r.SELECT_ORGANIZATION})),n.d(t,"CLEAN_ORGANIZATIONS",(function(){return r.CLEAN_ORGANIZATIONS})),n.d(t,"REQUEST_CURRENT_ORGANIZATION",(function(){return r.REQUEST_CURRENT_ORGANIZATION})),n.d(t,"RECEIVE_CURRENT_ORGANIZATION",(function(){return r.RECEIVE_CURRENT_ORGANIZATION})),n.d(t,"REQUEST_CURRENT_ORG_FAILED",(function(){return r.REQUEST_CURRENT_ORG_FAILED})),n.d(t,"requestOrganizations",(function(){return r.requestOrganizations})),n.d(t,"receiveOrganizations",(function(){return r.receiveOrganizations})),n.d(t,"requestCurrentOrganization",(function(){return r.requestCurrentOrganization})),n.d(t,"receiveCurrentOrganization",(function(){return r.receiveCurrentOrganization})),n.d(t,"selectOrganization",(function(){return r.selectOrganization})),n.d(t,"cleanOrganizations",(function(){return r.cleanOrganizations}));var o=function(){}},"./src/app/organizations/organization-select.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_OrganizationSelectComponent",(function(){return d})),n.d(t,"View_OrganizationSelectComponent_0",(function(){return _})),n.d(t,"View_OrganizationSelectComponent_Host_0",(function(){return w})),n.d(t,"OrganizationSelectComponentNgFactory",(function(){return C}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/common/click-outside.directive.ts"),l=n("./src/app/organizations/organization-select.component.ts"),c=n("./node_modules/@ngrx/store/fesm5/store.js"),u=n("./src/app/universal-config.ts"),d=r["ɵcrt"]({encapsulation:0,styles:['.nns-select[_ngcontent-%COMP%]{\n    position: relative;\n  }\n\n  .nns-select-dialog-title[_ngcontent-%COMP%]{\n    font-size: 13px;\n    font-weight: bold;\n  }\n\n  .nns-select-item[_ngcontent-%COMP%]{\n    display: flex;\n    padding: 8px;\n    border-radius: 4px;\n    transition: 0.3s;\n    transition-property: background-color;\n    align-items: center;\n    cursor: pointer;\n    position: relative;\n  }\n\n  .nns-select-item[_ngcontent-%COMP%]:hover, .nns-select-item.active[_ngcontent-%COMP%]{\n    background-color: rgba(0, 0, 0, 0.08);\n  }\n\n  .nns-select-item__disabled[_ngcontent-%COMP%]:hover{\n    cursor: default;\n    background-color: transparent;\n  }\n\n  .nns-select-item-logo[_ngcontent-%COMP%]{\n    width: 32px;\n    height: 32px;\n    flex: 0 0 32px;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    margin-right: 12px;\n    background-color: #F5F5F5;\n    border-radius: 50%;\n    background-size: cover;\n  }\n\n  .nns-select-item-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    object-fit: cover;\n  }\n\n  .nns-select-item-logo__account[_ngcontent-%COMP%]{\n    background-color: #8BC34A;\n  }\n\n  .nns-select-item-logo__active[_ngcontent-%COMP%]{\n    background-color: transparent;\n  }\n\n  .nns-select-item--text[_ngcontent-%COMP%]{\n    width: calc(100% - 35px);\n  }\n\n  .nns-select-item-title[_ngcontent-%COMP%]{\n    font-weight: bold;\n    font-size: 13px;\n    text-overflow: ellipsis;\n    overflow: hidden;\n    max-width: 100%;\n    white-space: nowrap;\n  }\n\n  .nns-select-item-desc[_ngcontent-%COMP%]{\n    font-size: 12px;\n    line-height: 16px;\n    opacity: 0.6;\n  }\n\n  .nns-header-profile-arrow[_ngcontent-%COMP%] {\n    display:block;\n    content:"";\n    height:0;\n    border:none;\n    border:4px solid transparent;\n    border-top:4px solid rgba(0, 0, 0, 0.6);\n    margin:6px 0 0 8px;\n    margin-left: auto;\n  }\n  .nns-header-profile-button-active[_ngcontent-%COMP%]   .nns-header-profile-arrow[_ngcontent-%COMP%] {\n    border-top:none;\n    border-bottom:4px solid rgba(0, 0, 0, 0.6);\n  }\n\n  .nns-select-dropdown[_ngcontent-%COMP%]{\n    margin-top: 1px;\n    position: absolute;\n    left: 0;\n    top: 100%;\n    background-color: #fff;\n    box-shadow: 0px 9px 14px rgba(0, 0, 0, 0.12);\n    border-radius: 4px;\n    width: 100%;\n    max-height: 300px;\n    overflow: hidden;\n    overflow-y: auto;\n    z-index: 1;\n  }\n\n  .icon-building[_ngcontent-%COMP%]{\n    min-height: 16px;\n    min-width: 16px;\n  }\n\n  [_nghost-%COMP%]     .nns-select-dialog-content {\n    margin: auto;\n  }',".nns-theme-night[_nghost-%COMP%]   .nns-select-dropdown[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-select-dropdown[_ngcontent-%COMP%] {\n    background: #292E32;\n    box-shadow: 4px 4px 38px rgba(19, 30, 32, 0.66);\n  }\n  .nns-theme-night[_nghost-%COMP%]   .nns-header-profile-arrow[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-header-profile-arrow[_ngcontent-%COMP%] {\n    border-top-color: #fff;\n  }"],data:{}});function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["flex","none"],["icon","building"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"building")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.fileUrl+n.selectedOrganization.smallLogoStoredFileUUID,""))}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"span",[["class","nns-header-profile-arrow nns-animated active"]],null,null,null,null,null))],null,null)}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,10,"div",[["class","nns-select-item"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","nns-select-item-logo"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](3,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](5,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](6,0,null,null,2,"div",[["class","nns-select-item--text"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,1,"div",[["class","nns-select-item-title"]],null,null,null,null,null)),(e()(),r["ɵted"](8,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](10,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,!n.selectedOrganization.smallLogoStoredFileUUID),e(t,5,0,n.selectedOrganization.smallLogoStoredFileUUID),e(t,10,0,n.organizations&&n.organizations.length)}),(function(e,t){e(t,8,0,t.component.selectedOrganization.title)}))}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["flex","none"],["icon","building"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"building")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.fileUrl+t.parent.context.$implicit.smallLogoStoredFileUUID,""))}))}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,10,"div",[["class","nns-select-item"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onSelectOrganization(e.context.$implicit.globalId)&&r);return r}),null,null)),r["ɵdid"](1,278528,null,0,a.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](2,{active:0}),(e()(),r["ɵeld"](3,0,null,null,4,"div",[["class","nns-select-item-logo"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](5,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](8,0,null,null,2,"div",[["class","nns-select-item--text"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,1,"div",[["class","nns-select-item-title"]],null,null,null,null,null)),(e()(),r["ɵted"](10,null,["",""]))],(function(e,t){var n=t.component,r=e(t,2,0,n.selectedOrganization&&n.selectedOrganization.globalId==t.context.$implicit.globalId);e(t,1,0,"nns-select-item",r),e(t,5,0,!t.context.$implicit.smallLogoStoredFileUUID),e(t,7,0,t.context.$implicit.smallLogoStoredFileUUID)}),(function(e,t){e(t,10,0,t.context.$implicit.title)}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-select-dropdown"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](2,278528,null,0,a.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.organizations)}),null)}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","nns-organization-select"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,6,"div",[["class","nns-select"]],null,[[null,"clickOutside"],[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,2).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!=(i.isShowDropdown=!1)&&o);return o}),null,null)),r["ɵdid"](2,16384,null,0,s.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-select-item--wrapper"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToggleDropdown()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](5,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.selectedOrganization),e(t,7,0,n.isShowDropdown)}),null)}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-organization-select",[],null,null,null,_,d)),r["ɵdid"](1,49152,null,0,l.OrganizationSelectComponent,[c.Store,u.Config],null,null)],null,null)}var C=r["ɵccf"]("nns-organization-select",l.OrganizationSelectComponent,w,{profile:"profile",organizations:"organizations",selectedOrganization:"selectedOrganization"},{},[])},"./src/app/organizations/organization-select.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OrganizationSelectComponent",(function(){return i}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/organizations/organizations.actions.ts"),o=n("./src/app/workspaces/workspaces.actions.ts"),i=(n("./src/app/universal-config.ts"),function(){function e(e,t){this._store=e,this._config=t,this.fileUrl=this._config.get("BOX_URL")+"/file/"}return e.prototype.onToggleDropdown=function(){this.organizations&&this.organizations.length&&(this.isShowDropdown=!this.isShowDropdown)},e.prototype.onSelectOrganization=function(e){this._store.dispatch(Object(r.selectOrganization)(e)),this._store.dispatch(Object(o.selectWorkspace)(null,e)),this.isShowDropdown=!1},e}())},"./src/app/organizations/organizations.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"REQUEST_ORGANIZATIONS",(function(){return r})),n.d(t,"RECEIVE_ORGANIZATIONS",(function(){return o})),n.d(t,"SELECT_ORGANIZATION",(function(){return i})),n.d(t,"CLEAN_ORGANIZATIONS",(function(){return a})),n.d(t,"REQUEST_CURRENT_ORGANIZATION",(function(){return s})),n.d(t,"RECEIVE_CURRENT_ORGANIZATION",(function(){return l})),n.d(t,"REQUEST_CURRENT_ORG_FAILED",(function(){return c})),n.d(t,"requestOrganizations",(function(){return u})),n.d(t,"receiveOrganizations",(function(){return d})),n.d(t,"requestCurrentOrganization",(function(){return p})),n.d(t,"receiveCurrentOrganization",(function(){return f})),n.d(t,"selectOrganization",(function(){return h})),n.d(t,"cleanOrganizations",(function(){return m}));var r="REQUEST_ORGANIZATIONS",o="RECEIVE_ORGANIZATIONS",i="SELECT_ORGANIZATION",a="CLEAN_ORGANIZATIONS",s="REQUEST_CURRENT_ORGANIZATION",l="RECEIVE_CURRENT_ORGANIZATION",c="REQUEST_CURRENT_ORG_FAILED";function u(){return{type:r}}function d(e){return{type:o,result:e}}function p(){return{type:s}}function f(e){return{type:l,result:e}}function h(e){return{type:i,result:e}}function m(){return{type:a}}},"./src/app/organizations/organizations.effects.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OrganizationsEffects",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js"),a=n("./node_modules/@ngrx/effects/fesm5/effects.js"),s=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./node_modules/@angular/http/fesm5/http.js"),n("./src/app/organizations/organizations.actions.ts")),l=n("./node_modules/normalizr/dist/src/index.js"),c=(n("./src/app/universal-config.ts"),new l.schema.Entity("organizations",{},{idAttribute:"globalId"})),u=(new l.schema.Entity("currentOrganization"),function(){function e(e,t,n,r){var a=this;this.actions$=e,this.store$=t,this.http=n,this._config=r,this.url="/orgs",this.currentOrgUrl="/org",this.requestOrganizations$=this.actions$.ofType(s.REQUEST_ORGANIZATIONS).pipe(Object(i.withLatestFrom)(this.store$),Object(i.map)((function(e){var t=e[0];e[1];return t.payload})),Object(i.switchMap)((function(e){return a.http.get(""+a.shareApiService+a.url).pipe(Object(i.catchError)((function(){return Object(o.of)(!1)})))})),Object(i.map)((function(e){return Object(s.receiveOrganizations)(Object(l.normalize)({organizations:e.json()},{organizations:[c]}))})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_FAILED"})}))),this.requestCurrentOrganization$=this.actions$.ofType(s.REQUEST_CURRENT_ORGANIZATION).pipe(Object(i.withLatestFrom)(this.store$),Object(i.map)((function(e){var t=e[0];e[1];return t.payload})),Object(i.switchMap)((function(e){return a.http.get(""+a.shareApiService+a.currentOrgUrl).pipe(Object(i.catchError)((function(){return Object(o.of)(null)})))})),Object(i.map)((function(e){return Object(s.receiveCurrentOrganization)(e.json())})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_CURRENT_ORG_FAILED"})}))),this.shareApiService=r.get("SHARE_API_SERVICE")}return r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"requestOrganizations$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"requestCurrentOrganization$",void 0),e}())},"./src/app/organizations/organizations.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"organizationsInitialState",(function(){return o})),n.d(t,"organizationsReducer",(function(){return i}));var r=n("./src/app/organizations/organizations.actions.ts"),o={selectedOrganizationId:null,entities:{organizations:[]},result:void 0,isFetching:!1,currentOrganization:void 0};function i(e,t){switch(void 0===e&&(e=o),t.type){case r.REQUEST_ORGANIZATIONS:return Object.assign({},e,{isFetching:!0});case r.RECEIVE_ORGANIZATIONS:var n=t.result,i=Object.values(n.entities.organizations).find((function(e){return"owner"===e.userRole.role&&"private"===e.orgType})),a=i?i.globalId:n.result.organizations[0];return Object.assign({},e,n,{selectedOrganizationId:a},{isFetching:!1});case r.RECEIVE_CURRENT_ORGANIZATION:return Object.assign({},e,{currentOrganization:t.result});case r.SELECT_ORGANIZATION:return Object.assign({},e,{},{selectedOrganizationId:t.result});case r.CLEAN_ORGANIZATIONS:return Object.assign({},o,{isFetching:!1});case r.REQUEST_CURRENT_ORG_FAILED:return Object.assign({},e,{currentOrganization:null});default:return e}}},"./src/app/organizations/organizations.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectOrganizations",(function(){return i})),n.d(t,"selectAllOrganizations",(function(){return a})),n.d(t,"getSelectedOrganizationId",(function(){return s})),n.d(t,"getSelectedOrganization",(function(){return l})),n.d(t,"getIsOrganizationsFetched",(function(){return c})),n.d(t,"getCurrentOrganization",(function(){return u})),n.d(t,"selectShareOrganization",(function(){return d}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/share.selector.ts"),i=Object(r.createFeatureSelector)("organizations"),a=Object(r.createSelector)(i,(function(e){if(e&&e.entities&&e.entities.organizations)return Object.values(e.entities.organizations)})),s=Object(r.createSelector)(i,(function(e){if(e&&e.selectedOrganizationId)return e.selectedOrganizationId})),l=Object(r.createSelector)(a,s,(function(e,t){return e&&t?e.find((function(e){return e.globalId==t})):null})),c=Object(r.createSelector)(i,(function(e){return!e.isFetching})),u=Object(r.createSelector)(i,(function(e){if(void 0!==e.currentOrganization)return e.currentOrganization})),d=Object(r.createSelector)(a,o.selectCurrentShare,(function(e,t){return e&&e.length&&t.instance&&t.instance.org?e.find((function(e){return e.title==t.instance.org.title})):null}))},"./src/app/profile/profile.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"REQUEST_PROFILE",(function(){return r})),n.d(t,"RECEIVE_PROFILE",(function(){return o})),n.d(t,"INVALIDATE_PROFILE",(function(){return i})),n.d(t,"LOGOUT_USER",(function(){return a})),n.d(t,"APPLY_AUTH",(function(){return s})),n.d(t,"SET_GUEST_USER",(function(){return l})),n.d(t,"ADD_TAGS",(function(){return c})),n.d(t,"requestProfile",(function(){return u})),n.d(t,"receiveProfile",(function(){return d})),n.d(t,"invalidateProfile",(function(){return p})),n.d(t,"logoutUser",(function(){return f})),n.d(t,"applyAuth",(function(){return h})),n.d(t,"setGuestUser",(function(){return m})),n.d(t,"addTags",(function(){return g}));var r="REQUEST_PROFILE",o="RECEIVE_PROFILE",i="INVALIDATE_PROFILE",a="LOGOUT_USER",s="APPLY_AUTH",l="SET_GUEST_USER",c="ADD_TAGS";function u(){return{type:r}}function d(e){return{type:o,result:e}}function p(){return{type:i}}function f(){return{type:a}}function h(e){return{type:s,formResult:e}}function m(){return{type:l}}function g(e){return{type:c,tags:e}}},"./src/app/profile/profile.effects.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ProfileEffects",(function(){return p}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js"),a=n("./node_modules/@ngrx/effects/fesm5/effects.js"),s=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./node_modules/@angular/http/fesm5/http.js")),l=n("./src/app/profile/profile.actions.ts"),c=n("./src/app/share/share.actions.ts"),u=n("./node_modules/normalizr/dist/src/index.js"),d=(n("./src/app/universal-config.ts"),new u.schema.Entity("profiles")),p=function(){function e(e,t,n,r){var a=this;this.actions$=e,this.store$=t,this.http=n,this._config=r,this.url="/profile/me",this.invalidtateProfile$=this.actions$.ofType(l.INVALIDATE_PROFILE).pipe(Object(i.map)((function(){return Object(l.requestProfile)()}))),this.requestProfile$=this.actions$.ofType(l.REQUEST_PROFILE).pipe(Object(i.withLatestFrom)(this.store$),Object(i.filter)((function(e){e[0];return e[1].profile.isInvalidated})),Object(i.map)((function(e){var t=e[0];e[1];return t.payload})),Object(i.switchMap)((function(e){return a.http.get(""+a.shareApiService+a.url).pipe(Object(i.catchError)((function(){return Object(o.of)(!1)})))})),Object(i.map)((function(e){return e&&e.json()?Object(l.receiveProfile)(Object(u.normalize)(e.json(),d)):Object(l.setGuestUser)()})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_FAILED"})}))),this.logoutUser$=this.actions$.ofType(l.LOGOUT_USER).pipe(Object(i.switchMap)((function(e){var t=a._config.get("AUTH_LOGOUT_PATH"),n=new s.RequestOptions({withCredentials:!0});return a.http.delete(t,n)})),Object(i.map)((function(e){return a.store$.dispatch(Object(c.setShareCopyStatus)(c.ShareCopyStatus.SHARE_COPY_INITIAL)),{type:"INVALIDATE_PROFILE"}})),Object(i.catchError)((function(e){return Object(o.of)({type:c.NETWORK_ERROR,code:e.status})}))),this.applyAuth$=this.actions$.ofType(l.APPLY_AUTH).pipe(Object(i.switchMap)((function(e){return console.log(">>> FORM RESULT",e.formResult),a.http.post("/share/apply-auth",e.formResult)})),Object(i.map)((function(e){return console.log(">>> API RESULT",e),{type:"INVALIDATE_PROFILE"}}))),this.addTags$=this.actions$.ofType(l.ADD_TAGS).pipe(Object(i.switchMap)((function(e){return a.http.post(""+a.shareApiService+a.url+"/tags",{tags:e.tags})})),Object(i.map)((function(e){return{}}))),this.shareApiService=r.get("SHARE_API_SERVICE")}return r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"invalidtateProfile$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"requestProfile$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"logoutUser$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"applyAuth$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"addTags$",void 0),e}()},"./src/app/profile/profile.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ProfileModule",(function(){return r}));var r=function(){}},"./src/app/profile/profile.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"profileInitialState",(function(){return o})),n.d(t,"profileReducer",(function(){return i}));var r=n("./src/app/profile/profile.actions.ts"),o={entities:{profiles:{}},result:void 0,isFetching:!1,isInvalidated:!1};function i(e,t){switch(void 0===e&&(e=o),t.type){case r.REQUEST_PROFILE:return Object.assign({},e,{isFetching:!0});case r.RECEIVE_PROFILE:var n=t.result;return Object.assign({},e,n,{isFetching:!1,isInvalidated:!1});case r.INVALIDATE_PROFILE:return e.isFetching?e:Object.assign({},e,{isInvalidated:!0});case r.SET_GUEST_USER:return Object.assign({},o,{isInvalidated:!1});default:return e}}},"./src/app/profile/profile.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectProfile",(function(){return o})),n.d(t,"selectCurrentProfile",(function(){return i}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=Object(r.createFeatureSelector)("profile"),i=Object(r.createSelector)(o,(function(e){if(e&&e.result&&e.entities&&e.entities.profiles)return e.entities.profiles[e.result]}))},"./src/app/profile/profile.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ProfileService",(function(){return a}));n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts");var r=n("./src/app/profile/profile.actions.ts"),o=n("./src/app/visual/visual.actions.ts"),i=n("./src/app/auth-form/auth.model.ts"),a=function(){function e(e,t){this._config=e,this._store=t}return e.prototype.goToAuth=function(){var e=this._config.get("AUTH_LOGIN_PATH"),t=window.location.pathname;window.location.href=e+"&success="+t},e.prototype.applyAuth=function(e,t,n){if(this._store.dispatch(Object(r.applyAuth)(e)),t===i.NIM_AUTH_TYPE.SIGNUP){var o="reglabel:"+n;this._store.dispatch(Object(r.addTags)(["regfsour:shared_note","regfchan:iframe","regfor:personal",o]))}},e.prototype.showSignUpSuccessToast=function(){this._store.dispatch(Object(o.showToast)({id:1,text:"Account has been successfully created",position:"right"}))},e}()},"./src/app/profile/socket-io.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SocketIoComponent",(function(){return l})),n.d(t,"View_SocketIoComponent_0",(function(){return c})),n.d(t,"View_SocketIoComponent_Host_0",(function(){return u})),n.d(t,"SocketIoComponentNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/profile/socket-io.component.ts"),i=n("./node_modules/@ngrx/store/fesm5/store.js"),a=n("./src/app/profile/socket.io.service.ts"),s=n("./src/app/share/share-errors.service.ts"),l=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function c(e){return r["ɵvid"](0,[r["ɵncd"](null,0)],null,null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-socket-io",[],null,null,null,c,l)),r["ɵdid"](1,245760,null,0,o.SocketIoComponent,[i.Store,a.SocketIoService,s.ShareErrorsService],null,null)],(function(e,t){e(t,1,0)}),null)}var d=r["ɵccf"]("nns-socket-io",o.SocketIoComponent,u,{shareCopy:"shareCopy"},{},["*"])},"./src/app/profile/socket-io.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SocketIoComponent",(function(){return i}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/profile/socket.io.service.ts");var r=n("./src/app/share/share.actions.ts"),o=(n("./src/app/share/share-errors.service.ts"),n("./src/app/visual/visual.actions.ts")),i=function(){function e(e,t,n){this._store=e,this._socketIo=t,this._shareErrorsService=n}return e.prototype.ngOnInit=function(){var e=this;this._socketIo.connect();var t=this._socketIo.getMessages(),n=this._socketIo.getIsConnected();t&&t.filter((function(t){var n=t.data.message.uuid;return console.log("[save] completed",n),e.shareCopy.shareCopyJobId===n})).map((function(t){return"job:success"==t.eventName?e._store.dispatch(Object(r.recieveCopyShareJobDone)()):(e._shareErrorsService.showError(t.data),e._store.dispatch(Object(r.recieveCopyShareJobDone)()),e._store.dispatch(Object(r.setShareCopyStatus)(r.ShareCopyStatus.SHARE_COPY_INITIAL))),t})).delay(2e3).forEach((function(t){"job:error"==t.eventName&&e._store.dispatch(Object(r.setShareCopyStatus)(r.ShareCopyStatus.SHARE_COPY_INITIAL))})),n&&n.forEach((function(t){e._store.dispatch(Object(o.setIsSocketConnected)(t))}))},e.prototype.ngOnDestroy=function(){this._socketIo.disconnect()},e}()},"./src/app/profile/socket.io.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SocketIoService",(function(){return i})),n.d(t,"SocketIoServiceMockServer",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=(n("./src/app/universal-config.ts"),n("./node_modules/socket.io-client/lib/index.js")),i=function(){function e(e){var t=this;this.config=e,this.socket=null,this.messages$=new r.Observable((function(e){return t.messagesObserver=e,function(){t.disconnect()}})),this.isSocketConnected$=new r.Observable((function(e){return t.connectionObserver=e,{unsubscribe:function(){}}}))}return e.prototype.getMessages=function(){return this.messages$},e.prototype.getIsConnected=function(){return this.isSocketConnected$},e.prototype.connect=function(){var e=this,t=window.location.origin,n=this.config.get("SERVER_SECURE");this.socket=o.connect(t,{secure:n,transports:["websocket"]}),this.socket.on("job:success",(function(t){var n={eventName:"job:success",data:t};e.messagesObserver.next(n)})),this.socket.on("job:error",(function(t){var n={eventName:"job:error",data:t};e.messagesObserver.next(n)})),this.socket.on("connect",(function(){e.connectionObserver.next(!0)})),this.socket.on("disconnect",(function(){e.connectionObserver.next(!1)}))},e.prototype.disconnect=function(){this.socket&&this.socket.close(),this.socket=null},e}(),a=function(){function e(){}return e.prototype.getMessages=function(){return null},e.prototype.getIsConnected=function(){return null},e.prototype.connect=function(){return null},e.prototype.disconnect=function(){return null},e}()},"./src/app/select/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SelectModule",(function(){return r}));var r=function(){}},"./src/app/select/select-dialog.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SelectDialogComponent",(function(){return p})),n.d(t,"View_SelectDialogComponent_0",(function(){return f})),n.d(t,"View_SelectDialogComponent_Host_0",(function(){return h})),n.d(t,"SelectDialogComponentNgFactory",(function(){return m}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/organizations/organization-select.component.ngfactory.js"),i=n("./src/app/organizations/organization-select.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/universal-config.ts"),l=n("./src/app/workspaces/workspace-select.component.ngfactory.js"),c=n("./src/app/workspaces/workspace-select.component.ts"),u=n("./src/app/select/select-dialog.component.ts"),d=n("./src/app/share/share-copy.service.ts"),p=r["ɵcrt"]({encapsulation:0,styles:[".nns-select-dialog-title[_ngcontent-%COMP%]{\n      font-size: 13px;\n      font-weight: bold;\n    }\n\n    .icon-close[_ngcontent-%COMP%], .icon-close-white[_ngcontent-%COMP%]{\n      min-height: 16px;\n      min-width: 16px;\n      cursor: pointer;\n    }\n\n    .nns-btn-wrapper[_ngcontent-%COMP%]{\n      display: flex;\n      justify-content: flex-end;\n      margin-top: 12px;\n    }\n\n    .nns-select-separator[_ngcontent-%COMP%]{\n      height: 1px;\n      width: 100%;\n      background-color: #E4E4E4;\n      margin: 10px 0;\n    }\n\n    .nns-cancel-button[_ngcontent-%COMP%]{\n      color: #0096A7;\n      font-size: 13px\n      line-height: 150%;\n      padding: 6px 16px;\n      margin-right: 8px;\n      background-color: transparent;\n      border: none;\n      outline: none;\n      font-weight: bold;\n      cursor: pointer;\n    }\n\n    .nns-save-button[_ngcontent-%COMP%]{\n      background: #0096A7;\n      font-weight: bold;\n      color: #fff;\n      border: none;\n      outline: none;\n      padding: 6px 16px;\n      border-radius: 16px;\n      font-size: 13px;\n      line-height: 150%;\n      cursor: pointer;\n    }\n\n    .nns-dialog-subtitle[_ngcontent-%COMP%]{\n      font-size: 13px;\n      font-weight: bold;\n      margin-bottom: 5px;\n    }\n\n    .nns-select-dialog-content[_ngcontent-%COMP%]{\n      padding: 14px 8px 12px;\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#414B4C;\n    }"],data:{}});function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,14,"div",[["class","nns-select-dialog-content"],["flex","noshrink"],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-dialog-subtitle"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Organization:"])),(e()(),r["ɵeld"](3,0,null,null,1,"nns-organization-select",[],null,null,null,o.View_OrganizationSelectComponent_0,o.RenderType_OrganizationSelectComponent)),r["ɵdid"](4,49152,null,0,i.OrganizationSelectComponent,[a.Store,s.Config],{profile:[0,"profile"],organizations:[1,"organizations"],selectedOrganization:[2,"selectedOrganization"]},null),(e()(),r["ɵeld"](5,0,null,null,0,"div",[["class","nns-select-separator"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"div",[["class","nns-dialog-subtitle"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Workspace:"])),(e()(),r["ɵeld"](8,0,null,null,1,"nns-workspace-select",[],null,[[null,"onSelectWorkspaceEvent"]],(function(e,t,n){var r=!0,o=e.component;"onSelectWorkspaceEvent"===t&&(r=!1!==o.onSelectWorkspace(n)&&r);return r}),l.View_WorkspaceSelectComponent_0,l.RenderType_WorkspaceSelectComponent)),r["ɵdid"](9,49152,null,0,c.WorkspaceSelectComponent,[],{workspaces:[0,"workspaces"],selectedWorkspace:[1,"selectedWorkspace"],ownerId:[2,"ownerId"]},{onSelectWorkspaceEvent:"onSelectWorkspaceEvent"}),(e()(),r["ɵeld"](10,0,null,null,4,"div",[["class","nns-btn-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](11,0,null,null,1,"button",[["class","nns-cancel-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.close()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Cancel"])),(e()(),r["ɵeld"](13,0,null,null,1,"button",[["class","nns-save-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.saveNote()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Save"]))],(function(e,t){var n=t.component;e(t,4,0,n.profile,n.organizations,n.selectedOrganization),e(t,9,0,n.workspaces,n.selectedWorkspace,n.profile?n.profile.userId:null)}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-select-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).close(n)&&o);return o}),f,p)),r["ɵdid"](1,49152,null,0,u.SelectDialogComponent,[a.Store,s.Config,d.ShareCopyService],null,null)],null,null)}var m=r["ɵccf"]("nns-select-dialog",u.SelectDialogComponent,h,{profile:"profile",organizations:"organizations",selectedOrganization:"selectedOrganization",workspaces:"workspaces",selectedWorkspace:"selectedWorkspace",state:"state",visual:"visual"},{},[])},"./src/app/select/select-dialog.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SelectDialogComponent",(function(){return i}));n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts"),n("./src/app/share/index.ts");var r=n("./src/app/visual/visual.actions.ts"),o=n("./src/app/workspaces/workspaces.actions.ts"),i=function(){function e(e,t,n){this._store=e,this._config=t,this._shareCopyService=n}return e.prototype.close=function(){this._store.dispatch(Object(r.closeSelectDialog)())},e.prototype.onSelectWorkspace=function(e){this._store.dispatch(Object(o.selectWorkspace)(e))},e.prototype.saveNote=function(){this._shareCopyService.copy(),this.close()},e}()},"./src/app/select/select.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"getAllAvailableOrganizations",(function(){return a})),n.d(t,"getCurrentOrgWorkspaces",(function(){return s})),n.d(t,"getSelectedWorkspace",(function(){return l})),n.d(t,"getIsSelectReady",(function(){return c}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/organizations/organizations.selector.ts"),i=n("./src/app/workspaces/workspaces.selector.ts"),a=Object(r.createSelector)(o.selectAllOrganizations,i.selectAllAvailableWorkspaces,(function(e,t){return e?e.filter((function(e){return!e.suspended})).filter((function(e){return t.some((function(t){return t.orgId==e.globalId}))})):[]})),s=Object(r.createSelector)(i.selectAllAvailableWorkspaces,o.getSelectedOrganizationId,o.selectAllOrganizations,(function(e,t,n){return n&&n.length?t?Object.values(e).filter((function(e){return e.orgId==t})):Object.values(e).filter((function(e){return!n.find((function(t){return t.globalId==e.orgId}))})):e})),l=Object(r.createSelector)(s,i.getSelectedWorkspaceId,(function(e,t){if(t)return e.find((function(e){return e.globalId==t}));var n=e.find((function(e){return e.isDefault}));return n||e[0]})),c=Object(r.createSelector)(i.getIsWorkspacesFetched,o.getIsOrganizationsFetched,(function(e,t){return e&&t}))},"./src/app/share/attachment.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SELECT_ATTACHMENT",(function(){return r})),n.d(t,"UNSELECT_ATTACHMENT",(function(){return o})),n.d(t,"selectCurrentAttachment",(function(){return i})),n.d(t,"unselectCurrentAttachment",(function(){return a}));var r="SELECT_ATTACHMENT",o="UNSELECT_ATTACHMENT";function i(e){return{type:r,attachmentId:e}}function a(){return{type:o}}},"./src/app/share/attachment.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_AttachmentComponent",(function(){return v})),n.d(t,"View_AttachmentComponent_0",(function(){return E})),n.d(t,"View_AttachmentComponent_Host_0",(function(){return x})),n.d(t,"AttachmentComponentNgFactory",(function(){return k}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/image-attachment.component.ngfactory.js"),i=n("./src/app/share/image-attachment.component.ts"),a=n("./src/angular2-meta.ts"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=n("./src/app/share/video-attachment.component.ngfactory.js"),c=n("./src/app/share/video-attachment.component.ts"),u=n("./src/app/share/audio-attachment.component.ngfactory.js"),d=n("./src/app/share/audio-attachment.component.ts"),p=n("./src/app/errors/error.component.ngfactory.js"),f=n("./src/app/errors/error.component.ts"),h=n("./src/app/universal-config.ts"),m=n("./src/app/share/attachment.component.ts"),g=n("./node_modules/@angular/router/fesm5/router.js"),y=n("./node_modules/@ngrx/store/fesm5/store.js"),v=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: flex;\n      flex-direction: column;\n      box-sizing: border-box;\n      flex: 1 1 auto;\n      min-height: 1px;\n    }, .no-flex[_nghost-%COMP%]   [_nghost-%COMP%], .no-flex   [_nghost-%COMP%]   [_nghost-%COMP%] {\n      display:inline-block;\n    }\n\n    .attachment-holder[_ngcontent-%COMP%] {\n      position: relative;\n    }\n\n    nns-close-attachment[_ngcontent-%COMP%] {\n      position: absolute;\n      right: 16px;\n      top: 16px;\n    }",".nns-theme-night[_nghost-%COMP%]   .attachment-holder[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .attachment-holder[_ngcontent-%COMP%] {\n      background:#2f3737;\n    }"],data:{}});function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-image-attachment",[["flex","noshrink"],["layout","row"],["layout-align","center center"]],null,null,null,o.View_ImageAttachmentComponent_0,o.RenderType_ImageAttachmentComponent)),r["ɵdid"](1,638976,null,0,i.ImageAttachmentComponent,[a.Meta],{attachment:[0,"attachment"],share:[1,"share"],note:[2,"note"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,t.parent.context.$implicit,r["ɵunv"](t,1,1,r["ɵnov"](t,2).transform(n.share$)),r["ɵunv"](t,1,2,r["ɵnov"](t,3).transform(n.currentNote$)))}),null)}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"nns-video-attachment",[["flex","noshrink"],["layout","column"],["layout-align","center center"]],null,null,null,l.View_VideoAttachmentComponent_0,l.RenderType_VideoAttachmentComponent)),r["ɵdid"](1,638976,null,0,c.VideoAttachmentComponent,[a.Meta,"isBrowser"],{attachment:[0,"attachment"],share:[1,"share"],note:[2,"note"],visual:[3,"visual"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,t.parent.context.$implicit,r["ɵunv"](t,1,1,r["ɵnov"](t,2).transform(n.share$)),r["ɵunv"](t,1,2,r["ɵnov"](t,3).transform(n.currentNote$)),r["ɵunv"](t,1,3,r["ɵnov"](t,4).transform(n.visual$)))}),null)}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-audio-attachment",[["flex","noshrink"],["layout","column"],["layout-align","center center"]],null,null,null,u.View_AudioAttachmentComponent_0,u.RenderType_AudioAttachmentComponent)),r["ɵdid"](1,638976,null,0,d.AudioAttachmentComponent,[a.Meta,"isBrowser"],{attachment:[0,"attachment"],share:[1,"share"],note:[2,"note"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,t.parent.context.$implicit,r["ɵunv"](t,1,1,r["ɵnov"](t,2).transform(n.share$)),r["ɵunv"](t,1,2,r["ɵnov"](t,3).transform(n.currentNote$)))}),null)}function C(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"div",[["class","attachment-holder"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,_)),r["ɵdid"](4,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,w)),r["ɵdid"](6,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,2,0,"image"==t.context.$implicit.type),e(t,4,0,"video"==t.context.$implicit.type),e(t,6,0,"audio"==t.context.$implicit.type)}),null)}function S(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-error",[["flex","noshrink"]],null,null,null,p.View_ErrorComponent_0,p.RenderType_ErrorComponent)),r["ɵdid"](1,573440,null,0,f.ErrorComponent,[h.Config],null,null)],null,null)}function E(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,2,null,C)),r["ɵdid"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](0,[["notFound",2]],null,0,null,S))],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.currentAttachment$)),r["ɵnov"](t,3))}),null)}function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-attachment",[],null,null,null,E,v)),r["ɵdid"](1,180224,null,0,m.AttachmentComponent,[g.ActivatedRoute,y.Store,a.Meta],null,null)],null,null)}var k=r["ɵccf"]("nns-attachment",m.AttachmentComponent,x,{},{},[])},"./src/app/share/attachment.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AttachmentComponent",(function(){return l}));n("./node_modules/@angular/router/fesm5/router.js");var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=(n("./src/angular2-meta.ts"),n("./src/app/share/share.actions.ts")),i=n("./src/app/share/attachment.actions.ts"),a=n("./src/app/share/models/index.ts"),s=n("./src/app/visual/visual.selector.ts"),l=function(){function e(e,t,n){var l=this;this._route=e,this._store=t,this._meta=n,this._route.params.forEach((function(e){var t=e.shareId,n=e.securityKey,r=e.nodeId;l.attachmentId=e.attachmentId,l._store.dispatch(Object(o.selectShare)(t,n)),l._store.dispatch(Object(o.selectItem)(r)),l._store.dispatch(Object(i.selectCurrentAttachment)(l.attachmentId)),l.urlString="/share/"+t+"/"+n+"/"+r})),this.currentAttachment$=this._store.pipe(Object(r.select)(a.selectCurrentAttachment)),this.visual$=this._store.pipe(Object(r.select)(s.selectVisual)),this.share$=this._store.pipe(Object(r.select)(a.selectCurrentShare)),this.currentNote$=this._store.pipe(Object(r.select)(a.selectCurrentNote))}return e.prototype.ngOnDestroy=function(){this._store.dispatch(Object(i.unselectCurrentAttachment)())},e}()},"./src/app/share/attachment.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"attachmentReducer",(function(){return i}));var r=n("./src/app/share/attachment.actions.ts"),o={currentAttachmentId:void 0};function i(e,t){switch(void 0===e&&(e=o),t.type){case r.SELECT_ATTACHMENT:return e.currentAttachmentId===t.attachmentId?e:Object.assign({},e,{currentAttachmentId:t.attachmentId});case r.UNSELECT_ATTACHMENT:return Object.assign({},o);default:return e}}},"./src/app/share/audio-attachment.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_AudioAttachmentComponent",(function(){return u})),n.d(t,"View_AudioAttachmentComponent_0",(function(){return p})),n.d(t,"View_AudioAttachmentComponent_Host_0",(function(){return f})),n.d(t,"AudioAttachmentComponentNgFactory",(function(){return h}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/audio-player.component.ngfactory.js"),i=n("./src/app/share/note/audio-player.component.ts"),a=n("./src/app/universal-config.ts"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=n("./src/app/share/audio-attachment.component.ts"),c=n("./src/angular2-meta.ts"),u=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-audio-player",[],null,null,null,o.View_AudioPlayerComponent_0,o.RenderType_AudioPlayerComponent)),r["ɵdid"](1,49152,null,0,i.AudioPlayerComponent,[a.Config],{attachment:[0,"attachment"]},null)],(function(e,t){e(t,1,0,t.component.attachment)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,1,0,t.component.isBrowser)}),null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-audio-attachment",[],null,null,null,p,u)),r["ɵdid"](1,638976,null,0,l.AudioAttachmentComponent,[c.Meta,"isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var h=r["ɵccf"]("nns-audio-attachment",l.AudioAttachmentComponent,f,{attachment:"attachment",share:"share",note:"note",visual:"visual"},{},[])},"./src/app/share/audio-attachment.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AudioAttachmentComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/angular2-meta.ts");var r=function(){function e(e,t){this._meta=e,this.isBrowser=t}return e.prototype.ngOnChanges=function(){this.setMeta()},e.prototype.ngOnInit=function(){this.setMeta()},e.prototype.setMeta=function(){this._meta.setMetaForAttachment(this.share,this.note,this.attachment)},e}()},"./src/app/share/folder/folder-empty.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_FolderEmptyComponent",(function(){return i})),n.d(t,"View_FolderEmptyComponent_0",(function(){return a})),n.d(t,"View_FolderEmptyComponent_Host_0",(function(){return s})),n.d(t,"FolderEmptyComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/folder/folder-empty.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:[".nns-empty-folder-content[_ngcontent-%COMP%] {\n      text-align: center;\n      padding: 16px;\n    }\n    .nns-empty-folder-icon[_ngcontent-%COMP%] {\n      padding: 0 0 17px 0;\n    }\n    .nns-empty-folder-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{\n      width: 150px;\n      height: 150px;\n    }\n    .nns-empty-folder-title[_ngcontent-%COMP%] {\n      font-size: 24px;\n      font-weight: bold;\n      line-height: 1.4;\n    }"],data:{}});function a(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-empty-folder-content"],["flex",""],["layout","column"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-empty-folder-title"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Empty folder"]))],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-folder-empty",[],null,null,null,a,i)),r["ɵdid"](1,49152,null,0,o.FolderEmptyComponent,[],null,null)],null,null)}var l=r["ɵccf"]("nns-folder-empty",o.FolderEmptyComponent,s,{visual:"visual"},{},[])},"./src/app/share/folder/folder-empty.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"FolderEmptyComponent",(function(){return r}));var r=function(){}},"./src/app/share/folder/folder.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_FolderComponent",(function(){return E})),n.d(t,"View_FolderComponent_0",(function(){return U})),n.d(t,"View_FolderComponent_Host_0",(function(){return H})),n.d(t,"FolderComponentNgFactory",(function(){return V}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/folder/folder-empty.component.ngfactory.js"),i=n("./src/app/share/folder/folder-empty.component.ts"),a=n("./src/app/share/folder/item-folder-list.component.ngfactory.js"),s=n("./src/app/share/folder/item-folder-list.component.ts"),l=n("./node_modules/@angular/common/fesm5/common.js"),c=n("./src/app/share/folder/item-note-list.component.ngfactory.js"),u=n("./src/app/share/folder/item-note-list.component.ts"),d=n("./src/app/common/loader.component.ngfactory.js"),p=n("./src/app/common/loader.component.ts"),f=n("./src/app/share/folder/item-folder.component.ngfactory.js"),h=n("./src/app/share/folder/item-folder.component.ts"),m=n("./src/app/share/folder/masonry-brick.component.ts"),g=n("./src/app/share/folder/masonry.component.ts"),y=n("./src/app/share/folder/item-note.component.ngfactory.js"),v=n("./src/app/share/folder/item-note.component.ts"),b=n("./src/app/share/folder/masonry.component.ngfactory.js"),_=n("./src/app/share/folder/show-more.component.ngfactory.js"),w=n("./src/app/share/folder/show-more.component.ts"),C=n("./node_modules/@ngrx/store/fesm5/store.js"),S=n("./src/app/share/folder/folder.component.ts"),E=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position:relative;\n      min-width:320px;\n      padding:0 0 16px 0;\n      z-index: 1;\n    }\n    .nns-wrapper[_ngcontent-%COMP%] {\n      max-width:986px;\n      min-width:320px;\n      margin:0 auto;\n      padding:0 10px;\n      position:relative;\n      box-sizing:border-box;\n      width: 100%;\n    }\n    .nns-folder-title[_ngcontent-%COMP%]{\n      font-weight: bold;\n      font-size: 21px;\n      padding: 0 10px;\n      margin-bottom: 20px;\n    }\n\n    nns-item-folder-list[_ngcontent-%COMP%]:last-of-type     .nns-item-folder-link, nns-item-note-list[_ngcontent-%COMP%]:last-of-type   /deep[_ngcontent-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%] {\n      border-bottom:none;\n    }\n\n    nns-item-folder-list[_ngcontent-%COMP%]:first-of-type     .nns-item-folder-layer, nns-item-note-list[_ngcontent-%COMP%]:first-of-type     .nns-item-note-layer  {\n      border-radius:2px 2px 0 0;\n    }\n    nns-item-folder-list[_ngcontent-%COMP%]:last-of-type     .nns-item-folder-layer, nns-item-note-list[_ngcontent-%COMP%]:last-of-type    .nns-item-note-layer {\n      border-radius:0 0 2px 2px;\n    }\n    .nns-folder-items.nns-folder-plates[_ngcontent-%COMP%]     .nns-item-note-link{\n      border: 1px solid #EAEFF1;\n      border-radius: 4px;\n    }\n\n    .nns-folder-items.nns-folder-plates.prepared[_ngcontent-%COMP%] {\n      opacity: 0;\n    }\n    .nns-folder-folders-list[_ngcontent-%COMP%] {\n      border-radius:2px;\n      box-shadow:0px 1px 3px 0px rgba(0,0,0,0.20);\n      margin:0 8px 16px 8px;\n    }\n\n    @media only screen and (max-width: 768px) {\n      [_nghost-%COMP%] {\n        padding:16px 0;\n      }\n    }\n\n    .masonry-hide[_ngcontent-%COMP%] {\n      visibility:hidden;\n    }",".nns-embed[_nghost-%COMP%], .nns-embed   [_nghost-%COMP%] {\n      padding-bottom: 70px;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-folder-items.nns-folder-plates[_ngcontent-%COMP%]     .nns-item-note-link, .nns-theme-night   [_nghost-%COMP%]   .nns-folder-items.nns-folder-plates[_ngcontent-%COMP%]     .nns-item-note-link{\n      border: 1px solid #646A6A;\n    }"],data:{}});function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-folder-empty",[["flex","noshrink"],["layout","row"],["layout-align","center center"]],null,null,null,o.View_FolderEmptyComponent_0,o.RenderType_FolderEmptyComponent)),r["ɵdid"](1,49152,null,0,i.FolderEmptyComponent,[],{visual:[0,"visual"]},null)],(function(e,t){e(t,1,0,t.component.visual)}),null)}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-item-folder-list",[],null,null,null,a.View_ItemFolderListComponent_0,a.RenderType_ItemFolderListComponent)),r["ɵdid"](1,114688,null,0,s.ItemFolderListComponent,[],{item:[0,"item"],share:[1,"share"]},null)],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,n.share)}),null)}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-folder-items nns-folder-folders-list nns-clearfix"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,k)),r["ɵdid"](2,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.childFolders,n.trackByGlobalId)}),null)}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-item-note-list",[],null,null,null,c.View_ItemNoteListComponent_0,c.RenderType_ItemNoteListComponent)),r["ɵdid"](1,278528,null,0,l.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](2,{first:0}),r["ɵdid"](3,114688,null,0,u.ItemNoteListComponent,[],{item:[0,"item"],share:[1,"share"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,t.context.first);e(t,1,0,r),e(t,3,0,t.context.$implicit,n.share)}),null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-folder-items nns-folder-notes-list nns-clearfix"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](2,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.childNotes,n.trackByGlobalId)}),null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-loader",[],null,null,null,d.View_LoaderComponent_0,d.RenderType_LoaderComponent)),r["ɵdid"](1,49152,null,0,p.LoaderComponent,[],null,null)],null,null)}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-item-folder",[["masonry-brick",""]],null,null,null,f.View_ItemFolderComponent_0,f.RenderType_ItemFolderComponent)),r["ɵdid"](1,114688,null,0,h.ItemFolderComponent,[],{item:[0,"item"],share:[1,"share"]},null),r["ɵdid"](2,4341760,null,0,m.MasonryBrickComponent,[r.ElementRef,g.MasonryComponent],null,null)],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,n.share)}),null)}function I(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-item-note",[["masonry-brick",""]],null,null,null,y.View_ItemNoteComponent_0,y.RenderType_ItemNoteComponent)),r["ɵdid"](1,114688,null,0,v.ItemNoteComponent,["isBrowser"],{item:[0,"item"],share:[1,"share"]},null),r["ɵdid"](2,4341760,null,0,m.MasonryBrickComponent,[r.ElementRef,g.MasonryComponent],null,null)],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,n.share)}),null)}function M(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","nns-folder-items nns-folder-plates nns-clearfix"],["masonry",""]],[[2,"prepared",null]],[[null,"layoutComplete"]],(function(e,t,n){var r=!0,o=e.component;"layoutComplete"===t&&(r=!1!==o.layoutComplete()&&r);return r}),b.View_MasonryComponent_0,b.RenderType_MasonryComponent)),r["ɵdid"](1,245760,[[1,4]],0,g.MasonryComponent,[r.ElementRef,"isBrowser"],{options:[0,"options"]},{layoutComplete:"layoutComplete"}),(e()(),r["ɵand"](16777216,null,0,1,null,R)),r["ɵdid"](3,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),r["ɵand"](16777216,null,0,1,null,I)),r["ɵdid"](5,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.masonryOptions),e(t,3,0,n.childFolders,n.trackByGlobalId),e(t,5,0,n.childNotes,n.trackByGlobalId)}),(function(e,t){e(t,0,0,!t.component.isMasonryReady)}))}function N(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-item-folder-list",[],null,null,null,a.View_ItemFolderListComponent_0,a.RenderType_ItemFolderListComponent)),r["ɵdid"](1,114688,null,0,s.ItemFolderListComponent,[],{item:[0,"item"],share:[1,"share"]},null)],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,n.share)}),null)}function D(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-folder-items nns-folder-folders-list nns-clearfix"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,N)),r["ɵdid"](2,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.childFolders,n.trackByGlobalId)}),null)}function j(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-item-note",[["class","nns-title-2"],["masonry-brick",""]],null,null,null,y.View_ItemNoteComponent_0,y.RenderType_ItemNoteComponent)),r["ɵdid"](1,114688,null,0,v.ItemNoteComponent,["isBrowser"],{item:[0,"item"],share:[1,"share"]},null),r["ɵdid"](2,4341760,null,0,m.MasonryBrickComponent,[r.ElementRef,g.MasonryComponent],null,null)],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,n.share)}),null)}function L(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","nns-folder-items nns-folder-plates nns-clearfix"],["masonry",""]],null,null,null,b.View_MasonryComponent_0,b.RenderType_MasonryComponent)),r["ɵdid"](1,245760,[[1,4]],0,g.MasonryComponent,[r.ElementRef,"isBrowser"],{options:[0,"options"]},null),(e()(),r["ɵand"](16777216,null,0,1,null,j)),r["ɵdid"](3,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.masonryOptions),e(t,3,0,n.childNotes,n.trackByGlobalId)}),null)}function B(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-show-more",[],null,null,null,_.View_ShowMoreComponent_0,_.RenderType_ShowMoreComponent)),r["ɵdid"](1,49152,null,0,w.ShowMoreComponent,[C.Store],null,null)],null,null)}function F(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,15,"div",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,14,"div",[["class","nns-wrapper"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,O)),r["ɵdid"](3,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](5,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,P)),r["ɵdid"](7,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,M)),r["ɵdid"](9,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,D)),r["ɵdid"](11,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,L)),r["ɵdid"](13,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,B)),r["ɵdid"](15,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,"list"==n.visual.listType),e(t,5,0,"list"==n.visual.listType),e(t,7,0,!n.isMasonryReady&&!n.visual.isMobile&&n.isShowLoader&&"plates"==n.visual.listType&&0!=(null==n.children?null:n.children.length)),e(t,9,0,"plates"==n.visual.listType&&!n.visual.isMobile),e(t,11,0,"plates"==n.visual.listType&&n.visual.isMobile),e(t,13,0,"plates"==n.visual.listType&&n.visual.isMobile),e(t,15,0,n.children.length>n.visual.folderChildrenCountToShow&&(n.isMasonryReady||n.visual.isMobile))}),null)}function U(e){return r["ɵvid"](0,[r["ɵqud"](671088640,1,{masonry:0}),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,"div",[["class","nns-folder-title"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,x)),r["ɵdid"](4,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,F)),r["ɵdid"](6,16384,null,0,l.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,4,0,0==(null==n.children?null:n.children.length)&&!n.share.isInvalidated),e(t,6,0,0!=(null==n.children?null:n.children.length))}),(function(e,t){e(t,2,0,t.component.folder.title)}))}function H(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-folder",[],null,null,null,U,E)),r["ɵdid"](1,573440,null,0,S.FolderComponent,[],null,null)],null,null)}var V=r["ɵccf"]("nns-folder",S.FolderComponent,H,{folder:"folder",share:"share",children:"children",visual:"visual"},{},[])},"./src/app/share/folder/folder.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"FolderComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/share/folder/masonry.component.ts");var r=function(){function e(){var e=this;this.isMasonryReady=!1,this.isShowLoader=!1,this.masonryOptions={itemSelector:"nns-item-folder, nns-item-note",transitionDuration:0},setTimeout((function(){e.isShowLoader=!0}),500)}return e.prototype.layoutComplete=function(){this.isMasonryReady=!0},e.prototype.ngOnChanges=function(e){if(e.children){var t=e.children.currentValue;this.showChildren(t)}e.visual&&("list"===e.visual.currentValue.listType&&(this.isMasonryReady=!1),this.showChildren(this.children))},e.prototype.showChildren=function(e){var t=this,n=e.filter((function(e){return"note"===e.type})),r=e.filter((function(e){return"folder"===e.type}));r.sort((function(e,t){if(!e.title||!t.title)return 0;var n=e.title.toLowerCase(),r=t.title.toLowerCase();return n<r?-1:n>r?1:0})),n.sort((function(e,t){return e.dateAdded<t.dateAdded?1:e.dateAdded>t.dateAdded?-1:0})),this.childFolders=r.filter((function(e,n){return n<t.visual.folderChildrenCountToShow})),this.childNotes=n.filter((function(e,n){return n<t.visual.folderChildrenCountToShow-t.childFolders.length}))},e.prototype.trackByGlobalId=function(e,t){return t.globalId},e}()},"./src/app/share/folder/folder.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"FolderModule",(function(){return r}));var r=function(){}},"./src/app/share/folder/item-folder-list.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ItemFolderListComponent",(function(){return u})),n.d(t,"View_ItemFolderListComponent_0",(function(){return d})),n.d(t,"View_ItemFolderListComponent_Host_0",(function(){return p})),n.d(t,"ItemFolderListComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/unescape.pipe.ts"),i=n("./node_modules/@angular/router/fesm5/router.js"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/common/icon.component.ngfactory.js"),l=n("./src/app/common/icon.component.ts"),c=n("./src/app/share/folder/item-folder-list.component.ts"),u=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      box-sizing:border-box;\n      width:100%;\n    }\n    .nns-item-folder-link[_ngcontent-%COMP%] {\n      box-sizing:border-box;\n      color:rgba(0,0,0,0.80);\n      position:relative;\n      display:block;\n      border-bottom:1px solid #dcdcdc;\n    }\n    .nns-item-folder-layer[_ngcontent-%COMP%] {\n      position:absolute;\n      left:0;\n      top:0;\n      width:100%;\n      height:100%;\n      display:block;\n      background:#fff;\n    }\n    .nns-item-folder-main[_ngcontent-%COMP%] {\n      position:relative;\n      z-index:5;\n      width:100%;\n      height:100%;\n      padding:12px;\n      box-sizing:border-box;\n      overflow:hidden;\n      transition:all 0.1s ease-out;\n      border-radius:2px;\n    }\n    .nns-item-folder-link[_ngcontent-%COMP%]:hover {color:rgba(0,0,0,0.80);}\n    .nns-item-folder-link[_ngcontent-%COMP%]:hover   .nns-item-folder-main[_ngcontent-%COMP%] {background:rgba(236,239,241,0.28);}\n\n    .nns-item-folder-name-text[_ngcontent-%COMP%] {\n      overflow:hidden;\n      text-overflow:ellipsis;\n      white-space:nowrap;\n      font-size:15px;\n      font-weight:bold;\n      margin:0 0 0 8px;\n    }\n    .nns-item-folder-notes[_ngcontent-%COMP%] {padding:0 0 0 8px;}\n\n    @media print {\n      .nns-item-folder-name-text[_ngcontent-%COMP%]{\n        margin-left: 0;\n      }\n      .nns-item-folder-name[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n        display: none;\n      }\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]{\n      color:rgba(255,255,255, 0.8);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%] {\n      border-color: #646A6A;\n      background:#292E32;\n      box-shadow:4px 4px 38px rgb(19 30 32 / 66%);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover {\n      color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover   .nns-item-folder-main[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover   .nns-item-folder-main[_ngcontent-%COMP%] {\n      background:rgba(181,181,181,0.10);\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%] {\n      border-color:#2F3737;\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-name-text[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-name-text[_ngcontent-%COMP%] {\n        color: #161616;\n      }\n    }"],data:{}});function d(e){return r["ɵvid"](0,[r["ɵpid"](0,o.UnescapePipe,[]),(e()(),r["ɵeld"](1,0,null,null,13,"a",[["class","nns-item-folder-link"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](2,671744,null,0,i.RouterLinkWithHref,[i.Router,i.ActivatedRoute,a.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](3,1),r["ɵppd"](4,1),(e()(),r["ɵeld"](5,0,null,null,0,"span",[["class","nns-item-folder-layer"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,8,"span",[["class","nns-item-folder-main"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,7,"span",[["class","nns-item-folder-top"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](8,0,null,null,3,"span",[["class","nns-item-folder-name"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,1,"nns-icon",[["flex","none"],["icon","folder"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,10).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,10).onMouseLeave()&&o);return o}),s.View_IconComponent_0,s.RenderType_IconComponent)),r["ɵdid"](10,573440,null,0,l.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](11,0,null,null,0,"span",[["class","nns-item-folder-name-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["ɵeld"](12,0,null,null,2,"span",[["class","nns-item-folder-notes"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](13,0,null,null,1,"nns-icon",[["flex","none"],["icon","next-inv"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,14).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,14).onMouseLeave()&&o);return o}),s.View_IconComponent_0,s.RenderType_IconComponent)),r["ɵdid"](14,573440,null,0,l.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=e(t,3,0,t.component.urlString);e(t,2,0,n);e(t,10,0,"folder");e(t,14,0,"next-inv")}),(function(e,t){var n=t.component,o=r["ɵinlineInterpolate"](1,"",r["ɵunv"](t,1,0,e(t,4,0,r["ɵnov"](t,0),n.item.title)),"");e(t,1,0,o,r["ɵnov"](t,2).target,r["ɵnov"](t,2).href),e(t,9,0,r["ɵnov"](t,10)._classes),e(t,11,0,n.item.title),e(t,13,0,r["ɵnov"](t,14)._classes)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-item-folder-list",[],null,null,null,d,u)),r["ɵdid"](1,114688,null,0,c.ItemFolderListComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}var f=r["ɵccf"]("nns-item-folder-list",c.ItemFolderListComponent,p,{item:"item",share:"share"},{},[])},"./src/app/share/folder/item-folder-list.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ItemFolderListComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(){function e(){}return e.prototype.ngOnInit=function(){var e=this.share.instance;if(this.item.share&&this.item.share.passwordRequired){var t=this.item.share;this.urlString="/share/"+t.id+"/"+t.securityKey}else this.urlString="/share/"+e.id+"/"+e.securityKey+"/"+this.item.globalId},e}()},"./src/app/share/folder/item-folder.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ItemFolderComponent",(function(){return u})),n.d(t,"View_ItemFolderComponent_0",(function(){return d})),n.d(t,"View_ItemFolderComponent_Host_0",(function(){return p})),n.d(t,"ItemFolderComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/unescape.pipe.ts"),i=n("./node_modules/@angular/router/fesm5/router.js"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/common/icon.component.ngfactory.js"),l=n("./src/app/common/icon.component.ts"),c=n("./src/app/share/folder/item-folder.component.ts"),u=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: block;\n      box-sizing:border-box;\n      padding:10px;\n      width:33%;\n    }\n    .nns-item-folder-link[_ngcontent-%COMP%] {\n      box-sizing:border-box;\n      color:rgba(0,0,0,0.80);\n      position:relative;\n      display:block;\n      transition: 0.3s;\n    }\n    .nns-item-folder-link[_ngcontent-%COMP%]:hover{\n      box-shadow: 0px 1px 16px rgba(192, 205, 216, 0.8);\n    }\n    .nns-item-folder-layer[_ngcontent-%COMP%] {\n      position:absolute;\n      box-sizing: border-box;\n      left:0;\n      top:0;\n      width:100%;\n      height:100%;\n      background:#fff;\n      border: 1px solid #EAEFF1;\n      border-radius: 0px 0px 4px 4px;\n    }\n    .nns-item-folder-layer[_ngcontent-%COMP%]:before {\n      content: '';\n      position:absolute;\n      left: -1px;\n      right: -1px;\n      bottom: 100%;\n      height: 6px;\n      background: #EAEFF1;\n      border-radius: 4px 0px 0px 0px;\n    }\n    .nns-item-folder-layer[_ngcontent-%COMP%]:after {\n      content: '';\n      position:absolute;\n      right: -1px;\n      bottom: calc(100% + 2px);\n      width: 45px;\n      height: 8px;\n      background: #EAEFF1;\n      border-radius: 4px;\n    }\n    .nns-item-folder-main[_ngcontent-%COMP%] {\n      position:relative;\n      z-index:5;\n      padding: 20px;\n      transition:all 0.1s ease-out;\n      border-radius:2px;\n      position:relative;\n      box-sizing: border-box;\n    }\n    .nns-item-folder-link[_ngcontent-%COMP%]:hover {color:rgba(0,0,0,0.80);}\n\n    .nns-item-folder-name[_ngcontent-%COMP%] {\n      overflow:hidden;\n      text-overflow:ellipsis;\n      display: -webkit-box;\n      -webkit-line-clamp: 4;\n      -webkit-box-orient: vertical;\n      font-size:14px;\n      font-weight:bold;\n      padding-left: 12px;\n    }\n    nns-item-folder[_ngcontent-%COMP%]   .nns-item-folder-subtext[_ngcontent-%COMP%] {\n      font-size:12px;\n      color:rgba(0,0,0, 0.6);\n    }\n\n    @media only screen and (max-width: 1024px) {\n      [_nghost-%COMP%] {width:50%;}\n    }\n\n    @media only screen and (max-width: 600px) {\n      [_nghost-%COMP%] {width:100%;}\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.8);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%] {\n      border-color: #646A6A;\n      background:#292E32;\n      box-shadow:4px 4px 38px rgb(19 30 32 / 66%);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%]:before, .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%]:before {\n      background: #292E32;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%]:after, .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-layer[_ngcontent-%COMP%]:after {\n      background: #292E32;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover {\n      color:#fff;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-link[_ngcontent-%COMP%]:hover {\n      box-shadow: 0px 1px 16px #0C0F11;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-subtext[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-subtext[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.6);\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%]   .nns-item-folder-name[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-folder-name[_ngcontent-%COMP%] {\n        color: #161616;\n      }\n    }"],data:{}});function d(e){return r["ɵvid"](0,[r["ɵpid"](0,o.UnescapePipe,[]),(e()(),r["ɵeld"](1,0,null,null,8,"a",[["class","nns-item-folder-link"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](2,671744,null,0,i.RouterLinkWithHref,[i.Router,i.ActivatedRoute,a.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](3,1),r["ɵppd"](4,1),(e()(),r["ɵeld"](5,0,null,null,0,"span",[["class","nns-item-folder-layer"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,3,"span",[["class","nns-item-folder-main"],["flex",""],["layout","row"],["layout-align","start start"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,1,"nns-icon",[["icon","folder-small"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,8).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,8).onMouseLeave()&&o);return o}),s.View_IconComponent_0,s.RenderType_IconComponent)),r["ɵdid"](8,573440,null,0,l.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](9,0,null,null,0,"span",[["class","nns-item-folder-name"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,t){var n=e(t,3,0,t.component.urlString);e(t,2,0,n);e(t,8,0,"folder-small")}),(function(e,t){var n=t.component,o=r["ɵinlineInterpolate"](1,"",r["ɵunv"](t,1,0,e(t,4,0,r["ɵnov"](t,0),n.item.title)),"");e(t,1,0,o,r["ɵnov"](t,2).target,r["ɵnov"](t,2).href),e(t,7,0,r["ɵnov"](t,8)._classes),e(t,9,0,n.item.title)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-item-folder",[],null,null,null,d,u)),r["ɵdid"](1,114688,null,0,c.ItemFolderComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}var f=r["ɵccf"]("nns-item-folder",c.ItemFolderComponent,p,{item:"item",share:"share"},{},[])},"./src/app/share/folder/item-folder.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ItemFolderComponent",(function(){return r}));var r=function(){function e(){}return e.prototype.ngOnInit=function(){var e=this.share.instance;if(this.item.share&&this.item.share.passwordRequired){var t=this.item.share;this.urlString="/share/"+t.id+"/"+t.securityKey}else this.urlString="/share/"+e.id+"/"+e.securityKey+"/"+this.item.globalId},e}()},"./src/app/share/folder/item-note-list.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ItemNoteListComponent",(function(){return l})),n.d(t,"View_ItemNoteListComponent_0",(function(){return d})),n.d(t,"View_ItemNoteListComponent_Host_0",(function(){return p})),n.d(t,"ItemNoteListComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/unescape.pipe.ts"),i=n("./node_modules/@angular/router/fesm5/router.js"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/share/folder/item-note-list.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      width:100%;\n      box-sizing:border-box;\n      padding:0 8px;\n      display:block;\n    }\n    .first[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%] {\n      border-top: 1px solid #F5F5F5;\n    }\n    .nns-item-note-link[_ngcontent-%COMP%] {\n      box-sizing:border-box;\n      color:rgba(0,0,0,0.80);\n      position:relative;\n      display:block;\n      border-bottom:1px solid #dcdcdc;\n    }\n    .nns-item-note-layer[_ngcontent-%COMP%] {\n      position:absolute;\n      left:0;\n      top:0;\n      width:100%;\n      height:100%;\n      display:block;\n      background:#fff;\n      box-shadow:none;\n      border-radius:0;\n      box-shadow: 0px 3.2px 7.2px rgb(0 0 0 / 6%);\n    }\n    .nns-item-note-main[_ngcontent-%COMP%] {\n      position:relative;\n      z-index:5;\n      padding:12px;\n      overflow:hidden;\n      transition:all 0.1s ease-out;\n      border-radius:2px;\n      min-height:118px;\n    }\n    .nns-item-note-link[_ngcontent-%COMP%]:hover {color:rgba(0,0,0,0.80);}\n    .nns-item-note-link[_ngcontent-%COMP%]:hover   .nns-item-note-main[_ngcontent-%COMP%] {background:rgba(236,239,241,0.28);}\n\n    .nns-item-note-meta[_ngcontent-%COMP%] {\n      font-size:12px;\n      color:rgba(0,0,0,0.60);\n    }\n    .nns-item-note-meta-date[_ngcontent-%COMP%] {padding:0 8px 0 0;}\n    .nns-item-note-meta-source[_ngcontent-%COMP%] {\n      white-space:nowrap;\n      overflow:hidden;\n      text-overflow:ellipsis;\n    }\n\n    .nns-item-note-title[_ngcontent-%COMP%] {\n      display:block;\n      width:100%;\n      margin:0 0 5px 0;\n      overflow:hidden;\n      white-space:nowrap;\n      text-overflow:ellipsis;\n      line-height:1.3;\n      font-size:20px;\n      font-weight:400;\n    }\n\n    .nns-item-note-img[_ngcontent-%COMP%] {\n      background-size:cover !important;\n      width:94px;\n      height:94px;\n      border-radius:2px;\n      overflow:hidden;\n      margin:0 0 0 12px;\n    }\n    .nns-item-note-desc[_ngcontent-%COMP%] {\n      font-size:12px;\n      color:rgba(0,0,0,0.60);\n      line-height:1.5;\n      padding:2px 0 0 0;\n    }\n\n    @media only screen and (max-width: 600px) {\n\n      .nns-item-note-main[_ngcontent-%COMP%] {\n        min-height:64px;\n      }\n      .nns-item-note-title[_ngcontent-%COMP%] {font-size:15px;}\n      .nns-item-note-img[_ngcontent-%COMP%] {\n        width:40px;\n        height:40px;\n      }\n\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.8);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-layer[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-layer[_ngcontent-%COMP%] {\n      background:#292E32;\n      box-shadow:4px 4px 38px rgb(19 30 32 / 66%);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover {\n      color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover   .nns-item-note-main[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover   .nns-item-note-main[_ngcontent-%COMP%] {\n      background:rgba(181,181,181,0.10);\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-meta[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-meta[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.6);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%] {\n      border-color:#2F3737;\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%]   .nns-item-note-main[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-main[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-item-note-meta[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-meta[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%] {\n        color: #161616;\n      }\n\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["class","nns-item-note-meta-date"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.date)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["class","nns-item-note-meta-source"],["flex",""]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.item.url)}))}function d(e){return r["ɵvid"](0,[r["ɵpid"](0,o.UnescapePipe,[]),(e()(),r["ɵeld"](1,0,null,null,15,"a",[["class","nns-item-note-link"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](2,671744,null,0,i.RouterLinkWithHref,[i.Router,i.ActivatedRoute,a.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](3,1),r["ɵppd"](4,1),(e()(),r["ɵeld"](5,0,null,null,0,"span",[["class","nns-item-note-layer"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,10,"span",[["class","nns-item-note-main"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,9,"span",[["flex",""],["layout","column"],["layout-align","center start"]],null,null,null,null,null)),(e()(),r["ɵeld"](8,0,null,null,1,"span",[["class","nns-item-note-title"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["ɵeld"](10,0,null,null,4,"span",[["class","nns-item-note-meta"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](12,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](14,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](15,0,null,null,1,"span",[["class","nns-item-note-desc"]],null,null,null,null,null)),(e()(),r["ɵeld"](16,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],(function(e,t){var n=t.component,r=e(t,3,0,n.urlString);e(t,2,0,r),e(t,12,0,n.date),e(t,14,0,n.item.url)}),(function(e,t){var n=t.component,o=r["ɵinlineInterpolate"](1,"",r["ɵunv"](t,1,0,e(t,4,0,r["ɵnov"](t,0),n.item.title)),"");e(t,1,0,o,r["ɵnov"](t,2).target,r["ɵnov"](t,2).href),e(t,9,0,n.item.title),e(t,16,0,null==n.item.text?null:n.item.text.textShort)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-item-note-list",[],null,null,null,d,l)),r["ɵdid"](1,114688,null,0,s.ItemNoteListComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}var f=r["ɵccf"]("nns-item-note-list",s.ItemNoteListComponent,p,{item:"item",share:"share"},{},[])},"./src/app/share/folder/item-note-list.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ItemNoteListComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(){function e(){}return e.prototype.ngOnInit=function(){var e=new Date(1e3*this.item.dateAdded);this.date=e.toLocaleString();var t=this.share.instance;this.urlString="/share/"+t.id+"/"+t.securityKey+"/"+this.item.globalId},e}()},"./src/app/share/folder/item-note.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ItemNoteComponent",(function(){return l})),n.d(t,"View_ItemNoteComponent_0",(function(){return p})),n.d(t,"View_ItemNoteComponent_Host_0",(function(){return f})),n.d(t,"ItemNoteComponentNgFactory",(function(){return h}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/unescape.pipe.ts"),i=n("./node_modules/@angular/router/fesm5/router.js"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/share/folder/item-note.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: block;\n      padding:8px 10px;\n      width:33%;\n      box-sizing:border-box;\n    }\n    .nns-item-note-link[_ngcontent-%COMP%] {\n      box-sizing:border-box;\n      color:rgba(0,0,0,0.80);\n      position:relative;\n      display:block;\n      transition: 0.3s;\n    }\n    .nns-item-note-link[_ngcontent-%COMP%]:hover{\n      box-shadow: 0px 1px 16px rgba(192, 205, 216, 0.8);\n    }\n    .nns-item-note-layer[_ngcontent-%COMP%] {\n      position:absolute;\n      left:0;\n      top:0;\n      width:100%;\n      height:100%;\n      display:block;\n      background:#fff;\n      border-radius:4px;\n      box-shadow: 0px 3.2px 7.2px rgb(0 0 0 / 6%)\n    }\n    .nns-item-note-main[_ngcontent-%COMP%] {\n      position:relative;\n      z-index:5;\n      width:100%;\n      height:100%;\n      padding:20px;\n      box-sizing:border-box;\n      overflow:hidden;\n      transition:all 0.1s ease-out;\n      border-radius:2px;\n    }\n    .nns-item-note-preview[_ngcontent-%COMP%] {\n      position: relative;\n    }\n    .nns-item-note-preview[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n      display: block;\n      border-radius:4px 4px 0px 0px;\n    }\n    .nns-item-note-link[_ngcontent-%COMP%]:hover {color:rgba(0,0,0,0.80);}\n\n    .nns-item-note-meta[_ngcontent-%COMP%] {\n      font-size:12px;\n      color:rgba(0,0,0,0.60);\n      padding: 13px 0 2px;\n    }\n    .nns-item-note-meta-date[_ngcontent-%COMP%] {padding:0 8px 0 0;}\n    .nns-item-note-meta-source[_ngcontent-%COMP%] {\n      white-space:nowrap;\n      overflow:hidden;\n      text-overflow:ellipsis;\n    }\n\n    .nns-item-note-title[_ngcontent-%COMP%] {\n      font-size:16px;\n      font-weight: bold;\n      overflow:hidden;\n      text-overflow:inherit;\n      line-height:22px;\n      letter-spacing: .3px;\n      color: #000;\n      opacity: .8;\n    }\n\n    .nns-item-note-content[_ngcontent-%COMP%] {\n      padding-top: 20px;\n      margin:0 0 -12px 0;\n    }\n\n    .nns-item-note-img[_ngcontent-%COMP%] {\n      width:100%;\n      height:140px;\n      background-size:cover !important;\n      display:block;\n      margin:-4px -12px 0 -12px;\n      padding:0 12px;\n    }\n    .nns-item-note-desc[_ngcontent-%COMP%] {\n      font-size:14px;\n      line-height:22px;\n      padding-bottom: 12px;\n      opacity: .8;\n      text-overflow: ellipsis;\n      overflow: hidden;\n    }\n\n    @media only screen and (max-width: 1024px) {\n      [_nghost-%COMP%] {width:50%;}\n    }\n\n    @media only screen and (max-width: 600px) {\n      [_nghost-%COMP%] {width:100%;}\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.8);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-layer[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-layer[_ngcontent-%COMP%] {\n      background:#292E32;\n      box-shadow:4px 4px 38px rgb(19 30 32 / 66%);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover {\n      color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-link[_ngcontent-%COMP%]:hover {\n      box-shadow: 0px 1px 16px #0C0F11;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-title[_ngcontent-%COMP%] {\n      color: #FFF\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-meta[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-meta[_ngcontent-%COMP%] {\n      color:rgba(255,255,255, 0.6);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%] {\n      color:#fff;\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%]   .nns-item-note-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-title[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-item-note-desc[_ngcontent-%COMP%] {\n        color: #161616;\n      }\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["class","nns-item-note-preview"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"img",[["alt","note"],["style","max-width: 100%"]],[[8,"src",4]],null,null,null,null))],null,(function(e,t){e(t,1,0,t.component.item.previewUrl)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"span",[["class","nns-item-note-content"],["flex","auto"],["layout","row"],["layout-align","start end"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"span",[["class","nns-item-note-desc"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){e(t,2,0,t.component.item.text.textShort)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"span",[["class","nns-item-note-meta"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"span",[["class","nns-item-note-meta-source"],["flex",""]],null,null,null,null,null)),(e()(),r["ɵted"](2,null,["",""]))],null,(function(e,t){e(t,2,0,t.component.item.url)}))}function p(e){return r["ɵvid"](0,[r["ɵpid"](0,o.UnescapePipe,[]),(e()(),r["ɵeld"](1,0,null,null,13,"a",[["class","nns-item-note-link"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](2,671744,null,0,i.RouterLinkWithHref,[i.Router,i.ActivatedRoute,a.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](3,1),r["ɵppd"](4,1),(e()(),r["ɵeld"](5,0,null,null,0,"span",[["class","nns-item-note-layer"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](8,0,null,null,6,"span",[["class","nns-item-note-main"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,1,"span",[["class","nns-item-note-title"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](10,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](12,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](14,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,3,0,n.urlString);e(t,2,0,r),e(t,7,0,n.item.previewUrl),e(t,12,0,n.item.text&&n.item.text.textShort),e(t,14,0,n.item.url)}),(function(e,t){var n=t.component,o=r["ɵinlineInterpolate"](1,"",r["ɵunv"](t,1,0,e(t,4,0,r["ɵnov"](t,0),n.item.title)),"");e(t,1,0,o,r["ɵnov"](t,2).target,r["ɵnov"](t,2).href),e(t,10,0,n.item.title)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-item-note",[],null,null,null,p,l)),r["ɵdid"](1,114688,null,0,s.ItemNoteComponent,["isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var h=r["ɵccf"]("nns-item-note",s.ItemNoteComponent,f,{item:"item",share:"share"},{},[])},"./src/app/share/folder/item-note.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ItemNoteComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(){function e(e){this.isBrowser=e}return e.prototype.ngOnInit=function(){var e=new Date(1e3*this.item.dateUpdated);this.date=e.toLocaleString();var t=this.share.instance;if(this.item.share&&this.item.share.passwordRequired){var n=this.item.share;this.urlString="/share/"+n.id+"/"+n.securityKey}else this.urlString="/share/"+t.id+"/"+t.securityKey+"/"+this.item.globalId},e}()},"./src/app/share/folder/masonry-brick.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"MasonryBrickComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/share/folder/masonry.component.ts");var r=function(){function e(e,t){this._element=e,this._parent=t}return e.prototype.ngAfterViewInit=function(){this._parent.add(this._element.nativeElement)},e.prototype.ngOnDestroy=function(){this._parent.remove(this._element.nativeElement)},e}()},"./src/app/share/folder/masonry.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_MasonryComponent",(function(){return i})),n.d(t,"View_MasonryComponent_0",(function(){return a})),n.d(t,"View_MasonryComponent_Host_0",(function(){return s})),n.d(t,"MasonryComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/folder/masonry.component.ts"),i=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function a(e){return r["ɵvid"](0,[r["ɵncd"](null,0)],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["masonry",""]],null,null,null,a,i)),r["ɵdid"](1,245760,null,0,o.MasonryComponent,[r.ElementRef,"isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var l=r["ɵccf"]("[masonry]",o.MasonryComponent,s,{options:"options",useImagesLoaded:"useImagesLoaded"},{layoutComplete:"layoutComplete",removeComplete:"removeComplete"},["*"])},"./src/app/share/folder/masonry.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"MasonryComponent",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/operators/index.js"),o=n("./node_modules/@angular/core/fesm5/core.js"),i=n("./node_modules/rxjs/Rx.js"),a=function(){function e(e,t){var r=this;this._element=e,this.useImagesLoaded=!1,this.layoutComplete=new o.EventEmitter,this.removeComplete=new o.EventEmitter,t&&(this.masonry=n("./node_modules/masonry-layout/masonry.js")),this.isBrowser=t,this.elementsToAdd$=new i.Observable((function(e){r.elementsToAddObserver=e}))}return e.prototype.ngOnInit=function(){var e=this;this.isBrowser&&(this.options||(this.options={}),this.options.itemSelector||(this.options.itemSelector="[masonry-brick], masonry-brick"),"MASONRY"===this._element.nativeElement.tagName&&(this._element.nativeElement.style.display="block"),this._msnry=new this.masonry(this._element.nativeElement,this.options),this._msnry.on("layoutComplete",(function(t){e.layoutComplete.emit(t)})),this._msnry.on("removeComplete",(function(t){e.removeComplete.emit(t)})),this.elementsSubscriber=this.elementsToAdd$.pipe(Object(r.bufferTime)(0),Object(r.filter)((function(e){return e.length>0}))).subscribe((function(t){var n=t.map((function(e){return e.querySelector("img")})).filter(Boolean),r=function(t){t===n.length&&e.layout(!0)};if(n.length){var o=0;n.map((function(e){return e.src})).forEach((function(e){var t=new Image;t.onload=function(){return setTimeout((function(){r(++o)}))},t.onerror=function(){return setTimeout((function(){r(++o)}))},t.src=e}))}else e.layout(!0)})))},e.prototype.ngOnDestroy=function(){this._msnry&&this._msnry.destroy(),this.elementsSubscriber&&this.elementsSubscriber.unsubscribe()},e.prototype.layout=function(e){void 0===e&&(e=!1),this.isBrowser&&(e&&this._msnry.reloadItems(),this._msnry.layout())},e.prototype.add=function(e){this.isBrowser&&this.elementsToAddObserver.next(e)},e.prototype.remove=function(e){if(this.isBrowser){try{this._msnry.remove(e)}catch(e){}this.layout()}},e}()},"./src/app/share/folder/show-more.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShowMoreComponent",(function(){return a})),n.d(t,"View_ShowMoreComponent_0",(function(){return s})),n.d(t,"View_ShowMoreComponent_Host_0",(function(){return l})),n.d(t,"ShowMoreComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/folder/show-more.component.ts"),i=n("./node_modules/@ngrx/store/fesm5/store.js"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display:block;\n      padding:16px 10px 0 10px;\n    }\n    .nns-show-more-button[_ngcontent-%COMP%] {\n      display:block;\n      width:100%;\n      padding:16px 0;\n      cursor:pointer;\n      color:#0096a7;\n      font-size:12px;\n      text-align:center;\n      border:1px solid #cdcdcd;\n      font-weight:bold;\n      border-radius:2px;\n    }\n    .nns-show-more-button[_ngcontent-%COMP%]:hover {\n      opacity:0.7;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-show-more-button[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-show-more-button[_ngcontent-%COMP%]  {\n      color:#fff;\n      background-color: #292E32;\n      border-color:rgba(0,0,0, 0.12);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-show-more-button[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-show-more-button[_ngcontent-%COMP%]:hover {\n      background: rgba(181,181,181,0.10);\n      opacity:1;\n    }"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-show-more-button nns-noselect nns-animated"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.showMore()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,[" SHOW MORE "]))],null,null)}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-show-more",[],null,null,null,s,a)),r["ɵdid"](1,49152,null,0,o.ShowMoreComponent,[i.Store],null,null)],null,null)}var c=r["ɵccf"]("nns-show-more",o.ShowMoreComponent,l,{},{},[])},"./src/app/share/folder/show-more.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShowMoreComponent",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e}return e.prototype.showMore=function(){this._store.dispatch(Object(r.addPageFolderChildrenCount)())},e}()},"./src/app/share/image-attachment.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ImageAttachmentComponent",(function(){return c})),n.d(t,"View_ImageAttachmentComponent_0",(function(){return u})),n.d(t,"View_ImageAttachmentComponent_Host_0",(function(){return d})),n.d(t,"ImageAttachmentComponentNgFactory",(function(){return p}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/image.component.ngfactory.js"),i=n("./src/app/share/note/image.component.ts"),a=n("./src/app/universal-config.ts"),s=n("./src/app/share/image-attachment.component.ts"),l=n("./src/angular2-meta.ts"),c=r["ɵcrt"]({encapsulation:0,styles:["",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#2f3737;\n    }"],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-image",[],null,null,null,o.View_ImageComponent_0,o.RenderType_ImageComponent)),r["ɵdid"](2,49152,null,0,i.ImageComponent,[a.Config],{attachment:[0,"attachment"]},null)],(function(e,t){e(t,2,0,t.component.attachment)}),null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-image-attachment",[],null,null,null,u,c)),r["ɵdid"](1,638976,null,0,s.ImageAttachmentComponent,[l.Meta],null,null)],(function(e,t){e(t,1,0)}),null)}var p=r["ɵccf"]("nns-image-attachment",s.ImageAttachmentComponent,d,{attachment:"attachment",share:"share",note:"note"},{},[])},"./src/app/share/image-attachment.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ImageAttachmentComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/angular2-meta.ts");var r=function(){function e(e){this._meta=e}return e.prototype.ngOnInit=function(){this.setMeta()},e.prototype.ngOnChanges=function(){this.setMeta()},e.prototype.setMeta=function(){this._meta.setMetaForAttachment(this.share,this.note,this.attachment)},e}()},"./src/app/share/index.ts":function(e,t,n){"use strict";n.r(t);var r=n("./src/app/share/share.module.ts");n.d(t,"ShareModule",(function(){return r.ShareModule}));var o=n("./src/app/share/share-copy.service.ts");n.d(t,"ShareCopyService",(function(){return o.ShareCopyService}))},"./src/app/share/models/attachments.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectCurrentAttachments",(function(){return a})),n.d(t,"prepareAttachmentURLs",(function(){return s})),n.d(t,"prepareAttachmentSize",(function(){return l}));var r=n("./node_modules/urlencode/lib/urlencode.js"),o=n("./src/app/share/models/share.selector.ts"),i=n("./node_modules/@ngrx/store/fesm5/store.js"),a=Object(i.createSelector)(o.selectShare,o.selectCurrentShare,(function(e,t){e.share;var n=e.result.entities;return n&&n.attachments?Object.keys(n.attachments).map((function(e){return n.attachments[e]})).filter((function(t){return t.noteGlobalId==e.nodeId})).map(function(e){return function(t){return s(e,t)}}(t)).map(l):[]})),s=function(e,t){var n="/"+t.globalId+"/"+Object(r.encode)(t.displayName);return Object.assign({},t,{videoURL:e.videoAttachmentBase+"/"+t.noteGlobalId+n,audioURL:e.audioAttachmentBase+"/"+t.noteGlobalId+n,imageURL:e.imageAttachmentBase+"/"+t.noteGlobalId+n,unknownURL:e.unknownAttachmentBase+"/"+t.noteGlobalId+n,attachmentURL:e.attachmentBase+n})};function l(e){return Object.assign({},e,{humanFileSize:c(e.size)})}function c(e){var t=-1;do{e/=1024,t++}while(e>1024&&t<4);return Math.max(.1,e).toFixed(1)+" "+["kB","MB","GB","TB"][t]}},"./src/app/share/models/children.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectChildren",(function(){return a})),n.d(t,"selectChildrenNotesCount",(function(){return s}));var r=n("./src/app/share/models/share.selector.ts"),o=n("./node_modules/@ngrx/store/fesm5/store.js"),i=n("./src/app/share/models/current-note.selector.ts"),a=Object(o.createSelector)(r.selectShare,i.selectCurrentNote,(function(e,t){var n=e.result.entities;return t&&t.children?Object.keys(t.children).map((function(e){return t.children[e]})).map((function(e){var t=n.notes[e];if(t){var r=n.texts?n.texts[e]:"";return Object.assign({},t,{text:r})}})).sort((function(e,t){return e.dateUpdated>t.dateUpdated?1:e.dateUpdated<t.dateUpdated?-1:0})):[]})),s=Object(o.createSelector)(a,(function(e){var t=e.filter((function(e){return"note"==e.type}));return t?t.length:0}))},"./src/app/share/models/current-attachment.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectAttachment",(function(){return i})),n.d(t,"selectCurrentAttachment",(function(){return a}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/attachments.selector.ts"),i=Object(r.createFeatureSelector)("attachment"),a=Object(r.createSelector)(o.selectCurrentAttachments,i,(function(e,t){var n,r=t.currentAttachmentId;return e.forEach((function(e){e.globalId&&e.globalId.indexOf(r)>=0&&(n=e)})),n}))},"./src/app/share/models/current-note.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectCurrentNote",(function(){return a}));var r=n("./src/app/share/models/attachments.selector.ts"),o=n("./src/app/share/models/share.selector.ts"),i=n("./node_modules/@ngrx/store/fesm5/store.js"),a=Object(i.createSelector)(o.selectShare,r.selectCurrentAttachments,(function(e,t){var n,r=e.share,o=e.result.entities;if(r&&o&&o.notes){var i=o.notes[r.note];if(i){n=Object.assign({},n,i);var a,s,l=!1,c=!1;return t&&t.length&&("screencast"!==n.role&&"video"!==n.role||"video"!==t[0].type||!t[0].inList||(l=!0,a=t[0]),"screenshot"===n.role&&"image"===t[0].type&&t[0].inList&&(c=!0,s=t[0])),n=Object.assign({},n,{isVideoNote:l,videoNote:a,isImageNote:c,imageNote:s})}}}))},"./src/app/share/models/index.ts":function(e,t,n){"use strict";n.r(t);var r=n("./src/app/share/models/share.selector.ts");n.d(t,"selectShare",(function(){return r.selectShare})),n.d(t,"selectCurrentShare",(function(){return r.selectCurrentShare})),n.d(t,"getShareUrls",(function(){return r.getShareUrls}));var o=n("./src/app/share/models/current-note.selector.ts");n.d(t,"selectCurrentNote",(function(){return o.selectCurrentNote}));var i=n("./src/app/share/models/attachments.selector.ts");n.d(t,"selectCurrentAttachments",(function(){return i.selectCurrentAttachments})),n.d(t,"prepareAttachmentURLs",(function(){return i.prepareAttachmentURLs})),n.d(t,"prepareAttachmentSize",(function(){return i.prepareAttachmentSize}));var a=n("./src/app/share/models/text.selector.ts");n.d(t,"selectText",(function(){return a.selectText}));var s=n("./src/app/share/models/current-attachment.selector.ts");n.d(t,"selectAttachment",(function(){return s.selectAttachment})),n.d(t,"selectCurrentAttachment",(function(){return s.selectCurrentAttachment}));var l=n("./src/app/share/models/children.selector.ts");n.d(t,"selectChildren",(function(){return l.selectChildren})),n.d(t,"selectChildrenNotesCount",(function(){return l.selectChildrenNotesCount}));var c=n("./src/app/share/models/share-copy.selector.ts");n.d(t,"selectShareCopy",(function(){return c.selectShareCopy}));var u=n("./src/app/share/models/preview.selector.ts");n.d(t,"selectPreview",(function(){return u.selectPreview}));var d=n("./src/app/share/models/todos.selector.ts");n.d(t,"selectTodos",(function(){return d.selectTodos}))},"./src/app/share/models/preview.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectPreview",(function(){return a}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/attachments.selector.ts"),i=n("./src/app/share/models/current-note.selector.ts"),a=Object(r.createSelector)(o.selectCurrentAttachments,i.selectCurrentNote,(function(e,t){var n;return"screencast"==t.role||"video"==t.role||"streaming_video"==t.role?n=e[0]:t&&t.preview&&t.preview.attachmentGlobalId&&(n=e.find((function(e){return e.globalId==t.preview.attachmentGlobalId}))),n}))},"./src/app/share/models/share-copy.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectShareCopy",(function(){return i}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/share.selector.ts"),i=Object(r.createSelector)(o.selectShare,(function(e){return{shareCopyJobId:e.shareCopyJobId,shareCopyStatus:e.shareCopyStatus,shareCopyNodeId:e.shareCopyNodeId}}))},"./src/app/share/models/share.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectShare",(function(){return o})),n.d(t,"selectCurrentShare",(function(){return i})),n.d(t,"getShareUrls",(function(){return a}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=Object(r.createFeatureSelector)("share"),i=Object(r.createSelector)(o,(function(e){var t,n,r,o,i,s,l,c=e.share,u=e.result,d=e.nodeId,p=e.isFetching,f=e.isInitialFetched,h=e.isInvalidated,m=e.isUnlocking,g=e.isPasswordRequired,y=e.isPasswordWrong,v=e.isNoteUploading,b=e.isNoteMoving,_=e.networkErrorCode;if(u&&u.entities&&u.entities.notes&&c&&u.entities.notes[c.parentNode]&&(l=u.entities.notes[c.parentNode]),c&&c.id&&c.securityKey){var w=a(c,d);t=w.attachmentBase,n=w.videoAttachmentBase,r=w.audioAttachmentBase,i=w.imageAttachmentBase,s=w.unknownAttachmentBase,o=w.shareUrl}return{instance:c,parent:l,attachmentBase:t,videoAttachmentBase:n,audioAttachmentBase:r,imageAttachmentBase:i,unknownAttachmentBase:s,shareUrl:o,isFetching:p,isInitialFetched:f,isInvalidated:h,isUnlocking:m,isPasswordRequired:g,isPasswordWrong:y,isNoteUploading:v,isNoteMoving:b,networkErrorCode:_}})),a=function(e,t){void 0===t&&(t="");var n="/attachment/"+e.id+"/"+e.securityKey,r="/video/"+e.id+"/"+e.securityKey,o="/audio/"+e.id+"/"+e.securityKey,i="/image/"+e.id+"/"+e.securityKey,a="/unknown/"+e.id+"/"+e.securityKey,s="/share/"+e.id+"/"+e.securityKey;return t&&(s+="/"+t),{attachmentBase:n,videoAttachmentBase:r,audioAttachmentBase:o,imageAttachmentBase:i,unknownAttachmentBase:a,shareUrl:s}}},"./src/app/share/models/text.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectText",(function(){return a}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/attachments.selector.ts"),i=n("./src/app/share/models/share.selector.ts"),a=Object(r.createSelector)(i.selectShare,o.selectCurrentAttachments,(function(e,t){var n,r=e.share,o=e.result.entities;if(r&&o&&o.texts){var i=o.texts[r.note],a=function(e,t){var n=e;if(t){var r=n.match(/(["'])#attacheloc:([A-z0-9]{16,24})#(["'])/g);r&&r.forEach((function(e){var r=function(e,t){var n;return t.forEach((function(t){t.globalId&&t.globalId.indexOf(e)>=0&&(n=t)})),n}(/(["'])#attacheloc:([A-z0-9]{16,24})#(["'])/g.exec(e)[2],t);r&&(n=n.replace(e,'"/box'+r.attachmentURL+'" data-attachment-id="'+r.globalId+'"'))}))}return n=(n=n.replace("<table",'<div class="nns-table-holder"><table')).replace("</table>","</table></div>")}(i&&i.text?i.text:"",t);n=Object.assign({},i,{text:a})}return n}))},"./src/app/share/models/todos.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectTodos",(function(){return i}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/share.selector.ts"),i=Object(r.createSelector)(o.selectShare,(function(e){var t=e.result.entities;return t&&t.todos?Object.keys(t.todos).map((function(e){return t.todos[e]})):[]}))},"./src/app/share/note-encrypted.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteEncryptedComponent",(function(){return s})),n.d(t,"View_NoteEncryptedComponent_0",(function(){return l})),n.d(t,"View_NoteEncryptedComponent_Host_0",(function(){return c})),n.d(t,"NoteEncryptedComponentNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./src/app/share/note-encrypted.component.ts"),s=r["ɵcrt"]({encapsulation:0,styles:[".nns-encrypted-content[_ngcontent-%COMP%] {\n      text-align: center;\n      padding: 16px;\n    }\n    .nns-encrypted-icon[_ngcontent-%COMP%] {\n      padding: 0 0 24px 0;\n    }\n    .nns-encrypted-title[_ngcontent-%COMP%] {\n      font-size: 24px;\n      font-weight: bold;\n      line-height: 1.4;\n      padding: 0 0 8px 0;\n    }\n\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#2f3737;\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","nns-encrypted-content"],["flex",""],["layout","column"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-encrypted-icon"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["flex","none"],["icon","encrypted"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,1,"div",[["class","nns-encrypted-title"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Note is encrypted"])),(e()(),r["ɵeld"](6,0,null,null,1,"div",[["class","nns-encrypted-text"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["If you need access, please contact the owner of this Note."]))],(function(e,t){e(t,3,0,"encrypted")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-encrypted",[],null,null,null,l,s)),r["ɵdid"](1,49152,null,0,a.NoteEncryptedComponent,[],null,null)],null,null)}var u=r["ɵccf"]("nns-note-encrypted",a.NoteEncryptedComponent,c,{},{},[])},"./src/app/share/note-encrypted.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteEncryptedComponent",(function(){return r}));var r=function(){}},"./src/app/share/note/NoteSearch.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteSearchComponent",(function(){return i})),n.d(t,"View_NoteSearchComponent_0",(function(){return a})),n.d(t,"View_NoteSearchComponent_Host_0",(function(){return s})),n.d(t,"NoteSearchComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/NoteSearch.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position: fixed;\n      right: 15px;\n      top: 70px;\n      width: 325px;\n      z-index: 1;\n    }"],data:{}});function a(e){return r["ɵvid"](0,[],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-search",[],null,null,null,a,i)),r["ɵdid"](1,49152,null,0,o.NoteSearchComponent,[],null,null)],null,null)}var l=r["ɵccf"]("nns-note-search",o.NoteSearchComponent,s,{},{},[])},"./src/app/share/note/NoteSearch.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteSearchComponent",(function(){return r}));var r=function(){}},"./src/app/share/note/attachment-manager-plugin-factory.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"randomString",(function(){return c})),n.d(t,"Task",(function(){return u})),n.d(t,"AttachmentManagerPlugin",(function(){return d}));var r,o=n("./node_modules/tslib/tslib.es6.js"),i=n("./node_modules/axios/index.js"),a=n.n(i),s=n("./src/app/share/models/index.ts");!function(e){e.image="image"}(r||(r={}));var l=["image/gif","image/jpeg","image/pjpeg","image/png","image/svg+xml","image/tiff","image/vnd.microsoft.icon","image/vnd.wap.wbmp","image/webp"];function c(e,t){void 0===t&&(t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");for(var n="";n.length<e;)n+=t[Math.round(Math.random()*(t.length-1))];return n}var u=function(){function e(e,t){this.callback=e,this.file=t,this.id=c(6),this.aborted=!1,this.abortable=!0}return e.prototype.run=function(){var e=this;return this.promise=this.callback.call(this),this.onStarted&&this.onStarted(),this.promise.then((function(t){e.onFinished&&e.onFinished(t)})),this.promise},e.prototype.getResultPromise=function(){return this.promise},e.prototype.abort=function(){this.aborted||(this.aborted=!0,this.onAbort&&this.onAbort())},e}(),d=function(){function e(e,t,n,r,o,i,a,s,l,c,u,d,p){this.attachments=e,this.AttachmentNotFoundError=t,this._shareErrorsService=n,this.shareApiService=r,this.gatewayUrl=o,this.fileServerUrl=i,this.workspaceId=a,this.noteId=s,this.shareId=l,this.shareSecurityKey=c,this.videoEditUrl=u,this.shareUrl=d,this.isWordpress=p}return e.prototype.attachmentToEditorModel=function(e){return o.__assign({},e,{global_id:e.globalId,display_name:e.displayName,date_added:e.dateAdded,date_updated:e.dateUpdated,is_encrypted:e.isEncrypted,file_uuid:e.storedFileUUID,in_list:e.inList,location:e.attachmentURL,url:this.fileServerUrl+e.attachmentURL})},e.prototype.createTempAttachment=function(e,t){return void 0===t&&(t=null),o.__awaiter(this,void 0,void 0,(function(){var n,r,i,s;return o.__generator(this,(function(o){switch(o.label){case 0:n=a.a.CancelToken.source(),t.onAbort=function(){return n.cancel()},(r=new FormData).append("file",e,e.name),o.label=1;case 1:return o.trys.push([1,3,,4]),i=this.gatewayUrl+"/ft:share/"+this.shareId+"/uploadFile?securityKey="+this.shareSecurityKey,[4,a.a.post(i,r,{onUploadProgress:function(e){t&&t.onProgress&&t.onProgress(e)},cancelToken:n.token})];case 2:return[2,o.sent().data];case 3:return s=o.sent(),console.log(s),[2,null];case 4:return[2]}}))}))},e.prototype.createAttachment=function(e,t){return o.__awaiter(this,void 0,void 0,(function(){var n,r,i;return o.__generator(this,(function(o){switch(o.label){case 0:n={securityKey:this.shareSecurityKey,tempfileName:e,blotId:t,sourceApp:this.isWordpress?"uploader_portal_share":"uploader_share"},o.label=1;case 1:return o.trys.push([1,3,,4]),r=this.gatewayUrl+"/ft:share/"+this.shareId+"/createUploaderAttachment",[4,a.a.post(r,n)];case 2:return[2,o.sent().data];case 3:return i=o.sent(),console.log(i),[2,null];case 4:return[2]}}))}))},e.prototype.fetchShare=function(){return o.__awaiter(this,void 0,void 0,(function(){var e,t;return o.__generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),e=this.shareApiService+"/shares/"+this.shareId+"?securityKey="+this.shareSecurityKey,[4,a.a.get(e)];case 1:return[2,n.sent().data];case 2:return t=n.sent(),console.log(t),[2,null];case 3:return[2]}}))}))},e.prototype.resolve=function(e){return o.__awaiter(this,void 0,void 0,(function(){var t;return o.__generator(this,(function(n){if(!(t=this.attachments.find((function(t){return t.globalId===e}))))throw new this.AttachmentNotFoundError;return console.log("Resolved attach",t),[2,this.attachmentToEditorModel(t)]}))}))},e.prototype.filterImages=function(e){return e.filter((function(e){return l.includes(e.type)}))},e.prototype.validateFiles=function(e){var t=this,n=this.blotType===r.image?this.filterImages(e):e;if(n.length>0)return this.checkFilesBeforeUpload(this.htmlFilesToFiles(n)).then((function(e){var n=e.length;return n>5?(t._shareErrorsService.showAttachmentsCountLimitError(n,5),!1):!!e.length&&e.slice(0,4)})).catch((function(){return!1}))},e.prototype.checkFilesBeforeUpload=function(e){return void 0===e&&(e=[]),new Promise((function(t){return t(e)}))},e.prototype.chooseFile=function(e){return o.__awaiter(this,void 0,void 0,(function(){var t=this;return o.__generator(this,(function(n){return e=e||{},this.blotType=e.blotName,[2,new Promise((function(n,o){var i=document.createElement("input");i.setAttribute("type","file"),e.blotName===r.image&&i.setAttribute("accept","image/*"),e.accept&&i.setAttribute("accept",e.accept),e.multiple&&i.setAttribute("multiple","true"),i.click();var a=!1;i.onchange=function(){a||(a=!0,n(t.htmlFilesToFiles(i.files)))},setTimeout((function(){document.addEventListener("mousedown",(function e(){document.removeEventListener("mousedown",e,!1),a||(a=!0,n(null))}),!1)}),0)}))]}))}))},e.prototype.htmlFilesToFiles=function(e){return Array.from(e).map((function(e){return{name:e.name,size:e.size,type:e.type,instance:e,attachmentGlobalId:c(16),isUploaded:!1}}))},e.prototype.uploadAttachment=function(e,t,n,r,i,a){return void 0===a&&(a={}),o.__awaiter(this,void 0,void 0,(function(){var s,l,u,d;return o.__generator(this,(function(p){return s=t.attachmentGlobalId||c(16),l=this.workspaceId,u=t.role||"attachment",d=o.__assign({attachmentId:s,workspaceId:l,noteId:e,inList:r,role:u},a),t.instance?[2,this.uploadSmallFile(d,t.instance,n,i)]:[2,null]}))}))},e.prototype.uploadSmallFile=function(e,t,n,r){return o.__awaiter(this,void 0,void 0,(function(){var i,a,l,c,u,d,p,f,h,m;return o.__generator(this,(function(o){switch(o.label){case 0:return o.trys.push([0,4,,5]),[4,this.createTempAttachment(t,r)];case 1:return i=o.sent(),(a=i?i.tempfileName:null)?[4,this.createAttachment(a,n)]:(console.log("Empty response tempfileName for /uploadFile"),[2,null]);case 2:if(l=o.sent(),!(c=l?l.globalId:null))throw new Error("Empty response globalId for /createUploaderAttachment");return[4,this.fetchShare()];case 3:if(!(u=o.sent()))throw new Error("Empty response shareItem");if(!u.note)throw new Error("Empty response shareItem.note");if(d=u.note.attachments||[],!(p=d.find((function(e){return e.globalId===c}))))throw new Error("Uploaded attachment not found for shared note");return f=Object(s.getShareUrls)({id:this.shareId,securityKey:this.shareSecurityKey},u.note.globalId),h=Object(s.prepareAttachmentSize)(Object(s.prepareAttachmentURLs)({attachmentBase:f.attachmentBase,videoAttachmentBase:f.videoAttachmentBase,audioAttachmentBase:f.audioAttachmentBase,imageAttachmentBase:f.imageAttachmentBase,unknownAttachmentBase:f.unknownAttachmentBase,shareUrl:f.shareUrl},p)),this.addAttachment(e.noteId,h),[2,h];case 4:if(-1===(m=o.sent()).status){if(e.inList)return[2,"TASK_ABORTED"];throw new Error("TASK_ABORTED")}throw m;case 5:return[2]}}))}))},e.prototype.addAttachment=function(e,t){for(var n=!1,r=this.attachments.length-1;r>=0;r--)if(this.attachments[r].globalId==t.globalId){var o=this.attachments[r];o.status=4,delete o.progress,this.attachments[r]=Object.assign(this.attachments[r],t),n=!0;break}n||this.attachments.push(t)},e.prototype.saveFile=function(e,t){var n=this;void 0===t&&(t={});var r=new u((function(){return o.__awaiter(n,void 0,void 0,(function(){var n,i,a;return o.__generator(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),n=t&&"bookmark"===t.blotName,i={},n&&(i.emitEvent=!1),[4,this.uploadAttachment(this.noteId,e,t.blotId,!1,r,i)];case 1:return(a=o.sent())?[2,{globalId:a.globalId}]:[2,null];case 2:throw o.sent();case 3:return[2]}}))}))}),e);return r},e.prototype.download=function(e){var t=e.global_id,n=this.attachments.find((function(e){return e.globalId===t}));if(!n)return!1;var r=this.fileServerUrl+n.attachmentURL+"?dw";return window.location.href=r,!0},e.prototype.editAttachment=function(e,t){window.open(this.videoEditUrl+"?workspaceId="+this.workspaceId+"&attachmentGlobalId="+t+"&blotid="+e+"&url="+this.shareUrl,"_self")},e}()},"./src/app/share/note/attachments-list-item.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_AttachmentsListItemComponent",(function(){return d})),n.d(t,"View_AttachmentsListItemComponent_0",(function(){return w})),n.d(t,"View_AttachmentsListItemComponent_Host_0",(function(){return C})),n.d(t,"AttachmentsListItemComponentNgFactory",(function(){return S}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/router/fesm5/router.js"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=n("./src/app/share/note/attachments-list-item.component.ts"),c=n("./src/app/universal-config.ts"),u=n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts"),d=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      width:136px;\n      margin:0 16px 10px 0;\n    }\n    .nns-attach-link[_ngcontent-%COMP%] {\n      margin:0 0 4px 0;\n      position:relative;\n    }\n    .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n      background:#EBEFF1;\n      border:1px solid #DCE1E3;\n      box-shadow:0px 1px 3px 0px rgba(0,0,0,0.20);\n      border-radius:2px;\n      height:76px;\n    }\n    .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover {background:#fff;}\n\n    .nns-attach-name[_ngcontent-%COMP%] {font-size:12px;}\n    .nns-attach-title-text[_ngcontent-%COMP%] {\n      overflow:hidden;\n      white-space:nowrap;\n      text-overflow:ellipsis;\n    }\n    .nns-attach-download[_ngcontent-%COMP%] {margin:0 0 0 8px; display:none;}\n    .nns-attach-default-view[_ngcontent-%COMP%]:hover   .nns-attach-download[_ngcontent-%COMP%] {display:block;}\n    .nns-attach-size[_ngcontent-%COMP%] {\n      font-size:12px;\n      color:#9DA5A6;\n    }\n\n    .nns-attach-line-view[_ngcontent-%COMP%] {display:none;}\n    .nns-attach-line-button[_ngcontent-%COMP%] {\n      display:block;\n      width:100%;\n      background:none;\n      border:none;\n      cursor:pointer;\n      box-sizing:border-box;\n      color:#3E4849;\n      font-size:14px;\n    }\n    .nns-attach-line-title[_ngcontent-%COMP%] {\n      margin:0 10px;\n    }\n    .nns-attach-line-title-text[_ngcontent-%COMP%] {\n      overflow:hidden;\n      white-space:nowrap;\n      text-overflow:ellipsis;\n    }\n    .nns-attach-line-size-text[_ngcontent-%COMP%] {color:#9DA5A6;}\n\n    @media only screen and (max-width: 768px) {\n\n      [_nghost-%COMP%] {width:102px;}\n      .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {height:56px;}\n      .nns-attach-download[_ngcontent-%COMP%] {display:none !important;}\n\n    }\n\n    @media only screen and (max-width: 600px) {\n\n      [_nghost-%COMP%] {\n        width:100%;\n        padding:8px 0;\n        border-bottom:1px solid #dcdcdc;\n        margin:0;\n      }\n      nns-attach[_ngcontent-%COMP%]:last-of-type {border-bottom:none;}\n      .nns-attach-default-view[_ngcontent-%COMP%] {display:none;}\n      .nns-attach-line-view[_ngcontent-%COMP%] {display:block;}\n\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n      background: #292E32;\n      box-shadow:0 1px 3px 0 rgba(0,0,0,0.20);\n      border-color:#2F3737;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-attach-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover {\n      background:rgba(181,181,181,0.10);\n    }\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      border-color:rgba(0,0,0,0.12);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-attach-line-button[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-attach-line-button[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-attach-line-size-text[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-attach-line-size-text[_ngcontent-%COMP%] {\n      color:#fff;\n    }"],data:{}});function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.getIcon(n.attachment))}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"a",[["class","nns-animated"],["flex",""],["layout","row"],["layout-align","center center"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](1,671744,null,0,a.RouterLinkWithHref,[a.Router,a.ActivatedRoute,s.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](2,1),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](4,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,n.getAttachmentURL(n.attachment));e(t,1,0,r),e(t,4,0,n.getIcon(n.attachment))}),(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"Show ",n.attachment.displayName,""),r["ɵnov"](t,1).target,r["ɵnov"](t,1).href)}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.getIcon(n.attachment))}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"a",[["class","nns-animated"],["flex",""],["layout","row"],["layout-align","center center"]],[[8,"title",0]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.openPdf()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.getIcon(n.attachment))}),(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"Show ",n.attachment.displayName,""))}))}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.getIcon(n.attachment))}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"a",[["class","nns-animated"],["flex",""],["layout","row"],["layout-align","center center"]],[[8,"title",0]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.openImage()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](2,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.getIcon(n.attachment))}),(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"Show ",n.attachment.displayName,""))}))}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-attach-title-ext"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[".",""]))],null,(function(e,t){e(t,1,0,t.component.extension)}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["flex","none"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.getIcon(n.attachment))}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["class","nns-attach-line-title-ext"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[".",""]))],null,(function(e,t){e(t,1,0,t.component.extension)}))}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,19,"div",[["class","nns-attach-default-view"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,6,"div",[["class","nns-attach-link"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](3,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](5,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](7,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](8,0,null,null,9,"div",[["class","nns-attach-name"]],null,null,null,null,null)),(e()(),r["ɵeld"](9,0,null,null,8,"div",[["class","nns-attach-name-layout"],["flex",""],["layout","row"],["layout-align","space-between center"]],null,null,null,null,null)),(e()(),r["ɵeld"](10,0,null,null,4,"div",[["class","nns-attach-title"],["flex","auto"],["layout","row"],["layout-align","start center"]],[[8,"title",0]],null,null,null,null)),(e()(),r["ɵeld"](11,0,null,null,1,"div",[["class","nns-attach-title-text"],["flex","nogrow"]],null,null,null,null,null)),(e()(),r["ɵted"](12,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](14,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](15,0,null,null,2,"div",[["class","nns-attach-download"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](16,0,null,null,1,"a",[["target","_blank"]],[[8,"href",4],[8,"title",0]],null,null,null,null)),(e()(),r["ɵted"](-1,null,["Download"])),(e()(),r["ɵeld"](18,0,null,null,1,"div",[["class","nns-attach-size"]],null,null,null,null,null)),(e()(),r["ɵted"](19,null,["",""])),(e()(),r["ɵeld"](20,0,null,null,16,"div",[["class","nns-attach-line-view"]],null,null,null,null,null)),(e()(),r["ɵeld"](21,0,null,null,15,"a",[["class","nns-attach-line-button"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,22).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](22,671744,null,0,a.RouterLinkWithHref,[a.Router,a.ActivatedRoute,s.LocationStrategy],{routerLink:[0,"routerLink"]},null),r["ɵpad"](23,1),(e()(),r["ɵeld"](24,0,null,null,12,"span",[["class","nns-attach-line-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](26,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](27,0,null,null,4,"span",[["class","nns-attach-line-title"],["flex","auto"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](28,0,null,null,1,"span",[["class","nns-attach-line-title-text"]],null,null,null,null,null)),(e()(),r["ɵted"](29,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,_)),r["ɵdid"](31,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](32,0,null,null,4,"span",[["class","nns-attach-line-size"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](33,0,null,null,1,"span",[["class","nns-attach-line-size-text"]],null,null,null,null,null)),(e()(),r["ɵted"](34,null,["",""])),(e()(),r["ɵeld"](35,0,null,null,1,"nns-icon",[["icon","next-inv"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,36).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,36).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](36,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,3,0,"image"!=n.attachment.type&&"pdf"!=n.extension),e(t,5,0,"pdf"==n.extension),e(t,7,0,"image"==n.attachment.type),e(t,14,0,n.extension);var r=e(t,23,0,n.getAttachmentURL(n.attachment));e(t,22,0,r),e(t,26,0,n.getIcon(n.attachment)),e(t,31,0,n.extension);e(t,36,0,"next-inv")}),(function(e,t){var n=t.component;e(t,10,0,n.attachment.displayName),e(t,12,0,n.nameWithoutExtension),e(t,16,0,n.fileServerUrl+n.attachment.attachmentURL+"?dw",r["ɵinlineInterpolate"](1,"Download ",n.attachment.displayName,"")),e(t,19,0,n.attachment.humanFileSize),e(t,21,0,n.attachment.displayName,r["ɵnov"](t,22).target,r["ɵnov"](t,22).href),e(t,29,0,n.nameWithoutExtension),e(t,34,0,n.attachment.humanFileSize),e(t,35,0,r["ɵnov"](t,36)._classes)}))}function C(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-attachments-list-item",[],null,null,null,w,d)),r["ɵdid"](1,638976,null,0,l.AttachmentsListItemComponent,[c.Config,u.NoteImageViewerService],null,null)],(function(e,t){e(t,1,0)}),null)}var S=r["ɵccf"]("nns-attachments-list-item",l.AttachmentsListItemComponent,C,{attachment:"attachment",attachmentBases:"attachmentBases"},{},[])},"./src/app/share/note/attachments-list-item.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AttachmentsListItemComponent",(function(){return r}));n("./src/app/universal-config.ts"),n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts");var r=function(){function e(e,t){this.config=e,this.noteImageViewerService=t,this.fileServerUrl=this.config.get("BOX_URL")}return e.prototype.ngOnInit=function(){this.extension=this.getExtension(),this.nameWithoutExtension=this.getNameWithoutExtension()},e.prototype.ngOnChanges=function(){this.extension=this.getExtension(),this.nameWithoutExtension=this.getNameWithoutExtension()},e.prototype.getIcon=function(e){if(e&&e.type){var t={doc:"document",audio:"audio",video:"video",archive:"archive",image:"image",file:"other"};return"attach-"+(t[e.type]?t[e.type]:"other")}},e.prototype.getNameWithoutExtension=function(){if(this.attachment&&this.attachment.displayName){if(!this.extension)return this.attachment.displayName;var e=this.extension.length,t=this.attachment.displayName.length;return this.attachment.displayName.substr(0,t-e-1)}},e.prototype.getExtension=function(){if(this.attachment&&this.attachment.displayName){var e=this.attachment.displayName,t="";return e.split(".").length>1&&(t=e.split(".").pop()),t}},e.prototype.getAttachmentURL=function(e){return"video"!==e.type||"video/mp4"!==e.mime&&"video/webm"!==e.mime&&"video/ogg"!==e.mime?"audio"===e.type?e.audioURL:"image"===e.type?e.imageURL:e.attachmentURL:e.videoURL},e.prototype.openPdf=function(){window.open(""+this.fileServerUrl+this.attachment.attachmentURL,"_blank")},e.prototype.openImage=function(){var e=""+this.attachment.attachmentURL;if(this.noteImageViewerService.setImage(e))return this.noteImageViewerService.showImage()},e}()},"./src/app/share/note/attachments.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_AttachmentsComponent",(function(){return u})),n.d(t,"View_AttachmentsComponent_0",(function(){return p})),n.d(t,"View_AttachmentsComponent_Host_0",(function(){return f})),n.d(t,"AttachmentsComponentNgFactory",(function(){return h}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/attachments-list-item.component.ngfactory.js"),i=n("./src/app/share/note/attachments-list-item.component.ts"),a=n("./src/app/universal-config.ts"),s=n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts"),l=n("./node_modules/@angular/common/fesm5/common.js"),c=n("./src/app/share/note/attachments.component.ts"),u=r["ɵcrt"]({encapsulation:0,styles:[".nns-attachments-list[_ngcontent-%COMP%] {\n      padding:26px 0 0 0;\n    }\n    .nns-attachments-list-layout[_ngcontent-%COMP%] {\n      max-height:249px;\n      overflow:auto;\n    }\n\n    .nns-attachments-opened[_ngcontent-%COMP%] {display:block;}\n\n    @media only screen and (max-width: 768px) {\n      .nns-attachments-list-layout[_ngcontent-%COMP%] {max-height:209px;}\n\n    }\n\n    @media only screen and (max-width: 600px) {\n\n      .nns-attachments-list[_ngcontent-%COMP%] {\n        padding:0;\n        margin:0 -10px;\n        display:block;\n      }\n      .nns-attachments-list-layout[_ngcontent-%COMP%] {\n        padding:0 10px;\n        max-height:none;\n      }\n    }"],data:{}});function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-attachments-list-item",[],null,null,null,o.View_AttachmentsListItemComponent_0,o.RenderType_AttachmentsListItemComponent)),r["ɵdid"](1,638976,null,0,i.AttachmentsListItemComponent,[a.Config,s.NoteImageViewerService],{attachment:[0,"attachment"],attachmentBases:[1,"attachmentBases"]},null)],(function(e,t){var n=t.component;e(t,1,0,t.context.$implicit,n.attachmentBases)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-attachments-layout"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"div",[["class","nns-attachments-list"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,2,"div",[["class","nns-attachments-list-layout"],["flex",""],["layout","row"],["layout-align","start start"],["layout-wrap",""]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](4,278528,null,0,l.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,4,0,t.component.attachments)}),null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-attachments",[],null,null,null,p,u)),r["ɵdid"](1,49152,null,0,c.AttachmentsComponent,[],null,null)],null,null)}var h=r["ɵccf"]("nns-attachments",c.AttachmentsComponent,f,{attachments:"attachments",attachmentBases:"attachmentBases"},{},[])},"./src/app/share/note/attachments.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AttachmentsComponent",(function(){return r}));var r=function(){}},"./src/app/share/note/audio-player.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_AudioPlayerComponent",(function(){return a})),n.d(t,"View_AudioPlayerComponent_0",(function(){return s})),n.d(t,"View_AudioPlayerComponent_Host_0",(function(){return l})),n.d(t,"AudioPlayerComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/audio-player.component.ts"),i=n("./src/app/universal-config.ts"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      min-width: 35vw;\n    }\n\n    .nns-audio[_ngcontent-%COMP%]{\n      width: 100%;\n    }\n\n    h3[_ngcontent-%COMP%]{\n      padding: 0 0 10px 0;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      text-align: center;\n    }\n\n    .nns-attach-download[_ngcontent-%COMP%]{\n      text-align: right;\n    }\n\n    @media (max-width: 768px) {\n      [_nghost-%COMP%]{\n        min-width: 50vw;\n      }\n    }\n    @media (max-width: 768px) {\n      [_nghost-%COMP%]{\n        min-width: 50vw;\n      }\n    }\n    @media (max-width: 600px) {\n      [_nghost-%COMP%]{\n        min-width: 90vw;\n      }\n    }"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"div",[["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),r["ɵted"](2,null,["",""])),(e()(),r["ɵeld"](3,0,null,null,0,"audio",[["autoplay","autoplay"],["class","nns-audio"],["controls","controls"],["preload","auto"]],[[8,"src",4]],null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,2,"div",[["class","nns-attach-download"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,1,"a",[["target","_blank"]],[[8,"href",4],[8,"title",0]],null,null,null,null)),(e()(),r["ɵted"](-1,null,["Download"]))],null,(function(e,t){var n=t.component;e(t,2,0,n.attachment.displayName),e(t,3,0,n.fileServerUrl+(null==n.attachment?null:n.attachment.attachmentURL)),e(t,5,0,n.fileServerUrl+n.attachment.attachmentURL+"?dw",r["ɵinlineInterpolate"](1,"Download ",n.attachment.displayName,""))}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-audio-player",[],null,null,null,s,a)),r["ɵdid"](1,49152,null,0,o.AudioPlayerComponent,[i.Config],null,null)],null,null)}var c=r["ɵccf"]("nns-audio-player",o.AudioPlayerComponent,l,{attachment:"attachment"},{},[])},"./src/app/share/note/audio-player.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"AudioPlayerComponent",(function(){return r}));n("./src/app/universal-config.ts");var r=function(e){this.config=e,this.fileServerUrl=this.config.get("BOX_URL")}},"./src/app/share/note/image.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ImageComponent",(function(){return a})),n.d(t,"View_ImageComponent_0",(function(){return s})),n.d(t,"View_ImageComponent_Host_0",(function(){return l})),n.d(t,"ImageComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/image.component.ts"),i=n("./src/app/universal-config.ts"),a=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.fileServerUrl+n.attachment.attachmentURL)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-image",[],null,null,null,s,a)),r["ɵdid"](1,49152,null,0,o.ImageComponent,[i.Config],null,null)],null,null)}var c=r["ɵccf"]("nns-image",o.ImageComponent,l,{attachment:"attachment"},{},[])},"./src/app/share/note/image.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ImageComponent",(function(){return r}));n("./src/app/universal-config.ts");var r=function(e){this.config=e,this.fileServerUrl=this.config.get("BOX_URL")}},"./src/app/share/note/mention.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"MentionService",(function(){return c}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@ngrx/store/fesm5/store.js"),i=(n("./node_modules/@angular/http/fesm5/http.js"),n("./src/app/universal-config.ts"),n("./src/app/organizations/organizations.selector.ts")),a=n("./src/app/workspaces/workspaces.selector.ts"),s=n("./src/app/share/models/index.ts"),l=n("./src/app/common/dialogs/dialogs.actions.ts"),c=function(){function e(e,t,n){var r=this;this._store=e,this.http=t,this._config=n,this.shareApiService=n.get("SHARE_API_SERVICE"),this.nimbusUrl=n.get("NIMBUS_URL"),this.authHost=n.get("AUTH_HOST"),this.nimbusLoginUrl=n.get("AUTH_LOGIN_PATH");var l=this._store.pipe(Object(o.select)(i.selectAllOrganizations)),c=this._store.pipe(Object(o.select)(a.selectAllWorkspaces)),u=this._store.pipe(Object(o.select)(s.selectCurrentShare));l.subscribe((function(e){return r.organizations=e})),c.subscribe((function(e){return r.workspaces=e})),u.subscribe((function(e){return r.share=e.instance}))}return e.prototype.onMentionClick=function(e,t,n){switch(e){case"user":return!1;case"workspace":this.goToWorkspace(t);break;case"folder":this.toNode(this.share.workspaceId,t,!0,n);break;case"note":this.toNode(this.share.workspaceId,t,!1,n)}},e.prototype.goToWorkspace=function(e){var t=this;this.http.get(this.shareApiService+"/shares/domain/"+e).subscribe((function(n){var r=n.json().domainInfo;t.navigateToWorkspace(r,e)}))},e.prototype.toNode=function(e,t,n,r,o){var i=this;this.http.get(this.shareApiService+"/shares/bynode/"+t+"?workspaceId="+e).subscribe((function(a){var s=a.json(),l=s.share,c=s.note,u=s.domainInfo;l||c?i.navigateToNode(l,u,e,r,t,n,o):i.openErrorDialog()}))},e.prototype.navigateToNode=function(e,t,n,r,o,i,a){var s=this.getDomainUrl(t);if(e)this.navigate(this.getShareUrl(s,e,r,a),"_self");else{var l=r.isEmbed?"_blank":"_self";i?this.navigate(this.getFolderUrl(s,n,o),l):this.navigate(this.getNoteUrl(s,n,o,a),l)}},e.prototype.navigateToWorkspace=function(e,t){var n=this.getDomainUrl(e);this.navigate(n+"/ws/"+t,"_blank")},e.prototype.getDomainUrl=function(e){return e?e.domain?"https://"+e.domain:e.sub?"https://"+e.sub+"."+this.authHost:void 0:new URL(window.location.toString()).origin},e.prototype.getShareUrl=function(e,t,n,r){var o=e+"/share/"+t.id+"/"+t.securityKey;if(n.isEmbed){var i="?embed=true";n.isEmbedHeaderHidden&&(i+="&hide-header=true"),n.isEmbedPrintEnabled&&(i+="&print-enabled=true"),n.isWordpress&&(i+="&wordpress=true"),n.theme&&(i+="&theme="+n.theme),o+=i}return o+=""+(r||"")},e.prototype.getNoteUrl=function(e,t,n,r){return e+"/ws/"+t+"/note/"+n+(r||"")},e.prototype.getFolderUrl=function(e,t,n){return e+"/ws/"+t+"/folder/"+n},e.prototype.openErrorDialog=function(){var e=this,t={component:!1,title:"Error",text:"This note was deleted or is inaccessible for viewing.",hideCancelButton:!0,okButtonText:"Ok",onSuccess:function(){e._store.dispatch(Object(l.closeDialog)())}};this._store.dispatch(Object(l.openDialog)(t))},e.prototype.navigate=function(e,t){window.open(e,t)},e.prototype.getMentionDiffMap=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return[4,this.http.post("/share/share-api/mentionDiff",e).map((function(e){return e.json()})).toPromise()];case 1:return[2,t.sent()]}}))}))},e.prototype.getMentionTitle=function(e,t,n){return r.__awaiter(this,void 0,void 0,(function(){var o,i;return r.__generator(this,(function(r){switch(r.label){case 0:return console.log("[editor][getMentionTitle()]:",t,e,n),(o={})[t]={name:"",type:e,workspace_id:n},i=o,[4,this.getMentionDiffMap({cache:i,currentWorkspaceId:this.share.workspaceId})];case 1:return[2,r.sent().diff[t]||""]}}))}))},e.prototype.updateMentionTitles=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return console.log("[editor][updateMentionTitles()]:",e),[4,this.getMentionDiffMap({cache:e,currentWorkspaceId:this.share.workspaceId})];case 1:return[2,t.sent().diff]}}))}))},e}()},"./src/app/share/note/note-actions.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteActionsComponent",(function(){return a})),n.d(t,"View_NoteActionsComponent_0",(function(){return c})),n.d(t,"View_NoteActionsComponent_Host_0",(function(){return u})),n.d(t,"NoteActionsComponentNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/share/note/note-actions.component.ts"),a=r["ɵcrt"]({encapsulation:0,styles:[".note-action-holder[_ngcontent-%COMP%] {\n      padding:0 8px;\n    }\n    .note-action[_ngcontent-%COMP%] {\n      display:block;\n      cursor:pointer;\n      background:none;\n      border:none;\n      color:rgba(0,0,0, 0.8);\n      font-size:14px;\n      line-height:1;\n      padding:8px;\n      font-weight:bold;\n      text-transform:uppercase;\n      border-radius:2px;\n    }\n    .note-action[_ngcontent-%COMP%]   .note-action-count[_ngcontent-%COMP%] {\n      margin:0 8px 0 0;\n    }\n    .note-action[_ngcontent-%COMP%]   .note-action-count-shape[_ngcontent-%COMP%] {\n      background:#1F95A7;\n      border-radius:2px;\n      min-width:24px;\n      height:24px;\n      padding:0 4px;\n      text-align:center;\n      color:#fff;\n      font-weight:bold;\n      font-size:16px;\n    }\n\n    .note-action-active[_ngcontent-%COMP%] {background:#EBEFF1;}",".nns-theme-night[_nghost-%COMP%]   .note-action[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .note-action[_ngcontent-%COMP%] {\n      color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .note-action-active[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .note-action-active[_ngcontent-%COMP%] {\n      background:rgba(181,181,181,0.10);\n    }"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,9,"div",[["class","note-action-holder"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,8,"div",[["class","note-action nns-animated toggle-attachments"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.clickAttachments()&&r);return r}),null,null)),r["ɵdid"](2,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{"note-action-active":0}),(e()(),r["ɵeld"](4,0,null,null,5,"span",[["class","note-action-layout"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,2,"span",[["class","note-action-count"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"span",[["class","note-action-count-shape"],["flex","none"],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵted"](7,null,["",""])),(e()(),r["ɵeld"](8,0,null,null,1,"span",[["class","note-action-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Files"]))],(function(e,t){var n=e(t,3,0,t.component.attachmentsActive);e(t,2,0,"note-action nns-animated toggle-attachments",n)}),(function(e,t){e(t,7,0,t.component.attachments.length)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","note-action-holder"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,6,"div",[["class","note-action nns-animated toggle-todo"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.clickTodos()&&r);return r}),null,null)),(e()(),r["ɵeld"](2,0,null,null,5,"span",[["class","note-action-layout"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,2,"span",[["class","note-action-count"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,"span",[["class","note-action-count-shape"],["flex","none"],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵted"](5,null,["",""])),(e()(),r["ɵeld"](6,0,null,null,1,"span",[["class","note-action-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["To-do"]))],null,(function(e,t){e(t,5,0,t.component.todosUnchecked.length)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,s)),r["ɵdid"](1,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](3,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.attachments.length),e(t,3,0,null==n.todosUnchecked?null:n.todosUnchecked.length)}),null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-actions",[],null,null,null,c,a)),r["ɵdid"](1,638976,null,0,i.NoteActionsComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}var d=r["ɵccf"]("nns-note-actions",i.NoteActionsComponent,u,{attachments:"attachments",todos:"todos",note:"note"},{attachmentsToggled:"attachmentsToggled",todosToggled:"todosToggled"},[])},"./src/app/share/note/note-actions.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteActionsComponent",(function(){return o}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=function(){function e(){this.attachmentsToggled=new r.EventEmitter,this.todosToggled=new r.EventEmitter,this.attachmentsActive=!0}return e.prototype.ngOnChanges=function(e){e&&e.todos&&(this.todosChecked=this.todos.filter((function(e){return!!e.checked})),this.todosUnchecked=this.todos.filter((function(e){return!e.checked})))},e.prototype.ngOnInit=function(){(this.note.isVideoNote||this.note.isImageNote)&&(this.attachmentsActive=!1),this.emitOutput()},e.prototype.clickAttachments=function(){this.attachmentsActive=!this.attachmentsActive,this.emitOutput()},e.prototype.clickTodos=function(){this.todosToggled.emit(!0)},e.prototype.emitOutput=function(){this.attachmentsToggled.emit(this.attachmentsActive)},e}()},"./src/app/share/note/note-text-version-2.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteTextVersion2Component",(function(){return b})),n.d(t,"View_NoteTextVersion2Component_0",(function(){return C})),n.d(t,"View_NoteTextVersion2Component_Host_0",(function(){return S})),n.d(t,"NoteTextVersion2ComponentNgFactory",(function(){return E}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/loader.component.ngfactory.js"),i=n("./src/app/common/loader.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/share/note/NoteSearch.component.ngfactory.js"),l=n("./src/app/share/note/NoteSearch.component.ts"),c=n("./src/app/share/note/note-text-version-2.component.ts"),u=n("./node_modules/@angular/router/fesm5/router.js"),d=n("./src/app/universal-config.ts"),p=n("./node_modules/@ngrx/store/fesm5/store.js"),f=n("./src/app/share/share-errors.service.ts"),h=n("./src/app/share/note/mention.service.ts"),m=n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts"),g=n("./src/app/share/note/note.service.ts"),y=n("./src/app/share/note/tasks-manager-plugin.ts"),v=n("./src/app/metrics.service.ts"),b=r["ɵcrt"]({encapsulation:0,styles:['[_nghost-%COMP%]     h1 {\n      margin: 0.67em 0;\n    }\n    [_nghost-%COMP%]     h2 {\n      margin: 0.83em 0;\n    }\n    [_nghost-%COMP%]     h3 {\n      margin: 1em 0;\n    }\n    [_nghost-%COMP%]     h4 {\n      margin: 1.33em 0;\n    }\n    [_nghost-%COMP%]     h5 {\n      margin: 1.67em 0;\n    }\n    [_nghost-%COMP%]     h6 {\n      margin: 2.33em 0;\n    }\n    [_nghost-%COMP%] {\n      display:block;\n      color:rgba(0, 0, 0, 0.8);\n      position: relative;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]     ul.editor-list li.list-item:before, .nns-theme-night   [_nghost-%COMP%]     ul.editor-list li.list-item:before {\n      z-index: 0;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]     .editor-title textarea, .nns-theme-night   [_nghost-%COMP%]     .editor-title textarea {\n      background: transparent;\n      color: #fff;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]     .title-text, .nns-theme-night   [_nghost-%COMP%]     .title-text {\n      color: #fff;\n    }\n\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      color: #000;\n    }\n\n    [_nghost-%COMP%]     .editor-loader {\n      padding-top: 10px;\n      font-size: 16px;\n      max-width: 950px;\n      margin: 0 auto;\n    }\n\n    [_nghost-%COMP%]     .editor-body {\n        padding: 0 10px;\n        font-size: 16px;\n    }\n\n    [_nghost-%COMP%]     .nedit-root {\n        padding-top: 10px;\n    }\n\n    nns-loader[_ngcontent-%COMP%]{\n      margin-top: 40px;\n    }\n\n    .nns-load-btn[_ngcontent-%COMP%]{\n      background: #0096A7;\n      font-weight: bold;\n      color: #fff;\n      border: none;\n      outline: none;\n      padding: 6px 16px;\n      border-radius: 16px;\n      font-size: 13px;\n      line-height: 150%;\n      cursor: pointer;\n    }\n\n    .nns-load-btn-wrapper[_ngcontent-%COMP%]{\n      position: fixed;\n      margin-top: 0;\n      top: 0;\n      margin-left: -12px;\n      width: 100%;\n      height: 100%;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]     .editor-loader, .nns-theme-night   [_nghost-%COMP%]     .editor-loader {\n      color: #fff;\n    }\n\n    .nns-embed[_nghost-%COMP%]   nns-loader[_ngcontent-%COMP%], .nns-embed   [_nghost-%COMP%]   nns-loader[_ngcontent-%COMP%]{\n      position: fixed;\n      margin-top: 0;\n      top: 0;\n      margin-left: -12px;\n      width: 100%;\n      height: 100%;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .editor-body, .nns-embed__video   [_nghost-%COMP%]     .editor-body{\n      max-width: 100%;\n      padding: 0;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .compact-view-content, .nns-embed__video   [_nghost-%COMP%]     .compact-view-content{\n      display: none;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .readonly-mode, .nns-embed__video   [_nghost-%COMP%]     .readonly-mode{\n      max-width: 100%;\n      padding: 0;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .video-player, .nns-embed__video   [_nghost-%COMP%]     .video-player {\n      width: 100%;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .video-player video, .nns-embed__video   [_nghost-%COMP%]     .video-player video {\n      width: 100%;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .file-wrapper, .nns-embed__video   [_nghost-%COMP%]     .file-wrapper {\n      padding: 0;\n      margin: 0!important;;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .empty-caption, .nns-embed__video   [_nghost-%COMP%]     .empty-caption {\n      display: none;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .video-player, .nns-embed__video   [_nghost-%COMP%]     .video-player {\n      height: 100vh;\n    }\n    .nns-embed__video[_nghost-%COMP%]     .file .video-viewer .video-player video, .nns-embed__video   [_nghost-%COMP%]     .file .video-viewer .video-player video {\n      max-height: calc(100vh - 46px);\n      height: 100vh;\n    }\n\n    .nns-embed__video[_nghost-%COMP%]     .nns-video-header, .nns-embed__video   [_nghost-%COMP%]     .nns-video-header{\n      height: 52px;\n      display: flex;\n      align-items: center;\n      padding: 8px 11px;\n      box-sizing: border-box;\n      background: linear-gradient(180deg, #fff, transparent);\n    }\n    .nns-embed__video[_nghost-%COMP%]     .nns-video-header_logo, .nns-embed__video   [_nghost-%COMP%]     .nns-video-header_logo{\n      margin-right: 10px;\n    }\n    .nns-embed__video[_nghost-%COMP%]     .nns-video-header_logo img, .nns-embed__video   [_nghost-%COMP%]     .nns-video-header_logo img{\n      display: block;\n      width: 32px;\n      height: 32px;\n      border-radius: 50%;\n      object-fit: cover;\n    }\n    .nns-embed__video[_nghost-%COMP%]     .icon-get-nimbus-note, .nns-embed__video   [_nghost-%COMP%]     .icon-get-nimbus-note{\n      display: block;\n    }\n    .nns-embed__video[_nghost-%COMP%]     a.nns-video-header_title, .nns-embed__video   [_nghost-%COMP%]     a.nns-video-header_title{\n      font-size: 18px;\n      font-weight: bold;\n      overflow: hidden;\n      white-space: nowrap;\n      text-overflow: ellipsis;\n      max-width: calc(100% - 42px);\n      color: rgba(0,0,0, 0.8);\n      font-family: \'Noto Sans\', Verdana, Helvetica, sans-serif;\n    }\n    .nns-embed__video[_nghost-%COMP%]     .video-player[fullscreen="true"] .nns-video-header, .nns-embed__video   [_nghost-%COMP%]     .video-player[fullscreen="true"] .nns-video-header{\n      background: linear-gradient(180deg, #000, transparent);\n    }\n    .nns-embed__video[_nghost-%COMP%]     .video-player[fullscreen="true"] a.nns-video-header_title, .nns-embed__video   [_nghost-%COMP%]     .video-player[fullscreen="true"] a.nns-video-header_title{\n      color: #fff;\n    }\n    .nns-embed__video[_nghost-%COMP%]     .editor-body .readonly-mode > *:not(.embed-wrapper.file-wrapper), .nns-embed__video   [_nghost-%COMP%]     .editor-body .readonly-mode > *:not(.embed-wrapper.file-wrapper) {\n      display: none;\n    }\n    .nns-theme-night[_nghost-%COMP%]     .video-player-popup-bg, .nns-theme-night   [_nghost-%COMP%]     .video-player-popup-bg{\n      background: #292E32!important;\n    }\n    .nns-theme-night[_nghost-%COMP%]     .nns-advert-title, .nns-theme-night   [_nghost-%COMP%]     .nns-advert-title{\n      color: #fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]     .nns-advert-footer, .nns-theme-night   [_nghost-%COMP%]     .nns-advert-footer{\n      color: #fff;\n    }\n    @media print {\n      .nns-theme-night[_nghost-%COMP%]     .nedit-root, .nns-theme-night   [_nghost-%COMP%]     .nedit-root{\n        color: #161616;\n      }\n    }'],data:{}});function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-loader",[],null,null,null,o.View_LoaderComponent_0,o.RenderType_LoaderComponent)),r["ɵdid"](1,49152,null,0,i.LoaderComponent,[],null,null)],null,null)}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-load-btn-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-load-btn"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onLoadNote()&&r);return r}),null,null)),(e()(),r["ɵted"](-1,null,["Click to load note"]))],null,null)}function C(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,_)),r["ɵdid"](1,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](2,0,null,null,0,"div",[["id","nimbus-editor"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,w)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](5,0,null,null,1,"nns-note-search",[],[[8,"hidden",0]],null,null,s.View_NoteSearchComponent_0,s.RenderType_NoteSearchComponent)),r["ɵdid"](6,49152,null,0,l.NoteSearchComponent,[],null,null)],(function(e,t){var n=t.component;e(t,1,0,!n.isEditorReady),e(t,4,0,n.showLoadBtn)}),(function(e,t){e(t,5,0,!t.component.visual.isShowSearch)}))}function S(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-text-version-2",[],null,null,null,C,b)),r["ɵdid"](1,770048,null,0,c.NoteTextVersion2Component,[r.ElementRef,"isBrowser",u.Router,d.Config,p.Store,f.ShareErrorsService,h.MentionService,m.NoteImageViewerService,r.ChangeDetectorRef,g.NoteService,y.TasksManagerPlugin,v.MetricsService],null,null)],(function(e,t){e(t,1,0)}),null)}var E=r["ɵccf"]("nns-note-text-version-2",c.NoteTextVersion2Component,S,{note:"note",attachments:"attachments",share:"share",visual:"visual",branding:"branding",profile:"profile"},{},[])},"./src/app/share/note/note-text-version-2.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteTextVersion2Component",(function(){return c})),n.d(t,"ɵ0",(function(){return l}));var r=n("./node_modules/tslib/tslib.es6.js"),o=(n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@angular/router/fesm5/router.js"),n("./src/app/universal-config.ts"),n("./node_modules/@webnotes/web-editor-build/web-editor.js.css"),n("./node_modules/@webnotes/web-editor-build/theme.js.css"),n("./node_modules/@webnotes/web-editor-build/pdf_viewer.js.css"),n("./node_modules/@webnotes/web-editor-build/image_viewer.js.css"),n("./node_modules/@webnotes/web-editor-build/video_viewer.js.css"),n("./src/app/share/note/attachment-manager-plugin-factory.ts")),i=(n("./src/app/share/note/tasks-manager-plugin.ts"),n("./src/app/visual/visual.actions.ts")),a=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/share/note/mention.service.ts"),n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts"),n("./src/app/share/note/outlines/outline.actions.ts")),s=(n("./src/app/share/note/note.service.ts"),n("./src/app/metrics.service.ts"),n("./src/app/share/share-errors.service.ts"),function(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint8Array(t),r=0,o=e.length;r<o;r++)n[r]=e.charCodeAt(r);return t}),l=s,c=function(){function e(e,t,n,r,o,i,a,s,l,c,u,d){this._elementRef=e,this.isBrowser=t,this._router=n,this.config=r,this._store=o,this._shareErrorsService=i,this.mentionService=a,this.noteImageViewerService=s,this.cdr=l,this.noteService=c,this.tasksManager=u,this.metrics=d,this.editorResizeObserver=null,this.copyEventsCount=0,this.showLoadBtn=!1}return e.prototype.ngOnInit=function(){this.isBrowser&&(this.visual.isEmbed&&this.hasSameParentNote()?(this.isEditorReady=!0,this.showLoadBtn=!0):this.initEditor(),this.setupTasks(),this.setupAttachments())},e.prototype.onLoadNote=function(){this.isEditorReady=!1,this.showLoadBtn=!1,this.initEditor()},e.prototype.initEditor=function(){return r.__awaiter(this,void 0,void 0,(function(){var e,t,o,i,l,c,u,d,p,f,h,m=this;return r.__generator(this,(function(g){switch(g.label){case 0:return e=n("./node_modules/@webnotes/web-editor-build/web-editor.js"),t="#nimbus-editor","outline-list-item",o=this.config.get("SOCKET_EDITOR_DOMAIN_AND_PATH"),i=this.config.get("SOCKET_EDITOR_PROTOCOL"),l=this.config.get("SOCKET_EDITOR_CONSTANT_DOMAIN"),this.config.get("DUMP_SERVER_URL"),c=(this.config.get("FEATURES")||"").split(","),this.scrollingContainer=document.querySelector("nns-app"),u={disconnectWhenSynced:!0,connectToSocket:!0},p=c.includes("dump")?"dump":"ws",f=performance.now(),c.includes("dump")?this.share.dump?(d=new Uint8Array(s(atob(this.share.dump))),[3,3]):[3,1]:[3,4];case 1:return h="/dump/share/"+this.share.id+"/"+this.share.securityKey,this.share.note&&(h+="/"+this.share.note),[4,e.getDumpByURL(h,{headers:{"everhelper-session-id":this.getCookie("eversessionid")}})];case 2:d=g.sent(),g.label=3;case 3:u.connectToSocket=!1,u.disconnectWhenSynced=!1,g.label=4;case 4:return e.initEditor(r.__assign({element:t,noteId:this.note.globalId,workspaceId:this.note.workspaceId,shareId:this.share.id,securityKey:this.share.securityKey,mode:"readonly",blots:this.getEditorBlots(),plugins:this.getEditorPlugins(),showLinkPanel:!1,scrollingContainer:this.scrollingContainer,baseUrl:this.getBaseUrl(),isShare:!0,providerConfig:u},d?{dump:d}:{},{getSocketUrlFunction:function(e){var t=e.nodeId,n=e.workspaceId,r=e.textId,a=e.cid;return l?function(e){return""+i+o+"/"+n+"/"+r+"?token="+e+"&cid="+a}:function(e){return i+"text-"+t+"."+o+"/"+n+"/"+r+"?token="+e+"&cid="+a}},onEditorInit:function(e){(m.isSafariBrowser()||m.isMobileSafariBrowser()||m.isFacebookApp())&&(m.editorInstance=e,m.noteService.setEditorInstance(e),m.isEditorReady=!0,m.cdr.detectChanges())}})).then((function(e){m.editorInstance=e,m.noteService.setEditorInstance(e),e.plugins.editorStyle&&m.setTitleFont(e.plugins.editorStyle.getStyle().style),e.plugins.outlineManager&&m._store.dispatch(Object(a.receiveOutlines)(e.plugins.outlineManager.getOutlineData())),e.plugins.ctaManager&&e.plugins.ctaManager.setCta(m.share.ctaItems),m.isEditorReady=!0,m.cdr.detectChanges(),m.noteService.scrollToHash(),window.addEventListener("keydown",m.catchSearchHotKeys.bind(m)),m.visual.isWordpress&&m.initResizeObserver(t),m.metrics.sendTiming("share_init_editor_"+p,+(performance.now()-f).toFixed(0)),window._shareStartLoad&&m.metrics.sendTiming("share_page_load_content",Date.now()-window._shareStartLoad)})),[2]}}))}))},e.prototype.sendNoteLoadMetrics=function(e,t){var n=this.config.get("STATSD_PROXY");if("prod"!==this.config.get("N_ENV")||!n)return!1;fetch(n+"/timing/share_init_editor_"+t,{method:"POST",mode:"cors",headers:{"content-type":"application/x-www-form-urlencoded"},body:"time="+e})},e.prototype.initResizeObserver=function(e){var t=this,n=document.querySelector(e),r=function(e){return{message:e,value:(r=n,{height:r.clientHeight,shareId:t.share.id,noteId:t.share.note})};var r},o=function(){window.top.postMessage(r("editor:resize"),"*"),console.log("[shared note] postMesage:",r("editor:resize"))};this.editorResizeObserver=new ResizeObserver(o),this.editorResizeObserver.observe(n),o()},e.prototype.initOutlineClickObserver=function(){var e=this,t=document.querySelectorAll(".outline-list-item");Array.prototype.forEach.call(t,(function(t){t.removeEventListener("mousedown",e.outlineClickHandler.bind(e),!1),t.addEventListener("mousedown",e.outlineClickHandler.bind(e),!1)}))},e.prototype.outlineClickHandler=function(e){var t,n=this,r=function(e,t){return{message:e,value:(r=t,{top:n.getElementOffsetPosition(r)})};var r},o=("a"===e.target.nodeName.toLowerCase()?e.target:e.target.childNodes[0]).hash;(function(e){window.top.postMessage(r("editor:outline",e),"*")})(t=document.getElementById(o.split("#")[1])),function(e){console.log("[shared note] postMesage:",r("editor:outline",e))}(t)},e.prototype.initOutlineHeaderClickObserver=function(){var e=this;document.querySelectorAll(".outline-header").forEach((function(t){t.addEventListener("mousedown",(function(t){setTimeout((function(){e.initOutlineClickObserver()}),150)}))}))},e.prototype.getElementOffsetPosition=function(e){var t=0;do{t+=e.offsetTop}while(e=e.offsetParent);return t},e.prototype.hasSameParentNote=function(){var e=this,t=null,n=null;try{n=window.parent,t=this.getWindowUrl(window)}catch(e){}if(!n||!t)return!1;var r=[];try{for(;n!=n.parent;)r.push(n),n=n.parent}catch(e){}return!!r.length&&r.some((function(n){try{return e.getWindowUrl(n)==t}catch(e){return!1}}))},e.prototype.getWindowUrl=function(e){var t=e.location;return t.origin+t.pathname},e.prototype.ngOnChanges=function(e){if(e&&e.visual&&e.visual.currentValue){var t=e.visual.currentValue.theme;this.editorInstance&&this.editorInstance.plugins&&("day"==t?this.editorInstance.plugins.editorStyle.setTheme("light"):this.editorInstance.plugins.editorStyle.setTheme("dark"))}},e.prototype.getEditorBlots=function(){var e=this,t=n("./node_modules/@webnotes/web-editor-build/pdf_viewer.js").default,r=n("./node_modules/@webnotes/web-editor-build/video_viewer.js"),o=r.VideoViewer,i=r.getVideoTypes,a=this.getIsShowAdvert();return{file:{getAdvert:function(){return e.getAdvertHTML()},showVideoEditButton:this.profile&&this.share.currentUserCanEdit,viewers:[{mime:["application/pdf"],class:t,options:{workerPath:"/static/assets/pdf_viewer.worker.js",allowOpenOnMouseOver:!0}},{mime:i(),class:o,options:{showVideoHeader:this.visual&&this.visual.isEmbed&&this.visual.isVideo,videoHeaderHTML:this.getVideoHeaderHTML(),advert:a}}]},image:{processEnterFullSize:function(t){return!!e.noteImageViewerService.setImage(t.attachmentURL)&&e.noteImageViewerService.showImage()},disableResize:!1},list:{collapsible:!0},grid:{flatten:this.visual.isMobile},table:{floatingHeaderOffset:59}}},e.prototype.getEditorPlugins=function(){var e=this,t={};(this.config.get("FEATURES")||"").split(",").includes("tasks-bundle")?t={tasksManager:{featWorkspaceTasksInputs:{workspaceContext:{workspaceId:this.share.workspaceId},nimDetailedViewFloating:!0,nimAllowedActions:this.getTasksAllowedActions(this.share.currentUserCanEditTasks),nimHideComments:!this.share.currentUserCanEditTasks,nimHideAttachments:!0,nimMobileView:this.visual.isMobile},featWorkspaceTasksOutputs:{}},boardManager:{enabled:!0,featBoardInputs:{nimSkeletonUrl:"day"===this.visual.theme?"./dist/assets/board-skeleton-light.gif":"./dist/assets/board-skeleton-dark.gif",nimAllowedActions:this.getTasksAllowedActions(this.share.currentUserCanEditTasks),nimHideComments:!this.share.currentUserCanEditTasks,nimHideAttachments:!0,nimMobileView:this.visual.isMobile},featBoardOutputs:{}}}:(this.tasksManager.setup({shareId:this.share.id,shareSecurityKey:this.share.securityKey}),t={tasksManager:this.tasksManager});var a=n("./node_modules/@webnotes/web-editor-build/web-editor.js").AttachmentNotFoundError;return r.__assign({attachmentManager:new o.AttachmentManagerPlugin(this.attachments,a,this._shareErrorsService,this.config.get("SHARE_API_SERVICE"),this.config.get("GATEWAY_URL"),this.config.get("BOX_URL"),this.share.workspaceId,this.share.noteGlobalId,this.share.id,this.share.securityKey,""+window.location.origin+this.config.get("VIDEO_EDIT_URL"),this.getShareUrl(),this.visual.isWordpress),mentionManager:{onMentionClick:function(t,n){return e.mentionService.onMentionClick(t,n,e.getEmbedInfo())},getMentionTitle:this.mentionService.getMentionTitle.bind(this.mentionService),updateMentionTitles:this.mentionService.updateMentionTitles.bind(this.mentionService)},selectionScroller:{scrollingContainer:this.scrollingContainer,bottomMargin:20},scrollSaver:{scrollingContainer:this.scrollingContainer,addOffsetTop:130},linkManager:{processNavigation:function(t){if(e.isFolderUrl(t))return e.goToShare(t),!0;if(e.isNotesUrl(t)&&!e.isSameNoteUrl(t))return e.goToShare(t),!0;if(e.isShareUrl(t)){var n=e.getShareUrlConfig(t),r=n.domain,o=n.id,i=n.securityKey,a=n.hash;if(!i)return!1;if(e.isUrlInternal(t)&&a)return e.noteService.scrollToHash(a),!0;var s=e.mentionService.getShareUrl(r,{id:o,securityKey:i},e.getEmbedInfo(),a);return e.mentionService.navigate(s,"_self"),!0}var l=new URL(t).hash;return!!l&&(!(!e.isSameNoteUrl(t)&&!e.isUrlInternal(t))&&(e.noteService.scrollToHash(l),!0))}}},t,{blockMenu:{showCopyBlotButton:!this.visual.isMobile&&this.branding.sharesCopyBlotLinkIcon&&!this.visual.isEmbed},notificationManager:{toast:function(t){"Copied!"==t&&e.showCopiedToast()}},copyManager:{nimbusOpsEnabled:!0},search:{container:function(){return document.querySelector("nns-note-search")},onSearchStart:function(){e._store.dispatch(Object(i.setIsShowSearch)(!0)),setTimeout((function(){document.querySelector("nns-note-search input").focus()}))},onSearchEnd:function(){e._store.dispatch(Object(i.setIsShowSearch)(!1))}},outlineManager:{updateOutlineData:function(t){return e.visual.isWordpress&&(e.initOutlineClickObserver(),e.initOutlineHeaderClickObserver()),t}},ctaManager:{enabled:!0},signature:{verify:!0,publicKey:this.config.get("SIGN_PUBLIC_KEY")}})},e.prototype.getTasksAllowedActions=function(e){return e?{boardCreate:!0,boardUpdate:!0,taskListCreate:!0,taskListUpdate:!0,taskListNoteNavigate:!0,taskListNoteUpdate:!0,taskCreate:!0,taskUpdate:!0,taskDelete:!0,taskDuplicate:!0,taskCopy:!0,taskStatusChange:!0,taskLabelAdd:!0,taskLabelDelete:!0,workspaceLabelCreate:!0,workspaceLabelUpdate:!0,taskAssigneeCreate:!0,taskAssigneeDelete:!0,taskReminderCreate:!0,taskReminderDelete:!0,taskCommentAdd:!0,taskDescriptionEdit:!0,taskAttachmentAdd:!0,taskAttachmentDelete:!0,membersInvite:!1,taskListDelete:!1,taskListConvertToBoard:!1,boardDelete:!1,taskCopyLink:!1,taskConvertToTaskList:!1,taskDragNDrop:!1,taskListDragNDrop:!1,workspaceLabelDelete:!1,calendarDefaultViewChange:!1}:{}},e.prototype.getIsShowAdvert=function(){return!(this.share.ownerIsPremium||this.visual.isEmbed||this.visual.isMobile)},e.prototype.getShareUrlConfig=function(e){var t=new URL(e),n=e.includes("/s/share")?"/s/share/":"/share/",r=t.pathname,o=(r=r.substring(n.length)).substring(0,r.indexOf("/")),i="";return o?i=r=r.substring(o.length+1):o=r,{domain:t.origin,id:o,securityKey:i,hash:t.hash}},e.prototype.getEmbedInfo=function(){return{isEmbed:this.visual.isEmbed,isWordpress:this.visual.isWordpress,isEmbedPrintEnabled:this.visual.isEmbedPrintEnabled,embedHideHeader:this.visual.isEmbedHeaderHidden,theme:this.visual.theme}},e.prototype.getBaseUrl=function(){var e=window.location;return e.origin+e.pathname},e.prototype.getVideoHeaderHTML=function(){var e=this.getShareDomainUrl(),t=this.getShareUrl(),n=this.note?this.note.title:"";return'<div class="nns-video-header">\n              <a href="'+e+'" target="_blank" class="nns-video-header_logo">\n                '+this.getVideoImg()+'\n              </a>\n              <a href="'+t+'" target="_blank" class="nns-video-header_title">'+n+"</a>\n            </div>"},e.prototype.getShareDomainUrl=function(){var e=this.share.org;if(e&&e.domain)return"https://"+e.domain;if(e&&e.sub){var t=this.config.get("NIMBUS_DOMAIN");return"https://"+e.sub+"."+t}return""+this.config.get("NIMBUS_URL")},e.prototype.getShareUrl=function(){return this.getShareDomainUrl()+this.note.nnShareUrl},e.prototype.getVideoImg=function(){var e=this.config.get("BOX_URL")+"/file/";return this.branding&&this.branding.sharesLogoStoredFileUUID?'<img src="'+e+this.branding.sharesLogoStoredFileUUID+'"/>':this.share.instance&&this.share.instance.org&&this.share.instance.org.smallLogoStoredFileUUID?'<img src="'+e+this.share.instance.org.smallLogoStoredFileUUID+'"/>':'<nns-icon icon="get-nimbus-note" class="icon-get-nimbus-note"></nns-icon>'},e.prototype.getAdvertHTML=function(){return'\n      <style>\n        .nns-advert{\n          text-align: center;\n        }\n        .nns-advert-logo{\n          margin-bottom: 18px;\n          display: flex;\n          justify-content: center;\n        }\n        .nns-advert-logo nns-icon{\n          display: block;\n          width: 40px;\n          height: 40px;\n        }\n        .nns-advert-title{\n          font-size: 18px;\n          font-weight: 700;\n          margin-bottom: 18px;\n          color: rgba(38, 47, 86, 1);\n        }\n        .nns-advert-btn{\n          background: #00ACC1;\n          padding: 6px 30px;\n          border-radius: 30px;\n          font-size: 13px;\n          color: #fff!important;\n        }\n        .nns-advert-footer{\n          margin-top: 18px;\n          font-size: 14px;\n          color: #262F56;\n        }\n        .nns-advert-footer a{\n          color: #00ACC1;\n          font-weight: bold;\n        }\n      </style>\n      <div class="nns-advert">\n        <div class="nns-advert-logo">\n            <nns-icon icon="nimbusnote_colored" class="icon-nimbusnote_colored"></nns-icon>\n        </div>\n        <div class="nns-advert-title">With Nimbus, you can share anything <br> and explain faster than typing</div>\n        <a href="https://nimbusweb.me/screenshot.php" target="_blank" class="nns-advert-btn">Get Started for Free</a>\n        <div class="nns-advert-footer">\n            <span>Find out more at <a href="https://nimbusweb.me/" target="_blank">www.nimbusweb.me</a></span>\n        </div>\n      </div>'},e.prototype.setTitleFont=function(e){this._store.dispatch(Object(i.setNoteFont)(e))},e.prototype.showCopiedToast=function(){this._store.dispatch(Object(i.showToast)({id:++this.copyEventsCount,text:"Copied",position:"right"}))},e.prototype.catchSearchHotKeys=function(e){e.ctrlKey&&"KeyF"==e.code&&(e.preventDefault(),this.noteService.startSearch())},e.prototype.setupTasks=function(){var e=new CustomEvent("ng2:tasks:setup-api",{detail:{gatewayUrl:"/gwapi2",gatewayToken:this.getCookie("eversessionid"),staticAssetPrefix:this.config.get("BOX_URL")+"/file/",userId:this.profile?this.profile.userId:void 0,userRole:"member",workspaceId:this.share.workspaceId,orgId:this.share.org.globalId,skipLoadStartData:!0}});document.dispatchEvent(e),console.log("before setup share",this.share);var t=new CustomEvent("ng2:tasks:load-by-share",{detail:{workspaceId:this.share.workspaceId,shareId:this.share.id,securityKey:this.share.securityKey,nodeId:this.share.note}});document.dispatchEvent(t)},e.prototype.setupAttachments=function(){var e=new CustomEvent("ng2:attachments:setup-api",{detail:{gatewayUrl:"/gwapi2",gatewayToken:this.getCookie("eversessionid"),staticAssetPrefix:this.config.get("BOX_URL")+"/file/"}});document.dispatchEvent(e)},e.prototype.getCookie=function(e){var t={};return document.cookie.split("; ").forEach((function(e){var n=e.split("="),r=n[0],o=n[1];t[r]=o})),t[e]},e.prototype.isSafariBrowser=function(){return"Apple Computer, Inc."==navigator.vendor},e.prototype.isMobileSafariBrowser=function(){var e=window.navigator.userAgent;return e.match(/iPad/i)||e.match(/iPhone/i)},e.prototype.isUrlInternal=function(e){var t=window.location,n=t.host,r=t.pathname,o=new URL(e),i=o.host,a=o.pathname;return i===n&&r==a},e.prototype.isSameNoteUrl=function(e){var t=this.share.note;return e.includes("/note/")&&e.includes(t)},e.prototype.isNotesUrl=function(e){var t=new URL(e).pathname;return t.startsWith("/ws")&&t.includes("/note")},e.prototype.isFolderUrl=function(e){var t=new URL(e).pathname;return t.startsWith("/ws")&&t.includes("/folder")&&!t.includes("/note")},e.prototype.isShareUrl=function(e){return e.includes("/share/")},e.prototype.goToShare=function(e){var t=new URL(e),n=t.pathname,r=t.hash,o=n.split("/"),i={workspaceId:null,noteId:null,isFolder:!1};o.forEach((function(e,t){"ws"===e&&(i.workspaceId=o[t+1]),"folder"===e&&(i.noteId=o[t+1],i.isFolder=!0),"note"===e&&(i.noteId=o[t+1],i.isFolder&&(i.isFolder=!1))})),i.workspaceId&&i.noteId&&this.mentionService.toNode(i.workspaceId,i.noteId,i.isFolder,this.getEmbedInfo(),r)},e.prototype.isFacebookApp=function(){var e=navigator.userAgent;return e.indexOf("FBAN")>-1||e.indexOf("FBAV")>-1},e.prototype.ngOnDestroy=function(){this._store.dispatch(Object(a.receiveOutlines)([])),this.isBrowser&&(window.removeEventListener("keydown",this.catchSearchHotKeys),this.noteService.startSearch(!0),this.editorResizeObserver&&(this.editorResizeObserver.disconnect(),this.editorResizeObserver=null))},e}()},"./src/app/share/note/note-text.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteTextComponent",(function(){return s})),n.d(t,"View_NoteTextComponent_0",(function(){return l})),n.d(t,"View_NoteTextComponent_Host_0",(function(){return c})),n.d(t,"NoteTextComponentNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/note-text.component.ts"),i=n("./node_modules/@angular/router/fesm5/router.js"),a=n("./src/app/universal-config.ts"),s=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display:block;\n      color:rgba(0, 0, 0, 0.8);\n    }\n    .note-text-holder[_ngcontent-%COMP%] {\n      position:relative;\n      z-index:10;\n      overflow:hidden;\n    }\n    .note-text[_ngcontent-%COMP%]  {\n      font-family:'Noto Sans', Arial, Helvetica, Sans-serif;\n      font-size:18px;\n      line-height:1.5;\n      position:relative;\n      overflow:auto;\n    }\n    .note-text[_ngcontent-%COMP%]     * {margin:0; padding:0;}\n    .note-text[_ngcontent-%COMP%]     h1, .note-text[_ngcontent-%COMP%]     h2, .note-text[_ngcontent-%COMP%]     h3, .note-text[_ngcontent-%COMP%]     h4, .note-text[_ngcontent-%COMP%]     h5, .note-text[_ngcontent-%COMP%]     h6 {padding:10px 0; font-weight:bold; color:#3E4849; line-height:1.3;}\n    .note-text[_ngcontent-%COMP%]     h1 {font-size:1.4em;}\n    .note-text[_ngcontent-%COMP%]     h2 {font-size:1.35em;}\n    .note-text[_ngcontent-%COMP%]     h3 {font-size:1.3em;}\n    .note-text[_ngcontent-%COMP%]     h4 {font-size:1.25em;}\n    .note-text[_ngcontent-%COMP%]     h5 {font-size:1.2em;}\n    .note-text[_ngcontent-%COMP%]     h6 {font-size:1.1em;}\n    .note-text[_ngcontent-%COMP%]     p {padding:10px 0;}\n    .note-text[_ngcontent-%COMP%]     ul, .note-text[_ngcontent-%COMP%]     ol {padding:10px 0 10px 20px;}\n    .note-text[_ngcontent-%COMP%]     li {padding:0 0 10px 0;}\n    .note-text[_ngcontent-%COMP%]     li:last-of-type {padding: 0;}\n    .note-text[_ngcontent-%COMP%]     li ol, .note-text[_ngcontent-%COMP%]     li ul {padding: 10px 0 0 20px;}\n    .note-text[_ngcontent-%COMP%]     blockquote {font-style:italic; margin:0 0 30px 30px;}\n    .note-text[_ngcontent-%COMP%]     blockquote p:last-child {padding:0;}\n    .note-text[_ngcontent-%COMP%]     table {\n      border-spacing:0;\n      border-collapse:collapse;\n      width:100%;\n      margin:0 0 20px 0;\n    }\n    .note-text[_ngcontent-%COMP%]     table tr td, .note-text[_ngcontent-%COMP%]     table tr th {\n      vertical-align:top;\n      text-align:left;\n      padding:10px;\n      border:2px solid #cfd1d3;\n    }\n\n    .note-text[_ngcontent-%COMP%]     .nns-table-holder {\n      overflow:auto;\n    }\n\n    .note-text[_ngcontent-%COMP%]     img {display:block; max-width:100%; height:auto; margin:20px 0;}\n\n    .note-text[_ngcontent-%COMP%]     img.big-image {cursor: pointer}\n\n    .note-text[_ngcontent-%COMP%]     ul.nn-checkbox-list li {\n      list-style: none;\n      pointer-events: none;\n    }\n\n    .note-text[_ngcontent-%COMP%]     ul.nn-checkbox-list li:before{\n      content: \"\";\n      display: inline-block;\n      margin-right: 5px;\n    }\n\n    .note-text[_ngcontent-%COMP%]     img {\n      cursor: pointer;\n    }\n\n    @media only screen and (max-width: 1024px) {\n      .note-text[_ngcontent-%COMP%] {\n        font-size:16px;\n      }\n    }\n\n    @media only screen and (max-width: 768px) {\n      .note-text[_ngcontent-%COMP%]     h1 {font-size:1.3em;}\n      .note-text[_ngcontent-%COMP%]     h2 {font-size:1.25em;}\n      .note-text[_ngcontent-%COMP%]     h3 {font-size:1.2em;}\n      .note-text[_ngcontent-%COMP%]     h4 {font-size:1.15em;}\n      .note-text[_ngcontent-%COMP%]     h5 {font-size:1.1em;}\n      .note-text[_ngcontent-%COMP%]     h6 {font-size:1.05em;}\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr td, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr td, .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr th, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr th {\n      border-color:#000;\n    }\n\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {filter:invert(100%);}\n    .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     img, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     img, .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     ul.nn-checkbox-list li:before, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     ul.nn-checkbox-list li:before {filter:invert(100%);}\n\n    .no-flex[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%], .no-flex   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%] {\n      overflow:inherit;\n    }\n    .no-flex[_nghost-%COMP%], .no-flex   [_nghost-%COMP%] {\n      color:#000;\n    }\n    .nns-theme-night.no-flex[_nghost-%COMP%], .nns-theme-night.no-flex   [_nghost-%COMP%] {\n      color:#fff;\n    }\n\n    @media print {\n      .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%], .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     img, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     img, .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     ul.nn-checkbox-list li:before, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     ul.nn-checkbox-list li:before {\n        filter: none;\n        -webkit-filter: none;\n      }\n      .nns-theme-night.no-flex[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%], .nns-theme-night.no-flex   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%], .no-flex[_nghost-%COMP%], .no-flex   [_nghost-%COMP%], .nns-theme-night.no-flex[_nghost-%COMP%], .nns-theme-night.no-flex   [_nghost-%COMP%] {\n        color:#000;\n      }\n\n      .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr td, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr td, .nns-theme-night[_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr th, .nns-theme-night   [_nghost-%COMP%]   .note-text[_ngcontent-%COMP%]     table tr th {\n        border-color:#000;\n      }\n      .note-text[_ngcontent-%COMP%]     h1, .note-text[_ngcontent-%COMP%]     h2, .note-text[_ngcontent-%COMP%]     h3, .note-text[_ngcontent-%COMP%]     h4, .note-text[_ngcontent-%COMP%]     h5, .note-text[_ngcontent-%COMP%]     h6, .note-text[_ngcontent-%COMP%]{\n        color: #000;\n      }\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","note-text-holder"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"div",[],[[8,"className",0],[8,"innerHTML",1]],[[null,"click"],[null,"mouseover"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.textClick(n)&&r);"mouseover"===t&&(r=!1!==o.textMouseOver(n)&&r);return r}),null,null))],null,(function(e,t){var n=t.component;e(t,1,0,n.alignCenter?"note-text note-text-center":"note-text",n.text)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-text",[],null,null,null,l,s)),r["ɵdid"](1,8503296,null,0,o.NoteTextComponent,[r.ElementRef,"isBrowser",i.Router,a.Config],null,null)],(function(e,t){e(t,1,0)}),null)}var u=r["ɵccf"]("nns-note-text",o.NoteTextComponent,c,{text:"text",attachments:"attachments"},{},[])},"./src/app/share/note/note-text.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteTextComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@angular/router/fesm5/router.js"),n("./src/app/universal-config.ts");var r=function(){function e(e,t,n,r){this._elementRef=e,this.isBrowser=t,this._router=n,this.config=r,this.alignCenter=!1}return e.prototype.ngOnInit=function(){if(this.text){var e=String(this.text).split("<div>").length-1,t=String(this.text).split("<img").length-1;1===e&&t>0&&(this.alignCenter=!0)}},e.prototype.textClick=function(e){if(this.isEventSourceBigImage(e)){if(e.target&&e.target.dataset&&e.target.dataset.attachmentId){var t=this.findAttachment(e.target.dataset.attachmentId);return void this.openImageAttachment(t)}var n=e.target.src;window.open(n,"_blank")}else;},e.prototype.openImageAttachment=function(e){e||console.error("NoteComponent: No attachment to open"),this._router.navigate([e.imageURL])},e.prototype.isEventSourceBigImage=function(e){if(e&&e.target&&"IMG"===e.target.nodeName){var t=e.target,n=t.naturalWidth,r=t.width;t.src;if(n>r)return!0}return!1},e.prototype.findAttachment=function(e){var t;return this.attachments.forEach((function(n){n.globalId===e&&(t=n)})),t},e.prototype.ngAfterViewChecked=function(){this.isBrowser&&this.handleLinksInText()},e.prototype.handleLinksInText=function(){var e,t=this._elementRef.nativeElement.querySelectorAll("a");for(e=0;e<t.length;++e){var n=t[e];if(n.nnIsAfterLinkClick)return;n.addEventListener("click",o(n)),n.nnIsAfterLinkClick=!0}},e.prototype.textMouseOver=function(e){if(this.isEventSourceBigImage(e)){var t=e.target;if(!t||!t.className)return;-1===t.className.indexOf("big-image")&&(t.className+=" big-image",t.title="Click to view in full size")}},e}();function o(e){return function(t){window.open(e.href,"_blank"),t.preventDefault()}}},"./src/app/share/note/note.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteComponent",(function(){return V})),n.d(t,"View_NoteComponent_0",(function(){return le})),n.d(t,"View_NoteComponent_Host_0",(function(){return ce})),n.d(t,"NoteComponentNgFactory",(function(){return ue}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/attachments.component.ngfactory.js"),i=n("./src/app/share/note/attachments.component.ts"),a=n("./src/app/share/note/todos.component.ngfactory.js"),s=n("./src/app/share/note/todos.component.ts"),l=n("./src/app/common/icon.component.ngfactory.js"),c=n("./src/app/common/icon.component.ts"),u=n("./src/app/share/note/outlines/outline-btn.component.ngfactory.js"),d=n("./src/app/share/note/outlines/outline-btn.component.ts"),p=n("./node_modules/@ngrx/store/fesm5/store.js"),f=n("./src/app/common/click-outside.directive.ts"),h=n("./node_modules/@angular/common/fesm5/common.js"),m=n("./src/app/share/note/note-actions.component.ngfactory.js"),g=n("./src/app/share/note/note-actions.component.ts"),y=n("./src/app/share/note/video-player.component.ngfactory.js"),v=n("./src/app/share/note/video-player.component.ts"),b=n("./src/app/universal-config.ts"),_=n("./src/app/share/note/video-loader.component.ngfactory.js"),w=n("./src/app/share/note/video-loader.component.ts"),C=n("./src/app/share/note/image.component.ngfactory.js"),S=n("./src/app/share/note/image.component.ts"),E=n("./src/app/share/note/note-text.component.ngfactory.js"),x=n("./src/app/share/note/note-text.component.ts"),k=n("./node_modules/@angular/router/fesm5/router.js"),O=n("./src/app/share/note/note-text-version-2.component.ngfactory.js"),T=n("./src/app/share/note/note-text-version-2.component.ts"),A=n("./src/app/share/share-errors.service.ts"),P=n("./src/app/share/note/mention.service.ts"),R=n("./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts"),I=n("./src/app/share/note/note.service.ts"),M=n("./src/app/share/note/tasks-manager-plugin.ts"),N=n("./src/app/metrics.service.ts"),D=n("./src/app/auth-form/auth-form.component.ngfactory.js"),j=n("./src/app/auth-form/auth-form.component.ts"),L=n("./src/app/auth-form/auth-api-client.service.ts"),B=n("./src/app/common/safe-html.pipe.ts"),F=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),U=n("./src/app/share/note/note.component.ts"),H=n("./src/app/profile/profile.service.ts"),V=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      padding:0 0 16px 0;\n    }\n    [_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%] {\n      max-width:100%;\n      min-width:320px;\n      padding:0 10px;\n      position:relative;\n      box-sizing:border-box;\n      margin:0 auto;\n    }\n    [_nghost-%COMP%]   nns-note-text[_ngcontent-%COMP%]{\n      max-width: 950px;\n      margin: 0 auto;\n      position: relative;\n      z-index: 1;\n    }\n    .nns-fullscreen[_nghost-%COMP%] {\n      padding:16px 0;\n    }\n    .nns-fullscreen[_nghost-%COMP%]   nns-note-text[_ngcontent-%COMP%] {\n      max-width:1280px;\n    }\n    .nns-fullscreen[_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%], .nns-fullscreen[_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%] {\n      max-width:1280px;\n    }\n\n      nns-note-text-version-2 .nedit-root{\n      max-width: 950px;\n    }\n\n    .nns-fullscreen[_nghost-%COMP%]     nns-note-text-version-2 .nedit-root{\n      max-width: 1280px;\n    }\n\n\n    .note-title-wrapper[_ngcontent-%COMP%]{\n      padding:0 40px 16px 0;\n      margin:0 auto;\n      word-wrap: break-word;\n      max-width: 950px;\n      position: relative;\n      display: flex;\n      box-sizing: border-box;\n    }\n    .note-title-wrapper[_ngcontent-%COMP%]:hover   .note-title-edit[_ngcontent-%COMP%]{\n      opacity: 1;\n    }\n    h1.note-title[_ngcontent-%COMP%] {\n      font-size:21px;\n      line-height:1.3;\n      margin: 0;\n    }\n    .note-title-edit[_ngcontent-%COMP%]{\n      position: absolute;\n      left: -28px;\n      top: calc(50% - 16px);\n      opacity: 0;\n      transition: 0.3s;\n      cursor: pointer;\n    }\n    .note-title-edit[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n    .note-title-input[_ngcontent-%COMP%]{\n      width: 100%;\n      border: none;\n      resize: none;\n      font-size:21px;\n      line-height:1.3;\n      padding: 0;\n      box-sizing: border-box;\n      flex: 1;\n      font-weight: bold;\n      overflow: hidden;\n      height: 27px;\n    }\n\n    nns-outline-btn[_ngcontent-%COMP%] {\n      position: absolute;\n      right: 0;\n    }\n\n    @media only screen and (max-width: 768px) {\n      [_nghost-%COMP%] {\n        padding:16px 0;\n      }\n      .note-title-wrapper[_ngcontent-%COMP%]{\n        margin-left: 10px;\n        margin-right: 10px;\n      }\n      h1.note-title[_ngcontent-%COMP%] {\n        font-size: 18px;\n      }\n      .note-top-holder[_ngcontent-%COMP%]{\n        margin-left: 10px!important;\n        margin-right: 10px!important;\n      }\n      .nns-fullscreen[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%] {\n        padding:0 10px;\n      }\n    }\n\n    .note-top-holder[_ngcontent-%COMP%] {\n      max-width: 950px;\n      margin: 0 auto 10px auto;\n      border-bottom:1px solid #dcdcdc;\n    }\n    .note-top[_ngcontent-%COMP%] {\n      padding:0 0 16px 0;\n    }\n\n    nns-note-actions[_ngcontent-%COMP%] {\n      margin: 0 -8px;\n    }\n\n    .note-text-date[_ngcontent-%COMP%] {\n      font-size:16px;\n      color:#3d3d3d;\n    }\n\n    .note-auth-form[_ngcontent-%COMP%] {\n      padding: 40px 0px 170px;\n      display: flex;\n      justify-content: center;\n    }\n\n    nns-todo[_ngcontent-%COMP%] {padding:0;}\n\n    nns-image[_ngcontent-%COMP%] {\n      cursor: pointer;\n      display:block;\n      padding: 0 0 16px;\n    }\n\n    nns-image[_ngcontent-%COMP%]     img {\n      display:block;\n      max-width:100%;\n      height:auto;\n    }\n    .nns-get-capture-wrapper[_ngcontent-%COMP%]{\n      display: flex;\n      justify-content: center;\n      padding: 20px 0 170px;\n    }\n    .nns-get-capture[_ngcontent-%COMP%]{\n      display: flex;\n      flex-direction: column;\n      align-items: flex-start;\n    }\n    .nns-get-capture--title[_ngcontent-%COMP%]{\n      font-weight: 500;\n    }\n    .nns-get-capture--btn[_ngcontent-%COMP%]{\n      margin: 8px auto 0;\n      background-color: rgba(0, 161, 183, 1);\n      padding: 10px 30px;\n      font-size: 13px;\n      font-weight: 700;\n      border-radius: 30px;\n      color: #F5F8FA;\n    }",".nns-theme-night[_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%] {\n      border-color:rgba(255,255,255,0.12);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .note-top-download[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .note-top-download[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n      color:#0095A7;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .note-title-input[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .note-title-input[_ngcontent-%COMP%]{\n      background-color: #2F3737;\n      color: #fff;\n    }\n    .nns-embed[_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%], .nns-embed   [_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%]{\n      padding-top: 20px;\n    }\n    .nns-embed__video[_nghost-%COMP%], .nns-embed__video   [_nghost-%COMP%]{\n      padding: 0;\n    }\n    .nns-embed__video[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%], .nns-embed__video   [_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{\n      padding: 0;\n    }\n    .nns-fullwidth[_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%], .nns-fullwidth[_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%] {\n      max-width: 100%;\n      margin-left: 30px;\n      margin-right: 30px;\n    }\n    .nns-fullwidth[_nghost-%COMP%]   .nns-note-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .nns-note-wrapper[_ngcontent-%COMP%]{\n      margin-right: 20px;\n      margin-left: 20px;\n    }\n\n    .nns-fullwidth[_nghost-%COMP%]     nns-note-text-version-2 .nedit-root, .nns-fullwidth   [_nghost-%COMP%]     nns-note-text-version-2 .nedit-root {\n      max-width: 100%;\n    }\n    .nns-fullwidth[_nghost-%COMP%]     .editor-body, .nns-fullwidth   [_nghost-%COMP%]     .editor-body{\n      overflow-y: unset;\n    }\n    @media only screen and (max-width: 1000px) {\n      .note-title-wrapper[_ngcontent-%COMP%]{\n        padding-left: 10px;\n        padding-right: 10px;\n      }\n      .nns-fullwidth[_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%]{\n        padding-left: 0;\n        padding-right: 0;\n      }\n      .note-top-holder[_ngcontent-%COMP%]{\n        margin-left: 10px;\n        margin-right: 10px;\n      }\n    }\n    @media only screen and (max-width: 768px) {\n      .nns-embed[_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%], .nns-embed   [_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%]{\n        padding-top: 0;\n      }\n      .nns-fullwidth[_nghost-%COMP%]   .nns-note-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .nns-note-wrapper[_ngcontent-%COMP%]{\n        margin-left: 0;\n        margin-right: 0;\n      }\n      .nns-fullwidth[_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .note-top-holder[_ngcontent-%COMP%], .nns-fullwidth[_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .note-title-wrapper[_ngcontent-%COMP%] {\n        margin-left: 10px;\n        margin-right: 10px;\n      }\n      .note-title-wrapper[_ngcontent-%COMP%]{\n        padding-left: 0;\n        padding-right: 0;\n      }\n      .note-auth-form[_ngcontent-%COMP%], .nns-get-capture-wrapper[_ngcontent-%COMP%]{\n        display: none;\n      }\n    }"],data:{}});function z(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-attachments",[["class","nns-attachments-opened mobile"]],null,null,null,o.View_AttachmentsComponent_0,o.RenderType_AttachmentsComponent)),r["ɵdid"](1,49152,null,0,i.AttachmentsComponent,[],{attachments:[0,"attachments"],attachmentBases:[1,"attachmentBases"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.attachmentsInList,n.attachmentBases)}),null)}function q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-todos",[],null,null,null,a.View_TodosComponent_0,a.RenderType_TodosComponent)),r["ɵdid"](1,573440,null,0,s.TodosComponent,[],{todos:[0,"todos"],todosOrder:[1,"todosOrder"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.todos,n.note.todosOrder)}),null)}function G(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"h1",[["class","note-title"]],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"note-title font-",n.visual.noteFont,""),n.note.title)}))}function W(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"textarea",[["id","titleInput"],["wrap","hard"]],[[8,"className",0],[8,"innerHTML",1]],[[null,"keyup"],[null,"keyup.enter"]],(function(e,t,n){var r=!0,o=e.component;"keyup"===t&&(r=!1!==o.titleKeyUpHandler(n)&&r);"keyup.enter"===t&&(r=!1!==o.onTitleEnter(n)&&r);return r}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"note-title-input font-",n.visual.noteFont,""),n.note.title)}))}function Y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","note-title-edit"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.openTitleEdit()&&r);return r}),null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-icon",[["icon","pencil"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,2).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,2).onMouseLeave()&&o);return o}),l.View_IconComponent_0,l.RenderType_IconComponent)),r["ɵdid"](2,573440,null,0,c.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,2,0,"pencil")}),(function(e,t){e(t,1,0,r["ɵnov"](t,2)._classes)}))}function Z(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-outline-btn",[],[[8,"title",0]],null,null,u.View_OutlineBtnComponent_0,u.RenderType_OutlineBtnComponent)),r["ɵdid"](1,49152,null,0,d.OutlineBtnComponent,[p.Store],{isActive:[0,"isActive"]},null)],(function(e,t){e(t,1,0,t.component.visual.isShowOutlines)}),(function(e,t){e(t,0,0,t.component.outlinesButtonTitle)}))}function K(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,9,"div",[["class","note-title-wrapper"]],null,[[null,"clickOutside"],[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!==i.onTitleClickOutside()&&o);return o}),null,null)),r["ɵdid"](1,16384,null,0,f.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),(e()(),r["ɵand"](16777216,null,null,1,null,G)),r["ɵdid"](3,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,W)),r["ɵdid"](5,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,Y)),r["ɵdid"](7,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,Z)),r["ɵdid"](9,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,!n.isTitleEdit),e(t,5,0,n.isTitleEdit),e(t,7,0,!n.isTitleEdit&&n.showShareConfig),e(t,9,0,n.isShowOutlinesBtn)}),null)}function $(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-attachments",[["class","nns-attachments-opened"]],null,null,null,o.View_AttachmentsComponent_0,o.RenderType_AttachmentsComponent)),r["ɵdid"](1,49152,null,0,i.AttachmentsComponent,[],{attachments:[0,"attachments"],attachmentBases:[1,"attachmentBases"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.attachmentsInList,n.attachmentBases)}),null)}function Q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","note-top not-mobile"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-note-actions-container"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-note-actions",[["flex",""],["layout","row"],["layout-align","start center"],["title","Click to show files"]],null,[[null,"attachmentsToggled"],[null,"todosToggled"]],(function(e,t,n){var r=!0,o=e.component;"attachmentsToggled"===t&&(r=!1!==o.toggleAttachments(n)&&r);"todosToggled"===t&&(r=!1!==o.toggleTodos(n)&&r);return r}),m.View_NoteActionsComponent_0,m.RenderType_NoteActionsComponent)),r["ɵdid"](3,638976,null,0,g.NoteActionsComponent,[],{attachments:[0,"attachments"],todos:[1,"todos"],note:[2,"note"]},{attachmentsToggled:"attachmentsToggled",todosToggled:"todosToggled"}),(e()(),r["ɵand"](16777216,null,null,1,null,$)),r["ɵdid"](5,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.attachmentsInList,n.todos,n.note),e(t,5,0,n.isShowAttachments&&n.isOpenAttachments)}),null)}function X(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","note-top-holder"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,Q)),r["ɵdid"](2,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.isShowAttachments||n.isShowTodos)}),null)}function J(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-player",[],[[2,"fullscreen",null]],[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).exitFullscreen(n)&&o);return o}),y.View_VideoPlayerComponent_0,y.RenderType_VideoPlayerComponent)),r["ɵdid"](1,704512,null,0,v.VideoPlayerComponent,["isBrowser",b.Config],{attachment:[0,"attachment"],maxHeight:[1,"maxHeight"],maxWidth:[2,"maxWidth"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.note.videoNote,n.maxVideoHeight,n.maxVideoWidth)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).isFullscreen)}))}function ee(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-loader",[],null,null,null,_.View_VideoLoaderComponent_0,_.RenderType_VideoLoaderComponent)),r["ɵdid"](1,114688,null,0,w.VideoLoaderComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}function te(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-image",[],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.openImageAttachment(o.note.imageNote)&&r);return r}),C.View_ImageComponent_0,C.RenderType_ImageComponent)),r["ɵdid"](1,49152,null,0,S.ImageComponent,[b.Config],{attachment:[0,"attachment"]},null)],(function(e,t){e(t,1,0,t.component.note.imageNote)}),null)}function ne(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-note-text",[],null,null,null,E.View_NoteTextComponent_0,E.RenderType_NoteTextComponent)),r["ɵdid"](1,8503296,null,0,x.NoteTextComponent,[r.ElementRef,"isBrowser",k.Router,b.Config],{text:[0,"text"],attachments:[1,"attachments"]},null),r["ɵppd"](2,1)],(function(e,t){var n=t.component,o=r["ɵunv"](t,1,0,e(t,2,0,r["ɵnov"](t.parent.parent.parent,0),n.text.text));e(t,1,0,o,n.attachments)}),null)}function re(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-text-version-2",[],null,null,null,O.View_NoteTextVersion2Component_0,O.RenderType_NoteTextVersion2Component)),r["ɵdid"](1,770048,null,0,T.NoteTextVersion2Component,[r.ElementRef,"isBrowser",k.Router,b.Config,p.Store,A.ShareErrorsService,P.MentionService,R.NoteImageViewerService,r.ChangeDetectorRef,I.NoteService,M.TasksManagerPlugin,N.MetricsService],{note:[0,"note"],attachments:[1,"attachments"],share:[2,"share"],visual:[3,"visual"],branding:[4,"branding"],profile:[5,"profile"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.note,n.attachments,null==n.share?null:n.share.instance,n.visual,n.branding,n.profile)}),null)}function oe(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","note-auth-form"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nim-webshare-auth-form",[],null,[[null,"nimClose"],[null,"nimSubmit"]],(function(e,t,n){var r=!0,o=e.component;"nimClose"===t&&(r=!1!==o.handleAuthClose()&&r);"nimSubmit"===t&&(r=!1!==o.handleSignup(n)&&r);return r}),D.View_NimWebshareAuthFormComponent_0,D.RenderType_NimWebshareAuthFormComponent)),r["ɵdid"](2,114688,null,0,j.NimWebshareAuthFormComponent,[L.NimAuthApiClientService],{viewType:[0,"viewType"],isDisabled:[1,"isDisabled"],isShowClose:[2,"isShowClose"],authType:[3,"authType"],upgradeLink:[4,"upgradeLink"],termsLink:[5,"termsLink"],otpLink:[6,"otpLink"],authUrl:[7,"authUrl"]},{nimClose:"nimClose",nimSubmit:"nimSubmit"})],(function(e,t){var n=t.component;e(t,2,0,2,!!n.profile,n.profile&&n.profile.userId===n.share.instance.userId,n.currentAuthType,n.upgradeLink,n.termsUrl,n.contactUrl,n.authUrl)}),null)}function ie(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","nns-get-capture-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","nns-get-capture"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"div",[["class","nns-get-capture--title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,[" 🔥 Want to make awesome screenrecords and screenshots? "])),(e()(),r["ɵeld"](4,0,null,null,1,"a",[["class","nns-get-capture--btn"],["href","https://nimbusweb.me/screenshot/"],["target","_blank"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Get your Nimbus Capture Today"]))],null,null)}function ae(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,14,"div",[["class","nns-note-wrapper"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,J)),r["ɵdid"](2,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,ee)),r["ɵdid"](4,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,te)),r["ɵdid"](6,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,ne)),r["ɵdid"](8,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,re)),r["ɵdid"](10,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,oe)),r["ɵdid"](12,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,ie)),r["ɵdid"](14,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.note.isVideoNote&&n.isBrowser),e(t,4,0,n.note.isVideoNote&&!n.isBrowser),e(t,6,0,n.note.isImageNote),e(t,8,0,(null==n.text?null:n.text.text)&&2!==(null==n.text?null:n.text.version)),e(t,10,0,2===(null==n.text?null:n.text.version)),e(t,12,0,n.showAuthForm&&!n.isCapture),e(t,14,0,n.showAuthForm&&n.isCapture)}),null)}function se(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"div",[["class","note-content"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,K)),r["ɵdid"](2,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,X)),r["ɵdid"](4,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,ae)),r["ɵdid"](6,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,(null==n.note?null:n.note.title)&&!(n.visual.isEmbed&&(n.visual.isVideo||"screenshot"==n.note.role))),e(t,4,0,!(null!=n.visual&&n.visual.isEmbed)),e(t,6,0,!n.visual.isPreview)}),null)}function le(e){return r["ɵvid"](0,[r["ɵpid"](0,B.SafeHtmlPipe,[F.DomSanitizer]),(e()(),r["ɵeld"](1,0,null,null,6,"div",[["class","wrapper nns-animated"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,z)),r["ɵdid"](3,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,q)),r["ɵdid"](5,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,se)),r["ɵdid"](7,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.visual.isMobile&&2==n.activeTab),e(t,5,0,n.visual.isMobile&&3==n.activeTab),e(t,7,0,!n.visual.isMobile||1==n.activeTab)}),null)}function ce(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),le,V)),r["ɵdid"](1,638976,null,0,U.NoteComponent,[p.Store,k.Router,H.ProfileService,"isBrowser",b.Config,N.MetricsService],null,null)],(function(e,t){e(t,1,0)}),null)}var ue=r["ɵccf"]("nns-note",U.NoteComponent,ce,{profile:"profile",text:"text",note:"note",attachments:"attachments",todos:"todos",share:"share",visual:"visual",activeTab:"activeTab",branding:"branding",showShareConfig:"showShareConfig",isShowOutlinesBtn:"isShowOutlinesBtn",outlinesButtonTitle:"outlinesButtonTitle"},{},[])},"./src/app/share/note/note.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteComponent",(function(){return l}));n("./node_modules/@angular/router/fesm5/router.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=n("./src/app/share/share.actions.ts"),i=n("./src/app/auth-form/auth.model.ts"),a=(n("./src/app/profile/profile.service.ts"),n("./src/app/universal-config.ts"),n("./src/app/share/note/note.service.ts")),s=n("./src/model/organization.model.ts"),l=(n("./src/app/metrics.service.ts"),function(){function e(e,t,n,r,o,a){this._store=e,this._router=t,this._profileService=n,this.isBrowser=r,this.config=o,this.metrics=a,this.todosOrder=[],this.todosUnchecked=[],this.isShowAttachments=!1,this.isShowTodos=!1,this.isOpenAttachments=!0,this.currentAuthType=i.NIM_AUTH_TYPE.SIGNUP,this.authUrl=this.config.get("AUTH_API_URL")}return e.prototype.toggleFullscreen=function(){this._store.dispatch(Object(r.toggleFullscreen)())},e.prototype.ngOnInit=function(){var e=this.share,t=e.attachmentBase,n=e.videoAttachmentBase;if(this.attachmentBases={attachmentBase:t,videoAttachmentBase:n},this.refreshAttachments(),this.dateString=new Date(1e3*this.note.dateUpdatedUser).toLocaleString("en-US",{year:"numeric",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit"}),this.setUpgradeLink(),this.setTermsLink(),window._shareStartLoad){var r=Date.now()-window._shareStartLoad;this.metrics.sendTiming("share_page_note_title",r)}},e.prototype.ngOnChanges=function(e){this.refreshAttachments(),this.setVideoSizes(),this.isShowAttachments=this.detectShowAttachments(),this.todos&&this.todos.length&&this.todos.filter((function(e){return!e.checked}))?(this.isShowTodos=!0,this.todosUnchecked=this.todos.filter((function(e){return!e.checked}))):(this.isShowTodos=!1,this.todosUnchecked=[]),(e.profile||e.share||e.visual)&&this.setIsShowAuthForm(),e.note&&(this.note&&a.CAPTURE_ROLES.includes(this.note.role)?this.isCapture=!0:this.isCapture=!1)},e.prototype.setIsShowAuthForm=function(){var e=this.profile&&this.profile.userId!=this.share.instance.userId,t=this.share.instance.orgInfo,n=Object(s.isOrgSubscription)("premium")(t),r=Object(s.isOrgSubscription)("business")(t),o=this.visual.isEmbed,i=t.isShareAdEnabled,a=t.userId,l=this.profile&&this.profile.userId==a;this.showAuthForm=!(o||e||r||n&&l||n&&!l&&!i)},e.prototype.setVideoSizes=function(){this.maxVideoHeight=600,this.visual.isFullscreen?this.maxVideoWidth=Math.min(this.visual.windowWidth,1280)-20:this.maxVideoWidth=Math.min(this.visual.windowWidth,970)-20},e.prototype.refreshAttachments=function(){this.attachments&&this.attachments.length?this.attachmentsInList=this.attachments.filter((function(e){return e.inList})):this.attachmentsInList=[]},e.prototype.openImageAttachment=function(e){e||console.error("NoteComponent: No attachment to open"),this._router.navigate([e.imageURL])},e.prototype.findAttachment=function(e){var t;return this.attachments.forEach((function(n){n.globalId===e&&(t=n)})),t},e.prototype.toggleAttachments=function(e){this.isOpenAttachments=e},e.prototype.toggleTodos=function(e){this._store.dispatch(Object(r.showTodosPanel)())},e.prototype.detectShowAttachments=function(){return!(!this.attachmentsInList||!this.attachmentsInList.length)&&(!this.note.isImageNote||1!==this.attachmentsInList.length||"image"!==this.attachmentsInList[0].type)},e.prototype.openTitleEdit=function(){this.isTitleEdit=!0,this.focusOnTitle()},e.prototype.onTitleClickOutside=function(){this.isTitleEdit=!1},e.prototype.titleKeyUpHandler=function(e){if(e){var t=e.target;t.textLength<this.titleTextLength&&(t.style.height="28px"),this.titleTextLength=t.textLength,t.style.height=t.scrollHeight+"px"}},e.prototype.focusOnTitle=function(){var e=this;setTimeout((function(){var t=document.getElementById("titleInput");if(t){e.titleTextLength=t.textLength,t.style.height=t.scrollHeight+"px",t.focus();var n=e.note.title.length;t.setSelectionRange(n,n)}}))},e.prototype.onTitleEnter=function(e){var t=document.getElementById("titleInput").value;this.isTitleEdit=!1;var n=this.prepareTitle(t);n.length&&this._store.dispatch(Object(o.setShareTitle)(n))},e.prototype.prepareTitle=function(e){return e.trim().replace(/\r?\n/g,"")},e.prototype.handleAuthClose=function(){this.currentAuthType===i.NIM_AUTH_TYPE.REMOVE?this.currentAuthType=i.NIM_AUTH_TYPE.SIGNUP:this.currentAuthType=i.NIM_AUTH_TYPE.REMOVE},e.prototype.handleSignup=function(e){this._profileService.applyAuth(e,this.currentAuthType,"footer"),this._profileService.showSignUpSuccessToast()},e.prototype.setUpgradeLink=function(){var e=this.config.get("NIMBUS_UPGRADE_URL");this.upgradeLink=e+"?sharing_page_banner=reg_form_upgrade"},e.prototype.setTermsLink=function(){this.termsUrl=this.config.get("NIMBUS_TERMS_URL"),this.contactUrl=this.config.get("NIMBUS_CONTACT_URL")},e.prototype.closeFullScreen=function(){this.isTitleEdit&&(this.isTitleEdit=!1)},e}())},"./src/app/share/note/note.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteModule",(function(){return r}));var r=function(){}},"./src/app/share/note/note.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"CAPTURE_ROLES",(function(){return r})),n.d(t,"NoteService",(function(){return o}));n("./src/app/universal-config.ts");var r=["screenshot","screencast","video","streaming_video"],o=function(){function e(e){this._config=e,this.authDomain=this._config.get("AUTH_HOST"),this.nimbusUrl=this._config.get("NIMBUS_URL"),this.nimbusDomain=this._config.get("NIMBUS_DOMAIN")}return e.prototype.setEditorInstance=function(e){this.editorInstance=e},e.prototype.scrollToHash=function(e){var t=e||document.location.hash;t&&(this.editorInstance.scroll.domNode.querySelector(t)&&this.editorInstance.plugins.scrollSaver.scrollToBlot(t,!0,!0))},e.prototype.startSearch=function(e){this.editorInstance&&this.editorInstance.plugins&&this.editorInstance.plugins.search&&(e?this.editorInstance.plugins.search.end():this.editorInstance.plugins.search.start())},e.prototype.getNodeUrl=function(e,t,n,r){var o=this.getNimbusUrl(e);if(n&&t&&r)return o+"/ws/"+t+"/"+r+"/"+n},e.prototype.getNimbusUrl=function(e){return e?e.domain?"http://"+e.domain:"http://"+e.sub+"."+this.nimbusDomain:this.nimbusUrl},e}()},"./src/app/share/note/noteImageViewer/NoteImageViewer.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_NoteImageViewerComponent",(function(){return i})),n.d(t,"View_NoteImageViewerComponent_0",(function(){return a})),n.d(t,"View_NoteImageViewerComponent_Host_0",(function(){return s})),n.d(t,"NoteImageViewerComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/noteImageViewer/NoteImageViewer.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:["#note-image-viewer-container[_ngcontent-%COMP%] {\n      display: none;\n    }"],data:{}});function a(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[],[[8,"id",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"",n.containerId,""))}))}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-image-viewer",[],null,null,null,a,i)),r["ɵdid"](1,49152,null,0,o.NoteImageViewerComponent,[],null,null)],null,null)}var l=r["ɵccf"]("nns-note-image-viewer",o.NoteImageViewerComponent,s,{},{},[])},"./src/app/share/note/noteImageViewer/NoteImageViewer.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NOTE_IMAGE_VIEWER_CONTAINER",(function(){return r})),n.d(t,"NoteImageViewerComponent",(function(){return o}));var r="note-image-viewer-container",o=function(){this.containerId="note-image-viewer-container"}},"./src/app/share/note/noteImageViewer/NoteImageViewer.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"NoteImageViewerService",(function(){return a}));var r=n("./node_modules/viewerjs/dist/viewer.js"),o=n.n(r),i=n("./src/app/share/note/noteImageViewer/NoteImageViewer.component.ts"),a=(n("./src/app/universal-config.ts"),function(){function e(e){this.config=e,this.FILE_SERVER_URL=this.config.get("BOX_URL")}return e.prototype.setImage=function(e){if(!e)return!1;if(this.container=this.getContainer(),this.container){this.container.innerHTML="";var t=document.createElement("img");return t.src=""+this.FILE_SERVER_URL+e,this.container.appendChild(t),!0}return!1},e.prototype.showImage=function(){if(!1!==this.getImage()){return this.viewerInstance=new o.a(this.container.querySelector("img"),{inline:!1,navbar:!1,toolbar:{zoomIn:{tooltip:"Zoom in"},zoomOut:{tooltip:"Zoom out"},oneToOne:{tooltip:"Actual size"},reset:{tooltip:"Optimized view"},prev:!1,play:!1,next:!1,rotateLeft:{tooltip:"Rotate"},rotateRight:{tooltip:"Rotate"},flipHorizontal:{tooltip:"Flip horizontal"},flipVertical:{tooltip:"Flip vertical"},print:{tooltip:"Print"}},hidden:function(){var e=document.querySelector(".viewer-container");e&&e.remove()}}),this.viewerInstance.show(!0),!0}return!1},e.prototype.destroyViewer=function(){this.viewerInstance&&this.viewerInstance.destroy()},e.prototype.getContainer=function(){return document.getElementById(i.NOTE_IMAGE_VIEWER_CONTAINER)},e.prototype.getImage=function(){return!!this.container&&this.container.querySelector("img")},e}())},"./src/app/share/note/outlines/outline-btn.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_OutlineBtnComponent",(function(){return c})),n.d(t,"View_OutlineBtnComponent_0",(function(){return p})),n.d(t,"View_OutlineBtnComponent_Host_0",(function(){return f})),n.d(t,"OutlineBtnComponentNgFactory",(function(){return h}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/share/note/outlines/outline-btn.component.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=r["ɵcrt"]({encapsulation:0,styles:[".nns-btn-wrapper[_ngcontent-%COMP%]{\n      width: 32px;\n      height: 32px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      cursor: pointer;\n      background-color: #F5F5F5;\n      border-radius: 50%;\n    }\n    nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n      width: 16px!important;\n      height: 16px!important;\n    }\n    .nns-theme-night[_nghost-%COMP%]   [_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%]   [_nghost-%COMP%]{\n      background-color: rgba(0,0,0, 0.2);\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-btn-wrapper[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-btn-wrapper[_ngcontent-%COMP%]{\n      background-color: rgba(0,0,0, 0.2);\n    }"],data:{}});function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","hamburger"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"hamburger")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","hamburger-color"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"hamburger-color")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-btn-wrapper"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onClick()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](2,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](4,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,!n.isActive),e(t,4,0,n.isActive)}),null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-outline-btn",[],null,null,null,p,c)),r["ɵdid"](1,49152,null,0,s.OutlineBtnComponent,[l.Store],null,null)],null,null)}var h=r["ɵccf"]("nns-outline-btn",s.OutlineBtnComponent,f,{isActive:"isActive"},{},[])},"./src/app/share/note/outlines/outline-btn.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OutlineBtnComponent",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e}return e.prototype.onClick=function(){this._store.dispatch(Object(r.toggleOutlines)())},e}()},"./src/app/share/note/outlines/outline-item.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_OutlineItemComponent",(function(){return u})),n.d(t,"View_OutlineItemComponent_0",(function(){return h})),n.d(t,"View_OutlineItemComponent_Host_0",(function(){return m})),n.d(t,"OutlineItemComponentNgFactory",(function(){return g}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/common/icon.component.ngfactory.js"),a=n("./src/app/common/icon.component.ts"),s=n("./src/app/share/note/outlines/outline-item.component.ts"),l=n("./src/app/share/note/note.service.ts"),c=n("./node_modules/@ngrx/store/fesm5/store.js"),u=r["ɵcrt"]({encapsulation:0,styles:[".nns-outline-title[_ngcontent-%COMP%]{\n      font-size: 12px;\n      color: #1F1F1F;\n      flex: 0 0 calc(100% - 16px);\n      max-width: calc(100% - 16px);\n      text-overflow: ellipsis;\n      overflow: hidden;\n      font-family: 'Roboto', sans-serif;\n    }\n    .nns-outline-title[_ngcontent-%COMP%]:hover, .nns-outline-title__active[_ngcontent-%COMP%]{\n      color: #00A1B7;\n    }\n    .nns-outline-title__single[_ngcontent-%COMP%]{\n      padding-left: 18px;\n    }\n    .nns-outline-children[_ngcontent-%COMP%]{\n      padding-left: 8px;\n      margin-top: 8px;\n      flex: 0 0 100%;\n      box-sizing: border-box;\n    }\n    .nns-outline-child__empty[_ngcontent-%COMP%]{\n      padding-left: 16px;\n    }\n    .nns-outline-child[_ngcontent-%COMP%]:not(:last-child){\n      margin-bottom: 8px;\n    }\n    .nns-outline-arrow[_ngcontent-%COMP%]{\n      cursor: pointer;\n      flex: 0 0 16px;\n    }\n\n    .nns-outline-arrow[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n      width: 16px;\n      height: 16px;\n    }\n    .nns-outline-arrow[_ngcontent-%COMP%]{\n      transform: rotate(90deg);\n    }\n    .nns-outline-arrow__collapsed[_ngcontent-%COMP%]{\n      transform: rotate(180deg);\n    }\n    [_nghost-%COMP%] {\n      display: flex;\n      flex-wrap: wrap;\n      align-items: flex-start;\n      box-sizing: border-box;\n    }\n    .nns-outline__main[_nghost-%COMP%]    > .nns-outline-title[_ngcontent-%COMP%]{\n      font-weight: 500;\n    }\n    .nns-outline__main[_nghost-%COMP%]   .nns-outline-children[_ngcontent-%COMP%]{\n      padding-left: 16px;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-outline-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-outline-title[_ngcontent-%COMP%]{\n      color: #fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-outline-title[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-outline-title[_ngcontent-%COMP%]:hover, .nns-theme-night[_nghost-%COMP%]   .nns-outline-title__active[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-outline-title__active[_ngcontent-%COMP%]{\n      color: #00A1B7;\n    }"],data:{}});function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-outline-arrow"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToggleItem()&&r);return r}),null,null)),r["ɵdid"](1,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](2,{"nns-outline-arrow__collapsed":0}),(e()(),r["ɵeld"](3,0,null,null,1,"nns-icon",[["icon","arrow-up"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,4).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,4).onMouseLeave()&&o);return o}),i.View_IconComponent_0,i.RenderType_IconComponent)),r["ɵdid"](4,573440,null,0,a.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=e(t,2,0,t.component.item.isCollapsed);e(t,1,0,"nns-outline-arrow",n);e(t,4,0,"arrow-up")}),(function(e,t){e(t,3,0,r["ɵnov"](t,4)._classes)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-outline-child"]],null,null,null,null,null)),r["ɵdid"](1,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](2,{"nns-outline-child__empty":0}),(e()(),r["ɵeld"](3,0,null,null,1,"nns-outline-item",[],[[8,"className",0]],null,null,h,u)),r["ɵdid"](4,638976,null,0,s.OutlineItemComponent,[l.NoteService,c.Store],{item:[0,"item"]},null)],(function(e,t){var n=e(t,2,0,!t.context.$implicit.children||!t.context.$implicit.children.length);e(t,1,0,"nns-outline-child",n),e(t,4,0,t.context.$implicit)}),(function(e,t){e(t,3,0,r["ɵnov"](t,4).classNames)}))}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-outline-children"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](2,278528,null,0,o.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.item.children)}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](1,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](2,0,null,null,3,"a",[["class","nns-outline-title"]],[[8,"href",4]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onOutlineClick(n,o.item.id)&&r);return r}),null,null)),r["ɵdid"](3,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](4,{"nns-outline-title__main":0,"nns-outline-title__single":1,"nns-outline-title__active":2}),(e()(),r["ɵted"](5,null,[" "," "])),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](7,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.item.children.length);var r=e(t,4,0,0===n.item.level,0===n.item.level&&!n.item.children.length,n.item.isActive);e(t,3,0,"nns-outline-title",r),e(t,7,0,n.item.children&&n.item.children.length&&n.item.isCollapsed)}),(function(e,t){var n=t.component;e(t,2,0,n.href),e(t,5,0,n.item.text)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-outline-item",[],[[8,"className",0]],null,null,h,u)),r["ɵdid"](1,638976,null,0,s.OutlineItemComponent,[l.NoteService,c.Store],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}var g=r["ɵccf"]("nns-outline-item",s.OutlineItemComponent,m,{item:"item"},{},[])},"./src/app/share/note/outlines/outline-item.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OutlineItemComponent",(function(){return o}));n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/share/note/note.service.ts");var r=n("./src/app/share/note/outlines/outline.actions.ts"),o=function(){function e(e,t){this.noteService=e,this._store=t}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){if(e.item){0===this.item.level&&(this.classNames="nns-outline__main");var t=window.location,n=t.origin,r=t.pathname;this.href=""+n+r+"#"+this.item.id}},e.prototype.onToggleItem=function(){this._store.dispatch(Object(r.toggleOutlineIsCollapsed)(this.item.id))},e.prototype.onOutlineClick=function(e,t){var n=this;e.preventDefault(),this.noteService.scrollToHash("#"+t);var o=document.getElementsByTagName("nns-app")[0];this._store.dispatch(Object(r.setOutlineIsActive)(this.item.id,!0));var i=document.getElementById(t);this.postOutlineMessage(i),setTimeout((function(){o.addEventListener("scroll",(function t(){e._store.dispatch(Object(r.setOutlineIsActive)(e.item.id,!1)),o.removeEventListener("scroll",t)}));var e=n}),50)},e.prototype.postOutlineMessage=function(e){window.top.postMessage({message:"editor:outline",value:{top:this.getElementOffsetPosition(e)}},"*")},e.prototype.getElementOffsetPosition=function(e){var t=0;do{t+=e.offsetTop}while(e=e.offsetParent);return t},e}()},"./src/app/share/note/outlines/outline.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"RECEIVE_OUTLINES",(function(){return r})),n.d(t,"SET_OUTLINE_IS_ACTIVE",(function(){return o})),n.d(t,"TOGGLE_OUTLINE_IS_COLLAPSED",(function(){return i})),n.d(t,"receiveOutlines",(function(){return a})),n.d(t,"toggleOutlineIsCollapsed",(function(){return s})),n.d(t,"setOutlineIsActive",(function(){return l}));var r="RECEIVE_OUTLINES",o="SET_OUTLINE_IS_ACTIVE",i="TOGGLE_OUTLINE_IS_COLLAPSED";function a(e){return{type:r,outlines:e}}function s(e){return{type:i,outlineId:e}}function l(e,t){return{type:o,id:e,isActive:t}}},"./src/app/share/note/outlines/outline.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_OutlineComponent",(function(){return p})),n.d(t,"View_OutlineComponent_0",(function(){return h})),n.d(t,"View_OutlineComponent_Host_0",(function(){return m})),n.d(t,"OutlineComponentNgFactory",(function(){return g}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/outlines/outline-item.component.ngfactory.js"),i=n("./src/app/share/note/outlines/outline-item.component.ts"),a=n("./src/app/share/note/note.service.ts"),s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=n("./src/app/common/icon.component.ngfactory.js"),c=n("./src/app/common/icon.component.ts"),u=n("./node_modules/@angular/common/fesm5/common.js"),d=n("./src/app/share/note/outlines/outline.component.ts"),p=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      display: block;\n      max-height: 100%;\n      width: 230px;\n      box-sizing: border-box;\n      bottom: 0;\n      background-color: #fff;\n      overflow: hidden;\n    }\n    .nns-outlines-floating[_nghost-%COMP%]{\n      position: fixed;\n      top: 60px;\n    }\n    .nns-outlines-floating[_nghost-%COMP%]   .nns-outline-wrapper[_ngcontent-%COMP%]{\n      padding-top: 20px;\n    }\n    .nns-outline-wrapper[_ngcontent-%COMP%]{\n      border-left: 1px solid #E8E8E8;\n      padding-left: 20px;\n      height: 100%;\n      overflow: hidden;\n      overflow-y: auto;\n      padding-right: 35px;\n      margin-right: -30px;\n      padding-bottom: 20px;\n      box-sizing: border-box;\n    }\n\n    .nns-outline-wrapper[_ngcontent-%COMP%]:hover{\n      padding-right: 5px;\n      margin-right: 0;\n    }\n\n    [_nghost-%COMP%]:not(.nns-outline-single)   .nns-outline-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.nns-outline-floating)   .nns-outline-wrapper[_ngcontent-%COMP%], \n    {\n      border: 1px solid #E8E8E8;\n      height: auto;\n      padding: 20px;\n    }\n    .nns-fullscreen.nns-outlines-floating[_nghost-%COMP%]{\n      top: 0;\n    }\n\n    .nns-outline-close[_ngcontent-%COMP%]{\n      position: absolute;\n      top: 0;\n      left: 5px;\n      cursor: pointer;\n      display: none;\n    }\n    .nns-outline-close[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n\n    nns-outline-item[_ngcontent-%COMP%]:not(:first-child) {\n      margin-top: 8px;\n    }\n\n    @media (max-width: 1200px) {\n      [_nghost-%COMP%]{\n        padding-top: 26px;\n      }\n      .nns-outlines-floating[_nghost-%COMP%]{\n        top: 0;\n        position: relative;\n      }\n      .nns-outline-close[_ngcontent-%COMP%]{\n        display: block;\n      }\n      [_nghost-%COMP%]{\n        position: fixed!important;\n        top: 57px!important;\n        border-left: 1px solid #E8E8E8;\n        right: 0;\n      }\n      [_nghost-%COMP%]   .nns-outline-wrapper[_ngcontent-%COMP%]{\n        border: none!important;\n        padding-top: 0;\n      }\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-outline-wrapper[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-outline-wrapper[_ngcontent-%COMP%]{\n      border-color: rgba(255,255,255,0.12);\n    }\n    .nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%]{\n      background-color: #20252B;\n      border-color: rgba(255,255,255,0.12);\n    }"],data:{}});function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-outline-item",[],[[8,"className",0]],null,null,o.View_OutlineItemComponent_0,o.RenderType_OutlineItemComponent)),r["ɵdid"](1,638976,null,0,i.OutlineItemComponent,[a.NoteService,s.Store],{item:[0,"item"]},null)],(function(e,t){e(t,1,0,t.context.$implicit)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"div",[["class","nns-outline-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-outline-close"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onClose()&&r);return r}),null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","close"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),l.View_IconComponent_0,l.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,c.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,2,"div",[["class","nns-outline-list"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](6,278528,null,0,u.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,3,0,"close"),e(t,6,0,n.outlines)}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-outline",[],[[8,"className",0]],null,null,h,p)),r["ɵdid"](1,770048,null,0,d.OutlineComponent,[s.Store,"isBrowser"],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}var g=r["ɵccf"]("nns-outline",d.OutlineComponent,m,{outlines:"outlines",isFullScreen:"isFullScreen",isSingle:"isSingle"},{},[])},"./src/app/share/note/outlines/outline.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OutlineComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e,t){this._store=e,this.isBrowser=t}return e.prototype.ngOnInit=function(){this.isBrowser&&(this.appElement=document.getElementsByTagName("nns-app")[0],this.outlineWrapper=document.getElementById("nns-outline-wrapper"),this.appElement.addEventListener("scroll",t));var e=this;function t(t){var n=t.target.scrollTop;e.scrollTop=n,e.isSingle&&e.isFullScreen&&e.isFloating||(e.scrollTopFloating=e.outlineWrapper.offsetTop,n>e.scrollTopFloating&&(e.isFloating||(e.isFloating=!0,e.setClassNames())),n<e.scrollTopFloating&&(e.isFloating=!1,e.setClassNames()))}this.scrollEventListener=t},e.prototype.ngOnChanges=function(e){(e.isSingle||e.isFullScreen)&&(this.isSingle&&this.isFullScreen&&!this.isFloating&&(this.isFloating=!0),this.isSingle&&!this.isFullScreen&&this.isFloating&&(!this.scrollTop||this.scrollTop<80)&&(this.isFloating=!1),this.setClassNames())},e.prototype.setClassNames=function(){var e="";this.isFloating&&(e="nns-outlines-floating"),this.isFullScreen&&(e+=" nns-fullscreen"),this.isSingle&&(e+=" nns-outline-single"),this.classNames=e},e.prototype.onClose=function(){this._store.dispatch(Object(r.toggleOutlines)())},e.prototype.ngOnDestroy=function(){this.appElement.removeEventListener("scroll",this.scrollEventListener)},e}()},"./src/app/share/note/outlines/outline.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"outlineReducer",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./src/app/share/note/outlines/outline.actions.ts"),i=[];function a(e,t){switch(void 0===e&&(e=i),t.type){case o.RECEIVE_OUTLINES:var n=t.outlines.map((function(e){return e.children=[],e.isActive=!1,e.level?e.isCollapsed=!1:e.isCollapsed=!0,e}));return Object.assign({},n);case o.SET_OUTLINE_IS_ACTIVE:var a=t.id,s=t.isActive,l=Object.values(e);return l=l.map((function(e){return e.children=[],e.id==a?e.isActive=s:s&&(e.isActive=!1),r.__assign({},e)})),Object.assign({},r.__assign({},l));case o.TOGGLE_OUTLINE_IS_COLLAPSED:return l=Object.values(e).map((function(e){return e.id==t.outlineId&&(e.isCollapsed?e.isCollapsed=!1:e.isCollapsed=!0),r.__assign({},e)})),Object.assign({},l);default:return e}}},"./src/app/share/note/outlines/outline.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectOutlines",(function(){return i})),n.d(t,"selectAllOutlines",(function(){return a})),n.d(t,"selectPreparedAllOutlines",(function(){return s}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@ngrx/store/fesm5/store.js"),i=Object(o.createFeatureSelector)("outlines"),a=Object(o.createSelector)(i,(function(e){return Object.values(e)})),s=Object(o.createSelector)(a,(function(e){if(e.length){var t=[];return e.forEach((function(e){if(e.children=[],0==e.level)t.push(r.__assign({},e));else{var n=t.length-1;t[n]=function e(t,n){if(t.level+1==n.level)return t.children||(t.children=[]),t.children.push(r.__assign({},n)),t;var o=t.children.length-1;return t.children[o]=e(r.__assign({},t.children[o]),r.__assign({},n)),t}(r.__assign({},t[n]),r.__assign({},e))}})),t}return null}))},"./src/app/share/note/overlay-loading.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_OverlayLoadingComponent",(function(){return i})),n.d(t,"View_OverlayLoadingComponent_0",(function(){return a})),n.d(t,"View_OverlayLoadingComponent_Host_0",(function(){return s})),n.d(t,"OverlayLoadingComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/overlay-loading.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position: absolute;\n      width: 100%;\n      height: 100%;\n      top: 50%;\n      transform: translateY(-10%);\n    }\n\n    .bubblingG[_ngcontent-%COMP%] {\n      text-align: center;\n      width:150px;\n      height:94px;\n      margin: auto;\n    }\n\n    .bubblingG[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n      display: inline-block;\n      vertical-align: middle;\n      width: 19px;\n      height: 19px;\n      margin: 47px auto;\n      background: rgb(0,0,0);\n      border-radius: 94px;\n        -o-border-radius: 94px;\n        -ms-border-radius: 94px;\n        -webkit-border-radius: 94px;\n        -moz-border-radius: 94px;\n      animation: bubblingG 1.5s infinite alternate;\n        -o-animation: bubblingG 1.5s infinite alternate;\n        -ms-animation: bubblingG 1.5s infinite alternate;\n        -webkit-animation: bubblingG 1.5s infinite alternate;\n        -moz-animation: bubblingG 1.5s infinite alternate;\n    }\n\n    #bubblingG_1[_ngcontent-%COMP%] {\n      animation-delay: 0s;\n        -o-animation-delay: 0s;\n        -ms-animation-delay: 0s;\n        -webkit-animation-delay: 0s;\n        -moz-animation-delay: 0s;\n    }\n\n    #bubblingG_2[_ngcontent-%COMP%] {\n      animation-delay: 0.45s;\n        -o-animation-delay: 0.45s;\n        -ms-animation-delay: 0.45s;\n        -webkit-animation-delay: 0.45s;\n        -moz-animation-delay: 0.45s;\n    }\n\n    #bubblingG_3[_ngcontent-%COMP%] {\n      animation-delay: 0.9s;\n        -o-animation-delay: 0.9s;\n        -ms-animation-delay: 0.9s;\n        -webkit-animation-delay: 0.9s;\n        -moz-animation-delay: 0.9s;\n    }\n\n\n\n    @keyframes bubblingG {\n      0% {\n        width: 19px;\n        height: 19px;\n        background-color:rgb(0,0,0);\n        transform: translateY(0);\n      }\n\n      100% {\n        width: 45px;\n        height: 45px;\n        background-color:rgb(255,255,255);\n        transform: translateY(-39px);\n      }\n    }\n\n    @-o-keyframes bubblingG {\n      0% {\n        width: 19px;\n        height: 19px;\n        background-color:rgb(0,0,0);\n        -o-transform: translateY(0);\n      }\n\n      100% {\n        width: 45px;\n        height: 45px;\n        background-color:rgb(255,255,255);\n        -o-transform: translateY(-39px);\n      }\n    }\n\n    @-ms-keyframes bubblingG {\n      0% {\n        width: 19px;\n        height: 19px;\n        background-color:rgb(0,0,0);\n        -ms-transform: translateY(0);\n      }\n\n      100% {\n        width: 45px;\n        height: 45px;\n        background-color:rgb(255,255,255);\n        -ms-transform: translateY(-39px);\n      }\n    }\n\n    @-webkit-keyframes bubblingG {\n      0% {\n        width: 19px;\n        height: 19px;\n        background-color:rgb(0,0,0);\n        -webkit-transform: translateY(0);\n      }\n\n      100% {\n        width: 45px;\n        height: 45px;\n        background-color:rgb(255,255,255);\n        -webkit-transform: translateY(-39px);\n      }\n    }\n\n    @-moz-keyframes bubblingG {\n      0% {\n        width: 19px;\n        height: 19px;\n        background-color:rgb(0,0,0);\n        -moz-transform: translateY(0);\n      }\n\n      100% {\n        width: 45px;\n        height: 45px;\n        background-color:rgb(255,255,255);\n        -moz-transform: translateY(-39px);\n      }\n    }"],data:{}});function a(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","bubblingG"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"span",[["id","bubblingG_1"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,"span",[["id","bubblingG_2"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,0,"span",[["id","bubblingG_3"]],null,null,null,null,null))],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"overlay-loading",[],null,null,null,a,i)),r["ɵdid"](1,49152,null,0,o.OverlayLoadingComponent,[],null,null)],null,null)}var l=r["ɵccf"]("overlay-loading",o.OverlayLoadingComponent,s,{},{},[])},"./src/app/share/note/overlay-loading.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"OverlayLoadingComponent",(function(){return r}));var r=function(){}},"./src/app/share/note/tasks-manager-plugin.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TasksManagerPlugin",(function(){return i}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/@angular/http/fesm5/http.js"),i=(n("./src/app/universal-config.ts"),function(){function e(e,t){this.http=e,this.config=t,this.gatewayUrl=this.config.get("GATEWAY_URL"),this.staticAssetsPrefix=this.config.get("BOX_URL")+"/file"}return e.prototype.setup=function(e){this.shareId=e.shareId,this.shareSecurityKey=e.shareSecurityKey},e.prototype.getReadOnlyTasksList=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t,n=this;return r.__generator(this,(function(r){switch(r.label){case 0:return[4,this.readTasksLists()];case 1:return[2,{title:(t=r.sent()).taskLists.find((function(t){return t.globalId===e})).title,tasks:t.tasks.filter((function(t){return t.taskListId===e})).map((function(e){return{title:e.title,done:e.done,labels:t.labels.filter((function(t){return t.taskId===e.globalId})).map((function(e){var n=t.workspaceLabels.find((function(t){return t.globalId===e.labelId}));return n?{color:n.color,title:n.title}:(console.warn("Workspace label was not found for label:",e),null)})).filter(Boolean),deadlineDate:1e3*e.deadlineDate||0,assignees:t.assignees.filter((function(t){return t.taskId===e.globalId})).map((function(e){var r=t.users.find((function(t){return t.id===e.userId})),o=t.avatars.find((function(t){return t.userId===e.userId}));return r?{displayName:r.firstname,avatarUrl:o?n.staticAssetsPrefix+"/"+o.storedFileUUID:null}:(console.warn("Member was not found for assignee:",e),null)})).filter(Boolean)}}))}]}}))}))},e.prototype.readTasksLists=function(){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(e){return this.tasksListsPromise||(this.tasksListsPromise=this.apiLoadTasksLists({shareId:this.shareId,shareSecurityKey:this.shareSecurityKey})),[2,this.tasksListsPromise]}))}))},e.prototype.getCookie=function(e){var t={};return document.cookie.split("; ").forEach((function(e){var n=e.split("="),r=n[0],o=n[1];t[r]=o})),t[e]},e.prototype.apiLoadTasksLists=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t;return r.__generator(this,(function(n){switch(n.label){case 0:return t=new o.Headers({"x-session-id":this.getCookie("eversessionid")}),[4,this.http.get(this.gatewayUrl+"/ft:tasks/shares/"+e.shareId+"?securityKey="+e.shareSecurityKey,{headers:t}).toPromise()];case 1:return[2,n.sent().json()]}}))}))},e.prototype.symanticColorToHex=function(e){return"#000"},e}())},"./src/app/share/note/todos-panel.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_TodosPanelComponent",(function(){return u})),n.d(t,"View_TodosPanelComponent_0",(function(){return d})),n.d(t,"View_TodosPanelComponent_Host_0",(function(){return p})),n.d(t,"TodosPanelComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/button.component.ngfactory.js"),i=n("./src/app/common/button.component.ts"),a=n("./src/app/share/note/todos.component.ngfactory.js"),s=n("./src/app/share/note/todos.component.ts"),l=n("./src/app/share/note/todos-panel.component.ts"),c=n("./node_modules/@ngrx/store/fesm5/store.js"),u=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position:fixed;\n      right:0;\n      top:0;\n      padding:57px 0 0 0;\n      box-sizing:border-box;\n      width:100%;\n      height:100%;\n      z-index:69;\n    }\n    .shade[_ngcontent-%COMP%] {\n      background: rgba(60,72,73,0.30);\n      position:absolute;\n      left:0;\n      top:0;\n      width:100%;\n      height:100%;\n    }\n    .wrapper[_ngcontent-%COMP%] {\n      position:relative;\n      width:100%;\n      height:100%;\n    }\n    .content[_ngcontent-%COMP%] {\n      position:absolute;\n      right:0;\n      top:0;\n      width:420px;\n      height:100%;\n      box-sizing:border-box;\n      background:#fff;\n      box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50);\n      z-index:5;\n    }\n\n    .top[_ngcontent-%COMP%] {\n      padding:8px;\n      border-bottom:1px solid #cdcdcd;\n    }\n\n    .title[_ngcontent-%COMP%] {\n      display:block;\n      color:rgba(0,0,0, 0.8);\n      font-size:18px;\n      line-height:1;\n      padding:8px;\n    }\n    .title[_ngcontent-%COMP%]   .title-count[_ngcontent-%COMP%] {\n      margin:0 8px 0 0;\n    }\n    .title[_ngcontent-%COMP%]   .title-count-shape[_ngcontent-%COMP%] {\n      background:#1F95A7;\n      border-radius:2px;\n      min-width:24px;\n      height:24px;\n      padding:0 4px;\n      text-align:center;\n      color:#fff;\n      font-weight:bold;\n      font-size:16px;\n    }\n    .close-button[_ngcontent-%COMP%] {\n      padding:8px;\n    }\n\n    .inner[_ngcontent-%COMP%] {\n      overflow:auto;\n    }\n\n    .nns-fullscreen[_nghost-%COMP%], .nns-fullscreen   [_nghost-%COMP%] {\n      padding:0;\n      z-index:450;\n    }\n\n    .active[_ngcontent-%COMP%] {display:block;}\n\n    .nns-full-screen[_nghost-%COMP%]{\n      padding-top: 0;\n    }",".nns-theme-night[_nghost-%COMP%]   .shade[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .shade[_ngcontent-%COMP%] {\n      background:rgba(0,0,0,0.60);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .content[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .content[_ngcontent-%COMP%] {\n      background: #292E32;\n      box-shadow:0 2px 4px 0 rgba(0,0,0,0.50);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .title[_ngcontent-%COMP%] {\n      color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .top[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .top[_ngcontent-%COMP%] {\n      border-color:rgba(0,0,0,0.12);\n    }"],data:{}});function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,16,"div",[["class","wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"div",[["class","shade"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.closeTodosPanel()&&r);return r}),null,null)),(e()(),r["ɵeld"](2,0,null,null,14,"div",[["class","content"],["flex",""],["layout","column"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,10,"div",[["class","top"],["flex","none"],["layout","row"],["layout-align","space-between center"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,6,"div",[["class","title"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,5,"span",[["class","title-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,2,"span",[["class","title-count"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,1,"span",[["class","title-count-shape"],["flex","none"],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵted"](8,null,["",""])),(e()(),r["ɵeld"](9,0,null,null,1,"span",[["class","title-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["To-do"])),(e()(),r["ɵeld"](11,0,null,null,2,"div",[["class","close-button"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](12,0,null,null,1,"nns-button",[["class","transparent"],["icon","close-s"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.closeTodosPanel()&&r);return r}),o.View_ButtonComponent_0,o.RenderType_ButtonComponent)),r["ɵdid"](13,49152,null,0,i.ButtonComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](14,0,null,null,2,"div",[["class","inner"],["flex",""]],null,null,null,null,null)),(e()(),r["ɵeld"](15,0,null,null,1,"nns-todos",[],null,null,null,a.View_TodosComponent_0,a.RenderType_TodosComponent)),r["ɵdid"](16,573440,null,0,s.TodosComponent,[],{todos:[0,"todos"],todosOrder:[1,"todosOrder"]},null)],(function(e,t){var n=t.component;e(t,13,0,"close-s"),e(t,16,0,n.todos,n.todosOrder)}),(function(e,t){e(t,8,0,t.component.todosUnchecked.length)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-todos-panel",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),d,u)),r["ɵdid"](1,573440,null,0,l.TodosPanelComponent,[c.Store],null,null)],null,null)}var f=r["ɵccf"]("nns-todos-panel",l.TodosPanelComponent,p,{todos:"todos",todosOrder:"todosOrder"},{},[])},"./src/app/share/note/todos-panel.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TodosPanelComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e){this._store=e,this.todosChecked=[],this.todosUnchecked=[]}return e.prototype.closeTodosPanel=function(){this._store.dispatch(Object(r.closeTodosPanel)())},e.prototype.ngOnChanges=function(e){e&&e.todos&&(this.todosChecked=this.todos.filter((function(e){return!!e.checked})),this.todosUnchecked=this.todos.filter((function(e){return!e.checked})))},e.prototype.closeFullScreen=function(){this._store.dispatch(Object(r.closeTodosPanel)())},e}()},"./src/app/share/note/todos.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_TodosComponent",(function(){return a})),n.d(t,"View_TodosComponent_0",(function(){return c})),n.d(t,"View_TodosComponent_Host_0",(function(){return u})),n.d(t,"TodosComponentNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/share/note/todos.component.ts"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display:block;\n      padding:8px;\n    }\n    .nns-todo-item[_ngcontent-%COMP%] {\n      border-bottom:1px solid #dcdcdc;\n      font-size:14px;\n      padding:16px 8px;\n    }\n    .nns-todo-item[_ngcontent-%COMP%]:first {padding-top:8px;}\n    .nns-todo-item-close[_ngcontent-%COMP%] {\n      color: #9DA5A6;\n      text-decoration:line-through;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-todo-item[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-todo-item[_ngcontent-%COMP%] {border-color:rgba(0,0,0,0.12);}"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-todo-item"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.context.$implicit.label)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-todo-item nns-todo-item-close"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,[" "," "]))],null,(function(e,t){e(t,1,0,t.context.$implicit.label)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,s)),r["ɵdid"](1,278528,null,0,o.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](3,278528,null,0,o.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.todosUnchecked),e(t,3,0,n.todosChecked)}),null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-todos",[],null,null,null,c,a)),r["ɵdid"](1,573440,null,0,i.TodosComponent,[],null,null)],null,null)}var d=r["ɵccf"]("nns-todos",i.TodosComponent,u,{todos:"todos",todosOrder:"todosOrder"},{},[])},"./src/app/share/note/todos.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TodosComponent",(function(){return r}));var r=function(){function e(){this.todos=[],this.todosOrder=[],this.todosChecked=[],this.todosUnchecked=[]}return e.prototype.ngOnChanges=function(e){this.prepareTodos()},e.prototype.prepareTodos=function(){if(!this.todos)return this.todosChecked=[],void(this.todosUnchecked=[]);var e=this.todos.filter((function(e){return!!e.checked})),t=this.todos.filter((function(e){return!e.checked}));this.todosOrder&&(t=t.sort(this.comparer.bind(this)),e=e.sort(this.comparer.bind(this))),this.todosChecked=e,this.todosUnchecked=t},e.prototype.comparer=function(e,t){var n=e.globalId,r=t.globalId,o=this.todosOrder.indexOf(n),i=this.todosOrder.indexOf(r);return-1===o&&-1===i?this.todos.indexOf[n]-this.todos.indexOf[r]:o-i},e}()},"./src/app/share/note/video-loader.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VideoLoaderComponent",(function(){return i})),n.d(t,"View_VideoLoaderComponent_0",(function(){return a})),n.d(t,"View_VideoLoaderComponent_Host_0",(function(){return s})),n.d(t,"VideoLoaderComponentNgFactory",(function(){return l}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/video-loader.component.ts"),i=r["ɵcrt"]({encapsulation:0,styles:[".spinner[_ngcontent-%COMP%] {\n        margin: 200px auto;\n        width: 40px;\n        height: 40px;\n        position: relative;\n        text-align: center;\n\n        -webkit-animation: rotate 2.0s infinite linear;\n        animation: rotate 2.0s infinite linear;\n      }\n\n      .dot1[_ngcontent-%COMP%], .dot2[_ngcontent-%COMP%] {\n        width: 60%;\n        height: 60%;\n        display: inline-block;\n        position: absolute;\n        top: 0;\n        border-radius: 100%;\n\n        -webkit-animation: bounce 2.0s infinite ease-in-out;\n        animation: bounce 2.0s infinite ease-in-out;\n        background-color: #0096a7;\n      }\n\n      .dot2[_ngcontent-%COMP%] {\n        top: auto;\n        bottom: 0px;\n        -webkit-animation-delay: -1.0s;\n        animation-delay: -1.0s;\n      }\n\n      @-webkit-keyframes rotate {\n        100% {\n          -webkit-transform: rotate(360deg)\n        }\n      }\n\n      @keyframes rotate {\n        100% {\n          transform: rotate(360deg);\n          -webkit-transform: rotate(360deg)\n        }\n      }\n\n      @-webkit-keyframes bounce {\n        0%, 100% {\n          -webkit-transform: scale(0.0)\n        }\n        50% {\n          -webkit-transform: scale(1.0)\n        }\n      }\n\n      @keyframes bounce {\n        0%, 100% {\n          transform: scale(0.0);\n          -webkit-transform: scale(0.0);\n        }\n        50% {\n          transform: scale(1.0);\n          -webkit-transform: scale(1.0);\n        }\n      }\n\n      div.nimbus-app-loading[_ngcontent-%COMP%] {\n        position: absolute;\n        left: 0;\n        right: 0;\n        top: 0;\n        bottom: 0;\n      }"],data:{}});function a(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","animated-container"],["ng-hide","true"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,3,"div",[["class","messaging"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,2,"div",[["class","spinner"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,0,"div",[["class","dot1"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,0,"div",[["class","dot2"]],null,null,null,null,null))],null,null)}function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-loader",[],null,null,null,a,i)),r["ɵdid"](1,114688,null,0,o.VideoLoaderComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}var l=r["ɵccf"]("nns-video-loader",o.VideoLoaderComponent,s,{},{},[])},"./src/app/share/note/video-loader.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VideoLoaderComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(){function e(){}return e.prototype.ngOnInit=function(){},e}()},"./src/app/share/note/video-player.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VideoPlayerComponent",(function(){return L})),n.d(t,"View_VideoPlayerComponent_0",(function(){return z})),n.d(t,"View_VideoPlayerComponent_Host_0",(function(){return q})),n.d(t,"VideoPlayerComponentNgFactory",(function(){return G}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/overlay-loading.component.ngfactory.js"),i=n("./src/app/share/note/overlay-loading.component.ts"),a=n("./src/va2/src/controls/vg-mute/vg-mute.ngfactory.js"),s=n("./src/va2/src/controls/vg-mute/vg-mute.ts"),l=n("./src/va2/src/core/services/vg-api.ts"),c=n("./src/va2/src/controls/vg-volume/vg-volume.ngfactory.js"),u=n("./src/va2/src/controls/vg-volume/vg-volume.ts"),d=n("./src/app/common/icon.component.ngfactory.js"),p=n("./src/app/common/icon.component.ts"),f=n("./src/va2/src/core/vg-player/vg-player.ngfactory.js"),h=n("./src/va2/src/core/services/vg-fullscreen-api.ts"),m=n("./src/va2/src/core/services/vg-controls-hidden.ts"),g=n("./src/va2/src/core/vg-player/vg-player.ts"),y=n("./node_modules/@angular/common/fesm5/common.js"),v=n("./src/va2/src/overlay-play/vg-overlay-play.ngfactory.js"),b=n("./src/va2/src/overlay-play/vg-overlay-play.ts"),_=n("./src/va2/src/core/vg-media/vg-media.ts"),w=n("./src/va2/src/controls/vg-controls.ngfactory.js"),C=n("./src/va2/src/controls/vg-controls.ts"),S=n("./src/va2/src/controls/vg-play-pause/vg-play-pause.ngfactory.js"),E=n("./src/va2/src/controls/vg-play-pause/vg-play-pause.ts"),x=n("./src/va2/src/controls/vg-time-display/vg-time-display.ngfactory.js"),k=n("./src/va2/src/controls/vg-time-display/vg-time-display.ts"),O=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar.ngfactory.js"),T=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar.ts"),A=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-current-time/vg-scrub-bar-current-time.ngfactory.js"),P=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-current-time/vg-scrub-bar-current-time.ts"),R=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/vg-scrub-bar-buffering-time.ngfactory.js"),I=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/vg-scrub-bar-buffering-time.ts"),M=n("./src/va2/src/controls/vg-fullscreen/vg-fullscreen.ngfactory.js"),N=n("./src/va2/src/controls/vg-fullscreen/vg-fullscreen.ts"),D=n("./src/app/share/note/video-player.component.ts"),j=n("./src/app/universal-config.ts"),L=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: block;\n      box-sizing: border-box;\n      position: relative;\n      color: white;\n      border: 1px solid #dcdcdc;\n      padding-bottom: 50px;\n      overflow:hidden;\n    }\n\n    .fullscreen[_nghost-%COMP%] {\n      padding-bottom: 0px;\n      overflow: visible;\n    }\n\n    .fullscreen[_nghost-%COMP%]   vg-controls[_ngcontent-%COMP%] {\n      bottom: 0px;\n    }\n\n    overlay-loading[_ngcontent-%COMP%] {\n      z-index:220;\n      display:block;\n      width:100%;\n      height:100%;\n      position:absolute;\n    }\n\n    vg-overlay-play[_ngcontent-%COMP%] {\n      width:100%;\n      height:100%;\n      position:absolute;\n      left:0;\n      top:0;\n    }\n\n    .nns-video-wrapper[_ngcontent-%COMP%] {\n      position: relative;\n      width: 100%;\n      height: 100%;\n      margin: 0 auto;\n    }\n\n    video[_ngcontent-%COMP%] {\n      position: absolute;\n      left: 0;\n      height: 100%;\n      width: 100%;\n    }\n\n    .fullscreen[_nghost-%COMP%]   .nns-video-wrapper[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{\n      box-sizing: border-box;\n      padding-bottom: 50px;\n    }\n\n    .fullscreen[_nghost-%COMP%]   .vg-overlay-play[_ngcontent-%COMP%]   .overlay-play-container[_ngcontent-%COMP%]{\n      box-sizing: border-box;\n      padding-bottom: 50px;\n    }\n\n    vg-player[_ngcontent-%COMP%] {\n      overflow: visible;\n    }\n\n    vg-controls[_ngcontent-%COMP%] {\n      background-color: #3e4849;\n      bottom: -50px;\n      left: 0;\n      box-sizing:border-box;\n      padding:0 8px;\n    }\n\n    .nns-vg-element[_ngcontent-%COMP%] {\n      width:auto;\n      padding:0 8px;\n    }\n\n    vg-scrub-bar[_ngcontent-%COMP%] {\n      bottom: 0;\n      background: none;\n      margin:0 8px;\n    }\n\n    vg-volume[_ngcontent-%COMP%] {\n      padding:0 8px;\n    }\n\n    vg-controls.fullscreen[_ngcontent-%COMP%] {\n      bottom: 0;\n    }\n\n    .divider[_ngcontent-%COMP%] {\n      display: flex;\n      justify-content: center;\n      width: 10px;\n      user-select: none;\n      line-height: 50px;\n    }\n\n    .video-download-button[_ngcontent-%COMP%] {\n      display: flex;\n      height: 50px;\n      justify-content: center;\n      line-height: 50px;\n      font-family:'Noto Sans', Verdana, Helvetica, sans-serif;\n    }\n\n    @media only screen and (max-width: 768px) {\n      vg-time-display[_ngcontent-%COMP%] {\n        width:auto;\n        padding:0 4px;\n      }\n      .nns-vg-element[_ngcontent-%COMP%], vg-controls[_ngcontent-%COMP%] {\n        padding:0 4px;\n      }\n    }\n    @media only screen and (max-width: 600px) {\n      vg-time-display[_ngcontent-%COMP%] {\n        font-size:12px;\n      }\n      vg-volume[_ngcontent-%COMP%] {\n        width:50px;\n        padding:0 10px 0 4px;\n      }\n    }\n    @media only screen and (max-width: 480px) {\n      vg-volume[_ngcontent-%COMP%] {display:none;}\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      border-color:rgba(255, 255, 255, 0.12);\n    }"],data:{}});function B(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"overlay-loading",[],null,null,null,o.View_OverlayLoadingComponent_0,o.RenderType_OverlayLoadingComponent)),r["ɵdid"](1,49152,null,0,i.OverlayLoadingComponent,[],null,null)],null,null)}function F(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-mute",[["class","nns-vg-element"]],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick()&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).onKeyDown(n)&&o);return o}),a.View_VgMute_0,a.RenderType_VgMute)),r["ɵdid"](1,245760,null,0,s.VgMute,[r.ElementRef,l.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}function U(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-volume",[],null,[["document","mousemove"],["document","mouseup"],[null,"keydown"]],(function(e,t,n){var o=!0;"document:mousemove"===t&&(o=!1!==r["ɵnov"](e,1).onDrag(n)&&o);"document:mouseup"===t&&(o=!1!==r["ɵnov"](e,1).onStopDrag(n)&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).arrowAdjustVolume(n)&&o);return o}),c.View_VgVolume_0,c.RenderType_VgVolume)),r["ɵdid"](1,245760,null,0,u.VgVolume,[r.ElementRef,l.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}function H(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","video-download-button"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"a",[["class","nns-vg-element"],["flex","none"],["layout","row"],["layout-align","center center"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","download-player"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),d.View_IconComponent_0,d.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,p.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,3,0,"download-player")}),(function(e,t){var n=t.component;e(t,1,0,n.fileServerUrl+(null==n.attachment?null:n.attachment.attachmentURL)+"?dw"),e(t,2,0,r["ɵnov"](t,3)._classes)}))}function V(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,39,"vg-player",[],[[2,"fullscreen",null],[2,"native-fullscreen",null],[2,"controls-hidden",null],[4,"z-index",null]],[[null,"onPlayerReady"],[null,"onChangeFullscreenEvent"]],(function(e,t,n){var r=!0,o=e.component;"onPlayerReady"===t&&(r=!1!==o.onPlayerReady(n)&&r);"onChangeFullscreenEvent"===t&&(r=!1!==o.onChangeFullscreen(n)&&r);return r}),f.View_VgPlayer_0,f.RenderType_VgPlayer)),r["ɵprd"](512,null,l.VgAPI,l.VgAPI,[]),r["ɵprd"](512,null,h.VgFullscreenAPI,h.VgFullscreenAPI,[]),r["ɵprd"](512,null,m.VgControlsHidden,m.VgControlsHidden,[]),r["ɵdid"](4,1228800,null,1,g.VgPlayer,[r.ElementRef,l.VgAPI,h.VgFullscreenAPI,m.VgControlsHidden],null,{onPlayerReady:"onPlayerReady",onChangeFullscreenEvent:"onChangeFullscreenEvent"}),r["ɵqud"](603979776,2,{medias:1}),(e()(),r["ɵand"](16777216,null,0,1,null,B)),r["ɵdid"](7,16384,null,0,y.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](8,0,null,0,1,"vg-overlay-play",[],[[2,"is-buffering",null]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,9).onClick()&&o);return o}),v.View_VgOverlayPlay_0,v.RenderType_VgOverlayPlay)),r["ɵdid"](9,245760,null,0,b.VgOverlayPlay,[r.ElementRef,l.VgAPI,h.VgFullscreenAPI,m.VgControlsHidden],null,null),(e()(),r["ɵeld"](10,0,null,0,3,"div",[["class","nns-video-wrapper"]],[[4,"height",null],[4,"width",null]],null,null,null,null)),(e()(),r["ɵeld"](11,0,[[1,0],["media",1],["video",1]],null,2,"video",[["id","singleVideo"],["preload","auto"]],null,null,null,null,null)),r["ɵdid"](12,212992,[[2,4]],0,_.VgMedia,[l.VgAPI,r.ChangeDetectorRef],{vgMedia:[0,"vgMedia"]},null),(e()(),r["ɵeld"](13,0,null,null,0,"source",[],[[8,"src",4],[8,"type",0]],null,null,null,null)),(e()(),r["ɵeld"](14,0,null,0,25,"vg-controls",[],[[4,"pointer-events",null],[2,"hide",null]],null,null,w.View_VgControls_0,w.RenderType_VgControls)),r["ɵdid"](15,278528,null,0,y.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](16,{fullscreen:0}),r["ɵdid"](17,4440064,null,0,C.VgControls,[l.VgAPI,r.ElementRef,m.VgControlsHidden],null,null),(e()(),r["ɵeld"](18,0,null,0,1,"vg-play-pause",[["class","nns-vg-element"]],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,19).onClick()&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,19).onKeyDown(n)&&o);return o}),S.View_VgPlayPause_0,S.RenderType_VgPlayPause)),r["ɵdid"](19,245760,null,0,E.VgPlayPause,[r.ElementRef,l.VgAPI],null,null),(e()(),r["ɵeld"](20,0,null,0,1,"vg-time-display",[["vgFormat","mm:ss"],["vgProperty","current"]],null,null,null,x.View_VgTimeDisplay_0,x.RenderType_VgTimeDisplay)),r["ɵdid"](21,245760,null,0,k.VgTimeDisplay,[r.ElementRef,l.VgAPI],{vgProperty:[0,"vgProperty"],vgFormat:[1,"vgFormat"]},null),(e()(),r["ɵeld"](22,0,null,0,1,"span",[["class","divider"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["/"])),(e()(),r["ɵeld"](24,0,null,0,1,"vg-time-display",[["vgFormat","mm:ss"],["vgProperty","total"]],null,null,null,x.View_VgTimeDisplay_0,x.RenderType_VgTimeDisplay)),r["ɵdid"](25,245760,null,0,k.VgTimeDisplay,[r.ElementRef,l.VgAPI],{vgProperty:[0,"vgProperty"],vgFormat:[1,"vgFormat"]},null),(e()(),r["ɵeld"](26,0,null,0,5,"vg-scrub-bar",[],[[2,"hide",null]],[[null,"mousedown"],["document","mousemove"],["document","mouseup"],[null,"touchstart"],["document","touchmove"],["document","touchcancel"],["document","touchend"],[null,"keydown"]],(function(e,t,n){var o=!0;"mousedown"===t&&(o=!1!==r["ɵnov"](e,27).onMouseDownScrubBar(n)&&o);"document:mousemove"===t&&(o=!1!==r["ɵnov"](e,27).onMouseMoveScrubBar(n)&&o);"document:mouseup"===t&&(o=!1!==r["ɵnov"](e,27).onMouseUpScrubBar(n)&&o);"touchstart"===t&&(o=!1!==r["ɵnov"](e,27).onTouchStartScrubBar(n)&&o);"document:touchmove"===t&&(o=!1!==r["ɵnov"](e,27).onTouchMoveScrubBar(n)&&o);"document:touchcancel"===t&&(o=!1!==r["ɵnov"](e,27).onTouchCancelScrubBar(n)&&o);"document:touchend"===t&&(o=!1!==r["ɵnov"](e,27).onTouchEndScrubBar(n)&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,27).arrowAdjustVolume(n)&&o);return o}),O.View_VgScrubBar_0,O.RenderType_VgScrubBar)),r["ɵdid"](27,245760,null,0,T.VgScrubBar,[r.ElementRef,l.VgAPI,m.VgControlsHidden],null,null),(e()(),r["ɵeld"](28,0,null,0,1,"vg-scrub-bar-current-time",[],null,null,null,A.View_VgScrubBarCurrentTime_0,A.RenderType_VgScrubBarCurrentTime)),r["ɵdid"](29,245760,null,0,P.VgScrubBarCurrentTime,[r.ElementRef,l.VgAPI],null,null),(e()(),r["ɵeld"](30,0,null,0,1,"vg-scrub-bar-buffering-time",[],null,null,null,R.View_VgScrubBarBufferingTime_0,R.RenderType_VgScrubBarBufferingTime)),r["ɵdid"](31,245760,null,0,I.VgScrubBarBufferingTime,[r.ElementRef,l.VgAPI],null,null),(e()(),r["ɵand"](16777216,null,0,1,null,F)),r["ɵdid"](33,16384,null,0,y.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,0,1,null,U)),r["ɵdid"](35,16384,null,0,y.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](36,0,null,0,1,"vg-fullscreen",[["class","nns-vg-element"]],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,37).onClick()&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,37).onKeyDown(n)&&o);return o}),M.View_VgFullscreen_0,M.RenderType_VgFullscreen)),r["ɵdid"](37,245760,null,0,N.VgFullscreen,[r.ElementRef,l.VgAPI,h.VgFullscreenAPI],null,null),(e()(),r["ɵand"](16777216,null,0,1,null,H)),r["ɵdid"](39,16384,null,0,y.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,7,0,n.isLoading),e(t,9,0),e(t,12,0,r["ɵnov"](t,11));var o=e(t,16,0,n.isFullscreen);e(t,15,0,o),e(t,17,0),e(t,19,0);e(t,21,0,"current","mm:ss");e(t,25,0,"total","mm:ss"),e(t,27,0),e(t,29,0),e(t,31,0),e(t,33,0,!n.isIosDevice),e(t,35,0,!n.isIosDevice),e(t,37,0),e(t,39,0,!n.isIosDevice)}),(function(e,t){var n=t.component;e(t,0,0,r["ɵnov"](t,4).isFullscreen,r["ɵnov"](t,4).isNativeFullscreen,r["ɵnov"](t,4).areControlsHidden,r["ɵnov"](t,4).zIndex),e(t,8,0,r["ɵnov"](t,9).isBuffering),e(t,10,0,n.heightPlayer,n.widthPlayer),e(t,13,0,n.fileServerUrl+(null==n.attachment?null:n.attachment.attachmentURL),null==n.attachment?null:n.attachment.mime),e(t,14,0,r["ɵnov"](t,17).isAdsPlaying,r["ɵnov"](t,17).hideControls),e(t,26,0,r["ɵnov"](t,27).hideScrubBar)}))}function z(e){return r["ɵvid"](0,[r["ɵqud"](671088640,1,{videoRef:0}),(e()(),r["ɵand"](16777216,null,null,1,null,V)),r["ɵdid"](2,16384,null,0,y.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.isBrowser&&n.attachment)}),null)}function q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-player",[],[[2,"fullscreen",null]],[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).exitFullscreen(n)&&o);return o}),z,L)),r["ɵdid"](1,704512,null,0,D.VideoPlayerComponent,["isBrowser",j.Config],null,null)],null,(function(e,t){e(t,0,0,r["ɵnov"](t,1).isFullscreen)}))}var G=r["ɵccf"]("nns-video-player",D.VideoPlayerComponent,q,{attachment:"attachment",maxHeight:"maxHeight",maxWidth:"maxWidth"},{},[])},"./src/app/share/note/video-player.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VideoPlayerComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./src/va2/core.ts"),o=(n("./src/app/universal-config.ts"),function(){function e(e,t){this.config=t,this.isLoading=!1,this.isBrowser=!1,this.heightPlayer="600px",this.widthPlayer="100%",this.isIosDevice=!1,this.isFullscreen=!1,this.subscriptions=[],this.isBrowser=e,this.fileServerUrl=this.config.get("BOX_URL"),this.isBrowser&&(this.isIosDevice=r.VgUtils.isiOSDevice())}return e.prototype.onPlayerReady=function(e){var t=this;this.api=e,this.isLoading=!this.api.canPlay,this.api.fsAPI.nativeFullscreen=!1,this.subscriptions.push(this.api.getDefaultMedia().subscriptions.ended.subscribe((function(){t.api.getDefaultMedia().currentTime=0}))),this.subscriptions.push(this.api.getDefaultMedia().subscriptions.canPlay.subscribe((function(){t.isLoading=!1}))),setTimeout((function(){t.isLoading=!1}),2e3),setTimeout((function(){t.resize()}),500),this.resize()},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e.prototype.ngOnChanges=function(){this.resize()},e.prototype.resize=function(){if(this.videoRef){this.videoRef.nativeElement.videoWidth,this.videoRef.nativeElement.videoHeight;var e=Number((this.maxWidth*(9/16)).toFixed(2));Number((this.maxHeight/(9/16)).toFixed(2));this.isFullscreen?(this.heightPlayer="100%",this.widthPlayer="100%"):e<=this.maxHeight||0===this.maxHeight?(this.heightPlayer=e+"px",this.widthPlayer=this.maxWidth+"px"):(this.heightPlayer=this.maxHeight+"px",this.widthPlayer=this.maxWidth+"px")}},e.prototype.exitFullscreen=function(){this.isFullscreen&&this.api.fsAPI.exit()},e.prototype.onChangeFullscreen=function(e){var t=this;!e&&this.videoRef&&this.videoRef.nativeElement&&this.videoRef.nativeElement.removeAttribute&&this.videoRef.nativeElement.removeAttribute("controls"),this.isFullscreen=e,this.resize(),setTimeout((function(){t.resize()}),200)},e}())},"./src/app/share/password/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SharePasswordModule",(function(){return r}));var r=function(){}},"./src/app/share/password/share-password.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SharePasswordComponent",(function(){return m})),n.d(t,"View_SharePasswordComponent_0",(function(){return v})),n.d(t,"View_SharePasswordComponent_Host_0",(function(){return b})),n.d(t,"SharePasswordComponentNgFactory",(function(){return _}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/forms/fesm5/forms.js"),i=n("./src/app/common/loader.component.ngfactory.js"),a=n("./src/app/common/loader.component.ts"),s=n("./src/app/common/icon.component.ngfactory.js"),l=n("./src/app/common/icon.component.ts"),c=n("./src/app/common/input.component.ngfactory.js"),u=n("./src/app/common/input.component.ts"),d=n("./node_modules/@angular/common/fesm5/common.js"),p=n("./src/app/common/button.component.ngfactory.js"),f=n("./src/app/common/button.component.ts"),h=n("./src/app/share/password/share-password.component.ts"),m=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      padding: 20px 0 105px;\n      position:relative;\n      box-sizing:border-box;\n    }\n\n    .nns-password-wrapper[_ngcontent-%COMP%] {\n      max-width:970px;\n      min-width:320px;\n      margin:0 auto;\n      padding:0 10px;\n    }\n    .nns-password-form[_ngcontent-%COMP%] {\n      text-align:center;\n      padding:16px 0;\n    }\n    .nns-form-title[_ngcontent-%COMP%] {\n      font-size:21px;\n      font-weight:bold;\n      line-height:1.6;\n    }\n    .nns-form-subtitle[_ngcontent-%COMP%] {\n      font-size:16px;\n      padding:0 0 16px 0;\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#2f3737;\n    }"],data:{}});function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,[[1,0],["input",1]],null,5,"input",[["placeholder","Enter password"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var o=!0,i=e.component;"input"===t&&(o=!1!==r["ɵnov"](e,1)._handleInput(n.target.value)&&o);"blur"===t&&(o=!1!==r["ɵnov"](e,1).onTouched()&&o);"compositionstart"===t&&(o=!1!==r["ɵnov"](e,1)._compositionStart()&&o);"compositionend"===t&&(o=!1!==r["ɵnov"](e,1)._compositionEnd(n.target.value)&&o);"ngModelChange"===t&&(o=!1!==(i.password=n)&&o);"keyup.enter"===t&&(o=!1!==i.sendPassword()&&o);return o}),null,null)),r["ɵdid"](1,16384,null,0,o.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,o.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,o.NG_VALUE_ACCESSOR,(function(e){return[e]}),[o.DefaultValueAccessor]),r["ɵdid"](3,671744,null,0,o.NgModel,[[8,null],[8,null],[8,null],[6,o.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,o.NgControl,null,[o.NgModel]),r["ɵdid"](5,16384,null,0,o.NgControlStatus,[[4,o.NgControl]],null,null)],(function(e,t){var n=t.component;e(t,3,0,n.isLoading,n.password)}),(function(e,t){e(t,0,0,r["ɵnov"](t,5).ngClassUntouched,r["ɵnov"](t,5).ngClassTouched,r["ɵnov"](t,5).ngClassPristine,r["ɵnov"](t,5).ngClassDirty,r["ɵnov"](t,5).ngClassValid,r["ɵnov"](t,5).ngClassInvalid,r["ɵnov"](t,5).ngClassPending)}))}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-loader",[],null,null,null,i.View_LoaderComponent_0,i.RenderType_LoaderComponent)),r["ɵdid"](1,49152,null,0,a.LoaderComponent,[],null,null)],null,null)}function v(e){return r["ɵvid"](0,[r["ɵqud"](671088640,1,{input:0}),(e()(),r["ɵeld"](1,0,null,null,16,"div",[["class","nns-password-wrapper"],["flex",""],["layout","column"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["flex","none"],["icon","lock-56"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),s.View_IconComponent_0,s.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,l.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,13,"div",[["class","nns-password-form"],["flex","none"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,1,"div",[["class","nns-form-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Password protected"])),(e()(),r["ɵeld"](7,0,null,null,1,"div",[["class","nns-form-subtitle"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Enter Password to access the shared link"])),(e()(),r["ɵeld"](9,0,null,null,5,"nns-input",[],null,null,null,c.View_InputComponent_0,c.RenderType_InputComponent)),r["ɵdid"](10,49152,null,0,u.InputComponent,[],{error:[0,"error"],errorPosition:[1,"errorPosition"]},null),(e()(),r["ɵand"](16777216,null,0,1,null,g)),r["ɵdid"](12,16384,null,0,d.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,0,1,null,y)),r["ɵdid"](14,16384,null,0,d.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](15,0,null,null,2,"div",[["class","nns-form-actions"]],null,null,null,null,null)),(e()(),r["ɵeld"](16,0,null,null,1,"nns-button",[["class","full-width medium"],["text","SHOW CONTENT"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.sendPassword()&&r);return r}),p.View_ButtonComponent_0,p.RenderType_ButtonComponent)),r["ɵdid"](17,49152,null,0,f.ButtonComponent,[],{text:[0,"text"]},null)],(function(e,t){var n=t.component;e(t,3,0,"lock-56"),e(t,10,0,n.error,n.errorPosition),e(t,12,0,!n.isLoading),e(t,14,0,n.isLoading);e(t,17,0,"SHOW CONTENT")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes)}))}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-password",[],null,null,null,v,m)),r["ɵdid"](1,245760,null,0,h.SharePasswordComponent,["isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var _=r["ɵccf"]("nns-share-password",h.SharePasswordComponent,b,{isPasswordWrong:"isPasswordWrong",visual:"visual",share:"share"},{onSendPassword:"onSendPassword"},[])},"./src/app/share/password/share-password.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SharePasswordComponent",(function(){return i}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/input.component.ts"),i=function(){function e(e){this.isBrowser=e,this.onSendPassword=new r.EventEmitter,this.errorPosition=o.ERROR_MESSAGE_POSITIONS.TOP}return e.prototype.ngOnInit=function(){var e,t=this;if(this.isPasswordWrong&&(this.subscription=this.isPasswordWrong.subscribe((function(e){t.error=e?"Wrong password":void 0,e&&(t.isLoading=!1)}))),this.input&&this.input.nativeElement&&this.input.nativeElement.focus&&this.visual&&!this.visual.isEmbed&&this.input.nativeElement.focus(),this.isBrowser){var n=document.querySelector("body");window.top.postMessage({message:"editor:resize",value:(e=n,{height:e.clientHeight,shareId:t.share.id,noteId:t.share.note})},"*")}},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.sendPassword=function(){this.password?(this.onSendPassword.emit(this.password),this.password="",this.isLoading=!0):this.error="Password cannot be empty"},e}()},"./src/app/share/reload.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ReloadComponent",(function(){return s})),n.d(t,"View_ReloadComponent_0",(function(){return l})),n.d(t,"View_ReloadComponent_Host_0",(function(){return c})),n.d(t,"ReloadComponentNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/reload.component.ts"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./src/app/universal-config.ts"),s=r["ɵcrt"]({encapsulation:2,styles:[],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-reload",[],null,null,null,l,s)),r["ɵdid"](1,114688,null,0,o.ReloadComponent,["isBrowser",i.APP_BASE_HREF,a.Config],null,null)],(function(e,t){e(t,1,0)}),null)}var u=r["ɵccf"]("nns-reload",o.ReloadComponent,c,{},{},[])},"./src/app/share/reload.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ReloadComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/universal-config.ts");var r=function(){function e(e,t,n){this.config=n,this.appBase=t,this.isBrowser=e}return e.prototype.ngOnInit=function(){if(this.isBrowser){var e=window.location.href,t=window.location.origin+this.appBase,n=this.config.get("BOX_URL")+"/"+e.replace(t,"");window.location.href=n}},e}()},"./src/app/share/share-config-popup.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareConfigPopupComponent",(function(){return p})),n.d(t,"View_ShareConfigPopupComponent_0",(function(){return f})),n.d(t,"View_ShareConfigPopupComponent_Host_0",(function(){return h})),n.d(t,"ShareConfigPopupComponentNgFactory",(function(){return m}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/share-config.component.ngfactory.js"),i=n("./src/app/share/share-config.component.ts"),a=n("./node_modules/@angular/http/fesm5/http.js"),s=n("./src/app/universal-config.ts"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=n("./src/app/share/share-copy.service.ts"),u=n("./node_modules/@angular/common/fesm5/common.js"),d=n("./src/app/share/share-config-popup.component.ts"),p=r["ɵcrt"]({encapsulation:0,styles:[""],data:{}});function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"nns-share-config",[],null,null,null,o.View_ShareConfigComponent_0,o.RenderType_ShareConfigComponent)),r["ɵdid"](1,573440,null,0,i.ShareConfigComponent,[a.Http,s.Config,l.Store,"isBrowser",c.ShareCopyService],{share:[0,"share"],note:[1,"note"],workspaces:[2,"workspaces"],currentNoteWorkspace:[3,"currentNoteWorkspace"],visual:[4,"visual"],profile:[5,"profile"]},null),r["ɵpid"](131072,u.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,u.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,u.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,u.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,u.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,u.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.share$)),r["ɵunv"](t,1,1,r["ɵnov"](t,3).transform(n.note$)),r["ɵunv"](t,1,2,r["ɵnov"](t,4).transform(n.workspaces$)),r["ɵunv"](t,1,3,r["ɵnov"](t,5).transform(n.currentNoteWorkspace$)),r["ɵunv"](t,1,4,r["ɵnov"](t,6).transform(n.visual$)),r["ɵunv"](t,1,5,r["ɵnov"](t,7).transform(n.profile$)))}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-config-popup",[],null,null,null,f,p)),r["ɵdid"](1,49152,null,0,d.ShareConfigPopupComponent,[l.Store],null,null)],null,null)}var m=r["ɵccf"]("nns-share-config-popup",d.ShareConfigPopupComponent,h,{},{},[])},"./src/app/share/share-config-popup.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareConfigPopupComponent",(function(){return l}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/profile/profile.selector.ts"),i=n("./src/app/visual/visual.selector.ts"),a=n("./src/app/workspaces/workspaces.selector.ts"),s=n("./src/app/share/models/index.ts"),l=function(e){this._store=e,this.share$=this._store.pipe(Object(r.select)(s.selectCurrentShare)),this.visual$=this._store.pipe(Object(r.select)(i.selectVisual)),this.note$=this._store.pipe(Object(r.select)(s.selectCurrentNote)),this.workspaces$=this._store.pipe(Object(r.select)(a.getCurrentNoteOrgWorkspaces)),this.currentNoteWorkspace$=this._store.pipe(Object(r.select)(a.getCurrentNoteOrgWorkspace)),this.profile$=this._store.pipe(Object(r.select)(o.selectCurrentProfile))}},"./src/app/share/share-config.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareConfigComponent",(function(){return S})),n.d(t,"View_ShareConfigComponent_0",(function(){return X})),n.d(t,"View_ShareConfigComponent_Host_0",(function(){return J})),n.d(t,"ShareConfigComponentNgFactory",(function(){return ee}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/workspaces/workspace-select.component.ngfactory.js"),i=n("./src/app/workspaces/workspace-select.component.ts"),a=n("./node_modules/@angular/material/progress-spinner/typings/index.ngfactory.js"),s=n("./node_modules/@angular/material/esm5/progress-spinner.es5.js"),l=n("./node_modules/@angular/cdk/esm5/platform.es5.js"),c=n("./node_modules/@angular/common/fesm5/common.js"),u=n("./node_modules/@angular/platform-browser/fesm5/animations.js"),d=n("./node_modules/@angular/material/slide-toggle/typings/index.ngfactory.js"),p=n("./node_modules/@angular/forms/fesm5/forms.js"),f=n("./node_modules/@angular/material/esm5/slide-toggle.es5.js"),h=n("./node_modules/@angular/cdk/esm5/a11y.es5.js"),m=n("./node_modules/@angular/cdk/esm5/bidi.es5.js"),g=n("./src/app/common/icon.component.ngfactory.js"),y=n("./src/app/common/icon.component.ts"),v=n("./src/app/share/share-config.component.ts"),b=n("./node_modules/@angular/http/fesm5/http.js"),_=n("./src/app/universal-config.ts"),w=n("./node_modules/@ngrx/store/fesm5/store.js"),C=n("./src/app/share/share-copy.service.ts"),S=r["ɵcrt"]({encapsulation:0,styles:[".share-config-container[_ngcontent-%COMP%]{\n      position: relative;\n    }\n    .share-config-container[_ngcontent-%COMP%]    + .share-config-container[_ngcontent-%COMP%] {\n      margin-top: 15px;\n    }\n    .share-config-container-title[_ngcontent-%COMP%] {\n      font-size: 13px;\n    }\n    .share-config-container-subtitle[_ngcontent-%COMP%] {\n      font-size: 10px;\n      opacity: .6;\n    }\n    .share-config-body[_ngcontent-%COMP%] {\n      border-width: 1px;\n      border-style: solid;\n      padding: 20px;\n    }\n    .share-config-footer[_ngcontent-%COMP%] {\n      padding: 15px 0;\n    }\n    .share-config-title[_ngcontent-%COMP%] {\n      font-size: 16px;\n      font-weight: 700;\n      line-height: 22px;\n      text-align: center;\n    }\n    .share-config-button[_ngcontent-%COMP%] {\n      box-sizing: border-box;\n      display: inline-block;\n      width: 100%;\n      height: 32px;\n      padding: 5px 15px;\n      border-radius: 16px;\n      border: 1px solid #00A1B7;\n      color: #00A1B7;\n      font-size: 13px;\n      font-weight: 700;\n      text-align: center;\n      line-height: 18px;\n      background: rgba(0,0,0,0);\n      transition: .3s;\n    }\n    .share-config-button[disabled][_ngcontent-%COMP%] {\n      opacity: .5;\n      cursor: not-allowed;\n    }\n    .share-config-input[_ngcontent-%COMP%] {\n      box-sizing: border-box;\n      display: inline-block;\n      width: 100%;\n      height: 32px;\n      padding: 7px 15px;\n      border-width: 1px;\n      border-style: solid;\n      border-radius: 2px;\n      font-size: 12px;\n      text-align: center;\n      line-height: 16px;\n      background: rgba(0,0,0,0);\n    }\n    .share-config-input__password[_ngcontent-%COMP%]{\n      padding-right: 32px;\n    }\n    .share-config-actions[_ngcontent-%COMP%]{\n      flex-direction: column;\n    }\n    .share-config-actions[_ngcontent-%COMP%]   .nns-href[_ngcontent-%COMP%]{\n      display: flex;\n      align-items: center;\n      color: #161616;\n    }\n    .share-config-actions[_ngcontent-%COMP%]   .nns-href[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 30px;\n      min-height: 30px;\n      margin-right: 8px;\n    }\n    .share-config-action[_ngcontent-%COMP%] {\n      box-sizing: border-box;\n      display: flex;\n      align-items: center;\n      justify-content: flex-start;\n      width: 100%;\n      height: 30px;\n      margin-right: 10px;\n      padding: 7px 8px;\n      transition: .3s;\n      cursor: pointer;\n    }\n    .share-config-action-text[_ngcontent-%COMP%]{\n      display: flex;\n      flex-direction: column;\n      font-size: 13px;\n    }\n    .share-config-action[_ngcontent-%COMP%]:not(:last-child) {\n      margin-bottom: 15px;\n    }\n    .share-config-action-text_secondary[_ngcontent-%COMP%]{\n      color: #00A1B7;\n      font-size: 10px;\n    }\n    .share-config-action[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {\n      min-width: 16px;\n      min-height: 16px;\n    }\n    .share-config-action-icon_hover[_ngcontent-%COMP%]{\n      display: none;\n    }\n    .share-config-action[_ngcontent-%COMP%]:hover   .share-config-action-icon[_ngcontent-%COMP%]{\n      display: none;\n    }\n    .share-config-action[_ngcontent-%COMP%]:hover   .share-config-action-icon_hover[_ngcontent-%COMP%]{\n      display: block;\n    }\n    .share-config-owner-avatar[_ngcontent-%COMP%] {\n      width: 26px;\n      height: 26px;\n      border-radius: 50%;\n      overflow: hidden;\n      background: rgb(200, 200, 200);\n    }\n    .share-config-owner-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n      width: 100%;\n      height: 100%;\n    }\n    .share-config-owner-avatar[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n      display: block;\n      width: 100%;\n      height: 100%;\n      text-align: center;\n      font-size: 14px;\n      font-weight: 700;\n      line-height: 26px;\n      color: #FFF;\n    }\n    .share-config-owner-content[_ngcontent-%COMP%] {\n      padding-left: 8px;\n    }\n    .share-config-owner-title[_ngcontent-%COMP%] {\n      font-size: 12px;\n      font-weight: 700;\n      line-height: 16px;\n    }\n    .share-config-owner-description[_ngcontent-%COMP%] {\n      font-size: 10px;\n      font-weight: 400;\n      line-height: 14px;\n    }\n    .nns-spinner-wrapper[_ngcontent-%COMP%]{\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n    nns-workspace-select[_ngcontent-%COMP%]{\n      position: relative;\n      display: block;\n      z-index: 2;\n    }\n    .nns-slide-wrapper[_ngcontent-%COMP%]{\n      position: relative;\n    }\n    .nns-slide-wrapper-overlay[_ngcontent-%COMP%]{\n      position: absolute;\n      top: 0;\n      left: 0;\n      width: 100%;\n      height: 100%;\n      cursor: pointer;\n      z-index: 1;\n    }\n    .share-config-show-password[_ngcontent-%COMP%]{\n      position: absolute;\n      top: 0;\n      right: 5px;\n      cursor: pointer;\n      height: 100%;\n      display: flex;\n      align-items: center;\n    }\n\n    .share-config-show-password[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n\n    [_nghost-%COMP%]   nns-workspace-select[_ngcontent-%COMP%]     .nns-select-item{\n      padding-right: 4px;\n    }\n\n    .nns-theme-day[_nghost-%COMP%]   .share-config-body[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .share-config-body[_ngcontent-%COMP%] { border-color: #DCDCDC; }\n    .nns-theme-day[_nghost-%COMP%]   .share-config-input[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .share-config-input[_ngcontent-%COMP%] { border-color: #DCDCDC; color: rgba(0, 0, 0, .6); }\n    .nns-theme-day[_nghost-%COMP%]   .share-config-owner-title[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .share-config-owner-title[_ngcontent-%COMP%] { color: #161616; }\n    .nns-theme-day[_nghost-%COMP%]   .share-config-owner-description[_ngcontent-%COMP%], .nns-theme-day   [_nghost-%COMP%]   .share-config-owner-description[_ngcontent-%COMP%] { color: rgba(0, 0, 0, .6); }\n\n    .nns-theme-night[_nghost-%COMP%]   .share-config-body[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .share-config-body[_ngcontent-%COMP%] { border-color: rgba(255,255,255,0.12); }\n    .nns-theme-night[_nghost-%COMP%]   .share-config-input[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .share-config-input[_ngcontent-%COMP%] { border-color: rgba(255,255,255,0.12); color: rgba(255, 255, 255, .6); }\n    .nns-theme-night[_nghost-%COMP%]   .share-config-owner-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .share-config-owner-title[_ngcontent-%COMP%] { color: #FFF; }\n    .nns-theme-night[_nghost-%COMP%]   .share-config-owner-description[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .share-config-owner-description[_ngcontent-%COMP%] { color: rgba(255, 255, 255, .6); }\n    .nns-theme-night[_nghost-%COMP%]   .share-config-actions[_ngcontent-%COMP%]   .nns-href[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .share-config-actions[_ngcontent-%COMP%]   .nns-href[_ngcontent-%COMP%]{\n      color: #fff;\n    }"],data:{}});function E(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-workspace-select",[],null,[[null,"onSelectWorkspaceEvent"]],(function(e,t,n){var r=!0,o=e.component;"onSelectWorkspaceEvent"===t&&(r=!1!==o.onSelectWorkspace(n)&&r);return r}),o.View_WorkspaceSelectComponent_0,o.RenderType_WorkspaceSelectComponent)),r["ɵdid"](1,49152,null,0,i.WorkspaceSelectComponent,[],{workspaces:[0,"workspaces"],selectedWorkspace:[1,"selectedWorkspace"],ownerId:[2,"ownerId"]},{onSelectWorkspaceEvent:"onSelectWorkspaceEvent"})],(function(e,t){var n=t.component;e(t,1,0,n.workspaces,n.currentNoteWorkspace,n.profile?n.profile.userId:null)}),null)}function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-spinner-wrapper"],["style","height: 53px;"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["diameter","24"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,a.View_MatProgressSpinner_0,a.RenderType_MatProgressSpinner)),r["ɵdid"](2,49152,null,0,s.MatProgressSpinner,[r.ElementRef,l.Platform,[2,c.DOCUMENT],[2,u.ANIMATION_MODULE_TYPE],s.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],{diameter:[0,"diameter"],mode:[1,"mode"]},null)],(function(e,t){e(t,2,0,"24","indeterminate")}),(function(e,t){e(t,1,0,r["ɵnov"](t,2)._noopAnimations,r["ɵnov"](t,2).diameter,r["ɵnov"](t,2).diameter,"determinate"===r["ɵnov"](t,2).mode?0:null,"determinate"===r["ɵnov"](t,2).mode?100:null,r["ɵnov"](t,2).value,r["ɵnov"](t,2).mode)}))}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["disableRipple",""]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(e,t,n){var r=!0,o=e.component;"change"===t&&(r=!1!==o.toggleAccess()&&r);return r}),d.View_MatSlideToggle_0,d.RenderType_MatSlideToggle)),r["ɵprd"](5120,null,p.NG_VALUE_ACCESSOR,(function(e){return[e]}),[f.MatSlideToggle]),r["ɵdid"](3,1228800,null,0,f.MatSlideToggle,[r.ElementRef,l.Platform,h.FocusMonitor,r.ChangeDetectorRef,[8,null],r.NgZone,f.MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS,[2,u.ANIMATION_MODULE_TYPE],[2,m.Directionality]],{disableRipple:[0,"disableRipple"],checked:[1,"checked"]},{change:"change"})],(function(e,t){e(t,3,0,"",t.component.isAccessPrivate)}),(function(e,t){e(t,1,0,r["ɵnov"](t,3).id,r["ɵnov"](t,3).checked,r["ɵnov"](t,3).disabled,"before"==r["ɵnov"](t,3).labelPosition,"NoopAnimations"===r["ɵnov"](t,3)._animationMode)}))}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["style","height: 24px"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["diameter","24"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,a.View_MatProgressSpinner_0,a.RenderType_MatProgressSpinner)),r["ɵdid"](2,49152,null,0,s.MatProgressSpinner,[r.ElementRef,l.Platform,[2,c.DOCUMENT],[2,u.ANIMATION_MODULE_TYPE],s.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],{diameter:[0,"diameter"],mode:[1,"mode"]},null)],(function(e,t){e(t,2,0,"24","indeterminate")}),(function(e,t){e(t,1,0,r["ɵnov"](t,2)._noopAnimations,r["ɵnov"](t,2).diameter,r["ɵnov"](t,2).diameter,"determinate"===r["ɵnov"](t,2).mode?0:null,"determinate"===r["ɵnov"](t,2).mode?100:null,r["ɵnov"](t,2).value,r["ɵnov"](t,2).mode)}))}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","share-config-container-subtitle"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Available to everyone with the link"]))],null,null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","share-config-container-subtitle"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Only workspace members have access"]))],null,null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,[[1,0],["shortUrlInput",1]],null,0,"input",[["class","share-config-input m-short-url"],["readonly",""]],[[8,"value",0]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.selectShortUrl(n)&&r);return r}),null,null))],null,(function(e,t){e(t,0,0,t.component.shortUrl)}))}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["style","height: 32px;"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["diameter","24"],["mode","indeterminate"],["role","progressbar"],["style","margin-left: auto; margin-right: auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,a.View_MatProgressSpinner_0,a.RenderType_MatProgressSpinner)),r["ɵdid"](2,49152,null,0,s.MatProgressSpinner,[r.ElementRef,l.Platform,[2,c.DOCUMENT],[2,u.ANIMATION_MODULE_TYPE],s.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],{diameter:[0,"diameter"],mode:[1,"mode"]},null)],(function(e,t){e(t,2,0,"24","indeterminate")}),(function(e,t){e(t,1,0,r["ɵnov"](t,2)._noopAnimations,r["ɵnov"](t,2).diameter,r["ɵnov"](t,2).diameter,"determinate"===r["ɵnov"](t,2).mode?0:null,"determinate"===r["ɵnov"](t,2).mode?100:null,r["ɵnov"](t,2).value,r["ɵnov"](t,2).mode)}))}function I(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Copy"]))],null,null)}function M(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Copied!"]))],null,null)}function N(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-slide-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["disableRipple",""]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],null,null,d.View_MatSlideToggle_0,d.RenderType_MatSlideToggle)),r["ɵprd"](5120,null,p.NG_VALUE_ACCESSOR,(function(e){return[e]}),[f.MatSlideToggle]),r["ɵdid"](3,1228800,null,0,f.MatSlideToggle,[r.ElementRef,l.Platform,h.FocusMonitor,r.ChangeDetectorRef,[8,null],r.NgZone,f.MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS,[2,u.ANIMATION_MODULE_TYPE],[2,m.Directionality]],{disableRipple:[0,"disableRipple"],checked:[1,"checked"]},null),(e()(),r["ɵeld"](4,0,null,null,0,"div",[["class","nns-slide-wrapper-overlay"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.togglePassword()&&r);return r}),null,null))],(function(e,t){e(t,3,0,"",t.component.isPasswordEnabled)}),(function(e,t){e(t,1,0,r["ɵnov"](t,3).id,r["ɵnov"](t,3).checked,r["ɵnov"](t,3).disabled,"before"==r["ɵnov"](t,3).labelPosition,"NoopAnimations"===r["ɵnov"](t,3)._animationMode)}))}function D(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["style","height: 24px"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["diameter","24"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,a.View_MatProgressSpinner_0,a.RenderType_MatProgressSpinner)),r["ɵdid"](2,49152,null,0,s.MatProgressSpinner,[r.ElementRef,l.Platform,[2,c.DOCUMENT],[2,u.ANIMATION_MODULE_TYPE],s.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],{diameter:[0,"diameter"],mode:[1,"mode"]},null)],(function(e,t){e(t,2,0,"24","indeterminate")}),(function(e,t){e(t,1,0,r["ɵnov"](t,2)._noopAnimations,r["ɵnov"](t,2).diameter,r["ɵnov"](t,2).diameter,"determinate"===r["ɵnov"](t,2).mode?0:null,"determinate"===r["ɵnov"](t,2).mode?100:null,r["ɵnov"](t,2).value,r["ɵnov"](t,2).mode)}))}function j(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","eye"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"eye")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function L(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","eye-closed"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"eye-closed")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function B(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","share-config-show-password"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onChangePasswordType()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,j)),r["ɵdid"](2,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,L)),r["ɵdid"](4,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"text"===n.passwordType),e(t,4,0,"password"===n.passwordType)}),null)}function F(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,[[2,0],["passwordInput",1]],null,5,"input",[["class","share-config-input share-config-input__password"],["placeholder","*******"]],[[8,"type",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var o=!0,i=e.component;"input"===t&&(o=!1!==r["ɵnov"](e,2)._handleInput(n.target.value)&&o);"blur"===t&&(o=!1!==r["ɵnov"](e,2).onTouched()&&o);"compositionstart"===t&&(o=!1!==r["ɵnov"](e,2)._compositionStart()&&o);"compositionend"===t&&(o=!1!==r["ɵnov"](e,2)._compositionEnd(n.target.value)&&o);"ngModelChange"===t&&(o=!1!==(i.passwordDraft=n)&&o);return o}),null,null)),r["ɵdid"](2,16384,null,0,p.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,p.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,p.NG_VALUE_ACCESSOR,(function(e){return[e]}),[p.DefaultValueAccessor]),r["ɵdid"](4,671744,null,0,p.NgModel,[[8,null],[8,null],[8,null],[6,p.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,p.NgControl,null,[p.NgModel]),r["ɵdid"](6,16384,null,0,p.NgControlStatus,[[4,p.NgControl]],null,null),(e()(),r["ɵand"](16777216,null,null,1,null,B)),r["ɵdid"](8,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,4,0,n.passwordDraft),e(t,8,0,n.passwordDraft.length)}),(function(e,t){e(t,1,0,t.component.passwordType,r["ɵnov"](t,6).ngClassUntouched,r["ɵnov"](t,6).ngClassTouched,r["ɵnov"](t,6).ngClassPristine,r["ɵnov"](t,6).ngClassDirty,r["ɵnov"](t,6).ngClassValid,r["ɵnov"](t,6).ngClassInvalid,r["ɵnov"](t,6).ngClassPending)}))}function U(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Set pass"]))],null,null)}function H(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Change pass"]))],null,null)}function V(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"button",[["class","share-config-button"]],[[8,"disabled",0]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.savePassword()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,U)),r["ɵdid"](3,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,H)),r["ɵdid"](5,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,!n.isPasswordRequired),e(t,5,0,n.isPasswordRequired)}),(function(e,t){var n=t.component;e(t,1,0,!n.passwordDraft||n.isPasswordPending)}))}function z(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,8,"a",[["class","nns-href"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onDeleteShare()&&r);return r}),null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","share-config-action-icon"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","delete"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,2,"div",[["class","share-config-action-icon_hover"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,1,"nns-icon",[["icon","delete-hover"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,6).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,6).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](6,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](7,0,null,null,1,"span",[["class","share-config-action-text"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Remove shared link"]))],(function(e,t){e(t,3,0,"delete");e(t,6,0,"delete-hover")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes),e(t,5,0,r["ɵnov"](t,6)._classes)}))}function q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["diameter","16"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,a.View_MatProgressSpinner_0,a.RenderType_MatProgressSpinner)),r["ɵdid"](1,49152,null,0,s.MatProgressSpinner,[r.ElementRef,l.Platform,[2,c.DOCUMENT],[2,u.ANIMATION_MODULE_TYPE],s.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],{diameter:[0,"diameter"],mode:[1,"mode"]},null)],(function(e,t){e(t,1,0,"16","indeterminate")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._noopAnimations,r["ɵnov"](t,1).diameter,r["ɵnov"](t,1).diameter,"determinate"===r["ɵnov"](t,1).mode?0:null,"determinate"===r["ɵnov"](t,1).mode?100:null,r["ɵnov"](t,1).value,r["ɵnov"](t,1).mode)}))}function G(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[["class","share-config-action-text_secondary"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Refresh page to see attached files"]))],null,null)}function W(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","share-config-action-icon"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[["icon","delete"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,2,"div",[["class","share-config-action-icon_hover"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,1,"nns-icon",[["icon","delete-hover"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,6).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,6).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](6,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,3,0,"delete");e(t,6,0,"delete-hover")}),(function(e,t){e(t,2,0,r["ɵnov"](t,3)._classes),e(t,5,0,r["ɵnov"](t,6)._classes)}))}function Y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["diameter","16"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,a.View_MatProgressSpinner_0,a.RenderType_MatProgressSpinner)),r["ɵdid"](1,49152,null,0,s.MatProgressSpinner,[r.ElementRef,l.Platform,[2,c.DOCUMENT],[2,u.ANIMATION_MODULE_TYPE],s.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS],{diameter:[0,"diameter"],mode:[1,"mode"]},null)],(function(e,t){e(t,1,0,"16","indeterminate")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._noopAnimations,r["ɵnov"](t,1).diameter,r["ɵnov"](t,1).diameter,"determinate"===r["ɵnov"](t,1).mode?0:null,"determinate"===r["ɵnov"](t,1).mode?100:null,r["ɵnov"](t,1).value,r["ɵnov"](t,1).mode)}))}function Z(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","share-config-action"],["title","Delete public page"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onDeleteShare()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,W)),r["ɵdid"](2,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,Y)),r["ɵdid"](4,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,!n.isDeletePending),e(t,4,0,n.isDeletePending)}),null)}function K(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.owner.displayName[0])}))}function $(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component.owner.avatarUrl)}))}function Q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,11,"div",[["class","share-config-owner"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","share-config-owner-avatar"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,K)),r["ɵdid"](3,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,$)),r["ɵdid"](5,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](6,0,null,null,5,"div",[["class","share-config-owner-content"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,1,"div",[["class","share-config-owner-title"]],null,null,null,null,null)),(e()(),r["ɵted"](8,null,["",""])),(e()(),r["ɵeld"](9,0,null,null,2,"div",[["class","share-config-owner-description"]],null,null,null,null,null)),(e()(),r["ɵted"](10,null,["",""])),r["ɵppd"](11,2)],(function(e,t){var n=t.component;e(t,3,0,!n.owner.avatarUrl),e(t,5,0,n.owner.avatarUrl)}),(function(e,t){var n=t.component;e(t,8,0,n.owner.displayName);var o=r["ɵunv"](t,10,0,e(t,11,0,r["ɵnov"](t.parent,0),n.createdDate,"MMMM d, y"));e(t,10,0,o)}))}function X(e){return r["ɵvid"](0,[r["ɵpid"](0,c.DatePipe,[r.LOCALE_ID]),r["ɵqud"](671088640,1,{shortUrlInput:0}),r["ɵqud"](671088640,2,{passwordInput:0}),(e()(),r["ɵeld"](3,0,null,null,42,"div",[["class","share-config-body"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,2,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,1,"div",[["class","share-config-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Manage public page"])),(e()(),r["ɵeld"](7,0,null,null,4,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,E)),r["ɵdid"](9,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,x)),r["ɵdid"](11,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](12,0,null,null,11,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵeld"](13,0,null,null,6,"div",[["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](14,0,null,null,1,"div",[["class","share-config-container-title"],["flex",""]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Private"])),(e()(),r["ɵand"](16777216,null,null,1,null,k)),r["ɵdid"](17,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,O)),r["ɵdid"](19,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](21,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](23,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](24,0,null,null,4,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,P)),r["ɵdid"](26,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,R)),r["ɵdid"](28,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](29,0,null,null,5,"div",[["class","share-config-container"]],null,null,null,null,null)),(e()(),r["ɵeld"](30,0,null,null,4,"button",[["class","share-config-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.copyShortUrl(n)&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,I)),r["ɵdid"](32,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,M)),r["ɵdid"](34,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](35,0,null,null,6,"div",[["class","share-config-container"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](36,0,null,null,1,"div",[["class","share-config-container-title"],["flex",""]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Password"])),(e()(),r["ɵand"](16777216,null,null,1,null,N)),r["ɵdid"](39,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,D)),r["ɵdid"](41,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,F)),r["ɵdid"](43,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,V)),r["ɵdid"](45,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](46,0,null,null,23,"div",[["class","share-config-footer"]],null,null,null,null,null)),(e()(),r["ɵeld"](47,0,null,null,20,"div",[["class","share-config-actions"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](48,0,null,null,4,"div",[["class","share-config-action"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,z)),r["ɵdid"](50,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,q)),r["ɵdid"](52,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](53,0,null,null,12,"div",[["class","share-config-action"]],null,null,null,null,null)),(e()(),r["ɵeld"](54,0,null,null,11,"a",[["class","nns-href"],["target","_blank"]],[[8,"href",4]],[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onAttachClick()&&r);return r}),null,null)),(e()(),r["ɵeld"](55,0,null,null,2,"div",[["class","share-config-action-icon"]],null,null,null,null,null)),(e()(),r["ɵeld"](56,0,null,null,1,"nns-icon",[["icon","attach"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,57).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,57).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](57,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](58,0,null,null,2,"div",[["class","share-config-action-icon_hover"]],null,null,null,null,null)),(e()(),r["ɵeld"](59,0,null,null,1,"nns-icon",[["icon","attach-hover"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,60).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,60).onMouseLeave()&&o);return o}),g.View_IconComponent_0,g.RenderType_IconComponent)),r["ɵdid"](60,573440,null,0,y.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](61,0,null,null,4,"span",[["class","share-config-action-text"]],null,null,null,null,null)),(e()(),r["ɵeld"](62,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Attach/Embed anything"])),(e()(),r["ɵand"](16777216,null,null,1,null,G)),r["ɵdid"](65,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,Z)),r["ɵdid"](67,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,Q)),r["ɵdid"](69,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,9,0,n.workspaces&&n.workspaces.length&&n.currentNoteWorkspace&&!n.isNoteMoving),e(t,11,0,!n.workspaces||!n.workspaces.length||!n.currentNoteWorkspace||n.isNoteMoving),e(t,17,0,!n.isAccessPending),e(t,19,0,n.isAccessPending),e(t,21,0,!n.isAccessPrivate),e(t,23,0,n.isAccessPrivate),e(t,26,0,n.shortUrl),e(t,28,0,!n.shortUrl),e(t,32,0,!n.isShortUrlCopied),e(t,34,0,n.isShortUrlCopied),e(t,39,0,!n.isPasswordPending),e(t,41,0,n.isPasswordPending),e(t,43,0,n.isPasswordEnabled),e(t,45,0,n.isPasswordEnabled),e(t,50,0,!n.isDeletePending),e(t,52,0,n.isDeletePending);e(t,57,0,"attach");e(t,60,0,"attach-hover"),e(t,65,0,n.isAttachBtnActive);e(t,67,0,!1);e(t,69,0,!1)}),(function(e,t){e(t,54,0,t.component.noteUrl),e(t,56,0,r["ɵnov"](t,57)._classes),e(t,59,0,r["ɵnov"](t,60)._classes)}))}function J(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-config",[],null,null,null,X,S)),r["ɵdid"](1,573440,null,0,v.ShareConfigComponent,[b.Http,_.Config,w.Store,"isBrowser",C.ShareCopyService],null,null)],null,null)}var ee=r["ɵccf"]("nns-share-config",v.ShareConfigComponent,J,{share:"share",note:"note",workspaces:"workspaces",currentNoteWorkspace:"currentNoteWorkspace",visual:"visual",profile:"profile"},{},[])},"./src/app/share/share-config.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SHARE_ACCESS_TYPES",(function(){return r})),n.d(t,"ShareConfigComponent",(function(){return s}));n("./node_modules/@angular/core/fesm5/core.js");var r,o=n("./node_modules/@angular/http/fesm5/http.js"),i=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/common/dialogs/dialogs.actions.ts")),a=(n("./src/app/universal-config.ts"),n("./src/app/share/share-copy.service.ts"),n("./src/app/share/share.actions.ts"));!function(e){e.PUBLIC="public",e.PRIVATE="workspace"}(r||(r={}));var s=function(){function e(e,t,n,r,o){this._http=e,this._config=t,this._store=n,this.isBrowser=r,this._shareCopyService=o,this.passwordDraft="",this.passwordType="password",this.nimbusNoteUrl=this._config.get("NIMBUS_NOTE_URL"),this.authDomain=this._config.get("AUTH_HOST"),this.nimbusUrl=this._config.get("NIMBUS_URL")}return e.prototype.ngOnChanges=function(e){if(this.isAccessPrivate=this.share.instance.accessControl==r.PRIVATE,this.isAccessPending=this.visual.isShareAccessUpdating,this.isPasswordPending=this.visual.isSharePasswordUpdating,this.owner=this.share.instance.owner,this.workspace=this.share.instance.workspace,this.workspace.titleChar=this.workspace.title.substr(0,1),this.isBrowser&&e.share&&e.share.currentValue!=e.share.previousValue){var t=this.share.instance.id,n=this.share.instance.securityKey;this.fullUrl=window.location.origin+"/share/"+t+"/"+n,this.fetchShortUrl()}e.share&&(this.isPasswordEnabled=this.share.instance.passwordRequired,this.isPasswordRequired=this.share.instance.passwordRequired,this.isNoteMoving=this.share.isNoteMoving),this.createdDate=1e3*this.note.createdAt,(e.note||e.share)&&this.note&&this.share&&this.share.instance&&this.setNoteUrl()},e.prototype.fetchShortUrl=function(){var e=this,t=new o.URLSearchParams;t.append("url",this.fullUrl);var n=this.share.instance.org&&this.share.instance.org.domain?this.share.instance.org.domain:null;n&&t.append("domain",n);var r=new o.Headers({Accept:"*/*","Content-Type":"application/x-www-form-urlencoded"});this._http.post(this._config.get("SHORT_URL_SERVICE"),t.toString(),{headers:r}).toPromise().then((function(t){var n=t.json();n&&n.short_url?e.shortUrl=n.short_url:e.shortUrl="http://nimb.ws/nrBC17"})).catch((function(t){e.shortUrl="http://nimb.ws/nrBC17"}))},e.prototype.selectShortUrl=function(e){e.target.setSelectionRange(0,this.shortUrl.length)},e.prototype.copyShortUrl=function(e){var t=this;!this.isShortUrlCopied&&this.shortUrl&&(e.preventDefault(),e.stopPropagation(),this.shortUrlInput.nativeElement.focus(),this.shortUrlInput.nativeElement.setSelectionRange(0,this.shortUrl.length),document.execCommand("copy"),this.isShortUrlCopied=!0,setTimeout((function(){t.isShortUrlCopied=!1}),2e3))},e.prototype.togglePassword=function(){var e=this,t=this.getIsCurrentWorkspaceFree();this.isPasswordEnabled||!t?(this.isPasswordEnabled=!this.isPasswordEnabled,this.passwordDraft="",this.isPasswordEnabled?setTimeout((function(){e.passwordInput.nativeElement.focus()})):this.savePassword()):this.showPasswordPopup()},e.prototype.showPasswordPopup=function(){var e=this,t=this.currentNoteWorkspace.userId===this.profile.userId,n=(this.getIsCurrentWorkspaceFree(),{text:t?"The password for public pages and folders is included in the premium plan. Upgrade to FuseBase Standard to continue.":"The password for public pages and folders is included in the premium plan. Contact the workspace owner for more details.",okButtonText:t?"Go to FuseBase":"Ok",hideCancelButton:!t,onSuccess:function(){t&&window.open("https://nimbusweb.me/pricing.php?public_page_banner=set_page_password"),e._store.dispatch(Object(i.closeDialog)())}});this._store.dispatch(Object(i.openDialog)(n))},e.prototype.savePassword=function(){var e=this.passwordDraft;e?this._store.dispatch(Object(a.setShareAccess)({password:e})):this.share.instance.passwordRequired&&this._store.dispatch(Object(a.setShareAccess)({password:""}))},e.prototype.getIsCurrentWorkspaceFree=function(){return!this.currentNoteWorkspace.hasActivePremium},e.prototype.toggleAccess=function(){this.isAccessPrivate?this._store.dispatch(Object(a.setShareAccess)({accessControl:r.PUBLIC})):this._store.dispatch(Object(a.setShareAccess)({accessControl:r.PRIVATE}))},e.prototype.onSelectWorkspace=function(e){var t=this.note.workspaceId,n=e;this._shareCopyService.move(this.note.globalId,t,n)},e.prototype.onDeleteShare=function(){var e=this,t={title:"Remove shared link",text:"Are you sure you want to remove the shared link?",okButtonText:"Yes, delete",onSuccess:function(){e._store.dispatch(Object(i.closeDialog)()),e._store.dispatch(Object(a.deleteShare)()),e.isDeletePending=!0}};this._store.dispatch(Object(i.openDialog)(t))},e.prototype.setNoteUrl=function(){var e=this.getNimbusUrl();this.note&&this.note.workspaceId&&this.note.type&&(this.noteUrl=e+"/ws/"+this.note.workspaceId+"/"+this.note.type+"/"+this.note.globalId)},e.prototype.getNimbusUrl=function(){return this.share.instance.org?this.share.instance.org.domain?"http://"+this.share.instance.org.domain:"http://"+this.share.instance.org.sub+"."+this._config.get("NIMBUS_DOMAIN"):this.nimbusUrl},e.prototype.onAttachClick=function(){this.isAttachBtnActive=!0},e.prototype.onChangePasswordType=function(){this.passwordType="password"===this.passwordType?"text":"password"},e}()},"./src/app/share/share-copy.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareCopyService",(function(){return a}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/share.actions.ts"),i=n("./src/app/profile/profile.selector.ts"),a=(n("./src/app/profile/profile.service.ts"),function(){function e(e,t){var n=this;this._store=e,this._profile=t,this._store.pipe(Object(r.select)(i.selectCurrentProfile)).subscribe((function(e){n.isLoggedIn=!!e}))}return e.prototype.copy=function(){this.isLoggedIn?this._store.dispatch(Object(o.copyShare)()):this._profile.goToAuth()},e.prototype.move=function(e,t,n){this._store.dispatch(Object(o.moveNote)(e,t,n))},e}())},"./src/app/share/share-errors.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareErrorsService",(function(){return d}));var r,o,i,a,s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=n("./src/app/common/dialogs/dialogs.actions.ts"),c=n("./src/app/workspaces/workspaces.selector.ts"),u=n("./src/app/share/models/index.ts");!function(e){e[e.BUSSINESS=0]="BUSSINESS",e[e.PERSONAL=1]="PERSONAL",e[e.SHARED=2]="SHARED"}(r||(r={})),function(e){e[e.PRO=0]="PRO",e[e.FREE=1]="FREE"}(o||(o={})),function(e){e[e.NOTE=0]="NOTE",e[e.FOLDER=1]="FOLDER"}(i||(i={})),function(e){e.USAGE="Usage",e.NOTES_NUMBER="NotesNumber",e.ATTACHMENT="Attachment",e.DISABLED="Disabled"}(a||(a={}));var d=function(){function e(e){var t=this;this._store=e,this.limitErrors={bussinesWs:{note:{usage:"The page can't be saved because the organization owner has reached the traffic limit. Contact support service team@nimbusweb.co for more details.",attachment:"You cannot save the page because there are files larger than 1GB. Contact support service team@nimbusweb.co for more details.",disabled:"You can't save page because the organization is not active."},folder:{usage:"The folder can't be saved because the organization owner has reached the traffic limit. Contact support service team@nimbusweb.co for more details.",attachment:"You cannot save folder because there are pages with files larger than 1GB. Contact support service team@nimbusweb.co for more details.",disabled:"You can't save page because the organization is not active."}},personalWs:{free:{note:{usage:"You have reached your monthly traffic limit. To continue, you have to purchase FuseBase Standard.",notesNumber:"You've reached 30 pages limit per workspace for Free accounts. Upgrade to Pro account to have unlimited pages and unlock all Premium benefits!",attachment:"You cannot save the page because there are files larger than 10MB. Upgrade to FuseBase Standard to save this page."},folder:{usage:"You have reached your monthly traffic limit. To continue, you have to purchase FuseBase Standard.",notesNumber:"You've reached 30 pages limit per workspace for Free accounts. Upgrade to Pro account to have unlimited pages and unlock all Premium benefits!",attachment:"You cannot save the folder because there are pages with files larger than 10MB. Upgrade to FuseBase Standard to save this page."}},pro:{note:{usage:"You cannot save the page because you have almost reached the traffic limit.",attachment:"You cannot save pages because there are files larger than 1GB."},folder:{usage:"You cannot save the folder because you have almost reached the traffic limit.",attachment:"You cannot save pages because there are pages with files larger than 1GB."}}},sharedWs:{free:{note:{usage:"The page can't be saved because the workspace owner has reached the traffic limit. Contact workspace owner for more details.",notesNumber:"Sorry, you can't create additional pages because this workspace has reached the maximum page limit. Contact the workspace owner for more details",attachment:"You cannot save the page because there are files larger than 10MB. Contact workspace owner for more details."},folder:{usage:"The folder can't be saved because the workspace owner has reached the traffic limit. Contact workspace owner for more details.",notesNumber:"Sorry, you can't create additional pages because this workspace has reached the maximum page limit. Contact the workspace owner for more details.",attachment:"You cannot save the folder because there are pages with files larger than 10MB. Contact workspace owner for more details."}},pro:{note:{usage:"The page can't be saved because the workspace owner has reached the traffic limit. Contact workspace owner for more details.",attachment:"You cannot save the page because there are files larger than 1GB. Contact workspace owner for more details."},folder:{usage:"The folder can't be saved because the workspace owner has reached the traffic limit. Contact workspace owner for more details.",attachment:"You cannot save pages because there are pages with files larger than 1GB. Contact workspace owner for more details."}}}};var n=this._store.pipe(Object(s.select)(c.selectAllAvailableWorkspaces)),r=this._store.pipe(Object(s.select)(c.selectAllAvailableWorkspaces)),o=this._store.pipe(Object(s.select)(u.selectCurrentNote));n.subscribe((function(e){t.workspaces=e})),r.subscribe((function(e){t.organizations=e})),o.subscribe((function(e){t.currentNote=e}))}return e.prototype.showError=function(e){var t=e.message;"LimitError"==t.name?this.showLimitError(e):"MultiError"==t.name?this.showError({message:e.message.errors[0],workspaceId:e.workspaceId,userId:e.userId}):this.showDefaultError()},e.prototype.showAttachmentsCountLimitError=function(e,t){var n=this,r={text:"You are trying to upload "+e+" files when maximum allowed number is "+t+".<br/>Please, try to upload again.",okButtonText:"Ok",hideCancelButton:!0,onSuccess:function(){n._store.dispatch(Object(l.closeDialog)())}};this._store.dispatch(Object(l.openDialog)(r))},e.prototype.showDefaultError=function(){var e=this,t={text:"An error occurred while saving the public page. Try saving again. We are sorry for the inconvenience.",okButtonText:"Ok",hideCancelButton:!0,onSuccess:function(){e._store.dispatch(Object(l.closeDialog)())}};this._store.dispatch(Object(l.openDialog)(t))},e.prototype.showLimitError=function(e){var t=this,n=this.getLimitErrorTitle(e.message.objectType),r=this.getLimitErrorText(e.message,e.userId,e.workspaceId),i=this.getSubscriptionType(e.workspaceId)==o.FREE,a=this.getWorkspaceById(e.workspaceId),s=e.userId==a.userId&&i,c={title:n,text:r,okButtonText:s?"Go to FuseBase Standard":"Ok",onSuccess:function(){s?(window.open("https://nimbusweb.me/pricing.php"),t._store.dispatch(Object(l.closeDialog)())):t._store.dispatch(Object(l.closeDialog)())}};this._store.dispatch(Object(l.openDialog)(c))},e.prototype.getLimitErrorTitle=function(e){switch(e){case a.USAGE:return"Limit traffic error";case a.NOTES_NUMBER:return"Pages limit reached";case a.ATTACHMENT:return"Attachment size too big";case a.DISABLED:return"Organization disabled"}},e.prototype.getLimitErrorText=function(e,t,n){var r=this.getLimitErrorsByWsType(n,t,this.limitErrors),o=this.getLimitErrorsBySubscriptionType(r,n),i=this.getLimitErrorsByShareType(o);return this.getLimitErrorTextByErrorType(e.objectType,i)},e.prototype.getLimitErrorsByWsType=function(e,t,n){switch(this.getWsType(e,t)){case r.BUSSINESS:return n.bussinesWs;case r.PERSONAL:return n.personalWs;case r.SHARED:return n.sharedWs}},e.prototype.getLimitErrorsBySubscriptionType=function(e,t){switch(this.getSubscriptionType(t)){case o.FREE:return e.free;case o.PRO:return e.pro}},e.prototype.getLimitErrorsByShareType=function(e){switch(this.getShareType()){case i.NOTE:return e.note;case i.FOLDER:return e.folder}},e.prototype.getLimitErrorTextByErrorType=function(e,t){switch(e){case a.USAGE:return t.usage;case a.NOTES_NUMBER:return t.notesNumber;case a.ATTACHMENT:return t.attachment}},e.prototype.getWsType=function(e,t){var n=this.getWorkspaceById(e);if(this.organizations&&this.organizations.length)return this.organizations.find((function(e){return e.globalId==n.orgId}))?r.BUSSINESS:n.userId==t?r.PERSONAL:r.SHARED},e.prototype.getSubscriptionType=function(e){return this.getWorkspaceById(e).hasActivePremium?o.PRO:o.FREE},e.prototype.getShareType=function(){return"note"==this.currentNote.type?i.NOTE:i.FOLDER},e.prototype.getWorkspaceById=function(e){return this.workspaces.find((function(t){return t.globalId==e}))},e}()},"./src/app/share/share-folder.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareFolderComponent",(function(){return b})),n.d(t,"View_ShareFolderComponent_0",(function(){return x})),n.d(t,"View_ShareFolderComponent_Host_0",(function(){return k})),n.d(t,"ShareFolderComponentNgFactory",(function(){return O}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/top/top.component.ngfactory.js"),i=n("./src/app/share/top/top.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/universal-config.ts"),l=n("./src/app/share/share-copy.service.ts"),c=n("./node_modules/@angular/router/fesm5/router.js"),u=n("./src/app/social/social.service.ts"),d=n("./src/app/header/get-nimbus-popup.service.ts"),p=n("./node_modules/@angular/common/fesm5/common.js"),f=n("./src/app/share/spam.component.ngfactory.js"),h=n("./src/app/share/spam.component.ts"),m=n("./src/app/share/folder/folder.component.ngfactory.js"),g=n("./src/app/share/folder/folder.component.ts"),y=n("./src/app/share/share-folder.component.ts"),v=n("./src/angular2-meta.ts"),b=r["ɵcrt"]({encapsulation:0,styles:["nns-top[_ngcontent-%COMP%] {\n      position:relative;\n      left:0;\n      top:0;\n      position: relative;\n      z-index: 1;\n    }\n\n    .no-flex[_nghost-%COMP%]   nns-folder[_ngcontent-%COMP%], .no-flex   [_nghost-%COMP%]   nns-folder[_ngcontent-%COMP%] {\n      display: block;\n    }\n    .nns-folder-loader[_ngcontent-%COMP%] {\n      box-sizing: border-box;\n      max-width: 986px;\n      margin: 0 auto;\n      padding: 0 26px;\n    }","@media only screen and (max-width: 768px) {\n      nns-top[_ngcontent-%COMP%]{\n        display: none;\n      }\n      .nns-embed[_nghost-%COMP%]   nns-top[_ngcontent-%COMP%], .nns-embed   [_nghost-%COMP%]   nns-top[_ngcontent-%COMP%]{\n        display: block;\n      }\n    }"],data:{}});function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-top",[["class","nns-top-folders"],["flex","none"]],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),o.View_TopComponent_0,o.RenderType_TopComponent)),r["ɵdid"](1,573440,null,0,i.TopComponent,[a.Store,s.Config,l.ShareCopyService,"isBrowser",c.Router,u.SocialService,d.GetNimbusPopupService],{note:[0,"note"],login:[1,"login"],share:[2,"share"],shareCopy:[3,"shareCopy"],visual:[4,"visual"],branding:[5,"branding"],profile:[6,"profile"]},null),r["ɵdid"](2,278528,null,0,p.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](3,{"nns-top-fixed":0,"nns-top-empty":1})],(function(e,t){var n=t.component;e(t,1,0,n.folder,n.login,n.share,n.shareCopy,n.visual,n.branding,n.profile);var r=e(t,3,0,n.visual.isHeaderFixed&&!n.visual.isEmbed,!n.share.parent&&n.branding&&!n.branding.sharesShareButton&&!n.branding.sharesAllowPrint);e(t,2,0,"nns-top-folders",r)}),null)}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function C(e){return r["ɵvid"](0,[(e()(),r["ɵand"](0,null,null,0))],null,null)}function S(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-spam",[["class","nns-spam-link-reverse"],["flex","none"],["layout","row"],["layout-align","start start"]],null,null,null,f.View_SpamComponent_0,f.RenderType_SpamComponent)),r["ɵdid"](1,49152,null,0,h.SpamComponent,[s.Config],null,null)],null,null)}function E(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-folder",[["flex","noshrink"],["layout","column"]],null,null,null,m.View_FolderComponent_0,m.RenderType_FolderComponent)),r["ɵdid"](1,573440,null,0,g.FolderComponent,[],{folder:[0,"folder"],share:[1,"share"],children:[2,"children"],visual:[3,"visual"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,S)),r["ɵdid"](3,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](0,null,null,0))],(function(e,t){var n=t.component;e(t,1,0,n.folder,n.share,n.children,n.visual),e(t,3,0,!n.visual.isEmbed&&!n.visual.isPreview&&!n.share.instance.orgTitle)}),null)}function x(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,_)),r["ɵdid"](1,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,w)),r["ɵdid"](3,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),(e()(),r["ɵand"](0,[["isntLoaded",2]],null,0,null,C)),(e()(),r["ɵand"](0,[["isLoaded",2]],null,0,null,E))],(function(e,t){var n=t.component;e(t,1,0,!n.visual.isEmbed||n.visual.isEmbed&&n.share.parent&&!n.visual.isWordpress),e(t,3,0,n.isPending,r["ɵnov"](t,4),r["ɵnov"](t,5))}),null)}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-folder",[],null,null,null,x,b)),r["ɵdid"](1,638976,null,0,y.ShareFolderComponent,[v.Meta],null,null)],(function(e,t){e(t,1,0)}),null)}var O=r["ɵccf"]("nns-share-folder",y.ShareFolderComponent,k,{folder:"folder",parent:"parent",share:"share",login:"login",children:"children",visual:"visual",shareCopy:"shareCopy",isPending:"isPending",branding:"branding",profile:"profile"},{},[])},"./src/app/share/share-folder.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareFolderComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/angular2-meta.ts");var r=function(){function e(e){this._meta=e}return e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(){this.setMeta()},e.prototype.setMeta=function(){var e=null;this.share&&this.share.instance&&this.share.instance.brandingProfile&&(e={type:"image",mime:"image/png",attachmentURL:"/file/"+this.share.instance.brandingProfile.sharesSMMImageStoredFileUUID});var t=e||null;this._meta.setMetaForNode(this.share,this.folder,null,t)},e}()},"./src/app/share/share-item.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareItemComponent",(function(){return m})),n.d(t,"View_ShareItemComponent_0",(function(){return b})),n.d(t,"View_ShareItemComponent_Host_0",(function(){return _})),n.d(t,"ShareItemComponentNgFactory",(function(){return w}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/branding/branding-logo.component.ngfactory.js"),a=n("./src/app/branding/branding-logo.component.ts"),s=n("./src/app/universal-config.ts"),l=n("./src/app/share/share-note.component.ngfactory.js"),c=n("./src/app/share/share-note.component.ts"),u=n("./src/angular2-meta.ts"),d=n("./node_modules/@ngrx/store/fesm5/store.js"),p=n("./src/app/share/share-folder.component.ngfactory.js"),f=n("./src/app/share/share-folder.component.ts"),h=n("./src/app/share/share-item.component.ts"),m=r["ɵcrt"]({encapsulation:0,styles:[".nns-logo-wrapper[_ngcontent-%COMP%]{\n      max-width: 1600px;\n      min-width: 320px;\n      margin: 0 auto;\n      padding: 0 10px;\n      padding-top: 10px;\n      box-sizing: border-box;\n      display: flex;\n      width: 100%;\n    }\n    .nns-logo-wrapper__center[_ngcontent-%COMP%]{\n      justify-content: center;\n    }\n    .nns-logo-wrapper__right[_ngcontent-%COMP%]{\n      justify-content: flex-end;\n    }\n    .nns-logo-wrapper__folder[_ngcontent-%COMP%]::before{\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      width: 100%;\n      height: 100%;\n      z-index: -1;\n    }\n    [_nghost-%COMP%] {\n      -ms-flex:1;\n      box-sizing: border-box;\n      display: flex;\n      flex: 1 1 0;\n      -ms-flex-direction: column;\n      flex-direction: column;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-logo-wrapper__folder[_ngcontent-%COMP%]::before, .nns-theme-night   [_nghost-%COMP%]   .nns-logo-wrapper__folder[_ngcontent-%COMP%]::before{\n      display: none;\n    }\n\n    @media only screen and (max-width: 768px) {\n      .nns-logo-wrapper[_ngcontent-%COMP%]{\n        justify-content: center;\n      }\n    }"],data:{}});function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-logo-wrapper"]],null,null,null,null,null)),r["ɵdid"](1,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](2,{"nns-logo-wrapper__center":0,"nns-logo-wrapper__right":1,"nns-logo-wrapper__folder":2}),(e()(),r["ɵeld"](3,0,null,null,1,"nns-branding-logo",[],null,null,null,i.View_BrandingLogoComponent_0,i.RenderType_BrandingLogoComponent)),r["ɵdid"](4,573440,null,0,a.BrandingLogoComponent,[s.Config],{sharesLogo:[0,"sharesLogo"],sharesLogoLink:[1,"sharesLogoLink"],visual:[2,"visual"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,"center"==n.branding.sharesLogoPosition,"right"==n.branding.sharesLogoPosition,"folder"==(null==n.note?null:n.note.type));e(t,1,0,"nns-logo-wrapper",r),e(t,4,0,n.branding.sharesLogoStoredFileUUID,n.branding.sharesLogoLink,n.visual)}),null)}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-note",[["flex",""],["layout","column"]],null,null,null,l.View_ShareNoteComponent_0,l.RenderType_ShareNoteComponent)),r["ɵdid"](1,638976,null,0,c.ShareNoteComponent,[u.Meta,s.Config,d.Store],{note:[0,"note"],text:[1,"text"],login:[2,"login"],attachments:[3,"attachments"],workspaces:[4,"workspaces"],currentNoteWorkspace:[5,"currentNoteWorkspace"],todos:[6,"todos"],share:[7,"share"],visual:[8,"visual"],shareCopy:[9,"shareCopy"],preview:[10,"preview"],branding:[11,"branding"],profile:[12,"profile"],outlines:[13,"outlines"]},null)],(function(e,t){var n=t.component;e(t,1,1,[n.note,n.text,n.login,n.attachments,n.workspaces,n.currentNoteWorkspace,n.todos,n.share,n.visual,n.shareCopy,n.preview,n.branding,n.profile,n.outlines])}),null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-folder",[["flex",""],["layout","column"]],null,null,null,p.View_ShareFolderComponent_0,p.RenderType_ShareFolderComponent)),r["ɵdid"](1,638976,null,0,f.ShareFolderComponent,[u.Meta],{folder:[0,"folder"],share:[1,"share"],login:[2,"login"],children:[3,"children"],visual:[4,"visual"],shareCopy:[5,"shareCopy"],isPending:[6,"isPending"],branding:[7,"branding"],profile:[8,"profile"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.note,n.share,n.login,n.children,n.visual,n.shareCopy,n.isPending,n.branding,n.profile)}),null)}function b(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](1,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](3,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](5,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.branding&&n.branding.sharesLogoStoredFileUUID&&null!=n.branding.sharesLogoStoredFileUUID&&!n.branding.sharesTopbar&&!n.visual.isEmbed),e(t,3,0,"note"==(null==n.note?null:n.note.type)),e(t,5,0,"folder"==(null==n.note?null:n.note.type))}),null)}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-item",[],null,null,null,b,m)),r["ɵdid"](1,49152,null,0,h.ShareItemComponent,[],null,null)],null,null)}var w=r["ɵccf"]("nns-share-item",h.ShareItemComponent,_,{attachments:"attachments",workspaces:"workspaces",currentNoteWorkspace:"currentNoteWorkspace",children:"children",note:"note",preview:"preview",login:"login",share:"share",shareCopy:"shareCopy",text:"text",todos:"todos",visual:"visual",isPending:"isPending",branding:"branding",profile:"profile",outlines:"outlines"},{},[])},"./src/app/share/share-item.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareItemComponent",(function(){return r}));var r=function(){}},"./src/app/share/share-note.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareNoteComponent",(function(){return N})),n.d(t,"View_ShareNoteComponent_0",(function(){return z})),n.d(t,"View_ShareNoteComponent_Host_0",(function(){return q})),n.d(t,"ShareNoteComponentNgFactory",(function(){return G}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/exit-fullscreen.component.ngfactory.js"),i=n("./src/app/common/exit-fullscreen.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/share/top/top.component.ngfactory.js"),l=n("./src/app/share/top/top.component.ts"),c=n("./src/app/universal-config.ts"),u=n("./src/app/share/share-copy.service.ts"),d=n("./node_modules/@angular/router/fesm5/router.js"),p=n("./src/app/social/social.service.ts"),f=n("./src/app/header/get-nimbus-popup.service.ts"),h=n("./node_modules/@angular/common/fesm5/common.js"),m=n("./src/app/share/tabs/tabs.component.ngfactory.js"),g=n("./src/app/share/tabs/tabs.component.ts"),y=n("./src/app/share/share-config.component.ngfactory.js"),v=n("./src/app/share/share-config.component.ts"),b=n("./node_modules/@angular/http/fesm5/http.js"),_=n("./src/app/share/note/outlines/outline.component.ngfactory.js"),w=n("./src/app/share/note/outlines/outline.component.ts"),C=n("./src/app/share/spam.component.ngfactory.js"),S=n("./src/app/share/spam.component.ts"),E=n("./src/app/share/to-top.component.ngfactory.js"),x=n("./src/app/share/to-top.component.ts"),k=n("./src/app/share/note/todos-panel.component.ngfactory.js"),O=n("./src/app/share/note/todos-panel.component.ts"),T=n("./src/app/share/note/note.component.ngfactory.js"),A=n("./src/app/share/note/note.component.ts"),P=n("./src/app/profile/profile.service.ts"),R=n("./src/app/metrics.service.ts"),I=n("./src/app/share/share-note.component.ts"),M=n("./src/angular2-meta.ts"),N=r["ɵcrt"]({encapsulation:0,styles:["nns-top[_ngcontent-%COMP%] {\n      position:relative;\n      left:0;\n      top:0;\n    }\n    .wrapper[_ngcontent-%COMP%]{\n      flex: 1;\n      display: flex;\n    }\n    .wrapper[_ngcontent-%COMP%]:not(.nns-no-sidebar){\n      display: flex;\n      width: 100%;\n      max-width: 1200px;\n      margin: 0 auto;\n      padding-left: 230px;\n    }\n    nns-note[_ngcontent-%COMP%]{\n      width: 100%;\n    }\n    .nns-sidebar[_ngcontent-%COMP%]{\n      flex: 0 0 230px;\n      width: 230px;\n      background-color: #fff;\n    }\n    .nns-no-sidebar[_ngcontent-%COMP%]   .nns-sidebar[_ngcontent-%COMP%]{\n      display: none;\n    }\n    .nns-no-sidebar[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{\n      padding-left: 0;\n    }\n\n    nns-share-config[_ngcontent-%COMP%]{\n      display: block;\n      margin-top: 41px;\n    }\n\n    nns-outline-btn[_ngcontent-%COMP%]{\n      position: absolute;\n      right: 12px;\n      top: 41px;\n    }\n\n    @media only screen and (min-width: 1200px) {\n      .wrapper[_ngcontent-%COMP%]:not(.nns-no-sidebar)   nns-note[_ngcontent-%COMP%] {\n        max-width: calc(100% - 230px);\n      }\n    }\n\n    @media only screen and (max-width: 1430px) {\n      .wrapper[_ngcontent-%COMP%]{\n        padding-left: 0!important;\n      }\n    }\n\n    @media only screen and (max-width: 1200px) {\n      .nns-sidebar[_ngcontent-%COMP%]{\n        position: fixed;\n        right: 0;\n        top: 57px;\n        height: 100%;\n      }\n\n      .nns-no-sidebar[_ngcontent-%COMP%]   .nns-sidebar[_ngcontent-%COMP%]{\n        right: -300px;\n      }\n\n      .nns-sidebar-has-config[_ngcontent-%COMP%]   .nns-sidebar[_ngcontent-%COMP%] {\n        right: -300px;\n      }\n\n      .wrapper[_ngcontent-%COMP%]:not(.nns-no-sidebar)   nns-note[_ngcontent-%COMP%]{\n        max-width: 100%;\n      }\n\n      .wrapper[_ngcontent-%COMP%]:not(.nns-no-sidebar)   nns-note[_ngcontent-%COMP%]     .editor-body{\n        padding: 0 10px;\n      }\n\n      .nns-sidebar[_ngcontent-%COMP%]   nns-share-config[_ngcontent-%COMP%] {\n        display: none;\n      }\n    }\n\n    @media only screen and (max-width: 768px) {\n      nns-exit-fullscreen[_ngcontent-%COMP%]{\n        display: none;\n      }\n    }\n\n    @media only screen and (max-width: 600px) {\n      .wrapper[_ngcontent-%COMP%]{\n        flex-direction: column;\n      }\n    }",".no-flex[_nghost-%COMP%]   nns-note[_ngcontent-%COMP%], .no-flex   [_nghost-%COMP%]   nns-note[_ngcontent-%COMP%] {\n      display:block;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-sidebar[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-sidebar[_ngcontent-%COMP%]{\n      background-color: #20252B;\n    }\n    .nns-fullwidth[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{\n      box-sizing: border-box;\n      margin: 0;\n      padding-left: 0;\n      max-width: 100%;\n    }"],data:{}});function D(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-exit-fullscreen",[],[[8,"className",0]],null,null,o.View_ExitFullscreenComponent_0,o.RenderType_ExitFullscreenComponent)),r["ɵdid"](1,114688,null,0,i.ExitFullscreenComponent,[a.Store],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).classNames)}))}function j(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-top",[["flex","none"]],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),s.View_TopComponent_0,s.RenderType_TopComponent)),r["ɵdid"](1,573440,null,0,l.TopComponent,[a.Store,c.Config,u.ShareCopyService,"isBrowser",d.Router,p.SocialService,f.GetNimbusPopupService],{attachments:[0,"attachments"],note:[1,"note"],login:[2,"login"],share:[3,"share"],shareCopy:[4,"shareCopy"],visual:[5,"visual"],branding:[6,"branding"],profile:[7,"profile"]},null),r["ɵdid"](2,278528,null,0,h.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](3,{"nns-fullscreen":0,"nns-top-fixed":1,"nns-top-empty":2,"nns-top-align-left":3})],(function(e,t){var n=t.component;e(t,1,0,n.attachments,n.note,n.login,n.share,n.shareCopy,n.visual,n.branding,n.profile);var r=e(t,3,0,n.visual.isFullscreen,n.visual.isHeaderFixed,!n.share.parent&&n.branding&&!n.branding.sharesShowDate&&!n.branding.sharesFullscreen&&!n.branding.sharesShareButton&&!n.branding.sharesAllowPrint,n.showShareConfig||n.isShowOutlines);e(t,2,0,r)}),null)}function L(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-tabs",[["class","mobile"],["flex","none"]],null,[[null,"changeTab"]],(function(e,t,n){var r=!0,o=e.component;"changeTab"===t&&(r=!1!==o.changeTab(n)&&r);return r}),m.View_TabsComponent_0,m.RenderType_TabsComponent)),r["ɵdid"](1,114688,null,0,g.TabsComponent,[],{filesCount:[0,"filesCount"],todosCount:[1,"todosCount"]},{changeTab:"changeTab"})],(function(e,t){var n=t.component;e(t,1,0,n.attachmentsInListCount,n.todosCount)}),null)}function B(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-config",[],null,null,null,y.View_ShareConfigComponent_0,y.RenderType_ShareConfigComponent)),r["ɵdid"](1,573440,null,0,v.ShareConfigComponent,[b.Http,c.Config,a.Store,"isBrowser",u.ShareCopyService],{share:[0,"share"],note:[1,"note"],workspaces:[2,"workspaces"],currentNoteWorkspace:[3,"currentNoteWorkspace"],visual:[4,"visual"],profile:[5,"profile"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.share,n.note,n.workspaces,n.currentNoteWorkspace,n.visual,n.profile)}),null)}function F(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["id","nns-outline-wrapper"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"nns-outline",[],[[8,"className",0]],null,null,_.View_OutlineComponent_0,_.RenderType_OutlineComponent)),r["ɵdid"](2,770048,null,0,w.OutlineComponent,[a.Store,"isBrowser"],{outlines:[0,"outlines"],isFullScreen:[1,"isFullScreen"],isSingle:[2,"isSingle"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.outlines,n.visual.isFullscreen,!n.showShareConfig)}),(function(e,t){e(t,1,0,r["ɵnov"](t,2).classNames)}))}function U(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-spam",[["flex","none"],["layout","row"],["layout-align","start start"]],null,null,null,C.View_SpamComponent_0,C.RenderType_SpamComponent)),r["ɵdid"](1,49152,null,0,S.SpamComponent,[c.Config],null,null)],null,null)}function H(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-to-top",[["flex",""],["layout","row"],["layout-align","center center"]],[[2,"active",null]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).scrollToTop()&&o);return o}),E.View_ToTopComponent_0,E.RenderType_ToTopComponent)),r["ɵdid"](1,114688,null,0,x.ToTopComponent,[],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).isActive)}))}function V(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-todos-panel",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),k.View_TodosPanelComponent_0,k.RenderType_TodosPanelComponent)),r["ɵdid"](1,573440,null,0,O.TodosPanelComponent,[a.Store],{todos:[0,"todos"],todosOrder:[1,"todosOrder"]},null),r["ɵdid"](2,278528,null,0,h.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](3,{"nns-full-screen":0})],(function(e,t){var n=t.component;e(t,1,0,n.todos,n.note.todosOrder);var r=e(t,3,0,n.visual.isFullscreen);e(t,2,0,r)}),null)}function z(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,D)),r["ɵdid"](1,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,j)),r["ɵdid"](3,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](4,0,null,null,13,"div",[["class","wrapper"]],null,null,null,null,null)),r["ɵdid"](5,278528,null,0,h.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](6,{"nns-no-sidebar":0,"nns-sidebar-has-config":1}),(e()(),r["ɵand"](16777216,null,null,1,null,L)),r["ɵdid"](8,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](9,0,null,null,3,"nns-note",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,10).closeFullScreen(n)&&o);return o}),T.View_NoteComponent_0,T.RenderType_NoteComponent)),r["ɵdid"](10,638976,null,0,A.NoteComponent,[a.Store,d.Router,P.ProfileService,"isBrowser",c.Config,R.MetricsService],{profile:[0,"profile"],text:[1,"text"],note:[2,"note"],attachments:[3,"attachments"],todos:[4,"todos"],share:[5,"share"],visual:[6,"visual"],activeTab:[7,"activeTab"],branding:[8,"branding"],showShareConfig:[9,"showShareConfig"],isShowOutlinesBtn:[10,"isShowOutlinesBtn"],outlinesButtonTitle:[11,"outlinesButtonTitle"]},null),r["ɵdid"](11,278528,null,0,h.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](12,{"nns-fullscreen":0}),(e()(),r["ɵeld"](13,0,null,null,4,"div",[["class","nns-sidebar"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,B)),r["ɵdid"](15,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,F)),r["ɵdid"](17,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,U)),r["ɵdid"](19,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,H)),r["ɵdid"](21,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,V)),r["ɵdid"](23,16384,null,0,h.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.visual.isFullscreen),e(t,3,0,n.showTopActions);var r=e(t,6,0,!n.showShareConfig&&!n.isShowOutlines,n.showShareConfig&&!n.isShowOutlines);e(t,5,0,"wrapper",r),e(t,8,0,n.attachmentsInListCount),e(t,10,1,[n.profile,n.text,n.note,n.attachments,n.todos,n.share,n.visual,n.activeTab,n.branding,n.showShareConfig,n.isShowOutlinesBtn,n.outlinesButtonTitle]);var o=e(t,12,0,n.visual.isFullscreen);e(t,11,0,o),e(t,15,0,n.showShareConfig),e(t,17,0,n.isShowOutlines),e(t,19,0,!n.visual.isEmbed&&!n.visual.isPreview&&!n.share.instance.orgTitle),e(t,21,0,n.visual.isShowToTopComponent&&!n.visual.isEmbed),e(t,23,0,n.visual.isTodoPanelOpened&&n.todos&&n.todos.length)}),null)}function q(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-note",[],null,null,null,z,N)),r["ɵdid"](1,638976,null,0,I.ShareNoteComponent,[M.Meta,c.Config,a.Store],null,null)],(function(e,t){e(t,1,0)}),null)}var G=r["ɵccf"]("nns-share-note",I.ShareNoteComponent,q,{note:"note",parent:"parent",text:"text",login:"login",attachments:"attachments",workspaces:"workspaces",currentNoteWorkspace:"currentNoteWorkspace",todos:"todos",share:"share",visual:"visual",shareCopy:"shareCopy",preview:"preview",branding:"branding",profile:"profile",outlines:"outlines"},{},[])},"./src/app/share/share-note.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareNoteComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/angular2-meta.ts"),n("./src/app/universal-config.ts");var r=n("./src/app/visual/visual.actions.ts"),o=function(){function e(e,t,n){this._meta=e,this._config=t,this._store=n,this.attachmentsInListCount=0,this.todosCount=0,this.showShareConfig=!1,this.isShowOutlines=!1,this.isShowOutlinesBtn=!1,this.activeTab=1}return e.prototype.ngOnInit=function(){window.innerWidth<=1200&&this._store.dispatch(Object(r.toggleOutlines)())},e.prototype.ngOnChanges=function(e){if(e.attachments&&(this.attachmentsInListCount=this.attachments.filter((function(e){return e.inList})).length),e.todos&&(this.todosCount=this.todos.filter((function(e){return!e.checked})).length),e.share||e.visual||e.note||e.profile||e.workspaces)if(this.share&&this.share.instance&&this.share.instance.currentUserCanEdit&&!this.visual.isEmbed&&!this.visual.isMobile&&!this.visual.isFullWidth&&this.note&&this.profile){var t="screencast"==this.note.role||"video"==this.note.role||"streaming_video"==this.note.role||"screenshot"==this.note.role||"clip"==this.note.role,n=this.share.instance.currentUserCanEdit&&t&&this.workspaces&&this.workspaces.length;this.showShareConfig=n}else this.showShareConfig=!1;(e.visual||e.note)&&(this.isShowOutlines=this.visual.isShowOutlines&&this.branding.sharesOutliner&&this.outlines&&this.outlines.length&&!this.visual.isEmbed&&this.note.outliner,this.isShowOutlines?this.outlinesButtonTitle="Hide table of contents":this.outlinesButtonTitle="Show table of contents"),(e.outlines||e.branding||e.visual)&&(this.isShowOutlinesBtn=this.outlines&&!!this.outlines.length&&this.branding.sharesOutliner&&!this.visual.isEmbed&&this.note.outliner),this.setMeta(),this.showTopActions=!this.visual.isEmbed||this.visual.isEmbed&&this.share.parent&&!this.visual.isVideo&&"screenshot"!=this.note.role&&!this.visual.isWordpress||this.visual.isEmbed&&this.visual.isEmbedPrintEnabled},e.prototype.setMeta=function(){var e=null;this.share&&this.share.instance&&this.share.instance.brandingProfile&&this.share.instance.brandingProfile.sharesSMMImageStoredFileUUID&&(e={type:"image",mime:"image/png",attachmentURL:"/file/"+this.share.instance.brandingProfile.sharesSMMImageStoredFileUUID});var t=this.preview||e||null;this._meta.setMetaForNode(this.share,this.note,this.text,t)},e.prototype.changeTab=function(e){this.activeTab=e},e}()},"./src/app/share/share-routing.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareRoutingModule",(function(){return r}));var r=function(){}},"./src/app/share/share-smart.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareSmartComponent",(function(){return _})),n.d(t,"View_ShareSmartComponent_0",(function(){return P})),n.d(t,"View_ShareSmartComponent_Host_0",(function(){return R})),n.d(t,"ShareSmartComponentNgFactory",(function(){return I}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/errors/error.component.ngfactory.js"),i=n("./src/app/errors/error.component.ts"),a=n("./src/app/universal-config.ts"),s=n("./node_modules/@angular/common/fesm5/common.js"),l=n("./src/app/share/note-encrypted.component.ngfactory.js"),c=n("./src/app/share/note-encrypted.component.ts"),u=n("./src/app/share/share-item.component.ngfactory.js"),d=n("./src/app/share/share-item.component.ts"),p=n("./src/app/share/share-uploading.component.ngfactory.js"),f=n("./src/app/share/share-uploading.component.ts"),h=n("./node_modules/@ngrx/store/fesm5/store.js"),m=n("./src/app/share/password/share-password.component.ngfactory.js"),g=n("./src/app/share/password/share-password.component.ts"),y=n("./src/app/share/share-smart.component.ts"),v=n("./node_modules/@angular/router/fesm5/router.js"),b=n("./src/angular2-meta.ts"),_=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      -ms-flex:1;\n      box-sizing: border-box;\n      display: flex;\n      flex: 1 1 0;\n      -ms-flex-direction: column;\n      flex-direction: column;\n    }\n    .no-flex[_nghost-%COMP%]   nns-share-password[_ngcontent-%COMP%], .no-flex   [_nghost-%COMP%]   nns-share-password[_ngcontent-%COMP%], .no-flex[_nghost-%COMP%]   nns-error[_ngcontent-%COMP%], .no-flex   [_nghost-%COMP%]   nns-error[_ngcontent-%COMP%]\n     {\n       display:block;\n     }"],data:{}});function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function C(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-error",[["flex","noshrink"]],null,null,null,o.View_ErrorComponent_0,o.RenderType_ErrorComponent)),r["ɵdid"](1,573440,null,0,i.ErrorComponent,[a.Config],{errorCode:[0,"errorCode"],currentOrganization:[1,"currentOrganization"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.isNetworkError$)),r["ɵunv"](t,1,1,r["ɵnov"](t,3).transform(n.currentOrganization$)))}),null)}function S(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[],null,null,null,null,null))],null,null)}function E(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-note-encrypted",[["flex","noshrink"],["layout","row"],["layout-align","center center"]],null,null,null,l.View_NoteEncryptedComponent_0,l.RenderType_NoteEncryptedComponent)),r["ɵdid"](1,49152,null,0,c.NoteEncryptedComponent,[],null,null)],null,null)}function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,16,"nns-share-item",[],null,null,null,u.View_ShareItemComponent_0,u.RenderType_ShareItemComponent)),r["ɵdid"](1,49152,null,0,d.ShareItemComponent,[],{attachments:[0,"attachments"],workspaces:[1,"workspaces"],currentNoteWorkspace:[2,"currentNoteWorkspace"],children:[3,"children"],note:[4,"note"],preview:[5,"preview"],login:[6,"login"],share:[7,"share"],shareCopy:[8,"shareCopy"],text:[9,"text"],todos:[10,"todos"],visual:[11,"visual"],isPending:[12,"isPending"],branding:[13,"branding"],profile:[14,"profile"],outlines:[15,"outlines"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,1,[r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.attachments$)),r["ɵunv"](t,1,1,r["ɵnov"](t,3).transform(n.workspaces$)),r["ɵunv"](t,1,2,r["ɵnov"](t,4).transform(n.currentNoteWorkspace$)),r["ɵunv"](t,1,3,r["ɵnov"](t,5).transform(n.children$)),t.context.$implicit,r["ɵunv"](t,1,5,r["ɵnov"](t,6).transform(n.preview$)),r["ɵunv"](t,1,6,r["ɵnov"](t,7).transform(n.login$)),r["ɵunv"](t,1,7,r["ɵnov"](t,8).transform(n.share$)),r["ɵunv"](t,1,8,r["ɵnov"](t,9).transform(n.shareCopy$)),r["ɵunv"](t,1,9,r["ɵnov"](t,10).transform(n.text$)),r["ɵunv"](t,1,10,r["ɵnov"](t,11).transform(n.todos$)),r["ɵunv"](t,1,11,r["ɵnov"](t,12).transform(n.visual$)),r["ɵunv"](t,1,12,r["ɵnov"](t,13).transform(n.isShareFetching$)),r["ɵunv"](t,1,13,r["ɵnov"](t,14).transform(n.branding$)),r["ɵunv"](t,1,14,r["ɵnov"](t,15).transform(n.profile$)),r["ɵunv"](t,1,15,r["ɵnov"](t,16).transform(n.outlines$))])}),null)}function k(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,2,null,x)),r["ɵdid"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](0,null,null,0))],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.currentNote$)))}),null)}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-share-uploading",[["flex","noshrink"]],null,null,null,p.View_ShareUploadingComponent_0,p.RenderType_ShareUploadingComponent)),r["ɵdid"](1,245760,null,0,f.ShareUploadingComponent,["isBrowser",h.Store],{share:[0,"share"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.share$)))}),null)}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-share-password",[["flex","noshrink"]],null,[[null,"onSendPassword"]],(function(e,t,n){var r=!0,o=e.component;"onSendPassword"===t&&(r=!1!==o.unlockWithPassword(n)&&r);return r}),m.View_SharePasswordComponent_0,m.RenderType_SharePasswordComponent)),r["ɵdid"](1,245760,null,0,g.SharePasswordComponent,["isBrowser"],{isPasswordWrong:[0,"isPasswordWrong"],visual:[1,"visual"],share:[2,"share"]},{onSendPassword:"onSendPassword"}),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef])],(function(e,t){var n=t.component;e(t,1,0,n.isPasswordWrong$,r["ɵunv"](t,1,1,r["ɵnov"](t,2).transform(n.visual$)),r["ɵunv"](t,1,2,r["ɵnov"](t,3).transform(n.share$)))}),null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,2,null,S)),r["ɵdid"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](0,[["isEncryptred",2]],null,0,null,E)),(e()(),r["ɵand"](0,[["note",2]],null,0,null,k)),(e()(),r["ɵand"](16777216,null,null,2,null,O)),r["ɵdid"](6,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](16777216,null,null,2,null,T)),r["ɵdid"](9,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](0,null,null,0))],(function(e,t){var n,o=t.component;e(t,1,0,null==(n=r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(o.currentNote$)))?null:n.isEncrypted,r["ɵnov"](t,3),r["ɵnov"](t,4)),e(t,6,0,r["ɵunv"](t,6,0,r["ɵnov"](t,7).transform(o.isNoteUploading$))),e(t,9,0,r["ɵunv"](t,9,0,r["ɵnov"](t,10).transform(o.isNotePasswordClosed$)))}),null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,2,null,w)),r["ɵdid"](1,16384,null,0,s.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfThen:[1,"ngIfThen"],ngIfElse:[2,"ngIfElse"]},null),r["ɵpid"](131072,s.AsyncPipe,[r.ChangeDetectorRef]),(e()(),r["ɵand"](0,[["error",2]],null,0,null,C)),(e()(),r["ɵand"](0,[["noError",2]],null,0,null,A))],(function(e,t){var n=t.component;e(t,1,0,r["ɵunv"](t,1,0,r["ɵnov"](t,2).transform(n.isNetworkError$)),r["ɵnov"](t,3),r["ɵnov"](t,4))}),null)}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-smart",[],null,null,null,P,_)),r["ɵdid"](1,114688,null,0,y.ShareSmartComponent,[v.ActivatedRoute,h.Store,b.Meta],null,null)],(function(e,t){e(t,1,0)}),null)}var I=r["ɵccf"]("nns-share-smart",y.ShareSmartComponent,R,{},{},[])},"./src/app/share/share-smart.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareSmartComponent",(function(){return h}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=(n("./node_modules/@angular/router/fesm5/router.js"),n("./node_modules/rxjs/_esm5/operators/index.js")),i=n("./src/app/share/share.actions.ts"),a=n("./src/app/share/models/index.ts"),s=n("./src/app/visual/visual.selector.ts"),l=n("./src/app/branding/branding.selector.ts"),c=n("./src/app/organizations/organizations.selector.ts"),u=(n("./src/angular2-meta.ts"),n("./node_modules/rxjs/_esm5/index.js")),d=n("./src/app/profile/profile.selector.ts"),p=n("./src/app/workspaces/workspaces.selector.ts"),f=n("./src/app/share/note/outlines/outline.selector.ts"),h=function(){function e(e,t,n){var i=this;this._route=e,this._store=t,this._meta=n,this.share$=this._store.pipe(Object(r.select)(a.selectCurrentShare)),this.currentNote$=this._store.pipe(Object(r.select)(a.selectCurrentNote)),this.attachments$=this._store.pipe(Object(r.select)(a.selectCurrentAttachments)),this.text$=this._store.pipe(Object(r.select)(a.selectText)),this.children$=this._store.pipe(Object(r.select)(a.selectChildren)),this.login$=this._store.select("login"),this.visual$=this._store.pipe(Object(r.select)(s.selectVisual)),this.shareCopy$=this._store.pipe(Object(r.select)(a.selectShareCopy)),this.preview$=this._store.pipe(Object(r.select)(a.selectPreview)),this.todos$=this._store.pipe(Object(r.select)(a.selectTodos)),this.branding$=this._store.pipe(Object(r.select)(l.selectBranding)),this.workspaces$=this._store.pipe(Object(r.select)(p.getCurrentNoteOrgWorkspaces)),this.currentNoteWorkspace$=this._store.pipe(Object(r.select)(p.getCurrentNoteOrgWorkspace)),this.currentOrganization$=this._store.pipe(Object(r.select)(c.getCurrentOrganization)),this.profile$=this._store.pipe(Object(r.select)(d.selectCurrentProfile)),this.outlines$=this._store.pipe(Object(r.select)(f.selectPreparedAllOutlines)),this.isShareFetching$=this.isShareFetching(),this.isNoteUploading$=this.isNoteUploading(),this.isNetworkError$=this.isNetworkError(),this.isNotePasswordClosed$=this.isNotePasswordClosed(),this.isPasswordWrong$=this.isPasswordWrong(),Object(u.combineLatest)(this.isNetworkError$,this.isNotePasswordClosed$,this.currentOrganization$).pipe(Object(o.filter)((function(e){var t=e[0],n=e[1],r=e[2];return(t||n)&&r}))).subscribe((function(e){e[0],e[1];var t=e[2];i.setMetaForError(t)}))}return e.prototype.ngOnInit=function(){var e=this;this._route.params.forEach((function(t){var n=t.nodeId;e._store.dispatch(Object(i.selectItem)(n,!0))}))},e.prototype.isNoteUploading=function(){return this.share$.pipe(Object(o.map)((function(e){return e.isNoteUploading})))},e.prototype.isNotePasswordClosed=function(){return this.share$.pipe(Object(o.map)((function(e){var t=e.instance;return t&&t.passwordRequired&&!t.accessAllowed})))},e.prototype.isNetworkError=function(){return this.share$.pipe(Object(o.map)((function(e){return e.networkErrorCode})))},e.prototype.isShareFetching=function(){return this.share$.pipe(Object(o.map)((function(e){return e.isFetching&&e.isInitialFetched})))},e.prototype.isPasswordWrong=function(){return this.share$.pipe(Object(o.map)((function(e){return e.isPasswordWrong})))},e.prototype.setMetaForError=function(e){this._meta.setMetaForError(e)},e.prototype.unlockWithPassword=function(e){this._store.dispatch(Object(i.unlockShare)(e))},e}()},"./src/app/share/share-uploading.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareUploadingComponent",(function(){return a})),n.d(t,"View_ShareUploadingComponent_0",(function(){return s})),n.d(t,"View_ShareUploadingComponent_Host_0",(function(){return l})),n.d(t,"ShareUploadingComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/share-uploading.component.ts"),i=n("./node_modules/@ngrx/store/fesm5/store.js"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position:relative;\n      box-sizing:border-box;\n      padding:105px 0;\n    }\n    .nns-error-page-content[_ngcontent-%COMP%] {text-align:center;}\n    nns-error-page[_ngcontent-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n      max-width:970px;\n      min-width:320px;\n      margin:0 auto;\n      padding:0 10px;\n    }\n    .nns-error-page-type[_ngcontent-%COMP%] {\n      font-weight:bold;\n      font-size:235px;\n      color:#EBEFF1;\n      letter-spacing:-5.91px;\n      line-height:1;\n    }\n    .nns-error-page-title[_ngcontent-%COMP%] {\n      font-weight:bold;\n      font-size:32px;\n      color:#3C4849;\n      padding:0 0 14px 0;\n      line-height:1.3;\n    }\n    .nns-error-page-desc[_ngcontent-%COMP%] {\n      font-size:18px;\n      color:#2F3737;\n    }\n    @media only screen and (max-width: 768px) {\n\n      .nns-error-page-type[_ngcontent-%COMP%] {\n        font-size:150px;\n        letter-spacing:-3.77px;\n      }\n      .nns-error-page-title[_ngcontent-%COMP%] {font-size:20px;}\n\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-error-page-title[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-error-page-title[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-error-page-desc[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-error-page-desc[_ngcontent-%COMP%]{\n      color: #fff;\n    }"],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"div",[["class","nns-wrapper"],["flex",""],["layout","row"],["layout-align","center start"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","nns-error-page-content"],["flex","none"],["layout","column"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"div",[["class","nns-error-page-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Uploading..."])),(e()(),r["ɵeld"](4,0,null,null,1,"div",[["class","nns-error-page-desc"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Please wait"]))],null,null)}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share-uploading",[],null,null,null,s,a)),r["ɵdid"](1,245760,null,0,o.ShareUploadingComponent,["isBrowser",i.Store],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("nns-share-uploading",o.ShareUploadingComponent,l,{share:"share"},{},[])},"./src/app/share/share-uploading.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareUploadingComponent",(function(){return i}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=(n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/share/share.actions.ts")),i=function(){function e(e,t){this._store=t,this.isBrowser=e}return e.prototype.ngOnInit=function(){var e=this;if(this.isBrowser){var t=Object(r.interval)(2e3);this.subscription=t.subscribe((function(){if(e.isBrowser){var t=e.share.instance,n=t.id,r=t.securityKey;if(t.note)return;e._store.dispatch(Object(o.selectShare)(n,r,!0)),e._store.dispatch(Object(o.selectItem)(void 0))}}))}},e.prototype.ngOnDestroy=function(){this.isBrowser&&this.subscription.unsubscribe()},e}()},"./src/app/share/share.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SELECT_SHARE",(function(){return o})),n.d(t,"SELECT_ITEM",(function(){return i})),n.d(t,"INVALIDATE_SHARE",(function(){return a})),n.d(t,"REQUEST_ITEM",(function(){return s})),n.d(t,"RECEIVE_SHARE",(function(){return l})),n.d(t,"UNLOCK_SHARE",(function(){return c})),n.d(t,"WRONG_PASSWORD",(function(){return u})),n.d(t,"DECODE_TEXT",(function(){return d})),n.d(t,"COPY_SHARE",(function(){return p})),n.d(t,"SET_SHARE_ACCESS",(function(){return f})),n.d(t,"SET_SHARE_COPY_STATUS",(function(){return h})),n.d(t,"RECEIVE_COPY_SHARE_RESULT",(function(){return m})),n.d(t,"RECIEVE_COPY_SHARE_JOB_DONE",(function(){return g})),n.d(t,"NETWORK_ERROR",(function(){return y})),n.d(t,"UPDATE_SHARE",(function(){return v})),n.d(t,"DELETE_SHARE",(function(){return b})),n.d(t,"SET_SHARE_TITLE",(function(){return _})),n.d(t,"UPDATE_NOTE",(function(){return w})),n.d(t,"MOVE_NOTE",(function(){return C})),n.d(t,"NOTE_MOVE_FAILED",(function(){return S})),n.d(t,"ShareCopyStatus",(function(){return r})),n.d(t,"selectShare",(function(){return E})),n.d(t,"selectItem",(function(){return x})),n.d(t,"invalidateShare",(function(){return k})),n.d(t,"unlockShare",(function(){return O})),n.d(t,"recieveShare",(function(){return T})),n.d(t,"decodeText",(function(){return A})),n.d(t,"copyShare",(function(){return P})),n.d(t,"setShareAccess",(function(){return R})),n.d(t,"setShareCopyStatus",(function(){return I})),n.d(t,"recieveCopyShareResult",(function(){return M})),n.d(t,"updateShare",(function(){return N})),n.d(t,"recieveCopyShareJobDone",(function(){return D})),n.d(t,"networkError",(function(){return j})),n.d(t,"deleteShare",(function(){return L})),n.d(t,"setShareTitle",(function(){return B})),n.d(t,"updateNote",(function(){return F})),n.d(t,"moveNote",(function(){return U})),n.d(t,"noteMoveFailed",(function(){return H}));var r,o="SELECT_SHARE",i="SELECT_ITEM",a="INVALIDATE_SHARE",s="REQUEST_ITEM",l="RECEIVE_SHARE",c="UNLOCK_SHARE",u="WRONG_PASSWORD",d="DECODE_TEXT",p="COPY_SHARE",f="SET_SHARE_ACCESS",h="SET_SHARE_COPY_STATUS",m="RECEIVE_COPY_SHARE_RESULT",g="RECIEVE_COPY_SHARE_JOB_DONE",y="NETWORK_ERROR",v="UPDATE_SHARE",b="DELETE_SHARE",_="SET_SHARE_TITLE",w="UPDATE_NOTE",C="MOVE_NOTE",S="NOTE_MOVE_FAILED";function E(e,t,n){return void 0===n&&(n=!1),{type:o,id:e,securityKey:t,invalidate:n}}function x(e,t){return void 0===t&&(t=!1),{type:i,nodeId:e,invalidate:t}}function k(){return{type:a}}function O(e){return{type:c,password:e}}function T(e,t){return{type:l,result:e,fromClient:t}}function A(e,t){return{type:d,globalId:e,text:t}}function P(){return{type:p}}function R(e){return{type:f,data:e}}function I(e){return{type:h,status:e}}function M(e){return{type:m,result:e}}function N(e){return{type:v,share:e}}function D(){return{type:g}}function j(e){return{type:y,code:e}}function L(){return{type:b}}function B(e){return{type:_,title:e}}function F(e,t){return{type:w,noteId:e,note:t}}function U(e,t,n){return{type:C,noteId:e,currentWorkspaceId:t,workspaceIdToMove:n}}function H(){return{type:S}}!function(e){e[e.SHARE_COPY_INITIAL=0]="SHARE_COPY_INITIAL",e[e.SHARE_COPY_IN_PROGRESS=1]="SHARE_COPY_IN_PROGRESS",e[e.SHARE_COPY_DONE=2]="SHARE_COPY_DONE"}(r||(r={}))},"./src/app/share/share.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShareComponent",(function(){return s})),n.d(t,"View_ShareComponent_0",(function(){return l})),n.d(t,"View_ShareComponent_Host_0",(function(){return c})),n.d(t,"ShareComponentNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/router/fesm5/router.js"),i=n("./src/app/share/share.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      -ms-flex:1;\n      box-sizing: border-box;\n      display: flex;\n      flex: 1 1 0;\n      -ms-flex-direction: column;\n      flex-direction: column;\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["ɵdid"](1,212992,null,0,o.RouterOutlet,[o.ChildrenOutletContexts,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null)],(function(e,t){e(t,1,0)}),null)}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-share",[],null,null,null,l,s)),r["ɵdid"](1,114688,null,0,i.ShareComponent,[o.ActivatedRoute,a.Store],null,null)],(function(e,t){e(t,1,0)}),null)}var u=r["ɵccf"]("nns-share",i.ShareComponent,c,{},{},[])},"./src/app/share/share.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareComponent",(function(){return i}));n("./node_modules/@angular/core/fesm5/core.js"),n("./node_modules/@angular/router/fesm5/router.js"),n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/share/share.actions.ts"),o=n("./src/app/visual/visual.actions.ts"),i=function(){function e(e,t){this._route=e,this._store=t}return e.prototype.ngOnInit=function(){var e=this;this._route.params.forEach((function(t){var n=t.shareId,i=t.securityKey;e._store.dispatch(Object(o.turnOffFullscreen)()),e._store.dispatch(Object(r.selectShare)(n,i))}))},e}()},"./src/app/share/share.effects.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareEffects",(function(){return b}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js"),a=n("./node_modules/@ngrx/effects/fesm5/effects.js"),s=n("./node_modules/@angular/http/fesm5/http.js"),l=n("./node_modules/@ngrx/store/fesm5/store.js"),c=(n("./node_modules/@angular/router/fesm5/router.js"),n("./node_modules/@angular/common/fesm5/common.js")),u=n("./node_modules/normalizr/dist/src/index.js"),d=n("./src/app/share/share.actions.ts"),p=(n("./src/app/universal-config.ts"),n("./src/app/share/models/index.ts")),f=n("./src/app/visual/visual.actions.ts"),h=new u.schema.Entity("texts",{},{idAttribute:"noteGlobalId"}),m=new u.schema.Entity("attachments",{},{idAttribute:"globalId"}),g=new u.schema.Entity("notes",{},{idAttribute:"globalId"}),y=new u.schema.Entity("todos",{},{idAttribute:"globalId"});g.define({text:h,attachments:new u.schema.Array(m),todos:new u.schema.Array(y),children:new u.schema.Array(g)});var v=new u.schema.Entity("shares",{note:g,parentNode:g}),b=function(){function e(e,t,n,r,a,h,m){var g=this;this.actions$=e,this.store$=t,this.route=n,this.http=r,this._config=a,this.platformId=h,this.request=m,this.url="/shares",this.invalidtateShare$=this.actions$.ofType(d.INVALIDATE_SHARE).pipe(Object(i.map)((function(){return{type:d.REQUEST_ITEM}}))),this.selectShare$=this.actions$.ofType(d.SELECT_ITEM).pipe(Object(i.map)((function(){return{type:d.REQUEST_ITEM}}))),this.requestShare$=this.actions$.ofType(d.REQUEST_ITEM).pipe(Object(i.withLatestFrom)(this.store$.pipe(Object(l.select)(p.selectShare))),Object(i.map)((function(e){e[0];return e[1]})),Object(i.filter)((function(e){return e.isInvalidated})),Object(i.map)((function(e){var t=e.share;return{id:t.id,securityKey:t.securityKey,nodeId:e.nodeId}})),Object(i.switchMap)((function(e){var t=""+g.shareApiService+g.url+"/"+e.id+"?securityKey="+e.securityKey;if(e.nodeId&&(t+="&nodeId="+e.nodeId),g.request&&g.request.query){var n=g.request.query;t+="&"+Object.keys(n).map((function(e){return e+"="+n[e]})).join("&")}return g.http.get(t)})),Object(i.map)((function(e){var t=_(Object(u.normalize)(e.json(),v)),n=Object(c.isPlatformBrowser)(g.platformId);return Object(d.recieveShare)(t,n)})),Object(i.catchError)((function(e){return Object(o.of)({type:d.NETWORK_ERROR,code:e.status})}))),this.copyShare$=this.actions$.ofType(d.COPY_SHARE).pipe(Object(i.withLatestFrom)(this.store$),Object(i.filter)((function(e){e[0];return!e[1].share.shareCopyJobId})),Object(i.switchMap)((function(e){e[0];var t=e[1],n=t.workspaces.selectedWorkspaceId,r=t.share.share,o=""+g.shareApiService+g.url+"/"+r.id+"?securityKey="+r.securityKey;return t.share.nodeId&&(o+="&nodeId="+t.share.nodeId),n&&(o+="&workspaceId="+n),g.http.post(o,{})})),Object(i.map)((function(e){var t=e.json();return Object(d.recieveCopyShareResult)(t)})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_FAILED"})}))),this.moveNote$=this.actions$.ofType(d.MOVE_NOTE).pipe(Object(i.withLatestFrom)(this.store$),Object(i.filter)((function(e){e[0];return!e[1].share.shareCopyJobId})),Object(i.switchMap)((function(e){var t=e[0],n=e[1].share.share,r=n.id,o=n.securityKey,i=t,a=i.noteId,s=i.currentWorkspaceId,l=i.workspaceIdToMove,c=""+g.shareApiService+g.url+"/"+r+"/move?securityKey="+o;return g.http.post(c,{workspaceIdToMove:l,workspaceId:s,noteId:a})})),Object(i.map)((function(e){var t=_(Object(u.normalize)(e.json(),v)),n=Object(c.isPlatformBrowser)(g.platformId);return g.store$.dispatch(Object(f.showToast)({id:1,text:"The page is successfully moved",position:"right"})),Object(d.recieveShare)(t,n)})),Object(i.catchError)((function(e){return Object(o.of)({type:"NOTE_MOVE_FAILED"})}))),this.setShareAccess$=this.actions$.ofType(d.SET_SHARE_ACCESS).pipe(Object(i.withLatestFrom)(this.store$),Object(i.filter)((function(e){e[0];return!e[1].visual.isShareAccessUpdating})),Object(i.switchMap)((function(e){var t=e[0],n=e[1].share.share,r=n.noteGlobalId,o=t.data,i=o.accessControl,a=o.password,s=n.workspaceId,l=""+g.shareApiService+g.url+"/"+r+"/access?workspaceId="+s;return i?(g.store$.dispatch(Object(f.setIsShareAccessUpdating)(!0)),l+="&accessControl="+i,g.http.post(l,{accessControl:i})):(g.store$.dispatch(Object(f.setIsSharePasswordUpdating)(!0)),g.http.post(l,{password:a}))})),Object(i.map)((function(e){var t=e.json();return g.store$.dispatch(Object(f.setIsShareAccessUpdating)(!1)),g.store$.dispatch(Object(f.setIsSharePasswordUpdating)(!1)),t.accessAllowed=!0,Object(d.updateShare)(t)})),Object(i.catchError)((function(e){return g.store$.dispatch(Object(f.setIsShareAccessUpdating)(!1)),g.store$.dispatch(Object(f.setIsSharePasswordUpdating)(!1)),Object(o.of)({type:"REQUEST_FAILED"})}))),this.deteleShare$=this.actions$.ofType(d.DELETE_SHARE).pipe(Object(i.withLatestFrom)(this.store$),Object(i.filter)((function(e){e[0];return!e[1].share.shareCopyJobId})),Object(i.switchMap)((function(e){e[0];var t=e[1].share.share,n=t.noteGlobalId,r=t.workspaceId,o=""+g.shareApiService+g.url+"/"+n+"/?workspaceId="+r;return g.http.delete(o)})),Object(i.map)((function(e){var t=e.json();return location.href=location.href,Object(d.updateShare)(t)})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_FAILED"})}))),this.setShareTitle$=this.actions$.ofType(d.SET_SHARE_TITLE).pipe(Object(i.withLatestFrom)(this.store$),Object(i.filter)((function(e){e[0];return!e[1].share.shareCopyJobId})),Object(i.switchMap)((function(e){var t=e[0],n=e[1].share.share,r=n.noteGlobalId,o=n.workspaceId,i=t.title,a=""+g.shareApiService+g.url+"/"+r+"/title?workspaceId="+o;return g.http.post(a,{title:i})})),Object(i.map)((function(e){var t=e.json();return Object(d.updateNote)(t.globalId,{title:t.title})})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_FAILED"})}))),this.unlockShare$=this.actions$.ofType(d.UNLOCK_SHARE).pipe(Object(i.withLatestFrom)(this.store$),Object(i.switchMap)((function(e){var t=e[0],n=e[1],r=t,a=n.share.share,l=""+g.shareApiService+g.url+"/"+a.id+"/auth?securityKey="+a.securityKey;n.share.nodeId&&(l+="&nodeId="+n.share.nodeId);var c=JSON.stringify({password:r.password});return g.http.post(l,c,{headers:new s.Headers({"Content-Type":"application/json; charset=utf-8"})}).pipe(Object(i.catchError)((function(e){if(e.status&&403==e.status)return Object(o.of)(!1)})))})),Object(i.map)((function(e){return e?{type:d.REQUEST_ITEM}:{type:d.WRONG_PASSWORD}})),Object(i.catchError)((function(e){return Object(o.of)({type:d.NETWORK_ERROR,code:e.status})}))),this.shareApiService=a.get("SHARE_API_SERVICE")}return r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"invalidtateShare$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"selectShare$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"requestShare$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"copyShare$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"moveNote$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"setShareAccess$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"deteleShare$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"setShareTitle$",void 0),r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"unlockShare$",void 0),e}();function _(e){if(!(e&&e.entities&&e.entities.shares&&e.result&&e.entities.notes))return e;var t=e.entities.shares[e.result],n=t.id,r=t.securityKey;return Object.keys(e.entities.notes).forEach((function(t){var o=e.entities.notes[t];o.nnShareUrl="/share/"+n+"/"+r+"/"+o.globalId})),e}},"./src/app/share/share.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShareModule",(function(){return r}));var r=function(){}},"./src/app/share/share.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"shareInitialState",(function(){return s})),n.d(t,"shareReducer",(function(){return l})),n.d(t,"ɵ0",(function(){return a}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./src/app/share/share.actions.ts"),i=function(e){try{return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}catch(e){return""}},a=i,s={share:void 0,nodeId:void 0,shareCopyJobId:void 0,shareCopyNodeId:void 0,shareCopyStatus:o.ShareCopyStatus.SHARE_COPY_INITIAL,result:{entities:{notes:{},shares:{},texts:{},attachments:{}},result:void 0},isFetching:!1,isInitialFetched:!1,isPasswordRequired:!1,isInvalidated:!1,isUnlocking:!1,isPasswordWrong:!1,isNoteUploading:!1,isNoteMoving:!1,networkErrorCode:void 0};function l(e,t){switch(void 0===e&&(e=s),t.type){case o.REQUEST_ITEM:return r.__assign({},e,{isFetching:!0});case o.SELECT_SHARE:return e.share&&e.share.id===parseInt(t.id,10)&&e.share.securityKey===t.securityKey&&!t.invalidate?e:Object.assign({},e,{share:{id:t.id,securityKey:t.securityKey},isInvalidated:!0});case o.SELECT_ITEM:if(!t.nodeId&&(!e.nodeId||e.nodeId===e.share.noteGlobalId)||e.nodeId===t.nodeId&&!t.invalidate)return e;if(!e.share)throw new Error("Not selected share");var n=e.share,a=Object.assign({},n,{note:t.nodeId});return Object.assign({},e,{share:a,nodeId:t.nodeId,isInvalidated:!0});case o.INVALIDATE_SHARE:return Object.assign({},e,{isInvalidated:!0});case o.UNLOCK_SHARE:return Object.assign({},e,{isInvalidated:!0,isPasswordWrong:!1});case o.RECEIVE_SHARE:var l=t.result,c=t.fromClient,u=l.entities.shares[l.result],d=u.passwordRequired&&!u.note,p={isFetching:!1,isInitialFetched:!!c,isUnlocking:!1,isInvalidated:!1,isPasswordError:!1,isNoteMoving:!1,isPasswordRequired:d,isNoteUploading:!d&&!u.note,result:t.result,share:u,nodeId:void 0};for(var f in u.note&&(p.nodeId=u.note),p.result.entities.notes)p.result.entities.notes[f].url&&(p.result.entities.notes[f].url=i(p.result.entities.notes[f].url));return Object.assign({},e,p);case o.UPDATE_SHARE:var h=r.__assign({},e.share,t.share);return Object.assign({},e,{share:h});case o.UPDATE_NOTE:var m=t.note,g=t.noteId,y=Object.assign({},e.result.entities.notes[g],m),v=e;return v.result.entities.notes[g]=y,Object.assign({},e,v);case o.DECODE_TEXT:t.globalId;var b=t.text;return e.result.entities.texts[t.globalId].text=b,Object.assign({},e);case o.RECEIVE_COPY_SHARE_RESULT:return Object.assign({},e,{shareCopyJobId:t.result.id,shareCopyNodeId:t.result.targetNodeGlobalId});case o.COPY_SHARE:return Object.assign({},e,{shareCopyStatus:o.ShareCopyStatus.SHARE_COPY_IN_PROGRESS});case o.RECIEVE_COPY_SHARE_JOB_DONE:return Object.assign({},e,{shareCopyJobId:void 0,shareCopyStatus:o.ShareCopyStatus.SHARE_COPY_DONE});case o.SET_SHARE_COPY_STATUS:return Object.assign({},e,{shareCopyStatus:t.status});case o.NETWORK_ERROR:return Object.assign({},e,{isFetching:!1,isInitialFetched:!0,networkErrorCode:t.code});case o.WRONG_PASSWORD:return Object.assign({},e,{isPasswordWrong:!0});case o.MOVE_NOTE:return Object.assign({},e,{isNoteMoving:!0});case o.NOTE_MOVE_FAILED:return Object.assign({},e,{isNoteMoving:!1});default:return e}}},"./src/app/share/spam.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SpamComponent",(function(){return u})),n.d(t,"View_SpamComponent_0",(function(){return d})),n.d(t,"View_SpamComponent_Host_0",(function(){return p})),n.d(t,"SpamComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/safe-url.pipe.ts"),i=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js"),a=n("./src/app/common/icon.component.ngfactory.js"),s=n("./src/app/common/icon.component.ts"),l=n("./src/app/share/spam.component.ts"),c=n("./src/app/universal-config.ts"),u=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      background:#fff;\n    }\n    a[_ngcontent-%COMP%] {\n      font-size:12px;\n      color:rgba(0,0,0, 0.6);\n      padding:3px;\n      background:#EBEFF1;\n      border-radius:2px;\n      box-sizing:border-box;\n    }\n    a[_ngcontent-%COMP%]:hover {background:#EBEFF1;}\n    .nns-spam-link-text[_ngcontent-%COMP%] {padding:0 3px;}\n\n    .nns-spam-link-reverse[_nghost-%COMP%]   a[_ngcontent-%COMP%] {\n      background:#fff;\n    }\n    .nns-spam-link-reverse[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover {\n      background:#fff;\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-spam-link-reverse[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-spam-link-reverse[_ngcontent-%COMP%] {\n      background:#20252B;\n    }\n    .nns-theme-night[_nghost-%COMP%]   a[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   a[_ngcontent-%COMP%], .nns-theme-night[_nghost-%COMP%]   .nns-spam-link-reverse[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-spam-link-reverse[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n      background:#414B4C;\n      color:rgba(255,255,255,0.60);\n    }\n    .nns-theme-night[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover, .nns-theme-night[_nghost-%COMP%]   .nns-spam-link-reverse[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .nns-theme-night   [_nghost-%COMP%]   .nns-spam-link-reverse[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover {\n      background:rgba(181,181,181,0.10);\n      color:rgba(255,255,255,0.60);\n    }","@media print {\n      a[_ngcontent-%COMP%] {display:none !important;}\n    }"],data:{}});function d(e){return r["ɵvid"](0,[r["ɵpid"](0,o.SafeUrlPipe,[i.DomSanitizer]),(e()(),r["ɵeld"](1,0,null,null,5,"a",[["class","nns-animated"],["flex","none"],["layout","row"],["layout-align","start center"],["target","_blank"],["title","Report as spam"]],[[8,"href",4]],null,null,null,null)),r["ɵppd"](2,1),(e()(),r["ɵeld"](3,0,null,null,1,"nns-icon",[["icon","spam-inv"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,4).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,4).onMouseLeave()&&o);return o}),a.View_IconComponent_0,a.RenderType_IconComponent)),r["ɵdid"](4,573440,null,0,s.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](5,0,null,null,1,"span",[["class","nns-spam-link-text not-mobile"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Report as spam"]))],(function(e,t){e(t,4,0,"spam-inv")}),(function(e,t){var n=t.component,o=r["ɵunv"](t,1,0,e(t,2,0,r["ɵnov"](t,0),n._config.get("SPAM_LINK")));e(t,1,0,o),e(t,3,0,r["ɵnov"](t,4)._classes)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-spam",[],null,null,null,d,u)),r["ɵdid"](1,49152,null,0,l.SpamComponent,[c.Config],null,null)],null,null)}var f=r["ɵccf"]("nns-spam",l.SpamComponent,p,{},{},[])},"./src/app/share/spam.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SpamComponent",(function(){return r}));n("./src/app/universal-config.ts");var r=function(e){this._config=e}},"./src/app/share/tabs/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TabsModule",(function(){return r}));var r=function(){}},"./src/app/share/tabs/tab-button.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_TabButtonComponent",(function(){return l})),n.d(t,"View_TabButtonComponent_0",(function(){return u})),n.d(t,"View_TabButtonComponent_Host_0",(function(){return d})),n.d(t,"TabButtonComponentNgFactory",(function(){return p}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./node_modules/@angular/common/fesm5/common.js"),s=n("./src/app/share/tabs/tab-button.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      padding:0 16px;\n      position:relative;\n      cursor:pointer;\n      text-transform:uppercase;\n      font-weight:bold;\n      color:#3E4849;\n      height:56px;\n    }\n    .nns-tab-button-text[_ngcontent-%COMP%] {\n      padding:0 2px;\n      white-space:nowrap;\n    }\n    .nns-tab-button-counter[_ngcontent-%COMP%] {\n      color:#0095A7;\n      padding: 0 0 0 2px;\n    }\n    .nns-tab-button-line[_ngcontent-%COMP%] {\n      position:absolute;\n      left:0;\n      bottom:0;\n      width:100%;\n      height:0px;\n      background:#0095A7;\n    }\n    [_nghost-%COMP%]:hover   .nns-tab-button-line[_ngcontent-%COMP%], .active[_nghost-%COMP%]   .nns-tab-button-line[_ngcontent-%COMP%] {\n      height:4px;\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-tab-button-counter"]],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.counter)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["class","nns-animated nns-tab-button-line"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,6,"div",[["class","nns-tab-button-content"],["flex","none"],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-icon",[],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,3).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,3).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](3,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](4,0,null,null,1,"div",[["class","nns-tab-button-text"]],null,null,null,null,null)),(e()(),r["ɵted"](5,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](7,16384,null,0,a.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.icon),e(t,7,0,n.counter)}),(function(e,t){var n=t.component;e(t,2,0,r["ɵnov"](t,3)._classes),e(t,5,0,n.title)}))}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-tab-button",[],null,null,null,u,l)),r["ɵdid"](1,49152,null,0,s.TabButtonComponent,[],null,null)],null,null)}var p=r["ɵccf"]("nns-tab-button",s.TabButtonComponent,d,{icon:"icon",title:"title",counter:"counter"},{},[])},"./src/app/share/tabs/tab-button.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TabButtonComponent",(function(){return r}));var r=function(){}},"./src/app/share/tabs/tabs.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_TabsComponent",(function(){return l})),n.d(t,"View_TabsComponent_0",(function(){return c})),n.d(t,"View_TabsComponent_Host_0",(function(){return u})),n.d(t,"TabsComponentNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/tabs/tab-button.component.ngfactory.js"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./src/app/share/tabs/tab-button.component.ts"),s=n("./src/app/share/tabs/tabs.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:[".nns-tabs-inner[_ngcontent-%COMP%]{\n      background:#EBEFF1;\n      border-bottom:1px solid #cecece;\n      width:100%;\n    }\n    .wrapper[_ngcontent-%COMP%] {\n      max-width:970px;\n      min-width:320px;\n      margin:0 auto;\n      padding:0;\n      position:relative;\n      box-sizing:border-box;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-tabs-inner[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-tabs-inner[_ngcontent-%COMP%] {\n      background:#2F3737;\n      border-color:#414B4C;\n    }\n    .nns-theme-night[_nghost-%COMP%]   nns-tab-button[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   nns-tab-button[_ngcontent-%COMP%] {\n      color:#fff;\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,13,"div",[["class","nns-tabs-inner"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,12,"div",[["class","wrapper"],["flex",""],["layout","row"],["layout-align","start start"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,3,"nns-tab-button",[["flex",""],["icon","note-inv"],["layout","row"],["layout-align","center center"],["title","NOTE"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.selectTab(1)&&r);return r}),o.View_TabButtonComponent_0,o.RenderType_TabButtonComponent)),r["ɵdid"](3,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](4,{active:0}),r["ɵdid"](5,49152,null,0,a.TabButtonComponent,[],{icon:[0,"icon"],title:[1,"title"]},null),(e()(),r["ɵeld"](6,0,null,null,3,"nns-tab-button",[["flex",""],["icon","attachments-inv"],["layout","row"],["layout-align","center center"],["title","FILES"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.selectTab(2)&&r);return r}),o.View_TabButtonComponent_0,o.RenderType_TabButtonComponent)),r["ɵdid"](7,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](8,{active:0}),r["ɵdid"](9,49152,null,0,a.TabButtonComponent,[],{icon:[0,"icon"],title:[1,"title"],counter:[2,"counter"]},null),(e()(),r["ɵeld"](10,0,null,null,3,"nns-tab-button",[["flex",""],["icon","todo-inv"],["layout","row"],["layout-align","center center"],["title","TO-DO"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.selectTab(3)&&r);return r}),o.View_TabButtonComponent_0,o.RenderType_TabButtonComponent)),r["ɵdid"](11,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](12,{active:0}),r["ɵdid"](13,49152,null,0,a.TabButtonComponent,[],{icon:[0,"icon"],title:[1,"title"],counter:[2,"counter"]},null)],(function(e,t){var n=t.component,r=e(t,4,0,1==n.activeTab);e(t,3,0,r);e(t,5,0,"note-inv","NOTE");var o=e(t,8,0,2==n.activeTab);e(t,7,0,o);e(t,9,0,"attachments-inv","FILES",n.filesCount);var i=e(t,12,0,3==n.activeTab);e(t,11,0,i);e(t,13,0,"todo-inv","TO-DO",n.todosCount)}),null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-tabs",[],null,null,null,c,l)),r["ɵdid"](1,114688,null,0,s.TabsComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}var d=r["ɵccf"]("nns-tabs",s.TabsComponent,u,{filesCount:"filesCount",todosCount:"todosCount"},{changeTab:"changeTab"},[])},"./src/app/share/tabs/tabs.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TabsComponent",(function(){return o}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=function(){function e(){this.changeTab=new r.EventEmitter,this.activeTab=1}return e.prototype.ngOnInit=function(){this.emitTab()},e.prototype.selectTab=function(e){this.activeTab=e,this.emitTab()},e.prototype.emitTab=function(){this.changeTab.emit(this.activeTab)},e}()},"./src/app/share/to-top.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ToTopComponent",(function(){return s})),n.d(t,"View_ToTopComponent_0",(function(){return l})),n.d(t,"View_ToTopComponent_Host_0",(function(){return c})),n.d(t,"ToTopComponentNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/icon.component.ngfactory.js"),i=n("./src/app/common/icon.component.ts"),a=n("./src/app/share/to-top.component.ts"),s=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      position:fixed;\n      z-index:100;\n      bottom:16px;\n      right:25px;\n      background: #FFFFFF;\n      box-shadow: 0 2px 4px 0 rgba(0,0,0,0.27);\n      width:48px;\n      height:48px;\n      border-radius:50%;\n      cursor:pointer;\n      transition:all 0.3s ease-out;\n      transform:translate(0,96px);\n      opacity: 0;\n    }\n\n    .active[_nghost-%COMP%] {\n      opacity:0.95;\n      transform:translate(0);\n    }\n\n    nns-icon[_ngcontent-%COMP%] {\n      display:block;\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#3E4849;\n      box-shadow:0 2px 4px 0 rgba(0,0,0,0.27);\n    }","@media print {\n      [_nghost-%COMP%] {display:none !important;}\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-icon",[["icon","arrow-up-inv"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,1).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,1).onMouseLeave()&&o);return o}),o.View_IconComponent_0,o.RenderType_IconComponent)),r["ɵdid"](1,573440,null,0,i.IconComponent,[],{icon:[0,"icon"]},null)],(function(e,t){e(t,1,0,"arrow-up-inv")}),(function(e,t){e(t,0,0,r["ɵnov"](t,1)._classes)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-to-top",[],[[2,"active",null]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).scrollToTop()&&o);return o}),l,s)),r["ɵdid"](1,114688,null,0,a.ToTopComponent,[],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).isActive)}))}var u=r["ɵccf"]("nns-to-top",a.ToTopComponent,c,{},{},[])},"./src/app/share/to-top.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ToTopComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(){function e(){this.isActive=!1}return e.prototype.ngOnInit=function(){var e=this;this.scrollingContainer=document.querySelector("nns-app"),setTimeout((function(){e.isActive=!0}),500)},e.prototype.scrollToTop=function(){this.scrollingContainer.scrollTo(0,0)},e}()},"./src/app/share/top/breadcumbs.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_BreadcumbsComponent",(function(){return l})),n.d(t,"View_BreadcumbsComponent_0",(function(){return d})),n.d(t,"View_BreadcumbsComponent_Host_0",(function(){return p})),n.d(t,"BreadcumbsComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/router/fesm5/router.js"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./src/app/common/unescape.pipe.ts"),s=n("./src/app/share/top/breadcumbs.component.ts"),l=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display:block;\n      font-size:18px;\n    }\n    .nns-breadcrumbs-link[_ngcontent-%COMP%] {\n      margin:0 16px 0 0;\n    }\n    .nns-breadcrumbs-link[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%] {\n      margin: 0 8px 0 0;\n      min-height: 16px;\n    }\n    .nns-breadcrumbs-link-text[_ngcontent-%COMP%] {\n      margin:0 0 0 8px;\n    }\n    .nns-breadcrumbs-inner-text[_ngcontent-%COMP%] {\n      white-space:nowrap;\n      text-overflow:ellipsis;\n      overflow:hidden;\n      display:block;\n      max-width:100%;\n      font-size:13px;\n      color:#323232;\n      font-weight:bold;\n    }\n    .nns-breadcrumbs-separator[_ngcontent-%COMP%] {\n      width:1px;\n      background: rgba(0,0,0,0.12);\n      height:32px;\n      margin:0 16px 0 0;\n    }\n    .nns-breadcrumbs-current[_ngcontent-%COMP%] {\n      font-size:21px;\n      color:rgba(0,0,0, 0.8);\n      font-weight:bold;\n      margin:0 24px 0 0;\n    }\n    .nns-breadcrumbs-prev[_ngcontent-%COMP%]{\n      width: 16px;\n      height: 16px;\n      flex: 0 0 16px;\n      border-radius: 50%;\n      color: #fff;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      background-color: #C4C4C4;\n    }\n    .nns-breadcrumbs-prev[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{\n      margin-right: 1px;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-breadcrumbs-current[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-breadcrumbs-current[_ngcontent-%COMP%] {\n     color:rgba(255,255,255, 0.8);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-breadcrumbs-separator[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-breadcrumbs-separator[_ngcontent-%COMP%] {\n      background:#9EA5A6;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-breadcrumbs-prev[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-breadcrumbs-prev[_ngcontent-%COMP%] {\n      color: #2F3737;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-breadcrumbs-inner-text[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-breadcrumbs-inner-text[_ngcontent-%COMP%] {\n      color: #fff;\n    }"],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"a",[["class","nns-breadcrumbs-link"],["flex","auto"],["layout","row"],["layout-align","center center"]],[[8,"title",0],[1,"target",0],[8,"href",4]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o);return o}),null,null)),r["ɵdid"](1,671744,null,0,o.RouterLinkWithHref,[o.Router,o.ActivatedRoute,i.LocationStrategy],{queryParams:[0,"queryParams"],routerLink:[1,"routerLink"]},null),r["ɵppd"](2,1),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-breadcrumbs-prev"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,":svg:svg",[["fill","none"],["height","8"],["viewBox","0 0 5 8"],["width","5"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(e()(),r["ɵeld"](5,0,null,null,0,":svg:path",[["clip-rule","evenodd"],["d","M0 4C0 3.87204 0.0542393 3.74408 0.162718 3.64645L4.05161 0.146447C4.26857 -0.0488155 4.62032 -0.0488155 4.83728 0.146447C5.05424 0.341709 5.05424 0.658291 4.83728 0.853553L1.34123 4L4.83728 7.14645C5.05424 7.34171 5.05424 7.65829 4.83728 7.85355C4.62032 8.04882 4.26857 8.04882 4.05161 7.85355L0.162718 4.35355C0.0542393 4.25592 0 4.12796 0 4Z"],["fill","currentColor"],["fill-rule","evenodd"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"span",[["class","nns-breadcrumbs-link-text"],["flex","auto"]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,0,"span",[["class","nns-breadcrumbs-inner-text"]],[[8,"innerHTML",1]],null,null,null,null))],(function(e,t){var n=t.component;e(t,1,0,n.backQueryParams,n.backUrl)}),(function(e,t){var n=t.component,o=r["ɵinlineInterpolate"](1,"",r["ɵunv"](t,0,0,e(t,2,0,r["ɵnov"](t.parent,0),null==n.share||null==n.share.parent?null:n.share.parent.title)),"");e(t,0,0,o,r["ɵnov"](t,1).target,r["ɵnov"](t,1).href),e(t,7,0,null==n.share||null==n.share.parent?null:n.share.parent.title)}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["flex","auto"]],[[8,"className",0]],null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"span",[["class","nns-breadcrumbs-inner-text"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,r["ɵinlineInterpolate"](1,"nns-breadcrumbs-current ",n.visual.noteFont?"font-"+n.visual.noteFont:"","")),e(t,1,0,null==n.note?null:n.note.title)}))}function d(e){return r["ɵvid"](0,[r["ɵpid"](0,a.UnescapePipe,[]),(e()(),r["ɵeld"](1,0,null,null,4,"div",[["class","nns-breadcrumbs-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](3,16384,null,0,i.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](5,16384,null,0,i.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,n.backUrl&&!n.visual.isHeaderFixed),e(t,5,0,n.isShowTitle)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-breadcumbs",[],null,null,null,d,l)),r["ɵdid"](1,573440,null,0,s.BreadcumbsComponent,[],null,null)],null,null)}var f=r["ɵccf"]("nns-breadcumbs",s.BreadcumbsComponent,p,{note:"note",share:"share",visual:"visual"},{},[])},"./src/app/share/top/breadcumbs.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"BreadcumbsComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js");var r=function(){function e(){this.isShowTitle=!1}return e.prototype.ngOnChanges=function(e){if(this.share&&this.note&&this.visual){if(this.isShowTitle=this.visual.isHeaderFixed,e.share)if(this.share.parent)if(this.share.parent.share){var t=this.share.parent.share,n=t.id,r=t.securityKey,o=t.noteGlobalId;this.backUrl="/share/"+n+"/"+r+"/"+o}else this.backUrl=this.share.parent.nnShareUrl;else this.backUrl=null;this.visual&&this.visual.isEmbed&&(this.backQueryParams={embed:!0})}},e}()},"./src/app/share/top/date.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_DateComponent",(function(){return a})),n.d(t,"View_DateComponent_0",(function(){return s})),n.d(t,"View_DateComponent_Host_0",(function(){return l})),n.d(t,"DateComponentNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/share/top/date.component.ts"),a=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      font-size: 13px;\n    }"],data:{}});function s(e){return r["ɵvid"](0,[r["ɵpid"](0,o.DatePipe,[r.LOCALE_ID]),(e()(),r["ɵted"](1,null,[" "," "])),r["ɵppd"](2,2)],null,(function(e,t){var n=t.component,o=r["ɵunv"](t,1,0,e(t,2,0,r["ɵnov"](t,0),1e3*n.note.createdAt,"dd.MM.y H:mm"));e(t,1,0,o)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-date",[],null,null,null,s,a)),r["ɵdid"](1,49152,null,0,i.DateComponent,[],null,null)],null,null)}var c=r["ɵccf"]("nns-date",i.DateComponent,l,{note:"note"},{},[])},"./src/app/share/top/date.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"DateComponent",(function(){return r}));var r=function(){}},"./src/app/share/top/top-action.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_TopActionComponent",(function(){return g})),n.d(t,"View_TopActionComponent_0",(function(){return _})),n.d(t,"View_TopActionComponent_Host_0",(function(){return w})),n.d(t,"TopActionComponentNgFactory",(function(){return C}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/social/social-widget.component.ngfactory.js"),i=n("./src/app/social/social-widget.component.ts"),a=n("./node_modules/@ngrx/store/fesm5/store.js"),s=n("./src/app/social/social.service.ts"),l=n("./src/app/common/addthis.service.ts"),c=n("./src/app/universal-config.ts"),u=n("./src/app/login/login-dialog.component.ngfactory.js"),d=n("./src/app/login/login-dialog.component.ts"),p=n("./node_modules/@angular/common/fesm5/common.js"),f=n("./src/app/common/icon.component.ngfactory.js"),h=n("./src/app/common/icon.component.ts"),m=n("./src/app/share/top/top-action.component.ts"),g=r["ɵcrt"]({encapsulation:0,styles:['[_nghost-%COMP%] {\n      padding:0 8px;\n      position:relative;\n    }\n    .nns-top-action-button[_ngcontent-%COMP%] {\n      cursor:pointer;\n      display:block;\n      background:none;\n      border:none;\n      font-size:12px;\n      color:#161616;\n    }\n    .nns-top-action-text[_ngcontent-%COMP%] {margin:0 0 0 4px;}\n    .nns-top-action-arrow[_ngcontent-%COMP%] {\n      display:block;\n      content:"";\n      height:0;\n      border:none;\n      border:4px solid transparent;\n      border-top:4px solid #3E4849;\n      margin:4px 0 0 4px;\n    }\n    .nns-top-action-button.nns-top-action-button-active[_ngcontent-%COMP%]   .nns-top-action-arrow[_ngcontent-%COMP%] {\n      border-top:none;\n      border-bottom:4px solid #3E4849;\n    }\n    .nns-top-action-button[_ngcontent-%COMP%]   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n    .nns-top-action-dropdown[_ngcontent-%COMP%] {\n      position:absolute;\n      right:0;\n      top:100%;\n      z-index: 1000;\n    }\n    .nns-top-action-dropdown-inner[_ngcontent-%COMP%] {\n      padding:12px 0;\n    }',".nns-theme-night[_nghost-%COMP%]   .nns-top-action-button[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-top-action-button[_ngcontent-%COMP%] {\n      color:#FFFFFF;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-top-action-arrow[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-top-action-arrow[_ngcontent-%COMP%] {\n      border-top-color:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-top-action-button.nns-top-action-button-active[_ngcontent-%COMP%]   .nns-top-action-arrow[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-top-action-button.nns-top-action-button-active[_ngcontent-%COMP%]   .nns-top-action-arrow[_ngcontent-%COMP%] {\n      border-bottom-color:#fff;\n    }"],data:{}});function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"span",[["class","nns-top-action-arrow nns-animated"]],null,null,null,null,null))],null,null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","nns-top-action-dropdown"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-top-action-dropdown-inner"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-social-widget",[],null,[[null,"onClick"]],(function(e,t,n){var r=!0,o=e.component;"onClick"===t&&(r=!1!==o.onSocialClick(n)&&r);return r}),o.View_SocialWidgetComponent_0,o.RenderType_SocialWidgetComponent)),r["ɵdid"](3,4243456,null,0,i.SocialWidgetComponent,[a.Store,s.SocialService,l.AddThisService,c.Config],{shareUrl:[0,"shareUrl"],isFolder:[1,"isFolder"],share:[2,"share"]},{onClick:"onClick"})],(function(e,t){var n=t.component;e(t,3,0,n.shareUrl,"folder"==n.note.type,n.share)}),null)}function b(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","nns-top-action-dropdown"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-top-action-dropdown-inner"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-login-dialog",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,3).close(n)&&o);return o}),u.View_LoginDialogComponent_0,u.RenderType_LoginDialogComponent)),r["ɵdid"](3,770048,null,0,d.LoginDialogComponent,[a.Store,c.Config,"isBrowser"],null,null)],(function(e,t){e(t,3,0)}),null)}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,9,"div",[["class","nns-top-action-button"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.clickAction(n)&&r);return r}),null,null)),r["ɵdid"](1,278528,null,0,p.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](2,{"nns-top-action-button-active":0}),(e()(),r["ɵeld"](3,0,null,null,6,"span",[["class","nns-top-action-layout"],["flex",""],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,"nns-icon",[["flex","none"]],[[8,"className",0]],[[null,"mouseenter"],[null,"mouseleave"]],(function(e,t,n){var o=!0;"mouseenter"===t&&(o=!1!==r["ɵnov"](e,5).onMouseEnter()&&o);"mouseleave"===t&&(o=!1!==r["ɵnov"](e,5).onMouseLeave()&&o);return o}),f.View_IconComponent_0,f.RenderType_IconComponent)),r["ɵdid"](5,573440,null,0,h.IconComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](6,0,null,null,1,"span",[["class","nns-top-action-text"]],null,null,null,null,null)),(e()(),r["ɵted"](7,null,["",""])),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](9,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](11,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,b)),r["ɵdid"](13,16384,null,0,p.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,n.showDropdown);e(t,1,0,"nns-top-action-button",r),e(t,5,0,n.icon),e(t,9,0,n.showShareDropdown),e(t,11,0,n.showShareDropdown&&n.showDropdown),e(t,13,0,n.showLoginDropdown&&n.showDropdown)}),(function(e,t){var n=t.component;e(t,4,0,r["ɵnov"](t,5)._classes),e(t,7,0,n.title)}))}function w(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-top-action",[],null,[[null,"clickOutside"]],(function(e,t,n){var o=!0;"clickOutside"===t&&(o=!1!==r["ɵnov"](e,1).onClickOutside(n)&&o);return o}),_,g)),r["ɵdid"](1,180224,null,0,m.TopActionComponent,[],null,null)],null,null)}var C=r["ɵccf"]("nns-top-action",m.TopActionComponent,w,{showShareDropdown:"showShareDropdown",showLoginDropdown:"showLoginDropdown",icon:"icon",title:"title",shareUrl:"shareUrl",note:"note",share:"share"},{onClick:"onClick"},[])},"./src/app/share/top/top-action.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TopActionComponent",(function(){return a}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./node_modules/rxjs/_esm5/operators/index.js"),i=n("./node_modules/@angular/core/fesm5/core.js"),a=function(){function e(){var e=this;this.onClick=new i.EventEmitter,this.showDropdown=!1;var t=new r.Observable((function(t){e.dropdownObserver=t}));this.dropdownSubscribe=t.pipe(Object(o.debounce)((function(){return Object(r.interval)(500)}))).subscribe((function(t){t?e.open():e.close()}))}return e.prototype.ngOnDestroy=function(){this.dropdownSubscribe.unsubscribe()},e.prototype.clickAction=function(e){this.onClick.emit(e),this.showDropdown?this.close():this.open()},e.prototype.close=function(){this.showDropdown=!1,this.dropdownObserver.next(!1)},e.prototype.open=function(){this.showDropdown=!0,this.dropdownObserver.next(!0)},e.prototype.onSocialClick=function(e){this.close()},e.prototype.onClickOutside=function(e){this.close(),this.dropdownObserver.next(!1)},e}()},"./src/app/share/top/top.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_TopComponent",(function(){return S})),n.d(t,"View_TopComponent_0",(function(){return I})),n.d(t,"View_TopComponent_Host_0",(function(){return M})),n.d(t,"TopComponentNgFactory",(function(){return N}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/top/date.component.ngfactory.js"),i=n("./src/app/share/top/date.component.ts"),a=n("./src/app/share/top/top-action.component.ngfactory.js"),s=n("./src/app/share/top/top-action.component.ts"),l=n("./src/app/header/save-action.component.ngfactory.js"),c=n("./src/app/header/save-action.component.ts"),u=n("./node_modules/@ngrx/store/fesm5/store.js"),d=n("./src/app/share/share-copy.service.ts"),p=n("./src/app/profile/profile.service.ts"),f=n("./src/app/universal-config.ts"),h=n("./src/app/share/note/note.service.ts"),m=n("./src/app/common/click-outside.directive.ts"),g=n("./node_modules/@angular/common/fesm5/common.js"),y=n("./src/app/share/top/breadcumbs.component.ngfactory.js"),v=n("./src/app/share/top/breadcumbs.component.ts"),b=n("./src/app/share/top/top.component.ts"),_=n("./node_modules/@angular/router/fesm5/router.js"),w=n("./src/app/social/social.service.ts"),C=n("./src/app/header/get-nimbus-popup.service.ts"),S=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%]{\n      position:relative;\n      min-width:320px;\n      height:80px;\n      width:100%;\n    }\n    .nns-top-folders[_nghost-%COMP%]{\n      z-index: 2;\n    }\n\n    .nns-top-main[_ngcontent-%COMP%] {\n      position:absolute;\n      left:0;\n      top:0;\n      width:100%;\n    }\n    .nns-top-main[_ngcontent-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n      max-width:970px;\n      min-width:320px;\n      margin:0 auto;\n      padding:0 10px;\n      box-sizing:border-box;\n      height:80px;\n    }\n\n    \n    .nns-fullscreen[_nghost-%COMP%] {\n      position:absolute;\n      left:0;\n      top:-100%;\n    }\n\n    .nns-print-action[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:ng-deep   nns-icon[_ngcontent-%COMP%]{\n      min-width: 16px;\n      min-height: 16px;\n    }\n\n    \n    .nns-top-fixed[_nghost-%COMP%] {\n      z-index:150;\n      left:0;\n      top:0;\n    }\n    .nns-top-fixed[_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n      -webkit-justify-content: flex-start;\n      -ms-flex-pack: start;\n      justify-content: flex-start;\n\n      -webkit-align-items: center;\n      -ms-flex-align: center;\n      align-items: center;\n      -webkit-align-content: center;\n      -ms-flex-line-pack: center;\n      align-content: center;\n\n      height:60px;\n      padding: 0 5px;\n    }\n    .nns-top-fixed[_nghost-%COMP%]   .nns-save-to-nimbus[_ngcontent-%COMP%] {display:block; position: unset;}\n    .nns-top-fixed[_nghost-%COMP%]   .nns-top-actions[_ngcontent-%COMP%] {position: relative;}\n    .nns-top-fixed[_nghost-%COMP%]   .nns-top-title[_ngcontent-%COMP%] {display:none;}\n    .nns-top-fixed[_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%] {\n      position:fixed;\n      background:#fff;\n      border-bottom:1px solid #e2e2e2;\n      box-shadow:0 4px 2px -2px rgba(0, 0, 0, 0.1);\n    }\n\n    .nns-fullscreen[_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%] {\n      -ms-transform:translate(0, -100%);\n      transform:translate(0, -100%);\n    }\n    .nns-fullscreen[_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n      max-width: 100%;\n    }\n\n    .nns-top-empty[_nghost-%COMP%]{\n      height: 20px;\n    }\n\n    .nns-top-empty.nns-top-fixed[_nghost-%COMP%]{\n        display: block;\n    }\n    @media only screen and (max-width: 1430px) and (min-width: 1200px) {\n      .nns-top-align-left[_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%]{\n        padding-right: 230px;\n      }\n    }\n\n    @media only screen and (max-width: 1000px) {\n      .nns-top-main[_ngcontent-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n        padding: 0 20px;\n      }\n    }\n\n    @media only screen and (max-width: 768px) {\n      .nns-top-content[_ngcontent-%COMP%]{\n        flex-direction: column;\n        align-items: flex-start;\n      }\n      .nns-top-empty[_nghost-%COMP%]{\n        height: 20px;\n      }\n      .nns-wrapper[_ngcontent-%COMP%] {\n        padding-left: 20px;\n        padding-right: 20px;\n      }\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%] {\n      border-bottom: 0px solid #2F3737;\n    }\n    .nns-theme-night.nns-top-fixed[_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%], .nns-theme-night   .nns-top-fixed[_nghost-%COMP%]   .nns-top-main[_ngcontent-%COMP%] {\n      background: #292E32;\n      border-bottom: 1px solid #3B3B3B;\n    }\n    .nns-fullwidth[_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n      max-width: 100%;\n      padding-left: 40px;\n      padding-right: 40px;\n    }\n\n\n    @media only screen and (max-width: 768px) {\n      [_nghost-%COMP%]:not(.nns-embed)   [_nghost-%COMP%], :not(.nns-embed)   [_nghost-%COMP%]   [_nghost-%COMP%] {\n        display: none;\n      }\n      .nns-fullwidth[_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%], .nns-fullwidth   [_nghost-%COMP%]   .nns-wrapper[_ngcontent-%COMP%] {\n        padding-left: 20px;\n        padding-right: 20px;\n      }\n    }"],data:{}});function E(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-date",[],null,null,null,o.View_DateComponent_0,o.RenderType_DateComponent)),r["ɵdid"](1,49152,null,0,i.DateComponent,[],{note:[0,"note"]},null)],(function(e,t){e(t,1,0,t.component.note)}),null)}function x(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"div",[["class","nns-top-actions"],["flex","nogrow"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,2,"div",[["class","nns-top-actions-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,1,"nns-top-action",[["class","nns-print-action"]],null,[[null,"onClick"],[null,"clickOutside"]],(function(e,t,n){var o=!0,i=e.component;"clickOutside"===t&&(o=!1!==r["ɵnov"](e,3).onClickOutside(n)&&o);"onClick"===t&&(o=!1!==i.printButton.handler()&&o);return o}),a.View_TopActionComponent_0,a.RenderType_TopActionComponent)),r["ɵdid"](3,180224,null,0,s.TopActionComponent,[],{icon:[0,"icon"],title:[1,"title"]},{onClick:"onClick"})],(function(e,t){var n=t.component;e(t,3,0,n.printButton.icon,n.printButton.title)}),null)}function k(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-save-action",[["class","nns-save-to-nimbus"]],null,null,null,l.View_SaveActionComponent_0,l.RenderType_SaveActionComponent)),r["ɵdid"](1,180224,null,0,c.SaveActionComponent,[u.Store,d.ShareCopyService,p.ProfileService,f.Config,h.NoteService],{state:[0,"state"],login:[1,"login"],showTitle:[2,"showTitle"],shareCopy:[3,"shareCopy"],visual:[4,"visual"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.getSaveState(),n.login,!0,n.shareCopy,n.visual)}),null)}function O(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-top-action",[["icon","manage"],["title","Manage"]],null,[[null,"onClick"],[null,"clickOutside"]],(function(e,t,n){var o=!0,i=e.component;"clickOutside"===t&&(o=!1!==r["ɵnov"](e,1).onClickOutside(n)&&o);"onClick"===t&&(o=!1!==i.openConfigDialog()&&o);return o}),a.View_TopActionComponent_0,a.RenderType_TopActionComponent)),r["ɵdid"](1,180224,null,0,s.TopActionComponent,[],{icon:[0,"icon"],title:[1,"title"]},{onClick:"onClick"})],(function(e,t){e(t,1,0,"manage","Manage")}),null)}function T(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-top-action",[["icon","expand-inv"],["title","Full screen"]],null,[[null,"onClick"],[null,"clickOutside"]],(function(e,t,n){var o=!0,i=e.component;"clickOutside"===t&&(o=!1!==r["ɵnov"](e,1).onClickOutside(n)&&o);"onClick"===t&&(o=!1!==i.toggleFullscreen(i.event)&&o);return o}),a.View_TopActionComponent_0,a.RenderType_TopActionComponent)),r["ɵdid"](1,180224,null,0,s.TopActionComponent,[],{icon:[0,"icon"],title:[1,"title"]},{onClick:"onClick"})],(function(e,t){e(t,1,0,"expand-inv","Full screen")}),null)}function A(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-top-action",[["icon","collapse-dark"],["title","Close full screen"]],null,[[null,"click"],[null,"onClick"],[null,"clickOutside"]],(function(e,t,n){var o=!0,i=e.component;"clickOutside"===t&&(o=!1!==r["ɵnov"](e,1).onClickOutside(n)&&o);"click"===t&&(o=!1!==i.toggleFullscreen&&o);"onClick"===t&&(o=!1!==i.toggleFullscreen(i.event)&&o);return o}),a.View_TopActionComponent_0,a.RenderType_TopActionComponent)),r["ɵdid"](1,180224,null,0,s.TopActionComponent,[],{icon:[0,"icon"],title:[1,"title"]},{onClick:"onClick"})],(function(e,t){e(t,1,0,"collapse-dark","Close full screen")}),null)}function P(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"nns-top-action",[["class","nns-toggle-share"],["clickOutside",""],["icon","share-inv"],["showShareDropdown","true"],["title","Share"]],null,[[null,"click"],["document","click"],[null,"clickOutside"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,1).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!==r["ɵnov"](e,2).onClickOutside(n)&&o);return o}),a.View_TopActionComponent_0,a.RenderType_TopActionComponent)),r["ɵdid"](1,16384,null,0,m.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),r["ɵdid"](2,180224,null,0,s.TopActionComponent,[],{showShareDropdown:[0,"showShareDropdown"],icon:[1,"icon"],title:[2,"title"],shareUrl:[3,"shareUrl"],note:[4,"note"],share:[5,"share"]},null)],(function(e,t){var n=t.component;e(t,2,0,"true","share-inv","Share",n.shareUrl,n.note,n.share)}),null)}function R(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,11,"div",[["class","nns-top-actions"],["flex","nogrow"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,10,"div",[["class","nns-top-actions-layout"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,k)),r["ɵdid"](3,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,O)),r["ɵdid"](5,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,T)),r["ɵdid"](7,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,A)),r["ɵdid"](9,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,P)),r["ɵdid"](11,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,3,0,!1),e(t,5,0,!n.visual.isFullscreen&&n.showShareConfigBtn),e(t,7,0,!n.visual.isFullscreen&&n.isShowFullscreenButton&&n.branding.sharesFullscreen),e(t,9,0,n.visual.isFullscreen&&n.isShowFullscreenButton),e(t,11,0,n.branding.sharesShareButton)}),null)}function I(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,10,"div",[["class","nns-top-main"],["flex",""]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,9,"div",[["class","nns-wrapper"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,4,"div",[["class","nns-top-content"],["flex",""],["layout","row"],["layout-align","start center"]],null,null,null,null,null)),(e()(),r["ɵeld"](3,0,null,null,1,"nns-breadcumbs",[["flex","nogrow"]],null,null,null,y.View_BreadcumbsComponent_0,y.RenderType_BreadcumbsComponent)),r["ɵdid"](4,573440,null,0,v.BreadcumbsComponent,[],{note:[0,"note"],share:[1,"share"],visual:[2,"visual"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,E)),r["ɵdid"](6,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,x)),r["ɵdid"](8,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,R)),r["ɵdid"](10,16384,null,0,g.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,4,0,n.note,n.share,n.visual),e(t,6,0,n.branding&&n.branding.sharesShowDate&&"folder"!=n.note.type),e(t,8,0,n.printButton),e(t,10,0,!n.visual.isEmbed)}),null)}function M(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-top",[],null,[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).closeFullScreen(n)&&o);return o}),I,S)),r["ɵdid"](1,573440,null,0,b.TopComponent,[u.Store,f.Config,d.ShareCopyService,"isBrowser",_.Router,w.SocialService,C.GetNimbusPopupService],null,null)],null,null)}var N=r["ɵccf"]("nns-top",b.TopComponent,M,{attachments:"attachments",note:"note",login:"login",share:"share",shareCopy:"shareCopy",visual:"visual",branding:"branding",profile:"profile"},{},[])},"./src/app/share/top/top.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TopComponent",(function(){return s}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/visual/visual.actions.ts"),o=(n("./src/app/universal-config.ts"),n("./src/app/share/index.ts"),n("./node_modules/@angular/router/fesm5/router.js"),n("./src/app/share/share-config-popup.component.ts")),i=n("./src/app/common/dialogs/dialogs.actions.ts"),a=(n("./src/app/social/social.service.ts"),n("./src/app/header/get-nimbus-popup.service.ts"),n("./src/model/organization.model.ts")),s=function(){function e(e,t,n,r,o,i,a){this._store=e,this._config=t,this._shareCopyService=n,this.isBrowser=r,this._router=o,this._socialService=i,this._getNimbusPopupService=a,this.isShowFullscreenButton=!1}return e.prototype.toggleFullscreen=function(){this.visual.isFullscreen||this._router.navigate([],{queryParams:{isFullscreen:"true"}}),this._store.dispatch(Object(r.toggleFullscreen)())},e.prototype.saveToNimbus=function(){this._shareCopyService.copy()},e.prototype.ngOnChanges=function(){if(this.isShowFullscreenButton="note"===this.note.type,this.share&&this.share.instance&&(this.isB2B=Object(a.isB2BOrgPredicate)()(this.share.instance.org),this.setupPrintButton()),this.share&&this.share.shareUrl&&this.isBrowser){var e=this.share.instance.id,t=this.share.instance.securityKey;this.shareUrl=window.location.origin+"/share/"+e+"/"+t}if(this.share&&this.share.instance&&this.share.instance.currentUserCanEdit&&!this.visual.isEmbed&&!this.visual.isMobile&&this.visual.isFullWidth&&this.note&&this.profile){var n="screencast"==this.note.role||"video"==this.note.role||"streaming_video"==this.note.role||"screenshot"==this.note.role||"clip"==this.note.role;this.showShareConfigBtn=this.share.instance.currentUserCanEdit&&n}else this.showShareConfigBtn=!1},e.prototype.getSaveState=function(){return this.shareCopy.shareCopyStatus},e.prototype.closeFullScreen=function(){this._store.dispatch(Object(r.turnOffFullscreen)())},e.prototype.openConfigDialog=function(){var e=this,t={component:o.ShareConfigPopupComponent,hideCancelButton:!0,okButtonText:"Done",onSuccess:function(){e._store.dispatch(Object(i.closeDialog)())}};this._store.dispatch(Object(i.openDialog)(t))},e.prototype.openPrintDialog=function(){var e=!!this.note&&"folder"==this.note.type;this._socialService.openPrintDialog(e)},e.prototype.openSignUpDialog=function(){this._getNimbusPopupService.open()},e.prototype.setupPrintButton=function(){var e={title:"Sign up to Print",icon:"print-def",handler:this.openSignUpDialog.bind(this)},t={title:"Print",icon:"print-def",handler:this.openPrintDialog.bind(this)},n=this.visual,r=n.isEmbed,o=n.isEmbedPrintEnabled,i=this.branding.sharesAllowPrint,a=this.isB2B,s=!!this.profile;this.printButton=null,r?o&&(this.printButton=t):a?i&&(this.printButton=t):this.printButton=s?t:e},e}()},"./src/app/share/top/top.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TopModule",(function(){return r}));var r=function(){}},"./src/app/share/video-attachment.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VideoAttachmentComponent",(function(){return p})),n.d(t,"View_VideoAttachmentComponent_0",(function(){return m})),n.d(t,"View_VideoAttachmentComponent_Host_0",(function(){return g})),n.d(t,"VideoAttachmentComponentNgFactory",(function(){return y}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/share/note/video-player.component.ngfactory.js"),i=n("./src/app/share/note/video-player.component.ts"),a=n("./src/app/universal-config.ts"),s=n("./src/app/share/note/video-loader.component.ngfactory.js"),l=n("./src/app/share/note/video-loader.component.ts"),c=n("./node_modules/@angular/common/fesm5/common.js"),u=n("./src/app/share/video-attachment.component.ts"),d=n("./src/angular2-meta.ts"),p=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      padding:16px;\n    }\n    nns-video-player[_ngcontent-%COMP%] {\n      min-width:75%;\n    }\n    @media only screen and (max-width: 768px) {\n       nns-video-player[_ngcontent-%COMP%] {min-width:100%;}\n    }\n    @media only screen and (max-width: 600px) {\n      [_nghost-%COMP%] {\n        padding:0;\n      }\n    }",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background:#2f3737;\n    }"],data:{}});function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-player",[],[[2,"fullscreen",null]],[["document","keydown.esc"]],(function(e,t,n){var o=!0;"document:keydown.esc"===t&&(o=!1!==r["ɵnov"](e,1).exitFullscreen(n)&&o);return o}),o.View_VideoPlayerComponent_0,o.RenderType_VideoPlayerComponent)),r["ɵdid"](1,704512,null,0,i.VideoPlayerComponent,["isBrowser",a.Config],{attachment:[0,"attachment"],maxHeight:[1,"maxHeight"],maxWidth:[2,"maxWidth"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.attachment,n.maxHeight,n.maxWidth)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).isFullscreen)}))}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-loader",[],null,null,null,s.View_VideoLoaderComponent_0,s.RenderType_VideoLoaderComponent)),r["ɵdid"](1,114688,null,0,l.VideoLoaderComponent,[],null,null)],(function(e,t){e(t,1,0)}),null)}function m(e){return r["ɵvid"](0,[(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](1,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,h)),r["ɵdid"](3,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.isBrowser),e(t,3,0,!n.isBrowser)}),null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-video-attachment",[],null,null,null,m,p)),r["ɵdid"](1,638976,null,0,u.VideoAttachmentComponent,[d.Meta,"isBrowser"],null,null)],(function(e,t){e(t,1,0)}),null)}var y=r["ɵccf"]("nns-video-attachment",u.VideoAttachmentComponent,g,{attachment:"attachment",share:"share",note:"note",visual:"visual"},{},[])},"./src/app/share/video-attachment.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VideoAttachmentComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/angular2-meta.ts");var r=function(){function e(e,t){this._meta=e,this.isBrowser=t}return e.prototype.ngOnChanges=function(){this.setMeta(),this.setVideoSizes()},e.prototype.setVideoSizes=function(){this.visual.isMobile?(this.maxWidth=this.visual.windowWidth,this.maxHeight=this.visual.windowHeight-56-50):(this.maxWidth=this.visual.windowWidth-32,this.maxHeight=this.visual.windowHeight-56-32-50)},e.prototype.ngOnInit=function(){this.setVideoSizes(),this.setMeta()},e.prototype.setMeta=function(){this._meta.setMetaForAttachment(this.share,this.note,this.attachment)},e}()},"./src/app/social/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SocialModule",(function(){return r}));var r=function(){}},"./src/app/social/short-url.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_ShortUrlComponent",(function(){return h})),n.d(t,"View_ShortUrlComponent_0",(function(){return b})),n.d(t,"View_ShortUrlComponent_Host_0",(function(){return _})),n.d(t,"ShortUrlComponentNgFactory",(function(){return w}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/common/input.component.ngfactory.js"),i=n("./src/app/common/input.component.ts"),a=n("./node_modules/@angular/forms/fesm5/forms.js"),s=n("./src/app/common/button.component.ngfactory.js"),l=n("./src/app/common/button.component.ts"),c=n("./node_modules/@angular/common/fesm5/common.js"),u=n("./src/app/social/short-url.component.ts"),d=n("./node_modules/@angular/http/fesm5/http.js"),p=n("./node_modules/@ngrx/store/fesm5/store.js"),f=n("./src/app/universal-config.ts"),h=r["ɵcrt"]({encapsulation:0,styles:[".nns-share-loader[_ngcontent-%COMP%] {\n      min-height:76px;\n    }\n    .nns-share-loader[_ngcontent-%COMP%]   .fill[_ngcontent-%COMP%] {\n      fill:#c9cdce;\n    }\n    .nns-share-loader[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%] {\n      animation:rotation linear 1s infinite;\n      -webkit-animation:rotation linear 1s infinite;\n    }\n\n    @keyframes rotation {\n        0% {transform:rotate(0deg);}\n        100% {transform:rotate(360deg);}\n    }\n    @-webkit-keyframes rotation {\n        0% {transform:rotate(0deg);}\n        100% {transform:rotate(360deg);}\n    }\n\n    .short-url-info[_ngcontent-%COMP%] {\n      font-size: 12px;\n      font-weight: bold;\n      height: 36px;\n      line-height: 36px;\n      text-align: center;\n    }"],data:{}});function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-share-loader"],["flex",""],["layout","row"],["layout-align","center center"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,":svg:svg",[["class","icon"],["flex","none"],["height","24"],["viewBox","0 0 24 24"],["width","24"]],null,null,null,null,null)),(e()(),r["ɵeld"](2,0,null,null,0,":svg:path",[["class","fill"],["d","M8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C12.418278,16 16,12.418278 16,8 C16,5.85026384 15.1468139,3.83310545 13.6568542,2.34314575 C13.26633,1.95262146 12.633165,1.95262146 12.2426407,2.34314575 C11.8521164,2.73367004 11.8521164,3.36683502 12.2426407,3.75735931 C13.3612458,4.87596444 14,6.38614896 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 C8.55228475,2 9,1.55228475 9,1 C9,0.44771525 8.55228475,0 8,0 Z"],["transform","translate(4 4)"]],null,null,null,null,null))],null,null)}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"nns-input",[["class","nns-input-placeholder small"]],null,null,null,o.View_InputComponent_0,o.RenderType_InputComponent)),r["ɵdid"](1,49152,null,0,i.InputComponent,[],null,null),(e()(),r["ɵeld"](2,0,[[1,0],["input",1]],0,5,"input",[["class","nns-animated"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(e,t,n){var o=!0,i=e.component;"input"===t&&(o=!1!==r["ɵnov"](e,3)._handleInput(n.target.value)&&o);"blur"===t&&(o=!1!==r["ɵnov"](e,3).onTouched()&&o);"compositionstart"===t&&(o=!1!==r["ɵnov"](e,3)._compositionStart()&&o);"compositionend"===t&&(o=!1!==r["ɵnov"](e,3)._compositionEnd(n.target.value)&&o);"click"===t&&(o=!1!==i.selectUrl(n)&&o);"ngModelChange"===t&&(o=!1!==(i.shortUrl=n)&&o);return o}),null,null)),r["ɵdid"](3,16384,null,0,a.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,a.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,a.NG_VALUE_ACCESSOR,(function(e){return[e]}),[a.DefaultValueAccessor]),r["ɵdid"](5,671744,null,0,a.NgModel,[[8,null],[8,null],[8,null],[6,a.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,a.NgControl,null,[a.NgModel]),r["ɵdid"](7,16384,null,0,a.NgControlStatus,[[4,a.NgControl]],null,null)],(function(e,t){e(t,5,0,t.component.shortUrl)}),(function(e,t){e(t,2,0,r["ɵnov"](t,7).ngClassUntouched,r["ɵnov"](t,7).ngClassTouched,r["ɵnov"](t,7).ngClassPristine,r["ɵnov"](t,7).ngClassDirty,r["ɵnov"](t,7).ngClassValid,r["ɵnov"](t,7).ngClassInvalid,r["ɵnov"](t,7).ngClassPending)}))}function y(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-button",[["class","full-width text-colored"],["text","Copy link"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.copy(n)&&r);return r}),s.View_ButtonComponent_0,s.RenderType_ButtonComponent)),r["ɵdid"](1,49152,null,0,l.ButtonComponent,[],{text:[0,"text"]},null)],(function(e,t){e(t,1,0,"Copy link")}),null)}function v(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","short-url-info"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["COPIED!"]))],null,null)}function b(e){return r["ɵvid"](0,[r["ɵqud"](671088640,1,{input:0}),(e()(),r["ɵand"](16777216,null,null,1,null,m)),r["ɵdid"](2,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,g)),r["ɵdid"](4,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,y)),r["ɵdid"](6,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,v)),r["ɵdid"](8,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,!n.shortUrl),e(t,4,0,n.shortUrl),e(t,6,0,n.shortUrl&&!n.isShowCopied),e(t,8,0,n.isShowCopied)}),null)}function _(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"short-url",[],null,null,null,b,h)),r["ɵdid"](1,114688,null,0,u.ShortUrlComponent,[d.Http,p.Store,f.Config],null,null)],(function(e,t){e(t,1,0)}),null)}var w=r["ɵccf"]("short-url",u.ShortUrlComponent,_,{url:"url",share:"share"},{},[])},"./src/app/social/short-url.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"ShortUrlComponent",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./node_modules/@angular/http/fesm5/http.js"),o=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/universal-config.ts"),function(){function e(e,t,n){this._http=e,this._store=t,this._config=n,this.isShowCopied=!1}return e.prototype.ngOnInit=function(){var e=this,t=this.share.instance.org&&this.share.instance.org.domain?this.share.instance.org.domain:null,n=new r.URLSearchParams;n.append("url",this.getShareUrl()),t&&n.append("domain",t);var o=n.toString();this._http.post(this._config.get("SHORT_URL_SERVICE"),o,{headers:new r.Headers({Accept:"*/*","Content-Type":"application/x-www-form-urlencoded"})}).toPromise().then((function(t){var n=t.json();n&&n.short_url?e.shortUrl=n.short_url:e.shortUrl=void 0})).catch((function(t){e.shortUrl=void 0}))},e.prototype.selectUrl=function(e){e.target.setSelectionRange(0,this.shortUrl.length)},e.prototype.copy=function(e){var t=this;e.preventDefault(),e.stopPropagation(),this.input.nativeElement.focus(),this.input.nativeElement.setSelectionRange(0,this.shortUrl.length),document.execCommand("copy"),this.isShowCopied=!0,setTimeout((function(){t.isShowCopied=!1}),2e3)},e.prototype.getShareUrl=function(){return this.url},e}())},"./src/app/social/social-widget.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_SocialWidgetComponent",(function(){return h})),n.d(t,"View_SocialWidgetComponent_0",(function(){return m})),n.d(t,"View_SocialWidgetComponent_Host_0",(function(){return g})),n.d(t,"SocialWidgetComponentNgFactory",(function(){return y}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/social/short-url.component.ngfactory.js"),i=n("./src/app/social/short-url.component.ts"),a=n("./node_modules/@angular/http/fesm5/http.js"),s=n("./node_modules/@ngrx/store/fesm5/store.js"),l=n("./src/app/universal-config.ts"),c=n("./src/app/common/button.component.ngfactory.js"),u=n("./src/app/common/button.component.ts"),d=n("./src/app/social/social-widget.component.ts"),p=n("./src/app/social/social.service.ts"),f=n("./src/app/common/addthis.service.ts"),h=r["ɵcrt"]({encapsulation:0,styles:["[_nghost-%COMP%] {\n      background: #FFFFFF;\n      border: 1px solid #EEEEEE;\n      box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50);\n      border-radius: 2px;\n      box-sizing:border-box;\n      padding:16px;\n      width:226px;\n      display:block;\n    }\n    .nns-modal-share-title[_ngcontent-%COMP%] {\n      font-size:15px;\n      padding:0 0 10px 0;\n    }\n\n    .nns-modal-share-actions[_ngcontent-%COMP%] {\n      border-bottom:1px solid #dcdcdc;\n      margin:0 0 16px 0;\n      min-height:92px;\n    }\n\n    .nns-modal-share-radios[_ngcontent-%COMP%] {\n      padding:0 0 16px 0;\n    }\n\n    short-url[_ngcontent-%COMP%] {\n      padding:0 0 16px 0;\n      display:block;\n     }\n\n    .nns-modal-share-buttons[_ngcontent-%COMP%]   nns-button[_ngcontent-%COMP%] {margin: 5px 2px}\n\n    .short-url-info[_ngcontent-%COMP%] {color:#0095a7; font-weight:bold;}",".nns-theme-night[_nghost-%COMP%], .nns-theme-night   [_nghost-%COMP%] {\n      background: #292E32;\n      border-color: #161A1E;\n      box-shadow: 4px 4px 38px rgba(19, 30, 32, 0.66);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-modal-share-actions[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-modal-share-actions[_ngcontent-%COMP%] {\n      border-color:rgba(0,0,0, 0.12);\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-share-loader[_ngcontent-%COMP%]   .fill[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-share-loader[_ngcontent-%COMP%]   .fill[_ngcontent-%COMP%] {\n      fill:#fff;\n    }\n    .nns-theme-night[_nghost-%COMP%]   .nns-embed-button[_ngcontent-%COMP%]     .nns-button-layout, .nns-theme-night   [_nghost-%COMP%]   .nns-embed-button[_ngcontent-%COMP%]     .nns-button-layout{\n      border-radius: 4px;\n    }"],data:{}});function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["flex",""],["layout","row"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,1,"div",[["class","nns-modal-share-title"]],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["Share"])),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-modal-share-actions"]],null,null,null,null,null)),(e()(),r["ɵeld"](4,0,null,null,1,"short-url",[],null,null,null,o.View_ShortUrlComponent_0,o.RenderType_ShortUrlComponent)),r["ɵdid"](5,114688,null,0,i.ShortUrlComponent,[a.Http,s.Store,l.Config],{url:[0,"url"],share:[1,"share"]},null),(e()(),r["ɵeld"](6,0,null,null,13,"div",[["class","nns-modal-share-buttons"],["flex",""],["layout","row"],["layout-align","start center"],["layout-align-sm","center center"],["layout-wrap",""]],null,null,null,null,null)),(e()(),r["ɵeld"](7,0,null,null,0,"div",[["class","addthis_inline_share_toolbox"]],null,null,null,null,null)),(e()(),r["ɵeld"](8,0,null,null,2,"a",[["class","nns-embed-button"],["title","Embed"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.openEmbedDialog(n)&&r);return r}),null,null)),(e()(),r["ɵeld"](9,0,null,null,1,"nns-button",[["class","transparent icon"],["icon","embed"]],null,null,null,c.View_ButtonComponent_0,c.RenderType_ButtonComponent)),r["ɵdid"](10,49152,null,0,u.ButtonComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](11,0,null,null,2,"a",[["class","nns-embed-button"],["target","_blank"],["title","Facebook"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](12,0,null,null,1,"nns-button",[["class","transparent icon"],["icon","fb"]],null,null,null,c.View_ButtonComponent_0,c.RenderType_ButtonComponent)),r["ɵdid"](13,49152,null,0,u.ButtonComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](14,0,null,null,2,"a",[["class","nns-embed-button"],["target","_blank"],["title","Twitter"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](15,0,null,null,1,"nns-button",[["class","transparent icon"],["icon","twitter"]],null,null,null,c.View_ButtonComponent_0,c.RenderType_ButtonComponent)),r["ɵdid"](16,49152,null,0,u.ButtonComponent,[],{icon:[0,"icon"]},null),(e()(),r["ɵeld"](17,0,null,null,2,"a",[["class","nns-embed-button"],["target","_blank"],["title","Reddit"]],[[8,"href",4]],null,null,null,null)),(e()(),r["ɵeld"](18,0,null,null,1,"nns-button",[["class","transparent icon"],["icon","reddit"]],null,null,null,c.View_ButtonComponent_0,c.RenderType_ButtonComponent)),r["ɵdid"](19,49152,null,0,u.ButtonComponent,[],{icon:[0,"icon"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.shareUrl,n.share);e(t,10,0,"embed");e(t,13,0,"fb");e(t,16,0,"twitter");e(t,19,0,"reddit")}),(function(e,t){var n=t.component;e(t,11,0,"https://www.facebook.com/sharer/sharer.php?u="+n.shareUrl),e(t,14,0,"https://twitter.com/intent/tweet?&url="+n.shareUrl),e(t,17,0,"http://www.reddit.com/submit?url="+n.shareUrl)}))}function g(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-social-widget",[],null,null,null,m,h)),r["ɵdid"](1,4243456,null,0,d.SocialWidgetComponent,[s.Store,p.SocialService,f.AddThisService,l.Config],null,null)],null,null)}var y=r["ɵccf"]("nns-social-widget",d.SocialWidgetComponent,g,{shareUrl:"shareUrl",isFolder:"isFolder",share:"share"},{onClick:"onClick"},[])},"./src/app/social/social-widget.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SocialWidgetComponent",(function(){return o}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./src/app/social/social.service.ts"),n("./src/app/common/addthis.service.ts"),n("./src/app/universal-config.ts"),n("./package.json").version,function(){function e(e,t,n,o){this._store=e,this._socialService=t,this._addThisService=n,this._config=o,this.onClick=new r.EventEmitter}return e.prototype.openEmbedDialog=function(e){this._socialService.openEmbedDialog(),this.onClick.emit(e)},e.prototype.ngAfterViewInit=function(){var e=this._config.get("ADD_THIS_ID");this._addThisService.initAddThis(e,!1).subscribe()},e}())},"./src/app/social/social.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SocialService",(function(){return a}));n("./node_modules/@ngrx/store/fesm5/store.js");var r=n("./src/app/embed/embed-popup.component.ts"),o=n("./src/app/common/dialogs/dialogs.actions.ts"),i=(n("./src/app/universal-config.ts"),n("./package.json").version),a=function(){function e(e,t){this._store=e,this._config=t}return e.prototype.openEmbedDialog=function(){var e=this,t={component:r.EmbedPopupComponent,title:"Embed code",okButtonText:"Done",onSuccess:function(){e._store.dispatch(Object(o.closeDialog)())}};this._store.dispatch(Object(o.openDialog)(t))},e.prototype.openPrintDialog=function(e){if(e)window.print();else{var t=window.document.querySelector(".editor-body")||window.document.querySelector(".note-text-holder"),n=window.document.querySelector("h1.note-title")||window.document.querySelector(".nns-embed-title")||window.document.querySelector(".nns-video-header_title");if(t&&n){var r=t.innerHTML,o=n.innerHTML,a='\n        <!DOCTYPE html>\n        <html lang="en">\n          <head>\n            <title>'+o+'</title>\n            <link rel="stylesheet" href="'+(this._config.get("PUBLIC_PATH")+"dist/index.css?v="+i)+"\">\n            <style>\n              html {\n                font-family: -apple-system,\n                BlinkMacSystemFont,\n                'Segoe UI',\n                Roboto,\n                Oxygen-Sans,\n                Ubuntu,\n                Cantarell,\n                'Helvetica Neue',\n                sans-serif,\n                'Apple Color Emoji',\n                'Segoe UI Emoji',\n                'Segoe UI Symbol';\n              }\n              h2 { margin-bottom: 10px; }\n              .nedit-root { padding-top: 10px; min-height: auto; }\n              .block-menu-container,\n              .embedded-menu-container,\n              #mentions-search-container { display: none; }\n              .inline-tinymce img { width: 100%; }\n            </style>\n          </head>\n          <body onload=\"window.print()\" class=\"theme-light\">\n            <h2>"+o+"</h2>\n            "+r+"\n          </body>\n        </html>\n        ",s=window.open("","_blank","width=600,height=600");s.document.open(),s.document.write(a),s.document.close()}}},e}()},"./src/app/universal-config.ts":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"Config",(function(){return r}));n("./src/modules/transfer-state/transfer-state.ts");var r=function(){function t(t,n){this.cache=n,this._config={},t?(this._config=n.get("Config"),this._config.SHARE_API_SERVICE="/share/share-api"):this._config={PUBLIC_PATH:e.env.PUBLIC_PATH||"/share/",BOX_URL:e.env.BOX_URL||"http://localhost.ru",NIMBUS_DOMAIN:e.env.NIMBUS_DOMAIN||"localhost.ru",SHARE_API_SERVICE:e.env.SHARE_API_SERVICE||"http://localhost.ru:8096/share/share-api",NIMBUS_URL:e.env.NIMBUS_URL||"http://localhost.ru",NIMBUS_NOTE_URL:e.env.NIMBUS_NOTE_URL||"http://localhost.ru/client",SERVER_SECURE:e.env.SERVER_SECURE||1,SIGN_PUBLIC_KEY:e.env.SIGN_PUBLIC_KEY||"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApkh92m5XytQdag/4cqBxegK8F2Yopj+LivFhMfKQSsc5/dB/HA9m4wP7ohj6bkuzr02Uwmdtcxb2jiz5aTb+ikOnPremvNfyATQ2d663VHfpJZfFwamCy6bvLQpY1EkzEvTIsjGdAjl0HDdFKXalKa4KATIigf4wL2SG9getC8kNS0IsP4HFqAovvy0Mx6zY2LfIkm7onl0M2MF4D+YzmGLR/E3RRxrhdnIkPMCkt14TLX+7+ZaLS1yy87WFtyMtaJPpN26+vln0ui5XHIv2W1v4BaMwVHYIs4bnvEWM61JbnqlpJihzQhvW64yD55tEi9FL+JOze0jYrSk+IqMZ0wIDAQAB",SOCKET_EDITOR_DOMAIN_AND_PATH:e.env.SOCKET_EDITOR_DOMAIN_AND_PATH||"text.dev-nimbustest.com/socket.io.editor",SOCKET_EDITOR_CONSTANT_DOMAIN:e.env.SOCKET_EDITOR_CONSTANT_DOMAIN||1,SOCKET_EDITOR_PROTOCOL:e.env.SOCKET_EDITOR_PROTOCOL||"wss://",SPAM_LINK:e.env.SPAM_LINK||"https://nimbusweb.co/contact.php",SHORT_URL_SERVICE:e.env.SHORT_URL_SERVICE||"/short-url/",GTAG_ID:e.env.GTAG_ID||"",ALTERED_GTAG_ID:e.env.ALTERED_GTAG_ID||"",GTM_ID:e.env.GTM_ID||"",ADD_THIS_ID:e.env.ADD_THIS_ID||"",AUTH_HOST:e.env.AUTH_HOST||"localhost.ru",AUTH_API_PATH:e.env.AUTH_API_PATH||"/share/auth-api",AUTH_LOGIN_PATH:e.env.AUTH_LOGIN_PATH||"/?f=login",AUTH_LOGOUT_PATH:e.env.AUTH_LOGOUT_PATH||"/logout.php",AUTH_OPENORG_PATH:e.env.AUTH_OPENORG_PATH||"/open-org",NIMBUS_TEAMS_URL:e.env.NIMBUS_TEAMS_URL||"http://localhost.ru",NIMBUS_UPGRADE_URL:e.env.NIMBUS_UPGRADE_URL||"https://nimbusweb.me/pricing.php",NIMBUS_TERMS_URL:e.env.NIMBUS_TERMS_URL||"https://nimbusweb.me/terms-and-conditions.php",NIMBUS_CONTACT_URL:e.env.NIMBUS_CONTACT_URL||"https://nimbusweb.co/contact.php",AUTH_API_URL:e.env.AUTH_API_URL||"/auth/api",VIDEO_EDIT_URL:e.env.VIDEO_EDIT_URL||"/video-edit",GATEWAY_URL:e.env.GATEWAY_URL||"/gwapi2",DUMP_SERVER_URL:e.env.DUMP_SERVER_URL||"",FEATURES:e.env.FEATURES||"",N_ENV:e.env.N_ENV||"dev",STATSD_PROXY:e.env.STATSD_PROXY||""}}return t.prototype.get=function(e){return this._config?this._config[e]:void 0},t.prototype.getBrowserConfig=function(){var e=this._config;return{BOX_URL:e.BOX_URL,PUBLIC_PATH:e.PUBLIC_PATH,SERVER_SECURE:e.SERVER_SECURE,SOCKET_EDITOR_DOMAIN_AND_PATH:e.SOCKET_EDITOR_DOMAIN_AND_PATH,SOCKET_EDITOR_CONSTANT_DOMAIN:e.SOCKET_EDITOR_CONSTANT_DOMAIN,SOCKET_EDITOR_PROTOCOL:e.SOCKET_EDITOR_PROTOCOL,NIMBUS_DOMAIN:e.NIMBUS_DOMAIN,NIMBUS_URL:e.NIMBUS_URL,NIMBUS_NOTE_URL:e.NIMBUS_NOTE_URL,SPAM_LINK:e.SPAM_LINK,SHORT_URL_SERVICE:e.SHORT_URL_SERVICE,GTAG_ID:e.GTAG_ID,ALTERED_GTAG_ID:e.ALTERED_GTAG_ID,GTM_ID:e.GTM_ID,ADD_THIS_ID:e.ADD_THIS_ID,AUTH_HOST:e.AUTH_HOST,AUTH_API_PATH:e.AUTH_API_PATH,AUTH_LOGIN_PATH:e.AUTH_LOGIN_PATH,AUTH_LOGOUT_PATH:e.AUTH_LOGOUT_PATH,AUTH_OPENORG_PATH:e.AUTH_OPENORG_PATH,NIMBUS_TEAMS_URL:e.NIMBUS_TEAMS_URL,NIMBUS_UPGRADE_URL:e.NIMBUS_UPGRADE_URL,NIMBUS_TERMS_URL:e.NIMBUS_TERMS_URL,NIMBUS_CONTACT_URL:e.NIMBUS_CONTACT_URL,AUTH_API_URL:e.AUTH_API_URL,VIDEO_EDIT_URL:e.VIDEO_EDIT_URL,GATEWAY_URL:e.GATEWAY_URL,SIGN_PUBLIC_KEY:e.SIGN_PUBLIC_KEY,DUMP_SERVER_URL:e.DUMP_SERVER_URL,FEATURES:e.FEATURES,N_ENV:e.N_ENV,STATSD_PROXY:e.STATSD_PROXY}},t}()}.call(this,n("./node_modules/process/browser.js"))},"./src/app/visual/visual.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TOGGLE_FULLSCREEN",(function(){return r})),n.d(t,"SET_IS_HEADER_FIXED",(function(){return o})),n.d(t,"TURN_OFF_FULLSCREEN",(function(){return i})),n.d(t,"SET_LIST_TYPE",(function(){return a})),n.d(t,"SHOW_TOAST",(function(){return s})),n.d(t,"HIDE_TOAST",(function(){return l})),n.d(t,"SHOW_TO_TOP_COMPONENT",(function(){return c})),n.d(t,"SET_MOBILE",(function(){return u})),n.d(t,"RESET_FOLDER_CHILDREN_COUNT",(function(){return d})),n.d(t,"ADD_PAGE_FOLDER_CHILDREN_COUNT",(function(){return p})),n.d(t,"SET_THEME",(function(){return f})),n.d(t,"SET_WINDOW_SIZE",(function(){return h})),n.d(t,"TOGGLE_TODOS_PANEL",(function(){return m})),n.d(t,"SHOW_TODOS_PANEL",(function(){return g})),n.d(t,"CLOSE_TODOS_PANEL",(function(){return y})),n.d(t,"CLOSE_SELECT_DIALOG",(function(){return v})),n.d(t,"OPEN_SELECT_DIALOG",(function(){return b})),n.d(t,"SET_IS_EMBED",(function(){return _})),n.d(t,"SET_IS_EMBED_WORDPRESS",(function(){return w})),n.d(t,"SET_IS_PREVIEW",(function(){return C})),n.d(t,"SET_IS_VIDEO",(function(){return S})),n.d(t,"SET_IS_EMBED_HEADER_HIDDEN",(function(){return E})),n.d(t,"SET_IS_EMBED_PRINT_ENABLED",(function(){return x})),n.d(t,"SET_IS_FULL_WIDTH",(function(){return k})),n.d(t,"SET_NOTE_FONT",(function(){return O})),n.d(t,"SET_IS_SHARE_ACCESS_UPDATING",(function(){return T})),n.d(t,"SET_IS_SHARE_PASSWORD_UPDATING",(function(){return A})),n.d(t,"TOGGLE_OUTLINES",(function(){return P})),n.d(t,"SET_IS_SHOW_OUTLINES",(function(){return R})),n.d(t,"SET_IS_SHOW_SEARCH",(function(){return I})),n.d(t,"SET_IS_SOCKET_CONNECTED",(function(){return M})),n.d(t,"SET_IS_BRANDING_THEME_DISABLED",(function(){return N})),n.d(t,"toggleFullscreen",(function(){return D})),n.d(t,"setIsHeaderFixed",(function(){return j})),n.d(t,"turnOffFullscreen",(function(){return L})),n.d(t,"setListType",(function(){return B})),n.d(t,"showToast",(function(){return F})),n.d(t,"hideToast",(function(){return U})),n.d(t,"showToTopComponent",(function(){return H})),n.d(t,"setIsShareAccessUpdating",(function(){return V})),n.d(t,"setIsSharePasswordUpdating",(function(){return z})),n.d(t,"setMobile",(function(){return q})),n.d(t,"resetFolderChildrenCount",(function(){return G})),n.d(t,"addPageFolderChildrenCount",(function(){return W})),n.d(t,"setTheme",(function(){return Y})),n.d(t,"setIsBrandingThemeDisabled",(function(){return Z})),n.d(t,"setWindowSize",(function(){return K})),n.d(t,"showTodosPanel",(function(){return $})),n.d(t,"toggleTodosPanel",(function(){return Q})),n.d(t,"closeTodosPanel",(function(){return X})),n.d(t,"openSelectDialog",(function(){return J})),n.d(t,"closeSelectDialog",(function(){return ee})),n.d(t,"setIsEmbed",(function(){return te})),n.d(t,"setIsEmbedWordpress",(function(){return ne})),n.d(t,"setIsPreview",(function(){return re})),n.d(t,"setIsVideo",(function(){return oe})),n.d(t,"setIsEmmbedHeaderHidden",(function(){return ie})),n.d(t,"setIsEmbedPrintEnabled",(function(){return ae})),n.d(t,"setIsFullWidth",(function(){return se})),n.d(t,"setNoteFont",(function(){return le})),n.d(t,"toggleOutlines",(function(){return ce})),n.d(t,"setIsShowOutlines",(function(){return ue})),n.d(t,"setIsShowSearch",(function(){return de})),n.d(t,"setIsSocketConnected",(function(){return pe}));var r="TOGGLE_FULLSCREEN",o="SET_IS_HEADER_FIXED",i="TURN_OFF_FULLSCREEN",a="SET_LIST_TYPE",s="SHOW_TOAST",l="HIDE_TOAST",c="SHOW_TO_TOP_COMPONENT",u="SET_MOBILE",d="RESET_FOLDER_CHILDREN_COUNT",p="ADD_PAGE_FOLDER_CHILDREN_COUNT",f="SET_THEME",h="SET_WINDOW_SIZE",m="TOGGLE_TODOS_PANEL",g="SHOW_TODOS_PANEL",y="CLOSE_TODOS_PANEL",v="CLOSE_SELECT_DIALOG",b="OPEN_SELECT_DIALOG",_="SET_IS_EMBED",w="SET_IS_EMBED_WORDPRESS",C="SET_IS_PREVIEW",S="SET_IS_VIDEO",E="SET_IS_EMBED_HEADER_HIDDEN",x="SET_IS_EMBED_PRINT_ENABLED",k="SET_IS_FULL_WIDTH",O="SET_NOTE_FONT",T="SET_IS_SHARE_ACCESS_UPDATING",A="SET_IS_SHARE_PASSWORD_UPDATING",P="TOGGLE_OUTLINES",R="SET_IS_SHOW_OUTLINES",I="SET_IS_SHOW_SEARCH",M="SET_IS_SOCKET_CONNECTED",N="SET_IS_BRANDING_THEME_DISABLED";function D(){return{type:r}}function j(e){return{type:o,value:e}}function L(){return{type:i}}function B(e){return{type:a,listType:e}}function F(e){var t=e.id,n=e.text,r=e.position;return{type:s,id:t,text:n,position:r}}function U(e){var t=e.id;return{type:l,id:t}}function H(e){return{type:c,value:e}}function V(e){return{type:T,value:e}}function z(e){return{type:A,value:e}}function q(e){return{type:u,value:e}}function G(){return{type:d}}function W(){return{type:p}}function Y(e){return{type:f,theme:e}}function Z(e){return{type:N,value:e}}function K(e){var t=e.width,n=e.height;return{type:h,width:t,height:n}}function $(){return{type:g}}function Q(){return{type:m}}function X(){return{type:y}}function J(){return{type:b}}function ee(){return{type:v}}function te(e){return{type:_,value:e}}function ne(e){return{type:w,value:e}}function re(e){return{type:C,value:e}}function oe(e){return{type:S,value:e}}function ie(e){return{type:E,value:e}}function ae(e){return{type:x,value:e}}function se(e){return{type:k,value:e}}function le(e){return{type:O,value:e}}function ce(){return{type:P}}function ue(e){return{type:R,value:e}}function de(e){return{type:I,value:e}}function pe(e){return{type:M,value:e}}},"./src/app/visual/visual.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"visualInitialState",(function(){return o})),n.d(t,"visualReducer",(function(){return s}));var r=n("./src/app/visual/visual.actions.ts"),o={isFullscreen:!1,isFullWidth:!1,isHeaderFixed:!1,isShowBackdrop:!0,isTodoPanelOpened:!1,isShowToTopComponent:!1,isShareAccessUpdating:!1,isSharePasswordUpdating:!1,isEditorReady:!1,isMobile:!1,listType:"plates",folderChildrenCountToShow:18,toasts:[],theme:"day",brandingThemeDisabled:!1,isSelectDialogOpened:!1,isEmbed:!1,isWordpress:!1,isPreview:!1,isVideo:!1,isEmbedHeaderHidden:!1,isEmbedPrintEnabled:!1,noteFont:"normal",isShowOutlines:!0,isShowSearch:!1,isSocketConnected:!1},i=new CustomEvent("toggleFullscreen",{detail:{fullscreen:!0}}),a=new CustomEvent("toggleFullscreen",{detail:{fullscreen:!1}});function s(e,t){switch(void 0===e&&(e=o),t.type){case r.TOGGLE_FULLSCREEN:return e.isFullscreen?document.dispatchEvent(a):document.dispatchEvent(i),Object.assign({},e,{isFullscreen:!e.isFullscreen});case r.SET_IS_HEADER_FIXED:return Object.assign({},e,{isHeaderFixed:t.value});case r.TURN_OFF_FULLSCREEN:return Object.assign({},e,{isFullscreen:!1});case r.SET_LIST_TYPE:return Object.assign({},e,{listType:t.listType});case r.SHOW_TOAST:return Object.assign({},e,{toasts:e.toasts.concat([{id:t.id,text:t.text,position:t.position}])});case r.HIDE_TOAST:return Object.assign({},e,{toasts:e.toasts.filter((function(e){return e.id!==t.id}))});case r.SHOW_TO_TOP_COMPONENT:return Object.assign({},e,{isShowToTopComponent:t.value});case r.SET_MOBILE:return Object.assign({},e,{isMobile:t.value});case r.ADD_PAGE_FOLDER_CHILDREN_COUNT:return Object.assign({},e,{folderChildrenCountToShow:e.folderChildrenCountToShow+o.folderChildrenCountToShow});case r.RESET_FOLDER_CHILDREN_COUNT:return Object.assign({},e,{folderChildrenCountToShow:o.folderChildrenCountToShow});case r.SET_THEME:return Object.assign({},e,{theme:t.theme?t.theme:""});case r.SET_IS_BRANDING_THEME_DISABLED:return Object.assign({},e,{brandingThemeDisabled:t.value});case r.SET_WINDOW_SIZE:return Object.assign({},e,{windowHeight:t.height,windowWidth:t.width});case r.TOGGLE_TODOS_PANEL:return Object.assign({},e,{isTodoPanelOpened:!e.isTodoPanelOpened});case r.SHOW_TODOS_PANEL:return Object.assign({},e,{isTodoPanelOpened:!0});case r.CLOSE_TODOS_PANEL:return Object.assign({},e,{isTodoPanelOpened:!1});case r.OPEN_SELECT_DIALOG:return Object.assign({},e,{isSelectDialogOpened:!0});case r.CLOSE_SELECT_DIALOG:return Object.assign({},e,{isSelectDialogOpened:!1});case r.SET_IS_EMBED:return Object.assign({},e,{isEmbed:t.value});case r.SET_IS_EMBED_WORDPRESS:return Object.assign({},e,{isWordpress:t.value});case r.SET_IS_PREVIEW:return Object.assign({},e,{isPreview:t.value});case r.SET_IS_VIDEO:return Object.assign({},e,{isVideo:t.value});case r.SET_IS_EMBED_PRINT_ENABLED:return Object.assign({},e,{isEmbedPrintEnabled:t.value});case r.SET_IS_EMBED_HEADER_HIDDEN:return Object.assign({},e,{isEmbedHeaderHidden:t.value});case r.SET_IS_FULL_WIDTH:return Object.assign({},e,{isFullWidth:t.value});case r.SET_NOTE_FONT:return Object.assign({},e,{noteFont:t.value});case r.SET_IS_SHARE_ACCESS_UPDATING:return Object.assign({},e,{isShareAccessUpdating:t.value});case r.SET_IS_SHARE_PASSWORD_UPDATING:return Object.assign({},e,{isSharePasswordUpdating:t.value});case r.TOGGLE_OUTLINES:var n=e.isShowOutlines;return Object.assign({},e,{isShowOutlines:!n});case r.SET_IS_SHOW_OUTLINES:return Object.assign({},e,{isShowOutlines:t.value});case r.SET_IS_SHOW_SEARCH:return Object.assign({},e,{isShowSearch:t.value});case r.SET_IS_SOCKET_CONNECTED:return Object.assign({},e,{isSocketConnected:t.value});default:return e}}},"./src/app/visual/visual.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectVisual",(function(){return o}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=Object(r.createFeatureSelector)("visual")},"./src/app/workspaces/index.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"WorkspacesModule",(function(){return r}));var r=function(){}},"./src/app/workspaces/workspace-select-item.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_WorkspaceSelectItemComponent",(function(){return s})),n.d(t,"View_WorkspaceSelectItemComponent_0",(function(){return d})),n.d(t,"View_WorkspaceSelectItemComponent_Host_0",(function(){return p})),n.d(t,"WorkspaceSelectItemComponentNgFactory",(function(){return f}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/app/workspaces/workspace-select-item.component.ts"),a=n("./src/app/universal-config.ts"),s=r["ɵcrt"]({encapsulation:0,styles:['.nns-select-item[_ngcontent-%COMP%]{\n      display: flex;\n      padding: 8px;\n      border-radius: 4px;\n      transition: 0.3s;\n      transition-property: background-color;\n      align-items: center;\n      cursor: pointer;\n      position: relative;\n    }\n\n    .nns-select-item[_ngcontent-%COMP%]:hover, .nns-select-item.active[_ngcontent-%COMP%]{\n      background-color: rgba(0, 0, 0, 0.08);\n    }\n\n    .nns-select-item--logo[_ngcontent-%COMP%]{\n      width: 32px;\n      height: 32px;\n      flex: 0 0 32px;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      margin-right: 12px;\n      border-radius: 50%;\n      color: #fff;\n      text-transform: uppercase;\n      font-weight: bold;\n      overflow: hidden;\n    }\n\n    .nns-select-item--logo.m-no-avatar[_ngcontent-%COMP%]{\n      background-color: #8BC34A;\n    }\n\n    .nns-select-item--text[_ngcontent-%COMP%]{\n      width: calc(100% - 56px);\n    }\n\n    .nns-select-item--subtitle[_ngcontent-%COMP%]{\n      font-size: 12px;\n      opacity: 0.6;\n      white-space: nowrap;\n      text-overflow: ellipsis;\n      overflow: hidden;\n    }\n\n    .nns-select-item--title[_ngcontent-%COMP%]{\n      font-weight: bold;\n      font-size: 13px;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n      overflow: hidden;\n      max-width: 100%;\n    }\n\n    .nns-select-item-desc[_ngcontent-%COMP%]{\n      font-size: 12px;\n      line-height: 16px;\n      color: rgba(0, 0, 0, 0.6);\n    }\n\n    .nns-header-profile-arrow[_ngcontent-%COMP%] {\n      display:block;\n      content:"";\n      height:0;\n      border:none;\n      border:4px solid transparent;\n      border-top:4px solid rgba(0, 0, 0, 0.6);\n      margin:6px 0 0 8px;\n      margin-left: auto;\n    }',".active[_nghost-%COMP%]   .nns-select-item[_ngcontent-%COMP%]{\n      background-color: rgba(0, 0, 0, 0.08);\n    }\n\n    .nns-select-item__disabled[_nghost-%COMP%]   .nns-select-item[_ngcontent-%COMP%]:hover {\n      cursor: default;\n      background-color: transparent;\n    }\n\n    .nns-theme-night[_nghost-%COMP%]   .nns-header-profile-arrow[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-header-profile-arrow[_ngcontent-%COMP%] {\n      border-top-color: #fff;\n    }"],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,4,"div",[["class","nns-select-item--logo m-no-avatar"]],null,null,null,null,null)),r["ɵdid"](1,278528,null,0,o.NgStyle,[r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngStyle:[0,"ngStyle"]},null),r["ɵpod"](2,{"background-color":0}),(e()(),r["ɵeld"](3,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](4,null,["",""]))],(function(e,t){var n=e(t,2,0,"#"+t.component.workspace.color);e(t,1,0,n)}),(function(e,t){e(t,4,0,t.component.workspace.title[0])}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","nns-select-item--logo"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"img",[["height","32"]],[[8,"src",4]],null,null,null,null))],null,(function(e,t){e(t,1,0,t.component.avatarUrl+"?height=64")}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"span",[["class","nns-header-profile-arrow nns-animated active"]],null,null,null,null,null))],null,null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,11,"div",[["class","nns-select-item"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](4,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵeld"](5,0,null,null,4,"div",[["class","nns-select-item--text"]],null,null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,1,"div",[["class","nns-select-item--title"]],[[8,"title",0]],null,null,null,null)),(e()(),r["ɵted"](7,null,["",""])),(e()(),r["ɵeld"](8,0,null,null,1,"div",[["class","nns-select-item--subtitle"]],[[8,"title",0]],null,null,null,null)),(e()(),r["ɵted"](9,null,[" "," "])),(e()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](11,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,!n.avatarUrl),e(t,4,0,n.avatarUrl),e(t,11,0,n.hasArrow)}),(function(e,t){var n=t.component;e(t,6,0,n.workspace.title),e(t,7,0,n.workspace.title),e(t,8,0,n.subtitle),e(t,9,0,n.subtitle)}))}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-workspace-select-item",[],null,null,null,d,s)),r["ɵdid"](1,573440,null,0,i.WorkspaceSelectItemComponent,[a.Config],null,null)],null,null)}var f=r["ɵccf"]("nns-workspace-select-item",i.WorkspaceSelectItemComponent,p,{workspace:"workspace",isOwner:"isOwner",hasArrow:"hasArrow"},{},[])},"./src/app/workspaces/workspace-select-item.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"WorkspaceSelectItemComponent",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/app/universal-config.ts");var r=function(){function e(e){this.config=e,this.avatarUrl=""}return e.prototype.ngOnChanges=function(e){if(e.workspace&&e.workspace.currentValue){var t=e.workspace.currentValue;this.owner=t.owner,this.avatarUrl=this.getStaticFileUrl(t.avatar.storedFileUUID),t.countMembers&&t.countMembers.count&&t.countMembers.count>=1?this.countMembers=t.countMembers.count:this.countMembers=0,this.isPersonal=t.orgId.startsWith("u")}(e.isOwner||e.workspace||this.isPersonal&&this.workspace)&&this.setSubtitle()},e.prototype.setSubtitle=function(){this.isOwner?this.countMembers?this.subtitle=this.countMembers+" members":this.subtitle=this.isPersonal?"Personal workspace":"Business workspace":this.owner.firstname||this.owner.lastname?this.subtitle=this.owner.firstname+" "+this.owner.lastname:this.subtitle=this.owner.email},e.prototype.getStaticFileUrl=function(e){return e?this.config.get("BOX_URL")+"/file/"+e:""},e}()},"./src/app/workspaces/workspace-select.component.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_WorkspaceSelectComponent",(function(){return u})),n.d(t,"View_WorkspaceSelectComponent_0",(function(){return h})),n.d(t,"View_WorkspaceSelectComponent_Host_0",(function(){return m})),n.d(t,"WorkspaceSelectComponentNgFactory",(function(){return g}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/app/workspaces/workspace-select-item.component.ngfactory.js"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./src/app/workspaces/workspace-select-item.component.ts"),s=n("./src/app/universal-config.ts"),l=n("./src/app/common/click-outside.directive.ts"),c=n("./src/app/workspaces/workspace-select.component.ts"),u=r["ɵcrt"]({encapsulation:0,styles:[".nns-select[_ngcontent-%COMP%]{\n      position: relative;\n    }\n\n    .nns-select-dialog-title[_ngcontent-%COMP%]{\n      font-size: 13px;\n      font-weight: bold;\n      color: rgba(0, 0, 0, 0.87);\n    }\n\n    .nns-header-profile-button-active[_ngcontent-%COMP%]     .nns-header-profile-arrow {\n      border-top:none;\n      border-bottom:4px solid rgba(0, 0, 0, 0.6);\n    }\n\n    .nns-select-dropdown[_ngcontent-%COMP%]{\n      margin-top: 1px;\n      position: absolute;\n      left: 0;\n      top: 100%;\n      background-color: #fff;\n      box-shadow: 0px 9px 14px rgba(0, 0, 0, 0.12);\n      border-radius: 4px;\n      width: 100%;\n      max-height: 300px;\n      overflow: hidden;\n      overflow-y: auto;\n      z-index: 1;\n    }\n\n    .nns-workspace-select-list[_ngcontent-%COMP%]{\n      display: flex;\n      flex-direction: column;\n      max-height: 238px;\n      overflow-x: auto;\n      padding-right: 8px;\n      padding-bottom: 8px;\n    }",".nns-theme-night[_nghost-%COMP%]   .nns-select-dropdown[_ngcontent-%COMP%], .nns-theme-night   [_nghost-%COMP%]   .nns-select-dropdown[_ngcontent-%COMP%] {\n    background: #292E32;\n    box-shadow: 4px 4px 38px rgba(19, 30, 32, 0.66);\n  }"],data:{}});function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-workspace-select-item",[],null,null,null,o.View_WorkspaceSelectItemComponent_0,o.RenderType_WorkspaceSelectItemComponent)),r["ɵdid"](1,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](2,{"nns-select-item__disabled":0}),r["ɵdid"](3,573440,null,0,a.WorkspaceSelectItemComponent,[s.Config],{workspace:[0,"workspace"],isOwner:[1,"isOwner"],hasArrow:[2,"hasArrow"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,!n.workspaces||n.workspaces&&1==n.workspaces.length);e(t,1,0,r),e(t,3,0,n.selectedWorkspace,n.selectedWorkspace.userId==n.ownerId,n.workspaces&&n.workspaces.length>1)}),null)}function p(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,3,"nns-workspace-select-item",[],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onSelectWorkspace(e.context.$implicit)&&r);return r}),o.View_WorkspaceSelectItemComponent_0,o.RenderType_WorkspaceSelectItemComponent)),r["ɵdid"](1,278528,null,0,i.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r["ɵpod"](2,{active:0}),r["ɵdid"](3,573440,null,0,a.WorkspaceSelectItemComponent,[s.Config],{workspace:[0,"workspace"],isOwner:[1,"isOwner"]},null)],(function(e,t){var n=t.component,r=e(t,2,0,n.selectedWorkspace&&n.selectedWorkspace.globalId==t.context.$implicit.globalId);e(t,1,0,r),e(t,3,0,t.context.$implicit,t.context.$implicit.userId==n.ownerId)}),null)}function f(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"div",[["class","nns-select-dropdown"]],null,null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,p)),r["ɵdid"](2,278528,null,0,i.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.workspaces)}),null)}function h(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,7,"div",[["class","nns-organization-select"]],null,null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,6,"div",[["class","nns-select"]],null,[[null,"clickOutside"],[null,"click"],["document","click"]],(function(e,t,n){var o=!0,i=e.component;"click"===t&&(o=!1!==r["ɵnov"](e,2).onClick(n)&&o);"document:click"===t&&(o=!1!==r["ɵnov"](e,2).onDocumentClick(n)&&o);"clickOutside"===t&&(o=!1!=(i.isShowDropdown=!1)&&o);return o}),null,null)),r["ɵdid"](2,16384,null,0,l.ClickOutsideDirective,[],null,{clickOutside:"clickOutside"}),(e()(),r["ɵeld"](3,0,null,null,2,"div",[["class","nns-select-item--wrapper"]],null,[[null,"click"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onToggleDropdown()&&r);return r}),null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,d)),r["ɵdid"](5,16384,null,0,i.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,f)),r["ɵdid"](7,16384,null,0,i.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.selectedWorkspace),e(t,7,0,n.isShowDropdown)}),null)}function m(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"nns-workspace-select",[],null,null,null,h,u)),r["ɵdid"](1,49152,null,0,c.WorkspaceSelectComponent,[],null,null)],null,null)}var g=r["ɵccf"]("nns-workspace-select",c.WorkspaceSelectComponent,m,{workspaces:"workspaces",selectedWorkspace:"selectedWorkspace",ownerId:"ownerId"},{onSelectWorkspaceEvent:"onSelectWorkspaceEvent"},[])},"./src/app/workspaces/workspace-select.component.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"WorkspaceSelectComponent",(function(){return o}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=function(){function e(){this.onSelectWorkspaceEvent=new r.EventEmitter}return e.prototype.onToggleDropdown=function(){this.workspaces&&this.workspaces.length>1&&(this.isShowDropdown=!this.isShowDropdown)},e.prototype.onSelectWorkspace=function(e){this.onSelectWorkspaceEvent.emit(e.globalId),this.isShowDropdown=!1},e}()},"./src/app/workspaces/workspaces.actions.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"SELECT_WORKSPACE",(function(){return r})),n.d(t,"REQUEST_WORKSPACES",(function(){return o})),n.d(t,"RECEIVE_WORKSPACES",(function(){return i})),n.d(t,"CLEAN_WORKSPACES",(function(){return a})),n.d(t,"selectWorkspace",(function(){return s})),n.d(t,"requestWorkspaces",(function(){return l})),n.d(t,"receiveWorkspaces",(function(){return c})),n.d(t,"cleanWorkspaces",(function(){return u}));var r="SELECT_WORKSPACE",o="REQUEST_WORKSPACES",i="RECEIVE_WORKSPACES",a="CLEAN_WORKSPACES";function s(e,t){return{type:r,result:e,orgId:t}}function l(){return{type:o}}function c(e){return{type:i,result:e}}function u(){return{type:a}}},"./src/app/workspaces/workspaces.effects.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"WorkspacesEffects",(function(){return u}));var r=n("./node_modules/tslib/tslib.es6.js"),o=n("./node_modules/rxjs/_esm5/index.js"),i=n("./node_modules/rxjs/_esm5/operators/index.js"),a=n("./node_modules/@ngrx/effects/fesm5/effects.js"),s=(n("./node_modules/@ngrx/store/fesm5/store.js"),n("./node_modules/@angular/http/fesm5/http.js"),n("./src/app/workspaces/workspaces.actions.ts")),l=n("./node_modules/normalizr/dist/src/index.js"),c=(n("./src/app/universal-config.ts"),new l.schema.Entity("workspaces",{},{idAttribute:"globalId"})),u=function(){function e(e,t,n,r){var a=this;this.actions$=e,this.store$=t,this.http=n,this._config=r,this.url="/ws",this.requestWorkspaces$=this.actions$.ofType(s.REQUEST_WORKSPACES).pipe(Object(i.withLatestFrom)(this.store$),Object(i.map)((function(e){var t=e[0];e[1];return t.payload})),Object(i.switchMap)((function(e){return a.http.get(""+a.shareApiService+a.url).pipe(Object(i.catchError)((function(){return Object(o.of)(!1)})))})),Object(i.map)((function(e){return Object(s.receiveWorkspaces)(Object(l.normalize)({workspaces:e.json()},{workspaces:[c]}))})),Object(i.catchError)((function(e){return Object(o.of)({type:"REQUEST_FAILED"})}))),this.shareApiService=r.get("SHARE_API_SERVICE")}return r.__decorate([Object(a.Effect)(),r.__metadata("design:type",Object)],e.prototype,"requestWorkspaces$",void 0),e}()},"./src/app/workspaces/workspaces.reducer.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"workspacesInitialState",(function(){return o})),n.d(t,"workspacesReducer",(function(){return i}));var r=n("./src/app/workspaces/workspaces.actions.ts"),o={selectedWorkspaceId:null,entities:{workspaces:[]},result:void 0,isFetching:!1};function i(e,t){switch(void 0===e&&(e=o),t.type){case r.REQUEST_WORKSPACES:return Object.assign({},e,{isFetching:!0});case r.RECEIVE_WORKSPACES:var n=t.result;return Object.assign({},e,n,{isFetching:!1});case r.SELECT_WORKSPACE:var i=t.result,a=t.orgId;if(a&&null==i){var s=e.entities.workspaces,l=Object.values(s).filter((function(e){return e.orgId==a})),c=l.find((function(e){return e.isDefault}));i=c?c.globalId:l[0].globalId}return Object.assign({},e,{},{selectedWorkspaceId:i});case r.CLEAN_WORKSPACES:return Object.assign({},o,{isFetching:!1});default:return e}}},"./src/app/workspaces/workspaces.selector.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"selectWorkspaces",(function(){return i})),n.d(t,"selectAllWorkspaces",(function(){return a})),n.d(t,"selectAllAvailableWorkspaces",(function(){return s})),n.d(t,"getSelectedWorkspaceId",(function(){return l})),n.d(t,"getIsWorkspacesFetched",(function(){return c})),n.d(t,"getCurrentNoteOrgWorkspace",(function(){return u})),n.d(t,"getCurrentNoteOrgWorkspaces",(function(){return d})),n.d(t,"getCurrentWorkspace",(function(){return p}));var r=n("./node_modules/@ngrx/store/fesm5/store.js"),o=n("./src/app/share/models/index.ts"),i=Object(r.createFeatureSelector)("workspaces"),a=Object(r.createSelector)(i,(function(e){if(e&&e.entities&&e.entities.workspaces)return Object.values(e.entities.workspaces)})),s=Object(r.createSelector)(a,(function(e){return e.filter((function(e){return!e.privileges||e.privileges&&-1!=e.privileges.indexOf("canEdit")}))})),l=Object(r.createSelector)(i,(function(e){if(e&&e.selectedWorkspaceId)return e.selectedWorkspaceId})),c=Object(r.createSelector)(i,(function(e){return!e.isFetching})),u=Object(r.createSelector)(o.selectCurrentNote,s,(function(e,t){return t.find((function(t){return t.globalId==e.workspaceId}))})),d=Object(r.createSelector)(u,s,(function(e,t){return e?t.filter((function(t){return t.orgId.startsWith("u")&&e.orgId.startsWith("u")||t.orgId==e.orgId})):null})),p=Object(r.createSelector)(o.selectCurrentNote,s,(function(e,t){return t.find((function(t){return t.globalId==e.workspaceId}))}))},"./src/client.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"main",(function(){return s}));var r=n("./node_modules/@codebakery/origami/fesm5/origami-polyfills.js"),o=n("./src/environment.ts"),i=n("./src/app/app.browser.module.ngfactory.js"),a=n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js");n("./package.json").version;function s(){return a.platformBrowser().bootstrapModuleFactory(i.BrowserAppModuleNgFactory).then(o.decorateModuleRef).catch((function(e){return console.error(e)}))}n("./node_modules/normalize.css/normalize.css"),n("./src/css/flex.css"),n("./src/css/query.css"),n("./src/css/global.css"),n("./src/css/viewer.css"),n("./src/css/icomoon.css"),n("./src/css/calibri.css"),n("./src/spritesmith-generated/sprite.css"),n("./src/spritesmith-generated/sprite-night.css"),n("./src/spritesmith-generated/sprite-checkbox.css"),n("./src/spritesmith-generated/sprite-checkbox-night.css"),n("./src/css/videogular.css"),n("./src/css/dark-theme-auth.css"),n("./node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css"),console.info("Nimbus Share App: 9.26.12-960056a8"),Object.defineProperty(window,"dataLayer",{value:[]}),Object.defineProperty(window,"gtag",{value:function(){window.dataLayer.push(arguments)}}),Object(r.webcomponentsReady)().then((function(){s()}))},"./src/css/calibri.css":function(e,t){},"./src/css/dark-theme-auth.css":function(e,t){},"./src/css/flex.css":function(e,t){},"./src/css/global.css":function(e,t){},"./src/css/icomoon.css":function(e,t){},"./src/css/query.css":function(e,t){},"./src/css/videogular.css":function(e,t){},"./src/css/viewer.css":function(e,t){},"./src/environment.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"decorateModuleRef",(function(){return a})),n.d(t,"ɵ0",(function(){return i}));n("./node_modules/@angular/platform-browser/fesm5/platform-browser.js");var r=n("./node_modules/@angular/core/fesm5/core.js"),o=function(e){return e},i=o;Object(r.enableProdMode)();var a=o},"./src/model/organization.model.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"orgHostGetter",(function(){return r})),n.d(t,"isMatchedByHost",(function(){return o})),n.d(t,"isMatchedById",(function(){return i})),n.d(t,"isOwnedByUserPredicate",(function(){return a})),n.d(t,"isDefaultOrgPredicate",(function(){return s})),n.d(t,"isB2BOrgPredicate",(function(){return l})),n.d(t,"isOrgSubscription",(function(){return c})),n.d(t,"isB2COrgPredicate",(function(){return u})),n.d(t,"isCnameEnabledPredicate",(function(){return d}));var r=function(e){return function(t){return(t.domain||t.sub+"."+e).toLowerCase()}},o=function(e){return function(t){var n,o=e.split(".");return 2===o.length?n=e:(o.shift(),n=o.join(".")),e.toLowerCase().includes(r(n)(t))}},i=function(e){return function(t){return t.globalId===e}},a=function(e){return function(t){return t.userId===e}},s=function(e){return function(t){return t.globalId==="u"+e.toString(36)}},l=function(){return function(e){return"business"===e.orgType}},c=function(e){return function(t){return t.subscriptionType===e}},u=function(){return function(e){return"private"===e.orgType||!l()}},d=function(){return function(e){return!!e.domain}}},"./src/modules/transfer-state/browser-transfer-state.module.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"getTransferState",(function(){return o})),n.d(t,"BrowserTransferStateModule",(function(){return i}));var r=n("./src/modules/transfer-state/transfer-state.ts");function o(){var e=new r.TransferState;return e.initialize(window.TRANSFER_STATE||{}),e}var i=function(){}},"./src/modules/transfer-state/transfer-state.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"TransferState",(function(){return r}));var r=function(){function e(){this._map=new Map}return e.prototype.keys=function(){return this._map.keys()},e.prototype.get=function(e){return this._map.get(e)},e.prototype.set=function(e,t){return this._map.set(e,t)},e.prototype.toJson=function(){var e=this,t={};return Array.from(this.keys()).forEach((function(n){t[n]=e.get(n)})),t},e.prototype.initialize=function(e){var t=this;Object.keys(e).forEach((function(n){t.set(n,e[n])}))},e.prototype.inject=function(){},e}()},"./src/preview-icons/favicon-capture-app.png":function(e,t,n){e.exports=n.p+"i/80d417dbd4337ae67e2af184759b5d2a.png"},"./src/preview-icons/favicon-notes-app.png":function(e,t,n){e.exports=n.p+"i/ff6a823eabd85e67c626d007c2830bd5.png"},"./src/preview-icons/preview-placeholder-capture.png":function(e,t,n){e.exports=n.p+"i/f50683860b41accc232ee6483608c530.png"},"./src/preview-icons/preview-placeholder-fusebase.png":function(e,t,n){e.exports=n.p+"i/a46b192697be802bb2c0bca84561ccaa.png"},"./src/query.service.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"QueryService",(function(){return r}));var r=function(){function e(e){this.request=e}return e.prototype.isEmbed=function(){var e=!1;this.request?e="true"===this.request.query.embed:e=!!document.location.search.match(/embed=true/);return e},e}()},"./src/spritesmith-generated/sprite-checkbox-night.css":function(e,t){},"./src/spritesmith-generated/sprite-checkbox.css":function(e,t){},"./src/spritesmith-generated/sprite-night.css":function(e,t){},"./src/spritesmith-generated/sprite.css":function(e,t){},"./src/va2/core.ts":function(e,t,n){"use strict";n.r(t);var r=n("./src/va2/src/core/core.ts");n.d(t,"VgPlayer",(function(){return r.VgPlayer})),n.d(t,"VgMedia",(function(){return r.VgMedia})),n.d(t,"VgCuePoints",(function(){return r.VgCuePoints})),n.d(t,"VgAPI",(function(){return r.VgAPI})),n.d(t,"VgFullscreenAPI",(function(){return r.VgFullscreenAPI})),n.d(t,"VgUtils",(function(){return r.VgUtils})),n.d(t,"VgControlsHidden",(function(){return r.VgControlsHidden})),n.d(t,"VgEvents",(function(){return r.VgEvents})),n.d(t,"VgStates",(function(){return r.VgStates})),n.d(t,"VgMediaElement",(function(){return r.VgMediaElement})),n.d(t,"coreDirectives",(function(){return r.coreDirectives})),n.d(t,"coreServices",(function(){return r.coreServices})),n.d(t,"VgCoreModule",(function(){return r.VgCoreModule})),function(){if("undefined"==typeof window||"function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}()},"./src/va2/src/controls/controls.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgControlsModule",(function(){return r}));var r=function(){}},"./src/va2/src/controls/vg-controls.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgControls",(function(){return s})),n.d(t,"View_VgControls_0",(function(){return l})),n.d(t,"View_VgControls_Host_0",(function(){return c})),n.d(t,"VgControlsNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-controls.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=n("./src/va2/src/core/services/vg-controls-hidden.ts"),s=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-controls {\n            position: absolute;\n            display: flex;\n            width: 100%;\n            height: 50px;\n            z-index: 300;\n            bottom: 0;\n            background-color: rgba(0, 0, 0, 0.5);\n            -webkit-transition: bottom 1s;\n            -khtml-transition: bottom 1s;\n            -moz-transition: bottom 1s;\n            -ms-transition: bottom 1s;\n            transition: bottom 1s;\n        }\n\n        vg-controls.hide {  \n            bottom: -50px;\n        }\n    "],data:{}});function l(e){return r["ɵvid"](0,[r["ɵncd"](null,0)],null,null)}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-controls",[],[[4,"pointer-events",null],[2,"hide",null]],null,null,l,s)),r["ɵdid"](1,4440064,null,0,o.VgControls,[i.VgAPI,r.ElementRef,a.VgControlsHidden],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).isAdsPlaying,r["ɵnov"](t,1).hideControls)}))}var u=r["ɵccf"]("vg-controls",o.VgControls,c,{vgFor:"vgFor",vgAutohide:"vgAutohide",vgAutohideTime:"vgAutohideTime"},{},["*"])},"./src/va2/src/controls/vg-controls.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgControls",(function(){return i}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts"),n("./src/va2/src/core/services/vg-controls-hidden.ts");var r=n("./src/va2/src/core/states/vg-states.ts"),o=n("./node_modules/rxjs/_esm5/index.js"),i=function(){function e(e,t,n){this.API=e,this.ref=t,this.hidden=n,this.isAdsPlaying="initial",this.hideControls=!1,this.vgAutohide=!1,this.vgAutohideTime=3,this.subscriptions=[],this.elem=t.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.mouseMove$=Object(o.fromEvent)(this.API.videogularElement,"mousemove"),this.subscriptions.push(this.mouseMove$.subscribe(this.show.bind(this))),this.touchStart$=Object(o.fromEvent)(this.API.videogularElement,"touchstart"),this.subscriptions.push(this.touchStart$.subscribe(this.show.bind(this))),this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.target.subscriptions.play.subscribe(this.onPlay.bind(this))),this.subscriptions.push(this.target.subscriptions.pause.subscribe(this.onPause.bind(this))),this.subscriptions.push(this.target.subscriptions.startAds.subscribe(this.onStartAds.bind(this))),this.subscriptions.push(this.target.subscriptions.endAds.subscribe(this.onEndAds.bind(this)))},e.prototype.ngAfterViewInit=function(){this.vgAutohide?this.hide():this.show()},e.prototype.onPlay=function(){this.vgAutohide&&this.hide()},e.prototype.onPause=function(){clearTimeout(this.timer),this.hideControls=!1,this.hidden.state(!1)},e.prototype.onStartAds=function(){this.isAdsPlaying="none"},e.prototype.onEndAds=function(){this.isAdsPlaying="initial"},e.prototype.hide=function(){this.vgAutohide&&(clearTimeout(this.timer),this.hideAsync())},e.prototype.show=function(){clearTimeout(this.timer),this.hideControls=!1,this.hidden.state(!1),this.vgAutohide&&this.hideAsync()},e.prototype.hideAsync=function(){var e=this;this.API.state===r.VgStates.VG_PLAYING&&(this.timer=setTimeout((function(){e.hideControls=!0,e.hidden.state(!0)}),1e3*this.vgAutohideTime))},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-fullscreen/vg-fullscreen.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgFullscreen",(function(){return s})),n.d(t,"View_VgFullscreen_0",(function(){return l})),n.d(t,"View_VgFullscreen_Host_0",(function(){return c})),n.d(t,"VgFullscreenNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-fullscreen/vg-fullscreen.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=n("./src/va2/src/core/services/vg-fullscreen-api.ts"),s=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-fullscreen {\n            -webkit-touch-callout: none;\n            -webkit-user-select: none;\n            -khtml-user-select: none;\n            -moz-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n            display: flex;\n            justify-content: center;\n            height: 50px;\n            width: 50px;\n            cursor: pointer;\n            color: white;\n            line-height: 50px;\n        }\n\n        vg-fullscreen .icon {\n            pointer-events: none;\n        }\n    "],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["aria-label","fullscreen button"],["class","icon"],["role","button"],["tabindex","0"]],[[2,"vg-icon-fullscreen",null],[2,"vg-icon-fullscreen_exit",null],[1,"aria-valuetext",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,!n.isFullscreen,n.isFullscreen,n.ariaValue)}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-fullscreen",[],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick()&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).onKeyDown(n)&&o);return o}),l,s)),r["ɵdid"](1,245760,null,0,o.VgFullscreen,[r.ElementRef,i.VgAPI,a.VgFullscreenAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var u=r["ɵccf"]("vg-fullscreen",o.VgFullscreen,c,{},{},[])},"./src/va2/src/controls/vg-fullscreen/vg-fullscreen.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgFullscreen",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./src/va2/src/core/services/vg-api.ts"),o=(n("./src/va2/src/core/services/vg-fullscreen-api.ts"),function(){function e(e,t,n){this.API=t,this.fsAPI=n,this.isFullscreen=!1,this.subscriptions=[],this.ariaValue="normal mode",this.elem=e.nativeElement,this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this)))}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},e.prototype.onChangeFullscreen=function(e){this.ariaValue=e?"fullscren mode":"normal mode",this.isFullscreen=e},e.prototype.onClick=function(){this.changeFullscreenState()},e.prototype.onKeyDown=function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.changeFullscreenState())},e.prototype.changeFullscreenState=function(){var e=this.target;this.target instanceof r.VgAPI&&(e=null),this.fsAPI.toggleFullscreen(e)},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}())},"./src/va2/src/controls/vg-mute/vg-mute.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgMute",(function(){return a})),n.d(t,"View_VgMute_0",(function(){return s})),n.d(t,"View_VgMute_Host_0",(function(){return l})),n.d(t,"VgMuteNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-mute/vg-mute.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-mute {\n            -webkit-touch-callout: none;\n            -webkit-user-select: none;\n            -khtml-user-select: none;\n            -moz-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n            display: flex;\n            justify-content: center;\n            height: 50px;\n            width: 50px;\n            cursor: pointer;\n            color: white;\n            line-height: 50px;\n        }\n\n        vg-mute .icon {\n            pointer-events: none;\n        }\n    "],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["aria-label","mute button"],["class","icon"],["role","button"],["tabindex","0"]],[[2,"vg-icon-volume_up",null],[2,"vg-icon-volume_down",null],[2,"vg-icon-volume_mute",null],[2,"vg-icon-volume_off",null],[1,"aria-valuetext",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.getVolume()>=.75,n.getVolume()>=.25&&n.getVolume()<.75,n.getVolume()>0&&n.getVolume()<.25,0===n.getVolume(),n.ariaValue)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-mute",[],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick()&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).onKeyDown(n)&&o);return o}),s,a)),r["ɵdid"](1,245760,null,0,o.VgMute,[r.ElementRef,i.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("vg-mute",o.VgMute,l,{vgFor:"vgFor"},{},[])},"./src/va2/src/controls/vg-mute/vg-mute.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgMute",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=function(){function e(e,t){this.API=t,this.subscriptions=[],this.ariaValue="unmuted",this.elem=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor),this.currentVolume=this.target.volume},e.prototype.onClick=function(){this.changeMuteState()},e.prototype.onKeyDown=function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.changeMuteState())},e.prototype.changeMuteState=function(){var e=this.getVolume();0===e?(0===this.target.volume&&0===this.currentVolume&&(this.currentVolume=1),this.target.volume=this.currentVolume):(this.currentVolume=e,this.target.volume=0)},e.prototype.getVolume=function(){var e=this.target?this.target.volume:0;return this.ariaValue=e?"unmuted":"muted",e},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-play-pause/vg-play-pause.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgPlayPause",(function(){return a})),n.d(t,"View_VgPlayPause_0",(function(){return s})),n.d(t,"View_VgPlayPause_Host_0",(function(){return l})),n.d(t,"VgPlayPauseNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-play-pause/vg-play-pause.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-play-pause {\n            -webkit-touch-callout: none;\n            -webkit-user-select: none;\n            -khtml-user-select: none;\n            -moz-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n            display: flex;\n            justify-content: center;\n            height: 50px;\n            width: 50px;\n            cursor: pointer;\n            color: white;\n            line-height: 50px;\n        }\n\n        vg-play-pause .icon {\n            pointer-events: none;\n        }\n    "],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["class","icon"],["role","button"],["tabindex","0"]],[[2,"vg-icon-pause",null],[2,"vg-icon-play_arrow",null],[1,"aria-label",0],[1,"aria-valuetext",0]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,"playing"===n.getState(),"paused"===n.getState()||"ended"===n.getState(),"paused"===n.getState()?"play":"pause",n.ariaValue)}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-play-pause",[],null,[[null,"click"],[null,"keydown"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick()&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).onKeyDown(n)&&o);return o}),s,a)),r["ɵdid"](1,245760,null,0,o.VgPlayPause,[r.ElementRef,i.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("vg-play-pause",o.VgPlayPause,l,{vgFor:"vgFor"},{},[])},"./src/va2/src/controls/vg-play-pause/vg-play-pause.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgPlayPause",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=n("./src/va2/src/core/states/vg-states.ts"),o=function(){function e(e,t){this.API=t,this.subscriptions=[],this.ariaValue=r.VgStates.VG_PAUSED,this.elem=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},e.prototype.onClick=function(){this.playPause()},e.prototype.onKeyDown=function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.playPause())},e.prototype.playPause=function(){switch(this.getState()){case r.VgStates.VG_PLAYING:this.target.pause();break;case r.VgStates.VG_PAUSED:case r.VgStates.VG_ENDED:this.target.play()}},e.prototype.getState=function(){return this.ariaValue=this.target?this.target.state:r.VgStates.VG_PAUSED,this.ariaValue},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/vg-scrub-bar-buffering-time.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgScrubBarBufferingTime",(function(){return a})),n.d(t,"View_VgScrubBarBufferingTime_0",(function(){return s})),n.d(t,"View_VgScrubBarBufferingTime_Host_0",(function(){return l})),n.d(t,"VgScrubBarBufferingTimeNgFactory",(function(){return c}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/vg-scrub-bar-buffering-time.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-scrub-bar-buffering-time {\n            display: flex;\n            width: 100%;\n            height: 5px;\n            pointer-events: none;\n            position: absolute;\n        }\n\n        vg-scrub-bar-buffering-time .background {\n            background-color: rgba(255, 255, 255, 0.3);\n        }\n\n        vg-controls vg-scrub-bar-buffering-time {\n            position: absolute;\n            top: calc(50% - 3px);\n        }\n\n        vg-controls vg-scrub-bar-buffering-time .background {\n            -webkit-border-radius: 2px;\n            -moz-border-radius: 2px;\n            border-radius: 2px;\n        }\n    "],data:{}});function s(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["class","background"]],[[4,"width",null]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component.getBufferTime())}))}function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-scrub-bar-buffering-time",[],null,null,null,s,a)),r["ɵdid"](1,245760,null,0,o.VgScrubBarBufferingTime,[r.ElementRef,i.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r["ɵccf"]("vg-scrub-bar-buffering-time",o.VgScrubBarBufferingTime,l,{vgFor:"vgFor"},{},[])},"./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/vg-scrub-bar-buffering-time.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgScrubBarBufferingTime",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=function(){function e(e,t){this.API=t,this.subscriptions=[],this.elem=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},e.prototype.getBufferTime=function(){var e="0%";return this.target&&this.target.buffer&&this.target.buffered.length&&(e=0===this.target.time.total?"0%":this.target.buffer.end/this.target.time.total*100+"%"),e},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-current-time/vg-scrub-bar-current-time.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgScrubBarCurrentTime",(function(){return s})),n.d(t,"View_VgScrubBarCurrentTime_0",(function(){return c})),n.d(t,"View_VgScrubBarCurrentTime_Host_0",(function(){return u})),n.d(t,"VgScrubBarCurrentTimeNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-current-time/vg-scrub-bar-current-time.ts"),a=n("./src/va2/src/core/services/vg-api.ts"),s=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-scrub-bar-current-time {\n            display: flex;\n            width: 100%;\n            height: 5px;\n            pointer-events: none;\n            position: absolute;\n        }\n\n        vg-scrub-bar-current-time .background {\n            background-color: white;\n        }\n\n        vg-controls vg-scrub-bar-current-time {\n            position: absolute;\n            top: calc(50% - 3px);\n            -webkit-border-radius: 2px;\n            -moz-border-radius: 2px;\n            border-radius: 2px;\n        }\n\n        vg-controls vg-scrub-bar-current-time .background {\n            border: 1px solid white;\n            -webkit-border-radius: 2px;\n            -moz-border-radius: 2px;\n            border-radius: 2px;\n        }\n        \n        vg-scrub-bar-current-time .slider{\n            background: white;\n            height: 15px;\n            width: 15px;\n            border-radius: 50%;\n            box-shadow: 0px 0px 10px black;\n            margin-top: -5px;\n            margin-left: -10px;\n        }\n    "],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"span",[["class","slider"]],null,null,null,null,null))],null,null)}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,0,"div",[["class","background"]],[[4,"width",null]],null,null,null,null)),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](2,16384,null,0,o.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,2,0,t.component.vgSlider)}),(function(e,t){e(t,0,0,t.component.getPercentage())}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-scrub-bar-current-time",[],null,null,null,c,s)),r["ɵdid"](1,245760,null,0,i.VgScrubBarCurrentTime,[r.ElementRef,a.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var d=r["ɵccf"]("vg-scrub-bar-current-time",i.VgScrubBarCurrentTime,u,{vgFor:"vgFor",vgSlider:"vgSlider"},{},[])},"./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar-current-time/vg-scrub-bar-current-time.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgScrubBarCurrentTime",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=function(){function e(e,t){this.API=t,this.vgSlider=!1,this.subscriptions=[],this.elem=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},e.prototype.getPercentage=function(){return this.target?100*this.target.time.current/this.target.time.total+"%":"0%"},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgScrubBar",(function(){return s})),n.d(t,"View_VgScrubBar_0",(function(){return l})),n.d(t,"View_VgScrubBar_Host_0",(function(){return c})),n.d(t,"VgScrubBarNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=n("./src/va2/src/core/services/vg-controls-hidden.ts"),s=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-scrub-bar {\n            -webkit-touch-callout: none;\n            -webkit-user-select: none;\n            -moz-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n            position: absolute;\n            width: 100%;\n            height: 5px;\n            bottom: 50px;\n            margin: 0;\n            cursor: pointer;\n            align-items: center;\n            background: rgba(0, 0, 0, 0.75);\n            z-index: 250;\n            -webkit-transition: bottom 1s, opacity 0.5s;\n            -khtml-transition: bottom 1s, opacity 0.5s;\n            -moz-transition: bottom 1s, opacity 0.5s;\n            -ms-transition: bottom 1s, opacity 0.5s;\n            transition: bottom 1s, opacity 0.5s;\n        }\n        \n        vg-scrub-bar .scrubBar {\n            position: relative;\n            display: flex;\n            flex-grow: 1;\n            align-items: center;\n            height: 100%;\n        }\n\n        vg-controls vg-scrub-bar {\n            position: relative;\n            bottom: 0;\n            background: transparent;\n            height: 50px;\n            flex-grow: 1;\n            flex-basis: 0;\n            margin: 0 10px;\n            -webkit-transition: initial;\n            -khtml-transition: initial;\n            -moz-transition: initial;\n            -ms-transition: initial;\n            transition: initial;\n        }\n\n        vg-scrub-bar.hide {\n            bottom: 0;\n            opacity: 0;\n        }\n\n        vg-controls vg-scrub-bar.hide {\n            bottom: initial;\n            opacity: initial;\n        }\n    "],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["aria-label","scrub bar"],["aria-level","polite"],["aria-valuemax","100"],["aria-valuemin","0"],["class","scrubBar"],["role","slider"],["tabindex","0"]],[[1,"aria-valuenow",0],[1,"aria-valuetext",0]],null,null,null,null)),r["ɵncd"](null,0)],null,(function(e,t){var n=t.component;e(t,0,0,n.getPercentage(),n.getPercentage()+"%")}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-scrub-bar",[],[[2,"hide",null]],[[null,"mousedown"],["document","mousemove"],["document","mouseup"],[null,"touchstart"],["document","touchmove"],["document","touchcancel"],["document","touchend"],[null,"keydown"]],(function(e,t,n){var o=!0;"mousedown"===t&&(o=!1!==r["ɵnov"](e,1).onMouseDownScrubBar(n)&&o);"document:mousemove"===t&&(o=!1!==r["ɵnov"](e,1).onMouseMoveScrubBar(n)&&o);"document:mouseup"===t&&(o=!1!==r["ɵnov"](e,1).onMouseUpScrubBar(n)&&o);"touchstart"===t&&(o=!1!==r["ɵnov"](e,1).onTouchStartScrubBar(n)&&o);"document:touchmove"===t&&(o=!1!==r["ɵnov"](e,1).onTouchMoveScrubBar(n)&&o);"document:touchcancel"===t&&(o=!1!==r["ɵnov"](e,1).onTouchCancelScrubBar(n)&&o);"document:touchend"===t&&(o=!1!==r["ɵnov"](e,1).onTouchEndScrubBar(n)&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).arrowAdjustVolume(n)&&o);return o}),l,s)),r["ɵdid"](1,245760,null,0,o.VgScrubBar,[r.ElementRef,i.VgAPI,a.VgControlsHidden],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).hideScrubBar)}))}var u=r["ɵccf"]("vg-scrub-bar",o.VgScrubBar,c,{vgFor:"vgFor",vgSlider:"vgSlider"},{},["*"])},"./src/va2/src/controls/vg-scrub-bar/vg-scrub-bar.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgScrubBar",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts"),n("./src/va2/src/core/services/vg-controls-hidden.ts");var r=n("./src/va2/src/core/states/vg-states.ts"),o=function(){function e(e,t,n){var r=this;this.API=t,this.hideScrubBar=!1,this.vgSlider=!0,this.isSeeking=!1,this.wasPlaying=!1,this.subscriptions=[],this.elem=e.nativeElement,this.subscriptions.push(n.isHidden.subscribe((function(e){return r.onHideScrubBar(e)})))}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},e.prototype.seekStart=function(){this.target.canPlay&&(this.isSeeking=!0,this.target.state===r.VgStates.VG_PLAYING&&(this.wasPlaying=!0),this.target.pause())},e.prototype.seekMove=function(e){if(this.isSeeking){var t=Math.max(Math.min(100*e/this.elem.scrollWidth,99.9),0);this.target.time.current=t*this.target.time.total/100,this.target.seekTime(t,!0)}},e.prototype.seekEnd=function(e){if(this.isSeeking=!1,this.target.canPlay){var t=Math.max(Math.min(100*e/this.elem.scrollWidth,99.9),0);this.target.seekTime(t,!0),this.wasPlaying&&(this.wasPlaying=!1,this.target.play())}},e.prototype.touchEnd=function(){this.isSeeking=!1,this.wasPlaying&&(this.wasPlaying=!1,this.target.play())},e.prototype.getTouchOffset=function(e){for(var t=0,n=e.target;n;)t+=n.offsetLeft,n=n.offsetParent;return e.touches[0].pageX-t},e.prototype.onMouseDownScrubBar=function(e){this.target&&(this.target.isLive||(this.vgSlider?this.seekStart():this.seekEnd(e.offsetX)))},e.prototype.onMouseMoveScrubBar=function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekMove(e.offsetX)},e.prototype.onMouseUpScrubBar=function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekEnd(e.offsetX)},e.prototype.onTouchStartScrubBar=function(e){this.target&&(this.target.isLive||(this.vgSlider?this.seekStart():this.seekEnd(this.getTouchOffset(e))))},e.prototype.onTouchMoveScrubBar=function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekMove(this.getTouchOffset(e))},e.prototype.onTouchCancelScrubBar=function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.touchEnd()},e.prototype.onTouchEndScrubBar=function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.touchEnd()},e.prototype.arrowAdjustVolume=function(e){this.target&&(38===e.keyCode||39===e.keyCode?(e.preventDefault(),this.target.seekTime((this.target.time.current+5e3)/1e3,!1)):37!==e.keyCode&&40!==e.keyCode||(e.preventDefault(),this.target.seekTime((this.target.time.current-5e3)/1e3,!1)))},e.prototype.getPercentage=function(){return this.target?100*this.target.time.current/this.target.time.total+"%":"0%"},e.prototype.onHideScrubBar=function(e){this.hideScrubBar=e},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-time-display/vg-time-display.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgTimeDisplay",(function(){return s})),n.d(t,"View_VgTimeDisplay_0",(function(){return u})),n.d(t,"View_VgTimeDisplay_Host_0",(function(){return d})),n.d(t,"VgTimeDisplayNgFactory",(function(){return p}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/controls/vg-time-display/vg-time-display.ts"),i=n("./node_modules/@angular/common/fesm5/common.js"),a=n("./src/va2/src/core/services/vg-api.ts"),s=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-time-display {\n            -webkit-touch-callout: none;\n            -webkit-user-select: none;\n            -moz-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n            display: flex;\n            justify-content: center;\n            height: 50px;\n            width: 60px;\n            cursor: pointer;\n            color: white;\n            line-height: 50px;\n            pointer-events: none;\n            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n        }\n    "],data:{}});function l(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](-1,null,["LIVE"]))],null,null)}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),r["ɵted"](1,null,["",""])),r["ɵppd"](2,2)],null,(function(e,t){var n=t.component,o=r["ɵunv"](t,1,0,e(t,2,0,r["ɵnov"](t.parent,0),n.getTime(),n.vgFormat));e(t,1,0,o)}))}function u(e){return r["ɵvid"](0,[r["ɵpid"](0,o.VgUtcPipe,[]),(e()(),r["ɵand"](16777216,null,null,1,null,l)),r["ɵdid"](2,16384,null,0,i.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),r["ɵand"](16777216,null,null,1,null,c)),r["ɵdid"](4,16384,null,0,i.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),r["ɵncd"](null,0)],(function(e,t){var n=t.component;e(t,2,0,null==n.target?null:n.target.isLive),e(t,4,0,!(null!=n.target&&n.target.isLive))}),null)}function d(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-time-display",[],null,null,null,u,s)),r["ɵdid"](1,245760,null,0,o.VgTimeDisplay,[r.ElementRef,a.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var p=r["ɵccf"]("vg-time-display",o.VgTimeDisplay,d,{vgFor:"vgFor",vgProperty:"vgProperty",vgFormat:"vgFormat"},{},["*"])},"./src/va2/src/controls/vg-time-display/vg-time-display.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgUtcPipe",(function(){return r})),n.d(t,"VgTimeDisplay",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=function(){function e(){}return e.prototype.transform=function(e,t){var n=new Date(e),r=t,o=n.getUTCSeconds(),i=n.getUTCMinutes(),a=n.getUTCHours();return o<10&&(o="0"+o),i<10&&(i="0"+i),a<10&&(a="0"+a),r=(r=(r=r.replace(/ss/g,o)).replace(/mm/g,i)).replace(/hh/g,a)},e}(),o=function(){function e(e,t){this.API=t,this.vgProperty="current",this.vgFormat="mm:ss",this.subscriptions=[],this.elem=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor)},e.prototype.getTime=function(){var e=0;return this.target&&(e=Math.round(this.target.time[this.vgProperty]),e=isNaN(e)||this.target.isLive?0:e),e},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/controls/vg-volume/vg-volume.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgVolume",(function(){return s})),n.d(t,"View_VgVolume_0",(function(){return l})),n.d(t,"View_VgVolume_Host_0",(function(){return c})),n.d(t,"VgVolumeNgFactory",(function(){return u}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./node_modules/@angular/common/fesm5/common.js"),i=n("./src/va2/src/controls/vg-volume/vg-volume.ts"),a=n("./src/va2/src/core/services/vg-api.ts"),s=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-volume {\n            -webkit-touch-callout: none;\n            -webkit-user-select: none;\n            -moz-user-select: none;\n            -ms-user-select: none;\n            user-select: none;\n            display: flex;\n            justify-content: center;\n            height: 50px;\n            width: 100px;\n            cursor: pointer;\n            color: white;\n            line-height: 50px;\n        }\n        vg-volume .volumeBar {\n            position: relative;\n            display: flex;\n            flex-grow: 1;\n            align-items: center;\n        }\n        vg-volume .volumeBackground {\n            display: flex;\n            flex-grow: 1;\n            height: 5px;\n            pointer-events: none;\n            background-color: #333;\n        }\n        vg-volume .volumeValue {\n            display: flex;\n            height: 5px;\n            pointer-events: none;\n            background-color: #FFF;\n            transition:all 0.2s ease-out;\n        }\n        vg-volume .volumeKnob {\n            position: absolute;\n            width: 15px; height: 15px;\n            left: 0; top: 50%;\n            transform: translateY(-50%);\n            border-radius: 15px;\n            pointer-events: none;\n            background-color: #FFF;\n            transition:all 0.2s ease-out;\n        }\n        vg-volume .volumeBackground.dragging .volumeValue,\n        vg-volume .volumeBackground.dragging .volumeKnob {\n            transition: none;\n        }\n    "],data:{}});function l(e){return r["ɵvid"](0,[r["ɵqud"](402653184,1,{volumeBarRef:0}),(e()(),r["ɵeld"](1,0,[[1,0],["volumeBar",1]],null,5,"div",[["aria-label","volume level"],["aria-level","polite"],["aria-orientation","horizontal"],["aria-valuemax","100"],["aria-valuemin","0"],["class","volumeBar"],["role","slider"],["tabindex","0"]],[[1,"aria-valuenow",0],[1,"aria-valuetext",0]],[[null,"click"],[null,"mousedown"]],(function(e,t,n){var r=!0,o=e.component;"click"===t&&(r=!1!==o.onClick(n)&&r);"mousedown"===t&&(r=!1!==o.onMouseDown(n)&&r);return r}),null,null)),(e()(),r["ɵeld"](2,0,null,null,4,"div",[["class","volumeBackground"]],null,null,null,null,null)),r["ɵdid"](3,278528,null,0,o.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r["ɵpod"](4,{dragging:0}),(e()(),r["ɵeld"](5,0,null,null,0,"div",[["class","volumeValue"]],[[4,"width",null]],null,null,null,null)),(e()(),r["ɵeld"](6,0,null,null,0,"div",[["class","volumeKnob"]],[[4,"left",null]],null,null,null,null))],(function(e,t){var n=e(t,4,0,t.component.isDragging);e(t,3,0,"volumeBackground",n)}),(function(e,t){var n=t.component;e(t,1,0,n.ariaValue,n.ariaValue+"%"),e(t,5,0,85*n.getVolume()+"%"),e(t,6,0,85*n.getVolume()+"%")}))}function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-volume",[],null,[["document","mousemove"],["document","mouseup"],[null,"keydown"]],(function(e,t,n){var o=!0;"document:mousemove"===t&&(o=!1!==r["ɵnov"](e,1).onDrag(n)&&o);"document:mouseup"===t&&(o=!1!==r["ɵnov"](e,1).onStopDrag(n)&&o);"keydown"===t&&(o=!1!==r["ɵnov"](e,1).arrowAdjustVolume(n)&&o);return o}),l,s)),r["ɵdid"](1,245760,null,0,i.VgVolume,[r.ElementRef,a.VgAPI],null,null)],(function(e,t){e(t,1,0)}),null)}var u=r["ɵccf"]("vg-volume",i.VgVolume,c,{vgFor:"vgFor"},{},[])},"./src/va2/src/controls/vg-volume/vg-volume.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgVolume",(function(){return r}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=function(){function e(e,t){this.API=t,this.subscriptions=[],this.elem=e.nativeElement,this.isDragging=!1}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){this.target=this.API.getMediaById(this.vgFor),this.ariaValue=100*this.getVolume()},e.prototype.onClick=function(e){this.setVolume(this.calculateVolume(e.clientX))},e.prototype.onMouseDown=function(e){this.mouseDownPosX=e.clientX,this.isDragging=!0},e.prototype.onDrag=function(e){this.isDragging&&this.setVolume(this.calculateVolume(e.clientX))},e.prototype.onStopDrag=function(e){this.isDragging&&(this.isDragging=!1,this.mouseDownPosX===e.clientX&&this.setVolume(this.calculateVolume(e.clientX)))},e.prototype.arrowAdjustVolume=function(e){38===e.keyCode||39===e.keyCode?(e.preventDefault(),this.setVolume(Math.max(0,Math.min(100,100*this.getVolume()+10)))):37!==e.keyCode&&40!==e.keyCode||(e.preventDefault(),this.setVolume(Math.max(0,Math.min(100,100*this.getVolume()-10))))},e.prototype.calculateVolume=function(e){var t=this.volumeBarRef.nativeElement.getBoundingClientRect();return(e-t.left)/t.width*100},e.prototype.setVolume=function(e){this.target.volume=Math.max(0,Math.min(1,e/100)),this.ariaValue=100*this.target.volume},e.prototype.getVolume=function(){return this.target?this.target.volume:0},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/core/core.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"coreDirectives",(function(){return f})),n.d(t,"coreServices",(function(){return h})),n.d(t,"VgCoreModule",(function(){return m}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./src/va2/src/core/vg-player/vg-player.ts"),o=n("./src/va2/src/core/vg-media/vg-media.ts"),i=n("./src/va2/src/core/vg-cue-points/vg-cue-points.ts"),a=n("./src/va2/src/core/services/vg-api.ts"),s=n("./src/va2/src/core/services/vg-fullscreen-api.ts"),l=n("./src/va2/src/core/services/vg-utils.ts"),c=n("./src/va2/src/core/services/vg-controls-hidden.ts");n.d(t,"VgPlayer",(function(){return r.VgPlayer})),n.d(t,"VgMedia",(function(){return o.VgMedia})),n.d(t,"VgCuePoints",(function(){return i.VgCuePoints})),n.d(t,"VgAPI",(function(){return a.VgAPI})),n.d(t,"VgFullscreenAPI",(function(){return s.VgFullscreenAPI})),n.d(t,"VgUtils",(function(){return l.VgUtils})),n.d(t,"VgControlsHidden",(function(){return c.VgControlsHidden}));var u=n("./src/va2/src/core/events/vg-events.ts");n.d(t,"VgEvents",(function(){return u.VgEvents}));var d=n("./src/va2/src/core/states/vg-states.ts");n.d(t,"VgStates",(function(){return d.VgStates}));var p=n("./src/va2/src/core/vg-media/vg-media-element.ts");function f(){return[r.VgPlayer,o.VgMedia,i.VgCuePoints]}function h(){return[a.VgAPI,s.VgFullscreenAPI,l.VgUtils,c.VgControlsHidden]}n.d(t,"VgMediaElement",(function(){return p.VgMediaElement}));var m=function(){}},"./src/va2/src/core/events/vg-events.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgEvents",(function(){return r}));var r=function(){function e(){}return e.VG_ABORT="abort",e.VG_CAN_PLAY="canplay",e.VG_CAN_PLAY_THROUGH="canplaythrough",e.VG_DURATION_CHANGE="durationchange",e.VG_EMPTIED="emptied",e.VG_ENCRYPTED="encrypted",e.VG_ENDED="ended",e.VG_ERROR="error",e.VG_LOADED_DATA="loadeddata",e.VG_LOADED_METADATA="loadedmetadata",e.VG_LOAD_START="loadstart",e.VG_PAUSE="pause",e.VG_PLAY="play",e.VG_PLAYING="playing",e.VG_PROGRESS="progress",e.VG_RATE_CHANGE="ratechange",e.VG_SEEK="seek",e.VG_SEEKED="seeked",e.VG_SEEKING="seeking",e.VG_STALLED="stalled",e.VG_SUSPEND="suspend",e.VG_TIME_UPDATE="timeupdate",e.VG_VOLUME_CHANGE="volumechange",e.VG_WAITING="waiting",e.VG_LOAD="load",e.VG_ENTER="enter",e.VG_EXIT="exit",e.VG_START_ADS="startads",e.VG_END_ADS="endads",e}()},"./src/va2/src/core/services/vg-api.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgAPI",(function(){return i}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/core/states/vg-states.ts"),i=function(){function e(){this.medias={},this.playerReadyEvent=new r.EventEmitter(!0),this.isPlayerReady=!1}return e.prototype.onPlayerReady=function(e){this.fsAPI=e,this.isPlayerReady=!0,this.playerReadyEvent.emit(this)},e.prototype.getDefaultMedia=function(){for(var e in this.medias)if(this.medias[e])return this.medias[e]},e.prototype.getMasterMedia=function(){var e;for(var t in this.medias)if("true"===this.medias[t].vgMaster||!0===this.medias[t].vgMaster){e=this.medias[t];break}return e||this.getDefaultMedia()},e.prototype.isMasterDefined=function(){var e=!1;for(var t in this.medias)if("true"===this.medias[t].vgMaster||!0===this.medias[t].vgMaster){e=!0;break}return e},e.prototype.getMediaById=function(e){void 0===e&&(e=null);var t=this.medias[e];return e&&"*"!==e||(t=this),t},e.prototype.play=function(){for(var e in this.medias)this.medias[e]&&this.medias[e].play()},e.prototype.pause=function(){for(var e in this.medias)this.medias[e]&&this.medias[e].pause()},Object.defineProperty(e.prototype,"duration",{get:function(){return this.$$getAllProperties("duration")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.$$getAllProperties("currentTime")},set:function(e){this.$$setAllProperties("currentTime",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this.$$getAllProperties("state")},set:function(e){this.$$setAllProperties("state",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this.$$getAllProperties("volume")},set:function(e){this.$$setAllProperties("volume",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"playbackRate",{get:function(){return this.$$getAllProperties("playbackRate")},set:function(e){this.$$setAllProperties("playbackRate",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canPlay",{get:function(){return this.$$getAllProperties("canPlay")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canPlayThrough",{get:function(){return this.$$getAllProperties("canPlayThrough")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMetadataLoaded",{get:function(){return this.$$getAllProperties("isMetadataLoaded")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isWaiting",{get:function(){return this.$$getAllProperties("isWaiting")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this.$$getAllProperties("isCompleted")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLive",{get:function(){return this.$$getAllProperties("isLive")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMaster",{get:function(){return this.$$getAllProperties("isMaster")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this.$$getAllProperties("time")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this.$$getAllProperties("buffer")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"buffered",{get:function(){return this.$$getAllProperties("buffered")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"subscriptions",{get:function(){return this.$$getAllProperties("subscriptions")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textTracks",{get:function(){return this.$$getAllProperties("textTracks")},enumerable:!0,configurable:!0}),e.prototype.seekTime=function(e,t){for(var n in void 0===t&&(t=!1),this.medias)this.medias[n]&&this.$$seek(this.medias[n],e,t)},e.prototype.$$seek=function(e,t,n){var r;void 0===n&&(n=!1);var o=e.duration;n?(this.isMasterDefined()&&(o=this.getMasterMedia().duration),r=t*o/100):r=t,e.currentTime=r},e.prototype.addTextTrack=function(e,t,n){for(var r in this.medias)this.medias[r]&&this.$$addTextTrack(this.medias[r],e,t,n)},e.prototype.$$addTextTrack=function(e,t,n,r){e.addTextTrack(t,n,r)},e.prototype.$$getAllProperties=function(e){var t,n={};for(var r in this.medias)this.medias[r]&&(n[r]=this.medias[r]);switch(Object.keys(n).length){case 0:switch(e){case"state":t=o.VgStates.VG_PAUSED;break;case"playbackRate":case"volume":t=1;break;case"time":t={current:0,total:0,left:0}}break;case 1:t=n[Object.keys(n)[0]][e];break;default:t=n[this.getMasterMedia().id][e]}return t},e.prototype.$$setAllProperties=function(e,t){for(var n in this.medias)this.medias[n]&&(this.medias[n][e]=t)},e.prototype.registerElement=function(e){this.videogularElement=e},e.prototype.registerMedia=function(e){this.medias[e.id]=e},e.prototype.unregisterMedia=function(e){delete this.medias[e.id]},e}()},"./src/va2/src/core/services/vg-controls-hidden.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgControlsHidden",(function(){return o}));var r=n("./node_modules/rxjs/_esm5/index.js"),o=function(){function e(){this.isHiddenSubject=new r.Subject,this.isHidden=this.isHiddenSubject.asObservable()}return e.prototype.state=function(e){this.isHiddenSubject.next(e)},e}()},"./src/va2/src/core/services/vg-fullscreen-api.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgFullscreenAPI",(function(){return a}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/core/services/vg-utils.ts"),i=n("./node_modules/rxjs/_esm5/index.js"),a=function(){function e(){this.nativeFullscreen=!0,this.isFullscreen=!1,this.onChangeFullscreen=new r.EventEmitter}return e.prototype.init=function(e,t){var n=this;this.videogularElement=e,this.medias=t;var r={w3:{enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",exit:"exitFullscreen",onchange:"fullscreenchange",onerror:"fullscreenerror"},newWebkit:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitRequestFullscreen",exit:"webkitExitFullscreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},oldWebkit:{enabled:"webkitIsFullScreen",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullScreen",exit:"webkitCancelFullScreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},moz:{enabled:"mozFullScreen",element:"mozFullScreenElement",request:"mozRequestFullScreen",exit:"mozCancelFullScreen",onchange:"mozfullscreenchange",onerror:"mozfullscreenerror"},ios:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitEnterFullscreen",exit:"webkitExitFullscreen",onchange:"webkitendfullscreen",onerror:"webkitfullscreenerror"},ms:{enabled:"msFullscreenEnabled",element:"msFullscreenElement",request:"msRequestFullscreen",exit:"msExitFullscreen",onchange:"MSFullscreenChange",onerror:"MSFullscreenError"}};for(var a in r)if(r[a].enabled in document){this.polyfill=r[a];break}if(o.VgUtils.isiOSDevice()&&(this.polyfill=r.ios),this.isAvailable=null!=this.polyfill,null!=this.polyfill){var s;switch(this.polyfill.onchange){case"mozfullscreenchange":s=document;break;case"webkitendfullscreen":s=this.medias.toArray()[0].elem;break;default:s=e}this.fsChangeSubscription=Object(i.fromEvent)(s,this.polyfill.onchange).subscribe((function(){n.onFullscreenChange()}))}},e.prototype.onFullscreenChange=function(){this.isFullscreen=!!document[this.polyfill.element],this.onChangeFullscreen.emit(this.isFullscreen)},e.prototype.toggleFullscreen=function(e){void 0===e&&(e=null),this.isFullscreen?this.exit():this.request(e)},e.prototype.request=function(e){e||(e=this.videogularElement),this.isFullscreen=!0,this.onChangeFullscreen.emit(!0),this.isAvailable&&this.nativeFullscreen&&(o.VgUtils.isMobileDevice()?((!this.polyfill.enabled&&e===this.videogularElement||o.VgUtils.isiOSDevice())&&(e=this.medias.toArray()[0].elem),this.enterElementInFullScreen(e)):this.enterElementInFullScreen(this.videogularElement))},e.prototype.enterElementInFullScreen=function(e){e[this.polyfill.request]()},e.prototype.exit=function(){this.isFullscreen=!1,this.onChangeFullscreen.emit(!1),this.isAvailable&&this.nativeFullscreen&&document[this.polyfill.exit]()},e}()},"./src/va2/src/core/services/vg-utils.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgUtils",(function(){return r}));var r=function(){function e(){}return e.getZIndex=function(){for(var e,t=1,n=document.getElementsByTagName("*"),r=0,o=n.length;r<o;r++)(e=parseInt(window.getComputedStyle(n[r])["z-index"],10))>t&&(t=e+1);return t},e.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},e.isiOSDevice=function(){return navigator.userAgent.match(/ip(hone|ad|od)/i)&&!navigator.userAgent.match(/(iemobile)[\/\s]?([\w\.]*)/i)},e.isCordova=function(){return-1===document.URL.indexOf("http://")&&-1===document.URL.indexOf("https://")},e}()},"./src/va2/src/core/states/vg-states.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgStates",(function(){return r}));var r=function(){function e(){}return e.VG_ENDED="ended",e.VG_PAUSED="paused",e.VG_PLAYING="playing",e.VG_LOADING="waiting",e}()},"./src/va2/src/core/vg-cue-points/vg-cue-points.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgCuePoints",(function(){return a}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/core/events/vg-events.ts"),i=n("./node_modules/rxjs/_esm5/index.js"),a=function(){function e(e){this.ref=e,this.onEnterCuePoint=new r.EventEmitter,this.onUpdateCuePoint=new r.EventEmitter,this.onExitCuePoint=new r.EventEmitter,this.onCompleteCuePoint=new r.EventEmitter,this.subscriptions=[],this.cuesSubscriptions=[],this.totalCues=0}return e.prototype.ngOnInit=function(){this.onLoad$=Object(i.fromEvent)(this.ref.nativeElement,o.VgEvents.VG_LOAD),this.subscriptions.push(this.onLoad$.subscribe(this.onLoad.bind(this)))},e.prototype.onLoad=function(e){var t=e.target.track.cues;this.ref.nativeElement.cues=t,this.updateCuePoints(t)},e.prototype.updateCuePoints=function(e){this.cuesSubscriptions.forEach((function(e){return e.unsubscribe()}));for(var t=0,n=e.length;t<n;t++)this.onEnter$=Object(i.fromEvent)(e[t],o.VgEvents.VG_ENTER),this.cuesSubscriptions.push(this.onEnter$.subscribe(this.onEnter.bind(this))),this.onExit$=Object(i.fromEvent)(e[t],o.VgEvents.VG_EXIT),this.cuesSubscriptions.push(this.onExit$.subscribe(this.onExit.bind(this)))},e.prototype.onEnter=function(e){this.onEnterCuePoint.emit(e.target)},e.prototype.onExit=function(e){this.onExitCuePoint.emit(e.target)},e.prototype.ngDoCheck=function(){this.ref.nativeElement.cues&&(this.totalCues!==this.ref.nativeElement.track.cues.length&&(this.totalCues=this.ref.nativeElement.track.cues.length,this.ref.nativeElement.cues=this.ref.nativeElement.track.cues,this.updateCuePoints(this.ref.nativeElement.track.cues)))},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}()},"./src/va2/src/core/vg-media/vg-media-element.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgMediaElement",(function(){return r}));var r=function(){function e(){}return Object.defineProperty(e.prototype,"audioTracks",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.addTextTrack=function(e,t,n){return null},e.prototype.canPlayType=function(e){return null},e.prototype.load=function(){},e.prototype.msClearEffects=function(){},e.prototype.msGetAsCastingSource=function(){return null},e.prototype.msInsertAudioEffect=function(e,t,n){},e.prototype.msSetMediaKeys=function(e){},e.prototype.msSetMediaProtectionManager=function(e){},e.prototype.pause=function(){},e.prototype.play=function(){return null},e.prototype.setMediaKeys=function(e){return null},e.prototype.addEventListener=function(e,t,n){},e}()},"./src/va2/src/core/vg-media/vg-media.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgMedia",(function(){return a}));n("./node_modules/@angular/core/fesm5/core.js");var r=n("./node_modules/rxjs/_esm5/index.js"),o=n("./src/va2/src/core/states/vg-states.ts"),i=(n("./src/va2/src/core/services/vg-api.ts"),n("./src/va2/src/core/events/vg-events.ts")),a=function(){function e(e,t){this.api=e,this.ref=t,this.state=o.VgStates.VG_PAUSED,this.time={current:0,total:0,left:0},this.buffer={end:0},this.canPlay=!1,this.canPlayThrough=!1,this.isMetadataLoaded=!1,this.isWaiting=!1,this.isCompleted=!1,this.isLive=!1,this.isBufferDetected=!1,this.checkInterval=200,this.currentPlayPos=0,this.lastPlayPos=0,this.playAtferSync=!1,this.bufferDetected=new r.Subject}return e.prototype.ngOnInit=function(){var e=this;this.vgMedia.nodeName?this.elem=this.vgMedia:this.elem=this.vgMedia.elem,this.api.registerMedia(this),this.subscriptions={abort:Object(r.fromEvent)(this.elem,i.VgEvents.VG_ABORT),canPlay:Object(r.fromEvent)(this.elem,i.VgEvents.VG_CAN_PLAY),canPlayThrough:Object(r.fromEvent)(this.elem,i.VgEvents.VG_CAN_PLAY_THROUGH),durationChange:Object(r.fromEvent)(this.elem,i.VgEvents.VG_DURATION_CHANGE),emptied:Object(r.fromEvent)(this.elem,i.VgEvents.VG_EMPTIED),encrypted:Object(r.fromEvent)(this.elem,i.VgEvents.VG_ENCRYPTED),ended:Object(r.fromEvent)(this.elem,i.VgEvents.VG_ENDED),error:Object(r.fromEvent)(this.elem,i.VgEvents.VG_ERROR),loadedData:Object(r.fromEvent)(this.elem,i.VgEvents.VG_LOADED_DATA),loadedMetadata:Object(r.fromEvent)(this.elem,i.VgEvents.VG_LOADED_METADATA),loadStart:Object(r.fromEvent)(this.elem,i.VgEvents.VG_LOAD_START),pause:Object(r.fromEvent)(this.elem,i.VgEvents.VG_PAUSE),play:Object(r.fromEvent)(this.elem,i.VgEvents.VG_PLAY),playing:Object(r.fromEvent)(this.elem,i.VgEvents.VG_PLAYING),progress:Object(r.fromEvent)(this.elem,i.VgEvents.VG_PROGRESS),rateChange:Object(r.fromEvent)(this.elem,i.VgEvents.VG_RATE_CHANGE),seeked:Object(r.fromEvent)(this.elem,i.VgEvents.VG_SEEKED),seeking:Object(r.fromEvent)(this.elem,i.VgEvents.VG_SEEKING),stalled:Object(r.fromEvent)(this.elem,i.VgEvents.VG_STALLED),suspend:Object(r.fromEvent)(this.elem,i.VgEvents.VG_SUSPEND),timeUpdate:Object(r.fromEvent)(this.elem,i.VgEvents.VG_TIME_UPDATE),volumeChange:Object(r.fromEvent)(this.elem,i.VgEvents.VG_VOLUME_CHANGE),waiting:Object(r.fromEvent)(this.elem,i.VgEvents.VG_WAITING),startAds:Object(r.fromEvent)(window,i.VgEvents.VG_START_ADS),endAds:Object(r.fromEvent)(window,i.VgEvents.VG_END_ADS),mutation:r.Observable.create((function(t){var n=new MutationObserver((function(e){t.next(e)}));return n.observe(e.elem,{childList:!0,attributes:!0}),function(){n.disconnect()}})),bufferDetected:this.bufferDetected},this.mutationObs=this.subscriptions.mutation.subscribe(this.onMutation.bind(this)),this.canPlayObs=this.subscriptions.canPlay.subscribe(this.onCanPlay.bind(this)),this.canPlayThroughObs=this.subscriptions.canPlayThrough.subscribe(this.onCanPlayThrough.bind(this)),this.loadedMetadataObs=this.subscriptions.loadedMetadata.subscribe(this.onLoadMetadata.bind(this)),this.waitingObs=this.subscriptions.waiting.subscribe(this.onWait.bind(this)),this.progressObs=this.subscriptions.progress.subscribe(this.onProgress.bind(this)),this.endedObs=this.subscriptions.ended.subscribe(this.onComplete.bind(this)),this.playingObs=this.subscriptions.playing.subscribe(this.onStartPlaying.bind(this)),this.playObs=this.subscriptions.play.subscribe(this.onPlay.bind(this)),this.pauseObs=this.subscriptions.pause.subscribe(this.onPause.bind(this)),this.timeUpdateObs=this.subscriptions.timeUpdate.subscribe(this.onTimeUpdate.bind(this)),this.volumeChangeObs=this.subscriptions.volumeChange.subscribe(this.onVolumeChange.bind(this)),this.errorObs=this.subscriptions.error.subscribe(this.onError.bind(this)),this.vgMaster&&this.api.playerReadyEvent.subscribe((function(){e.prepareSync()}))},e.prototype.prepareSync=function(){var e=this,t=[];for(var n in this.api.medias)this.api.medias[n]&&t.push(this.api.medias[n].subscriptions.canPlay);this.canPlayAllSubscription=Object(r.combineLatest)(t,(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.some((function(e){return 4===e.target.readyState}));r&&!e.syncSubscription&&(e.startSync(),e.syncSubscription.unsubscribe())})).subscribe()},e.prototype.startSync=function(){var e=this;this.syncSubscription=Object(r.timer)(0,1e3).subscribe((function(){for(var t in e.api.medias)if(e.api.medias[t]!==e){var n=e.api.medias[t].currentTime-e.currentTime;n<-.3||n>.3?(e.playAtferSync=e.state===o.VgStates.VG_PLAYING,e.pause(),e.api.medias[t].pause(),e.api.medias[t].currentTime=e.currentTime):e.playAtferSync&&(e.play(),e.api.medias[t].play(),e.playAtferSync=!1)}}))},e.prototype.onMutation=function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if("attributes"===r.type&&"src"===r.attributeName){if(r.target.src&&r.target.src.length>0&&r.target.src.indexOf("blob:")<0){this.loadMedia();break}}else if("childList"===r.type&&r.removedNodes.length&&"source"===r.removedNodes[0].nodeName.toLowerCase()){this.loadMedia();break}}},e.prototype.loadMedia=function(){var e=this;this.vgMedia.pause(),this.vgMedia.currentTime=0,this.stopBufferCheck(),this.isBufferDetected=!0,this.bufferDetected.next(this.isBufferDetected),setTimeout((function(){return e.vgMedia.load()}),10)},e.prototype.play=function(){var e=this;if(!(this.playPromise||this.state!==o.VgStates.VG_PAUSED&&this.state!==o.VgStates.VG_ENDED))return this.playPromise=this.vgMedia.play(),this.playPromise&&this.playPromise.then&&this.playPromise.catch&&this.playPromise.then((function(){e.playPromise=null})).catch((function(){e.playPromise=null})),this.playPromise},e.prototype.pause=function(){var e=this;this.playPromise?this.playPromise.then((function(){e.vgMedia.pause()})):this.vgMedia.pause()},Object.defineProperty(e.prototype,"id",{get:function(){var e=void 0;return this.vgMedia&&(e=this.vgMedia.id),e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.vgMedia.duration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.vgMedia.currentTime},set:function(e){this.vgMedia.currentTime=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this.vgMedia.volume},set:function(e){this.vgMedia.volume=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"playbackRate",{get:function(){return this.vgMedia.playbackRate},set:function(e){this.vgMedia.playbackRate=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"buffered",{get:function(){return this.vgMedia.buffered},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textTracks",{get:function(){return this.vgMedia.textTracks},enumerable:!0,configurable:!0}),e.prototype.onCanPlay=function(e){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlay=!0,this.ref.detectChanges()},e.prototype.onCanPlayThrough=function(e){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlayThrough=!0,this.ref.detectChanges()},e.prototype.onLoadMetadata=function(e){this.isMetadataLoaded=!0,this.time={current:0,left:0,total:1e3*this.duration},this.state=o.VgStates.VG_PAUSED;var t=Math.round(this.time.total);this.isLive=t===1/0,this.ref.detectChanges()},e.prototype.onWait=function(e){this.isWaiting=!0,this.ref.detectChanges()},e.prototype.onComplete=function(e){this.isCompleted=!0,this.state=o.VgStates.VG_ENDED,this.ref.detectChanges()},e.prototype.onStartPlaying=function(e){this.state=o.VgStates.VG_PLAYING,this.ref.detectChanges()},e.prototype.onPlay=function(e){this.state=o.VgStates.VG_PLAYING,this.vgMaster&&(this.syncSubscription&&!this.syncSubscription.closed||this.startSync()),this.startBufferCheck(),this.ref.detectChanges()},e.prototype.onPause=function(e){this.state=o.VgStates.VG_PAUSED,this.vgMaster&&(this.playAtferSync||this.syncSubscription.unsubscribe()),this.stopBufferCheck(),this.ref.detectChanges()},e.prototype.onTimeUpdate=function(e){var t=this.buffered.length-1;this.time={current:1e3*this.currentTime,total:this.time.total,left:1e3*(this.duration-this.currentTime)},t>=0&&(this.buffer={end:1e3*this.buffered.end(t)}),this.ref.detectChanges()},e.prototype.onProgress=function(e){var t=this.buffered.length-1;t>=0&&(this.buffer={end:1e3*this.buffered.end(t)}),this.ref.detectChanges()},e.prototype.onVolumeChange=function(e){this.ref.detectChanges()},e.prototype.onError=function(e){this.ref.detectChanges()},e.prototype.bufferCheck=function(){var e=1/this.checkInterval;this.currentPlayPos=this.currentTime,!this.isBufferDetected&&this.currentPlayPos<this.lastPlayPos+e&&(this.isBufferDetected=!0),this.isBufferDetected&&this.currentPlayPos>this.lastPlayPos+e&&(this.isBufferDetected=!1),this.bufferDetected.closed||this.bufferDetected.next(this.isBufferDetected),this.lastPlayPos=this.currentPlayPos},e.prototype.startBufferCheck=function(){var e=this;this.checkBufferSubscription=Object(r.timer)(0,this.checkInterval).subscribe((function(){e.bufferCheck()}))},e.prototype.stopBufferCheck=function(){this.checkBufferSubscription&&this.checkBufferSubscription.unsubscribe(),this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected)},e.prototype.seekTime=function(e,t){var n;void 0===t&&(t=!1);var r=this.duration;n=t?e*r/100:e,this.currentTime=n},e.prototype.addTextTrack=function(e,t,n,r){var o=this.vgMedia.addTextTrack(e,t,n);return r&&(o.mode=r),o},e.prototype.ngOnDestroy=function(){this.vgMedia.src="",this.mutationObs.unsubscribe(),this.canPlayObs.unsubscribe(),this.canPlayThroughObs.unsubscribe(),this.loadedMetadataObs.unsubscribe(),this.waitingObs.unsubscribe(),this.progressObs.unsubscribe(),this.endedObs.unsubscribe(),this.playingObs.unsubscribe(),this.playObs.unsubscribe(),this.pauseObs.unsubscribe(),this.timeUpdateObs.unsubscribe(),this.volumeChangeObs.unsubscribe(),this.errorObs.unsubscribe(),this.checkBufferSubscription&&this.checkBufferSubscription.unsubscribe(),this.syncSubscription&&this.syncSubscription.unsubscribe(),this.bufferDetected.complete(),this.bufferDetected.unsubscribe(),this.api.unregisterMedia(this)},e}()},"./src/va2/src/core/vg-player/vg-player.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgPlayer",(function(){return l})),n.d(t,"View_VgPlayer_0",(function(){return c})),n.d(t,"View_VgPlayer_Host_0",(function(){return u})),n.d(t,"VgPlayerNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/core/services/vg-api.ts"),i=n("./src/va2/src/core/services/vg-fullscreen-api.ts"),a=n("./src/va2/src/core/services/vg-controls-hidden.ts"),s=n("./src/va2/src/core/vg-player/vg-player.ts"),l=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-player {\n            font-family: 'videogular';\n            position: relative;\n            display: flex;\n            width: 100%;\n            height: 100%;\n            overflow: hidden;\n            background-color: black;\n        }\n\n        vg-player.fullscreen {\n            position: fixed;\n            left: 0;\n            top: 0;\n        }\n\n        vg-player.native-fullscreen.controls-hidden {\n            cursor: none;\n        }\n    "],data:{}});function c(e){return r["ɵvid"](0,[r["ɵncd"](null,0)],null,null)}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,5,"vg-player",[],[[2,"fullscreen",null],[2,"native-fullscreen",null],[2,"controls-hidden",null],[4,"z-index",null]],null,null,c,l)),r["ɵprd"](512,null,o.VgAPI,o.VgAPI,[]),r["ɵprd"](512,null,i.VgFullscreenAPI,i.VgFullscreenAPI,[]),r["ɵprd"](512,null,a.VgControlsHidden,a.VgControlsHidden,[]),r["ɵdid"](4,1228800,null,1,s.VgPlayer,[r.ElementRef,o.VgAPI,i.VgFullscreenAPI,a.VgControlsHidden],null,null),r["ɵqud"](603979776,1,{medias:1})],null,(function(e,t){e(t,0,0,r["ɵnov"](t,4).isFullscreen,r["ɵnov"](t,4).isNativeFullscreen,r["ɵnov"](t,4).areControlsHidden,r["ɵnov"](t,4).zIndex)}))}var d=r["ɵccf"]("vg-player",s.VgPlayer,u,{},{onPlayerReady:"onPlayerReady",onMediaReady:"onMediaReady",onChangeFullscreenEvent:"onChangeFullscreenEvent"},["*"])},"./src/va2/src/core/vg-player/vg-player.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgPlayer",(function(){return i}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=(n("./src/va2/src/core/services/vg-api.ts"),n("./src/va2/src/core/services/vg-fullscreen-api.ts"),n("./src/va2/src/core/services/vg-utils.ts")),i=(n("./src/va2/src/core/vg-media/vg-media.ts"),n("./src/va2/src/core/services/vg-controls-hidden.ts"),function(){function e(e,t,n,o){this.api=t,this.fsAPI=n,this.controlsHidden=o,this.isFullscreen=!1,this.isNativeFullscreen=!1,this.areControlsHidden=!1,this.onPlayerReady=new r.EventEmitter,this.onMediaReady=new r.EventEmitter,this.onChangeFullscreenEvent=new r.EventEmitter,this.subscriptions=[],this.elem=e.nativeElement,this.api.registerElement(this.elem)}return e.prototype.ngAfterContentInit=function(){var e=this;this.medias.toArray().forEach((function(t){e.api.registerMedia(t)})),this.fsAPI.init(this.elem,this.medias),this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this))),this.subscriptions.push(this.controlsHidden.isHidden.subscribe(this.onHideControls.bind(this))),this.api.onPlayerReady(this.fsAPI),this.onPlayerReady.emit(this.api)},e.prototype.onChangeFullscreen=function(e){this.fsAPI.nativeFullscreen?this.isNativeFullscreen=e:(this.isFullscreen=e,this.zIndex=e?o.VgUtils.getZIndex().toString():"auto"),this.onChangeFullscreenEvent.emit(e)},e.prototype.onHideControls=function(e){this.areControlsHidden=e},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}())},"./src/va2/src/overlay-play/overlay-play.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgOverlayPlayModule",(function(){return r}));var r=function(){}},"./src/va2/src/overlay-play/vg-overlay-play.ngfactory.js":function(e,t,n){"use strict";n.r(t),n.d(t,"RenderType_VgOverlayPlay",(function(){return l})),n.d(t,"View_VgOverlayPlay_0",(function(){return c})),n.d(t,"View_VgOverlayPlay_Host_0",(function(){return u})),n.d(t,"VgOverlayPlayNgFactory",(function(){return d}));var r=n("./node_modules/@angular/core/fesm5/core.js"),o=n("./src/va2/src/overlay-play/vg-overlay-play.ts"),i=n("./src/va2/src/core/services/vg-api.ts"),a=n("./src/va2/src/core/services/vg-fullscreen-api.ts"),s=n("./src/va2/src/core/services/vg-controls-hidden.ts"),l=r["ɵcrt"]({encapsulation:2,styles:["\n        vg-overlay-play {\n            z-index: 200;\n        }\n\n        vg-overlay-play.is-buffering {\n            display: none;\n        }\n\n        vg-overlay-play .vg-overlay-play {\n            transition: all 0.5s;\n            cursor: pointer;\n            position: absolute;\n            display: block;\n            color: white;\n            width: 100%;\n            height: 100%;\n            font-size: 80px;\n            filter: alpha(opacity=60);\n            opacity: 0.6;\n        }\n\n        vg-overlay-play .vg-overlay-play.native-fullscreen.controls-hidden {\n            cursor: none;\n        }\n\n        vg-overlay-play .vg-overlay-play .overlay-play-container.vg-icon-play_arrow {\n            pointer-events: none;\n            width: 100%;\n            height: 100%;\n            position: absolute;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            font-size: 80px;\n        }\n\n        vg-overlay-play .vg-overlay-play:hover {\n            filter: alpha(opacity=100);\n            opacity: 1;\n        }\n\n        vg-overlay-play .vg-overlay-play:hover .overlay-play-container.vg-icon-play_arrow:before {\n            transform: scale(1.2);\n        }\n    "],data:{}});function c(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"div",[["class","vg-overlay-play"]],[[2,"native-fullscreen",null],[2,"controls-hidden",null]],null,null,null,null)),(e()(),r["ɵeld"](1,0,null,null,0,"div",[["class","overlay-play-container"]],[[2,"vg-icon-play_arrow",null]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.isNativeFullscreen,n.areControlsHidden),e(t,1,0,"playing"!==n.getState())}))}function u(e){return r["ɵvid"](0,[(e()(),r["ɵeld"](0,0,null,null,1,"vg-overlay-play",[],[[2,"is-buffering",null]],[[null,"click"]],(function(e,t,n){var o=!0;"click"===t&&(o=!1!==r["ɵnov"](e,1).onClick()&&o);return o}),c,l)),r["ɵdid"](1,245760,null,0,o.VgOverlayPlay,[r.ElementRef,i.VgAPI,a.VgFullscreenAPI,s.VgControlsHidden],null,null)],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,r["ɵnov"](t,1).isBuffering)}))}var d=r["ɵccf"]("vg-overlay-play",o.VgOverlayPlay,u,{vgFor:"vgFor"},{},[])},"./src/va2/src/overlay-play/vg-overlay-play.ts":function(e,t,n){"use strict";n.r(t),n.d(t,"VgOverlayPlay",(function(){return o}));n("./node_modules/@angular/core/fesm5/core.js"),n("./src/va2/src/core/services/vg-api.ts");var r=n("./src/va2/src/core/states/vg-states.ts"),o=(n("./src/va2/src/core/services/vg-fullscreen-api.ts"),n("./src/va2/src/core/services/vg-controls-hidden.ts"),function(){function e(e,t,n,r){this.API=t,this.fsAPI=n,this.controlsHidden=r,this.isNativeFullscreen=!1,this.areControlsHidden=!1,this.subscriptions=[],this.isBuffering=!1,this.elem=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe((function(){return e.onPlayerReady()})))},e.prototype.onPlayerReady=function(){var e=this;this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this))),this.subscriptions.push(this.controlsHidden.isHidden.subscribe(this.onHideControls.bind(this))),this.subscriptions.push(this.target.subscriptions.bufferDetected.subscribe((function(t){return e.onUpdateBuffer(t)})))},e.prototype.onUpdateBuffer=function(e){this.isBuffering=e},e.prototype.onChangeFullscreen=function(e){this.fsAPI.nativeFullscreen&&(this.isNativeFullscreen=e)},e.prototype.onHideControls=function(e){this.areControlsHidden=e},e.prototype.onClick=function(){switch(this.getState()){case r.VgStates.VG_PLAYING:this.target.pause();break;case r.VgStates.VG_PAUSED:case r.VgStates.VG_ENDED:this.target.play()}},e.prototype.getState=function(){var e=r.VgStates.VG_PAUSED;if(this.target)if(this.target.state instanceof Array){for(var t=0,n=this.target.state.length;t<n;t++)if(this.target.state[t]===r.VgStates.VG_PLAYING){e=r.VgStates.VG_PLAYING;break}}else e=this.target.state;return e},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach((function(e){return e.unsubscribe()}))},e}())},0:function(e,t){},1:function(e,t){},2:function(e,t){}});
//# sourceMappingURL=index.js.map